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

    Unable to format userdata

    Scheduled Pinned Locked Moved Lenovo Tab M10 HD (2nd Gen)
    9 Posts 4 Posters 3.5k 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.
    • S Offline
      sepatu
      last edited by sepatu

      Hi all,

      I have an X306FA and as there is no Android 11 firmware for this model available I took the risk and flashed TB_X306F_S230626_230530_BMP (since A only seem to stand for Alexa).

      It was a success and I confirmed I could boot into Android 11.

      I then followed the instructions from https://gitlab.com/ubports/porting/community-ports/android11/lenovo-tab-m10-hd/lenovo-m10-hd

      It worked all well until fastboot format:ext4 userdata:

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

      This seems to be weird, since the partition is available fastboot getvar all:

      (bootloader) partition-type:userdata:raw
      (bootloader) has-slot:userdata:no
      (bootloader) is-logical:userdata:no
      

      (There doesn't seem to be a size entry tho)

      Erase also not working:

      Erasing 'userdata'
      FAILED (remote: 'Partition doesn't exist')
      

      I then went into the recovery and did a factory reset for data and system. No change. I then decided to flash the userdata again with fastboot since I thought maybe the inital boot to android changed something but I there is no change. I took the firmware from the github repo: https://github.com/rubencarneiro/amar_row_wifi/releases

      I confirmed I use the recommended fastboot version:
      fastboot version 30.0.0-6374843

      Now I do not have any ideas left...

      K 1 Reply Last reply Reply Quote 0
      • K Online
        kugiigi @sepatu
        last edited by

        @sepatu Are you using a standalone fastboot copy? Which OS are you using? I use Ubuntu and whenever I have error using fastboot, I just use the fastboot copy I downloaded. Make sure you run your local copy instead of the system one by changing directory to where the fastboot is then use ./fastboot <command>

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sepatu @kugiigi
          last edited by

          @kugiigi I use arch linux, and the fastboot is the correct version as mentioned in the readme. Confirmed with ./fastboot --version. I also tried it with my sdk installed fastboot (v35), with the same results.

          I'm trying it with the official UBPorts installer now, and sse if I have success there. But the downloads there are very slow at ~80kbps, so it probably need a couple more hours until I can test it.

          Z 1 Reply Last reply Reply Quote 0
          • Z Offline
            zedr0k @sepatu
            last edited by zedr0k

            @sepatu Hi, I ran into the same issue. I did all the other install-steps. And after installation I did the format of userdata in recovery mode. This worked for me.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sepatu @zedr0k
              last edited by sepatu

              @zedr0k You mean right after fastboot flash system ./ubuntu.img?

              Z 1 Reply Last reply Reply Quote 0
              • Z Offline
                zedr0k @sepatu
                last edited by

                @sepatu Right. After the last step (fastboot flash system ./ubuntu.img) I rebooted into recovery and did the format of userdata. Then rebooted into ubports. First boot need a few minutes.

                1 Reply Last reply Reply Quote 0
                • K Online
                  kugiigi
                  last edited by

                  Oh perhaps you're in the wrong fastboot? fastboot is different from fastbootd. Not sure where you're supposed to format userdata though.

                  1 Reply Last reply Reply Quote 0
                  • MrT10001M Online
                    MrT10001
                    last edited by

                    306FInstall.jpg

                    It must be done in fastbootd and an elevated prompt - I had to put ./ in front (using M$ Windows).

                    Glad to see you used the work around and it worked. 👍

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

                    1 Reply Last reply Reply Quote 0
                    • Z Offline
                      zedr0k
                      last edited by

                      thank you. I missed the "fastboot reboot fastboot" step. My mistake (I should have read more carefully). Thank you very much for your work. 👍

                      1 Reply Last reply Reply Quote 1

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • First post
                        Last post