This is an early Halium 13.0 / Ubuntu Touch 24.04 (Focal) bring-up for the LG G8 ThinQ (alphaplus, LM-G820UM) running on a custom 4.14.355 kernel (based on LineageOS 20 sm8150 sources).
Important: Early proof of concept — NOT a daily driver. The repositories currently build the base kernel, Halium boot.img, and rootfs, but device overlays are not uploaded yet. My working image still relies on manual on-device patches (LXC cgroup v1 setup, repowerd, OLED brightness with max_brightness=365, audio, and camera) that are being cleaned up before pushing them to the repo.
Current Status
Working (on my patched test image):
Halium 13 boot via recovery mode, AppArmor confinement, ADB/SSH over USB (RNDIS)
Lomiri UI with hardware/GPU acceleration
Wi-Fi, audio (loudspeaker, microphone, wired headset, volume control)
Camera (photo, video recording, flash, front/rear switching)
Touch, accelerometer/gyroscope (auto-rotation), manual OLED brightness (max_brightness=365), repowerd
Battery percentage, charging while powered on, RTC, clean shutdown, microSD slot, wireless charging
Not working / Pending:
Hardware video playback
Bluetooth (bluebinder), Modem / RIL / oFono (calls, SMS, mobile data), GPS, NFC
Fingerprint sensor, double-tap to wake, suspend, hotspot, auto-brightness, offline charging
Untested:
Vibration, other LG G8 regional variants (LM-G820N, etc.)
Boot Architecture & Kernel Notes (4.14.355)
Recovery-as-boot & ABL behavior: This device uses an A/B partition scheme without a separate recovery partition and without super. On a normal boot, the LG ABL appends skip_initramfs, preventing the Halium initrd from running. Booting in recovery mode allows the Halium initrd to execute cleanly while leaving the normal boot slot available.
userdata encryption: Stock userdata uses FBE + metadata encryption and cannot be mounted by the Halium initrd directly; it currently requires reformatting as plain ext4 (-O ^orphan_file) to be used as datapart=.
Layout I use
boot_b Halium boot.img (kernel + initrd)
system_b Ubuntu Touch rootfs.img (3800M ext4)
userdata ext4, plain (data)
slot A untouched LineageOS (see warning below)
Install (manual, only tested on my own unit)
Prerequisites: EDL access (9008) and a verified backup of persist, modemst1, modemst2 and fsg.
- Build the kernel + boot.img and the rootfs image with the repos below.
- Write rootfs.img to system_b and boot.img to boot_b.
- First boot uses datapart= pointing at a small ext4 partition, because the initrd cannot mount encrypted userdata.
- Boot into recovery mode, log in over USB, format userdata as ext4 (use -O ^orphan_file) and rebuild boot.img with datapart=/dev/disk/by-partlabel/userdata.
- USB mode defaults to MTP. Developer mode (SSH over RNDIS) was enabled manually in my image
Warnings
- Flashing overwrites slot B and wipes userdata. Back up first.
- There is no recovery in slot B. If a flash goes wrong, the way back is EDL.
- persist, modemst1/2 and fsg contain your IMEI and calibration. They cannot be regenerated. Back them up and never share them.
- Booting slot A (LineageOS) with this userdata will most likely make Android format it and wipe Ubuntu Touch. I have not tested it.
- Use at your own risk. I am not responsible for bricked devices.
Kernel 4.14 adjustments:
Built from android_kernel_lge_sm8150 (lineage-20, 4.14.355-openela) with CONFIG_CGROUP_DEVICE, CONFIG_DEVTMPFS, CONFIG_FHANDLE, CONFIG_SYSVIPC, USB configfs RNDIS/ECM, and AppArmor enabled as default LSM.
Because kernel 4.14 lacks modern CONFIG_CGROUP_BPF support expected by newer LXC/systemd setups, the Android LXC container currently relies on a manual cgroup v1 devices controller setup.
Repositories
Kernel (halium-13.0 branch)
Device repo (deviceinfo, dtb, build,sh — overlays pending)
Credits
UBports, Halium, LineageOS, the OnePlus 7 Pro and Pixel 5 port maintainers (used as references).
linkz1201@forums.ubports.com 1 day ago
Update: The minimal working overlays are now pushed to GitLab!
Everything needed for a basic working system is now included in the repository:
Display & GPU acceleration (vndservicemanager + udev rules)
Backlight & screen sleep/wake (repowerd)
Wi-Fi (wlan-on.service)
Speaker, 3.5mm jack & built-in mic (audio_policy_configuration.xml)
Camera (photo + video recording with audio)
Gyroscope / auto-rotation
USB ConfigFS / RNDIS (usb-moded)
The commit
Update bluetooth works now