Relock bootloader - Sony Xperia ZR

Does anybody know if there is a way to relock the bootloader on the ZR?
Have unlocked the bootloader but realized that I don't need it unlocked.

rufy93 said:
Does anybody know if there is a way to relock the bootloader on the ZR?
Have unlocked the bootloader but realized that I don't need it unlocked.
Click to expand...
Click to collapse
AFAIK, you need to backup using Backup TA first before unlocking. Then you can restore everything using it again later.

Unfortunately I was stupid enough to not do that, so right now I have a backup with an unlock bootloader.

rufy93 said:
Unfortunately I was stupid enough to not do that, so right now I have a backup with an unlock bootloader.
Click to expand...
Click to collapse
Try this?
1. Download and install Flashtool
2. Connect phone in Flash-mode (phone shut down, volume down + power)
3. Press the BLU button
4. Press the relock option
5. Put a stock .ftf firmware in the Flashtool firmwares folder
6. Flash the firmware
Let me know if this works.
Sent from my C5503 using Tapatalk 2

When ressing the blu button in flash mode flashtool just wanted to unlock.
When going into bootloader it relocked just fine!
Thanks!

When you unlocked your bootloader without first running Backup-TA you lost your DRM keys though, so Bravia Engine for example is gone for ever. There is no way to recover this and you cannot flash a backup from another phone as it will brick your device.
http://forum.xda-developers.com/showthread.php?t=2153261

the problem is theres a file missing in flashtool folders for xperia zr:
loader.sin.
it exists in the xperia Z folder, you can try and copy it, but i'm afraid it might hard brick the device, i don't want to try it without knowing first...

Even if you recover your TA the DRM keys still are gone!! but still there is nothing absolute and drm can be restored without having them (there was a method on Xperia S and Xperia P which worked great!)

I relocked my bootloader by flastool first it said that loader sin wasn't found in c550x folder so I took the loader sin from stock .244 kernel and it worked
Sent from my C5503 using xda premium

nikhil18 said:
I relocked my bootloader by flastool first it said that loader sin wasn't found in c550x folder so I took the loader sin from stock .244 kernel and it worked
Sent from my C5503 using xda premium
Click to expand...
Click to collapse
can you please explain more? how did you take it from there?
i took the file doomlord offered here:
http://forum.xda-developers.com/showpost.php?p=45826921&postcount=523
he gave me a link, i copied the file from there and after is what flashtool output was...
didn't offed to relock my loader...

I opened the stock kernel as a zip file and took the loader.sin out and placed it in c550x folder and then it worked
Sent from my C5503 using xda premium

rufy93 said:
Unfortunately I was stupid enough to not do that, so right now I have a backup with an unlock bootloader.
Click to expand...
Click to collapse
I've done the same! Just unlocked the bootloader without thinking at all. So are you managed to relock it eventually? I'm seeking the way to relock it desperately!

nikhil18 said:
I opened the stock kernel as a zip file and took the loader.sin out and placed it in c550x folder and then it worked
Sent from my C5503 using xda premium
Click to expand...
Click to collapse
where exactly is this c550x folder?

Flashtool directory devices folder or search for c550x folder
Sent from my C5503 using XDA Premium HD app

djpeesh said:
Try this?
1. Download and install Flashtool
2. Connect phone in Flash-mode (phone shut down, volume down + power)
3. Press the BLU button
4. Press the relock option
5. Put a stock .ftf firmware in the Flashtool firmwares folder
6. Flash the firmware
Let me know if this works.
Sent from my C5503 using Tapatalk 2
Click to expand...
Click to collapse
Thanks a bunch I was able to relock my bootloader:laugh:

Related

Confirmation on way to root

Can please someone confirm this will work?
1. Downgrade to JB 4.2.2 14.1.G.1.534
2. Install locked dualrecovery 2.7.97 BETA
3. Flash KK 4.4.0 14.3.A.0.681
4. Flash with CWM superSU
I am asking because I read somewhere the following method:
1. Flash KK 4.4.0
2. Unlock bootloader
3. Install CWM thru a very complicated procedure that requires fastboot
4. Flash with CWM supeSU
Now, my question is: since I could install dualrecovery for unlocked bootloader, to avoid ulocking bootloader, why not downgrade, flash dualrecovery, upgrade and flash su?
Can please someone confirm this will work?
1. Downgrade to JB 4.2.2 14.1.G.1.534 (and root it)
1.2 (Backup TA Partition !Important, for the future)
2. Install locked dualrecovery 2.7.97 BETA
3. Flash KK 4.4.0 14.3.A.0.681 (via recovery)
4. Flash with CWM superSU
'
'
this is OK,
Killer2k8 said:
Can please someone confirm this will work?
1. Downgrade to JB 4.2.2 14.1.G.1.534 (and root it)
1.2 (Backup TA Partition !Important, for the future)
2. Install locked dualrecovery 2.7.97 BETA
3. Flash KK 4.4.0 14.3.A.0.681 (via recovery)
4. Flash with CWM superSU
'
'
this is OK,
Click to expand...
Click to collapse
cool thanks...
wht point 1.2? Is this necessary for what? I am not going to unlock bootloader
thegios said:
cool thanks...
wht point 1.2? Is this necessary for what? I am not going to unlock bootloader
Click to expand...
Click to collapse
If you're not going to unlock your bootloader then do not do it. you can also backit up when you're running kitkat with root.
But what's the harm? )
Killer2k8 said:
If you're not going to unlock your bootloader then do not do it. you can also backit up when you're running kitkat with root.
But what's the harm? )
Click to expand...
Click to collapse
ok hold on a sec, I did not read carefulyy...
you are saying I need to downgrade and root, then flash dual recovery, upgrade and flash su
I thought I could avoid rooting after downgrading, cos I cannot download from anywhere any tool to root 14.1.G.1.534
thegios said:
ok hold on a sec, I did not read carefulyy...
you are saying I need to downgrade and root, then flash dual recovery, upgrade and flash su
I thought I could avoid rooting after downgrading, cos I cannot download from anywhere any tool to root 14.1.G.1.534
Click to expand...
Click to collapse
1.downgrade to .534 via flashtool
2.root it using this guide http://forum.xda-developers.com/showthread.php?t=2439328 (vroot / root360)
3.install recovery, reboot to recovery wipe everything
4.flash kk zip file via recovery and then the stripped ftf file via flashtool
5. you have a rooted kitkat
more info here
http://forum.xda-developers.com/showthread.php?t=2687443
Killer2k8 said:
1.downgrade to .534 via flashtool
2.root it using this guide http://forum.xda-developers.com/showthread.php?t=2439328 (vroot / root360)
3.install recovery, reboot to recovery wipe everything
4.flash kk zip file via recovery and then the stripped ftf file via flashtool
5. you have a rooted kitkat
more info here
http://forum.xda-developers.com/showthread.php?t=2687443
Click to expand...
Click to collapse
I cannot download vroot and root360, websites are not working
thegios said:
I cannot download vroot and root360, websites are not working
Click to expand...
Click to collapse
Use Bin4ry method, it's more safe.
eclyptos said:
Use Bin4ry method, it's more safe.
Click to expand...
Click to collapse
I was hoping it would be less complicated...
I still do not understand why I have to root after downgrading...
After all, all I need is a custom recovery to flash superSU, and according to the guide all I need to install a dual recovery is. 534, no need to root it or to unlock it, according to the guide.
So if I do not want to unlock device and I do not care backing up TA, the following should suffice
1. Downgrade to. 534 with flashtool
2. Install dual recovery for unlocked phones
3. Upgrade to kitkat with flashtool using an official ftf
4. Flash superSU with cwm
thegios said:
I was hoping it would be less complicated...
I still do not understand why I have to root after downgrading...
Click to expand...
Click to collapse
Because you need root to install recovery
http://forum.xda-developers.com/showthread.php?p=51318613
The post here is what I did straight from Kitkat. No downgrade necessary.
After doomlord kernel install, just install su.zip using recovery
Sent from my C6903 using xda app-developers app
silverfox013 said:
http://forum.xda-developers.com/showthread.php?p=51318613
The post here is what I did straight from Kitkat. No downgrade necessary.
After doomlord kernel install, just install su.zip using recovery
Sent from my C6903 using xda app-developers app
Click to expand...
Click to collapse
I understand this requires an unlocked bootloader
thegios said:
I understand this requires an unlocked bootloader
Click to expand...
Click to collapse
the problem is that I do not want to unlock bootloader...
it seems it is an endless loop: either you unlock the bootloader if you do not want to downgrade, or you downgrade first if you do not want to unlock
thegios said:
the problem is that I do not want to unlock bootloader...
it seems it is an endless loop: either you unlock the bootloader if you do not want to downgrade, or you downgrade first if you do not want to unlock
Click to expand...
Click to collapse
the easiest way imo is to just unlock the bootloader.
flash the kitkat ftf via flashtool as linked below
unlock the bootloader via sonys website http://unlockbootloader.sonymobile.com/
flash doomlords kernel + recovery http://forum.xda-developers.com/showthread.php?t=2632808
via flashtool http://www.flashtool.net/download.php
FLASH SUPERSU via cwm http://download.chainfire.eu/supersu
done simple no need for screwing around downgrading ect ect
thegios said:
the problem is that I do not want to unlock bootloader...
it seems it is an endless loop: either you unlock the bootloader if you do not want to downgrade, or you downgrade first if you do not want to unlock
Click to expand...
Click to collapse
Just try it, you seem to be wanting extremely specific instructions and questioning everything you are told. Please try following them them asking for help as you go along, you never know, it might just work for you....
There is no need to unlock the bootloader if you downgrade, root, install recovery and flash a pre rooted rom. Please tell me which step of these instructions say "unlock the boot loader"
Sent from my C6903 using XDA Premium 4 mobile app
gregbradley said:
Just try it, you seem to be wanting extremely specific instructions and questioning everything you are told. Please try following them them asking for help as you go along, you never know, it might just work for you....
There is no need to unlock the bootloader if you downgrade, root, install recovery and flash a pre rooted rom. Please tell me which step of these instructions say "unlock the boot loader"
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
didnt say u mentioned to u lock... I simply said that I wanted to avoid it, but it seems there is no way out
Yes there is, you do not need to unlock the bootloader to root...
Sent from my C6903 using XDA Premium 4 mobile app
MON5TER said:
the easiest way imo is to just unlock the bootloader.
flash the kitkat ftf via flashtool as linked below
unlock the bootloader via sonys website http://unlockbootloader.sonymobile.com/
flash doomlords kernel + recovery http://forum.xda-developers.com/showthread.php?t=2632808
via flashtool http://www.flashtool.net/download.php
FLASH SUPERSU via cwm http://download.chainfire.eu/supersu
done simple no need for screwing around downgrading ect ect
Click to expand...
Click to collapse
I guess u r rite.. so I am gonna unlock: do I loose any sony feature? (audio plus, x reality, ...)
Also, since I do not have a custom recovery, I guess I will have to flash the kernel via fastboot, whi h will give me the ustom recovery, then flash superSU with the recovery
What do I need flashtool for?
gregbradley said:
Yes there is, you do not need to unlock the bootloader to root...
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I know I know... all I wanted to say is: eithef I stay on KK and unlo k the bootloader to root, or I do not unlock but have to downgrade etc.
Unlocking at this point seems easier, safer and faster, as I will keep my current rom which works fine
I will do a backup with sony toll and restore afterwards
But once you downgrade, root and install recovery you just flash a pre rooted 4.4 rom... The one from NUT is made from a stock ftf file with the relevant root files added to it. I don't see the issue.
As for unlocking, read the information on the sony website about it. You have to unlock using that site anyway. You will lose warranty and drm keys. However, to be able to lock again you need to back up your TA partition otherwise you lose the drm keys forever. Now to do that you must have root, so you are going to have to downgrade and root anyway
Sent from my C6903 using XDA Premium 4 mobile app

[Q] Fastboot issues

I am trying to flash a recovery trough fastboot phone is on .136 software. I "command not allowed" message. My bootloader is unlocked, if
I try to unlock it again it's saying that phone is allready rooted. I have no recovery installed. Anyone knows why I get this error?
craoul said:
I am trying to flash a recovery trough fastboot phone is on .136 software. I "command not allowed" message. My bootloader is unlocked, if
I try to unlock it again it's saying that phone is allready rooted. I have no recovery installed. Anyone knows why I get this error?
Click to expand...
Click to collapse
Because you do not do it that way on xperia phones.
Look for dual recovery in the OEM cross development thread for xperia devices and install that
Or flash a kernel with recovery like the dualrecovery one or DooMKerneL
gregbradley said:
Because you do not do it that way on xperia phones.
Look for dual recovery in the OEM cross development thread for xperia devices and install that
Or flash a kernel with recovery like the dualrecovery one or DooMKerneL
Click to expand...
Click to collapse
I tried DoomKernel and same issue.
I take it you have all the fastboot drivers and adb installed?
Please show a screenshot of the command window and the contents of the directory where you are using it from
gregbradley said:
I take it you have all the fastboot drivers and adb installed?
Please show a screenshot of the command window and the contents of the directory where you are using it from
Click to expand...
Click to collapse
Uploaded
hmm, try installing this minimal_adb_fastboot_v1.1.3_setup.exe - 2.12 MB
Also, can you dial *#*#7378423#*#* goto to sevice info and configuration and screen shot that please.
gregbradley said:
hmm, try installing this minimal_adb_fastboot_v1.1.3_setup.exe - 2.12 MB
Also, can you dial *#*#7378423#*#* goto to sevice info and configuration and screen shot that please.
Click to expand...
Click to collapse
uploaded
You have not unlocked your bootloader yet
Please goto http://unlockbootloader.sonymobile.com/ and do that first
Alternatively,
Use flashtool (flashtool.net) to flash a FTF file (FTF mega collection thread) that ends in .534 (You will probably lose IMEi but don't worry)
Then install dual recovery using the installer, not the kernel (XZDR dual recovery thread, OEM cross device development for xperias) then flash SuperSU (From chainfire) then flash a prerooted rom of your choice (Development or original development sections)
gregbradley said:
You have not unlocked your bootloader yet
Please goto http://unlockbootloader.sonymobile.com/ and do that first
Alternatively,
Use flashtool (flashtool.net) to flash a FTF file (FTF mega collection thread) that ends in .534 (You will probably lose IMEi but don't worry)
Then install dual recovery using the installer, not the kernel (XZDR dual recovery thread, OEM cross device development for xperias) then flash SuperSU (From chainfire) then flash a prerooted rom of your choice (Development or original development sections)
Click to expand...
Click to collapse
That's my problem. Even if I try to unlock it's telling me that it cannot do it because the phone is already rooted.
craoul said:
That's my problem. Even if I try to unlock it's telling me that it cannot do it because the phone is already rooted.
Click to expand...
Click to collapse
Hmm, I see.
Did you backup your TA partition? If so restore that and try to unlock again.
Otherwise, force a repair of your phones software via PCCompanion and then try again.
Let me know what it says
EDIT
Also try unistalling all your ADB stuff and reinstalling the from the link I sent you
gregbradley said:
Hmm, I see.
Did you backup your TA partition? If so restore that and try to unlock again.
Otherwise, force a repair of your phones software via PCCompanion and then try again.
Let me know what it says
EDIT
Also try unistalling all your ADB stuff and reinstalling the from the link I sent you
Click to expand...
Click to collapse
How do I force repair? Because it's telling me to upgrade to the latest software. I am on .136
Update then.
gregbradley said:
Update then.
Click to expand...
Click to collapse
still not working
Now force the repair.
Goto software update and click on the blue repair my phone link when you see it say the phone is upto date
edit
did you reinstall the adb?
gregbradley said:
Now force the repair.
Goto software update and click on the blue repair my phone link when you see it say the phone is upto date
Click to expand...
Click to collapse
did that already
craoul said:
did that already
Click to expand...
Click to collapse
OK, reinstall adb from the link I gave you
What OS are you running it from?
Win 7, but I will also try another computer.
Sent from my C6903 using XDA Premium 4 mobile app
Try using flashtool to unlock the bootloader (Use the BLU button) instead of using the command window.
Greg
gregbradley said:
Try using flashtool to unlock the bootloader (Use the BLU button) instead of using the command window.
Greg
Click to expand...
Click to collapse
Tried that, same issue.
@craoul
Did you use FlashTool to relock your device?

Cheeky question

Is there a way to flash (using flashtool) a FTF of the latest ROM that has is rooted and has a customer recovery.
I'm on the latest update of 4.4.2 but am a little nervous about playing round too much in terms of loading recovery onto it. A flashtool flash would be much easier.
My bootloader is locked but I can unlock it. It previously was locked anyway but relocked to update to 4.4
Sent from my C6903 using XDA Premium 4 mobile app
You can flash the Recovery on Locked and Unrooted Android. Download TWRP .zip and Install. Now you have the recovery.
Also you can unlock bootlader and flash an Advanced Kernel with Implemented Recovery, Done.
BTW, before attempt to Unlock Bootlader I will recommend to Backup TA first, then Unlock.
eclyptos said:
You can flash the Recovery on Locked and Unrooted Android. Download TWRP .zip and Install. Now you have the recovery.
Also you can unlock bootlader and flash an Advanced Kernel with Implemented Recovery, Done.
BTW, before attempt to Unlock Bootlader I will recommend to Backup TA first, then Unlock.
Click to expand...
Click to collapse
Thank you sir, when you say download TWRP do you mean flash it with flashtool or install it on the phone as per a normal app?
Sent from my C6903 using XDA Premium 4 mobile app
you cannot flash anything other than FTF files in flashmode with flashtool, and you cannot make any changes to FTF files like you suggest
The way to get to a rooted 4.4.2 rom is this
Flash a FTF file ending in .534 using flashtool (Look in the mega collection thread)
Install dual recovery (Look in the cross device development section)
Flash a pre rooted 4.4.2 rom (Look in the development section)
All download and instructions will be in the OP of the relevant threads
gregbradley said:
.. and you cannot make any changes to FTF files like you suggest
Click to expand...
Click to collapse
..do I?
eclyptos said:
..do I?
Click to expand...
Click to collapse
I was speaking to the OP

relock bootloader

hi guys, today i got notified that there is a new update for my c6602 which is 10.5.a.0.233)
tried to update it via sony pc companion but i got an error because of using modified software (bootloader unlocked)
i tried relocking it via flashtool BLU button but the phone wouldn't boot so i had to unlock it again
is there a working method for relocking it?
thanks
LP.Bullets said:
hi guys, today i got notified that there is a new update for my c6602 which is 10.5.a.0.233)
tried to update it via sony pc companion but i got an error because of using modified software (bootloader unlocked)
i tried relocking it via flashtool BLU button but the phone wouldn't boot so i had to unlock it again
is there a working method for relocking it?
thanks
Click to expand...
Click to collapse
See steps 4 and 5: http://forum.xda-developers.com/showpost.php?p=50513337&postcount=1
Kariharri said:
See steps 4 and 5: http://forum.xda-developers.com/showpost.php?p=50513337&postcount=1
Click to expand...
Click to collapse
thanks
it worked by using the flash tool to relock the bootloader using the BLU button (but after this the device won't boot)
then i flashed the new FTF file, i got the new firmware and the bootloader locked
LP.Bullets said:
thanks
it worked by using the flash tool to relock the bootloader using the BLU button (but after this the device won't boot)
then i flashed the new FTF file, i got the new firmware and the bootloader locked
Click to expand...
Click to collapse
The bootloader is not relocked when you flash stock FTF.
You will loose custom recovery and root.
Flash recovery and root again.

Bricked Xperia V

Tried to install a 4.4.4 ROM from Philz Touch, deleted the ROM image, tried installing the .zip with the 4.4.4 ROM, said this ROM is for "tsubasa lt25i" your device is "mint". Phone won't boot, Sony logo appears, a blue light flicks, won't boot into recovery or even boot. Can I fix it?
Flashtool may be your best choice.
Sent from my E2363 using Tapatalk
mfpss95134 said:
Flashtool may be your best choice.
Sent from my E2363 using Tapatalk
Click to expand...
Click to collapse
I would appreciate it so much if you could explain it to me step by step, cause I'm not an expert at this.
Bump.
It's in fastboot apparently, as Flashtool says so, device is recognized as PSDN:BX903JEHQV&ZLP. I click on Flashmode, but the .ftf file doesn't appear.
Bump.
Please prepare the ftf file for your device first.
Sent from my E2363 using Tapatalk
Tried like five different ftf files, they're in the firnwares folder of Flashtool, tho there are 3 subfolders as well, tried putting it in those as well, still not being recognized by Flashtool.
Flashtool says bootloader can't be unlocked in an official way, I'm able to access flash and fastboot mode.
Could it be cause of the locked bootloader that I am not able to flash a custom ROM? I saw a thread for a ROM that doesn't need an unlocked bootloader, but the link isn't valid anymore.

Categories

Resources