Miatoll devices UT Focal support
-
Hello guys,
I am trying to continue the work of the previous porter for this devices and bring focal to miatoll devices. I will post here if I have any progress. So far I am setting up the enviroment needed to build and getting familiar with what needs to be done.
-
Another very nice community member made a telegram group for people which wish to follow the progress of the miatoll devises and help with testing or development. Here is the link if someone wants to join us and help.
-
Small update: I managed to build successfully the focal branch of the miatoll devices(YAYYY). Later on today i will try to boot it on my phone and see how it goes. I will post an update when i have more information to share.
-
Update: We got focal running, most of the stuff work so far, i will perform a bit more testing and then i will upload it so everyone else can test it too. I guess a couple more days and it will be up for everyone.
-
Will get my note 9 pro bootloader unlocked in a few hours. It's on Android 11.
Do you know if it's possible to downgrade with the miunlocktool V2?
-
@fungie Hello yes you can downgrade to android 10 by using the MIFlash
miunlocktool - this is only for unlocking not for flashing (use MIflash for flashing the stock rom)
you can find stock roms here:
https://github.com/ubuntu-touch-miatoll/ubuntu-touch-miatoll/blob/main/FIRMWARE.md
remember that you gonna need to unlock the bootloader again when you change firmware
best of luck if you need help you can join telegram group
-
Miunlock tool V2 is a mod from an independent developer.
It can flash recovery images and I think it can also flash stock roms.
I also found this one. It seems to have a checkbox for for relock when flashing stock roms.
https://forum.xda-developers.com/t/miflash-guide-use-xiaomi-flash-tool.4262425/
Which one do you mean? An official tool? Do I have two wait two weeks again when using this?
-
I got it working, but I think I used the firmware from the wrong device tree. Error: not catch checkpoint ($fastboot -s . *Lock).flash is not done.
Now it can't even go into fastboot mode anymore. It was a cheap device with a broken screen though.
-
@beyolf Are you sure? I think, once the bootloader is unlocked it stays unlocked forever - I've never experienced a relock with any of the Xiaomi devices I had or managed. You can use some of the available recovery builds and install a fastboot version of available firmware (or even the whole system). This time I plan to use this shortcut and downgrade from LineageOS 20 I now have to the Android 10 FW using just a FW image, for joyeuse that would be this link: https://xiaomifirmwareupdater.com/archive/firmware/joyeuse/
It worked just fine for a friend with a different Xiaomi device when upgrading to LineageOS 20 and afterall the firmware is what we are after so that the Halium 10 build of UT works.
It is way easier and faster than having to install the whole system + might also be a potential solution for a situation in which there would be an upgrade in between Halium versions, so e.g. if moving to Halium 11 or higher - which might even let people keep the data and installed apps rather than doing a full reinstall.
-
@fungie can you enter bootloader? If you can you can flash new recovery(stock or twrp) and unbrick the phone.
If you join the telegram group it would be easier to communicate and try to resolve your problem. Good luck!
-
@zubozrout yes at least for me whenever I flash stock firmware on my Redmi note 9 pro joyeuse it locks the bootloader again and I need to unlock it.
-
This post is deleted! -
@fungie said in Miatoll devices UT Focal support:
have two wait two weeks again when using this?
No you don't need to wait
-
@beyolf Weird. I think I've done that many times and never had to unlock it again. You need to wait 7 days for each unlock or is it just the thing you can then quickly change (unlock the bootloader) in the stock image Android settings?
-
@zubozrout no you don't need to wait, just the quickly use the miunlocktool
-
I got confused with the codenames (miatoll, joyride and Curtana)
I flashed Curtana. I even removed some lines from the sh file for device verification, because I wanted to flash the us firmware on a eu device.
Now it cannot boot to either system, boot or recovery partition. There is just a short flash of the Xiaomi logo. I think it's gone. And I won't do any soldering. The screen has to many cracks.
Good to now that you don't have to wait again though. Maybe I will get a second device. Although it wasnt a straight forward experience and it doesn't have an OLED screen, it has good specs and a big battery.
-
@fungie said in Miatoll devices UT Focal support:
I even removed some lines from the sh file for device verification
You never want to do that. It is there for a very good reason to indicate you are doing something wrong, as you now unfortunately know :(.
-
One thing i really want to understand.
So each time i do a clean install of ubuntu touch i have to flash (in this case) the stock firmware.
When flashing the stock firmware i have to unlock the bootloader again with the xiaomi unlocker.
Does it require an internet connection/a connection to the xiaomi server to do so?
-
@fungie said in Miatoll devices UT Focal support:
Does it require an internet connection/a connection to the xiaomi server to do so?
Yes the miunlock require connection to the Mi server to unlock the device
-
Update: I am happy to tell you guys that the last know issue was resolved. I made a MR request to the webpage to update it to support focal and that it's no longer unmaintained device. Also we are working on the config for the installer and waiting the backend for OTA updates.