Tuesday, 2021-08-31

T42<edp_17> I'll try to do some ugly hacks. :)00:00
T42<edp_17> in udev rules.00:00
T42<elros34> :( add exit(1); after free_hci(); so it will kill itself:)00:01
T42<edp_17> Trying that, thanks.00:03
T42<edp_17> @elros34 : What is hald? Does the change in /etc/bluez4/bluetooth/audio.conf (BatteryInfo=Hal) cause this error? https://paste.ubuntu.com/p/xxYbM77g3m/00:12
T42<edp_17> rkfill is getting the timeout after this point.00:12
T42<elros34> it might cause some dbus errors but should be harmless I think, statefs is also missing and it's even worse because cause HFP failure00:14
T42<edp_17> I see. Thanks for expalining.00:15
T42<elros34> remove exec_timeout from options maybe, it doesn't help anyway00:16
T42<edp_17> Yeah, I kept it there as thougth would make a difference.00:17
T42<fredldotme> If going with udev hacks is the only way forward, I did some of that myself on UT:00:17
T42<fredldotme> https://github.com/fredldotme/device-sony-suzu/blob/n-mr1-ubports/rootdir/system/halium/usr/share/bluetooth-touch/loire00:17
T42<fredldotme> https://github.com/fredldotme/device-sony-suzu/blob/n-mr1-ubports/rootdir/system/halium/lib/udev/rules.d/70-android.rules#L183-L18400:17
T42<fredldotme> It uses patchram directly though, just as a hint.00:17
T42<edp_17> Thanks @fredldotme.00:23
T42<fredldotme> If the readyness file is of any concern, it is started right after bluez is up:00:25
T42<fredldotme> https://github.com/fredldotme/device-sony-suzu/blob/n-mr1-ubports/rootdir/system/halium/etc/init/bluetooth-touch-android.conf00:25
T42<fredldotme> You’d have to translate that over to a systemd world though00:25
T42<edp_17> Can somebody let me know by what service the /efs partition is mounted, please?00:36
T42<elros34> systemctl status efs.mount00:39
T42<edp_17> Thanks00:39
xx1s1Any experts on the hwcomposer stuff here? test_hwcomposer segfaults and I can't seem to find the error. Stacktrace here https://paste.opensuse.org/9517872900:57
T42<elros34> what about other services? Have you checked  logcat errors? Sometimes it's better to use minimer for testing than test_hwcomposer.01:04
xx1s1mimimer also segfaults, lipstick segfaults, and I don't really know where to look other than the stacktraces, I'm pretty new here01:05
xx1s1mimimer: https://paste.opensuse.org/8733073301:06
T42<elros34> /usr/libexec/droid-hybris/system/bin/logcat01:06
xx1s1logcat during mimimer attempt: https://paste.opensuse.org/1866970701:08
xx1s1Currently grepping the IRC log for every error in those files, no luck so far01:09
T42<elros34> yeah nothing obvious from that01:11
T42<elros34> btw whats the device codename?01:16
xx1s1the most suspicious line (to me) is  >> qdhdmi  : writeHPDOption: file write failed 'hpd'01:16
xx1s1nevermind hpd is just hotplug detection01:17
xx1s1dmesg yields something interesting https://paste.opensuse.org/6576425701:24
T42<elros34> no idea what device is that but have you checked whether qcom_bsp was detected?01:25
xx1s1I set QCOM_BSP 1 in my droid-hal.spec, as an attempt as it is stated in the FAQ. Also it's a Sony Xperia Z5/Sony Sumire.01:28
xx1s1should I undo that?01:28
T42<elros34> it's usually auto detected, you can see in $ANDROID_ROOT/droid-hal-device.log01:29
xx1s1Yeah it is correctly detected as true from the BoardConfig.mk01:30
T42<elros34> any other errors in logcat from boot time?01:32
T42<elros34> you could also try to to see if you can start /usr/bin/surfaceflinger01:35
xx1s1Checking right now, I found 3 so far: "qdutils : Failed to open msm_fb_panel_info node", " qdhdmi  : openDeviceNode: file '/sys/devices/virtual/graphics/fb1/s3d_mode' not found : ret = -1 err str: Permission denied", "qdhwcomposer: getPartialUpdatePref: Failed to open sysfd node: sys/class/graphics/fb0/dyn_pu"01:36
xx1s1And a lot of stuff like cell that I haven't gotten to yet01:36
xx1s1seems like Mister_Magister had the same problem back in 2015 and it took them 2 months to fix. nice.01:43
T42<edp_17> @xx1s1: Don't reinvent the wheel. Just ask him how he's fixed.05:45
T42<eriki73> How does one debug problems with camera?08:14
T42<eriki73> This is the only error I've found: CameraBin error: "Failed to allocate required memory."08:14
piggzmal: /odm might be best place ... seems mini*service cant find the files when in libexec08:22
Mister_Magisterbruh08:31
Mister_Magisterthey finding my logs from 201508:31
Mister_Magisteri've been there08:32
T42<edp_17> I also need some help with the camera. In CSD both work and takes pictures but in Jolla-camera, only front facing camera works and only for making pictures. Debug of camera app logs: https://paste.ubuntu.com/p/gJyncXMH33/09:06
piggzmal: the following changes dont seem to be enough to get vibration working:09:27
piggz    # SailfishOS: allow input group to use vibrator09:28
piggz    chown system input /sys/class/leds/vibrator/activate09:28
piggz    chown system input /sys/class/leds/vibrator/duration09:28
piggz    chown system system /sys/class/leds/vibrator/trigger09:28
piggz    chown system system /sys/class/leds/vibrator/brightness09:28
piggz    chown system system /sys/class/leds/vibrator/state09:28
piggz    # SailfishOS: allow input group to use vibrator09:28
piggzbecuase the files are 644, not 66409:28
T42<eriki73> piggz: vibrator has the same mode (644) or sargo as well.09:35
piggz@eriki73 adding to init.rc chmod 0664 fixes the issue .... need to rebuild dhd son i think09:37
T42<eriki73> Yeah, I know... I just didn't notice the mode...09:38
piggz@eriki73 so, you can scrub that off my volla todo ;)09:38
T42<eriki73> + off my sargo todo09:39
malpiggz: what else do you need? are the permissions ok on device?09:40
malah, it seems you found some issue09:40
piggzmal: need to be 664, so that group input can write09:40
malmaybe your device had something different then in other parts09:41
malif it's a common issue make a PR09:41
piggzthe hybris patches set the group to input, but dont change the permissions09:41
T42<eriki73> Sometimes, on reboot my camera errors differently...10:04
T42<eriki73> gst-droid seems to segfault like this https://paste.ubuntu.com/p/ddtdMRNCnF/12:09
T42<eriki73> Forwarded from eriki73: Pixel 3a is a rare device because it uses codec2 even on Android 912:42
T42<eriki73> Forwarded from eriki73: I tried patching a few things but nothing changed... Maybe I didn't rebuild something necessary.12:42
T42<eriki73> Forwarded from eriki73: https://github.com/Halium/hybris-patches/commit/edc41c5f8c416739c13b3dbb06fe970ff474af1e12:42
T42<eriki73> Forwarded from eriki73: https://github.com/Halium/hybris-patches/commit/eac98e8be1d0a5b6a46f643418f96e51a273516c12:42
T42<eriki73> Forwarded from eriki73: I copied this from halium to my hybris patches...12:42
T42<eriki73> My logcat spams this...08-31 13:15:54.269 12887 12887 W ServiceManagement: Waited one second for android.frameworks.sensorservice@1.0::ISensorManager/default. Waiting another...13:17
malwhich android base?13:41
maland which version of droidmedia13:42
T42<eriki73> mal: hybris-16.0 and the recommended one...14:06
T42<eriki73> 9450a66a133ffa4df4af5f1d2af5b09ff794606d14:08
T42<eriki73> And the logcat message disappeared after disabling andoid's own sensor service...14:08
T42<eriki73> It did not help my cam though...14:09
T42<eriki73> mal: I mean gst-droid still segfault it the same point...14:11
T42<eriki73> *segfaults at14:11
T42<mintphin> Hey. What path should I use to clone my common device trees?14:23
T42<mintphin> nvm found out where14:25
Thaodanjust looked into https://github.com/mer-hybris/droid-hal-device/pull/288; git reset --hard is really dangerous15:43
T42<VirginiaCWilliams> Forwarded from unknown: ᴄᴏɴɢʀᴀᴛᴜʟᴀᴛɪᴏɴs ᴛᴏ ᴍᴇ ᴏɴ ᴍʏ sᴜᴄᴄᴇssғᴜʟ ᴡɪᴛʜᴅʀᴀᴡᴀʟ... ɪɴsᴛᴀɴᴛ ᴏɴʟɪɴᴇ ᴛʀᴀᴅᴇ ᴄᴏᴍᴘᴀɴʏ ɪs ᴛʜᴇ ʙᴇsᴛ💯16:30
T42<VirginiaCWilliams> ᴀɴᴏᴛʜᴇʀ ɢʀᴇᴀᴛ ᴡɪᴛʜᴅʀᴀᴡᴀʟ, ᴍʀ Darnell Harrison ɪ ʀᴇᴀʟʟʏ ᴀᴘᴘʀᴇᴄɪᴀᴛᴇ ᴀʟʟ ʏᴏᴜ ʜᴀᴠᴇ ᴅᴏɴᴇ ғᴏʀ ᴍᴇ, ɴᴏᴡ ɪs ᴛɪᴍᴇ ᴛᴏ sᴘʀᴇᴀᴅ ʏᴏᴜʀ ɢᴏᴏᴅ ᴡᴏʀᴋ. ɪ ɢᴏᴛ ᴍʏ ᴘʀᴏғɪᴛs ᴏғ $6550 ɪɴ ғᴇᴡ ᴍɪɴᴜᴛᴇs ᴀɢᴏ ᴛʜɪs ᴘʟᴀᴛғᴏʀᴍ ɪs ʟᴇɢɪᴛ.16:30
T42<VirginiaCWilliams> ɪɴᴠᴇsᴛᴏʀs ʏᴏᴜ ᴄᴀɴ ᴋɪɴᴅʟʏ ᴄᴏɴᴛᴀᴄᴛ ᴍʀ Harrison16:30
T42<VirginiaCWilliams> 👇👇👇16:30
T42<VirginiaCWilliams> https://t.me/joinchat/yTfKK1tJyI81NWYx16:30
T42<VirginiaCWilliams> Contact the company WhatsApp number16:30
T42<VirginiaCWilliams> Https://Wa.me/+1289203249216:30
T42<adampigg> Mal: odd problem, never seen before, maybe radio1.4 related? Calls, data ok, can send sms but not receive16:44
T42<eriki73> @fredldotme , I understood you had problems with sargo using codec 2.0 on android pie. What problems did that cause?17:09
T42<mintphin> Hey. After runnning breakfast i'm getting the following issue. frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk:19: error: _nic.PRODUCTS.[[device/xiaomi/laurel_sprout/lineage_laurel_sprout.mk]]: "vendor/xiaomi/sm6125-common/sm6125-common-vendor.mk" does not exist.17:18
T42<mintphin> I can't find the sm6125/trinket common vendor under LineageOS. Any help!17:18
T42<mintphin> Hey. After runnning breakfast i'm getting the following issue.17:19
T42<mintphin> frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk:19: error: _nic.PRODUCTS.[[device/xiaomi/laurel_sprout/lineage_laurel_sprout.mk]]: "vendor/xiaomi/sm6125-common/sm6125-common-vendor.mk" does not exist.17:19
T42<mintphin> I can't find the sm6125/trinket common vendor under LineageOS. Any help? (edited)17:19
T42<mintphin> Hey. After runnning breakfast i'm getting the following issue.17:19
T42<mintphin> frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk:19: error: _nic.PRODUCTS.[[device/xiaomi/laurel_sprout/lineage_laurel_sprout.mk]]: "vendor/xiaomi/sm6125-common/sm6125-common-vendor.mk" does not exist.17:19
T42<mintphin> I can't find the sm6125/trinket common vendor under LineageOS. Any help! (edited)17:19
T42<mintphin> *?17:19
T42<elros34> yeah search under theMappets https://gitlab.com/the-muppets/proprietary_vendor_xiaomi/-/tree/lineage-17.117:21
piggzmal: https://paste.mozilla.org/xqteL6yr17:42
T42<fredldotme> @eriki73 it was both not being able to negotiate a proper color format as well as it preferring software en- and decoders instead of HW ones17:42
T42<eriki73> Ah, ok, so my problem is probably worse...17:42
T42<eriki73> @fredldotme , nothing did segfault on UT camera?17:48
T42<fredldotme> No, not even with gst-droid but 64bit did indeed not work properly. I just don’t remember what it was.17:49
T42<eriki73> Hmm, maybe I should build gst-droid 32bit, @fredldotme ?17:50
T42<fredldotme> You could try at least, but I think that’s an issue that needs to be fixed.17:51
T42<eriki73> Well, I actually don't even know how to build it 32bit using the sfos PlatformSDK...17:51
T42<eriki73> @fredldotme , It looks that the segfault is in libstagefright.so but I am not sure...17:53
T42<eriki73> And that is the 64bit stagefright...17:53
T42<elros34> I do not think you  can use 32 bit gst-droid or any app on 64bit port. The only think which you can maybe built as 32 is androidpart: droidmedia but no idea if that make sense.17:56
T42<eriki73> @elros34 , not sure if anything makes sense with my camera...17:57
T42<eriki73> And have you not ever seen gst-droid segfaulting like that?17:58
T42<elros34> mal is working lately on gst-droid so if can catch him then he is the best person to help you with that18:01
T42<mintphin> ok fixed it, just had to change the path for my kernel tree18:01
T42<mintphin> *vendor18:01
T42<eriki73> @elros34 , ok, after cam starts to work my port seems to be quite complete...18:08
T42<elros34> ok. Based on this: https://github.com/sailfishos/droidmedia/blob/master/detect_build_targets.sh#L32 you would probably have to use make libdroidmedia_32 but it's probably not enough18:15
T42<fredldotme> @eriki73 is logcat giving any valuable information? Maybe it’s the same ColorSurface dance all over again18:18
T42<fredldotme> Or did you disable CCodec for now?18:18
T42<eriki73> @fredldotme , I do not have ColorSurface in logcat and I did try disabling ccodec18:23
T42<eriki73> And there is nothing useful in logcat...18:23
T42<fredldotme> android._color-format is what is crucial here, does that come up?18:25
T42<eriki73> @fredldotme , doesn't look like that... It is not in my logcat...18:26
T42<fredldotme> It would only show up on CCodec18:29
piggzSo that is appears in the logs, for mediatek not receiving SMS, the mtk hal has a special command to enable incoming SMS, which ofono doesnt issue.  it can be worked around by changing init.rc: setprop vold.decrypt trigger_restart_min_framework to setprop vold.decrypt trigger_restart_framework19:15
piggzabove fix isnt ideal .... ofono doesnt start correctly :/19:56
T42<duhjokersinhell> adduser <user-name>20:06
T42<duhjokersinhell> usermod -aG <user-name> sudo (re @TheVancedGamer: Did somebody have th...)20:06
T42<Krishna kumar> https://t.me/joinchat/X_AfijhPhphlOWI823:35

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