T42 | <kreatowastaken> is having a 0.96 MB ramdisk size normal? | 00:22 |
---|---|---|
T42 | <kreatowastaken> I usually seen 3 or 4 MB ramdisk on android so | 00:22 |
T42 | <kreatowastaken> maybe thats why it doesnt work | 00:22 |
Kabouik | Is OBS having issues somehow? I don't see how this could build for 3.4 i486 but not other architectures here: | 01:39 |
Kabouik | https://build.merproject.org/package/show/home:kabouik:branches:home:kabouik/qxcompositor | 01:39 |
Kabouik | It complains about "nothing provides qt5-qtgui >= 5.6.2 needed by qt5-qtwayland-wayland_egl", but qt5-qtgui is available in 3.4 | 01:40 |
Kabouik | SFOS 3.4 has qt5-qtgui-devel-5.6.3+git25.1-1.14.2.jolla.armv7hl, specifically | 01:52 |
T42 | <kreatowastaken> i think the ramdisk is built incorrectly @elros34 | 04:37 |
T42 | <kreatowastaken> i took a look at the contents of it and theres only a compiled init program and fstab | 04:37 |
T42 | <kreatowastaken> theres not any programs, shell scripts or whatever | 04:37 |
T42 | <kreatowastaken> which seems wrong | 04:37 |
T42 | <kreatowastaken> where can i get a prebuilt ramdisk image? | 04:46 |
T42 | <kreatowastaken> if that is possible of course | 04:46 |
T42 | <kreatowastaken> I forwarded the logs from /data/.stowaways/sailfish/init.log to /proc/kmsg | 06:01 |
T42 | <kreatowastaken> so i can get logs now | 06:01 |
T42 | <elros34> so di | 06:04 |
T42 | <elros34> sorry, so do you have init.log? Have you tried modification for usb setup which I suggested | 06:05 |
T42 | <kreatowastaken> uh | 06:06 |
T42 | <kreatowastaken> i extracted the ramdisk | 06:06 |
T42 | <kreatowastaken> then changed this line: `exec > /init.log 2>&1` on init to `exec > /dev/kmsg 2>&1` to get logs | 06:06 |
T42 | <kreatowastaken> so it would forward stuff to kmsg and i can see them | 06:06 |
T42 | <elros34> what about that one line change to get telnet working? | 06:07 |
T42 | <kreatowastaken> i didnt change that line, since you didnt tell me to change it | 06:07 |
T42 | <kreatowastaken> theres a lot of permission denied errors | 06:12 |
T42 | <kreatowastaken> like this | 06:12 |
T42 | <kreatowastaken> `<12>[ 6.413607] [6: init: 1] can't create /sys/class/android_usb/android0/iSerial: Permission denied` | 06:12 |
T42 | <kreatowastaken> https://hastebin.com/agecaboxid.yaml | 06:14 |
T42 | <kreatowastaken> i cut out some parts of the last_kmsg that is relevant (re @kreatowastaken: https://hastebin.com...) | 06:14 |
T42 | <kreatowastaken> i can send the full last_kmsg if you want aswell | 06:14 |
T42 | <kreatowastaken> i think those permission denied errors are the culprit but dont know what causes it | 06:15 |
T42 | <kreatowastaken> btw i tested the rndis by trying to boot another ramdisk, it does work | 06:16 |
T42 | <kreatowastaken> just doesnt on hybris ramdisk for some reason | 06:16 |
T42 | <kreatowastaken> i cut out some parts of the last_kmsg that is irrelevant (edited) (re @kreatowastaken: https://hastebin.com...) | 06:17 |
T42 | <elros34> You shouldn't have android0 permission errors unless detection failed, change order of 'if' which selects whether to use android0 or configfs | 06:29 |
T42 | <kreatowastaken> detection of what | 06:30 |
T42 | <kreatowastaken> ``` | 06:30 |
T42 | <kreatowastaken> if [ -d $ANDROID_USB ]; then | 06:30 |
T42 | <kreatowastaken> usb_setup_android_usb $1 | 06:30 |
T42 | <kreatowastaken> elif [ -d $GADGET_DIR ]; then | 06:30 |
T42 | <kreatowastaken> usb_setup_configfs $1 | 06:31 |
T42 | <kreatowastaken> fi``` | 06:31 |
T42 | <kreatowastaken> do you mean this by changing order? | 06:31 |
T42 | <elros34> yes | 06:31 |
T42 | <kreatowastaken> putting gadget_dir first then | 06:31 |
T42 | <kreatowastaken> anddd | 06:33 |
T42 | <kreatowastaken> it works! | 06:33 |
T42 | <kreatowastaken> im on telnet | 06:34 |
T42 | <kreatowastaken> whats next | 06:34 |
T42 | <elros34> make a PR, there was somebody with similar issue and didn't bother to fix it upstream | 06:34 |
T42 | <kreatowastaken> i will | 06:34 |
T42 | <kreatowastaken> so (re @kreatowastaken: whats next) | 06:35 |
T42 | <kreatowastaken> i guess ill check dmesg first | 06:35 |
T42 | <elros34> ah and you have wrong fixup | 06:35 |
T42 | <kreatowastaken> of what (re @elros34: ah and you have wron...) | 06:36 |
T42 | <kreatowastaken> theres a file called "diagnosis.log" | 06:36 |
T42 | <kreatowastaken> it says `CONFIG_AUTOFS4_FS=y not found in /proc/config.gz` | 06:36 |
T42 | <kreatowastaken> so | 06:36 |
T42 | <kreatowastaken> do i need to enable that option? | 06:36 |
T42 | <kreatowastaken> okay i added that option | 06:38 |
T42 | <elros34> of mountpoints | 06:41 |
T42 | <kreatowastaken> ah (re @elros34: of mountpoints) | 06:41 |
T42 | <kreatowastaken> had that fixup for a while | 06:42 |
T42 | <kreatowastaken> no suprise it didnt work lol | 06:42 |
T42 | <kreatowastaken> guess i made a mistake | 06:42 |
T42 | <kreatowastaken> hope i can get these info from recovery | 06:45 |
T42 | <kreatowastaken> these seem correct though | 06:49 |
T42 | <kreatowastaken> do i have to specify full path like /dev/block/sda1 for example or just sda1 | 06:50 |
T42 | <kreatowastaken> https://hastebin.com/odobusixox.apache | 06:54 |
T42 | <kreatowastaken> ls -la /dev/block/bootdevice/by-name output | 06:54 |
T42 | <kreatowastaken> https://hastebin.com/foqiweloke.sql | 06:54 |
T42 | <kreatowastaken> beyond1lte part of fixup-mountpoints | 06:54 |
T42 | <kreatowastaken> checked it, seems to be correct | 06:55 |
T42 | <elros34> so do you still have failed data partition mount in init.log? | 07:03 |
T42 | <kreatowastaken> yes (re @elros34: so do you still have...) | 07:05 |
T42 | <kreatowastaken> no idea why | 07:06 |
T42 | <kreatowastaken> but it seems fixup-mountpoints related | 07:06 |
T42 | <kreatowastaken> i couldnt found any issues tho | 07:06 |
T42 | <elros34> so how did you check fixup-mountpoints? Did you check how partitions are defined in fstab according to hadk-hot? | 07:07 |
T42 | <kreatowastaken> uh | 07:07 |
T42 | <kreatowastaken> i compared these outputs one by one to see if they match up (re @kreatowastaken: https://hastebin.com...) | 07:07 |
T42 | <kreatowastaken> i didnt know hadk-hot had something about this ill check that | 07:07 |
T42 | <kreatowastaken> its says to find it in $ANDROID_ROOT/device/$VENDOR/*/rootdir/ but it isnt there | 07:11 |
T42 | <kreatowastaken> `ls: cannot access '/home/kreato/hadk/device/samsung/*/rootdir/': No such file or directory` | 07:11 |
T42 | <kreatowastaken> @elros34 /dev/block on telnet seems like a link to /dev/ | 07:22 |
T42 | <kreatowastaken> `lrwxrwxrwx 1 0 0 1 Aug 19 07:21 block -> .` | 07:22 |
T42 | <elros34> don't bother about it, just open fstab and compare with your fixup changes, clearly there is a typo | 07:23 |
T42 | <kreatowastaken> fstab on what? | 07:24 |
T42 | <kreatowastaken> recovery? | 07:24 |
T42 | <elros34> in device repository | 07:26 |
T42 | <elros34> or in device itself, doesn't matter | 07:26 |
T42 | <kreatowastaken> you mean this? https://github.com/a2l5-samsung/android_device_samsung_exynos9820-common/blob/lineage-18.1/configs/init/fstab.exynos9820 | 07:27 |
T42 | <elros34> yeah this is critical to create fixup-mountpoints. How can you create it without reading fstab | 07:28 |
T42 | <kreatowastaken> well | 07:28 |
T42 | <kreatowastaken> the truth is | 07:28 |
T42 | <kreatowastaken> i didnt | 07:28 |
T42 | <kreatowastaken> i got it from someone else that was working for this device aswell | 07:28 |
T42 | <kreatowastaken> guess he made a mistake | 07:28 |
T42 | <elros34> I guess from Umeaman but he never really finished this | 07:30 |
T42 | <kreatowastaken> it seems correct except there isnt by-name | 07:30 |
T42 | <kreatowastaken> so | 07:30 |
T42 | <kreatowastaken> its `block/platform/13d60000.ufs/userdata` instead of `block/platform/13d60000.ufs/by-name/userdata` on fixup-mountpoints | 07:30 |
T42 | <kreatowastaken> idk if that makes a difference or not | 07:30 |
T42 | <kreatowastaken> got it from dani | 07:31 |
T42 | <kreatowastaken> didnt know there was someone else than him and me that was working on this (re @elros34: I guess from Umeaman...) | 07:31 |
T42 | <elros34> obviously it makes a difference, sed wil not replace path if it doesn't match | 07:31 |
T42 | <kreatowastaken> oh right | 07:32 |
T42 | <kreatowastaken> ill add by-name to all of em then | 07:32 |
T42 | <kreatowastaken> what do i have to do to apply changes after that? | 07:32 |
T42 | <kreatowastaken> do i just build_packages.sh? | 07:32 |
T42 | <elros34> at least build hybris-hal and flash hybris-boot.img to get telnet at 2323, then you can think about not found fstab in droid hal build log and fix it | 07:34 |
T42 | <kreatowastaken> alright | 07:34 |
T42 | <kreatowastaken> im curious | 07:35 |
T42 | <kreatowastaken> what file does this sed replace stuff on? | 07:35 |
T42 | <kreatowastaken> the fstab.exynos9820 i sent before? | 07:35 |
T42 | <kreatowastaken> okay | 07:36 |
T42 | <kreatowastaken> hopefully itll work this time | 07:36 |
T42 | <kreatowastaken> it seems that it does work! | 07:40 |
T42 | <kreatowastaken> now telnet works | 07:40 |
T42 | <kreatowastaken> without modifications | 07:40 |
T42 | <kreatowastaken> rn the phone has black screen | 07:41 |
T42 | <kreatowastaken> y | 07:46 |
T42 | <elros34> it use fstab and ini*.rc as source and replace by-name paths with direct path to block device. hybris-boot use that info and systemd mount units too | 07:51 |
T42 | <kreatowastaken> ah i see | 07:53 |
T42 | <kreatowastaken> welp | 07:54 |
T42 | <kreatowastaken> i am flashing the one i built rn | 07:54 |
T42 | <kreatowastaken> hope it works | 07:54 |
T42 | <kreatowastaken> black screen | 07:57 |
T42 | <kreatowastaken> and no telnet | 07:57 |
T42 | <kreatowastaken> ok i do have telnet now | 08:03 |
T42 | <kreatowastaken> ``` | 08:04 |
T42 | <kreatowastaken> [ 5.766540] systemd[1]: system_root.mount: Mount process exited, code=exited status=32 | 08:04 |
T42 | <kreatowastaken> [ 5.766548] systemd[1]: system_root.mount: Failed with result 'exit-code'.``` | 08:04 |
T42 | <kreatowastaken> ``` | 08:11 |
T42 | <kreatowastaken> [ 6.672745] systemd[1]: dev-mtp.mount: Mount process exited, code=exited status=32 | 08:11 |
T42 | <kreatowastaken> [ 6.672751] systemd[1]: dev-mtp.mount: Failed with result 'exit-code'. | 08:11 |
T42 | <kreatowastaken> [ 6.673268] systemd[1]: Failed to mount FFS mount. | 08:11 |
T42 | <kreatowastaken> [ 6.673750] systemd[1]: dev-binderfs.mount: Mount process exited, code=exited status=32 | 08:11 |
T42 | <kreatowastaken> [ 6.673755] systemd[1]: dev-binderfs.mount: Failed with result 'exit-code'. | 08:11 |
T42 | <kreatowastaken> ``` | 08:11 |
T42 | <kreatowastaken> | 08:11 |
T42 | <kreatowastaken> also these | 08:11 |
T42 | <kreatowastaken> `/bin/mount rootfs /system_root -t rootfs -o remount,bind,ro,nodev` this command fails by`mount: /system_root: mount point not mounted or bad option.` | 08:20 |
T42 | <kreatowastaken> @elros34 /system is empty | 08:54 |
T42 | <kreatowastaken> is that normal? | 08:54 |
T42 | <TheVancedGamer> did you change /system_root mountpoint to /? | 11:09 |
T42 | <kreatowastaken> uh no (re @TheVancedGamer: did you change /syst...) | 11:09 |
T42 | <TheVancedGamer> also replies on telegram side look awful on IRC side | 11:10 |
T42 | <kreatowastaken> yeah forgot, sorry | 11:10 |
T42 | <TheVancedGamer> for now, try changing /system_root in fstab to / | 11:11 |
T42 | <kreatowastaken> which fstab? | 11:11 |
T42 | <kreatowastaken> i am confused | 11:11 |
T42 | <TheVancedGamer> your device fstab | 11:12 |
T42 | <kreatowastaken> @TheVancedGamer that error seems to be gone but its still at telnet | 11:37 |
T42 | <kreatowastaken> hm | 11:39 |
T42 | <kreatowastaken> i rebooted now my dmesg says `[362876.663272] usb 1-2: Product: init-debug in real rootfs` | 11:39 |
T42 | <kreatowastaken> i guess thats a good thing? | 11:39 |
T42 | <kreatowastaken> /system is just empty | 11:45 |
T42 | <kreatowastaken> so is /system_root | 11:45 |
T42 | <kreatowastaken> i think thats the problem | 11:45 |
T42 | <kreatowastaken> shouldnt it have files? | 11:45 |
T42 | <TheVancedGamer> / should have system's contents now | 11:49 |
T42 | <kreatowastaken> system doesnt have anything tho | 11:50 |
T42 | <kreatowastaken> thats the thing | 11:50 |
T42 | <kreatowastaken> i checked system on the recovery, it has nothing in it | 11:50 |
T42 | <TheVancedGamer> ah | 11:50 |
T42 | <TheVancedGamer> wait | 11:50 |
T42 | <kreatowastaken> i think thats the main issue | 11:50 |
T42 | <TheVancedGamer> you need to flash lineage | 11:50 |
T42 | <kreatowastaken> wait | 11:50 |
T42 | <kreatowastaken> is sailfish supposed to install on top of lineage? | 11:50 |
T42 | <kreatowastaken> i didnt now that lol | 11:51 |
T42 | <TheVancedGamer> I think so | 11:51 |
T42 | <edp_17> @kreatowastaken : ALWAYS flash the android base first, THEN the sfos zip on top of it. Otherwise it won't work. | 12:33 |
T42 | <kreatowastaken> yeah i didnt know that until now | 12:33 |
T42 | <kreatowastaken> im doing that now | 12:33 |
T42 | <edp_17> lols, have your read the docs? :) | 12:36 |
T42 | <kreatowastaken> i did but i guess i missed that part | 12:36 |
T42 | <edp_17> :D | 12:39 |
T42 | <kreatowastaken> @TheVancedGamer i flashed lineage, did fstab to / but it is still at telnet for some reason | 12:43 |
T42 | <kreatowastaken> and i have no iea as what is keeping it in telnet | 12:43 |
T42 | <kreatowastaken> system and system_root seems to be mounted | 12:46 |
T42 | <kreatowastaken> ``` | 12:50 |
T42 | <kreatowastaken> [ 9.000593] systemd[1]: Mounting Droid mount for /dev/binderfs... | 12:50 |
T42 | <kreatowastaken> [ 9.010299] systemd[1]: Failed to mount Droid mount for /dev/binderfs.``` | 12:50 |
T42 | <kreatowastaken> | 12:50 |
T42 | <kreatowastaken> only error i saw is this | 12:50 |
T42 | <kreatowastaken> which isnt essential afaik | 12:50 |
T42 | <11> I don't understand what to do with it https://pastebin.com/fYeBRUvM | 12:50 |
T42 | <kreatowastaken> droid-hal-init.service doesnt work | 13:05 |
T42 | <kreatowastaken> ``` | 13:06 |
T42 | <kreatowastaken> Process: 4850 ExecStart=/bin/sh /usr/bin/droid/droid-hal-startup.sh (code=exited, status=6) | 13:06 |
T42 | <kreatowastaken> Process: 4849 ExecStartPre=/bin/sh /usr/bin/droid/droid-hal-early-init.sh (code=exited, status=2)``` | 13:06 |
T42 | <kreatowastaken> the script that is on the ExecStartPre doesnt exist... | 13:07 |
T42 | <kreatowastaken> no idea why but theres that | 13:07 |
T42 | <KernelPanix> Warning[08/19 13:03:28] : file /etc/ofono/binder.conf conflicts between attempted installs of droid-config-sweet-1-202208191239.aarch64 and ofono-configs-binder-1.1.3-1.3.1.jolla.aarch64 | 13:08 |
T42 | <KernelPanix> i get this error (re @KernelPanix: Warning[08/19 13:03:...) | 13:08 |
T42 | <KernelPanix> my repo: https://github.com/dopaemon/droid-config-sweet (re @KernelPanix: Warning[08/19 13:03:...) | 13:08 |
T42 | <KernelPanix> https://github.com/SailfishOS-msmnile | 15:41 |
T42 | <KernelPanix> my device bootloop logo xiaomi 10s and auto reboot | 15:42 |
Thaodan | You port your phone not the qualcomm soc | 15:52 |
Thaodan | sm8150 already runs on sfos and sm6150 isn't nile | 15:52 |
T42 | <KernelPanix> yes (re @SailfishFreenodeIRCBridgeBot: <Thaodan>You port yo...) | 15:54 |
Thaodan | Also if you want to install repo to /usr , grab it from your package manager, if not use /usr/local | 15:54 |
T42 | <KernelPanix> I want to invite more devs to this channel | 15:54 |
T42 | <KernelPanix> ah okay (re @SailfishFreenodeIRCBridgeBot: <Thaodan>Also if you...) | 15:55 |
T42 | <Verevka86> sm6150 work too (re @SailfishFreenodeIRCBridgeBot: <Thaodan>sm8150 alre...) | 15:56 |
voidanix[m] | huh? How is msmnile even related to the note 10 pro | 19:20 |
Thaodan | voidanix[m]: that's the codename of sm8150 | 19:28 |
voidanix[m] | ikr but the SoC is different there, phone codename is sweet | 19:29 |
Thaodan | voidanix[m]: which soc is it? | 19:29 |
voidanix[m] | sm6150/732G | 19:30 |
voidanix[m] | no wait SM7150 is 732G but the boardconfigs here point to sm6150 (?) | 19:31 |
Thaodan | codename for that is https://wiki.postmarketos.org/wiki/Qualcomm_Snapdragon_730/730G/732G_(SM7150) | 19:36 |
T42 | <kreatowastaken> droid-hal-init has errors https://hastebin.com/ujowosunis.csharp | 20:38 |
mal | which android base? | 20:39 |
T42 | <kreatowastaken> hybris-18.1 | 20:39 |
T42 | <elros34> Did you apply all hybris patches like: system/core/0002-hybris-Don-t-create-mount-dev-proc-sys.-when-booting.patch | 20:56 |
T42 | <kreatowastaken> i think no? | 20:57 |
T42 | <kreatowastaken> how do i do that | 20:57 |
T42 | <elros34> looks like, hadk-faq: hybris-17 section about patches | 20:57 |
mal | https://github.com/mer-hybris/hadk-faq#hybris-17-1 | 20:57 |
T42 | <kreatowastaken> i did so but it still gives the same error | 21:52 |
Thaodan | this is driving me nuts.. pci-msm-rc 0002:00:00.0: Refused to change power state, currently in D3 | 23:20 |
Thaodan | something makes my modem not suspend | 23:21 |
Thaodan | (SM8250, Edo, PDX203, Xperia 1 II) | 23:21 |
T42 | <kreatowastaken> when i try to install the zip it says Updater process ended with signal:7 | 23:22 |
T42 | <kreatowastaken> ``` | 23:22 |
T42 | <kreatowastaken> Unmounting System... | 23:22 |
T42 | <kreatowastaken> Updater process ended with signal:7``` | 23:22 |
Thaodan | pasteservice... | 23:22 |
T42 | <kreatowastaken> https://hastebin.com/sawugubobu.properties | 23:23 |
T42 | <kreatowastaken> https://hastebin.com/amikekomul.properties | 23:25 |
T42 | <kreatowastaken> heres the /tmp/recovery.log | 23:25 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!