yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] cipetonk:
can someone please give accurate explanation for my strange case:

1. I have xperia SP unlocked bootloader (have TA backup), by deodexing the ROM I regain the bravia engine, is that normal? everybody says unlocking bootloader means losing bravia, x-reality, super vivid but I get it working in movie & mx player without this mod

camera quality is not tested yet

noise reduction working fine without mod

2. My xperia ZR (unlocked bootlader too & have TA backup) both with odexed or deodexed still have x-reality working in movie & mx player without this mod

camera quality is improved after flashing this mod (my rom is ODEXED), big thanks

noise reduction (2nd mic) is not tested yet
[Sony Cross-Device General] McBane87:
Hi,

I'm on Z1c with Lollipop (.270) and I'm not sure if this Mod is working.

There is an Option in "Settings->Display->X-Reality for mbile" which I can enable/disable.

With unlocked bootloader and lost DRM-Keys I was able to enable this Option, but it was disabled automatically after some time.

With this Mod the same is happening. After some time the Option gets disabled automatically.

Does this mean the Mod isn't working for me?

EDIT:

It wasn't working.

After following exactly the Instructions (expept KK-Firmare. I used .157), I was able to see the difference and now it is working. Thank you very much.
[Sony Cross-Device General] Dendis:
Okay, I`m on eXistenz 2.00 Y rooted, stock kernel , locked bootloader. I want eXistenz 2.00 Y with androplus kernel. What I lose, what I recover?

What about camera

What I have to do?
[Sony Cross-Device General] Taftus:
Anyone got this work with 23.1.A.1.28? With TA from .77? I have been away for awhile and seen that my phone is getting an update so I am not sure how it work anymore. Still the same method with TA from .77? And does root work? Last time it doesn't work so maybe it do now?
[Sony Cross-Device General] By.TRabZonLu™:
What's coming up with this method?
[Sony Cross-Device General] Taftus:
This method seems to be working with latest firmware of Z3, did the same method with .77 TA :)
[Sony Cross-Device General] JaseLegenda:
I hope there is someone here who can help me. I did make TA backup before I unlocked bootloader. Unfortunatelly my kid spilled water on my laptop and damaged my hard disk. I managed to recover some files but not all. my question is: If i relock the bootloader and use PC Companion to reflash the phone is that process going to restore TA / make new TA or is it lost forever?

Any help would be appreciated

Ok i relocked it flashed ftf let it boot updated with pc companion and did another TA backup...guess it all went well then
[Sony Cross-Device General] borjok536:
OMG. Its really working. Im.so thank with this mod.
[Sony Cross-Device General] Frunzdoedel:
No, your original ta backup was/is unique. I would try to find the backup of your ta partition.

I have many copies from my z1c on phone, the backup hd from pc and some micro sd. ??
[Sony Cross-Device General] JaseLegenda:
Realized it on my own. Unfortunately cannot retrieve the TA backup even after using 4 different data recovery software
[Sony Cross-Device General] atmt:
Can anyone tell me how I can check my previously lost DRM functions are working or not? I've restored DRM function like it's described in this thread but I still see [Unknown error] by Marlin, CKM and Widevine keys. I understand that this mode will not restore DRM keys but only the functions so perhaps [Unknown error] message doesn't mean anything. I can't see a difference between X-reality On/Off but maybe it's not so niticable? Camera seems to work fine even in low-light. Is there any 100% test I could make to be sure this flashing was working fine? I have xperia Z3 compact. Thanks in advance!
[Sony Cross-Device General] borjok536:
What I did is, I have downloaded .69ftf somewhere (Baidu, I guess), but it seems that system.sin has an error, so what i did was flashed .314 ftf (w/o TA), then lock my bootloader (as far as I know, u cant locked bootloader when u are on a custom kernel, please correct me here) then I flash .69 ftf, but i flashed only the TA portion, then reboot and off the phone, unlock bootloader then flash lollipop .28 ftf w/o TA. flash andro plus advance kernel, boot to recovery, clear /wipe cache factory reset, then install custom rom, Im using existenz y v2.0 then flash the MOD that you can download on this thread, and voila, xreality is working. Dont forget to flash the mod everytime u change rom via recovery, or u factory reset your device. Flashing via flashtool, dont forget to exclude TA partition..
[Sony Cross-Device General] eyeyousee:
you cannot check this via "Service Mode" since drm keys associated to this are permanently deleted during unlocking.

One way to test if this is working on your phone is to open first your favorite photo in the album, then go to Settings > Display >Image enhancement then,

1) turn off the "Image Enhancement" mode then, using "multitasking button" open your favorite photo - then using "multitasking button" again go back to Settings > Display >Image enhancement then,

2) turn on the "X-Reality for Mobile" mode then, using "multitasking button" open your favorite photo - then using "multitasking button" again go back to Settings > Display >Image enhancement then,

3) turn on the Super Vivid mode then, using "multitasking button" open your favorite photo.

you will notice the differences on your favorite photo during the image enhancement (x-reality) menu changes.

here is a sample, i got this from XDA OP Mexicali:
[Sony Cross-Device General] atmt:
Thank you fo explanation. I've already tried that but I don't see any difference. Perhaps I will try again with different ftf. I've also heard about problems with X-reality after Lollipop update. Is there any fix out there for Android 5.0.2?? I could try it as well..
[Sony Cross-Device General] met97:
Hi guys, i'm going to unlock the bootloader of my Xperia Z3... But i'm afraid for the loss of the DRM Keys.

Does this mod COMPLETELY restore the functions that i lose with drm keys, exactly as the originals? Or is this a "home made" solution, just similar to original results?

And do I need to flash this only after I unlock the bootloader, or also everytime I flash another rom?

Thanks in advance :)
[Sony Cross-Device General] kaopho:
http://xdaforums.com/showthread.php?p=61838255
[Sony Cross-Device General] kos25k:
Guys can please anyone tell me the steps to do this?Why on instructions says first to install. .757 KK rom? I am on stock LP .270 prerooted with unlocked BL and never made a TA backup. Thank you.
[Sony Cross-Device General] :
Thanks
[Sony Cross-Device General] jimRnor:
just follow the step on OP and you will get the things work, flash .757 rom is to get its TA partition to confirm the mod will work
[Sony Cross-Device General] kos25k:
So is these the steps?

1)relock BL

2)flash stock. 757 ftf with flashtool

3)reboot and turn it off

4)unlock BL

5)flash stock .242 LP ftf with flashtool

6)root and install recovery

7)flash stock. 270 prerooted from recovery

8)flash the mod zip
[Sony Cross-Device General] met97:
Guys, can anyone help me please?

Thank you :)

Inviato dal mio D6603 utilizzando Tapatalk
[Sony Cross-Device General] jimRnor:
Yes ;)

This mod is to made the function reworked that was disabled by unlocking the bootloader.

So the function will be fully restored like you haven't unlock it.

Also you can made a TA backup then unlock your bootloader.

when you want to back to original locked bootloader(not relock on the service menu), you can just restore the TA partition you backed up :)
[Sony Cross-Device General] kos25k:
Thank you!! :) but in step 4 when I unlock my BL again..At this point does these functions lost??I mean if this occurs..what is the difference of installing this nod directly from recovery without doing all this procedure?

Στάλθηκε από το D5503 μου χρησιμοποιώντας Tapatalk
[Sony Cross-Device General] met97:
AH THANKS!

Could you please share the link to a guide that explains how to backup the TA Partition? Also, can i backup it also if I have another ROM (Existenz in particular, sony stock based, 5.0.2)?

Thank you again :)
[Sony Cross-Device General] meistr91:
Hi users, i know that with TA partitions and etc you can easily brick your device if you do something wrong, so i want to be sure about procedure. Now im on z1 compact with RockZ1LP v3.1 .270 based on stock. So procedure says that i need to flash .757 that means kitkat? So i need go with these steps:

1. Relock my bootloader via FT, then while my device off

2. Flash fw .757 with TA partition, let the .757 to boot up full

3. Then turn off my device, unlock it again

4. Now i can flash rockz1LP kernel (it has recovery inside) and then flash rockz1lp rom via recovery yes?(Rom zip its full 1.7gb why I mention it,that i can flash it straight from Kk and i will have full LP fw)

5. And finally i can flash the mod ?

Mm? [MENTION=4699816]jimRnor[/MENTION]

P.S. i have backed up my TA partition before first time i unlocked my BL, so do I need back up again after relocking or its not needed?
[Sony Cross-Device General] boilavera1980:
anyone tried the lp package on the new 5.1.1 that got released today???

edit:

works without a hitch brothers :) ... now i need system rw ^^
[Sony Cross-Device General] RyTekk:
Did you try NUT dualrec to disable sony_ric?
[Sony Cross-Device General] boilavera1980:
sorry shouldve edit ... it seems fine using a root explorer and edit the build.prop .. using a app didnt seem to work
[Sony Cross-Device General] Z23:
Has anyone tested with newest 5.1 builds?
[Sony Cross-Device General] jimRnor:
Sorry for my late reply [emoji14]

Yes, just direct flash the ROM, but remember Flash the DRM zip after you flashed the ROM.

No needed to backup again when you relock it as it already doesn't has the DRM key already.
[Sony Cross-Device General] Perfectdevil:
Not working on newest lollipop 5.1.1 on z3c

After flashing all sony apps crash (music. Album. Movies)
[Sony Cross-Device General] epypro:
can be ported to 5.1 xperia Z2?
[Sony Cross-Device General] Perfectdevil:
I tried but it crashes sony apps (album. Movies) black screen then exit
[Sony Cross-Device General] Red-code:
After I do the instructions for Z1

Every thing was working great on stock lollipop ROM

Today I installed cm11 ( multi boot with stock )

I got surprised when I saw the camera quality on cm11.

Again there us no red,green and purple noise on cm camera
[Sony Cross-Device General] superbellefleche:
Working here on Z3 5.1.1 23.4.A.546, no force close
[Sony Cross-Device General] cashflow67:
Hi [MENTION=4699816]jimRnor[/MENTION] I'm on unlocked bootloader and I forgot to back up my drm keys :( Can you help me about flashing this zip on my rom?

I'm using C6903 Z1 - RockZL Rom v3.1 stock Lollipop, rooted and I have dual recovery, unlocked bootloader and custom Venkat's kernel. Can I flash this mod on his rom?
[Sony Cross-Device General] danidarklord:
That's exactly how I feel the first time. In my case it's was cm12, multirom. Somehow camera quality is surprisingly good, less noise and color also feel better. I thought it was just me. But I'm not sure cos someone told me that it is impossible as these 2 rom are separated in its own partition. So maybe it's just me and you..hahha?
[Sony Cross-Device General] jimRnor:
try direct flash the mod zip first, if it doesn't work, follow the OP

I've get some feedback said that it works on CM, so can you guys provide me the actual changes maded to your CM rom? :D

For users who get their android 5.1 stock update, the mod are 100% working on 5.1 update.
[Sony Cross-Device General] Red-code:
I Just activated features on stock Sony ROM ( by DRM restore zip )

Then installed cm ROM by multi boot feature.

I didn't flash DRM restore zip file on cm

I will upload my photos

My samples

Screen shot before capture:

[IMG="a"]http://www.uplooder.net/img/image/76/700edd099bb92347fab3a29311bae86e/Screenshot_2015-07-27-19-42-16.png[/IMG]

After:

[IMG="a"]http://www.uplooder.net/img/image/91/0a04d367160921eb4881dc5642643bc2/IMG_20150727_194218.jpg[/IMG]

Screen shot before capture 8x zoom:

[IMG="a"]http://www.uplooder.net/img/image/60/494a791123d9439c053b741ca41577c4/Screenshot_2015-07-27-19-41-13.png[/IMG]

Captured pic iso;: auto:

[IMG="a"]http://www.uplooder.net/img/image/85/9e59b648740fef1e191b648273466f77/IMG_20150727_194114.jpg[/IMG]

Captured pic iso : 3200

[IMG="b"]http://www.uplooder.net/img/image/29/465d31470b0082956fb18f3aef70c80f/IMG_20150727_194125.jpg[/IMG]
[Sony Cross-Device General] Edemilorhea:
if I restore DRM KEY everything will come back??
[Sony Cross-Device General] eyeyousee:
100% working on my Device: Xperia Z2 (D6503) - CDA: 1281-2117 - Market: Saudi Arabia - Operator: Customized SA - Network: GLOBAL-LTE - Release: 23.4.A.0.546 / R3C

I have to do some workaround to make it work! ;)
[Sony Cross-Device General] codified:
Hold on a second

If I'm on stock lollipop, can I backup my DRM keys, unlock the bootloader, and then restore my own DRM keys without using this?
[Sony Cross-Device General] cashflow67:
What did you do to make it work?
[Sony Cross-Device General] eyeyousee:
since my .ftf (from xpirifirm) includes TA partition, I just flash my phone directly to 5.1.1 then,

1. flash custom kernel (Z2_ADVstockKernel_v3_LP)

2. reboot to recovery (philztouch)

3. install the DRM Function Restoration for Xperia Lolipop V2.zip

4. power off the phone (do not turn on)

5. flash stock kernel only via flash tool

6. done!
[Sony Cross-Device General] cashflow67:
What if I want to use custom kernel? Why you flashed stock kernel?

And can you help me how to seperate only kernel file from ftf? :)
[Sony Cross-Device General] eyeyousee:
1 - If there is a working 5.1.1 custom kernel then you're fine. But I'm am having issues with 5.0.2 LP custom kernel that's why I am using stock kernel. (my issues are boot loops and force closures)

2 - you can flash stock kernel [only] by simply excluding everything except "kernel" in the flashtool [see attached picture]

{and don't forget to uncheck the "APPSLOG" , "CACHE" and "DATA" if you are doing this to avoid losing your data and factory resets}
[Sony Cross-Device General] phone.phreak:
Was this whole process done with Unlocked BL? and i didn't understand why you had to flash a kernel in the end?
[Sony Cross-Device General] eyeyousee:
Yes Unlocked Bootloader. I flashed stock kernel because no custom (5.1.1) kernel works perfectly for my phone. My phone is unusable with custom kernel. But believe me the drm fix is working.
[Sony Cross-Device General] phone.phreak:
well, that's good news if it's working. Just curious, in the whole thread, we don't have to flash any rom/kernel necessarily, after the patch.

Anyhow, i am on 5.1.1 z3c, i have UL BL already. What do you suggest,

should i start over with a whole FTF with TA or

just do a TA flash while keeping the BL unlocked

and flash the patch in recovery after it?
[Sony Cross-Device General] rinkulsk:
i did all for xperia z1 facing bootloop any guess?
[Sony Cross-Device General] superbellefleche:
Hi Guys,

I have done all the process and it's working great !

But now, I have a question. I used to download the latest firmware with XperiFirm, then create FTF with flashtool, then create a pre-rooted .zip flashable in recovery mode with PRFcreator.

When I create the FTF with flashtool, do I need to exclude cust-reset.ta and fota-reset.ta from the folder list in the bundler? Will they overwrite TA from the mod when I will flash my zip in recovery ?
[Sony Cross-Device General] rinkulsk:
can any one help me plz!! i need this mod badly to get better cam quality!!

am on lolipop .270 xperia z1 and after doing all i am not getting this mod working there are still red green ****s

what to do so i get working mod!!!

am doing like this!!

relock

flash ftf with ta

boot

shutdown

flash custom kernel

flash mod

reboot!!

and the boot is don with android is upgrading!!

what am doing wrong?

can any one help me? plz

did all is good or not?

and camera is little pinkish

---------- Post added at 12:08 PM ---------- Previous post was at 12:02 PM ----------

can u show me some pics on how the drm is working!! plz
[Sony Cross-Device General] evildog1:
is it recommended to upgrade Z3 compact to lollipop 5.1.1?
[Sony Cross-Device General] unixseb:
fount a way to restore drm keys, not just the functionalities !

find the thread here : http://xdaforums.com/z3/help/to-restore-lost-drm-keys-t3174005
[Sony Cross-Device General] evildog1:
hi. will DRM fix work for lollipop 5.1.1 on Z3 compact? anyone tried it?
[Sony Cross-Device General] jimRnor:
how you revert to the lolipop rom you used? via flash zip or flashtool?

yes worked on 5.1.1
[Sony Cross-Device General] ticktock666:
can you please explain how does your firmware contain the TA partition ? I've used xpirifirm to download the same firmware, then built the ftf with flashtools, and I don't get a "TA" option in flashtools ?

What flashtools version are you using ? and when building the ftf, are you excluding any files from the list (fota-rest.ta and cust-reset.ta) ? this is driving me crazy...

I'm only asking because no other LP firmware contains the TA from what I read, and we use the old .69 firmware to do this, but now this firmware has the TA according to you, maybe we don't need to go through the extra steps ?
[Sony Cross-Device General] jimRnor:
if you do the steps before and you are updating your ROM,just flash the ROM or ftf (without TA) and flash the mod and it will work as usual,thus,

if you didn't install the mod before and you are going to install this to your ROM, you will need to flash back to the KK ftf I mentioned at OP(like .69)

the TA partition is only needed once(when you flash back to the mentioned ftf),after that, when you revert back to your LP,you will need to flash the mod only and the features will work charm.

**REPEAT: THE TA PARTITION IS ONLY NEEDED WHEN YOU FLASH BACK TO MENTION FTF,AFTER IT, WHEN YOU FLASH ANY LP(OR LATEST) FTF, YOU CANNOT FLASH THE FTF WHICH INCLUDES TA PARTITION,OR THE MOD WILL STOPPED WORKING EVEN YOU FLASH THE MOD ZIP ALREADY!**
[Sony Cross-Device General] eyeyousee:
Assuming that you downloaded from xpirifirm for your own phone, simply include every files [cust-reset.ta & fota-reset.ta] in the left panel to the right before you press "Create" [FTF] button. This is how you get your TA partition. Check out the attached picture.

The reason why most of the FTF files does not contain the TA partition [cust-reset.ta & fota-reset.ta] files is to avoid sim lock.
[Sony Cross-Device General] ticktock666:
this is confusing and somewhat contradicting...

according [MENTION=4699816]jimRnor[/MENTION] , if you flash an LP rom with a TA partition the fix will not work on it, but you're saying it does ? check the post above yours, I'm just looking to clear the confusion for myself.

for now, this is how I did it :

- flash stock 5.1.1 (bootloader is unlocked, no DRM features)

- use TA Backup to restore my KK TA partition.

- boot back into 5.1.1, DRM features are working (clear Audio+/no red+green in camera in dark photos)

- unlock boot loader

- flash [MENTION=5169444]AndroPlus[/MENTION] v60 kernel via fastboot

- go into recovery, flash DRM fix

- boot back into room, make sure DRM features still work, everything is ok.

I'm now in the process of deodexing the rom, and I will report on how things go.
[Sony Cross-Device General] jimRnor:
oh I said that before?If yes I will need to say sorry as I confused sometimes on the many ways to make the mod works

your way is one of the available way to made the mod works as you has your Original TA partition
[Sony Cross-Device General] AndroPlus:
Can someone confirm if my method works with newly unlocked device:

1. Delete following files/folders

/data/credmgr

/data/drm

/data/mediadrm

2. Reboot into recovery and flash DRM fix zip

3. Done...

I updated my Z3 to 5.1 without DRM fix or root and features which needs DRM didn't work.

After I created custom kernel and flashed it via fastboot, then did above steps and noise reduction and X-Reality works.

BTW, [MENTION=4699816]jimRnor[/MENTION] how did you unlock bootloader of SO-01F?

I want to buy Japanese model since I'm Japanese, but all docomo models in Japan can't unlock bootoader:crying:
[Sony Cross-Device General] :
Your method did not work for me.

Am using z1 compact 5.0.2.
[Sony Cross-Device General] :
Hey guys, need a little help here. Is there another method if the one above does not work? Got another different exploit? For z1c users on 242
[Sony Cross-Device General] komil85:
Hi, there was a bit mistake in my mentioned steps. You have to use 7th step after 4th step, e.g steps to follow 1, 2, 3, 4, 7, 5, 6, 8.
[Sony Cross-Device General] polykoma:
Anyone found a way to get this improvements injected into a running CyanogenMod 12.1 System?
[Sony Cross-Device General] Sparksys:
Someone please give me detailed and working instructions to get DRM keys working on Z3 compact..Didn't understand OP instructions
[Sony Cross-Device General] Glaudison:
you need not follow the tutorial , if creating a rom using PRFCreator and add the DRM ZIP corresponding to ROM (KK / LP) works perfectly.
[Sony Cross-Device General] evildog1:
more details of this please?
[Sony Cross-Device General] polykoma:
inject to custom rom

hi. could i push this zip to cyanogenmod12.1 in any way ?
[Sony Cross-Device General] eyeyousee:
It is a PreRooted (using .FTF) Firmware flashable .zip creator, flashable via custom recovery. It will not fix DRM function if you don't have TA partition. So, don't get things more complicated, just study the OP's procedure.

---------- Post added at 11:20 AM ---------- Previous post was at 11:12 AM ----------

If your custom rom includes the TA partition then I believe it will work. But having a TA partition can only be done using flashtool not via custom recovery flashable .zip firmware.
[Sony Cross-Device General] polykoma:
[/COLOR]

Sounds great!

How to check if there is a "TA Partition" or not. Where should the trimarea be located?

I found out TA Partition should be "/dev/block/platform/msm_sdcc.1/by-name/TA"

I have this TA file there.

There must be a way to inject my backed up TA or the "enhanced foreign TA" from this thread to this TA file!

This Cam drives me crazy !
[Sony Cross-Device General] Glaudison:
I have a Xperia Z2 d6543 Brazilian version with unlocked bootloader already caught him so second-hand, I decided to do a test, I spent the firmware. 314 and after I created a custom firmware .546 using prfcreator adding dual recovery and archive of DRM keys, and it worked perfectly for me.
[Sony Cross-Device General] polykoma:
what will happen if i restore the ta backup of my phone to my cyanogenmod rom instead of stock?

since i got the directories....
[Sony Cross-Device General] Frunzdoedel:
Your phone will bootloop, so don't do it. ?
[Sony Cross-Device General] evildog1:
have anyone tried custom recovery for locked bootloaders? http://xdaforums.com/z3-compact/development/z3c-xzdualrecovery-qa-t3014208
[Sony Cross-Device General] wind0zer:
It worked. Thank you.

I had installed LP 5.0 FTF w/TA, and DRM was working. Then I upgraded to LP 5.1 FTF w/TA without wiping, and I lost root, recovery and DRM function. (Everytime flash by using same relock, flash, unlock procedure)

Then I flashed Androplus kernel via fastboot, deleted the 3 /data folders from recovery, flashed DRM zip, and now I have upgraded and DRM works.
[Sony Cross-Device General] evildog1:
hi. what is your phone model?
[Sony Cross-Device General] polykoma:
danke !

;)

so we can just wait and hope....

thats, at least, not much.....

the cam is so crucial in the dark, really exceeded my exeptions, on cyanogen12.1.

we Need the Drivers ported now. damn it :(
[Sony Cross-Device General] wind0zer:
@evildog1 my model is Z3C
[Sony Cross-Device General] [NUT]:
I did not yet test the noise reduction, but I can confirm this workaround works for already unlocked bootloader devices running LP 5.1.1, at least for X-Reality and the BIONZ image processing...
[Sony Cross-Device General] polykoma:
but only stock Firmware (...yet...)

right?

it must be possible to add this to CM