T42 | <morciatka> hi guys, sorry for my ignorance and the skill issue with android/linux stuff | 17:36 |
---|---|---|
T42 | <morciatka> | 17:36 |
T42 | <morciatka> I've been slowly making progress over the days to put together a build for my 7T Pro hotdog. I'm currently in the stage where I got the thing to build successfully, managed to flash it but hybris-boot is crashdumping on `VFS: Unable to mount root fs on unknown-block(0,0)` | 17:36 |
T42 | <morciatka> | 17:36 |
T42 | <morciatka> do_skip_initramfs is disabled in init/initramfs.c | 17:36 |
T42 | <morciatka> | 17:36 |
T42 | <morciatka> it uses the super partition for which I used the `rpm/dhd/helpers/build_packages.sh --mw=https://github.com/sailfish-on-nabu/parse-android-dynparts` but since the general documentation is severely lacking and I'm apparently having issues following the stuff, I surely must be missing something here too | 17:36 |
T42 | <morciatka> | 17:36 |
T42 | <morciatka> any clues what to do? | 17:36 |
T42 | <Mister_Magister> @morciatka Pretty please avoid multiline messages | 17:36 |
T42 | <morciatka> oh right, IRC | 17:37 |
T42 | <Mister_Magister> its not that bad, but some people can post whole page's worth | 17:37 |
mal | so hybris-boot fails completely and you can't get into telnet? | 17:38 |
T42 | <morciatka> exactly, it just reboots the phone into the funny qualcomm crashdump mode | 17:38 |
Mister_Magister | qualcomm crashdump mode sounds like kernel panic | 17:39 |
Mister_Magister | did you look into pstore? | 17:39 |
T42 | <morciatka> no console-ramoops, pstore is enabled though | 17:39 |
T42 | <morciatka> just deviceinfo | 17:39 |
Mister_Magister | also did you format userdata before flashing? | 17:39 |
T42 | <morciatka> yes, it's ext4 now | 17:40 |
Mister_Magister | do you have shell inside ramdisk? | 17:40 |
mal | quick search suggests it could be missing initramfs, are you sure the hybris-boot image is good? | 17:40 |
T42 | <TheVancedGamer> oh yeah I remember | 17:40 |
T42 | <TheVancedGamer> morc | 17:40 |
T42 | <TheVancedGamer> cpio was listed as an unallowed tool, which didn't build initramfs | 17:40 |
Mister_Magister | oh yeah cpio | 17:40 |
mal | which android base is that? | 17:40 |
T42 | <TheVancedGamer> you need to set that flag in your environment to ignore that | 17:41 |
T42 | <TheVancedGamer> it's in hadk-hot | 17:41 |
T42 | <morciatka> 17.1 | 17:41 |
Mister_Magister | its in hadk-faq | 17:41 |
mal | export TEMPORARY_DISABLE_PATH_RESTRICTIONS=true | 17:41 |
Mister_Magister | that one | 17:41 |
mal | before building make hybris-boot or hybris-hal | 17:41 |
Mister_Magister | https://github.com/mer-hybris/hadk-faq/blob/master/README.rst#hybris-17-1 | 17:41 |
Mister_Magister | https://sailfishos.wiki/books/hadk/page/hadk-hot | 17:41 |
Mister_Magister | additional resources you might need | 17:41 |
T42 | <morciatka> I restarted the shell and forgot the export, I had it enabled before | 17:42 |
T42 | <morciatka> ok, we'll see then | 17:42 |
T42 | <TheVancedGamer> you can set it in your device tree permanently | 17:42 |
T42 | <TheVancedGamer> or maybe not | 17:42 |
T42 | <morciatka> yeah, good idea in the long run | 17:42 |
T42 | <TheVancedGamer> but you can set it in vendorsetup.sh | 17:43 |
T42 | <TheVancedGamer> yeah, just stuff it into device tree | 17:43 |
mal | it could be added easily to the .hadk env file | 17:43 |
mal | which is processed when you enter the build env | 17:43 |
mal | the one created in some early section of hadk pdf | 17:44 |
mal | with the DEVICE etc env vars | 17:44 |
mal | @morciatka you can also verify hybris-boot.img by unpacking it using tools from https://android.googlesource.com/platform/system/tools/mkbootimg/+/refs/heads/main | 17:45 |
T42 | <morciatka> haha, that did it | 17:46 |
T42 | <morciatka> yeah, I'm in Mer now | 17:46 |
T42 | <morciatka> amazing, thanks | 17:47 |
mal | good | 17:47 |
Mister_Magister | now the fight for the display | 17:47 |
mal | make sure you correctly setup selinux according to faq | 17:47 |
mal | otherwise you will have issues | 17:47 |
mal | meaning that you copy couple of files from android side to correct places under /etc/selinux with correct names etc | 17:48 |
T42 | <morciatka> slight confusion yet again on my side, how am I supposed to properly setup fstab with parse-android-dynparts and the selinux stuff? I've been looking at it for a while now but I still can't wrap my mind around it properly. | 20:49 |
T42 | <elros34> did you read this?https://sailfishos.wiki/link/20#bkmrk-for-devices-which-us | 21:02 |
T42 | <morciatka> yes, but that's where my problem with understanding the stuff starts | 21:03 |
T42 | <elros34> so what excatly is not clear? you have example, just copy paste it | 21:04 |
T42 | <elros34> did you build parse-android-dynparts? | 21:06 |
T42 | <morciatka> I should have that one, if you mean building it by `rpm/dhd/helpers/build_packages.sh --mw=https://github.com/sailfish-on-nabu/parse-android-dynparts` | 21:07 |
T42 | <elros34> copy rpm to device and try to use, you will see what partitions you have | 21:09 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!