Sunday, 2021-02-21

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.sh01: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
T42Valerie %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_Magistermal: about the missing defaultuser groups due to old dhd submodule, i probably can add them in the .ks file right?14:43
rinigusand tama/aosp10/aarch64 boots into GUI! but the number of issues is rather long...16:25
riniguslet's start with the simple one: are we expected to be able to install armv7hl apps on aarch64 port?16:25
malrinigus: nope16:25
rinigusmal: OK, fair enough. then OBS aarch64 becomes even more needed :)16:26
riniguswith the other issues, I will look into it first. maybe missed something obvious while redoing the port16:27
malrinigus: what kind of issues?16:29
malrinigus: I probably know the reasons for those16:29
rinigusmal: 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-1016:31
rinigusinclude broken keymaster, minisf, wifi, browser. would have to make a break now for ~1h, sorry for timing16:32
malrinigus: do you use the packaged /system and /vendor?16:34
rinigusmal: yes. it should be there, but I will check. now would have to go16:35
malrinigus: if that is the case then for mini*service issues you need https://github.com/mer-hybris/droid-config-sony-seine/commit/2348632fc2c4c390a9f1883b7b9de40ddc01a04d16:35
malthat should also most likely fix camera also16: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
malhow 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 in16:59
maldoes telnet work?17:00
T42<Verevka86> @mal [does telnet work?], No, only ssh17:02
malthat is odd, usually telnet to port 2323 should work17: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
malyes, that is a known issue if boot fails, then ssh is not ready yet17:03
malmy guess is that you have some selinux issues17:04
Mister_Magistermal: could you help me with the groups?17:07
malMister_Magister: that might work17: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 configs17: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_defconfig17:13
Mister_Magistermal: what might work?17:14
T42Danqok was added by: Danqok17:15
mal@Verevka86 I was talking about adaptation config repo, not kernel defconfig17:19
malMister_Magister: some sed magic in .ks17:20
malor something like that17:20
Mister_Magistermal: sed magic? cant we just run groupadd-user?17:21
malif that works17:22
Mister_Magisterso i have to try different things and just check huh. kk17:22
malMister_Magister: but you will probably start to have issue with kernel soon if you don't update configs17:22
Mister_Magisterwe will worry about that when it comes to it17:23
Mister_Magistermal: what are the changes?17:23
malMister_Magister: some namespace changes are needed at least, maybe some other things also17:28
Mister_Magisterno details?17:28
malcheck mer kernel checker17:29
malthose are already needed for 4.0.1 I think17:29
malfor app sandboxing17:29
Mister_Magisteronly seen some old commits17:29
mallast changes are from november17:30
Mister_Magistermal: like last commit is 3 months old17:30
Mister_Magisterah17:30
Mister_Magisterye17:30
Mister_Magisterweren't they needed before?17:30
malno17:30
malsome older kernels like 3.4 need patching for some devices17:30
Mister_Magisterhttps://paste.opensuse.org/fb3cd5b617:31
Mister_Magistermal: idk whachu talkin about17:31
Mister_Magisterits like, there because sfos need namespaces since some time already17:31
malMister_Magister: which kernel does that have?17:31
Mister_Magisterso i always enable all namespaces17:31
Mister_Magister3.417:31
rinigusmal: that's right - I will look through symlinks in seine. thanks for a tip!17:31
malrinigus: this might be useful also https://github.com/mer-hybris/droid-config-sony-seine/blob/master/droid-config-common.inc#L817:32
rinigusmal: that android version is there already https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/blob/hybris-10/droid-config-common.inc#L817:34
malpl17:34
malok, didn't notice that17:35
malrinigus: about suspend issue, which kernel do you use? do you use the same as seine from mer-hybris17:36
malrinigus: https://github.com/mer-hybris/android_kernel_sony_msm/tree/hybris-sony-aosp/LA.UM.7.1.r117:37
rinigusmal: 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_defconfig17:37
malrinigus: maybe you need something like this but for your platform https://github.com/mer-hybris/android_kernel_sony_msm/commit/9d6b10b186ed6bb7235e15bc2d3c3ca84a09f82617:38
rinigusmal: 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
malI need to test that webgl, I haven't tried it at all17:42
malrinigus: webgl fails for me also, need to debug17:43
rinigusmal: any good command to see available gles extensions? couldn't install aida64 for that (wrong arch?)17:44
malrinigus: test_egl_configs?17:47
malrinigus: I found something odd in browser startup, checking that now17:47
malsome symbol issue17:48
rinigusmal: yes, that should do. just to see if it is able to get any egl extensions17:49
rinigusmal: do you know how android 10 suspends. looks like CONFIG_PM_AUTOSLEEP is deprecated; https://android.googlesource.com/kernel/configs/+/39318ebcb8a31393dfd6d888bfcfbf5a46592c3e17:54
rinigus?17:54
malnot sure really17:55
rinigusmal: ok, I may look it up if the autosleep will not kick in17:58
Mister_Magistergroupadd-user didn't work sad18:20
Mister_Magistertryiing usermod18:20
rinigusmal: regarding Jolla store - should it show only aarch64 apps if you come from that arch?18:32
Mister_Magistermal: seems that usermod won't wokr cause user isn't created yet sadly19:05
Mister_Magisterwell, sed it is19:05
malrinigus: store should show aarch64 and no-arch apps19:13
rinigusmal: will reflash with the updates and then check again apps that are shown19:22
piggzcant aarch64 rin armv7hl apps?19:23
piggztrying to work on browser-mesa atm ... gecko has some crazy class hierarchy :D19:24
riniguspiggz: 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 libs19:25
osum4estHi! 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 also19:45
osum4esttried multiple different twrp versions but those didnt seem to help19: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/ directory19:54
osum4esthuh, yep that works20:00
calebccffosum4est 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 failure20:00
osum4estThanks! i'll take a look at that. I've been using your repos quite a bit for reference so far :)20:01
calebccffOh glad it's been useful, I'm slowly working to update to sailfish 4.0 now20:07
calebccffosum4est fwiw I'll be getting hold of a OnePlus 7 Pro pretty soon too so looking forward to testing it ;p20:08
osum4estOh 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 me20:10
Mister_Magistermal: got the groups via sed, all works nicely except for gps20:17
Mister_Magisterthere's no icon flashing and csd says its unavailable20:17
Mister_Magisterhad geoclue 2.22, updateing to 2.3120:21
calebccffosum4est 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 patches20:29
rinigusmal: 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/init20:34
riniguslooks like I need some to be disabled or tama cannot boot into gui.20:35
Mister_Magistergeoclue didn't help :/20:43
malrinigus: dhc submodule sparse-1020:44
Mister_Magistermal: could u lend me a hand?20:45
mallogs20:45
Mister_Magisterwhich logs20:45
maldoes geoclue start?20:45
rinigusmal: looks like I forgot to update that submodule. will continue from here ...20:46
Mister_Magistermal: it seems yes20:46
malso any errors in journal20:47
Mister_Magisterdmesg https://paste.opensuse.org/e5364a6c journal https://paste.opensuse.org/5b34296420:47
malrinigus: I have some changes waiting for the submodule20:47
malMister_Magister: does logcat show that gps works?20:48
rinigusmal: I will continue tomorrow evening. so will check the changes. curious that it even managed to get that far without it :)20:48
Mister_Magistermal: can't find anything relevant in logcat20:49
osum4estI'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/jDwd3qEY21:52
osum4estdev/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_Magistermal: maybe its libhybris related22:09
malshouldn't it be without the block22:09
malMister_Magister: well it obtained the interfaces22:10
Mister_Magisteroh22:10
Mister_Magisterthats good!22:10
Mister_Magisterbut why it doesn't work we don't know?22:10
malMister_Magister: Feb 21 21:42:48 MotoG2ndGen.LTE geoclue-hybris[3327]: [W] unknown:0 - Initialising GPS interface22:10
Mister_Magisternice22:10
malMister_Magister: what does test_gps show?22:10
Mister_Magistermal: https://paste.opensuse.org/e657e79222:11
maldid you outside or just indoors?22:12
Mister_Magisterindoors22:12
Mister_Magistermal: now its just tracking22:22
T42<elros34> @osum4est any chance that your data partitions is encrypted?22:46
osum4estI tried disabling CONFIG_DM_VERITY in my kernel config but that doesn't seem to help23:59

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!