Related
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)
- THIS GUIDE WILL RESTORE THE DRM KEYS FOR THE SONY FEATURES TO WORK AGAIN(CAMERA X-REALITY ETC...)
NOT UR ORIGINAL KEYS,
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 kernelV2 (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.
I didn't backed up earlier, Already lost my DRM, can I restore it still :$ ?
shakkirk said:
I didn't backed up earlier, Already lost my DRM, can I restore it still :$ ?
Click to expand...
Click to collapse
yes
look post 1
dennis46419 said:
yes
look post 1
Click to expand...
Click to collapse
U shure? If he did no backup and unlocked bl, they are gone as far as i know
shakkirk said:
I didn't backed up earlier, Already lost my DRM, can I restore it still :$ ?
Click to expand...
Click to collapse
Same question here. It is not clear from the first post whether this restores DRM after losing it.
I'm guessing it will work without original backups as there is no part of the tutorial where you restore from a back up. Looks more like a return to stock from any state.
Not that I'm an expert, last Sony I had was a Z1.
Sent from my Nexus 5
This guide will restore the drm keys for the sony features to work again(camera x-reality etc...)
not ur original keys,,added zip drm restore zip in first post
Deleted
I'am not sure if I got this right, please correct me if I'm wrong:
So using this method I will end up with a custom kernel with custom recovery and still got all Sony DRM features that are usually lost when unlocking the bootloader. How exactly does this work? My guess is that the TA partition is not deleted directly by unlocking the bootloader but when booting into Android by the CredentialManagerService. And this hack simply prevents the CredentialManagerService from deleting the TA partition. Am I right?
Edit: I think I got it wrong. This will only restore the Camer and Display features, but not Miracast. Am I right?
Thenetstriker said:
I'am not sure if I got this right, please correct me if I'm wrong:
So using this method I will end up with a custom kernel with custom recovery and still got all Sony DRM features that are usually lost when unlocking the bootloader. How exactly does this work? My guess is that the TA partition is not deleted directly by unlocking the bootloader but when booting into Android by the CredentialManagerService. And this hack simply prevents the CredentialManagerService from deleting the TA partition. Am I right?
Edit: I think I got it wrong. This will only restore the Camer and Display features, but not Miracast. Am I right?
Click to expand...
Click to collapse
Yes i think, i didn't test miracast
I did this procedure and it seems to have worked. I had some trouble with flashing when the bl was locked. I had to keep it unlocked the whole time. I had to flash several times due to some error messages in the flash tool.
After doing this can I flash a different LP customization (the US one) while keeping the TA information or do I have to downgrade to KK first, then go back to LP, doing this whole process again?
scottjb said:
I did this procedure and it seems to have worked. I had some trouble with flashing when the bl was locked. I had to keep it unlocked the whole time. I had to flash several times due to some error messages in the flash tool.
After doing this can I flash a different LP customization (the US one) while keeping the TA information or do I have to downgrade to KK first, then go back to LP, doing this whole process again?
Click to expand...
Click to collapse
Glad hear that worked, now remember everytime u flash a lolipop rom u have to flash again the drm restore zip and then reboot from recovery
frago21ps said:
Glad hear that worked, now remember everytime u flash a lolipop rom u have to flash again the drm restore zip and then reboot from recovery
Click to expand...
Click to collapse
Thanks. Do I only have to flash Lollipop, excluding TA in Flashtool, then the DRM restore zip? Or do I have to go back to KitKat each time?
scottjb said:
Thanks. Do I only have to flash Lollipop, excluding TA in Flashtool, then the DRM restore zip? Or do I have to go back to KitKat each time?
Click to expand...
Click to collapse
No just flash the lop without ta in flastool, no need to go back
frago21ps said:
No just flash the lop without ta in flastool, no need to go back
Click to expand...
Click to collapse
Question, how can you relock your bootloader if you don't have your TA backup?
Sent from my D6603 using XDA Free mobile app
ondrejvaroscak said:
Question, how can you relock your bootloader if you don't have your TA backup?
Sent from my D6603 using XDA Free mobile app
Click to expand...
Click to collapse
From flastool
frago21ps said:
From flastool
Click to expand...
Click to collapse
Of course
Dumb me.
Sent from my D6603 using XDA Free mobile app
what if i directly flash the zip from cm12's recovery maintaining the bootloader locked? (lazyness over 9000)
Anyone tested going from .77 KK to 23.1.A.0.726 ? There's no .690 for D5833
Waiting for confirmation that the AndroPlus kernel will wok on .726.
Step0 Extract These https://www.dropbox.com/s/3w4s95zonkzstfp/Guide.zip?dl=0
https://www.dropbox.com/s/i2zewkiles047jb/Guide2.rar?dl=0 Files To A Folder
Step1 Place The SuperSu zip to your SD card
Step2 Boot To Fastboot Mode And Click On The Batch File(It Will Install The Kernel With Recovery)Or Flash Kernel In Flashtool
Step3 Reboot Phone Press Volume down While Booting you will boot into twrp Flash SuperSu zip and go to advanced Tab and reboot to bootloader(Warning Your Phone Wont Boot Into System)
Step4 Open Flashtool And Flash The FTF Attached
Step5 Your Rooted
PS:All Files Provided Are Not Mine They Are The Work Of The Respective Developers
Also I Am Not Responsible For Bricked Devices
i had unlockd BL, I flashed lollipop ftf by flashtool. my BL still unlockd or is it Locked now?
CLINTZ9 said:
Step0 Extract These https://www.dropbox.com/s/3w4s95zonkzstfp/Guide.zip?dl=0
https://www.dropbox.com/s/i2zewkiles047jb/Guide2.rar?dl=0 Files To A Folder
Step1 Place The SuperSu zip to your SD card
Step2 Boot To Fastboot Mode And Click On The Batch File(It Will Install The Kernel With Recovery)Or Flash Kernel In Flashtool
Step3 Reboot Phone Press Volume down While Booting you will boot into twrp Flash SuperSu zip and go to advanced Tab and reboot to bootloader(Warning Your Phone Wont Boot Into System)
Step4 Open Flashtool And Flash The FTF Attached
Step5 Your Rooted
PS:All Files Provided Are Not Mine They Are The Work Of The Respective Developers
Also I Am Not Responsible For Bricked Devices
Click to expand...
Click to collapse
Can i relock my bootloader after?
Can i restore my TA partion after?
where is the batch file???
I think you can find the batch file in the guide2.rar file.
Is this an unlocked 5.0.2 boot loader or is it from a previous version?
What about rooting the phone, is it enough to have supersu installed?
Unlocked
Yes you can re lock
yes you can restore TA
CLINTZ9 said:
Yes you can re lock
yes you can restore TA
Click to expand...
Click to collapse
Thx
are you testing? no brick?
The FTF is 5.0.2 stock kernel
m!k3 said:
Thx
are you testing? no brick?
Click to expand...
Click to collapse
Yes I Am
TA Restore is also possible
CLINTZ9 said:
Unlocked
Click to expand...
Click to collapse
Ok, and what about root, supersu or more to install?
Device Will be rooted with super su installed
CLINTZ9 said:
Device Will be rooted with super su installed
Click to expand...
Click to collapse
My phone stuck in sony logo after flash kernel ftf
restore phone by flashtool... no root, no ta, sony compagnion
I have playing for about 3 hours to root lolipop without any luck on locked bootloader, selinux seems very restrictive on this Supersu unable to loc su binary, wft?
munjeni said:
I have playing for about 3 hours to root lolipop without any luck on locked bootloader, selinux seems very restrictive on this Supersu unable to loc su binary, wft?
Click to expand...
Click to collapse
So why not give it try to unlock before rooting?
munjeni said:
I have playing for about 3 hours to root lolipop without any luck on locked bootloader, selinux seems very restrictive on this Supersu unable to loc su binary, wft?
Click to expand...
Click to collapse
Yes It is . For now the only solution is a pre rooted fw
m!k3 said:
My phone stuck in sony logo after flash kernel ftf
restore phone by flashtool... no root, no ta, sony compagnion
Click to expand...
Click to collapse
I did it again seems to work fine
Make sure you put the ftf in the firmware folder of flashtool
CLINTZ9 said:
I did it again seems to work fine
Make sure you put the ftf in the firmware folder of flashtool
Click to expand...
Click to collapse
Backup TA partition
Unlock bootloader
flash last lollipop by flashtool
Flash kernel kitkat via flashtool in hotboot mode (fastboot option for flash) (provide by you)
when phone reboot, push volume - when led flash
flash superuser (or nut's dual recovery) by recovery after choose fix su before reboot
hard reboot phone (power + vol +)
clean your phone
relock bootloader
reflash TA partition
all file for root or dual recovery here : https://mega.co.nz/#!ZdARCSIB!p1bSDiYls1cwIve-qC4qdxuXYU0Ilt9pMJPL_z7-qhA
all work fine but not flash boot.img by fastboot directly
you can provide this in your first thread
CLINTZ9 said:
Step0 Extract These https://www.dropbox.com/s/3w4s95zonkzstfp/Guide.zip?dl=0
https://www.dropbox.com/s/i2zewkiles047jb/Guide2.rar?dl=0 Files To A Folder
Step1 Place The SuperSu zip to your SD card
Step2 Boot To Fastboot Mode And Click On The Batch File(It Will Install The Kernel With Recovery)Or Flash Kernel In Flashtool
Step3 Reboot Phone Press Volume down While Booting you will boot into twrp Flash SuperSu zip and go to advanced Tab and reboot to bootloader(Warning Your Phone Wont Boot Into System)
Step4 Open Flashtool And Flash The FTF Attached
Step5 Your Rooted
PS:All Files Provided Are Not Mine They Are The Work Of The Respective Developers
Also I Am Not Responsible For Bricked Devices
Click to expand...
Click to collapse
I thought you could only flash
.ftf with flash mode. I'm stuck at final step,because it says reboot to bootloader, then flash .ftf. Sorry if I'm missing something. Thanks
munjeni said:
I have playing for about 3 hours to root lolipop without any luck on locked bootloader, selinux seems very restrictive on this Supersu unable to loc su binary, wft?
Click to expand...
Click to collapse
dear master, I'm not a developer maybe this will help you to bypass SELinux
http://forum.xda-developers.com/showpost.php?p=59879026&postcount=3837
There are quite a few threads that have all the information but for new Z3TC owners, it can be challenging to know where to start and to understand the process.
How I started here is recently purchasing a Rogers Z3TC and to my surprise, the bootloader cannot be unlocked. I shouldn't have been surprised since carriers do tend to lock the bootloaders and if I did my research, I would have found out that Sony offers unlockable and non-unlockable versions of the same hardware. I have never had to worry about having a recovery to root the device or install custom ROMs with root. For anyone new to Android, the recovery is probably the single most important mode to setting up your device the way you want. A prerequisite for that is of course an unlocked bootloader so you can install the recovery of your choice - ClockworkMod (CWM) or TeamWin Recovery Project (TWRP).
So what makes the process confusing for some new Z3TC owners, such as myself, is that the process is somewhat backward. For most of my previous devices, it is:
1. Unlock bootloader
2. Install recovery
3. Gain root through flashing SuperSU or a rooted custom ROM
Because for my Rogers Z3TC cannot be bootloader unlocked, the process now looks like this:
1. Obtain root
2. Install recovery
3. Flash a pre-rooted Lollipop ROM
The only way we can get root on Lollipop is on a pre-rooted ROM because there is no exploit yet to do it directly. The only way we can install a pre-rooted ROM is through a custom recovery. The only way we can get a custom recovery is to be rooted. For unlocked bootloaders, they can get recovery through flashing the img of the recovery. The only way we can obtain root is through an exploit on a Z3 ROM, which thankfully works on the Z3TC due to the similar hardware.
So without quoting all the instructions of each step, I will provide the links and you just have to follow the instructions for each part.
Before you begin, you will need Flashtool and install the drivers for Flashmode and your device. You will not need Fastboot because unfortunately, you wont be doing anything with it on a locked bootloader. You may install it if you want.
If you are on Windows 8.1/10, you will need to to disable driver signature.
1. Obtain root by first flashing SGP621_23.0.1.A.0.167_CE.ftf and the system partition of D6603_23.0.A.2.93_Generic_20GLOBAL.ftf. Then use giefroot to root.
2. Prepare prerooted flashable zip of 23.1.A.0.690 NOBA on your internal storage or external SD.
3. Install XZDualRecovery and now you will have TWRP to install 23.1.A.0.690 NOBA on your SD card.
I would finish off by running SGP621-RICDefeat.zip to get R/W system access.
This is the simple template that I would imagine be the way those of us with locked bootloaders will install custom ROMs, obtain root or upgrade Android.
Thank you @lowtraxx for the root instructions and @[NUT] for the XZDualRecovery.
I am running stock Lollipop now.
If I take above mentioned steps,
do I lose the data with apps and settings I am using now?
ux50jp said:
I am running stock Lollipop now.
If I take above mentioned steps,
do I lose the data with apps and settings I am using now?
Click to expand...
Click to collapse
I have tried downgrading from Lollipop back to step one without wipe in Flashtool but I think the system data are incompatible and caused bootloop.
Once I flashed a fresh SGP621_23.0.1.A.0.167_CE.ftf, I did not bother setting up any apps until I did a fresh install of the pre-rooted Lollipop ROM. If you can back up everything first, that would be best. If you cannot, try Flashtool without wipe and worst case scenario if you bootloop, there is a shut off button beside the SIM card tray and you can still get back into Flashmode.
hellocng said:
I have tried downgrading from Lollipop back to step one without wipe in Flashtool but I think the system data are incompatible and caused bootloop.
Once I flashed a fresh SGP621_23.0.1.A.0.167_CE.ftf, I did not bother setting up any apps until I did a fresh install of the pre-rooted Lollipop ROM. If you can back up everything first, that would be best. If you cannot, try Flashtool without wipe and worst case scenario if you bootloop, there is a shut off button beside the SIM card tray and you can still get back into Flashmode.
Click to expand...
Click to collapse
If someone could do a tutorial video, I think a lot of people along with myself would highly appreciate it. I tried doing root on locked bootloader prior to Lollipop, but it just wasn't happening for me. So I decided to give up and just update it since it was too much of a hassle.
Thanks for the post.
Has anyone else tried this?
I am wondering why the root method previously need to unlock the bootloader to get the 621 firmware back on an rooted.
What has changed for this to work without unlocking the bootloader?
Thanks in advance
hellocng said:
1. Obtain root by first flashing SGP621_23.0.1.A.0.167_CE.ftf and the system partition of D6603_23.0.A.2.93_Generic_20GLOBAL.ftf. Then use giefroot to root.
2. Prepare prerooted flashable zip of 23.1.A.0.690 NOBA on your internal storage or external SD.
3. Install XZDualRecovery and now you will have TWRP to install 23.1.A.0.690 NOBA on your SD card.
I would finish off by running SGP621-RICDefeat.zip to get R/W system access.
This is the simple template that I would imagine be the way those of us with locked bootloaders will install custom ROMs, obtain root or upgrade Android.
Thank you @lowtraxx for the root instructions and @[NUT] for the XZDualRecovery.
Click to expand...
Click to collapse
Will I lose my drm keys by doing this? I want to get root but dont wanna unlock my bootloader
Jiyeon90 said:
Will I lose my drm keys by doing this? I want to get root but dont wanna unlock my bootloader
Click to expand...
Click to collapse
yes if you don't follow this steps
1- flash stock 4.4.4 with flashtool
2-flash the 4.4.4 Z3 system only" with flastool
3-factory reset in settings enable usb debuging etc,etc
4-obtain root with giefroot
5-backup TA partition
6-unlock boot loader
7-install dual recovery
8-flash prerooted 5.0.2 with custom recovery
9- gain get system R/W access with ricdefeat
10-relock boot loader restoring TA
good luck
Jiyeon90 said:
Will I lose my drm keys by doing this? I want to get root but dont wanna unlock my bootloader
Click to expand...
Click to collapse
No, we cannot unlock our bootloader so we will not lose DRM.
Speedy Gonzalez said:
yes if you don't follow this steps
1- flash stock 4.4.4 with flashtool
2-flash the 4.4.4 Z3 system only" with flastool
3-factory reset in settings enable usb debuging etc,etc
4-obtain root with giefroot
5-backup TA partition
6-unlock boot loader
7-install dual recovery
8-flash prerooted 5.0.2 with custom recovery
9- gain get system R/W access with ricdefeat
10-relock boot loader restoring TA
good luck
Click to expand...
Click to collapse
Step 3 and 5 is not necessary because we cant do step 6.
hellocng said:
No, we cannot unlock our bootloader so we will not lose DRM.
Step 3 and 5 is not necessary because we cant do step 6.
Click to expand...
Click to collapse
what do you mean with we can't ? you don't want to ?
Never mind I didn't knew you CAN'T unlock the bootloader at all
1. Obtain root by first flashing SGP621_23.0.1.A.0.167_CE.ftf and the system partition of D6603_23.0.A.2.93_Generic_20GLOBAL.ftf. Then use giefroot to root.
2. Prepare prerooted flashable zip of 23.1.A.0.690 NOBA on your internal storage or external SD.
3. Install XZDualRecovery and now you will have TWRP to install 23.1.A.0.690 NOBA on your SD card.
I would finish off by running SGP621-RICDefeat.zip to get R/W system access.
Click to expand...
Click to collapse
These steps don't unlock bootloader. So DRM stays intact. No need to backup/restore TA!!!
hellocng said:
No, we cannot unlock our bootloader so we will not lose DRM.
Step 3 and 5 is not necessary because we cant do step 6.
Click to expand...
Click to collapse
So I can get root even if I skip step 3, 5, and 6?
Jiyeon90 said:
So I can get root even if I skip step 3, 5, and 6?
Click to expand...
Click to collapse
Yes.
Thank you, its working now, yeah no need to backup TA, unlock bootloader, etc.
It was a bit tricky but not as hard as in the other threads.
I did one mistake, I flashed the SGP621 pre-rooted zip on my SGP611, it wouldnt turn on obviously, so I created a pre-rooted file for the SGP611 and now I'm on lollipop with root and dual recovery
Flashing the ricdefeat file fails everytime though but thats a very minor issue.
Here's the pre-rooted file for the SGP611 users
https://drive.google.com/file/d/0Bz4ANHmLVuVTR2FqWHEzemxORjg/view?usp=sharing
It seems really hard to brick the device too, I ran out of space on my pc while flashing 4.4.4 with flashtool so the processes was aborted at about 50% but I was still able to get into flash mode again.
Jiyeon90 said:
Thank you, its working now, yeah no need to backup TA, unlock bootloader, etc.
It was a bit tricky but not as hard as in the other threads.
I did one mistake, I flashed the SGP621 pre-rooted zip on my SGP611, it wouldnt turn on obviously, so I created a pre-rooted file for the SGP611 and now I'm on lollipop with root and dual recovery
Flashing the ricdefeat file fails everytime though but thats a very minor issue.
Here's the pre-rooted file for the SGP611 users
https://drive.google.com/file/d/0Bz4ANHmLVuVTR2FqWHEzemxORjg/view?usp=sharing
It seems really hard to brick the device too, I ran out of space on my pc while flashing 4.4.4 with flashtool so the processes was aborted at about 50% but I was still able to get into flash mode again.
Click to expand...
Click to collapse
Could that prerooted 611 file work on my lollipop 612? Or would it need 612 specifically to work?
Thanks
GigaSPX said:
Could that prerooted 611 file work on my lollipop 612? Or would it need 612 specifically to work?
Thanks
Click to expand...
Click to collapse
I'm not sure, you could give it a try.
Or just make a pre-rooted file yourself, it's quite easy, just remember to use the right lollipop .FTF file for your 612 device.
Jiyeon90 said:
I'm not sure, you could give it a try.
Or just make a pre-rooted file yourself, it's quite easy, just remember to use the right lollipop .FTF file for your 612 device.
Click to expand...
Click to collapse
Just follow the same instructions from the first post?
GigaSPX said:
Just follow the same instructions from the first post?
Click to expand...
Click to collapse
Yes, what I did was.
Downgrade to 4.4.4 using flashtool, if you are on 611 or 612 dont use the ftf file in the first post as your device wont turn on, use the correct ftf file for your device.
Flash z3 compact system using flashtool (dont wipe anything and exclude everything but system, you will end up with with the z3 system and you will get error messages when you turn it on, thats fine)
Root using giefrrot (it took me 3 tries to get it rooted)
Install double recovery.
Put the pre-rooted file in your phone memory or sd card.
Flash the pre-rooted lollipop file and reboot, thats all.
But as you have the 612 device I would recommend you to make your own pre-rooted file, just follow these instructions
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
Jiyeon90 said:
Flashing the ricdefeat file fails everytime though but thats a very minor issue.
It seems really hard to brick the device too, I ran out of space on my pc while flashing 4.4.4 with flashtool so the processes was aborted at about 50% but I was still able to get into flash mode again.
Click to expand...
Click to collapse
The RICDefeat is quite important if you want to remove bloatware or alter the system in anyway, which is one of my prime reasons for rooting. What was the error or message?
Flash mode is intact as long as the bootloader is locked as we cannot modify any of the kernel or boot partitions.
Jiyeon90 said:
Yes, what I did was.
Downgrade to 4.4.4 using flashtool, if you are on 611 or 612 dont use the ftf file in the first post as your device wont turn on, use the correct ftf file for your device.
Flash z3 compact system using flashtool (dont wipe anything and exclude everything but system, you will end up with with the z3 system and you will get error messages when you turn it on, thats fine)
Root using giefrrot (it took me 3 tries to get it rooted)
Install double recovery.
Put the pre-rooted file in your phone memory or sd card.
Flash the pre-rooted lollipop file and reboot, thats all.
But as you have the 612 device I would recommend you to make your own pre-rooted file, just follow these instructions
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
Click to expand...
Click to collapse
I want to personally thank you for the instructions. I'm now running perfectly as is prerooted Lollipop SGP612. It took me several tries too with the rooting with giefroot because each time I run it, I can't get it connected to USB anymore, which I had to constantly restart to get.
hellocng said:
The RICDefeat is quite important if you want to remove bloatware or alter the system in anyway, which is one of my prime reasons for rooting. What was the error or message?
Flash mode is intact as long as the bootloader is locked as we cannot modify any of the kernel or boot partitions.
Click to expand...
Click to collapse
I don't remember what error message I got, all I remember is seeing the word 'aborted' with the green Android guy laying down.
I have removed several apps that came pre-installed using titanium backup, I also installed the SD card fix so I can use the SD card freely. I haven't had a single issue so far.
---------- Post added at 12:03 AM ---------- Previous post was at 12:03 AM ----------
GigaSPX said:
I want to personally thank you for the instructions. I'm now running perfectly as is prerooted Lollipop SGP612. It took me several tries too with the rooting with giefroot because each time I run it, I can't get it connected to USB anymore, which I had to constantly restart to get.
Click to expand...
Click to collapse
No problem, glad I could help [emoji2]
Hello Guys!
This Guide Is for those who use Computer,Laptops Rarely BUT For This u will Need A PC for First Step!
Lets Get started.
Requirements :-
Flashtool For PC.
Working TWRP Recovery.
Root Is Obvious.
Procedure :-
-First Backup your DRM Keys By Using Backup TA Tool.
-Then open flashtool and Hit The BLU button.
-Connect device In flashmode when it prompts.
-Then Unlock your Bootloader by the code you have received.
[Note - Unlocking bootloader for first time will wipe out your whole data including internal memory]
-After Unlocking Boot into TWRP recovery.
-Goto>Backup>Select TA and Start the process. (Rename the backup as UNlock BL if u want)
-Now Relock your Bootloader again by using Flashtool By hitting BLU button.
-Boot the phone into System and restore the drm keys [Must!]
-After that Reboot into recovery Goto>Backup>Select TA and BOOT IMAGE Also! and Start the process (Rename the backup as Lock BL if u want)
And Done!
Now there will be two backups Named UNLOCK BL and LOCK BL.
So Whenever you want to flash Kernels OR Custom Roms like AOSP,CM,PAC You wont Need a PC to unlock Bootloader!
And Whenever you want to Get back to stock just flash the Stock PRF or Stock Based Rom and Restore (Lock BL Backup) TA and Boot Image!
(Restoring TA From TWRP will also bring back your drm keys)
IF DRM KEYS ARE GONE THE CAMERA GETS WORST IN LOWLIGHT AND WARRANTY WILL ALSO BE VOIDED.
SO THIS GUIDE CAN HELP YOU IF YOU DONT USE PC MUCH AND IN FUTURE U WONT NEED A PC TO UNLOCK/RELOCK BL AND RESTORE DRM KEYS.
Njoy!
Hit Thanx If I helped!
Thnkx bro,worked perfectly for me
Hello working on "bootloader unlock allowed no" ??
daoskar said:
Hello working on "bootloader unlock allowed no" ??
Click to expand...
Click to collapse
Nope.
Quick question
does relocking your bootloader enables OTA updates from Sony !?
chawlasrijan said:
Quick question
does relocking your bootloader enables OTA updates from Sony !?
Click to expand...
Click to collapse
Yes!
SonyRiFle said:
Yes!
Click to expand...
Click to collapse
Thnx, was just making sure
chawlasrijan said:
Thnx, was just making sure
Click to expand...
Click to collapse
No problem As it restores the drm keys u'll get OTA updates and warranty will also b not voided
Never thought of unlocking and relocking this way
Thanks
sshivampp said:
Never thought of unlocking and relocking this way
Thanks
Click to expand...
Click to collapse
I also nvr thought of...Just gave a try n it worked... I Got this idea A year ago...Shared it now
daoskar said:
Hello working on "bootloader unlock allowed no" ??
Click to expand...
Click to collapse
You can unlock the bootloader by s1tools for xperia
SonyRiFle said:
You can unlock the bootloader by s1tools for xperia
Click to expand...
Click to collapse
Really? On which devices? How exactly?
And I have a question about OP.
Can I change the order the backuping TA partition in TWRP?
So may I make a backup from locked BL and TA before I unlocking my BL? Then I unlocking and making backup from unlocked TA or I just can make in your order? (Unloking - > making backup from unlocked BL -> relocking -> making backup from locked BL)
Thanks in advance.
air001 said:
Really? On which devices? How exactly?
And I have a question about OP.
Can I change the order the backuping TA partition in TWRP?
So may I make a backup from locked BL and TA before I unlocking my BL? Then I unlocking and making backup from unlocked TA or I just can make in your order? (Unloking - > making backup from unlocked BL -> relocking -> making backup from locked BL)
Thanks in advance.
Click to expand...
Click to collapse
First backup Locked BL...It will save your drm keys intact
Hello, before I share anything else, I did not create any of these mods. All credits go to the creators, and I am very thankful to them.. I am just excited to share this to people who are still undecided to flash these mods because of bootloops/softbricks.
I am not responsible to anything that happens to your device. ALWAYS MAKE A BACKUP FIRST BEFORE PROCEEDING
So without further ado:
Step 1. Root, Recovery, Backup Restore DRM key
I always have been using this trick to root my Xperia Z5 Dual E6633. Just remember that the link below is for Z5 Compact, but this method should work on any Z5 model, using a Z5 firmware.
http://twigstechtips.blogspot.ca/2016/04/sony-z5-compact-root-without-losing-ta.html
Step 2: Deodex your phone
I have found this Deodex patch thread by lordriguez to deodex .224 firmware. I was doubting at first if it will work on E6633 Dual .224, i risked it, and it worked with no problems. No more .odex in system/app..
http://forum.xda-developers.com/xperia-z5/development/patch-deodex-patch-firmware-200-t3301572
Step 3: Flash Xperia X SystemUI and N-Style
Flash away!
http://forum.xda-developers.com/xperia-z5/themes-apps/mod-n-style-xperia-x-systemui-v1-themes-t3368086
Thats it! Now you have:
1. Latest Marshmallow ROM (.224)
2. Root, TWRP recovery
3. Locked Bootloader
4. DRM Keys intact
5. Deodexed rom
6. Xperia X and Android N themed device
BIG Thanks and credits to:
@Twig for the complete guide to root Z5
@zxz0O0 for the awesome root
@tobias.waldvogel for the rootable kernel w/ dm-verity and SONY RIC off
@lordriguez for the deodex patch
@machao and @nreuge for the ports and sharing of Xperia X SystemUI and N-Style theme
How easy would it be to revert these changes? You mentioned creating a backup, how would one do this?
Wasted1300RPEU said:
How easy would it be to revert these changes? You mentioned creating a backup, how would one do this?
Click to expand...
Click to collapse
I suggest after gaining root and getting TWRP recovery to your phone, thats the time you back up. Im sure the root method works 99% of the time, unless you have the wrong resources. I suggest clean install before flashing these wonderful stuffs. Im using all these mods overnight and I have never encountered a problem, much better battery life. Overnight only 2%, compared to 4-5%, just my own experience.
Did I answer your question?
All are working like a charm thanks but DSEE HX is not working anymore.. Although I restored my DRM KEYS
Sent from my E6633 using Tapatalk
shehabskull said:
All are working like a charm thanks but DSEE HX is not working anymore.. Although I restored my DRM KEYS
Sent from my E6633 using Tapatalk
Click to expand...
Click to collapse
Hmmm... How do u know its not working? Mines working.. I dont have a good ear with the difference but quality seems to be changing
So, in the process you have to unlock the bootloader to get root?
After a couple of restarts it starts to work again
Hello! After restoring the DRM key,the bl is relocked, right? And we can deodexed my phone with locked bl?
Angelgmr said:
So, in the process you have to unlock the bootloader to get root?
Click to expand...
Click to collapse
Yes, you have to unlock your bootloader to be able tk backup your DRM files, and later on use it to your phone with the latest Android version, so that you won't lose any Sony goodies (camera quality, x-reality engine, etc)
revive111 said:
Hello! After restoring the DRM key,the bl is relocked, right? And we can deodexed my phone with locked bl?
Click to expand...
Click to collapse
Yes it is locked again, and yes you can deodex your phone with locked bl. Thats what i did coming fron Lollipop.
Who noticed this in settings / display / image enchament the testing photo doesn't change although I have restored my DRM keys and they are working fine in album
Sent from my E6633 using Tapatalk
xarfrost said:
Yes, you have to unlock your bootloader to be able tk backup your DRM files, and later on use it to your phone with the latest Android version, so that you won't lose any Sony goodies (camera quality, x-reality engine, etc)
Click to expand...
Click to collapse
No, you don't have to unlock to back up TA, because after unlock your keys are lost.
To back them up there is the temporary iovyroot for Lollipop. You just need to downgrade. After backing up your DRM keys you can unlock your bootloader.
Sent from my E6653 using XDA-Developers mobile app
Just followed your instructions and everything is working fine!
Actually, using this method, the bootloader is still unlocked. It was stated on another thread (forum.xda-developers.com/xperia-z5/general/guide-rooting-unlocking-bootloader-t3354307) that uses the same method to backup ta. If you check the rootkernel tool's XDA page, you will see on the FAQ section that a locked bootloader will require kernel packages to be signed by Sony.
everythink worked fine for me. But there is a bug in supersu with with rootkernel method. If you root the kernel with this method you will get later in the supersu app "su file missing". So do the steps provided in rootkernel but dont let them install supersu. Flash it after the kernel manualy in twrp.
One question:
The bootloader is locked again but i still can flash kernel and so on ? also it only show that it is locked but it isnt ?
zottel1993 said:
everythink worked fine for me. But there is a bug in supersu with with rootkernel method. If you root the kernel with this method you will get later in the supersu app "su file missing". So do the steps provided in rootkernel but dont let them install supersu. Flash it after the kernel manualy in twrp.
Click to expand...
Click to collapse
Thank you for this! Was having the "su file missing" problem, and this solved it
FYI, it someone else encounters this: It didn't work just to flash supersu from twrp after I included it in the kernel, I had to patch the kernel without supersu and flash it again. Then flash supersu from twrp.
How to make it work for z5 e6683 UB odex stock rom ?
Sent from my E6683 using Tapatalk