UBports Robot Logo UBports Forum
    • 版面
    • 最新
    • 標籤
    • 熱門
    • 使用者
    • 群組
    • 搜尋
    • 註冊
    • 登入

    Installation of Ubuntu Toch on Xiaomi Mi A2 doesn't work

    已排程 已置頂 已鎖定 已移動 Unsolved Support
    11 貼文 5 Posters 874 瀏覽 2 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
      回覆
      • 在新貼文中回覆
      登入後回覆
      此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
      • F 離線
        Falconer78
        最後由 Falconer78 編輯

        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?

        stanwoodS KenedaK 2 條回覆 最後回覆 回覆 引用 0
        • stanwoodS 離線
          stanwood @Falconer78
          最後由 編輯

          @falconer78 Did you first unlock the bootloader?
          Also, use the 0.8.8 installer version as the newest versions seem to not work well...

          Redmi Note 9S Stable
          If God has a computer, it must be a GNU/Linux

          1 條回覆 最後回覆 回覆 引用 1
          • KenedaK 離線
            Keneda @Falconer78
            最後由 編輯

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

            2015-2023 : Meizu MX4 ☠️⚰️✝️
            2023-2024 : Nexus 5 ☠️⚰️✝️
            2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
            🇲🇫🇬🇧

            1 條回覆 最後回覆 回覆 引用 0
            • F 離線
              Falconer78
              最後由 編輯

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

              Y 1 條回覆 最後回覆 回覆 引用 0
              • Y 離線
                Yoni @Falconer78
                最後由 編輯

                @falconer78
                Turn on USB debugging, enter bootloader and through ADB execute:
                fastboot flashing unlock
                Should solve the issue hopefully.

                F 1 條回覆 最後回覆 回覆 引用 0
                • F 離線
                  Falconer78 @Yoni
                  最後由 編輯

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

                  Y 1 條回覆 最後回覆 回覆 引用 0
                  • Y 離線
                    Yoni @Falconer78
                    最後由 編輯

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

                    F 1 條回覆 最後回覆 回覆 引用 0
                    • F 離線
                      Falconer78 @Yoni
                      最後由 Falconer78 編輯

                      @yoni I'm not quit sure if I got all your steps correctly.

                      1. Turn on USB debugging --> done
                      2. 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

                      LakotaubpL Y 2 條回覆 最後回覆 回覆 引用 0
                      • LakotaubpL 離線
                        Lakotaubp @Falconer78
                        最後由 編輯

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

                        1 條回覆 最後回覆 回覆 引用 1
                        • Y 離線
                          Yoni @Falconer78
                          最後由 編輯

                          @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

                          F 1 條回覆 最後回覆 回覆 引用 1
                          • F 離線
                            Falconer78 @Yoni
                            最後由 編輯

                            @yoni Thank you, I will give it a try.

                            1 條回覆 最後回覆 回覆 引用 0
                            • 第一個貼文
                              最後的貼文