Relocking pre rooted stock without losing data - Xperia Z Q&A, Help & Troubleshooting

Hello i have one question : if on pre rooted stock rom 230, is it possible to relock bootloader without losing data and installed apps? And if, then how?
Thanks

You will not loose anything if you relock the bootloader
Xperia™ Z (C6602) with Tapatalk

I tried to lock my bootloader and the result was a factory reset.

thunder141 said:
Hello i have one question : if on pre rooted stock rom 230, is it possible to relock bootloader without losing data and installed apps? And if, then how?
Thanks
Click to expand...
Click to collapse
For personal data , copy paste data in PC.
For applications. Backup the applications using this and copy the folder to PC

Related

Xperia Z1 backup DRM, after Relock Bootloader it camera will work back?

Dear all,
I have one more noob question again.
I was use a tool name Backup-TA-9.8 to backup my Xperia Z1 DRM. If I unlock it boot loader I know that the camera will not work. But if I relock it bootloader and restore my DRM. Dose the camera will work well again?
Best regards,
Brian Lee Mataba
My device is Xperia Z1 C6902
Brianlymtb said:
Dear all,
I have one more noob question again.
I was use a tool name Backup-TA-9.8 to backup my Xperia Z1 DRM. If I unlock it boot loader I know that the camera will not work. But if I relock it bootloader and restore my DRM. Dose the camera will work well again?
Best regards,
Brian Lee Mataba
My device is Xperia Z1 C6902
Click to expand...
Click to collapse
yes, as long as you have backed up the TA BEFORE you unlock the bootloader
gregbradley said:
yes, as long as you have backed up the TA BEFORE you unlock the bootloader
Click to expand...
Click to collapse
Yeah, thanks
So I will unlock it and test the Omni ROM today xD
Brianlymtb said:
Yeah, thanks
So I will unlock it and test the Omni ROM today xD
Click to expand...
Click to collapse
But when relocking/restoring you will not be able to use those custom roms anymore (those not based on stock), just so you remember/know.
gregbradley said:
yes, as long as you have backed up the TA BEFORE you unlock the bootloader
Click to expand...
Click to collapse
Small question, wouldn't it be possible to unlock, root (by pushing su binaries in a custom recovery and restoring stock recovery), and relock? No reason it wouldn't work imo, and I find this procedure faster than doing the downgrade, root, recovery, upgrade method
MohammadAG said:
Small question, wouldn't it be possible to unlock, root (by pushing su binaries in a custom recovery and restoring stock recovery), and relock? No reason it wouldn't work imo, and I find this procedure faster than doing the downgrade, root, recovery, upgrade method
Click to expand...
Click to collapse
yes, but when you unlock you void your warranty, so unless you are planning on keeping an unlocked bootloader I reckon the extra minute it takes to downgrade etc... is worth it to keep your warranty
Also,
There is no such thing as a "stock recovery" on Xperia devices.
Also,
there is no need to install a recovery on the downgrade method if you do not want to.
gregbradley said:
yes, but when you unlock you void your warranty, so unless you are planning on keeping an unlocked bootloader I reckon the extra minute it takes to downgrade etc... is worth it to keep your warranty
Also,
There is no such thing as a "stock recovery" on Xperia devices.
Also,
there is no need to install a recovery on the downgrade method if you do not want to.
Click to expand...
Click to collapse
No warranty here anyway.
I remember OTA-upgrading an Xperia Z, and that simply flashed a zip package in recovery. Why would there be no stock recovery?
And you need to install a custom recovery to do the upgrade, either that or copy files while the system is running, and I'm not sure how the latter would work without the system crashing at some point.
MohammadAG said:
No warranty here anyway.
I remember OTA-upgrading an Xperia Z, and that simply flashed a zip package in recovery. Why would there be no stock recovery?
And you need to install a custom recovery to do the upgrade, either that or copy files while the system is running, and I'm not sure how the latter would work without the system crashing at some point.
Click to expand...
Click to collapse
No.
Xperia devices have never come with a stock recovery accessible for the user.
Upgrading OTA means you do not flash it in recovery, you download the files Over The Air and then the phone upgrades itself.
No official upgrades are done in recovery, only custom kernels, custom roms or custom updates are flashed in custom recoveries
gregbradley said:
No.
Xperia devices have never come with a stock recovery accessible for the user.
Upgrading OTA means you do not flash it in recovery, you download the files Over The Air and then the phone upgrades itself.
No official upgrades are done in recovery, only custom kernels, custom roms or custom updates are flashed in custom recoveries
Click to expand...
Click to collapse
I know what OTA means, on previous devices with stock recovery, it simply drops you into recovery and does the flashing itself without the user ever having to touch anything. Same goes for wiping user data, it's done in recovery.
Whether the recovery is accessible to the user or not is another thing, and I didn't know about it, so thanks for that.
gregbradley said:
yes, as long as you have backed up the TA BEFORE you unlock the bootloader
Click to expand...
Click to collapse
How do you do a TA backup on the Z1? When you do the TA backup before doing anything else you usually do not have root yet, so I wonder how to backup the TA......
Follow any if the several guides in the dev section on how to backup TA. I can see at least 2 guides on the first page
Sent from my C6903 using XDA Premium 4 mobile app

Rooting is it really worth it?

Hi I am new to super smart phones like the z1, I'm the type of person to want to hack things and make them beret but I'm also the type of person everything goes wrong for. I want to know if it really worth rooting my phone what I would gane and if it worth the risk,? Thanks
Sent from my C6903 using xda app-developers app
Some of the Benefits of Rooting:
1. Easily backup your apps + data to your Ext sd card (no PC required)
2. Remove bloatware (pre-installed carrier apps that you cant remove without root)
3. Full customization of your xperia z1. Examples: change your navigation bar layout, add 3 dot menu bar, customize your status bar, assign different actions to your hardware buttons, increase/decrease height of your navigation bar etc
4.Flash custom ROMs and kernels (if your bootloader unlocked)
5.Overclokking.
6.Improve Battery life with Frequencies and Governors.
7.Full access to your System phone.
8.Modified build.prop to make uncompatible, compatible apps.
9...and more...
RushNReady said:
Hi I am new to super smart phones like the z1, I'm the type of person to want to hack things and make them beret but I'm also the type of person everything goes wrong for. I want to know if it really worth rooting my phone what I would gane and if it worth the risk,? Thanks
Sent from my C6903 using xda app-developers app
Click to expand...
Click to collapse
anyone who is asking this question shouldn't mind if he needs root - you need root ^^
there should be no problems if you read the instructions and immediatly ask questions when there are problems
ruinkhan said:
Some of the Benefits of Rooting:
1. Easily backup your apps + data to your Ext sd card (no PC required)
2. Remove bloatware (pre-installed carrier apps that you cant remove without root)
3. Full customization of your xperia z1. Examples: change your navigation bar layout, add 3 dot menu bar, customize your status bar, assign different actions to your hardware buttons, increase/decrease height of your navigation bar etc
4.Flash custom ROMs and kernels (if your bootloader unlocked)
Click to expand...
Click to collapse
So if I root my phone will all the stuff I have on there already stays there or does it wipe it. What happens when new updates come out? My warrenty stops to doesn't it? I would have to flash a stock rom if i have any problems? so the phones functions all work the same Ie connecting a ps3 controler? Just worry I'm going to screw it up or loose things to gain things
RushNReady said:
So if I root my phone will all the stuff I have on there already stays there or does it wipe it. What happens when new updates come out? My warrenty stops to doesn't it? I would have to flash a stock rom if i have any problems? so the phones functions all work the same Ie connecting a ps3 controler? Just worry I'm going to screw it up or loose things to gain things
Click to expand...
Click to collapse
Unlocking bootloader might do that, but not root.
So rooting my phone will give me more control and customisation. Still keeping installed apps and game progress? Un locking bootloader will change everything and loose everything?
RushNReady said:
So rooting my phone will give me more control and customisation. Still keeping installed apps and game progress? Un locking bootloader will change everything and loose everything?
Click to expand...
Click to collapse
Exactly.
First thing I do when I get a new phone. Root the thing. Grab titanium, get CRT an I'm happy again. . Yea its worth it m8. 100%
Sent from my C6903 using XDA Premium 4 mobile app
someone could confirm whether the BIONZ processing is lost??
thank you
yanbee said:
someone could confirm whether the BIONZ processing is lost??
thank you
Click to expand...
Click to collapse
You don't loose anything when you root the phone.
When you unlock the bootloader than yes you will loose a few features such as Bionz and also the Xperia Throw.
Here is a video that should clarify a few things for you:
Just2Cause said:
Exactly.
Click to expand...
Click to collapse
Were is the thanks button. What's the best way to root then
Sorry I mean unlocking bootloader
Enviado desde mi C6903 mediante Tapatalk
RushNReady said:
Were is the thanks button. What's the best way to root then
Click to expand...
Click to collapse
First question is what version of firmware you are on. To get a fully functional root on 4.3 firmware (with write to system ability) you need to unlock the bootloader first.
You can have a partial root on 4.3 that will still allow use of Titanium Backup or Xposed Framework. To get root you need to use Flashtool to downgrade to old 534 firmware. Than root with vroot (check out my channel for video). Than install dual recovery. Once you have root and recovery flash a prerooted rom. I would highly advise using monxdified rom.
Sent from my C6903 using Tapatalk
---------- Post added at 11:05 PM ---------- Previous post was at 11:04 PM ----------
shem2409 said:
First question is what version of firmware you are on. To get a fully functional root on 4.3 firmware (with write to system ability) you need to unlock the bootloader first.
You can have a partial root on 4.3 that will still allow use of Titanium Backup or Xposed Framework. To get root you need to use Flashtool to downgrade to old 534 firmware. Than root with vroot (check out my channel for video). Than install dual recovery. Once you have root and recovery flash a prerooted rom. I would highly advise using monxdified rom.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Also there are 100 of threads that give you information on how to get root. Please read before asking the same information.
Sent from my C6903 using Tapatalk
shem2409 said:
First question is what version of firmware you are on. To get a fully functional root on 4.3 firmware (with write to system ability) you need to unlock the bootloader first.
You can have a partial root on 4.3 that will still allow use of Titanium Backup or Xposed Framework. To get root you need to use Flashtool to downgrade to old 534 firmware. Than root with vroot (check out my channel for video). Than install dual recovery. Once you have root and recovery flash a prerooted rom. I would highly advise using monxdified rom.
Sent from my C6903 using Tapatalk
---------- Post added at 11:05 PM ---------- Previous post was at 11:04 PM ----------
Also there are 100 of threads that give you information on how to get root. Please read before asking the same information.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
i have 4.2.2 is that what you mean by firmware ? i wanted to ask is it worth it whats the point in having a website where you can post question you want answered to then only be told not to ask any just read other peoples dont make sense
RushNReady said:
i have 4.2.2 is that what you mean by firmware ? i wanted to ask is it worth it whats the point in having a website where you can post question you want answered to then only be told not to ask any just read other peoples dont make sense
Click to expand...
Click to collapse
When you go to Settings>About Phone under Build Number you will get the firmware that you are on. To root the phone you need to downgrade to .534 firmware. This place is to ask questions, but there is a search function for a reason. When you ask the same question for 100th time you just flood the forum. Your question on why you should root has been answered. If you want to find out how to do it read on the respective threads.
Sent from my C6903 using Tapatalk
shem2409 said:
First question is what version of firmware you are on. To get a fully functional root on 4.3 firmware (with write to system ability) you need to unlock the bootloader first.
You can have a partial root on 4.3 that will still allow use of Titanium Backup or Xposed Framework. To get root you need to use Flashtool to downgrade to old 534 firmware. Than root with vroot (check out my channel for video). Than install dual recovery. Once you have root and recovery flash a prerooted rom. I would highly advise using monxdified rom.
Click to expand...
Click to collapse
I did a backup of TA partition, then I updated to 4.3 (290) and unlocked bootloader in order to flash TWRP and flash SuperSu. All was nice, except for x-reality didn`t work (which i dont care so much) but I didn't know if BIONZ camera image processor stop working too.
This is my only concern. I want to know if its possible to have unlocked bootloader and root without loosing BIONZ processor. I tried restoring TA partition while unlocked/rooted, but it became in a soft-brick which I only could solve flashing a ftf.
Thank you very much!
yanbee said:
I did a backup of TA partition, then I updated to 4.3 (290) and unlocked bootloader in order to flash TWRP and flash SuperSu. All was nice, except for x-reality didn`t work (which i dont care so much) but I didn't know if BIONZ camera image processor stop working too.
This is my only concern. I want to know if its possible to have unlocked bootloader and root without loosing BIONZ processor. I tried restoring TA partition while unlocked/rooted, but it became in a soft-brick which I only could solve flashing a ftf.
Thank you very much!
Click to expand...
Click to collapse
When you unlock the bootloader you loose the DRM keys.Technologies such as X-reality Engine or Bionz will not work with bootloader unlocked.
When you restore your TA do it on the same firmware that you did the backup on. There have been issues reported when trying to restore backup from 4.2.2. on 4.3
shem2409 said:
When you unlock the bootloader you loose the DRM keys.Technologies such as X-reality Engine or Bionz will not work with bootloader unlocked.
When you restore your TA do it on the same firmware that you did the backup on. There have been issues reported when trying to restore backup from 4.2.2. on 4.3
Click to expand...
Click to collapse
But it's possible to have a working camera without bionz working? (such it happens in 4.3 after unlocking bootloader).
I can only do TA backup in 4.2.2 (534 or 257) because are the only rooteable versions. And I only can unlock bootloader in 4.3 because it's the only version which doesn't lose camera functionality. How it's supposed to be root and restore TA in 4.3?
Thank you.
yanbee said:
But it's possible to have a working camera without bionz working? (such it happens in 4.3 after unlocking bootloader).
I can only do TA backup in 4.2.2 (534 or 257) because are the only rooteable versions. And I only can unlock bootloader in 4.3 because it's the only version which doesn't lose camera functionality. How it's supposed to be root and restore TA in 4.3?
Thank you.
Click to expand...
Click to collapse
The camera works on 4.3 when bootloader is unlocked. You are going to loose bionz and x-reality. You cannot relock the bootloader on 4.3 if you want to have a functioning root. It's either one or the other. When you restore TA you will relock the bootloader.
Sent from my C6903 using Tapatalk

[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] Does Rom Porter work with stock roms?

Hi,
can i port Android 4.4 from Xperia Z1 to Xperia T using Rom Porter or it's working only with costum roms? I greet
Arcathic said:
Hi,
can i port Android 4.4 from Xperia Z1 to Xperia T using Rom Porter or it's working only with costum roms? I greet
Click to expand...
Click to collapse
it could be done for unlocked bootloaders but if you're thinking of trying it for locked bootloaders it can't be done since we have a 4.3 kernel, so you can port a 4.3 ROM theorectically
matt4321 said:
it could be done for unlocked bootloaders but if you're thinking of trying it for locked bootloaders it can't be done since we have a 4.3 kernel, so you can port a 4.3 ROM theorectically
Click to expand...
Click to collapse
Thanks for answer. Can I unlock bootloader without removing folder "data"?
Arcathic said:
Thanks for answer. Can I unlock bootloader without removing folder "data"?
Click to expand...
Click to collapse
unfortunately you can't, /data partition will always be wiped when unlocking the bootloader
matt4321 said:
unfortunately you can't, /data partition will always be wiped when unlocking the bootloader
Click to expand...
Click to collapse
If I will unlock bootloader, all my apps, games saves and settings would be removed, yes? Can I simply copy folder "data" before unlock and replace copied folder after unlock? Or won't it work? Sorry for my English.
Arcathic said:
If I will unlock bootloader, all my apps, games saves and settings would be removed, yes? Can I simply copy folder "data" before unlock and replace copied folder after unlock? Or won't it work? Sorry for my English.
Click to expand...
Click to collapse
as far as I know you can backup with this without root: https://play.google.com/store/apps/details?id=com.koushikdutta.backup
you can use titanium backup with root and backup your apps with that.
then restore after you have unlocked the bootloader
Can you write how to port Android 4.4 from XZ1 to XT?

[Q] unlock bootloader from version 4.3- 4.4.2 wont make z1 lose DRM keys anymore?

my Z1 is on lastest stock kitkat firmware 14.3.A.0.757
does i need downgrade,root and backup TA before unlock bootloader?
or i can unlock bootloader directly and flash doomlord kernel to install rooted rom?
thx for your help
hxq88 said:
my Z1 is on lastest stock kitkat firmware 14.3.A.0.757
does i need downgrade,root and backup TA before unlock bootloader?
or i can unlock bootloader directly and flash doomlord kernel to install rooted rom?
thx for your help
Click to expand...
Click to collapse
Its your choice
If you want to backup your ta you need to downgrade
If you are not bothered, just unlock
hxq88 said:
my Z1 is on lastest stock kitkat firmware 14.3.A.0.757
does i need downgrade,root and backup TA before unlock bootloader?
Click to expand...
Click to collapse
Yes
hxq88 said:
or i can unlock bootloader directly and flash doomlord kernel to install rooted rom?
thx for your help
Click to expand...
Click to collapse
if losing Warranty is not a problem to You then Yes, it's the quickest way. Doing this you will be unable to do a Backup TA so your DRM keys will be lost forever with the warranty.
i just need confirm unlock bootloader directly from 4.3 version is safe for all sony feature (x-reality, track ID, and camera ). i used nexus before thats why xperia system sencurity is strange with me
thanks your reply
hxq88 said:
i just need confirm unlock bootloader directly from 4.3 version is safe for all sony feature (x-reality, track ID, and camera ). i used nexus before thats why xperia system sencurity is strange with me
thanks your reply
Click to expand...
Click to collapse
I unlocked on 4.3 and Camera, Track ID working. X-Reality turn On and Off but I never, even when I was stock, saw any difference. So if you want unlock on 4.3 (FW .136) it's ok.

Categories

Resources