**** BEGIN LOGGING AT Sat Jun 06 02:59:57 2020 Jun 06 04:11:36 mobile data working ,Not showing any H(or H+) icon on status bar Jun 06 04:11:57 Working or not working? Jun 06 04:12:00 bu gsi v7 Jun 06 04:12:15 mobile data working Jun 06 04:12:29 [Edit] gsi v7 Jun 06 04:14:50 ah cool. Jun 06 04:18:58 Calls dead , Jun 06 04:39:45 [Edit] Calls dead , brightntbug ,Power button Jun 06 10:07:16 hi. Today i tried to boot again using different rootfs of ubuntu touch. And again i'm unable to connect via ssh, only via telnet. Here some logs … https://paste.ubuntu.com/p/k776c97RHR/ … As i understand, for some reason system doesn't see /init, event this script is exists(on bottom of logs i checked it). … How do you think what mig Jun 06 10:07:16 ht go wrong? Jun 06 10:08:34 as rootfs i used … https://github.com/ubports-on-fxtec-pro1/rootfs-builder-debos-android9/releases/tag/2020-04-10 … Kernel version is 3.18 Jun 06 10:09:48 [ 5.783518] run-init: current directory on the same filesystem as the root: Not a typewriter Jun 06 10:09:54 it probably failed to mount rootfs.img Jun 06 10:10:14 TheKit, did you look into my issue? Jun 06 10:10:35 no, I sleept :) Jun 06 10:10:51 I see the logs, but what is the problem again? Jun 06 10:11:25 after some time with the kernel with IPA3 enabled the device would freeze, shut down and then proceed to bootloop. Jun 06 10:17:36 @NotKit [it probably failed to mount rootfs.img], ok, thx. Continue investigation issue :) Jun 06 11:39:36 @Ingo_FP_Angel [Ok, thanks, will do. But most likely tomorrow.], With the patched defconfig, halium ramdisk, apparmor-enabler and the GSI image Ubuntu Touch boots up on my FP3, yay! 😀 … Now come the interesting parts... First thing I noticed is that no WiFi networks are found. Jun 06 11:39:42 https://youtu.be/UDQV-GofFx8 Jun 06 11:39:57 Did a full blown video guide. Jun 06 11:40:32 Thanks a lot … Gonna try later 🙃 Jun 06 14:16:34 Jack | Wolfs.Group was added by: Jack | Wolfs.Group Jun 06 15:22:03 @NotKit did the gps work for you on mtk or it's just me having it working :D Jun 06 15:22:24 it tries to locate the satellites now Jun 06 15:22:55 @NotKit [it tries to locate the satellites now], That's enough … Just give it some time and will fix Jun 06 15:23:10 probably need to go outside Jun 06 15:23:18 did you try it inside the building? Jun 06 15:28:32 @erfanoabdi [That's enough … Just give it some time and will fix], hello Jun 06 15:28:46 GSI V7 … Arm64 … or … ArmHf Jun 06 15:28:55 [Edit] GSI V7 … Arm64 … or … ArmHf … ? … Thanks Jun 06 15:38:08 @NotKit [did you try it inside the building?], In balcony Jun 06 15:38:27 Took me 7min to fix Jun 06 15:45:41 @erfanoabdi [Took me 7min to fix], hello GSI v7 Arm64 or Armhf ? Jun 06 15:47:50 @KernelPanix [hello GSI v7 Arm64 or Armhf ?], Armhf Jun 06 15:48:17 @erfanoabdi [Armhf], oh ( i can use armhf rootfs ) Jun 06 15:48:29 u drop arm64 Jun 06 15:48:30 ? Jun 06 15:48:46 or Wait update GSI V8n Jun 06 15:48:49 [Edit] or Wait update GSI V8 Jun 06 15:49:36 @KernelPanix [u drop arm64], Yeah dropped for now … Libhybris has random bugs Jun 06 15:49:47 @erfanoabdi [Yeah dropped for now … Libhybris has random bugs], yeah Jun 06 15:49:50 idk Jun 06 15:50:00 my device bootloop logo ubuntu Jun 06 15:50:07 all Rootfs Armhf Jun 06 15:50:08 idk Jun 06 15:59:02 @erfanoabdi [Yeah dropped for now … Libhybris has random bugs], gsi v6 is arm64? … sorry for tagging Jun 06 15:59:34 @realCEOofHell [gsi v6 is arm64? … sorry for tagging], Yeah Jun 06 15:59:43 Only v5 was arm64 Jun 06 16:12:59 @erfanoabdi [Only v5 was arm64], # Architecture Old … # TARGET_ARCH := arm64 … # TARGET_ARCH_VARIANT := armv8-a … # TARGET_CPU_ABI := arm64-v8a … # TARGET_CPU_ABI2 := … # TARGET_CPU_VARIANT := kryo … # TARGET_2ND_ARCH := arm … # TARGET_2ND_ARCH_VARIANT := armv8-a … # TARGET_2ND_CPU_ABI := armeabi-v7a … # TARGET_2ND_CPU_ABI2 := armeabi Jun 06 16:12:59 … # TARGET_2ND_CPU_VARIANT := cortex-a53 … # Architecture New … TARGET_ARCH := arm64 … TARGET_ARCH_VARIANT := armv8-a … TARGET_CPU_ABI := arm64-v8a … TARGET_CPU_ABI2 := … TARGET_CPU_VARIANT := generic … TARGET_2ND_ARCH := arm … TARGET_2ND_ARCH_VARIANT := armv8-a … TARGET_2ND_CPU_ABI := armeabi-v7a … TARGET_2ND_CPU_ABI2 := armeabi … TARGET_2ND_CPU_ Jun 06 16:12:59 VARIANT := cortex-a73 … TARGET_USES_64_BIT_BINDER := true Jun 06 16:13:19 @erfanoabdi [Only v5 was arm64], bootloop by … # Architecture old ? Jun 06 16:13:23 please check Jun 06 16:13:35 ☺️☺️☺️ Jun 06 16:14:17 @KernelPanix [# Architecture Old … # TARGET_ARCH := arm64 … # TARGET_ARCH_VARIANT := armv8-a … # TAR …], that's not related to rootfs arch Jun 06 16:14:56 @NotKit [that's not related to rootfs arch], yes Jun 06 16:15:08 I Will Try New Architecture Jun 06 16:16:40 not works Jun 06 16:16:44 😂😂😂 Jun 06 16:25:16 Hey I'm trying to port Ubuntu touch to my xiaomi mi 9t (davinci) but http://docs.halium.org/en/latest/porting/first-steps.html says I need lineage os 12.1 or 14.1 but my device only has 16 and 17.1 will it work Jun 06 16:26:14 @MrRobot9874 [Hey I'm trying to port Ubuntu touch to my xiaomi mi 9t (davinci) but http://docs …], ok then build halium-9 Jun 06 16:26:29 https://github.com/ubports/porting-notes/wiki/Halium-9 Jun 06 16:26:56 Ty Jun 06 16:29:39 Hi. I have a general question on Halium. It seems to me, that Hybris only runs on 32 bit systems. Most of today's phones will have a 64 bit architecture... Question: Do I waste time, if I am reding about this project Jun 06 16:44:58 hybris works fine on arm64 too Jun 06 16:49:08 I am also a little confused, because the documentations seems to be a bit outdated. I would also like to find introductory information on porting (I would consider myself as a person with advanced linux building & co. konwledge). Am I missing the website's secret corner? Jun 06 16:51:06 I am talking about the Halium documentation, of course. Jun 06 17:36:41 i'm not sure what there is to be confused about. https://docs.halium.org is the documentation of course Jun 06 17:37:12 there are multiple arm64 devices ported already Jun 06 17:37:52 @dohbee [i'm not sure what there is to be confused about. https://docs.halium.org is the …], It's outdated for Halium 9 unfortunately Jun 06 17:38:15 yes, but that seems a separate issue as halium 9 isn't required for arm64 afaik Jun 06 17:38:25 (Photo, 1280x960) https://irc.ubports.com/F4jrP1bN.png hi again. I finally moved on next step in installing UT. And now system got stuck on loading screen. Jun 06 17:38:34 https://github.com/ubports/porting-notes/wiki/Halium-9 for 9 Jun 06 17:39:12 (Photo, 1280x960) https://irc.ubports.com/gV0IP0hG.png hi again. I finally moved on next step in installing UT. And now system got stuck on loading screen. Could you help, what is next? Jun 06 17:39:37 (Photo, 1280x960) https://irc.ubports.com/RkNzpbfH.png hi again. I finally moved on next step in installing UT. And now system got stuck on loading screen. Could you help, what should i do to try to fix it? Jun 06 17:44:14 here some logs got with "dmesg | grep init" … https://paste.ubuntu.com/p/br2qKsr3sD/ Jun 06 18:09:41 Japa Welch was added by: Japa Welch Jun 06 19:53:21 @chirick2051 [], did you create udev rules? Jun 06 20:48:34 @NotKit [did you create udev rules?], i tried, but got follow … https://paste.ubuntu.com/p/WWf9h2zB35/ … ```cat: '/var/lib/lxc/android/rootfs/ueventd*.rc': No such file or directory``` Jun 06 20:51:48 btw, this is what i got in the directory … ```phablet@ubuntu-phablet:/$ sudo ls /var/lib/lxc/android … config mount-android.sh overrides pre-start.d pre-start.sh rootfs``` Jun 06 20:54:08 oh, my bad, nvm, a little mistake … I got follow … ```phablet@ubuntu-phablet:/$ sudo cat /var/lib/lxc/android/rootfs/ueventd.rc /vendor/ueventd*.rc | grep ^/dev | sed -e 's/^\/dev\///' | awk '{printf "ACTION==\"add\", KERNEL==\"%s\", OWNER=\"%s\", GROUP=\"%s\", MODE=\"%s\"\n",$1,$3,$4,$2}' | sed -e 's/\r//' >/etc/udev/rules.d/70-$DEVI Jun 06 20:54:08 CE.rules … -bash: /etc/udev/rules.d/70-daisy.rules: Read-only file system``` Jun 06 20:54:45 mount -o remount,rw / Jun 06 21:03:22 I'm using Halium-9 on my FP3 and WiFi only works when I run those commands on the phone … ```echo 1 > /dev/wcnss_wlan … echo sta > /sys/module/wlan/parameters/fwpath``` … Taken from http://docs.halium.org/en/latest/porting/debug-build/wifi.html … Is there a way to enable WiFi automatically after each boot? Jun 06 21:04:31 ideally those should be put into init script and provided as device-specific overlay inside system.img Jun 06 21:04:48 you can look how it's done e. g. with santoni, but we don't have GSI-proof method yet Jun 06 21:06:10 @NotKit [mount -o remount,rw /], now got this … ```phablet@ubuntu-phablet:/$ sudo cat /var/lib/lxc/android/rootfs/ueventd.rc /vendor/ueventd*.rc | grep ^/dev | sed -e 's/^\/dev\///' | awk '{printf "ACTION==\"add\", KERNEL==\"%s\", OWNER=\"%s\", GROUP=\"%s\", MODE=\"%s\"\n",$1,$3,$4,$2}' | sed -e 's/\r//' >/etc/udev/rules.d/70-$DEVICE. Jun 06 21:06:10 rules … -bash: /etc/udev/rules.d/70-daisy.rules: Permission denied``` Jun 06 21:06:41 sudo cannot write the file, intresting :D Jun 06 21:06:56 [Edit] with sudo cannot write the file, intresting :D Jun 06 21:07:57 that's normal due to the way input redirection works Jun 06 21:08:08 sudo -s … then command without sudo Jun 06 21:14:28 (Photo, 960x1280) https://irc.ubports.com/xy9AmMei.png Jun 06 21:14:41 ITS WORKING. YEAH Jun 06 21:14:50 thx @NotKit Jun 06 21:16:42 next i should follow this, is it right? … https://docs.ubports.com/en/latest/porting/running-ut.html Jun 06 21:18:38 @NotKit [you can look how it's done e. g. with santoni, but we don't have GSI-proof metho …], Where would I find that? Jun 06 21:58:23 @Ingo_FP_Angel Start here: https://github.com/ubports-santoni/android_device_xiaomi_santoni/commit/194aa9c1b89c65d1b8487f8f1dc94666a86953d1 Jun 06 23:31:23 Анюта Смирнова was added by: Анюта Смирнова Jun 06 23:39:55 @mintphin [here's dmesg @NotKit https://paste.ubuntu.com/p/K6xqsVn8N7/], Any help? Haven't figured it out myself yet. Jun 06 23:41:22 Should i disable CONFIG_IPA_UT too? Jun 06 23:49:37 @mintphin [Should i disable CONFIG_IPA_UT too?], it's not like I have idea Jun 06 23:49:49 generally try to keep those IPA parameters same as on Android Jun 06 23:50:51 @MrRobot9874 [Hey I'm trying to port Ubuntu touch to my xiaomi mi 9t (davinci) but http://docs …], i’m doing that too https://github.com/ubports-on-davinci Jun 06 23:54:40 Earl Paz Gunnhild Valkyria🛡⚔️💙 (@PazValkyria) Tweeted: … @KevinAndreess @macarenasoledad @BotCorazonCelta @hoschil @ChileEnLibertad @ivan_encasa @psapunar @jjimenezzambra @ISAJUZAN @Ricardo70986004 @mariagracia195 @Dani_TapiaA @angiitaagus @MariaCBorsotto @LA_UF @SyvilaC @ONomuty @rehina2017 @VenusDeChile @KatyaranguizP @valeskajimene Jun 06 23:54:40 z @kenacorreaf Vuelo en el helicóptero 🚁 Si sobrevives, es por que eres Fassssho https://t.co/Wr2l6Qbz4W https://twitter.com/PazValkyria/status/1269416164586913792?s=20 Jun 07 00:02:11 <Анюта Смирнова> (Photo, 559x800) https://irc.ubports.com/pJUKPFWq.png NICE Jun 07 00:18:12 @NotKit [generally try to keep those IPA parameters same as on Android], Disabling that parameter didn't do much. I'm still getting bootlooping with the kernel with IPA3 Jun 07 00:18:42 btw, i got a small question, looks like i missed something … When i building the image, how does it choosing, which config file to use? And there any possibility to specify it manually? … Problem is that i set in my 'daisy_defconfig' the module … ```CONFIG_BCMDHD=m```After i rebuilt the images(hybris and sstem.img), afterwards it lau Jun 07 00:18:42 nch my system and all looks ok. But when i executed … ```root@ubuntu-phablet:~# cat /proc/config.gz | gunzip | grep CONFIG_BCMDHD```it returns nothing. … Is it ok or i missed something? Jun 07 00:18:49 @mintphin try to figure out what is the cause of kernel panic Jun 07 00:19:03 Where are logs stored? Jun 07 00:19:23 In the balls Jun 07 00:19:30 pstore, but I've rarely seen it to work nowadays Jun 07 00:19:44 I got it booting back up by rolling back to my old non-IPA3 kernel. Jun 07 00:20:36 Are kernel panics stored? Jun 07 00:20:43 @chirick2051 [btw, i got a small question, looks like i missed something … When i building the …], BoardConfig.mk defines which defconfig to use Jun 07 00:20:56 does your kernel even have CONFIG_BCMDHD? Jun 07 00:21:19 @mintphin [Are kernel panics stored?], they used to be stored in RAM Jun 07 00:21:24 like /proc/last_kmsg Jun 07 00:21:58 I can access that file. Jun 07 00:22:43 i'm will check it right now, but i'm just try to fix wifi, and got follow … https://paste.ubuntu.com/p/qjG6nMGXRh/ Jun 07 00:23:50 is it Halium 7 or 9 without GSI? Jun 07 00:24:49 (Document) https://irc.ubports.com/XOt4zQ2U.txt Jun 07 00:24:50 halium 9 without gsi Jun 07 00:26:14 @mintphin [], try cooling down the phone before it reboots Jun 07 00:26:26 ok, gonna try. Jun 07 00:26:41 wait, wdym by cooling down? Jun 07 00:26:59 like shut it down and after a bit boot it back up? Jun 07 00:27:15 I mean literally putting a packet of ice to it or something as long as it doesn't get wet Jun 07 00:27:26 ah lol ok Jun 07 00:28:23 why tho? Jun 07 00:28:29 is it overheating? Jun 07 00:30:12 nope, but logs are too corrupted to read Jun 07 00:30:50 RAM contents degrade slower at lower temperatures when power is disconnected Jun 07 00:31:04 [Edit] RAM content degrades slower at lower temperatures when power is disconnected Jun 07 00:31:09 oh. Jun 07 00:31:24 but wait... does it reboot like in 60 seconds after start without going to UI? Jun 07 00:33:53 yeah Jun 07 00:34:25 the first boot with the new kernel it works ok, then it freezes and proceeds to reboot into a bootloop. Jun 07 00:39:45 I can't pull instant last_kmsg logs tho, but I can try to get them asap. Jun 07 00:44:19 Ladies and gentlemen. We got em. Jun 07 00:44:34 Now I gotta do the rollback, but the log is saved. Jun 07 00:46:10 uh oh. Jun 07 00:46:12 file is empty Jun 07 00:49:59 i'll wait until the phone boots with no networking services started. Jun 07 00:52:27 (Photo, 960x540) https://irc.ubports.com/qzplKrJq.png RAM cooling setup. Jun 07 00:58:23 placed my phone on the fridge now. Jun 07 00:59:53 (Document) https://irc.ubports.com/faFKcBHV.txt Jun 07 01:02:43 Success! Jun 07 01:03:20 the crash seems to be inside icnss_driver_event_work, but no idea what else is going on Jun 07 01:03:40 Hm. Might be Wi-Fi drivers. Jun 07 01:03:52 I had to implement a kernel patch by kdrag0n that enabled Wi-Fi on 4.14 Jun 07 01:07:31 https://github.com/mintphin/lunecrash/commit/cbaa06318cd58610754dc2fe5c0462c3bfe43abd - that's unrelated, but you don't need Anbox patch on Android 8+ kernels Jun 07 01:07:44 it is enough to add extra binder devices in defconfig Jun 07 01:07:52 Ah. Ok. Jun 07 01:09:59 "Patch 1", "Patch 2" and "Patch 3" are the Wi-Fi fixes. Jun 07 01:10:04 Yes I'm uncreative. Jun 07 01:10:45 I had a quick look, but doesn't seem to be related Jun 07 01:13:06 IDCROW was added by: IDCROW Jun 07 02:18:05 @mintphin [], btw, there's no need for doing this if you just configure the PMIC to not cut power to RAM: kdrag0n.dev/gcp/zf6/01b19832f59d Jun 07 02:18:24 Oh. Jun 07 02:18:55 I think I could implement this patch in a separate branch made for debugging. Jun 07 02:19:06 @mintphin [], interesting hack tho, will keep in mind for debugging obscure early boot issues that occur before the kernel can reconfigure the PMIC Jun 07 02:19:24 @mintphin [I think I could implement this patch in a separate branch made for debugging.], it's fine to keep for all purposes Jun 07 02:19:48 Ah, ok. Jun 07 02:20:08 Btw what do you think is the issue that's causing the constant kernel panics? Jun 07 02:22:01 I mean it's obviously IPA3 but can't seem to find a specific path that leads to a fix. Jun 07 02:56:57 @mintphin [I mean it's obviously IPA3 but can't seem to find a specific path that leads to …], Well first, enable CONFIG_FRAME_POINTER so you can actually get stack traces Jun 07 02:57:06 Ok sure. Jun 07 02:58:06 It's probably similar to the issue on my kernel (IPA init fail: `ipa ipa3_uc_reg_rdyCB:2922 bad parm. inout=0000000000000000`) Jun 07 02:58:41 hm, could be. Jun 07 02:58:44 Yours is missing a check and tries to deference the null pointer, but the underlying issue is most likely the same judging from the stack fragments you have Jun 07 02:59:19 I haven't touched Halium/UT for a while so I haven't fixed it, gl Jun 07 02:59:31 [Edit] I haven't touched Halium/UT for a while so I haven't looked into it much, gl Jun 07 02:59:38 hm. **** ENDING LOGGING AT Sun Jun 07 02:59:56 2020