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

Search This thread

Top Liked Posts

  • There are no posts matching your filters.
  • 31

     * 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.

    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


    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 :)


    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:
    cat /var/log/syslog
    sudo -s
    LD_LIBRARY_PATH=/system/lib64 lxc-attach -e -n android -- /system/bin/logcat


    Good luck
    Hey guys sorry if i reply late..
    here is the download page for halium-boots i've built for my devices for testing, maybe this comes useful

    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.
    1) yeah it's possible to boot that device, i've booted op7tpro but had some bugs and i really didn't put time to work on them
    2) no ota updates yet
    3) 90% of halium9/ubports platform is functional, but device specific bugs might show up

    I've prepared g7 power (ocean) kernel source as it's common with my device.
    just need to build it
    (Build with gcc, not clang)

    Hey could you possibly link me to the toolchain you are building with please. I've been trying to build this thing for awhile now and always end up with Bluetooth btfm_slim fatal error. Thanks
    i'm using google gcc toolchain
    check this guide for building kernels: https://forum.xda-developers.com/an...erence-how-to-compile-android-kernel-t3627297
    also i just built halium-boot for ocean: https://build.lolinet.com/file/halium/ocean/halium-boot.img

    Sorry, already replied.
    Awesome work
    btw Should it work on Android 10 vendor ?
    thanks, nope only 9 is supported, there's no halium 10 yet

    Does it work on oneplus 6t?
    yeah i've booted
    use this halium-boot: https://build.lolinet.com/file/halium/fajita/halium-boot.img
    (flash it over stock 9)

    Many thanks erfanoabdi building GSI's for all.
    My small and ignorant question is whether this GSI Ubuntu Touch (ubports) is restricted to be started on a Mediatek device (android 9 obviously - octacore)?
    no restriction even there's a fully functional mtk device called volla phone by ubports team
    this GSI works on mtk, exynos and qcom devices

    If I was to install this on my One Plus 7 Pro would msm be able to be used to restore to stock?
    yeah it's possible to go back to stock
    we just place some files on data partition and flash halium-boot on boot partition no more touching to partition tables

    Really cool!
    Could you share the Halium patched kernel image you use for lavender?
    sure, https://build.lolinet.com/file/halium/lavender/halium-boot.img

    Flashed today on a 6t. Some minor things I think can be fixed after reading the docs but a lot of learning to do for me.

    One question, though. How do I boot back into twrp to resize the rootfs?

    Awesome work btw!
    this 8GB is size of rootfs.img which is read-only and just root of ubports for system files and shouldn't be edited, your data partition size is untouched.

    Anyone have Anbox working? Followed instructions here, got "ubport is not supported (yet)" https://forums.ubports.com/topic/1676/development-testers-for-anbox/9
    yeah here is the anbox installation guide: https://gist.github.com/Vince1171/69cdcb2e90f2c70e3ee24de93da8caac

    Hi erfanoabdi.
    Your work makes talk on ubports forums.
    Maybe you could come and share your work there too.
    And maybe join the ubp (device porting?) team?
    I see your nick is registred there : https://forums.ubports.com/user/erfanoabdi
    Is that you?
    All effort for UBP rising should be merged in one i think...
    See here https://forums.ubports.com/topic/1621/would-it-be-possible-to-make-a-ubports-gsi , or there https://forums.ubports.com/topic/4501/this-might-help-with-porting-devices-to-ut/7?_=1593207213241
    yeah that's me,
    thanks for letting me know, will join you guys there

    can i install app like linux normal, sir?
    this project can be multiboot with android wil be greatest! maybe in the feature?
    1) yeah you can install "some" linux apps on libertine container but not all: http://docs.ubports.com/en/latest/userguide/dailyuse/libertine.html
    2) multiboot not supported, but device specific porters found solutions for it..
    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
    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

    I've prepared g7 power (ocean) kernel source as it's common with my device.
    just need to build it
    (Build with gcc, not clang)

    Sent from my iPhone using Tapatalk
    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
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone