| maxmight5328 | hello, 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-hal | 17:46 |
|---|---|---|
| maxmight5328 | p: cannot stat './out/target/product/pdx215/hybris-updater-script': No such file or directory | 17:47 |
| maxmight5328 | how can I find which target is supposed to create theis "hybris-updater-script" file? | 17:47 |
| mal | do you have correct device codename in droid-hal spec? | 17:49 |
| mal | device and/or rpm_device in there | 17:50 |
| maxmight5328 | is that the rpm/droid-hal-pdx215.spec file? | 17:50 |
| maxmight5328 | i see there is a "%define device pdx215" in there but no rpm_device | 17:51 |
| mal | what device are you porting? | 18:07 |
| maxmight5328 | it is the Xperia 1 III (XQ-BC52) | 18:13 |
| mal | so what do you see in out/target/product/ ? | 18:14 |
| maxmight5328 | there is just a single directory 'pdx215' | 18:17 |
| maxmight5328 | and this directory contains all I have managed to build already: https://pastes.io/platformsd | 18:20 |
| T42 | <elros34> did you finish make hybris-hal or hybris boot without errors? If not then hybris-updater-script will be missing | 19:26 |
| maxmight5328 | yes,i did "make -j$(nproc --all) hybris-hal droidmedia" as per the HADK guide and did not see any issues | 21:49 |
| T42 | <elros34> run again and show the result | 21:55 |
| maxmight5328 | after a quick grep it looks like this file might be produced by hybris-boot, not hybris-hal as in the HADK docs | 22:00 |
| maxmight5328 | ./hybris/hybris-boot/Android.mk:225:LOCAL_MODULE := hybris-updater-script | 22:00 |
| maxmight5328 | i wil ltry to build hybris-boot in addition to hybris-hal & droidmedia | 22:00 |
| mal | hybris-hal includes hybris-boot | 22:02 |
| mal | https://github.com/mer-hybris/hybris-boot/blob/master/Android.mk#L372 you can see above that what is set to that variable | 22:03 |
| maxmight5328 | in 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 |
| mal | check for messages in build output about boot partition | 22:09 |
| mal | it should complain if it find none or other issues with it | 22:09 |
| mal | also have you already done fixup-mountpoints changes? | 22:09 |
| maxmight5328 | yes, I have them here: https://github.com/sailfishos-sony-sagami/hybris-boot/blob/sagami/fixup-mountpoints#L186 | 22:16 |
| mal | you should see in hybris-hal build output something like this: /boot appears to live on | 22:20 |
| mal | and same for /data | 22:20 |
| mal | with plenty of **** before that so should be easy to see | 22:20 |
| maxmight5328 | ok, I will re-run it tomorrow and check the output, it is a bit late here | 22:26 |
| T42 | <elros34> fixup is most likely wrong anyway: https://sailfishos.wiki/link/20#bkmrk---fixup-mountpoints- | 22:26 |
| maxmight5328 | I 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 |
| toymin | hi! 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 out | 22:37 |
| toymin | i 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 trying | 22:38 |
| toymin | pixel 8 pro* | 22:40 |
| T42 | <elros34> from where did you get hybris-23? | 22:41 |
| toymin | i got hybris-boot from master and then patches from https://github.com/mer-hybris/hybris-patches/tree/hybris-23.0 | 22:42 |
| toymin | i'd prefer to do this on LOS 21 ofc but my device has the fuse blown so i can't downgrade | 22: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 related | 22:44 |
| toymin | yes, 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 them | 22:44 |
| T42 | <elros34> what parsing problem you had? | 22:45 |
| toymin | i 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 though | 22:50 |
| T42 | <elros34> I wonder whether hybris-23 is even usable. You may wait for mal. | 22:54 |
| mal | toymin: 60 second reboot is usually failed usb connection | 23:08 |
| mal | meaning init script is not succeeding to init usb | 23:09 |
| mal | there are plenty of changes not yet integated for hybris-23.0 such as libgbinder, dhd submodule, droid-config submodule, droidmedia | 23:10 |
| mal | hybris-boot repo has the a16 branch which supports init_boot partition | 23:11 |
| mal | not sure what that vendor_kernel_boot you mentioned contains | 23:12 |
| mal | but probably you don't need to modify that anyway | 23:13 |
| toymin | i'll try out the a16 branch then | 23:15 |
| mal | toymin: so make sure you get the latest a16 branches of dhd and droid-config submodules also | 23:17 |
| mal | and android15 branch of droidmedia also support android 16 | 23:18 |
| mal | btw, before building hybris-hal make sure you have done "export PORT_ARCH=aarch64" so droidmedia actually gets built | 23:19 |
| mal | I'll try to get some of these changes integrated during this week, at least dhd and droid-config submodules and maybe also hybris-boot | 23:20 |
| mal | droidmedia seems ok also based on my testing so that could be integrated also | 23:21 |
| mal | libgbinder changes still need work, I haven't even pushed those to git yet, also dummy_netd changes are needed for mobile data later on | 23:21 |
| mal | oh, I also have libhybris changes for android 16 | 23:26 |
| mal | I wonder how you even managed to build hybris-hal properly without those | 23:26 |
| toymin | i had to remove 32 libs and some other stuff in Android.mk through trial and error | 23:29 |
| mal | you probably ended up removing libhwc2_compat | 23:33 |
| mal | which 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 instructions | 23:34 |
| toymin | yeah 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 stuff | 23:44 |
| mal | if 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 working | 23:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!