EleventLast | everything is assembled, now I'm fixing the bootloop | 00:01 |
---|---|---|
EleventLast | with kernel hybris-boot I get a permanent reboot, with hybris-recovery the phone just hangs on the splash screen, in its devices there is no tellnet does not work | 00:20 |
EleventLast | and i did recommendations selinux=0 | 00:21 |
T42 | <elros34> EleventLast how fast does it reboot: 60s or less ? | 07:46 |
EleventhLast | T42 reloads every 5-7 seconds | 08:13 |
EleventhLast | I rebuilt the kernel with new parameters, I also put lineage 15.1 and my kernel on top of it | 08:17 |
EleventhLast | halium-boot and I know that one of the parameters the kernel breaks it, but I don’t remember which one, and also the inscription when loading that the kernel does not fit this android | 08:18 |
T42 | <elros34> what about hybris-recovery? How fast does it reboot? | 08:25 |
T42 | <elros34> I assume you handle skip_initramfs correctly otherwise hybris-recovery wouldn't hangs | 08:26 |
EleventhLast | with hybris recovery, the phone just writes itself, is not seen through lsusb and does not turn on modem mode, but it does not reboot | 08:27 |
T42 | <elros34> writes itself? never reboot? | 08:28 |
EleventhLast | Didn't reboot for 2 minutes | 08:29 |
EleventhLast | but I extended it to the boot section, but I don’t think it’s critical | 08:30 |
T42 | <elros34> add sleep 30 and reboot -r here https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L305 and try again hybris-recovery. If it will reboots after ~30s then there is problem with rndis | 08:34 |
T42 | <elros34> you can also check whether you have /data/.stowaways/sailfishos/init.log in twrp | 08:35 |
EleventhLast | there is no init log, it seems that the matter does not reach the loading of this | 08:38 |
EleventhLast | you threw me 305 an empty line, if I understand correctly, you need to copy everything from line 306 to line 315? | 08:40 |
EleventhLast | and I understood, you need to sleep(30); | 08:43 |
EleventhLast | still the same bootloop | 09:38 |
EleventhLast | hibris-recovery still just freezes, the usb device is not seen | 09:41 |
EleventhLast | I note that with hybris-boot the device reboots after 5-7 seconds as before | 09:42 |
EleventhLast | I added where you asked for lines sleep 30 reboot -r , and rebuilt the kernel | 09:53 |
EleventhLast | I remembered that on Ubuntu I got a bootloop because of CONFIG_NETFILTER | 10:16 |
EleventhLast | is this parameter screaming in the kernel robot? | 10:16 |
EleventhLast | even more likely this parameter CONFIG_NETFILTER_XT_TARGET_ | 10:19 |
EleventhLast | I remember that because of these parameters on halium boot I got 100% bootlap | 10:20 |
T42 | <elros34> I hope you added these (sleep and reboot) 2 commands in 2 lines, what is the result? | 10:26 |
T42 | <elros34> how do you rebuild hybris-recovery? | 10:29 |
T42 | <elros34> ah I do not know why I said -r, obviously it must be reboot -f | 10:33 |
EleventhLast | I added everything, rebuilt the kernel, flashed it to the boot, but the behavior is the same, and I also noticed that I added invalid parameters to the kernel, in defconfig, there are parameters for kernels above 4.0, and I have a 3.16 kernel | 11:28 |
T42 | <elros34> strange, that is why I ask how do you rebuild kernel to be sure you really understand process. Add same commands here https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L345. If that doesn't change hybris-boot/recovery behavior then I think you are doing something wrong | 11:39 |
T42 | <MCredbear> Guys I got a DoCoMo version Xperia XZ3, should I flash `SW_binaries_for_Xperia_Android_10.0.7.1_r1_v12a_tama.img` ? I heard that flash it would brick a DoCoMo version device. | 11:42 |
T42 | <edp_17> If you add a parameter that is for newer kernel, the compiler should: a, ignore it or b, fail with an error and the kernel image won't build. Check whether that parameter is in out/target/product/$DEVICE/obj/KERNEL_OBJ/.config file. (re @SailfishFreenodeIRCBridgeBot: <EleventhLast>I adde...) | 11:43 |
EleventhLast | I can’t solve the reason for the bootloop, I changed the kernel config, but it doesn’t do anything, there is no change at all | 15:08 |
T42 | <elros34> How about you answer my question I asked twice already. 3th how exactly do you rebuild kernel after making changes to init script and what latest advice changed in behavior | 15:12 |
EleventhLast | make -j$(nproc --all) hybris-hal | 15:34 |
EleventhLast | and about the changes, I added sleep 30 to init-script init reboot -f on lines 305, 345 | 15:36 |
T42 | <elros34> so? how hybris-boot.img hybris-boot.img behave now? | 15:47 |
T42 | <elros34> hybris-recover.img* | 15:48 |
EleventhLast | Boot loop every 5-7 seconds | 15:48 |
T42 | <elros34> cmon be precise, both or only one? | 15:49 |
EleventhLast | and the recovery just freezes, the PC device is not seen | 15:49 |
T42 | <elros34> see that is quiet impossible, IIRC the only difference between recovery and normal image is ALWAYSDEBUG value which is not read in line 345 | 15:50 |
EleventhLast | hybris-recovery-does not load anywhere, the PC does not see the phone reboots, hybris-boot-bootloop every 5-7 seconds | 15:51 |
T42 | <elros34> only in 363 so way after your reboot -f | 15:51 |
T42 | <elros34> how do you flash it? | 15:52 |
EleventhLast | twrp flash img tu boot | 15:53 |
T42 | <elros34> then do flashing using pc. Also it doesn't make sense but just in case: what about skip_initramfs I was talking about previously? | 15:53 |
EleventhLast | what about skip_initramfs I was talking about previously? I still don't understand how to do it | 15:54 |
T42 | <elros34> so why didn't you tell about it instead ignoring? its in hadk-hot | 15:57 |
EleventhLast | as a person from Ukraine it is difficult for me to understand English even with a translator, I understand many points very poorly | 15:57 |
T42 | <elros34> yeah but if you don't then explicitly tell about it. I sad previously that I assume you handle skip_initramfs properly ... and no answer from you | 15:59 |
EleventhLast | in general, in theory, we could switch from irts to some other messenger? | 16:00 |
EleventhLast | and yes, in the future, if I don’t understand something, I will let you know | 16:00 |
T42 | <elros34> somebody use translator in etherpad, I can't fix it.. | 16:04 |
EleventhLast | and yet, how do I skip the skip_initramfs? | 16:08 |
mal | some device need to revert a commit in kernel to handle that | 16:08 |
T42 | <elros34> EleventhLast did you find note about it in link you got? | 16:09 |
EleventhLast | CONFIG_INITRAMFS_SOURCE=""? | 16:09 |
T42 | <elros34> no, use ctrl + f: skip_initramfs | 16:10 |
EleventhLast | should it be empty? | 16:10 |
T42 | <elros34> yes | 16:10 |
EleventhLast | I don't understand where to press CTRL+F | 16:11 |
EleventhLast | when building the kernel? | 16:11 |
T42 | <elros34> in the link I gave you with hadk-hot | 16:11 |
EleventhLast | I don't understand what and where | 16:14 |
EleventhLast | I have not had a normal sleep for 4 days because of this porting | 16:14 |
T42 | <elros34> then you should really take a break, after that you can open https://etherpad.wikimedia.org/p/hadk-hot do ctrl+f and read instruction about skip_inittramfs | 16:15 |
EleventhLast | Now I understand what link you mean, thanks | 16:17 |
EleventhLast | I'll turn it off now | 16:18 |
EleventhLast | static void __init free_initrd(void) | 16:23 |
EleventhLast | I don't understand what should I replace | 16:23 |
EleventhLast_ | free_initrd(skip_initramfs); | 16:30 |
EleventhLast_ | right? | 16:30 |
EleventhLast | I could skip skip_initramfs , according to the kernel build logs everything should work | 17:10 |
EleventhLast | I noticed just now ... that the kernel itself and the recovery are not transmitted by the hybris-hal command, only dt.IMG and boot.img are collected | 17:48 |
Thaodan | Path execptions are missing | 18:57 |
EleventhLast | let me give you my initramfs.c , and you edit it the way it should be .... I'm already tired of this rubbish | 19:30 |
Thaodan | Is the kernel build, do you have hybris-boot.img but it is very small? | 19:37 |
EleventhLast | if you are talking about the weight of the image, then no, it takes 7.2 megabytes | 19:38 |
EleventhLast | and I was mistaken that it is not going to, it's just a problem with the output in the console | 19:39 |
Thaodan | There's an issue with the cpio image being to small because hybros-boot calls cpio from path. | 19:39 |
Thaodan | https://android.googlesource.com/platform/build/+/master/Changes.md#path-tools-path_tools | 19:40 |
Thaodan | that's why I thought you didn't set TEMPORARY_DISABLE_PATH_RESTRICTIONS=true | 19:40 |
EleventhLast | yes, I don’t remember when it was, the brain began to forget what happened yesterday | 19:41 |
EleventhLast | TEMPORARY_DISABLE_PATH_RESTRICTIONS=true is it possible to enter this through export? | 19:43 |
EleventhLast | I don't have build/soong/ui/build/paths/config.go directory | 19:47 |
EleventhLast | still there ... it looks like there was an error copying the directory | 19:48 |
EleventhLast | [ 50% 1/2] glob build/soong/ui/*/Android.bp | 19:50 |
EleventhLast | this hasn't happened before | 19:50 |
Thaodan | yes export TEMPORARY_DISABLE_PATH_RESTRICTIONS=true | 19:52 |
EleventhLast | already done, as you can see above, I threw off what appeared | 19:53 |
EleventhLast | I seem to understand what's going on... | 19:56 |
T42 | <elros34> it's not needed for hybris-15 base, only installing cpio is required in case you do not have it | 19:56 |
EleventhLast | he was not | 19:57 |
EleventhLast | bash: cpio: command not found | 19:58 |
EleventhLast | Why aren't these details covered in the manual? | 19:59 |
T42 | <elros34> there many things not covered in manual that is why I wrote hadk-hot which you could read and find that cpio issue also | 20:00 |
EleventhLast | you need to read more carefully .. sorry | 20:01 |
T42 | <elros34> it's still not clear for me how you can have different behavior for hybris-boot/recovery | 20:03 |
EleventhLast | yes, now the file size is 8.2 megabytes | 20:05 |
EleventhLast | and so boot loop every 38 seconds | 20:13 |
EleventhLast | it's on a hybrid boot | 20:13 |
T42 | <elros34> yeah get rid off reboot lines and check host dmesg whether you got telnet working | 20:14 |
EleventhLast | ok, thank you so much for now | 20:16 |
EleventhLast | sleep 30 leave? | 20:16 |
T42 | <elros34> naah this was only to figure out what is going on | 20:17 |
EleventhLast | register 'rndis_host' at usb-0000:00:1d.7-1, RNDIS device, 00:00:00:00:00:00 | 20:28 |
EleventhLast | nice | 20:28 |
EleventhLast | telnet 192.168.2.15 2323 Trying 192.168.2.15... telnet: Unable to connect to remote host: No route to host | 20:30 |
EleventhLast | what doesn't he like? | 20:33 |
mal | is the interface up properly, do you see ip for the usb interface on host? | 20:34 |
mal | does port 23 work? | 20:34 |
EleventhLast | Mer Debug telnet on port 23 on rndis0 192.168.2.15 - also running udhcpd | 20:35 |
EleventhLast | telnet 192.168.2.15 23 Trying 192.168.2.15... telnet: Unable to connect to remote host: No route to host | 20:35 |
mal | do you see ip for the interface? | 20:35 |
EleventhLast | nothing on port 23 | 20:36 |
EleventhLast | I see IP | 20:36 |
EleventhLast | but i can't connect | 20:39 |
mal | which android base is that? | 20:39 |
EleventhLast | 8.1 | 20:40 |
mal | can you show you kernel defconfig? | 20:41 |
mal | preferrably the .config from out/ what is checked during build | 20:41 |
T42 | <elros34> so it stuck on 23 port? You don't need telnet to fix it, either you are missing some defconfig changes mentioned in init-debug script or more likely you have wrong fixup-mountpoints | 20:42 |
EleventhLast | most likely the kernel, the mount points are 100% correct, now I will add everything I need to the config | 20:43 |
T42 | <elros34> we will see... :) not everything, just these mentioned in init script | 20:44 |
mal | EleventhLast: mayhbe check these also https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L320 in .config just in case | 20:44 |
T42 | <elros34> common missing CONFIG_AUTOFS4_FS | 20:45 |
EleventhLast | stands for yes | 20:50 |
EleventhLast | and here is the config from the output folder | 20:50 |
EleventhLast | https://pastebin.com/rq5u6730 | 20:50 |
mal | I don't see CONFIG_DEVTMPFS_MOUNT and CONFIG_DEVTMPFS in that | 20:52 |
mal | is that the full .config? | 20:53 |
mal | also some other are missing, wondering if the paste is incomplete | 20:53 |
T42 | <elros34> no way | 20:54 |
EleventhLast | looks like i erased part while copying | 20:56 |
EleventhLast | now I have added almost everything that is required to the config and rebuild the kernel | 20:56 |
EleventhLast | fixmount here https://pastebin.com/rC7MX6nJ | 21:12 |
EleventhLast | what is the latest version of sailfishos? this is for release version | 21:19 |
mal | 4.4.0.68 | 21:21 |
EleventhLast | and so, the problem is, after adding all the configs to the file, the phone is not seen through telnet. I can specify what exactly I added | 21:23 |
EleventhLast | https://pastebin.com/BhRxFvi3 | 21:27 |
EleventhLast | after adding this , tellnet stopped working | 21:27 |
T42 | <elros34> you shouldn't add last one, check whether you have now init.log | 21:29 |
T42 | <elros34> messing with watchdog on samsung is also asking for trouble | 21:29 |
EleventhLast | no log | 21:31 |
EleventhLast | what does "watchdog" mean? | 21:54 |
Thaodan | EleventhLast: https://en.wikipedia.org/wiki/Watchdog_timer#Fault_detection | 21:55 |
EleventhLast | ahahha , it was translated to me as "guard dog", I already thought that this was an insult to my side due to my incompetence | 21:59 |
Thaodan | Yeah it is kinda guard dog but just in the matter of speaking | 22:00 |
EleventhLast | it is possible to tell service which checks for errors? | 22:01 |
Thaodan | Watch issue do you have? the watchdog usually comes into play when something is stuck | 22:02 |
T42 | <elros34> I was only refering to your defconfig change in which you have enabled nowayout for watchdog | 22:04 |
EleventhLast | I don't know what problems you have while rebuilding the kernel without CONFIG_ECRYPT_FS | 22:04 |
EleventhLast | I'm still not sure what the problem is with it, turn it off? | 22:05 |
EleventhLast | I'm talking about the timer | 22:05 |
T42 | <elros34> It shouldn't be hard to figure out, you have working defconfig which works with telnet 23, you claim there is no init.log so check which change you did breaks everything | 22:08 |
EleventhLast | Yes, I understand, the whole night in front) my time is 1:09 | 22:09 |
T42 | <Umeaman> Would the Nothing phone 1 be a nice phone to run Sailfish on? | 22:34 |
T42 | <Umeaman> https://us.nothing.tech/pages/phone-1 | 22:35 |
T42 | <Umeaman> I haven't heard of it before today. | 22:36 |
EleventhLast | I don’t understand, it’s all right as it was, until the moment of normal loading, but it doesn’t work | 23:44 |
mal | does the usb appear any time during the boot in host dmesg? | 23:45 |
EleventhLast | no, usb no longer appears at all | 23:46 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!