T42 | <adampigg> wdym, im using volte here 🤪 MTK FTW (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>dea...) | 06:55 |
---|---|---|
T42 | <adampigg> @Mister_Magister if youd like a project, there is a stalled code base for volte support on qcom | 06:55 |
Mister_Magister | got enough of them thanks | 08:47 |
T42 | <Mister_Magister> @b100dian Since you worked with 21 base mind lending me a hand? | 16:29 |
T42 | <b100dian> hmm.. haven't got very far - but what is the question? | 16:30 |
T42 | <b100dian> nagara also has wikis in the repo, maybe there's something already documented there | 16:30 |
T42 | <Mister_Magister> like, how do i flash the darn thing | 16:36 |
T42 | <theRussianFelix> Wait how and why am I here | 16:42 |
T42 | <theRussianFelix> Didn't I get banned for an argument about DEs? | 16:44 |
T42 | <Mister_Magister> no? | 16:50 |
T42 | <Mister_Magister> maybe you're confusing groups | 16:50 |
T42 | <theRussianFelix> I remember you arguing with me about GNOME | 16:58 |
T42 | <theRussianFelix> Then banning me | 16:58 |
T42 | <Mister_Magister> not on this group | 16:59 |
T42 | <theRussianFelix> Oh. It was on the fangroup | 16:59 |
T42 | <theRussianFelix> Not the porters group | 16:59 |
T42 | <Mister_Magister> there you go | 16:59 |
T42 | <theRussianFelix> Shows how much I didn't care about being banned thh | 16:59 |
T42 | <theRussianFelix> Shows how much I didn't care about being banned tbh (edited) | 16:59 |
T42 | <theRussianFelix> I'm thinking about porting sfos to spes | 17:00 |
T42 | <theRussianFelix> (Barry is here. Great.) | 17:00 |
T42 | <b100dian> @Mister_Magister I don't remember precisely, here's from the wiki: 'To flash, use the "alternative" procedure as described in Sake port' 😃 https://github.com/sailfishos-sony-nagara/main/wiki/HADK-for-Sony-Nagara-devices#switching-between-lvm-and-regular-build | 17:06 |
T42 | <b100dian> I _think_ adb root was only possible with a GSI installed like the Lineage one here https://github.com/sailfishos-sony-nagara/main/wiki/Generic-System-Images-(GSIs) | 17:08 |
T42 | <b100dian> There is probably no separate recovery partition, only a boot param booting into the same one | 17:08 |
T42 | <b100dian> Hopefully I will soon recap all those steps myself 🙂 | 17:09 |
T42 | <b100dian> Actually, you already have a Lineage system that's built and can be flashed, right? | 17:13 |
T42 | <b100dian> with adb sideload | 17:13 |
T42 | <Mister_Magister> yeah | 17:13 |
Mister_Magister | great i cannot build zip cause releases.jolla.com gives me 403 | 18:04 |
Mister_Magister | they don't like me | 18:04 |
Mister_Magister | CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection | 18:05 |
mal | correct version set etc? | 18:05 |
Mister_Magister | i don't think the server is alive | 18:05 |
Mister_Magister | version didn't change since yesterday so yes it is, try it yourself | 18:06 |
Mister_Magister | https://releases.jolla.com/features/4.6.0.13/customers/jolla/aarch64/repodata/repomd.xml | 18:06 |
Mister_Magister | server is very much dead | 18:06 |
Mister_Magister | can't even respond to https://releases.jolla.com | 18:07 |
Mister_Magister | mal: confirmed dead? | 18:11 |
mal | reported that | 18:12 |
Mister_Magister | okidoki | 18:12 |
Mister_Magister | just wanted to make sure its not just me | 18:12 |
Mister_Magister | btw mal would you be so kind as to look at my 21 repos to see if i did everything correctly so far? | 18:12 |
mal | yeah, zypper ref was not working for me either | 18:12 |
mal | link? | 18:13 |
mal | maybe not right now but a bit later | 18:13 |
Mister_Magister | gimme sec | 18:13 |
Mister_Magister | https://github.com/VerdandiTeam/droid-config-pipa you know the other 2 directories so i'm not gonna spam links :P | 18:13 |
mal | Mister_Magister: repos seem to be working now | 18:23 |
Mister_Magister | also here are defconfig changes https://github.com/VerdandiTeam/android_kernel_xiaomi_sm8250/commit/b9ce24c8fac14c310d837cf05b1070ac6ca98011 | 18:23 |
Mister_Magister | and thankies | 18:23 |
Mister_Magister | zip building | 18:25 |
Mister_Magister | hm can't get mic to spit out all the boot images | 18:29 |
Mister_Magister | it only spits out hybris-boot which isn't even boot and its mighty useless | 18:30 |
Mister_Magister | eh extracted all 3 img's manually lemme try flashing zip and the like | 18:34 |
Mister_Magister | eh i can't flash sfos zip using the lineage recovery | 18:39 |
Mister_Magister | hm | 18:39 |
Mister_Magister | i should be able to do it manually via db | 18:40 |
Mister_Magister | adb* | 18:40 |
Mister_Magister | oh wait no its running | 18:41 |
Mister_Magister | hm i've formatted data but i dont' think it formatted it cause zip cannot mount it (tho it might not exist) | 18:42 |
Mister_Magister | yeah it tries to mount it as ext4 but its f2fs | 18:43 |
Mister_Magister | ah userdata exists but i cannot mount it either via ext4 or f2fs | 18:44 |
Mister_Magister | nothing little mkfs can't fix | 18:45 |
Mister_Magister | dang still fails to extract | 18:45 |
Mister_Magister | well manual job it is then | 18:46 |
Mister_Magister | something's broken with this recovery and i cannot push any file to it | 18:58 |
Mister_Magister | hm techincally i could try installing it via sfos ramdisk if telnet works | 19:02 |
Mister_Magister | aaaand nothing in ramdisk | 19:05 |
Mister_Magister | it couldn't be simple naah | 19:05 |
Mister_Magister | i'm creating image and extracting sfos to it and hopefully i'll be able to flash it | 19:14 |
Mister_Magister | that didn't work | 19:21 |
Mister_Magister | of course fastboot images are not plain images and you have to use android binary to convert them to correct image before you can flash them | 19:54 |
Mister_Magister | life couldn't be simple | 19:54 |
Mister_Magister | this tablet is awesome it discharges on charger in recovery/fastboot | 19:57 |
Mister_Magister | finally flashed userdata but even with it its not booting at all | 20:05 |
Mister_Magister | apparently i cannot mount the userdata so thats awesome | 20:07 |
T42 | <Mister_Magister> @b100dian did you have any issues getting rndis in ramdisk in xiaomi? | 20:12 |
T42 | <b100dian> Not on xiaomi, but on sake and nagara I did. See hybris boot repo on nagara maybe | 20:32 |
T42 | <Mister_Magister> i'm seeing it and only relevant thing is usleep | 20:33 |
T42 | <b100dian> You need to inspect recovery init.rcs for your device but maybe that'll just work | 20:33 |
T42 | <b100dian> There should be something else, an echo or smth | 20:33 |
T42 | <Mister_Magister> yeah but thats sony specific | 20:33 |
T42 | <Mister_Magister> and this is not sony | 20:34 |
T42 | <b100dian> Write here https://github.com/mer-hybris/hybris-boot/compare/master...sailfishos-sony-nagara:hybris-boot:master#diff-15dd9fa1f5604ae3da3971d471b076e86c71f8df89e87c75c47a4143b0550ed6R212 | 20:36 |
T42 | <Mister_Magister> yes, as you can see its xperia specific | 20:41 |
T42 | <Mister_Magister> and sleep change didn't help | 20:41 |
T42 | <b100dian> Grep your inits? | 20:48 |
T42 | <Mister_Magister> nothing interesting in there | 20:50 |
T42 | <Mister_Magister> also i tried it anyway and it didn't help | 20:51 |
T42 | <Mister_Magister> i'm not sure it even gets to ramdisk at this point | 20:53 |
T42 | <Mister_Magister> hmm `/sys/class/udc/${ro.boot.usbcontroller}/device/../mode peripheral` | 20:55 |
T42 | <Mister_Magister> i don't know what /sys/class/udc/${ro.boot.usbcontroller is though | 20:57 |
T42 | <Mister_Magister> ahh recovery has it | 20:59 |
T42 | <Mister_Magister> `write /sys/class/udc/a600000.dwc3/mode peripheral` | 21:00 |
T42 | <Mister_Magister> sounds promising | 21:00 |
T42 | <Mister_Magister> make -j12 hybris-boot and here i come | 21:00 |
T42 | <Mister_Magister> nnnnnnnnnnnnnno dice | 21:02 |
T42 | <Mister_Magister> i found command for setting backlight brightness, maybe i can use it to debug | 21:03 |
T42 | <Mister_Magister> yo i think it changed | 21:04 |
T42 | <Mister_Magister> aah no it changes on its own | 21:10 |
T42 | <Mister_Magister> okay i tried the sys path in recovery and it works meaning we are not getting into that spot in init script | 21:11 |
T42 | <Mister_Magister> i've put `echo 0 > /sys/class/backlight/panel0-backlight/brightness` right at the beginning of the scipt so we shall see if that does something | 21:14 |
T42 | <Mister_Magister> wait at that point i might not have sysfs so let me recalculate that | 21:14 |
T42 | <Mister_Magister> i've put it right after mounting sysfs and loading kernel modules and nope, it simply doesn't do anything which would suggest the script is not running | 21:18 |
T42 | <Mister_Magister> and thats all sorts of not good | 21:18 |
T42 | <Mister_Magister> CONFIG_USB_RNDIS is enabled | 21:20 |
T42 | <Mister_Magister> oh CONFIG_USB_CONFIGFS_RNDIS is not set | 21:20 |
T42 | <adampigg> rndis is evil and going away .. EEM/ECM is the way forward | 21:21 |
T42 | <Mister_Magister> well for now sfos is using rndis is it not | 21:21 |
T42 | <adampigg> it can use whatever you want .. most my newer ports ive configued for EEM/ECM | 21:21 |
T42 | <adampigg> you just need to alter configfs setup/usb-moded configs | 21:22 |
T42 | <Mister_Magister> share the script then | 21:22 |
T42 | <Mister_Magister> YOOOO | 21:23 |
T42 | <Mister_Magister> I GOT RNDIS | 21:23 |
T42 | <Mister_Magister> this is hype | 21:23 |
T42 | <Mister_Magister> this is so hype | 21:24 |
T42 | <Mister_Magister> `/init: line 187: can't create /sys/class/udc/a600000.dwc3/mode: Permission denied` ouch | 21:25 |
T42 | <b100dian> Need to sleep:p | 21:27 |
T42 | <Mister_Magister> okay writing 0 to backlight brightness does nothing | 21:27 |
T42 | <Mister_Magister> thats why it didn't work | 21:27 |
T42 | <Mister_Magister> (it works in recovery) | 21:27 |
T42 | <Mister_Magister> i need mkfs now | 21:28 |
T42 | <Mister_Magister> oh its there just not in path | 21:30 |
T42 | <Mister_Magister> huh, mkfs says it contains ext4 but mount says invalid argument | 21:30 |
T42 | <Mister_Magister> well one mkfs later im just gonna reinstall it | 21:32 |
T42 | <Mister_Magister> probably sfos has very old ext4 compared to my system | 21:32 |
T42 | <Mister_Magister> yeah its not stopping despite /init_enter_debug2 | 21:43 |
T42 | <Mister_Magister> ah dummy me i did touch /init_enter_debug2 which is root and not in the directory | 21:45 |
T42 | <Mister_Magister> no dice still :/ | 21:47 |
T42 | <Mister_Magister> ok init_enter_debug and i'm back in ramdisk | 21:53 |
T42 | <Mister_Magister> but then it dies anyway | 21:53 |
T42 | <Mister_Magister> oh it doesn't give me ip this time and just dies | 21:54 |
T42 | <Mister_Magister> it's supposed to output ot /boot/systemd_stdouterr but thats not saved | 22:07 |
T42 | <Mister_Magister> idk why it bootloops it should stop | 22:07 |
T42 | <Mister_Magister> wait… could i mount pstore | 22:09 |
T42 | <Mister_Magister> oh it absolutely freaking worked | 22:12 |
T42 | <Mister_Magister> idk why it happens in between switching from one script to another but aight | 22:14 |
T42 | <b100dian> what did you change? | 22:14 |
T42 | <Mister_Magister> enabled rndis (re @b100dian: what did you change?) | 22:16 |
T42 | <Mister_Magister> tried removing bunch of warning flags and that didn't help meaning i sadly gotta dig into it | 22:24 |
T42 | <Mister_Magister> what if the switch_root causes panic | 22:30 |
T42 | <Mister_Magister> (just don't build what causes panic ez) | 22:42 |
T42 | <Mister_Magister> i don't quite understand why its crashing in in between two scripts but well… at least its straightforward to debug now | 22:51 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!