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

    Problems installing on TB-X306X - can't format partition userdata

    Scheduled Pinned Locked Moved Lenovo Tab M10 HD (2nd Gen)
    11 Posts 2 Posters 619 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.
      • R Offline
        riwid
        last edited by

        So no answer in my previous post so I decided to try to follw the README for installing on my X306X. All went fine until I came to

        fastboot format:ext4 userdata
        

        Then I get:

        Warning: userdata type is raw, but ext4 was requested for formatting.
        FAILED (remote: 'Could not open partition')
        fastboot: error: Command failed
        

        I use platform tools 30.0.0 on linux. Would be really happy to get some help. For a beginner searching for answers to this is a mess. @rubencarneiro can you help me?

        MrT10001M 1 Reply Last reply Reply Quote 0
        • MrT10001M Offline
          MrT10001 @riwid
          last edited by

          @riwid The device is in fastbootD when you execute the command on the PC?

          If using Windows, put ./ in front of the command.

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

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            riwid @MrT10001
            last edited by riwid

            @MrT10001 Yes it is in fastbootd. I am using linux.

            Got a bit scared that I bricked the device since Android didn't start after this. So I tried to install UT via the UBPorts installer. Worked but now I have the famous problem with wifi and bluetooth not working. If someone reads this and know the solution to the fix for X306X then please write.

            Or before I try to make a manual installation again I wait until I hopefully get an answer to my previous question about the links in the readme for the device.

            MrT10001M 1 Reply Last reply Reply Quote 0
            • MrT10001M Offline
              MrT10001 @riwid
              last edited by

              @riwid It looks like you weren't allowed access to format the userdata partition which means that fastbootd wasn't working or the bootloader is locked (unlikely and is why you use fastbootd to access critical partitions).

              As you have UT installed on the tablet, try the manual install again and ensure you use the correct fastboot (fastboot binary version 30.0.0-6374843).

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

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                riwid @MrT10001
                last edited by

                @MrT10001 Checked fastboot version and tried again but come to the same problem. I have unlocked the bootloader and that must have worked since I could install UT via Ubports installer.

                Do I need to choose something in the gui when it is in fastbootd mode?

                MrT10001M 1 Reply Last reply Reply Quote 0
                • MrT10001M Offline
                  MrT10001 @riwid
                  last edited by

                  @riwid in fastboot mode, on the pc, type in fastboot getvar all Check and see what the userdata partition is called. It should be userdata or user_data.

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

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    riwid @MrT10001
                    last edited by

                    @MrT10001 Ok. Here is the output I get about the userdata partition:

                    (bootloader) partition-size:userdata: d24cfbe00
                    (bootloader) partition-type:userdata: ext4

                    MrT10001M 1 Reply Last reply Reply Quote 0
                    • MrT10001M Offline
                      MrT10001 @riwid
                      last edited by

                      @riwid Thats good, the userdata is EXT4 and named correctly.

                      Try it without formatting and see what happens.

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

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        riwid @MrT10001
                        last edited by

                        @MrT10001 It worked! Thank you so much for your help.

                        MrT10001M 1 Reply Last reply Reply Quote 0
                        • MrT10001M Offline
                          MrT10001 @riwid
                          last edited by

                          @riwid That's good news. Are all the functions (WiFi, cellular, camera etc) working?

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

                          R 1 Reply Last reply Reply Quote 0
                          • R Offline
                            riwid @MrT10001
                            last edited by

                            @MrT10001 Everything except cellullar seems to be working. But the previous owner also had issues with that with Android so I guess the hardware is broken. Fine for me since I only use Wifi.

                            But another problem now is that it didn't update to the latest Ubuntu touch version 193. Instead it downgraded to version 65 when I tried to update it via the os. Now nothing happens when I confirm the update to version 193.

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