Relocking bootloader for Sony XPERIA SP - Xperia SP Android Development

Just flash this .ftf file via Flashtool. Your bootloader will be relocked and you'll be able to use PC Companion or Sony Update Service to update your phone.
Notes:
If you use custom kernel than before relocking bootloader flash the stock one. Or if you forgot to do it just flash stock kernel after relocking.
Your root access will persist after relocking if you had it before. But some apps will work improperly (RootExplorer v3.0 causes reboot when trying to mount /system as rw) and some apps work good (SolidExplorer, SD Maid...)
Download: Xperia_SP_Relock_Bootloader.ftf - 62.44 KB

alivanov79 said:
Just flash this .ftf file via Flashtool. Your bootloader will be relocked and you'll be able to use PC Companion or Sony Update Service to update your phone.
Notes:
If you use custom kernel than before relocking bootloader flash the stock one. Or if you forgot to do it just flash stock kernel after relocking.
Your root access will persist after relocking if you had it before. But some apps will work improperly (RootExplorer v3.0 causes reboot when trying to mount /system as rw) and some apps work good (SolidExplorer, SD Maid...)
Download: Xperia_SP_Relock_Bootloader.ftf - 62.44 KB
Click to expand...
Click to collapse
much appreciated! thanx mate! cheers!

alivanov79 said:
Just flash this .ftf file via Flashtool. Your bootloader will be relocked and you'll be able to use PC Companion or Sony Update Service to update your phone.
Notes:
If you use custom kernel than before relocking bootloader flash the stock one. Or if you forgot to do it just flash stock kernel after relocking.
Your root access will persist after relocking if you had it before. But some apps will work improperly (RootExplorer v3.0 causes reboot when trying to mount /system as rw) and some apps work good (SolidExplorer, SD Maid...)
Download: Xperia_SP_Relock_Bootloader.ftf - 62.44 KB
Click to expand...
Click to collapse
if i change kernel with auto root script and my sp is already rooted then i change with the stock one. then i relock the phone. will root access lost??

sanzNya said:
if i change kernel with auto root script and my sp is already rooted then i change with the stock one. then i relock the phone. will root access lost??
Click to expand...
Click to collapse
NO. But some apps will work improperly (RootExplorer v3.0 causes reboot when trying to mount /system as rw) and some apps work good (SolidExplorer, SD Maid...)

If we relock bootloader, can we use BE2 again?!
Sent from my ST18i using Tapatalk 4 Beta

frogerra said:
If we relock bootloader, can we use BE2 again?!
Sent from my ST18i using Tapatalk 4 Beta
Click to expand...
Click to collapse
If you backup DRM kies before unlocking you can.

alivanov79 said:
If you backup DRM kies before unlocking you can.
Click to expand...
Click to collapse
Can you tell me how to backup DRM? Sorry, I'm a noob for 2013 device.
Sent from my ST18i using Tapatalk 4 Beta

frogerra said:
Can you tell me how to backup DRM? Sorry, I'm a noob for 2013 device.
Sent from my ST18i using Tapatalk 4 Beta
Click to expand...
Click to collapse
To backup TA partition you need root. To get root you need to unlock bootloader. Then you understand...

alivanov79 said:
To backup TA partition you need root. To get root you need to unlock bootloader. Then you understand...
Click to expand...
Click to collapse
But for now backup TA still not support our device right?
Sent from my ST18i using Tapatalk 4 Beta

frogerra said:
But for now backup TA still not support our device right?
Sent from my ST18i using Tapatalk 4 Beta
Click to expand...
Click to collapse
Maybe support, maybe not. Nobody try it and can confirm.
http://forum.xda-developers.com/showthread.php?t=2292598

Sorry for intruding but this thread should be stickied alot of people will end up using this :thumbup:
Sent from my C5303 using xda app-developers app

alivanov79 said:
To backup TA partition you need root. To get root you need to unlock bootloader. Then you understand...
Click to expand...
Click to collapse
You don't need unlocked bootloader anymore to root your device
Sent from my LT26i using xda app-developers app

mirhl said:
You don't need unlocked bootloader anymore to root your device
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
Yes. Big thanks to Doomlord for great work.
Sent from my C5303 using xda app-developers app

@op, from where you got this TA backup?
Sent from my C2104 using xda app-developers app

Rachit Rawat said:
@op, from where you got this TA backup?
Sent from my C2104 using xda app-developers app
Click to expand...
Click to collapse
Did it by myself. Checked it twice before publishing here.
I always try and check everything what I'm going to publish.
PS There is no TA backup. There is preset.ta which contains data for re-lock.

alivanov79 said:
Did it by myself. Checked it twice before publishing here.
I always try and check everything what I'm going to publish.
Click to expand...
Click to collapse
Well as far as I have read, TA partition differs device to device. And flashing someone else's TA partition can hardbrick your phone

varun.chitre15 said:
Well as far as I have read, TA partition differs device to device. And flashing someone else's TA partition can hardbrick your phone
Click to expand...
Click to collapse
I totally agree. But there is no any TA partition backup in this .ftf file. There are only loader.sin (which is unique to each phone and in this .ftf it was taken from stock fw .257 - the same for all customizations and all fw versions of C5302/03/06) and preset.ta (which contains data for re-lock and that is the same for all phones Sony).
I remind that I checked it twiсe: relocked bootloader and than unlocked it via fastboot and via flashtool.
By the way, it is more convenient to relock bootloader via Flashtool using "BLU" button.

Hi, someone try to do a backup TA with flashtool?
Envoyé depuis mon C5302 avec Tapatalk

Cause now we can root without unlock bootloader. There's anyone try to backup TA, unlock bootloader, restore TA with this tools. http://forum.xda-developers.com/showthread.php?t=2292598?!
Sent from my C5302 using Tapatalk 4 Beta

alivanov79 said:
To backup TA partition you need root. To get root you need to unlock bootloader. Then you understand...
Click to expand...
Click to collapse
I don't quite understand this part. I thought rooting and unlocking bootloader are two mutually exclusive and that you can execute one independently of each other. My Xperia SP is rooted using DoomLord toolkit but I don;t think my bootloader is unlocked.

Related

[Q] Locked bootloader + CWM?

So, I was searching for solution to have custom recovery on my locked Xperia S and i couldn't find it. Is it even possible because of my locked bootloader? My phone is rooted.
Rooting with This method gives recovery on locked bootloader.
I'm using it. I make backups and also flash roms that are for locked bootloader.
iamsuperuser said:
Rooting with This method gives recovery on locked bootloader.
I'm using it. I make backups and also flash roms that are for locked bootloader.
Click to expand...
Click to collapse
What other roms? Only miui or thers more of them?
Sent from my LT26i using xda app-developers app
Kornezije said:
What other roms? Only miui or thers more of them?
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
xcream and [email protected] roms are pretty cool, easy to install on locked bootloader and clean,
You can also use the attached "recovery", very quick no reinstalls, and even root direct with flashtool. A lot faster than the old method
corum3 said:
You can also use the attached "recovery", very quick no reinstalls, and even root direct with flashtool. A lot faster than the old method
Click to expand...
Click to collapse
How?
Sent from my LT26i using Tapatalk 2
My SXS is rooted (http://forum.xda-developers.com/showthread.php?t=1886460) and CWM is installed (http://forum.xda-developers.com/showthread.php?t=1756346) on locked bootloader. So I can install for example the [email protected] ROM with CWM and will still have root and CWM?
Thx for answers!

bought a rooted z ultra how to back to stock unrooted

hello guys
i bought a rooted z ultra and i don't know how it was rooted, all i know is that it had the chinese root app in it.
so i want to wipe everything and remove root and go back to stock rom so how can i do this.
because i tired to do a factory reset but root is still there, so can someone please tell me what to do in detail
Download a stock ftf. Flash with flashtool. Profit.
Sent from my C6833 using Tapatalk 4
Reb0rn said:
Download a stock ftf. Flash with flashtool. Profit.
Sent from my C6833 using Tapatalk 4
Click to expand...
Click to collapse
can I back to stock and unroot using flashtool when I have dual recovery installed? and also locked bootloader!
mamaloo-xda said:
can I back to stock and unroot using flashtool when I have dual recovery installed? and also locked bootloader!
Click to expand...
Click to collapse
flashing a FTF will remove the custom recovery and root but not lock the bootloader, but you can lock it with flashtool or by restoring the TA bckup
blueether said:
flashing a FTF will remove the custom recovery and root but not lock the bootloader, but you can lock it with flashtool or by restoring the TA bckup
Click to expand...
Click to collapse
Thanks alot
So that means I don't need to unlock the phone to flash FTF?
mamaloo-xda said:
Thanks alot
So that means I don't need to unlock the phone to flash FTF?
Click to expand...
Click to collapse
No you don't have to unlock the BL to flash a FTF
Mersiiiiii Dude

[Q] Rooting, Unlocked Bootloader, Custom Recovery

So I I finally rooted, backed up my TA partition, unlocked the bootloader, and flashed CWM/TWRP. Took me forever to do on windows 8, but finally figured it out.
My question is, what effect does flashing OTA updates and/or ftf's have? Will I just lose root? Or will I lose custom recovery as well? Just want to make sure since i'm sure the B.2.257 ftf will be posted shortly and I will want to flash it!
Similarly, if I were to change the CDA to get B.2.257 OTA, would I just lose root? or would I lose recovery as well?
I don't know about ota but flashing a ftf makes you recovery and root go bye bye.
Sent from my C6833 using Tapatalk 4
Reb0rn said:
I don't know about ota but flashing a ftf makes you recovery and root go bye bye.
Sent from my C6833 using Tapatalk 4
Click to expand...
Click to collapse
Thanks for the reply. Bootloader remains unlocked correct? So just re-root and reflash?
cholepuree1 said:
Thanks for the reply. Bootloader remains unlocked correct? So just re-root and reflash?
Click to expand...
Click to collapse
Yes. Only way to relock is by restoring your probably backed up TA partition.
Sent from my C6833 using Tapatalk 4

[Q] I'm Stupid (bootloader locked and flashing)

First of all, I'm spanish, my apologizes of my expresions or misspelling.
That's what I've done:
1 - I've checked if my bootloader was unlockable, and my phone say's: NO
2 - Then I've installed the DualRecovery W/O root and with my phone bootlocked.
3 - Then I've tryed to flash CM11 in TWRP recovery, flashing first the Boot.img via fastboot.
4 - Device in Red Light.
What I can do to woke up my Z2? That's my record 2 hrs to **** my phone. :silly:
Firstly, it's stated in the first post of the CM11 thread that you shouldn't be using dual recovery. If you read the thread further, you'll see that it is recommended to use the recovery in DooMKernel to flash. And this requires unlocked bootloader.
Anyways, you can try using Flashtool to flash a stock firmware. Might be able to recover your phone.
xavisaldana said:
First of all, I'm spanish, my apologizes of my expresions or misspelling.
That's what I've done:
1 - I've checked if my bootloader was unlockable, and my phone say's: NO
2 - Then I've installed the DualRecovery W/O root and with my phone bootlocked.
3 - Then I've tryed to flash CM11 in TWRP recovery, flashing first the Boot.img via fastboot.
4 - Device in Red Light.
What I can do to woke up my Z2? That's my record 2 hrs to **** my phone. :silly:
Click to expand...
Click to collapse
If your BL is locked, you cannot install CM.... coz you cannot install a custom kernel. you should rebuild your phone using SEUS to put a good ROM.
Then you can put whatever ROM you want for LB and root it. but no custom kernel.
http://forum.xda-developers.com/showthread.php?p=53968631
Try here, there is a recover/unbrick tutorial
Sent from my D6503 using XDA Premium 4 mobile app
Envious_Data said:
http://forum.xda-developers.com/showthread.php?p=53968631
Try here, there is a recover/unbrick tutorial
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hi there,
Is there any way to get root access without unlocking the bootloader. I found some ways in XDA but nothing is clear.
I would really appreciate if you guys can send me a link with a clear tutorial of how to get a new ROM without unlocking the bootloader.
I just got my Z2 which is sim locked (UK) and I can't unlock the bootloader from the official page.
Many thanks,
tux
tuxiqul said:
Hi there,
Is there any way to get root access without unlocking the bootloader. I found some ways in XDA but nothing is clear.
I would really appreciate if you guys can send me a link with a clear tutorial of how to get a new ROM without unlocking the bootloader.
I just got my Z2 which is sim locked (UK) and I can't unlock the bootloader from the official page.
Many thanks,
tux
Click to expand...
Click to collapse
Root For Locked Bootloaders (noted to work fine on all FWs)
http://forum.xda-developers.com/showthread.php?p=53420860
Recovery For locked bootloaders
http://forum.xda-developers.com/showthread.php?t=2785598
Sent from my D6503 using XDA Premium 4 mobile app
Envious_Data said:
Root For Locked Bootloaders (noted to work fine on all FWs)
http://forum.xda-developers.com/showthread.php?p=53420860
Recovery For locked bootloaders
http://forum.xda-developers.com/showthread.php?t=2785598
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks a lot mate. I'll give a try to the first url, hopefully I won't brake it.
Many thanks,
Tux
Edit. I have 17.1.1.A.0.402. Anyone tried to root it ? It says it doesn't work.
tuxiqul said:
Thanks a lot mate. I'll give a try to the first url, hopefully I won't brake it.
Many thanks,
Tux
Edit. I have 17.1.1.A.0.402. Anyone tried to root it ? It says it doesn't work.
Click to expand...
Click to collapse
Root with the Easy Root Tool, worked like a charm for me : http://forum.xda-developers.com/showthread.php?t=2784900
tuxiqul said:
Hi there,
Is there any way to get root access without unlocking the bootloader. I found some ways in XDA but nothing is clear.
I would really appreciate if you guys can send me a link with a clear tutorial of how to get a new ROM without unlocking the bootloader.
I just got my Z2 which is sim locked (UK) and I can't unlock the bootloader from the official page.
Many thanks,
tux
Click to expand...
Click to collapse
Yeah, working right now, then 3 questions more:
first: the phone comes with a Vodafone rom, I can put some "unbranded" rom? how?
second: I can't unlock my bootloader forever ??
and third: What is the function of recovery mode if I can't flash any cRom? Just backups?
Thanks all ^^
xavisaldana said:
Yeah, working right now, then 3 questions more:
first: the phone comes with a Vodafone rom, I can put some "unbranded" rom? how?
second: I can't unlock my bootloader forever ??
and third: What is the function of recovery mode if I can't flash any cRom? Just backups?
Thanks all ^^
Click to expand...
Click to collapse
You can download a Generic FTF and use flashtool to flash it to your device
Once you unlock your bootloader it stays unlock till you relock
You can flash roms n manage general other stuff from recovery
Sent from my D6503 using XDA Premium 4 mobile app
Envious_Data said:
You can download a Generic FTF and use flashtool to flash it to your device
Once you unlock your bootloader it stays unlock till you relock
You can flash roms n manage general other stuff from recovery
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I know what do with a unlocked bootloader, but my phone does not support any bootloader unlocking system... Any chance to do it?
xavisaldana said:
I know what do with a unlocked bootloader, but my phone does not support any bootloader unlocking system... Any chance to do it?
Click to expand...
Click to collapse
If you phone cant be unlocked then it cant be unlocked
No way around a non unlockable bootloader
Sent from my D6503 using XDA Premium 4 mobile app
Envious_Data said:
If you phone cant be unlocked then it cant be unlocked
No way around a non unlockable bootloader
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
All right then, I have a gimped terminal. Great!
Can I install Xposed tweaks btw?
xavisaldana said:
All right then, I have a gimped terminal. Great!
Can I install Xposed tweaks btw?
Click to expand...
Click to collapse
Yes, you can install anything but non stock based roms and custom kernels
Sent from my D6503 using XDA Premium 4 mobile app
Thanks Bro
Got xposed, rooted and recovery installed.

Bootloader Unlock!

I needed a help!
actually i unlocked my bootloader. tried the cm rom!
again went to stock 4.4.2 .314fw.. and locked the bootloader!
now i want to try the miui rom for our z2 but when i try to unlock the bootloader again it says already rooted!
now suppose its rooted or unlocked. i try to flash a kernel, flashtool gives an error that cannot execute the command.
why so? whats the solution?
Locking on MIUI ROM is not possible. Restore tour TA partition that will relock.
Relock will only work with stock ROM.
Sent from my Xperia Z2 using XDA Premium 4 mobile app
bluheart said:
Locking on MIUI ROM is not possible. Restore tour TA partition that will relock.
Relock will only work with stock ROM.
Sent from my Xperia Z2 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
i have the stock rom bro.. its updating via ota too!
i want to unlock n flash the kernel. but it says command not possible!

Categories

Resources