[Q] Nandroid Backup - Xperia Z1 Q&A, Help & Troubleshooting

So i've been thinking about re-unlocking my bootloader. If I do a nandroid backup now, with my bootloader locked, and unlock it, will I be able to restore the backup without any hassle? I wanna try X-honami kernel so bad but I don't wanna wipe my phone again :crying:

You have asked this question here
http://forum.xda-developers.com/showpost.php?p=54982606&postcount=405
Please do not make multiple threads
Thread closed

Related

Rooting Xperia Z then restoring back to COMPLETE original state

Hi all,
I have a stock Xperia Z at the moment. Its a work phone.
I want to root it but because its a work phone I have to know I can go back to complete original state if I want to.
Now I have read the threads about backin up your TA partition but I am not sure if by doing this and also by having a stock image I can go back to 100% original?
I read this thread: http://forum.xda-developers.com/showthread.php?t=2234627
Few questions:
- If I root the phone - does it do anything permanent or can I then just loose root easily and go back to exactly how it is now?
- What exactly is the difference between rooting your phone and unlocking your boot loader?
- If I backup the TA partition using the steps in the thread provided above, can I then just do anything else I want to the phone and then restore back to original or are there other steps? and if so, what are they.
Any and all up to date information from someone who knows what they are talking about hugely welcomed.
More nervous than usual just because its a work phone (rooted and used to Custom ROM my HTC Sensation all the time but didn't care as it was my own phone).
Thanks
No one?
Sent from my C6603 using Tapatalk 4 Beta
nnila said:
Hi all,
I have a stock Xperia Z at the moment. Its a work phone.
I want to root it but because its a work phone I have to know I can go back to complete original state if I want to.
Now I have read the threads about backin up your TA partition but I am not sure if by doing this and also by having a stock image I can go back to 100% original?
I read this thread: http://forum.xda-developers.com/showthread.php?t=2234627
Few questions:
- If I root the phone - does it do anything permanent or can I then just loose root easily and go back to exactly how it is now?
- What exactly is the difference between rooting your phone and unlocking your boot loader?
- If I backup the TA partition using the steps in the thread provided above, can I then just do anything else I want to the phone and then restore back to original or are there other steps? and if so, what are they.
Any and all up to date information from someone who knows what they are talking about hugely welcomed.
More nervous than usual just because its a work phone (rooted and used to Custom ROM my HTC Sensation all the time but didn't care as it was my own phone).
Thanks
Click to expand...
Click to collapse
1 - Rooting only changes things on the software side. So it allows you to get complete access to the system files and execute low level actions. So it doesn't do anything on the hardware side. That said, is your phone customized by your employer? Does it have anything specifically done to it? In that case two things might happen. The software is so customized that if you root it and flash a custom ROM on top of that, you WILL lose all the original apps and settings. So there might not be anyway of getting back to the original state. Secondly, your employer might have locked the bootloader permanently. This, I shall take up for answering your next question.
2 - As I mentioned, rooting is only a software level hack that gives unrestricted access. However, let's say you need to flash a custom KERNEL or flash CyanogenMod/AOKP/AOSP (based ROMS), then it's absolutely necessary to unlock your bootloader. This basically is telling the bootloader (which loads your kernel) to allow any unsigned kernels .i.e. non-stock kernels, to be flashed on to your phone. Now mind you, this will cause the DRM keys in your phone to be erased which means you will lose Bravia Engine enhancements for your Pictures. It does remain for the videos though. Lastly, you can relock your bootloader. But you can never get back the DRM keys and hence the Bravia Engine.
So you can either root by unlocking your bootloader or by using root exploits while keeping your bootloader locked.
3 - Since your bootloader is locked right now, I suggest you use DooMlord's rooting toolkit
Here's the link:
http://forum.xda-developers.com/showthread.php?t=2327472
Click to expand...
Click to collapse
Also, backing up the TA partition is only necessary if you want to unlock your bootloader. This aims at backing up your DRM keys so that you can flash them back when you want to relock your bootloader. However this method is still dicey and I wouldn't recommend it considering it is a very risky method and can easily hard brick your device.
Upshot: Locked bootloader - Use Rooting toolkit. Will retain DRM keys.
Unlocked bootloader - For custom Kernels and CM Roms. Will lose DRM keys.
nnila said:
Hi all,
I have a stock Xperia Z at the moment. Its a work phone.
I want to root it but because its a work phone I have to know I can go back to complete original state if I want to.
Now I have read the threads about backin up your TA partition but I am not sure if by doing this and also by having a stock image I can go back to 100% original?
I read this thread: http://forum.xda-developers.com/showthread.php?t=2234627
Few questions:
- If I root the phone - does it do anything permanent or can I then just loose root easily and go back to exactly how it is now?
- What exactly is the difference between rooting your phone and unlocking your boot loader?
- If I backup the TA partition using the steps in the thread provided above, can I then just do anything else I want to the phone and then restore back to original or are there other steps? and if so, what are they.
Any and all up to date information from someone who knows what they are talking about hugely welcomed.
More nervous than usual just because its a work phone (rooted and used to Custom ROM my HTC Sensation all the time but didn't care as it was my own phone).
Thanks
Click to expand...
Click to collapse
-Root ---U can get back your device unRoot by update your device via SUS.
- ROOTING and Unlock BL very difference.
Root >> i can only reach your device till system app or modified many thing in system exclude kernel. and i cant install MOD ROM that need kernel from that ROM.
Unlock BL -- U will loss DRM key your device but u can install may MOD rom or new kernell with good features. and u always can root your device with easy
About TA idk to much and only do backup here, not want to restore it coz can get Hard Bricked my device.
only that i know.... and im sorry for my poor English.
maybe other ppl can explain more or u can search by yourself in android development section.
Sent from my C6602 using xda premium
nnila said:
Hi all,
I have a stock Xperia Z at the moment. Its a work phone.
I want to root it but because its a work phone I have to know I can go back to complete original state if I want to.
Now I have read the threads about backin up your TA partition but I am not sure if by doing this and also by having a stock image I can go back to 100% original?
I read this thread: http://forum.xda-developers.com/showthread.php?t=2234627
Few questions:
- If I root the phone - does it do anything permanent or can I then just loose root easily and go back to exactly how it is now?
- What exactly is the difference between rooting your phone and unlocking your boot loader?
- If I backup the TA partition using the steps in the thread provided above, can I then just do anything else I want to the phone and then restore back to original or are there other steps? and if so, what are they.
Any and all up to date information from someone who knows what they are talking about hugely welcomed.
More nervous than usual just because its a work phone (rooted and used to Custom ROM my HTC Sensation all the time but didn't care as it was my own phone).
Thanks
Click to expand...
Click to collapse
If you backup your TA partition, you can restore it later. This doesn't include anything other than the TA partition.
Rooting the phone just means that you have root access just like on any other linux distribution. You can fully unroot at anytime without any problems. Flashing an unrooted ROM or flashing the original ftf will remove root.
Rooting implies getting root access. You have higher privileges & apps that run as root have higher privileges. Unlocking the bootloader gives you access to protected partitions. The only real question is, do you want to use a custom kernel? - If you do, then unlock. Some ROMs, such as CM, run on custom kernels, so if you plan on using such ROMs, you need to unlock.
No, backing up TA is not enough, Follow this thread to get yourself a full ftf for your current customization that can be flashed with the official flashtool for Unlocked bootloaders or the unofficial flashtool that works with locked bootloaders. Further, you also need to relock your bootloader to fully return back to the original state.
If you aren't comfortable with doing all this, don't.
The next time you want to ask a quick question, please post in the Help Thread.
These questions are nothing new, already been answered multiple times, just adding to the clutter in the Q&A forum.

One click unroot?

I am facing a dilemma here.
I want to root my phone (probably using towelroot)
But sometime in the future I want to return it to the exactly unrooted state.
The problem is, for that,
I must unlock bootloader
Install CWM and backup my phone in case things go wrong
Maybe install a rom.
BUT.
If I root my phone, how will I go back to exactly the old stock state, because I am creating a backup 'After' rooting?
So If I restore using CWM, the bootloader remains unlocked and still rooted?
If i want to relock bootloader, I need root.
If I want to unroot I need an unlocked bootloader.
Im so confused. Please help.
That brings me to my qn. Any one click restore to stock?
Newbie, have mercy
Why will you unroot? (Or if you don't know exactly what it means: read, read, read and ask)
You can always go back if you flash KDZ file (unroot en relock bootloader -> see thread)
fear2433 said:
I am facing a dilemma here.
I want to root my phone (probably using towelroot)
But sometime in the future I want to return it to the exactly unrooted state.
The problem is, for that,
I must unlock bootloader
Install CWM and backup my phone in case things go wrong
Maybe install a rom.
BUT.
If I root my phone, how will I go back to exactly the old stock state, because I am creating a backup 'After' rooting?
So If I restore using CWM, the bootloader remains unlocked and still rooted?
If i want to relock bootloader, I need root.
If I want to unroot I need an unlocked bootloader.
Im so confused. Please help.
That brings me to my qn. Any one click restore to stock?
Newbie, have mercy
Click to expand...
Click to collapse
You can root and unlock the bootloader and restore everithing. Yes you have to read and understand before act. I suggest you start ro read some here:
http://forum.xda-developers.com/lg-l90/general/guide-flash-stock-kdz-offline-lg-l90-t2803479
http://forum.xda-developers.com/lg-l90/general/guide-fastboot-l90-d415-t2827825
http://forum.xda-developers.com/showthread.php?t=2770938&page=31
Here you can find almost all you need.
Petrpan_2 said:
You can root and unlock the bootloader and restore everithing. Yes you have to read and understand before act. I suggest you start ro read some here:
http://forum.xda-developers.com/lg-l90/general/guide-flash-stock-kdz-offline-lg-l90-t2803479
http://forum.xda-developers.com/lg-l90/general/guide-fastboot-l90-d415-t2827825
http://forum.xda-developers.com/showthread.php?t=2770938&page=31
Here you can find almost all you need.
Click to expand...
Click to collapse
I thank you for the links.
But can you clarify 1 doubt?
How To backup your phone before rooting? (Because CWM requires an unlocked bootloader. An a to unlock bootloader, I must be rooted. Isnt it a paradox?)
Or must I root before backup?
fear2433 said:
I thank you for the links.
But can you clarify 1 doubt?
How To backup your phone before rooting? (Because CWM requires an unlocked bootloader. An a to unlock bootloader, I must be rooted. Isnt it a paradox?)
Or must I root before backup?
Click to expand...
Click to collapse
If you read the links you'll get the answer at your questions.
In any case you don't need to backup before rooting.
Just read and understand all links plus this one "Frequently Asked Questions"
forum.xda-developers.com/lg-l90/help/lg-optimus-l90-faq-t2836981
There is no danger in rooting, only the (wrong) use of root can be dangerous.
Sent from my LG-D405n using XDA Free mobile app

[Q] restore ROM Backup with TA Partition

Hello,
i have an Firmware Backup from the Stock 157 ROM with TA Patition (ta.emmc.win, ta.emmc.win.md5) on my SD Card. I made this before i unlock my device.
When i would restore this Backup, is the Bootloader closed after this, or would my device Hardbricked?
Greets Lars
No one an idea?
-Happy Feet- said:
Hello,
i have an Firmware Backup from the Stock 157 ROM with TA Patition (ta.emmc.win, ta.emmc.win.md5) on my SD Card. I made this before i unlock my device.
When i would restore this Backup, is the Bootloader closed after this, or would my device Hardbricked?
Greets Lars
Click to expand...
Click to collapse
My advice, try to lock the bootloader first (Be sure to be on stock .157 before relocking and backup your SD CARD) then after that, restore your backup stock .157. Everything should work fine since you'd just relock your bootloader, maybe it will erase some data, but in my case after i unlock or relock my BL, no data was loss during the procedure.
For the TA Partition, have you made any backup using this method or any backup TA tool? I can't assure you if the DRM keys will still be intact in the backup ROM.
yoorie016 said:
My advice, try to lock the bootloader first (Be sure to be on stock .157 before relocking and backup your SD CARD) then after that, restore your backup stock .157. Everything should work fine since you'd just relock your bootloader, maybe it will erase some data, but in my case after i unlock or relock my BL, no data was loss during the procedure.
For the TA Partition, have you made any backup using this method or any backup TA tool? I can't assure you if the DRM keys will still be intact in the backup ROM.
Click to expand...
Click to collapse
Sure, an Backup is already present at my PC. That was the first thing that I have do with this phone. I ask only if it possible with this way. I mean I have read last year an post from Doomloard. But I can't find this post.
Good! Relock using flashtool, restore backup then check if there are any issues, then finally, restore the DRM keys, just to be sure..
I think it is better I flash an complete ftf file an relock then... I don't need this backup anyone... Thanks for help.
-Happy Feet- said:
I think it is better I flash an complete ftf file an relock then... I don't need this backup anyone... Thanks for help.
Click to expand...
Click to collapse
Okay, just check first if the DRM keys are still intact after flashing the ftf, then closed this thread after if the problem is solved. thank you!
if u want to unlock bl: use flashtool
if u want to relock bl: use TA tool [if and only if u did a back up using TA and b4 unlocking bl]
BE ON STOCK FTF

Restore TA Partition

Hello so i unlocked the bootloader and checked the bootloader status which was unlocked but before doing it i backed up ta partition of my device. And to test it i restored it and checked again and it was showing bootloader unlocked allowed yes.
So I went ahead and unlocked the bootloader again tried many custom roms in a year.
Now after a year I am trying to restore TA partition with the help of backup ta tool but somehow I am getting error in restoring it.
So all i am asking is there any manual way to do it except for the software??
gauravbhakuni90 said:
Hello so i unlocked the bootloader and checked the bootloader status which was unlocked but before doing it i backed up ta partition of my device. And to test it i restored it and checked again and it was showing bootloader unlocked allowed yes.
So I went ahead and unlocked the bootloader again tried many custom roms in a year.
Now after a year I am trying to restore TA partition with the help of backup ta tool but somehow I am getting error in restoring it.
So all i am asking is there any manual way to do it except for the software??
Click to expand...
Click to collapse
Tell us which error you are getting?
Are you already back on stock?
My feelings are that maybe you need to be on stock bootloader or kernel to restore your ta partition.
How you searched the TA thread for a solution?
motorazrv3 said:
Tell us which error you are getting?
Are you already back on stock?
My feelings are that maybe you need to be on stock bootloader or kernel to restore your ta partition.
How you searched the TA thread for a solution?
Click to expand...
Click to collapse
Found the soultion actually i was restoring it on win 10 and i was getting error related to find.exe so i went back to the thread and literally read the whole thread when i found the soultion on the last page .
I have to replace some dll in tools folder .
Now i am able to restore it but thanks anyways.

Re Locking Bootloader

I'm just wondering if it's possible to like...
Unlock bootloader then restores your Titanium backup apps and then relock.. or no?
Because as far as I know there's no twrp that can read the encrypted memory and MIUI automatically encrypts the system right?
So basically there's no way to install Magisk ..
If anyone know if it's possible let me know please
I don't understand your question.
I have unlocked my Mi9, installed TWRP,deleted DATA partition, flashed xiaomi.eu,flashed magisk than restored a titanium backup taken from my old phone simply by transfer the folder with pc....
And I don't understand why people wanna relock bootloader!? In most cases you brick your phone, because it's not stock.
Guys I mean with stock global ROM not with xiaomi.eu or any other none official ROM.
I wanna lock bootloader in case my device gets stolen, lost etc.
You never know on which hands it can end.
Relock bootloader only if you flash the stock untouched image. It'useless to have a rooted locked device.... And you may cause a brick.
Yeah as we said... Don't do it if you rooted your device or flashed TWRP or anything. Relock only if it's totally stock. You may risk to brick your phone otherwise.
I was asking if it's possible to root only to being able to restore titanium apps, then remove root and then somehow restore default boot img and re lock bootloader.
PriPhaze said:
I was asking if it's possible to root only to being able to restore titanium apps, then remove root and then somehow restore default boot img and re lock bootloader.
Click to expand...
Click to collapse
I wouldn't try that. It's maybe possible but it's also possible to brick phone while there is something more changed after root and twrp. I don't know I'm not a Dev.
PriPhaze said:
I was asking if it's possible to root only to being able to restore titanium apps, then remove root and then somehow restore default boot img and re lock bootloader.
Click to expand...
Click to collapse
I think you will mess the storage due to encription....

Categories

Resources