[Ubuntu-Touch]WIP-LGV20(h918-h910)TWRP-ZIP-Install

Search This thread

walidham

Senior Member
Nov 27, 2011
291
215
I am not responsible for bricked devices,

This is a port of Ubuntu Touch for the LG V20 T-Mobile h918 variant. Not yet stable.

Before install halium-boot.img backup only your boot partition. You can restore your current system after try Ubuntu touch. Ubuntu touch will be install in data partition not in system partition.

Youtube :

Sources:
Kernel:
https://github.com/walidham/android_kernel_lge_msm8996/tree/halium-7.1

Device:
https://github.com/walidham/android_device_lge_h918/tree/halium-7.1
https://github.com/walidham/android_device_lge_msm8996-common/tree/halium-7.1

Manifest file
https://github.com/walidham/lge_manifest/tree/master

Status
Working:


  • Audio
  • Calling
  • SMS
  • 4G
  • Wifi
  • GPS
  • Vibration
  • Orientation sensor

Missing:


  • Video recording/decoding
  • Bluetooth
  • Flash light
  • ADB/MTP
  • Libertine
  • camera
  • fingerprint

There are two methods to install Ubuntu Touch
Method 1 : unofficial installation with TWRP
1- Download zip file UT TWRP
2- push it in internal storage or sdcard
3- backup up your current boot partition (to restor it later if you want return to android rom)
4- install zip file, make sure your data partition is ext4 (option if you want fresh install you can wipe data partition)
5- rebbot
Note : password is "1111"

Method 2 : official installation/ hard for newbie

NOTE: As the LGV20 aren't community devices yet, the install process may be a little "non-noobie-friendly"



Code:
halium-install -p ut the_rootfs_you_choose.tar.gz system.img

  • While on TWRP:

Code:
adb shell 'mkdir /a; mount /data/rootfs.img /a; echo manual | tee /a/etc/init/rsyslog.override; umount /a; sync'

  • While on TWRP: install halium-boot.img (on boot partition)

  • Then reboot
  • Connect to phone with ssh

Code:

  • When entering in ssh run those commands:

Code:
$ sudo -i
$ mount -o remount,rw /
$ cat /var/lib/lxc/android/rootfs/ueventd*.rc | grep ^/dev | sed -e 's/^\/dev\///' | awk '{printf "ACTION==\"add\", KERNEL==\"%s\", OWNER=\"%s\", GROUP=\"%s\", MODE=\"%s\"\n",$1,$3,$4,$2}' | sed -e 's/\r//' >/etc/udev/rules.d/70-h918.rules
$ reboot

If you want suport this project you can donate

Edited : 03-09-2022 :
Now H910 is supported,

For LG V20, i finished the port for H910, its beta version need more test and fixe bugs.
Download link : https://www.androidfilehost.com/?fid=14871746926876820212
Installatio:
1- backup your data and boot partition. System partition you can take it, we not use it.
2- Download ubuntu-touch-h910-01-01-2020.zip
3- Install the zip
4- Rebbot
 
Last edited:

raf21

Member
Nov 15, 2019
6
0
i want to try ubuntu. can you make more detail about instal ubuntu.
because in step 1 . always like this
not found.
thank you
 

nickhaven

Senior Member
Jun 1, 2009
167
65
Cincinnati
Tried

Very little would need to be fixed to get me to use this ROM full time. GREAT WORK!!!!!!
Excited to see this rom/OS take off. Got this loaded on my phone, love the OS, but found a few issue (might be my fault).
  • Slow but mostly usable.
  • Can't use keyboard in Settings > Accounts. Configuring NextCloud, can't type anything in at all. Would have been way more usable if i could configure the accounts.
  • Other places didn't toggle keyboard when selecting a text field.
If anyone else is or is not having those issue, please let me know as I might have done something wrong.
Calls, messaging, tethering all work great

Is there a debug that Ubuntu Touch uses. Doesn't look like it uses JournalCTL. I would like to see the issue in the debug if possible to see if there is a way i can help.
AGAIN, GREAT WORK!!! AMAZING STUFF!!!
 
  • Like
Reactions: pierro78

raf21

Member
Nov 15, 2019
6
0
Very little would need to be fixed to get me to use this ROM full time. GREAT WORK!!!!!!
Excited to see this rom/OS take off. Got this loaded on my phone, love the OS, but found a few issue (might be my fault).
  • Slow but mostly usable.
  • Can't use keyboard in Settings > Accounts. Configuring NextCloud, can't type anything in at all. Would have been way more usable if i could configure the accounts.
  • Other places didn't toggle keyboard when selecting a text field.
If anyone else is or is not having those issue, please let me know as I might have done something wrong.
Calls, messaging, tethering all work great

Is there a debug that Ubuntu Touch uses. Doesn't look like it uses JournalCTL. I would like to see the issue in the debug if possible to see if there is a way i can help.
AGAIN, GREAT WORK!!! AMAZING STUFF!!!

Can you tell to me how to Input step 1 in twrp?
In my device every want to input halium-boot always not found
 

walidham

Senior Member
Nov 27, 2011
291
215
Very little would need to be fixed to get me to use this ROM full time. GREAT WORK!!!!!!
Excited to see this rom/OS take off. Got this loaded on my phone, love the OS, but found a few issue (might be my fault).
  • Slow but mostly usable.
  • Can't use keyboard in Settings > Accounts. Configuring NextCloud, can't type anything in at all. Would have been way more usable if i could configure the accounts.
  • Other places didn't toggle keyboard when selecting a text field.
If anyone else is or is not having those issue, please let me know as I might have done something wrong.
Calls, messaging, tethering all work great

Is there a debug that Ubuntu Touch uses. Doesn't look like it uses JournalCTL. I would like to see the issue in the debug if possible to see if there is a way i can help.
AGAIN, GREAT WORK!!! AMAZING STUFF!!!

try to fix display scalling
1- when system boot connect to the phone via ssh
ssh [email protected]
Code:
sudo -i
cd  /etc/ubuntu-touch-session.d
nano h918.conf

add this lines

Code:
GRID_UNIT_PX=29
QTWEBKIT_DPR=2.5
NATIVE_ORIENTATION=portrait
FORM_FACTOR=handset

save file and reboot

For debug
Code:
cat /var/log/syslog
dmesg
sudo /system/bin/logcat
 
Last edited:

walidham

Senior Member
Nov 27, 2011
291
215
To input halium-install, use terminal in twrp ? Or use terminal in pc.
Sorry for my english

1- reboot to recovery
2- connect your phone to pc (system ubuntu must be)
3- copy halium-boot.img to interal storage of phone
4- run halium install script
Code:
ex : ./halium-install -p ut ubuntu-touch-hybris-xenial-edge-armhf-rootfs.tar.gz system.img
5-install halium-boot.img with twrp
 

raf21

Member
Nov 15, 2019
6
0
1- reboot to recovery
2- connect your phone to pc (system ubuntu must be)
3- copy halium-boot.img to interal storage of phone
4- run halium install script
Code:
ex : ./halium-install -p ut ubuntu-touch-hybris-xenial-edge-armhf-rootfs.tar.gz system.img
5-install halium-boot.img with twrp

how to run script
every i take halium script in terminal ubuntu always
/home/alienware/Desktop/ubuntu touch/halium-install-master/halium-install.sh' -p
Unsupported post install release! Exiting now
maybe i will try again if anybody can tell to me complete step by step to install ubuntu touch
thank for porting to ubuntu touch to h918
 

walidham

Senior Member
Nov 27, 2011
291
215
how to run script
every i take halium script in terminal ubuntu always
/home/alienware/Desktop/ubuntu touch/halium-install-master/halium-install.sh' -p
Unsupported post install release! Exiting now
maybe i will try again if anybody can tell to me complete step by step to install ubuntu touch
thank for porting to ubuntu touch to h918

make dot and slash before commande like this ./halium-install.sh
 

walidham

Senior Member
Nov 27, 2011
291
215
unofficial installation with TWRP
1- Download zip file UT TWRP
2- push it in internal storage or sdcard
3- backup up your current boot partition (to restor it later if you want return to android rom)
4- install zip file, make sure your data partition is ext4 (option if you want fresh install you can wipe data partition)
5- rebbot
 

Top Liked Posts