| T42 | <the_hiktor> i made some changes to updater-unpack.sh but mic keeps including the old one | 13:17 |
|---|---|---|
| T42 | <the_hiktor> what a i supposed to do here ? | 13:18 |
| T42 | <Mister_Magister> and did you build hybris-hal? | 13:28 |
| T42 | <the_hiktor> yeah | 13:28 |
| T42 | <Mister_Magister> and did you package it | 13:28 |
| T42 | <the_hiktor> also yeah | 13:28 |
| T42 | <Mister_Magister> magic | 13:28 |
| T42 | <the_hiktor> it worked fine only once | 13:29 |
| T42 | <Mister_Magister> did you repackage droid-configs? | 13:29 |
| T42 | <the_hiktor> yeah | 13:29 |
| T42 | <Mister_Magister> magic | 13:30 |
| T42 | <Mister_Magister> find in which rpm is it | 13:30 |
| T42 | <Mister_Magister> (you can open them like zip) | 13:30 |
| T42 | <the_hiktor> what do you talk about exactly | 13:34 |
| T42 | <the_hiktor> sry | 13:34 |
| T42 | <the_hiktor> still not good with this kind of naming | 13:34 |
| T42 | <the_hiktor> what should i find ? | 13:35 |
| T42 | <Mister_Magister> updater-unpack.sh | 13:35 |
| T42 | <the_hiktor> ok found it | 13:49 |
| T42 | <the_hiktor> its new | 13:49 |
| T42 | <the_hiktor> but my new changes arent in there | 13:49 |
| T42 | <Mister_Magister> remove it and repackage | 13:50 |
| T42 | <the_hiktor> ok | 13:50 |
| T42 | <the_hiktor> there's bunch of old one's too | 13:50 |
| T42 | <the_hiktor> should i leave them ? | 13:50 |
| T42 | <Mister_Magister> rm -rf everything in there | 13:52 |
| T42 | <Mister_Magister> just yeet droid-local-repo | 13:52 |
| T42 | <the_hiktor> ok | 13:52 |
| T42 | <the_hiktor> didnt help | 14:17 |
| T42 | <the_hiktor> the rpm looks fine | 14:17 |
| T42 | <Mister_Magister> so rpm did rebuild and changes are not there? | 14:18 |
| T42 | <the_hiktor> yeah | 14:18 |
| T42 | <the_hiktor> am i supposed to run hybris-hal again ? | 14:18 |
| T42 | <Mister_Magister> well every time you changed the updater-unpack you're supposed to make hybris-hal yes | 14:19 |
| T42 | <the_hiktor> well.. thats not helping | 14:41 |
| T42 | <the_hiktor> still the same | 14:41 |
| T42 | <Mister_Magister> well then you're changing wrong file | 14:50 |
| T42 | <the_hiktor> i dont think so cuz i made some changes and got applied at first but now it not | 14:51 |
| T42 | <the_hiktor> isn't it the one that lives in hybris-boot folder ? | 14:53 |
| T42 | <elros34> if you don't want to spend another 2 days in this I suggest you to simple make some change, run all command and show past with ALL steps | 15:21 |
| T42 | <Mister_Magister> he hates showing what he's doing | 15:24 |
| T42 | <the_hiktor> no but im so tired of this | 15:25 |
| T42 | <elros34> no doubt and I keep wondering why do you keep fighting with this not so important issue now instead trying to get sfos working on device | 15:34 |
| T42 | <the_hiktor> got it on device already but flashing is much faster | 15:35 |
| T42 | <the_hiktor> it keeps bootlooping after like 30 sec | 15:35 |
| T42 | <the_hiktor> no telnet | 15:35 |
| T42 | <Mister_Magister> 30s or one minute | 15:37 |
| T42 | <the_hiktor> not very sure | 15:37 |
| T42 | <Mister_Magister> https://sailfishos.wiki/books/hardware/page/hadk-hot If your device reboots after 60s without any sign of life in dmesg then check whether you have enabled CONFIG_USB_CONFIGFS_*RNDIS | 15:39 |
| T42 | <Mister_Magister> i had this problem | 15:39 |
| T42 | <the_hiktor> i measured it it takes 1.13 min exactly | 15:48 |
| T42 | <the_hiktor> and this is what i see in dmesg | 15:49 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/e608f1c08266 | 15:49 |
| T42 | <Mister_Magister> so did you check it? | 15:49 |
| T42 | <the_hiktor> checking | 15:50 |
| T42 | <Mister_Magister> out/target/blablabal/obj/KERNEL_OBJ/.config | 15:51 |
| T42 | <the_hiktor> ok then ? | 15:55 |
| T42 | <Mister_Magister> check it | 15:55 |
| T42 | <the_hiktor> not enabled | 15:57 |
| T42 | <Mister_Magister> then you know what to do | 16:00 |
| T42 | <the_hiktor> Should I run anything before mic? | 16:02 |
| T42 | <elros34> you don't run mic, build hybris-hal and flash boot image | 16:03 |
| T42 | <the_hiktor> yeah rightπ₯² | 16:03 |
| T42 | <Mister_Magister> think about how much you're learning and persevere? | 16:05 |
| T42 | <elros34> hybris-boot.img (and I guess hybris-vendor_boot.img but I am not familiar with this one) | 16:06 |
| T42 | <Mister_Magister> nah only hybris-boot for him i think | 16:07 |
| T42 | <Mister_Magister> i don't think he has anything else | 16:07 |
| T42 | <the_hiktor> @Mister_Magister yeah just need sometime to preserve cuz my memory is not that good | 16:08 |
| T42 | <the_hiktor> yeah just hybris-boot.img | 16:09 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/ff10dfe6a7ee | 16:22 |
| T42 | <the_hiktor> dmesg output | 16:22 |
| T42 | <Mister_Magister> modprobe rndis_host | 16:23 |
| T42 | <Mister_Magister> on host | 16:23 |
| T42 | <the_hiktor> no output | 16:24 |
| T42 | <Mister_Magister> yes obviously | 16:25 |
| T42 | <Mister_Magister> dmesg? | 16:25 |
| T42 | <the_hiktor> oh yeah its there | 16:27 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/01eaa346dc0f | 16:27 |
| T42 | <Mister_Magister> so nothing changed | 16:27 |
| T42 | <elros34> do you fastboot flash hybris-boot.img? | 16:28 |
| T42 | <the_hiktor> yeah | 16:28 |
| T42 | <the_hiktor> so what should i doπ ? | 16:30 |
| T42 | <elros34> right after flashing run dmesg -w, mark it in log, then power on device, and connect it, mark it in log, then wait at least 60s | 16:30 |
| T42 | <elros34> remember to always flash hybris-booot for each test | 16:30 |
| T42 | <Mister_Magister> he doesn't have a/b so i don't think the protection will trigger | 16:31 |
| T42 | <Mister_Magister> so no worry about flashing every time | 16:31 |
| T42 | <elros34> I think it's a good habbit if you don't know why nothing works | 16:32 |
| T42 | <elros34> did you confirm rndis is enabled in .config after enabling building | 16:32 |
| T42 | <Mister_Magister> habit* | 16:32 |
| T42 | <elros34> and* | 16:32 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/5f96915ea584 | 16:41 |
| T42 | <the_hiktor> after 60s it shows nothing | 16:41 |
| T42 | <Mister_Magister> did you confirmed it's enabled now in .config? | 16:41 |
| T42 | <the_hiktor> oh | 16:42 |
| T42 | <the_hiktor> it was | 16:42 |
| T42 | <the_hiktor> now its not | 16:42 |
| T42 | <Mister_Magister> wait hold on | 16:42 |
| T42 | <Mister_Magister> we're talking about out/target/blablabal/obj/KERNEL_OBJ/.config | 16:42 |
| T42 | <Mister_Magister> not defconfig | 16:42 |
| T42 | <Mister_Magister> you do not put anything in out/target/blablabal/obj/KERNEL_OBJ/.config | 16:42 |
| T42 | <the_hiktor> yeah this is what im talking about too | 16:43 |
| T42 | <Mister_Magister> you put your changes in defconfig | 16:43 |
| T42 | <Mister_Magister> you verify if changes applied in .config | 16:43 |
| T42 | <Mister_Magister> did you perhaps write to .config and then make hybris-hal? | 16:43 |
| T42 | <the_hiktor> oh wait | 16:43 |
| T42 | <the_hiktor> i was following what you said to me as is | 16:44 |
| T42 | <Mister_Magister> yes i never said to write anything to .config | 16:44 |
| T42 | <the_hiktor> wait lemme | 16:44 |
| T42 | <the_hiktor> see | 16:44 |
| T42 | <the_hiktor> oh sry | 16:45 |
| T42 | <the_hiktor> i thought that i should be doing changes in there π | 16:45 |
| T42 | <Mister_Magister> no just check, as it's output (literally in out folder) not input | 16:46 |
| T42 | <the_hiktor> ok ok i get it now | 16:46 |
| T42 | <Mister_Magister> so now please enable it | 16:46 |
| T42 | <Mister_Magister> good :) we learning | 16:47 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/0a8e31c40b9f | 17:08 |
| T42 | <Mister_Magister> there you go | 17:08 |
| T42 | <Mister_Magister> i was spot on, yay | 17:08 |
| T42 | <Mister_Magister> carry on with hadk | 17:08 |
| T42 | <the_hiktor> okπ | 17:09 |
| T42 | <the_hiktor> its not bootlooping anymore | 17:09 |
| T42 | <Mister_Magister> yes yes telnet and carry on | 17:10 |
| T42 | <Mister_Magister> first off do systemctl and give us output | 17:10 |
| T42 | <Mister_Magister> to check what services and mounts ran and which didn't | 17:10 |
| T42 | <the_hiktor> telnet: connect to address 192.168.2.15: Connection refused | 17:11 |
| T42 | <Mister_Magister> brother | 17:11 |
| T42 | <Mister_Magister> read hadk | 17:11 |
| T42 | <Mister_Magister> don't just type "telnet 192.168.2.15' | 17:11 |
| T42 | <Mister_Magister> rather than giving people straight answer i like to let them know where they can find it themselves | 17:12 |
| T42 | <Mister_Magister> but yes i could say "type telnet 192.168.2.15 2323" | 17:12 |
| T42 | <Mister_Magister> but then they learn nothing | 17:13 |
| T42 | <the_hiktor> thats what i did actualyπ | 17:13 |
| T42 | <Mister_Magister> then 23 | 17:13 |
| T42 | <elros34> when telnet then you should have working bunzip and you can unpack tar.bz2 to right place. | 17:13 |
| T42 | <Mister_Magister> nah we gave up on bunzip | 17:13 |
| T42 | <Mister_Magister> with my method you can just fastboot userdata and expand it in recovery xd | 17:14 |
| T42 | <the_hiktor> i think my problem is update-binary | 17:14 |
| T42 | <the_hiktor> ok im in | 17:14 |
| T42 | <the_hiktor> port 23 is | 17:14 |
| T42 | <Mister_Magister> goode now systemd | 17:14 |
| T42 | <Mister_Magister> wait let me remember if 23 was ramdisk or rootfs | 17:15 |
| T42 | <Mister_Magister> 23 is ramdisk isn't it | 17:15 |
| T42 | <Mister_Magister> ye mer boat loader | 17:15 |
| T42 | <Mister_Magister> you don't have rootfs | 17:15 |
| T42 | <Mister_Magister> systemctl status sysroot.mount | 17:15 |
| T42 | <the_hiktor> systemctl not found | 17:16 |
| T42 | <Mister_Magister> que | 17:16 |
| T42 | <Mister_Magister> show me that | 17:16 |
| T42 | <elros34> he is in initramfs, he has no sfos installed nor systemd | 17:16 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/c44b50382c7f | 17:17 |
| T42 | <elros34> that is why I suggest you to installs sfos your tarball or img whatever via telnet | 17:17 |
| T42 | <Mister_Magister> brother, initramfs has systemd | 17:18 |
| T42 | <Mister_Magister> wait no | 17:18 |
| T42 | <elros34> no | 17:18 |
| T42 | <Mister_Magister> i'm confusing with normal initramfs | 17:18 |
| T42 | <Mister_Magister> sorrey | 17:18 |
| T42 | <Mister_Magister> right right | 17:18 |
| T42 | <Mister_Magister> listen to elros or do it manually via my method | 17:18 |
| T42 | <Mister_Magister> @the_hiktor is "nc" command available | 17:18 |
| T42 | <the_hiktor> yeah | 17:19 |
| T42 | <Mister_Magister> oke | 17:19 |
| T42 | <Mister_Magister> on the phone run nc -l -p 1234 > sfos.tar.bz2 | 17:19 |
| T42 | <Mister_Magister> on the host nc 192.168.2.15 1234 < <name>.tar.bz2 | 17:20 |
| T42 | <the_hiktor> i have tar.gzπ | 17:21 |
| T42 | <Mister_Magister> same, works | 17:21 |
| T42 | <Mister_Magister> jsut repalce .bz2 with .gz | 17:21 |
| T42 | <the_hiktor> ok | 17:21 |
| T42 | <Mister_Magister> do you know which partition is userdata | 17:22 |
| T42 | <the_hiktor> i guess its data | 17:22 |
| T42 | <Mister_Magister> no the partition number | 17:23 |
| T42 | <Mister_Magister> /dev/sda123 | 17:23 |
| T42 | <the_hiktor> yeah | 17:23 |
| T42 | <the_hiktor> wait | 17:23 |
| T42 | <Mister_Magister> if you did fixup-mountpoints it will be there | 17:23 |
| T42 | <Mister_Magister> @elros34 shh i got it | 17:23 |
| T42 | <the_hiktor> yeah | 17:23 |
| Mister_Magister | I just gotta stop typing on tg cause i'm pinging myself xd | 17:23 |
| T42 | <the_hiktor> ok | 17:24 |
| T42 | <the_hiktor> its sda 16 | 17:24 |
| T42 | <Mister_Magister> oki can you mount it to /tmp | 17:24 |
| T42 | <Mister_Magister> sorry i meant /mnt | 17:24 |
| T42 | <Mister_Magister> or like /mnt/sysroot | 17:25 |
| Mister_Magister | mal: cat'ing /sys/power/wakeup_count also hangs in android but android suspends anyway?? what in the world | 17:40 |
| T42 | <the_hiktor> so i run this on device | 17:42 |
| T42 | <the_hiktor> nc -l -p 1234 > sfos.tar.bz2 | 17:42 |
| T42 | <the_hiktor> then this on host | 17:42 |
| T42 | <the_hiktor> nc 192.168.2.15 1234 < <name>.tar.bz2 | 17:42 |
| T42 | <the_hiktor> whats now ? it looks like it does nothing | 17:42 |
| T42 | <the_hiktor> like it waits some inoput | 17:42 |
| Mister_Magister | well | 17:43 |
| T42 | <the_hiktor> wait ill send my commands | 17:43 |
| Mister_Magister | yeah do that | 17:43 |
| T42 | <the_hiktor> this one as is | 17:44 |
| T42 | <the_hiktor> nc -l -p 1234 > sfos.tar.gz | 17:44 |
| T42 | <the_hiktor> and this | 17:44 |
| T42 | <the_hiktor> nc 192.168.2.15 1234 < sfe-surya-5.0.0.62-test8.tar.gz | 17:44 |
| Mister_Magister | yeah it should hang waiting for the host to send the stuff | 17:44 |
| Mister_Magister | does host process finish? | 17:44 |
| T42 | <the_hiktor> not yet | 17:45 |
| Mister_Magister | if you stop both processes, how big is the file on the device | 17:45 |
| T42 | <the_hiktor> -rw-r--r-- 1 0 0 543565586 Aug 9 00:50 sfos.tar.gz | 17:46 |
| Mister_Magister | try du -h | 17:47 |
| T42 | <the_hiktor> 518.4M sfos.tar.gz | 17:48 |
| T42 | <the_hiktor> not the same size | 17:48 |
| T42 | <the_hiktor> i guess ill try again and wait | 17:48 |
| Mister_Magister | exactly :) | 17:49 |
| Mister_Magister | patience my young padawan | 17:49 |
| T42 | <the_hiktor> what is that π | 17:50 |
| T42 | <the_hiktor> padawan | 17:50 |
| Mister_Magister | bro never seen starwars, i'm leaving | 17:50 |
| T42 | <the_hiktor> no wait ill watch it just for you π€£ | 17:50 |
| T42 | <the_hiktor> dont leave | 17:51 |
| Mister_Magister | i'm too old ;-; | 17:51 |
| Mister_Magister | grandpa at 29 | 17:51 |
| T42 | <the_hiktor> me 21 and already wish death π₯² | 17:52 |
| Mister_Magister | ah no that's normal | 17:52 |
| Mister_Magister | (meanwhile everyone else "in what world is that normal") | 17:53 |
| T42 | <the_hiktor> my problems are bigger than this worldπ₯²ππ | 17:54 |
| Mister_Magister | i don't think that's true but then again this is no place to discuss that, did the file transfer? | 17:54 |
| T42 | <the_hiktor> nah not yet | 17:55 |
| T42 | <the_hiktor> that's why i went off topic | 17:55 |
| Mister_Magister | yeah slight offtopic is fine but not too much | 17:55 |
| T42 | <the_hiktor> the command should stop by itself right ? | 17:56 |
| T42 | <Mister_Magister> yes | 17:57 |
| T42 | <Mister_Magister> you can run another telnet connection and check file size | 17:57 |
| T42 | <the_hiktor> ok lemme try | 17:57 |
| T42 | <the_hiktor> so.. the size doesnt change | 18:01 |
| T42 | <Mister_Magister> at what size is it stuck? is it correct size? | 18:01 |
| T42 | <the_hiktor> 518.4M | 18:02 |
| T42 | <the_hiktor> 530828 | 18:02 |
| T42 | <the_hiktor> i think ls -l gives the right size | 18:03 |
| T42 | <the_hiktor> the size doesnt change over time | 18:03 |
| Mister_Magister | not always and du -h is easier to read | 18:03 |
| Mister_Magister | yes but is it correct | 18:03 |
| Mister_Magister | as in the same as input file | 18:04 |
| T42 | <the_hiktor> using ls -l yeah | 18:04 |
| T42 | <the_hiktor> but du no | 18:04 |
| Mister_Magister | what's the difference | 18:06 |
| T42 | <the_hiktor> on host 519M on device 518.4M | 18:07 |
| Mister_Magister | huh | 18:07 |
| Mister_Magister | did you mount the userdata? | 18:07 |
| T42 | <the_hiktor> no | 18:07 |
| Mister_Magister | okay so stop the processes and mount it | 18:08 |
| Mister_Magister | maybe mkfs.ext4 it first | 18:08 |
| Mister_Magister | or f2fs depending on what you have in fstab | 18:08 |
| T42 | <the_hiktor> still 518.4M | 18:17 |
| T42 | <the_hiktor> ls -l showing the right size | 18:18 |
| Mister_Magister | yeah duh, did you mount it | 18:19 |
| T42 | <the_hiktor> Not sure if I did but I did mount /target/data | 18:20 |
| Mister_Magister | if you're unsure post output of "mount" | 18:21 |
| T42 | <the_hiktor> Wait | 18:21 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/516b93032383 | 18:24 |
| Mister_Magister | doesn't look mounted | 18:26 |
| T42 | <the_hiktor> I opend it from another terminal | 18:27 |
| Mister_Magister | mkdir /mnt/sysroot; mount /dev/sd123 /mnt/sysroot | 18:27 |
| Mister_Magister | jsut replace the sd123 | 18:28 |
| T42 | <the_hiktor> mkdir: can't create directory '/mnt/sysroot': No such file or directory | 18:32 |
| T42 | <the_hiktor> mount: mounting /dev/sd16 on /mnt/sysroot failed: No such file or directory | 18:32 |
| T42 | <the_hiktor> sry | 18:32 |
| T42 | <the_hiktor> mkdir: can't create directory '/mnt/sysroot': No such file or directory | 18:32 |
| T42 | <the_hiktor> mount: mounting /dev/sda16 on /mnt/sysroot failed: No such file or directory | 18:32 |
| T42 | <elros34> mkdir -p | 18:32 |
| T42 | <the_hiktor> ok worked with -p | 18:33 |
| Mister_Magister | now tar --numeric-owner -xf thefile.tar.gz /mnt/sysroot/.stowaways | 18:35 |
| Mister_Magister | or wait no | 18:35 |
| Mister_Magister | need to create data folder so first mkdir /mnt/sysroot/data | 18:35 |
| Mister_Magister | tar --numeric-owner -xf thefile.tar.gz /mnt/sysroot/data/.stowaways | 18:35 |
| Mister_Magister | or wait no | 18:36 |
| Mister_Magister | userdata is /data | 18:36 |
| Mister_Magister | ignore the data folder xd | 18:36 |
| Mister_Magister | do the first tar | 18:36 |
| T42 | <elros34> it's .stowaways/sailfishos https://hadk.sailfishos.org/manual-install/ | 18:40 |
| Mister_Magister | pardoname | 18:40 |
| Mister_Magister | my brain's a mess xd | 18:40 |
| Mister_Magister | oh and I forgot -C | 18:40 |
| Mister_Magister | so mkdir /mnt/sysroot/data/.stowaways/sailfishos | 18:41 |
| T42 | <the_hiktor> man wth π | 18:41 |
| Mister_Magister | now tar --numeric-owner -xf thefile.tar.gz -C /mnt/sysroot/.stowaways/sailfishos | 18:41 |
| Mister_Magister | sorrey | 18:41 |
| T42 | <the_hiktor> lemme try again | 18:41 |
| Mister_Magister | mal: on android /sys/class/android_usb/android0/state changes correctly, is that expected? | 18:58 |
| T42 | <the_hiktor> ok now what | 19:06 |
| Mister_Magister | did it extract without hiccups? | 19:06 |
| Mister_Magister | what in the world is android.hardware.health | 19:07 |
| T42 | <the_hiktor> it took sometime but i cant see the directory | 19:07 |
| Mister_Magister | what do you mean? | 19:07 |
| T42 | <the_hiktor> ls /mnt/sysroot/data/.stowaways/sailfishos outputs nothing | 19:08 |
| Mister_Magister | well it's supposed to be in /mnt/sysroot/.stowaways/sailfishos | 19:09 |
| Mister_Magister | sorry for confusion again | 19:09 |
| T42 | <the_hiktor> get some sleep broπ | 19:09 |
| Mister_Magister | not time for that yet | 19:09 |
| T42 | <the_hiktor> ok everything in place and looks fine | 19:14 |
| Mister_Magister | reboot | 19:14 |
| T42 | <the_hiktor> ok | 19:15 |
| T42 | <elros34> @Mister_Magister unlikely this will help but without any better ideas you may check some usb related sysfs from your device *.rc files. /sys/module/lpm_levels/parameters/sleep_disabled, write /sys/class/udc/${ro.boot.usbcontroller}/device/../mode peripheral | 19:17 |
| Mister_Magister | okay so android.system.health is blocking me suspend now. I think the combination of the fact that: usb detection doesn't work but works on android, disabling usb wakeup allows for sleep (kinda), android.hardware.health blocks suspend but it touches charging so usb related? | 19:17 |
| Mister_Magister | /sys/module/lpm_levels/parameters/sleep_disabled is N, I don't have file named mode under /sys/class/udc/4e00000.dwc3/ | 19:20 |
| Mister_Magister | hmmmmmm | 19:22 |
| T42 | <the_hiktor> so.... what am i supposed to do now | 19:23 |
| Mister_Magister | do you have gui? do you have telnet? did it boot? what does host dmesg say? | 19:23 |
| T42 | <the_hiktor> no gui https://paste.opensuse.org/pastes/5c61bb913925 | 19:24 |
| Mister_Magister | Failed to boot init in real rootfs so you know what's up | 19:25 |
| Mister_Magister | now telnet | 19:25 |
| Mister_Magister | and get the log to figure out what went wrong | 19:26 |
| T42 | <adampigg> thats good, it does at least boot | 19:26 |
| T42 | <adampigg> great to see another porter on the journey! | 19:26 |
| Mister_Magister | well running ramdisk is far from booting | 19:26 |
| T42 | <adampigg> yeah, but the kernel at least has loaded | 19:27 |
| Mister_Magister | well that's quite simple | 19:28 |
| T42 | <elros34> it's not /sys/class/udc/4e00000.dwc3/mode but /sys/class/udc/4e00000.dwc3/device/../mode. But most likely you will not have usb at all if thats the issue | 19:30 |
| Mister_Magister | ye but .. just goes level higher so⦠| 19:31 |
| Mister_Magister | oh usb does work just fine | 19:31 |
| Mister_Magister | from ramdisk | 19:31 |
| T42 | <elros34> it's not the same, device is symlink | 19:32 |
| T42 | <elros34> but whatever | 19:32 |
| Mister_Magister | man https://paste.opensuse.org/pastes/5a9931b90dfe | 19:32 |
| Mister_Magister | .. won't go to level higher of where it's symlinked from | 19:33 |
| Mister_Magister | but there's not a single file named mode thath as 4e00000.dwc3 in the path anywhere in the /sys | 19:34 |
| Mister_Magister | there's /sys/devices/platform/soc/4e00000.ssusb/mode | 19:34 |
| Mister_Magister | which is already peripheral | 19:35 |
| T42 | <the_hiktor> found this https://paste.opensuse.org/pastes/add69d568c35 | 19:49 |
| T42 | <elros34> typo in fixup-mountpoints? | 19:50 |
| T42 | <adampigg> looks like you made a typo in the mounts (re @the_hiktor: found this https://p...) | 19:50 |
| T42 | <Mister_Magister> Why/devsda? | 19:50 |
| T42 | <the_hiktor> this is my fix up https://paste.opensuse.org/pastes/70c446411b02 | 19:52 |
| T42 | <Mister_Magister> Remove / at the beginning | 19:52 |
| T42 | <Mister_Magister> Looka at other devices | 19:52 |
| T42 | <the_hiktor> wait wth π | 19:53 |
| T42 | <the_hiktor> just run hybris-hal right ? | 19:55 |
| T42 | <the_hiktor> maybe this is why i was unable to get this flashing into my device | 19:58 |
| T42 | <elros34> updater script uses by-name path so I do not think so | 20:01 |
| T42 | <the_hiktor> the problem that it fails when it loads updater-binary | 20:05 |
| T42 | <the_hiktor> not sure | 20:05 |
| T42 | <Mister_Magister> Updater-binary is prpvoded, not built | 20:19 |
| Mister_Magister | provided* | 20:25 |
| T42 | <the_hiktor> it booted | 20:25 |
| T42 | <the_hiktor> but screen is boot logo i can turn it on or off using power button | 20:26 |
| Mister_Magister | that means mce is working but android not so much | 20:26 |
| Mister_Magister | telnet, systemd | 20:26 |
| T42 | <the_hiktor> telnet doesnt work π | 20:28 |
| Mister_Magister | did you try 2323 | 20:28 |
| T42 | <the_hiktor> same | 20:28 |
| Mister_Magister | dmesg on host | 20:29 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/e72127417dfe | 20:30 |
| Mister_Magister | mmmm | 20:31 |
| Mister_Magister | can you boot recovery? | 20:31 |
| T42 | <b100dian> also: mask usb-moded | 20:31 |
| Mister_Magister | @b100dian and how's he supposed to do that | 20:31 |
| Mister_Magister | with no telent and no gui | 20:32 |
| Mister_Magister | that's what i'm getting to chill | 20:32 |
| T42 | <b100dian> chroot from adb shell | 20:32 |
| T42 | <the_hiktor> booted reovery | 20:32 |
| Mister_Magister | and what did i say? | 20:32 |
| Mister_Magister | @the_hiktor mount /dev/block/bootdevice/by-name/userdata /data; cd /data/.stowaways/sailfishos; ln -s /dev/null etc/systemd/system/usb-moded.service | 20:32 |
| Mister_Magister | i think i typed it all correctly from memory | 20:33 |
| T42 | <the_hiktor> mount: '/dev/block/sda16'->'/data': Device or resource busy | 20:36 |
| T42 | <the_hiktor> ln: cannot create symbolic link from '/dev/null' to 'etc/systemd/system/usb-moded.service': File exists | 20:36 |
| T42 | <the_hiktor> you missed -t | 20:37 |
| Mister_Magister | nah don't need -t | 20:38 |
| Mister_Magister | first probably means it's already mounted | 20:38 |
| Mister_Magister | you can check that using mount command | 20:38 |
| T42 | <the_hiktor> its not me saying it | 20:39 |
| T42 | <the_hiktor> mount: /dev/block/bootdevice/by-name/userdata: need -t | 20:39 |
| Mister_Magister | huh weird | 20:39 |
| Mister_Magister | maybe because it's already mounted, check it | 20:39 |
| T42 | <the_hiktor> ok | 20:41 |
| T42 | <the_hiktor> it is mounted | 20:41 |
| Mister_Magister | can you ls -la etc/systemd/system/usb-moded.service? | 20:41 |
| Mister_Magister | it shouldn't already exist | 20:41 |
| Mister_Magister | unless you did ln command twice | 20:41 |
| T42 | <the_hiktor> i think i did π | 20:42 |
| Mister_Magister | what does ls -la say | 20:43 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/71d9493c0e69 | 20:43 |
| Mister_Magister | and did you forget the rest of the command? | 20:44 |
| Mister_Magister | [22:41] <Mister_Magister> can you ls -la etc/systemd/system/usb-moded.service? | 20:44 |
| T42 | <the_hiktor> oh i thought you need only ls -laπ | 20:45 |
| T42 | <the_hiktor> wait | 20:45 |
| Mister_Magister | well i'll be more explicit then | 20:45 |
| T42 | <the_hiktor> its not you its me π₯² | 20:45 |
| T42 | <the_hiktor> lrwxrwxrwx 1 root root 9 2026-04-14 20:35 etc/systemd/system/usb-moded.service -> /dev/null | 20:45 |
| T42 | <the_hiktor> looks fine | 20:46 |
| Mister_Magister | ye reboot | 20:46 |
| T42 | <the_hiktor> now what ? | 20:47 |
| Mister_Magister | telnet | 20:49 |
| T42 | <the_hiktor> not working | 20:49 |
| T42 | <the_hiktor> here's dmesg https://paste.opensuse.org/pastes/67d56b0505df | 20:49 |
| Mister_Magister | did you check both ports | 20:50 |
| T42 | <the_hiktor> ya | 20:50 |
| T42 | <the_hiktor> same | 20:50 |
| Mister_Magister | is the ip assigned to the rndis interface? | 20:50 |
| T42 | <the_hiktor> idk | 20:51 |
| Mister_Magister | ehh, ip a on host | 20:51 |
| T42 | <the_hiktor> no | 20:51 |
| Mister_Magister | just paste it | 20:52 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/46a79756a247 | 20:53 |
| Mister_Magister | sudo ip addr add 192.168.2.20/24 broadcast 192.168.2.255 dev enp0s20f0u2 | 20:54 |
| Mister_Magister | and make sure networkmanager does not interfere | 20:54 |
| Mister_Magister | it might be trying to fetch dhcp | 20:54 |
| T42 | <the_hiktor> ok now what | 20:56 |
| Mister_Magister | telnet | 20:56 |
| T42 | <the_hiktor> nope | 20:57 |
| Mister_Magister | is ip still assigned | 20:57 |
| T42 | <the_hiktor> ueah | 20:57 |
| T42 | <the_hiktor> yeah | 20:58 |
| Mister_Magister | well then good luck | 20:58 |
| T42 | <the_hiktor> wait no | 20:58 |
| T42 | <the_hiktor> disappeared | 20:58 |
| Mister_Magister | [22:54] <Mister_Magister> and make sure networkmanager does not interfere | 20:58 |
| Mister_Magister | whatever gui on host you use it's the applet where you connect to network | 20:59 |
| Mister_Magister | if its trying to connect to the phone network stop it | 20:59 |
| T42 | <the_hiktor> done | 21:05 |
| T42 | <the_hiktor> but getting connectionrfused | 21:05 |
| T42 | <the_hiktor> nvm sry | 21:05 |
| T42 | <the_hiktor> im in | 21:05 |
| Mister_Magister | yay | 21:06 |
| Mister_Magister | systemd | 21:06 |
| T42 | <the_hiktor> works | 21:08 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/0c19b8ec5c7b | 21:08 |
| Mister_Magister | well ofc it works i just wanna see the output | 21:08 |
| Mister_Magister | okay now look at the ones that are marked failed | 21:09 |
| Mister_Magister | metadata.mount it failed to mount | 21:09 |
| Mister_Magister | next we check the status | 21:09 |
| Mister_Magister | systemd status metadata.mount | 21:09 |
| Mister_Magister | sorry i meant systemctl | 21:09 |
| Mister_Magister | also do systemctl cat metadata.mount | 21:09 |
| T42 | <adampigg> quite a few android mounts failed | 21:10 |
| Mister_Magister | yes i know slow down | 21:11 |
| Mister_Magister | we'll fix them one by one, slowly, so that he learns how to do it himself not just spoonfeed the info | 21:11 |
| T42 | <adampigg> mister_magister .... porter turned teacher | 21:11 |
| Mister_Magister | @adampigg i'm advancing to senior developer, teaching people is one of skills that'll be required of me | 21:11 |
| Mister_Magister | plus mal helps me, i like to pay it forward | 21:12 |
| T42 | <adampigg> yeah, its good | 21:12 |
| Mister_Magister | + i've done literally the same thing last friday on my phone so yeah | 21:12 |
| Mister_Magister | still no clue why flashing zip fails lmao | 21:13 |
| Mister_Magister | @the_hiktor you alright? | 21:14 |
| T42 | <the_hiktor> what in the hell you're racing for guys π | 21:14 |
| Mister_Magister | would be nicer if copy pasting two outputs didn't take 5 minutes :) | 21:14 |
| T42 | <the_hiktor> yeah sry i got distracted by your little chat | 21:15 |
| T42 | <the_hiktor> https://paste.opensuse.org/pastes/a84d8003e1e6 | 21:16 |
| Mister_Magister | oh | 21:16 |
| Mister_Magister | you didn't reflash | 21:16 |
| Mister_Magister | you have to flash the system again | 21:16 |
| Mister_Magister | and well mic it first | 21:17 |
| T42 | <the_hiktor> the hell man π | 21:17 |
| Mister_Magister | you can fix them one by one if you want | 21:17 |
| Mister_Magister | systemctl edit metadata.mount | 21:17 |
| T42 | <the_hiktor> wait ill reflash | 21:18 |
| Mister_Magister | I can only recommend to my method of making userdata.img then in recovery it's just cat img > partition and resize2fs | 21:18 |
| Mister_Magister | but you do you :P | 21:18 |
| Mister_Magister | remember to mask usb-moded after flashing | 21:35 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!