Friday, 2022-07-29

EleventLasteverything is assembled, now I'm fixing the bootloop00:01
EleventLastwith 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 work00:20
EleventLastand i did recommendations selinux=000:21
T42<elros34> EleventLast how fast does it reboot: 60s or less ?07:46
EleventhLastT42 reloads every 5-7 seconds08:13
EleventhLastI rebuilt the kernel with new parameters, I also put lineage 15.1 and my kernel on top of it08:17
EleventhLasthalium-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 android08: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 hangs08:26
EleventhLastwith hybris recovery, the phone just writes itself, is not seen through lsusb and does not turn on modem mode, but it does not reboot08:27
T42<elros34> writes itself? never reboot?08:28
EleventhLastDidn't reboot for 2 minutes08:29
EleventhLastbut I extended it to the boot section, but I don’t think it’s critical08: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 rndis08:34
T42<elros34> you can also check whether you have /data/.stowaways/sailfishos/init.log in twrp08:35
EleventhLastthere is no init log, it seems that the matter does not reach the loading of this08:38
EleventhLastyou threw me 305 an empty line, if I understand correctly, you need to copy everything from line 306 to line 315?08:40
EleventhLastand I understood, you need to sleep(30);08:43
EleventhLaststill the same bootloop09:38
EleventhLasthibris-recovery still just freezes, the usb device is not seen09:41
EleventhLastI note that with hybris-boot the device reboots after 5-7 seconds as before09:42
EleventhLastI added where you asked for lines sleep 30 reboot -r , and rebuilt the kernel09:53
EleventhLastI remembered that on Ubuntu I got a bootloop because of CONFIG_NETFILTER10:16
EleventhLastis this parameter screaming in the kernel robot?10:16
EleventhLasteven more likely this parameter CONFIG_NETFILTER_XT_TARGET_10:19
EleventhLastI remember that because of these parameters on halium boot I got 100% bootlap10: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 -f10:33
EleventhLastI 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 kernel11: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 wrong11: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
EleventhLastI can’t solve the reason for the bootloop, I changed the kernel config, but it doesn’t do anything, there is no change at all15: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 behavior15:12
EleventhLastmake -j$(nproc --all) hybris-hal15:34
EleventhLastand about the changes, I added sleep 30 to init-script init reboot -f on lines 305, 34515:36
T42<elros34> so? how hybris-boot.img hybris-boot.img behave now?15:47
T42<elros34> hybris-recover.img*15:48
EleventhLastBoot loop every 5-7 seconds15:48
T42<elros34> cmon be precise, both or only one?15:49
EleventhLastand the recovery just freezes, the PC device is not seen15: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 34515:50
EleventhLasthybris-recovery-does not load anywhere, the PC does not see the phone reboots, hybris-boot-bootloop every 5-7 seconds15:51
T42<elros34> only in 363 so way after your reboot -f15:51
T42<elros34> how do you flash it?15:52
EleventhLasttwrp flash img tu boot15: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
EleventhLastwhat about skip_initramfs I was talking about previously?  I still don't understand how to do it15:54
T42<elros34> so why didn't you tell about it instead ignoring? its in hadk-hot15:57
EleventhLastas a person from Ukraine it is difficult for me to understand English even with a translator, I understand many points very poorly15: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 you15:59
EleventhLastin general, in theory, we could switch from irts to some other messenger?16:00
EleventhLastand yes, in the future, if I don’t understand something, I will let you know16:00
T42<elros34> somebody use translator in etherpad, I can't fix it..16:04
EleventhLastand yet, how do I skip the skip_initramfs?16:08
malsome device need to revert a commit in kernel to handle that16:08
T42<elros34> EleventhLast did you find note about it in link you got?16:09
EleventhLastCONFIG_INITRAMFS_SOURCE=""?16:09
T42<elros34> no, use ctrl + f: skip_initramfs16:10
EleventhLastshould it be empty?16:10
T42<elros34> yes16:10
EleventhLastI don't understand where to press CTRL+F16:11
EleventhLastwhen building the kernel?16:11
T42<elros34> in the link I gave you with hadk-hot16:11
EleventhLastI don't understand what and where16:14
EleventhLastI have not had a normal sleep for 4 days because of this porting16: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_inittramfs16:15
EleventhLastNow I understand what link you mean, thanks16:17
EleventhLastI'll turn it off now16:18
EleventhLaststatic void __init free_initrd(void)16:23
EleventhLastI don't understand what should I replace16:23
EleventhLast_free_initrd(skip_initramfs);16:30
EleventhLast_right?16:30
EleventhLastI could skip skip_initramfs , according to the kernel build logs everything should work17:10
EleventhLastI 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 collected17:48
ThaodanPath execptions are missing18:57
EleventhLastlet me give you my initramfs.c , and you edit it the way it should be .... I'm already tired of this rubbish19:30
ThaodanIs the kernel build, do you have hybris-boot.img but it is very small?19:37
EleventhLastif you are talking about the weight of the image, then no, it takes 7.2 megabytes19:38
EleventhLastand I was mistaken that it is not going to, it's just a problem with the output in the console19:39
ThaodanThere's an issue with the cpio image being to small because hybros-boot calls cpio from path.19:39
Thaodanhttps://android.googlesource.com/platform/build/+/master/Changes.md#path-tools-path_tools19:40
Thaodanthat's why I thought you didn't set TEMPORARY_DISABLE_PATH_RESTRICTIONS=true19:40
EleventhLastyes, I don’t remember when it was, the brain began to forget what happened yesterday19:41
EleventhLastTEMPORARY_DISABLE_PATH_RESTRICTIONS=true is it possible to enter this through export?19:43
EleventhLastI don't have build/soong/ui/build/paths/config.go directory19:47
EleventhLaststill there ... it looks like there was an error copying the directory19:48
EleventhLast[ 50% 1/2] glob build/soong/ui/*/Android.bp19:50
EleventhLastthis hasn't happened before19:50
Thaodanyes export TEMPORARY_DISABLE_PATH_RESTRICTIONS=true19:52
EleventhLastalready done, as you can see above, I threw off what appeared19:53
EleventhLastI 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 it19:56
EleventhLasthe was not19:57
EleventhLastbash: cpio: command not found19:58
EleventhLastWhy 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 also20:00
EleventhLastyou need to read more carefully .. sorry20:01
T42<elros34> it's still not clear for me how you can have different behavior for hybris-boot/recovery20:03
EleventhLastyes, now the file size is 8.2 megabytes20:05
EleventhLastand so boot loop every 38 seconds20:13
EleventhLastit's on a hybrid boot20:13
T42<elros34> yeah get rid off reboot lines and check host dmesg whether you got telnet working20:14
EleventhLastok, thank you so much for now20:16
EleventhLastsleep 30 leave?20:16
T42<elros34> naah this was only to figure out what is going on20:17
EleventhLastregister 'rndis_host' at usb-0000:00:1d.7-1, RNDIS device, 00:00:00:00:00:0020:28
EleventhLastnice20:28
EleventhLasttelnet 192.168.2.15 2323 Trying 192.168.2.15... telnet: Unable to connect to remote host: No route to host20:30
EleventhLastwhat doesn't he like?20:33
malis the interface up properly, do you see ip for the usb interface on host?20:34
maldoes port 23 work?20:34
EleventhLastMer Debug telnet on port 23 on rndis0 192.168.2.15 - also running udhcpd20:35
EleventhLasttelnet 192.168.2.15 23  Trying 192.168.2.15... telnet: Unable to connect to remote host: No route to host20:35
maldo you see ip for the interface?20:35
EleventhLastnothing on port 2320:36
EleventhLastI see IP20:36
EleventhLastbut i can't connect20:39
malwhich android base is that?20:39
EleventhLast8.120:40
malcan you show you kernel defconfig?20:41
malpreferrably the .config from out/ what is checked during build20: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-mountpoints20:42
EleventhLastmost likely the kernel, the mount points are 100% correct, now I will add everything I need to the config20:43
T42<elros34> we will see... :) not everything, just these mentioned in init script20:44
malEleventhLast: mayhbe check these also https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L320 in .config just in case20:44
T42<elros34> common missing CONFIG_AUTOFS4_FS20:45
EleventhLaststands for yes20:50
EleventhLastand here is the config from the output folder20:50
EleventhLasthttps://pastebin.com/rq5u673020:50
malI don't see CONFIG_DEVTMPFS_MOUNT and CONFIG_DEVTMPFS in that20:52
malis that the full .config?20:53
malalso some other are missing, wondering if the paste is incomplete20:53
T42<elros34> no way20:54
EleventhLastlooks like i erased part while copying20:56
EleventhLastnow I have added almost everything that is required to the config and rebuild the kernel20:56
EleventhLastfixmount here https://pastebin.com/rC7MX6nJ21:12
EleventhLastwhat is the latest version of sailfishos? this is for release version21:19
mal4.4.0.6821:21
EleventhLastand 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 added21:23
EleventhLasthttps://pastebin.com/BhRxFvi321:27
EleventhLastafter adding this , tellnet stopped working21:27
T42<elros34> you shouldn't add last one, check whether you have now init.log21:29
T42<elros34> messing with watchdog on samsung is also asking for trouble21:29
EleventhLastno log21:31
EleventhLastwhat does "watchdog" mean?21:54
ThaodanEleventhLast: https://en.wikipedia.org/wiki/Watchdog_timer#Fault_detection21:55
EleventhLastahahha , it was translated to me as "guard dog", I already thought that this was an insult to my side due to my incompetence21:59
ThaodanYeah it is kinda guard dog but just in the matter of speaking22:00
EleventhLastit is possible to tell service which checks for errors?22:01
ThaodanWatch issue do you have? the watchdog usually comes into play when something is stuck22:02
T42<elros34> I was only refering to your defconfig change in which you have enabled nowayout for watchdog22:04
EleventhLastI don't know what problems you have while rebuilding the kernel without CONFIG_ECRYPT_FS22:04
EleventhLastI'm still not sure what the problem is with it, turn it off?22:05
EleventhLastI'm talking about the timer22: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 everything22:08
EleventhLastYes, I understand, the whole night in front) my time is 1:0922: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-122:35
T42<Umeaman> I haven't heard of it before today.22:36
EleventhLastI don’t understand, it’s all right as it was, until the moment of normal loading, but it doesn’t work23:44
maldoes the usb appear any time during the boot in host dmesg?23:45
EleventhLastno, usb no longer appears at all23:46

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