More Qs re: flashing - Xperia SP Q&A, Help & Troubleshooting

Hi everyone. I have just rooted, installed a recovery and backed up my nandroid image, and am getting ready to flash a ROM on my XP. Few questions if you have time:
- I understand that I can flash a new ROM with a locked bootloader.
- Can I flash a new kernel alone with a locked bootloader? Or do I have to unlock my BL first?
- When I go to the 'Kernel' section here there are only three kernels listed - is this all there is available, or am I looking in the wrong spot?
Many thanks XDA!

Unlocking bootloader only allows you to flash custom kernel and you are looking in right section only.
Unlocking bootloader results in loss of all sorts of DRM keys i.e. Bravia Engine, clear audio+, clear bass etc.
Sent from my C5302 using XDA Free mobile app

saddie22 said:
Hi everyone. I have just rooted, installed a recovery and backed up my nandroid image, and am getting ready to flash a ROM on my XP. Few questions if you have time:
- I understand that I can flash a new ROM with a locked bootloader.
- Can I flash a new kernel alone with a locked bootloader? Or do I have to unlock my BL first?
- When I go to the 'Kernel' section here there are only three kernels listed - is this all there is available, or am I looking in the wrong spot?
Many thanks XDA!
Click to expand...
Click to collapse
-It is usually a must to unlock the bootloader to flash a custom kernel
-The 3 kernels are Williams, DooMKernel and the Nayyak Kernel all of them server different purposes:
*Williams aims to be the best of both worlds with one supporting SONY firmwares and the other supporting CM/MIUI
*DooMKernel aims to be the best in the original SONY Firmware market offering a variety of features
*Nayyak is a minimalist sort of kernel like Williams
-Some ROMs Include their own KERNEL so READ their threads CAREFULLY (They are usually incompatible with locked bootloaders)
Regards,
Furrydaus

Furrydaus said:
*Nayyak is a minimalist sort of kernel that supports SONY Firmwares
Click to expand...
Click to collapse
Wrong. It is used for CM based ROM's.
Anyway, don't use this one as development has stopped because the dev nolonger has an Xperia SP.

Gamm86 said:
Wrong. It is used for CM based ROM's.
Anyway, don't use this one as development has stopped because the dev nolonger has an Xperia SP.
Click to expand...
Click to collapse
Thanks for spotting my error mate!

Related

[Q] Unlocked Bootloader VS Locked Bootloader.

Hey guys,
as we all know, there has been a work around to gain root access and flash custom recovery to locked bootloader devices.
The only thing i heard was, that by doing that, NFC would not work anymore (but can be fixed) and your bootloader will have the status changed to locked forever (also believe there is a fix for this)
So i just want you guys' insights on what are the advantages of bootloader unlocking apart from the above,
Cheers guys~
I'd also love to know what's not possible with a locked bootloader.
My biggest question is whether I could still use droidwall since that's what keeps me from getting huge accidental data bills.
- The NFC works, I just tried it with a credit card as well as with one of the smart tags that Sony gave with the box.
- The Bravia Engine is disabled, however there will eventually be a workaround for this one as you can already get Bravia Engine version 1 running whenever you wish even with the unlocked bootloader, not the version 2 just yet. However, my take on this is quite positive as I appreciate realistic colours more to over saturated bright and overly contrasting colours, hence why I don't like AMOLEDs for instance.
- Other than that I have not noticed anything different in my device. Mind you it's much better since the unlock, as I have already flashed a custom ROM, I'm using Revolution but there are some really good other ones too, with all the bloatware gone, you can clear the bloatware you do not want without a custom ROM. I also have a custom kernel now, using Doom's kernel with no overclocks.
- Oh and I also have a mod for configurable switches in my notifications area so no reason to go in and out of Settings application or use Sony's laggy widgets.
- The ability to use AdFree and other root requiring applications is a great plus for me as well.
I think its very confusing. My bootloader is unlockable, and i would like a custom rom, but not sure what to do, and what i will break and not break. Its a bit of a jungle.
AlienCraB said:
-
- The Bravia Engine is disabled, however there will eventually be a workaround for this one .
Click to expand...
Click to collapse
BE is DRM so umlocking means losing them forever, unless someone find how to relock BL again and restore BE
With unlocked BL you can flash any Rom and kernel.
With locked you can flash only stock based Rom and can't flash CM roms
Sent from my C6602 using xda app-developers app
abd_alazeez2002 said:
BE is DRM so umlocking means losing them forever, unless someone find how to relock BL again and restore BE
With unlocked BL you can flash any Rom and kernel.
With locked you can flash only stock based Rom and can't flash CM roms
Sent from my C6602 using xda app-developers app
Click to expand...
Click to collapse
There is a twrp for locked boot loaders now
Does that still mean we can only flash stock based ROMs?
Code:
AlienCraB said:
- The NFC works, I just tried it with a credit card as well as with one of the smart tags that Sony gave with the box.
- The Bravia Engine is disabled, however there will eventually be a workaround for this one as you can already get Bravia Engine version 1 running whenever you wish even with the unlocked bootloader, not the version 2 just yet. However, my take on this is quite positive as I appreciate realistic colours more to over saturated bright and overly contrasting colours, hence why I don't like AMOLEDs for instance.
- Other than that I have not noticed anything different in my device. Mind you it's much better since the unlock, as I have already flashed a custom ROM, I'm using Revolution but there are some really good other ones too, with all the bloatware gone, you can clear the bloatware you do not want without a custom ROM. I also have a custom kernel now, using Doom's kernel with no overclocks.
- Oh and I also have a mod for configurable switches in my notifications area so no reason to go in and out of Settings application or use Sony's laggy widgets.
- The ability to use AdFree and other root requiring applications is a great plus for me as well.
Click to expand...
Click to collapse
I read somewhere that bra via engine will still remain because the boot loader is untouched
spazzy1912 said:
There is a twrp for locked boot loaders now
Does that still mean we can only flash stock based ROMs?
Click to expand...
Click to collapse
Twrp is just a recovery, like CWM recovery
So still you can only flash stock based Rom
To flash CM Rom or any Rom that is based on CM or even AOKP roms, you need unlocked BL.
These Roms use a different kernel than stock kernel.
Unlocked BL is needed to flash these custom kernels in kernel partition
Go to XS dev section, you will see alot of Roms that need unlocked BL
Sent from my C6602 using xda app-developers app
abd_alazeez2002 said:
Twrp is just a recovery, like CWM recovery
So still you can only flash stock based Rom
To flash CM Rom or any Rom that is based on CM or even AOKP roms, you need unlocked BL.
These Roms use a different kernel than stock kernel.
Unlocked BL is needed to flash these custom kernels in kernel partition
Go to XS dev section, you will see alot of Roms that need unlocked BL
Sent from my C6602 using xda app-developers app
Click to expand...
Click to collapse
ohh i see.
so i can still flash on doomlord's kernel because it is stock based right?
spazzy1912 said:
ohh i see.
so i can still flash on doomlord's kernel because it is stock based right?
Click to expand...
Click to collapse
Sorry for confusing you like this.
I will say it in more clear way
With locked BL, the only thing you can do is to flash stock based roms.
With unlocked BL,
-can flash stock based roms,
-Custom based Roms,
-Stock based kernel
-Custom based kernel
So you can't flash doomlord's kernel with locked BL
Sent from my C6602 using xda app-developers app
abd_alazeez2002 said:
Sorry for confusing you like this.
I will say it in more clear way
With locked BL, the only thing you can do is to flash stock based roms.
With unlocked BL,
-can flash stock based roms,
-Custom based Roms,
-Stock based kernel
-Custom based kernel
So you can't flash doomlord's kernel with locked BL
Sent from my C6602 using xda app-developers app
Click to expand...
Click to collapse
Ohhh, thank you for your help
Hi, A quick question! Can I use a recovery for locked bootloader on my unlocked phone?
for example, this one: http://forum.xda-developers.com/showthread.php?t=2308493 can i use that on my unlocked bootloader?
abd_alazeez2002 said:
BE is DRM so umlocking means losing them forever, unless someone find how to relock BL again and restore BE
With unlocked BL you can flash any Rom and kernel.
With locked you can flash only stock based Rom and can't flash CM roms
Sent from my C6602 using xda app-developers app
Click to expand...
Click to collapse
I'm not kidding: After I have unlocked my Xperia Z, BE2 and music info download still work properly.:laugh:
autumntactix said:
Can I use a recovery for locked bootloader on my unlocked phone?
for example, this one: http://forum.xda-developers.com/showthread.php?t=2308493?
Click to expand...
Click to collapse
I'm not sure but doomlord suggests using a different one...
http://forum.xda-developers.com/showpost.php?p=42166335&postcount=11
mrbuddy said:
I'd also love to know what's not possible with a locked bootloader.
My biggest question is whether I could still use droidwall since that's what keeps me from getting huge accidental data bills.
Click to expand...
Click to collapse
My favourite part with an unlocked bootloader is that with proper knowledge you can handle memory handling, CPU scheduling, under or over voltages on your CPU/GPU, etc.
So really the unseen side of things, my Xperia Z goes 2.5 days with one full charge with the modded kernel I have, using AOSP with nothing unused installed.
I wouldn't have been able to achieve that with a locked bootloader.
And I did not really like how overly saturated blues became with Bravia Engine anyway, so nothing lost on that side really.
I unlocked after the first 24hours of stock use.
autumntactix said:
Hi, A quick question! Can I use a recovery for locked bootloader on my unlocked phone?
Click to expand...
Click to collapse
First off all, why have you posted a link to the S section when secondly, there is two types of recoveries you can find and should use in this section.
abd_alazeez2002 said:
Sorry for confusing you like this.
I will say it in more clear way
With locked BL, the only thing you can do is to flash stock based roms.
With unlocked BL,
-can flash stock based roms,
-Custom based Roms,
-Stock based kernel
-Custom based kernel
So you can't flash doomlord's kernel with locked BL
Sent from my C6602 using xda app-developers app
Click to expand...
Click to collapse
Hi, as a beginner, can you tell me some of the "stock based roms" that can be flashed with a locked bootloader? many thanks
krypucine said:
Hi, as a beginner, can you tell me some of the "stock based roms" that can be flashed with a locked bootloader? many thanks
Click to expand...
Click to collapse
All of them except the newer 4.2.2 leak based roms
flytomars said:
I'm not kidding: After I have unlocked my Xperia Z, BE2 and music info download still work properly.:laugh:
Click to expand...
Click to collapse
Did you unlock your Xperia z or unlock the bootloader of the z?
Sent from my C6603

[Q] Xperia TL Roms?

I have an Xperia TL with a locked bootloader. Can I install roms on this phone? I'd like to get the Xperia T version of Cyanogenmod, but I'm not sure if I can do anything with this phone.
Edit: It's the LT30at
Thanks for any help.
Hickeroar said:
I have an Xperia TL with a locked bootloader. Can I install roms on this phone? I'd like to get the Xperia T version of Cyanogenmod, but I'm not sure if I can do anything with this phone.
Edit: It's the LT30at
Thanks for any help.
Click to expand...
Click to collapse
Please read the OP of all CM rom threads
Bootloader needs to be unlocked.
But you can install stock based roms.
Just look in the dev section and read up on the roms.
Hickeroar said:
I have an Xperia TL with a locked bootloader. Can I install roms on this phone? I'd like to get the Xperia T version of Cyanogenmod, but I'm not sure if I can do anything with this phone.
Edit: It's the LT30at
Thanks for any help.
Click to expand...
Click to collapse
There is no ROMs for the Xperia TL so you would have to use xperia T Roms. Flash xperia t firmware but don't flash the xperia t baseband. Find a guide on how to use flash tool
Sent using grammatical error Xperia TL
So i followed the sony instructions for unlocking the bootloader and found that mine cannot be unlocked. Is there any way around this or am I stuck?
Yawn,
Answered so many times I don't think I can bother any more....
Sent from my LT30p using xda premium
You are stuck. You can only flash stock-based ROMs. There are several in the Development section. I am currently using the Hybrid (Stock/CM10) ROM.
Hickeroar said:
So i followed the sony instructions for unlocking the bootloader and found that mine cannot be unlocked. Is there any way around this or am I stuck?
Click to expand...
Click to collapse
Hickeroar said:
So i followed the sony instructions for unlocking the bootloader and found that mine cannot be unlocked. Is there any way around this or am I stuck?
Click to expand...
Click to collapse
You're stuck. Your bootloader is probably unable to be unlocked. You can only go for stock-based roms. Roms like CyanogenMod or AOKP needs an unlocked bootloader.
Sent from my LT25i using Tapatalk 2
BloodLust012 said:
You're stuck. Your bootloader is probably unable to be unlocked. You can only go for stock-based roms. Roms like CyanogenMod or AOKP needs an unlocked bootloader.
Sent from my LT25i using Tapatalk 2
Click to expand...
Click to collapse
+1
Sent from my HTC Sensation Z710e using Tapatalk 2
To be clear
OK jus to be completely clear . i can use stock based roms on the TL T30at, because my bootloader is locked, and i can use any stock base rom from xperia T jus dont flash the baseband in flashtools correct ?
Alex5699 said:
OK jus to be completely clear . i can use stock based roms on the TL T30at, because my bootloader is locked, and i can use any stock base rom from xperia T jus dont flash the baseband in flashtools correct ?
Click to expand...
Click to collapse
Yes, you can use stock (XPERIA T) FTF's - just skip the baseband portion before you being flashing so you keep your AT&T baseband.
Then root with whatever method is needed
Then install CWM recovery
Then yes - you can flash stock-based (XPERIA T!) roms. You can usually tell the rom is stock/Locked Bootloader/LBL-friendly in the title of the thread, or in the first few posts of the thread. Also, I don't know how important this is - but also look to see what stock kernel the rom is based on (LT30p 141? 145? 489?). Stock kernel zips can be flashed via CWM recovery (I know that my Bell LT30a works fine with LT30p kernels, but I wonder if the AT&T LT30at will also be fine with it?). My favourite ROMS have been XperimenT and T-Hybrid so far... Good luck
And always keep your stock FTF handy! Because if any flashing you do doesn't work, you can always quickly fall back on a fresh whole FTF flash that is appropriate for your phone. Then the fun starts all over
Kernel
I did flash the kernel 145 from the T idk what really went wrong but my phone stuck on the sony logo
also i use XperimenT rom and flash it using CWM it install in about 7 secs which doesnt seems right . any suggestions ?
Problem solved
Alex5699 said:
I did flash the kernel 145 from the T idk what really went wrong but my phone stuck on the sony logo
also i use XperimenT rom and flash it using CWM it install in about 7 secs which doesnt seems right . any suggestions ?
Click to expand...
Click to collapse
after trying diffrent method and days of trouble shooting with my friend
LaZiODROID there is a solution, using cwm(v9) would not format your system and data files thats the reason why the rom hangs at the sony logo because no system files were installed if u check the log, using cwm(v8) for the T,TL is the most stable and will install the rom and kernel with ease. Remeber to always wipe/factory reset then format system and in advance settings wipe dalvik before u install any rom.

[Q] Xperia SP Locked Bootloader KitKat ROM

I have changed my ROM a couple of times now after rooting my SP.
I am unable to unlock the bootloader, and dont seem to find many ROM's for locked BL's
Is anyone doing a KITKAT ROM for locked bootloaders at all?
Great work by all the DEVs.
Steve
Stirlin said:
I have changed my ROM a couple of times now after rooting my SP.
I am unable to unlock the bootloader, and dont seem to find many ROM's for locked BL's
Is anyone doing a KITKAT ROM for locked bootloaders at all?
Great work by all the DEVs.
Steve
Click to expand...
Click to collapse
For now, you must unlock your bootloader before you can use custom ROM on your phone
Ex. CM, PAC, AOKP, etc.
Sent from my XSP
Pulsa said:
For now, you must unlock your bootloader before you can use custom ROM on your phone
Ex. CM, PAC, AOKP, etc.
Sent from my XSP
Click to expand...
Click to collapse
Thanks
So how can I tell the difference?
Stirlin said:
Thanks
So how can I tell the difference?
Click to expand...
Click to collapse
What differences?
Press thanks instead of saying bro:thumbup:
Sent from My XSP
Best Option is PAC, since it is a combination of all
Paranoid Android Aokp CyanogenMod
Mystogan said:
Best Option is PAC, since it is a combination of all
Paranoid Android Aokp CyanogenMod
Click to expand...
Click to collapse
Small error:
Panandroid AOKP and CyanogenMod
Stirlin said:
I have changed my ROM a couple of times now after rooting my SP.
I am unable to unlock the bootloader, and dont seem to find many ROM's for locked BL's
Is anyone doing a KITKAT ROM for locked bootloaders at all?
Great work by all the DEVs.
Steve
Click to expand...
Click to collapse
No, locked bootloader just support stock firmware, or stock based ROM's. Since the last stock firmware for our device is 4.1.2, the only way you to put a newer version is by unlocking your bootloader.
But don't be afraid, Sony will realease android 4.3 for XSP this month.
See:
http://gadgets.ndtv.com/mobiles/new...p-more-xperia-phones-in-testing-report-449661
ROM's for locked BL's
Stirlin said:
I have changed my ROM a couple of times now after rooting my SP.
I am unable to unlock the bootloader, and dont seem to find many ROM's for locked BL's
Is anyone doing a KITKAT ROM for locked bootloaders at all?
Great work by all the DEVs.
Steve
Click to expand...
Click to collapse
Hi - can you tell me which roms you have been able to install with locked bootloader .... thanks
Andrew
With a locked bootloader you can only use Stock based roms – so no Kit Kat custom roms on a LB until Sony release 4.4 themselves.
These Roms will typically have the latest Sony media apps (camera, Walkman, video etc.) and use the Honami (Xperia Z) theme. They are often de-bloated and tweaked so their free RAM and out of memory settings improve on normal performance. Other features may include an expanded power menu and long press volume key to change track when listening to music.
Existenz is the most fully featured custom rom you can install without unlocking your bootloader.
An alternative is to install a debloated ROM and use the Xposed framework to get some of the goodies from Kit Kat and other AOSP based roms. This is what I did before CM was developed for the SP.
yes u can..
Stirlin said:
I have changed my ROM a couple of times now after rooting my SP.
I am unable to unlock the bootloader, and dont seem to find many ROM's for locked BL's
Is anyone doing a KITKAT ROM for locked bootloaders at all?
Great work by all the DEVs.
Steve
Click to expand...
Click to collapse
Hey ..u can install CM 10.2 on locked bootloader..not CM11..
check out the link:
HTML:
http://forum.xda-developers.com/showthread.php?t=2676492
deleted ...my post is irrelevant

C6903 - CyanogenMod 11 for Locked Bootloaders - Help needed!

Hello guys, I'm acquiring some info about how to build the CM11 to Honami with locked bootloader.
 @Olivier already did it to Xperia S and @letama said to me that MAYBE we can do the same to Z1.
I'm not a dev at all, but for sure I have some skill (I hope!).
So, I have to ask first, did anyone already tried it? Worked? Didn't work?
If anyone is willing to help, please, let me know.
---
Current status:
Repo sync
Impossible workout kexec, and that does not look promising. Is in the original development section.
Sent from my C6903 using XDA Premium 4 mobile app
gregbradley said:
Impossible workout kexec, and that does not look promising. Is in the original development section.
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I will have a look into it, thanks to point it out!
gregbradley said:
Impossible workout kexec, and that does not look promising. Is in the original development section.
Click to expand...
Click to collapse
Well, this solution doesn't use kexec. It basically hijack stock firmware android boot to boot the alternate firmware but it's using stock kernel, that's why it can work with locked bootloaders. The only requirement is that cm or aosp should run on stock kernel and doesn't require a modified kernel. As you have kitkat on your device, there is a good chance that it does.
But it doesn't, that's why it does not work and a modified ramdisk (Hence modified kernel, hence unlocked bootloader) is needed
Hence kexec is needed, but that seems like a lost hope on Xperia Z devices
Nothink is imposible i hope
No, nothing is impossible, but there has to be enough effort spent on it.
Personally I don't think there will be as most devs got bootloaders which can be unlocked...hence they do not need kexec
In future its always preferable to check this before purchase
mabe don't need to unlock bootloader but workaround this - mabe multiboot or kexec will be more developed because more phone will released with LB and this is their new policy :/
gregbradley said:
No, nothing is impossible, but there has to be enough effort spent on it.
Personally I don't think there will be as most devs got bootloaders which can be unlocked...hence they do not need kexec
In future its always preferable to check this before purchase
Click to expand...
Click to collapse
gregbradley said:
But it doesn't, that's why it does not work and a modified ramdisk (Hence modified kernel, hence unlocked bootloader) is needed
Click to expand...
Click to collapse
Ramdisk is not a problem... When I say kernel, I mean zImage, not zImage+ramdisk: we extract cyanogen ramdisk in the boot hijack.
Kernel drivers combined to Android hal is what I meant and could cause problem depending on how Cyanogen was developed and how Cyanogen kernel source code is far from stock one. That's why we're usually stuck on Cyanogen with the same Android version.
Another solution is to hack Cyanogen code to support stock zImage. It's not for the faint of the heart, but it could be the only solution.
Greg's absolutely right, if your bootloader unlock allowed status is no or you're unwilling to unlock it then i'm afraid you're out of luck, i'm not saying it's impossible that just isn't true, but again as Greg's said this more than likely isn't going to happen as it would take some talented folk a lot of time to accomplish it, with the Z2 having been released and the vast majority of people able to unlock their bootloaders there is little call for someone to have a crack at it.
in all fairness though, the rom's that are available for locked bootloaders are pretty damn good and the launchers that you can install these days gives a near perfect android experience, you'll only be missing things like Halo and custom kernels along with a few mods and such that only appear to be available for cm based roms and the like.

Flashing ROM with Locked Bootloader?

Hi there,
At the moment I'm running Android 4.4.2 Stock ROM, but I want to switch to MIUI V5. I would like to know if it's possible to do this while having a locked Bootloader.
P.S.: First I used the towelroot-method to get root acces, then I installed SuperSU and CWM Recovery. So that's already done.
It should be possible. Take a look at this thread: http://forum.xda-developers.com/xpe...-miu-z-4-2-2-multilang-v2-5-10-3-1-2-t2467408
Just follow the steps for locked bootloaders.
gripfly said:
It should be possible. Take a look at this thread: http://forum.xda-developers.com/xpe...-miu-z-4-2-2-multilang-v2-5-10-3-1-2-t2467408
Just follow the steps for locked bootloaders.
Click to expand...
Click to collapse
Thank you for the fast reply! I'll try it. By the way are there any bugs in the ROM I've mentioned? I can't read any Chinese and Google Translation doesn't translate that well.
Isn't MIUI based on AOSP/CM? If it is, then you cannot flash it on a locked bootloader.
Edit - It seems the rom that gripfly linked to can be flashed on locked bootloaders. Disregard my post. ?
Sent from my C6603 using Tapatalk
kingvortex said:
Isn't MIUI based on AOSP/CM? If it is, then you cannot flash it on a locked bootloader.
Edit - It seems the rom that gripfly linked to can be flashed on locked bootloaders. Disregard my post. ?
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Too bad it's an outdated ROM. I would love to see the newest MIUI ROM running on this beauty, but I'm too scared to try it out and mess it up, and then risking to lose the DRM key.
Edit: Are there any good ROMS with nice GUI apart from Sony's UI for the Xperia Z? The MIUI ROM V5 is based on Android 4.2.2, which is more a downgrade than an upgrade...
tally114 said:
Too bad it's an outdated ROM. I would love to see the newest MIUI ROM running on this beauty, but I'm too scared to try it out and mess it up, and then risking to lose the DRM key.
Edit: Are there any good ROMS with nice GUI apart from Sony's UI for the Xperia Z? The MIUI ROM V5 is based on Android 4.2.2, which is more a downgrade than an upgrade...
Click to expand...
Click to collapse
There are many good ROMs on the forum.
Actually, UI varies from person to person so it's very difficult to say which one is better, you can search in the forum and find a suitable one.
As for me, I highly recommend PA which include many good features.
Locked bootloader means stock based ROMs only.
Sent from my C6606 on 4.4.2 KitKat

Categories

Resources