Qiangong2 | I'm at the buildpackages.sh script of the hadk, but it always fails with "Installed but unpackaged files found" | 01:40 |
---|---|---|
Qiangong2 | Only thing that could be it is this: "Can't open ./out/target/product/jfltetmo/vendor/ueventd.rc: No such file or directory at rpm/dhd/helpers/makeudev line 35, <> line 294." | 01:42 |
Qiangong2 | Any ideas? | 01:42 |
*** Sailor11178 is now known as rydare | 05:33 | |
tmp64 | I modified device tree files as stated here https://superuser.com/questions/860820/fbcon-use-android-msm-framebuffer-device-for-boot-console | 05:55 |
tmp64 | Now I can see backlight turning on and off when I press the pwr button | 05:55 |
tmp64 | But the screen is completely black | 05:56 |
tmp64 | Without dtsi mods, it just stays on the fastboot screen | 06:33 |
tmp64 | There is alson an error "no compositor; going to logical off" in mce log | 06:34 |
tmp64 | Also* | 06:39 |
tmp64 | /sys/class/graphics/fb0/msm_fb_panel_status says "dead" while in Android it says "alive" | 06:40 |
echo_salik | i am having this error: https://paste.ubuntu.com/p/4x53rh6chT/ | 08:31 |
echo_salik | the error part is sayng this: Caused by: java.lang.IllegalArgumentException: Failed to load any of the given libraries: [conscrypt_openjdk_jni-linux-x86_64, conscrypt_openjdk_jni-linux-x86_64-fedora, conscrypt_openjdk_jni] | 08:32 |
echo_salik | whole error log in the link above | 08:32 |
echo_salik | r0kk3rz: now i have posted the whole log... | 08:33 |
echo_salik | anyone? | 09:16 |
kimmoli | should that even build any .apk? | 09:21 |
echo_salik | kimmoli: i dont kno | 09:33 |
echo_salik | hey all... anyone has the idea regarding the error? | 10:07 |
echo_salik | Sorry if someone posted the solution... my internet is disconnecting again and again... | 10:08 |
echo_salik | oh just came to know about chat logs... | 10:14 |
mal | echo_salik: I always build android 8 based android side directly in ubuntu 18.04 not in HABUILD_SDK | 10:16 |
mal | the error seems some java environment related issue | 10:17 |
echo_salik | oh... so should i install openjdk in habuild_sdk? | 10:18 |
echo_salik | or should i build it in ubuntu directly | 10:19 |
mal | habuild has java already, not sure which version | 10:20 |
echo_salik | openjdk version "1.8.0_171" | 10:22 |
echo_salik | OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-2~14.04-b11) | 10:22 |
echo_salik | OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode) | 10:22 |
echo_salik | mal: so what should my next step be? install JDK on my ubuntu main or try to update in habuild_sdk? | 10:24 |
mal | echo_salik: which host os do you run? | 10:25 |
echo_salik | Linux 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | 10:26 |
echo_salik | KDE Neon with Ubuntu 16.04 base | 10:26 |
mal | maybe try build on host then, only the hybris-hal part of course | 10:26 |
tmp64 | So, I fixed kernel panics and mce stall. Now I have problems with display. | 10:27 |
echo_salik | ok... so i should just install openjdk-8-jdk? | 10:27 |
echo_salik | i dont have java on my system... | 10:27 |
mal | build need some java so yes | 10:28 |
echo_salik | ok... thanks mal! | 10:29 |
tmp64 | 1) With no kernel modifications screen only has fastboot text and ASUS logo. 2) Removing "qcom,cont-splash-enabled;" from *.dtsi shows black screen and sometimes I see backlight change when I press the power button | 10:29 |
tmp64 | I also get a composer error in journalctl -u mce | 10:30 |
tmp64 | no compositor; going to logical off | 10:30 |
mal | tmp64: what do you mean with no kernel modifications? | 10:33 |
tmp64 | mal: Sorry, didn't notice your message | 10:45 |
tmp64 | Without removing "qcom,cont-splash-enabled;" from *.dtsi in arch/arm64/boot/dtb/qcom | 10:45 |
tmp64 | I found that here: https://superuser.com/questions/860820/fbcon-use-android-msm-framebuffer-device-for-boot-console | 10:45 |
echo_salik | hey mal, i get the same error | 10:47 |
echo_salik | https://hastebin.com/ahomivirew.rb | 10:47 |
mal | echo_salik: maybe try disabling the broken package from your device repo, it should be defined there somewhere | 11:25 |
echo_salik | mal: by device repo you mean that Android.mk file in devices/xiaomi/rolex? | 11:46 |
mal | echo_salik: yes, something like that | 11:57 |
echo_salik | mal: build succeeded when i disabled TimeService.apk from vendor/xiaomi/rolex/Android.mk | 13:37 |
echo_salik | thanks mal! | 13:38 |
tmp64_ | So, what do I do if all I see on the screen is "Fastboot Mode !!!" and ASUS and Android logos? | 15:06 |
elros1 | I would say read faq-hadk, there is important note about 14.1 and no display debugging | 15:30 |
r0kk3rz | tmp64: how far did you get? has sfos booted properly and dhi completed | 15:32 |
tmp64 | r0kk3rz: I think so | 15:33 |
tmp64 | elros1: Yeah, I've just found it | 15:33 |
r0kk3rz | always good to check logs for androidy services failing and such | 15:34 |
tmp64 | Logcat says "logcat read failure" | 15:36 |
elros1 | do you have needed symlinks? | 15:37 |
tmp64 | The ones from "Notes on LOS14.1 Porting"? I should | 15:38 |
tmp64 | Checked it, I do | 15:38 |
tmp64 | Wait a sec, I have logd disabled in /system/bin | 15:40 |
tmp64 | Nope, no effect | 15:42 |
elros1 | so check droid-hal-init | 15:43 |
tmp64 | Active: active (running) | 15:45 |
tmp64 | init-done.service is stuck | 15:46 |
tmp64 | /usr/bin/setprop sys.boot_completed 1 is stuck | 15:46 |
elros1 | it's always better to post whole logs | 15:47 |
tmp64 | strace setprop test 0 https://hastebin.com/ivuyeqibig.pl | 15:49 |
tmp64 | strace test_hwcomposer stops on the same line | 15:50 |
elros1 | so check journactl | 15:50 |
elros1 | and dmesg | 15:51 |
tmp64 | https://hastebin.com/iwoqekuhid.rb | 15:53 |
elros1 | ls -al /usr/libexec/droid-hybris/system/etc/init/ | 15:57 |
tmp64 | My symlinks are wrong | 15:57 |
elros1 | I knew it | 15:58 |
elros1 | :) | 15:58 |
tmp64 | Yeah, my fault :) I was like "i am smart" and created them in android's adb shell | 15:59 |
r0kk3rz | !seen Nokius | 16:02 |
merbot | r0kk3rz: Nokius was last seen in #sailfishos-porters 2 weeks, 3 days, 20 hours, 23 minutes, and 14 seconds ago: <Nokius> r0kk3rz[m]: let me test | 16:02 |
tmp64 | test_hwcomposer is working! | 16:02 |
tmp64 | Thank you, elros1 and r0kk3rz | 16:04 |
r0kk3rz | woo! | 16:06 |
tmp64 | Lipstick failed to start because it could not find or load the Qt platform plugin "xcb" in "". Available platform plugins are: hwcomposer, minimal, wayland-egl, wayland. | 16:06 |
tmp64 | When I run lipstick in console | 16:06 |
r0kk3rz | yeah i think you dont want to do that | 16:07 |
tmp64 | Ok | 16:07 |
tmp64 | Just wanted to check it | 16:07 |
r0kk3rz | theres probably a bunch of env vars you need to pass to it | 16:08 |
r0kk3rz | if test_hwcomposer works then setting up the config and rebooting should be enough | 16:08 |
tmp64 | I had fbdev in "/var/lib/environment/compositor/droid-hal-device.conf" | 16:09 |
elros1 | why fbdev? | 16:09 |
tmp64 | Changed it to hwcomposer | 16:09 |
tmp64 | For testing | 16:09 |
tmp64 | It's alive! :D | 16:10 |
Yardanico | congrats! | 16:12 |
tmp64 | Thanks | 16:12 |
vknecht | what would it take to make this GUI OTA checker ? using a combination of libssu and/or libzypp and/or PackageKit I guess ? any thought or source of inspiration ? | 16:13 |
r0kk3rz | vknecht: tbh its mostly just a http request | 16:15 |
vknecht | ah, for just for checking, yes probably... I was thinking about "updater", so doing the whole https://wiki.merproject.org/wiki/Template:SFOS_OTA operation | 16:16 |
r0kk3rz | ah yeah | 16:17 |
r0kk3rz | thats mostly just a matter of getting the right release number | 16:18 |
r0kk3rz | i think there was an updatery thing that NeoChapay did for nemo that could be useful here | 16:18 |
vknecht | I guess the http request should check the "revision" field of the repomd.xml ? I'll dig in nemomobile, thanks :) | 16:22 |
r0kk3rz | anyone know how this anbox stuff is supposed to work? | 16:50 |
r0kk3rz | mal: ? | 16:50 |
vknecht | r0kk3rz, you mean how to run it ? | 16:53 |
r0kk3rz | yes | 16:54 |
r0kk3rz | i have patches, and i have installed the thing | 16:55 |
vknecht | https://pastebin.com/xQmXyC0d those are my notes | 16:55 |
r0kk3rz | the service doesnt want to run | 16:55 |
vknecht | maybe the anbox-bridge.sh lines to comment in service file | 16:56 |
Yardanico | wait anbox already works? can it run actual android apps already? :D | 17:00 |
r0kk3rz | vknecht: aha! thanks | 17:00 |
vknecht | you're welcome :) | 17:01 |
r0kk3rz | Yardanico: depends on what you mean by run :) | 17:01 |
Yardanico | r0kk3rz, well, apps like WhatsApp (yes, a lot of people still use it) | 17:02 |
r0kk3rz | yeah... its too experimental for like, actual use | 17:03 |
r0kk3rz | well it worked once... | 17:21 |
vknecht | yeah, have to restart service about every time you want to run an app | 17:22 |
r0kk3rz | i rebooted the device and it still wont chooch | 17:23 |
r0kk3rz | mal: if i want to change the build.prop in anbox, how does do? | 17:41 |
r0kk3rz | hmm, i wonder if we can replace this anbox session manager with something more defaulty | 18:02 |
r0kk3rz | ah i see, we're way behind on actual anbox development | 18:05 |
r0kk3rz | i see a bunch of recentish commits about wayland support for instance | 18:05 |
vknecht | sounds interesting :) | 18:07 |
mal | r0kk3rz: put it to overlay folder | 19:01 |
mal | to correct place under there | 19:01 |
mal | r0kk3rz: my local version is much less behind upstream anbox | 19:02 |
r0kk3rz | i noticed :) | 19:03 |
mal | r0kk3rz: once I finish the gnss support for android 8 I can hopefully do some anbox work again | 19:04 |
r0kk3rz | yeah it kinda works | 19:06 |
r0kk3rz | fixing the multiwindow stuff would be good | 19:06 |
mal | r0kk3rz: yep, that would be nice, there are some issues why we can't use the upstream version directly, it doesn't like pure wayland | 19:08 |
mal | something about buffer allocation etc | 19:08 |
r0kk3rz | oh ok | 19:12 |
ohyash_ | how would sailfish work on a 512MB Ram tablet? | 19:21 |
ohyash_ | even bigger question. how can one port sailfish to a generic chinese device with no source available and especially no device tree | 19:22 |
r0kk3rz | with great difficulty | 19:23 |
ohyash_ | yay | 19:23 |
ohyash_ | more like great annoyance for the experts here because I'd come up with hell lot of weird problems then | 19:24 |
ohyash_ | Might have to reconsider this plan | 19:24 |
*** ohyash_ is now known as OhYash | 19:25 | |
TheKit | OhYash, biggest issue is kernel | 19:27 |
TheKit | systemd won't boot without cgroups or devtmpfs support, workarounding this is pain | 19:28 |
OhYash | TheKit, I think I got the kernel, its AllWinner A23 sun8i. https://github.com/libv/linux-sunxi/tree/a23sdk_frankenkernel | 19:31 |
TheKit | does it boot to Android with all the components supported? | 19:31 |
OhYash | It came with android. That works well. I haven't even rooted it yet, let alone trying this kernel. | 19:32 |
OhYash | Most of the things are here http://dl.linux-sunxi.org/SDK/A23-v1.0/unpacked/A23/ | 19:39 |
elros1 | OhYash: I make sfos for A33 so certainly it's possible to port it to A23 which has better kernel support | 20:39 |
elros1 | unfounately it wasn't smooth, there were some errors in logs about buffers count | 20:40 |
OhYash | elros1, sounds good. And what did you do about the device tree and the vendor dir? Not reqiured? | 20:58 |
elros1 | I used a33 sdk: it contains everything like kernel, android tree and gcc. I just needed to adapt it little to my device | 20:59 |
OhYash | oh, the sdk | 20:59 |
OhYash | cool | 20:59 |
OhYash | just have to test the sdk to check if that runs (as such, android) as TheKit mentioned. and then I have you to ping when I have problems :D | 21:01 |
OhYash | Oh, btw you must be having the changes over SDK on your github right? | 21:01 |
elros1 | as I said perfromancee was poor so I didn't publish it (except kernel) but I think I have all changes | 21:03 |
OhYash | no prob | 21:04 |
OhYash | whats your A33 device config tho? | 21:04 |
elros1 | here is kernel: https://github.com/elros34/a33_linux | 21:04 |
elros1 | few changes was needed but for example in a31 to make it boot with gui I had to add 2 lines of code | 21:05 |
elros1 | It's for android obviously | 21:06 |
OhYash | always wondering how do people modify the huge ass configs. I can see errors when they come, just never know what to do to fix it. | 21:08 |
OhYash | my A23 runs on a 512MB Ram. I expect worse performance. | 21:09 |
elros1 | with allwinner you have sys_config.fex which is like device tree so you can extract it from device and then enable needed drivers in kernel | 21:09 |
OhYash | ah, thanks looking into fex | 21:10 |
OhYash | found it I guess http://dl.linux-sunxi.org/SDK/A23-v1.0/unpacked/A23/lichee/tools/pack/chips/sun8iw3p1/configs/android/polaris-p2/ | 21:11 |
elros1 | yes, but its device specific so you need to extrac it from you tablet and replace | 21:13 |
OhYash | oh, ok | 21:17 |
Keij0 | Hi | 22:31 |
Keij0 | After the latest update rotation broke on my port | 22:35 |
Keij0 | messwerk shows data from rotation sensor but the OS doesn't rotate the display | 22:36 |
elros1 | do you have hw-settings.ini ? | 22:39 |
Keij0 | what is the path to it? | 22:40 |
elros1 | example is in faq-hadk | 22:41 |
elros1 | also put https://git.merproject.org/mer-core/sensorfw/blob/master/config/60-sensors-DEVICE.conf in /etc/sensorfw/sensord.conf.d/ | 22:41 |
Keij0 | kay, I'll do it tomorrow, is that something that got introduced in this update? It was working before | 22:43 |
elros1 | yes, it was introduced lately | 22:44 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!