yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] calfa:
Xperia z3+ restore x-bravia

I think, that modification file is function. https://mega.nz/#!Y0lQnTZI!WG5F2Cf_JpxqsZx59ZOVBydkQMy4Gb25kmWYl1HkzQI
[Sony Cross-Device General] xtra2222:
Z1C v3 mod

Hi there,

is there still a working mod for the Z1C running Stock Rom Android 5.1.1?

If so, please upload it again! Thank you! :fingers-crossed:

I already tried it with the file above, but it does not work. What is the right approach, flashing the drm recovery with a locked or unlocked bootloader?

-xtra
[Sony Cross-Device General] snaky90:
Others apps like Google Camera works with this fix ?
[Sony Cross-Device General] challtsham:
I confirm my E6533 (Z3+ Dual) Android 6.0 with RU Rom in Xperifirm , It's works !!! Thanks !!!
[Sony Cross-Device General] MiniKoelkast:
Can somebody tell me(step for step pls) what I have to do if I want to go back to stock firmware and also install this zip package?

Help would be very nice!
[Sony Cross-Device General] xkeita:
- Flash stock FTF for your phone (using flashtool)

- Root

- Install recovery

- Flash DRM Fix

- Before restarting system clear dalvik, cache and data.

If you have unlocked bootloader, flash stock ftf and then any modded kernel (compatible with your android version for your phone) with recovery included then flash drm fix and clear the previously mentioned stuff.
[Sony Cross-Device General] MiniKoelkast:
So basically I have to flash stock firmware. then flash the twrp recovery.

fastboot flash boot(or FOTAKernel) twrp.img

then go into the recovery and install the zip package.

and one more question. When I go back to stock firmware will my bootloader get relocked?
[Sony Cross-Device General] xkeita:
No bootloader will not get relocked, also. It's better to flash a custom kernel (boot.img) instead of a twrp.img because stock kernel doesn't support it and you'll get an unbootable device (stuck with SONY logo boot sequence) - If this happens you can reflash the FTF again though. Then go into recovery mode and install the zip package.

If you want stock kernel search an advanced stock kernel for your device and

fastboot flash boot boot.img
[Sony Cross-Device General] MiniKoelkast:
so I need to flash this instead of the TWRP?
[Sony Cross-Device General] xkeita:
Yup yup. :)
[Sony Cross-Device General] MiniKoelkast:
and when i flash that I dont have to flash a recovery anymore?
[Sony Cross-Device General] xkeita:
Exactly, because that kernel has built-in recovery
[Sony Cross-Device General] MiniKoelkast:
Oke. but Thank you so much. <3 I appreciate your hlep so much. ( I am new to this whole rooting. so I have a lot to learn.)

(I gave you a thanks :D)
[Sony Cross-Device General] ptoner:
Lollllkuw the hallo I ofekyepk

Wzzlkyuufi OK o

---------- Post added at 04:48 PM ---------- Previous post was at 04:48 PM ----------

Kko OK SD k

Kkk

---------- Post added at 04:49 PM ---------- Previous post was at 04:48 PM ----------

Kko OK SD you have had

Kkku
[Sony Cross-Device General] calfa:
restore x-bravia

No error Use mod on the first contribution :)
[Sony Cross-Device General] ptoner:
Babies, can't trust em, turn your back for two minutes and they sabotage your account. Apologies but only noticing it now after you quoted me. :(
[Sony Cross-Device General] Ticklefish:
It's offtopic but I just had to say thanks for giving me a laugh after a rough morning getting the kids to school. Good to see I'm not the only one whose shiny technology the little urchins find irresistible!
[Sony Cross-Device General] Abhisht009:
Can this work on dstriker rom
[Sony Cross-Device General] MiniKoelkast:
Hi guys,

I have a xperia z1(c6903) and I want to go back to stock sony firmware. and want to use this mod to improve camera quality since I didn 't backed up my drm keys.

what I have to do is this:

- backup everything

- flash stock firmware with flashtool

- flash this kernel with fastboot

- install the zip package from the mod(to improve camera quality)

- reboot

So my question is. am I doing this good or am I missing something? please tell me.
[Sony Cross-Device General] jonamafun:
I flashed this last night on my Z3 running Slim Rom 3.4 (MM 6.0.1).

Does MM have X-Reality? Should it be under Settings -> Display?

Is there any other way to see if the mod worked?
[Sony Cross-Device General] blackhawk_LA:
I have flashed this mod on Concept rom for z3 and I can happily say that it's working! Perfect camera quality! Thank you!
[Sony Cross-Device General] fjompah:
X-reality is stripped from slimm rom, search the rom thread for ways to recover it or take a picture in a dark room and see if there is noise in the picture.
[Sony Cross-Device General] divakarhero:
I lost my drm in Sony xa dual f3116 plz help me:(
[Sony Cross-Device General] akshay2shah:
A very Big Thanks to [MENTION=4699816]jimRnor[/MENTION] :)

DRM FUNCTION RESTORATION works perfectly on Xperia Z2 (D6503) Stock(Deodexed) Marshmallow 23.5.A.1.291 rom.

Finally X-Reality, Super-Vivid , Bionz working like a charm :cool:

DRM Saver :victory:
[Sony Cross-Device General] josema9410:
You have to flash the xreality settings via recovery, in slim rom he deleted and added kcalmod
[Sony Cross-Device General] Pisiont:
Does it support Concept Marshmallow?
[Sony Cross-Device General] ataraxist:
Does anyone know if u can use this on Xperia T2 Ultra, LP 5.1.1 and/or Xperia M5 MM0 6.0?
[Sony Cross-Device General] seanmavley:
I just flashed an 6.0.1 Android for Z2 from ZA over a CyanogenMod 5.0.1 and all the functionality have been restored without the need for any DRM keys whatever.
[Sony Cross-Device General] -Happy Feet-:
working the drm keys? or which features are DRM related on concept Marshmallow on my Xperia Z3?
[Sony Cross-Device General] geyenk:
I have make backup for my rom RXSW. To install this mod correctly, should i 3 wipe?

Or just wipe cache n dalvik?

Or i must 3 wipe and then restore my backup rom and than FLASH the mod?

Thanks for the answer..
[Sony Cross-Device General] Nhocmt:
Hi guy !

may you tell me your method ?

My z2 already UB and root , rom 6.0.1 23.5.a.1.291 like your phone

and i'm using custom rom.

so , what i need to do now ?
[Sony Cross-Device General] akshay2shah:
I m using stock .291 rom. It works only on stock !

CLEAN INSTALL in must must must !

1. Open recovery- U must wipe all data and system.

Now flash these 2 zips back to back without restarting !

2. Flash prerooted stock .291 zip

3. Flash Drm fix.

4. wipe dalvik/cache

4. Restart phone.
[Sony Cross-Device General] Nhocmt:
thanks you .

i will try.

one more question

after i fix it. i install custom rom again,

is that function still working in custom rom or only working in stock rom ?
[Sony Cross-Device General] akshay2shah:
Works only on stock rom !
[Sony Cross-Device General] geyenk:
Finally, x-reality n friends is working.. :laugh:

Thanks so much for the developer..
[Sony Cross-Device General] mourad1987:
Hi bro!

My phone is z3+ dual

Can you explain me what I do for restoring the lost function?

My bootloader is unlock and I lost drm key.

Please any one know and tested work, please pm me.
[Sony Cross-Device General] sebasrock156:
Could you add Xperia M2/M2 Aqua, please?

I tried restore my Trim Area Backup (via ADB because BackupTA does work for nothing ?), and restore the same, but DRM Keys are lost even ?.

This device, already have a poor camera quality, now, without DRM Keys... Is embarrassing say: "Hey, look, I have a Sony Device!"
[Sony Cross-Device General] munjeni:
[MENTION=4699816]jimRnor[/MENTION] I think whole things can be achieved with mounting locked ta.img to loop device and on the ramdisk level point tad to use loop device instead of mmcblk0p1... What you think?
[Sony Cross-Device General] majid.ayub999:
hi i need 23.0.1.A.5.77 ftf with TA partition for z3 6033 if anyone has a link then plz give me thanks in advance plz i really need ftf with TA partition
[Sony Cross-Device General] faabian303:
Does this work wih the eXistenZ custom rom 5.6.5 with android 6.0.1?
[Sony Cross-Device General] cristixperia:
Yes it's working.
[Sony Cross-Device General] faabian303:
thanks! i'll try it
[Sony Cross-Device General] faabian303:
it worked on eXistenZ rom! BUT... when i use super vivid or xreality engine, the preview changes a lot, but there is no actual difference in the screen, and about the camera, i am not sure still
[Sony Cross-Device General] cristixperia:
Delete following folders:

data/credmgr

data/drm

data/mediadrm

Then go in recovery and flash drm fix again.For me this method it's work.
[Sony Cross-Device General] faabian303:
is this going to affect something? like? when i do it everything is gonna stay the same? do i need to do a backup or something? thanks btw
[Sony Cross-Device General] cristixperia:
Make a backup. Then try that method without worries. You don't must to delete dalvik cache or data. Try it and report back.

Sorry for bad english :)
[Sony Cross-Device General] faabian303:
ok, i will try it later, 8:00 am here, need to sleep lol, thanks for the answer, and don't worry about your english, i'm from Chile and you know... we speak spanish xD
[Sony Cross-Device General] faabian303:
i did it, but there is just no noticeable difference at all:/
[Sony Cross-Device General] cristixperia:
Image enhancement is working.
[Sony Cross-Device General] cristixperia:
Bad post.
[Sony Cross-Device General] faabian303:
not for me i guess. couldn't load images :p
[Sony Cross-Device General] bofis:
Has anyone tried using this to restore DRM functions under the new Nougat build going out to all the Z5's?
[Sony Cross-Device General] Tunwin27:
Was DRM related to Backup and reset? I can't back up anymore after losing it. Stuck at 50% PRECISELY. Can't login as well stuck at sign in. Sony xperia-z2-tablet WiFi.

Thanks for the time and support.
[Sony Cross-Device General] gautamrajput185:
Sir i've unlocked my bootloader but bravia still works in videos but not working in album but who cares for album

I think bravia engine2 stop wrks after unlock bootloader but still works in videos

---------- Post added at 04:37 PM ---------- Previous post was at 04:36 PM ----------

Sir i've unlocked my bootloader but bravia still works in videos but not working in album but who cares for album

I think bravia engine2 stop work only in album after unlock bootloader but still works in videos
[Sony Cross-Device General] flaxx187:
doesn't work to install

the packet is destroy/broken says my twrp
[Sony Cross-Device General] divakarhero:
After nougat update drm fix working or not??
[Sony Cross-Device General] gautamrajput185:
Sir can you port it for all sony phones?
[Sony Cross-Device General] ling751am:
Tested it on Sony M4 Aqua E2363

I have an unlocked-bootloader M4 Aqua E2363 with HK-26.3.B.1.33 MM

Back Camera

After flashed this mod, the back camera capture more brighter

Front Camera

After flashed this mod, the front camera capture more clearly
[Sony Cross-Device General] istux:
Tried with odexed as well.

It doesn't work.....

With relocked bootloader, if you flash the mod you'll get an infinite bootloop I guess.

Anyway just try it.

In case of bootloop, press power + volume UP to switch off and then flash a whole new firmware. ;)
[Sony Cross-Device General] cirovi:
Anyone had any luck getting it work on the Tablet Z (SGP311) ?:confused:
[Sony Cross-Device General] jimRnor:
if the rom are odexed, the CredentialManagerService.odex must be removed or deleted before flash the mod itself cauz I don't have the delete script inside of it

to work with relocked bootloader, I think(I THINK) that flash the mod on Unlock bootloader and relock it, I THINK it should work

You can give a try on it becuase I don't own any sony tablet :)
[Sony Cross-Device General] xarive:
can I know if this mod works well with other mode like X reality for xperia z ? xperia z only have be2 in default but there's mode everywhere to include x reality . just wonder if I flash another mode will it break my noise cancelling
[Sony Cross-Device General] NiM72NiK:
Man thanks for your greaaat job! This is the best and most useful mod for my z1 till now.

i have a question.. An irrelevent question

You made the xr and bionz and .... Work without the drm keys

So can you (in future) make the xr enabled everywhere? Like in home,menu,.... Everywhere.not just sony media apps? Is that somehow possible?
[Sony Cross-Device General] Perfectdevil:
Does PlayStation remote play restored also??

Anybody tried????
[Sony Cross-Device General] sh4d1t0:
That works with new TFT 4.4.4 in Z2? If the answer is yes, How can flash it?
[Sony Cross-Device General] xerwudjohn:
its not working on mine dude. i tried to use odexed 4.4.4 but i doesnt work.
[Sony Cross-Device General] sh4d1t0:
I'm tried with existinz 3.1.5 (this includes the new functions 4.4.4) and don't work only X-reality and super vivid
[Sony Cross-Device General] kristijan15:
How about the new .157 build for z1?
[Sony Cross-Device General] fer2503:
So apparently this mod works only for some people :confused:
[Sony Cross-Device General] cirovi:
noob question:

I'm on tablet Z.

I deodex my room 10.5.1.A.0.283 (the one I'm currently using)

but the "->FULL complete 10.5.A.0.230 ftf with TA partition" which we use in the middle of process need to be deodex too ?:confused:
[Sony Cross-Device General] ponchofiesta:
Is it planned to support the Z1 Compact?
[Sony Cross-Device General] istux:
The mod already supports z1c, look here: http://xdaforums.com/showpost.php?p=56690801&postcount=125

---------- Post added at 11:35 AM ---------- Previous post was at 11:32 AM ----------

The FTF is the original firmware! It can't be deodexed :p
[Sony Cross-Device General] fer2503:
anyone know where a can find a 757 for z1 with TA partition included?
[Sony Cross-Device General] ponchofiesta:
I try to understand what to do and how it works:

1. Bring the phone back to stock (including unroot, unlock bootloader and TA partition)

2. boot (to create some userdata which probably stores some DRM infos)

3. flash any stock-based ROM and/or kernel you want

4. flash the mod

5. boot again and it should work

Right?

So if we backed up our TA partition before unlocking we could do 1. with any other stock ROM. Right?

And if we factory reset our device after this procedure we will lose the DRM functions again. Right?
[Sony Cross-Device General] Anonymuszymus:
edit'
[Sony Cross-Device General] fer2503:
there i can find a 757 with ta?
[Sony Cross-Device General] jakobdz:
not working in z2 .167 plz try to find a way
[Sony Cross-Device General] maharoof:
Finally....Working on Xperia Z!using ExistenZ Premium 4.0.0 LP 5.1.1.can notice a huge change in picture quality.noise is reduced in photos and Bravia Engine,X-Reality and Super vivid is also working.Thanks a ton jimRnor. If you were a girl,I would definitely marry you;)
[Sony Cross-Device General] kiripo7:
Camera Unfortunately stop working FC

Im getting a FC with Elitekernal v3 also with stock kernal using Drm restore mods.. Help.
[Sony Cross-Device General] rubiicon59:
Can anyone confirm everything is working on Z2, eXistenZ MM 5.6.5, Elite v3 Kernel?

Thanks
[Sony Cross-Device General] fluffi444:
Guys - EliteKernel V3 has DRM fix already included! Do not use this mod on top.

If you do not see DRM fix working delete following folders incl all files:

/data/credmgr

/data/drm

/data/mediadrm

And reboot.
[Sony Cross-Device General] rubiicon59:
Cool, thanks
[Sony Cross-Device General] alex009988:
Unfortunately it dosen't work for the last nougat update. But worked with LL/MM. My device is tab z4.
[Sony Cross-Device General] story:
Nevermind
[Sony Cross-Device General] anonim1:
Since the install of this requires a Factory Reset and folks have commented that it does not work without it, how are folks restoring apps, settings, etc. after wiping and flashing the fix? If I go through the FR/C/D wipe, flash the fix, boot, and then come back and restore a full backup, will that keep the DRM fix in place?

Also, since I have an unlocked bootloader (but have previously backed up my TA/DRM keys), is there a particular place I need to be placing the backup ZIP before flashing the fix?

Edit: I didn't realize this thread was for folks who'd lost their keys. I was able to restore my keys using the script from here: https://xdaforums.com/showpost.php?p=67021151&postcount=2130
[Sony Cross-Device General] xdax1:
Camera quality (compare real DRM and DRM fix)

anyone can comment their camera quality after using this DRM fix and locked bootloader which still have DRM?

Someone said it's still not as good compare with original even after DRM fix, wondering if it's true

Thanks
[Sony Cross-Device General] nailyk:
Authorization request

Hi [MENTION=4699816]jimRnor[/MENTION], we are planning to use your great work into LineageOS (all shinano-variant) . Is that ok for you?
[Sony Cross-Device General] iXaidyiu:
DRM fix is used to compensate (most part of) the loss of DRM key and it's function underneath.

If you still have a DRM key installed, why you have the need for this fix (patch)?
[Sony Cross-Device General] Siam4k:
Does it work on xperia xa dual?
[Sony Cross-Device General] iXaidyiu:
Z-Z5 series, so a clear no.
[Sony Cross-Device General] Siam4k:
I got this after flashing the zip file

system could not be mountd

failed to mount /system (Invalid argument)
[Sony Cross-Device General] ishan.ranatunga:
in my phone (Sony Xperia Z2 - D6503) the official stock Marshmallow ROM (build 23.5.A.1.291) is there with a custom recovery (TWRP) and also ROOT access. :) Do i need still need to perform 3 wipes? :confused::confused::confused:
[Sony Cross-Device General] casouzaj:
Look here: https://xdaforums.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280
[Sony Cross-Device General] ishan.ranatunga:
I didn't get you. You mean my phone is unsupported for this mod? :confused: that link explaining about rooting. I don't have any rooting problems. I just need to know whether i can flash this mod without wiping.

(sorry for my bad English)
[Sony Cross-Device General] iXaidyiu:
If you have a locked bootloader, you don't need this MOD; if you have an unlocked bootloader, you can install this MOD with 3 wipes.
[Sony Cross-Device General] ishan.ranatunga:
Thanks for the fast reply.

I have an unlocked bootloader with the stock MM rom. Is it ok if i flash the mod without doing 3 wipes? :rolleyes:
[Sony Cross-Device General] iXaidyiu:
Better do it with 3 wipes. Otherwise conflicts may occur.
[Sony Cross-Device General] casouzaj:
You had asked for TWRP and root for the Z2 phone. I had just posted the related thread's link. Anyway, this DRM restoration mod is only for unlocked bootloaders.
[Sony Cross-Device General] ishan.ranatunga:
i flashed it again and it worked. but when i comparing the photos with and without this mod, i noticed that the photo quality and the size has been reduced. (eg: without mod, it was 3.17 MB in size and with mod it is 1.8 MB)* :(:(

*compared in superior auto mode,same light situation,same scene

any suggestions ? :eek::eek:
[Sony Cross-Device General] casouzaj:
Do you happen to have a backup of your TA partition, made when your bootloader was still locked?
[Sony Cross-Device General] ishan.ranatunga:
nope. i forgot it. :crying: :crying::crying: that's why i'm here.. :crying::crying:
[Sony Cross-Device General] casouzaj:
That's really unfortunate! I was about to describe what I did to get my Z3C phone certified by Play Store, with all its DRM keys active and SafetyNet passing, All this whilst keeping its bootloader unlocked. But that requires a previous TA partition backup.
[Sony Cross-Device General] ishan.ranatunga:
So there is nothing to do to get the camera quality back? :crying:
[Sony Cross-Device General] nailyk:
Install Lineage 14.1
[Sony Cross-Device General] GenTarkin:
Happy to report success w/ the z1c mod!

I have an unlocked bootloader, rooted and stock LP 5.1.1

I did the following:

Downloaded zip file for z1c

Rebooted into TWRP recovery

Created full TWRP backup

Deleted the following folders:

/data/credmgr

/data/drm

/data/mediadrm

Wiped cache and dalvik-cache(did NOT wipe data!)

Installed zip

Rebooted

Wiped cache & data for - Camera / Camera Common / Cameras / Video

Tested ISO 12800 manual mode picture taking and its a complete night and day difference!!!!!! Before - the shots were hardly useable After - could barely see anymore noise in ISO12800!!!

Also, my "sony software update" app found new updates to TrackID, Video and Podcast(think there were 1 or 2 others) ... I believe these all previously used to use DRM keys to some degree.

So, this is now definitely working on my phone!!! Im so happy to have regained this type of picture quality back as well =)

Im glad this worked w/o having to wipe my Data =)
[Sony Cross-Device General] chopper:
Nothing's changed

Installed this in my Xperia Z on stock 5.1.1 rom (.228), followed the instructions carefully, but the camera quality is still bad (noise everywhere). I have no TA backup. :(
[Sony Cross-Device General] GenTarkin:
Are you referring to the steps I outlined above for my z1c or u referring to the OP instructions?

If the former then, my method may not work on just a Z, if the latter ... try my method on ur Z , make sure u download right zip tho =)
[Sony Cross-Device General] chopper:
I have tried both yours and OP's method. Camera quality is still the same.. Noise everywhere :(
[Sony Cross-Device General] freaky2xd:
Does it work on the newest Marshmallow 6.0.1 build 5.11 on myXperia Z5 E6653?
[Sony Cross-Device General] XDAample:
good tip
[Sony Cross-Device General] Dhicky:
A

I have Xperia Z, 5.1.1 rom (2.2.8) sama ga punta TA backup. And I flashed the zip, it Worked! Camera is like new , BE works, I dunno about screen mirroring etc bcs I never use them :)

---------- Post added at 06:38 AM ---------- Previous post was at 06:37 AM ----------

But I have been wondering, will it work if I flash custom kernel?
[Sony Cross-Device General] freaky2xd:
anybody tested the zip on the Xperia Z5 E6653 running Android 6.0.1 (build 5.11, deodexed+superuser)?
[Sony Cross-Device General] aoxe:
Hi,

is there a way to remove the drm mod without wiping data (sorry for that noob question :D) ?
[Sony Cross-Device General] aoxe:
No one can tell me ?

I would not prefer to wipe everything :(
[Sony Cross-Device General] adryanodej:
Not working on z5compact with M 6.1.. it`s posibile to make this mod working on 6.1?
[Sony Cross-Device General] Botandroid:
Works perfectly in my z3 d 6603! Thanks
[Sony Cross-Device General] AtlasRedux:
Anyone tried this on Z3+ using https://xdaforums.com/xperia-z4/orig-development/rom-lineageos-14-1-e6533-e6553-t3536845

And can someone translate the broken English for me, please? I'm Norwegian, and I've tried to read through how to use this restoration at least 10 times, and I don't understand anything at all, it just hurts my head ...
[Sony Cross-Device General] batmanlovesuperman:
Hi, thanks for your mod

I want to know if its working on marshmallow or not. Thanks. I have a z3c
[Sony Cross-Device General] iXaidyiu:
It does.
[Sony Cross-Device General] Ticklefish:
Does this mod on the X series? I have an XA1 running Nougat and the only way to root it at the moment is to unlock the bootloader. I really don't want to make my camera worse..
[Sony Cross-Device General] killphillxr:
Hello, should this work on Xperia Z3 Compact, running lolipop ROM (SLIM by Wajk). I tried full wipe, clean install rom and flash this mod immediately - still fish eye after first boot... On other Android 6 ROM it was working flawlessly. Thank you
[Sony Cross-Device General] Mustafa Altamimi:
THX [MENTION=4699816]jimRnor[/MENTION] you are creative and do not know how to thank you for this effort :highfive:
[Sony Cross-Device General] Roy Aldo Y:
My camera can't open after flash it

http://imgur.com/a/VoeTy

My device is xperia z3 D6653 with MM os

Please help me
[Sony Cross-Device General] Zur75:
Not working on E6833 with Nougat 7.1.1
[Sony Cross-Device General] mirhl:
Any chance this could also get to include Xperia S, U and T generations?
[Sony Cross-Device General] Stronger1101:
Hi guys.

Anybody know restore the DRM keys? I have the backup of TA partition of my D5803 for 291 firmware but I coud not restore with the backup.

Thanks.