What we need to know about PERSIST ? - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Im a new mi 9t pro user here, I've read somewhere that the certification for HDR and HD videos goes away after flashing a random persist image...is that true? Can i flash persist image of android 10 over a Pie based rom(to fix sensors issues)?

Enrico03 said:
Im a new mi 9t pro user here, I've read somewhere that the certification for HDR and HD videos goes away after flashing a random persist image...is that true? Can i flash persist image of android 10 over a Pie based rom(to fix sensors issues)?
Click to expand...
Click to collapse
Backup your stock persist.img and you are good to go.
Type these commands with terminal app:
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
You will need to be rooted to do that.

Kollachi said:
Backup your stock persist.img and you are good to go.
Type these commands with terminal app:
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
You will need to be rooted to do that.
Click to expand...
Click to collapse
If i flash an android 9 rom an get sensors broken, flashing the android 10 persist fixes the problem?

Enrico03 said:
If i flash an android 9 rom an get sensors broken, flashing the android 10 persist fixes the problem?
Click to expand...
Click to collapse
I don't know. I flashed now almost all Non Miui roms and never broke my Sensor.

Kollachi said:
I don't know. I flashed now almost all Non Miui roms and never broke my Sensor.
Click to expand...
Click to collapse
Between android 9 and 10?

Enrico03 said:
Between android 9 and 10?
Click to expand...
Click to collapse
Yes too.

Related

Big problem with persist.img partition, ruined my phone :(

Hello friends!
I come with a big problem that happened to me a few days ago, I flashed the Android10 rom of Xiaomi.eu but in that process I accidentally lost my persist.img partition and practically ruined my phone:crying: (DON'T FLASH THE WEEKLY OF XIAOMI.EU YET WITHOUT PERSIST BACKUP) the gyroscope and compass of my phone are not working and I lost my Netflix L1 certification, I am having a hard time.
So I think I have a solution to this and is to have made a backup of my persist.img partition (which I did not do and it was my mistake) could someone bring me a TWRP backup of a persist partition of yours? to restore it on my phone and test if that way I can revive my compass, gyroscope and L1 .. it would help me a lot and I would appreciate it very much.
Thanks in advance from El Salvador!
Pablo_AK47 said:
Hello friends!
I come with a big problem that happened to me a few days ago, I flashed the Android10 rom of Xiaomi.eu but in that process I accidentally lost my persist.img partition and practically ruined my phone:crying: (DON'T FLASH THE WEEKLY OF XIAOMI.EU YET WITHOUT PERSIST BACKUP) the gyroscope and compass of my phone are not working and I lost my Netflix L1 certification, I am having a hard time.
So I think I have a solution to this and is to have made a backup of my persist.img partition (which I did not do and it was my mistake) could someone bring me a TWRP backup of a persist partition of yours? to restore it on my phone and test if that way I can revive my compass, gyroscope and L1 .. it would help me a lot and I would appreciate it very much.
Thanks in advance from El Salvador!
Click to expand...
Click to collapse
It is the first time I try to upload something, I hope I have achieved it and also, I hope it serves you
- EU rom is based on the chinese ROM, your device will get L3, not possible currently to get L1 with EU.
- Don't use anyone's persist partition, it can make things worse. Download the fastboot ROM for the Mi 9 lite, extract it and find the persist file and then flash that one.
My suggestion is to wipe everything in TWRP, flash persist file and then flash EU ROM. If you're having problems no choice but to flash fastboot ROM and start fresh.
TWRP-3.3.1-0709-XIAOMI_CC9-CN-wzsx150
This is the recovery that I used for the copy
hi
eeemmmbiz said:
- EU rom is based on the chinese ROM, your device will get L3, not possible currently to get L1 with EU.
- Don't use anyone's persist partition, it can make things worse. Download the fastboot ROM for the Mi 9 lite, extract it and find the persist file and then flash that one.
My suggestion is to wipe everything in TWRP, flash persist file and then flash EU ROM. If you're having problems no choice but to flash fastboot ROM and start fresh.
Click to expand...
Click to collapse
persist.img is not allowed to be flashed by fastboot even if the bootloader is unlocked. there is a specific technique to do that with TWRP. Falshing the whole firmware will not resolve the problem
---------- Post added at 12:09 AM ---------- Previous post was at 12:08 AM ----------
Pablo_AK47 said:
Hello friends!
I come with a big problem that happened to me a few days ago, I flashed the Android10 rom of Xiaomi.eu but in that process I accidentally lost my persist.img partition and practically ruined my phone:crying: (DON'T FLASH THE WEEKLY OF XIAOMI.EU YET WITHOUT PERSIST BACKUP) the gyroscope and compass of my phone are not working and I lost my Netflix L1 certification, I am having a hard time.
So I think I have a solution to this and is to have made a backup of my persist.img partition (which I did not do and it was my mistake) could someone bring me a TWRP backup of a persist partition of yours? to restore it on my phone and test if that way I can revive my compass, gyroscope and L1 .. it would help me a lot and I would appreciate it very much.
Thanks in advance from El Salvador!
Click to expand...
Click to collapse
wich device do you have ? mi 9 lite or mi cc9 ?
ALdelSol said:
It is the first time I try to upload something, I hope I have achieved it and also, I hope it serves you
Click to expand...
Click to collapse
Thank you my friend! really
But.. bad news, it didn't work D: I think I'm fried
ALdelSol said:
TWRP-3.3.1-0709-XIAOMI_CC9-CN-wzsx150
This is the recovery that I used for the copy
Click to expand...
Click to collapse
exactly the same as me bro, I use that one
eeemmmbiz said:
- EU rom is based on the chinese ROM, your device will get L3, not possible currently to get L1 with EU.
- Don't use anyone's persist partition, it can make things worse. Download the fastboot ROM for the Mi 9 lite, extract it and find the persist file and then flash that one.
My suggestion is to wipe everything in TWRP, flash persist file and then flash EU ROM. If you're having problems no choice but to flash fastboot ROM and start fresh.
Click to expand...
Click to collapse
I use xiaomi.eu actually man, but in global firmware after have installed android10 eu rom my device name has changed to CC9 and lost the L1 drm and google play certification..
gringo80 said:
persist.img is not allowed to be flashed by fastboot even if the bootloader is unlocked. there is a specific technique to do that with TWRP. Falshing the whole firmware will not resolve the problem
---------- Post added at 12:09 AM ---------- Previous post was at 12:08 AM ----------
wich device do you have ? mi 9 lite or mi cc9 ?
Click to expand...
Click to collapse
Mi 9 Lite man, but after installed android10 xiaomi.eu weekly rom has changed to CC9 in my google account devices, lost the certification of google play and L1 drm and the compass and gyroscope calibrations
gringo80 said:
persist.img is not allowed to be flashed by fastboot even if the bootloader is unlocked. there is a specific technique to do that with TWRP. Falshing the whole firmware will not resolve the problem
---------- Post added at 12:09 AM ---------- Previous post was at 12:08 AM ----------
wich device do you have ? mi 9 lite or mi cc9 ?
Click to expand...
Click to collapse
That's not what I said, I said he can flash persist.img through twrp, but to get the persist file I suggested he download the fastboot rom, extract it and use the persist.img found inside. I had the same issue and even after flashing the correct persist.img it wasn't working, I had to wipe everything in TWRP, flash persist.img and flash the rom again for it to work correctly.
Thanks for your replies ! I had the same problem and flash persist.img worked
ALdelSol said:
It is the first time I try to upload something, I hope I have achieved it and also, I hope it serves you
Click to expand...
Click to collapse
My friend, I tried with backup but not worked I have another idea: the folder metod ^^ can you with a file explorer copy the /persist folder and share me as you did with backup? I will thank you very much
eeemmmbiz said:
- EU rom is based on the chinese ROM, your device will get L3, not possible currently to get L1 with EU.
- Don't use anyone's persist partition, it can make things worse. Download the fastboot ROM for the Mi 9 lite, extract it and find the persist file and then flash that one.
My suggestion is to wipe everything in TWRP, flash persist file and then flash EU ROM. If you're having problems no choice but to flash fastboot ROM and start fresh.
Click to expand...
Click to collapse
Which TWRP version you used to do that ?
Can you post step by step how to erase "everything" in TWRP and then flash fastboot ROM ?
What do you mean by wipe everything ??
So many people mess with loss of gyroscope etc. and they can't fix it. Online solutions with using terminal commands in TWRP to flash persist.img do not work. Nothing happens.
Cheers !

Mi 9 Wifi will not turn on - Android 11 only

Hi,
If I install any Android 11 rom including Miui EU weekly latest build or any other ASOP Android 11 rom the Wifi will not turn on.
I tried clean install, format data with no luck. If I go back to Miui EU stable Android 10 Wifi is fine.
Is this a known issue? I couldn't find anything. Is there a patch? Thank you for your feedback.
GIPAQ said:
Hi,
If I install any Android 11 rom including Miui EU weekly latest build or any other ASOP Android 11 rom the Wifi will not turn on.
I tried clean install, format data with no luck. If I go back to Miui EU stable Android 10 Wifi is fine.
Is this a known issue? I couldn't find anything. Is there a patch? Thank you for your feedback.
Click to expand...
Click to collapse
This sounds for me that you must flash persist.img but if you don't have original persist of your phone anymore you'll loose widevine l1
Laptapper said:
This sounds for me that you must flash persist.img but if you don't have original persist of your phone anymore you'll loose widevine l1
Click to expand...
Click to collapse
Thank you for the feedback. I have a backup, can I restore it? If not is it different for each phone or I can get it from someone with Mi 9?
GIPAQ said:
Thank you for the feedback. I have a backup, can I restore it? If not is it different for each phone or I can get it from someone with Mi 9?
Click to expand...
Click to collapse
If you got the origin persist.img you can restore only this and try again the ROM.
If you haven't the origin then widevine l1 seems to be no more possible if you flash another persist. But for the Rom it should work (widevine l3)
Laptapper said:
If you got the origin persist.img you can restore only this and try again the ROM.
If you haven't the origin then widevine l1 seems to be no more possible if you flash another persist. But for the Rom it should work (widevine l3)
Click to expand...
Click to collapse
Thank you. It doesn't seem that I have a backup of persist.img. Do you or anyone by any chance have a flashable persist.img file.
No other way to get back the original file?
Laptapper said:
If you got the origin persist.img you can restore only this and try again the ROM.
If you haven't the origin then widevine l1 seems to be no more possible if you flash another persist. But for the Rom it should work (widevine l3)
Click to expand...
Click to collapse
Thank you. It doesn't seem that I have a backup of persist.img. Do you or anyone by any chance have a flashable persist.img file.
No other way to get back the original file?
GIPAQ said:
Thank you. It doesn't seem that I have a backup of persist.img. Do you or anyone by any chance have a flashable persist.img file.
No other way to get back the original file?
Click to expand...
Click to collapse
If you google persist.img mi9 cepheus you'll get answers for widevine L1. It seems to be that you'll lose L1 for ever if you didn't backup it after delivery....
To get a L3 persist.img download your fastboot flashfile for your region and extract persist.img

Question Mi 11 failing SafetyNet on Stock ROM

Hi all,
Recently flashed the pixel experience ROM on my Mi11 to try it out, alas I didn't like it so decided to switch back.
I fastload'ed the Global Stock ROM from the Xiaomi website which is what my phone had on before, flashed and locked no problem however, the finger print sensor doesn't recognise a finger now and the SafetyNet fails on CTS profile.
Anything I can do to fix this?
Thanks in advance.
Do you edit persist partition accidentally?
dromaczek said:
Do you edit persist partition accidentally?
Click to expand...
Click to collapse
I restored the persist partition from the persistbkp partition....so yes
Theretically persist partition can't be restored correctly in Xiaomi new phones.
But fingerprint should not affect by this ... CTS/DRM yes but I don't knot why fingerprint
Did you do Factory reset or so
dromaczek said:
Theretically persist partition can't be restored correctly in Xiaomi new phones.
But fingerprint should not affect by this ... CTS/DRM yes but I don't knot why fingerprint
Click to expand...
Click to collapse
Hmm OK - is there anyway to undo this and get SafetyNet to pass?
I had passed the command;
dd if=/dev/block/sda22 of=/dev/block/sda21
to restore persistbak to persist
That's pretty funny cause PE passes safetynet.. you maybe stuck with a custom rom now if you really want safetynet!
That's pretty funny cause PE passes safetynet.. you maybe stuck with a custom rom now if you really want safetynet!
That's quite annoying, I wanted to get it back to stock to sell on. Without SafetyNet you can't download Netflix, use Google pay (Wallet)
use xiaomi eu rom
songforwhoever said:
Hi all,
Recently flashed the pixel experience ROM on my Mi11 to try it out, alas I didn't like it so decided to switch back.
I fastload'ed the Global Stock ROM from the Xiaomi website which is what my phone had on before, flashed and locked no problem however, the finger print sensor doesn't recognise a finger now and the SafetyNet fails on CTS profile.
Anything I can do to fix this?
Thanks in advance.
Click to expand...
Click to collapse
Excuse me but i don't see why you returned to MIUI...

How To Guide Chinese MIUI on Global phone models!

I came to this just by occasion while trying different things with the phone.
Please keep in mind that there were 4 testers, but only 2 successful installations have been reported. Please consider participating in testing
So, the instruction itself:
Download the latest china fastboot ROM
Download your preferred, but one of the latest Recovery global ROM (I recommend Taiwan)
From recovery archive, with the help of payload-dumper-go extract vendor partition:payload-dumper-go -p vendor payload_bin_or_recovery_rom
Flash China ROM, then reboot to fastbootd: fastboot reboot fastboot
Flash vendor: fastboot flash vendor vendor.img
Flash patched vbmeta (you can find it yourself)
Now the system should boot just fine (dm-verity still may occur, but that's not critical)
How to OTA:
After the system prompts you for reboot, reboot into fastbootd: adb reboot fastboot and flash your vendor again, then flash pathced vbmeta
Problems:
On POCO, POCO launcher is being installed and it doesn't work. The fix is down this post
No Google services included, flash WeebGApps in Magisk. SafetyNet attestation WON'T WORK! AT ALL!
Everything else is working just fine (Camera, NFC, 5G)
POCO fix:
First of all, you have to enable USB debugging and installing apps via usb. Because the launcher is "blinking", you will have to get to developer options via quick settings. It might not work, so firstly get to any application from notification or quick settings button.
Once you've done that, install magisk via adb:adb install magisk.apk
Now you have to open it: adb shell monkey -p magisk.package.name (look for it in settings) -v 1
Patch boot image with magisk as usual and flash it
Open magisk again with the same method. Or flash via PC: adb push module.zip your/desired/location; adb shell; su; magisk --install-module module.zip
Flash P2Mi.zip
Reboot and enjoy
Hi, could you please kindly provide a url link to the Chinese roms?
Thanks.
wenyendev said:
Hi, could you please kindly provide a url link to the Chinese roms?
Thanks.
Click to expand...
Click to collapse
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
btw, 4 testers have tested this method. And there were only 2 sucessful attempts, and 2 unsuccesful
Great post, i was waiting this guide for a long time!
My suggestion is 8ndonesian vendor and microg gapps. I will try asap
A question: u have tryed without flash a global vendor?
KastenTop said:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
btw, 4 testers have tested this method. And there were only 2 sucessful attempts, and 2 unsuccesful
Click to expand...
Click to collapse
Thanks for the link.
I suppose you mean "Global phone models" by the Android devices other than Xiaomi & Redmi?
Have you tried flashing MIUI roms downloaded from the official site (https://www.miui.com/download.html) straight to Global phone models? And how was that?
wetito said:
have tryed without flash a global vendor?
Click to expand...
Click to collapse
Yep. If so, it just reboots into recovery saying that NV data is corrupted
wenyendev said:
"Global phone models"
Click to expand...
Click to collapse
The funny thing is that any other Xiaomi device just boots normally and only we are unique. And as for this phone it's got 2 versions: camellia (for china), and camellian (global)
KastenTop said:
The funny thing is that any other Xiaomi device just boots normally and only we are unique. And as for this phone it's got 2 versions: camellia (for china), and camellian (global)
Click to expand...
Click to collapse
So for the same model, for example, Redmi Note 10, Xiaomi developed a version (named "camellia") to sell in mainland China, and another (named "Camellian") for oversea market?
wenyendev said:
So for the same model, for example, Redmi Note 10, Xiaomi developed a version (named "camellia") to sell in mainland China, and another (named "Camellian") for oversea market?
Click to expand...
Click to collapse
Yes
KastenTop said:
Yes
Click to expand...
Click to collapse
Ok, I see.
So am I right in saying that Chinese roms (on the official website listed here https://www.miui.com/download.html) customized for domestic model (ex. Camellia) cannot be installed on Global model (ex. Camellian)?
wenyendev said:
Ok, I see.
So am I right in sayting that Chinese roms (on the official website listed here https://www.miui.com/download.html) customized for domestic model (ex. Camellia) cannot be installed on Global model (ex. Camellian)?
Click to expand...
Click to collapse
Yes. And it looks like the reason is vendor partition. I can't tell exactly what makes it crash with Chinese vendor
KastenTop said:
Yes. And it looks like the reason is vendor partition. I can't tell exactly what makes it crash with Chinese vendor
Click to expand...
Click to collapse
I understand now.
Why not simply install a Global miui for Camellian (https://new.c.mi.com/global/miuidownload/detail/device/1900390), rather than use a Chinese Rom customized for Camellia on Camellian?
wenyendev said:
I understand now.
Why not simply install a Global miui for Camellian (https://new.c.mi.com/global/miuidownload/detail/device/1900390), rather than use a Chinese Rom customized for Camellia on Camellian?
Click to expand...
Click to collapse
More beautiful and faster
KastenTop said:
More beautiful and faster
Click to expand...
Click to collapse
Ok. Btw, how do you get to know if the version of Redmi Note 10 is Camellia or Camellian?
wenyendev said:
Ok. Btw, how do you get to know if the version of Redmi Note 10 is Camellia or Camellian?
Click to expand...
Click to collapse
Build prop
i could flash both latest MIUI 13 dev (13.0.3.1.13) and stable (V13.0.8.0.SKSCNXM) without doing anything from your thread
cams and nfc (didnt try 5G since i dont have coverage) work well
im not sure if for older MIUI versions you can just flash it without requiring any steps from the post
(dev miui, always uses blue miui logo)
so i suppose flashing system.img china over could work?
1lopes said:
i could flash both latest MIUI 13 dev (13.0.3.1.13) and stable (V13.0.8.0.SKSCNXM) without doing anything from your thread
cams and nfc (didnt try 5G since i dont have coverage) work well
im not sure if for older MIUI versions you can just flash it without requiring any steps from the postView attachment 5787399
(dev miui, always uses blue miui logo)
Click to expand...
Click to collapse
thanks for your feedback. i was quite sure that miui cn version can be installed without any bootloop, and you have confirmed
wetito said:
so i suppose flashing system.img china over could work?
thanks for your feedback. i was quite sure that miui cn version can be installed without any bootloop, and you have confirmed
Click to expand...
Click to collapse
I actually just flashed it via mi flash both versions just fine
1lopes said:
I actually just flashed it via mi flash both versions just fine
Click to expand...
Click to collapse
Are you sure you got camlliaN, and not just camellia?
It's really interesting topic. In my case if I do not flash vendor I get rebooted into Recovery saying NVData is corrupted. For the other guy it didn't even boot, throws to fastboot
KastenTop said:
Are you sure you got camlliaN, and not just camellia?
Click to expand...
Click to collapse
It is camellian, I bought it fresh new, if u want to see I can send some images (but if im sure MIUI CN changes the model to Chinese but im not sure about the hardware)

General MIUI 14 GLOBAL - Android 13

MIUI 14 GLOBAL OFFICIAL | Android 13 :
Mi Pilot release.
https://bigota.d.miui.com/V14.0.2.0.TGCMIXM/miui_SPESGlobal_V14.0.2.0.TGCMIXM_f4e2e7b209_13.0.zip
what cons?
Official?
gthgpn said:
Official?
Click to expand...
Click to collapse
Yes , mi pilot.
The first rom delivered with this phone is the best one (V13.0.1.0.RGCMIXM) , very light without making update for sys app and playstore app and the cam can record at 60fps.
This is my opinion.
7alvaro said:
MIUI 14 GLOBAL OFFICIAL | Android 13 :
Mi Pilot release.
https://bigota.d.miui.com/V14.0.2.0.TGCMIXM/miui_SPESGlobal_V14.0.2.0.TGCMIXM_f4e2e7b209_13.0.zip
Click to expand...
Click to collapse
If you can add it to the first post, for the NFC
https://bigota.d.miui.com/V14.0.2.0.TGKMIXM/miui_SPESNGlobal_V14.0.2.0.TGKMIXM_b001882d2d_13.0.zip
sis tema said:
If you can add it to the first post, for the NFC
https://bigota.d.miui.com/V14.0.2.0.TGKMIXM/miui_SPESNGlobal_V14.0.2.0.TGKMIXM_b001882d2d_13.0.zip
Click to expand...
Click to collapse
Are there fastboot version for spesn and spes?
Phone bootloops when I try to update via OTA update. After installing the update it restarts and then bootloops just before entering the lockscreen.
I somehow managed to boot back to MIUI 13, and when I did there was a brief notification saying something like unsuccessful ROM update, download again. So I did. And the same thing happened again.
Does anyone have any solutions for this?
tosiaczus said:
Are there fastboot version for spesn and spes?
Click to expand...
Click to collapse
Not yet because not stable release
anonymous2211 said:
Phone bootloops when I try to update via OTA update. After installing the update it restarts and then bootloops just before entering the lockscreen.
I somehow managed to boot back to MIUI 13, and when I did there was a brief notification saying something like unsuccessful ROM update, download again. So I did. And the same thing happened again.
Does anyone have any solutions for this?
Click to expand...
Click to collapse
Flash it with custom recovery
7alvaro said:
Flash it with custom recovery
Click to expand...
Click to collapse
My bootloader is locked. Can I do this with locked bootloader? And if so, how?
Tried it, same thing happened. Bootloops for about 5 minutes then boots into 13.0.8.0
anonymous2211 said:
My bootloader is locked. Can I do this with locked bootloader? And if so, how?
Click to expand...
Click to collapse
You can't only with unlocked bootloader
WiFi is not working on GSI images (TrebleDroid based) with V14.0.2.0.TGKMIXM Android 13. Works fine with 13.0.8.0 Android 12.
Everything works normally
1) Unlock bootloader first
2) Flash TWRP: Download
3) We put the MIUI 14 Rom on the sd card
4) We flash MIUI 14 Rom from TWRP
5) Reboot the system
For those who need a locked bootloader, we enter fastboot and run the command:
fastboot oem lock
7alvaro said:
MIUI 14 GLOBAL OFFICIAL | Android 13 :
Mi Pilot release.
https://bigota.d.miui.com/V14.0.2.0.TGCMIXM/miui_SPESGlobal_V14.0.2.0.TGCMIXM_f4e2e7b209_13.0.zip
Click to expand...
Click to collapse
What is the benefit of this??????
7alvaro said:
MIUI 14 GLOBAL OFFICIAL | Android 13 :
Mi Pilot release.
https://bigota.d.miui.com/V14.0.2.0.TGCMIXM/miui_SPESGlobal_V14.0.2.0.TGCMIXM_f4e2e7b209_13.0.zip
Click to expand...
Click to collapse
does it have miui dialer?
cant update, always restart with error or get stuck on recovery mode.
anyone knows a solution?
ssamurai said:
does it have miui dialer?
Click to expand...
Click to collapse
Of course not, because it is a global version
rodsloco said:
cant update, always restart with error or get stuck on recovery mode.
anyone knows a solution?
Click to expand...
Click to collapse
I have been running it for the third day, almost no problems... no restarts, not even once...
Install it using the method I described above...
The only problem is with the screen rotation, on some sites when I turn on the video in full screen, it automatically stops working in full screen and the video turns off.

Categories

Resources