**** BEGIN LOGGING AT Thu Dec 03 02:59:57 2020 Dec 03 04:02:09 anyone know how I can get the chromeos hybris rootfs? Dec 03 06:52:43 hello, anyone knows how to debug halium-boot ? after flash , I just get a google logo with white screen, Dec 03 06:54:44 when I boot to twrp, seems the kernel is not the one I built, pstore log: https://paste.ubuntu.com/p/YVsJbPs29H/ Dec 03 09:43:45 clarisse Johan was added by: clarisse Johan Dec 03 10:17:11 @zhxt1 [hello, anyone knows how to debug halium-boot ? after flash , I just get a google …], Use hybris Dec 03 10:17:18 Debug version Dec 03 10:18:41 Also … Look at dmesg Dec 03 10:48:40 @zhxt1 [hello, anyone knows how to debug halium-boot ? after flash , I just get a google …], halium-boot is for Ubuntu Touch, it wont work with anything that needs hybeis-boot Dec 03 11:35:12 @shellphish [Use hybris], seems hybris-boot use different defconfigs with halium-boot. Dec 03 11:35:46 @Shakendo [halium-boot is for Ubuntu Touch, it wont work with anything that needs hybeis-bo …], yeah, I want try Ubuntu Touch with halium-9.0 Dec 03 11:38:09 @zhxt1 [yeah, I want try Ubuntu Touch with halium-9.0], is your target a treble device? Dec 03 11:38:23 prebuild with android 8 or 9 Dec 03 11:38:46 yeah, pixel with lineage 16.0 Dec 03 11:39:00 pixel 1? Dec 03 11:39:22 yes, pixel 1 Dec 03 11:40:16 so I am afaid you cannot use GSI :( Dec 03 11:40:22 [Edit] so I am afraid you cannot use GSI :( Dec 03 11:40:58 hmmm, it's not a treble device? Dec 03 11:41:22 The pixel 1 is a treble device Dec 03 11:42:02 oh sorry Dec 03 11:42:03 https://www.androidpolice.com/2017/05/18/current-google-pixelpixel-xl-will-support-project-treble-possibly-meaning-longer-support/ Dec 03 11:42:47 Poco F1 has Halium 8,1 to 11 support. And GSI Support BTW. Dec 03 11:43:12 I think it is a great device with a verry big communtiy. Dec 03 11:44:00 (Photo, 1080x275) https://irc.ubports.com/2bFaIVmY.png Dec 03 11:44:55 @zhxt1 [yeah, I want try Ubuntu Touch with halium-9.0], so you need … > device manifest for pixel … then z Dec 03 11:45:12 @skoerdi [I think it is a great device with a verry big communtiy.], nice, Dec 03 11:45:15 And SD 845 up to 8GB of RAM, SD Card slot and Audio jack Dec 03 11:45:29 a Oneplus 8t is on the way, will get it soon. Dec 03 11:45:53 s/a/an Dec 03 11:48:56 but it seems only shipped with android 11/LOS 18.0, I'm not sure if it's easy to run UT GSI Dec 03 11:49:16 @zhxt1 [but it seems only shipped with android 11/LOS 18.0, I'm not sure if it's easy to …], you need halium-boot.img Dec 03 11:49:42 and patches for android 10 doesn't exist Dec 03 11:50:46 yeah, that's what I worry about, Dec 03 11:53:02 but maybe oneplus wouldn't need it Dec 03 11:53:13 also I didn't find a way to debug halium-boot if it's in a bootloop state. Dec 03 11:53:30 @just_carlod [but maybe oneplus wouldn't need it], we don't know it, until we try Dec 03 11:53:42 @just_carlod [but maybe oneplus wouldn't need it], [Edit] we don't know it, until someone try it Dec 03 11:54:07 @just_carlod [we don't know it, until someone try it], yeah, will have a try when I got it. Dec 03 11:57:29 It might be first 5G device running ut Dec 03 11:59:50 [Edit] Poco F1 has LOS/Android 8,1 to 11 support. And GSI Support BTW. And Halium 9 patched boot image. But still in alpha. Dec 03 12:00:51 I hope the POCO F1 Dev will push his halium devlopment. I want UT as daily driver or Postmarket 🥰 Dec 03 12:01:15 @just_carlod [It might be first 5G device running ut], haha Dec 03 12:02:59 @skoerdi [I hope the POCO F1 Dev will push his halium devlopment. I want UT as daily drive …], it is already in development [gitlab repo here](https://gitlab.com/ubports/community-ports/android9/xiaomi-poco-f1) Dec 03 12:03:33 @just_carlod [It might be first 5G device running ut], nah, first is Nubia mini 5G already Dec 03 12:03:45 (aka TadiPhone0 Dec 03 12:03:49 [Edit] (aka TadiPhone) Dec 03 12:04:34 @zhxt1 did Pixel phones keep USB UART option? Dec 03 12:04:43 [Edit] @zhxt1 did Pixel phones keep USB UART option of Nexus? Dec 03 12:05:22 hmmm, how can I check for that? Dec 03 12:05:36 let me google Dec 03 12:06:57 unfortunately,,, Dec 03 12:07:03 https://blog.bacon.dev/2020/10/enabling-serial-port-or-console-uart-on.html Dec 03 12:07:29 https://duasynt.com/blog/google-pixel-uart-serial-cable Dec 03 12:07:41 sorry, not USB, but 3.5mm jack before Dec 03 12:11:35 @NotKit [https://duasynt.com/blog/google-pixel-uart-serial-cable], haha, that's great Dec 03 12:12:44 @zhxt1 [when I boot to twrp, seems the kernel is not the one I built, pstore log: htt …], but this is weird, pstore log is from Android system Dec 03 12:12:52 so your kernel probably didn't even boot for some reason Dec 03 12:14:10 yeah, very wired, it's a google logo witch white screen, when I flash hybris-boot , it's a google log with black screen, Dec 03 12:16:55 I guess maybe something wrong with the kernel configs Dec 03 12:17:09 or boot.img structure Dec 03 12:18:23 I built the halium-boot.img followed halium docs, Dec 03 12:18:50 do you know do I need this patch : https://github.com/moto-SDM660/android_kernel_motorola_sdm660/commit/6e9ee368bf929a8c9ddafff1d2bb8d0bcca55117 Dec 03 12:19:06 https://github.com/ubports/porting-notes/wiki/Generic-system-image-(GSI)#common-kernel-patches Dec 03 12:19:28 it says: Fix device bootloop to fastboot after enabling CONFIG_VT Dec 03 12:19:48 do you have 4.4 kernel? Dec 03 12:19:59 no, 3.18 Dec 03 12:20:29 that happened only on 4.4 so far I think Dec 03 12:21:03 okay, Dec 03 12:21:13 if you think it is config changes, you can try reverting config and enabling just CONFIG_DEVTMPFS=y Dec 03 12:21:25 @NotKit [that happened only on 4.4 so far I think], that commit origin is from pixel 1 (3.18) Dec 03 12:21:30 it should be enough to boot to telnet (do not install rootfs, just test halium-boot) Dec 03 12:21:38 uh, ok Dec 03 12:23:20 @NotKit [if you think it is config changes, you can try reverting config and enabling jus …], let me try, Dec 03 12:30:48 Hmm Dec 03 12:37:43 @NotKit [it should be enough to boot to telnet (do not install rootfs, just test halium-b …], seems worked, after automatically reboot several times, now I can login with telnet Dec 03 12:39:14 check if CONFIG_VT=y causes it to fail Dec 03 12:39:29 if yes, that patch is needed, and Erfan already said it originated from Pixel 1... Dec 03 12:40:23 okay, will try Dec 03 12:53:24 bootloop with CONFIG_VT=y Dec 03 12:53:46 let me try that patch, Dec 03 13:15:39 Why are mtk kernels so bad😭😭😭😭😭 Dec 03 13:20:47 Can someone tell me what is the bare minimum needed to be enabled in kernel config? Dec 03 13:21:00 I have ikconfig enabled Dec 03 13:22:09 @shellphish [Can someone tell me what is the bare minimum needed to be enabled in kernel conf …], https://github.com/Halium/halium-boot/blob/master/check-kernel-config what happens if you run the config through this script and try compile? errors? if so, try to fix them especially if there aren't many, it's not uncommon for issues t Dec 03 13:22:09 o arise since they never used these options with Android Dec 03 13:22:24 Um … I get a lot of errors Dec 03 13:22:29 It's an old device Dec 03 13:22:51 TheKit told me the options, but that was months ago and I forgot to save it Dec 03 13:23:22 @shellphish [Why are mtk kernels so bad😭😭😭😭😭], becouse developers are stupid. there is ru forum that has mtk andeoid 10 with kernel but nobody want to make it work. they only have 32 bot kernel it comment 6735 work but in general it commemt 6737 i tey it include i complaint and theu ban. this happend when peoples tell true. to work Dec 03 13:23:23 on all smartphone android there is need hackers. be ouse they need reverse engineer every thing correctly. i have 67xx android 6 and lcm include kerbel was not ppssible to find it. ru forum has misleading steps and it disnt work. so we need hackers who can get 100 every thing correct. include if someone think that patch kernel work automatic it is Dec 03 13:23:23 lie..if someone need to patch kernel he need to be 100 hacker becouse he need to prpgram every thing. so internet is full with loe. Dec 03 13:23:56 Welp Dec 03 13:23:58 Yea Dec 03 13:24:16 @Deathmist1337 [https://github.com/Halium/halium-boot/blob/master/check-kernel-config what happe …], User_ns completely breaks the kernel Dec 03 13:24:50 ouch, kernel version and log of errors? Dec 03 13:25:06 @Deathmist1337 [ouch, kernel version and log of errors?], 3.10 Dec 03 13:25:11 Wait for the log Dec 03 13:25:20 pastebin it, don't send as text here Dec 03 13:25:22 USER_NS is not used for Halium LXC container itself, it's for unpriveleged containers Dec 03 13:25:30 @Deathmist1337 [pastebin it, don't send as text here], Yup Dec 03 13:25:34 @NotKit [USER_NS is not used for Halium LXC container itself, it's for unpriveleged conta …], Yea Dec 03 13:26:08 Also someone update the docs please, it still tells people to use mer-kernel-check Dec 03 13:27:25 well, it assumes you aren't porting Ubuntu Touch; that's why https://docs.ubports.com/en/latest/porting/halium_7-1/Building.html exists Dec 03 13:27:40 Ah Dec 03 13:27:51 I have android 5.1 Dec 03 13:27:55 Cm-12 Dec 03 13:27:59 .1 Dec 03 13:28:34 eh, should be about the same on the building part, the site doesn't have specific page for 5.1 Dec 03 13:28:35 Pastebin incoming Dec 03 13:28:41 @Deathmist1337 [eh, should be about the same on the building part, the site doesn't have specifi …], Yea Dec 03 13:28:48 This is attempt #2 Dec 03 13:29:45 Another thing that causes it to fail … Sched Dec 03 13:30:33 you mean disabling sched tune? Dec 03 13:30:42 You'll see Dec 03 13:30:46 It's … Strange Dec 03 13:32:30 https://pastebin.ubuntu.com/p/JmCGxcdCcF/ Dec 03 13:32:39 @Deathmist1337 Dec 03 13:37:27 as notkit stated, you can probably just CONFIG_USER_NS=n for now; try to find the config option which causes the other breakage Dec 03 13:38:17 @Deathmist1337 [as notkit stated, you can probably just CONFIG_USER_NS=n for now; try to find th …], Done Dec 03 13:38:21 @shellphish [/root/halium/kernel/lenovo/Tab2A710F/kernel/sched/fair.c:2245:16: error: 'struct …], This is the final one Dec 03 13:38:47 first off why are you building your kernel as root? are you doing this from a vps or something? Dec 03 13:38:55 @mintphin [first off why are you building your kernel as root? are you doing this from a vp …], Yea Dec 03 13:39:01 oh ok. Dec 03 13:39:29 @NotKit [if yes, that patch is needed, and Erfan already said it originated from Pixel 1. …], haha, that patch worked , fixed the bootloop, thanks a lot :D @NotKit @erfanoabdi Dec 03 13:39:50 @shellphish [/root/halium/kernel/lenovo/Tab2A710F/kernel/sched/fair.c:2245:16: error: 'struct …], just guessing: CONFIG_RT_GROUP_SCHED=n is probably causing this one, could be wrong though Dec 03 13:40:28 K building Dec 03 13:41:02 Nope … Didn't change anything Dec 03 13:41:07 Should I turn it back on? Dec 03 13:42:47 Turned back on … It broke more things Dec 03 13:44:29 it's meant to be disabled as per the kernel checker script :p you can try checking other ones too and changing them to the opposite of what https://github.com/Halium/halium-boot/blob/master/check-kernel-config says they should be (assuming you ran the defconfig through this) Dec 03 13:44:49 Um Dec 03 13:44:50 What Dec 03 13:44:55 I ran it through it Dec 03 13:45:00 And it turned it on Dec 03 13:45:26 Huh Dec 03 13:45:27 Ok Dec 03 13:49:08 @shellphish [/root/halium/kernel/lenovo/Tab2A710F/kernel/sched/fair.c:2245:16: error: 'struct …], Nope can't fix this Dec 03 13:49:19 I think I'll have to manually toggle everything Dec 03 13:50:49 @shellphish [/root/halium/kernel/lenovo/Tab2A710F/kernel/sched/fair.c:2245:16: error: 'struct …], this actually sounds like a simple case of a forgotten `#ifndef CONFIG_...` or similar in some header, can you link the kernel source? Dec 03 13:51:00 Sure Dec 03 13:51:53 https://github.com/skybox211/android_kernel_lenovo_Tab2A710F Dec 03 13:52:01 Doesn't have out current changes to config Dec 03 13:52:06 [Edit] Doesn't have our current changes to config Dec 03 13:52:43 @zhxt1 [haha, that patch worked , fixed the bootloop, thanks a lot :D @NotKit @erfanoab …], but bootloop again after :halium/halium-boot/check-kernel-config arch/arm64/configs/lineageos_marlin_defconfig -w Dec 03 13:53:04 @zhxt1 [but bootloop again after :halium/halium-boot/check-kernel-config arch/arm64/co …], Welp … Looks like you have to go my way too Dec 03 13:53:15 But you can try checking Pastore again Dec 03 13:53:20 [Edit] But you can try checking Pstore again Dec 03 13:54:09 @zhxt1 [but bootloop again after :halium/halium-boot/check-kernel-config arch/arm64/co …], that's because the script does enables CONFIG_VT again... have you tried to revert the commits in your kernel as per https://github.com/ubports/porting-notes/wiki/Halium-9#qualcomm-devices-with-linux-kernel-44-panic-with-config_vt-enabled ye Dec 03 13:54:10 t? Dec 03 13:54:28 @zhxt1 [but bootloop again after :halium/halium-boot/check-kernel-config arch/arm64/co …], [Edit] that's because the script enables CONFIG_VT again. have you tried to revert the commits in your kernel as per https://github.com/ubports/porting-notes/wiki/Halium-9#qualcomm-devices-with-linux-kernel-44-panic-with-config_vt-enabled ye Dec 03 13:54:28 t? Dec 03 13:55:16 yep, the pstore log is my built kernel now Dec 03 13:57:35 I just formated system/data when I tried the fix, I should flash them back again. Dec 03 14:01:16 @shellphish looks like the code should be under a `#ifdef CONFIG_FAIR_GROUP_SCHED`, do you happen to have that config disabled? Dec 03 14:01:27 Lemme see Dec 03 14:01:53 Nope Dec 03 14:01:57 It's enabled Dec 03 14:02:21 hmm, I'll probably have to setup a ubuntu 16.04 build env and check this out while building lol Dec 03 14:02:31 Heh … Thanks! Dec 03 14:02:40 I'll keep flipping the switches Dec 03 14:03:15 Do you want the manifest? Dec 03 14:03:19 @zhxt1 [haha, that patch worked , fixed the bootloop, thanks a lot :D @NotKit @erfanoab …], 🙌 Dec 03 14:26:32 @shellphish [Do you want the manifest?], nah, I'll compile the kernel standalone; I assume the defconfig you've been editing is `bitland8127_tb_l_defconfig`? (it had executable bits set so it stood out from `ls arch/arm/configs`) Dec 03 14:30:03 Yea Dec 03 14:55:12 this kernel is a mess lol, I have some patches like this one so far … ```--- a/kernel/sched/rt.c … +++ b/kernel/sched/rt.c … @@ -1102,7 +1102,7 @@ static int sched_rt_runtime_exceeded(struct rt_rq *rt_rq) … if (rt_rq->rt_time > runtime) { … struct rt_bandwidth *rt_b = sched_rt_bandwidth(rt_rq); … - Dec 03 14:55:12 int cpu = rq_cpu(rt_rq->rq); … + int cpu = rq_cpu(rt_rq); … printk_deferred("sched: cpu=%d rt_time %llu <-> runtime" … " [%llu -> %llu], exec_delta_time[%llu]"``` Dec 03 14:57:31 @Deathmist1337 [this kernel is a mess lol, I have some patches like this one so far … --- a/kernel …], Should I try this? Dec 03 15:00:25 @Deathmist1337 [this kernel is a mess lol, I have some patches like this one so far … --- a/kernel …], The one released by lenovo doesn't even compile lol Dec 03 15:01:27 Rolling back … Got extra error oom_adj Dec 03 15:01:42 [Edit] Rolling back … Got extra error regarding oom_adj Dec 03 15:08:14 Give this one a try too … This is the original Dec 03 15:08:16 https://github.com/KalWardinX/kernel_lenovo_tab2a710f Dec 03 16:14:46 I'm trying to apply hybris-patches but I have this error … https://pastebin.ubuntu.com/p/TDMDy5ZRtb/ … I tried to `repo sync` but it's still the same Dec 03 16:15:07 halium 9 Dec 03 16:17:23 ok, fixed Dec 03 16:17:45 [Edit] ok, fixed I delete this message Dec 03 16:17:53 [Edit] ok, fixed I deleted this message Dec 03 18:01:51 @shellphish I was more busy than I expected so I couldn't really take a look at the kernel for too long, after applying stuff from https://github.com/usb-bullhead-ubuntu-touch/kernel_msm/commits/android-msm-bullhead-3.10-marshmallow-dr1.6-ut some errors dissappeared but some new ones came up; you'll need to see similar 3.10 kernels Dec 03 18:01:51 and what patches they've needed as well as search around for the compile error to create patches Dec 03 18:51:04 Yo … The help is much appreciated!!! Dec 03 18:51:06 Thanks!! Dec 03 19:24:48 I try to install package "repo" on ubuntu 20.04 amd64 Dec 03 19:25:00 but this package is not existing, any Idea what is wrong? Dec 03 19:25:24 I know that repo is past was installed via "curl", has this changed? Dec 03 19:56:37 Trivalik2: just download the script and install it manually, alternatively you could also manually install the deb package for an older Ubuntu release or 20.10 (https://packages.ubuntu.com/groovy/repo) Dec 03 20:44:31 thanks, I will give it a try **** ENDING LOGGING AT Fri Dec 04 02:59:56 2020