[MOD] DRM FUNCTION RESTORATION FOR UB DEVICE | LP Worked!! - Sony Xperia ZR

Sorry for my bad english
Source of http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
DISCLAIMER: I AM Not Taking ANY RESPONSIBLE TO YOUR CRASHED SYSTEM OR ELSE,AND PLEASE ASK FOR MY PERMISSION BEFORE YOU INCLUDE IT TO YOU MOD OR WHAT
Quote:​Hi Everyone who has the awesome xperia device. Did you getting suffer when unlocking the bootloader it will disable the effect of NOISE-CANCELING, BRAVIA ENGINE, X-REALITY or else?
And for unlocked bootloader users, did you have a little suffer on your broken Noise Canceling , BRAVIA ENGINE?:crying:
So, This mod is for::victory:​>This MOD WILL NOT RESTORE YOUR HANDSET'S DRM KEY!
>This mod is only for Unlocked Bootloader Xperia devices
>Reactivated Bravia Engine
>Reactivated Noise cancelling
>Reactivated the picture noise that will appear in dark situation( BionZ)
>Reactivated the red-green noise that appear in dark capturing
BUT THIS MOD WONT RECOVER THE DRM KEYS THAT YOU LOST AFTER UB,THIS MOD IS RESTORING THE FEATURES THAT LOSS BY UNLOCKING THE BOOTLOADER!
Well, Except this the main BANEFITS of this mod is
Just Deodex your ROM and you are going on!
And Its EXTREMELY Light! The size of it was <2MB!
CAUTION: YOU HAVE TO FOLLOW THE INSTRUCTION STEP BY STEP, OR IT MAY COLLAPSE OR IT WILL NOT WORKING!
ANDROID LOLIPOP USERS( STOCK ONLY ) THE MOD HAS BEEN UPDATED AND TESTED BY ME AND TEAM EXR, AND NOW THE NEWER VERSION HAS RELEASED FOR LOLIPOP. WORK!!
AND! MAKE SURE THE FTF YOU DOWNLOADED HAS THE TA PARTITION INSIDE THE FTF, OR THE MOD WILL NOT WORKING TOO!
Requirement:
-> Xperia ZR (C550X) with unlocked bootloader
->FULL complete download FW 10.5.A.0.230 ftf with TA partition​##To LP Users: The steps are 100% same as KitKat does, just remember you have to flash LOLIPOP version of mod not KitKat, or it wont work
-------------Lets do it----------
>First, Download the latest version of Flashtool and install in your pc
>Relock your phone's bootloader via the relock bootloader features that build-in in the Flashtool
>AFTER relock the bootloader, DO NOT TURN ON YOUR PHONE, FLASH 10.5.A.0.230 ftf that second steps does to your phone
(Remember to wipe the APPSLOG,CACHE,DATA that flashtool has default wipe it)
>After done the ftf flashing, turn on your phone, root and install twrp or cwm in your zr(230)
>When your phone are complete root and install twrp or cwm(230), use flashtool's bootloader feature and unlock your bootloader again
>After done for the unlocking, you are all green to flash the previous ROM,kernel, in twrp BUT REMEMBER FLASH THE DRM ZIP AFTER YOU FLASHED!
complete!
Tested for me and WORK!

Related

[FTF][4.2.2] Xperia Tablet Z (SGP321) 10.3.1.A.0.244 Global Unbranded

I built the ftf with Sony Bridge and flashtool 0.9.11.0 and flashed it successfully. This is ONLY for 16GB Xperia Tablet Z LTE (SGP321). Other than that, no warranties.
Download: Google Drive
Mirror: Multiupload thx to Rootk1t for uploading
MD5: 6144bc13086af13934b3253e7ec739ad
----------
How to root 244:
I am not responsible if you attempt this and something breaks
1. Flash 307 and root it
2. Back up the TA with tool from here
3. Unlock BL with Flashtool
4. Update to 244 with Flashtool
5. Boot from CM10.2 boot.img (Can be taken from any CM10.1 or 10.2 ROM or for your convenience from here) into recovery by selecting Flash -> Fastboot Mode -> HotBoot Kernel (Sometimes this does not work, if so unhide steps 5a and 6a otherwise continue)
5a. Flash CM10.2 Recovery in console with
Code:
fastboot flash boot boot.img
6. Apply SuperSu via update.zip (Superuser does not work as it seems to not support the new User Management feature permissions of 4.2.2)
6a. ReFlash 244 but without wiping data and excluding system partition from the flash
7. ReLock BL with Flashtool (This step may be unnecesarry, because the backed up TA relocks the BL as well)
8. Restore the TA from the backup
Its a little inconvenient, but it worked for me, and now I am rooted an still have all my DRM keys
Thanks for sharing, download now
Great thanks!
Gesendet von meinem Nexus 4 mit Tapatalk 2
Thanks!! Reserved
Sent from my LG-LS970 using xda app-developers app
Mirror - http://www.multiupload.nl/GW1CX4TRI1
I get this strange All checkpoints reached in the taskbar? Is it removable somehow?
Sorry as second reboot removed it.
dlindh said:
I get this strange All checkpoints reached in the taskbar? Is it removable somehow?
Click to expand...
Click to collapse
You did not reboot the tablet once it told you so after the initial startup, didn't you
Just go to Settings -> Apps -> Currently running and kill the sony startup service. It will tell you its dangerous to do so, but do it anyway, as it is finished doing what it was supposed to do.
lowtraxx said:
You did not reboot the tablet once it told you so after the initial startup, didn't you
Just go to Settings -> Apps -> Currently running and kill the sony startup service. It will tell you its dangerous to do so, but do it anyway, as it is finished doing what it was supposed to do.
Click to expand...
Click to collapse
Can you make kernel as ftf to flash it separately in order flash it after rooted with older kernel.
Rootk1t said:
Can you make kernel as ftf to flash it separately in order flash it after rooted with older kernel.
Click to expand...
Click to collapse
I tried with the older kernel from the 307 ftf, but they are not compatible (Tablet will not boot) So rooting is a no-go ATM (unless your bootloader is unlocked) because there is no older 4.2.2 thats rootable for the Tablet Z.
lowtraxx said:
I tried with the older kernel from the 307 ftf, but they are not compatible (Tablet will not boot) So rooting is a no-go ATM (unless your bootloader is unlocked) because there is no older 4.2.2 thats rootable for the Tablet Z.
Click to expand...
Click to collapse
so do i. Flashed kernel from 307 firmware. Got bootloop. Now flashing to 4.2.2 again.
This method is not working properly cause old kernel for smartphone was already for 4.2.2 and we don't have rootable kernel for tablet z.
Successfully rooted the 10.3.1.A.0.244 while preserving my DRM keys
Successfully rooted the 10.3.1.A.0.244 while preserving my DRM keys. It worked for me but I am not responsible if you attempt this and something breaks.
1. Flash 307 and root it
2. Back up the TA with tool from here
3. Unlock BL with Flashtool
4. Update to 244 with Flashtool
5. Boot from CM10.2 boot.img (Can be taken from any CM10.1 or 10.2 ROM or for your convenience from here) into recovery by selecting Flash -> Fastboot Mode -> HotBoot Kernel (Sometimes this does not work, if so unhide steps 5a and 6a otherwise continue)
5a. Flash CM10.2 Recovery in console with
Code:
fastboot flash boot boot.img
6. Apply SuperSu via update.zip (Superuser does not work as it seems to not support the new User Management feature permissions of 4.2.2)
6a. ReFlash 244 but without wiping data and excluding system partition from the flash
7. ReLock BL with Flashtool (This step may be unnecesarry, because the backed up TA relocks the BL as well)
8. Restore the TA from the backup
Its a little inconvenient, but it worked for me, and now I am rooted an still have all my DRM keys
lowtraxx said:
Successfully rooted the 10.3.1.A.0.244 while preserving my DRM keys. It worked for me but I am not responsible if you attempt this and something breaks.
Its a little inconvenient, but it worked, and now I am rooted an still have all my DRM keys
Click to expand...
Click to collapse
I think it's easier to get root on .307 firmware, save it with OTA Root keeper and then update to 10.3.1.A.0.244 with pc-companion and restore root.
Rootk1t said:
I think it's easier to get root on .307 firmware, save it with OTA Root keeper and then update to 10.3.1.A.0.244 with pc-companion and restore root.
Click to expand...
Click to collapse
Yes it is, if you already are able to update via PC Companion. This is more meant for people that do not see the update and want to get it via ftf. Or are you able to update as soon as 244 was present on your device once?
Rootk1t said:
I think it's easier to get root on .307 firmware, save it with OTA Root keeper and then update to 10.3.1.A.0.244 with pc-companion and restore root.
Click to expand...
Click to collapse
Is this way can do with Locked Bootloader users?
Sent from my C6603 using xda premium
lowtraxx said:
Yes it is, if you already are able to update via PC Companion. This is more meant for people that do not see the update and want to get it via ftf. Or are you able to update as soon as 244 was present on your device once?
Click to expand...
Click to collapse
the update is available for me via pc-companion from 05.08.13. As far as i understood pc-companion performs update without wipes, so all user information is untouched and therefore root can be saved.
isaacius0323 said:
Is this way can do with Locked Bootloader users?Sent from my C6603 using xda premium
Click to expand...
Click to collapse
yes.
lowtraxx said:
I tried with the older kernel from the 307 ftf, but they are not compatible (Tablet will not boot) So rooting is a no-go ATM (unless your bootloader is unlocked) because there is no older 4.2.2 thats rootable for the Tablet Z.
Click to expand...
Click to collapse
hello i was just wondering if this 4.2.2 ftf is rootable because i got my boatloader unlocked but just wana make sure, any advise would be much appreciated. thankyou :good:
eman2001 said:
hello i was just wondering if this 4.2.2 ftf is rootable because i got my boatloader unlocked but just wana make sure, any advise would be much appreciated. thankyou :good:
Click to expand...
Click to collapse
Yes it is. See post #11
But if you stay unlcoked it should be even easier.
1. Get yourself a boot.img with attached recovery (CM 10.1 for example)
2. Use flashtool to fastboot the boot.img as temporary kernel (not flashing, just booting)
3. Press Vol Up to get into recovery
4. Flash SuperSU
Are there still reboots when you try to mount /system as rw with locked bootloader?
@lowtraxx: you don't need to relock the bootloader with flashtool because if you flash back your ta backup it is locked again. I'll also flash back my ta when the wifi version of the 4.2.2 update will be released. Now i am on cm10.1
Gesendet von meinem SGP311 mit Tapatalk 4
om22 said:
Are there still reboots when you try to mount /system as rw with locked bootloader?
@lowtraxx: you don't need to relock the bootloader with flashtool because if you flash back your ta backup it is locked again. I'll also flash back my ta when the wifi version of the 4.2.2 update will be released. Now i am on cm10.1
Gesendet von meinem SGP311 mit Tapatalk 4
Click to expand...
Click to collapse
Just tried a
Code:
su
mount -o remount /system
cd /system
ls -l
after 2 minutes still no reboot. So I guess it does not.
lowtraxx said:
Yes it is. See post #11
But if you stay unlcoked it should be even easier.
1. Get yourself a boot.img with attached recovery (CM 10.1 for example)
2. Use flashtool to fastboot the boot.img as temporary kernel (not flashing, just booting)
3. Press Vol Up to get into recovery
4. Flash SuperSU
Click to expand...
Click to collapse
:good:wooow great thanks am downloading now will flash after work :good:

Rooting from .101 walkthrough

This is the first time I root/flash my Xperia ZR from .101. This post is to document how I rooted my phone and the problems I encountered.
Tools I used:
Helium - App Sync and Backup
https://play.google.com/store/apps/details?id=com.koushikdutta.backup
Flashtool (Windows Installer)
http://www.flashtool.net/index.php
Backup TA
http://forum.xda-developers.com/showthread.php?t=2292598
DooMLoRD Easy-Rooting-Toolkit v17
http://forum.xda-developers.com/showthread.php?t=2327472
XZDualRecovery
http://forum.xda-developers.com/showthread.php?t=2261606
ROM/files used:
[Stock ROM][LB&UB][4.3] Rooted, Deodexed & Zipaligned Stock 10.4.1.B.0.101
by IJskonijn22
http://forum.xda-developers.com/showthread.php?t=2713073
C5503_10.1.1.A.1.310_GLOBAL-LTE.ftf: which can be downloaded from the above thread
C5503_10.4.1.B.0.101_Generic NL.ftf: which can be downloaded from the above thread
Idea:
1. Downgrade to .310
2. Root it
3. Install Recovery
4. Flash rooted .101 ROM
Steps:
1. Backup all the data in the Internal Storage
2. Backup apps data using Helium - App Sync and Backup
3. Install all Flashtool and driver
Flashtool comes with drivers installer. I checked "Flashmode Drivers", "Fastboot Drivers", and "Common drivers Lagan, Fusion3 board"
4. Enable USB Debugging
5. Use Flashtool and Flashmode to downgrade to .310
When asked to hold "back buttom" and connect the USB cable, hold volumn down instead.
6. After booting into .310, enable USB Debugging Mode and UNKNOWN SOURCES
7. Make sure you close Flashtool in your PC
8. Run runme_win.bat in DooMLoRD Easy-Rooting-Toolkit v17 and root the device
9. (Optional) After rooting, backup the TA in case you need to unlock the device in the future.
10. Run install.bat and install XZDualRecovery
11. Copy the ROM zip file to the SD card and flash it using Recovery
12. Swith Off the device
13. Use Flashtool to flash C5503_10.4.1.B.0.101_Generic NL.ftf, CHECK exclude system
14. Boot and after 1-2 minutes, reboot the phone
15. Restore apps data
16. DONE
Advice:
1. Take some screenshots for the homescreen before everthing, so you can put the apps icons back to where they were after rooting the phone
2. Check MD5 checksum of the files downloaded
3. Make sure the battery of the PC and phone are enough
4. Download everything before you start
5. Have fun
Some problems I encountered:
Problem with MTP/MSC USB Mode:
MTP mode seems cannot be used with Flashtool. For .101, you can find them in Setting->Xperia->USB Connection.
Using DooMLoRD Easy-Rooting-Toolkit v17, got stuck at *daemon started successfully*:
1. Make sure ADB driver is installed
2. Make sure no other adb.exe process is on
3. Make sure USB Debugging Mode and UNKNOWN SOURCES are enabled
4. Try Restart PC
5. Try uninstall drivers and install again
Hello,
for all fellow ZR users: you do not need to downgrade your ROM version to root it.
here is a simple way, you will only need Flashtool, Cyanogenmod kernel, SuperSu zip and original .230 ROM kernel
1 Backup TA, link provided in first post (this is optional but highly RECOMMENDED)
2 Unlock Bootloader, you will need flashtool and code from Sony
3 Download SuperSu and place it somewhere on your device
4 Flash boot.img from CyanogenMod 10.2.1 (unzip and flash only boot.img using fastboot mode - USB in holding vol+ while device is powered off)
5 Boot into recovery (power on, hold Vol+), choose "install zip from SD card", find where u placed SuperSu zip, install it and power off the device, do not do anything more
6 Connect device in flashmode (USB in holding vol- while device powered off) and flash the kernel form your 10.5.A.0.230 ROM (or any .230 ftf for that matter, for ex. this). Flash ONLY kernel, uncheck everything else.
Original instructions for previous versions of ZR firmware are here courtesy of NeoJeo
drZeT said:
Hello,
for all fellow ZR users: you do not need to downgrade your ROM version to root it.
here is a simple way, you will only need Flashtool, Cyanogenmod kernel, SuperSu zip and original .230 ROM kernel
1 Backup TA, link provided in first post (this is optional but highly RECOMMENDED)
2 Unlock Bootloader, you will need flashtool and code from Sony
3 Download SuperSu and place it somewhere on your device
4 Flash boot.img from CyanogenMod 10.2.1 (unzip and flash only boot.img using fastboot mode - USB in holding vol+ while device is powered off)
5 Boot into recovery (power on, hold Vol+), choose "install zip from SD card", find where u placed SuperSu zip, install it and power off the device, do not do anything more
6 Connect device in flashmode (USB in holding vol- while device powered off) and flash the kernel form your 10.5.A.0.230 ROM (or any .230 ftf for that matter, for ex. this). Flash ONLY kernel, uncheck everything else.
Original instructions for previous versions of ZR firmware are here courtesy of NeoJeo
Click to expand...
Click to collapse
And if you dont have a ta backup you still need to downgrade to gain root.
If you dont you will lose the drm keys and bravia.
Skickat från min C5503 via Tapatalk
Mario.D said:
And if you dont have a ta backup you still need to downgrade to gain root.
If you dont you will lose the drm keys and bravia.
Skickat från min C5503 via Tapatalk
Click to expand...
Click to collapse
This is a way to root a ZR which includes unlocking the bootloader, it is clearly stated. Unlocking your bootloader is supported by manufacturer since it is Sony who provides you with a key. So I suppose it is no more unsafe than any other operation with the device, although yes it voids your warranty. That's why making TA backup is recommended, one can relock the bootloader easily with it.
If one's priority is safe play, do not proceed with flashing and rooting in the first place.
sijav said:
well that's interesting that you had restored your TA without downgrade. I couldn't.
alright I just translated with google, did you mean: derogate = void? cumbersome = bloated? and lengthy = too many steps? please correct me if I'm wrong my English is not good.
Click to expand...
Click to collapse
Derogate means belittle, make something appear less than it is. This is what you've done on Thibou's thread and here. It also means not being able to discuss thing in civilized manner, swearing and insults.
Cumbersome means inconvenient or too complex.
Lengthy means taking more time than one would expect
sijav said:
oh and I don't give a **** for your thinking too if you don't like it, you're free to report me to moderators.
Click to expand...
Click to collapse
This is exactly what I have done.
drZeT said:
Derogate means belittle, make something appear less than it is. This is what you've done on Thibou's thread and here. It also means not being able to discuss thing in civilized manner, swearing and insults.
Cumbersome means inconvenient or too complex.
Lengthy means taking more time than one would expect
This is exactly what I have done.
Click to expand...
Click to collapse
thanks for full translation of those words
This method works with prerooted 4.4 too.
If you want to backup your TA, root is required. And if you are in 4.3/4.4 already, you need to downgrade to root your device tho.
Hi , Everyone is saying one different method. Please give one method. That we will follow. I am really confused by seeing different methods. Don't understand a bit

Just a little would be great

Hello,
To start i'm familiar with android, rooting, custom roms etc. But now I have this very nice new phone this Z3 Compact. A really nice phone but i want more. I just can't get my phone downgraded to .93 firmware to root it without unlocking the bootloader. But i some way it just won't boot properly after flashing one of those. Know i've tried .264 firmware and that one just worked fine.
Mayby you guys could help me out.
I've already managed to update te latest drivers with an unsigned drivers with windows 10 so they are fine...
Hi there
I have had success with doing what you are trying to do.
Search for the file: D5803_23.0.A.2.93_Customized CE1.ftf - it came as a zip but I can't find the link now, it's on here somewhere in the development or original development part of the z3c forum.
And flash it using flashtool64, being sure to check boxes for wiping APPS_LOG AND USERDATA and when it asks if you want to use script, click no.
After you have successfully booted into that firmware, carefully follow instructions for giefroot to gain root access via USB and your computer.
http://forum.xda-developers.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598
Somebody else will have to help you from there because I could not work out how to upgrade out of that old firmware without losing root. I ended up unlocking the bootloader and flashing viper-x which is pre-rooted marshmallow rom by Jenkins. I then applied DRM restore and it appears to have worked...I got the phone as a hand-me-down so I don't really care about losing warranty. It already had a smashed back.
Good luck.
You'll end up unlocking that son of a ***** some time ;p
I already had that file, that you recommend, it didn't work, but i'll try it again. Mayby it's a corrupt file.
Hope it is!
EDIT
Thanks m8 don't know what i was doing wrong but hey it worked! Guess a corrupt file mayby.
Ok,
I know want to backup my DRM files, but it says it can't start ADB server and offcourse the check for SU binary FAILED and also the request for root permission. But my phone is rooted, tested with root checker!
Any stepps i missed mayby?
Problem solved, I had to restart my Pc in order to start ADB deamon normal!
From this guide
40 Flash the pre-rooted fw (flashable.zip) from the recovery (touch "install zip", select /storage/sdcard1/flashable.zip then confirm install) on the phone, then power off the phone (DO NOT REBOOT)
41 To power off, go into the "power options" and hit "power off" (dont do "reboot in flashmode" DO power off)
42 Unplug USB (yes this is required, DO IT)
43 Open Flashtool and select the non-pre-rooted fw (this is 23.1.A.0.690), but DESELECT system: in "EXCLUDE" make sure you check the checkbox next to "SYSTEM", flash it.
44 press volume DOWN and plug USB cable while keeping volume DOWN pressed, when flashing starts, stop pressing the volume button
45 After flash is done and when flashtool tells you to, remove USB cable and start the phone
46 Congrats and enjoy, you made it to the end! you now have latest + recovery + root and backups of your DRM keys! (and of course all DRM functions enabled)
Click to expand...
Click to collapse
I'm currently on firmware 23.0.A.2.93 and rooted but this is android 4.4.4 and i want 5.1.1 as mentioned below.
I've downloaded a pre rooted firmware and put it on my sdcard [Rom][5.1.1][D5803]Pre-Rooted+++XZDR+2.8.21+[23.4.A.1.264]+-+BAL.zip.
I took a pre rooted firmware Newer then the guid listen to...
Is it now possible to just take this stock firmware D5803_23.4.A.1.264_1289-4696_R8C.ftf
How do i need to setup flashtool is this ok?
https://onedrive.live.com/redir?resid=AC16F01210B5FE5C!119&authkey=!ADFqguAuL4wnEps&v=3&ithint=photo%2cJPG
And why do we need to flash a stock firmware again without the system? Isn't this pre rooted firmware not enough ?
It would be great for some little help!!
I can guess why you don't want to unlock your bootloader, if its because you don't want to lose Sony's camera functionality and post image processing along with X-Reality
--------------------------------------
>Backup your DRM Keys using backup-ta get it here
>Unlock your bootloader via Sony's Website
>Flash any custom kernel with recovery pre-installed
>Flash SuperSU latest zip
>Flash this zip file to restore DRM Functions ( credits to @jimRnor )
>And you have a perfectly rooted phone with busybox installed
------------------------------------------
If you are still on kitkat ( Firmware .93 ) its very easy to get 5.1.1, just download a .246 (5.1.1) custom rom found in the Android Development Section, most custom roms are pre-rooted meaning you can flash them and still have root access on your device.
All you need to do is achieve root by using GIEFroot, and afterwards install NUTs Lockeddualrecovery so you can flash the rom. ( Take Note this only works for the .93 firmware [KK] )
If you plan to you use flashtool you cannot gain root on lollipop unless you have unlocked bootloader. Flashtool's main purpose is for locked bootloader devices to recover faster from bootloops and the like.

regarding xreality and camera hanging

Hi, excuseme a few days ago I unlock my z3+ dual bootloader and try to root it. But after reboot I see that the x-reality and supervivid mode lost! Also camera freez in video mode and dont record.
Now I want back to my previous status befor rooting my phone. I means factory mode when I bought phone.
What can I do?!!!
In these thread I understand some but I want to be sure.
I must download 32.2.A.0.253 ftf file and flash via flashtools. Then I flash your kernel. I downloaded v3 provided by you, is it true?!
Then boot into recovery and flash kernel again and then do factory reset and wipe dalvick cache and cache and reboot.
I dont want root any more.
Is this method that I mentioned restor my lost drm key? And this lost featured will back?
Please answer me. Thank you so much. Sorry for my bad english.
Note that Im on 32.2.A.5.11 frimware!
xpvijay said:
Hi, excuseme a few days ago I unlock my z3+ dual bootloader and try to root it. But after reboot I see that the x-reality and supervivid mode lost! Also camera freez in video mode and dont record.
Now I want back to my previous status befor rooting my phone. I means factory mode when I bought phone.
What can I do?!!!
In these thread I understand some but I want to be sure.
I must download 32.2.A.0.253 ftf file and flash via flashtools. Then I flash your kernel. I downloaded v3 provided by you, is it true?!
Then boot into recovery and flash kernel again and then do factory reset and wipe dalvick cache and cache and reboot.
I dont want root any more.
Is this method that I mentioned restor my lost drm key? And this lost featured will back?
Please answer me. Thank you so much. Sorry for my bad english.
Note that Im on 32.2.A.5.11 frimware!
Click to expand...
Click to collapse
FIRST, IF YOU DID NOT BACKUP YOUR DRM KEYS(TA PARTITION BACKUP) , THEY ARE LOST FOREVER
You need root, to restore the emulated DRM, some rooted kernels already have drm fix in them.
i'll explain, since your bootloader is already unlocked.
1. Download and instal the latest 32.2.A.5.11 firmware via flashtool
2. boot in fastboot and flash the kernel in the link below(update 4), it has trwp drm fix, rootable, dm verity.
3. http://forum.xda-developers.com/xpe...rnel-ric-disable-twrp-root-dm-verity-t3417078
4. Enter TRWP (spam vol up when sony logo appears), flash latest SU ( https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.79-201612051815.zip )
5. You are all done, xreality works and most of the stuff linked to drm like bionz etc
Have fun~
zemetal said:
FIRST, IF YOU DID NOT BACKUP YOUR DRM KEYS(TA PARTITION BACKUP) , THEY ARE LOST FOREVER
You need root, to restore the emulated DRM, some rooted kernels already have drm fix in them.
i'll explain, since your bootloader is already unlocked.
1. Download and instal the latest 32.2.A.5.11 firmware via flashtool
2. boot in fastboot and flash the kernel in the link below(update 4), it has trwp drm fix, rootable, dm verity.
3. http://forum.xda-developers.com/xpe...rnel-ric-disable-twrp-root-dm-verity-t3417078
4. Enter TRWP (spam vol up when sony logo appears), flash latest SU ( https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.79-201612051815.zip )
5. You are all done, xreality works and most of the stuff linked to drm like bionz etc
Have fun~
Click to expand...
Click to collapse
can u tell me how to restore ta backup
xpvijay said:
can u tell me how to restore ta backup
Click to expand...
Click to collapse
question is, did you make a ta backup before unlocking your bootloader?
if the answer is no, do not ever try to restore the ta backup of another phone, DRMs are unique, your phone will be permanently bricked.
Yes I have backed up ta using this tool http://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
can u tell me how to restore??
xpvijay said:
Yes I have backed up ta using this tool http://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
can u tell me how to restore??
Click to expand...
Click to collapse
in flashtool, go advance mode, then restore
p.s: am not responsible if anything goes wrong.

[Q] How to go back to stock? - black rear camera problem and bootloop

Hi,
I experienced black rear camera bug on Official LOS16 (I have to admit that i had made backup and tested carbon and LOS17) Now i installed 17 to test if is it ROM problem but i think it is unfortunatelly hardware problem. I saw other threads and searched internet and decided to install stock branded marshmallow, lock bootloader (Yes, I had backup TA before UB) and send it to official Sony service because I should still have warranty.
But...
I don't know how to install stock ROM. I downloaded branded software from XperiFirm and stopped there. How to flash it and not brick device? Newflasher is for newer models. Flashtool needs .ftf file. I searched how to convert XperiFirm package to .ftf on other model but there is step where you have to decrypt some files (I couldn't find them in downloaded software package).
I thought about second option - format and wipe in twrp all internal partitions and use Xperia Companion Software Repair. Actually I don't know does it work properly with UB devices...
I decided to go to the unofficial Sony devices service if it'd be problem with sending it to official Sony service.
What do you suggest? Is it easy and cheap enough repair for unofficial service not to damage device? I have no tools in home neither any preferences or experiences to do that by myself. Should I skip installing stock and go straight to the unofficial service?
If you suggest relocking device please help me and write step by step, noob friendly instruction how to flash XperiFirm package by flashtool or post made that way tutorial.
If you can help me, thank you!
If you use Xperifirm within Flashtools, it should download and automatically repackage it to an FTF file.
Or https://forum.xda-developers.com/z3-compact/general/ref-roms-guides-tutorials-faqs-t3035066
temporary2010 said:
If you use Xperifirm within Flashtools, it should download and automatically repackage it to an FTF file.
Or https://forum.xda-developers.com/z3-compact/general/ref-roms-guides-tutorials-faqs-t3035066
Click to expand...
Click to collapse
Thank you so much! I think it'll help me solve the problem :good:
After long brake I decided to flash stock, after I got problems with lineage.
Flashtool downloaded and prepared necessary files and flashed successfully firmware. (as you said it should :good: )
Next when I reboot, got bootloop.
Tried Xperia companion, it said that my phone is unlocked and it won't proceed
So tired flash twrp from NeoArians lineageos17 thread using fastboot flash recovery
Nothing and reboot to stock with bootloop
Tried to boot in twrp using command fastboot boot
Black screen and force shutdown
Tried to flash another firmware branded for my country
Again bootloop
Maybe there is another ftf which I should flash, not that one from xperifirm?
Hmh I'm run out of ideas, please help me.
Summary What I have:
-Xperia Z3 Compact with not working camera and flashed stock firmware.
-Bootloop
-ta partition backup
-working flashtool, xperifirm and Xperia companion
-Adb and fastboot
If you know what I did wrong, please tell me. I'd be very grateful if someone help me
BigBrother84 said:
After long brake I decided to flash stock, after I got problems with lineage.
Flashtool downloaded and prepared necessary files and flashed successfully firmware. (as you said it should :good: )
Next when I reboot, got bootloop.
Tried Xperia companion, it said that my phone is unlocked and it won't proceed
So tired flash twrp from NeoArians lineageos17 thread using fastboot flash recovery
Nothing and reboot to stock with bootloop
Tried to boot in twrp using command fastboot boot
Black screen and force shutdown
Tried to flash another firmware branded for my country
Again bootloop
Maybe there is another ftf which I should flash, not that one from xperifirm?
Hmh I'm run out of ideas, please help me.
Summary What I have:
-Xperia Z3 Compact with not working camera and flashed stock firmware.
-Bootloop
-ta partition backup
-working flashtool, xperifirm and Xperia companion
-Adb and fastboot
If you know what I did wrong, please tell me. I'd be very grateful if someone help me
Click to expand...
Click to collapse
For every bootloop of sony device use Emma (flashtool from sony). It's cure for everything.
EDIT: it will of course delete everything from a device.
Yes! It helped for bootloop! Tank you, checked camera and now I know 100% it is hardware problem!
Thank you :highfive:

Categories

Resources