**** BEGIN LOGGING AT Wed Nov 11 03:02:41 2020 Nov 11 03:59:39 Hulisen does LineageOS boot with that device tree on your device? what is the device name/device tree you use? Nov 11 04:01:08 @NotKit [Hulisen does LineageOS boot with that device tree on your device? what is the de …], Hello, the device/tree I use is from here: https://github.com/OpenKirin/android_device_huawei_eva Nov 11 04:01:49 It is worth noting that LineageOS 14.1 does not work on my phone Nov 11 04:02:54 LineageOS just displays the boot animation Nov 11 04:04:10 To work LineageOS requires LineageOS version 15.1 and above Nov 11 05:47:25 Started with stick kernel. Build, boot, everything working stock fw android9. … After applying check-kernel-config, phone keeps restarting, no adb, no ubuntu bootscreen. Just Samsung bootscreen and reboot. … How to debug? Any logs I can find in twrp filemanager? Galaxy a20, exynos7885. Nov 11 06:01:47 [Edit] Started with stock kernel. Build, boot, everything working stock fw android9. … After applying check-kernel-config, phone keeps restarting, no adb, no ubuntu bootscreen. Just Samsung bootscreen and reboot. … How to debug? Any logs I can find in twrp filemanager? Galaxy a20, exynos7885. Nov 11 06:14:42 @Hulisen Mickey [I encountered the same problem as you, I modified the size_t n; in aidl_language …], ah, nice :) I went the other way and removed the `(int)` cast in the offending line Nov 11 06:15:27 @dohniks [ah, nice :) I went the other way and removed the (int) cast in the offending lin …], 😁 Nov 11 06:15:31 but I think this file is generated during the build process, so the problem will come back Nov 11 06:16:32 If you do not empty the out folder, this error will not occur again Nov 11 06:20:14 true. well, unless some build dependency makes it happen again after you update something while porting ... also CI systems might be affected, so it can be a problem for finishing the port Nov 11 06:20:48 ianand007 was added by: ianand007 Nov 11 06:21:11 Can you create helium boot for Redmi 5a Nov 11 07:32:54 mioscape was added by: mioscape Nov 11 08:25:47 I'm getting an error with halium-install: … qemu-arm-static: /build/qemu-W3R0Rj/qemu-5.0/linux-user/elfload.c:2317: pgb_reserved_va: Assertion `guest_base != 0' failed. … /home/peter/docs/devel/halium-install/functions/distributions.sh: line 23: 18523 Aborted "$@" Nov 11 08:27:03 https://paste.ubuntu.com/p/BXN9wsXN2r/ Nov 11 08:28:32 Do you use this script to install: … https://gitlab.com/JBBgameich/halium-install/ Nov 11 08:51:33 @Hulisen Mickey [LineageOS just displays the boot animation], having boot animation means HWComposer should work Nov 11 08:51:59 I don't see any special patches to structs in your device tree at least, so no idea what may be wrong Nov 11 08:52:31 @Hulisen Mickey [Do you use this script to install: … https://gitlab.com/JBBgameich/halium-install/], Yes Nov 11 08:54:53 @NotKit [I don't see any special patches to structs in your device tree at least, so no i …], RROS works for me, I want to try to use RROS vendor blob Nov 11 08:55:31 @dohniks [Yes], I'm the same as you, but no problems Nov 11 09:17:44 For flashing ubport gsi on Redmi 5a I should patch the kernel or create new boot from scratch Nov 11 09:23:58 From scratch. That's what we mean when we say "patch it" with AppArmor and defconfig settings. Nov 11 10:06:57 Hi guys I wanted ask if my VivoY51 can also run ubuntu Nov 11 12:11:23 Winston was added by: Winston Nov 11 12:50:26 test_hwcomposer requires /system/lib/hw/hwcomposer.default.so, but this file is not in my phone. Does anyone know how to solve it? Nov 11 12:50:51 Complete log: … https://paste.ubuntu.com/p/J8tpvB2xVq/ Nov 11 12:51:39 @Hulisen Mickey [test_hwcomposer requires /system/lib/hw/hwcomposer.default.so, but this file is …], access("/vendor/lib/hw/hwcomposer.hi3650.so", R_OK) = -1 ENOENT (No such file or directory) … access("/system/lib/hw/hwcomposer.hi3650.so", R_OK) = -1 ENOENT (No such file or directory) Nov 11 12:51:48 it tried to load different file before and failed Nov 11 12:53:48 @NotKit [it tried to load different file before and failed], Yes, this file does not exist in my phone and cannot be found in the existing system Nov 11 12:54:01 what is the name of your hwcomposer module then? Nov 11 12:55:28 (Photo, 1074x324) https://irc.ubports.com/ikJkwYMi.png By looking at the /vendor/lib/hw directory, there are these files Nov 11 12:56:41 Should I create symlink of hwcomposer.hi3650.so? Nov 11 12:58:39 uh... what about /system/lib/hw? Nov 11 12:58:51 also check lib64 Nov 11 13:00:54 This is system/lib/hw and lib64 Nov 11 13:00:57 (Photo, 1058x554) https://irc.ubports.com/1u4M1RXN.png Nov 11 13:01:00 (Photo, 1076x408) https://irc.ubports.com/SVhAVa8h.png Nov 11 13:02:17 and vendor/lib64/hw? does any of those folders have HWC? Nov 11 13:03:52 (Photo, 1001x707) https://irc.ubports.com/fOMnvL0f.png The file cannot be found Nov 11 13:06:27 Maybe the manufacturer does not need this file, but libhybris needs Nov 11 13:11:04 I remember people were using framebuffer without HWComposer on some Huawei devices, but no idea if Android still supports that at all Nov 11 13:11:25 which is the latest Android firmware for your device? dealing with Halium 9 might be easier on it Nov 11 13:12:24 Device has Android 8-9 Nov 11 13:13:52 But after upgrading to 8.0, it will no longer have a boot partition. It is divided into two partitions, namely ramdisk and kernel. I use the kernel.img created by mkboot_tools and the system will not start after flashing in Nov 11 13:14:19 and which ramdisk do you use? Nov 11 13:14:57 Maybe the kernel partition needs a special format Nov 11 13:15:56 just in case, try EGL_PLATFORM=fbdev test_glesv2 Nov 11 13:16:02 but it is probably broken on new libhybris Nov 11 13:17:04 EGL_PLATFORM=fbdev test_glesv2 returns the following information Nov 11 13:17:05 library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it … test_glesv2: test_glesv2.c:117: main: Assertion `eglGetError() == EGL_SUCCESS' failed. … Aborted Nov 11 13:21:07 basically UBPorts normally uses HWComposer HAL for drawing on screen on Android device Nov 11 13:21:18 I don't know about Huawei specifics as those devices are rare in the community. Maybe you can contact people who built custom ROMs to get an idea how it should be setup Nov 11 13:23:24 @NotKit [I don't know about Huawei specifics as those devices are rare in the community. …], okay, thank you, ^^ Nov 11 13:55:01 @arpio1 [Started with stock kernel. Build, boot, everything working stock fw android9. …], any help guys? Nov 11 13:55:29 https://gitlab.com/arpio/kernel_samsung_a20_halium Nov 11 14:03:52 @arpio1 [any help guys?], need either /proc/last_kmsg or similar pstore log Nov 11 14:17:47 https://gitlab.com/arpio/kernel_samsung_a20_halium/-/blob/master/issues/last_kmsg Nov 11 14:29:16 @NotKit [need either /proc/last_kmsg or similar pstore log], Thanks. Something I can work with. Nov 11 14:29:54 it does not even seem to boot kernel, or at least there are no logs from kernel starting Nov 11 14:40:33 Can I ignore the error: check_samsung_secure_info : Error validating footer (recovery) Nov 11 14:42:33 wait, I did not read it properly Nov 11 14:42:35 <10>[ 3.418974] [6: init: 1] init: Couldn't open /sys/fs/selinux/null: No such file or directory … <6>[ 3.419009] [6: init: 1] sysrq: SysRq : Trigger a crash … <0>[ 3.419023] [6: init: 1] Unable to handle kernel NULL pointer dereference at virtual address 00000000 Nov 11 14:42:56 it seems it starts Android init instead of halium-boot ramdisk Nov 11 14:43:03 did you apply the patch not to skip ramdisk? Nov 11 14:45:43 Yes initram.c ? Nov 11 14:46:34 yes. And is ramdisk itself in place? Nov 11 15:01:27 yes. tried now again. Nov 11 15:04:31 1. flash kernel … 2. flash halium_ramdisk … 3. flash apparmor_enabler … 4. flash installerV10 … I dont have the apparmor patches yet. Nov 11 15:06:29 updated last_kmsg. Thanks anyway, gonna work on it later this week. Nov 11 15:17:10 Conathaide was added by: Conathaide Nov 11 15:19:36 @arpio1 [1. flash kernel … 2. flash halium_ramdisk … 3. flash apparmor_enabler … 4. flash insta …], After all that, if I flash the stock kernel and restore data, my phone is booting like nothing changed. Does halium/ubtouch not changing the system partition? Nov 11 15:32:33 @arpio1 [After all that, if I flash the stock kernel and restore data, my phone is bootin …], yes, at least in setup you're using the rootfs is extracted to /data/rootfs.img Nov 11 15:36:13 👍 Thanks again. Now I know where to look for logs. I'm beginner with android stuff. Nov 11 16:18:13 Ahsan Ahmed was added by: Ahsan Ahmed Nov 11 19:13:30 Piripkura was added by: Piripkura Nov 11 19:59:56 Zcfuthhsvef was added by: Zcfuthhsvef Nov 12 02:10:55 AriefMuttaqin was added by: AriefMuttaqin **** ENDING LOGGING AT Thu Nov 12 02:59:56 2020