Tuesday, 2021-10-12

T42<adampigg> Change version of mapplauncherd, 4.2 has a commit that is later reverted, see dontbeevil repo (re @b100dian: still bisecting what...)05:50
T42<adampigg> Ah, elros replied too :)05:51
T42<b100dian> Thank you07:45
kquote03[m]I'm following the PDF, currently trying to build HL11:44
kquote03[m]and i get the following error... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/fUkKqxroHWJCtltoSXsApQwF)11:45
ThaodanTry to log what defines these import includes12:09
Thaodanalso please post full logs on a paste services12:09
poetasteranyone an idea how I debug /org/nemomobile/lipstick/screenshot  rebooting volla?12:12
poetasterno log entries on reboot12:12
T42<elros34> IIRC it use grabWindow() method. I can give you a workaround if you want:)12:13
kquote03[m]<Thaodan> "Try to log what defines these..." <- Mind if I ask where are logs located (and whether if I need to enable logging or not? Thank you12:16
Thaodanthe logs that you get why run make12:18
kquote03[m]Ah just console output then?12:18
Thaodanlogs are in $ANDROID_ROOT/12:19
Thaodanlogs are in $ANDROID_ROOT/out12:19
kquote03[m]soong.log, does this sound right?12:19
Thaodansoong is just one stage, there is build.trace and verbose.log12:25
Thaodansee here for more12:25
ThaodanMost of this stuff related to building since Android side of hybris is more an Android thing like building AOSP12:27
kquote03[m]<Thaodan> "soong is just one stage, there..." <- Hey I have build.trace (http://hastebin.com/mubocafipu.json) but not verbose.log (http://hastebin.com/ugojeqiyav.css)12:35
T42<elros34> kquote03[m] do you use correct branch for android_hardware_samsung?12:43
T42<elros34> poetaster might be worth to try https://github.com/mer-hybris/droid-config-f5121/blob/76757c61805e5cc04db2bfc6f8d9847bf1b7f97b/sparse/var/lib/environment/nemo/99-qtscenegraph.conf, I think it might be during screenshot capture13:16
T42<elros34> used*13:16
poetasterelros34, thanks13:21
poetasterelros34: QT_OPENGL_NO_BGRA=1 is the value I have?13:23
T42<elros34> ee? Do you have that file already?13:29
poetasterelros34: yes that file is on the phone13:43
T42<elros34> ok then try to remove it. I use some workaround for screenshot because glReadpixels fails for me so it might works for you too. Unfortunately you would have to build patched lipstick-qt5: https://github.com/elros34/droid-hal-moto_msm8960_jbbl/blob/master/patches/lipstick.patch13:45
poetasterok, I'll take a look.13:46
T42<elros34> remember: remove is not same as QT_OPENGL_NO_BGRA=013:47
poetasteryes. but # presumably is :)13:49
poetasterstrange. I and Pasik2 on the forums also get, after the first screenshot reboot, the sim pin preference isn't saved.13:52
T42<elros34> maybe some file is corrupted because of unexpected reboot13:56
poetasterelros34: yeah, likely.13:56
poetasterelros34: although, it is the identical behaviour for Pasik2. identical corruption? possible.13:57
T42<elros34> no idea where these settings are saved but I remember some path for setting which cause issues in past: /var/lib/ofono13:58
poetasterelros34: rings a bell13:58
kquote03[m]<T42> "<elros34> kquote03 do you use..." <- I'll check again, but I'm certain I did.14:08
T42<elros34> check also external/dtc, it should have libfdt14:16
T42<Josedelavega> does hybris 16.0 support dtboimage?15:07
Thaodanwhich kind of support?15:20
Thaodandhd can create a subpackage for it but there is no need to directly support it in kernel15:21
T42<Josedelavega> so i should try using 17.1 instead? , im having some issues related to a media codec15:29
Thaodanyou can use 115:56
Thaodan16.0 too dhd is independent of that15:57
T42<adampigg> mal: had to add some extras to initrd image creation https://github.com/HelloVolla/droid-hal-img-boot-volla-yggdrasil/commit/bcc0c26a73dc8a814d40128c62ce825d788deb6718:35
ThaodanInteresting there was something like this for tama19:12
ThaodanMaybe the way you adjusted the vbmeta image helps in case of tama too?19:14
Thaodancc: rinigus19:14
rinigusThaodan: thanks for pinging19:15
rinigusI've cut some corners and used the same approach as by many for AOSP ROMs - asked users to get empty vbmeta separately. I guess piggz solved it correctly and has vbmeta generated for the image19:17
ThaodanI just wonder why some port need it and why some don't.19:18
kquote03[m]It seems that my problem was indeed with branches, specifically my local_manifests file19:18
ThaodanLike I didn't need it on kumano, for me the selinux rules were wrong in the userdebug build I had of Android and the hybris Android build.19:19
kquote03[m]Is there a way to easily write the $DEVICE.xml? I've seen some that have 10s of sources, but the guide only has 219:19
ThaodanIs that some lineage thing? AOSP just has one Manifest.19:20
kquote03[m]Yea I'm dealing with Lineage. But I've also seen some Sony manifests that have 5 or so sources19:21
rinigusThaodan: but is vbmeta.img needed on AOSP kumano? for tama AOSP it is a part of installed images19:22
Thaodanrinigus: The partition is there but it is not build. I guess it can be ignored.19:24
rinigusThaodan: strange, but if it works :) . how is kumano doing? have you had a chance to work on it?19:25
ThaodanKumano has dtbo but I had to do nothing with it but I tried the vbmeta trick as you had while testing so maybe that already did something.19:26
Thaodanrinigus: Was vbmeta created for you while building?19:26
kquote03[m]can someone send their $DEVICE.xml so I can try to sanity check?19:26
ThaodanI guess some platform just don't need to flash it e.g. seine doesnt' need it as you can see19:27
Thaodan*doesn't need to modify19:27
rinigusThaodan: yes, it was built as far as I remember. just a sec, let me check19:27
rinigusI am building it (vbmetaimage) together with systemimage vendorimage. then once in a port lifetime get it from there and add as a separate file in github.19:29
T42<elros34> kquote03[m] start with device repo, then add any device specific repos which you find in lineage.dependencies file19:48
T42<elros34> if something will be missing then your build will fail19:48
kquote03[m]T42: lineage.dependencies file EXISTS??? thanks for letting me know, you rock!19:49
T42<elros34> I am not sure I understand you correctly but why it woudn't?19:50
kquote03[m]i just didnt know. Im a total newb19:50
kquote03[m]i REALLY feel out of my depth, but eh, its fun19:51
T42<eugenio_g7> avbtool make_vbmeta_image --flags 2 --padding_size 4096 --set_hashtree_disabled_flag --output should be enough to create a suitable vbmeta btw19:51
T42<eugenio_g7> (also tested fine on kumano)19:51
piggzrinigus: Thaodan: its not quite upstreamable, probably needs a flag to enable/disable, and i also made changes to hybris-boot to package avbtool20:28
Thaodanpiggz: avbtool would need to go to a different package20:44
piggzThaodan: why not the -tools sub package?20:45
ThaodanAh that's the one I meant20:45
piggzwe already package mkbootimg etc there20:45
ThaodanI thought you mean adding them to hybris-boot20:45
piggzsorry, meant d-h-d subpackage20:45
Thaodanpiggz: Makes sense, that's what was about to suggest20:45
ThaodanWe clearly have some duplication there20:47
Thaodanandroid-tools-hadk also has mkbootimhg20:47
Thaodan*android-tools-hadk also has mkbootimg20:47
T42<b100dian> oof.. got my install booting again. hopefully I can check that ngfd now Thaodan, sorry for the delay22:11
T42<b100dian> it seems that this cheeky named commit https://github.com/sailfishos-on-tucana/droid-config-tucana/commit/720f2335f0e14d3c186abcbaf28cea977e199bd5 was preventing audioserver to start on first boot after installation which made the device reboot in 60 seconds like https://pastebin.ubuntu.com/p/PnvmVtZVtp/22:15
T42<b100dian> The commit was the 'fix' for the race that made sound unavailable in calls if I want proximity sensor:)22:16
T42<b100dian> that, coupled with mapplauncher fresh install error (which wasn't visible in OTA upgrade) cost me 2 days:P22:16
Thaodan@b100dian: no Problem I tried to work on that my self but didn't got the time before finishing it.22:27
T42<b100dian> was there another port that said that call audio is not available on first boot? I remember reading that somewhere22:27
T42<b100dian> Thaodan: can't wait to try that other plugin. I mean I try now:)22:27
Thaodanb100dian: What do you logs say?22:29
T42<b100dian> I'm just staring to modify droid-configs22:29
T42<b100dian> or I can just zypper it22:30
T42<b100dian> hmm libngf-qt5 is installed22:31
T42<b100dian> but I don't have other vibra than: menus, calls, alarms, plugging in22:32
T42<b100dian> should I get rid of qt5-feedback-haptics-ffmemless first22:32
Thaodanonly the ngfd plugin is needed that will access ffmemless22:40
T42<b100dian> libngf-qt5 right? getting rif of qt5...memless requires droid-config change for me.22:41
Thaodanthat's normal22:41
Thaodansee git changelog of droid-configs repo22:42
T42<elros34> use rpm to ignore deps22:45
T42<b100dian> I modified droid-configs after all23:07
T42<b100dian> but I don't get any extra vibrations in qt23:07
T42<b100dian> I did like https://github.com/mer-hybris/droid-hal-configs/commit/d5a927170b382e75139fab5774bd49c7d873391923:07
T42<b100dian> any other config that needs to be done for the ngf-qt5 plugin?23:07
T42<b100dian> (haptics tests in components app don't do anything as before Thaodan)23:08
Thaodandid you remove the old qt plugin?23:14

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