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

[ROM][Guide][CITRUS][Port] Ubuntu Touch - Ubports

Search This thread
For all Privacy minded users out there.. Ubuntu Touch is another alternative to Android.

THE HOW
  • Head to citrus|Ubuntu-touch
  • Download the UBports Installer. ( See installer section )
  • Allow USB Debugging in Developer Settings
  • Connect to your PC
  • Allow / Trust your PC
  • Open the installer application
  • Select your device
  • Select OS
  • Install
Installer
Try with an older version. Last known working version is 0.8.9. Go to release page and download it for your OS. Provided the direct link also.
Installer release page

download direct link to 0.8.9-beta version (windows)
Note
Wait for the whole process to finish. You will see ubuntu touch login / setup screen.

What's working and what's not

citrus|Ubuntu-touch

Thanks to
TheKit
Me (
TheMekaniq)
 

Attachments

  • photo_2021-09-30_15-07-40 (2).jpg
    photo_2021-09-30_15-07-40 (2).jpg
    84.4 KB · Views: 92
  • photo_2021-09-30_15-09-11.jpg
    photo_2021-09-30_15-09-11.jpg
    98.2 KB · Views: 92
  • photo_2021-09-27_14-30-37.jpg
    photo_2021-09-27_14-30-37.jpg
    212.1 KB · Views: 94
Last edited:
  • Like
Reactions: data_droid

svaethier

Senior Member
Oct 7, 2015
98
8
tried using the tool and got something about it not being able to get some sort of key from the device so it couldnt flash ubuntu.
 

svaethier

Senior Member
Oct 7, 2015
98
8
Please install adb fastboot drivers (also add them to your path )
Share a screenshot or something so that I can see what's wrong.
Ideally it should work.
this is the error the program gives me: error: adb: preparesytemimage: error: {"error":{"code":1,"cmd":"C:\\Users\\tman1\\AppData\\Local1\\Temp\\1z2CZhpznORyjIPpqvVgfFBXFGZ\\resources\app.asar.unpacked\\node_modules\\android-tools-bin\\dist\\win32\x86\\adb.exe -p 5037 shell mkdir -p /cache/recovery"},"stderr":mkdir: '/cache/recovery": required key not available"}
 
this is the error the program gives me: error: adb: preparesytemimage: error: {"error":{"code":1,"cmd":"C:\\Users\\tman1\\AppData\\Local1\\Temp\\1z2CZhpznORyjIPpqvVgfFBXFGZ\\resources\app.asar.unpacked\\node_modules\\android-tools-bin\\dist\\win32\x86\\adb.exe -p 5037 shell mkdir -p /cache/recovery"},"stderr":mkdir: '/cache/recovery": required key not available"}
can you please do this?

Open powershell / command prompt
run this:
adb devices
 

svaethier

Senior Member
Oct 7, 2015
98
8
is OTA supported or no? not sure how to update to this new update that shows up as the device just reboots to recovery when trying to install it.
 
is OTA supported or no? not sure how to update to this new update that shows up as the device just reboots to recovery when trying to install it.
Hi, OTA is supported for POCO M3. But always take a backup of your important files or documents. Some times, even OTA may go wrong independent of device. Just like the installer problem..
 
great work ! congrats ! really appreciate. if only you could work out the adb/mtp/sd card issues along with earphones so device could be used to listen to music.
thanx anyway :)
Hello, Thanks..

I am only posting this and had a minor role. All of the work is done by TheKit. I just tested and created that devices page for citrus.

This is possible, big thanks to TheKit.
 

Kolindaman

New member
Oct 17, 2021
1
0
Hello, i did the instalation and i got to the startup screen.. but somehow my screen became unresponsive after it, its still unresponsive even in TWRP. Now i cant go back :(
 

melbcycle

New member
May 13, 2012
4
2
www.electricbrain.com.au
Hi, I have the same issue as the OP, however UBPorts Recovery is working fine. Always boots to that.
If I run: fastboot oem device-info
(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false

adb runs fine when in Recovery. I can see the "disk" and top works showing all the processes.

Not sure how to proceed. Tried 0.9.1 and 0.8.9 both Linux and Windows. Same result.
Any help most welcome. Thanks in advance.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    For all Privacy minded users out there.. Ubuntu Touch is another alternative to Android.

    THE HOW
    • Head to citrus|Ubuntu-touch
    • Download the UBports Installer. ( See installer section )
    • Allow USB Debugging in Developer Settings
    • Connect to your PC
    • Allow / Trust your PC
    • Open the installer application
    • Select your device
    • Select OS
    • Install
    Installer
    Try with an older version. Last known working version is 0.8.9. Go to release page and download it for your OS. Provided the direct link also.
    Installer release page

    download direct link to 0.8.9-beta version (windows)
    Note
    Wait for the whole process to finish. You will see ubuntu touch login / setup screen.

    What's working and what's not

    citrus|Ubuntu-touch

    Thanks to
    TheKit
    Me (
    TheMekaniq)
    1
    great work ! congrats ! really appreciate. if only you could work out the adb/mtp/sd card issues along with earphones so device could be used to listen to music.
    thanx anyway :)
    1
    Indeed, my apologies, it was post #4.

    The precise error reported is pretty much identical (This is a copy paste from #4):
    error: adb: preparesytemimage: error: {"error":{"code":1,"cmd":"C:\\Users\\tman1\\AppData\\Local1\\Temp\\1z2CZhpznORyjIPpqvVgfFBXFGZ\\resources\app.asar.unpacked\\node_modules\\android-tools-bin\\dist\\win32\x86\\adb.exe -p 5037 shell mkdir -p /cache/recovery"},"stderr":mkdir: '/cache/recovery": required key not available"}

    The error prevents the installer from reporting it has completed, that is to say it never completes.

    The phone now always boots to UBPorts Recovery or fastboot. The original MIUI is no longer available. So not bricked,

    I followed what I thought were the steps outlined in the reply (use an older version being 0.8.9). It is entirely possible that I missed something however.

    I am thinking now that after the phone unlocked its identity changed invalidating any previous authorization adb had made. I cannot remember if the adb authorization step was carried out again or not. Could this be a cause of this symptom? However, I am certainly able to use adb and even run a shell when UBPorts Recovery is running, although this may have no bearing on the issue (required key not available).

    In any case I'll now locate the mentioned recovery and prepare to reflash the original firmware back in as per your advice.beta

    EDIT: Further to the further...... SUCCESS !!!

    So I download 0.8.8-beta following advice from another post. Then various people had the same issue as me with this version too (so that's 0.9.1, 0.8.9 and 0.8.8) when a person said this issue is caused by infomation left in a user paritition from a previous OS. He said you must wipe the user data. So following that advice I checked the wipe data setting before running. It worked!

    I now have the UBPorts Ubuntu operating system running on my phone. I am very happy too :)

    Thanks for your help it is greatly appreciated and I hope this helps someone else.
    1
    Guys, does Anbox work?
    yes anbox does work but i suggest to use waydroid instead.