mighty17 | oh i get error 7 when installing sfos.... | 05:17 |
---|---|---|
mighty17 | it seems it cant mount storage 🤔 | 05:17 |
mighty17 | is it coz fixup-mountpoints are not proper? or the fstab? | 05:51 |
Mighty | Does noone hve any idea? Is says `mount: failed to mount /dev/block/platform/omap_hsmmc.1/by-name/DATAFS at /data: ` | 07:43 |
Mighty | No such file or directory | 07:44 |
T42 | <birdzhang> is your /data encrypted | 07:44 |
Mighty | Nope i don't think so | 07:46 |
Mighty | Should I do a format? | 07:46 |
Mighty | birdzhang even after format and using twrp 3.2 I get /data: Device or resource busy | 07:57 |
mighty17 | I cant get any solution on the internet :( is my build broken? (ps my device is espresso3g) | 08:48 |
T42 | <birdzhang> mighty17: "Device or resource busy" is okay | 08:49 |
electro575 | @elros34 : hi elros, i have installed LineageOS and SailfishOS on my device t0lte. | 08:53 |
electro575 | telnet start with port 23 not 2323 | 08:54 |
electro575 | so when i do continue, i have a kernel panic, i don't know how to solve it | 08:54 |
electro575 | /proc/cmdline -> https://dpaste.org/22cz | 08:55 |
electro575 | selinux = 0 audit = 0 | 08:55 |
electro575 | dmesg -> https://dpaste.org/rsUP | 08:55 |
electro575 | if you have a solution | 08:55 |
mighty17 | <T42 "<birdzhang> mighty17: "Device or"> but it dosent boot to sailfishos! it boots into lineageOS | 09:01 |
mighty17 | as it ends with ERROR 7 | 09:09 |
electro575 | mighty17, before install LineageOS and SailfishOS | 09:13 |
electro575 | in TWRP, umount DATA partition | 09:13 |
mighty17 | oooh i will try that thanks | 09:13 |
electro575 | juste keep "cache" and "sd_card" mount | 09:13 |
electro575 | format all partition before flash too | 09:14 |
mighty17 | ok just to be very clear about what is to be done | 09:14 |
mighty17 | clear dalvik,system,cache,data -> keep only cache and sdcard mounted -> flash lineage -> flash sailfishos correct? | 09:15 |
mighty17 | yay it worked! thanks a lot | 09:28 |
mighty17 | electro575: it shows error 7 | 09:39 |
electro575 | don't know, send an image if you can | 09:40 |
mighty17 | okay | 09:40 |
* mighty17 uploaded an image: IMG_2021-02-02-15-24-06-480.jpg (80KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/YxwAzzMklyXaGnDTyAwKExPM/IMG_2021-02-02-15-24-06-480.jpg > | 09:54 | |
mighty17 | electro575 ^^^ | 09:54 |
electro575 | strange, i don't know anymore | 09:55 |
electro575 | i never had this issue | 09:55 |
mighty17 | is my build broken? | 09:56 |
mighty17 | anyone else who can help me? | 11:19 |
T42 | <elros34> grepping irclogs.sailfishos.org should be your first action if you stuck | 11:37 |
mighty17 | elros34 do u have any idea? | 11:39 |
mighty17 | i am getting error7 on flashing sfos | 11:43 |
T42 | <elros34> yeah, second link in google search "error 7 site:irclogs.sailfishos.org" contains 3 solutions | 11:52 |
mighty17 | elros34 i tried everything, downgraded twrp, formatted /data even removed assert line | 11:57 |
T42 | <elros34> what twrp version have you tried? | 11:58 |
mighty17 | 3.0, 3.2, 3.4 | 11:58 |
mighty17 | as with older 2.x twrps android 7 wont install | 11:58 |
T42 | <elros34> did you check exact error you get in twrp log? If none of version works then try other workarounds | 12:01 |
mighty17 | <mighty17 "IMG_2021-02-02-15-24-06-480.jpg"> this image is what i get in twrp i have yet to check the twrp log | 12:03 |
mighty17 | oh okay now i have a different error unknown command[]] | 12:16 |
mighty17 | ok so i consider it works except now i only get a screen with backlight on... i can telnet into the device as well :) next what to do? | 12:44 |
mighty17 | https://pastebin.ubuntu.com/p/nDN9mMcc9X/ heres the log | 12:49 |
mighty17 | @elros34 sorry for the trouble can u find any issues? | 12:59 |
T42 | <elros34> what android base do you use? | 13:00 |
mighty17 | i used android 7.1.2 (los 14.1) | 13:08 |
mighty17 | `[Tue Feb 2 16:59:05 2021] usb 1-1.1: Product: Failed to boot init in real rootfs` i get this on dmesg on my pc | 13:08 |
T42 | <elros34> so you are in telnet 23 not 2323? | 13:10 |
mighty17 | yup! | 13:10 |
mighty17 | `SerialNumber: Mer Debug telnet on port 23 on rndis0 #####(i havent shown ip) - also running udhcpd` | 13:10 |
T42 | <elros34> so https://github.com/mer-hybris/hadk-faq/pull/6/files and this https://github.com/mer-hybris/mer-kernel-check/pull/27/files | 13:11 |
mighty17 | so change them and rebuild sfos?? | 13:12 |
T42 | <elros34> add repo and follow advice from mer-kernel-check then rebuild | 13:13 |
mighty17 | add repo? | 13:14 |
T42 | <elros34> did you read what is wrote in mentioned PRs | 13:15 |
mighty17 | `Add repository with patched glibc to droid-configs/sparse like here: https://github.com/elros34/droid-config-moto_msm8960_jbbl/blob/master/sparse/usr/share/ssu/features.d/glibc2.ini` yes i did | 13:16 |
T42 | <elros34> repo=repository | 13:18 |
mighty17 | yup i know that, but there is no usr folder in sparse so i created all that and added glibc2.ini file as told | 13:19 |
mighty17 | now repo sync or smth? or direct build (ie check kernel config) | 13:20 |
T42 | <elros34> if you changed anything in droid-configs then you need to rebuild it: build_packages.sh -c. Usage of mer-kernel-check is explained in hadk, you need to disable selinux via bootparam | 13:21 |
mighty17 | okay i understood the build_packages.sh, but i didnt get `disable selinux via bootparam` | 13:22 |
mighty17 | also mer-kernel-check gives no errors | 13:23 |
T42 | <elros34> add CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0 as in PR | 13:25 |
mighty17 | oh i cant find it in PR my bad | 13:26 |
mighty17 | so basically edit .config file with CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0, run build_packages.sh -c and then build_packages.sh --mic | 13:30 |
T42 | <elros34> not at all | 13:31 |
T42 | <elros34> edit your defconfig file according to hadk not .config file, then build kernel: make hybris-hal then confirm with mer-kernel-check (.config) everything is as expected, next build droid-hal. Be aware kernel config have dependencies so you also need CONFIG_SECURITY_SELINUX_BOOTPARAM | 13:33 |
mighty17 | and CONFIG_SECURITY_SELINUX_BOOTPARAM should be=y right? | 13:34 |
T42 | <elros34> yes | 13:35 |
mighty17 | edit your defconfig file according to hadk not .config file, but mer-kernel-check checks the .config file acc to hadk | 13:35 |
mighty17 | `hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config | 13:36 |
mighty17 | * `hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config` | 13:36 |
mighty17 | ahh okay my bad | 13:36 |
mighty17 | sorry and thanks a lotfor the help | 13:36 |
mighty17 | any idea why CONFIG_IP6_NF_MATCH_RPFILTER and CONFIG_IP6_NF_MATCH_RPFILTER dont seem to get enabled in .config? i have them in the defconfig but do they depend on smth? | 14:43 |
mighty17 | they depend on CONFIG_IP6_NF_MATCH_RPFILTER which is =y still those errors 😕 can i manually add them to .config and run make? | 14:55 |
mighty17 | i followed this https://irclogs.sailfishos.org/logs/%23sailfishos-porters/%23sailfishos-porters.2020-01-24.log.html ping me if i am doing wrong | 15:01 |
mighty17 | ie just changed mer-kernel-config to set those to warnings instead of errors | 15:02 |
mighty17 | btw https://en.wikipedia.org/wiki/Sailfish_OS#Version_history needs to be updated :D | 15:50 |
mighty17 | @elros34 i did what you told but still its the same | 16:43 |
mighty17 | here is /init.log -> https://pastebin.com/dAUvJs3D | 16:44 |
T42 | <elros34> mounting /dev/block/platform/omap_hsmmc.1/by-name/DATAFS on /data failed: No such file or directory | 16:45 |
mighty17 | :'( | 16:46 |
T42 | <elros34> did you create correct fixup-mountpoints | 16:46 |
mighty17 | they were already present | 16:46 |
mighty17 | and i matched them with the device and are correct | 16:47 |
T42 | <elros34> compare with fstab entries | 16:48 |
mighty17 | fstab dosent have mmcblkxpy | 16:49 |
mighty17 | https://github.com/LineageOS/android_device_samsung_espressowifi/blob/cm-14.1/rootdir/fstab.espresso | 16:49 |
mighty17 | oh wait ig something is wrong | 16:51 |
mighty17 | no its all fine | 16:56 |
mighty17 | elros34 https://github.com/mer-hybris/hybris-boot/blob/master/fixup-mountpoints#L805-L813 it seems correct | 16:59 |
mighty17 | https://pastebin.com/SBMDzRhg <- adb shell | 16:59 |
mighty17 | <electro575 "juste keep "cache" and "sd_card""> i did this to install sfos... | 17:01 |
mighty17 | @elros34ok so i mounted system and data again... here is new init.log -> https://pastebin.com/zh3cBJU7 | 17:13 |
mighty17 | same issue | 17:13 |
mighty17 | weird thing :/ | 17:14 |
mighty17 | Someone help :( | 17:26 |
T42 | <elros34> for me your fstab and fixup doesnt match | 17:56 |
mighty17 | /dev/block/platform/omap_hsmmc.1/by-name/ and block/platform/omap/omap_hsmmc.1/by-name/ which is correct? the /dev one right? | 17:57 |
T42 | <elros34> fixup-mountpoints is just a sed script which takes fstab and init*rc files and replace by-name path with direct path to block device. | 18:01 |
mighty17 | so is my init.espresso wrong?! | 18:04 |
mighty17 | * so is my fstab.espresso wrong?! sorry im confused | 18:05 |
T42 | <elros34> your fixup-mountpoints replace block/platform/omap/omap_hsmmc.1/by-name/DATAFS with mmcblk0p10 but there is no such a path in your fstab right? It must be block/platform/omap_hsmmc.1/by-name/DATAFS instead | 18:06 |
mighty17 | ooh | 18:08 |
T42 | <elros34> I guess current fixup is from older android base and something change in your current android base | 18:08 |
mighty17 | well then how does my device have a working sfos (old) port | 18:08 |
mighty17 | ya its from cm12.2 | 18:08 |
mighty17 | * ya its from cm12.1 | 18:08 |
mighty17 | and im using los14.1 | 18:08 |
T42 | <ankaos> mighty: open recovery. | 18:09 |
mighty17 | ok im in twrp | 18:09 |
T42 | <ankaos> ls -l /dev/block/platform/*/by-name/ | 18:10 |
T42 | <ankaos> or ls -l /dev/block/platform/*/*/by-name | 18:11 |
mighty17 | both of them work | 18:11 |
T42 | <ankaos> than look fstab | 18:11 |
mighty17 | https://pastebin.com/SBMDzRhg | 18:11 |
T42 | <ankaos> ı dont open pastebin :( | 18:11 |
mighty17 | any other site? can i paste it here? | 18:12 |
T42 | <ankaos> @mighty17 [any other site? can i paste it here?], paste ubuntu | 18:12 |
mighty17 | https://pastebin.ubuntu.com/p/dcT8X2Wq4H/ | 18:12 |
T42 | <ankaos> add fstab? | 18:13 |
mighty17 | ?? | 18:13 |
T42 | <ankaos> read fstab file | 18:14 |
mighty17 | okk | 18:14 |
mighty17 | https://pastebin.ubuntu.com/p/Rfkxk2mjGZ/ | 18:14 |
T42 | <ankaos> your device name? | 18:15 |
mighty17 | Samsung Galaxy Tab 2 (it has 2 variants espresso3g and espressowifi) | 18:16 |
mighty17 | and fstab.espresso | 18:16 |
mighty17 | is common for both :) | 18:16 |
T42 | <ankaos> https://pastebin.ubuntu.com/p/Rj8vX8VbYT/ | 18:16 |
T42 | <ankaos> ı asked :) | 18:17 |
mighty17 | oh thats the fixup-mount points | 18:17 |
T42 | <ankaos> https://pastebin.ubuntu.com/p/5pCC2FxBM4/ | 18:17 |
T42 | <ankaos> ı asked :) | 18:17 |
T42 | <ankaos> @mighty17 [oh thats the fixup-mount points], yes :) | 18:18 |
mighty17 | ??? its literally the same xD | 18:18 |
T42 | <ankaos> I find. | 18:18 |
T42 | <ankaos> :) | 18:18 |
mighty17 | p3xxx or p5xxx are the devices like this tab has many variants xD | 18:18 |
T42 | <ankaos> XD | 18:19 |
mighty17 | there is 3g,wifi,7 inch,10 inch and all their combinations | 18:20 |
mighty17 | <T42 "<ankaos> I find."> ah okay.... but whats the solution :( | 18:20 |
T42 | <ankaos> but I can't solve my own problem. 😢 | 18:20 |
mighty17 | whats that :o | 18:20 |
T42 | <ankaos> @ankaos [https://pastebin.ubuntu.com/p/5pCC2FxBM4/], add your fixup-mountpoints | 18:20 |
mighty17 | but they are already there... the sed is the same | 18:22 |
T42 | <ankaos> hmm idk | 18:22 |
mighty17 | ok here is something even confusing | 18:23 |
T42 | <ankaos> hybris-boot folder open | 18:23 |
T42 | <ankaos> android.mk open | 18:23 |
T42 | <ankaos> edit line 71-72 | 18:23 |
mighty17 | https://pastebin.ubuntu.com/p/YrKdxD9mMt/ | 18:24 |
mighty17 | <T42 "<ankaos> edit line 71-72"> okay wait | 18:24 |
T42 | <ankaos> error -> warning | 18:24 |
mighty17 | lol | 18:24 |
T42 | <ankaos> and you are build :D | 18:24 |
mighty17 | <T42 "<ankaos> error -> warning"> it is already a warning | 18:24 |
mighty17 | ``` | 18:25 |
mighty17 | $(warning ********************* /boot appears to live on $(HYBRIS_BOOT_PART)) | 18:25 |
mighty17 | $(warning ********************* /data appears to live on $(HYBRIS_DATA_PART)) | 18:25 |
T42 | <ankaos> error is finish bild. | 18:25 |
mighty17 | oh | 18:25 |
T42 | <ankaos> @mighty17 [$(warning ********************* /data appears …], good :D | 18:25 |
mighty17 | it was already a warning | 18:25 |
T42 | <ankaos> not problem. | 18:25 |
T42 | <ankaos> build finish :) | 18:25 |
mighty17 | :) | 18:25 |
mighty17 | <T42 "<ankaos> build finish :)"> no it was already warning on the build before and it give error | 18:26 |
mighty17 | > <@freenode_T42:matrix.org> <ankaos> build finish :) | 18:26 |
mighty17 | * no it was already warning on the build before and it give error of mount: mounting /dev/block/platform/omap_hsmmc.1/by-name/DATAFS on /data failed: No such file or directory | 18:26 |
mighty17 | should i use old fstab? | 18:27 |
mighty17 | <mighty17 "https://pastebin.ubuntu.com/p/Yr"> see this | 18:28 |
T42 | <ankaos> I do not believe that | 18:30 |
mighty17 | why? | 18:31 |
mighty17 | https://pastebin.ubuntu.com/p/8bZ7Sy4SQ2/ see log for yourself @ankaos | 18:32 |
electro575 | @elros34 : Can you help me about kernel panic ? After echo "continue" with telnet port 23 | 18:33 |
electro575 | @mal maybe have you a solution ? | 18:37 |
mal | right after that or after a moment? is the rootfs correctly mounted? | 18:41 |
electro575 | not again | 18:42 |
electro575 | correctly mount | 18:42 |
electro575 | https://dpaste.org/Gd0c | 18:43 |
electro575 | i have just telnet port 23 | 18:44 |
attah | piggz: did you have a chance to try the fastboot hack? | 18:46 |
electro575 | @mal, https://dpaste.org/tOud#L193,195 | 18:46 |
piggz | attah: i havnt | 18:47 |
attah | Ok, np. It works great for getvar for me, but i'm not sold on reflash my spare XA2 that is all set up, so can't try quite end to end | 18:49 |
attah | And Xperia X doesn't seem to have the issue | 18:49 |
mal | electro575: why does it stop to telnet 23? | 18:49 |
mal | electro575: that log says you have incorrect fixupmountpoints | 18:50 |
mal | + mount /dev/block/platform/dw_mmc/by-name/USERDATA /data | 18:50 |
mal | mount: mounting /dev/block/platform/dw_mmc/by-name/USERDATA on /data failed: No such file or directory | 18:50 |
mighty17 | Fixup mount points seem to be really confusing | 18:55 |
mighty17 | <mighty17 "https://pastebin.ubuntu.com/p/Yr"> Well I can ls -l to /data but sfos gives an error | 18:56 |
T42 | <elros34> the are quite simple, you take by-name path from fstab and use ls -l "path from fstab" inw twrp to get mapping between blockdevice and partition label | 18:59 |
mighty17 | well exactly i did that and it is the proper path :D | 19:01 |
mighty17 | it seems that fixup-mountpoints is of cm12.1 and my fstab is of los14.1 so im trying with older fstab | 19:01 |
T42 | <elros34> what? no you seems to still don't understand how it works so just replace block/platform/omap/omap_hsmmc.1/by-name/ with block/platform/omap_hsmmc.1/by-name in fixup-mountpoints | 19:03 |
mighty17 | okay will try thanks | 19:05 |
electro575 | @mal, have you a solution ? | 20:33 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!