[Q] Questions before enter the UBL world - Xperia SP Q&A, Help & Troubleshooting

Hello people.
I've passed this whole week seeing posts about unlock bootloader, and i want to put some Lollipop ROMs in my smartphone. :fingers-crossed:
But i've some questions that i don't have found the answers.
- The first is: Do i need to be in the stock firmware to unlock the bootloader? Actually i'm with LBL, and Slimkat ROM, but i have the stock FTF in my archives.
- The 2nd: I have made an backup of TA Partition, but if i want to relock my bootloader again, what steps i need to do? Relock -> Flash Stock FTF -> Restore the TA partition backup or simple Restore the TA partition then flash stock FTF?
- The 3rd: The Tangerine Kernel, Willians Kernel and DooMLorD Kernel are really safe to use? I've heard rumours about modded Kernels can overclock too much your processor and make it explode.
Well, i think is only these three really. And thanks advance to all you guys that answer my questions.

ronmtts said:
Hello people.
I've passed this whole week seeing posts about unlock bootloader, and i want to put some Lollipop ROMs in my smartphone. :fingers-crossed:
But i've some questions that i don't have found the answers.
- The first is: Do i need to be in the stock firmware to unlock the bootloader? Actually i'm with LBL, and Slimkat ROM, but i have the stock FTF in my archives.
- The 2nd: I have made an backup of TA Partition, but if i want to relock my bootloader again, what steps i need to do? Relock -> Flash Stock FTF -> Restore the TA partition backup or simple Restore the TA partition then flash stock FTF?
- The 3rd: The Tangerine Kernel, Willians Kernel and DooMLorD Kernel are really safe to use? I've heard rumours about modded Kernels can overclock too much your processor and make it explode.
Well, i think is only these three really. And thanks advance to all you guys that answer my questions.
Click to expand...
Click to collapse
1st
Afaik you don't have to, but i would recommend it.
2nd
You have to be on stock to relock bootloader. Custom Rom won't boot anymore when your BL is locked again.
3rd
You can deactive overclock on costum kernel. Then nothing can happen
Gesendet von meinem
Sony Xperia SP - Cyanogenmod 12.1

Thanks.
About the 2nd question. Whats the procedure i would make to come back to full stock if i'm in an UBL ROM?
Flash Stock FTF, then Relock, then restore TA partition?

ronmtts said:
Thanks.
About the 2nd question. Whats the procedure i would make to come back to full stock if i'm in an UBL ROM?
Flash Stock FTF, then Relock, then restore TA partition?
Click to expand...
Click to collapse
yes that is right
Flash Stock FTF, then Relock, then restore TA partition

Thanks man.
And about the kernel flashing process...
First time i think i'll make it with flashtool... but everytime an new update roll out, i i'll need to flash it with flashtool too, or can i use an custom recovery like CWM?

ronmtts said:
Thanks man.
And about the kernel flashing process...
First time i think i'll make it with flashtool... but everytime an new update roll out, i i'll need to flash it with flashtool too, or can i use an custom recovery like CWM?
Click to expand...
Click to collapse
to flash what kernel ?
you can flash a custom kernel via cwm for sure
but every ROM you flash will have a stock kernel
when you UBL you can install twrp recovery via installing rashr app then from the app install twrp.img
if that answer didn't help ....make your question more clear

Tangerine Kernel for example... the dev that make it keep updating it, and if i want to flash the new version of the kernel, do i need to flash it via flashtool or cwm/twrp/philz?
And about ROMs that have the kernel.elf inside the zip package?

ronmtts said:
Tangerine Kernel for example... the dev that make it keep updating it, and if i want to flash the new version of the kernel, do i need to flash it via flashtool or cwm/twrp/philz?
And about ROMs that have the kernel.elf inside the zip package?
Click to expand...
Click to collapse
no ...just flash it through the cwm/twrp/philz
and if you want to flash kernel.elf again just flash it using fastboot mode
but if you want to stay on stock kernel just flash the ROM ...nothing else
---------- Post added at 10:42 PM ---------- Previous post was at 10:38 PM ----------
i have to go to sleep now(in case i didn't replay anymore )...hope my answers helped you ..good luck

Related

[SOLVED] [Q] Getting back to stock ROM

Hi all
I have rooted and unlocked the bootloader but haven't taken the jump and stuck a ROM or kernel on as yet, as am actually quite happy with the stock ROM, and also rely on the headphones, amongst other things - which appear to be a problem on some of the ROMs.
If I do stick a custom ROM on, can I easily get back to the stock one, is there a stock ROM of that which I can flash via CWM ?
I understand that with CWM I (currently) have to instantly stick a ROM on, so presumably cant do a backup of the stock ROM at that point..before putting on FXP or some such
I presume I can use the sony update service, but would that wipe the root ...?
could someone enlighten me
many thanks
nat
xda-nat said:
Hi all
I have rooted and unlocked the bootloader but haven't taken the jump and stuck a ROM or kernel on as yet, as am actually quite happy with the stock ROM, and also rely on the headphones, amongst other things - which appear to be a problem on some of the ROMs.
If I do stick a custom ROM on, can I easily get back to the stock one, is there a stock ROM of that which I can flash via CWM ?
I understand that with CWM I (currently) have to instantly stick a ROM on, so presumably cant do a backup of the stock ROM at that point..before putting on FXP or some such
I presume I can use the sony update service, but would that wipe the root ...?
could someone enlighten me
many thanks
nat
Click to expand...
Click to collapse
Take a backup of what you have now in recovery, and you can always restore.
Also there are plenty of stock .ftfs in the allin one thread in Q&A that can be flashed in flashtool
No.
if you flash cmw from the thread then yeas, but you have unlocke your bootloader, so just flash the advanced stock kernel and then you have recovery without having to reflash a rom...
gregbradley said:
Take a backup of what you have now in recovery, and you can always restore.
Also there are plenty of stock .ftfs in the allin one thread in Q&A that can be flashed in flashtool
No.
if you flash cmw from the thread then yeas, but you have unlocke your bootloader, so just flash the advanced stock kernel and then you have recovery without having to reflash a rom...
Click to expand...
Click to collapse
hi thanks for the reply
this one?
http://forum.xda-developers.com/showthread.php?t=1922925
that has CWM rolled up in it?
and I can simply type
fastboot flash boot Tkernel.elf
using the version of fastboot that came with flashtool
with the phone in fastboot mode (blue LED)?
effectively following steps from here:
http://forum.xda-developers.com/showthread.php?p=23181182#post23181182
xda-nat said:
hi thanks for the reply
this one?
http://forum.xda-developers.com/showthread.php?t=1922925
that has CWM rolled up in it?
and I can simply type
fastboot flash boot Tkernel.elf
using the version of fastboot that came with flashtool
with the phone in fastboot mode (blue LED)?
effectively following steps from here:
http://forum.xda-developers.com/showthread.php?p=23181182#post23181182
Click to expand...
Click to collapse
yes

Is there an FTF with CWM (and root) ?

Hey,
Do not know if it is possible, but is there a .ftfwith CWM available?
I'm going to do some testing and if I would get met phone in a bootloop a ftf file with CWM and Root in it already would be usefull so I can restore my backup(without having to flash stock rom and then kernel). If someone could supply me a link?
Regards
Robin>Hood said:
Hey,
Do not know if it is possible, but is there a .ftfwith CWM available?
I'm going to do some testing and if I would get met phone in a bootloop a ftf file with CWM and Root in it already would be usefull so I can restore my backup(without having to flash stock rom and then kernel). If someone could supply me a link?
Regards
Click to expand...
Click to collapse
No, it can be possible. A ftf its untouched sony software in a propietary format (.sin), you cant modify it and then recompile it...its impossible.
Only thing you can do is flash a stock firmware, root, install cwm or twrp and then restore a previous backup. Or: If you have a unlocked bootloader put a custom kernel, it will have CWM or TWRP or both, so you can restore a backup.
cachanilla86 said:
No, it can be possible. A ftf its untouched sony software in a propietary format (.sin), you cant modify it and then recompile it...its impossible.
Only thing you can do is flash a stock firmware, root, install cwm or twrp and then restore a previous backup. Or: If you have a unlocked bootloader put a custom kernel, it will have CWM or TWRP or both, so you can restore a backup.
Click to expand...
Click to collapse
Thanks, I already thought so but then somebody told me something else and I got confused, my plan was to flash a kernel with CWM too. Thanks

[Q] CWM to install non stock kernel?

I was running 4.3 on my C5303 with locked bootloader and I didn't like it.
I restored a nandroid back up of 4.1.2 that I'd made in CWM, and rebooted. As the phone was rebooting I expected bootloop as I had forgotten to use Flashtool to flash the 4.1.2 kernel. Oops.
However, to my surprise the phone booted as normal. CWM had restored the older kernel.
My question is - if someone with a custom kernel made a nandroid backup and I restored it via CWM would this give me a custom kernel on locked bootloader?
I used to have an ARC S and JJs Hybrid rom was installed this way. A new rom was installed and user created a nandroid before completing the set up. When user like me restored the backup we got fresh new rom with root and CWM on locked bootloader.
I'm in the UK on O2 and bootloader unlock status is always NO for their phones.
The main problem I see would be the size of the backup file. But CWM can do partial backup/restores. Has this option been explored already?
This may be the only way I can ever experience KitKat Cyanogenmod.
You can't boot any custom kernel on a locked bootloader! If you try it'll brick your phone (I'm not 100% sure if it even could be a hard brick). Until now you can "only" flash 4.3 cyanogenmod/AOKP/PAC-Man on locked bootloader, which is also awesome, that this is possible.
Gesendet von meinem Sony Xperia SP C5303
I understand you cannot flash a non stock kernel because you can't use fastboot.
As part of the nandroid back up it creates a boot.img file.
When I restored my back up it replaced the 4.3 kernel with the 4.1.2 kernel. So it must have restored boot.img?
I wondered if there was any way to restore someone else's non-stock kernel via cwm nandroid boot.img.
rents1977 said:
I understand you cannot flash a non stock kernel because you can't use fastboot.
As part of the nandroid back up it creates a boot.img file.
When I restored my back up it replaced the 4.3 kernel with the 4.1.2 kernel. So it must have restored boot.img?
I wondered if there was any way to restore someone else's non-stock kernel via cwm nandroid boot.img.
Click to expand...
Click to collapse
Yes, it makes a backup of almost everything so also from the kernel.
I understand what you want but the custom kernels arent boot.img but kernel.elf and these ones have a different ramdisk (is it called ramdisk?!) and a different ramdisk requires you to unlock your bootloader so it would definitely brick your device if it is not the stock 4.3 kernel
Gesendet von meinem Sony Xperia SP C5303
That is disappointing, I had hoped that as it worked on ARC S it might have worked on SP.
Obviously it isn't something I can test myself. I had hoped that no matter what the kernel CWM would have been able to restore it from a backup.
I must read more about the ramdisk.
rents1977 said:
That is disappointing, I had hoped that as it worked on ARC S it might have worked on SP.
Obviously it isn't something I can test myself. I had hoped that no matter what the kernel CWM would have been able to restore it from a backup.
I must read more about the ramdisk.
Click to expand...
Click to collapse
The problem I think is that your bootloader isn't unlockable. If it worked on Arc S this is because the nandroid backup also backed up the bootloader status (I thinkso). So since your bootloader isn't unlockable, you won't have the chance to do so :/
Actually CWM could restore it from the backup but it would be the same, as if you would flash a custom kernel on a locked bootloader manually, which always should (hard)brick the device.
My Arc S had a locked bootloader too. Someone accidentally posted a nandroid backup with doomlord kernel instead of stock and I had doomlord kernel on locked bootloader.
rents1977 said:
My Arc S had a locked bootloader too. Someone accidentally posted a nandroid backup with doomlord kernel instead of stock and I had doomlord kernel on locked bootloader.
Click to expand...
Click to collapse
No, since this is not possible (yet) the recovery must have backed up the bootloader status (unlocked) since the one who made the nandroid backup had an unlocked bootloader, so with restoring the backup it basically unlocked your bootloader, respectively your own one got overwritten.
But since your bootloader is not unlockable, it won't restore the bootloader status because it is in no way possible to unlock your phone's bootloader!
I hope you understood what I mean?
Gesendet von meinem Sony Xperia SP C5303
Ok, I think I've got it now
When I later restored a different nandroid on the ARC that's when my BL went back to being locked.
I guess that Sony must handle the TA or something differently now which prevents this from working with XSP.
Ok, it was worth asking I guess. I'd hoped with sources being released for our model and some hack like this I could have maybe gotten to try KitKat on locked BL.
It really puts me off buying Sony again, HTC don't lock their phones down anywhere near as tightly. You can get fastboot and change out the kernel for root really quickly. I even installed a rom on the the Desire which had the Sony UI that I love.
Hey guyz, i'm on cm11 and i want to go back to 4.1 ics arc s. But i'm not having my pc with me. So what should i do to flash the kernel. Can you guyz help me to install kernel via restore method with nandroid backup. I don't know if that can be done. If possible plz send me kernel restore file for lupus v16 for arc s(ics)
Sent from my LT18i
DeathStroke said:
Hey guyz, i'm on cm11 and i want to go back to 4.1 ics arc s. But i'm not having my pc with me. So what should i do to flash the kernel. Can you guyz help me to install kernel via restore method with nandroid backup. I don't know if that can be done. If possible plz send me kernel restore file for lupus v16 for arc s(ics)
Sent from my LT18i
Click to expand...
Click to collapse
I couldn't figure out if you have a nandroid backup. Do you have one? The nandroid backup also contains the kernel, so if you restore a nandroid backup, kernel of when you made the backup gets also restored.
If you only want to restore the kernel with a nandroid backup you go into recovery → backup and restore → restore partial backup (or however it is called) and select boot.img
Schokonuss said:
I couldn't figure out if you have a nandroid backup. Do you have one? The nandroid backup also contains the kernel, so if you restore a nandroid backup, kernel of when you made the backup gets also restored.
If you only want to restore the kernel with a nandroid backup you go into recovery → backup and restore → restore partial backup (or however it is called) and select boot.img
Click to expand...
Click to collapse
No, m not having nandroid backup. If you can provide me, that will solve my problem. M away from home 2000kms. M stuck with cm11, it drain lot of battery and lot of bugs. Could you please provide me backup for ics latest build with lupus kernel v16.
Sent from my LT18i
DeathStroke said:
No, m not having nandroid backup. If you can provide me, that will solve my problem. M away from home 2000kms. M stuck with cm11, it drain lot of battery and lot of bugs. Could you please provide me backup for ics latest build with lupus kernel v16.
Sent from my LT18i
Click to expand...
Click to collapse
The thing is I have Sony Xperia SP with AOKP (4.3.1). Can't you flash a stock based ROM or a stock ROM just slightly modified (deodexed, pre-rooted or such things)?
Furthermore Xperia SP never had ICS. It came out with JB 4.1.2
Schokonuss said:
The thing is I have Sony Xperia SP with AOKP (4.3.1). Can't you flash a stock based ROM or a stock ROM just slightly modified (deodexed, pre-rooted or such things)?
Furthermore Xperia SP never had ICS. It came out with JB 4.1.2
Click to expand...
Click to collapse
The thing is i m unable to change my kernel as i don't have access to my PC and without kernel i can't do anything.
So i was asking if there is anyway to do that ie flash kernel via cwm?
Sent from my LT18i
[quote name="Schokonuss" post=52000762]The thing is I have Sony Xperia SP with AOKP (4.3.1). Can't you flash a stock based ROM or a stock ROM just slightly modified (deodexed, pre-rooted or such things)?<br />
Furthermore Xperia SP never had ICS. It came out with JB 4.1.2
Click to expand...
Click to collapse
<br />
<br />
The thing is i m unable to change my kernel as i don't have access to my PC and without kernel i can't do anything. <br />
So i was asking if there is anyway to do that ie flash kernel via cwm?<br />
<br />
Sent from my LT18i[/QUOTE]
I'm not 100% if that's possible. Maybe if you download a ROM with a kernel and delete the ROM out of the .zip (don't try that, it is just an idea!). If I were you I would download and flash another ROM (stock-based) that has an in-built kernel via recovery.
I'm not 100% if that's possible. Maybe if you download a ROM with a kernel and delete the ROM out of the .zip (don't try that, it is just an idea!). If I were you I would download and flash another ROM (stock-based) that has an in-built kernel via recovery.
Click to expand...
Click to collapse
ROMs for arc s don't have kernel inside rom zip. I always flash separately.
Sent from my LT18i
DeathStroke said:
ROMs for arc s don't have kernel inside rom zip. I always flash separately.
Sent from my LT18i
Click to expand...
Click to collapse
What about trying it with GooManager?
Schokonuss said:
What about trying it with GooManager?
Click to expand...
Click to collapse
Goomanager only install roms, not kernel.
I have tried hell lot of softwares paid as well as free but nothing worked.
Sent from my LT18i

[Q] Disgrading From CM To Stock!

I have recently rooted my Sony Xperia SP 12.1.a.1.201(4.3),it was one hell of a process ! So currently my bootloader is unlocked with CWM recovery! I wanted to install a custom rom, and if i do so, i just want to know that how to go back to stock rom from cyanogen mod keeping the root! Please Help!
tanmay_sarkar said:
I have recently rooted my Sony Xperia SP 12.1.a.1.201(4.3),it was one hell of a process ! So currently my bootloader is unlocked with CWM recovery! I wanted to install a custom rom, and if i do so, i just want to know that how to go back to stock rom from cyanogen mod keeping the root! Please Help!
Click to expand...
Click to collapse
You could download and flash Exitenz rom stock based, also you can flash offical firmware by flashtool and root it
lorkan126 said:
You could download and flash Exitenz rom stock based, also you can flash offical firmware by flashtool and root it
Click to expand...
Click to collapse
what if i flash CyanogenMOD and then if i want to go back to Stock rom, isn't there a way that i cud keep root wen i go back to stock?
tanmay_sarkar said:
what if i flash CyanogenMOD and then if i want to go back to Stock rom, isn't there a way that i cud keep root wen i go back to stock?
Click to expand...
Click to collapse
No, you must root again
lorkan126 said:
No, you must root again
Click to expand...
Click to collapse
will flashtool work on Cyanogenmod? so that i could flash Stock firmware?
tanmay_sarkar said:
will flashtool work on Cyanogenmod? so that i could flash Stock firmware?
Click to expand...
Click to collapse
yes you can flash stock by flashtool it will work
lorkan126 said:
yes you can flash stock by flashtool it will work
Click to expand...
Click to collapse
flashing Stock again will lock my bootloader again or it will be unlocked only?
tanmay_sarkar said:
flashing Stock again will lock my bootloader again or it will be unlocked only?
Click to expand...
Click to collapse
Bootloader will be unlocked
lorkan126 said:
Bootloader will be unlocked
Click to expand...
Click to collapse
Thankz,By the way.. i have suggested that i could also flash pre rooted stock and den 201 kernel.. any ideas on that?
@ OP You have Q&A so quit PM me and ask all your questions here
The quick answer is yes - use your recovery to back up your rooted stock ROM. If you don't like CM simply return to your back up - it will still be rooted.
Alternatively, you have an unlocked bootloader - so you can flash Doomlord's kernel immediately after returning to stock (the kernel is insecure meaning you can flash a supersu zip in recovery to get root again).
Doomlord's latest kernels are decent and I can recommend Williams kernel too - as good as stock.
Parkside said:
The quick answer is yes - use your recovery to back up your rooted stock ROM. If you don't like CM simply return to your back up - it will still be rooted.
Alternatively, you have an unlocked bootloader - so you can flash Doomlord's kernel immediately after returning to stock (the kernel is insecure meaning you can flash a supersu zip in recovery to get root again).
Doomlord's latest kernels are decent and I can recommend Williams kernel too - as good as stock.
Click to expand...
Click to collapse
If i restore my rooted Stock Rom backed up by CWM, in this case also,do i have to Flash doomlord kernel?
tanmay_sarkar said:
If i restore my rooted Stock Rom backed up by CWM, in this case also,do i have to Flash doomlord kernel?
Click to expand...
Click to collapse
No, if you backup your rom and restore ut will be the same like you have now, kernel too, Root too

[Q] stock kernel

Hi!
I want to install XperianZe v3 and if I flash the kernel later how i can go back on stock kernel?
I have unlocked bootloader
edit: or if I flash the kernel can i later flash stock .205 with flashtool?
2a0d0a0m said:
Hi!
I want to install XperianZe v3 and if I flash the kernel later how i can go back on stock kernel?
I have unlocked bootloader
edit: or if I flash the kernel can i later flash stock .205 with flashtool?
Click to expand...
Click to collapse
Yes you can always! Happy flashing. Backup your data before trying anything for the first time. Just in case anything went wrong. You can go back to full stock by flashing ftf file from flashtool. No problems at all. And if your bootloader is not unlocked, don't flash non-sony ROM.
shahrukhqasim said:
Yes you can always! Happy flashing. Backup your data before trying anything for the first time. Just in case anything went wrong. You can go back to full stock by flashing ftf file from flashtool. No problems at all. And if your bootloader is not unlocked, don't flash non-sony ROM.
Click to expand...
Click to collapse
ok thank you

Categories

Resources