Monday, 2025-03-31

T42<morciatka> hi guys, sorry for my ignorance and the skill issue with android/linux stuff17: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.c17: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 too17:36
T42<morciatka> 17:36
T42<morciatka> any clues what to do?17:36
T42<Mister_Magister> @morciatka Pretty please avoid multiline messages17:36
T42<morciatka> oh right, IRC17:37
T42<Mister_Magister> its not that bad, but some people can post whole page's worth17:37
malso 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 mode17:38
Mister_Magisterqualcomm crashdump mode sounds like kernel panic17:39
Mister_Magisterdid you look into pstore?17:39
T42<morciatka> no console-ramoops, pstore is enabled though17:39
T42<morciatka> just deviceinfo17:39
Mister_Magisteralso did you format userdata before flashing?17:39
T42<morciatka> yes, it's ext4 now17:40
Mister_Magisterdo you have shell inside ramdisk?17:40
malquick search suggests it could be missing initramfs, are you sure the hybris-boot image is good?17:40
T42<TheVancedGamer> oh yeah I remember17:40
T42<TheVancedGamer> morc17:40
T42<TheVancedGamer> cpio was listed as an unallowed tool, which didn't build initramfs17:40
Mister_Magisteroh yeah cpio17:40
malwhich android base is that?17:40
T42<TheVancedGamer> you need to set that flag in your environment to ignore that17:41
T42<TheVancedGamer> it's in hadk-hot17:41
T42<morciatka> 17.117:41
Mister_Magisterits in hadk-faq17:41
malexport TEMPORARY_DISABLE_PATH_RESTRICTIONS=true17:41
Mister_Magisterthat one17:41
malbefore building make hybris-boot or hybris-hal17:41
Mister_Magisterhttps://github.com/mer-hybris/hadk-faq/blob/master/README.rst#hybris-17-117:41
Mister_Magisterhttps://sailfishos.wiki/books/hadk/page/hadk-hot17:41
Mister_Magisteradditional resources you might need17:41
T42<morciatka> I restarted the shell and forgot the export, I had it enabled before17:42
T42<morciatka> ok, we'll see then17:42
T42<TheVancedGamer> you can set it in your device tree permanently17:42
T42<TheVancedGamer> or maybe not17:42
T42<morciatka> yeah, good idea in the long run17:42
T42<TheVancedGamer> but you can set it in vendorsetup.sh17:43
T42<TheVancedGamer> yeah, just stuff it into device tree17:43
malit could be added easily to the .hadk env file17:43
malwhich is processed when you enter the build env17:43
malthe one created in some early section of hadk pdf17:44
malwith the DEVICE etc env vars17: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/main17:45
T42<morciatka> haha, that did it17:46
T42<morciatka> yeah, I'm in Mer now17:46
T42<morciatka> amazing, thanks17:47
malgood17:47
Mister_Magisternow the fight for the display17:47
malmake sure you correctly setup selinux according to faq17:47
malotherwise you will have issues17:47
malmeaning that you copy couple of files from android side to correct places under /etc/selinux with correct names etc17: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-us21:02
T42<morciatka> yes, but that's where my problem with understanding the stuff starts21:03
T42<elros34> so what excatly is not clear? you have example, just copy paste it21: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 have21:09

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