Tuesday, 2026-02-03

maxmight5328hello, I am trying to package droid-hal and I get an error that a specific file is not found: rpm/dhd/helpers/build_packages.sh --droid-hal17:46
maxmight5328p: cannot stat './out/target/product/pdx215/hybris-updater-script': No such file or directory17:47
maxmight5328how can I find which target is supposed to create theis "hybris-updater-script" file?17:47
maldo you have correct device codename in droid-hal spec?17:49
maldevice and/or rpm_device in there17:50
maxmight5328is that the rpm/droid-hal-pdx215.spec file?17:50
maxmight5328i see there is a "%define device pdx215" in there but no rpm_device17:51
malwhat device are you porting?18:07
maxmight5328it is the Xperia 1 III (XQ-BC52)18:13
malso what do you see in out/target/product/ ?18:14
maxmight5328there is just a single directory 'pdx215'18:17
maxmight5328and this directory contains all I have managed to build already: https://pastes.io/platformsd18:20
T42<elros34> did you finish make hybris-hal or hybris boot without errors? If not then hybris-updater-script will be missing19:26
maxmight5328yes,i did "make -j$(nproc --all) hybris-hal droidmedia" as per the HADK guide and did not see any issues21:49
T42<elros34> run again and show the result21:55
maxmight5328after a quick grep it looks like this file might be produced by hybris-boot, not hybris-hal as in the HADK docs22:00
maxmight5328./hybris/hybris-boot/Android.mk:225:LOCAL_MODULE := hybris-updater-script22:00
maxmight5328i wil ltry to build hybris-boot in addition to hybris-hal & droidmedia22:00
malhybris-hal includes hybris-boot22:02
malhttps://github.com/mer-hybris/hybris-boot/blob/master/Android.mk#L372 you can see above that what is set to that variable22:03
maxmight5328in this Makefile there is also this line: ./hybris/hybris-boot/Android.mk:312:$(warning Skipping build of hybris-updater-script since HYBRIS_BOOT_PART is not specified)22:08
malcheck for messages in build output about boot partition22:09
malit should complain if it find none or other issues with it22:09
malalso have you already done fixup-mountpoints changes?22:09
maxmight5328yes, I have them here: https://github.com/sailfishos-sony-sagami/hybris-boot/blob/sagami/fixup-mountpoints#L18622:16
malyou should see in hybris-hal build output something like this: /boot appears to live on22:20
maland same for /data22:20
malwith plenty of **** before that so should be easy to see22:20
maxmight5328ok, I will re-run it tomorrow and check the output, it is a bit late here22:26
T42<elros34> fixup is most likely wrong anyway: https://sailfishos.wiki/link/20#bkmrk---fixup-mountpoints-22:26
maxmight5328I got these values from the device when it was running stock android, is this not ok? are they supposed to be different on LOS?22:36
toyminhi! this is my first time using irc so apologies if i'm doing something wrong, but i've been trying to port sfos to Pixel 9 Pro with the Lineage OS 23 base, and i got through the building the kernel and hybris-hal part, but i got stuck at trying to get it to boot. i'm not sure if my fixups are correct and the device has 4 boot partitions (init_boot, vendor_boot, vendor_kernel_boot and boot), i wonder if anyone could help me out22:37
toymini tried several things and the results varied from an instant bootloop to a bootloop after staying 30-60 seconds on the google logo splash, no usb connection visible. i'm really clueless about all the android and kernel stuff so i'm not sure if this is even worth trying22:38
toyminpixel 8 pro*22:40
T42<elros34> from where did you get hybris-23?22:41
toymini got hybris-boot from master and  then patches from https://github.com/mer-hybris/hybris-patches/tree/hybris-23.022:42
toymini'd prefer to do this on LOS 21 ofc but my device has the fuse blown so i can't downgrade22:42
T42<elros34> ok, I do not follow it closely. Do you watch dmesg at first boot after glasing boot partition?22:43
T42<elros34> flashing*22:43
T42<elros34> maxmight5328 as you can see in hadk-hot instruction partition names are fstab related22:44
toyminyes, the only thing i see is the disconnect message from the fastboot. i tried to get logs from the device after the bootloop (through the LOS recovery) but i have trouble parsing them22:44
T42<elros34> what parsing problem you had?22:45
toymini just don't really know what should i be looking at, it seems to load 3 ramdisks and then compains about vbmeta and shuts down. i'm pretty sure i patched vbmeta to disable verification though22:50
T42<elros34> I wonder whether hybris-23 is even usable. You may wait for mal.22:54
maltoymin: 60 second reboot is usually failed usb connection23:08
malmeaning init script is not succeeding to init usb23:09
malthere are plenty of changes not yet integated for hybris-23.0 such as libgbinder, dhd submodule, droid-config submodule, droidmedia23:10
malhybris-boot repo has the a16 branch which supports init_boot partition23:11
malnot sure what that vendor_kernel_boot you mentioned contains23:12
malbut probably you don't need to modify that anyway23:13
toymini'll try out the a16 branch then23:15
maltoymin: so make sure you get the latest a16 branches of dhd and droid-config submodules also23:17
maland android15 branch of droidmedia also support android 1623:18
malbtw, before building hybris-hal make sure you have done "export PORT_ARCH=aarch64" so droidmedia actually gets built23:19
malI'll try to get some of these changes integrated during this week, at least dhd and droid-config submodules and maybe also hybris-boot23:20
maldroidmedia seems ok also based on my testing so that could be integrated also23:21
mallibgbinder changes still need work, I haven't even pushed those to git yet, also dummy_netd changes are needed for mobile data later on23:21
maloh, I also have libhybris changes for android 1623:26
malI wonder how you even managed to build hybris-hal properly without those23:26
toymini had to remove 32 libs and some other stuff in Android.mk through trial and error23:29
malyou probably ended up removing libhwc2_compat23:33
malwhich is needed to get UI working, but anyway my libhybris changes are at https://github.com/mlehtima/libhybris-1/commits/a16/ you change use that as submodule in your libhybris you added to hybris/mw/libhybris if you followed instructions23:34
toyminyeah for now i'm just trying to get it to boot to the telnet stage, if that happens i'm gonna celebrate and then figure the dhd and libhybris stuff23:44
malif you keep having issues getting usb working I have one idea to check, I have one device which has unusual way to enable peripheral mode in usb which is needed to get usb networking working23:58

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