yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Update and new question :

Do you think that sending back the phone to Xiaomi could help me? I heard that you need a specific secured system to reinstall the Widevine DRM on a phone but I'm not sure, it's just what I've read somewhere (like when OnePlus updated their device to bring Widevine L1 to them, they called them back and they did that in their factories)
[Xiaomi Mi 9 Questions & Answers] RedWave31:
I've got a question as well:

- How can we "Download Widevine Certification Key" on EEA Rom?

Every tutorial out there is via "Settings > LockScreen > FingerPrint > Payments" but it doesn't exist on EEA ROM!

I'd like to save everything before trying the latest 9.8.22 Xiaomi.eu rom, and losing L1 is a concern.

[MENTION=7242764]_Nexus8_[/MENTION] Did you try the XiaomiTool 2.2GB img "complete factory flash" via USB, and not via TWRP?
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
I don't think we can on this device actually, I heard that it was only for the Poco F1 which actually got an update to support it, not like the Mi 9 which got it straight out of the factory

I haven't tried the XiaomiTool IMG, I didn't know it existed actually, I'm going to Google it and test it tomorrow, I'll keep you updated

I only tried flashing the latest EEA with XiaoMiTool v2 with locked bootloader but I didn't know there was a "factory like" IMG, I don't know if it's the same

Update :

I have started a thread on a French forum, and I found someone with the same issue as me/us, if he manages to find something that could help me/us I'll post an update here as always.
[Xiaomi Mi 9 Questions & Answers] RedWave31:
That's cool, I'm French btw but didn't add a flag to my profile, I consider it rude to write anything else than english publicly, although for that exception:

> DM moi si nécessaire ;)

I believe XDA is the most reactive forum out there... Not FrAndroid ^^

About the ROM, the official EEA image can be found here : https://en.miui.com/download-361.html#588

The official Xiaomi Tool can be found here : http://en.miui.com/a-234.html

Edit : I've seen your post, and it seems:

- You unlocked twice...?

- Did you use the unauthorized https://www.xiaomiflash.com/ tool.....?

From my research, Widevine seems not to be "really" file-based:

- There is a hardware component which makes each device unique with a single DRM ID

- Liboemcrypto is used to communicate with that hardware component and verify the security level, including bootloader status

- Additionnal certificates can be used to whitelist devices, hence the Pocophone "Certificate Backup/Download"

- Samsung phones have a one-time e-fuse (Samsung Knox) that blacklist the device forever when unlocked, but that's not the case for Xiaomi or Widevine AFAIK.

- Sony Xperia's had a secret TA partition which stored DRM's on files, in order to delete the keys on purpose as well (Sony makes movies, hence this specific and wanted design for copyright purposes), but on Xiaomi it should be hardware based, and thus reversible like OnePlus phones.

Conclusion:

-

Your phone is still Widevine L1 compatible

if it is a true Global EEA G00 Mi 9, but there is something preventing from reading the hardware ID chip

- Try going back as far as possible to factory : flash official EEA, relock bootloader, etc

- There might have been a "hidden-widevine-partition-erase" from an unofficial tool, several unlocks... This case has never been documented and doesn't seem to exist.

Keep us posted ;)
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Alright, I'm coming in PM ! :)

Yeah, you're right, XDA is the best forum out there for this, there are people from everywhere in the world united for a same thing : Android development.

And my other thread is not on FrAndroid, nice guess tho!

About the ROM, it seems that it's the same that I used, I downloaded mine from this website : http://c.mi.com/oc/miuidownload/index

And for the Flash Tool, I used this one : https://www.xiaomiflash.com/ and I used the one in this website too : http://en.miui.com/a-234.html

I've unlocked my device a lot, every time I was trying something different I was unlocking it

I didn't know that the Xiaomi Flash is not authorized, I even thought it was official, well I mean some people say it was official

I've heard about Samsung Knox, I had a Samsung device before, unlocking the bootloader breaks the warranty forever

And I heard about the Sony DRM's too, because I also had a Sony device before, I remember that you had to backup the TA partition in order to restore the DRM keys after unlocking the bootloader

How can I check if the phone is a true Global EEA G00 ? I don't really understand the G00 here

I've already tried relocking the bootloader and flashing back the stock ROM, well every time I was flashing the stock ROM, I was always locking the bootloader at the same time
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
Wait so does this mean once we install a Rom with Widevine L3 on the Mi 9 we can't go back to L1 ? Or is this a special case ?

Because I went from stock to RevOS to Xiaomi.eu and now by reading this thread I'm scared I will never get L1 back
[Xiaomi Mi 9 Questions & Answers] fossiltkm:
Reading through this thread, I am starting to feel the same way you are!
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Update :

I just updated my phone to the latest 10.2.30.0 EEA via the About phone... menu in settings, with locked bootloader OEM lock.

Still no Widevine L1... (see attached)

By the way, I flashed back the stock ROM using the fastboot image and the Mi Flash tool mentionned in there : http://c.mi.com/oc/miuidownload/detail?guide=2 but it changed nothing.

I'm actually thinking about sending it back on Amazon to see if they could do something about it.

One thing is sure : if I manage to get back my Widevine certificate, I won't install a custom ROM before a very very long time.

I don't know, on some devices unlocking the bootloader breaks Widevine certification in the process (like Samsung for exemple) and you can't get it back.
[Xiaomi Mi 9 Questions & Answers] mospre:
What is advantage of having L1?
[Xiaomi Mi 9 Questions & Answers] malbert16442:
Did you try the fastboot ROM act like the phone is bricked and try those steps.
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
You can have HD and HDR playback in crypted streaming apps like Netflix, Molotov, etc...

You mean by simulating a "system broken" state? I'm going to try it soon, I'll report back
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
Hey OP !

The latest Xiaomi.eu update might interest you, because apparently it restores Widevine L1 !

I think I'll do a clean install later. If yes I will report if I'm on L1 again. Maybe this will work for you?
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
Yes, I got Widevine L1 back !
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Hey! What did you do to make it work? I installed it but my phone was still in L3 and I couldn't download the Widevine certificate.
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
You mean still in L3?

I just did a clean install. I came from Syberia OS, so I wiped Dalvik/ART Cache, Cache, Data, Vendor, System, flashed Xiaomi.eu 9.8.29 and voilà
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Yes, I meant L3 sorry

I didn't wipe Vendor and System, I only wiped Dalvik, Cache and Data but it didn't work.

I will try to flash it and at the same time wipe the partitions you've told me, and if it doesn't work, I might send it back on Amazon. I have only 5 more days to do so.
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Update

:

Okay so someone told me to do some things in DM, I did them but it doesn't seem to solve my problem, here's what I've done :

- Check if the Roll Back Protection is active by using fastboot getvar anti, it gave me the number 1 so it seems to be active

- Try the latest Xiaomi.eu which brings Widevine L1, without success (I wiped Cache, Dalvik, and Data), I'll try doing it again but this time I'll wipe everyting (vendor, data, dalvik, cache and system)

- Try to make the Fastboot act like the device is bricked, but I don't really know how I can do that

- Or send back the phone for repair on Amazon before the 7th September, which I'm actually thinking about
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
The question is what do you tell them to send it back and will they give you a new one ? But yes you can try
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
It's on Amazon, I have 30 days to return the products if I'm not satisfied, it's something related with the law, I just have to say that it has a problem and I can send it back

But after that, I don't know if they'll send it to Xiaomi in order to flash a new ROM via EDL on it or if they'll send me a new one
[Xiaomi Mi 9 Questions & Answers] fossiltkm:
Just out of curiosity, is your model the global version? I have the global version, and was in the same boat as you when I unlocked my bootloader. I went back to global stable and relocked the bootloader, with widevine L1 restored. With all of the steps that you've taken to recover widevine L1 with no success, something is definitely screwed up.
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Yes, it has all 4G bands and it has the Global logo on the box (see attached).

I don't know how I managed to mess up with something as secured as Widevine DRMs just by flashing and unlocking bootloader :(
[Xiaomi Mi 9 Questions & Answers] malbert16442:
Are you formatting the system after every install?

Also are you sure this is a global device?
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
No I'm formatting the system partition before installing the ROM

Yes it is, it has the red global logo on the box and it has all LTE bands
[Xiaomi Mi 9 Questions & Answers] RedWave31:
It's really weird. It shouldn't have been the global version, but the EEA version.

I bought mine on pre-order directly from Mi.com (bundled with the wireless 20w EU charger).

Is the Product Model M1902F1G....?
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
I think it's the EEA version, it has the EEA ROM installed by default out of the box

And yeah the product model is M1902F1G
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Update

(one of the last I hope) :

I've asked Amazon for a return, it's currently 02:15 a.m. where I live, I'm going to send back the package during the afternoon, I hope Amazon will get it fast, so I can get a fast refund.

As soon as I get the refund, I'll buy the same phone again, like I was making an exchange and I'll report back if it has Widevine L1 (it should actually, because I'll buy the same I had, a Global EEA one).

I would like to thank everyone who participated in this thread, I'll put it under Solved when I'll get the new phone.
[Xiaomi Mi 9 Questions & Answers] rocalino:
thanks for the efforts

I suffer the same problem with my phone as you mention it in another thread after flash persist partition
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Update

:

I've received the new phone today, it is on the EEA ROM and I've finally got Widevine L1.

Now you can be sure that I won't install a Custom ROM for now, and especially because MIUI 11 will be released officially soon.

Again, thanks to everyone who participated to this thread, I hope that all the people who suffers from this "bug" will find a solution too, mine was to send back the phone.
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Hey everyone, I haven't forget about this thread that's for sure!

I've watched the Mi 9's custom ROM scene even if I told myself not to flash anything and I saw that now we can have Widevine L1 on some custom ROM (for example : Xiaomi.eu and Revolution OS)

I think we have the beginning if not the solution for this common issue

Maybe it is possible to enable or "force" the Widevine certification somehow

If we take the case of the Poco F1, they managed to push the Widevine keys via an OTA update

And now, some custom development teams manage to get the certification on a custom OS which also means that they managed to enable Widevine L1 on a Chinese based ROM

I have more faith in believing that the problem is not a hardware one but more like a software one, we just have to figure what we have to change in the software to make the phone uses the DRM as it should be

Although I remember that before sending back my old Mi 9, I tried the Xiaomi.eu build 9.8.29 which is supposed to enable Widevine L1 but it didn't work

It didn't work for a lot of people tho, but it actually worked for some of them

Some people told me that you have to wipe cache, dalvik cache, data and system before flashing the ROM in order to enable it, but like I said it was at the very beginning of the builds, now it got some updates (9.9.6) and maybe it works better than a few days ago

If anyone wants to get Widevine on a custom ROM, then you just have to install the latest Xiaomi.eu build or the latest Revolution OS build, both supports Widevine L1 as I know

If you want to get Widevine L1 on the stock ROM, maybe flashing one of those two ROM in order to get Widevine, then flashing back the stock one could help for having Widevine L1 on stock ROM and if someone does try this solution, could you please report back?

Edit : by the way we still have a few options that I haven't tried like paying someone with an account that is allowed to do EDL flashes in order to completely reflash the phone to make it the most "factory new" as possible, if it's software related, doing an EDL flash could fix the issue because it's flashing every partitions at a lower level than the flash that we, the users, can make using Mi Flash

I don't know how you can get the authorization to flash EDL things onto the phone, I think it's even impossible for us to get it, and I heard that only Xiaomi employees (or tech people related to Xiaomi) or some service shops got those accounts

I heard that you need a specific EDL ROM to do a EDL flash but I couldn't find any EDL ROM on the internet, maybe they are private?
[Xiaomi Mi 9 Questions & Answers] rocalino:
I have an authorized MI account but I don't know how to change the phone to EDL mode.

Coming weeks will be busy but we could do some tests if you can.

:good:
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
If I remember correctly, you have to type a fastboot command in order to go into the EDL mode via adb like "fastboot reboot EDL"

And I'm okay with doing some tests!
[Xiaomi Mi 9 Questions & Answers] qwijibo1:
Following this one.

I have a global 9T with exactly the same problem after installing EU.

I did have to flash the persist partition after reverting to global as I had the corrupt find me device error.

I'm wondering if flashing persist has caused this as I've tried everything. Old firmware, locking bootloader etc. Nothing seems to give that L1 certificate back.
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
I still don't know if the problem comes from the persist partition or by the phone being unlocked

I remember that I backed up my persist partition with TWRP before flashing anything and I already tried to restore the exact backup I've created but it changed nothing
[Xiaomi Mi 9 Questions & Answers] qwijibo1:
I'm assuing the persist partition contains the certification key and is device specific. Reflashing the backup didn't help me either though.

I reflashed from EDL mode with an authorised account and this didn't work.

I've emailed xiaomi and they refuse to help.

I rarely watch Netflix on mobile anyway so not a huge issue, just a pain the feature has been lost.
[Xiaomi Mi 9 Questions & Answers] apoklyps3:
Will unlocking bootloader and root, but not flash unofficial rom downgrade wedevine?
[Xiaomi Mi 9 Questions & Answers] toscha42:
Nope. My Mi 9 is rooted with open bootloader and running under Xiaomi.EU (9.9.6). Widevine level is 1, see attached.
[Xiaomi Mi 9 Questions & Answers] fossiltkm:
That's because Widevine L1 was recently added to version 9.9.6.
[Xiaomi Mi 9 Questions & Answers] apoklyps3:
I wasn't even planning on flashing custom tom. Just keep stock with root.
[Xiaomi Mi 9 Questions & Answers] fossiltkm:
Unlocking the bootloader will break Widevine L1, to answer your original question.
[Xiaomi Mi 9 Questions & Answers] apoklyps3:
I see, I'd have to flash xiaomi.eu to regain it.

well that's not good
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
I just opened the persist.img file with a Linux Reader (because the .img is using Ext4 filesystem I guess) and I found two folders : one called lost+found and the other one called sensors

I don't know if there are some files I can't recover

I uploaded the few files I could recover into my Google Drive, you can check what's inside the .img here
[Xiaomi Mi 9 Questions & Answers] qwijibo1:
Doesn't appear to be anything in there relating to widevine keys.

Are you rooted on your new device? Can you look inside the persist folder in root and see if there's anything related to widevine?
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
Unfortunately I'm not rooted, I'll try to ask to someone with a rooted phone to do so
[Xiaomi Mi 9 Questions & Answers] usuppue:
I've the same problem with my mi9t. I had to flash persist.img too and I lost L1. Is it possible open persist file from twrp backup and looking if there is some certificate?
[Xiaomi Mi 9 Questions & Answers] _Nexus8_:
I just checked, there is a lot of folders (as you can see in attachement #1), and there is one called "data" which contains a folder called "SecurityAuth" (check attachement #2) but unfortunately, this folder is emtpy
[Xiaomi Mi 9 Questions & Answers] Sukhi:
Maybe someone who hasn't messed up till now can check this SecurityAuth folder if it holds any key. Xiaomi really messed up things. Why in the first place did the sensors break. If the sensors wouldn't have broken, there wouldn't have been any need to flash persist. I own a K20P and i am also in the same league. On a per day basis, i see 4-5 people loosing L1 on account of flashing persist in the TG Chat. The numbers could even be more. The SC don't even have a clue of what L1 is and they won't even take a Mobo replacement request, because as per them, the Mobo is just working fine [emoji3][emoji3][emoji3]
[Xiaomi Mi 9 Questions & Answers] chicoraf:
I'm on the same boat. Just to add some info, my Mi9 was on MIUI.EU 9.8.29, unlocked bootloader and still getting L1. After flashing global stable 10.2.13 via fastboot, my sensors were broken, but before I flash persist, I cheked widevine and it was already L3, so I think it's unrelated with persist partition.

Thanks for all the info, hoping for a solution!
[Xiaomi Mi 9 Questions & Answers] eseub:
Hello guys

I have this phone for almost a month and I have flashed multiple roms and AOSP gsi(I never loked widevine status on those..). Once I was back to stock I never had any problem, until today so this is what happened to me:

Today I was in stock EEA 11.0.5.0 with L1 and everything working perfectly so I don't know why I decided to flash the persist.img that comes with the fastboot file, I guess I flashed to undo any changes made by some previous ROMs. By chance just before flashing it, I came across this post and I loked the widevine status, it was L1.

So I flashed mauronofrio twrp, mounted the / Persist partition and flashed persist.img. I didn't realize it at that moment, but that was when my nightmare began :D

When the stock rom booted the first thing I did was look the widevine status, aaaaand it was L3... I swear God that I have tried everything to get L1 again, I have flashed multiple roms, dd copy Persistbak(sda24 I think) partition to Persist(sda23?), tried with global rom, xiaomi.eu, global EEA, format system, format data, erase vendor, persist, cache, dalvik and so on

At this point it is saturday 11:24pm and I think I should be doing something else

So this is was my case, I think I have 3 to 4 days to send it back to amazon due to "technical problems"
[Xiaomi Mi 9 Questions & Answers] Khyllion:
Weird... On one side, a lot of people lost it when flashed persist image... On the other side, no one was able to find any file related to Widevine certificates in this partition...

In my case I never had any issue with sensors and never had to flash manually the persist partition and lost L1 as many people... But of course this image is included in rom packages, I don't know if it's flashed or not during a standard flashing process (fastboot and from TWRP)

Would love to get back to L1.... Some people are getting it on xiaomi.eu but last versions I tried I was on L3 (the 2 or 3 first MIUI11 versions)
[Xiaomi Mi 9 Questions & Answers] zoltan78:
On Mi Community someone wrote that first should be flash a rom with android 9 by Miflash. There is no problem with error at the end of Flashing, after that update to android 10.

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 Questions & Answers] Ellcid01:
Can u share the link?
[Android Apps and Games] sreekar1998:
What is your Biggest problem regarding Android Games and what difference would it make in your gaming experience if you could get a solution for your mentioned problem?
[Android Apps and Games] Deleted member 1890170:
With regards to phone used: if game's minimal system requirements are met you shouldn't have any problems with it, IMHO.
[Xiaomi Mi 8 Questions & Answers] RedGyuf:
Hi I would like to ask some help.

I used xiaomi.eu dev for a long time, but later on the GPS for Waze on AndroidAuto was rubbish.

Can You tell me a ROM which has working

AndroidAuto,

NFC payment,

and good battery Time.

I tried HavocOS but battery drain is more Than 1%/H
[Xiaomi Redmi Note 7 Themes, Apps, and Mods] Josegames all:
Hi everibody! I made my own splash logo and I want to share it with you (lavender). Hope you'll enjoy it! :D

Splash English

Splash Spanish

Thanks to [MENTION=9781163]curoviyxru[/MENTION] for making the splash logo editor ^^
[Xiaomi Redmi Note 7 Themes, Apps, and Mods] AllesMega:
https://xdaforums.com/showpost.php?p=80043992&postcount=12

Hi - you can make a flashable img.file PLS ?!?
[Xiaomi Redmi Note 7 Themes, Apps, and Mods] Josegames all:
I can't do it because redmi.bmp it's 7MB, max it's 6MB more less...

If you did it with photoshop please give .psd file or modify redmi.bmp
[Xiaomi Redmi Note 7 Themes, Apps, and Mods] AllesMega:
Hope JPG is ok ...
[Xiaomi Redmi Note 7 Themes, Apps, and Mods] Josegames all:
No, you need .bmp file, redmi and redmi_unlocked are more than 6MB, change it and you can do a splash logo
[Xiaomi Redmi Note 7 Themes, Apps, and Mods] enzeruh:
Found a splash screen and bootloader for PE users. This is for whyred but working on lavender. It a simple Google white one.

PS: Dont know who made it. Look on this link.

https://xdaforums.com/attachment.php?attachmentid=4798629&d=1564358072
[Xiaomi Redmi Note 7 Themes, Apps, and Mods] hajik2029:
Any black version?
[Xiaomi Redmi Note 7 Themes, Apps, and Mods] enzeruh:
I think i saw one but it is for rn6...try to look on their forums. You could reflash the stock REDMI logo if it turns black.
[Xiaomi Redmi Note 7 Themes, Apps, and Mods] X-ME:
does bootloder work in your splash ?
[Xiaomi Redmi Note 7 Themes, Apps, and Mods] Josegames all:
It just changes Splash, if you unlock bootloader it will be unlocked, with or without splash screen changed.

I think you need unlocked bootloader to flash this.

Enviado desde mi RMX1971 mediante Tapatalk
[ZTE Axon 7 Questions & Answers] Athiril:
I followed the easy universal unbrick guide... it bricked my phone hard and sayd xbl.elf not found (even though it was).

I had to short the contact point to flash B10 again, now I can get into EDL without shorting the point, no display on the screen, a buzz and red light and appears to reboot over and over (blank screen).

EDL Tool does not work, anything I do it will error out saying Sahara mode. MiFlash can flash the phone, but B10 Nougat Full EDL package doesnt boot the phone properly.

What EDL package can I use? I want to unlock bootloader and root as well.

Edit: I've also downloaded ZTE_A2017GV1.2.0B06_FULL_EDL_PACKAGE_BY_TURKDEVS and its also doing the same thing as above after flashing with MiFlash in EDL mode.