T42 | <edp_17> Hi all. I am building sfos4.0.1.48 for Samsung Galaxy Note (N7000) with cm14.1 base. The mic is moaning about 'Unable to find package: patterns-sailfish-device-configuration-n7000': https://paste.ubuntu.com/p/TbfXhJR6Rx/ | 01:35 |
---|---|---|
T42 | <edp_17> Never seen this before. Can you help me out, please? | 01:35 |
T42 | <birdzhang> @edp_17 you need to migrate patterns, https://github.com/mer-hybris/droid-hal-configs/blob/master/helpers/migrate_patterns.sh | 01:58 |
T42 | <edp_17> I've done that! It said: successfully migrated. That's why I don't understand why this error message. | 02:15 |
T42 | Valerie %lastname% was added by: Valerie %lastname% | 08:52 |
mal | @edp_17 did you also update and rebuild droid-hal-version package? | 10:50 |
T42 | <edp_17> mal: afaic I rebuilt all packages but will double check. Thanks. | 11:15 |
T42 | <edp_17> mal: Yes, I've double checked. drodi-hal-version-n7000 was rebuilt together with all other packages. | 14:31 |
mal | @edp_17 did you update the submodule of that? | 14:31 |
Mister_Magister | mal: about the missing defaultuser groups due to old dhd submodule, i probably can add them in the .ks file right? | 14:43 |
rinigus | and tama/aosp10/aarch64 boots into GUI! but the number of issues is rather long... | 16:25 |
rinigus | let's start with the simple one: are we expected to be able to install armv7hl apps on aarch64 port? | 16:25 |
mal | rinigus: nope | 16:25 |
rinigus | mal: OK, fair enough. then OBS aarch64 becomes even more needed :) | 16:26 |
rinigus | with the other issues, I will look into it first. maybe missed something obvious while redoing the port | 16:27 |
mal | rinigus: what kind of issues? | 16:29 |
mal | rinigus: I probably know the reasons for those | 16:29 |
rinigus | mal: sure. I have to check if I added detritus package in the image, as it was not needed earlier. but issues experienced so far are at https://github.com/sailfishos-sony-tama/main/issues?q=is%3Aopen+is%3Aissue+label%3Ahybris-10 | 16:31 |
rinigus | include broken keymaster, minisf, wifi, browser. would have to make a break now for ~1h, sorry for timing | 16:32 |
mal | rinigus: do you use the packaged /system and /vendor? | 16:34 |
rinigus | mal: yes. it should be there, but I will check. now would have to go | 16:35 |
mal | rinigus: if that is the case then for mini*service issues you need https://github.com/mer-hybris/droid-config-sony-seine/commit/2348632fc2c4c390a9f1883b7b9de40ddc01a04d | 16:35 |
mal | that should also most likely fix camera also | 16:36 |
T42 | <Verevka86> Maybe the problem that I can't start is that I'm building armv7hl? 😔 | 16:42 |
T42 | <edp_17> mal: Yes, I've updated all submodules. And mer-kernel-check too. | 16:44 |
mal | @Verevka86 what issue do you have? | 16:44 |
T42 | <Verevka86> @mal [@Verevka86 what issue do you have?], no gui, only pstore log 😔 | 16:53 |
mal | how soon does it reboot or crash? | 16:56 |
T42 | <Verevka86> https://paste.ubuntu.com/p/3GWTryDGWv/ | 16:58 |
T42 | <Verevka86> @mal [how soon does it reboot or crash?], no reboot, the LED is on the same as when booting 16.0, ssh is working but I can not log in | 16:59 |
mal | does telnet work? | 17:00 |
T42 | <Verevka86> @mal [does telnet work?], No, only ssh | 17:02 |
mal | that is odd, usually telnet to port 2323 should work | 17:03 |
T42 | <Verevka86> Fwd from Verevka86: I try to run hybris-17.1, there is no image on the screen, I can log in via ssh - https://paste.ubuntu.com/p/6FjvRtHrDf/ | 17:03 |
mal | yes, that is a known issue if boot fails, then ssh is not ready yet | 17:03 |
mal | my guess is that you have some selinux issues | 17:04 |
Mister_Magister | mal: could you help me with the groups? | 17:07 |
mal | Mister_Magister: that might work | 17:09 |
T42 | <Verevka86> @mal [my guess is that you have some selinux issues], can i disable it with selinux=0 in cmdline? | 17:09 |
mal | @Verevka86 I think hybris-17.1 assumes selinux is enabled, it needs some changes to configs | 17:11 |
T42 | <Verevka86> @mal [@Verevka86 I think hybris-17.1 assumes selinux …], I can look somewhere these changes? | 17:13 |
T42 | <Verevka86> My defconfig- https://github.com/SailfishOS-sagit/android_kernel_xiaomi_msm8998/blob/hybris-17.1/arch/arm64/configs/sagit_defconfig | 17:13 |
Mister_Magister | mal: what might work? | 17:14 |
T42 | Danqok was added by: Danqok | 17:15 |
mal | @Verevka86 I was talking about adaptation config repo, not kernel defconfig | 17:19 |
mal | Mister_Magister: some sed magic in .ks | 17:20 |
mal | or something like that | 17:20 |
Mister_Magister | mal: sed magic? cant we just run groupadd-user? | 17:21 |
mal | if that works | 17:22 |
Mister_Magister | so i have to try different things and just check huh. kk | 17:22 |
mal | Mister_Magister: but you will probably start to have issue with kernel soon if you don't update configs | 17:22 |
Mister_Magister | we will worry about that when it comes to it | 17:23 |
Mister_Magister | mal: what are the changes? | 17:23 |
mal | Mister_Magister: some namespace changes are needed at least, maybe some other things also | 17:28 |
Mister_Magister | no details? | 17:28 |
mal | check mer kernel checker | 17:29 |
mal | those are already needed for 4.0.1 I think | 17:29 |
mal | for app sandboxing | 17:29 |
Mister_Magister | only seen some old commits | 17:29 |
mal | last changes are from november | 17:30 |
Mister_Magister | mal: like last commit is 3 months old | 17:30 |
Mister_Magister | ah | 17:30 |
Mister_Magister | ye | 17:30 |
Mister_Magister | weren't they needed before? | 17:30 |
mal | no | 17:30 |
mal | some older kernels like 3.4 need patching for some devices | 17:30 |
Mister_Magister | https://paste.opensuse.org/fb3cd5b6 | 17:31 |
Mister_Magister | mal: idk whachu talkin about | 17:31 |
Mister_Magister | its like, there because sfos need namespaces since some time already | 17:31 |
mal | Mister_Magister: which kernel does that have? | 17:31 |
Mister_Magister | so i always enable all namespaces | 17:31 |
Mister_Magister | 3.4 | 17:31 |
rinigus | mal: that's right - I will look through symlinks in seine. thanks for a tip! | 17:31 |
mal | rinigus: this might be useful also https://github.com/mer-hybris/droid-config-sony-seine/blob/master/droid-config-common.inc#L8 | 17:32 |
rinigus | mal: that android version is there already https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/blob/hybris-10/droid-config-common.inc#L8 | 17:34 |
mal | pl | 17:34 |
mal | ok, didn't notice that | 17:35 |
mal | rinigus: about suspend issue, which kernel do you use? do you use the same as seine from mer-hybris | 17:36 |
mal | rinigus: https://github.com/mer-hybris/android_kernel_sony_msm/tree/hybris-sony-aosp/LA.UM.7.1.r1 | 17:37 |
rinigus | mal: yes, the same kernel and I took options from seine. config at https://github.com/sailfishos-sony-tama/android_kernel_sony_msm/blob/hybris-10.0-4.14/arch/arm64/configs/aosp_tama_apollo_defconfig | 17:37 |
mal | rinigus: maybe you need something like this but for your platform https://github.com/mer-hybris/android_kernel_sony_msm/commit/9d6b10b186ed6bb7235e15bc2d3c3ca84a09f826 | 17:38 |
rinigus | mal: I will try to fix those crashes due to missing libs and then see. will have to examing dmesg then to see if PM was fired at all. | 17:41 |
mal | I need to test that webgl, I haven't tried it at all | 17:42 |
mal | rinigus: webgl fails for me also, need to debug | 17:43 |
rinigus | mal: any good command to see available gles extensions? couldn't install aida64 for that (wrong arch?) | 17:44 |
mal | rinigus: test_egl_configs? | 17:47 |
mal | rinigus: I found something odd in browser startup, checking that now | 17:47 |
mal | some symbol issue | 17:48 |
rinigus | mal: yes, that should do. just to see if it is able to get any egl extensions | 17:49 |
rinigus | mal: do you know how android 10 suspends. looks like CONFIG_PM_AUTOSLEEP is deprecated; https://android.googlesource.com/kernel/configs/+/39318ebcb8a31393dfd6d888bfcfbf5a46592c3e | 17:54 |
rinigus | ? | 17:54 |
mal | not sure really | 17:55 |
rinigus | mal: ok, I may look it up if the autosleep will not kick in | 17:58 |
Mister_Magister | groupadd-user didn't work sad | 18:20 |
Mister_Magister | tryiing usermod | 18:20 |
rinigus | mal: regarding Jolla store - should it show only aarch64 apps if you come from that arch? | 18:32 |
Mister_Magister | mal: seems that usermod won't wokr cause user isn't created yet sadly | 19:05 |
Mister_Magister | well, sed it is | 19:05 |
mal | rinigus: store should show aarch64 and no-arch apps | 19:13 |
rinigus | mal: will reflash with the updates and then check again apps that are shown | 19:22 |
piggz | cant aarch64 rin armv7hl apps? | 19:23 |
piggz | trying to work on browser-mesa atm ... gecko has some crazy class hierarchy :D | 19:24 |
rinigus | piggz: it can. that is what we have done so far on aarch64 phones. I guess question is in whether to start mixing them and all libs | 19:25 |
osum4est | Hi! I've successfully created a zip for my device and now trying to flash it. I keep getting a "Failed to extract filesystem" error though. I used adb shell to get into the device to try extracting it myself and doing "tar -xvjf sfos.tar.bz2" gives me "tar: exec bunzip2: Too many symbolic links encountered". If i try extracting the bz2 on my host then it seems to extract ok... any ideas on why this would happen? I also | 19:45 |
osum4est | tried multiple different twrp versions but those didnt seem to help | 19:45 |
osum4est | (device being oneplus 7 pro, guacamole) | 19:48 |
T42 | <elros34> you could try to use 'busybox-static tar', you should be able to find somewhere in out/ directory | 19:54 |
osum4est | huh, yep that works | 20:00 |
calebccff | osum4est check out https://github.com/sailfish-oneplus6/hybris-installer, on the OnePlus 6 at least I had very minimal success with the stock installer. Check the section on SFOS rootfs extraction failure | 20:00 |
osum4est | Thanks! i'll take a look at that. I've been using your repos quite a bit for reference so far :) | 20:01 |
calebccff | Oh glad it's been useful, I'm slowly working to update to sailfish 4.0 now | 20:07 |
calebccff | osum4est fwiw I'll be getting hold of a OnePlus 7 Pro pretty soon too so looking forward to testing it ;p | 20:08 |
osum4est | Oh cool! Thats great news. Its an awesome phone. I'm not sure how possible it will be to get the popup camera working but thats not a huge issue for me | 20:10 |
Mister_Magister | mal: got the groups via sed, all works nicely except for gps | 20:17 |
Mister_Magister | there's no icon flashing and csd says its unavailable | 20:17 |
Mister_Magister | had geoclue 2.22, updateing to 2.31 | 20:21 |
calebccff | osum4est hopefully not too difficult, fingers crossed it's handled entirely in vendor hal so when you request the front camera it will open, might need some streamer patches | 20:29 |
rinigus | mal: interesting that seine doesn't have any disabled services at https://github.com/mer-hybris/droid-config-sony-seine/tree/master/sparse/usr/libexec/droid-hybris/system/etc/init | 20:34 |
rinigus | looks like I need some to be disabled or tama cannot boot into gui. | 20:35 |
Mister_Magister | geoclue didn't help :/ | 20:43 |
mal | rinigus: dhc submodule sparse-10 | 20:44 |
Mister_Magister | mal: could u lend me a hand? | 20:45 |
mal | logs | 20:45 |
Mister_Magister | which logs | 20:45 |
mal | does geoclue start? | 20:45 |
rinigus | mal: looks like I forgot to update that submodule. will continue from here ... | 20:46 |
Mister_Magister | mal: it seems yes | 20:46 |
mal | so any errors in journal | 20:47 |
Mister_Magister | dmesg https://paste.opensuse.org/e5364a6c journal https://paste.opensuse.org/5b342964 | 20:47 |
mal | rinigus: I have some changes waiting for the submodule | 20:47 |
mal | Mister_Magister: does logcat show that gps works? | 20:48 |
rinigus | mal: I will continue tomorrow evening. so will check the changes. curious that it even managed to get that far without it :) | 20:48 |
Mister_Magister | mal: can't find anything relevant in logcat | 20:49 |
osum4est | I've able to get into the initial init telnet, but can't get past it. I think because I can't mount data? If i try mounting data manually i get "mount: mounting /dev/block/sda19 on /data failed: Input/output error". Here's the init.log: https://pastebin.com/jDwd3qEY | 21:52 |
osum4est | dev/block/bootdevice/by-name shows userdata -> /dev/block/sda19 but when i mount data via twrp it uses /dev/block/dm-0. attempting to mount data in twrp via "mount /dev/block/sda19 /data -t ext4" shows "device or resource busy". I tried mounting /dev/block/dm-0 in telnet but it doesn't exist. could this be the problem? | 22:04 |
Mister_Magister | mal: maybe its libhybris related | 22:09 |
mal | shouldn't it be without the block | 22:09 |
mal | Mister_Magister: well it obtained the interfaces | 22:10 |
Mister_Magister | oh | 22:10 |
Mister_Magister | thats good! | 22:10 |
Mister_Magister | but why it doesn't work we don't know? | 22:10 |
mal | Mister_Magister: Feb 21 21:42:48 MotoG2ndGen.LTE geoclue-hybris[3327]: [W] unknown:0 - Initialising GPS interface | 22:10 |
Mister_Magister | nice | 22:10 |
mal | Mister_Magister: what does test_gps show? | 22:10 |
Mister_Magister | mal: https://paste.opensuse.org/e657e792 | 22:11 |
mal | did you outside or just indoors? | 22:12 |
Mister_Magister | indoors | 22:12 |
Mister_Magister | mal: now its just tracking | 22:22 |
T42 | <elros34> @osum4est any chance that your data partitions is encrypted? | 22:46 |
osum4est | I tried disabling CONFIG_DM_VERITY in my kernel config but that doesn't seem to help | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!