I’m a noob.
I follow a guide in the forum xda-developers to root my Xiaomi Mi A3
I executed the command:

fastboot erase userdata

After executing the command, I realized that I had deleted the partition.
Now the Device is only booting in to Fastboot.
How can i fix this?

  • 1
    Please edit your question and include the link to the guide you were using. – Robert Aug 18 at 9:34
  • Sorry, cannot finde the trade anymore. fastboot erase userdata is the only command i executed except the command to unlock the bootloader. – Teso Aug 18 at 10:00
  • But you wrote I realized that I had deleted the partition. so when did you delete it (note erasing just means deleting data not deleting the partition)? – Robert Aug 18 at 10:03
  • fastboot erase will erase the whole partition, you must recreate file system with fastboot format:ext4 userdata (or f2fs) – alecxs Aug 18 at 10:04
  • 1
    Hello Teso. Unlike forums, our site allows the post author to edit their post to make changes - whether for removing content or adding one. Therefore, you don't have to make additional posts below. And so, please use "post your answer" button below only when you have an answer to post. :) – Firelord Aug 19 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.