[Q] Reverting from CM - Xperia Z Q&A, Help & Troubleshooting

Hi,
I have the latest stable CM installed on my XZ, but I miss the Sony ROM, so I thought I'd revert back, though I'm a little unsure about how to so it. Before unlocking the boot loader and installing CM, I rooted the phone and made a backup. My question is;
Can I revert back by doing this:
1. Booting into flashmode, wiping the cache
2. Choose to reinstall my back-up file
3. Relock boot loader in flashtool (if necessary, it was locked when I backed up)
4. "Repair phone" in Sony update service
And then be back to how it was before?

Seek and you shall find. Or look at the stickies!
http://forum.xda-developers.com/showthread.php?t=2275632

Thank you!
But that doesn't really answer my question(s), and as they were very specific in nature, a simple "yes" would be sufficient, or a "no"m, accompanied by the aforementioned links. ^^
I'm new at this, so that post has a lot of information... That's why I asked in a separate post.

You can just flash stock rom with flashtool. You don't need to relock unless u backed up your ta partition and you want to have bravia engine and updates.
Sent from my Xperia Z using XDA Premium 4 mobile app.

Thanks, but can I do it the way I wrote above? Because if so, I will.

You can just flash stock rom with flashtool. You don't need to relock unless u backed up your ta partition and you want to have bravia engine and updates.
Sent from my Xperia Z using XDA Premium 4 mobile app.
Click to expand...
Click to collapse
I was wondering if it was possible somehow. I backed up the TA-Partition and I defenitly want Bravia Engine back. How should i do this?

Dreiundachzig said:
You can just flash stock rom with flashtool. You don't need to relock unless u backed up your ta partition and you want to have bravia engine and updates.
Sent from my Xperia Z using XDA Premium 4 mobile app.
Click to expand...
Click to collapse
Since it's so hard to get a reply regarding my original post, I'll ask it like this;
Can I flash an official sony rom (.ftf) over my CM10.2? If so, can I just relock the bootloader through flashtool as well to get back BE2?

The key to get BE 2 working again and have fully restored DRM keys is to restore the backup of the TA partition that you should have taken before unlocking the bootloader. Flashing stock FTF and just relocking bootloader won't do the job
Neither will a CWM restore.
Sent from my C6603 using xda app-developers app

I made the backup in cwm before I unlocked the bootloader, is that not usable to get it back? Is there any other way?

Unfortunately, CWM doesn't backup Trim Area (TA).In your case it seems Sony DRM keys are lost forever :thumbdown:
Sent from my C6603 using xda app-developers app

I see. Oh well. BTW, I unlocked the boot loader once before, but then I relocked it without making any changes. Did I lose BE then, or not before I installed CM? And what other than BE will I have lost? :/

roanmy said:
I see. Oh well. BTW, I unlocked the boot loader once before, but then I relocked it without making any changes. Did I lose BE then, or not before I installed CM? And what other than BE will I have lost? :/
Click to expand...
Click to collapse
Yes you loosed it. If you unlock you booloader you loose the keys. That is the reason why you have to make a TA backup before unlocking.
Your warranty you loose also but I think you should know that

Related

Xperia Z DRM keys back?

So I never wanted to unlock my bootloader, because of Gracenote especially, idc about BE2 , but I installed a custom ROM the other day, existens i1 Honami, but I got stuck in a bootloop.
I had a nandroid backup but it was done from CWM, and the one was TWRP, so I was kind of screwed. I installed other zips to get cwm, but CWM wouldnt launch, I would get a black screeen, Even dual recoveries, TWRP would work, but not CWM.
Then I was forced to unlock bootloader to use fastboot to flash the boot img, after which I managed to restore my nandroid.
BUT i totally forgot that I will lose all my data, and DRM keys forever :/ *BANGS HEAD*
But apparently its working right now after the backup, is it normal? Bootloader is relocked btw
And is there any easier way to solve the situation right there?
Bump, come on someone answer, I thought this forum was alive
No way to get DRM keys back.
I remember when I was unlocking my bootloader I backed up my DRM keys with the Backup TA tool......Could you use my backup file??!
Sent from my C6606 using xda premium
Please do not use other's TA backup file!!!!
You will brick your phone as this has been confirmed.
You can only use back your own TA backup. If you did not do it before you unlocked, your DRM key is losts no matter whether you relock your bootloader subsequently.
pitbull292006 said:
I remember when I was unlocking my bootloader I backed up my DRM keys with the Backup TA tool......Could you use my backup file??!
Sent from my C6606 using xda premium
Click to expand...
Click to collapse
Only if he doesn't ever want to use his phone again.
Technically there shouldn't be any problem transferring DRM keys between devices, but we must first figure out how they are stored in the TA partition, since copying that entire partition changes some essential data rendering the device unbootable.
newtbie said:
Please do not use other's TA backup file!!!!
You will brick your phone as this has been confirmed.
You can only use back your own TA backup. If you did not do it before you unlocked, your DRM key is losts no matter whether you relock your bootloader subsequently.
Click to expand...
Click to collapse
Calm down there weirdo......I simply asked a simple question, which only required a simple answer
Sent from my C6606 using xda premium
pitbull292006 said:
Calm down there weirdo......I simply asked a simple question, which only required a simple answer
Sent from my C6606 using xda premium
Click to expand...
Click to collapse
He was right to issue a warning. Flashing somebody else's TA partition will cause an unrecoverable hard brick.
Sent from my C6603 using Tapatalk 2
If I didn't have my DRM keys, I wouldn't be able to use Gracenote, is that right?
TrackID? You should still be able to use it without issue. It has become a public application in Google Play now, not limiting to Sony phones.
I'm wild guessing that the retrieval of music info from the WALKMAN app may fail.
You can try out for yourself since you unlocked your bootloader.
---------- Post added at 01:23 AM ---------- Previous post was at 01:21 AM ----------
kingvortex said:
He was right to issue a warning. Flashing somebody else's TA partition will cause an unrecoverable hard brick.
Sent from my C6603 using Tapatalk 2
Click to expand...
Click to collapse
The problem with some users over here is they gave wrong advice and end up causing someone's misery. Afterall we are helping one another to resolve our issues or to prevent things from going haywire, don't you think so?
I've lost DRM keys and Camera don't working right now. Any way for fix camera?
kartal172 said:
I've lost DRM keys and Camera don't working right now. Any way for fix camera?
Click to expand...
Click to collapse
dont know. I lost mine to.
but i have been trying last 10 days to extract download_package.bin which is ota update for my phone if it contain cert.rsa for my Hardware Unique Key Then I m quiet sure that creating meta-inf file using that key will get us back DRM keys.
Waiting Any PRO or thread to guide us.
As far as i know it's impossible if you didn't made ta backup before unlocking your bootloader.
O have a ta backup and im on existenz and doomkernel is it possible to restore my ta now? And still have the benifits of a unlocked bootloader?
Sent from my C6603 using xda app-developers app
demon2112 said:
O have a ta backup and im on existenz and doomkernel is it possible to restore my ta now? And still have the benifits of a unlocked bootloader?
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
No. If you restore your TA backup while running a custom kernel, it will relock your bootloader and soft brick your phone.
Sent from my C6603 using Tapatalk
kingvortex said:
No. If you restore your TA backup while running a custom kernel, it will relock your bootloader and soft brick your phone.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
And.on a stock kernel with custom rom then?
Sent from my C6603 using xda app-developers app
kingvortex said:
No. If you restore your TA backup while running a custom kernel, it will relock your bootloader and soft brick your phone.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
demon2112 said:
And.on a stock kernel with custom rom then?
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
It would interesst me too
gripfly said:
It would interesst me too
Click to expand...
Click to collapse
If you relock your bootloader by restoring a TA backup while on a stock unmodified kernel then nothing bad should happen.
This limits you to using only stock based roms, however as CM/AOSP/AOKP based roms require a custom kernel and therefore an unlocked bootloader.
Sent from my C6603 using Tapatalk
kingvortex said:
If you relock your bootloader by restoring a TA backup while on a stock unmodified kernel then nothing bad should happen.
This limits you to using only stock based roms, however as CM/AOSP/AOKP based roms require a custom kernel and therefore an unlocked bootloader.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
So for the hole ''flash history'' the Kernel is always that important thing we have to give a look on it? The other part of a ROM are more or less not important?
So when I have a unlocked device with stock kernel and stock based custom ROM I can restore the TA without any problems?
Is there a way to check the drm keys, if they are realy there?and a way to check if be2 works? (build prop line) or something
Sent from my C6603 using xda app-developers app

[Q] Relocking Bootloader on Stock Rom with TA Restore

Hi guys
I'm pretty new to the XZ and just wanted to clarify something before I go ahead and flash a ROM.
I have backed up my TA Partition using TA-Backup Tool and have rooted my device.
I am about to install Recovery and Unlock the bootloader, all pretty straight forward from what I've read so far :laugh:
My only question so far is, if / when I want to relock the bootloader can I simply do this using the "restore" option within TA-Backup Tool (providing I am on a Stock ROM), or do I need to Relock using Flashtool and then restore the TA partition?
Thanks
G
Just use ta backup to relock that will flash the ta partition you have backed up to a unlocked status with drm keys
Sent from my C6603 using xda premium
Maddhouse said:
Just use ta backup to relock that will flash the ta partition you have backed up to a unlocked status with drm keys
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Brilliant!! I'm assuming I can still do this even if the stock ROM has a Recovery such as CWM on it?
Yes but you need to remember what state you backed your phone's ta up with otherwise m5 key won't match
Sent from my C6603 using xda premium
xperia z
Maddhouse said:
Yes but you need to remember what state you backed your phone's ta up with otherwise m5 key won't match
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
hello what is a m5 key also im wondering how to get back to stock as i have unlocked bootloader on cyanogenmod 11 but i do wish to go back to stock only if the bravia engine and all features work. i have backed up my drm keys just need to figure out how do i restore and what process cant find anything on it
thanks

[Q] Unlocked Bootloader, Unrooted OTA Update?

Heyy guys I have a XperiaSP which have unlocked bootloader and unrooted phone (just unrooted it a while ago). I would REALLY like to update my phone because there's too many bug here on Xperia SP. However, when the phone was still rooted I tried to update and it failed. Now after unroot I was going to update but then the fact that I unlocked the bootloader I am really worried about wiping/bricking the phone through OTA update. Any help pls?
P.S - My phone is barely Unlocked. It is nearly as stock and no custom recovery nor root is installed.:laugh:
Edit : By the way, is the Xperia SP really got Wi-Fi issues? My iPod got full signal on home's wifi and my SP got barely 1-2..
hmmm
dhisonnn said:
Heyy guys I have a XperiaSP which have unlocked bootloader and unrooted phone (just unrooted it a while ago). I would REALLY like to update my phone because there's too many bug here on Xperia SP. However, when the phone was still rooted I tried to update and it failed. Now after unroot I was going to update but then the fact that I unlocked the bootloader I am really worried about wiping/bricking the phone through OTA update. Any help pls?
P.S - My phone is barely Unlocked. It is nearly as stock and no custom recovery nor root is installed.:laugh:
Click to expand...
Click to collapse
did u try using PC companion? Is It ok there?
Or else I think you know that Sony's 4.3 update is on the corner. that may will solve your issue
madhukarmohan said:
did u try using PC companion? Is It ok there?
Or else I think you know that Sony's 4.3 update is on the corner. that may will solve your issue
Click to expand...
Click to collapse
Ahh yeah gonna try that ASAP. but I just forgot to mention that my primary laptop is now on service center (Got a bit problem there) so I can't really update my SP through that.
I tried updating just now through OTA. After the reboot a popup message appeared :
"Could not install new software version. Try again."
Is that because of my unlocked bootloader? Cos I unrooted my phone completely through SuperSU.
If so how to relock the bootloader??
If you want to relock the bootloader just use FlashTool. In your case because you don't have any custom Firmware on your phone this should be quite easy.
But I always thought when updating with having root access you can update but lose root. Maybe it didn't work (the update) because of a complete diffenent reason. Did you try it a second time?
Sent from my C5303 using xda app-developers app
Schokonuss said:
If you want to relock the bootloader just use FlashTool. In your case because you don't have any custom Firmware on your phone this should be quite easy.
But I always thought when updating with having root access you can update but lose root. Maybe it didn't work (the update) because of a complete diffenent reason. Did you try it a second time?
Sent from my C5303 using xda app-developers app
Click to expand...
Click to collapse
When I got my laptop back, I'm definitely going to relock the bootloader. But if I do something wrong, will it hard brick or something? (sorry for my parranoidness) and relocking is not much difference from unlocking right?
I tried installing the software update the second time. Unlocked BL, fully unrooted (No Super SU). Still fails gonna try at PCCompanion
dhisonnn said:
When I got my laptop back, I'm definitely going to relock the bootloader. But if I do something wrong, will it hard brick or something? (sorry for my parranoidness) and relocking is not much difference from unlocking right?
I tried installing the software update the second time. Unlocked BL, fully unrooted (No Super SU). Still fails gonna try at PCCompanion
Click to expand...
Click to collapse
You should flash stock ROM using flashtool, relock the bootloader, and then restore the TA partition
Sent from My XSP
Pulsa said:
You should flash stock ROM using flashtool, relock the bootloader, and then restore the TA partition
Sent from My XSP
Click to expand...
Click to collapse
I'm on my stock ROM now (Default Sony ROM right? But I've updated it before, does it count as stock?)
What's TA partition?
Sorry for noob Qs
I never do this before.So can I update my phone via pc companion via unlocked bootloader?On stock rom without root and recovery?
Sent from my C5303 using xda app-developers app
If you didn't flash anything on your device you can relock your bootloader without any problems. If you had a custom recovery, kernel or ROM and you relock your bootloader while having this custom recovery, kernel or ROM this should brick your phone (I think this could even be a hard brick) but if everything is stock (like I already said) there shouldn't be any problems with relocking
TA partition contains the working bravia engine (2) which gets lost if you unlock bootloader. If you had made a backup of the TA partition you could restore this and get the bravia engine back
Sent from my C5303 using xda app-developers app
Schokonuss said:
If you didn't flash anything on your device you can relock your bootloader without any problems. If you had a custom recovery, kernel or ROM and you relock your bootloader while having this custom recovery, kernel or ROM this should brick your phone (I think this could even be a hard brick) but if everything is stock (like I already said) there shouldn't be any problems with relocking
TA partition contains the working bravia engine (2) which gets lost if you unlock bootloader. If you had made a backup of the TA partition you could restore this and get the bravia engine back
Sent from my C5303 using xda app-developers app
Click to expand...
Click to collapse
if i didnt make backup (because no one told me to ) i cant install 4.3 update from Sony if comes out ?
Yes, you'll be able to get the 4.3 update without the TA partition. But, as everyone else here said, make sure you're on a stock ROM, with a locked bootloader.
Locked bootloader ----> You can use PC Companion or Flashtool to update your phone
Unlocked bootloader ------> Flashtool only
Also, don't try to update your phone via OTA while having your bootlader unlocked, because it will brick your device.
Schokonuss said:
If you didn't flash anything on your device you can relock your bootloader without any problems. If you had a custom recovery, kernel or ROM and you relock your bootloader while having this custom recovery, kernel or ROM this should brick your phone (I think this could even be a hard brick) but if everything is stock (like I already said) there shouldn't be any problems with relocking
TA partition contains the working bravia engine (2) which gets lost if you unlock bootloader. If you had made a backup of the TA partition you could restore this and get the bravia engine back
Sent from my C5303 using xda app-developers app
Click to expand...
Click to collapse
My original Stock Rom had been flashed to CM 10, but now I have flashed it back to stock rom that I tried to search online from this site. Is it counted as original stock rom or not? My phone is unlocked bootloader, and I got ota update but cannot install, I don't know why; maybe it has been changed or maybe of unlock bootloader?

[Q] Mobile Bravia Engine 2 on unlocked bootloader

Hello!
I've heard somewhere that if I unlock my bootloader that Mobile Bravia Engine won't work, is that true?
Thanks in advance
MARKOZD15 said:
Hello!
I've heard somewhere that if I unlock my bootloader that Mobile Bravia Engine won't work, is that true?
Thanks in advance
Click to expand...
Click to collapse
Apparently yes it is
You can preserve your drm key before and restore if ever you return to stock.
Plus if you look in the development section, I believe there is a guide to getting it working on unlocked bootloaders.
Xperia Z
If you havent unlocked your bl yet, you can backup ta partition before proceeding to unlock. After you unlocked you can simply restore ta parititon.
Be aware, for backup you need to be rooted your phone. And rooting not possible without unlocking the bl on the newly versions .569 and .101 (yet)
mzyil said:
If you havent unlocked your bl yet, you can backup ta partition before proceeding to unlock. After you unlocked you can simply restore ta parititon.
Be aware, for backup you need to be rooted your phone. And rooting not possible without unlocking the bl on the newly versions .569 and .101 (yet)
Click to expand...
Click to collapse
I have already unlocked my bootloader, can I relock it and do that?
Thanks to everyone
MARKOZD15 said:
I have already unlocked my bootloader, can I relock it and do that?
Thanks to everyone
Click to expand...
Click to collapse
If you have unlocked bl nd did not backup ta then there is no chance you can get back drm keys bt there is a way to install bravia engine search in the forum.
Sent from my C6602 using XDA Premium 4 mobile app
vikash1994b said:
If you have unlocked bl nd did not backup ta then there is no chance you can get back drm keys bt there is a way to install bravia engine search in the forum.
Sent from my C6602 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
There's no way to get back my drm keys??
So if my phone broke, I can't relock my booloader and send it to RMA?
MARKOZD15 said:
There's no way to get back my drm keys??
So if my phone broke, I can't relock my booloader and send it to RMA?
Click to expand...
Click to collapse
You cant get your drm keya back but you can still relock your bootloader by flashtool
Sent from my C6602 using XDA Premium 4 mobile app
Just one more question..
If I relock my bootloader, without restoring TA partition (drm keys), will Mobile Bravia Engine 2 still work?
MARKOZD15 said:
Just one more question..
If I relock my bootloader, without restoring TA partition (drm keys), will Mobile Bravia Engine 2 still work?
Click to expand...
Click to collapse
No. No DRM keys means no BE2.
Sent from my C6603 using Tapatalk
Aaah.. I'm so pissed.. I didn't knew anything about TA partition and drm keys, now I know that I'm gonna read better next time
Thanks to everyone for help and sorry for bad english, I'm from Croatia
Cheers
Look here
http://forum.xda-developers.com/showthread.php?t=2610923
Xperia Z
Although not your original drm keys, the author claims to get Bravia engine 2 working again..
boyob32 said:
Look here
http://forum.xda-developers.com/showthread.php?t=2610923
Xperia Z
Although not your original drm keys, the author claims to get Bravia engine 2 working again..
Click to expand...
Click to collapse
Worked for me, thanks

What happens if i flash a different Z1's TA back up?

So I took a TA backup of my first Z1. Due to some defect i got a new z1 and i forgot to take a backup of its TA partition before i unlokced it. So i just wanted to know what will happen if i flash the previous Z1's TA partition on my current z1.
ravi_buz said:
So I took a TA backup of my first Z1. Due to some defect i got a new z1 and i forgot to take a backup of its TA partition before i unlokced it. So i just wanted to know what will happen if i flash the previous Z1's TA partition on my current z1.
Click to expand...
Click to collapse
NEVER NEVER NEVER do something like this.
It'll hard brick your device 100%.
Sent from my D6503 using Tapatalk
funky0308 said:
NEVER NEVER NEVER do something like this.
It'll hard brick your device 100%.
Sent from my D6503 using Tapatalk
Click to expand...
Click to collapse
thanks. that means i can never use pcc ever again
ravi_buz said:
thanks. that means i can never use pcc ever again
Click to expand...
Click to collapse
Probably...but you have flashtool and Sony finally removed all that stupid things that was breaking up when you unlocked bootloader.
You still have 99.9% of device / software / so it's not that bad
Sent from my D6503 using Tapatalk
Use flashtool to relock, then you can use pccompanion again
Sent from my C6903 using XDA Premium 4 mobile app
gregbradley said:
Use flashtool to relock, then you can use pccompanion again
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Wait! are you serious? I can use flashtool to re lock it? will it work? Then why do we have so much discussion around taking TA backup?
Or is it that TA copys all the DRM keys to that we can use all the Sony fancy stuff and locking via flashtool just looks down the boot loader without restoring those DRM keys
Flashtool relocks the bootloader but it does not restore the TA backup.
You will also have to use flashtool to unlock it again as the official method will not work. It sees the DRM keys have gone and assumes the phone is already unlocked so aborts the procedure, but flashtool (from v0.9.16.0) will work to re-unlock it. Earlier versions need some reconfiguration of folders to make it work, so always use the latest version
funky0308 said:
It'll hard brick your device 100%.
Click to expand...
Click to collapse
Just curious, why does using the wrong TA hard-brick your phone? No soft-brick? Is TA a partition with just keys?
Sorry for not starting a new thread.
kentexcitebot said:
Just curious, why does using the wrong TA hard-brick your phone? No soft-brick? Is TA a partition with just keys?
Sorry for not starting a new thread.
Click to expand...
Click to collapse
Good question. Even i would like to know about this
Xperia devices will*definitely*be bricked if incorrect data is written to the TA partition. The TA partition contains IMEI, serial number and other important data and probably include some sort of integrity check. Even flashing the TA partition with the one from another device of the same model bricks it. No fastboot and no flashtool will work after flashing wtong TA backup.
This is not just a theory, there are many users who actually did that - just check XDA
Sent from my D6503 using Tapatalk
Dont do this

Categories

Resources