FORUMS

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

998 posts
Thanks Meter: 3,096
 
Post Reply Email Thread
ubports
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!
Attached Thumbnails
Click image for larger version

Name:	screenshot20200605_185551882.jpg
Views:	4992
Size:	74.3 KB
ID:	5034435   Click image for larger version

Name:	screenshot20200605_184012516.jpg
Views:	4978
Size:	82.6 KB
ID:	5034437   Click image for larger version

Name:	screenshot20200605_185407778.jpg
Views:	4890
Size:	127.6 KB
ID:	5034439   Click image for larger version

Name:	screenshot20200605_184639224.png
Views:	4752
Size:	144.2 KB
ID:	5034441   Click image for larger version

Name:	screenshot20200605_184627665.png
Views:	4630
Size:	79.0 KB
ID:	5034443   Click image for larger version

Name:	screenshot20200605_184606195.png
Views:	4562
Size:	135.6 KB
ID:	5034445   Click image for larger version

Name:	screenshot20200605_184601614.png
Views:	4414
Size:	129.8 KB
ID:	5034447   Click image for larger version

Name:	screenshot20200605_184551650.png
Views:	4316
Size:	81.1 KB
ID:	5034449   Click image for larger version

Name:	screenshot20200605_184526987.png
Views:	4260
Size:	115.3 KB
ID:	5034451   Click image for larger version

Name:	screenshot20200605_183749735.png
Views:	4160
Size:	119.5 KB
ID:	5034453   Click image for larger version

Name:	screenshot20200605_184024825.jpg
Views:	4148
Size:	175.0 KB
ID:	5034455   Click image for larger version

Name:	screenshot20200605_184006355.jpg
Views:	4292
Size:	173.0 KB
ID:	5034457   Click image for larger version

Name:	screenshot20200605_183956313.png
Views:	4152
Size:	111.7 KB
ID:	5034459   Click image for larger version

Name:	screenshot20200605_183949099.png
Views:	4056
Size:	225.6 KB
ID:	5034461   Click image for larger version

Name:	screenshot20200605_183918833.jpg
Views:	3932
Size:	189.6 KB
ID:	5034463   Click image for larger version

Name:	screenshot20200605_183731140.png
Views:	3810
Size:	132.7 KB
ID:	5034465  
The Following 26 Users Say Thank You to erfanoabdi For This Useful Post: [ View ]
6th June 2020, 02:02 PM |#2  
Senior Member
Thanks Meter: 31
 
More
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
6th June 2020, 04:28 PM |#3  
Senior Member
Thanks Meter: 84
 
More
Ooook....i want to try..but this not for people like me who dont even know what is patching a kernel.!?
6th June 2020, 04:36 PM |#4  
Senior Member
Thanks Meter: 112
 
More
Quote:
Originally Posted by kiran G.

Ooook....i want to try..but this not for people like me who dont even know what is patching a kernel.!?

Exactly. I need to learn about patching the kernel before trying this out.
6th June 2020, 05:08 PM |#5  
erfanoabdi's Avatar
OP Recognized Developer
Flag Famagusta
Thanks Meter: 3,096
 
Donate to Me
More
Quote:
Originally Posted by twfs

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
The Following 4 Users Say Thank You to erfanoabdi For This Useful Post: [ View ]
6th June 2020, 08:36 PM |#6  
Senior Member
Thanks Meter: 31
 
More
Quote:
Originally Posted by erfanoabdi

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!
7th June 2020, 05:05 AM |#7  
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
7th June 2020, 02:47 PM |#8  
Senior Member
Thanks Meter: 31
 
More
Quote:
Originally Posted by Sands207

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
The Following User Says Thank You to twfs For This Useful Post: [ View ] Gift twfs Ad-Free
7th June 2020, 02:51 PM |#9  
Quote:
Originally Posted by twfs

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
The Following 2 Users Say Thank You to Sands207 For This Useful Post: [ View ] Gift Sands207 Ad-Free
7th June 2020, 02:55 PM |#10  
Senior Member
Thanks Meter: 31
 
More
Quote:
Originally Posted by Sands207

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.
The Following User Says Thank You to twfs For This Useful Post: [ View ] Gift twfs Ad-Free
7th June 2020, 02:59 PM |#11  
Quote:
Originally Posted by twfs

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

Sent from my moto g(6) play using Tapatalk
Post Reply Subscribe to Thread

Tags
gsi, halium, treble, ubports, ubuntu

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

Advanced Search
Display Modes