Thursday, 2020-12-17

Umeaboyhi!01:07
UmeaboyI've run into a difficult problem that involves the bootloader for Samsung Galaxy S10 series.01:08
UmeaboyThe libraries that hybris uses is blacklisted in the bootloader.01:08
UmeaboyHow to get around that?01:08
UmeaboySome people have been trying to get Ubuntu Touch working in it and failed.01:09
UmeaboyKind of strange since the bootloader IS unlocked.01:09
T42<edp_17> mal: Hello, I have a question about the android.img you built with wayland support for Anbox. I've managed to make anbox-container-manager and anbox-session-manager services happy and running on my device. But when I try to start Anbox I get the screen loaded then shortly after it closes. I have checked the anbox/rootfs/data/system.log01:54
T42 and seen that the libwayland-client.so is crashing. I've seen that on the host the /usr/lib/libwayland-client.so.0 is different than the one in the android image. Do you think this can be the reason why Anbox doesn't start? If so, could you please rebuild the android image with a newer libwayland-client.so?01:54
T42<edp_17> I have two logs, one when started the anbox.sh as is: (/usr/bin/anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity): https://paste.ubuntu.com/p/ZbnqcXFsHn/01:55
T42<edp_17> and another one when I added the --use-system-dbus parameter: (/usr/bin/anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity --use-system-dbus): https://paste.ubuntu.com/p/XMdSNHmbpc/01:56
T42<edp_17> I appreciate if you can help me to solve this. Thanks in advance.01:56
UmeaboyI think a lot of people here are sleeping or not by the computer so we both have to wait.02:03
T42<A_T_R> (Photo, 720x663) https://irc.thaodan.de/.imgstore/Ah13zzphRd.png PORT_ARCH should set as armv7hl - even my arch is aarch64 ??02:30
T42<birdzhang> yes, no aarch64 support yet02:32
T42<A_T_R> Thanks02:34
T42<linusdan> hello :)02:52
T42<linusdan> one question: has anyone had this problem when compiling HAL?02:52
T42<linusdan> https://imgur.com/a/QbrXESs02:52
T42<elros34> maybe typo in fixup-mountpoints? make -j1 could make logs more readable. I see you changed base. Did modprobing omap and sgx modules help to get gui working on hybris-13 base?03:36
Umeaboyelros34: What solution do you see to my beyond2lte issue with libhybris?03:52
UmeaboyThere should be a workaround.03:53
UmeaboyDoes it help to disable SELinux?03:54
T42<elros34> what issue?03:57
Umeaboyelros34: The base libs that hybris would use would not work because they are blacklisted in bootloader itself04:04
UmeaboyHow can we tell the bootloader to whitelist them?04:06
T42<elros34> I have no idea how bootoader affects some hybris libaries. Can you explain it?04:16
T42<elros34> i guess you meant some kind of android boot security thing then I have no ide about it.04:28
Umeaboyelros34: Well, I went to xda-developers forum to ask IvanMeler for the Lineage-16.0 device tree since it is also built for beyond2lte ( https://forum.xda-developers.com/t/rom-lineageos-16-0-for-s10e-s10-s10-exynos.3956948/ ) and this was his reply:04:40
Umeaboy" with beyond tree you wont be able to boot it because of bootloader which prevents pie kernel from running"04:40
UmeaboyAnd then I told him I don't intend to boot Lineage-16.0 and that I just need it as a base to libhybris04:41
UmeaboyThat's when he replied: "thing is base libs that hibris would use would not work because they are blacklisted in bootloader itself i can add you to repo soon, But trust me on this one i did work on ub touch in past and i worked on s10 for 2 years now so i know how it works"04:41
UmeaboySo, my question is.....where do we go from here?04:42
UmeaboyI suppose mal still hasn't added the patches for LOS-17.104:42
rinigusUmeaboy : maybe wait till Los 17.1 is supported? If Jolla is mentioning it in their blog, it cannot be too far06:53
Umeaboyrinigus: Yeah, it's just that I can't find any lineage-16.0 repo on github for beyond2lte. At least last time I checked.06:57
UmeaboyThat would make it easier to port then.06:58
rinigusUmeaboy: let's see if someone knowing the state will comment on aosp10/lineage17 status07:13
Umeaboyrinigus: Yeah.07:35
UmeaboyBtw. I've started working on a project to turn the HADK into a program for future reference.07:36
UmeaboyNever mind the logo at this moment, just read the README.md and be happier: https://gitlab.com/haddock1/haddock07:36
T42<simonschmeisser> dead link ahead07:40
UmeaboyHuh?07:40
UmeaboyIt should work.07:40
UmeaboyIt is set to Public.07:41
rinigusthen the link is wrong07:42
rinigus... but I am fine with HADK as it is - not something you need to run automatically much as soon as you are on OBS07:45
UmeaboyFixed it.07:47
UmeaboyNow it's open.07:47
UmeaboyYou're free to do whatever you want and how you want to do it. This is a good solution for people who would like a more graphical way to install Sailfish OS.07:50
UmeaboyIt will be a drag and drop solution.07:51
UmeaboyBased on what branches that hybris supports of course.07:51
T42<pr0m3th3u569> Hello, guys I am going to try to port sailfish os for Nokia 6.1 plus07:52
UmeaboyIt's like putting the cookie dough in the oven and watch the transformation happen without knowing how it works underneath.07:52
UmeaboyCool! :)07:52
UmeaboyHowever I can't seem to find that it comes with Android 9.07:55
UmeaboyOr does it?07:55
T42<pr0m3th3u569> As I am new to the whole porting think Please do help07:55
UmeaboyAndroid isn't officially supported yet.07:55
UmeaboyMy mistake.07:56
UmeaboyIt is unofficially supported by Lineage-16.0 which mer-hybris can build on.07:56
Umeaboyhttps://forum.xda-developers.com/t/rom-unofficial-9-0-dragon-lineageos-16-0-2019-10-08.3900074/07:56
UmeaboyHere's the device tree for dragon: https://github.com/hritikutekar/android_device_nokia_Dragon/tree/lineage-16.008:33
UmeaboyI think I found a tree that I can use to build LOS-16.0 with. :)09:12
Umeaboyhttps://github.com/AndroidBlobs/device_samsung_beyond2/tree/beyond2ltexx-user-9-PPR1.180610.011-FA90_G975FXXU2ASF1-release-keys09:12
UmeaboyI could be wrong though.09:13
UmeaboyIt has a make file for lineage.09:13
T42<KernelPanix> @Umeaboy [https://github.com/AndroidBlobs/device_samsung …], some edit09:57
T42<KernelPanix> :)))09:57
T42<ankaos> Fwd from ankaos: https://ankaos.org/index.php?topic=2.msg2#msg210:01
T42<ankaos> Fwd from ankaos: ı build sailfish os10:01
T42<ankaos> Finish xd10:02
T42<edp_17> mal: With Anbox I have managed to go a little further but the surfaceflinger is still crashing because the /system/lib/egl/libGLES_emulation.so library is missing from the android.img. Could you please take a look and help me to solve this: https://paste.ubuntu.com/p/CPGW7pyvQZ/11:47
T42<adampigg> @edp_17 [mal: With Anbox I have managed to go a little …], if you have the file, can you bind mount it in place?11:56
T42<edp_17> @adampigg [if you have the file, can you bind mount it in …], You mean libGLES_emulation.so? I don't have that. :(11:58
T42<edp_17> I only have /system/vendor/lib/egl/libGLES_mali.so (on my host)11:59
T42<elros34> are you sure that is the issue? It opens libGLESv2_emulation.so. Then crash in /system/lib/libwayland-client.so. Maybe something needs to be rebuild against latest release12:02
T42<edp_17> I am not sure what the problem is. I use 3.3.0.16 and  as far as I remember that android.img was built for pre 3.3.12:03
T42<edp_17> Unfortunately I have no idea how to build that for 3.3. But I am happy to do it if somebody help me.12:04
T42<elros34> I can see 3.3.0 build https://build.merproject.org/project/show/home:birdzhang:anbox12:06
T42<edp_17> Yep, he built that for me and that's what I installed.12:07
T42<edp_17> Wait! Because the anbox-sailfishos-image-mixed-32-64-bit-0.0.1-2.armv7hl.rpm was _already_ installed, when I installed the packages this was not installed. Can it be the issue?12:09
T42<edp_17> Another question. I have libGLESv1_CM.so in /system/lib/ and /usr/libexec/droid-hybris/system/lib/. Both has different size, so they are different. Why do I have two and which one is used for what?12:12
T42<elros34> I don't know whey they are different but this lib in /usr/libexec is provided by your droid-hal12:14
T42<elros34> it should be used byt sailfish instead that one in /system12:15
T42<elros34> IIRC order of checking that libs is in libhardware12:15
T42<edp_17> So is sfos using the one from /usr/libexec/droid-hybris/system/lib/?12:16
T42<edp_17> (If so, I might copied the wrong one to Anbox.)12:16
T42<elros34> yes, I think it use that one from droid-hal12:17
T42<edp_17> Okay, thanks.12:18
T42<elros34> at leats that was true for hwcomposer libs when I have built it12:18
T42<elros34> I hope you enabled all needed changes for anbox in kernel12:19
T42<elros34> anyway I might be wrong about that GLES libs but still is worth to try12:21
T42<edp_17> I'll play with that. (I have seen in the prepare-anbox script that is copying some .so files from /vendor/lib/egl but I do not have them. So when I found them in /system/lib I copied them from there. But I might did it wrong.)12:21
T42<edp_17> I just have installed the android.img from that repo and its size as the same as the size of what I had already. So I don't think anything _within_ the image changed since 3.0. I am expecting to get the same error but I'll see.12:23
T42<edp_17> The same result. First: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found12:37
T42<edp_17> Then: /system/lib/libwayland-client.so (wl_proxy_marshal_constructor+7)12:37
T42<edp_17> I copied the .so files from /usr/libexec/... and used the android.img built for 3.3.0.16.12:39
T42<edp_17> I think need mal to take a look as I am stuck now.12:40
T42<A_T_R> ~/hadk$ repo sync --fetch-submodules13:04
T42<A_T_R> repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.13:04
T42<A_T_R> Traceback (most recent call last):13:04
T42<A_T_R>   File "/home/iatr/hadk/.repo/repo/main.py", line 56, in <module>13:04
T42<A_T_R>     from subcmds.version import Version13:04
T42<A_T_R>   File "/home/iatr/hadk/.repo/repo/subcmds/__init__.py", line 38, in <module>13:04
T42<A_T_R>     ['%s' % name])13:04
T42<A_T_R>   File "/home/iatr/hadk/.repo/repo/subcmds/upload.py", line 27, in <module>13:04
T42<A_T_R>     from hooks import RepoHook13:04
T42<A_T_R>   File "/home/iatr/hadk/.repo/repo/hooks.py", line 47213:04
T42<A_T_R>     file=sys.stderr)13:04
T42<A_T_R>         ^13:04
T42<A_T_R> @A_T_R [~/hadk$ repo sync --fetch-submodules13:06
T42<A_T_R> repo: war …], from HABUILD_ (ubuntu chroot)13:06
T42<A_T_R> this from host13:07
T42<A_T_R> error: Cannot checkout LineageOS/android: PermissionError: [Errno 13] Permission denied: '/home/iatr/hadk/android'13:07
T42<A_T_R> paste bin -https://paste.ubuntu.com/p/75mgtFKk4z/13:07
T42<A_T_R> anyone please ? ^^^13:13
T42<ankaos> Wait please. I answer this problem. I find13:13
T42<A_T_R> ok13:13
T42<ankaos> Fwd from halium-anka: python3 $(which repo) init -u git://github.com/mer-hybris/android.git -b hybris-16.0 sailfish os-1613:14
T42<ankaos> python3 $(which repo) sync --fetch-submodules13:15
T42<ankaos> @A_T_R test pleaser13:15
T42<A_T_R> okk13:15
T42<A_T_R> what to replace at (which repo)-13:15
T42<A_T_R> @ankaos [python3 $(which repo) sync --fetch-submodules], repo: error: Python 3 version is too old; Please use Python 3.6 or newer.13:18
T42<ankaos> Where read this command?13:19
T42<ankaos> Ubu-chroot or pc?13:19
T42<A_T_R> HABUILD_SDK13:19
T42<ankaos> Use pc.13:20
T42<A_T_R> okk13:20
T42<A_T_R> @ankaos [Use pc.], from host_pc13:27
T42<A_T_R> iatr@Core2Duo:~/hadk$ ```python3 $(which repo) sync --fetch-submodules```13:27
T42<A_T_R> error: Cannot checkout LineageOS/android: PermissionError: [Errno 13] Permission denied: '/home/iatr/hadk/android'13:27
T42<A_T_R> same error13:27
T42<neochapay> @A_T_R [from host_pc13:28
T42<neochapay> iatr@Core2Duo:~/hadk$ python3 $( …], Access rules13:28
T42<A_T_R> @A_T_R [repo sync —fetch-submodules14:03
T42<A_T_R> this from host …], thanks now works14:03
T42<A_T_R> ```repo sync --fetch-submodules```14:03
T42<A_T_R> (i was missed - ``````sudo chown -R $USER $ANDROID_ROOT`````` command from ubuntu-chroot)14:03
T42<ankaos> hı. How can I connect sailfish os sdk to phone?14:10
T42<ankaos> dafaultuser@192.168.2.15:Permission denied.(publickey,password)14:15
T42<elros34> it's defaultuser not dafaultuser provided you built 3.4.0 sfos15:04
T42<ankaos> so what?15:12
T42<linusdan> @elros3416:55
T42<linusdan> 1) maybe typo in fixup-mountpoints? make -j1 could make logs more readable.16:55
T42<linusdan> same problem :/16:55
T42<linusdan> 2) I see you changed base. Did modprobing omap and sgx modules help to get gui working on hybris-13 base?16:55
T42<linusdan> I didn't even try! I moved to 14.1 soon because I'm going to do another project with the same base and since I don't have much space on the HD, I preferred to migrated to new base.16:55
T42<A_T_R> How to check this ?17:04
T42<A_T_R> Determine which node is your touchscreen by checking /dev/input/event*. WRITE17:04
T42<A_T_R> ˓→ALL IN ONE LINE(:17:04
T42<A_T_R> (Photo, 640x1280) https://irc.thaodan.de/.imgstore/Ile0B9HprT.png17:06
T42<Heng %lastname%> use cat instead of just typing the filename17:27
T42<Heng %lastname%> just typing the filename is trying to execute the files @A_T_R17:27
T42<A_T_R> (Photo, 640x1280) https://irc.thaodan.de/.imgstore/jJ16KL479G.png Screenshot (Dec 17, 2020 10:59:34 PM)17:29
T42<A_T_R> @Heng %lastname% [just typing the filename is trying to execute …], event117:30
T42<A_T_R> thanks17:30
T42<Heng %lastname%> How do I set the power button action?17:44
T42<Heng %lastname%> power button shuts down my tablet17:44
T42<Heng %lastname%> there is no /etc/acpi17:44
T42<Heng %lastname%> tablet is mainline x86 so it uses ACPI for power management i think17:45
T42<Heng %lastname%> also how do I change the "Manufacteurer" and "Product Name" ?17:49
T42Anthony %lastname% was added by: Anthony %lastname%17:58
T42<elros34> Did you get evdev event  when you press power button? evdev_trace -t18:58
T42<Heng %lastname%> @elros34 KEY_POWER and SYN_REPORT are being sent19:05
T42<Heng %lastname%> from event12 and event 2419:05
T42<Heng %lastname%> @elros3419:05
T42<ankaos> touch or keys?19:12
T42<Heng %lastname%> @ankaos [touch or keys?], what do you mean? it's power button19:13
T42<ankaos> kernel problem19:13
T42<ankaos> sorry :(19:13
T42<Heng %lastname%> shutdown -h now works perfectly19:13
T42<ankaos> wrong gruop19:13
T42<elros34> So maybe issue is that you have 2 x KEY_POWER events.19:21
T42<Heng %lastname%> @elros34 [So maybe issue is that you have 2 x KEY_POWER …], and also keyboard events are repeated also19:22
T42<Heng %lastname%> like when i press a button on physical keyboard19:22
T42<Heng %lastname%> it repeats19:22
T42<elros34> what modules you have loaded?19:23
T42<elros34> also are you sure keyboard events are repeated not you just get KEY_X -1 and then KEY_X - 0?19:26
T42<Heng %lastname%> @elros34 So when I type "a" on the keyboard, in the terminal "aa" shows up19:37
T42<Heng %lastname%> lemme get you modules list19:37
T42<Heng %lastname%> @elros34 Here is `lsmod`19:48
T42<Heng %lastname%> https://gist.github.com/HengYeDev/bffd1a29c5d0b45318ee38b6584bbbfa19:48
T42<elros34> ~140 modules, I will not guess which are correct. Try to comapre it with event12 and event24 node names, similar for keyboard. Maybe you should blacklist some modules19:56
T42<Heng %lastname%> so @elros34 I should block one of event12 and event24?20:00
T42<elros34> I guess20:02
T42<Heng %lastname%> @elros34 they seem to be using keyboard driver20:17
T42<Heng %lastname%> therefore i don't think i can blacklist20:23
T42<Heng %lastname%> other options to fix? maybe it's the power management shutting down because of config? @elros3420:28
malkalube: I need to rebase the changes to hybris 17 and add some patches on top and then make test builds20:30
kalubeOk cool, thanks20:30
T42<elros34> Heng Ye  probably it is configurable in dsme or mce but I don't know exact place, you need to read source20:31
T42<Heng %lastname%> @elros34 is the double KEY_POWER an issue?20:32
T42<Heng %lastname%> also, an observation - when i click powerbutton for short time it does not shutdown20:33
T42<Heng %lastname%> maybe it's key repeating config? @elros3420:33
T42<elros34> maybe, I never configured it. If you run dsme or mce in more verbose mode maybe you will sopt something20:42
T42<Heng %lastname%> @elros34 where is the dsme and mce source code?21:13
T42<Heng %lastname%> cant find on github21:13
T42<elros34> git.sailfishos.org/mer-core/21:22
T42<Heng %lastname%> @elros34 Where is DSME log? I need to make sure https://git.sailfishos.org/mer-core/dsme/blob/master/modules/pwrkeymonitor.c isn't causing shutdown22:07
T42<Heng %lastname%> but probably not since that requires 5seconds22:09
T42<Heng %lastname%> probably is this: https://git.sailfishos.org/mer-core/mce/blob/master/powerkey.c22:09
T42<Heng %lastname%> it says ` * - long press   - initiates shutdown (if lockscreen is not active)`22:10
T42<Heng %lastname%> so possible to reconfigure this?22:11

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