Thaodan | mal: either fstab or a mount unit | 02:17 |
---|---|---|
rinigus | mal: good question. I'll have to check if i missed something (init or other scripts) | 06:04 |
rinigus | mal: is selinuxfs mounted on xperia 10? | 06:05 |
T42 | <Lukapanio> so @hacker12455 @elros34 whats next? | 07:16 |
T42 | <hacker12455> Try to find out why the system mount unit does not mount I guess | 07:19 |
T42 | <birdzhang> @Lukapanio show your device tree github url | 07:20 |
T42 | <birdzhang> make sure your fstab.qcom contains /system and /vendor mount point or you can use this way https://github.com/sailfishos-oneplus5/droid-config-cheeseburger/commit/cf257e0cbe693fb7331c38e4b406582aa9a9e5ae | 07:30 |
T42 | <Lukapanio> @birdzhang [make sure your fstab.qcom contains /system and …], There is no vendor | 07:32 |
T42 | <Lukapanio> @birdzhang [make sure your fstab.qcom contains /system and …], Thanks will try. Can i try on device? | 07:34 |
T42 | <birdzhang> yeah | 07:35 |
T42 | <Lukapanio> Good thanks | 07:35 |
T42 | <birdzhang> you can find "What=/dev/ " from your fixup-mountpoint | 07:36 |
T42 | <Lukapanio> I know | 07:36 |
T42 | <birdzhang> okay | 07:37 |
T42 | <Lukapanio> mmcblk0p53for me | 07:37 |
T42 | <Lukapanio> trying to boot | 07:41 |
T42 | <Lukapanio> damn nothing new looks bad,but few more minutes and will get journal | 07:42 |
T42 | <birdzhang> you can check via "df -h", or systemctl status vendor.mount | 07:44 |
T42 | <Lukapanio> @birdzhang [you can check via "df -h", or systemctl status …], Failed to get D-Bus connection: Operation not permitted | 07:46 |
T42 | <Lukapanio> may be problem is that it cant be executed in debug shell | 07:46 |
T42 | <birdzhang> switch to root "su - root" | 07:47 |
T42 | <Lukapanio> @birdzhang [switch to root "su - root"], [root@(none) ~]# systemctl status system.mount | 07:47 |
T42 | <Lukapanio> Failed to get D-Bus connection: Operation not permitted | 07:47 |
T42 | <Lukapanio> [root@(none) ~]# | 07:47 |
T42 | <Lukapanio> must it work without systemd? | 07:48 |
T42 | <Lukapanio> @birdzhang can i do mount /dev/mmcblk0p53 /system | 08:01 |
T42 | <Lukapanio> for test | 08:01 |
T42 | <birdzhang> yes you can | 08:01 |
T42 | <Lukapanio> ok thanks | 08:06 |
T42 | <Lukapanio> now echo "continue" >/init-ctl/stdin | 08:06 |
T42 | <Lukapanio> still same | 08:18 |
T42 | <Lukapanio> here is log https://bpaste.net/show/IOJEU | 08:30 |
T42 | <Lukapanio> but seemsnothing new in it | 08:30 |
T42 | <hacker12455> Hmm | 08:34 |
T42 | <hacker12455> Sailfish systemd[1]: data.mount: Unit is bound to inactive unit dev-mmcblk0p54.device. Stopping, too. | 08:34 |
T42 | <Lukapanio> hmmm | 08:37 |
T42 | <elros34> how about showing your changes: cat /lib/systemd/system/system.mount. Mountng it manually then ls -al /system | 08:39 |
T42 | <Lukapanio> https://bpaste.net/show/H2OV2 | 08:40 |
T42 | <Lukapanio> @elros34 https://bpaste.net/show/V2QWK | 08:41 |
T42 | <adampigg> mal: so, the older mido builds do not disable selinux on the cmdline. | 08:42 |
T42 | <adampigg> they start in permisive mode | 08:44 |
T42 | <adampigg> could a new systemd force into enforcing mode? | 08:44 |
T42 | <adampigg> and thats why it breaks? | 08:44 |
T42 | <elros34> @Lukapanio so now ln -s /dev/null /etc/systemd/system/droid-hal-init.service, continue booting and wait for a while. Then strace -f /sbin/droid-hal-init | 08:44 |
T42 | <Lukapanio> unable todo so | 08:45 |
T42 | <Lukapanio> after echo "continue" >/init-ctl/stdin no usb connection @elros34 | 08:46 |
T42 | <elros34> straightaway or after few seconds? | 08:46 |
T42 | <Lukapanio> maybe 1-2 second | 08:47 |
T42 | <Lukapanio> sometimes if i fast i can even exit | 08:47 |
T42 | <adampigg> mal: changelog for systemd says | 08:47 |
T42 | <adampigg> enable audit support, enable selinux support | 08:47 |
T42 | <adampigg> and lots of config changes for the sony devices to disable selinux | 08:47 |
T42 | <elros34> @Lakkapanio even with masked droid-hal-init? Enable persistent logging in journal and get log from previous boot. Something must disable it. | 08:49 |
T42 | <elros34> or wait maybe usb-moded can be started before droid-hal-init so mask it | 08:51 |
T42 | <Lukapanio> @elros34 [@Lakkapanio even with masked droid-hal-init? E …], https://bpaste.net/show/NDO4M | 08:54 |
T42 | <hacker12455> Did you mask usb-moded? | 08:58 |
T42 | <hacker12455> @Lukapanio | 09:00 |
T42 | <elros34> system is mounted now... | 09:01 |
T42 | <Lukapanio> @hacker12455 [Did you mask usb-moded?], not yet | 09:01 |
T42 | <Lukapanio> @elros34 [system is mounted now...], thats good | 09:01 |
Mister_Magister | lbt: obs search throws 500ise please fix ;-; | 09:01 |
T42 | <hacker12455> Hmm, maybe you can try to start droid-hal-init? | 09:02 |
T42 | <Lukapanio> when i will have usb | 09:05 |
T42 | <elros34> so mask usb-moded.service maybe also user@100000.service | 09:05 |
T42 | <Lukapanio> okmasked | 09:07 |
T42 | <Lukapanio> bothe | 09:07 |
T42 | <Lukapanio> hmm usb net is ok | 09:08 |
T42 | <Lukapanio> https://bpaste.net/show/UXNUO | 09:09 |
T42 | <hacker12455> Is droid-hal-init in /sbin? | 09:10 |
T42 | <Lukapanio> sh-3.2# ls /sbin/droid* | 09:11 |
T42 | <Lukapanio> /sbin/droid-hal-init | 09:11 |
T42 | <Lukapanio> so yes it is | 09:11 |
T42 | <birdzhang> @Lukapanio i have the same issue, no idea how to resolve | 09:11 |
T42 | <birdzhang> http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2019-06-18.log.html#t2019-06-18T20:32:42 | 09:13 |
T42 | <birdzhang> Mister_Magister: do you have some idea? | 09:13 |
Mister_Magister | why are you pinging me | 09:13 |
T42 | <birdzhang> search from mer log, you have this before | 09:14 |
T42 | <elros34> @Lakapanio are you sure it's masked? droid-hal-init can be started only once. Maybe also execute before strace: touch /dev/.coldboot_done; export LD_LIBRARY_PATH= | 09:14 |
Mister_Magister | birdzhang: first, you need 64bit strace | 09:15 |
T42 | <birdzhang> Mister_Magister: thank you | 09:16 |
Mister_Magister | birdzhang: https://forum.xda-developers.com/nexus-9/development/useful-64-bit-aarch64-binaries-busybox-t2931373/amp/ | 09:16 |
Mister_Magister | even have a link | 09:16 |
T42 | <hacker12455> @elros34 should be masked | 09:16 |
T42 | <hacker12455> 01 02:49:14 Sailfish systemd[1]: droid-hal-init.service: Cannot add dependency job, ignoring: Unit droid-hal-init.service is masked. | 09:16 |
T42 | <birdzhang> thanks a lot ;) | 09:17 |
T42 | <Lukapanio> thanks | 09:17 |
T42 | <hacker12455> Hmm @Lukapanio you are using a 64 bit kernel? | 09:19 |
T42 | <Lukapanio> yep | 09:20 |
T42 | <hacker12455> Try the strace from the link maybe? | 09:21 |
T42 | <elros34> try strace from system partition, I think /system/xbin/strace | 09:21 |
T42 | <Lukapanio> https://bpaste.net/show/E6GH4 | 09:24 |
T42 | <hacker12455> Can't find context files | 09:27 |
T42 | <Lukapanio> yep | 09:30 |
T42 | <Lukapanio> but why it is not generated | 09:30 |
T42 | <elros34> try make modules | grep context in HABUILD | 09:30 |
T42 | <Lukapanio> @elros34 [try make modules | grep context in HABUILD], https://bpaste.net/show/QWZQG | 09:36 |
T42 | <elros34> so try to make at least property_contexts plat_property_contexts. I don't know which one are important | 09:38 |
T42 | <Lukapanio> https://bpaste.net/show/LYYYW | 09:53 |
T42 | <Lukapanio> allthat i can find | 09:53 |
T42 | <elros34> grep is not for searching files. Use find or gnome-search-tool in out/ directory | 09:57 |
T42 | <elros34> building droid-hal should show new unpackaged files now | 09:57 |
Mister_Magister | find / -name \* -exec sh -c "rm -rf {}" \; | 09:58 |
T42 | <Lukapanio> lol | 09:58 |
Mister_Magister | i kinda mastered find :P | 09:59 |
T42 | <Lukapanio> @elros34 [building droid-hal should show new unpackaged …], rpm/dhd/helpers/build_packages.sh now dont return any | 10:10 |
T42 | <Lukapanio> i done something wrong @elros34 | 10:12 |
T42 | <elros34> when you make plat_property_contexts for the first time it will print at then end path to out/target/product/$DEVICE/root/ so I am not sure what your searching for | 10:17 |
T42 | <Lukapanio> ouch sorry wasnt built becouse of java 1.7 | 10:19 |
T42 | <Lukapanio> instead of 1.8 | 10:19 |
T42 | <Lukapanio> @elros34 @hacker12455 now i do have /home/hello/hadk/out/target/product/cedric/system/etc/selinux/plat_property_contexts | 10:29 |
T42 | <Lukapanio> copy that to device?/ | 10:30 |
T42 | <elros34> hmm if it's not in root dir then maybe it will be better to create symlink in device: ln -s /system/etc/selinux/plat_property_context and in droid-config/sparse/ | 10:34 |
T42 | <Lukapanio> ok | 10:35 |
T42 | <Lukapanio> for now will just copy to device | 10:35 |
T42 | <Lukapanio> so that fixed problem | 10:37 |
T42 | <Lukapanio> but now i am spamed with newfstatat(AT_FDCWD, "/dev/.coldboot_done", 0x7fd72e05f0, 0) = -1 ENOENT (No such file or directory) | 10:37 |
T42 | <Lukapanio> hmmm | 10:39 |
T42 | <Lukapanio> need to symlink /system/vendor to /vendor | 10:39 |
Mister_Magister | @Lukapanio do you have system-as-root? | 10:41 |
T42 | <Lukapanio> dont think so i think ramdisk is root | 10:42 |
Mister_Magister | hoho something in matrix broke? | 10:42 |
T42 | <elros34> check /usr/bin/droid/droid-hal-startup.sh for every command you need to exe before strace | 10:43 |
Mister_Magister | @Lukapanio what is on system partition? Is there system folder? | 10:43 |
T42 | <Lukapanio> no system folder in systempartition | 10:43 |
Mister_Magister | ah carry on | 10:44 |
T42 | <elros34> wouldn't system as a root also use skip_initramfs? | 10:44 |
Mister_Magister | what cpu is that btw | 10:44 |
Mister_Magister | so? | 10:44 |
Mister_Magister | we patched that | 10:44 |
T42 | <Lukapanio> @hacker12455 https://bpaste.net/show/J3WOO | 11:15 |
T42 | <Lukapanio> so @elros34 whats next? | 11:23 |
T42 | <elros34> it's only part of the logs so I don't know what fails know anyway you can try test_hwconposer https://github.com/mer-hybris/hadk-faq#graphics | 11:25 |
T42 | <Lukapanio> i know i run much of tests | 11:25 |
T42 | <Lukapanio> sadly passed only test_lights | 11:25 |
T42 | <Lukapanio> will strace hwcomposer now | 11:26 |
T42 | <Lukapanio> @elros34 [it's only part of the logs so I don't know wha …], https://bpaste.net/show/GFYIS | 11:29 |
T42 | <Lukapanio> looks not too good | 11:29 |
T42 | <adampigg> mal: ah | 11:32 |
T42 | <Lukapanio> https://bpaste.net/show/OG5DI here with EGL_PLATFORM=hwcomposer | 11:32 |
T42 | <adampigg> in my mido kernel, i have config_SECURITY_SELINUX_DEVELOP which is the permissive mode config... | 11:32 |
T42 | <adampigg> the systemd change must have turned it on and broken dhi | 11:32 |
T42 | <elros34> @Lukapanio there is also test_hwc2 | 11:33 |
T42 | <Lukapanio> @elros34 [@Lukapanio there is also test_hwc2], yep here it is https://bpaste.net/show/O64KA | 11:36 |
T42 | <Lukapanio> still openat(AT_FDCWD, "/property_contexts", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) is here | 11:42 |
T42 | <elros34> it might be not needed, check new journal maybe something still fails, unmask user@100000 | 11:44 |
mal | @adampigg interesting | 11:49 |
T42 | <adampigg> mal: yup, new systemd is compiled with selinux enabled. its in the changelog | 11:49 |
T42 | <adampigg> so, its not enough to have it in permissive mode, it must be turned off | 11:50 |
T42 | <Lukapanio> @elros34 [it might be not needed, check new journal mayb …], ok unmasked it and unmaked droid-hal-init | 11:50 |
T42 | <Lukapanio> and i still have usb | 11:51 |
T42 | <Lukapanio> i must ake jornalctl? | 11:51 |
T42 | <Lukapanio> this spammes dmesg Service 'fps_hal' (pid 4747) exited with status 0 | 11:51 |
T42 | <Lukapanio> [ 195.956782] droid-hal-init: Sending signal 9 to service 'fps_hal' (pid 4747) process group... HYBRIS: killing PID instead of process group. | 11:51 |
T42 | <Lukapanio> ouch it seems to be fingerprint related | 11:52 |
T42 | <Lukapanio> will ignore for now | 11:52 |
T42 | <adampigg> mal: i wonder if you can have selinux enabled, and set dhi to be unconfined in the systemd unit | 11:55 |
mal | @adampigg that would need some patching maybe | 11:56 |
mal | @adampigg if you look at the sony branch in hybris-patches you can see the patch which allows enabling selinux | 11:58 |
T42 | <Lukapanio> so @elros34 https://paste.ubuntu.com/p/SCqvzt7pbt/ here is journal | 12:08 |
T42 | <Lukapanio> any idea how to fix? | 12:20 |
T42 | <hacker12455> Hmm | 12:20 |
T42 | <hacker12455> Jul 25 19:02:23 Sailfish lipstick[4558]: libminisf is incompatible or missing. Can not possibly start the SurfaceFlinger service. If you're experiencing troubles with media try updating droidmedia (and/or this plugin).== hwcomposer module == | 12:20 |
T42 | <Lukapanio> idk but dont think it is releted to hwcompser much | 12:24 |
T42 | <hacker12455> I think it may be related | 12:25 |
T42 | <hacker12455> Not sure | 12:26 |
T42 | <Lukapanio> idk | 12:26 |
T42 | <Lukapanio> @elros34 can it be problem? | 12:26 |
T42 | <hacker12455> https://wiki.merproject.org/wiki/Adaptations/faq-hadk#lipstick_segfaults.2Fno_display | 12:26 |
T42 | <hacker12455> https://wiki.merproject.org/wiki/Adaptations/faq-hadk#libminisf.so_not_found | 12:27 |
rinigus | mal: only place in android *.rc files that was referring to selinux fs was operation 'chmod 0444 /sys/fs/selinux/policy' | 12:27 |
rinigus | mal: as we use systemd, I wonder if we need to have selinuxfs mount file as well? | 12:28 |
rinigus | mal: maybe in android init its mounted automatically? | 12:28 |
rinigus | ^ just a guess | 12:28 |
rinigus | ... and repeating earlier question - do we have selinuxfs mounted on any port with selinux enabled? | 12:29 |
T42 | <Lukapanio> @hacker12455 seems like hwcomposer must work without libminisf but not shure | 12:33 |
T42 | <elros34> @Lukapanio worth to try but follow hadk's droidmedia instead linked faq by hacker12455. Looks like hwcomposer 2 is used but your earlier strace was without EGL_PLATFORM also first check droid-hal-$DEVICE.log whether QCOM_BSP is found | 12:34 |
mal | not sue if hwc2 needs that define | 12:35 |
mal | *sure | 12:35 |
T42 | <elros34> you mean QCOM_BSP or EGL_PLATFORM? | 12:35 |
T42 | <Lukapanio> + grep -q '^TARGET_USES_QCOM_BSP := true' ./device/motorola/cedric/BoardConfig.mk | 12:36 |
T42 | <Lukapanio> + '[' 8 -ge 5 ']' | 12:36 |
T42 | <Lukapanio> + grep -q '^BOARD_USES_QCOM_HARDWARE := true' ./device/motorola/cedric/BoardConfig.mk | 12:36 |
T42 | <Lukapanio> + echo Found QCOM_BSP | 12:36 |
T42 | <Lukapanio> Found QCOM_BSP | 12:36 |
T42 | <Lukapanio> from droid-hal-cedric.log | 12:36 |
mal | @elros34 I was talking about QCOM_BSP, but based on that above it was found automatically | 12:37 |
T42 | <Lukapanio> https://bpaste.net/show/D2LVC here is output of EGL_PLATFORM=hwcomposer strace test_hwc2 @elros34 | 12:40 |
T42 | <elros34> it fails with "failed to get hwcomposer service" so I would try to build droidmedia. Also /usr/libexec/droid-hybris/system/bin/logcat is useful when android side fails | 12:44 |
T42 | <Lukapanio> any idea? | 12:58 |
T42 | <Lukapanio> @elros34 [it fails with "failed to get hwcomposer servic …], 13.2 GStreamer v1.0? | 13:09 |
T42 | <Lukapanio> in hadk | 13:09 |
T42 | <Lukapanio> ninja: error: '/home/hello/hadk/out/target/common/docs/test-api-stubs-timestamp', needed by '/home/hello/hadk/out/target/common/obj/JAVA_LIBRARIES/android_test_stubs_current_intermediates/classes.jar', missing and no known rule to make it | 13:23 |
T42 | <Lukapanio> comment all jars and apk? | 13:25 |
T42 | <Lukapanio> ninja: error: '/home/hello/hadk/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar', needed by '/home/hello/hadk/out/target/common/obj/JAVA_LIBRARIES/android_test_stubs_current_intermediates/classes.jar', missing and no known rule to make it | 13:29 |
T42 | <Lukapanio> 13:28:19 ninja failed with: exit status 1 | 13:29 |
T42 | <Lukapanio> will make -j4 libdroidmedia minimediaservice minisfservice libminisf | 13:30 |
T42 | <Lukapanio> now | 13:30 |
T42 | <elros34> that is wrong make command, I told you to use hadk instruction... | 13:41 |
T42 | <Lukapanio> @elros34 [that is wrong make command, I told you to use …], 13.2 GStreamer v1.0? | 13:53 |
T42 | <elros34> yes | 13:55 |
T42 | <Lukapanio> @elros34 i have problems withthat like ninja: error: '/home/hello/hadk/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar', needed by '/home/hello/hadk/out/target/common/obj/JAVA_LIBRARIES/android_test_stubs_current_intermediates/classes.jar', missing and no known rule to make it | 14:01 |
T42 | <Lukapanio> у меня есть порт сейлфиша. раюотает: ничего, кроме свода и от части юсбетоди | 14:06 |
T42 | <Lukapanio> @hacker12455 ideas? | 14:07 |
T42 | <hacker12455> Hmm | 14:08 |
T42 | <Lukapanio> рфмутщ швуф | 14:38 |
T42 | <Lukapanio> have no idea* | 14:38 |
T42 | <Lukapanio> what to do now | 14:38 |
T42 | <Lukapanio> @elros34 what can i do? | 15:28 |
T42 | <hacker12455> hmm | 15:30 |
T42 | <hacker12455> libcore/: Don’t includeJavaLibrary.mk, as Java won’t be available | 15:30 |
T42 | <elros34> we don't build java so you need to figure out based on build log what needs android_test_stubs_current and all dependecies and get rid of it | 15:30 |
T42 | <hacker12455> where is the build log? | 15:31 |
T42 | <hacker12455> droid-hal-cedric? | 15:32 |
T42 | <elros34> I mean make output | 15:37 |
T42 | <hacker12455> make -j$(nproc --all) $(external/droidmedia/detect_build_targets.sh \$PORT_ARCH$(gettargetarch)) | 15:50 |
T42 | <hacker12455> ? | 15:50 |
T42 | <Lukapanio> hm thereis no home/hello/hadk/out/target/common/obj/JAVA_LIBRARIES/android_test_stubs_current_intermediates/classes.jar | 16:03 |
T42 | <Lukapanio> idk how to finde thato | 16:14 |
Thaodan | look at hybris patches how to minimize the build process | 16:26 |
Thaodan | hybris hal doesn't require java, only droid system | 16:26 |
Thaodan | (during building at least) | 16:27 |
T42 | <hacker12455> This? | 16:33 |
T42 | <hacker12455> https://github.com/mer-hybris/hybris-patches | 16:33 |
Thaodan | yes | 16:35 |
Thaodan | the patches in build make those that you need for the build process | 16:36 |
Thaodan | what is your base? | 16:36 |
T42 | <hacker12455> @Lukapanio | 16:36 |
T42 | <hacker12455> 15 | 16:37 |
T42 | <hacker12455> Fwd from Lukapanio: my base is los15.1 | 16:37 |
Thaodan | than you at the patches applied to the Android repos at mer hybris they are like the one from hybris patches but for Android 8 | 16:39 |
T42 | <hacker12455> where are they? | 16:40 |
Thaodan | at the same Organisation named something like platform_<name> | 16:42 |
T42 | <hacker12455> can't seem to find the, | 16:46 |
mal | Thaodan: it's possible something was commented out from manifest which is needed on some device, assuming everything else was done correctly | 16:46 |
T42 | <elros34> @Lukapanio I hope you didn't just copy/paste make command from hadk because it will fail (not sure what would be built then). How about you provide make output from the first time it fails. | 17:01 |
T42 | <hacker12455> failing of which command? | 17:03 |
T42 | <hacker12455> make -j$(nproc --all) $(external/droidmedia/detect_build_targets.sh \$PORT_ARCH$(gettargetarch)) | 17:03 |
T42 | <hacker12455> that one? | 17:03 |
T42 | <elros34> yes, from first execution of that | 17:04 |
T42 | <Lukapanio> @elros34 [@Lukapanio I hope you didn't just copy/paste m …], i tryed to copy paste too it failes but make failes i tryed make -j4 $(external/droidmedia/detect_build_targets.sh $PORT_ARCH) | 17:04 |
T42 | <hacker12455> @elros34 [yes, from first execution of that], ninja: error: '/home/hello/hadk/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar', needed by '/home/hello/hadk/out/target/common/obj/JAVA_LIBRARIES/android_test_stubs_current_intermediates/classes.jar', missing and no known rule to make it | 17:04 |
T42 | <hacker12455> 15:14:45 ninja failed with: exit status 1 | 17:04 |
T42 | <elros34> whole log | 17:05 |
T42 | <hacker12455> https://bpaste.net/show/LWIC4 | 17:06 |
T42 | <elros34> It clearly fails: Could not determine android architecture. Please pass it as 2nd argument using gettargetarch | 17:07 |
T42 | <hacker12455> hmm now the error is different | 17:07 |
T42 | <hacker12455> https://bpaste.net/show/Y3BSM | 17:07 |
T42 | <Lukapanio> @hacker12455 [hmm now the error is different], damn why | 17:08 |
T42 | <elros34> because you COPY/PASTE it | 17:08 |
T42 | <hacker12455> oh | 17:08 |
T42 | <elros34> this one is correct: $(external/droidmedia/detect_build_targets.sh $PORT_ARCH $(gettargetarch)) | 17:09 |
T42 | <elros34> you should not copy/paste any 2 lines commands from hadk | 17:09 |
T42 | <hacker12455> Okay now it passed | 17:10 |
T42 | <Lukapanio> yay | 17:10 |
T42 | <hacker12455> @elros34 https://bpaste.net/show/VXSVO | 17:10 |
T42 | <hacker12455> should it build this fast? | 17:11 |
T42 | <elros34> no, it should print at the end about libminisf, minimediaservice .. | 17:16 |
T42 | <hacker12455> hmm, what is the correct command then? | 17:16 |
T42 | <hacker12455> or why would it fail? | 17:17 |
T42 | <hacker12455> to print the stuff out | 17:17 |
T42 | <Lukapanio> can it be due to i run make libdroidmedia_32 minimediaservice minisfservice libminisf_32 | 17:17 |
T42 | <Lukapanio> before | 17:17 |
mal | @elros34 there is now also an easier way to build those if hybris-boot has been updated recently https://github.com/mer-hybris/hybris-boot/commit/7022fa5f4905d5bfb25b7c3ac6be3d277c3fe0c7 | 17:23 |
T42 | <elros34> yes, I saw it nice addition | 17:23 |
mal | similar nice things to build_packages.sh | 17:24 |
mal | for gst-droid etc | 17:24 |
T42 | <hacker12455> hmm | 17:31 |
T42 | <hacker12455> does it matter where I put the packages in the hw-adaptation pattern? | 17:31 |
T42 | <hacker12455> so far I uncommented gst-droid, added droidmedia, audioflingerglue and the glue module for pulseaudio | 17:33 |
T42 | <hacker12455> running build_packages with the -g switch | 17:35 |
T42 | <hacker12455> anything else I should add to the patterns? | 17:36 |
T42 | <hacker12455> ok so it failed on audioflingerglue | 17:38 |
T42 | <hacker12455> I assume I can omit that for now right? | 17:38 |
T42 | <hacker12455> After commenting audiflingerglue and the module it compiled fine | 17:42 |
rinigus | evening! disclaimer - I still have selinux enabled on xperia xz2; haven't had a chance to rebuild all without | 18:24 |
rinigus | mal: I . have . gui! | 18:24 |
rinigus | in addition to fixing android version flags using mkbootimg, as discussed yesterday, I had to mount selinuxfs on /sys/fs/selinux | 18:25 |
rinigus | ... now will have to find a place where to set it to mount; currently using a script for it. | 18:27 |
rinigus | how do you figure out which /dev/input/eventX is a correct one? | 18:27 |
T42 | <hacker12455> well you could cat the events | 18:28 |
T42 | <hacker12455> and touch the screen | 18:28 |
T42 | <elros34> rinigus just remove :/dev/input/eventX so it will auto detect it | 18:30 |
rinigus | elros34: thanks, will do! | 18:30 |
rinigus | hacker12455: that should work as well... | 18:33 |
T42 | <DylanVanAssche> rinigus: evdev_trace provides also some interesting information. | 18:35 |
rinigus | for some reason auto-detection didn't work, but cat was good enough. now I have touch as well | 18:37 |
vknecht | 🎉 🎉 🎉 | 18:45 |
rinigus | vknecht: early days still ... | 18:47 |
vknecht | still good after days of frustration and dull screen, isn't it ? :-) | 18:48 |
vknecht | days or, weeks ? | 18:48 |
rinigus | startup wizard is not starting and complains "Fatal: the server doesn't advertise the android_wlegl global!Aborted" | 18:50 |
rinigus | logcat https://dpaste.de/EL0w ; journal https://dpaste.de/GMUa | 18:51 |
rinigus | vknecht: weeks, I guess. but not too many :) | 18:51 |
rinigus | from logs I can see last hits in 2017... | 18:52 |
rinigus | and https://github.com/libhybris/libhybris/commit/c7f87904345f19e05a0b9170d9b3898e92e9a910 was supposed to help | 18:54 |
rinigus | disclaimer: I am still with selinux enabled | 18:55 |
T42 | <hacker12455> logs from @Lukapanio after adding droidmedia | 19:15 |
T42 | <hacker12455> Fwd from Lukapanio: https://pastebin.com/ftM1W9VL | 19:15 |
T42 | <hacker12455> Fwd from Lukapanio: journal | 19:15 |
T42 | <hacker12455> Fwd from Lukapanio: https://bpaste.net/show/ZE3M2 | 19:15 |
T42 | <hacker12455> Fwd from Lukapanio: strace | 19:15 |
T42 | <Lukapanio> so @elros34 whats next? | 19:35 |
T42 | <elros34> maybe provide logcat? you could try to run /system/bin/surfaceflinger | 19:40 |
T42 | <Lukapanio> damn something broken | 19:47 |
T42 | <hacker12455> what is broken | 19:50 |
T42 | <hacker12455> logcat? | 19:50 |
T42 | <Lukapanio> https://paste.ubuntu.com/p/gnPs33zWJM/ | 19:52 |
T42 | <Lukapanio> @elros34 | 19:52 |
T42 | <Lukapanio> so some premission problems | 19:52 |
T42 | <hacker12455> can you check dmesg after running test_hwcomposer? | 19:53 |
T42 | <elros34> that is not the logcat command I gave you earlier | 19:54 |
T42 | <hacker12455> @Lukapanio /usr/libexec/droid-hybris/system/bin/logcat | 19:56 |
T42 | <elros34> are you sure you have uevent*rc in out dir? | 19:57 |
T42 | <Lukapanio> @elros34 sorry https://paste.ubuntu.com/p/VRD7xNkDHk/ | 19:57 |
T42 | <hacker12455> @elros34 directly in the out dir or in the root directory in there? | 19:58 |
T42 | <elros34> somwhere there so its found during droid-hal build | 19:59 |
T42 | <Lukapanio> hmmm sh-3.2# ls /ueventd.rc | 19:59 |
T42 | <Lukapanio> /ueventd.rc | 19:59 |
T42 | <Lukapanio> on device | 19:59 |
T42 | <hacker12455> @elros34 ueventd.rc is in out/root | 20:00 |
T42 | <elros34> examine it, also you should try to reboot and get logcat again so it contains more logs from early boot | 20:02 |
T42 | <hacker12455> what exactly should we look at in the file? | 20:03 |
T42 | <elros34> just make sure it contains some rules | 20:04 |
T42 | <hacker12455> it does | 20:04 |
T42 | <hacker12455> https://bpaste.net/show/5XU3A | 20:05 |
T42 | <hacker12455> maybe something is missing there? | 20:07 |
mal | rinigus: nice that you finally got UI | 20:28 |
mal | rinigus: is it possible that you have so much egl extensions that the fix I added is not enough? | 20:29 |
rinigus | mal: you and many on this channel helped, thanks a lot! | 20:31 |
rinigus | mal: I don't know regarding egl extensions. is there any way to count them? | 20:32 |
rinigus | (also possible its related to selinux, still running with that) | 20:32 |
mal | rinigus: add debug printing to libhybris and see what it shows | 20:34 |
rinigus | mal: is there any option for that or just plugin printf? | 20:35 |
mal | rinigus: can't see any direct printing, unless Qt side prints it somewhere | 20:37 |
rinigus | mal: will add. looking at your patch, is it just to have longer strings to get unique names for extensions? | 20:46 |
mal | rinigus: yes, those are in a string and we use snprintf so if the source is too long it will not have the string we add to it | 21:09 |
rinigus | mal: thanks, then making string longer makes sense - 2048 should do for 2 years :) . I'll continue with that tomorrow | 21:19 |
mal | rinigus: it would have been safer to prepend our change to it, but then it would not show the issue this easily | 21:24 |
piggz | mal: if usb-moded needs config for a new usb ne device name, would connman need something similar? it seems like the firewall isnt applying correctly on the pro1 | 21:32 |
mal | hmm | 21:34 |
piggz | mal: cant connect via ssh, unless i clear the iptables | 21:35 |
mal | piggz: strange | 21:38 |
piggz | mal: what does connmanctl technologies display for you? | 21:39 |
mal | piggz: as root? | 21:42 |
mal | piggz: I have gadget, cellular, wifi, gps, and bluetooth | 21:43 |
piggz | i only have wifi, bt and gps | 21:43 |
piggz | (no sim card in) | 21:43 |
piggz | so, gadget is missing for me | 21:43 |
mal | piggz: check how different your usb defconfig stuff is compared to for example xa2 or x10 | 21:49 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!