| T42 | <damnbruh2004> i set boot image header version to 0 explicitly and it worked. it reports randisk size != 0, so we can assume it is packaged? full output https://pastebin.com/QTzHFigw | 00:03 |
|---|---|---|
| T42 | <damnbruh2004> oh, apparently telnet is provided by device, i just needed to run lsusb -v as root. that being said i can't connect to it and steps from the halium docs don't apply. perhaps this is because i am using wsl + usbipd | 00:56 |
| T42 | <damnbruh2004> halium docs are at https://docs.halium.org/en/latest/porting/debug-build/early-init.html | 00:56 |
| *** n2klb_ is now known as n2klb | 02:37 | |
| T42 | <damnbruh2004> apparently you need to compile and enable a separate module for usb networking to work with wsl + usbipd-win. you can follow the steps as described in this post, except for the sed-based patch line, it's not needed | 05:04 |
| T42 | <damnbruh2004> https://forum.sailfishos.org/t/jolla-phone-2026-windows-11-has-anyone-successfully-used-usb-developer-mode-rndis/30616/6 | 05:04 |
| T42 | <damnbruh2004> managed to get telnet and examined the logs. it fails to mount userdata and the partition layout is different from what i have set in the fixup-mountpoints. i can mount the directory manually (though the device path is different from both fixup-mountpoints and what the init script is using) | 06:27 |
| T42 | <damnbruh2004> error is as follows | 06:27 |
| T42 | <damnbruh2004> mount: mounting /dev/block/bootdevice/by-name/userdata on /data failed: No such file or directory | 06:27 |
| T42 | <damnbruh2004> full log https://pastebin.com/dvJUi2tq | 06:27 |
| T42 | <damnbruh2004> any tips would be appreciated, thanks | 06:27 |
| T42 | <damnbruh2004> fixup-mountpoints source https://github.com/fortuna-for-smoothie/hybris-boot/blob/hybris-18.1/fixup-mountpoints#L1183 | 06:28 |
| T42 | <the_hiktor> Which device was that ? (re @damnbruh2004: fixup-mountpoints so...) | 07:32 |
| T42 | <damnbruh2004> @the_hiktor fortuna3g is galaxy grand prime xxu | 07:34 |
| T42 | <the_hiktor> You sure about the mount points ? (re @damnbruh2004: @the_hiktor fortuna3...) | 07:36 |
| T42 | <the_hiktor> Besides does it use dynamic partitions ? | 07:36 |
| T42 | <damnbruh2004> Not really. I will boot into android later today and confirm. It does not use dynamic paetitons (you mean a/b boot, right?) | 07:37 |
| T42 | <damnbruh2004> For the mountpoints it had two categories with different names when i checked in android. Ao maube i should've used the other one | 07:38 |
| T42 | <the_hiktor> Could be without a/b scheme too (re @damnbruh2004: Not really. I will b...) | 07:38 |
| T42 | <the_hiktor> Check fstab (re @damnbruh2004: For the mountpoints ...) | 07:38 |
| T42 | <damnbruh2004> Yeah, it had recovery fstab and basic fstab in android. I took info from the basic one | 07:39 |
| T42 | <damnbruh2004> @the_hiktor google says dynamic partitons were introduced in android 10. The device is from 2015, so probably no. Even rhough I am building on top of custom lineage 18.1 android 11 | 07:42 |
| T42 | <the_hiktor> Ik but i remember some people crazy enough to bring such thing to old devices (re @damnbruh2004: @the_hiktor google s...) | 07:43 |
| T42 | <the_hiktor> Show me your fstab | 08:01 |
| T42 | <damnbruh2004> @the_hiktor the fstab looks like this https://pastebin.com/s5kzTBeK | 08:11 |
| T42 | <elros34> so your fixup-mountpoints doesn't match it | 08:21 |
| T42 | <damnbruh2004> as per hadk handbook i did `ls -l /dev/block/platform/*/by-name/` and used the output | 08:32 |
| T42 | <elros34> that is wrong. read hadk-hot or just use by-name path from your fstab | 08:33 |
| T42 | <elros34> block/bootdevice/by-name | 08:33 |
| T42 | <damnbruh2004> srry for not referring to hot again. I was setting up the kernel part before i discovered it | 09:52 |
| T42 | <damnbruh2004> I edited the fixup script but the log is identical | 09:53 |
| T42 | <damnbruh2004> You can find it here https://github.com/fortuna-for-smoothie/hybris-boot/blob/d329c541912542285da7299c439053ae7038783b/fixup-mountpoints#L1183 | 09:53 |
| T42 | <damnbruh2004> just in case i misunderstood the writing | 09:55 |
| T42 | <damnbruh2004> fstab.qcom https://pastebin.com/s5kzTBeK | 09:55 |
| T42 | <damnbruh2004> ls devices https://pastebin.com/NKYzZpLe | 09:55 |
| T42 | <elros34> did you run make hybris-hal and fash hybris-boot.img after making changes? | 09:58 |
| T42 | <damnbruh2004> also diagnosis.log file reports CONFIG_AUTOFS4_FS option missing in kernel, even though i've enabled it | 09:58 |
| T42 | <damnbruh2004> https://github.com/fortuna-for-smoothie/android_kernel_samsung_msm8916/blob/d0367ab6d2b60ce937d5c513536a5d9e446d99f4/arch/arm/configs/msm8916_sec_defconfig#L96 | 09:58 |
| T42 | <damnbruh2004> @elros34 i built hybris-hal and droidmedia, then packaged the full zip and flashed on top of lineage, since i was testing the layout in it | 09:59 |
| T42 | <elros34> just flash now hybris-boot.img | 09:59 |
| T42 | <damnbruh2004> may this error be due to no files .rc in /root after building droid-hal? we circumvent this by creating a dummy rc | 10:00 |
| T42 | <elros34> not related at all | 10:02 |
| T42 | <damnbruh2004> okay. after flashing hybris-boot into the kernel it bootloops. let me see the kmsg | 10:03 |
| T42 | <elros34> touch /data/.stowaways/sailfishos/init_enter_debug2 | 10:04 |
| *** deathmist1 is now known as deathmist | 10:06 | |
| T42 | <damnbruh2004> nope, still bootloops without establishing connection with my pc | 10:06 |
| T42 | <damnbruh2004> gotta go now. will return to ya'll later | 10:07 |
| T42 | <elros34> you must have done something else also. First you had fastboot mode - that wasn't fixup issue | 10:08 |
| T42 | <damnbruh2004> no no, the fastboot thingy is wsl misinterpretting the connection | 10:08 |
| T42 | <elros34> ok | 10:09 |
| T42 | <damnbruh2004> i fixed it by installing the usb netwroking module into wsl and getting telnet | 10:09 |
| T42 | <damnbruh2004> and then i sent you the logs, with mounting data failing | 10:09 |
| T42 | <elros34> now it should mount /data but if AUTOFS4_FS is not set then it will still fail to boot and telnet would work. It is useless kernel config btw | 10:13 |
| T42 | <damnbruh2004> Useless as in it takes no effect or as in it is nonsense in and of itself? | 10:14 |
| T42 | <elros34> you don't really need it so can be removed from init-script | 10:37 |
| T42 | <damnbruh2004> Aren't the kernel's features build based on its content? Hadk handbook says to edit it and then use the keenel checker utility | 10:42 |
| T42 | <damnbruh2004> I mean it says to find the config used, and various commonconfig files point to this one, so i started editing it and checker errors resolved then | 10:43 |
| T42 | <damnbruh2004> I'm really new to rom development and porting, hope you don't mind obvious questions | 10:45 |
| sharks[m] | "Obvious" questions are okay - you know how to search the channel logs though right? Always try that first | 10:51 |
| *** xmn__ is now known as xmn | 12:06 | |
| T42 | <theflyingrahul> Hi @mal, tried the rounded-corner idea for the left camera cut-out. Does it pad the right-side also by default, despite setting the rounding only for the left corner? Is there a way around this? | 12:17 |
| T42 | <Mister_Magister> @theflyingrahul one tiny protip on irc you tag people like this (though it often depends on their irc client settings but this one is most common) <nick>: <message> | 12:28 |
| T42 | <theflyingrahul> Got it, Thanks! | 12:29 |
| mal | @theflyingrahul hmm, need to have a look, maybe there is bug in that | 13:05 |
| T42 | <theflyingrahul> <mal>: It is picking up the max radius from all the 4 radii, not sure if it's affecting the lower corners too | 13:07 |
| T42 | <Mister_Magister> without the <> :) | 13:07 |
| T42 | <theflyingrahul> Aha got it! | 13:08 |
| Mister_Magister | mal: i'm not sure if its claudine hallucinating or if its just my device or is it just a15 based ports but my app segfaults when using libuuid and something something it's because libhybris/android library, anyway, easy test is LD_PRELOAD=/usr/lib64/libuuid.so.1 jolla-calculator, could you maybe take a sec and look at it? | 20:50 |
| Mister_Magister | it segfaults at tlsdesc_resolver_dynamic () at tlsdesc_resolver.S:58 | 20:50 |
| mal | which libhybris do you use? | 20:55 |
| Mister_Magister | pr-testing | 20:56 |
| mal | seems to fail yes | 20:57 |
| mal | the pr-testing branch is a hack | 20:57 |
| mal | I wonder which apps use libuuid? | 20:58 |
| Mister_Magister | well mine does xd | 20:59 |
| T42 | <adampigg> zypper rm libuuid | 21:00 |
| T42 | <adampigg> n | 21:00 |
| T42 | <adampigg> will tell you :) | 21:00 |
| Mister_Magister | mal: aigh I leave that to you have fun :)))) :DDD | 21:04 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!