How to install a custom kernel on locked bootloader? - Sony Xperia ZR

Guys i want to install this
http:// http://forum.xda-developers.com/showthread.php?t=2470806
But i have a locked bootloader
Please tell me how to do this
And if i have to unlock the bootloader
How to, without sony knowing.....

u can't...
the only way is to make a backup of your TA partition, unlock your bootloader, and flash a custom kernel. then if you need to send it back for warranty just flash the stock kernel, restore your TA partition and it will be as tho your bootloader was never unlocked

Re-lock BL
chewdaniel said:
u can't...
the only way is to make a backup of your TA partition, unlock your bootloader, and flash a custom kernel. then if you need to send it back for warranty just flash the stock kernel, restore your TA partition and it will be as tho your bootloader was never unlocked
Click to expand...
Click to collapse
Is that really that easy ? As far as I remember relocking other devices (sola) needed more tinkering to do that.

Related

Questions about unlocking bootloader?

Hi guys,
I loaded my brand new xperia sp with root and cwm on a locked bootloader but now i want to try out CM but from what i understand is that you need an unlocked bootloader, so my question is if i backup my TA partition and unlock my bootloader, then flash cm with it's kernel and would it be possible to reflash the TA partition and relock the bootloader while on CM?
thanks,
noahvt
noahvt said:
would it be possible to reflash the TA partition and relock the bootloader while on CM?
Click to expand...
Click to collapse
No
You can only restore your TA partition and relock the bootloader on the original Sony kernel, if you try to do otherwise you may hard brick your phone.
/\ /\
That.. But you could figure this out by reading the tutorial of DoomLord
All the steps for unlocking and relocking the bootloader are described there

[Q] [HELP] Rooting & relocking BL newest firmware 12.1.A.0.266

Hi everyone!
After searching for rooting newest firmware of 12.1.A.0.266 with LB, I found that it may be impossible without unlocking my BL. So I decided to unlock BL & root it via DooMLord's method and relock again. But I have a few questions.
I heard it's important to backup my TA partition before unlocking so I do a search for it. So I found that root permission is needed for backup TA. Since firmware 12.1.A.0.266 cannot be rooted, I have to downgrade to Android 4.1 and root it by DooMLord's method. It's all OK for me.
But I need to know, if I do restore my TA backup that taken while running Android 4.1, on my newest firmware 12.1.A.0.266, can it be conflicted that lasting bootloop or bricking my device? And relocking my device will it definitely lock my BL to factory status? Please be kind to help me with these questions. :good:
Thank you all :laugh:
Kelumsd.
C5303
12.1.A.0.266 Stock with LB.
No restoring TA wont cause bootloop but to be extra sure you can first flash 4.1.2 restore TA and flash 4.3..
mrjraider said:
No restoring TA wont cause bootloop but to be extra sure you can first flash 4.1.2 restore TA and flash 4.3..
Click to expand...
Click to collapse
My friend,
Thanks for helping me! :good:
If I restore TA mean I'm relocking my BL. So if I flashed 4.3 again I cannot gain root access coz it cannot root without unlocked BL. Am I correct?
So how can I root 4.3, if I flash 4.3 over 4.1.2 as root is lost after flashing a new firmware.
Thank & Regards! :good:
You need to root on 4.1.2, install CWM. Download and flash a 4.3 ROM and last flash 2.266 kernel
But there are proper threads for this xD
mrjraider said:
You need to root on 4.1.2, install CWM. Download and flash a 4.3 ROM and last flash 2.266 kernel
But there are proper threads for this xD
Click to expand...
Click to collapse
Yes brother..... I see several threads that explaining how to do that. But I wanted to root official firmware by unlocking BL.
If I restore TA, should I relock BL after that or, first relock BL then restore TA?
Thanks!
kelumsd said:
Yes brother..... I see several threads that explaining how to do that. But I wanted to root official firmware by unlocking BL.
If I restore TA, should I relock BL after that or, first relock BL then restore TA?
Thanks!
Click to expand...
Click to collapse
To make it easy, unlock using flashtool. It'll automatically make a TA backup. Later when you're done flashing stock kernel you can easily click relock and it'll restore TA and relock it for you as easy as 123.
Tutorial to relock using flashtool by DooMLoRD http://forum.xda-developers.com/showthread.php?p=43355810#post43355810
Vanschtezla said:
To make it easy, unlock using flashtool. It'll automatically make a TA backup. Later when you're done flashing stock kernel you can easily click relock and it'll restore TA and relock it for you as easy as 123.
Tutorial to relock using flashtool by DooMLoRD http://forum.xda-developers.com/showthread.php?p=43355810#post43355810
Click to expand...
Click to collapse
Bro,
Is that unlocking BL via Flashtool exactly same as unlocking via official Sony method? If I unlocked BL besides official method, can I relock it again successfully? And so, since official method needs to device connected with Fastboot mode, but Flachtool needs device connected via Flashmode to Unlock/Relock BL. Why is the different with this methods? Pls kindly explain this......
Thanks! :good:
29984985 701
kelumsd said:
Bro,
Is that unlocking BL via Flashtool exactly same as unlocking via official Sony method? If I unlocked BL besides official method, can I relock it again successfully? And so, since official method needs to device connected with Fastboot mode, but Flachtool needs device connected via Flashmode to Unlock/Relock BL. Why is the different with this methods? Pls kindly explain this......
Thanks! :good:
Click to expand...
Click to collapse
Yess absolutely the same. I'm not sure about relocking it after using the official method but I think restoring the TA key actually means relocking it. Well actually you will need to fastboot on flashtool right after the flashmode. There is no difference in result. It's just an alternative way to unlock and relock. Unlocking using official Sony method is the old way of unlocking. Flashtool is just to make it easier and simpler. The result will be the same. But be sure that you make the TA backup before unlocking it for the worst case scenario not to be able to relock it
Vanschtezla said:
Yess absolutely the same. I'm not sure about relocking it after using the official method but I think restoring the TA key actually means relocking it. Well actually you will need to fastboot on flashtool right after the flashmode. There is no difference in result. It's just an alternative way to unlock and relock. Unlocking using official Sony method is the old way of unlocking. Flashtool is just to make it easier and simpler. The result will be the same. But be sure that you make the TA backup before unlocking it for the worst case scenario not to be able to relock it
Click to expand...
Click to collapse
Thanks bro! Finally I was success with all! Thanks friends! :laugh: :laugh:
C5303.
Android 4.3 Stock .266
ROOTED Locked bootloader

[Q] How to Root/UB/Backup TA with 4.3

Hi guys,
I'm kinda desperate right now. I am using 4.3 with 12.1.A.0.266 firmware.
My aim is to install CWM. For this I need an unlocked Bootloader and Root.
But all tutorials I could find are kinda contradicting themselves.
To root I need UB.
To unlock Bootloader in need to Backup TA partition.
And to backup TA partition I need root.
The tools from doomlord all require the old firmware, but silly me has already updated.
Is there any way to unlock Bootloader without root for backuping TA partition OR root with locked bootloader?
Any help is appreciated
Im afraid there isnt any root method for locked bootloader, so You must flash 4.1 using flashtool, root 4.1, backup TA, flash 4.3, unlock BL, root 4.3 and relock BL by restoring TA. The whole process just sounds hard and its complicated but follow those steps and itll be fine
Cheers
Sent from my C5303 using XDA Premium 4 mobile app
teddy74eva said:
You must flash 4.1 using flashtool, root 4.1, backup TA, flash 4.3, unlock BL, root 4.3 and relock BL by restoring TA.
Click to expand...
Click to collapse
When updating to 4.3 I lose root, dont I? So there must be a way to unlock BL with no root? I think then i would lose my Drm keys, thats why i backuped them on 4.1, didn't I? And i surely can use the backup of TA i made in 4.1 for version 4.3?
Thank you for your help already!
Same, Bro
ShotingCox said:
Hi guys,
I'm kinda desperate right now. I am using 4.3 with 12.1.A.0.266 firmware.
My aim is to install CWM. For this I need an unlocked Bootloader and Root.
But all tutorials I could find are kinda contradicting themselves.
To root I need UB.
To unlock Bootloader in need to Backup TA partition.
And to backup TA partition I need root.
The tools from doomlord all require the old firmware, but silly me has already updated.
Is there any way to unlock Bootloader without root for backuping TA partition OR root with locked bootloader?
Any help is appreciated
Click to expand...
Click to collapse
I got same dilemma. Worstly , I am already unlock bootloader without doing Backup TA . Can I relock bootloader,do the Backup TA again??
kclement said:
I got same dilemma. Worstly , I am already unlock bootloader without doing Backup TA . Can I relock bootloader,do the Backup TA again??
Click to expand...
Click to collapse
i am afraid you cant get ur DRM keys back as you didn't took a TA backup before unlocking bootloader.. :

Unlock bootloader by official way twice?

May I be able to unlock my bootloader again by the official way if I restore my TA partition and relock it again and leave it same as stock?
Thepho3nix said:
May I be able to unlock my bootloader again by the official way if I restore my TA partition and relock it again and leave it same as stock?
Click to expand...
Click to collapse
Yes.

Bootloader Relocking

Hello!
I currently backed up my TA Partition and DRM Keys using Backup_TA.bat, I now have an Unlocked Bootloader and also am running on a custom kernel ( FW .232 Lollipop ), my question is if I use the restore function on the Backup_TA.bat will that re-lock my bootloader?
Thanks alot!
Revontheus said:
Hello!
I currently backed up my TA Partition and DRM Keys using Backup_TA.bat, I now have an Unlocked Bootloader and also am running on a custom kernel ( FW .232 Lollipop ), my question is if I use the restore function on the Backup_TA.bat will that re-lock my bootloader?
Thanks alot!
Click to expand...
Click to collapse
Yes it will relock BUT
You need to be on an official firmware and rooted. And you must have the stock kernel. Then only you can restore. If your restore TA, it relocks bootloader. And custom kernels don't work on locked bootloader so you will end up in a bootloop if you are not using the stock kernel
Sent from my D5833 using XDA Free mobile app
Btw, do you another way of relocking the bootloader besides using Flashtool?
i try using restore in backup_TA but my bootloader its still unlocked
im on stock rom and kernel + root, in flashtool i dont have option to relock :/
Restoring TA is supposed to relock bootloader automatically aa far as I know :/

Categories

Resources