Related
Hi,
I'm new and quite a newbie with android so, please bare with me
I will try to write a comprehensive guide on this during the process.
My device is XperiaSL LT26ii / Android 4.1.2 / Kernel 6.2.B.1.96 (stock, or default kernel) Rooted with bootloader locked. Busybox installed.
So the only thing I'v done after buying is rooting it.
- How to fully-backup / recovery if anything goes wrong
Before doing any operation with it I wanted to backup everything (applications, ROM, System, documents) , and I hear that there is CWM or Xrecovery for that (mentioned in some guides), nandroid, but I found different applications on Playstore and don't know which one is the right one for my device.
I understand that backing up and restoring each of these system parts requries order and probably different applications,
Can we specify here which app should I use and how it's done?
- ROM and Kernel without unlocking possibly
http://forum.xda-developers.com/showthread.php?t=2593806 it looks like possible but considering that now there is cm-11 out and not yet for "nozomi" http://download.cyanogenmod.org/?device=nozomi , I would like to try any stable, fast , light ROM out there which works for my device. Preferibly with possibility to remove any google app .
If not, how can I unlock the bootloader and do the rest?
I saw also http://forum.xda-developers.com/showthread.php?t=1617219 which looks a nice kernel.
So , what's the most adaptive ROM / kernel for my phone and how to install / flash them?
- Getting back the applications
Once it's done, how to restore back applications and data? / with what tool, without loosing anything.
Download flashtool (xda fileserver)
You can use that to unlock your bootloader
Also backbuton = volume up = BOOTLOADET MODE
Menu button = volume down =flashmode
May come in useful for unlocking your Bootloader
Also emma flashtool isnt the same as this flashtool
Also google if your not sure
If you want to know anything else then ask
Sony Xperia S was my first android
Had a nokia brick before (3310)/N95)
Envious_Data said:
Download flashtool (xda fileserver)
You can use that to unlock your bootloader
Click to expand...
Click to collapse
Thanks.
Before unlocking the bootloader , I'd like to backup everything with CWM or Xrecovery or nandroid ,
I tried installing CWM but it said my phone was not supported, so I gues I'm on the wrong place, so could you point to the right CWM?
Also, CWM I think recovers only the ROM and the kernel but no system applications, any app to do that and save everything to my PC?
xperiasl said:
Thanks.
Before unlocking the bootloader , I'd like to backup everything with CWM or Xrecovery or nandroid ,
I tried installing CWM but it said my phone was not supported, so I gues I'm on the wrong place, so could you point to the right CWM?
Also, CWM I think recovers only the ROM and the kernel but no system applications, any app to do that and save everything to my PC?
Click to expand...
Click to collapse
for locked bootloaders recovery try this......http://forum.xda-developers.com/showthread.php?t=2308493.....
after that go into recovery and make a nandroid backup of ur fon.....this will create a backup image of ur fon including rom,kernel,system applications.....them u can save it on ur pc....
mohit378 said:
for locked bootloaders recovery try this......http://forum.xda-developers.com/showthread.php?t=2308493.....
after that go into recovery and make a nandroid backup of ur fon.....this will create a backup image of ur fon including rom,kernel,system applications.....them u can save it on ur pc....
Click to expand...
Click to collapse
Thanks,
on the post it says "rooted STOCK JB ROM .200 with busybox installed"
the only thing is that I donwloaded the official .201 , is there any CWM version for locked bootloaders for that?
xperiasl said:
Thanks,
on the post it says "rooted STOCK JB ROM .200 with busybox installed"
the only thing is that I donwloaded the official .201 , is there any CWM version for locked bootloaders for that?
Click to expand...
Click to collapse
chk out this for XPERIA SL...http://forum.xda-developers.com/showthread.php?t=2245327....
mohit378 said:
chk out this for XPERIA SL...http://forum.xda-developers.com/showthread.php?t=2245327....
Click to expand...
Click to collapse
As you suggested DRW Backup tool I will probably go ahead and unlock the bootloader, the only thing is now that I'm stuck at the backup point,
Before flashing the ROM or any kernel they say "backup", and it's used CWM or other tools, and when you go to install CWM they say backup first before installing...
Am I missing something here?
It's like a loop but no solution on how to backup what it's currently installing before putting any CWM or flashing a kernel...
How did you get out of this?
hey mate first of all backup ur TA partition....then unlock ur bootloaders.....then u can flash any custom kernel with CWM recovery......from recovery u can flash any custom rom or mod .zip file.....
UNLOCKING ur bootloaders voids ur warranty so always make a TA backup before unlocking.....u can search various thread for root,unlocking bootloaders,flashing custom kernel,custom roms within the thread.....
Hope this helps.....
mohit378 said:
hey mate first of all backup ur TA partition....then unlock ur bootloaders.....then u can flash any custom kernel with CWM recovery......from recovery u can flash any custom rom or mod .zip file.....
UNLOCKING ur bootloaders voids ur warranty so always make a TA backup before unlocking.....u can search various thread for root,unlocking bootloaders,flashing custom kernel,custom roms within the thread.....
Hope this helps.....
Click to expand...
Click to collapse
Yep, thanks that's all clear, what I wanted to know is how to backup everything before installing any custome kernel/ROM or Recovery tool (CWM, Xrecovery, etc)..
Got it,
http://forum.xda-developers.com/showthread.php?t=2075736
Basically we need SUS, we update and get the files, than we decrypt and get a perfect image of the system + we backup with PC Companion + We backup the TA partitions with TA-backup and we are ready to go
Hi All
When I bought my XM the fw version was .17.
Before unlock booltloader i was made a backup on TA partition.Then i was made ftf file with my stock firmware but yesterday i lost it
My Q is ,if i flash another firmware version .17 ,then can i restore the TA partition and relock BL again,or this can be make only for FW from who i'm bakced up TA partition?
I may be wrong, but you can relock your bootloader in any firmware, but if isn't the same version from when you did the backup then your phone will stuck in a bootloop after relocking, but if this happens, just use Sony Update Service to restore the correct firmware and get the phone working again after relocking...
Mhm only must be on stock kernel,thats right?No matter the fw version(.17 or .8)?
Spellbound_91 said:
Mhm only must be on stock kernel,thats right?No matter the fw version(.17 or .8)?
Click to expand...
Click to collapse
Yes, I think
Today I successfully restored TA partition and relock BL without bootloop Thank you mbc07 You have BIG Thanks from me! :good:
Hi guys... i need root mi ZL whit firmware 10.4.1.B.0.101 but not as... i need help
Sorry for my bad bad english :crying:
You have two options
1. unlock your bootloader and flash root(warranty, DRM keys lost)
2. downgrade to 4.2.2 firmware
backup TA partition then flash a 4.3 pre-rooted stock rom
lastly restore TA partition(must be stock kernel)
stock rooted phone with warranty and DRM keys
If you don't care about the warranty, I'll suggest just go with option 1, since option 2 might be time consuming.
Option 2 is always better. Who knows when your phone is going to break.
GoHelll said:
Hi guys... i need root mi ZL whit firmware 10.4.1.B.0.101 but not as... i need help
Sorry for my bad bad english :crying:
Click to expand...
Click to collapse
you will need to downgrade to 4.2.2 firmware,root it,install custom recovery then flash a pre-rooted 4.3 rom
adam1liukuro said:
You have two options
1. unlock your bootloader and flash root(warranty, DRM keys lost)
2. downgrade to 4.2.2 firmware
backup TA partition then flash a 4.3 pre-rooted stock rom
lastly restore TA partition(must be stock kernel)
stock rooted phone with warranty and DRM keys
If you don't care about the warranty, I'll suggest just go with option 1, since option 2 might be time consuming.
Option 2 is always better. Who knows when your phone is going to break.
Click to expand...
Click to collapse
what is TA partition AND HOW TO BACKUP TA PARTITION ???????????????/
rameshkotibani said:
what is TA partition AND HOW TO BACKUP TA PARTITION ???????????????/
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2292598
adam1liukuro said:
You have two options
1. unlock your bootloader and flash root(warranty, DRM keys lost)
2. downgrade to 4.2.2 firmware
backup TA partition then flash a 4.3 pre-rooted stock rom
lastly restore TA partition(must be stock kernel)
stock rooted phone with warranty and DRM keys
If you don't care about the warranty, I'll suggest just go with option 1, since option 2 might be time consuming.
Option 2 is always better. Who knows when your phone is going to break.
Click to expand...
Click to collapse
Ben Ling said:
you will need to downgrade to 4.2.2 firmware,root it,install custom recovery then flash a pre-rooted 4.3 rom
Click to expand...
Click to collapse
Not the OP, but am trying to figure out how to do this. All the root threads are a year old, so I want to make sure I have my facts straight before messing anything up. I have a C6506, US Generic but I don't want to lose my DRM keys or Warranty for resale reasons, so am trying to do this the "locked bootloader" way.
1) Downgrade to 4.2.2 firmware. Do I do this with Flashtool? This doesn't require unlocking the bootloader?
2) Root it .. Doomlord method? The Flashtool website says it can "root", too, but it offers no details on which method. What's the best way to go?
3) Install custom recovery. Which one? I see Nut's thread all talk about a dual recovery, but is that necessary? Can I install just one?
4) Is there a pre-rooted 101 for the C6506 US Generic? I can't seem to find one...
deleted (doesn't work with .101)
CokeJunkee said:
If you're on .67 or .101 firmware, just flash the .423 kernel via Flashtool.
Because it is a Sony stock kernel, you do not need to unlock the bootloader for this step.
When flashing is done, close Flashtool and reboot your phone.
Enable 'unknown sources' (found in security settings) and 'usb debugging' (found in developer options).
Now use Doomlord's method to root.
When rooting is done, it's time to install a recovery to your device.
If your're going to use a custom rom based on Sonys stock fw (like ExistenZ and RomAur), I strongly recommend using [NUT]'s dualrecovery.
AOSP roms (CyanogenMod, P.A.C., Omni, etc.) bring their own cwm recovery.
After root and recovery, turn off the phone and flash either .67 or .101 kernel, corresponding to your firmware.
Now it's time to backup the TA partition.
Click to expand...
Click to collapse
This is extremely helpful - thank you for providing links. I am wondering why this is so different from the method laid out here:
http://forum.xda-developers.com/showpost.php?p=51612704&postcount=12&nocache=1
Seems like your version is much easier, so I wonder why someone would go through all that trouble for the same result...
Also, won't I lose root once I flash the .101 kernel? Do I get it back using recovery?
Also also: the kernels linked above are for C6503 and C6502. Can I use the full FTF files for C6506 and just deselect flashing everything expect Kernel? It looks to be the same files, except that rpm.sin is included in the full files and not in the kernel FTFs.
when i flash a .423 kernel i got bootloops, am i doing something wrong?
after flashing back the .101 it boots normal
Installation Steps (Warranty can be restored whenever you wish)
-------------------------
Before starting your rom flashing journey it is always better to have Flashtool (latest -by androxyde) installed in your PC and your stock rom handy ; incase of any mishappenings.
Type *#*#7378423#*#* in your phone and see if your bootloader status is unlockable under service-->Configuration. Procede with below steps, only if your device is unlockable.
It is important that you follow the steps in order
1) First step for installing a custom rom over a mobile with stock rom is to backup the existing state of bootloader .Usually warranty will get void if any modification is done to bootloader. The below tool ensures that it takes the backup of existing state of bootloader when device is under warranty.
Goto
Backup TA for Sony Xperia (This tool helps you to have a )
http://forum.xda-developers.com/showthread.php?t=2292598.
Download the tool.This tool will backup your DRM Securtiy keys . Successful backup can only be taken after the existing stock rom is rooted (Use towelroot application if your device is not already rooted) .Root it first then follow the process given in above link .
Once this is over , u will have a backup of the existing state of bootloader/TA partition (If you later wish to move back to stock rom from custom rom use the same tool to restore the backup you have just created.This means you will get your Warranty back);
2) Goto this website , follow the steps and get your unlock code via e mail.
Use fastboot mode to unlock your bootloader (Make sure that you have already backuped your existing DRM keys-Step 1).Follow it fully to unlock your bootloader
http://unlockbootloader.sonymobile.com/unlock/step1
3)Download any custom rom zips with recovery, for your mobile from xda developers forum and have fun.Extract boot.img using winrar or winzip .
Flash boot.img via fastboot mode
fastboot flash boot boot.img
fastboot reboot
4)As the device reboots, when you see your LED glow press volume up or down. It will take you to CWM Recovery or TWRP recovery based on the rom that you have downloaded.
5)Just install the custom rom(*.zip ) from within the recovery.
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
AndreIrawan97 said:
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
Click to expand...
Click to collapse
yes.
AndreIrawan97 said:
What if that i already have the custom recovery?
So, just wipe data, dalvik, and cache, then flash the zip?
That's it?
Click to expand...
Click to collapse
Absolutely right. But before installing an custom rom in the first place i hope you have already backed up your DRM keys for warranty purpose(as mentioned in the guide) since if you unlock your bootloader without backing up your DRM keys, DRM keys might be lost forever .
gokukaushik said:
Absolutely right. But before installing an custom rom in the first place i hope you have already backed up your DRM keys for warranty purpose(as mentioned in the guide) since if you unlock your bootloader without backing up your DRM keys, DRM keys might be lost forever .
Click to expand...
Click to collapse
Can i backup my app on stock rom then restore it to a custom rom?
AndreIrawan97 said:
Can i backup my app on stock rom then restore it to a custom rom?
Click to expand...
Click to collapse
Sure. Easiest way to do it is by using an app called, 'Titanium Backup Pro'.But you have to root your stock rom first for this application to run(Use towelroot if you are yet to root).Except for sony proprietary apps like walkman,Album,etc (will run only on stock rom as they use sony developed system libraries/API'S) other apps will get restored/run fine on a custom rom.
gokukaushik said:
Sure. Easiest way to do it is by using an app called, 'Titanium Backup Pro'.But you have to root your stock rom first for this application to run(Use towelroot if you are yet to root).Except for sony proprietary apps like walkman,Album,etc (will run only on stock rom as they use sony developed system libraries/API'S) other apps will get restored/run fine on a custom rom.
Click to expand...
Click to collapse
And one think left.... How to know if my bootloader is unlocked or not?
AndreIrawan97 said:
And one think left.... How to know if my bootloader is unlocked or not?
Click to expand...
Click to collapse
its in the OP....on the phones dialpad, type: *#*#7378423#*#*
then look in > service > configuration
it should show the status as "bootloader locked", "bootloader unlocked", "bootloader unlockable" or "not unlockable" (sorry wording may not be exact, but you'll get the idea)
foomanjackel said:
its in the OP....on the phones dialpad, type: *#*#7378423#*#*
then look in > service > configuration
it should show the status as "bootloader locked", "bootloader unlocked", "bootloader unlockable" or "not unlockable" (sorry wording may not be exact, but you'll get the idea)
Click to expand...
Click to collapse
no.. i mean, how to know if my bootloader is already unlocked or not?
Anyway, what happened if i flash it without unlocking it first?
Sorry, did you type that in the phone and check the status? That's where it will tell you if its already unlocked or if its even unlockable at all.
Do not try to install a custom ROM on your phone if it is not unlocked! Your phone will not boot.
AndreIrawan97 said:
no.. i mean, how to know if my bootloader is already unlocked or not?
Anyway, what happened if i flash it without unlocking it first?
Click to expand...
Click to collapse
Thanks to @ foomanjackel for answering your questions.Regarding your 2nd question, 'Experience is the mother of invention'.Why don't you try and see what happens...just kidding.Couldn't resist it. Practically speaking of you install a custom rom with an custom kernel on a locked bootloader you will hard brick it.It will not boot and chances are that you might not be able to goto flashmode or fastbootmode anymoreto repair it.Reason this happens is that both your recovery and bootloader resides in the same partition in your mobile.If you try to install custom kernel on a locked bootloader in every probability, it not only corrupts your existing stocks kernel but also might corrupt your recovery leaving u helpless.
Theoretically, You should be able to install any custom-stock based rom on a locked bootloader (which runs exactly on ur stock kernel).In other words a custom rom which doesn't come up with a custom kernel but based on your existing stock kernel should be able to run on a locked bootloader.But my advice is you do not risk it.
foomanjackel said:
Sorry, did you type that in the phone and check the status? That's where it will tell you if its already unlocked or if its even unlockable at all.
Do not try to install a custom ROM on your phone if it is not unlocked! Your phone will not boot.
Click to expand...
Click to collapse
Yes it said boot loader unlockable : yes
And couple months ago, i want to unlock my bootloader, but i dont know what went wrong, but my xperia got boot loop...
So is that bcs i already unlocked it? Or... ?
AndreIrawan97 said:
Yes it said boot loader unlockable : yes
And couple months ago, i want to unlock my bootloader, but i dont know what went wrong, but my xperia got boot loop...
So is that bcs i already unlocked it? Or... ?
Click to expand...
Click to collapse
If you get this message "Bootloader unlockable: yes" then your bootloader is still locked.
gokukaushik said:
If you get this message "Bootloader unlockable: yes" then your bootloader is still locked.
Click to expand...
Click to collapse
Is unlocking bootloader can make me lose my root?
AndreIrawan97 said:
Is unlocking bootloader can make me lose my root?
Click to expand...
Click to collapse
I suppose it won't.I don't see the reason why u want to unlock the bootloader unless you want to install a new custom rom.
Hi guys, my nexus 5x is locked bootloader and i was running the last Android 7.1.1 stock. I decided to try the last CM14.1, entered TWRP and made a backup. I installed CM14.1 and gapps and my phone was in a bootloop. I decided then to restore my backup, restoration was successful but when i pressed reboot system, I was in a bootloop, at Google dots logo. I flashed successfully the DP 7.1.1 image but couldn't get out the bootloop. Flashed the last stock 7.0 image with the same result. I can access fastboot and recovery but until now couldnt get my phone to start and get out this bootloop. What can I do? Is it a hardware issue as i read somewhere on XDA?
Any help and advices please, I live in a country with no Google service center and I am desperate.
If flashing full stock (all not only system) and full wiping doesn't solve your issue sounds like the infamous hardware problem.
Make sure you didn't restore efs backup taken with twrp 3.0.2.1 otherwise look for efs fix.
MaxOptim said:
If flashing full stock (all not only system) and full wiping doesn't solve your issue sounds like the infamous hardware problem.
Make sure you didn't restore efs backup taken with twrp 3.0.2.1 otherwise look for efs fix.
Click to expand...
Click to collapse
And how to perform was fix when I can't access Android, fastboot is limited due to locked bootloader and recovery is stock? What's the procedure?
ybregeon2016 said:
And how to perform was fix when I can't access Android, fastboot is limited due to locked bootloader and recovery is stock? What's the procedure?
Click to expand...
Click to collapse
You can't.
If you have a locked bootloader all you can do is to flash a full ota package from stock recovery and to wipe/factory reset if it let you to.
If it doesn't fix your issue unfortunately you have to RMA the phone.
MaxOptim said:
You can't.
If you have a locked bootloader all you can do is to flash a full ota package from stock recovery and to wipe/factory reset if it let you to.
If it doesn't fix your issue unfortunately you have to RMA the phone.
Click to expand...
Click to collapse
Forgive my ignorance but how can I do this?
ybregeon2016 said:
Forgive my ignorance but how can I do this?
Click to expand...
Click to collapse
follow instructions here: https://developers.google.com/android/ota
MaxOptim said:
follow instructions here: https://developers.google.com/android/ota
Click to expand...
Click to collapse
Actually I was talking about the RMA, I bought it in Egypt.
ybregeon2016 said:
Actually I was talking about the RMA, I bought it in Egypt.
Click to expand...
Click to collapse
ah, no idea then, sorry.
ybregeon2016 said:
Hi guys, my nexus 5x is unlocked bootloader and i was running the last Android 7.1.1 stock. I decided to try the last CM14.1, entered TWRP and made a backup. I installed CM14.1 and gapps and my phone was in a bootloop. I decided then to restore my backup, restoration was successful but when i pressed reboot system, I was in a bootloop, at Google dots logo. I flashed successfully the DP 7.1.1 image but couldn't get out the bootloop. Flashed the last stock 7.0 image with the same result. I can access fastboot and recovery but until now couldnt get my phone to start and get out this bootloop. What can I do? Is it a hardware issue as i read somewhere on XDA?
Any help and advices please, I live in a country with no Google service center and I am desperate.
Click to expand...
Click to collapse
when you restored from your backup, was EFS checked when you restored? if it was then you have an EFS file corruption. I personally wrote up a solution to this, here's a link: http://forum.xda-developers.com/nexus-5x/help/efs-file-corruption-fix-t3502473
make sure you follow the instructions, this has to be done with the Nexus root toolkit command window open with your phone in TWRP recovery and hooked up to your computer. if you try this, let me know how it goes and if you need help.
edit: your bootloader is unlocked which I know for sure, you can still boot into bootloader and re-root and install twrp back onto your phone even though you're boot looping. I know because the same thing happened to me and was still able to flash a custom recovery.
Yeah it is the EFS problem related to buggy versions of TWRP. Just use dd to to clear the EFS partitions - the chipset will luckily autogenerate the EFS contents on first boot.
Next time dont restore EFS partition from your backups and everything will be perfectly okay.
Makes me wonder how many hundreds of people have sent the device to RMA because of this issue.
dominoeflux said:
when you restored from your backup, was EFS checked when you restored? if it was then you have an EFS file corruption. I personally wrote up a solution to this, here's a link: http://forum.xda-developers.com/nexus-5x/help/efs-file-corruption-fix-t3502473
make sure you follow the instructions, this has to be done with the Nexus root toolkit command window open with your phone in TWRP recovery and hooked up to your computer. if you try this, let me know how it goes and if you need help.
edit: your bootloader is unlocked which I know for sure, you can still boot into bootloader and re-root and install twrp back onto your phone even though you're boot looping. I know because the same thing happened to me and was still able to flash a custom recovery.
Click to expand...
Click to collapse
Man i remind you that my bootloader is locked and for this reason can't start twrp.
ybregeon2016 said:
Man i remind you that my bootloader is locked and for this reason can't start twrp.
Click to expand...
Click to collapse
In your original post you said it was unlocked....and how can it be locked when you don't mention locking it flashing it back stock?
dominoeflux said:
In your original post you said it was unlocked....and how can it be locked when you don't mention locking it flashing it back stock?
Click to expand...
Click to collapse
Bad typing, my bootloader is locked. It was unlocked then after flashing a firmware with LGUP it was locked again.
ybregeon2016 said:
Bad typing, my bootloader is locked. It was unlocked then after flashing a firmware with LGUP it was locked again.
Click to expand...
Click to collapse
Oohhh OK I got you...have you been able to look in doing a tot recovery with Odin? I'm almost home so I'll see what I can do to help u out
Edit: have u tried unlocking it again in bootloader?
LGUP install a firmware as a TOT, it was a TOT file. Isnt Odin for Samsung phones?
tauio111 said:
Yeah it is the EFS problem related to buggy versions of TWRP. Just use dd to to clear the EFS partitions - the chipset will luckily autogenerate the EFS contents on first boot.
Next time dont restore EFS partition from your backups and everything will be perfectly okay.
Makes me wonder how many hundreds of people have sent the device to RMA because of this issue.
Click to expand...
Click to collapse
Forgive me but what is DD?
I have a locked bootloader with stock recovery. What is this DD you are talking about? Will it be successful with this bootloader and stock?
ybregeon2016 said:
Forgive me but what is DD?
I have a locked bootloader with stock recovery. What is this DD you are talking about? Will it be successful with this bootloader and stock?
Click to expand...
Click to collapse
try this command: fastboot flashing unlock when in bootloader mode.
If it works flash TWRP and do the guide which was mentioned before my previous post.
tauio111 said:
try this command: fastboot flashing unlock when in bootloader mode.
If it works flash TWRP and do the guide which was mentioned before my previous post.
Click to expand...
Click to collapse
This command is to unlock the bootloader right? But I guess if the OEM unlock is not selected in developer options within Android, it won't work, or correct me if I am wrong.
ybregeon2016 said:
This command is to unlock the bootloader right? But I guess if the OEM unlock is not selected in developer options within Android, it won't work, or correct me if I am wrong.
Click to expand...
Click to collapse
You can try. I heard somewhere that it may work if you apply it before booting the android the first time (technically your android cant boot at the moment).
tauio111 said:
You can try. I heard somewhere that it may work if you apply it before booting the android the first time (technically your android cant boot at the moment).
Click to expand...
Click to collapse
Failed (remote: OEM unlock is not allowed)