yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] jimRnor:
To All Lolipop users(not sure the Custom ROM users but you can give a try) After a few days of develop to let the mod work on LP, Team EXR & YKG has released their latest version to let ALL STOCK LOLIPOP users to gain their DRM features back.Please download it and give a feedback here;)

Once Again, Thanks for your support!

Additional# Sorry for the testers that I was recruited yesterday, because I don't know the EXR does their research as the first day of LP released and give me the result today.So Sorry If I let you feel bad :(

Additional2# Some people may have a question that how to let the mod work on lolipop, that was easy, just DO all the things that you do at KitKat rom, the difference of it was just need to flash the mod zip in Lolipop version, not kitkat

Means, if you are KK users, follow all the instruc at OP and flash the Kitkat version zip.

AND, if you are LP users, follow all the instruc at OP and flash the Lolipop Version zip.
[Sony Cross-Device General] marceldossantos91:
Wow that was fast, thanks!!!

---------- Post added at 10:21 AM ---------- Previous post was at 09:55 AM ----------

Confirmed working on Lollipop perfectly, no FC, bionz and xreality works xD
[Sony Cross-Device General] boilavera1980:
This is great. So my steps would be:

Flash Rootable ftf

Lock/Unlock while flashing .77

Flash Lollipop.zip

Flash Lollipop

Going to try right now!
[Sony Cross-Device General] jimRnor:
little edit:

flash lolipop

flash lolipop.zip

xD
[Sony Cross-Device General] moritz-mobile:
how do you

"flash lollipop" and

"flash lollipop zip" afterwards

afaik there is no rooted kernel with recovery (at least for Z3) right now that will boot .

am I missing something and if so can s.o. please give a little hint or link for me to understamd what you did?

thanks!
[Sony Cross-Device General] jimRnor:
oh sorry to that because I forgot Z3 LP doesn't get their kernel rec atm :P

you can actually do the things that you said, my wrong :P
[Sony Cross-Device General] Nummer35:
Can you please explain the exact steps to follow?!
[Sony Cross-Device General] boilavera1980:
hmmm ... didnt work for me i dont now why..hmm

I flashed the old fw to root.

relocked, flashed 77

booted one time

unlocked

flashed prerooted lollipop

flashed nuts kernel to get r/w access to system

flashed drm fix

this should work right? when i want to start over do i need to root every time again on the old firmware or not?
[Sony Cross-Device General] marceldossantos91:
Keep in mind L is bugged with recovery (on my z3 anyway) atm. So the only method i found effective is all i done is flashed FTF, relocked BL, flashed ftf again, unlocked BL, fastbooted androplus kernel so i could get twrp back, then used twrp - installed DRM, but when you reboot you will be stuck at sony logo, gone to download NUT's advanced stock kernel for LP, fastbooted that back, and then everything booted with drm ;)

---------- Post added at 12:55 PM ---------- Previous post was at 12:51 PM ----------

Try my steps i posted, see if you have success..
[Sony Cross-Device General] jimRnor:
remove
[Sony Cross-Device General] boilavera1980:
Okay tried something now will see if this works if not then im gong to do this:

Flash .77 , relock

Flash .77 Unlock

Flash prerooted Lollipop via twrp

Flash DRM

And then Nuts kernel to get RW access to system ...

Now i didnt do the kernel step.

Edit:

Okay what i did worked fine. DRM fix is working and got nut kernel for r/w system access
[Sony Cross-Device General] shafiq01:
Flashtool:

relock BL

flash LP.ftf with the TA

unlock BL

Fastboot:

fastboot androplus kernel v19 boot.img (contains phils, twrp and cwm)

Recovey:

flash the prereoorted LP.zip

wipe dalvik

flash xzdr kernel.zip

wipe dalvik

flash xposed.zip

wipe dalvik

flash the drm fix

reboot

(perhaps before rebooting, do a nandriod backup, which can be used again and again until NUT fixes the recovery)

then you can play around and allways fastboot androplus kernel and restre backup and flash drm fix, wuhuuu!
[Sony Cross-Device General] marceldossantos91:
Lol suppose thats easier ;) should also work..
[Sony Cross-Device General] Nummer35:
Which kernel can i use with my z3c?
[Sony Cross-Device General] boilavera1980:
Yepp did work on my part. System Access, root, unlocked and drm wokring its great! now we need a custom kernel for lollipop!
[Sony Cross-Device General] Nummer35:
Where can i get the xzdr.kernel for the z3compact?
[Sony Cross-Device General] marceldossantos91:
Itll happen once kernel source gets released. AndroPlus looks like his gonna support LP ;)
[Sony Cross-Device General] rodritank:
You guys are fast, so the camera is working good now?

How about remote play?
[Sony Cross-Device General] Red-code:
I have a queztion

I've been unlocked my bl by entring my imei in sony's web site but i did't enter last number of my imei

should i relock it with imei with no last number or complete imei?
[Sony Cross-Device General] veimus:
For me its work, do like in OP post and you will be fine :)

in the last stage i`m used AndroPlus kernel for TWRP recovery to flash DRM Mod and SuperSU, then i flashed stock kernel and reboot

Here is some sample photo, Bionz is working in my opinion, night portret, 15MP
[Sony Cross-Device General] drophex:
Oh my dear this is great :o

On monday I flashed one of the first ftf images available. I was playing around, thinking I was bound to reinstall everything as soon as DRM patch and root will be available.

I had my nand backups an everything. But I was waiting. Good decision. You guys are really fast :highfive:

Even better: I did NOT "close boatloader / flash / open bl / flash" like on KK. I simply flashed the drm.zip onto the present system and cleared the cache.

AND IT WORKS :fingers-crossed: :o:o No need to new install the whole system or deleting any data :)

Works: Bionz NR (camera), X-Reality (Album app)

Oh almost forget. I have the Z3 Compact D5803
[Sony Cross-Device General] FakeSmile:
If im on existenx 3.5.0 on xperia z with zombie kernel can i just flash the rar? And are vivid colors going to work with this?
[Sony Cross-Device General] Taftus:
Wow so it works now! Still a bit confuse how or which step to use, lots of different method. Which one is the most successfull?
[Sony Cross-Device General] moritz-mobile:
I didn't have ANY luck what so ever trying both methods: 77 and 690 FTF which is strange because I succeeded to restore DRM functionality on KitKat (77).

Just to be clear on every step:

-----FlashTool----------------------------------------------

-> Relock BL

-> Flash 690 with TA ( (downloaded via FlashTool)

-> Start/Power on - Phone until you can select your language

-> Shut down/Power off - Phone

-> Unlock BL

-----Fastboot-----------------------------------------------

-> Flash Anroplus Kernel v19 (can be found under "Older Downloads" in AndroPlus Thread Process: Unzip and flash boot.img via

[COLOR="Black"]fastboot flash boot boot.img[/COLOR]

--------------------------------------------------------------

-> reboot to recovery (VolUP/VolDOWN method)

-----TWRP--------------------------------------------------

-> flash Flashable stock 23.1.A.0.690 (5.0.2) pre-rooted with XZ dualrecovery.zip is this the correct one? I chose Nordic

-> flash NUT's Advanced stock Kernel XZDUAL Recovery KERNEL -> choose model -> 690 build

-> flash DRM Funktion Restore.zip

-> reboot phone

This is an updated version of the flashing process that you can follow. I could NOT MAKE IT WORK to the time of this writing

I did found a way to restore DRM functionality though!

Caution: This is much more time consuming and may include redundant steps but it's the only procedure that worked for me which is way I wanted to share it with you.

I started with a locked Bootloader

-----FlashTool-----------------------------------------------------------------------------------------

-> flash Lollipop .690 FTF -WITH TA Partition (downloaded and bundled with FlashTool)

-> unlock Bootloader

-> flash Lollipop .690 FTF -!!WITHOUT !! TA Partition

-----FASTBOOT----------------------------------------------------------------------------------------

-> fastboot Androplus-Kernel with TWRP

fastboot flash boot boot.img

-> Reboot to TWRP-recovery

-----TWRP-----------------------------------------------------------------------------------------------

-> Wipe -> factory reset

-----FlashTool-------------------------------------------------------------------------------------------

-> flash Lollipop FTF -Without TA Partition

-> relock Bootloader

-> flash Lollipop FTF -Without TA Partition

-> unlock Bootloader

-----FASTBOOT----------------------------------------------------------------------------------------

-> flash AndroPlus Kernel with TWRP-Recovery Again

-> reboot to TWRP

-----TWRP-----------------------------------------------------------------------------------------------

-> flash DRM_Restore.zip

Make sure the Phone stays OFF DURING THE WHOLE PROCESS!!

Also: I used the AndroPlus Kernel fixed by atis112 which can be found here

I tested all of this only on my D6603 Xperia Z3!
[Sony Cross-Device General] mitsosJL:
What happens if someone dont delete theCredentialManagerService.apk?
[Sony Cross-Device General] GoldPunch:
I didn't delete. I dont have problem. Should I delete?
[Sony Cross-Device General] elchicodelbalcon:
Still not working for me.

- Z2 D6503

- I have stock 23.0.1.A.0.167 installed from Emma

- Rooted with Doomlord Advance Kernel v7 and SU

- Applied this patch to deodex rom: http://xdaforums.com/xperia-z2/development/stock-4-4-4-23-0-1-0-167-bug-free-t2929402

- Deleted CredentialManagerService.apk from /system/priv-app with ES Explorer

- Rebooted into recovery, wiped data, cache and applied this DRM patch.

- Rebooted into system... Camera still noisy and no difference between X-Reality on or off
[Sony Cross-Device General] YongJeah:
http://bbs.gfan.com/android-7715822-1-1.html

送上，唔知你可唔可以click入
[Sony Cross-Device General] brocnical:
Great news.

Though, I would rather have a hack that worked the other way round: i.e. allowing me to keep an unlocked bootloader, while copying my own personal backed-up DRM keys back at each boot (without re-locking bootloader) . I tried to start a discussion in this at http://xdaforums.com/showthread.php?p=55830408#post55830408
[Sony Cross-Device General] wind0zer:
There's no need actually. The recovery zip script overwrites it
[Sony Cross-Device General] KWOKSFUNG:
唔該晒^^
[Sony Cross-Device General] King p1n:
Hope this makes progress and it works correctly on all devices
[Sony Cross-Device General] John.D..:
I do not know, I tried all possible ways and it does not work on Z1 Compact... Whyy? :(
[Sony Cross-Device General] istux:
Same here with z3 compact :(

I had a look at the chinese forum but it's impossible for me to understand if this mod has been tested on compact devices too.

It works on z2 and z1 so far.
[Sony Cross-Device General] C_Karhu:
How did you get it to work on Z1? I tried all, with clean install and wipe data. My phone meet all requirements.

Best regards

Christian
[Sony Cross-Device General] John.D..:
And with the Compact does not want to work mod)

This crop with my photo on the 157 firmware. When I did this photo was set DRM mod. This is very bad, annoying noises ...

View attachment 3005723
[Sony Cross-Device General] 86vural:
z3 dual not working
[Sony Cross-Device General] SUPERUSER:
I think the mod is working of some kind :confused:

Device: Xperia Z Ultra C6833

Rom: EXR.MN-Ming_Xperia_ZU V1.4

Kernel: DooMKernel (v22)

Screen is being more vivid with X-reality being set to "X-reality for mobile" or "Super-vivid mode".

Here is a screenshot of TrackID app, working good.

Pictures taken in dark environment. When looking at the screen it has lots of noise. But as soon as I take the picture a nice picture is generated without any red or blue noise. And the pictures are taken in almost complete darkness.
[Sony Cross-Device General] Envious_Data:
Doesnt work on 4.4.4 167 fw, Xperia Z2
[Sony Cross-Device General] John.D..:
Or maybe it depends on the kernel? Can this be?) I'll never know just why does not work)

No, with the stock kernel does not work

So we know that the mod works on Z1 and Z2)
[Sony Cross-Device General] rodritank:
Works here: Z2 D6543 flashed to D6503 .55

IT HAS TO BE ON .55 (or .69).

Actually, if you only flash it to .55, camera will improve instantly and x-reality comes back. Later then I flashed Existenz to 3.00 and 3.15 and LOST it.

That's when I flashed the file OP posted and now it works like a charm!

I also relocked my BL, but I don't think that matters now.

Also, the update center asks me to update to .314 but I will pass. Camera is doing great and that's what matters to me.
[Sony Cross-Device General] kodein:
Xperia ZR

:good: Great work!!! xperia zr working :good:
[Sony Cross-Device General] Sebi673:
Omg.... It really works... I was yesterday at a concert and the noise in pictures rendered my Xperia Z useless. And a guy next to me had iPhone 6 with really good camera quality. I was ashamed of my Sony so I started digging into the problem.

The first two keys appear under unknown error but the noise cancelling in pictures work.

I didn't wipe data, and it works. Here are some pictures. The difference is huge
[Sony Cross-Device General] boojay:
Nice! Hopefully this starts working for more and more Z owners as the process becomes more refined and updated. Great work, Team EXR!
[Sony Cross-Device General] agam1308:
In LP, only flash the mod and clear cache.

Enviado desde mi D5803 mediante Tapatalk
[Sony Cross-Device General] shafiq01:
First part:

Lock Bl -> flash LP. -> start phone, wait till it boots to the select language part -> shut down -> unlock BL -> fastboot androplus v19 -> boot to recovery -> flash precooked LP.zip -> flash NUT's kernel -> flash other stuff (xposed) (optional) -> and at last wipe dalvik/cache and flash DRM.zip

Otherwise everything is correct!
[Sony Cross-Device General] kaopho:
How flash without recovery on LP ? [emoji15]
[Sony Cross-Device General] rodritank:
Sorry for asking this again but, how's remote play working for you AFTER patching LP with JimRnor's DRM fix?
[Sony Cross-Device General] Taftus:
I was wondering the same ?_?

1. Re-lock with Flashtool

2. Flash LP with TA

3. Reboot the phone

4. Unlock and flash LP with TA

5. Fastboot with AndroKernel and boot in to twrp to flash DRM patch

6. Flash original kernel with Flashtool without any whipe

is this correct?
[Sony Cross-Device General] Isley_:
Play Remote works on Lollipop even if you have your Bootloader Unlocked without this patch.
[Sony Cross-Device General] rodritank:
Works flawlessly! Thanks [MENTION=4699816]jimRnor[/MENTION]!!!

Can I relock the Bootloader now? Or it will overwrite the TA?
[Sony Cross-Device General] Taftus:
Can you please tell me how you did it? In which step etc...... Feels I am doing something wrong >_<
[Sony Cross-Device General] rodritank:
It's pretty simple really. I used to do a much more complex scheme before but it has a pretty more simple way.

This is the procedure for Z2. It may change for other devices.

(This is basically what jimRnor explained in the very first post).

WHAT YOU WILL ONLY NEED:

- Windows 7 and Flashtool.

- .69 Firmware

- .690 Firmware

- DRM LP fix in your SD card

- Androplus LP ADV Kernel

Also, you MUST be on Windows 7 for locking and relocking bootloaders with Flashtool.

Be sure to have the LP DRM FIX in your SD card prior to flashing stuff.

- If your Bootloader is UNLOCKED, LOCK IT.

- Don't turn it on. If somehow it turns on, hard turn off it by holding VOL UP and POWER until it vibrates 3 times.

- Flash the .69 FTF.

You're back to .69.

- Let it boot till the language selection screen.

- Power it off.

Now you will be going to Lollipop with old TA features, plus a custom kernel so you can use Recovery.

- UNLOCK your bootloader now and:

- Flash the .690 FTF checking the "TA" box. Which means you are EXCLUDING the TA partition from .690 in order to keep the .69's. This is where the magic lies!

- Right now, you are already on Lollipop.

- Right after flashing it, flash the Androplus ADV LP kernel (get it from the Androplus kernel site). That means you are going to get Recovery functions.

- Right after flashing the kernel, access the Recovery screen (holding VOL UP when the Z2's led is purple) and FLASH the DRM Fix which should be in your SD card.

- DO NOT install SuperSU when asked (I didn't install with mine), reboot to System and there you go.

In a straightfoward way, you did:

- Flash the .69 FW, which has the most basic TA features.

- Then you flashed the .690 LOLLIPOP FW WITHOUT the TA, so you are on LP with the old TA partition.

- You flashed a custom kernel so you can get Recovery (that's why you've unlocked the Bootloader).

- You flashed the DRM FIX via Recovery so you can get the TA features from .69 working on .690.
[Sony Cross-Device General] moritz-mobile:
Z3 Tutorial

Yes! I did post this just one page before but I updated my Tutorials and added a second one which finally worked for me.

They are both very detailed and I thought it would be great to have this Z3 Tutorial right below the Z2 step-by-step instructions.

Please make sure to place the DRM_restore.zip on the external SD Card of your phone before you start.

'1st method. Confirmed working but not for me personally!

-----FlashTool----------------------------------------------

-> Relock BL

-> Flash 690 with TA ( (downloaded via FlashTool)

-> Start/Power on - Phone until you can select your language

-> Shut down/Power off - Phone

-> Unlock BL

-----Fastboot-----------------------------------------------

-> Flash Anroplus Kernel v19 (can be found under "Older Downloads" in AndroPlus Thread Process: Unzip and flash boot.img via

[COLOR="Black"]fastboot flash boot boot.img[/COLOR]

--------------------------------------------------------------

-> reboot to recovery (VolUP/VolDOWN method)

-----TWRP--------------------------------------------------

-> flash Flashable stock 23.1.A.0.690 (5.0.2) pre-rooted with XZ dualrecovery.zip is this the correct one? I chose Nordic

-> flash NUT's Advanced stock Kernel XZDUAL Recovery KERNEL -> choose model -> 690 build

-> flash DRM Funktion Restore.zip

-> reboot phone

This is an updated version of the flashing process that you can follow. I could NOT MAKE IT WORK to the time of this writing

I did found a way to restore DRM functionality though!

Caution: This is much more time consuming and may include redundant steps but it's the only procedure that worked for me which is way I wanted to share it with you.

'2nd method. Not confirmed yet but worked for me (D6603)

I started with a locked Bootloader

-----FlashTool-----------------------------------------------------------------------------------------

-> flash Lollipop .690 FTF -WITH TA Partition (downloaded and bundled with FlashTool)

-> unlock Bootloader

-> flash Lollipop .690 FTF -!!WITHOUT !! TA Partition

-----FASTBOOT----------------------------------------------------------------------------------------

-> fastboot Androplus-Kernel with TWRP

fastboot flash boot boot.img

-> Reboot to TWRP-recovery

-----TWRP-----------------------------------------------------------------------------------------------

-> Wipe -> factory reset

-----FlashTool-------------------------------------------------------------------------------------------

-> flash Lollipop FTF -Without TA Partition

-> relock Bootloader

-> flash Lollipop FTF -Without TA Partition

-> unlock Bootloader

-----FASTBOOT----------------------------------------------------------------------------------------

-> flash AndroPlus Kernel with TWRP-Recovery Again

-> reboot to TWRP

-----TWRP-----------------------------------------------------------------------------------------------

-> flash DRM_Restore.zip

Make sure the Phone stays OFF DURING THE WHOLE PROCESS!!

Also: I used the AndroPlus Kernel fixed by atis112 which can be found here

I tested all of this only on my D6603 Xperia Z3!
[Sony Cross-Device General] Taftus:
Thank you! I will try these step tonight but I am on Z3 and not Z2.
[Sony Cross-Device General] rodritank:
Shouldn't change much - I just don't know which Z3 FW has the old TA partition!
[Sony Cross-Device General] kugel.:
Is there a definite way to tell whether the procedure worked, other than subjective image quality in low-light situations? I went through the process twice but I can't tell for sure if it worked or not.
[Sony Cross-Device General] ImS0Raw:
Turn off xreality, open a picture in Album, turn on xreality and if you notice no difference it didnt work.
[Sony Cross-Device General] Taftus:
Works great, thank you! Thank you! I did as your tutorial but instead of .69 I used .77, like this:

WHAT YOU WILL ONLY NEED:

- Windows 7/8 and Flashtool.

- .77 (KitKat) Firmware

- .690 Firmware

- DRM LP fix in your SD card (DRM Function Restoration for Xperia Lolipop V2)

- Androplus LP ADV Kernel (I used Z3_ADV_stock_LP_v2)

Be sure to have the LP DRM FIX in your SD card prior to flashing stuff.

- If your Bootloader is UNLOCKED, LOCK IT (Relock).

- Don't turn it on. If somehow it turns on, hard turn off it by holding VOL UP and POWER until it vibrates 3 times.

- Flash the .77 FTF (Flashtool).

You're back to .77 (KitKat)

- Let it boot till the language selection screen.

- Power it off.

Now you will be going to Lollipop with old TA features, plus a custom kernel so you can use Recovery.

- UNLOCK your bootloader now and:

- Flash the .690 FTF checking the "TA" box. Which means you are EXCLUDING the TA partition from .690 in order to keep the .77's. This is where the magic lies!

- Right now, you are already on Lollipop.

- Right after flashing it, flash the Androplus ADV LP kernel (get it from the Androplus kernel site). That means you are going to get Recovery functions.

- Right after flashing the kernel, access the Recovery screen (holding VOL UP/DOWN when the Z3's led is purple) and FLASH the DRM Fix which should be in your SD card.

- DO NOT install SuperSU when asked (I didn't install with mine), reboot to System and there you go.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[Sony Cross-Device General] danidarklord:
Try using front facing camera in low light, if there's a lot of noise with blue and green pixels around, then it fail.
[Sony Cross-Device General] Daedroza:
The guide seems to difficult for to understand(For me, atleast).

I am using ubuntu 14.10 and I have installed flashtool on it.

I have a TA BACKUP.ZIP file .. Can I restore with TA BACKUP.ZIP file in backup folder? Any idea?
[Sony Cross-Device General] kugel.:
Thank you! I think this method worked. Because now, after taking a picutre, I see a progress indicator as if it would perform post-processing, that wasn't before. Additionally the actual pictures do now show the green/blueish noise that is visible in the preview (the difference is huge with the front camera). Plus, I believe now see a difference between X-Reality and normal (hopefully it's not just imagination, it's only a slight difference, e.g. grey objects are is a little darker)

EDIT: This method wiped my sdcard memory, therefore the DRM fix zip wasn't on the storage anymore. But you can adb push it at the last step while in recovery mode.
[Sony Cross-Device General] Taftus:
Good to hear! Don't thanks me, thank rodritank ^_^

That is wierd, about sdcard getting wiped. Anyway glad it works and it was pretty straight forward.
[Sony Cross-Device General] Arvis20:
Thanks it worked :victory:
[Sony Cross-Device General] Toxeia:
Taftus, would you mind pointing out which firmwares and kernels you used? I've got a .77 FW with the TA partition, but after flashing a kernel so I can flash the DRM recovery and ROM I'm not finding any improvement in image quality on my Z3.
[Sony Cross-Device General] kugel.:
I have used the following files:

D5803_1289-4696_23.0.1.A.5.77_R9B_Customized DE.ftf

D5803_23.1.A.0.690_Customized_NCB.ftf