• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GSI][arm64][A/AB] Ubuntu Touch (ubports)

Search This thread

erfanoabdi

Recognized Developer
Jan 3, 2015
1,010
3,161
Tehran
erfanoabdi.github.io
0*xXfO04nJkRitzXe6

Code:
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */

What is Ubuntu Touch?
Ubuntu Touch is the touch-friendly mobile version of Ubuntu.
This operating system is developed and maintained by UBports: An international community of passionate volunteers.
This means Ubuntu Touch is 100% community driven and independent.

What is Halium?
Halium is the collaborative project to unify the Hardware Abstraction Layer for projects which run GNU/Linux on mobile devices with pre-installed Android.

How it is a GSI?
First of all, I should mention ubports GSI definition is different from android, but both are generic.
ubports root file system was always generic and works for most cases, but devs were porting halium system image to add device-specific (HALs and configs) support to ubports Android container.
But after project treble which introduced in android 8, all device-specific parts of android system image moved to vendor partition and we can use "Generic system images" over one vendor partition.
In halium version 9, we use this adventure and have a totally generic system image + root file system.

Requirements:
The only Requirement of booting this GSI is having Halium patched kernel.
Keep in mind having android 9 firmware installed on the device as GSI base is mandatory (GSI can be used on android 8.0 and 8.1 vendors but experimental and not supported yet)

How to install?
For installation guide and kernel patchings details check ubports wiki page: Click Here

Download:
https://build.lolinet.com/file/halium/GSI/

Whats suppose to work?
  • Bluetooth
  • Camera
  • Cellular Radio
  • Mobile Data
  • GPS
  • Graphics
  • Sensors
  • Sound
  • In-call Audio
  • Touch
  • Wifi
  • Vibration
  • Fingerprint
  • Anbox
  • Media Playback

Known bugs?
Bugs are very device specific and mostly should blame device kernel.
oh and of course VoLTE :)

Supports:

Report Bugs:
Explain your bug in proper support telegram groups (from above)
Please don't ask about spoon-feeding or helping on building kernel or device specific builds.
Please don't ask about picking/reverting commits or any basic git commands.
bug reports without logs will be ignored
logs we need are: android logcat, kernel log, syslog
kernel log:
Code:
dmesg
syslog:
Code:
cat /var/log/syslog
logcat:
Code:
sudo -s
LD_LIBRARY_PATH=/system/lib64 lxc-attach -e -n android -- /system/bin/logcat

Sources:

Good luck
ENJOY!​
 

Attachments

  • screenshot20200605_185551882.jpg
    screenshot20200605_185551882.jpg
    74.3 KB · Views: 9,383
  • screenshot20200605_184012516.jpg
    screenshot20200605_184012516.jpg
    82.6 KB · Views: 9,373
  • screenshot20200605_185407778.jpg
    screenshot20200605_185407778.jpg
    127.6 KB · Views: 9,195
  • screenshot20200605_184639224.png
    screenshot20200605_184639224.png
    144.2 KB · Views: 8,937
  • screenshot20200605_184627665.png
    screenshot20200605_184627665.png
    79 KB · Views: 8,696
  • screenshot20200605_184606195.png
    screenshot20200605_184606195.png
    135.6 KB · Views: 8,509
  • screenshot20200605_184601614.png
    screenshot20200605_184601614.png
    129.8 KB · Views: 8,229
  • screenshot20200605_184551650.png
    screenshot20200605_184551650.png
    81.1 KB · Views: 8,002
  • screenshot20200605_184526987.png
    screenshot20200605_184526987.png
    115.3 KB · Views: 7,865
  • screenshot20200605_183749735.png
    screenshot20200605_183749735.png
    119.5 KB · Views: 7,701
  • screenshot20200605_184024825.jpg
    screenshot20200605_184024825.jpg
    175 KB · Views: 7,786
  • screenshot20200605_184006355.jpg
    screenshot20200605_184006355.jpg
    173 KB · Views: 8,002
  • screenshot20200605_183956313.png
    screenshot20200605_183956313.png
    111.7 KB · Views: 7,744
  • screenshot20200605_183949099.png
    screenshot20200605_183949099.png
    225.6 KB · Views: 7,472
  • screenshot20200605_183918833.jpg
    screenshot20200605_183918833.jpg
    189.6 KB · Views: 7,165
  • screenshot20200605_183731140.png
    screenshot20200605_183731140.png
    132.7 KB · Views: 6,908
Last edited:

twfs

Senior Member
Oct 3, 2013
157
35
Hi looks great but should there be any concerns that this shows in the screenshots its based on nougat and Ubuntu 16.04 just curious if there would be a more up to date version in the works
 

erfanoabdi

Recognized Developer
Jan 3, 2015
1,010
3,161
Tehran
erfanoabdi.github.io
Hi looks great but should there be any concerns that this shows in the screenshots its based on nougat and Ubuntu 16.04 just curious if there would be a more up to date version in the works


The ubuntu touch is based on ubuntu 16.04 LTS version and gets needed security patches so no worries
And about the Android N screenshots, that was anbox (kinda an Android emulator) to run Android apps on gnu/linux operating systems
But this GSI needs Android 9 vendor for base to boot correctly..


Sent from my iPhone using Tapatalk
 

twfs

Senior Member
Oct 3, 2013
157
35
The ubuntu touch is based on ubuntu 16.04 LTS version and gets needed security patches so no worries
And about the Android N screenshots, that was anbox (kinda an Android emulator) to run Android apps on gnu/linux operating systems
But this GSI needs Android 9 vendor for base to boot correctly..


Thank you for the reply will try this asap!
 

Sands207

Senior Member
Oct 13, 2014
1,278
670
Portland,Maine
I'm using a Moto g6 play (Jeter) I am using pie vendor on the GSI I am currently on. Besides flashing the Ubuntu GSI and the pie vendor, do i need to patch my kernel too?

Sent from my moto g(6) play using Tapatalk
 

twfs

Senior Member
Oct 3, 2013
157
35
I'm using a Moto g6 play (Jeter) I am using pie vendor on the GSI I am currently on. Besides flashing the Ubuntu GSI and the pie vendor, do i need to patch my kernel too?


I believe so hoping I get a chance to try this today but if you beat me to it let us know how it goes. I will be trying it on a moto g7 power and a pixel 2xl if everything goes smooth
 
  • Like
Reactions: Sands207

Sands207

Senior Member
Oct 13, 2014
1,278
670
Portland,Maine
I believe so hoping I get a chance to try this today but if you beat me to it let us know how it goes. I will be trying it on a moto g7 power and a pixel 2xl if everything goes smooth
Are you going to patch your kernel? Our kernel source is a real unorganized mess, I'm looking forward to trying this out but im not looking forward to untangling the disaster we have on github to do it

Sent from my moto g(6) play using Tapatalk
 
  • Like
Reactions: twfs and eMPee584

twfs

Senior Member
Oct 3, 2013
157
35
Are you going to patch your kernel? Our kernel source is a real unorganized mess, I'm looking forward to trying this out but im not looking forward to untangling the disaster we have on github to do it


Yeah if I understand correctly that is the only way it will boot. Haven't looked at the g6 forums in awhile to see if there might be a custom kernel that may be easier to modify because I don't think we will get lucky enough to find one with it already built in.
 
  • Like
Reactions: Sands207

Sands207

Senior Member
Oct 13, 2014
1,278
670
Portland,Maine
Yeah if I understand correctly that is the only way it will boot. Haven't looked at the g6 forums in awhile to see if there might be a custom kernel that may be easier to modify because I don't think we will get lucky enough to find one with it already built in.
I am one of the top contributers to the g6, I've built ROM's and kernels and while I've been able to produce permissive kernels with a few modifications... patching this kernel may prove difficult for me at my current skill level. I'll give it my best shot though [emoji846]

Sent from my moto g(6) play using Tapatalk
 

erfanoabdi

Recognized Developer
Jan 3, 2015
1,010
3,161
Tehran
erfanoabdi.github.io

tax3718

Member
Mar 28, 2009
38
4
Santa Cruz de Tenerife
Hello,
Excuse my ignorance.
I have already used Ubuntu touch on oneplus one and on Xperia X.
1) Is it possible to carry out this installation on a oneplus 7?
2) What is the ota based on?
3) In what percentage is it operational?
Thank you so much for everything.
 

Top Liked Posts