osum4est | well im just going to completely re-do the hadk folder with a new chroot and everything and cross my fingers | 00:12 |
---|---|---|
T4 | <Hound77> @austenite [@Hound77 https://www.diffchecker.com/Z7h0ZWej], Did I miss anything ? | 01:11 |
T4 | <Hound77> ran repo sync. But this time I got more info on the same error. https://0x0.st/zNWE.txt | 02:35 |
T4 | <austenite> @Hound77 there is space after line 1151 , make clean and rebuild | 03:07 |
T4 | <Hound77> Okay. | 03:52 |
osum4est | well i dont know. i re did everything and im still not reaching the init script. tried with the vanilla defconfig, se linux disabled, audit=0 on my kernel params, disabling verity in the config, any ideas? it looks like any change i make in the config makes the bootloop take ~30 seconds, where the vanilla version takes a few seconds | 04:00 |
T4 | <Hound77> @austenite [@Hound77 there is space after line 1151 , make …], I didnt know something as simple as this would make a pain. Thank you. All ended up successfully. | 05:35 |
T4 | paintedman was added by: paintedman | 05:49 |
T4 | <Hound77> @austenite [@Hound77 there is space after line 1151 , make …], In 5.4.1 Kernel Config. How do I use this ? ```make -C kernel/lge/hammerhead ... cyanogenmod_hammerhead_defconfig```. My TARGET_KERNEL_CONFIG = lineageos_payton_defconfig. | 05:54 |
T4 | <Hound77> Do I have to remove lineageos_payton_defconfig from kernel folder and run make -C ? | 06:03 |
r0kk3rz | what on earth are you doing? | 06:06 |
r0kk3rz | just run make hybris-hal | 06:08 |
T4 | <Hound77> I did that. I'm talking about 5.4.1 Kernel Configs porting guide. | 06:13 |
r0kk3rz | yeah | 06:23 |
r0kk3rz | whenever you do kernel changes, redo hybris-hal | 06:23 |
T4 | <Hound77> I didnt get that part. How to make that kernel changes. | 06:25 |
r0kk3rz | most of the time you're just changing the config | 06:26 |
T4 | <Hound77> Can you summerize this process ? After I ran ```Mer Config Checker``` I got list of wanings. I didnt get what I should do next ? | 06:32 |
r0kk3rz | edit the config file with the recommended changes | 06:33 |
T4 | <Hound77> I didnt get this line ```Check the value of TARGET_KERNEL_CONFIG under $ANDROID_ROOT/device/$VENDOR/*/BoardConfig*.mk … • Examine the output of make bootimage for which defconfig is taken when you’re building kernel, e.g.: … make -C kernel/lge/hammerhead ... cyanogenmod_hammerhead_defconfig``` | 06:34 |
r0kk3rz | ignore that | 06:34 |
T4 | <Hound77> So I have to edit the ```lineageos_payton_defconfig``` under ```kernel/motorola/msm8998/arch/arm64/configs/lineageos_payton_defconfig``` with the result from ```Mer Config Checker``` ? | 06:39 |
T4 | <Hound77> And then rerun make -j$(nproc --all) hybris-hal | 06:41 |
r0kk3rz | yes | 06:41 |
Thaodan | lbt can you look at my pull request on mer config checker? | 06:43 |
r0kk3rz | Thaodan: link? | 06:45 |
Thaodan | r0kk3rz: https://github.com/mer-hybris/mer-kernel-check/pull/15 | 06:47 |
r0kk3rz | im tempted just to merge it because that would be a useful feature to have | 06:51 |
r0kk3rz | what do you think mal ? | 06:53 |
Thaodan | some feedback would be nice I'm waiting really long now | 06:53 |
Thaodan | maybe next Fosdem it's merged :D | 06:53 |
r0kk3rz | it doesnt need to wait that long, its just the kernel checker script | 06:54 |
T4 | <m_aurel> Hello, do you think, the we could lower the efford for hardware adaption, if a Lineage OS port is available for the device or chipset? | 08:17 |
erhoof | Hello! Is there a way to change model name on account.jolla.com? It is UNKNOWN, from August. Now name is different, but with the same UID. Jolla Store shows a lot of apps, pkcon refresh succesfully update store repo, but i cant download anything, and zypper says, that store repo have no packages. I think this is a reason | 08:31 |
T4 | <Hound77> To what value these variable need to have, … CONFIG_AUTOFS4_FS= … CONFIG_NETFILTER_NETLINK_ACCT= … CONFIG_NETFILTER_XT_MATCH_NFACCT= … Allowed values : y, m, ! … The comments says its optional. | 08:31 |
r0kk3rz | @m_aurel if you want to lower the effort, look at the devices already ported | 08:36 |
T4 | <m_aurel> Most of them are end of life. | 08:36 |
T4 | <MarcoDS_bit> Quick question, is that normal that trying installing sailfish using the .zip makes the recovery to crash or to give errors? Like yeah we are testing it with manual installation but the zip would help | 08:37 |
r0kk3rz | there might be some errors, but they are often benign | 08:42 |
T4 | <MarcoDS_bit> We have an error about "can't write to data" (error 7) so yeah it doesn't let us install it | 08:52 |
T4 | <austenite> @MarcoDS_bit twr 3.1.1 succeded in installing zip for me hgher ones didnt | 08:54 |
T4 | <MarcoDS_bit> I see, thank you, I'll try to find an older version | 08:55 |
T4 | <Hound77> I seems to get this error after applying kernel configs to kernel/motorola/msm8998/arch/arm64/configs/lineageos_payton_defconfig … https://0x0.st/zNJK.txt | 09:43 |
r0kk3rz | do another build without the -j parameter and dump the whole log | 09:47 |
T4 | <Hound77> https://0x0.st/zNJN.txt | 09:50 |
T4 | <elros34> you have answer what to do in logs you posted | 10:03 |
T4 | <Hound77> make mrproper ? | 10:06 |
T4 | <Hound77> That would erase the kernel config changes. | 10:06 |
r0kk3rz | lol | 10:08 |
r0kk3rz | do a make clean | 10:08 |
r0kk3rz | then run the hybris-hal build again | 10:08 |
T4 | <Hound77> Same error. | 10:11 |
erhoof | Why store repo can resolve no packages? zypper pa -ir store / No packages found. Ofk after refresh. w4_820 i486 | 10:16 |
r0kk3rz | you got it enabled? | 10:21 |
erhoof | Yes | 10:21 |
erhoof | journalctl -fa shows package could not be found, when im trying to install app from jolla store. The same thing | 10:23 |
r0kk3rz | so the store shows apps? | 10:24 |
erhoof | Yes | 10:24 |
r0kk3rz | thats something at least | 10:24 |
erhoof | But i cant download them. Shows a lot of apps, not like 20 | 10:24 |
erhoof | So its authorized device | 10:24 |
T4 | <MarcoDS_bit> Soo, we can't connect to port 2323, just 23, that's the dmesg https://pastebin.com/rCirEMhD, does anyone have suggestions? | 10:29 |
r0kk3rz | there should be a diagnostics.log as well | 10:31 |
r0kk3rz | halting at first telnet is usually mounts being wrong | 10:32 |
T4 | <linusdan> Folks, is there an android version requirement for android applications be compatible with sailfish? | 10:40 |
r0kk3rz | depends on the device | 10:40 |
erhoof | Is there a way to see repo directory directly? | 10:40 |
r0kk3rz | but android 4.4.4 compatibility is best | 10:41 |
T4 | <Hound77> Anybody ? https://0x0.st/zNJN.txt … <r0kk3rz> I did "make clean" and "make hybris-hal" thrice. … Should I commit to my repo and try ? | 10:45 |
pketo | erhoof: try now | 10:45 |
erhoof | Thx | 10:46 |
pketo | erhoof: so it works now? | 10:47 |
erhoof | Yes! Thanks a lot | 10:47 |
pketo | ok, good. I had forgot one piece of configuration, sorry about that :) | 10:49 |
T4 | <linusdan> r0kk3rz: Thanks for the info! … I'll try porting again to the i9100 this week with cm-10.1 … I was not get to make the initramfs always be used by the recovery partition with 7.1.2 | 10:50 |
T4 | <linusdan> charlie: make cloober and try again | 10:50 |
r0kk3rz | @linusdan you wont get the android application compatibility layer on ported devices | 10:51 |
T4 | <elros34> charlie whay cant you just do what log says? | 10:52 |
T4 | <Hound77> @linusdan [charlie: make cloober and try again], https://0x0.st/zNJS.txt | 10:55 |
T4 | <elros34> you are stubborn .. | 10:55 |
T4 | <linusdan> charlie: *clobber … sorry :D | 10:57 |
T4 | <linusdan> r0kk3rz: I'm crying with this news ;D | 10:57 |
T4 | <Hound77> @elros34 [charlie whay cant you just do what log says?], The reference or guide for porting Sailfish OS is only in the port guide or I have to ask here unlike android its every where. I can search them on web but not for sfos. I do feel pathetic about my self on this matter. | 10:59 |
T4 | <austenite> @Hound77 export USE_NINJA=false | 11:02 |
T4 | <elros34> charlie: the best source of informations is here http://www.merproject.org/logs/%23sailfishos-porters/index.html | 11:04 |
T4 | <linusdan> charlie: please do not use the telegram reply because irc people will not see the right message. It's the group rules :) | 11:05 |
T4 | <Hound77> Yeah Sorry. | 11:06 |
T4 | <Hound77> @austenite Same error. | 11:06 |
lbt | Thaodan: I'll add this to my list | 11:09 |
T4 | <Hound77> Does anyone know the cause of my problem ? https://0x0.st/zNJS.txt Its the kernel config. | 15:58 |
T4 | <austenite> @Hound77 typo , see error | 16:20 |
T4 | <Hound77> @austenite Its the result for the make cloober and this for make payton https://0x0.st/zNJN.txt . Still typo ? | 16:44 |
T4 | <Hound77> I made this following changes to kernel. Edited the … ```lineageos_payton_defconfig``` … under … ```kernel/motorola/msm8998/arch/arm64/configs/lineageos_payton_defconfig``` … with the result from … ```Mer Config Checker```. Is the right way ? | 16:47 |
T4 | <Hound77> The changed config : https://0x0.st/zNvB.txt | 16:49 |
T4 | <austenite> @Hound77 remove CONFIG_DEFCONFIG_LIST and try? | 17:06 |
T4 | <Hound77> Same error again. https://0x0.st/zNvt.txt | 17:21 |
T4 | <adampigg> so, i was looking into writing a geoclue plugin / server for sharing the location from phone to tablet... | 17:48 |
T4 | <adampigg> such a feature already exists, and there is an android app for sharing android location to geoclue of the lan | 17:49 |
T4 | <adampigg> but, its in geoclue 2.3 ...... our geoclue is substantially ancient, like, 9 years or so!! | 17:49 |
T4 | <adampigg> its so old, its not in the /releases folder on fdo, which starts with 2.0 pre versions | 17:50 |
osum4est | im still not reaching the init script... and i can't seem to replicate the one time i did. tried with the vanilla defconfig, se linux disabled, audit=0 on my kernel params, disabling verity in the config, any ideas? it looks like any change i make in the config makes the bootloop take ~30 seconds, where the vanilla version takes a few seconds | 17:59 |
T4 | <elros34> how do you know it's not reaching init script? Did you finally save some logs to sdcard/data partition or you still count seconds? | 18:20 |
T4 | <elros34> did you tried to hold volume up button so it will reboot straight to recovery? | 18:21 |
osum4est | i was able to turn on my notification light from the init script the one time it was working. the light does not go on anymore, on top of rebooting much faster - also when it was working it did not bootloop, just got stuck | 18:22 |
osum4est | and no, haven't tried that yet. i can give that a shot though | 18:22 |
T4 | <austenite> @Hound77 no idea | 18:22 |
osum4est | elros34: holding volume up doesn't boot me straight into recovery. if i hold it down the screen stays black until i let go, then it reboots back into systme | 18:30 |
T4 | <elros34> I heard some google device have serial console multiplexed with jack, so maybe you can find ready to use jack(serial)/usb adapter or create one | 19:21 |
T4 | <Err0r_extinct> hey there where i can find the fstab in my device(telneted) | 19:28 |
mal | osum4est: maybe have a look at this https://github.com/mer-hybris/android_kernel_sony_msm/commit/e3648beea7a581e1671a1ac9c59cdb993475c95d | 19:28 |
mal | if your device has certain features enabled it might skip initramfs | 19:29 |
T4 | <Err0r_extinct> hey @mal change my data partition to ext4 then the fstab should need to be changed?? | 19:30 |
mal | no | 19:32 |
osum4est | mal: thanks, ill take a look at it. what needs to be correct to get to the init script? it's just the boot image right? it shouldn't matter what is flashed to any of the partitions? | 19:32 |
mal | it's just in kernel | 19:32 |
mal | @Err0r_extinct depends on what your fstab looks like | 19:33 |
T4 | <Err0r_extinct> wait please | 19:33 |
T4 | <Err0r_extinct> https://pastebin.com/EftJXcFe | 19:34 |
T4 | <elros34> osum4est: worth to read https://wiki.postmarketos.org/wiki/Google_Pixel | 19:35 |
T4 | <Err0r_extinct> found fstab on device (/etc/fstab) https://pastebin.com/2vr2KxdT | 19:36 |
mal | @Err0r_extinct maybe change the userdata partition type, although it's mounted in early boot so it might not affect much | 19:37 |
T4 | <Err0r_extinct> ok trying | 19:38 |
osum4est | elros34: since postmarketos doesn't get to any ui does that mean that sailfish probably won't either? | 19:38 |
osum4est | or are they pretty unrelated | 19:39 |
mal | not sure you can compare those, I don't know the internals of postmarket os | 19:41 |
osum4est | thats good. guess i'll keep going down this wild goose chase haha | 19:42 |
mal | osum4est: it's quite possible that it tries to skip initramfs, some new devices do that | 19:43 |
T4 | <elros34> osum4est: it wasnt hard to find https://github.com/Halium/projectmanagement/issues/95 | 19:43 |
mal | that clearly says it does skip_initramfs so reverting the one commit from kernel as was done in xperia xa2 should be done | 19:44 |
mal | but it seems that device doesn't have separate recovery which makes life a bit more difficult | 19:45 |
osum4est | thanks! i will definitely give that a shot. hmm weird. not too big of a deal - if i can't get twrp to work then so be it | 19:47 |
mal | there is a way to have recovery together with normal initramfs in kernel, not pretty but possible | 19:48 |
mal | I have done in on one device family | 19:49 |
piggz | mal: how did you create a kernel config for mainline, based on an old 3.x version? | 19:55 |
mal | piggz: I just added some stuff on top of the qcom example defconfig in mainline tree | 20:18 |
mal | piggz: I didn't yet try to boot to sfos side, I have been just hacking in init | 20:18 |
piggz | mal: well, instead of hacking on that, look at my pr :p | 20:20 |
mal | piggz: forgot about that, and I haven't done any hacking today | 20:21 |
T4 | <Err0r_extinct> hey mal are u there i changed the kernel here are the journalctl logs please see it https://pastebin.com/XaWUwZV7 | 22:00 |
r0kk3rz | @Err0r_extinct: what was your issue? | 22:03 |
T4 | <Err0r_extinct> not able to boot gui 😞 | 22:04 |
T4 | <Err0r_extinct> droid-hal-init service not running | 22:05 |
T4 | <Err0r_extinct> lipstick ui failed | 22:05 |
r0kk3rz | yes i can see things are generally unhappy | 22:06 |
r0kk3rz | focus on the dhi issues first | 22:06 |
r0kk3rz | what was the kernel thing you changed? | 22:06 |
T4 | <Err0r_extinct> i am using this kernel https://github.com/GZR-Kernels/Optimus_Drunk_Potter/tree/8.1 | 22:07 |
T4 | <Err0r_extinct> before that i am usning the boulzordev's kernel 15-1.64 | 22:07 |
T4 | <Err0r_extinct> shfting to this optimus kernel fixed some issues | 22:08 |
r0kk3rz | oh you literally replaced the whole thing | 22:09 |
r0kk3rz | which kernel is your base image using? | 22:09 |
T4 | <Err0r_extinct> yes | 22:09 |
T4 | <Err0r_extinct> optimus_drunk | 22:09 |
r0kk3rz | droid-hal-init: Failed to initialize property area <-- this is bad | 22:10 |
T4 | <Err0r_extinct> what's the mean of this | 22:10 |
T4 | <Err0r_extinct> i can't able to figure out the meaning of yhis line failed to initialize property area | 22:12 |
r0kk3rz | heres a hint https://github.com/aosp-mirror/platform_system_core/blob/master/init/property_service.cpp#L106 | 22:13 |
T4 | <Err0r_extinct> and one thing when i am running fdisk -l on my device(telneted) most of the blck types are unknown and just four of them types are microsoft basic data is it ok?? | 22:15 |
r0kk3rz | sounds bad | 22:27 |
r0kk3rz | what device is this? | 22:28 |
T4 | <Err0r_extinct> motorola potter | 22:28 |
r0kk3rz | and base is like lineage 15? | 22:30 |
T4 | <Err0r_extinct> yes 15.1 | 22:30 |
T4 | <elros34> unknown types in fdisk -l is normal, parted can recognize partitions | 22:46 |
T4 | <Err0r_extinct> parted ? | 22:46 |
T4 | <elros34> at least partition names | 22:46 |
T4 | <elros34> app like fdisk | 22:47 |
T4 | <Err0r_extinct> just parted ! | 22:48 |
r0kk3rz | it must be mounting the userdata partition fine anyway | 22:55 |
r0kk3rz | otherwise it wouldnt be getting anywhere near that far | 22:55 |
T4 | <Err0r_extinct> @r0kk3rz [it must be mounting the userdata partition fin …], i just lokked up that file https://github.com/aosp-mirror/platform_system_core/blob/master/init/property_service.cpp#L106 here is a void fuction | 22:56 |
T4 | <Err0r_extinct> void property_init() { … mkdir("/dev/properties", S_IRWXU | S_IXGRP | S_IXOTH); … CreateSerializedPropertyInfo(); … if (__system_property_area_init()) { … LOG(FATAL) << "Failed to initialize property area"; … } … if (!property_info_area.LoadDefaultPath()) { … LOG(FATAL) << "Failed to load serializ | 22:56 |
T4 | ed property info file"; … } … } | 22:56 |
T4 | <Err0r_extinct> in that function mkdir("/dev/properties", S_IRWXU | S_IXGRP | S_IXOTH); … CreateSerializedPropertyInfo(); … if (__system_property_area_init()) { … LOG(FATAL) << "Failed to initialize property area"; … } | 22:57 |
T4 | here is my problem located i think , | 22:57 |
T4 | <Err0r_extinct> i think that is not able to make the directory with the right permission | 22:58 |
T4 | <Err0r_extinct> so can i make it manually | 22:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!