Wednesday, 2019-07-03

liuxafter patched in kernel, my usb network now works fine but still wrong for mtp mode. seems something wrong in mtp service: meegomtp1dot0::MTPTransporterUSB::activate:146 - Couldn't open control endpoint file  /dev/mtp/ep000:29
liuxcomplete log pasted to https://paste.ubuntu.com/p/rjBKyCJXXk/00:29
Mister_Magisterhow can i check whether i have imei set or not? (i don't trust settings page)06:31
Mister_Magistermal: still waitin' for fix <307:22
*** JustGerd3 is now known as JustGerd08:20
Mister_Magistermal: friendly reminder about fix (i got another device which needs it)11:04
liuxmy issue comes from functionfs filesystem. the ffs driver is conflict with android. maybe i need merge ssf into android driver11:34
T42<elros34> liux: for mtp you need this patch: https://github.com/mer-hybris/android_kernel_lge_hammerhead/commit/61e2ab6a478f6550534f161f7bc91de48ed0b02912:02
liuxelros34: thanks, that's the patch i wanted. mtp works fine now12:51
malI quite was sure that was in faq but it doesn't seem to be there now12:56
Mister_Magistermal: we got 2 devices for which dhi causes reboot without any reason13:01
Mister_Magisterhe is missing raison d'etre13:01
malMister_Magister: and you have tried with the exact image that works on the other ones?13:10
malthose were the ones that had some devices working but some not?13:10
Mister_Magister2 different devices13:11
Mister_Magistermal: i'm explaining give me a second13:11
Mister_Magistermal: piggz has prbolem with dhi on pro1 (me and thekit don't but we kinda have different images), and i just got problem on 5z (some init scripts are broken tho i'll try reflash)13:12
Mister_Magistergib fix plz13:12
Mister_Magistereven strace doesn't say anything13:13
maland both of those use the linker hack?13:23
Mister_Magisteryep (in waiting for fix)13:23
Mister_Magistertho piggz used overlay13:23
spiiroinreview appreciated: https://bugs.merproject.org/show_bug.cgi?id=181313:29
merbotMer bug 1813 in mce "Add option to set On and Off value in Binary led configuration file" [Enhancement,Assigned]13:29
spiiroinhttps://github.com/mer-hybris/mce-plugin-libhybris/pull/3213:29
spiiroin^ Mister_Magister, this is your binary led thingy13:29
Mister_Magisterspiiroin: i love you! <313:29
Mister_Magistertho we kindof dropped port already because battery dying13:30
Mister_Magisteri love it tho how it took u 2 years but still totally fully awesomely whatever greatful!13:33
Mister_Magisterspiiroin: congrats now moto x play joins the "fully working" family13:36
Mister_Magisteras i can fix proximity aswell13:36
Mister_Magisterjusa: ping i can give you ssh to my phone again maybe now you will be able to fix mic?13:41
T42<adampigg> Can we disable hw keyboard based on an input device/event? I assume we get some event when we slide in/out the fxtec kb13:47
spiiroinMister_Magister: there are also things like 6 and half year old tasks that affect every device ...13:47
mal@adampigg I have hw keyboard monitoring for xperia pro13:49
T42<adampigg> Mal, gr8,.when i fix my build i know where to come13:49
mal@adampigg depends on the device if the same works, I just told mce what to monitor13:51
mal@adampigg does that device have keyboard backlight?13:52
T42<adampigg> Im not sure tbh13:52
Mister_Magisteryes it does13:53
Mister_Magistersimple controllable from sysfs13:54
Mister_Magisterjust like screen brightness13:54
malok, then mce can control it13:54
Mister_Magisternice13:54
Mister_Magisteri can set notification led path to keyboard backlight lol13:54
malMister_Magister: can you show output of evdev_trace -i, also check what event you see in evdev_trace -t when you slide the keyboard13:56
Mister_Magistermal: in 1 hour sure13:56
Mister_Magisteri know what you are after ;)13:56
malMister_Magister: for backlight https://github.com/mlehtima/droid-config-2011xperia/blob/master/sparse/etc/mce/90backlight.ini13:56
T42<adampigg> Slow down and fix the rebbot first! :D13:57
Mister_Magisterspiiroin's work?13:57
Mister_Magister@adampigg i have no reboot on pro113:57
malMister_Magister: mine https://git.merproject.org/mer-core/mce/commit/6303eb5a7f5d9ca4e3c249ce331e8a4145ddf00e13:57
Mister_Magisterdayum13:57
Mister_Magistermal: what about promised fix?13:58
malI need think a simple way to tell what to do13:58
Mister_Magisterwell okayish? just it would really help us to get through13:59
Mister_Magisterlike it's only thing kinda holding us13:59
Mister_Magisterno hurry at all13:59
Mister_Magistermal: my god :P https://paste.opensuse.org/view//8165511615:24
Mister_Magisterwe need more keys15:24
Mister_Magisterbut this one is the one you want i think https://paste.opensuse.org/view//3253135415:25
Mister_Magisteri was right15:25
Mister_Magisterhttps://paste.opensuse.org/view//6010518615:25
Mister_Magisterso FN_6 is open FN_5 is close15:25
Mister_Magisterit's like click15:25
malMister_Magister: well that's annoying, why are they not using standard evdev way15:33
Mister_Magisterwdym standard evdev way15:33
malhttps://ess.cs.tu-dortmund.de/lockdoc-elixir/linux-lockdoc/lockdebug-v4.10-0.10/source/include/uapi/linux/input-event-codes.h#L77815:33
malSW_KEYPAD_SLIDE15:34
Mister_MagisterI will ask CEO ok? but device is closing to release so i doubt if it's gonna change15:34
Mister_Magisteri could probably reprogram that xd15:34
malyou can always patch kernel yourself15:34
Mister_Magisteryeah15:34
Mister_Magisterbut is it much of a problem to patch kernal?15:35
malneed to think if we can easily monitor those two events, current implementation assumes there is one event telling that15:35
T42<NotKit> I did for Droid 415:35
T42<NotKit> not a big deal15:35
mal@NotKit did it have similar two event case?15:35
T42<NotKit> hm, not sure, probably only one. Gemini emulated F11 I think15:37
Mister_Magisterbut it emulates 2 keys15:37
Mister_Magisterone clicks when you open and second when you close15:37
T42<NotKit> can be changed to one event in kernel15:37
Mister_Magisteralso mal i believe i will find configs in xperias for camera key?15:37
T42<NotKit> it has 0/115:37
Mister_Magisteryeah15:37
Mister_Magisteri'm wondering what will be easier15:37
malevdev things in kernel are quite simple15:38
Mister_Magister@NotKit u fix it den lol k?15:39
malMister_Magister: camera key shouldn't need configuration15:39
Mister_Magistermal: well15:39
Mister_Magistercamera isn't working yet so i don't know15:40
Mister_Magisteraudioflingerglue is not building15:40
Mister_Magisteri'm guessing minimedia aswell15:40
Mister_Magisterfxtec logo key isn't meta but home ;-;15:41
Mister_Magisterhomepage to be exact15:41
Mister_Magistermal: any idea for sensors? https://paste.opensuse.org/view//2648826816:09
Mister_Magistersensorservice isn't starting for some reason but i can start it manually16:09
Mister_Magisteralso dmesg spams Could not find service hosting interface android.frameworks.sensorservice@1.0::ISensorManager/default16:10
malMister_Magister: sensorservice is usually not running, it's something like sensors.qcom16:19
Mister_Magisterdo i need to add this service or something?16:19
malit should be started automatically16:19
malMister_Magister: also have you added the hw-settings.ini?16:19
Mister_Magisternope16:19
Mister_Magisterwait16:20
malthat is needed for sensors, read faq16:20
Mister_Magisteryes i did16:20
Mister_Magisteri did add it16:20
malMister_Magister: is there any sensor related android service running?16:22
Mister_Magisternope other than sensorservice that i started myself16:22
malyou should not start anything yourseld16:22
Mister_Magisteryeah but it's not starting for some reason16:23
malsensorservice is not what you want anyway16:23
Mister_Magisterokay then what i want16:23
malthat is the higher level thing, you want the lower level thing16:23
malgrep .rc files for sensor16:23
maland find what is missing16:24
Mister_Magisterokay16:24
malprobably in /system/etc/init/hw or /vendor16:25
Mister_Magisterbtw on my 5z init.rc requires /vendor/etc/init/hw/init.qcom.rc which requires 2 files in vendor that configure usb and in fact break usb16:29
Mister_Magisteri can't modify vendor so… any better idea?16:29
Mister_Magisterfound /vendor/etc/init/android.hardware.sensors@1.0-service.rc:service vendor.sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service16:30
Mister_Magisterhttps://paste.opensuse.org/view//7441479 here is what i found16:31
malthe question is why is that not starting, check dmesg and/or logcat16:31
Mister_Magisteryessir16:33
KALUbEwhy is /system/bin/vdc --wait cryptfs init_user0 still running even though I've removed the symlinks from /usr/libexec/droid-hybris/system/etc/init16:40
KALUbEOn a previous build removing those symlinks prevented it16:40
malKALUbE: do you have this, check on device https://github.com/mer-hybris/android_system_core/commit/c3087bf5be223d77032e62fd49a8ae8a4811408916:41
malKALUbE: why did you remove vdc symlink?16:43
KALUbESearching through logs lead me to that solution. I realised I forgot to add "service vold" to /init.rc from https://android.googlesource.com/platform/system/core/+/android-6.0.0_r1/rootdir/init.rc#57716:44
KALUbEYour solution looks a lot cleaner16:44
malKALUbE: you are confusing me, vold comes from the symlink script16:46
malat least for 14.1 base, I think you were using that?16:46
malKALUbE: you should not have to add anything to init.rc16:48
KALUbEYeah, I've re-added the vdc symlink, reverted the changes to my init.rc and commented out the line "init_user0", so should be fine now?16:48
maldepends on what you are trying to fix with that16:49
KALUbEyeah, you're right. I had vold from android running before, now neither vdc nor vold are running16:49
malI really have no idea what you are doing16:50
KALUbENeither to be honest. I was reading through this log http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-11-23.log.html but I think I read it wrong16:50
KALUbEYour fix worked fine16:51
Mister_Magistermal: device bricked so won't check rn16:53
malKALUbE: worked for what? I'm still missing the information what exact issue you are trying to fix16:53
piggzmal: Mister_Magister: i just had gui again.....fingers crossed it works after a reboot17:22
Mister_Magisteri debricked phone17:22
malpiggz: what did you change?17:22
piggzmal: well, lets see if it still works...17:23
Mister_Magisteri unmasked dhi aaand!17:25
Mister_Magisterno bootloop17:25
Mister_Magisterthat's good17:25
piggzmal: so, im in UI again...17:28
piggzand thinking, should I test this some more before a say anything that sounds dumb17:29
piggzwlan is also working17:30
malpiggz: was the reason for problems so stupid or simple that you don't want to tell it?17:31
piggzmal: well, no, not really .... but i just dont believe it17:32
T42<adampigg> (Photo, 2560x1440) https://irc.thaodan.de/.imgstore/WuUoBRWL6G.png17:32
piggz^^^ BT is also working :D17:32
piggzmal: so, i _think_ the only thing ive changed, is the /vendor mount options17:32
malpiggz: so my symlinks we very good then :PO17:33
mal:P17:33
piggzmal: so, would these mount option cause dhi to reboot .....17:34
piggzchanged from17:34
piggzro,nosuid,nodev,barrier=117:34
piggzto17:34
piggzro,discard,barrier=117:34
malnot sure really17:35
piggzits a little abstract eh!17:36
piggzi suppose i could test by changing back17:36
piggzlets do that17:36
piggzmal: yes, that is it!17:39
piggzi wonder if there is some suid binaries on /vendor17:39
malpiggz: must be17:43
malpiggz: do those options come from original fstab or did you add those yourself?17:44
piggzmal: i added myself becuase /vendor isnt in the fstab ... so i copied from another line17:44
piggzthe original vendor.mount from TheKit had the second set of option17:44
Mister_Magisterpiggz: soo… what options?17:45
piggzMister_Magister: i will commit the fstab changes17:46
Mister_Magisterk17:46
piggztho, i cant push cos of your damn server!17:46
Mister_Magisteri want wifi tho17:46
Mister_Magisterpiggz: my server?17:46
piggzgogs17:46
Mister_Magisterit's working17:46
Mister_Magisterguess what thekit couldn't push to github repo aswell cause u didn't gave everyone rights17:47
piggzMister_Magister: i made changes to the overlay unit too to make it better, it was getting in a loop with dhi17:47
Mister_Magisterheh17:47
KALUbEOk so I'm now stuck waiting for user@100000.service to start. It's stuck on ExecStartPre=/usr/lib/startup/validate-user %i which seems to never return18:38
KALUbEProbably related to some other issues I'm having where systemd seems unresponsive (e.g. systemctl reboot hangs indefinitely).18:38
KALUbEMasking dbus makes systemctl reboot work (it prints Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)) but user@100000.service still gets stuck in the same place18:39
piggzmal: looks like we're missing a service? ServiceManagement: Waited one second for android.frameworks.sensorservice@1.0::ISensorManager/default18:43
malpiggz: where does that come from?18:45
piggzmal: logcat, every second18:45
malpiggz: but what wants that?18:45
piggzand in journal i get18:45
malpiggz: https://github.com/sailfishos/droidmedia/pull/49/files#diff-b54dc6eab847e89055d3d67256f94c51R48418:45
piggzmal: hwservicemanager18:45
piggzJul 03 21:45:42 Sailfish droid-hal-init: Received control message 'interface_start' for 'android.frameworks.sensorservice@1.0::ISensorManager/default' from pid: 4034 (/system/bin/hwservicemanager)18:46
piggzJul 03 21:45:42 Sailfish droid-hal-init: Could not find service hosting interface android.frameworks.sensorservice@1.0::ISensorManager/default18:46
piggzJul 03 21:45:42 Sailfish droid-hal-init: Received control message 'interface_start' for 'android.frameworks.sensorservice@1.0::ISensorManager/default' from pid: 4034 (/system/bin/hwservicemanager)18:46
piggzmal: oh, cool18:46
Mister_Magisterpiggz: that's my bug to fix!18:46
Mister_Magisterleave it to me18:46
Mister_Magisterdon't steal my bugs18:47
piggzMister_Magister: okok18:47
piggzim gonna make the keybord work then ;)18:47
piggzmal: also, browser shows crazy pink color and doesnt display anything18:47
piggzi think thats known isnt it18:48
malpiggz: yes, it was either WANT_ADRENO_QUIRKS or QT_OPENGL_NO_BGRA, can't remember which one fixes which issue18:49
piggzk18:49
malone is browser other is black images in gallery18:49
piggzbgra rings a bell for gallery18:49
piggzmal: what is the mce config for keyboard enable/disable?18:50
malpiggz: https://github.com/mer-hybris/droid-hal-sony-nile/blob/master/droid-hal-common.inc#L3218:50
Mister_Magisterpiggz: there is also audioflingerglue and minimedia to fix18:51
malpiggz: the issue is that the device sends different event for kbd in and out18:51
malMister_Magister: what is the problem with minimedia?18:51
Mister_Magisteraudioflingerglue is not building18:51
Mister_Magisterso i'm guessing minimedia aswell18:51
maldid you try droidmedia yet?18:51
Mister_Magisternope18:51
malthat audioflingerglue is known to build successfully, not sure why it won't build for you18:52
piggzmal: what is the code for the kbd handling, i can probably modify it for us18:53
piggzspeaking of which, could do with a repo ;)18:53
Mister_Magistermal: we probably modified repo we shouldn't hve18:53
Mister_Magisterhave*18:53
malpiggz: depends which way you want, to make kernel behave more like standard or modify mce to support the non-standard way18:55
piggzkernel is possibly easier ... i think its probably jus t specified int he devicetree19:04
piggzMister_Magister: do u know where our dts file is?19:04
Mister_Magisterofc no19:04
Mister_Magisterbut probably with 8998 in name19:05
piggzi would expect it to be listed in the kernel config somewhere but it isnt19:06
piggzthe driver is gpio-keys, and you can see that dts files sue that driver19:07
Mister_Magistermal: btw we discovered funny thing. German operator does'nt like imei 0 but polish one doen't give a damn19:08
malpiggz: gpio-keys mainline driver has mention of SW_KEYPAD_SLIDE19:08
malMister_Magister: heh19:08
Mister_Magistererror: VNDK library: libhwbinder_noltopgo's ABI has INCOMPATIBLE CHANGES Please check compatiblity report at : out/soong/.intermediates/system/libhwbinder/libhwbinder_noltopgo/android_arm64_armv8-a_vendor_shared/libhwbinder_noltopgo.so.abidiff19:09
Mister_Magisterthat's why audioflingerglue won't biul19:09
Mister_Magisterbuild*19:09
piggzmal, i can see from the modalias, that it specifies key_fn_f5/619:09
piggzsh-3.2# cat class/input/event2/device/modalias19:09
piggzinput:b0019v0001p0001e0100-e0,1,5,k73,D4,1D4,1D5,1D6,1D7,210,ramlsfw1,C,19:09
malMister_Magister: just to be sure, which command do you use for building that19:09
piggzits the 1d6/1d719:09
Mister_Magistermake -j$(nproc --all) $(external/audioflingerglue/detect_build_targets.sh \ $PORT_ARCH $(gettargetarch))19:10
malwhat does that diff say?19:11
Mister_Magisterhttp://paste.opensuse.org/3597998919:12
malMister_Magister: where does that libhwbinder_noltopgo.so come from?19:28
Mister_Magisterhow do i kow19:28
Mister_Magisterknow*19:28
malgrep or find19:28
Mister_Magisteri'm grepping sources rn19:28
Mister_Magistermsm_ipc_router_bind: pm-service Do not have permissions19:34
Mister_Magisterlol19:34
Mister_Magistermal: can you have a look? https://paste.opensuse.org/view//2484652319:36
Mister_Magistermaybe you will see something more19:37
Mister_Magisterit reboots soon after19:37
piggzwhat on earth ... the droidmedia build pulls in 125000 targets!19:43
piggzi was down to about 110019:43
piggzits gonna be an allnighter19:43
Mister_Magistermal: system/libhwbinder/Android.bp19:44
Mister_Magisterther she is19:44
Mister_Magistercc_library {     name: "libhwbinder_noltopgo",     defaults: [         "libhwbinder_defaults",     ], }19:45
Mister_Magisterhttps://paste.opensuse.org/view//2604887919:45
Mister_Magisterpiggz: same for audilflingerglue19:45
Mister_Magisterany idea now?19:48
malpiggz: do you have the minimizing in build repo?19:50
piggzmal: unlikely19:51
piggzwhere is that?19:51
Mister_Magistermal: is that it?19:52
malwhat patches do you have in build/core?19:52
malstill no idea why the build would fail19:52
Mister_Magistermost likely only the required ones19:52
T42<adampigg> (Photo, 2560x1440) https://irc.thaodan.de/.imgstore/avCRN4w0Ml.png20:00
piggznew libhybris with adreno quirks got rendering, but still funny pink bar20:00
Mister_Magisteri restored libhwbinder to previous commit20:01
Mister_Magisterpiggz: still no wifi here20:01
piggzmal: how do i minimize the build?20:14
malpiggz: what patches do you have there now20:14
piggzmal: i just looked t the git log, and, none, apart from the initial repo being init!20:15
malpiggz: what?20:15
piggzgit log -- build/core - exactly one entry20:15
piggzmal: our entire tree is a single repo20:16
piggzapart from hybris stuff20:16
piggzit sucks20:16
maloh20:16
piggz2b8576eb46 init repo at LA.UM.7.4.r1-03000-8x98.020:16
piggzlines 1-1/1 (END)20:16
piggzthats it20:16
malI can send you two patches20:16
piggzthx20:17
Mister_Magisterand that repo seems to be broken :P20:33
Mister_Magisterproblem after problem while building20:34
vknechtbusiness as usual20:56
vknechttake courage :-)20:59
piggzMister_Magister: we will need this eh https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/usr/bin/droid/droid-bootctl.sh21:52
malpiggz: did you have issues that it stopped booting after about 5 reboots?21:53
piggzmal: yes21:54
piggzv frustrating!21:54
malpiggz: you should have mentioned that, I could have told about that service21:55
malpiggz: just think how much time it took to figure that out originally21:55
piggzmal: its good to work these things out21:55
piggztho, the commands arnt working here21:56
malwhat error?21:56
piggz /usr/libexec/droid-hybris/system/bin/bootctl is-slot-marked-successful 021:56
piggzError calling isSlotMarkedSuccessful(): Invalid slot21:56
piggzwhich is odd becuase:21:56
piggzsh-3.2# /usr/libexec/droid-hybris/system/bin/bootctl get-current-slot21:56
piggz021:56
malhmm21:57
malwhat does it return for number of slos22:00
mal*slots22:00
piggzalso...22:01
piggzsh-3.2# /usr/libexec/droid-hybris/system/bin/bootctl mark-boot-successful22:01
piggzError marking as having booted successfully: Operation not permitted22:01
piggzmal: 222:01
malanything in dmesg or logcat when you run that?22:02
malpiggz: btw, does that device use verity?22:03
piggz07-03 23:03:47.913  3593  3593 E gpt-utils: gpt_get_header: Failed to open ../../../../.. : Is a directory22:04
piggz07-03 23:03:47.913  3593  3593 E gpt-utils: gpt_disk_get_disk_info: Failed to get primary header22:04
piggz07-03 23:03:47.913  3593  3593 E bootcontrolhal: update_slot_attribute: Failed to get disk info for xbl_a22:04
piggz07-03 23:03:47.913  3593  3593 E bootcontrolhal: mark_boot_successful: Failed to mark boot successful22:04
piggznot sure, how do i check?22:04
malmaybe something in dmesg tells that, not sure22:05
piggzmal: dont worry for now, its not as important as other issues like sensors, droidmedia22:05
piggzand im off to sleep now!22:05
vknechtis this bootctl specific to A/B devices or not ?22:09
malyes22:09
vknechtthanks22:09
malpiggz: get me output of ls -lR /dev/block22:10
malno hurry with that, maybe tomorrow22:10

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!