yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] Silverdace:
?? doesn't work just flashing DRM mod. You have to go through and flash the FTFs first.

---------- Post added at 04:11 PM ---------- Previous post was at 04:09 PM ----------

I think this one works

http://xdaforums.com/showpost.php?p=56046548&postcount=2

23.1.A.0.726 - Unbranded - Ukraine (1289-0537)
[Sony Cross-Device General] chung06107014:
My phone (Z3 T-mobile D6616) lose Drm key before I bought it. I want to fix drm key to get features of Sony but it require Kernel which I cant find for Z3 tmobile.

please help me
[Sony Cross-Device General] shoey63:
Don't T-mobile devices have an unlockable bootloader? In that case you don't need DRM restore. Bootloader must still be locked, and therefore DRM keys intact ;)
[Sony Cross-Device General] chung06107014:
Thank for your answer. But my phone unlocked bootloader and lose DRM key. (MARLIN, CKB and WIDEVINE are [unknown error])
[Sony Cross-Device General] itsnie:
To check your bootloader status, make sure you're type *#*#7378423#*#* then tap service info > configuration > see your bootloader status here, i have already unlock my bootloader, so my status is "bootloader unlock: yes"
[Sony Cross-Device General] chung06107014:
I definitely don't care about bootloader (lock or unlock) but some great features from Sony are important and I just want to take back these features (the camera is very bad in the dark environment)

Help me. Please!

And also my phone is unknown in the rooting status line.
[Sony Cross-Device General] itsnie:
With unknow status from bootloader, i'm not sure if your bootloader are unlocked, also xperia phone from carrier have unlockable bootloader that means users can't unlock their bootloader ..

But did you have try to flash custom kernel ?

If boot (not softbrick), your phone is already unlocked ..
[Sony Cross-Device General] Allek84:
Which version of software do you have?

Like I wrote,to restore original Sony functions like a crisp images and X reallity engine is enought to have rooted phone and from recovery to flash DRM Restoration file for Z2 from 1st post of this thread.

And from picture who you post mean thant you are unlock bootloader.

I also unlock BL and restored Sony functions like I wrote.

Послато са D6503 уз помоћ Тапатока
[Sony Cross-Device General] kos25k:
So again and again we always come to the same question.Does original unique DRM keys have to do with the camera quality?And also this zip it is said that restores the camera functionality. (like we never unlocked our bootloader) So if this occurs...DRM original unique keys that are totally lost,aren't necessary for BIONZ etc!(this zip restores them) So why are them usefull for?Guys i am not an expert also not an idiot..but this all situation is like a funny labyrinth!!!Maybe the best solution is for the developers of this zip to write again in OP some more details of how this fix works and what works! :) This confusion(if it works or not) i think it must stop! So i think at first someone please make it us clear what to except from this mod and then all of us to help eachother on how to install this! :)
[Sony Cross-Device General] Allek84:
Like I said,this mode restore camera quality(Bionz tehnology)

I dont know exactly why do somebody need original Drm keys if he only want to restore camera quailty like as with unlocked bootloader.

Again,for all these that I wrote now its only need to flash Drm restoration file from recovery and you will get original sony settings for camera.

I gues that konw is clear ;)

P.S. This mode works for until firmwares kit kat and lolipop.Does he works on android 6 we dont know yet.

Cheers!

Послато са C6603 уз помоћ Тапатока
[Sony Cross-Device General] kos25k:
i wish so! i know that some will say now again the opposite, but now i will stick with this is more good for me! ???
[Sony Cross-Device General] _mysiak_:
There is no question whether this mod works. It works if done

properly

. It does not restore DRM keys, only modifies DRM key management - I don't know how exactly and most probably no one knows for 100%, from my understanding there was a bug in one of the ROM versions which is being used. Without fix, camera has terrible low light quality and image enhancement doesn't work. Fix restores these features. It has been written and confirmed many times already and instructions are very clear. No need to do it again.
[Sony Cross-Device General] chung06107014:
No. I dont want to have original DRM key, just restoring DRM key function. I try to restore DRM key function following the guide in the first paper but it requires advanced stock Kernel Z3. Unfortunately, Advanced stock Kernel Z3 dont support for Z3 D6616.
[Sony Cross-Device General] Allek84:
Do you have rooted phone?

You dont need adv stock kernel,just download Drm restoration file for Z3 and flash from recovery.

The only thing is if that mod dont support all versions of Z3 but I think that isnt that.

Послато са C6603 уз помоћ Тапатока
[Sony Cross-Device General] chung06107014:
Thank. I will try to flash it from recovery.
[Sony Cross-Device General] Allek84:
Welcome.

You will see diffeesnts on taked pictures,mostly on taken in low light condition.

Remember,every time when flash new rom you must flash that file,cause with flashing delete everything from phone.

I use that mode on Z2 D6503 and I did must flash that file tonigt after flashed new Pure X rom. ;)

Послато са SM-G901F уз помоћ Тапатока
[Sony Cross-Device General] chung06107014:
I just flash DRM key function on my phone and there is not change (my phone (D6616) was bootloader unlock: yes). I so tired to try many ways. I think it come from my phone (T-mobile).
[Sony Cross-Device General] Allek84:
DRM Restoration file restore camera quality settings.He cant unlock your bootloader.

For unlocking bootloader use flashtool.

Послато са D6503 уз помоћ Тапатока
[Sony Cross-Device General] chung06107014:
I would like to confirm that Advanced stock Kernel Z3 dont support for Z3 D6616. I just restored followed the guide using boot.img in the Advanced stock Kernel Z3 after all, I reset my phone, my phone was bootloop. And it is very hot
[Sony Cross-Device General] Cirra92:
I need a few answers. I have rooted my phone using KingRoot back on 5.0.2 in June, so my bootloader is still LOCKED. I want to unlock it and flash AndroPlus kernel and this DRM zip, can it be done by:

1. Unlocking bootloader through Flashtool;

2. Booting to recovery to flash kernel (or flash it via Flashtool);

3. Rebooting to recovery to flash DRM zip;

WITHOUT having to flash any other .ftf since I don't need to relock bootloader?

I have read that unlocking the bootloader will wipe my data, even my entire internal, but that's not an issue.
[Sony Cross-Device General] luiis_104:
First of all see thathttp://xdaforums.com/showthread.php?t=2292598 before you unlock the bootloader and safe it the TA somewhere safe memory card. ;)

Then unlock your bootloader and do whatever you say.

Waiting for results. :rolleyes:

Sent from my D6503
[Sony Cross-Device General] Cirra92:
I have done that months ago, TA is backed up, and its safe :) I just want to know if I can directly unlock bootloader and go with the kernel and DRM flashing, from this position, without additional ROM flashing.

Anyway, will post results as soon as I get it to work :)
[Sony Cross-Device General] luiis_104:
Yes you can try it and post you results :thumbup:

Sent from my D6503
[Sony Cross-Device General] _mysiak_:
AndroPlus kernel is nice, but IMHO not worth the trouble with unlocking, reflashing etc. I always return to stock kernel anyway :)
[Sony Cross-Device General] WieserZ1C:
maybe it can be done by backing up the Ta partition in TWRP but I'm not sure about it. I'm sure the black can be closed and reopened by cust recovery, but I can't remember is I flashed an AND 4 TFT. But I'm pretty sure you will find the answer via searching the Sony forums ( especially the Sony cross device within seconds.
[Sony Cross-Device General] Cirra92:
Well, I had to try once, since I'm curious and it's bugging me until I try it myself :)

Anyway, I have done it exactly as planned, just unlocked bootloader via Flashtool and rebooted to recovery to flash kernel and DRM fix. Can confirm that camera noise reduction is working, and low light pictures seem good, however, I do think that there is slight difference in picture sharpness (if not overall detail quality, but that's minor difference). On LOCKED BL with TA in place, notorious Sony's over-sharpening was all over the place, now the pictures are softer, which isn't necessarily bad, it's just... Different.

All in all, for now results are okay :)

P.S. Front camera is almost useless in poorly lit environment, noise reduction does not kick in.
[Sony Cross-Device General] maninder singh bali:
Can the over sharpning in camera brought back like orignal drm keys...? The images are softer...
[Sony Cross-Device General] Gustavo RD78:
could someone tell me if this mod works on Xperia Z4/Z3+?

Edit:

ANNOUNCEMENT:

>To Xperia Z4(aka Z3+) and upper devices: The DRM restore will be not able to restore the function on these devices due to the devices does not have 4.4(or earlier) android ROM which has the "hole" to made a trick to restore the function without relock the BL, if you unlocked your bootloader (Z3+ +devices), you can also try the mod will work or not or you can get your way to revive the function as EXR team can't find the way to restore it.

>To other Xperia devices(non Z series devices): you can try the mod by backup your ROM and try the mod will work or not, if you find the way to restore, reply or PM to me and I will credit you to the OP also the big thanks will be given
[Sony Cross-Device General] Cirra92:
Alright guys, I'll have to recall what I said about DRM fix working. Apparently it's not working, as both X-Reality and Super-vivid do not make a difference (I did not have Image enhancer app when I reported the other day). When I tested the camera at first, it did look like noise reduction done its job, but later it just refused to work (if it actually did work at all). I've now just done everything using the method in OP (flashing KK with TA files) and flashing Wajk's ROM (I suppose that it doesn't have TA, so I should have KK ones) and right away DRM fix, and no luck.

I am not sure why it doesn't work, I'll wait for Wajks response, to see whether he excluded TA when making his ROM or not.
[Sony Cross-Device General] Allek84:
This procedure works at my phone,and its enough just part that after every hard reset on installin new rom must be flashed Drm Restoration file for your device and original Sony functions works even I do not use my original drm keyes

How much time I must to explain? ;)
[Sony Cross-Device General] Cirra92:
Dude, I completely understand, it was highlighted that it must be flashed every time you flash a new ROM, I've done that, no luck :) I am tired of flashing and restoring etc, so I'll go with this setup, and will try again sometimes :)
[Sony Cross-Device General] polar_bay:
This is a question to any who knows the insights of this partial DRM restoration patch; Do you guys think is it possible in the future to have this patch for the Z5c or is there some technical constrain that prevents it from ever happening in the Z5?
[Sony Cross-Device General] lorddm:
I also join previous post and want to ask someone dared to use a patch for Z3c but on Z5c? This might work?
[Sony Cross-Device General] -Happy Feet-:
Hello, I'm currently on 23.4.A.1.232 based Custom ROM with locked Bootloader.

Now I think about flashing an custom Android M Kernel to use the Sony concept rom to have root on it.

Must I go back to any Android 4.4.4 rom to open the bootloader and flash these Mod to restore the drm functionality?

Gesendet von meinem D6603 mit Tapatalk
[Sony Cross-Device General] Allek84:
No,you.may unlock BL on lolipop either.After you flashed everything you want,flash Drm Restorstion File and you get back original Sony settings for camera.

Послато са D6503 уз помоћ Тапатока
[Sony Cross-Device General] lorddm:
Anybody have information about the patch for the Z5 / Z5 compact?

Any information?
[Sony Cross-Device General] -Happy Feet-:
Then I try it with this rom I already use.

Gesendet von meinem D6603 mit Tapatalk
[Sony Cross-Device General] Tilman:
I use a Xperia Z1 and I'm on Rock Z1L rom with Rock Z1L kernel, for me the camera works well, the super vivid engine for photos works well but while watching videos it doesn't work! Only for videos, isn't it just too strange, I've got a friend's Z1(locked bootloader) and I compared video quality and mine X-Reality didn't work on videos for photos it works well.
[Sony Cross-Device General] zohaib0001:
[MENTION=4699816]jimRnor[/MENTION]

Can you make this mod for Xperia Z5 family also ??? Please
[Sony Cross-Device General] Z23:
Not possible, because only in old roms you find the nessessary security issue which makes this mod work. Z5 series has no older roms!
[Sony Cross-Device General] Allek84:
What should be when android 6 come?Did they Drm restore files from lollipop works on android Masrshmallow or what?

Послато са C6603 уз помоћ Тапатока
[Sony Cross-Device General] insanedrunk:
Do I have to do the whole process over if I forget to flash the restoration mod after flashing a new rom, or update to rom? I'm going to try thus when I get free time, it's been in my to do list, just haven't had the time to download the old tft. Thanks in advance
[Sony Cross-Device General] luiis_104:
I will try now on new 23.4.A.1.264 [MENTION=4699816]jimRnor[/MENTION] and post results later ;)

And here it is!!!

https://www.youtube.com/watch?app=desktop&persist_app=1&v=AVLTqsVyNdE

Sent from my D6503
[Sony Cross-Device General] tetsuo55:
Hello [MENTION=4699816]jimRnor[/MENTION] and everyone else involved.

I have been trying to get this working reliably as i intend to do this on a couple of Xperia Z series phones.

I wonder if i can take the required files from a kitkat FTF and put them into a lollopop FTF, this making it easier to keep everything updated when flashing through flashtool but still having the old style TA partition.

This bring me to the question:

Which files in the TFT are exactly responsible for for the exploit needed to run this mod?

the newer versions of flashtool no longer have the TA checkbox and none of the TFT files i found have got all the options mentioned in the OP (like wiping DATA option)

I also wonder if that first boot after re-unlocking has to be a kitkat firmware or not.

TL: DR:

1. Which files in the kitkat FTF are responsible for this mod?

2. Do i need to boot kitkat the first time? or can it be any android version

3. Can i mix and match several files from different TFT's (for the same model) and flash that safely?
[Sony Cross-Device General] LKS007:
all worked fine but at the end after all finished up the wifi isnt working

had to revert backto lolipop

z3 d6653
[Sony Cross-Device General] GoldPunch:
It didn't work on latest .264 firmware with Existenz 6.0 Premium. My device is Xperia Z2
[Sony Cross-Device General] adamgraver:
Anyone got a link for z2 D6503 17.1.A.2.69? :(
[Sony Cross-Device General] GoldPunch:
Hi.

1- I locked bootloader.

2- I flashed .69 firmware

3- I unlocked bootloader

Now I want to flash .690 firmware with exclude TA but there is no exclude TA options on my flashtool. How can I continue?

Edit: I guess Mine .69 fw has no include TA partition. I want to download via xperifirm but I cant find 17.1.A.2.69. Because it is very old fw.
[Sony Cross-Device General] adamgraver:
I found the firmware. Does that mean if I flash 17.1.A.2.69 firmware and stay there, the DRM functions have returned?
[Sony Cross-Device General] jimRnor:
To ALL DRM mod users:

Thanks for the support to this mod again, to made the mod better and more simple to newbies, we will releases a all new and simple way to made the DRM mod working better. Please read some notes below it.

1)the new version will release within 96hrs as i gotta work and not have much time to write the script

2)the new version will just take a 3 wipe and a flash to work, no need to do the such difficult thing like before(like flash old ftf,un&re lock bootloader several times)

3)the support to Z3+ devices may still not support now as the mod doesn't support to 64bit chipset, but we are still fixing and made it available to these devices.

4)after the new version release, the main researching team EXR required some donations to support them as they do the mod with a couple of risks to hard brick their devices, so if you can made a donations to support them, they will be happy and gain more power to made the mod better, you can made the donation to my PayPal and made a mention to this mod and I will transfer the donations to them, thanks for your support and understanding :)

Hope you have a great experience with the mod

jimRnor
[Sony Cross-Device General] GoldPunch:
Will ıt for new users? I mean should we update this version?
[Sony Cross-Device General] Entropy512:
Yeah, there's more at play than DRM keys there. The honest truth is - the lack of NR wasn't that bad on my Z3 when I was on vacation two months ago. Some people actually prefer it with it off as the Z3's NR is kind of known for destroying detail. Similarly, the Z3 autofocus was always horribly inconsistent even on stock... Sometimes it would work great,s ometimes it would catastrophically fail.

In that case it looks like something caused it to overexpose the first picture, which will result in it being washed out and noisier.
[Sony Cross-Device General] andreimindru96:
I am still waiting for that new version. You said around 96 hours, I am so excited! I hope this one will work! Hope there is a version for kitkat too!
[Sony Cross-Device General] mousse04:
The "old" version works fine ...

Anyway, one question :why is it needed to flash the mod before letting the rom to boot?
[Sony Cross-Device General] andreimindru96:
I've got some problems with BL relocking so I think that's why it doesn't work for me, that's why I am so excited about the next release, in the changelog the dev mentioned that BL relock is not necessary anymore. I am refreshing this page every 2-3 hours, hoping to see it.
[Sony Cross-Device General] andreimindru96:
Checking in! Nothing yet... Hope it gets released soon!
[Sony Cross-Device General] jimRnor:
The New Version with the new way to active the DRM function mod has

uploaded!

Thanks for the support from you guys, and we are happy to release the new version,

This version made the flashing method more easily and more smaller size( approx >1MB)

Welcome to made report and suggest anytime :)

jimRnor
[Sony Cross-Device General] Radelos:
i have some questions here. Is the factory reset ment to be only because you wanto make sure you wont be stuck in bootloop or for some other reason too? Will i see the changes if i dont F-Reset?

I am an z1 Compact user with the 8th Edition - Camera Mod so it should work with this mod too, or etc any camera i install in my phone?

Firt thing i record after instalation..... i got reminders about new sony app updates which didnt pop up before at all so i gues the patching was succesfull and it should also afect the camera, corect me if am wrong or if i did it wrong pls
[Sony Cross-Device General] andreimindru96:
Thank you so much! Getting right on it. I'll come back with the results in half an hour or so!

---------- Post added at 11:12 PM ---------- Previous post was at 10:35 PM ----------

Back! X-Reallity working, NR working, TrackID working, pictures looking sharper than ever now! Sadly the front facing camera is just weak and make stupid photos in low-light but the back one is better than ever! Also, it may be just me here but the sound from main speaker is actually clearer and a lil bit more powerful. Thank you so much!
[Sony Cross-Device General] Cirra92:
I am here to confirm that the new method works for me! Finally I have all the goodies back, image enhancement is working perfect, as well as noise reduction on both front and back cameras :D

Great job people :good:
[Sony Cross-Device General] Radelos:
How did you recognize a changed, or what is the easiest way to see it??? am bit confuzed if its working or not for me
[Sony Cross-Device General] Cirra92:
If you have X-reality in display settings enable it and check any picutre taken by your camera in album, you should see noticeable difference in colors.
[Sony Cross-Device General] vidge1111:
Easiest way would be to open up a picture in the sony album app, then change the image enhancement setting from no enhancement to vivid, then go back to your photo and see if it changed color.
[Sony Cross-Device General] Radelos:
It seems it doesn't work for me i cannot see any visible changes in front camera or after turning on x reality also missing option to turn vivid mode on, on my z1 compact. Is it working on android 5.1.1? All am i missing something else
[Sony Cross-Device General] Frunzdoedel:
Did you make a factory reset? ?
[Sony Cross-Device General] lorddm:
Hi a "new method" will be working on Z5compact?
[Sony Cross-Device General] Haldi4803:
Don't really feel like factory reset right now :(

I'll try the mod later. Great that it's only a flashable zip now.
[Sony Cross-Device General] glehel:
Thank to you and this Team is awesome job!

It has always been my desire to factory rom a modified kernel, so that we can use the advantages of the DRM function.

Now it has come true. Advanced V16 kernel works well and all the DRM function 100% working!

The phone in the rooting status: unknown (this is it okay?)
[Sony Cross-Device General] Radelos:
Yes i have try with and without Factory reset, maybe with customized camera and roms you cant see mutch differenc on taken photos on z1compact, idk there was a mention about z2 having the NC function on camera and the X-Reality does not seem to do so mutch in my eye. But i think it should work cause right after flash i got a lot of notification from sony apps that there are new updates and i also seen a speed up in system which surprized me bit...

This i waned to ask too, after patching i dont see root or bootloader status in service menu, only unknown
[Sony Cross-Device General] arjun.arora:
Hi, I tried it on my Z5P. I didn't face any bootloop issues but its not working. Will you be developing it for the Z5 series too. Thanks. I'll donate 50 bucks if it restores the functions I've lost.
[Sony Cross-Device General] lorddm:
Sorry but what about Z5 series (Z5compact like me) with unlocked bootloader and (of course) lost TA and DRM?
[Sony Cross-Device General] tetsuo55:
So does this mean we no longer require the kitkat TA structure?
[Sony Cross-Device General] okij:
[MENTION=4699816]jimRnor[/MENTION]: First of all, thanks a lot for your great work! :)

I didn't have to use it yet, since I'm still on LB under Lollipop (rooted) on my Z3c.

However, I'm planning to update to Marshmallow once the final version is released by Sony and of course then I want to have root again. So it's rather likely that I will have to unlock my bootloader then.

Therefore I'd like to ask if your new version might already work under Marshmallow?

Is there anyone using the Marshmallow concept ROM who already tried it?
[Sony Cross-Device General] Klaus N.:
If you'd unlock your bootloader now (5.1.1), do the mod, and after that you are free to flash an prerooted mm firmware in the future; the flash of a prerooted fw doesn't change the ta partition, therefore you will not have to do the mod again.
[Sony Cross-Device General] jassalmithu:
There's no way to make prerooted firmware for MM, currently we have to flash the ftf, update it, unlock BL, and then flash recovery and root. So, if there's a zip that can be flashed from within MM, that would be great
[Sony Cross-Device General] kos25k:
Does this work also with kitkat?In OP i see just one version.
[Sony Cross-Device General] Ger$$on:
How can i make this new version work with a Nandroid backup via TWRP? Z1C 5.1.1

or it only works before flash a new Rom/Prerooted FW?
[Sony Cross-Device General] Cirra92:
My guess is that it should work, since there are only 2 files to be replaced/added (someone correct me if I'm wrong), and they are in same place as they were in KitKat (at least they should be). Try it :)