Restore Bravia Engine After Bootloader Unlocking.( Simple & Easiest Method) [SHARE] - Xperia SP General

Restore Bravia Engine After Bootloader Unlocking.( Simple & Easiest Method) [SHARE]
Here is the most easiest way to restore bravia engine even though you lost your drm keys..
Note : This mods works 100% and this mod doesn't bring back your lost drm keys but this restores the functions of drm
Required Things Before Starting :
Stock Based 4.3 ROM(.205 kernel/.207kernel) ,Flashtool,Restore Bravia engine zip file,cwm/twrp recovery,Root Explorer..
Step 1. Power off your unlocked phone/locked with no drm keys
Step 2. Follow this if your boot loader is unlocked only.
Open Flash tool and click blu icon now.
Then you will be asked to connect your device in flash mode(Hold volume down and then press power button,then plugin the usb cable and you will get green light) Now you will be asked to relock your boot loader. Click relock and now your boot loader is locked.
Disconnect your device
Step 3: then go to recovery flash the restore bravia engine zip and reboot.
Step 4: Go to album now, you will get "Unfortunately credential manager service has stopped".
step 5 : Using root explorer mount system in r/o mode and go to system->apps and delete credential manager.apk(noteelete credential manager.odex if your rom is odexed).
Step 6: Reboot your device once again now.
Step 7: Once Again go to recovery and flash the same "restore bravia engine.ip" and now reboot again.
(Note: when flashing the restore bravia zip second time , if your rom supports x-reality engine such as existenz ultra rom v4 then flash the x-reality zip along with the restore bravia engine and then reboot)
Step 8: Now go to settings and check whether bravia/x-reality is enabled
Then check the difference in movies and album app.
YIPEE U GOT THE BRAVIA ENGINE BACK..
Note:This thread is a share which i found at xda (http://forum.xda-developers.com/xpe...er-mod-bravia-engine-2-bring-install-t2610923)

Great! thanks for sharing, I already tried a lot of methods, but they only worked on .257 roms, this worked for me (A.1.207 based rom)

stayawake said:
Great! thanks for sharing, I already tried a lot of methods, but they only worked on .257 roms, this worked for me (A.1.207 based rom)
Click to expand...
Click to collapse
Yeah It is the easiest method i found

This method should lose our data or deliver our devices to factory settings ?
Thanks !

No need to lose ur data bro if u r on a stock/stock based rom...Just follow the instructions and u will get ur drm functionality back

No will not loss any data on flashing this mod
Drakomord said:
This method should lose our data or deliver our devices to factory settings ?
Thanks !
Click to expand...
Click to collapse
No need to lose ur data bro if u r on a stock/stock based rom...Just follow the instructions and u will get ur drm functionality back

Okk ! Thanks !
Just one last question... ^^
It only restore the Bravia Engine functionality or noise reduction in the photos too ?
Like this thread : http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Thank you for your reply !

Can bring back be 2 without restore TA? Im not back up TA at first time unlock bootloader... If can bring back be 2, my status phone still unlock or lock? Thank you

Yes,It does
drakomord said:
okk ! Thanks !
Just one last question... ^^
it only restore the bravia engine functionality or noise reduction in the photos too ?
Like this thread : http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
thank you for your reply ! :d
Click to expand...
Click to collapse
yes bro it completely restores the drm functions to your sp :d

Yes it does but first u relock your boot loader
risckyaw said:
Can bring back be 2 without restore TA? Im not back up TA at first time unlock bootloader... If can bring back be 2, my status phone still unlock or lock? Thank you
Click to expand...
Click to collapse
No need of restoring TA partition and i too lost my TA a long ago dude. First relock ur bootloader using the flash tool and then apply this mod.
It will work 100% if u are on stock .205 or .207 kernel........

svvnirmal said:
yes bro it completely restores the drm functions to your sp :d
Click to expand...
Click to collapse
F * ck yeaah ! I'll go flash this tonight and I will give feedback ! :fingers-crossed: :victory:
Thanks ! :silly:

It work !! But care, it disable Xposed Framework. Just need to reinstall the framework.
Look the difference before and after this method.
Thanks bro'! :laugh: :highfive:

Enjoy dude
Drakomord said:
It work !! But care, it disable Xposed Framework. Just need to reinstall the framework.
Look the difference before and after this method.
Thanks bro'! :laugh: :highfive:
Click to expand...
Click to collapse

@svvnirmal
Hey can you please tell me how to restore TA backup. Cuz now i want to unlock my bootloader as i need bravia engine. I took TA partion before unlock my bootolader by TA-9.11. So can you please help me step by step to restore TA partion. I am stock .205

Can someone please tell me how to restore warranty, I don't have my original stock firmware and I am not sure which customization number and region my phone is

yash8796 said:
@svvnirmal
Hey can you please tell me how to restore TA backup. Cuz now i want to unlock my bootloader as i need bravia engine. I took TA partion before unlock my bootolader by TA-9.11. So can you please help me step by step to restore TA partion. I am stock .205
Click to expand...
Click to collapse
Too restore TA.img do this
(1) click and run Backup-TA
(2) select 2 to restore
(3) select 3
Its easy bro..But i didn't take a backup..If failed to take a backup..just use this guide to restore bravia engine

Which rom are u using right now..Unlocked Bootloader or locked?
rdlegy said:
Can someone please tell me how to restore warranty, I don't have my original stock firmware and I am not sure which customization number and region my phone is
Click to expand...
Click to collapse
If unlocked boot loader means u cant get ur warranty back...If u r on locked boot loader revert back to stock by flashing stock ftf files using flash tool..

svvnirmal said:
If unlocked boot loader means u cant get ur warranty back...If u r on locked boot loader revert back to stock by flashing stock ftf files using flash tool..
Click to expand...
Click to collapse
Omg why do you speak when you don't know anything. You can make a ta backup and unlock you bootloader, then you can lock it and restore drm keys. I am asking something way different.

Will this work if I have installed Williams Kernel v8? IMO stock kernel does not have recovery so how to flash the second time without changing kernel?

is it work with bravia engine 2 ?

Related

The right way to get back DRM keys if u unlock the bootloader for custom kernel

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.

[GUIDE] Lock/Unlock/Relock Bootloader Using TWRP With DRM keys

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

Z1 Android 5.1.1 Full Stock Rooting method without downgrade !

Hello,
Installing prerooted rom for Unlocked bootloader !
This Rom is Stock Untouched Android 5.1.1 pre-rooted and can be used on any android version on your Xperia Z1.
Things you need:
1-Xperia Z1 with any android version.
2-Prerooted European Stock 5.1.1 FW version bellow
3-SuperSU update (download from the tutorial bellow or anywhere you can find it)
4-Custom Recovery - i used Z1 locked Dual Recovery
First of all you have to go and unlock bootloader, after that install CWM recovery following this tutorial:
Install CWM tutorial from AndroidDevices dot com
After you did this go and download PreRooted Rom, SuperSU flashable and some Recovery Flashable also.
Put them all on your SD card.
I cant post links so i will tell you how to make a prerooted rom.
Download Sony Flashtool and XperiFirm.
Select your desired rom and download prf file - uncheck extract.
Dowload PRF Creator, select Rom File, SuperSU Flashable and Recovery Flashable.
Click Create, wait for your ZIP file that you will need bellow !
STEPS:
Asuming that you instaled CWM Recovery, press Volume Up and Power button, keep pressing volume up when light is purple and boot in CWM Recovery.
Wipe everything, chache, system, davil etc.
Install zip from sd card - choose prerooted rom.
After finishing install it will say that cant install SuperSU and Recovery zips.
DONT REBOOT PHONE.
Choose again Install Zip from SD Card and flash SuperSU.
DONT REBOOT PHONE.
Go back, Install ZIP from SD Card and flash recovery zip.
Now you can reboot.
DONE, you have now successfully Android 5.1.1 Stock FW rooted on your XPeria Z!
Proof
Go to postimage dot com / image/9jpca6kmx/f477cd94/
Is this joke?
Do that printscreen looks like joke to you ?
I will upload a video to youtube soon.
Edit: go to youtube and /watch?v=c2ujy44_Dns
Bican said:
Do that printscreen looks like joke to you ?
Click to expand...
Click to collapse
I said joke because everyone know how to root with unlocked bootloader
We need locked bootloader root
munged said:
I said joke because everyone know how to root with unlocked bootloader
We need locked bootloader root
Click to expand...
Click to collapse
I'm new to this kind of stuff. I tryed many Roms for the battery drop issue since Android Lolipop Update.
Dont know if it helps you but you can use Sony's Developer guide on how to unlock your bootloader or you can use flastool dot net 1 click bootloader unlock.
Open program, conect phone in fastboot, click BL button, then unlock bootloader.
where are the files and the tutorial??
This is a troll, also operator versions of z1 has their bootloader permanently locked
Bican said:
I'm new to this kind of stuff. I tryed many Roms for the battery drop issue since Android Lolipop Update.
Dont know if it helps you but you can use Sony's Developer guide on how to unlock your bootloader or you can use flastool dot net 1 click bootloader unlock.
Open program, conect phone in fastboot, click BL button, then unlock bootloader.
Click to expand...
Click to collapse
but, when you unlock bl you will lose guarantee.
this is a deal breaker
tracer123 said:
but, when you unlock bl you will lose guarantee.
this is a deal breaker
Click to expand...
Click to collapse
I got this phone Second Hand so there is no problem.
Not a troll, this is how i have rooted my phone today with android 5.1.1 - check video on youtube , posted today.
Sony Flashtool via flashtool dot net
Also has included XperiFirm to get any original firmware you want.
PRF Creator via this forum links
Recovery Flashable also from this forum
CWM Recovery boot.img found on that forum also with tutorial - flash it via fastboot (android sdk platform tools) or via Sony Flash Tool
You can find LINK of everything used in this tutorial on this forum.
Get all files then follow this to root Android 5.1.1
Again, im new thats why i cant post links !
Gamer4Life said:
This is a troll, also operator versions of z1 has their bootloader permanently locked
Click to expand...
Click to collapse
I flashed Stock Versions/Custom roms or howerver you called them. via sony PC Companion, Emma, Sony Flash tool
Search this on google "sony unlock bootloader"
Bican said:
I flashed Stock Versions/Custom roms or howerver you called them. via sony PC Companion, Emma, Sony Flash tool
Search this on google "sony unlock bootloader"
Click to expand...
Click to collapse
We know how to unlock bootloader but we will lose drm key forever
So downgrade is the best choice for now
Bican said:
I flashed Stock Versions/Custom roms or howerver you called them. via sony PC Companion, Emma, Sony Flash tool
Search this on google "sony unlock bootloader"
Click to expand...
Click to collapse
You, my friend, are insulting intelligence of XDA members. First of all, you can't install recovery if you have no root. Second of all, you can't unlock your bootloader if you have no root. Now understand how d*mb you sound? If I were you, I would beg the modes to wipe this thread and then get another ID or disappear forever.
optimumpro said:
You, my friend, are insulting intelligence of XDA members. First of all, you can't install recovery if you have no root. Second of all, you can't unlock your bootloader if you have no root. Now understand how d*mb you sound? If I were you, I would beg the modes to wipe this thread and then get another ID or disappear forever.
Click to expand...
Click to collapse
forgive him and be kind got qoute from some where, Here's an inspirational qoute
some her know things but never share knowledge, they think they have a top secret under their belt, must make them feel special. Come on guys remember the newbies of today will be the pros of tomorrow and without newbies today there will be no pros tomorrow.
Don't Give Up @Bican ask mods to wipe this thread
Definitly delete this thread, unlocking bootloader we know about it. PRF Creator we know to use, but what how about devices with "unlock bootloader allowed....no"? I think your intentions was good, but this is not a solution, sorry
iedafarha said:
forgive him and be kind got qoute from some where, Here's an inspirational qoute
some her know things but never share knowledge, they think they have a top secret under their belt, must make them feel special. Come on guys remember the newbies of today will be the pros of tomorrow and without newbies today there will be no pros tomorrow.
Don't Give Up @Bican ask mods to wipe this thread
Click to expand...
Click to collapse
The quote is OK, but it applies to those who refuse to share knowledge. Not me...
optimumpro said:
The quote is OK, but it applies to those who refuse to share knowledge. Not me...
Click to expand...
Click to collapse
haha .. sorry not point to you mate, just take full qoutation from somewhere. thanks
Do the same without unlocking bootloader... then we have some business to do.. Hows your camera btw ? is it nice to shoot without focus ?
I've done something similar WITHOUT UNLOCKING BOOTLOADER. In my case , i have a xperia Z1 without the posibility to unlock the bootloader (Unlocking bootloader status set to NO). I have to mention that i did not have any recovery installed on my phone. I've done the following steps:
1. I flashed a KITKAT (4.4.4)(downgraded) to my Xperia Z1.
2. After that i rooted the phone with the simply root (automatic one) or one click root.
3. I've installed dual recovery for Z1 with flashtool.
4. After that , i've flashed a 5.1.1 Android(with recovery) with root, xposed and everything...(IT HAS TO BE COMPATIBLE WITH LOCKED BOOTLOADER , READ CAREFULLY IN DESCRIPTION)
5. Right now i enjoy the rooted 5.1.1 with xposed and everything
Here you have the link of the 5.1.1 flash:http://forum.xda-developers.com/xperia-z1/development/rom-z5mx-rom7-5-0extended-battery-t3224245
ENJOY!
optimumpro said:
Second of all, you can't unlock your bootloader if you have no roo
Click to expand...
Click to collapse
what?
We don't need a root to unlock BL.

[Guide] [TWRP] [LB] [Deodex] Root .224 firmware BONUS Xperia X SystemUI + N-Style

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

Camera broken after Bootloader Unlock & Relock

Yesterday i've unlocked the bootloader and try AOSP.
Then i go back to stock rom and relocked the bootloader.
Now camera app always say, another application uses the camera and won't start.
alternative camera apps also don't work.
don't backup any drm keys.
is there any chance to get it working?
[-silver-] said:
is there any chance to get it working?
Click to expand...
Click to collapse
You'll need to flash a stock rom and wipe everything in the process.
I had the same problem and flashing using the flashtool with all wipe options checked didn't fix the problem. Any other ideas?
mistarose said:
I had the same problem and flashing using the flashtool with all wipe options checked didn't fix the problem. Any other ideas?
Click to expand...
Click to collapse
I would assume that relocking it without the DRM keys has broken it. To rewrite the TA backup img to the phone you have to use flashtool version 922.3 If I was in your position with or without a drm backup I would try using that version of the flashtool to flash a FW and try the relock procedure again to see if it makes a difference. Have you unlocked it again to see if it brings the camera back?
XperienceD said:
I would assume that relocking it without the DRM keys has broken it. To rewrite the TA backup img to the phone you have to use flashtool version 922.3 If I was in your position with or without a drm backup I would try using that version of the flashtool to flash a FW and try the relock procedure again to see if it makes a difference. Have you unlocked it again to see if it brings the camera back?
Click to expand...
Click to collapse
Ok I unlocked the device again using Sony Mobile Flasher. I'm now flashing an Android 6 ftf file from the UK. I have the TA backup img but am not sure how to restore it. Apparently the Backup TA version 1 had a restore option in the CMD menu. But all the 2nd version does is backup a TA partition key from what I can tell.
Any help restoring the key would be greatly appreciated.
Edit: Ok now I've booted up without locking the boot loader and the camera is working. So now I should be able to lock the bootloader and have it stay working right? But how do I do that?
mistarose said:
So now I should be able to lock the bootloader and have it stay working right? But how do I do that?
Click to expand...
Click to collapse
Lets see. Download Flashtool version 9.22.3 and download Rootkernel, use RK to create a DK.ftf from your TA.img then flash that using the 9.22.3 version of the flashtool. To create a DK.ftf open a cmd window in the Rootkernel folder and enter flash_dk TA.img DK.ftf.
Thank you for the help.
I was using a higher version of the Flashtool so I found the 9.22.3 version and got that installed. I found the Rootkernel and used it to create a DK.ftf successfully from my TA.img.
I flashed that successfully and rebooted the phone but it didn't work. This also didn't automatically relock the device like I read it should of.
I then started over by flashing the Android 6.0 ftf file again. Then I used the flashtool to relock the device. Finally, I flashed the DK.ftf file one more time.
I just booted up the phone and now the camera isn't working with the same error I had before. I also checked the security menu of the phone and it still says the DRM files are not there.
I'm really not sure why it's not working.
EDIT: See below.
mistarose said:
I then started over by flashing the Android 6.0 ftf file again. Then I used the flashtool to relock the device. Finally, I flashed the DK.ftf file one more time.
Click to expand...
Click to collapse
Lets try one last thing. From reading the threads here apparently flashing the DK.ftf is only for those with an unlocked BL wanting to keep DRM functions so places the TA in a location that DRM-fix kernels can pickup. To rewrite the original partition you have to do the following...
shoey63 said:
CONFIRMATION OF TA RESTORE!
- Unlocked bootloader
- Flashed TWRP
- Pushed TAbackup.img (I renamed it) to /data/local/tmp
- Did
Code:
adb shell dd if=/data/local/tmp/TAbackup.img of=/dev/block/bootdevice/by-name/TA
- Rebooted
- Everything back as it was. Original TA restored and DRM keys all active:victory:
shoey63 said:
Then flash a stock ftf.
Click to expand...
Click to collapse
NOTE/EDIT: Due to dm-verity, you cannot restore TA on a rooted phone (Z3+ onwards). It won't boot up. Boot and system have to be pure untouched stock.
Click to expand...
Click to collapse
...if this way fails then it's time to talk to Sony or just run an unlocked BL permanently.
Flashing DK.ftf isn't enough. You need to make a boot.img with DRM fix as well using rootkernel.
shoey63 said:
Flashing DK.ftf isn't enough. You need to make a boot.img with DRM fix as well using rootkernel.
Click to expand...
Click to collapse
They're trying to relock but the camera stops working when they do so just trying any method at this point.

Categories

Resources