Installing Ubuntu Touch to a Xiaomi Mi A2 with Android 10
-
@mrt10001 @nero355 This archive https://github.com/ubports-xiaomi-sdm660/artifacts/releases/download/v0.1/jasmine_sprout_stock_android9.zip (after extraction) cannot be flashed with MiFlash. it says "can't find flash_all.bat"
What I can do to install Android 9 (provided by ubports) on my device ?
@mrt10001 said in Installing Ubuntu Touch to a Xiaomi Mi A2 with Android 10:
try installing UT with Android 10 first, it may just work. As I said, I download and use Android Studio as it installs the correct and latest Fastboot and ADB drivers and has always worked for me.
In the ubports web site they say that a particular Android version must be installed first. I can't take the risks !
-
@embeddedmz If you don't want to take the risk, don't flash Ubuntu Touch, there is a risk in flashing a phone or tablet with any ROM, it is just having the wherewithal step back and work through any issues. I have had Ubuntu Touch fail to install many times and worked through, I have not bricked any phone or tablet installing it (I am currently trying with the Mi Note 3 which I failed miserably with, but will have another go). Persistence is key to doing this (I first flashed my BQ Aquaris e4.5 first, then did Nexus 4 and 5 to really get the hang of it and iron out my own self perceived issues) and thinking it is always recoverable - the vast majority of time it is.
Some of the links may be outdated, but here is the link i have used.
-
@mrt10001 is it normal that this step takes forever ?
Update : OKAY I reached reboot screen
-
@mrt10001
Now, I'm stuck here (In Windows 10 the name of the device is "Failed to boot") The Xiaomi Mi A2 is showing android one and unlocked.That's why they say it requires a specific Adnroid version from UBPorts
-
@mrt10001 What can I do now ? The MiFlash can't recognize my phone anymore
-
@mrt10001 Under fastboot it is recognized by MiFlash, so I can use an official image to restore the system !
Update : I reinstalled Android 10 with an image downloaded here : https://c.mi.com/in/miuidownload/detail?guide=2
So, it is confirmed : we do need to install that particular UBPorts Android 9 version but it can't be done with XiaomiFlash
I will try with Ubuntu when I get back home, maybe things will be different (curse you gooooogle) !
-
@embeddedmz here is the link to all Mi A2 firmware. use a global image and a fastboot image (not recovery). Persevere, the firmware flash may take longer than expected.
Here is a link to my experience. The ADB issue appears to be caused by the ADB version. Other factors could be the version of the installer (recommended is 0.8.9-beta), the USB port you are using and the USB cable.
Unfortunately, it is not always so straightforward, but keep asking if you get stuck
-
@mrt10001 said in Installing Ubuntu Touch to a Xiaomi Mi A2 with Android 10:
@embeddedmz here is the link to all Mi A2 firmware. use a global image and a fastboot image (not recovery). Persevere, the firmware flash may take longer than expected.
Even better : Use the Stock MIUI Android ROM that your phone was sold with!
- EEA model = Use EEA Stock MIUI Android ROM
- Global model = Use Global Stock MIUI Android ROM
- India model = Use India Stock MIUI Android ROM
- China model = Use China Stock MIUI Android ROM
Good luck!
-
@embeddedmz , not sure if root cause is same but I had same problem. On other chat I found some people saying issue could be in USB 3 port. I switched from my Ubuntu laptop (which I experience problem at same stage) to Mac from 2015 and ubports installer managed did the job there
not sure if that helps.. -
@mkarpicki After installing a fresh Android 10 image, now I can boot TWRP.
I finally succeeded in installing Ubuntu Touch thanks to the link you have posted. Thank you
-
-
-