Installation of Ubuntu Toch on Xiaomi Mi A2 doesn't work
-
I used the UB Ports Installer to install Ubuntu Touch on my Xiaomi Mi A2. I followed the steps in the installer, but I always get this message:
Error: fastboot:format: Error: formatting failed: Error: {"error":{"code":1,"cmd":"fastboot format:ext4 system"},"stdout":"Creating filesystem with 786432 4k blocks and 196608 inodes\nFilesystem UUID: cd4fb2b7-b8ff-4418-ad08-292645e0c0f6\nSuperblock backups stored on blocks: \n\t32768, 98304, 163840, 229376, 294912\n\nAllocating group tables: 0/24\b\b\b\b\b \b\b\b\b\bdone \nWriting inode tables: 0/24\b\b\b\b\b \b\b\b\b\bdone \nCreating journal (16384 blocks): done\nWriting superblocks and filesystem accounting information: 0/24\b\b\b\b\b \b\b\b\b\bdone","stderr":"< waiting for any device >\nmke2fs 1.45.4 (23-Sep-2019)\nSending 'system_b' (92 KB) OKAY [ 0.006s]\nWriting 'system_b' FAILED (remote: 'Flashing is not allowed in Lock State')\nfastboot: error: Command failed"}
Can someone tell me what I need to do to install Ubuntu Touch? The Phone is on Android 10, maybe this is the problem?
-
@falconer78 Did you first unlock the bootloader?
Also, use the 0.8.8 installer version as the newest versions seem to not work well... -
@falconer78 said in Installation of Ubuntu Toch on Xiaomi Mi A2 doesn't work:
remote: 'Flashing is not allowed in Lock State'
That sounds like a locked bootloader.
And yes, android 10 is not the right one to start with, android 9 is the basis for halium 9 ports. -
Hi, thank you for your respone. Although I'm in the developer options, the part "OEM unlocking is greyed out and I cannot change it to "on".
-
@falconer78
Turn on USB debugging, enter bootloader and through ADB execute:
fastboot flashing unlock
Should solve the issue hopefully. -
@yoni said in Installation of Ubuntu Toch on Xiaomi Mi A2 doesn't work:
@falconer78
Turn on USB debugging, enter bootloader and through ADB execute:
fastboot flashing unlock
Should solve the issue hopefully.Thank you. Is there a guide or manual how to do the things you suggested?
-
@falconer78
Too many but there always seem to be specific issues related, I learned from researching, but if you're stuck I can try and help.. Did my suggestion work even work for you and did you get UT working? -
@yoni I'm not quit sure if I got all your steps correctly.
- Turn on USB debugging --> done
- Enter bootloader --> how do I do that? Edit: it turns out that the phone has to be connected to the wifi, so OEM unlocking is on now
But when starting the phone with Powerbutton+Volume down I only get a screen that says "Fastboot", but nothing happens, so I can't execute your third advice
-
@falconer78 If you have unlocked the phone and USB Debugging you should be able to use the installer again IIRC you can leave the phone in fastboot.
-
@falconer78
XDA is probebly the right place to get your phone prepared for UbuntuTouch, here's a guide:
https://forum.xda-developers.com/t/guide-how-to-unlock-bootloader-xiaomi-mi-a2.3831484/
Once you'll get past the unlocking, you can start here: https://ubuntu-touch.io/get-ubuntu-touch and here: https://docs.ubports.com/en/latest/userguide/install.html -
@yoni Thank you, I will give it a try.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login