**** BEGIN LOGGING AT Mon Feb 22 02:59:57 2021 Feb 22 08:39:57 Hey guys, I hope you are all fine! … I got Halium to run in SSH mode in a LeEco Le2 I had running around but I'm just stuck now. … I read on the guide that some devices (like the x2, or LeEco LeMax2) had some special configurations related to a firmware partition and I am pretty sure I fall in the same category because lxc@android autocrashes Feb 22 08:39:57 . … Anybody familiar with this? Feb 22 09:41:21 Anghirrim was added by: Anghirrim Feb 22 11:11:15 konradybcio was added by: konradybcio Feb 22 11:11:36 @UniversalSuperBox what's the magic behind docs.halium.org auto deploying ktself Feb 22 11:11:45 [Edit] @UniversalSuperBox what's the magic behind docs.halium.org auto deploying itself Feb 22 12:09:07 Hello guys. I've been using Halium (at least some versions) on my OP3 for Ubuntu Touch and I am the lucky owner of a Nexus 5 (Hammerhead) as well. I'd like to play around a bit more with "regular" halium builds for those devices. … I have spent some time reading and re-reading the documentation and now have few questions: … - rootfs.img Feb 22 12:09:08 ==> Are there any distro's out there proposing their own rootfs.img? I did quickly look for Manjaro ARM, no luck. Mobian and PostmarketOS... neither. Plasma Mobile seems to have one. Etc... Is there a list of what's available? … - If I understood well, a working Halium port + the distro rootfs is enough ight? Feb 22 12:09:10 Thanks Feb 22 12:10:04 @Anghirrim [Hello guys. I've been using Halium (at least some versions) on my OP3 for Ubuntu …], We got a LuneOS image using Halium 5.1 for Hammerhead Feb 22 12:10:07 I am familiar with the process of porting Android roms to my phones. I am not a dev, but at least I can build based on existing sources and somewhat debug the building process Feb 22 12:10:29 Our images are device specific, so for Hammerhead we have a ZIP that you can flash with sideload/twrp Feb 22 12:11:19 Basically we use only the minimal Android system.img created by Halium, boot image & kernel are built in the Yocto toolchain with GCC 10.2 at this point in time. Feb 22 12:11:23 @Herrie1982 [Our images are device specific, so for Hammerhead we have a ZIP that you can fla …], Thanks for answering. We're speaking about this LuneOS? … https://webos-ports.org/wiki/Main_Page Feb 22 12:11:32 Yes :) Feb 22 12:12:04 GSI is on the roadmap for once we have Android 9 migration sorted out, but that will be down the line. Hammerhead image is ready if you want to play with it. Feb 22 12:12:07 @Herrie1982 [Basically we use only the minimal Android system.img created by Halium, boot ima …], OK, and what I did not get is that if at some point, the rootfs.img is mixed with the system.img? Feb 22 12:12:58 Well rootfs.img is Halium image itself (minimal Ubuntu from what I understood). system.img = Android which we boot inside a LXC container Feb 22 12:13:02 @Herrie1982 [GSI is on the roadmap for once we have Android 9 migration sorted out, but that …], This will require treblizing the Hammerhead right? Feb 22 12:13:22 no Feb 22 12:13:24 Well for Hammerhead we might actually go mainline kernel Feb 22 12:13:41 Some initial work for that was done and will be revisited shortly within LuneOS project Feb 22 12:13:47 @Herrie1982 [Well rootfs.img is Halium image itself (minimal Ubuntu from what I understood). …], Well... and in which partition is flashed the rootfs.img exactly? Feb 22 12:13:57 @konradybcio [no], No to the treblizing question? Feb 22 12:14:03 @Herrie1982 [Well for Hammerhead we might actually go mainline kernel], we need gpu people to work on freedreno, it's not great atm :/ Feb 22 12:14:06 @Anghirrim [No to the treblizing question?], correct Feb 22 12:14:18 suzu runs 9.0 without treble afaik @fredldotme Feb 22 12:14:26 HOw would a GSI image work without a vendor partition? Feb 22 12:14:38 you don't need to use the gsi pretty sure Feb 22 12:14:42 there are device-specific ports too Feb 22 12:15:38 Oh... my understanding was that the rootsf was "kind of" GSI image, that could work along with the Halium device specific boot and system.img Feb 22 12:15:39 Yes we did some for Xiaomi devices recently (Tissot & Rosy for example, Mido is work in progress for Halium 9) Feb 22 12:16:02 [Edit] Oh... my understanding was that the rootsf was "kind of" or similar to GSI images, that could work along with the Halium device specific boot and system.img Feb 22 12:16:55 @Herrie1982 [Well rootfs.img is Halium image itself (minimal Ubuntu from what I understood). …], Plasma Mobile has a CAF rootfs.img available. That's why I am lost with my questions Feb 22 12:17:07 Not clear on the differnece between system.img and rootfs.img Feb 22 12:17:34 [Edit] Not clear on the difference between system.img and rootfs.img Feb 22 12:17:56 system.img = mimimal Android bits (based on LineageOS usually), rootfs.img = actual OS you're trying to run in this case Feb 22 12:18:09 @Herrie1982 [system.img = mimimal Android bits (based on LineageOS usually), rootfs.img = act …], Clear Feb 22 12:18:31 Which uses Android inside LXC container in most of the cases Feb 22 12:18:53 So rootfs.img should be flashed on the system partition, and will mount the system.img that is stored "somewhere" Feb 22 12:18:57 Right? Feb 22 12:19:26 @Anghirrim [So rootfs.img should be flashed on the system partition, and will mount the syst …], OS dependant really. In LuneOS we put it in userdata Feb 22 12:22:36 So we flash the boot partition with our boot image (kernel+ramdisk, so fastboot image in most cases) where all the magic of mounting various bits happens. Feb 22 12:25:17 @Herrie1982 [So we flash the boot partition with our boot image (kernel+ramdisk, so fastboot …], Yep, reading the wiki 😉 Feb 22 12:26:15 About this, I think that it could help with the issue I was discussing earlier if I could have a non read-only system partition Feb 22 12:26:48 is there any way to write into the system+rootfs while it's booted? Feb 22 12:26:59 I just wanna try to symlink some stuff left and right Feb 22 12:28:27 @Herrie1982 SIde question. How are apps updated or made available in LuneOS? And is LuneOS mature or under active development? Or porting theexisting legacy images is the focus or now? … THanks Feb 22 12:28:55 @Singleton: yes, it's just a simple file to put in the root of the rootfs, iirc Feb 22 12:29:13 @Anghirrim [@Herrie1982 SIde question. How are apps updated or made available in LuneOS? And …], We're a small team, so we do what we can. There are legacy apps that run, there are webapps that can run (browser is new Chromium really), so it can do a lot. Feb 22 12:29:27 For the rest Qt apps can run (either directly or with minor changes) Feb 22 12:30:09 @Singleton: see https://github.com/Halium/initramfs-tools-halium/blob/halium/scripts/halium#L511 Feb 22 12:30:58 Thanks Tofe, I'll look into this and get back to you guys Feb 22 12:33:34 @Herrie1982 [For the rest Qt apps can run (either directly or with minor changes)], Ok, there are LuneOS specific repos available for those Qt apps? Feb 22 12:33:49 @Herrie1982 [We're a small team, so we do what we can. There are legacy apps that run, there …], Yep, no judging, just curious. 😉 Feb 22 12:35:07 @Anghirrim [Ok, there are LuneOS specific repos available for those Qt apps?], No specific repos, but we got Fingerterm, Messwerk and a few others to run without many big changes. Feb 22 12:36:11 AFH doesn't have available mirrors for now to dl the LOS build Feb 22 12:36:15 I'll wait a bit :) Feb 22 12:36:27 [Edit] AFH doesn't have available mirrors for now to dl the CM build Feb 22 12:47:15 For hammerhead, just download the stock 5.1 image, that's fine Feb 22 12:47:39 (if that's what you're talking about) Feb 22 12:51:59 @Tofe [For hammerhead, just download the stock 5.1 image, that's fine], Yes, I also went on Google's factory images website. But found another link for the same CM build on SailfishOS wiki Feb 22 12:52:27 But I prefer the official rom, more trustable than mirrored old buildsd Feb 22 12:53:17 @Tofe [For hammerhead, just download the stock 5.1 image, that's fine], 5.1 or 5.1.1 does not matter? Feb 22 12:54:22 @Anghirrim: not really; what matters is that the partitions for modem,gps,wifi etc have the right versions of the firmwares, and 5.1.* should work both here Feb 22 12:55:04 @Tofe [@Anghirrim: not really; what matters is that the partitions for modem,gps,wifi e …], That's what I guessed, thanks Feb 22 13:22:44 @konradybcio [@UniversalSuperBox what's the magic behind docs.halium.org auto deploying itself], ReadTheDocs Feb 22 13:25:03 that's the actual name yes Feb 22 13:32:49 @UniversalSuperBox [ReadTheDocs], thx Feb 22 16:39:07  was added by:  Feb 22 20:22:58 I got nearly everything running on my LeEco Le2 except sound (which I am pretty sure is a driver on another board) and Wifi. Man was I happy when the device booted. … If anyone would be nice enough just to check the logs (especially for Wifi), I'll be very, very thankful: https://pastebin.com/JFEGrAiC Feb 22 20:29:17 Oh, nice Feb 22 20:29:26 Snapdragon 652, right? Feb 22 20:30:31 Did you try the WiFi tips in Debug Halium article? Feb 22 20:35:28 Yeah it's a 652 Feb 22 20:35:32 I tried the wifi tips Feb 22 20:36:01 I'm pretty sure the wifi binary it wants to load is misplaced but I still haven't found it Feb 22 20:36:53 s2 follows x2 and they are both equally painful to work with Feb 22 20:41:02 also I am suspecting the reason those tips fail is because there is no module at all in the /system/lib/modules folder Feb 23 01:19:02 @Singleton [I'm pretty sure the wifi binary it wants to load is misplaced but I still haven' …], Yep, that's right. Can you send the device tree? **** ENDING LOGGING AT Tue Feb 23 03:00:05 2021