[Q] Flash boot.img on locked bootloader - Xperia SP Q&A, Help & Troubleshooting

Hey!
My SP has a locked bootloader and I can't unlock it because it isn't allowed.
But I want to install FXP CM11. As I can't acces fastboot mode can I flash the boot.img file through CWM if a make a flashable zip file from it(android.stackexchange.com/questions/36265/flash-boot-img-without-using-fastboot-usb)? If yes, how to make it? I don't really get that description. Thanks in advance.:fingers-crossed:

koostamas said:
Hey!
My SP has a locked bootloader and I can't unlock it because it isn't allowed.
But I want to install FXP CM11. As I can't acces fastboot mode can I flash the boot.img file through CWM if a make a flashable zip file from it(android.stackexchange.com/questions/36265/flash-boot-img-without-using-fastboot-usb)? If yes, how to make it? I don't really get that description. Thanks in advance.:fingers-crossed:
Click to expand...
Click to collapse
AFAIK changing kernel in locked bootloader could result in brick, not bootloop. CMIIW, but you should be careful with carrier locked bootloader

You can't install custom kernel on a locked bootloader you will get error not installed..... Even if installed it won't boot up, you will end up with a very stylish paper weight.
DON'T EVEN TRY TO MAKE IT WORK.
just accept it can't be done and install a custom stock rom instead
Sent from my C5303 using Tapatalk

You can flash the boot.img
But then your phone will be a brick
So I wouldn't recommend it

i didnt had ay problem in flashing boot.img on locked bootloader

panagiotisgr said:
i didnt had ay problem in flashing boot.img on locked bootloader
Click to expand...
Click to collapse
Do you think these people are lying or something?
The whole point of a locked bootloader is that you cant modify kernel - the reason you can only used stock based ROMs.
If you can successfully flash a boot.img then yours is not locked.
Someone please correct me if i'm wrong.

yo-meister said:
Do you think these people are lying or something?
The whole point of a locked bootloader is that you cant modify kernel - the reason you can only used stock based ROMs.
If you can successfully flash a boot.img then yours is not locked.
Someone please correct me if i'm wrong.
Click to expand...
Click to collapse
omg im so sorry i thought i write unlocked. mine is unlocked. not locked. replying while in move not a good idea

panagiotisgr said:
omg im so sorry i thought i write unlocked. mine is unlocked. not locked. replying while in move not a good idea
Click to expand...
Click to collapse
Wow, you almost killed me

As highlighted in posts above and around the forum, it is not possible. This discussion can't go any further so..
Thread closed

Related

[Q] What is a Bootloader?

What is a Bootloader? and what does unlocking a bootloader do?
This thread says "READ ME 1ST!" for a reason.
gagan_sj said:
What is a Bootloader? and what does unlocking a bootloader do?
Click to expand...
Click to collapse
if you want to upgrade your ROM you must unlock your BL. So you can flash the kernel or alfs then flash the ROM!
I think bootloader is same thing like BIOS in computer..
so we can change everything inside the phone system
read this
BlackRabbit1703 said:
if you want to upgrade your ROM you must unlock your BL. So you can flash the kernel or alfs then flash the ROM!
I think bootloader is same thing like BIOS in computer..
so we can change everything inside the phone system
read this
Click to expand...
Click to collapse
Actually that's not completely right
Sent from my XPERIA using XDA Premium.
Q: What is bootloader?
A: In simple terms, a bootloader is the code that runs on a device before the operating system starts up. This low-level code contains the instructions that tell a device how to start up and find the system kernel. Every time your phone starts up, that bootloader code is telling your device what to do in order to get you to the home screen. As you can imagine, this process is vitally important. As such, manufacturers often use security measures to keep you from tampering with the bootloader.
Click to expand...
Click to collapse
Quoted from the thread I linked!
gagan_sj said:
What is a Bootloader? and what does unlocking a bootloader do?
Click to expand...
Click to collapse
Here is what You need to read
https://en.wikipedia.org/wiki/Booting
If you have some IT skills you'll understand.

Downgraded, rooted, now want to install.... quick question.

Hi, thanks for reading,
Ok so my 6903 z1, i've downgraded it to .534, rooted it, installed dualrecovery and am sitting here wondering where to go next.
I wouldn't mind unlocking the bootloader so that I could install other kernels such as pimped kernel. But reading the dualrecovery thread it seems that it is only if you are using the original kernel. So my main question is, what should i do next?
use recovery to flash a zip of a new rom then unlock bootloader then flash a supported recovery?
or should i unlock bootloader now and then new rom etc? (was concerned about the camera issue unlocking the bootloader on <4.3 roms.... will it be "fixed" if i was running on a newer "flashed via recovery" ROM?)
any help is appreciated as I don't want to bugger up the phone like i somehow managed to last time i tried all this (had the IMEI disappearing issue)
If you want to unlock the boot, there is was no need to downgrade to root
Just backup your TA, unlock the boot, flash a custom kernel of your choice then flash away
oh ok. well i've done it now. although I've just checked my service menu
First, you should confirm that it is possible to unlock the boot loader of your phone by checking the service menu. In your phone, open the dialler and enter *#*#7378423#*#* to access the service menu.
In your phone, tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
Click to expand...
Click to collapse
and it says bootloader unlock allowed: No
So i'm guessing I randomly cannot unlock it anyway? (any reason why if that is the case?)
thefunkygibbon said:
oh ok. well i've done it now. although I've just checked my service menu
and it says bootloader unlock allowed: No
So i'm guessing I randomly cannot unlock it anyway? (any reason why if that is the case?)
Click to expand...
Click to collapse
If that it saying then no way around to unlock your bootloader. BTW, stock kernel isn't that bad and with root you will be able to customize your room and get some tweeks.
eclyptos said:
If that it saying then no way around to unlock your bootloader. BTW, stock kernel isn't that bad and with root you will be able to customize your room and get some tweeks.
Click to expand...
Click to collapse
so if i cannot unlock bootloader, does that mean i wont be able to use custom roms like Paranoid android etc which run off of CM and presumably a CM kernel?
and is it worth trying to unlock the bootloader in flashtool anyway just to see?
What options/next steps do i have then if i cant flash a custom rom due to not being able to use a different kernel?
Guess i can flash a modified stock rom and thats about it?
thefunkygibbon said:
so if i cannot unlock bootloader, does that mean i wont be able to use custom roms like Paranoid android etc which run off of CM and presumably a CM kernel?
Click to expand...
Click to collapse
Unfortunately No, anything based on Custom Kernels you cannot install. Everything based on Stock Kernel you can Install, even Custom Roms.
oh bloody hell. ok so i'm now stuck in a sony logo boot loop after installing romaur v8 and installing the kernel (561) which it told me to.
any ideas what to do? guessing i'm going to have to flash the old 4.2.2 rom from scratch again
ok so now i'm back to .534 [nut] and rooted. any tips on where to go next so that i dont get stuck in another bootloop???
thefunkygibbon said:
ok so now i'm back to .534 [nut] and rooted. any tips on where to go next so that i dont get stuck in another bootloop???
Click to expand...
Click to collapse
Just any Rom based on Stock Kernel.
eclyptos said:
Just any Rom based on Stock Kernel.
Click to expand...
Click to collapse
I thought the romaur rom Was based on stock. Ho hum. Installed the pure stock one and it was OK thanks.
In Android developement thread all roms are based on stock - in original Android developement they are based on pure android.
Bootlooping is mostly caused when flashing wrong bootbundle/kernel.
Sent from my C6903 using XDA Premium 4 mobile app
@punkt, nice your avatar, that is what I call HD..lol..

[Q] Does MoKee ROM requires Unlock Bootloader?

I am not allowed to post on MoKee thread so I will post my question here.
http://forum.xda-developers.com/showthread.php?t=2761807
I am not a newbie and have been following XDA for 6 different devices and more than 5 years. But I just didn't post enough.
I am currently on SONY Xperia ZR (C5502) 4.4.2 (rooted). I have been trying to flash MoKee 4.4x for the past few weeks but in vain. I bricked my device few time already by trying and have to revital it with all kind of tools (Flashtool, Sony Update Service, fastboot).
I guess now my question is - "Does MoKee ROM requires Unlock Bootloader?" In the last post of that thread, someone said that it MUST be Unlock Bootloader. Is that true? The only reason I care so much about this is because I screwed up my device every time I unlocked it.
I was using the "fastboot.exe -i 0x0fce oem unlock 0xKEY" method.
I am currently using 10.5.A.0.230.
Your answer will be really appreciated.
lcpchang said:
I am not allowed to post on MoKee thread so I will post my question here.
http://forum.xda-developers.com/showthread.php?t=2761807
I am not a newbie and have been following XDA for 6 different devices and more than 5 years. But I just didn't post enough.
I am currently on SONY Xperia ZR (C5502) 4.4.2 (rooted). I have been trying to flash MoKee 4.4x for the past few weeks but in vain. I bricked my device few time already by trying and have to revital it with all kind of tools (Flashtool, Sony Update Service, fastboot).
I guess now my question is - "Does MoKee ROM requires Unlock Bootloader?" In the last post of that thread, someone said that it MUST be Unlock Bootloader. Is that true? The only reason I care so much about this is because I screwed up my device every time I unlocked it.
I was using the "fastboot.exe -i 0x0fce oem unlock 0xKEY" method.
I am currently using 10.5.A.0.230.
Your answer will be really appreciated.
Click to expand...
Click to collapse
Yes just like any other rom out there you will need an unlocked bootloader. The reason is because you have to flash a custom recovery such as CWM and to do that you need to unlock your bootloader. I recommend unlocking you bootloader using flashtool instead of the command. Because it is just easier. When I was trying to unlock my bootloader I experienced problems doing it the way with the cmd. And what problems does it give you after unlocking and how does it screw your device? Thanks!!
PS: Try flashing a custom recovery because maybe your bootloader is already unlocked.:good:
gurinderhans said:
Yes just like any other rom out there you will need an unlocked bootloader. The reason is because you have to flash a custom recovery such as CWM and to do that you need to unlock your bootloader. I recommend unlocking you bootloader using flashtool instead of the command. Because it is just easier. When I was trying to unlock my bootloader I experienced problems doing it the way with the cmd. And what problems does it give you after unlocking and how does it screw your device? Thanks!!
PS: Try flashing a custom recovery because maybe your bootloader is already unlocked.:good:
Click to expand...
Click to collapse
I have installed -=[XZDualRecovery]=- with locked bootloader, so I don't think the reason is about the flashing of the recovery, maybe is something related with kernel flashing. but I'm not sure.
anancr said:
I have installed -=[XZDualRecovery]=- with locked bootloader, so I don't think the reason is about the flashing of the recovery, maybe is something related with kernel flashing. but I'm not sure.
Click to expand...
Click to collapse
maybe but I wasnt able to write the boot.img unless I unlocked my bootloader.
confirmed that it REQUIRES Unlock Bootloader to install MoKee
gurinderhans said:
maybe but I wasnt able to write the boot.img unless I unlocked my bootloader.
Click to expand...
Click to collapse
Thanks for the advise from gurinderhans
Yes, I have confirmed that it REQUIRES Unlock Bootloader to install MoKee.
I unlocked my bootloader with Flashtool this time, instead of commend line this time. That fixed the problem I used to have.
But I used the CWM comes with XZDualRecovery to install MoKee 4.4.4. It works out fine.
lcpchang said:
Thanks for the advise from gurinderhans
Yes, I have confirmed that it REQUIRES Unlock Bootloader to install MoKee.
I unlocked my bootloader with Flashtool this time, instead of commend line this time. That fixed the problem I used to have.
But I used the CWM comes with XZDualRecovery to install MoKee 4.4.4. It works out fine.
Click to expand...
Click to collapse
Good to know everything worked out fine.
Any custom rom requires boot loader unlock.

[Q] How to have recovery with unlocked bootloader

Sorry for too much posts
I just unlocked my bootloader (at 4.4.4), and I want to have a recovery. How can I do it?
XDual Recovery is for locked bootloaders so, how?
dnzdeniz said:
Sorry for too much posts
I just unlocked my bootloader (at 4.4.4), and I want to have a recovery. How can I do it?
XDual Recovery is for locked bootloaders so, how?
Click to expand...
Click to collapse
Whatever works for locked bootloaders should work for unlocked bootloaders
tomascus said:
Whatever works for locked bootloaders should work for unlocked bootloaders
Click to expand...
Click to collapse
no, it gives error on XDual Recovery
any solution?
dnzdeniz said:
no, it gives error on XDual Recovery
any solution?
Click to expand...
Click to collapse
what steps did you take and what error?
Flash any stock based custom kernel
They have recovery incorporated into it.
There is also a XZDualrecovery kernel on [NUT]s download page
I forgot to extract it, i am sorry guys.
My mistake
I am pretty nervous because i jıst locked my bootloader

[Help][Q] Keep getting bootloop after UB

okaay so i rooted my phone again and decided to unlock my bootloader, i have verified that i am able to unlock my bootloader and follow all the instructions on the official sony website on how to unlock the bootloader. i get no errors during the cmd process either, i turn my phone on and it gets to the purple boot animation screen and then freezes. Is there anyway around this ?
EDIT: Also i used DooMlords thread and get the same problem? /: - I also use Flashtool but when i press 'blu' i only have the option to RELOCK my bootloader? :S
Anyone ? /: been looking for the solution all day
Cynicaal said:
Anyone ? /: been looking for the solution all day
Click to expand...
Click to collapse
Just flash any desired custom form via fastboot and that's all, it should work.
When I unlocked my bootloader with stock firmware it doesn't boot anymore either, so I had to flash any other or reflash it again
LaurynasVP said:
Just flash any desired custom form via fastboot and that's all, it should work.
When I unlocked my bootloader with stock firmware it doesn't boot anymore either, so I had to flash any other or reflash it again
Click to expand...
Click to collapse
i currently have a custom ROM on my phone but i want to unlock my bootloader to have the ability to use custom kernals iv'e tried doing it with flash tool but it only says 'RELOCK' and ive also tried the official sony way and DooMlords
Cynicaal said:
i currently have a custom ROM on my phone but i want to unlock my bootloader to have the ability to use custom kernals iv'e tried doing it with flash tool but it only says 'RELOCK' and ive also tried the official sony way and DooMlords
Click to expand...
Click to collapse
Just flash a official FTF, then go to service menu, tests -> configuration and if your bootloader status is:
Unlock allowed: Yes - you can unlock your bootloader
Unlock allowed: No - your bootloader is hard bricked and there's no way to solve this (permanently)
Unlocked - congratulations.
I suppose your bootloader is hardlocked. check for yourself and if anything changes - quote
LaurynasVP said:
Just flash a official FTF, then go to service menu, tests -> configuration and if your bootloader status is:
Unlock allowed: Yes - you can unlock your bootloader
Unlock allowed: No - your bootloader is hard bricked and there's no way to solve this (permanently)
Unlocked - congratulations.
I suppose your bootloader is hardlocked. check for yourself and if anything changes - quote
Click to expand...
Click to collapse
it says ---> Bootloader Unlocked: Yes. But iv'e tried to multiple times and still get stuck at the animation screen on boot up
If you are on a custom rom you just have to flash the custom kernel over it putting the phone in fastboot . No need to unlock bootloader again. Please ensure that the rom supports the custom kernel or there can be bootloops .
Sent from my One Plus One
androidtweaker1 said:
If you are on a custom rom you just have to flash the custom kernel over it putting the phone in fastboot . No need to unlock bootloader again. Please ensure that the rom supports the custom kernel or there can be bootloops .
Sent from my One Plus One
Click to expand...
Click to collapse
I have tried unlocking it with and without a custom ROM on my phone, it says 'Bootloader Unlocked: Yes' on the service info and i also only have the option to RELOCK my bootloader when i try it on the flash tool. Does this mean that it may actually be unlocked already?
EDIT: im also using This custom ROM which has custom kernals to select from
-Thanks
Cynicaal said:
I have tried unlocking it with and without a custom ROM on my phone, it says 'Bootloader Unlocked: Yes' on the service info and i also only have the option to RELOCK my bootloader when i try it on the flash tool. Does this mean that it may actually be unlocked already?
EDIT: im also using This custom ROM which has custom kernals to select from
-Thanks
Click to expand...
Click to collapse
The rom that you gave link to is a stock firmware based custom rom, so it will have stock kernel.
I think it must be written Bootloader unlock allowed: Yes, on your phone
You will need to unlock the bootloader, PM me I will guide you how to do it.
androidtweaker1 said:
The rom that you gave link to is a stock firmware based custom rom, so it will have stock kernel.
I think it must be written Bootloader unlock allowed: Yes, on your phone
You will need to unlock the bootloader, PM me I will guide you how to do it.
Click to expand...
Click to collapse
Messaged you mate ☺
Issue fixed thanks to androidtweaker1 - even put me on DU lollipop!

Categories

Resources