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

    Ubuntu Touch on Redmi Note 9

    Scheduled Pinned Locked Moved Xiaomi
    9 Posts 3 Posters 67 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.
      • P Offline
        paul-henri
        last edited by

        I am trying to install Ubuntu Touch on a Xiaomi Redmi Note 9 with Ubports. Ubports recognises the device and starts flashing it. After flashing is almost finished, the device boots into UBports recovery and at the bottom of the screen is the following written: failed to save locale to cache recovery last locale no such file or directory. I can try whatever option on the menu, it always boots back to this UBports recovery or another menu or Fastboot. What can I do to get UBports to install Ubuntu Touch?

        MrT10001M 1 Reply Last reply Reply Quote 0
        • MoemM Moem moved this topic from Dutch / Nederlands
        • developerbaymanD Offline
          developerbayman
          last edited by

          hi i have the same phone ...im thinking you downgraded with the wrong android version ....its very finicky with this on the xaiomi firmware page grab the first android 10 version ...few times i accidentally grabbed the wrong one

          1 Reply Last reply Reply Quote 0
          • developerbaymanD Offline
            developerbayman
            last edited by

            also ensure you have the correct version for your region

            1 Reply Last reply Reply Quote 0
            • MrT10001M Offline
              MrT10001 @paul-henri
              last edited by

              @paul-henri What you are seeing is quite correct. As @developerbayman pointed out, ensure you have installed the Android ROM stipulated by the porter (see the devices page) . If you have done that, ensure you tick all the boxes on the installer "wipe data" and the others. If you did that and are running it through the installer again that is not so important.

              Xiaomi Redmi Note 7.... And more...
              I have too many devices...

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                paul-henri @MrT10001
                last edited by

                @MrT10001 Hi, I consulted that page but if I follow the link on https://devices.ubuntu-touch.io/device/merlin/ (Please double-check that your device is running the latest available stock Android 11 firmware (MIUI 12.5.4.0 recomended). download-icon) I get to https://github.com/ubuntu-touch-redmi-mt6768/ubuntu-touch-merlin/blob/main/README.md but that site refers me back to the first site... I can't find any image...

                MrT10001M 1 Reply Last reply Reply Quote 0
                • MrT10001M Offline
                  MrT10001 @paul-henri
                  last edited by

                  @paul-henri Download here. Use the fastboot version and run the flash_all.bat script (Windows) or flash_all.sh (Linux) from a terminal with the device in fastboot mode. DO NOT relock the bootloader as it can brick the device and be patient, the ROM takes about 10 minutes to install and may seem to hang at one stage, but it is doing things.

                  Xiaomi Redmi Note 7.... And more...
                  I have too many devices...

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    paul-henri @MrT10001
                    last edited by

                    @MrT10001 said in Ubuntu Touch on Redmi Note 9:

                    flash_all.bat script

                    Hi, I downloaded the file and tried to use it to flash my device using MiFlash. That didn't go through: I got the error C:\Linux permission denied (but the directory was accessible for all users). Anyway, I don't know why but I decided to use the UBports again and suddenly Ubuntu Touch was installed. However, now I the Ubuntu Touch system cannot connect to the WiFi or the cellular network (but this is maybe a question for another topic?).

                    MrT10001M 1 Reply Last reply Reply Quote 0
                    • MrT10001M Offline
                      MrT10001 @paul-henri
                      last edited by MrT10001

                      @paul-henri WiFi and other things not working is usually down to the incorrect version of Android on the device before the install of UT. A specific version of android is required for technical reasons, mainly partitions and Vendor BLOB's (drivers).

                      You need to go back to the correct version of Android, set it up and then install UT.

                      The zip file for the correct Android ROM contains various scripts to flash Android to the device.

                      If you are on Windows (10 or 11) use the flash_all.bat

                      If you are on Linux use the flash_all.sh

                      I guess you are using Windows as you mentioned the C : prompt and tried to run the Linux command in that - it won't work as you can see.

                      (Make sure you have Android Platform Tools installed as they contain the fastboot and ADB drivers)

                      What you have to do is totally extract the Android ROM file.
                      In the folder where the Android ROM file is extracted, open a command prompt - right click on an empty space and choose in the drop down box Open in Terminal.

                      Put the device in fastboot mode and connect it to the PC.
                      In the terminal run the command ./flash_all.bat and note the ./ in front of the command.

                      As it starts doing it's thing, leave it alone and be patient, it can take up to 10 minutes to flash the ROM onto the device and ma seem to hang, but it will be doing stuff. Once it completes, it will reboot, then go through the Android setup and make sure everything works, camera, GPS, wifi etc. Then do the UT install.

                      Xiaomi Redmi Note 7.... And more...
                      I have too many devices...

                      1 Reply Last reply Reply Quote 0
                      • developerbaymanD Offline
                        developerbayman
                        last edited by

                        i found the default method of knowing you have the wrong version for me ....screen rotation does not work first thing i check

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post