Related
After flashing a stock Global ROM on my Mi9, gyroscope, ambient light and accelerator stopped working.
Looks like persist partition is bad.
Followed steps to flash the partition using Mi Flash Tool in EDL mode, but I get this "Unauthorized for this operation"
https://imgur.com/dp9iUhX
My computer is bound to my account, but I don't have the rights to perform this operation
Is that something I should request?
Any advice how to pass this or other ways to fix the sensors?
Thanks
More details
https://imgur.com/qSOei4O
Sorry cant insert images
https://forum.xda-developers.com/Mi-9/help/sensors-install-global-stable-t3963626
And more related info that may you read
https://forum.xda-developers.com/Mi-9/help/widevine-l3-stock-rom-t3959063
rocalino said:
https://forum.xda-developers.com/Mi-9/help/sensors-install-global-stable-t3963626
And more related info that may you read
https://forum.xda-developers.com/Mi-9/help/widevine-l3-stock-rom-t3959063
Click to expand...
Click to collapse
Hey buddy! How you're doing?
OP : everything is listed in those two threads, you can flash a Chinese TWRP which allows modifications to the persist partition but it actually breaks the Widevine L1 certification if it matters to you
Thank you so much for the reply
rocalino said:
https://forum.xda-developers.com/Mi-9/help/sensors-install-global-stable-t3963626
And more related info that may you read
https://forum.xda-developers.com/Mi-9/help/widevine-l3-stock-rom-t3959063
Click to expand...
Click to collapse
I am reading the posts now
I hope it will work
_Nexus8_ said:
Hey buddy! How you're doing?
OP : everything is listed in those two threads, you can flash a Chinese TWRP which allows modifications to the persist partition but it actually breaks the Widevine L1 certification if it matters to you
Click to expand...
Click to collapse
Hi,
Apologies for late reply
I am just reading your message now
I thought the app will send me notification
Anyway, I just checked Widevine using DRM info app and found it to be 3 ???!!!
Looks like I have nothing to lose
Flashed using the Chinese TWRP and sensors work now
Thanks a lot
momello said:
Hi,
Apologies for late reply
I am just reading your message now
I thought the app will send me notification
Anyway, I just checked Widevine using DRM info app and found it to be 3 ???!!!
Looks like I have nothing to lose
Click to expand...
Click to collapse
It's okay, take your time!
Well, I think you already flashed a ROM right? If yes it may be the cause of Widevine passing L3
Before flashing the ROM, you were on an EEA ROM right?
I am L3 before doing any thing
What I did to the phone is:
Originally was on EEA
Flashed EU rom
Then global stable
Then sensors busted
I tried many times to flash with Flash Tool but couldn't
Never checked DRM before
It was L3 before TWRP the persist partion
momello said:
I am L3 before doing any thing
What I did to the phone is:
Originally was on EEA
Flashed EU rom
Then global stable
Then sensors busted
I tried many times to flash with Flash Tool but couldn't
Never checked DRM before
It was L3 before TWRP the persist partion
Click to expand...
Click to collapse
I think it was L1 before you flash the EU ROM, EEA versions come with L1 enabled by default
I got L3 because of the persistence. Can L1 with EDL?
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 !
I am planning to flash masik x11. Up till now I have used Indian stable miui. Will I lose widevine l1 if I change? And do I need to format data or just wipe. Masik is based on Chinese beta.
no, yes.
You won't have L1. but you won't lose it. Meaning, if you change back to aosp, eu, stock, you'll get your L1 back.
for miui to miui, you don't have to format data partition or wipe internal.
masik comes inbuilt with a vendor
Sandeeep Kiran said:
You won't have L1. but you won't lose it. Meaning, if you change back to aosp, eu, stock, you'll get your L1 back.
for miui to miui, you don't have to format data partition or wipe internal.
masik comes inbuilt with a vendor
Click to expand...
Click to collapse
You don't get L1 back once you lose it. Unless you did, then give details
gwenmillett said:
You don't get L1 back once you lose it. Unless you did, then give details
Click to expand...
Click to collapse
yeah, you can't get L1 once lost.
but he isn't losing it by flashing masik. Masik just has L3 by default. A patch will work.
Sandeeep Kiran said:
yeah, you can't get L1 once lost.
but he isn't losing it by flashing masik. Masik just has L3 by default. A patch will work.
Click to expand...
Click to collapse
Try and tell me if you can get L1 to work on masik, or if you get it back when you restore twrp backup
gwenmillett said:
Try and tell me if you can get L1 to work on masik, or if you get it back when you restore twrp backup
Click to expand...
Click to collapse
The details regarding this is shown in the guide at https://forum.xda-developers.com/k20-pro/how-to/simple-beginners-guide-to-raphaelin-t4020543
Check post 3. under section: L3 Fix, Getting L1 after getting L3 for Global and Indian Users.
patch was made for a previous version. Patch has not been updated as the dev just wants to take some time off for himself. You are free to check out the guides on compiling the patch on the russian miui wesbites at 4pda.ru
feel free to join the official telegram group.
Me and superuser are both highly active admins. You can check out the note #widevine in the group, as well as meet other masik users to clear any info you require.
L1 only works on Global & EEA stock roms. You will lose L1 only you format persist partition. Other wise L1 is permanent.
If you want to use CN based roms, you have to flash L1 patch.
sceryavuz said:
L1 only works on Global & EEA stock roms. You will lose L1 only you format persist partition. Other wise L1 is permanent.
If you want to use CN based roms, you have to flash L1 patch.
Click to expand...
Click to collapse
L1 also works on indian stock.
EU stable/beta
rev and mix
Sandeeep Kiran said:
L1 also works on indian stock.
EU stable/beta
rev and mix
Click to expand...
Click to collapse
Is there a working L1 patch for latest masik?
sceryavuz said:
L1 only works on Global & EEA stock roms. You will lose L1 only you format persist partition. Other wise L1 is permanent.
If you want to use CN based roms, you have to flash L1 patch.
Click to expand...
Click to collapse
When does persist partition get formatted? I'll be using latest twrp to flash
Sandeeep Kiran said:
You won't have L1. but you won't lose it. Meaning, if you change back to aosp, eu, stock, you'll get your L1 back.
for miui to miui, you don't have to format data partition or wipe internal.
masik comes inbuilt with a vendor
Click to expand...
Click to collapse
If masik comes inbuilt with vendor will flashing it break the sensors and make me lose L1 forever? Do xiaomi.eu and miroom roms come with their own vendors too?
gwenmillett said:
Is there a working L1 patch for latest masik?
Click to expand...
Click to collapse
https://xiaomi.eu/community/threads...-others-widevine-is-l3-now.53778/#post-522763
gwenmillett said:
When does persist partition get formatted? I'll be using latest twrp to flash
Click to expand...
Click to collapse
Just made backup of persist.img before experimenting with others rom. So u can every time back to stock with L1 working.
Dadovvv said:
Just made backup of persist.img before experimenting with others rom. So u can every time back to stock with L1 working.
Click to expand...
Click to collapse
my twrp doesn't have the option to backup persist, which one are u using?
gwenmillett said:
my twrp doesn't have the option to backup persist, which one are u using?
Click to expand...
Click to collapse
Persist can be disk-dumped to image file and disk-dumped back to phone, or the disk-dumped image file can be flashed by e.g. OrangeFox (maybe even by Fastboot, not sure)
https://forum.xda-developers.com/mi-9t/how-to/to-extract-stock-boot-recovery-images-t4058447
PS: I did disk-dumping Persost to file and saw that Persist image file can be flashed by OrangeFox but didn't try it - using MIUI, not AOSP, hence I don't needed to wipe Persist and later to restore my L1
gwenmillett said:
my twrp doesn't have the option to backup persist, which one are u using?
Click to expand...
Click to collapse
im using terminal emulator to backup persist.img
in terminal emulator type;
Code:
su
ls -ln /dev/block/by-name/
this is to list all partition names, u need to find persist.img name, in my case is sda23 persist.img and sda24 persistbak.img.
so i create backup of these two ;
Code:
dd if=/dev/block/sda23 of=/sdcard/backup1
dd if=/dev/block/sda24 of=/sdcard/backup2
after that u will find backup1 and backup2 in your internal storage.
Sandeeep Kiran said:
You won't have L1. but you won't lose it. Meaning, if you change back to aosp, eu, stock, you'll get your L1 back.
for miui to miui, you don't have to format data partition or wipe internal.
masik comes inbuilt with a vendor
Click to expand...
Click to collapse
Dadovvv said:
im using terminal emulator to backup persist.img
in terminal emulator type;
Code:
su
ls -ln /dev/block/by-name/
this is to list all partition names, u need to find persist.img name, in my case is sda23 persist.img and sda24 persistbak.img.
so i create backup of these two ;
Code:
dd if=/dev/block/sda23 of=/sdcard/backup1
dd if=/dev/block/sda24 of=/sdcard/backup2
after that u will find backup1 and backup2 in your internal storage.
Click to expand...
Click to collapse
And how do you restore it?
gwenmillett said:
And how do you restore it?
Click to expand...
Click to collapse
same as backup, but reverse path
Code:
su
dd if=/sdcard/backup1 of=/dev/block/sda23
dd if=/sdcard/backup2 of=/dev/block/sda24
Dadovvv said:
same as backup, but reverse path
Code:
su
dd if=/sdcard/backup1 of=/dev/block/sda23
dd if=/sdcard/backup2 of=/dev/block/sda24
Click to expand...
Click to collapse
Have you restored it yourself and confirm that it gives you back l1?
Hiya. So, here's the story:
Xiaomi Mi 9T Pro EEA, bought from Amazon, not a shady reseller
I made a Google Backup of my apps, because I decided to try out some Android 11 roms.
After trying them out, I wanted to go back to Android 10, so I clean flashed my rom, GApps and disable force encrypt, the usual stuff. But the Google Backup, that I previously used on all the A11 roms was suddenly gone.
I thought, that wouldn't be a problem, since I still had my Android 10 TWRP Backup that I made, before I started experimenting with A11.
I restored that backup and couldn't unlock my phone. So I deleted /data/system/locksettings.db and finally my phone would unlock.
But: My sensors didn't work anymore. I searched the internet for info and found out, that my persist partition got corrupted.
tl; dr: I restored a TWRP backup and my Persist partition corrupted.
Until yesterday, I didn't even know, what the Persist partition was. I never touched it.
I know how to get my sensors working again. But I guess my Widevine L1 is gone now, isn't it?
Seki_ said:
Hiya. So, here's the story:
Xiaomi Mi 9T Pro EEA, bought from Amazon, not a shady reseller
I made a Google Backup of my apps, because I decided to try out some Android 11 roms.
After trying them out, I wanted to go back to Android 10, so I clean flashed my rom, GApps and disable force encrypt, the usual stuff. But the Google Backup, that I previously used on all the A11 roms was suddenly gone.
I thought, that wouldn't be a problem, since I still had my Android 10 TWRP Backup that I made, before I started experimenting with A11.
I restored that backup and couldn't unlock my phone. So I deleted /data/system/locksettings.db and finally my phone would unlock.
But: My sensors didn't work anymore. I searched the internet for info and found out, that my persist partition got corrupted.
tl; dr: I restored a TWRP backup and my Persist partition corrupted.
Until yesterday, I didn't even know, what the Persist partition was. I never touched it.
I know how to get my sensors working again. But I guess my Widevine L1 is gone now, isn't it?
Click to expand...
Click to collapse
Yes, it's gone. Share what you did to get the sensors working.
mauam said:
Yes, it's gone. Share what you did to get the sensors working.
Click to expand...
Click to collapse
Unfortunate. Oh well.
There's actually multiple ways. You could:
Flash persist from Xiaomi's full fastboot package
Flash persistbak to persist
Flash a working persist image from another Mi 9T Pro
All those things worked for me. In the end, I settled with the persistbak method.
Seki_ said:
Unfortunate. Oh well.
There's actually multiple ways. You could:
Flash persist from Xiaomi's full fastboot package
Flash persistbak to persist
Flash a working persist image from another Mi 9T Pro
All those things worked for me. In the end, I settled with the persistbak method.
Click to expand...
Click to collapse
could you tell me how you flashed and dumped persistbak?
wavychris said:
could you tell me how you flashed and dumped persistbak?
Click to expand...
Click to collapse
It's almost been a year, so I don't fully remember what I did exactly, but there's some tutorials around you can find pretty easily.
The only thing I remember is going into fastboot and dumping and flashing my partitions via command line, I think.
Seki_ said:
It's almost been a year, so I don't fully remember what I did exactly, but there's some tutorials around you can find pretty easily.
The only thing I remember is going into fastboot and dumping and flashing my partitions via command line, I think.
Click to expand...
Click to collapse
ive been searching for a month and im still not sure which tutorial to follow, all i want is to fix my sensors and get widevine l1 back in case it gets void when i flash persist, any help would be phenomenal!
wavychris said:
ive been searching for a month and im still not sure which tutorial to follow, all i want is to fix my sensors and get widevine l1 back in case it gets void when i flash persist, any help would be phenomenal!
Click to expand...
Click to collapse
Well if you didn't make a backup before, L1 is L Gone. I didn't get it back. Following any tutorial should get you your sensors back though.
And remember: The first thing to do when getting a new phone is to backup that persist partition, so you don't need to worry about something like this happening again.
Seki_ said:
Well if you didn't make a backup before, L1 is L Gone. I didn't get it back. Following any tutorial should get you your sensors back though.
And remember: The first thing to do when getting a new phone is to backup that persist partition, so you don't need to worry about something like this happening again.
Click to expand...
Click to collapse
if i remember correctly you can get widevine l1 back via a magisk module or flashing xiaomi.eu rom and you can download the certificate from there, try it out if you dont got nothing to lose, by the way, if i flash persist will the sensors work permanently or do i have to do this again every once in a while?
wavychris said:
if i remember correctly you can get widevine l1 back via a magisk module or flashing xiaomi.eu rom and you can download the certificate from there, try it out if you dont got nothing to lose, by the way, if i flash persist will the sensors work permanently or do i have to do this again every once in a while?
Click to expand...
Click to collapse
Oh, interesting. Definitely gotta try that, thanks. How do you download the certificate in MIUI? Does it happen automatically?
Since I flashed my persistbak, I didn't flash anything else and my sensors are still working, so I guess it sporadically happens... sometimes?
Btw, if you aren't already, you should use OrangeFox recovery instead of TWRP on Xiaomi devices. It usually doesn't kill itself by wiping partitions or flashing roms, especially when coming from MIUI. Also, you can make persist backups with it. For some reason they removed that feature from TWRP.
Seki_ said:
Oh, interesting. Definitely gotta try that, thanks. How do you download the certificate in MIUI? Does it happen automatically?
Since I flashed my persistbak, I didn't flash anything else and my sensors are still working, so I guess it sporadically happens... sometimes?
Btw, if you aren't already, you should use OrangeFox recovery instead of TWRP on Xiaomi devices. It usually doesn't kill itself by wiping partitions or flashing roms, especially when coming from MIUI. Also, you can make persist backups with it. For some reason they removed that feature from TWRP.
Click to expand...
Click to collapse
in case you got it wrong xiaomi.eu is a custom miui based rom, not official, just to clarify that, and to download the certificate you must enroll fingerprint then go to fingerprint payments and youll find widevine l1 there, then click on certificate in widevine l1, pretty easy stuff, also how do i install orangefox?
wavychris said:
in case you got it wrong xiaomi.eu is a custom miui based rom, not official, just to clarify that, and to download the certificate you must enroll fingerprint then go to fingerprint payments and youll find widevine l1 there, then click on certificate in widevine l1, pretty easy stuff, also how do i install orangefox?
Click to expand...
Click to collapse
Oh, I can't read. For some reason, I thought you said xiaomi.eu or stock, that's why I said MIUI. Anyway, thanks for telling me. I never heard of that.
To install OrangeFox, just download the zip, make backups if you want to be extra sure and flash the zip. Here's the thread: https://forum.xda-developers.com/t/recovery-official-orangefox-recovery-project-r11-1.4308019/
The UI is different, so it took me a little while to get used to it, but ultimately, OrangeFox is a smoother experience than TWRP, at least on Xiaomi.
wavychris said:
if i remember correctly you can get widevine l1 back via a magisk module or flashing xiaomi.eu rom and you can download the certificate from there, try it out if you dont got nothing to lose, by the way, if i flash persist will the sensors work permanently or do i have to do this again every once in a while?
Click to expand...
Click to collapse
No, you cannot get L1 through Magisk module - because you need a (paid) certificate for your hardware
To the contrary, there is a Magisk module that disables L1, dropping you to default L3.
Although I never understood who/why needs that
wavychris said:
could you tell me how you flashed and dumped persistbak?
Click to expand...
Click to collapse
See here how to backup and/or dump Persist and restore/flash it back.
Of course, if you didn't backup a working Persist on time, you have nothing to restore:
Extracting stock Boot, Recovery and Persist images
Talking here about how to extract the stock Boot, Recovery and Persist images, needed in case of e.g. bootloop upon flashing Magisk or TWRP, to reflash the stock image(s). Also, boot image is needed for patching from Magisk Manager (and flashing...
forum.xda-developers.com
Seki_ said:
Oh, I can't read. For some reason, I thought you said xiaomi.eu or stock, that's why I said MIUI. Anyway, thanks for telling me. I never heard of that.
To install OrangeFox, just download the zip, make backups if you want to be extra sure and flash the zip. Here's the thread: https://forum.xda-developers.com/t/recovery-official-orangefox-recovery-project-r11-1.4308019/
The UI is different, so it took me a little while to get used to it, but ultimately, OrangeFox is a smoother experience than TWRP, at least on Xiaomi.
Click to expand...
Click to collapse
its alright lol, thanks for your help btw have a nice day/night
zgfg said:
No, you cannot get L1 through Magisk module - because you need a (paid) certificate for your hardware
To the contrary, there is a Magisk module that disables L1, dropping you to default L3.
Although I never understood who/why needs that
Click to expand...
Click to collapse
that sucks man, thanks for the news anyway i might use xiaomi.eu rom to get it back that way at least
zgfg said:
See here how to backup and/or dump Persist and restore/flash it back.
Of course, if you didn't backup a working Persist on time, you have nothing to restore:
Extracting stock Boot, Recovery and Persist images
Talking here about how to extract the stock Boot, Recovery and Persist images, needed in case of e.g. bootloop upon flashing Magisk or TWRP, to reflash the stock image(s). Also, boot image is needed for patching from Magisk Manager (and flashing...
forum.xda-developers.com
Click to expand...
Click to collapse
alright thanks i might try it out tommorow ill update you on the process if you want
Hello. Could someone provide step by step tutorial onhow to root xiaomi 11 running latest xiaomi EU ROM?
I have found one tutorial but it is not very clear. I would not like to brick my device. If someone could help mi to install magisk I would appreciate.
I have managed to patch boot.img
But which command to use it to flash it since this is A/B partition device.
Photo attached of patched boot.img
Could someone tell me what commands to use to flash it?
Thank you
i do this (boot.img is file boot patched which is renamed) :
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
Im a nooooooob
rafik25 said:
i do this (boot.img is file boot patched which is renamed) :
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
Im a nooooooob
Click to expand...
Click to collapse
Since you announced that you're on global rom, did you magisk root the global rom?
And if you did, does the safetynet pass now?
Thanks.
piskr said:
Since you announced that you're on global rom, did you magisk root the global rom?
And if you did, does the safetynet pass now?
Thanks.
Click to expand...
Click to collapse
Hey, I'm using the Chinese version but flashed the Xiaomi.EU ROM.
I didn't pass the SafetyNet check after rooting yesterday, so I re-flashed everything and then re-patched my boot.img with Magisk and flashed that again, and now the SafetyNet check passes. I can even find Netflix on the Play Store.
Rooting the Mi 11 with the latest Xiaomi.eu ROM
EDIT: This is not for the TWRP version. I will update this thread soon! Hello! Since I saw a lot of people asking, I decided to post how to root a Mi 11 (as of 2021-02-11). Install the Xiaomi.eu ROM. You can find more details in this post...
forum.xda-developers.com
Lucavon said:
Hey, I'm using the Chinese version but flashed the Xiaomi.EU ROM.
I didn't pass the SafetyNet check after rooting yesterday, so I re-flashed everything and then re-patched my boot.img with Magisk and flashed that again, and now the SafetyNet check passes. I can even find Netflix on the Play Store.
Click to expand...
Click to collapse
Thank you, I'm on eu too and I like this rom a lot. I really appreciate the hard work and the success of the devs. What still bother me is massive energy consumption and slow and faulty fingerprint response. Those issues looks like minor, but in fact they are quite essential.
Therefore I'm looking for other solution for now and therefore the global rom caught my eye. Someone claimed that the global better handles battery.
So far I learned that flashing the global disables Google pay. I'm wondering if magisk is a solution.
piskr said:
Thank you, I'm on eu too and I like this rom a lot. I really appreciate the hard work and the success of the devs. What still bother me is massive energy consumption and slow and faulty fingerprint response. Those issues looks like minor, but in fact they are quite essential.
Therefore I'm looking for other solution for now and therefore the global rom caught my eye. Someone claimed that the global better handles battery.
So far I learned that flashing the global disables Google pay. I'm wondering if magisk is a solution.
Click to expand...
Click to collapse
I've noticed that the xiaomi.eu ROM seems to slightly improve battery life, not by much, but at least a little.
piskr said:
Since you announced that you're on global rom, did you magisk root the global rom?
And if you did, does the safetynet pass now?
Thanks.
Click to expand...
Click to collapse
safetynet pass failed....
robkor said:
OK. It is solved now. I have managed to root my xiaomi 11
Click to expand...
Click to collapse
How to pass safetynet to enable GPay. I am on Global Rom flashed from CN version Mi 11. Thanks
kelhossiny said:
How to pass safetynet to enable GPay. I am on Global Rom flashed from CN version Mi 11. Thanks
Click to expand...
Click to collapse
Install magisk 22, patch and install a+b pacthed boot.img, clear data of GP, GPS and GSF and then install fix with magisk: https://github.com/kdrag0n/safetynet-fix/releases
But I wouldn't recommend global. It's far worse than original CN. And some users complain that you lose 5g doing that.
piskr said:
Install magisk 22, patch and install a+b pacthed boot.img, clear data of GP, GPS and GSF and then install fix with magisk: https://github.com/kdrag0n/safetynet-fix/releases
But I wouldn't recommend global. It's far worse than original CN. And some users complain that you lose 5g doing that.
Click to expand...
Click to collapse
how about EEA Rom? is it has the same problem of safetynet or GPay is working normally.
kelhossiny said:
how about EEA Rom? is it has the same problem of safetynet or GPay is working normally.
Click to expand...
Click to collapse
Flashing it over cn demands the same procedure. If you seek straight solution, go for eu.