**** BEGIN LOGGING AT Sun Jun 07 02:59:56 2020 Jun 07 02:59:57 k, gonna apply the warm reboot patch Jun 07 03:00:04 (with cherry-pick ofc) Jun 07 03:00:29 @mintphin [(with cherry-pick ofc)], Actually you can't cherry-pick that because you're on sm6150 rather than sm8150 Jun 07 03:00:36 ah Jun 07 03:01:32 Apply the change manually and copy the commit message, then fill in the author and date from the original commit with `git commit --amend --author='First Last ' --date='... -0800'` Jun 07 03:01:43 ah Jun 07 03:01:44 ok sure Jun 07 03:01:44 You can get the author and date by adding .patch to the GitHub link Jun 07 03:06:30 wdym by that? Jun 07 03:08:32 @mintphin [wdym by that?], you can literally add ".patch" to the end of the commit link: kdrag0n.dev/gcp/zf6/01b19832f59d.patch Jun 07 03:08:50 ah, like that Jun 07 03:08:54 that exposes the author and date in Git format so you can easily set it Jun 07 10:48:04 Crypto Misri was added by: Crypto Misri Jun 07 11:01:04 @JT [@Ingo_FP_Angel Start here: https://github.com/ubports-santoni/android_device_xia …], Thanks for the pointer 😊 … That leads me to another question I already had but forgot to ask before: the instructions how to use Halium-9 GSI only mention patching/compiling the kernel. … What do I have to do with the device tree repo? … Or ma Jun 07 11:01:04 ybe to put it in other words: should I start with the full setup to build the entire system? … So far I hoped it would be enough to just patch the kernel (my hardware is not really powerful)... … P.S.: I guess it's quite obvious this is the first time ever I try to build my own smartphone image πŸ˜‰ Jun 07 11:01:29 @JT [@Ingo_FP_Angel Start here: https://github.com/ubports-santoni/android_device_xia …], [Edit] Thanks for the pointer 😊 … That leads me to another question I already had but forgot to ask before: the instructions how to use Halium-9 GSI only mention patching/compiling the kernel. … What do I have to do with the device tree repo? Jun 07 11:01:29 … Or maybe to put it in other words: should I start with the full setup to build the entire system? … So far I hoped it would be enough to just patch the kernel (my PC hardware is not really powerful)... … P.S.: I guess it's quite obvious this is the first time ever I try to build my own smartphone image πŸ˜‰ Jun 07 11:29:52 hi. I installed gsi, and a little question, but to do it, i got wipe all data Jun 07 11:30:20 and my password was reset(previous one don't work anymore). What is default password? Jun 07 11:30:32 [Edit] and my password was reset for some reason(previous one don't work anymore). What is default password? Jun 07 12:03:12 (Photo, 605x905) https://irc.ubports.com/EgUhTeUS.png OMG Jun 07 14:37:51 JTY Boring was added by: JTY Boring Jun 07 14:37:58 Husky Aslam was added by: Husky Aslam Jun 07 16:19:26 @kdrag0n [I haven't touched Halium/UT for a while so I haven't looked into it much, gl], could u plz check it again, we need your kernel skills. disabling ipa3 kills mobile data … but leaving it enabled breaks wifi on some kernels … idk what kernel change breaks this but doesn't happen on untouched stock kernel source Jun 07 16:20:37 @Ingo_FP_Angel [Thanks for the pointer 😊 … That leads me to another question I already had but f …], ☺️☺️☺️ Jun 07 16:21:15 @Ingo_FP_Angel [Thanks for the pointer 😊 … That leads me to another question I already had but f …], [Click](http://github.com/Linux-On-Whyred/Linux_manifest) Jun 07 16:21:23 😊😊😊 Jun 07 16:36:52 That looks a bit like https://github.com/ubports/porting-notes/wiki/Halium-9 but for some Redmi device. … I actually started to use the Halium-9 documentation form the ubports porting-notes, but now I'm stuck at the "breakfast FP3" step: … ```including vendor/lineage/vendorsetup.sh … Trying dependencies-only mode on a non-existing d Jun 07 16:36:52 evice tree? … [...] … destroy_build_var_cache:unset:5: var_cache_ 2ND_TARGET_GCC_VERSION ANDROID_BUILD_PATHS OUT_DIR print report_config TARGET_2ND_ARCH TARGET_ARCH TARGET_BUILD_VARIANT TARGET_DEVICE TARGET_GCC_VERSION TARGET_PLATFORM_VERSION TARGET_PRODUCT : invalid parameter name``` Jun 07 16:40:53 @Ingo_FP_Angel [That looks a bit like https://github.com/ubports/porting-notes/wiki/Halium-9 but …], yes Jun 07 16:40:57 like this Jun 07 16:41:07 @Ingo_FP_Angel [That looks a bit like https://github.com/ubports/porting-notes/wiki/Halium-9 but …], start mka ... Jun 07 16:46:50 @Ingo_FP_Angel [Thanks for the pointer 😊 … That leads me to another question I already had but f …], Yeah it's enough to build kernel … No need to build system image Jun 07 16:51:24 Ok, thanks. … I'm still somewhat unsure about the hint by someone else to look at https://github.com/ubports-santoni/android_device_xiaomi_santoni/commit/194aa9c1b89c65d1b8487f8f1dc94666a86953d1 for a device specific overlay. … Maybe my idea is totally off, but wouldn't it be possible to add the two commands to enable wifi to `ramdi Jun 07 16:51:24 sk/init.recovery.qcom.rc` of the boot.img? Jun 07 16:55:07 @Ingo_FP_Angel [Ok, thanks. … I'm still somewhat unsure about the hint by someone else to look at …], No we have needed commands to enable wifi Jun 07 16:55:17 Your kernel is broken if it's not working Jun 07 16:55:35 Check dmesg, if ipa3 is crashing Jun 07 16:59:54 Here is the output of `dmesg | grep ipa` … https://paste.ubuntu.com/p/vmNvt23KzP/ Jun 07 17:00:35 @Ingo_FP_Angel [Here is the output of dmesg | grep ipa … https://paste.ubuntu.com/p/vmNvt23KzP/], what phone u use ? Jun 07 17:00:44 Fairphone 3 Jun 07 17:01:01 @Ingo_FP_Angel [Fairphone 3], 😍😍😍😍 Jun 07 17:04:36 @Ingo_FP_Angel [Here is the output of dmesg | grep ipa … https://paste.ubuntu.com/p/vmNvt23KzP/], Send full log Jun 07 17:04:37 @erfanoabdi [Your kernel is broken if it's not working], Ok, maybe I misunderstood. When I execute … ```echo 1 > /dev/wcnss_wlan … echo sta > /sys/module/wlan/parameters/fwpath``` … then WiFi starts working. I was contemplating how to achieve that automatically at boot. Jun 07 17:05:03 @Ingo_FP_Angel [Ok, maybe I misunderstood. When I execute … echo 1 > /dev/wcnss_wlan … echo sta > / …], Using gsi v7? Jun 07 17:05:16 Yes, GSI v7 Jun 07 17:05:55 Do u really have this dev node? Jun 07 17:06:19 Cuz we're just do the sta echo on boot Jun 07 17:07:32 https://github.com/erfanoabdi/android_device_halium_ubport/blob/halium-9.0/rootdir/etc/init.halium.rc#L41 Jun 07 17:07:36 ```phablet@ubuntu-phablet:~$ ls -la /dev/wcnss_wlan … crw-rw---- 1 system system 241, 0 Feb 21 1970 /dev/wcnss_wlan``` Jun 07 17:08:14 Ok will add that in next version … But u can enable it by default on kernel Jun 07 17:09:18 Or goto twrp, mount /data/android-rootfs.img … And edit that rc script and add your line to the file (/system/etc/init/init.halium.rc) Jun 07 17:10:34 Oh, I just found: … ```phablet@ubuntu-phablet:~$ cat /sys/module/wlan/parameters/fwpath … sta``` … Looks like it gets executed from init.halium.rc but doesn't have the desired effect Jun 07 17:11:07 BTW, here is the full `dmesg`: https://paste.ubuntu.com/p/jWVqh5PVF7/ Jun 07 17:11:30 @Ingo_FP_Angel [Oh, I just found: … phablet@ubuntu-phablet:~$ cat /sys/module/wlan/parameters/fwpa …], Yeah I'm not doing the the dev echo πŸ˜… … I didn't found it on any of my phones Jun 07 17:13:43 (y) Jun 07 17:13:47 [Edit] πŸ‘ Jun 07 17:18:29 @erfanoabdi [Ok will add that in next version … But u can enable it by default on kernel], Sounds like a good idea, I'm just not sure how to do that exactly. Jun 07 17:24:54 @erfanoabdi [Or goto twrp, mount /data/android-rootfs.img … And edit that rc script and add yo …], Do this for now Jun 07 17:27:39 Ok Jun 07 17:50:05 Halium 9 question: Can I build Halium 9 for Samsung Galaxy S7, or do I have to stick with Halium 7? From the manufacturer it is listed as upgradable to Android 8 (Oreo), i.e. stock firmware. Is this a limitation? Jun 07 17:51:52 @aribk [Halium 9 question: Can I build Halium 9 for Samsung Galaxy S7, or do I have to s …], is there an Android 9 Rom? Jun 07 17:52:12 you can use a custom firmware too Jun 07 17:52:37 I haven't checked. I'll see if I can find something... Jun 07 17:53:47 So Android 9 is the oldest version that you can base on to build Halium 9? Jun 07 17:54:52 And that corresponds to what, LineageOS 16.1 or 17.1? Jun 07 17:57:55 @maffeen [is there an Android 9 Rom?], I found a LineageOS 16.0 build, including source. Would that fill the requirements? Jun 07 17:59:21 @aribk [And that corresponds to what, LineageOS 16.1 or 17.1?], Lineage 16.x Jun 07 17:59:32 @aribk [Halium 9 question: Can I build Halium 9 for Samsung Galaxy S7, or do I have to s …], not really, halium 9 is for devices with vendor partition, i don't think s7 have vendor Jun 07 18:00:14 @erfanoabdi [not really, halium 9 is for devices with vendor partition, i don't think s7 have …], They ported it Jun 07 18:00:21 I saw in the Descendant Treble group Jun 07 18:00:27 A guy using the GSI on S7 Jun 07 18:00:50 if you have P vendor so yes it's possible Jun 07 18:01:46 @maffeen [I saw in the Descendant Treble group], What's the Descendant Treble group? Where can I reach the guy? Jun 07 18:02:15 @aribk [What's the Descendant Treble group? Where can I reach the guy?], It's a group of a treble rom Jun 07 18:02:28 w8 so I check if I can find the treble port Jun 07 18:02:40 Thx Jun 07 18:02:53 "[PARTITION][TREBLE] Project Treble for Samsu… | Samsung Galaxy S7" https://forum.xda-developers.com/galaxy-s7/development/partition-project-treble-samsung-galaxy-t3901581 Jun 07 18:02:59 Btw, this shit is risky Jun 07 18:03:04 It will repartition your device Jun 07 18:03:44 OK. I'll take time to think it over first. But thanks a lot! Jun 07 18:11:30 @erfanoabdi [if you have P vendor so yes it's possible], So P vendor is the minimum requirement? Nothing specific to be said about hardware (CPU, RAM, storage)? Jun 07 18:11:56 yeah just P vendor and patched P kernel is needed Jun 07 18:12:02 Out of curiosity, is this a list of devices that in theory could work with GSI Halium 9? … https://github.com/phhusson/treble_experimentations/wiki Jun 07 18:28:51 As long as you have kernel source code for that device Jun 07 18:44:37 @erfanoabdi [Or goto twrp, mount /data/android-rootfs.img … And edit that rc script and add yo …], Ok, I now did that and it's working, thanks so much again. … Next step then is to get media playback running I guess. Jun 07 18:45:00 @Ingo_FP_Angel [Ok, I now did that and it's working, thanks so much again. … Next step then is to …], did u pick apparmor kernel patches? Jun 07 18:46:50 No, not yet, this will be the next step. But not today, need to be afk. Jun 07 18:47:05 πŸ˜‰πŸ‘ Jun 07 19:29:30 @mintphin [], @erfanoabdi what do you think it's the issue here? Jun 07 19:37:46 @mintphin [@erfanoabdi what do you think it's the issue here?], No idea Jun 07 19:38:11 Rework on kernel with fully stock source Jun 07 19:46:00 I tried but Xiaomi's kernel is practically impossible to compile. Jun 07 19:50:36 (Photo, 502x834) https://irc.ubports.com/b3fw0FUq.png Thanks Elon Jun 07 19:51:50 @Japa Welch [], @admin Jun 07 21:19:27 @erfanoabdi [yeah just P vendor and patched P kernel is needed], When you say patched kernel you are of course referring to the modified partitioning scheme, but is there anything else that also needs to be done? Jun 07 21:20:24 @aribk [When you say patched kernel you are of course referring to the modified partitio …], Yeah halium patches Jun 07 21:20:59 Ok. Thanks. Jun 07 21:21:08 @aribk [Ok. Thanks.], https://github.com/ubports/porting-notes/wiki/Generic-system-image-(GSI)#common-kernel-patches Jun 07 21:21:39 πŸ‘ Jun 07 23:41:48 Rendy Dud was added by: Rendy Dud **** ENDING LOGGING AT Mon Jun 08 02:59:58 2020