FORUMS

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

273 posts
Thanks Meter: 205
 
By walidham, Senior Member on 13th November 2019, 12:54 PM
Post Reply Email Thread
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 : https://youtu.be/E2FtIR7SUYU

Sources:
Kernel:
https://github.com/walidham/android_...ree/halium-7.1

Device:
https://github.com/walidham/android_...ree/halium-7.1
https://github.com/walidham/android_...ree/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:
ssh [email protected]
  • 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
The Following 13 Users Say Thank You to walidham For This Useful Post: [ View ] Gift walidham Ad-Free
13th November 2019, 05:33 PM |#2  
Senior Member
Thanks Meter: 27
 
More
excellent sir
13th November 2019, 11:07 PM |#3  
OP Senior Member
Thanks Meter: 205
 
Donate to Me
More
Got Camera work, but without video record, just take photo on 12mb max
The Following 2 Users Say Thank You to walidham For This Useful Post: [ View ] Gift walidham Ad-Free
15th November 2019, 11:17 AM |#4  
Junior Member
Thanks Meter: 0
 
More
i want to try ubuntu. can you make more detail about instal ubuntu.
because in step 1 . always like this
not found.
thank you
15th November 2019, 04:01 PM |#5  
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!!!
The Following User Says Thank You to nickhaven For This Useful Post: [ View ] Gift nickhaven Ad-Free
15th November 2019, 04:20 PM |#6  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by nickhaven

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
15th November 2019, 08:02 PM |#7  
OP Senior Member
Thanks Meter: 205
 
Donate to Me
More
Quote:
Originally Posted by nickhaven

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
The Following 2 Users Say Thank You to walidham For This Useful Post: [ View ] Gift walidham Ad-Free
15th November 2019, 08:05 PM |#8  
OP Senior Member
Thanks Meter: 205
 
Donate to Me
More
Quote:
Originally Posted by raf21

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

in twrp, select install -> clique button install image (at the bottom)
select halium-boot.img (you must copie from pc to your phone)
16th November 2019, 12:43 AM |#9  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by walidham

in twrp, select install -> clique button install image (at the bottom)
select halium-boot.img (you must copie from pc to your phone)

To input halium-install, use terminal in twrp ? Or use terminal in pc.
Sorry for my english
16th November 2019, 05:02 AM |#10  
Senior Member
Thanks Meter: 752
 
More
Quote:
Originally Posted by raf21

To input halium-install, use terminal in twrp ? Or use terminal in pc.
Sorry for my english

Look at halium-install link
halium-install is done on a linux pc/livecd/virtual machine that has the following installed
  • qemu-user-static
  • qemu-system-arm
  • e2fsprogs
  • simg2img
  • sudo
  • binfmt-support
Looks like it asks for the phone to be connected via usb as well.
The Following 2 Users Say Thank You to Phoenix591 For This Useful Post: [ View ] Gift Phoenix591 Ad-Free
16th November 2019, 05:21 AM |#11  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Phoenix591

Look at halium-install link
halium-install is done on a linux pc/livecd/virtual machine that has the following installed

  • qemu-user-static
  • qemu-system-arm
  • e2fsprogs
  • simg2img
  • sudo
  • binfmt-support
Looks like it asks for the phone to be connected via usb as well.

i noob in linux
can you make step for install this .... please
iam very interest in ubuntu touch
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes