Wipe/Restore Z3c to Stock - Xperia Z3 Compact Q&A, Help & Troubleshooting

Hi there,
I asked this question before, but last time I got some confusing answers with regards to needing root.
The problem: My phone is slowing down and I want to wipe it completely (no system/app data left over) and restore it to factory defaults, preferably running 5.1.1.
What's the best/easiest way to do this? Will flashing the new firmware clear everything the way I want? I don't want to root, unlock the bootloader or lose the DRM keys, just a standard wipe.
On a firmware note, does anyone know where I can get Bell Canada 5.1.1 firmware?
Thanks a lot!
Foaric

Download FlashTool and there is XperiFirm to download the firmware you need
Just flash it, and you start from stock

I think just a standard factory reset should do this.

nathan30 said:
Download FlashTool and there is XperiFirm to download the firmware you need
Just flash it, and you start from stock
Click to expand...
Click to collapse
Great! So flashing will clear all the system/user data while leaving the DRM data intact? I'm looking to do it so that there's nothing left over to slow down the phone.
Thanks,
Foaric

Foaric said:
Great! So flashing will clear all the system/user data while leaving the DRM data intact? I'm looking to do it so that there's nothing left over to slow down the phone.
Thanks,
Foaric
Click to expand...
Click to collapse
The DRM are loosing only when you want to unlock your bootloader
But as mcgrathpatj said, try a factory reset in first

Related

How to take backup of stock ROM before rooting?

Guys please suggest is there any way to have backup of stock ROM before rooting?
The only thing you have to backup are your apps and their data. I suggest to use "Titanium-Backup" it is not for free, but the best solution. I didn´t do a backup. Normally you don´t be forced to use it (until you want to install a custom rom)
Check some the threads in the Dev section about making your own ftf.
Original Stock Rom
Sunfl4sh said:
The only thing you have to backup are your apps and their data. I suggest to use "Titanium-Backup" it is not for free, but the best solution. I didn´t do a backup. Normally you don´t be forced to use it (until you want to install a custom rom)
Click to expand...
Click to collapse
Doesn't having the original copy of stock ROM without the root and possible changes to flash counter give a clean ROM especially for warranty work?
docyoung said:
Doesn't having the original copy of stock ROM without the root and possible changes to flash counter give a clean ROM especially for warranty work?
Click to expand...
Click to collapse
Sony phones doesn't have flash counter like samsung ones
Sunfl4sh said:
The only thing you have to backup are your apps and their data. I suggest to use "Titanium-Backup" it is not for free, but the best solution. I didn´t do a backup. Normally you don´t be forced to use it (until you want to install a custom rom)
Click to expand...
Click to collapse
Titanium Backup doesn't work without root.
techpal said:
Guys please suggest is there any way to have backup of stock ROM before rooting?
Click to expand...
Click to collapse
There isn't any way to make a backup without a working recovery, so you need root, to delete all the trails of the root you need only to flash a stock firmware with flashtool.
(If you want to unlock your bootloader, take a backup of your TA partition to save the warranty)
You can find all on the forum
You don't need to make a backup of your apps and data, cause if you only root without unlocking bootloader it won't wipe anything.
Sorry, I didn't read the date of the post.
Ya got it and thanks for your reply. Anyways I have sold xz and moved on to Z Ultra.
Does it fit for Samsung devices, Tablets?
-totonio- said:
Sony phones doesn't have flash counter like samsung ones
Titanium Backup doesn't work without root.
There isn't any way to make a backup without a working recovery, so you need root, to delete all the trails of the root you need only to flash a stock firmware with flashtool.
(If you want to unlock your bootloader, take a backup of your TA partition to save the warranty)
You can find all on the forum
You don't need to make a backup of your apps and data, cause if you only root without unlocking bootloader it won't wipe anything.
Sorry, I didn't read the date of the post.
Click to expand...
Click to collapse
Does the backing up the TA apply to Samsung Tablets too? Sorry lost my thread so to speak, thanks for answering anyway.
docyoung said:
Does the backing up the TA apply to Samsung Tablets too? Sorry lost my thread so to speak, thanks for answering anyway.
Click to expand...
Click to collapse
No, if they have a flash counter you can use the triangle away app from chainfire to reset the flash counter, and go back in warranty
http://forum.xda-developers.com/showthread.php?t=1494114
-totonio- said:
Sony phones doesn't have flash counter like samsung ones
Titanium Backup doesn't work without root.
There isn't any way to make a backup without a working recovery, so you need root, to delete all the trails of the root you need only to flash a stock firmware with flashtool.
(If you want to unlock your bootloader, take a backup of your TA partition to save the warranty)
You can find all on the forum
You don't need to make a backup of your apps and data, cause if you only root without unlocking bootloader it won't wipe anything.
Sorry, I didn't read the date of the post.
Click to expand...
Click to collapse
Thanks Anyway, the problem redoing the Rom didn't change the Knox status. So since knox is trigger can't update, which I think is going too far. I should be entitled to updates and if they don't work that is on me. Looking for a forum where people may want to class action suit on Samsung over knox.
doc

[Q] Moving from CM11 back to stock Sony ROM

I am somewhat new to android...
Can someone please point me in the right direction here?
Currently I have an Xperia Z1 C6906 running rooted cm-11-20141112-SNAPSHOT-M12-honami with CWM.
I do not have a nandroid backup because I am stupid and did not know about this app.
I want to move back to the stock 4.4.4 Sony ROM and root. I cannot find this ROM or installation instructions.
Is this possible?
Any help would be greatly appreciated. Thank you.
EDIT: I have found XperiaFirm and downloaded a file through the software. I have a question though, I live in the US and I bought the phone second hand, it was originally set up on the network Claro. If i download the US Customized firmware through XperiaFirm and restore the firmware with FlashTool, are there any consequences?
Also, I'm not too familiar with how ROMS, Kernals, and Firmwares are all related. Can I just flash the firmware I downloaded onto the device and everything will be returned to normal?
you won't get no problems with different customizations, just make sure it is the right model number. did you backup your TA partition before? reply me in order to i get a notification. Thanks
cimihendriks said:
you won't get no problems with different customizations, just make sure it is the right model number. did you backup your TA partition before? reply me in order to i get a notification. Thanks
Click to expand...
Click to collapse
I did not make a backup of my TA partition. Unfortunately, I didn't know to do that.
I have successfully flashed my phone using the software I mentioned above and everything is working as far as I can tell. Going back to stock, I think I have lost my root, unlocked bootloader, etc., correct?
Thanks for your help!
schwetty said:
I did not make a backup of my TA partition. Unfortunately, I didn't know to do that.
I have successfully flashed my phone using the software I mentioned above and everything is working as far as I can tell. Going back to stock, I think I have lost my root, unlocked bootloader, etc., correct?
Thanks for your help!
Click to expand...
Click to collapse
You lost your root etc on stock that is correct, but since you dont have your ta partition your camera performance will be lowered. İ suggest you to look at this thread for a fix. Good luck.
http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672):

[help] how to restore back to stock?

hello i have a xperia z3c 5803 and I want to restore it back to stock. i have backed up the drm keys (ta.img) from before, currently running custom rom slimlp and its an unlocked bootloader. What do i have to do first and how?
If you want to do a complete wipe and clean install it back to stock, use the Sony PC Companion software. There is an option to perform a clean reinstall somewhere. I know there is the option because I've done it but can't remember right now where it is.
Sprkd1 said:
If you want to do a complete wipe and clean install it back to stock, use the Sony PC Companion software. There is an option to perform a clean reinstall somewhere. I know there is the option because I've done it but can't remember right now where it is.
Click to expand...
Click to collapse
will it also lock the bootloader and restore the drm keys
laidbackcloud said:
will it also lock the bootloader and restore the drm keys
Click to expand...
Click to collapse
Sorry, no clue. I am quite a noob when it comes to this stuff.
Hopefully someone else can help you out.

Relocking bootloader - will phone be wiped?

Hello dear friends.
I'd love to go back to to stock. I unrooted my phone and flashed the stock recovery.
Now I'd love to relock the bootloader. Will that procedure wipe the content on my phone? If so, is there any way to avoid the wipe?
Thanks.
Regards,
m00h
No mate, there is no way to avoid the factory reset
nikifeto said:
No mate, there is no way to avoid the factory reset
Click to expand...
Click to collapse
That's very unfortunate, but thanks pal.
m00h said:
That's very unfortunate, but thanks pal.
Click to expand...
Click to collapse
Backup Your P20pro, using HiSuite on a PC then restore after relocking bootloader - won’t be 100% perfect but almost all apps data and settings will be recovered
dezborders said:
Backup Your P20pro, using HiSuite on a PC then restore after relocking bootloader - won’t be 100% perfect but almost all apps data and settings will be recovered
Click to expand...
Click to collapse
Never used anything for backup outside of TitaniumBackup, but will give this rootless solution a try, thanks.
I have so many things set up, it would take weeks to get everything back in place.

Best way to update rooted firmware?

I'm currently on rooted:
XQ-AT51_Customized UK_1321-7192_58.0.A.0.1040_R8A
Looking to update to:
XQ-AT51_Customized UK_1321-7192_58.0.A.3.31_R8A
What's the best way to do this?
Research seems to suggest delete all .TA files aswell as the userdata file and if that works, to flash an extracted/pactched boot.img that I've already prepped. Though some users mention that they then get a decryption error resulting in the need to fully wipe.
I'd be grateful to hear from anyone who has successfully updated their Xperia 1 ii (with Flashtool or newflasher?).
Many thanks
Bump - anyone successfully updated their rooted firmware yet?
I assumed by flashing to Customized UK we would still get updates pushed to the phone? I flashed my new device last week to 58.0.A.3.39 and assumed if I wanted to update it'd ask me through my settings. Do I have to manually do this now?
Montane said:
I assumed by flashing to Customized UK we would still get updates pushed to the phone? I flashed my new device last week to 58.0.A.3.39 and assumed if I wanted to update it'd ask me through my settings. Do I have to manually do this now?
Click to expand...
Click to collapse
Hmm I thought that by being rooted/bootloader unlocked it's messed with the system updates. See attached, as Xperia Assist says there's an update available yet then clicking via Software Update it says I'm up to date.
I'm on 58.0.A.0.1040 customized UK and yet there's 58.0.A.3.39 available via Xperifirm
I updated my AT52 from 3.31 to 3.39 with newflasher. Worked fine. Haven't tried to remove the userdata file to not lose all my stuff though, gonna try that for the next update.
Basically I downloaded with xperifirm and just ran newflasher and went through the prompts, didn't remove any files because I wanted to flash all partitions. Then patched the boot.img from that firmware and flashed through fastboot.
Winrahr said:
I updated my AT52 from 3.31 to 3.39 with newflasher. Worked fine. Haven't tried to remove the userdata file to not lose all my stuff though, gonna try that for the next update.
Basically I downloaded with xperifirm and just ran newflasher and went through the prompts, didn't remove any files because I wanted to flash all partitions. Then patched the boot.img from that firmware and flashed through fastboot.
Click to expand...
Click to collapse
Cheers. I'm curious if there's a way to update without wiping data, but I guess a good clean flash is not a bad thing, albeit timely
cd993 said:
Cheers. I'm curious if there's a way to update without wiping data, but I guess a good clean flash is not a bad thing, albeit timely
Click to expand...
Click to collapse
Removing userdata_X-FLASH-CUST-2389.sin from the directory before running newsflasher should be equivalent to a dirty flash. But I've never tried it since this is my first Sony device since the Z1.
cd993 said:
Cheers. I'm curious if there's a way to update without wiping data, but I guess a good clean flash is not a bad thing, albeit timely
Click to expand...
Click to collapse
I guess it's a whole new flash then. Backup and go again. Like you said. Timely
Winrahr said:
Removing userdata_X-FLASH-CUST-2389.sin from the directory before running newsflasher should be equivalent to a dirty flash. But I've never tried it since this is my first Sony device since the Z1.
Click to expand...
Click to collapse
Thanks yeah I may try that, or just stick to clean flashes
Montane said:
I guess it's a whole new flash then. Backup and go again. Like you said. Timely
Click to expand...
Click to collapse
Yup, though a thought is to perhaps get a sd card and use that for most data. Least that way when internal storage gets wiped, the sd card would be untouched. Not been able to do that for a while!
cd993 said:
Thanks yeah I may try that, or just stick to clean flashes
Yup, though a thought is to perhaps get a sd card and use that for most data. Least that way when internal storage gets wiped, the sd card would be untouched. Not been able to do that for a while!
Click to expand...
Click to collapse
Feels good to have an sd card to put all your backups on again doesn't it haha. I will not miss having to back up the internal storage slowly through USB2.0 just in case I have to wipe the entire storage.
I'm going to try a dirty flash on the next firmware update and hopefully I don't soft brick it again. Not having TWRP is new and scary to me.
Bump
With an updated firmware slowly rolling out (the one adding the RAW support and July security update) patch) etc, anyone managed to update when bootloader unlocked and rooted, avoiding losing data?
If I have to do a clean flash it wouldn't be the end of the world but I would love to avoid the hassle of (even with the usage of Swift Backup etc) and little things like not losing my autobrightness settings which have been learning my usage etc
As others have said, delete the userdata file to make sure that partition isn't erased. I don't think dirty flashing is as a big of a deal as people are making it out to be nowadays.
Just make sure you extract and pre-patch the new boot image with Magisk before you flash.
YandereSan said:
As others have said, delete the userdata file to make sure that partition isn't erased. I don't think dirty flashing is as a big of a deal as people are making it out to be nowadays.
Just make sure you extract and pre-patch the new boot image with Magisk before you flash.
Click to expand...
Click to collapse
Thanks for the response.
When the time comes I'll certainly give that a go, though will indeed br sure to make a full backup in case.
I'm still hoping for someone to comment confirming this method works as I've read that some users get a decryption error, but I'll give it a go soon and post back ?
Newflasher guy gets mad when you talk about anything other than flashing every file so I'll post my update here.
Removed persist.sin and userdata.sin from the 3.88 update and ran through newflasher v33. Booted right back up and lost no data. YMMV.
I'm no pro to all this but I rooted for WiFi calling when I first got the phone. The other day I saw the update for Raw on my phone and updated just fine!?
Montane said:
I'm no pro to all this but I rooted for WiFi calling when I first got the phone. The other day I saw the update for Raw on my phone and updated just fine!?
Click to expand...
Click to collapse
By "rooting" for WiFi calling did you just flash another customization or did you unlock the bootloader? AFAIK there's no reason to root for getting WiFi calling as flashing another firmware is the easiest way.
Montane said:
I'm no pro to all this but I rooted for WiFi calling when I first got the phone. The other day I saw the update for Raw on my phone and updated just fine!?
Click to expand...
Click to collapse
Do you mean to say you received at OTA update notification via the system update option when rooted? Or you did a manual flash via newflasher?
I'll shutup. I flashed my stock Xp1 ii from O2 XQ_AT51 to enable wificalling for Vodafone etc.
Montane said:
I'll shutup. I flashed my stock Xp1 ii from O2 XQ_AT51 to enable wificalling for Vodafone etc.
Click to expand...
Click to collapse
If you unlocked your bootloader then you will not be able to take OTAs. You do not need to have bootloader unlocked to flash another stock firmware (ie through flashtool or newflasher). You do need to have bootloader unlocked to obtain root privileges.
cd993 said:
Thanks for the response.
When the time comes I'll certainly give that a go, though will indeed br sure to make a full backup in case.
I'm still hoping for someone to comment confirming this method works as I've read that some users get a decryption error, but I'll give it a go soon and post back ?
Click to expand...
Click to collapse
I unlocked my Xperia 1 II, downloaded the latest raw update from XperiFirm, deleted the userdata file, put the phone into download mode (vol. down + power), flashed via NewFlasher v33.
Phone booted up perfectly fine. Running the latest update and have raw option for all 3 cameras.
The only time your device will wipe is when you first unlock the bootloader. Otherwise, you shouldn't have any issues updating it.

Categories

Resources