Super guide: Persist file the magical file

eduardozeassesme

Senior Member
Jun 20, 2013
994
348
63
Milagro
This is a guide that will help all users who have problems with WIFI (bad mac address), bluetooth, sensors, cameras and everything related to the part of the hardware malfunction of our device in this case of POCO F1 (also It can work on most phones with Qualcomm processor but persist.img file and twrp are diferent, search on your device thread for files) when moving from one ROM to another: From MIUI to AOSP or vice versa, or from AOSP to AOSP.

Requirements

1. It is mandatory to have the bootloader unlocked
2. Being in some AOSP rom based on android 9 or MIUI, in Q the WIFI works normally (something strange lol)
3. Use the recovery (TWRP) found in the attached files
4. Use the persist file that I am going to attach

Steps
1. Install the attached TWRP
2. Start in TWRP
3. Conect device to PC and put "pocopersist8.img" on internal memory
4. Go to install, select IMG option, select persist file "pocopersist8.img" and install on persist partition
5. Reboot your SO and check

Donwloads
https://drive.google.com/file/d/1MWLwpR-n9sDC5w1gGzZnBdPbSjYzK_9-/view

Note: Not forget press thanks button

Thanks for all guys (not remember usernames)

Tester
@syazzess Thanks for try this
 
Last edited:

adhammagdy

Senior Member
Nov 3, 2015
132
31
0
Cairo
This caused me problems..

I flashed this and then noticed the phone took longer to start.. Then today I was watching youtube so I switched to auto rotation and I was shocked to see rotation still locked.. so I restarted and was on 15% battery and after restart it jumped to 40%.. the reboot didn't fix the problem so I entered CIT to check hardware and found out that the proximity, accelerometer, gps, gyro, magnetic sensors aren't working..

I was smart enough to have taken a backup before flashing the persist image.. I restored the backup and everything was fixed.. battery became 15% and boot was fast etc.

I have the global version of pocophone.. I think this isn't compatible..
if you want to fix any issue just do a fastboot flash of stock rom but keep bl unlocked..
 

EugenStanis

Senior Member
Feb 13, 2016
1,365
426
93
Warszawa
This caused me problems..

I flashed this and then noticed the phone took longer to start.. Then today I was watching youtube so I switched to auto rotation and I was shocked to see rotation still locked.. so I restarted and was on 15% battery and after restart it jumped to 40%.. the reboot didn't fix the problem so I entered CIT to check hardware and found out that the proximity, accelerometer, gps, gyro, magnetic sensors aren't working..

I was smart enough to have taken a backup before flashing the persist image.. I restored the backup and everything was fixed.. battery became 15% and boot was fast etc.

I have the global version of pocophone.. I think this isn't compatible..
if you want to fix any issue just do a fastboot flash of stock rom but keep bl unlocked..
Wait, what? did you flashed this although everyting was working fine for you? What the hell
 
  • Like
Reactions: 2WildFirE

ron_hyatt

Senior Member
Apr 2, 2012
496
69
28
this persist file made me able to flash miui 9 oreo again after having "find device storage corrupted" and missing mac address/no wifi.

many thanks:)
 

ttreddy2210

Senior Member
Mar 6, 2018
187
34
28
This is a guide that will help all users who have problems with WIFI (bad mac address), bluetooth, sensors, cameras and everything related to the part of the hardware malfunction of our device in this case of POCO F1 (also It can work on most phones with Qualcomm processor but persist.img file and twrp are diferent, search on your device thread for files) when moving from one ROM to another: From MIUI to AOSP or vice versa, or from AOSP to AOSP.

Requirements

1. It is mandatory to have the bootloader unlocked
2. Being in some AOSP rom based on android 9 or MIUI, in Q the WIFI works normally (something strange lol)
3. Use the recovery (TWRP) found in the attached files
4. Use the persist file that I am going to attach

Steps
1. Install the attached TWRP
2. Start in TWRP
3. Conect device to PC and put "pocopersist8.img" on internal memory
4. Go to install, select IMG option, select persist file "pocopersist8.img" and install on persist partition
5. Reboot your SO and check

Donwloads
https://drive.google.com/file/d/1MWLwpR-n9sDC5w1gGzZnBdPbSjYzK_9-/view

Note: Not forget press thanks button

Thanks for all guys (not remember usernames)

Tester
@syazzess Thanks for try this
I'm on MiRoom 9.12.26 but find device storage corrupted if i flash this file can it solve the problem
 

n0v4c41n3

Member
Mar 5, 2012
43
7
38
Alor Star,Kedah
Hello! I would be very grateful if you could help me. I have problems with camera software on my POCO f1. If we look at MY camera device info, we can see that camera id, resolution, focus mode, all settings are wrong for both cameras. (2nd pic) On 1st pic we can see right setting.. &My flash light, camera flash as well is not working, when I check in the cit mode flash light is working. Did factory reset, downgrade miui and custom ROM also tried. Still problem..Can i use persist.img to fix?
 

Attachments

Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone