UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Miatoll devices UT Focal support

    Scheduled Pinned Locked Moved Xiaomi Redmi Note 9 Pro/Pro Max/9S & Poco M2 Pro
    58 Posts 7 Posters 11.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • F Offline
        fungie
        last edited by fungie

        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.

        B 1 Reply Last reply Reply Quote 0
        • Z Offline
          zubozrout @beyolf
          last edited by zubozrout

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

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            beyolf @fungie
            last edited by

            @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!

            1 Reply Last reply Reply Quote 0
            • B Offline
              beyolf @zubozrout
              last edited by

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

              Z 1 Reply Last reply Reply Quote 0
              • B Offline
                beyolf @fungie
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • B Offline
                  beyolf @fungie
                  last edited by

                  @fungie said in Miatoll devices UT Focal support:

                  have two wait two weeks again when using this?

                  No you don't need to wait

                  1 Reply Last reply Reply Quote 0
                  • Z Offline
                    zubozrout @beyolf
                    last edited by

                    @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?

                    B 1 Reply Last reply Reply Quote 0
                    • B Offline
                      beyolf @zubozrout
                      last edited by

                      @zubozrout no you don't need to wait, just the quickly use the miunlocktool

                      1 Reply Last reply Reply Quote 1
                      • F Offline
                        fungie
                        last edited by

                        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.

                        Z 1 Reply Last reply Reply Quote 0
                        • Z Offline
                          zubozrout @fungie
                          last edited by

                          @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 :(.

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            fungie
                            last edited by fungie

                            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?

                            B Z 2 Replies Last reply Reply Quote 0
                            • B Offline
                              beyolf @fungie
                              last edited by

                              @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

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                beyolf
                                last edited by

                                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.

                                1 Reply Last reply Reply Quote 3
                                • Z Offline
                                  zubozrout @fungie
                                  last edited by

                                  @fungie said in Miatoll devices UT Focal support:

                                  So each time i do a clean install of ubuntu touch i have to flash (in this case) the stock firmware.

                                  I doubt it. You can use the installer to reinstall UT with a wipe option to make it a clean install. If you go from a non Android 10-based system then yes, you need Android 10 firmware to be able to use UT because it is at least currently based on Halium 10 which expects Android 10 drivers ...

                                  F 1 Reply Last reply Reply Quote 3
                                  • F Offline
                                    fungie @zubozrout
                                    last edited by fungie

                                    @zubozrout this is exactly were I am coming from. So when I break the system I want to be able to make a new installation without xiaomis permission. Maybe they will change there security methods in a few years and then you can't do anything after breaking the system. Update halium seems also impossible than.

                                    Z 1 Reply Last reply Reply Quote 0
                                    • Z Offline
                                      zubozrout @fungie
                                      last edited by

                                      @fungie as I said, I never had to go down the road. Whenever I wanted to flash a different firmware I just installed the respective Xiaomi system using the recovery flashable zip archive. Then I didn't even have to let it boot, rebooted directly to fastboot and let UBports Installer to take care of it. And as mentioned above^ this time, once 20.04 is available, I am going to ignore the full system installation and just going to try to install the firmware also available on the same xiaomifirmwareupdater site, because that needs to suffice.

                                      Of course in case you experience a bootloader relock just like @beyolf you might need to go down that route of booting the Xiaomi system and unlocking it again in system settings.

                                      B 1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        fungie
                                        last edited by fungie

                                        Correct me if I am wrong but my understanding is like this:

                                        -Halium is based on the stock ROM for these devices.

                                        -flashing a stock rom means repartitioning and flashing ROM, recovery and bootloader and in the case of Xiaomi this means you have to unlock the boot loader again then. Which is only possible with the official installer, were you have to log in with your Xiaomi account.

                                        I have no experience if dirty flashing Ubuntu touch on a broken Ubuntu touch installation without installing the stock rom is possible. If so you would be tied on the installed stock rom/Android version of the halium version (hope I got this right) if Xiaomi drops support on the present security method.

                                        Z 1 Reply Last reply Reply Quote 0
                                        • Z Offline
                                          zubozrout @fungie
                                          last edited by Moem

                                          @fungie

                                          -Halium is based on the stock ROM for these devices

                                          Only the Firmware part (drivers communicating with the hardware), which is the base of the stock ROM and something that gets installed on your phone if you install the full stock ROM, yes.

                                          -and in the case of Xiaomi this means you have to unlock the boot loader again then

                                          I don't think so, but we seem to differ here. Never happened to me, though I was only ever installing the stock ROM via recovery, never through MIflash tool mentioned by @beyolf. Might be the difference, IDK.

                                          if dirty flashing Ubuntu touch on a broken Ubuntu touch installation without installing the stock rom is possible

                                          Of course it is. UT is using the base firmware it needs, but if you break the UT installation somehow the firmware will be intact and you can always just use the UBports installer to make a new clean install, as mentioned already.

                                          B 1 Reply Last reply Reply Quote 1
                                          • B Offline
                                            beyolf @zubozrout
                                            last edited by

                                            @zubozrout said in Miatoll devices UT Focal support:

                                            don't think so, but we seem to differ here. Never happened to me, though I was only ever installing the stock ROM via recovery, never through MIflash tool mentioned by @beyolf. Might be the difference, IDK.

                                            Maybe that's the difference and the miflash is locking it.. so I would probably do what you are doing and flash it through recovery so the bootloader don't get locked again

                                            1 Reply Last reply Reply Quote 1
                                            • B Offline
                                              beyolf
                                              last edited by

                                              The UT Focal port is ready and can be installed from the installer. Make sure to choose the 20.04/devel channel if you wish to test Focal and if you find bugs please report them in https://t.me/ut_miatoll

                                              d0e41fa1-01de-4c48-ac23-c570bf10d0b1-image.png

                                              Have a great day/night

                                              1 Reply Last reply Reply Quote 2
                                              • B beyolf referenced this topic on
                                              • First post
                                                Last post