In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .
Agree

Other Devices

[Tips] [Device Team] [TechWithMuz] Flash Persist Image file using TWRP!

2019-09-21 12:59:00
4093 68


Hello Everyone,

As Android 10 is just round the corner, I tried my hands on AOSP ROM for Mi 6. Being an MIUI Fan, I always prefer MIUI. I flashed AOSP to check new features. While flashing back MIUI using fastboot ROM. I got an error "Find device storage corrupted your device is unsafe now" while setting up the phone. I lost MAC id for wifi and Bluetooth.

To fix the issue, I need to flash persist.img which is present inside fastboot ROM. But using fastboot command it can't be flashed. It will give error "FAILED (Remote: 'Partition flashing is not allowed')"

Here I am sharing the guide to flash persist.img
Note: I have done it successfully on Mi 6.

Steps:

1. You need Unlocked Bootloader and TWRP. You can boot in TWRP instead of flashing it.
2. Download the fastboot ROM for the device. Extract it and copy persist.img file to the internal memory of the phone. Make sure put the file in internal storage rather than in any folder.
3. Put the phone in fastboot Mode, Power Button and Volume Down key.

4. Boot in TWRP by "fastboot boot twrp.img" command.

5. In the TWRP Main Menu. Go to Advanced ------ Terminal
6. Write the below 2 lines:
simg2img /sdcard/persist.img /sdcard/persist_EXT4.img
dd if=/sdcard/persist_EXT4.img of=/dev/block/bootdevice/by-name/persist
7. Reboot the Phone and check.

Please share your feedback if it helped you!

Credits: 4pda

Rate

Number of participants 6 Experience +62 Pack Reason

View Rating Log

2019-09-21 12:59:00
Favorites60 RateRate

Master Bunny

m.wael.eg | from Redmi Note 5

#1

Thanks For Your Guides
2019-09-21 13:32:25
Write By M.Wael.EG
Facebook Profile
Telegram Chat

Moderator

BeingBishal | from MI 9 SE

#2

Thanks for sharing with us!
2019-09-21 13:59:06

Süper moderatör

Crossfiree | from MI 8

#3

Thanks for the guide
2019-09-21 13:59:20

Pro Bunny

Mr. Nahid | from Redmi 4X

#4

thanks for amazing tips
2019-09-21 14:02:14
Neel
Nice information.
2019-09-21 14:38:48
Selalu Percaya Bahwa Sesuatu Yang Indah Akan Terjadi !!!

Master Bunny

m@soud | from Redmi Note 5

#6

thanks for sharing
2019-09-21 17:12:28

Moderator

ߣ$h0õ | from Redmi Note 5

#7

Thanks For The Guides .
2019-09-21 18:09:33

Grand Master Bunny

Ian Adoe | from Redmi Note 5A Prime

#8

Helpful explanation, thanks
2019-09-21 20:05:45

Feedback Team

Sampath madurai | from Redmi Note 7

#9

Thanks for your information
2019-09-21 21:24:20

Feedback Team

wai_yan | from Mi Note 3

#10

thanks for the guide, veryuseful!
2019-09-21 22:38:25
please sign in to reply.
Sign In Sign Up

Muz_paray

Süper moderatör

  • Followers

    772

  • Threads

    91

  • Replies

    1004

  • Points

    140052

Check-in 3 jours
Check-in 7 jours
Mi Explorers
Redmi Note 7
Mi Love U & I
Bunny Winner
Happy Mother's Day
Android Q
50K Mi Fans
Mobile Photography Lover
Challenger
Eid ul-Fitr Mubarak
Brain Teaser
Best Writer
Selfie Day
Happy July
Mi 9T
Global Fans
My Country My Pride
Like
Check in
Reply
Favorites
Profile Medal
MIUI 9th Birthday
Global Community
better together slogan
Global Community
device poll
better together with friends
games discuss
Puzzle Master
Mid-Autumn Festival

Read moreGet new
Copyright©2016-2019 Xiaomi.com, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list