[Q] Omnius and Backup Full TA - Xperia Play General

Omnius and Backup Full TA
So I've seen threads talking about making a FULL TA BACKUP using Omnius before the bootloader is unlocked and before the phone bricks or anything bad were to happen.
So lets say i made a TA back up before the boot loader was unlocked and everything was fine. Then i were to root it and install a custom rom and it were to brick some how..Will i be able to flash my original TA back up onto my bricked xperia play and it will go back to its original locked bootloader state?

As long as you can enter.flash mode you're safe. But do not restore ta yet, try to reflash it first with generic FW
Sent from my R800i using XDA App

Blagus said:
As long as you can enter.flash mode you're safe. But do not restore ta yet, try to reflash it first with generic FW
Sent from my R800i using XDA App
Click to expand...
Click to collapse
Thanks for the info
but why should i try to reflash it first with generic fw?

I understood your post as the phone is already bricked. Sorry.

Related

How to restore nexus one to original rom

Hi can someone please help with this, i am completely new to this. I have read about it but had no luck in restoring my handset.
Did you unlock the bootloader? or is there phone not rebooting right?
yes i have unlocked the bootloader, i have a custom firmware on the device
gurvinder76 said:
yes i have unlocked the bootloader, i have a custom firmware on the device
Click to expand...
Click to collapse
If I read posts from Cyanogen correctly, there should be a nandroid of the original stock firmware of the Nexus One (there is no one's info in this backup)
Just put the folder in the root and run a nandroid restore

Cant ota update r800x

Cant auto update right when I click update now I get a force close I think I might of deleted something important from TB.... and yes I am rooted when I used tb to delete stuff
Sent from my R800x using XDA App
Use titanium to backup all your apps. Flash full stock tft, lock bootloader, run update, unlock bootloader, root, restore titanium backup.
Sent from my R800x using XDA App
Trying to run fastboot to either unlock my bootloader or run recoveryPLAY comes back with a fail after I did the exact same thing. Relocked my bootlaoder, reflashed the ftf back to stock 2.3.2 then ota'd. Now I am unable to unlock my bootloader and to get into recoveryPLAY as it comes back as "Failed, phone must be rooted".
If I were you I would wait until there is a 2.3.3 ftf file that has root embedded into it or a sure fire way to root 2.3.3, as now i can neither root nor unlock my phones bootloader.
I was able to update and re-root using the exact method I described, except I didn't do a titanium backup.
Sent from my R800x using XDA App
Ain't there a way to just do a factory reset and it will bring everything back?
Sent from my R800x using XDA App

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

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