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
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?
Hi folks,
What we used as beta ROM is now published as official stable release known as version RMX1991_11.C.12 for Chinese model of Realme X2.
Probably anyone can upgrade the phone now in any possible way.
The bad news is FP stops working as soon as you patch vbmeta for disabling AVB...
The good news is that there's no verification of system partition. You can leave vbmeta untouched and modify whatever you want except boot.
yakovpol said:
The good news is that there's no verification of system partition. You can leave vbmeta untouched and modify whatever you want except boot.
Click to expand...
Click to collapse
Then, you will not loose fingerprint?
AlAneed said:
Then, you will not loose fingerprint?
Click to expand...
Click to collapse
Exactly
yakovpol said:
Exactly
Click to expand...
Click to collapse
Magisk can be installed and we still have the fingerprint working?
AlAneed said:
Magisk can be installed and we still have the fingerprint working?
Click to expand...
Click to collapse
No, Magisk is patching boot, which will require you to disable verification by means of vbmeta. You can try system-based methods like one of SuperSU.
yakovpol said:
No, Magisk is patching boot, which will require you to disable verification by means of vbmeta. You can try system-based methods like one of SuperSU.
Click to expand...
Click to collapse
but in order to fix twrp replace issue vbmeta verification is needed to be disabled right??
I will try to search for it. Is it just a normal app to install from Play store? or requires other method?
One more thing, TWRP working with it or no?
Thanks
---------- Post added 10th April 2020 at 12:36 AM ---------- Previous post was 9th April 2020 at 11:38 PM ----------
I guess I am not able to understand how to do root? I searched for system base root in the web with no luck
Would you mind explaining how to do root without Magisk?
osamanazim said:
but in order to fix twrp replace issue vbmeta verification is needed to be disabled right??
Click to expand...
Click to collapse
No. At least a few last CN ROM versions are insensitive to recovery replacement. You can keep stock vbmeta and flash custom recovery. But recovery will be replaced when you boot system, i.e. you flash custom recovery for single and immediate use
yakovpol said:
No. At least a few last CN ROM versions are insensitive to recovery replacement. You can keep stock vbmeta and flash custom recovery. But recovery will be replaced when you boot system, i.e. you flash custom recovery for single and immediate use
Click to expand...
Click to collapse
Will i lose any file if i update from color os 6.1 to realme ui or i need to backup first?
Mikelsteven said:
Will i lose any file if i update from color os 6.1 to realme ui or i need to backup first?
Click to expand...
Click to collapse
Backup is a nice thing. I would always insist on creating backup.
I successfully switched onto realmeUI without losing data. As I understand, you have to do it from A.17 (for CN device). My path was A.16 -> C.02, but now many are suggested to upgrade from A.17 straight to C.12.
yakovpol said:
Backup is a nice thing. I would always insist on creating backup.
I successfully switched onto realmeUI without losing data. As I understand, you have to do it from A.17 (for CN device). My path was A.16 -> C.02, but now many are suggested to upgrade from A.17 straight to C.12.
Click to expand...
Click to collapse
Thanks man. I don't know what reliable backup method i can use on an unrooted phone. I'm on A17 so i guess it's safe to upgrade without backup. Again, have u experienced any bug so far on realme ui?
Mikelsteven said:
Thanks man. I don't know what reliable backup method i can use on an unrooted phone. I'm on A17 so i guess it's safe to upgrade without backup. Again, have u experienced any bug so far on realme ui?
Click to expand...
Click to collapse
Put some labour on searching through Internet please. So you will be sure if to update or not
To me it works just fine.
Mikelsteven said:
Thanks man. I don't know what reliable backup method i can use on an unrooted phone. I'm on A17 so i guess it's safe to upgrade without backup. Again, have u experienced any bug so far on realme ui?
Click to expand...
Click to collapse
Black Screen problems while playing COD Mobile. Iit is a common problem on sobre Android 10 upgraded devices.
But all the rest of software running and working smoothly.
can someone please confirm if the feature of Waze returning to top during voice call is working? i have the globalized version by mettis and it doesn't work there (have CN device)
1. Do we lose L1 certification after flashing custom roms? Do we recover status back with persist image?
2. Are we able to use all the Indian banking apps? Since GPay is a pain in ass to make it work with root/custom ROMs
Getting back to android modding community after approximately 3 years, though have been following threads.
Any inputs on the above would be really appreciated. Thanks in advance.
No.
Yes
venu44 said:
No.
Yes
Click to expand...
Click to collapse
I mean is the No part for the persist image or the status of L1.
Satzz said:
I mean is the No part for the persist image or the status of L1.
Click to expand...
Click to collapse
For some custom ROMs you need to wipe Persist to get some sensors to work and you loose then L1.
When going back to MIUI you can restore Persist and L1
I wanted to switch from MIUI Global 12.0.1 Stable to the Indian version V12.0.2.0 to have the default call recorder,
through the file raphaelin_in_global_images_V12.0.2.0.QFKINXM_20200710… tgz
after expanding it, using XiaoMiFlash latest version.
But after pressing the Flash key the message “error: Missmatching image and device” appears.
What can I do to install the Indian version?
Thank you for your help.
nigol
Satzz said:
1. Do we lose L1 certification after flashing custom roms? Do we recover status back with persist image?
2. Are we able to use all the Indian banking apps? Since GPay is a pain in ass to make it work with root/custom ROMs
Getting back to android modding community after approximately 3 years, though have been following threads.
Any inputs on the above would be really appreciated. Thanks in advance.
Click to expand...
Click to collapse
I bought a k20 pro (raphealin) like a month ago I think, got it with miui 11, updated to miui 12 12.0.2.0, got bored looked up the EU version, unlocked bootloader, installed orange fox r11 (or whichever version is the latest that just came out I don't remember), took a backup of persist along with everything (cuz I read somewhere that I could lose L1 and having a backup of persist might help so I took backup), flashed the EU rom 12.0.3.0, flashed magisk (didn't plan on flashing it, but then when I was flashing the rom, I thought might as well no downside, voiding the warranty anyway), have been using it for 2 weeks I guess now, its been working great, renamed the magisk manager to something else, used magisk hide on other apps. I didn't loose L1 and can see FHD in Netflix and best in PrimeVideos, High in Disney+, banking apps work fine (iMobile, PayTM, Gpay (Indian version / used to be called tez I think before), BOB apps also (although they aren't working but I think that's BOB's fault as I am not getting OTP, checked on other phones too, not receiving there too, but they are opening no rooted error or anything), Digilocker too (this won't work with just magisk hide, you will need to rename magisk manager and after a reboot it works, I would you rename it anyway cuz there is no downside, cuz otherwise if you wanna use this then you will need to later so), ETMoney, Groww PhonePe, MyCAMS, PAYPAL these all work fine, I don't know any other apps I don't use them). Even though I didn't lose L1 after flashing I have kept the backup in case in future I need it.
Good day.
Today, after switching from OSS Custom ROM to MIUI 12 via fastboot, front camera broke. The camera kept asking for calibration. After flashing persist partition, L1 certification is lost. It's not a huge deal but still. I have original Persist back-up. I found it accidentally. Persist partition that I flashed was not Backup though. Any ideas?
Thank you!
anandadavananda said:
Good day.
Today, after switching from OSS Custom ROM to MIUI 12 via fastboot, front camera broke. The camera kept asking for calibration. After flashing persist partition, L1 certification is lost. It's not a huge deal but still. I have original Persist back-up. I found it accidentally. Persist partition that I flashed was not Backup though. Any ideas?
Thank you!
Click to expand...
Click to collapse
Check the other threads.
Thankfully I never lost L1 and never experimented with flashing Persist, but I remember that some claimed that even by flashing the original Persist you cannot restore L1 anymore
zgfg said:
Check the other threads.
Thankfully I never lost L1 and never experimented with flashing Persist, but I remember that some claimed that even by flashing the original Persist you cannot restore L1 anymore
Click to expand...
Click to collapse
i did that and l1 is lost in my case.
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...