| *** n2klb_ is now known as n2klb | 01:12 | |
| T42 | <Mattia990> Thank you so much, I searched in internet everywhere, I didn't know about that document | 08: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_debug2 | 08: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/mdD5CR8k | 13: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 telnet | 15: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 telnet | 15: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 |
| mal | what 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 |
| mal | do 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/4 | 17:29 |
| T42 | <Mattia990> I don't have it, the output is this | 17: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 this | 17:57 |
| T42 | <Mattia990> www.pastebin.com/JaFh1mvH (edited) (re @SailfishFreenodeIRCBridgeBot: <mal>do you see vend...) | 17:57 |
| mal | did you use that TEMPORARY_DISABLE_PATH_RESTRICTIONS=true mentioned in faq? | 18:11 |
| mal | thinking if it doesn't allow using cpio or something | 18: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 |
| mal | check the build output for any messages about not allowed programs or something like that | 18:42 |
| T42 | <elros34> can you show your kernel changes | 18:55 |
| T42 | <Mattia990> I tried a full build of the hybris boot with this TEMPORARY_DISABLE_PATH_RESTRICTIONS set but nothing changed | 21: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 |
| mal | you can get to telnet at port 23 if you don't have /data/.stowaways/sailfishos | 21: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 |
| mal | so does the device reboot or how does it behave? | 21:13 |
| mal | @b100dian well I have two possible ways to fix it anyway | 21:14 |
| mal | well 3 actually | 21:14 |
| T42 | <b100dian> and neither are in the open parts? | 21:15 |
| mal | two of those would be in ofono-binder-plugin | 21:15 |
| mal | just need to discuss with others what is the correct way | 21: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 fastboot | 21: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 that | 21:23 |
| T42 | <Mattia990> Is there anything wrong I did in the kernel, defconfig or cmdline? | 21:29 |
| T42 | <Mattia990> http://www.pastebin.com/yd3prXU9 | 21:29 |
| mal | reboot to fastboot would suggest broken boot image | 21:48 |
| mal | usually missing or partial ramdisk | 21: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.5mb | 21:55 |
| mal | unpack the boot image and check what is there | 21:58 |
| mal | https://android.googlesource.com/platform/system/tools/mkbootimg/+/refs/heads/main that can be used to unpack it | 21:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!