Wednesday, 2026-06-17

*** n2klb_ is now known as n2klb01:12
T42<Mattia990> Thank you so much, I searched in internet everywhere, I didn't know about that document08:44
T42<Mattia990> I got to build everything and now I'm struggling with the kernel because when I try to boot hybris boot it returns to fastboot, I'm investigating it (re @elros34: @Mattia990 either wa...)08:44
T42<elros34> On the same page you have instruction what to try, tip: init_enter_debug208:54
T42<Mattia990> Can the problem be that in my hybris boot I'm missing init.rc, init.target.rc, init.qcom.rc and init.recovery.qcom.rc? (re @elros34: On the same page you...)13:12
T42<Mattia990> Can the problem be that in my hybris boot I'm missing init.rc, init.target.rc, init.qcom.rc and init.recovery.qcom.rc?13:15
T42<Mattia990> www.pastebin.com/mdD5CR8k (edited) (re @elros34: On the same page you...)13:15
T42<Mattia990> Can the problem be that in my hybris boot I'm missing init.rc, init.target.rc, init.qcom.rc and init.recovery.qcom.rc?13:16
T42<Mattia990> www.pastebin.com/mdD5CR8k13:16
T42<Mattia990> I tried to modify my cmdline and so on, but I can't get to telnet, even with that file in /data (edited) (re @elros34: On the same page you...)13:16
T42<elros34> that is not a problem. Do you have /data/.stowaways/sailfishos/init.log?15:00
T42<Mattia990> No, it seems that I can't reach that point. There there is just the file i created for telnet15:33
T42<Mattia990> After flashing the boot image the phone goes immediately to fastboot. I don't have pstore, nothing (I added it to defconfig and cmdline)15:33
T42<Mattia990> I tried to apply a kernel patch that is described in the link you sent me (https://github.com/mer-hybris/android_kernel_sony_msm/pull/95) (re @elros34: that is not a proble...)15:33
T42<Mattia990> No, it seems that I can't reach that point. There there is just the file i created for telnet15:33
T42<Mattia990> After flashing the boot image the phone goes immediately to fastboot. I don't have pstore, nothing (I added it to defconfig and cmdline)15:33
T42<Mattia990> I tried also to apply a kernel patch that is described in the link you sent me (https://github.com/mer-hybris/android_kernel_sony_msm/pull/95) (edited) (re @elros34: that is not a proble...)15:33
T42<Mattia990> Is it possible that the ramdisk size is just 1.52Mb?15:51
malwhat device is that? does it have multiple boot partitions?16:12
T42<Mattia990> It is xiaomi mi9 (cepheus), i'm building it with lineage 18.1 (https://github.com/xiaomi-sm8150-devs)16:35
T42<Mattia990> How can i know if it has multiple boot partitions? (re @SailfishFreenodeIRCBridgeBot: <mal>what device is ...)16:35
maldo you see vendor_boot.img or things like that in out/target/product/$DEVICE/16:39
T42<b100dian> mal: nice - you don't have the fix for the PinQueryAgent too :D ? https://forum.sailfishos.org/t/enabling-esim-modem-prevents-lipstick-login/29652/417:29
T42<Mattia990> I don't have it, the output is this17:57
T42<Mattia990> www.pastebin.com/jaFh1mvH (re @SailfishFreenodeIRCBridgeBot: <mal>do you see vend...)17:57
T42<Mattia990> I don't have it, the output is this17:57
T42<Mattia990> www.pastebin.com/JaFh1mvH (edited) (re @SailfishFreenodeIRCBridgeBot: <mal>do you see vend...)17:57
maldid you use that TEMPORARY_DISABLE_PATH_RESTRICTIONS=true mentioned in faq?18:11
malthinking if it doesn't allow using cpio or something18:11
T42<Mattia990> No, I didn't try with that, I'm going to try, thank you! (re @SailfishFreenodeIRCBridgeBot: <mal>thinking if it ...)18:20
malcheck the build output for any messages about not allowed programs or something like that18:42
T42<elros34> can you show your kernel changes18:55
T42<Mattia990> I tried a full build of the hybris boot with this TEMPORARY_DISABLE_PATH_RESTRICTIONS set but nothing changed21:04
T42<Mattia990> Do /data/.stowaways/sailfishos/* need to be populated in order to get telnet? (I think no) (re @SailfishFreenodeIRCBridgeBot: <mal>check the build...)21:04
T42<Mattia990> Here there are kernel changes, defconfig and cmdline: www.pastebin.com/yd3prXU9 (re @elros34: can you show your ke...)21:05
malyou can get to telnet at port 23 if you don't have /data/.stowaways/sailfishos21:09
T42<Mattia990> So for sure is a problem with what I'm doing. In that folder I only have the file to block the phone in telnet (re @SailfishFreenodeIRCBridgeBot: <mal>you can get to ...)21:11
malso does the device reboot or how does it behave?21:13
mal@b100dian well I have two possible ways to fix it anyway21:14
malwell 3 actually21:14
T42<b100dian> and neither are in the open parts?21:15
maltwo of those would be in ofono-binder-plugin21:15
maljust need to discuss with others what is the correct way21:15
mal@Mattia990 init_enter_debug2 only matters if you have the full rootfs in /data/.stowaways/sailfishos/21:17
mal@Mattia990 if the device reboot and you don't get telnet, how soon does it reboot?21:17
T42<Mattia990> It reboots instantly to fastboot21:22
T42<Mattia990> The strange thing is that if I run a fastboot boot hybris-boot.img the screen goes black and fastboot revives, I can run new fastboot commands (re @SailfishFreenodeIRCBridgeBot: <mal>@Mattia990 if t...)21:22
T42<b100dian> mal: nice to hear that21:23
T42<Mattia990> Is there anything wrong I did in the kernel, defconfig or cmdline?21:29
T42<Mattia990> http://www.pastebin.com/yd3prXU921:29
malreboot to fastboot would suggest broken boot image21:48
malusually missing or partial ramdisk21:48
T42<Mattia990> Is there a way to check that if the one inside hybris-boot is correct or it is missing something? (re @SailfishFreenodeIRCBridgeBot: <mal>usually missing...)21:55
T42<Mattia990> Like I said, my ramdisk size is just 1.5mb21:55
malunpack the boot image and check what is there21:58
malhttps://android.googlesource.com/platform/system/tools/mkbootimg/+/refs/heads/main that can be used to unpack it21:58

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