-
LG G6 (h870, as it is the EU version) porting to Ubuntu Touch started to be in shape for testers.
Please, refer to @rymdllama @tanevanwifferen @Guf for any question.
We created a chat in Telegram to share LG porting for UBports Ubuntu Touch: link
This is a device released in 2017 with the following technical specs:- 5.7” Quad HD+ (1440x2880), 18:9 ratio, HDR10
- Qualcomm(c) Snapdragon(tm) 821 (2.35Ghz Quad Core)
- Touch with rear fingerprint sensor
- 4GB RAM, 32GB eMMC, micro SD slot (up to 2TB)
- 3,300mAh (embedded)
- Rear camera: Dual 13MP (dual matrix 1/3.06”), Standard 71°, f/1.8 * Wide-angle 125°, f/2.4
- Front camera: 5MP, wide-angle 100°, f/2.2
- Usb-c output (Fast charge 3.0)
Distributed with Android 7.0 Nougat, so suitable for Halium-7.1 (issue #115). Full description is available here.
At this extent, the following feature are successfully ported on UT and work out-of-the-box:
- Linux 3.18.31 (msm8996) on arm64-v8a
- GUI: unity (8.20), mir (0.31.2)
- GSM (inbound/outbound calls)
- SMS: inbound and outbound fully working, and notifications appear in the menu,
- Ofono: audio in inbound and outbound calls work works out-of-the-box
- 4G data connection
- wifi
- Screen rotation, using Ubuntu Touch Platform API, too. Rotation block also works
- Power (fingerprint and power button), Volume up and down buttons
- Printscreen by pressing at the same time Volume+ and Volume- during 2-3 seconds
- Apparmor patch applied and working
- Notification (bubble and sound both work)
- Battery animation while charging
- Sound and headset output
- Vibration
- Stats on blocked screen
- Sensors (test_sensors's output)
- Anbox
- Bluetooth (update 2020-11-14)
Lxc contained is working fine.
Still to improve or to test (2020-01-26):
- LEDs: manually working, but no sign of them to be used with notifications,
- GPS
- Front and rear cameras (even though it was applied @peat_psuwit's gst-droid and installed nemo-qtmultimedia-plugins)
- Video playback (still to test)
Still to test (2020-01-26):
- Fingerprint
Updated images (2020-03-26):
- system.img
halium-boot.img(see later new version to download with bluetooth enabled)
Repo in github:
To make Bluetooth work you need to:
- if your device bootstrap from
systempart, flash the following halium-boot, otherwise if you install fromhalium-installindatapart, flash this halium-boot
both enableHCIUARTandHCIUART_H4; - and manually (at the moment) execute the following commands:
# chmod 0660 /sys/class/rfkill/rfkill0/state # chmod 0660 /sys/class/rfkill/rfkill0/type # chgrp dialout /sys/class/rfkill/rfkill0/state # chgrp dialout /sys/class/rfkill/rfkill0/type # rfkill unblock bluetooth # hciattach -p -t 30 /dev/ttyHS0 bcm43xx 115200 flow `cat /data/misc/bluetooth/bdaddr`and you will see that there is a nel
hci0:root@ubuntu-phablet:~# hciconfig -a hci0: Type: Primary Bus: UART BD Address: AA:AA:AA:AA:AA:AA ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING PSCAN ISCAN RX bytes:846 acl:0 sco:0 events:60 errors:0 TX bytes:4057 acl:0 sco:0 commands:60 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: MASTER Name: 'LG-h870' Class: 0x5c0000 Service Classes: Rendering, Capturing, Object Transfer, Telephony Device Class: Miscellaneous, HCI Version: 4.1 (0x7) Revision: 0x0 LMP Version: 4.1 (0x7) Subversion: 0x6119 Manufacturer: Broadcom Corporation (15) -
@Guf This is an exciting port, the lg g6 is a great phone. Any chance this would work with an h871?
-
@dieharddan I have no idea what the difference between the two is! is it EU or US model?
Anyway I can try to help you, if you want.
You can adapt your port accordingly with my sources.
@tanevanwifferen and @rymdllama are on it. -
@dieharddan Lg g6 model numbers variants in this (article)[https://www.teamandroid.com/2017/04/15/lg-g6-model-numbers-variants/]
if you want to port it, and you have telegram, you can join us on a little group I just created -
yes it is a us version, I don't have one anymore but would repurchase to try it out at some point
-
@Guf maybe that helps you.
It seems like its nearly the same.I have hoped a long time for the Xperia X port. After it got abandoned I was quite disappointed, but this port seems quite exiting.

-
@Guf said in Ubuntu Touch on LG G6 (h870 model): call for testers:
Annoying flooding of errors in dmesg with the following message: "IPC_RTR: msm_ipc_router_bind: pm-service Do not have permissions" . It unfortunately drains battery
Hi i have ported LG V20, same hardware and manifacture. for this error
Annoying flooding of errors in dmesg with the following message: "IPC_RTR: msm_ipc_router_bind: pm-service Do not have permissions" . It unfortunately drains batteryDidi you added SECURITY_ANDROID_GID_CAPABILITIES in your kernel ?
see this
http://docs.halium.org/en/latest/porting/debug-build/wifi.html -
@makeixo @walidham Fixed! I applied the patch for bullhead which suggested the same: to disable CONFIG_ANDROID_PARANOID and to enable SECURITY_ANDROID_GID_CAPABILITIES, but I hadn't done it well. With the help of @tanevanwifferen (who suggested what was wrong), we fixed it ... so let's go for other issues, now
-
You might want to use the list at then end of this page: https://pad.ubports.com/p/PortChecklist to give a detailed and standardized overview of whats working and whats not

-
@Guf I haven't done anything. I am just lurking. I am more like a fan.
-
@Guf Can you explain what was wrong? I'm facing the same flood problem on the different device (but it is based on the same qcom platform). I applied patch and it doesn't help
-
@vadikas the patch is 1 in a set of 3, and all 3 must be done to make it work I think. @Guf had the two others already. The three changes are listed at the bottom of this page:
http://docs.halium.org/en/latest/porting/debug-build/wifi.html
-
Well that's great! I know I'm a little late to the party. But I am interested in giving this a shot. @Guf @tanevanwifferen, although, I have the h872 and I bet that this little difference makes it incompatable. Is this true?
-
@Guf Would love to test it on my h870, do you need to have an unlock bootloader?
-
Hello everyone ! I'm new to the UBPorts community, so i was about to get a new phone in the next days to run Ubuntu. But fortunately i've got a LG G6 at home ! But, the model version is H870s, so with no unlockable bootloader... I think it's a problem, right ?!
Everyway, keep going on this port, LG G6 is an Amazing phone ! -
I got the American version with a cracked screen but I’d be willing to contribute to the cause. It’s currently with Verizon locked. If I get it unlocked will I be able to test it on that? It’s got a cracked screen so the risk to reward ratio is favorable. I’ve never done this before so I have no clue how to start.
-
I also have a US version (VS988), and am new here. I'm not sure if I can test this port on my phone, or if they're different enough it's going to have to be a different port.
-
I have a US model LG G6 somewhere that my wife upgrade from recently, would love to help test. Only other phone I have that can boot Ubuntu is a Nexus 4
Long time Patreon supporter :call_me_hand_light_skin_tone: -
Hi, i've got an h870 model.
I've been trying to to put the image on my phone but i can't seem to pass the part with resize2fs from the halium-install script. Any help?
The error i keep getting is:
"Scanning inode table resize2fs: No space left on device while trying to resize system-20200326.img" -
@MexHH Yep, you need to do it, with the following command:
fastboot flash unlock unlock.binwhereunlock.binis you unlocking file that you will be provided by requesting tohttp://mobile.developer.lge.com/
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login