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

    UBports Installer reports a successful install but Curtana seems empty now

    Scheduled Pinned Locked Moved Solved Xiaomi Redmi Note 9 Pro/Pro Max/9S & Poco M2 Pro
    13 Posts 5 Posters 1.7k 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.
      • T Offline
        tchan @mbjunior
        last edited by

        @mbjunior

        Hi,
        If the Hardware abstraction layer (Halium)was the problems , the android version should be the problems.
        I think it's better to flash a Android 10 again to be sure . When it's installed start it to enable devlopper mode and adb and launch the installer ( bootloader should be still unlocked I guess ).
        Be sure to follow the instructions for your device.

        Good luick!

        Xiaomi Redmi 7
        Samsung Galaxy note 4

        N 1 Reply Last reply Reply Quote 1
        • N Offline
          nitanmarcel @tchan
          last edited by arubislander

          @mbjunior sorry for the late reply. I'm more active in the https://t.me/ut_miatoll group on telegram.

          Make sure you had the stock Android 10 ROM for your phone flashed with fastboot and also that you selected the wipe data option in the installer.

          There are some cases I noticed that the OS refuses to boot if a custom ROM has been flashed before reflashing the stock ROM. The reason is unknown but it can be fixed by flashing the recovery ROM over the fastboot one. But I noticed this happening just one time on my phone.

          Check again the first steps then in the last resort the last ones.

          Thanks.

          mbjuniorM 1 Reply Last reply Reply Quote 1
          • mbjuniorM Offline
            mbjunior @nitanmarcel
            last edited by

            Hi, @tchan and @nitanmarcel. Thanks for your time helping me in this adventure. I'm afraid it's not over yet, though πŸ˜–

            Okay, some progress was achieved. I have managed to obtain proper Android 10-based images in <miui.com>. The partitions I have flashed are:

            • boot
            • cache
            • cust
            • dtbo
            • ffu
            • metadata
            • misc
            • recovery
            • super
            • userdata
            • vbmeta
            • vbmeta_system

            There is this one tough partition I cannot flash, no matter what. It's called persist. Yes, I have tried to flash it after a fastboot flashing unlock_critical command, but it fails with the following message:

            # fastboot flash persist ./persist.img
            target reported max download size of 805306368 bytes
            sending 'persist' (32768 KB)...
            OKAY [  0.773s]
            writing 'persist'...
            FAILED (remote: Flashing is not allowed for Controlled Partitions)
            finished. total time: 0.774s
            

            So, now MIUI boots but it tells me the device is locked because the phone belongs to, well, me. As Curtana is not connected to the Internet, I guess it's a safe bet to say it retained my information. Maybe in the persist partition?

            I still have access to Fastboot via the volume down button, but now, in the place of UBports Recovery, volume up leads to a Main Menu Redmi-Recovery 3.0 interface. There are three buttons in such interface:

            1. Reboot
            2. Wipe Data
            3. Connect with MIAssistant

            Well, when I choose option 2, a wiping process allegedly takes place in a successful manner. But then again, in rebooting the device, the lock confronts me, showing that the wiping process did not wipe some data.

            I totally understand at that point giving Curtana my Xiaomi credentials would probably help, but that in my opinion is the whole point why a marvelous project like Ubuntu Touch matters: controlling my device, or die trying 😡

            CLI fastboot commands are not working, so I am considering dd but decided to talk to you first.

            Thus, once more, I ask you gentlemen for guidance. What can I do at this point, without notifying Xiaomi? Do you think dd may help in this situation?

            Current device: Xiaomi Redmi Note 9S (Curtana).

            MrT10001M N 2 Replies Last reply Reply Quote 0
            • MrT10001M Offline
              MrT10001 @mbjunior
              last edited by MrT10001

              @mbjunior Xiaomi have put security in place to make life very difficult to flash through fastboot to install the stock (correct) ROM. You need a windows PC and the MiFlash tool to do the job properly. DO NOT relock the bootloader as it has a high chance of bricking the device.

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

              1 Reply Last reply Reply Quote 1
              • N Offline
                nitanmarcel @mbjunior
                last edited by nitanmarcel

                @mbjunior if miui starts and it says you have to confirm your phone number or something similar then you're good to go. Reboot in fastboot and run the installer.

                Also you can find fastboot flashable ROMs here https://xiaomifirmwareupdater.com/archive/miui/curtana/

                Just run flash_all.sh or flash_all.bash depending on your OS (Windows or Unix)

                mbjuniorM 1 Reply Last reply Reply Quote 1
                • mbjuniorM Offline
                  mbjunior @nitanmarcel
                  last edited by

                  @mbjunior if miui starts and it says you have to confirm your phone number or something similar then you're good to go. Reboot in fastboot and run the installer.

                  @nitanmarcel You're right, yay! 🀸

                  At that point, both the tough partition and the block problems can be overcome by the installer.

                  Thanks, people. I guess it is safe to consider this one as solved now! 😊

                  Current device: Xiaomi Redmi Note 9S (Curtana).

                  KenedaK 1 Reply Last reply Reply Quote 0
                  • KenedaK Offline
                    Keneda @mbjunior
                    last edited by

                    @mbjunior
                    https://forums.ubports.com/topic/6311/how-to-ask-a-question-and-then-mark-it-as-solved

                    PS : what is "curtana" ?

                    2015-2023 : Meizu MX4 ☠️⚰️✝️
                    2023-2024 : Nexus 5 ☠️⚰️✝️
                    2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                    πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                    mbjuniorM 1 Reply Last reply Reply Quote 1
                    • mbjuniorM mbjunior marked this topic as a question on
                    • mbjuniorM mbjunior has marked this topic as solved on
                    • mbjuniorM Offline
                      mbjunior @Keneda
                      last edited by

                      @keneda Oh hi. Thanks.

                      Curtana is another name for Redmi Note 9S.

                      It's easier to search for ROMs and stuff by using the curtana keyword. As in googling with:

                      inurl:curtana rom

                      Current device: Xiaomi Redmi Note 9S (Curtana).

                      KenedaK 1 Reply Last reply Reply Quote 0
                      • KenedaK Offline
                        Keneda @mbjunior
                        last edited by

                        @mbjunior a
                        Ah ok it's its codename πŸ˜…
                        Thanks.

                        2015-2023 : Meizu MX4 ☠️⚰️✝️
                        2023-2024 : Nexus 5 ☠️⚰️✝️
                        2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                        πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                        N 1 Reply Last reply Reply Quote 0
                        • N Offline
                          nitanmarcel @Keneda
                          last edited by

                          @keneda It's in the devices subforum so it's easy to guess he's talking about one of his phone :))

                          There are 5 phones (4 codenames)

                          joyeuse, curtana, excalibur, gram.

                          πŸ™‚

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