**** BEGIN LOGGING AT Tue Jun 08 02:59:56 2021 Jun 08 06:58:51 Does a recovery image normally use a different fstab compared to the live system? If so, what is normally different and why? Jun 08 09:30:05 i love how yesterday until 3 AM i was trying to install UT using halium-install Jun 08 09:30:15 turns out USB 1.1 was selected in my VM's settings... Jun 08 09:30:31 set it to 3.0 USB and 1 hour work just completed in 1 minute 😭 Jun 08 09:33:19 [Edit] i love how yesterday until 3 AM i was trying to install UT using halium-install and it was PAINFULLY slow Jun 08 10:52:09 Niemandausduisburg was added by: Niemandausduisburg Jun 08 10:54:48 What's the last Halium? Halium9 or is Halium 10 out? Jun 08 11:16:52 @Niemandausduisburg [What's the last Halium? Halium9 or is Halium 10 out?], i think halium9 Jun 08 11:17:05 is it safe to disable the stack protector? Jun 08 11:19:09 @Niemandausduisburg [What's the last Halium? Halium9 or is Halium 10 out?], depends on device you want to deal with Jun 08 11:21:49 what is the stack protector even used for Jun 08 11:30:18 i disabled the stack protector because i couldnt bother fixing the rtc kernel panic Jun 08 11:30:26 now it booted into telnet, but i have no diagnosis.log Jun 08 11:34:22 @rxchiie [what is the stack protector even used for], security feature for executables, makes it harder to exploit buffers. Jun 08 11:34:46 @dopamine404 [security feature for executables, makes it harder to exploit buffers.], well i couldnt find a solution and some sort of rtc function kept crashing the kernel Jun 08 11:34:49 Hi everyone. I'm pretty new to everything here. I've got a Xperia 8 that I would like to consider to port. But just now I saw that this depends on source availability and and LineageOS... So, is there no chance to do something about it right now? Jun 08 11:35:14 @hakaishi [Hi everyone. I'm pretty new to everything here. I've got a Xperia 8 that I would …], well if it doesn't have LOS support then i dunno Jun 08 11:35:32 if u can find the needed files for it then go ahead Jun 08 11:35:37 @rxchiie [well i couldnt find a solution and some sort of rtc function kept crashing the k …], yeah it could be that it was overwriting its own buffer and triggering the stack protector Jun 08 11:35:51 @dopamine404 [yeah it could be that it was overwriting its own buffer and triggering the stack …], i could reenable it and keep digging at it but eh Jun 08 11:36:31 if its just one executable it should be just fine Jun 08 11:36:42 @ubptgbot: Okay. I see. Looks difficult then. Thanks for the info. Jun 08 11:36:57 lmao idk what to debug Jun 08 11:37:05 i got telnet but the diagnosis log is missing Jun 08 11:37:14 hakaishi. Hi. If it is a device released with Android 8/9/10, we do not depend on LineageOS device trees much Jun 08 11:37:35 yeah aslong as u can find the device tree, kernel, vendors etc im sure ur okay Jun 08 11:37:43 since we use LOS to get the kernels right Jun 08 11:37:51 you need kernel source though, which should be provided on Sony website Jun 08 11:37:51 correct me if im wrong kit Jun 08 11:39:17 @NotKit: Sony still didn't release the sources... >_> Jun 08 11:39:39 @hakaishi [@NotKit: Sony still didn't release the sources... >_>], you might get lucky emailing them Jun 08 11:39:40 @hakaishi [@NotKit: Sony still didn't release the sources... >_>], then try snooping around github Jun 08 11:39:48 thats dumb but anyway Jun 08 11:39:51 worth a try ig Jun 08 11:40:05 @rxchiie [thats dumb but anyway], the emailing? :p Jun 08 11:40:37 @dopamine404 [the emailing? :p], no looking around github lmao Jun 08 11:40:50 if the kernel isnt on sony's website it probably isn't on the github either Jun 08 11:40:56 It'd be funny if they just hand over the source code like that ;) Jun 08 11:41:15 @hakaishi [It'd be funny if they just hand over the source code like that ;)], Well, they are legally obligated to:) Jun 08 11:41:25 yeah i dont even know anymore Jun 08 11:41:43 i tried to grep keywords mount, fstab, ext4, error, failed from my dmesg in telnet Jun 08 11:41:45 yet no results Jun 08 11:41:50 i dont know how to debug this Jun 08 11:41:56 and init.log isnt to be seen anywhere either Jun 08 11:41:57 @rxchiie [yeah i dont even know anymore], what device are you wasting your soul on? Jun 08 11:42:01 @dopamine404 [what device are you wasting your soul on?], s6 edge Jun 08 11:42:04 @dopamine404 I see. So it might be worth a try. Thanks for the hint. Jun 08 11:42:09 resuming development 😏 Jun 08 11:42:12 @hakaishi [@dopamine404 I see. So it might be worth a try. Thanks for the hint.], No problem:) Jun 08 11:42:14 hakaishi, that's weird from Sony. If you want to play around prebuilt kernel, see hacks at https://gitlab.com/ubports/community-ports/android10/unihertz-titan/unihertz-titan Jun 08 11:42:18 after a year long brake Jun 08 11:42:23 *break Jun 08 11:42:39 it should probably boot and what not, but getting AppArmor support will be tricky Jun 08 11:42:55 @NotKit [it should probably boot and what not, but getting AppArmor support will be trick …], *and painful Jun 08 11:43:02 @rxchiie dmesg | grep init Jun 08 11:43:04 @NotKit [it should probably boot and what not, but getting AppArmor support will be trick …], *and depressing Jun 08 11:43:14 @NotKit [@rxchiie dmesg | grep init], nothing Jun 08 11:43:32 literally no return Jun 08 11:43:45 reboot the device and get dmesg from start Jun 08 11:43:51 probably relevant parts got overwritten already Jun 08 11:44:14 alright Jun 08 11:45:45 hakaishi, can bootloader itself be unlocked? Jun 08 11:46:42 @NotKit yeah now something returned Jun 08 11:46:46 im gonna link the log just a sec Jun 08 11:47:02 https://paste.ubuntu.com/p/hTnW7kPKJk/ Jun 08 11:47:18 ah Jun 08 11:47:19 `run-init: opening console: No such device` Jun 08 11:47:55 i shoudl add tty0 right Jun 08 11:47:58 to the kernel cmdline? Jun 08 11:48:42 console=tty0 Jun 08 11:58:04 lmao can i disable networkmanager from TWRP Jun 08 11:58:20 it keeps crashing the kernel now Jun 08 12:02:24 rename the binary Jun 08 12:02:32 yup got it Jun 08 12:08:42 I just found sources for a whole lot of devices. I hope it might help someone (and hopefully me too). Jun 08 12:08:42 My current Xperia 8: https://developer.sony.com/file/download/open-source-archive-for-56-1-c-3-161/ Jun 08 12:08:42 Others: https://developer.sony.com/develop/open-devices/downloads/open-source-archives/ Jun 08 12:09:41 Oh. New lines got broken up... I see... Jun 08 12:24:43 so networkmanager kept crashing my device, so i disabled it Jun 08 12:25:02 but now i need wifi access to get debugging tools because my spinner wont start Jun 08 12:25:07 here is the log https://paste.ubuntu.com/p/p4pbcnbDpW/ Jun 08 12:25:43 well this is the error `Unable to handle kernel paging request at virtual address 001bc000` but i just dont know how to debug that Jun 08 12:32:58 lxc related configs couldn't cause networkmanager to crash... right? Jun 08 12:34:43 hakaishi, well, that's the normal place they publish kernel source code Jun 08 12:35:06 (as opposed to AOSP for Sony Open Devices) Jun 08 12:35:51 build process should be similar to https://gitlab.com/ubports/community-ports/android9/sony-xperia-10/sony-kirin Jun 08 12:36:03 Ah. I see. Jun 08 12:37:34 > build process should be similar to https://gitlab.com/ubports/community-ports/android9/sony-xperia-10/sony-kirin Jun 08 12:37:34 Thank you! We would need a AOSP version, right? I mean, finally. Jun 08 12:39:42 @NotKit [depends on device you want to deal with], Nokia 8 Siccoro NB1/A1N Jun 08 12:39:44 hakaishi, I didn't get your last question. It should work with the kernel you have Jun 08 12:42:27 NotKit, oh that's nice. It's not AOSP but still OSS, so no problem? Jun 08 12:43:51 I mean that is just kernel they use in official firmwares, but works for us. For Sony Open Devices they just provide more code and ability to compile AOSP project Jun 08 12:47:54 I see! Jun 08 12:57:35 It's my daily driver phone, so I will have to start from another phone though... But, I'll try and build it. Jun 08 12:57:35 It'll be my first time trying to port something. 😅 Jun 08 13:24:50 @rxchiie [here is the log https://paste.ubuntu.com/p/p4pbcnbDpW/], a new log https://paste.ubuntu.com/p/9VWZhYrNgh/ Jun 08 13:32:38 hakaishi, another phone as in "another model", or another device of same model? Jun 08 13:33:40 I am guessing a different model Jun 08 13:36:54 @NotKit are UT arm64 rootfs safe enough to use? Jun 08 13:36:58 aka stable enough? Jun 08 13:37:14 won't explode I guess Jun 08 13:37:21 or should i just stick to the armhf ones Jun 08 13:37:37 (recent ports are fine with arm64) Jun 08 13:37:47 okay then im gonna go ahead and install arm64 Jun 08 14:01:09 i was trying to figure out why halium-install was hanging on the ADB step for half an hour Jun 08 14:01:15 truns out my phone wasnt connected Jun 08 14:27:54 yeah the same Jun 08 14:27:59 networkmanager crashes Jun 08 14:28:06 which i expected Jun 08 14:37:47 any thoughts 😩 Jun 08 14:38:45 could you get the rootfs to boot or is it in telnet still Jun 08 14:39:55 @dopamine404 [could you get the rootfs to boot or is it in telnet still], its bootlooping Jun 08 14:40:05 networkmanager crashes Jun 08 14:40:13 @rxchiie [a new log https://paste.ubuntu.com/p/9VWZhYrNgh/], ^ Jun 08 14:52:22 uh Jun 08 14:52:27 i just disabled the networkmanager Jun 08 14:52:30 and the spinner appeared Jun 08 14:52:34 well thats interesting Jun 08 14:52:37 oh it bootlooped Jun 08 14:53:43 and now the spinner is going Jun 08 14:53:52 even the display dimmed from the inactivity Jun 08 14:54:19 im gonna let it sit and check if it loads lightdm after a while Jun 08 15:04:07 nope loads infinitely Jun 08 15:04:28 trying to invoke unity-system-compositor or lightdm will result in crashing the device Jun 08 15:34:52 lmao i followed the arm64 ubports pad Jun 08 15:35:03 installed xenial from the qa and now the spinner wont show up Jun 08 15:35:19 here are some logs Jun 08 15:35:20 (Document) https://irc.ubports.com/nBPk5ERc.null Jun 08 15:35:20 (Document) https://irc.ubports.com/K3fPk1jb.null Jun 08 15:35:20 (Document) https://irc.ubports.com/mZEifJcL.null Jun 08 18:04:13 @rxchiie [lmao i followed the arm64 ubports pad], that's long outdated Jun 08 18:04:37 if spinner showed up, unity8 should work too with correct udev rules Jun 08 18:04:46 revert your changes though Jun 08 18:12:08 @NotKit [revert your changes though], mhm im gonna reinstall rootfs Jun 08 18:12:14 or i could just uhm Jun 08 18:12:19 remove the xenial Jun 08 18:12:20 right Jun 08 18:46:31 is this a fatal error? `error: XDG_RUNTIME_DIR not set in the environment` Jun 08 18:46:41 that's what im getting from the unity compositor log Jun 08 18:52:39 reinstall rootfs I guess Jun 08 18:52:48 @NotKit [reinstall rootfs I guess], i did Jun 08 18:52:58 is spinner running now? Jun 08 18:53:14 yeah but now theres the XDG_RUNTIME_DIR thing Jun 08 18:53:17 i dunno if its fatal but Jun 08 18:53:23 then ignore it Jun 08 18:53:25 according to the pad i should do `mkdir /run/user/32011 && chown phablet:phablet /run/user/32011 && chmod 0700 /run/user/32011` Jun 08 18:53:28 oh alright Jun 08 18:53:36 unity-system-compositor is fine, don't touch it Jun 08 18:53:49 alright im gonna drop it's log? Jun 08 18:53:50 check ~/.cache/upstart/unity8.log Jun 08 18:53:53 okayy Jun 08 18:54:05 also run test_egl_configs as phablet Jun 08 18:54:37 @NotKit [also run test_egl_configs as phablet], Starting test (EGL_PLATFORM=(null)) … library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it … ERROR: The DDK is not compatible with any of the Mali GPUs on the system. … The DDK was built for 0x750 r0p1 status range [0..15], but none of the GPUs matched: … EGL Version 1.4 … Extensio Jun 08 18:54:37 ns: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_HYBRIS_native_buffer2 EGL_HYBRIS_WL_acquire_native_buffer EGL_WL_bind_wayland_display … EGL Error 3001 at test_egl_configs.c:106 Jun 08 18:54:50 probably permission error Jun 08 18:54:56 did you create udev rules? Jun 08 18:54:58 i did Jun 08 18:55:12 ls -la /dev/mali Jun 08 18:55:29 @NotKit [ls -la /dev/mali], `ls: cannot access '/dev/mali': No such file or directory` Jun 08 18:56:55 maybe it's named differently, strace and check which dev node does it fail to access Jun 08 18:57:34 @NotKit [maybe it's named differently, strace and check which dev node does it fail to ac …], it was named `/dev/mali0` Jun 08 18:57:43 `phablet@ubuntu-phablet:~$ ls -la /dev/mali0 … crw------- 1 root root 10, 54 jan 2 09:06 /dev/mali0 … ` Jun 08 18:57:49 [Edit] phablet@ubuntu-phablet:~$ ls -la /dev/mali0 … crw------- 1 root root 10, 54 jan 2 09:06 /dev/mali0 Jun 08 18:58:01 seems wrong, fix your udev rules entry Jun 08 18:58:12 search for mali in there Jun 08 18:59:50 @NotKit [seems wrong, fix your udev rules entry], `ACTION=="add", KERNEL=="mali0", OWNER="system", GROUP="system", MODE="0666"` Jun 08 19:07:09 that looks right to me Jun 08 19:08:58 @rxchiie [ACTION=="add", KERNEL=="mali0", OWNER="system", GROUP="system", MODE="0666"], if you check /etc/passwd, there is no user named system Jun 08 19:09:16 so udev fails to chown and skips this rule Jun 08 19:09:44 I think should be OWNER="root", GROUP="android_graphics" Jun 08 19:09:54 `system:x:1000:1000:system,,,:/nonexistent:/bin/false` is in the /etc/passwd Jun 08 19:10:17 ok, now I'm confused Jun 08 19:10:17 but alright Jun 08 19:10:42 so i should replace the arguments? Jun 08 19:11:40 maybe there is something else why rules do not get applied? Jun 08 19:12:13 🤷‍♂️i dont have the skills yet to debug that by myself Jun 08 19:14:37 @NotKit [maybe there is something else why rules do not get applied?], maybe they do get applied Jun 08 19:14:39 and it just Jun 08 19:14:42 somehow Jun 08 19:14:46 skips some lmao Jun 08 19:15:00 and not all but some Jun 08 19:19:25 after sudo apt upgrade my redmi 7 isn't booting :p Jun 08 19:19:47 very interesting Jun 08 19:20:26 was it installed by UBPorts Installer? Jun 08 19:20:31 @NotKit [was it installed by UBPorts Installer?], yup Jun 08 19:20:40 does it have a problem? Jun 08 19:21:08 no idea, just asked if it is our-maintained port Jun 08 19:21:17 ah I see Jun 08 19:21:27 I am guessing thats a reinstall :D Jun 08 19:21:38 yeah i feel like udev isnt applying Jun 08 19:25:22 @NotKit [cp /usr/lib/lxc-android-config/70-zeroltexx.rules /etc/udev/rules.d], HEY Jun 08 19:25:27 i searched around and Jun 08 19:25:32 found ur solution, kit Jun 08 19:25:34 copied udev Jun 08 19:25:35 and Jun 08 19:25:42 LANGUAGE SELECTION APPEARED WOOHOO Jun 08 19:49:48 How do you get anbox running? Jun 08 19:50:19 Couldn't really make it out from the documentation Jun 08 19:55:57 im not getting SSH Jun 08 20:26:17 so uh Jun 08 20:26:21 i applied the apparmor patches Jun 08 20:26:28 during the overlay section on the UBports docs Jun 08 20:26:37 and after that i tried to build systemimage Jun 08 20:26:45 and i encountered these errors: https://pastebin.com/5k1dckFq Jun 08 20:29:37 can i just revert the apparmor patch 😭 Jun 08 20:43:15 could i try to revert the apparmor patches **** ENDING LOGGING AT Wed Jun 09 02:59:56 2021