Umeaboy | hi! | 01:07 |
---|---|---|
Umeaboy | I've run into a difficult problem that involves the bootloader for Samsung Galaxy S10 series. | 01:08 |
Umeaboy | The libraries that hybris uses is blacklisted in the bootloader. | 01:08 |
Umeaboy | How to get around that? | 01:08 |
Umeaboy | Some people have been trying to get Ubuntu Touch working in it and failed. | 01:09 |
Umeaboy | Kind 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.log | 01: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 |
Umeaboy | I 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 yet | 02:32 |
T42 | <A_T_R> Thanks | 02: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/QbrXESs | 02: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 |
Umeaboy | elros34: What solution do you see to my beyond2lte issue with libhybris? | 03:52 |
Umeaboy | There should be a workaround. | 03:53 |
Umeaboy | Does it help to disable SELinux? | 03:54 |
T42 | <elros34> what issue? | 03:57 |
Umeaboy | elros34: The base libs that hybris would use would not work because they are blacklisted in bootloader itself | 04:04 |
Umeaboy | How 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 |
Umeaboy | elros34: 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 |
Umeaboy | And then I told him I don't intend to boot Lineage-16.0 and that I just need it as a base to libhybris | 04:41 |
Umeaboy | That'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 |
Umeaboy | So, my question is.....where do we go from here? | 04:42 |
Umeaboy | I suppose mal still hasn't added the patches for LOS-17.1 | 04:42 |
rinigus | Umeaboy : maybe wait till Los 17.1 is supported? If Jolla is mentioning it in their blog, it cannot be too far | 06:53 |
Umeaboy | rinigus: 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 |
Umeaboy | That would make it easier to port then. | 06:58 |
rinigus | Umeaboy: let's see if someone knowing the state will comment on aosp10/lineage17 status | 07:13 |
Umeaboy | rinigus: Yeah. | 07:35 |
Umeaboy | Btw. I've started working on a project to turn the HADK into a program for future reference. | 07:36 |
Umeaboy | Never mind the logo at this moment, just read the README.md and be happier: https://gitlab.com/haddock1/haddock | 07:36 |
T42 | <simonschmeisser> dead link ahead | 07:40 |
Umeaboy | Huh? | 07:40 |
Umeaboy | It should work. | 07:40 |
Umeaboy | It is set to Public. | 07:41 |
rinigus | then the link is wrong | 07: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 OBS | 07:45 |
Umeaboy | Fixed it. | 07:47 |
Umeaboy | Now it's open. | 07:47 |
Umeaboy | You'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 |
Umeaboy | It will be a drag and drop solution. | 07:51 |
Umeaboy | Based 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 plus | 07:52 |
Umeaboy | It's like putting the cookie dough in the oven and watch the transformation happen without knowing how it works underneath. | 07:52 |
Umeaboy | Cool! :) | 07:52 |
Umeaboy | However I can't seem to find that it comes with Android 9. | 07:55 |
Umeaboy | Or does it? | 07:55 |
T42 | <pr0m3th3u569> As I am new to the whole porting think Please do help | 07:55 |
Umeaboy | Android isn't officially supported yet. | 07:55 |
Umeaboy | My mistake. | 07:56 |
Umeaboy | It is unofficially supported by Lineage-16.0 which mer-hybris can build on. | 07:56 |
Umeaboy | https://forum.xda-developers.com/t/rom-unofficial-9-0-dragon-lineageos-16-0-2019-10-08.3900074/ | 07:56 |
Umeaboy | Here's the device tree for dragon: https://github.com/hritikutekar/android_device_nokia_Dragon/tree/lineage-16.0 | 08:33 |
Umeaboy | I think I found a tree that I can use to build LOS-16.0 with. :) | 09:12 |
Umeaboy | https://github.com/AndroidBlobs/device_samsung_beyond2/tree/beyond2ltexx-user-9-PPR1.180610.011-FA90_G975FXXU2ASF1-release-keys | 09:12 |
Umeaboy | I could be wrong though. | 09:13 |
Umeaboy | It has a make file for lineage. | 09:13 |
T42 | <KernelPanix> @Umeaboy [https://github.com/AndroidBlobs/device_samsung …], some edit | 09:57 |
T42 | <KernelPanix> :))) | 09:57 |
T42 | <ankaos> Fwd from ankaos: https://ankaos.org/index.php?topic=2.msg2#msg2 | 10:01 |
T42 | <ankaos> Fwd from ankaos: ı build sailfish os | 10:01 |
T42 | <ankaos> Finish xd | 10: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 release | 12: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:anbox | 12: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-hal | 12:14 |
T42 | <elros34> it should be used byt sailfish instead that one in /system | 12:15 |
T42 | <elros34> IIRC order of checking that libs is in libhardware | 12: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-hal | 12:17 |
T42 | <edp_17> Okay, thanks. | 12:18 |
T42 | <elros34> at leats that was true for hwcomposer libs when I have built it | 12:18 |
T42 | <elros34> I hope you enabled all needed changes for anbox in kernel | 12:19 |
T42 | <elros34> anyway I might be wrong about that GLES libs but still is worth to try | 12: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 found | 12: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-submodules | 13: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 Version | 13: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 RepoHook | 13:04 |
T42 | <A_T_R> File "/home/iatr/hadk/.repo/repo/hooks.py", line 472 | 13: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-submodules | 13:06 |
T42 | <A_T_R> repo: war …], from HABUILD_ (ubuntu chroot) | 13:06 |
T42 | <A_T_R> this from host | 13: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 find | 13:13 |
T42 | <A_T_R> ok | 13: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-16 | 13:14 |
T42 | <ankaos> python3 $(which repo) sync --fetch-submodules | 13:15 |
T42 | <ankaos> @A_T_R test pleaser | 13:15 |
T42 | <A_T_R> okk | 13: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_SDK | 13:19 |
T42 | <ankaos> Use pc. | 13:20 |
T42 | <A_T_R> okk | 13:20 |
T42 | <A_T_R> @ankaos [Use pc.], from host_pc | 13: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 error | 13:27 |
T42 | <neochapay> @A_T_R [from host_pc | 13:28 |
T42 | <neochapay> iatr@Core2Duo:~/hadk$ python3 $( …], Access rules | 13:28 |
T42 | <A_T_R> @A_T_R [repo sync —fetch-submodules | 14:03 |
T42 | <A_T_R> this from host …], thanks now works | 14: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 sfos | 15:04 |
T42 | <ankaos> so what? | 15:12 |
T42 | <linusdan> @elros34 | 16: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*. WRITE | 17:04 |
T42 | <A_T_R> ˓→ALL IN ONE LINE(: | 17:04 |
T42 | <A_T_R> (Photo, 640x1280) https://irc.thaodan.de/.imgstore/Ile0B9HprT.png | 17:06 |
T42 | <Heng %lastname%> use cat instead of just typing the filename | 17:27 |
T42 | <Heng %lastname%> just typing the filename is trying to execute the files @A_T_R | 17: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 …], event1 | 17:30 |
T42 | <A_T_R> thanks | 17:30 |
T42 | <Heng %lastname%> How do I set the power button action? | 17:44 |
T42 | <Heng %lastname%> power button shuts down my tablet | 17:44 |
T42 | <Heng %lastname%> there is no /etc/acpi | 17:44 |
T42 | <Heng %lastname%> tablet is mainline x86 so it uses ACPI for power management i think | 17:45 |
T42 | <Heng %lastname%> also how do I change the "Manufacteurer" and "Product Name" ? | 17:49 |
T42 | Anthony %lastname% was added by: Anthony %lastname% | 17:58 |
T42 | <elros34> Did you get evdev event when you press power button? evdev_trace -t | 18:58 |
T42 | <Heng %lastname%> @elros34 KEY_POWER and SYN_REPORT are being sent | 19:05 |
T42 | <Heng %lastname%> from event12 and event 24 | 19:05 |
T42 | <Heng %lastname%> @elros34 | 19:05 |
T42 | <ankaos> touch or keys? | 19:12 |
T42 | <Heng %lastname%> @ankaos [touch or keys?], what do you mean? it's power button | 19:13 |
T42 | <ankaos> kernel problem | 19:13 |
T42 | <ankaos> sorry :( | 19:13 |
T42 | <Heng %lastname%> shutdown -h now works perfectly | 19:13 |
T42 | <ankaos> wrong gruop | 19: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 also | 19:22 |
T42 | <Heng %lastname%> like when i press a button on physical keyboard | 19:22 |
T42 | <Heng %lastname%> it repeats | 19: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 up | 19:37 |
T42 | <Heng %lastname%> lemme get you modules list | 19:37 |
T42 | <Heng %lastname%> @elros34 Here is `lsmod` | 19:48 |
T42 | <Heng %lastname%> https://gist.github.com/HengYeDev/bffd1a29c5d0b45318ee38b6584bbbfa | 19: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 modules | 19:56 |
T42 | <Heng %lastname%> so @elros34 I should block one of event12 and event24? | 20:00 |
T42 | <elros34> I guess | 20:02 |
T42 | <Heng %lastname%> @elros34 they seem to be using keyboard driver | 20:17 |
T42 | <Heng %lastname%> therefore i don't think i can blacklist | 20:23 |
T42 | <Heng %lastname%> other options to fix? maybe it's the power management shutting down because of config? @elros34 | 20:28 |
mal | kalube: I need to rebase the changes to hybris 17 and add some patches on top and then make test builds | 20:30 |
kalube | Ok cool, thanks | 20:30 |
T42 | <elros34> Heng Ye probably it is configurable in dsme or mce but I don't know exact place, you need to read source | 20: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 shutdown | 20:33 |
T42 | <Heng %lastname%> maybe it's key repeating config? @elros34 | 20:33 |
T42 | <elros34> maybe, I never configured it. If you run dsme or mce in more verbose mode maybe you will sopt something | 20:42 |
T42 | <Heng %lastname%> @elros34 where is the dsme and mce source code? | 21:13 |
T42 | <Heng %lastname%> cant find on github | 21: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 shutdown | 22:07 |
T42 | <Heng %lastname%> but probably not since that requires 5seconds | 22:09 |
T42 | <Heng %lastname%> probably is this: https://git.sailfishos.org/mer-core/mce/blob/master/powerkey.c | 22: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/!