Sunday, 2022-01-02

T42<rodrisola> this is a init.log04:20
T42<rodrisola> happy new year04:42
T42<LSolrac> Good Evening. I have a question. I'm helping port UT to my device, using Halium 10 as a base. Could this be used to port Sailfish as well?08:28
T42<rodrisola> hello16:55
T42<rodrisola> any idea?16:57
malare you sure you chenged the correct defconfig file?17:14
T42<rodrisola> because no matter how much I rebuild hibrys-hal, once the defconfig has been edited, it never changes in the log, when I check the .config, it still comes out the same, as if the changes were not translated17:23
Thaodan@LSolrac: Sailfish OS doesn't use halium but the components are very similar.17:25
ThaodanSo with some extra work you can reuse the work done with halium17:25
mal@rodrisola which defconfig file do you edit?17:28
T42<rodrisola> mal: arch/arm64/configs/courbet_user_defconfig17:33
malare you sure you are really building the kernel? some devices use prebuilt kernel which needs some manual way to build custom kernel17:37
ThaodanLike this: in case of Sony17:39
ThaodanYou could have something similar17:40
T42<rodrisola> How can I validate what you tell me, I don't know if it has a precompiled kernel, but I build the hybris hal. could you give me an idea17:41
ThaodanTry to if you have something similar like the the file linked above17:41
ThaodanDo you see some messages regard kernel building?17:42
ThaodanWhat you can also try if there's  out/target/product/$device/obj/kernel in your android source folder17:43
T42<rodrisola> i try greep Ri "BUILD_KERNEL" .17:47
T42<rodrisola> does not exist in my files17:47
T42<rodrisola> thaodan:
T42<rodrisola> thaodan: folder exist17:56
ThaodanThen its probably  without a prebuild kernel18:03
T42<rodrisola> thaodan :
T42<rodrisola> for example
T42<elros34> why do you fight with defconfig if you have it working since few weeks already and you had exactly same  wrong defconfig file issues previously? You were at systemd stage already.18:14
T42<rodrisola> I removed some things from the hybris-boot, I added other things, the detail is that when I realize the system loads the init_debug on port 2323 and I still had problems with mounting super, then I followed a guide that you sent me, and even It does not load me, I noticed that the systemd loaded, but it loaded me in init_debug 2323, now it loads port 23, but it does not start the system18:18
T42<elros34> this change will not work because mount_stowaways is executed in initramfs which do not have parse-android-dynparts nor /dev/disk/by-partlabel symlinks18:20
T42<elros34> If you wanted to mount partitions then you should do this her: but you must use directly block devices like /dev/sdx not /dev/*/by-name/*18:22
T42<elros34> this is 1 line change you can do on device in /init-debug script, there was  no need to rebuild kernel18:23
T42<elros34> you really overcomplicate everything. For test you could just create /init_enter_debug2, run your mount script, make sure everything is correct then continue booting18:25
T42<rodrisola> It would be fine, that it starts in the init_debug and not in the normal one, build the boot, because I needed to add two executables in the initramfs bin, which was parse-android-dynparse, and the dmsetup18:27
T42<rodrisola> When I create the init_enter_debug2 file, it does not start the telnet service, I do not have a connection18:28
T42<elros34> same as in instruction you got, via twrp. I still insist this changes are overcomplicated because everything you want can be executed in /init-debug in real rootfs18:29
T42<LSolrac> Yeah, after a bit more researched I realized this. But I assume I can still use the device's kernel? (re @SailfishFreenodeIRCBridgeBot: <Thaodan>So with som...)18:29
T42<elros34> @rodrisola If you have whole commit "kang from halium initramfs " not only these few lines you pointed to then maybe something will work but I have no idea how, good luck anyway.18:35
T42<rodrisola> I'm returning to my original hybris-boot, only as in That branch they started doing it... I wanted to try, well, I go back and add those two pounds directly to my init_debug18:38
ThaodanLSolrac: Yes you can. Halium needs to the same kernel features or patches.19:02
T42<LSolrac> Awesome~ Is there a guide available? I've failed to find one (re @SailfishFreenodeIRCBridgeBot: <Thaodan>LSolrac: Ye...)19:04
Thaodanlsolrac: on what configs to enable in the kernel?19:08
Solrac[m]That and to start the general porting process20:29
ThaodanSolrac[m]: Read hadk20:49
T42<LSolrac> tyty20:51
T42<rodrisola> After installing an original rom to the phone and returning the procedure to zero, with the vbmeta disable, and all the steps to follow, I passed previous roms of sailfish os, and I can't start, it only starts me with an error. I will try to compile another kernel to stay without doubts20:55

Generated by 2.17.1 by Marius Gedminas - find it at!