**** BEGIN LOGGING AT Wed Jan 06 02:59:58 2021 Jan 06 03:26:57 @midhunvnadh [I got a shell], @NotKit … https://paste.ubuntu.com/p/mXJ6VCxpdS/ Jan 06 03:28:08 systemimage wont build Jan 06 03:28:10 https://pastebin.pl/view/d606c224 Jan 06 04:05:21 @NotKit [I mean LXC container. You can check by … unset LD_LIBRARY_PATH … lxc-attach -e -n an …], ```android:/ # mount | grep efs … /dev/mmcblk0p3 on /mnt/vendor/efs type ext4 (rw,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc) … /dev/loop1 on /efs type ext4 (ro,relatime,block_ Jan 06 04:05:22 validity,delalloc,barrier,user_xattr,acl)``` Jan 06 08:07:09 <小雨里弥漫沵那优美轮廓╮> Fwd from okex: OKEx est la plus grande plateforme de trading de crypto-monnaie au monde. Ouvrez un compte aujourd'hui et gagnez $40 de bonus. … Vitesse d'exécution ultra-rapide. Stabilité financière éprouvée par le temps. Top liquidité et aussi les frais les plus bas. … Bienvenue à nous rejoindre. Commencez à trader en quelques minut Jan 06 08:07:09 es. … Réclamez d'innombrables bonus et gagnez 1000 dollars par jour! … Cliquez ici pour nous rejoindre: https://t.me/OKExFrenchClub2 Jan 06 09:06:21 @NotKit [do you have SSH?], hello mer-kernel-config check delete from halium ? Jan 06 09:07:11 hello guys getting always error Cannot use CONFIG_LTO_CLANG: requires clang 5.0 or later … is that fixable Jan 06 09:08:05 @Max [hello guys getting always error Cannot use CONFIG_LTO_CLANG: requires clang 5.0 …], disable config name *LTO* from defconfig Jan 06 09:08:34 How is the command for that Jan 06 09:08:42 Many thanks Jan 06 09:08:57 @Max [How is the command for that], give me u kernel source links Jan 06 09:09:12 i will send u this line ( need remove line ) Jan 06 09:10:16 https://github.com/nitanmarcel/android_kernel_motorola_exynos9610.git Jan 06 09:10:44 @Max [https://github.com/nitanmarcel/android_kernel_motorola_exynos9610.git], wao have motorola use exynos Jan 06 09:10:45 wao Jan 06 09:11:25 as defconfig i used halium_defconfig Jan 06 09:11:29 https://github.com/nitanmarcel/android_kernel_motorola_exynos9610/blob/halium-9.0/arch/arm64/configs/halium_defconfig#L272 Jan 06 09:11:46 remove line 272 -> 275 Jan 06 09:12:21 in halium_defconfig? Jan 06 09:12:32 @Max [in halium_defconfig?], yes Jan 06 09:12:39 okay thanks Jan 06 09:13:11 @Max [okay thanks], if this not work pls tag me Jan 06 09:13:38 @Max [okay thanks], if not works . need remove this from Makefile … But ( 90% this Work ) Jan 06 09:14:14 how is the text of those lines Jan 06 09:14:29 cause i use nano to edit Jan 06 09:15:28 @Max [how is the text of those lines], crl + _ Jan 06 09:15:32 type 272 Jan 06 09:15:44 ctrl + k => remove line Jan 06 09:15:49 (Photo, 312x87) https://irc.ubports.com/CZUll2Ao.png Jan 06 09:19:13 this dont works Jan 06 09:19:49 how can i set the path to CONFIG_LTO_CLANG Jan 06 09:22:51 thanks Jan 06 09:26:48 defconfig is a config file in /your_kernel/arch/arm64/configs/config_foryourbuild_defconfig Jan 06 09:28:49 ah sorry, my telegram-bridge was a little bit slow and I did not see the latest comments... Jan 06 09:29:10 @Max [how can i set the path to CONFIG_LTO_CLANG], okay Jan 06 09:29:30 @KernelPanix [], edit all this to # config_ is not set Jan 06 09:32:00 can i do that somehow Jan 06 09:32:15 @Max [can i do that somehow], use nano Jan 06 09:32:36 @KernelPanix [], edit all line same line 274 Jan 06 09:33:28 i already edited halium_defconfig same result Jan 06 09:33:52 @Max [i already edited halium_defconfig same result], u remove or add # is not set Jan 06 09:34:23 i deleted the toled lines Jan 06 09:38:08 @Max [i deleted the toled lines], no Jan 06 09:38:11 agan Jan 06 09:38:17 tr ad # is not set Jan 06 09:38:36 okay Jan 06 09:48:02 dont worked Jan 06 09:56:24 @Max [okay], sad Jan 06 10:10:10 i fixed it but now getting /include/linux/spinlock_api_smp.h: In function ‘__raw_spin_lock_irqsave’: … ./include/linux/spinlock_api_smp.h:110:2: error: implicit declaration of function ‘dbg_snapshot_spinlock’; did you mean ‘do_raw_spin_lock’? [-Werror=implicit-function-declaration] … dbg_snapshot_spinlock(lock, 1); Jan 06 10:37:14 @Max [i fixed it but now getting /include/linux/spinlock_api_smp.h: In function ‘__raw …], https://github.com/LineageOS/android_kernel_motorola_exynos9610/commits/lineage-17.1 Jan 06 10:37:31 @Max [i fixed it but now getting /include/linux/spinlock_api_smp.h: In function ‘__raw …], use this kernel ( bc dev lineage custom this ) Jan 06 10:37:37 add you commit Jan 06 10:37:58 and use this for halium 9.0 Jan 06 11:12:32 is halium already in there? Jan 06 12:04:56 @NotKit How can I symlink … /mnt/vendor/efs to /efs in android container ? … It is readonly :( Jan 06 12:05:20 add entry to /var/lib/lxc/android/config Jan 06 12:05:29 @NotKit [add entry to /var/lib/lxc/android/config], Thanks :) Jan 06 12:07:05 @midhunvnadh [@NotKit How can I symlink … /mnt/vendor/efs to /efs in android container ? … It is r …], There is an efs that already mounts there on boot. Is it halium default ? Jan 06 12:08:45 if you're using Erfan's GSI, I think he added something regarding efs Jan 06 12:08:49 @NotKit There are only mounts there... … I need to symlink :( Jan 06 12:08:59 @NotKit [if you're using Erfan's GSI, I think he added something regarding efs], Ohh Jan 06 12:09:02 I am Jan 06 12:09:07 there is no empty efs folder in /var/lib/lxc/android/rootfs? Jan 06 12:09:14 I am using the armhf I made from his arm64 source Jan 06 12:09:25 @NotKit [there is no empty efs folder in /var/lib/lxc/android/rootfs?], It is an empty folder Jan 06 12:09:33 then bind-mount /android/efs to it Jan 06 12:09:53 or /vendor/mnt/efs, whichever is correct Jan 06 12:09:55 @NotKit [then bind-mount /android/efs to it], To which file ? Jan 06 12:10:00 to efs Jan 06 12:10:09 [Edit] to efs empty folder Jan 06 12:10:14 @midhunvnadh [@NotKit How can I symlink … /mnt/vendor/efs to /efs in android container ? … It is r …], This I think is what I should do to make it right Jan 06 12:10:44 @NotKit [then bind-mount /android/efs to it], Where should I add the entry ? Jan 06 12:10:55 lxc config Jan 06 12:10:58 @NotKit [lxc config], ok Jan 06 12:11:29 What should I append to that file ? Jan 06 12:11:49 check other entries, should be straighforward Jan 06 12:12:05 ```lxc.mount.entry = /android/efs efs bind bind 0 0``` Jan 06 12:12:31 I found this. It looks like I should comment this out Jan 06 12:12:59 The problem is that … efs is inside the /mnt partition … ```lxc.mount.entry = /mnt mnt bind rbind 0``` Jan 06 12:13:16 does it get munted to /android/efs on host or not? Jan 06 12:13:24 if it gets, maybe LXC is starting too early Jan 06 12:13:29 @NotKit [does it get munted to /android/efs on host or not?], Yeah, an empty folder. Jan 06 12:13:36 [Edit] does it get mounted to /android/efs on host or not? Jan 06 12:13:37 Hmm.. Jan 06 12:14:42 ```lxc.mount.entry = /android/efs /mnt/vendor bind bind 0 0``` … @NotKit Is this correct ? Jan 06 12:14:54 no Jan 06 12:15:02 syntax is source target Jan 06 12:15:15 @NotKit [syntax is source target], Can you edit and give back ? Jan 06 12:16:06 you didn't answer my question if /android/efs is a mountpoint on host or not Jan 06 12:16:42 @NotKit [you didn't answer my question if /android/efs is a mountpoint on host or not], How can I check ? Jan 06 12:16:47 fstab ? Jan 06 12:17:15 ...on host, do you have files in both /android/efs and /vendor/mnt/efs, or only /vendor/mnt/efs? Jan 06 12:18:03 @NotKit [...on host, do you have files in both /android/efs and /vendor/mnt/efs, or only …], I don't have /vendor/mnt/efs Jan 06 12:18:12 I only have /mnt/vendor/efs Jan 06 12:18:27 @midhunvnadh [I only have /mnt/vendor/efs], This is there on lineage too Jan 06 12:18:51 ok, but is /android/efs mounted to same partition or not? Jan 06 12:19:16 @NotKit [ok, but is /android/efs mounted to same partition or not?], No Jan 06 12:19:24 It is mounted to a /dev/loop Jan 06 12:21:44 https://github.com/erfanoabdi/rootfs-builder-debos-android9/blob/android9/android9/overlay/etc/init/mount-android.conf#L14 … after /usr/sbin/mount-android.sh, add something like mount -o bind /mnt/vendor/efs /android/efs Jan 06 12:22:08 @NotKit [https://github.com/erfanoabdi/rootfs-builder-debos-android9/blob/android9/androi …], Ok, thank you Jan 06 12:22:32 @NotKit … ```android:/ # mount | grep efs … /dev/mmcblk0p3 on /mnt/vendor/efs type ext4 (rw,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc) … /dev/loop1 on /efs type ext4 (ro,relatime,block_validity,delalloc,barrier,user_xattr,acl)``` … This is how it looks :) Jan 06 12:23:31 @midhunvnadh [@NotKit … android:/ # mount | grep efs … /dev/mmcblk0p3 on /mnt/vendor/efs type ext …], Can I prevent the send one from mounting ? Jan 06 12:23:45 It would mess up. Right ? Jan 06 12:25:44 no idea what mounts it there Jan 06 12:26:08 @midhunvnadh [lxc.mount.entry = /android/efs efs bind bind 0 0], I think it is this one Jan 06 12:26:33 no, that config is for inside LXC container Jan 06 12:26:39 I asked you about host system Jan 06 12:27:09 @NotKit [no, that config is for inside LXC container], Inside the container is where i want to symlink /efs and /mnt/vendor/efs Jan 06 12:28:22 @NotKit It worked. Thanks. Jan 06 13:24:16 hey everyone Jan 06 13:24:58 i am trying to build halium-9 and have made some progress, but now while building halium-boot i run into this error Jan 06 13:25:02 hybris/hybris-boot/Android.mk:320: error: FindEmulator: find: `device/samsung/zerofltexx/overlay': No such file or directory Jan 06 13:25:50 which I suspect is because the overlay folder is in zero-common (and should get inhereted automatically when building for zerofltexx if I am not mistaken) Jan 06 13:26:58 https://pastebin.com/MZ3hfqWt here is the log of the process Jan 06 13:28:36 hı. https://paste.ubuntu.com/p/cHw2n2Bj5f/ how fix this problem? Jan 06 13:30:05 @Max [is halium already in there?], try use source i give Jan 06 13:30:26 @ankaos [hı. https://paste.ubuntu.com/p/cHw2n2Bj5f/ how fix this problem?], kernel_panic: how fix this problem? Jan 06 13:30:51 @ankaos [kernel_panic: how fix this problem?], missing File Jan 06 13:30:57 @ankaos [kernel_panic: how fix this problem?], give tree Jan 06 13:31:40 @ankaos [kernel_panic: how fix this problem?], ( try Disable QCamera2 ) Jan 06 13:31:59 camera.msm8953 delete this line Jan 06 13:39:09 @ankaos [camera.msm8953 delete this line], yep Jan 06 13:39:30 @KernelPanix [yep], But not open camera xd Jan 06 13:39:33 bc this don't have build camera idk camera works or not Jan 06 13:39:39 @ankaos [But not open camera xd], 😂😂 Jan 06 13:39:53 (Sticker, 512x496) https://irc.ubports.com/dteZOh0u.webp Jan 06 13:47:45 My device has blobs from andorid 8.1 which halium should I build? Jan 06 13:52:04 can anyone compile for me as i am facing those issues Jan 06 13:52:08 thanks Jan 06 14:13:44 Hi Jan 06 14:58:45 how does the ubports bot work Jan 06 15:04:30 @ozu_0110 [My device has blobs from andorid 8.1 which halium should I build?], 9 Jan 06 15:05:00 Ok Jan 06 15:48:13 @Max [how does the ubports bot work], IRC Channel Jan 06 15:49:01 @KernelPanix [IRC Channel], Hmm yes Jan 06 15:49:36 I think everybody uses telegram. Jan 06 15:49:48 @ankaos [Hmm yes], you phone have android 7.1 ? Jan 06 15:49:55 @KernelPanix [you phone have android 7.1 ?], Yes Jan 06 15:50:06 Halium 7 build not work Jan 06 15:50:33 I wish it was mobian. Jan 06 15:50:53 If only it was mobian. Jan 06 15:51:08 Translate error 😂 Jan 06 15:51:32 @ankaos [Halium 7 build not work], why ? Jan 06 15:51:49 @KernelPanix [why ?], Sorry. Error translate. Jan 06 15:51:58 Halium 7 build work Jan 06 15:53:00 @ankaos [Halium 7 build work], ah Jan 06 16:13:35 jeffinjosva was added by: jeffinjosva Jan 06 17:02:37 gaston ANNA-LEENA was added by: gaston ANNA-LEENA Jan 06 17:02:41 (Photo, 656x838) https://irc.ubports.com/ccRojccy.png Jan 06 17:03:29 i chmoded the file and i got this error this time https://pastebin.com/S7GKUDL2 … i also replaced the file with this one so i can mount the vendor image https://github.com/erfanoabdi/rootfs-builder-debos-android9/blob/android9/android9/overlay/usr/sbin/mount-android.sh Jan 06 17:03:33 @NotKit Jan 06 17:28:53 @Ipertatos [i chmoded the file and i got this error this time https://pastebin.com/S7GKUDL2 …], Logcat? Jan 06 19:31:54 Hey guys, it's been a while since I last poked around Halium. I got a Xiaomi Mi9T and I wanted to port Ubuntu touch on it for a long time already however I got told I have to wait until Halium is ported to Android 10 at least so the device trees I have for this phone will be ready. I have never ported any OS by myself but I am will Jan 06 19:31:54 ing to try. I just saw 2 hours ago someone pushed to the android 10 branch. May I know how does one begin to port an OS? I have the kernel sources, the dev tree and the halium source now. Jan 06 19:33:00 (I know I have to wait until the 10 branch is fully done, however I am asking in theory what are the further steps) Jan 06 19:35:29 @Ipertatos [i chmoded the file and i got this error this time https://pastebin.com/S7GKUDL2 …], is it on first start? Jan 06 19:35:43 first start? Jan 06 19:36:08 yea i still havent flashed the boot img because of abnormalities in the phone Jan 06 19:36:10 @Ipertatos [first start?], first start of container during boot Jan 06 19:36:38 yea when i flash boot and i go inside i changed the file and then rebooted. this is the output Jan 06 19:37:03 @MaryJohanna420 [Hey guys, it's been a while since I last poked around Halium. I got a Xiaomi Mi9 …], is it this device - https://www.gsmarena.com/xiaomi_mi_9t-9738.php? it says it was released with Android 9.0, so you may not even depend on 10 Jan 06 19:41:41 Oh right Jan 06 19:41:50 Forgot there is android 9 existing on it Jan 06 19:42:27 So how do I begin with porting? Is it just a try and flash process until everything starts to work? Jan 06 19:42:47 usually Jan 06 19:43:03 I see Jan 06 19:47:49 @MaryJohanna420 [So how do I begin with porting? Is it just a try and flash process until everyth …], see https://github.com/ubports/porting-notes/wiki/Generic-system-image-(GSI) Jan 06 19:47:57 also possibly https://github.com/ubports/porting-notes/wiki/Halium-9 Jan 06 19:53:51 Thanks Jan 06 19:54:16 Also, what do you guys recommend for compiling quick? Jan 06 19:55:02 I got a Ryzen 5 3600 would that be enough so I don't have to wait half a day once the os is fully compiled? Jan 06 19:56:41 Yeah Jan 06 19:56:53 my FX-8350 compiles systemimage in 20 minutes or less Jan 06 19:56:59 fx-what Jan 06 19:57:09 if you stopped using it for 2 months you'd afford a ryzen out of power bills Jan 06 19:57:18 lol Jan 06 19:57:53 It isn't that power-inefficient Jan 06 19:58:13 Okay, thanks. Well I just rent mine. 50 eur a month is not that bad fora Ryzen lol Jan 06 19:58:14 We have cool'n quiet Jan 06 19:58:15 Which clocks it down when idling Jan 06 19:58:19 idk if Linux works with it tho Jan 06 19:58:32 hello does anyone know how to fix this https://paste.ubuntu.com/p/ThWhJ4dvzv/ Jan 06 20:00:00 would been nice if anyone could help Jan 06 20:00:05 thanks Jan 06 20:00:17 Okay, thanks. W"> just for a CPU? or is that a whole PCM Jan 06 20:00:21 * just for a CPU? or is that a whole PC? Jan 06 20:00:53 would been nice if anyone "> grep -r for "dbg_snapshot_spinlock" in your kernel sources Jan 06 20:01:01 Find where it's defined Jan 06 20:01:04 And make sure it builds Jan 06 20:02:07 if you stopped usi"> I'd need everything to switch to ryzen: new RAM, new mobo and new CPU Jan 06 20:19:00 Whole server with 64 GB RAM and 1 TB NVMe. Hetzner ax41 with a gigabit line Jan 06 20:19:10 Was good until now to compile stuff Jan 06 20:26:05 kewl Jan 06 20:33:17 I need to build android.hardware.radio.deprecated@1.0.so for my halium-9 image, so that "/vendor/bin/hw/qcrild" can be linked, but I'm surprised it's not already in the image... Do you know what triggers this ? Jan 06 20:34:03 lucavillano was added by: lucavillano Jan 06 20:38:55 ah, my fault, I just needed to add it as a build dependency. Jan 06 20:41:25 what does that mean gcc: error: unrecognized command-line option ‘-mlittle-endian’ Jan 06 21:43:09 My device isnt booting and i keep getting this spammed https://pastebin.com/S7GKUDL2 Jan 06 21:44:08 @Ipertatos [My device isnt booting and i keep getting this spammed https://pastebin.com/S7GK …], get full dmesg from start. The error you have may be from second LXC boot Jan 06 21:46:09 https://pastebin.com/zJBgVx4t Jan 06 21:49:34 https://pastebin.com/fN11HJLR here is the full dmesg Jan 06 21:51:50 yes, init started originally, then exited for some reason, but interesting line are not there: [ 4.701222] [ 4.701217]@2 init: 15 output lines suppressed due to ratelimiting Jan 06 21:52:42 personally I disable LXC container autostart (add "manual" to /etc/init/lxc-android-config.override) and then start it with `lxc-start -F -n android -- /init` for testing after all mounts are done Jan 06 21:53:00 you also need to mount tmpfs to /apex and bind-mount it inside container Jan 06 21:53:14 [Edit] yes, init started originally, then exited for some reason, but interesting lines are not there: [ 4.701222] [ 4.701217]@2 init: 15 output lines suppressed due to ratelimiting Jan 06 22:02:18 i got the same behaviour Jan 06 22:22:51 I get some systemimage build errors: https://pastebin.pl/view/d606c224 Jan 06 22:23:38 this is in python2 virtual environment in arch linux Jan 06 22:23:52 the errors do not occur when i am in python3 Jan 06 22:29:11 i cant seem to be able to disable ratelimiting Jan 06 22:58:11 seems like i have done it but i now get ```EXT4-fs: 22 callbacks suppressed``` Jan 06 22:58:43 should i repost my question Jan 06 22:59:30 https://pastebin.pl/ seems to be down for me try pastebin.com Jan 06 23:00:46 https://pastebin.com/tqJdUTRh Jan 06 23:01:28 i am using eng build Jan 06 23:01:30 for klte Jan 06 23:02:06 eng will slow your phone down Jan 06 23:02:12 userdebug is the sweet spot Jan 06 23:02:30 i am building for ubuntu touch, i need all debug Jan 06 23:06:56 https://pastebin.com/px6HNQ28 if you want full logs Jan 06 23:11:45 @NotKit found this new information that wasnt on the logs before https://pastebin.com/Ku3xp3nb Jan 06 23:12:00 they appeared after doing ```echo on | sudo tee /proc/sys/kernel/printk_devkmsg``` Jan 06 23:14:30 Ipertatos did you mount tmpfs to /apex inside LXC container? Jan 06 23:15:09 yea i did Jan 06 23:16:34 to /var/lib/lxc/android/rootfs/apex? Jan 06 23:28:39 @NotKit [to /var/lib/lxc/android/rootfs/apex?], i realised i did it wrong and here is the correct output! https://pastebin.com/u8npvuEd Jan 06 23:29:08 i run these command every time i boot ```mount / -o remount,rw … echo on | sudo tee /proc/sys/kernel/printk_devkmsg … mount -t tmpfs tmpfs /apex … mount --bind /apex /var/lib/lxc/android/rootfs/apex … mount --bind /vendor /var/lib/lxc/android/rootfs/vendor … lxc-start -F -n android -- /init``` Jan 06 23:29:16 in sudo -i ofc Jan 06 23:31:59 container seems to be running somehow Jan 06 23:32:28 try to get either Wi-Fi network (will require modules) or reverse USB network tethering to install packages Jan 06 23:32:44 then ubports-qa install xenial_-_android9_-_android10 Jan 06 23:33:43 nano /etc/apt/preferences.d/ubports-xenial_-_android9_-_android10.pref - set Pin-Priority: 2011 Jan 06 23:33:51 apt update && apt upgrade Jan 06 23:35:46 ```mkdir -p /apex/com.android.runtime /apex/com.android.runtime@1 … mount -o bind /system/apex/com.android.runtime.release /apex/com.android.runtime … mount -o bind /system/apex/com.android.runtime.release /apex/com.android.runtime@1``` - will probably need this to get libraries from apex Jan 06 23:36:03 test_egl_configs should work on libhybris from xenial_-_android9_-_android10 Jan 06 23:38:54 ```mount: special device /system/apex/com.android.runtime.release does not exist … ``` i get this when i run ```mount -o bind /system/apex/com.android.runtime.release /apex/com.android.runtime``` Jan 06 23:40:02 what do you have inside /system/apex? Jan 06 23:40:45 ```root@ubuntu-phablet:~# ls /system/apex/com.android. … com.android.apex.cts.shim.apex com.android.media.swcodec.apex com.android.tzdata.apex … com.android.conscrypt.apex com.android.resolv.apex … com.android.media.apex com.android.runtime.release.apex``` Jan 06 23:41:37 I didn't try with non-flattened apexes, see if it can be actually mounted Jan 06 23:42:03 so ```mount -o bind /system/apex/com.android.runtime.release.apex /apex/com.android.runtime```??? Jan 06 23:42:25 not bind Jan 06 23:42:39 I do not know if .apex is a loopback image that can be just mounted though Jan 06 23:43:24 https://source.android.com/devices/tech/ota/apex Jan 06 23:44:19 (Photo, 829x113) https://irc.ubports.com/l8bf08QG.png not sure if it's saying you can mount the whole apex Jan 06 23:45:12 it's zip file with loopback image, not trivial then Jan 06 23:45:30 https://github.com/Halium/android_device_halium_halium_arm64/blob/halium-10.0/BoardConfig.mk#L26 Jan 06 23:47:38 so i just reboot the device and hope it works? Jan 06 23:52:09 so i need the img from the apex file mounted in /apex/com.android.runtime? Jan 06 23:52:32 yes Jan 06 23:52:42 so i extract as normal? Jan 06 23:53:01 you can try, I didn't work with non-flattened apexes yet Jan 06 23:59:31 i got the apex mounted and i runned ```root@ubuntu-phablet:~# test_egl_configs … Starting test (EGL_PLATFORM=(null))``` Jan 07 00:02:19 is libhybris from xenial_-_android9_-_android10 branch? Jan 07 00:03:34 can anyone help me with this https://pastebin.com/px6HNQ28 this is on archlinux in python2 virtual environment. this happens when doing mka systemimgae Jan 07 00:03:45 systemimage* Jan 07 00:04:50 amarjit, edit sepolicy files to remove things it complains about Jan 07 00:05:00 we do not use SELinux so it is fine Jan 07 00:05:37 @NotKit [is libhybris from xenial_-_android9_-_android10 branch?], how do i check it? Jan 07 00:05:49 apt-cache policy libhybris Jan 07 00:06:59 ```Installed: 0.1.3+ubports4+0~20201218195912.2~1.gbpbf2ca4``` Jan 07 00:07:02 ``` *** 0.1.3+ubports4+0~20201218195912.2~1.gbpbf2ca4 2011 … 2011 http://repo.ubports.com xenial_-_android9_-_android10/main arm64 Packages``` Jan 07 00:08:05 ok, good Jan 07 00:08:14 is container running when you tried test_egl_configs? Jan 07 00:08:20 yea Jan 07 00:09:22 anything interesting in dmesg? Jan 07 00:09:32 when i run test_egl_configs? Jan 07 00:09:41 yes Jan 07 00:11:05 nope just some QCOM-BATT and these 2 lines ```[ 2644.960095] [19700102_03:07:23.485292]@6 F2FS-fs (sda16): Debug:gc_thread_func:do BG_GC,wait:60000ms … [ 2644.961262] [19700102_03:07:23.486460]@7 F2FS-fs (sda16): Debug:of2fs_gc_wait:gc_opt_enable:1``` Jan 07 00:11:13 thats all there is to it Jan 07 00:11:18 hm, ok Jan 07 00:11:23 can i just delete the selinux files Jan 07 00:11:28 maybe strace test_egl_configs will tell something Jan 07 00:11:36 or would it ruin things Jan 07 00:12:18 https://pastebin.com/7RjdRhb2 Jan 07 00:15:12 interesting, is container started and running in foreground when you try it? Jan 07 00:15:37 do getprop and /system/bin/getprop (unset LD_LIBRARY_PATH before) work? Jan 07 00:17:56 @Ipertatos [/system/bin/getprop works], outside container, right? Jan 07 00:18:32 ? Jan 07 00:19:03 I mean when you start LXC container, you will get console # something and that is inside container Jan 07 00:19:19 so connect in another terminal tab to SSH to run other commands Jan 07 00:19:40 yea i have 2 ssh's open Jan 07 00:20:16 ok, I do not know why it is stuck connecting to property_service then Jan 07 00:22:03 btw doing just getprop does not work Jan 07 00:24:29 whenever i delete the lines, it complains about syntax errors https://pastebin.com/JssgXcZ7 Jan 07 00:24:52 i know what to delete, it creates syntax errors in a file that get auto-generated Jan 07 00:25:08 it would be useful if you included the errors :D Jan 07 00:26:01 thought i already did, you must not be able to see it https://pastebin.com/87RYKtcf Jan 07 00:26:39 btw i am on arch linux in a python 2 virtual environment Jan 07 00:26:45 https://wiki.archlinux.org/index.php/Python/Virtual_environment#virtualenvwrapper Jan 07 00:27:00 the errors do not occur outside the environment Jan 07 00:28:32 what lines did you remove? Jan 07 00:29:11 normally i remove line 208 Jan 07 00:29:23 Removing line 208 removes the closing bracket Jan 07 00:29:40 i dont remove that Jan 07 00:30:04 ill send you the error that occurs if i remove everything except the bracket Jan 07 00:30:24 Try removing from 186-208 Jan 07 00:31:02 everything except closing bracket: https://pastebin.com/xvaJ283m Jan 07 00:31:46 thx it got past the error, but it hasnt built yet, just wait Jan 07 00:35:00 quick question, do i have to fix warnings, or can i leave them Jan 07 00:37:29 btw i rebooted and retried everything again and i still get alot of these errors ```[ 55.067700] [19700102_03:32:52.595528]@2 init: cannot execve('/vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti'): No such file or directory … [ 55.068902] [19700102_03:32:52.596728]@0 init: cannot execve('/vendor/bin/hw/android.hardware.con Jan 07 00:37:29 figstore@1.1-service'): No such file or directory … [ 55.069257] [19700102_03:32:52.597084]@4 init: cannot execve('/vendor/bin/hw/android.hardware.memtrack@1.0-service'): No such file or directory``` Jan 07 00:56:01 systemimage built thx @calebccff Jan 07 00:57:20 test_egl_configs hangs here ```write(2, "Starting test (EGL_PLATFORM=(nul"..., 36Starting test (EGL_PLATFORM=(null)) … ) = 36 … socket(PF_LOCAL, SOCK_STREAM, 0) = 3 … connect(3, {sa_family=AF_LOCAL, sun_path="/dev/socket/property_service"}, 31) = 0 … sendto(3, "\2\0\0\0ro.build.version.sdk\0\0\0\0\0\0\0\0"..., 128, 0, NULL, 0) = Jan 07 00:57:20 128 … recvfrom(3, ^Cstrace: Process 9642 detached … ``` **** ENDING LOGGING AT Thu Jan 07 03:00:55 2021