Error in fastboot "phone is already rooted" - Xperia Z1 Q&A, Help & Troubleshooting

I get this error when trying to unlock my bootloader. I have c6903 and rooted it before moving up to 4.3. I then unlocked my bootloader on 4.3 (or I think I did). However, when I try to install supersu it says my phone is not rooted. However, when I try to unlock my bootloader I get the message "error phone is already rooted". I attached a screenshot below. Does this mean my phone bootloader is unlocked and my phone is properly rooted to then install a recovery? I want to ultimately install ihackers rom but want to be sure I have everything ready for a proper install.
Thanks

antmantucan said:
I get this error when trying to unlock my bootloader. I have c6903 and rooted it before moving up to 4.3. I then unlocked my bootloader on 4.3 (or I think I did). However, when I try to install supersu it says my phone is not rooted. However, when I try to unlock my bootloader I get the message "error phone is already rooted". I attached a screenshot below. Does this mean my phone bootloader is unlocked and my phone is properly rooted to then install a recovery? I want to ultimately install ihackers rom but want to be sure I have everything ready for a proper install.
Thanks
Click to expand...
Click to collapse
I'm not sure why it says "rooted" in fastboot, but the commands you're sending are to unlock the bootloader, not root the phone. Your bootloader must already be unlocked, per the error you see. I hope you backed up your TA partition before BL unlocking.
Check out the Root on 4.3 dev discussion for more details on a 4.3 root (which is only possible with an unlocked BL currently).

Just try to use Flashtool to unlock the bootloader.

Related

[Q] Re-lock after root, and keep root?

Hi all - I've read that in order to root it is necessary to unlock the bootloader and then root, but I've also read some threads where the bootloader can be re-locked. My question is whether I can still be rooted then, maybe with the use of OTA rootkeeper or some such. I haven't rooted yet (my prime uses would initially be for adblocking and wifi tether), but I'm thinking I will soon. However, I'd really like to be able to hold out until the 4.2/4.3 OTA comes out before flashing ROMS (need stable bluetooth in a bunch of areas, and want to wait and see if there are problems with that update in stock).
So, any way to be stock, re-locked and rooted?
Can't you just root using the normal method then flash stock recovery to remove "*** Tampered***" and then re-lock with fastboot? You're system partition wont be stock obviously because it will have the su binary. You're boot loader will say "*** Relocked ***" though. I'm thinking it might be possible to remove "*** Relocked ***" using JTAG if someone can find the area in memory where the history of unlocking is stored.
Unlock bootloader, flash custom recovery, use Aroma File manager to copy su to /system/bin and set permissions, reflash stock recovery, relock bootloader, install Superuser from play store. This should work but I haven't tried it.

Upgrading rooted stock ROM to new stock OTA

My gf has HTC One with latest stock T-Mobile US ROM, unlocked bootloader, is rooted, and has TWRP. T-Mobile is about to release an OTA (source), and I am wondering how to go about installing it. AFAIK, stock recovery is required, AND the bootloader needs to be locked again. If this is the case, re-rooting will require unlocking the bootloader and thus doing factory reset? Is there a simpler way to do this?
Stock recovery and preinstalled apps needed
Bootloader locked not needed
There are many posts written about this read them first
c00ller said:
My gf has HTC One with latest stock T-Mobile US ROM, unlocked bootloader, is rooted, and has TWRP. T-Mobile is about to release an OTA (source), and I am wondering how to go about installing it. AFAIK, stock recovery is required, AND the bootloader needs to be locked again. If this is the case, re-rooting will require unlocking the bootloader and thus doing factory reset? Is there a simpler way to do this?
Click to expand...
Click to collapse
relock your bootloader
fastboot oem lock
and run this RUU
http://www.htc.com/us/support/htc-one-t-mobile/news/
instructions / Download are at the bottom of the page
Everything on the Phone will be lost ..Backup to your PC and google first !
yatindroid said:
Stock recovery and preinstalled apps needed
Bootloader locked not needed
Click to expand...
Click to collapse
FYI I have actually tried running an RUU on unlocked bootloader with stock recovery, kept failing until I relocked the bootloader...

Locked Bootloader

My Bootloader is not unlockable. Bootloader unlock allowed = no. As far as I know I can't change to yes and there is no aosp roms on locked Bootloader. So my question is what can I do with a locked Bootloader? Also if I root on locked Bootloader can I still receive updates from Sony via ota?
Christopher.J.M said:
My Bootloader is not unlockable. Bootloader unlock allowed = no. As far as I know I can't change to yes and there is no aosp roms on locked Bootloader. So my question is what can I do with a locked Bootloader? Also if I root on locked Bootloader can I still receive updates from Sony via ota?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2440565
Looking there will help you, there is no way to unlock the bootloader if it says 'no' you can still root your phone by downgrading to kitkat 108 and using the EasyRootTool to root your phone and then Nuts dual recovery installer. You will still be able to get OTA updates however they will remove root, you would need a pre-rooted firmware to keep root.
Okay so if install the previous rooted. 242 ftf I'll have root even after otas? And say I installed a 4k mod or stereo speaker mod, could I still receive ota?
Any OTA update will remove root meaning it will not exist on your phone. Any update you use will need to be pre-rooted in order to keep root on your phone.
Sent from my C6903 using XDA Free mobile app
demon148 said:
http://forum.xda-developers.com/showthread.php?t=2440565
Looking there will help you, there is no way to unlock the bootloader if it says 'no' you can still root your phone by downgrading to kitkat 108 and using the EasyRootTool to root your phone and then Nuts dual recovery installer. You will still be able to get OTA updates however they will remove root, you would need a pre-rooted firmware to keep root.
Click to expand...
Click to collapse
That's from 2 years ago and still no way to unblock bootloader till today?
I think I gonna sell xperia to buy galaxy.
I give up.

ok this might be a bit too many questions

hi all,
i have recently aquired Sony Xperie SP C5303, and i now i'm lost since i never had android phone. all i used was various emulators for PC and stuff...
but now there is many stuff to be noisy about. and probably this has been answered many times but please, do me a favor and pretty please answer again if possible.
1. Phone is SIM locked (i'm working on getting unlock code from provider, since i have right to do so, after contract expires..which has)..but is there any way to unlock phone before i get the code? i'm wondering how technitians in local services do that. they ask about 30€ for unlocking device, and i doubt they have acces to provider's unlock code.
2. I tried to flash phone with custom firmware (using flashtool) but it failed on me even though i used right firmware, and phone bricked. however i managed to recover phone with sony PC companion and it now works same as when i got it. Firmware 12. 1. A. 1. 205, android version 4.3. i have no idea why it failed on me during flash. can it be cause phone is no rooted, and have no root support? (whill connect to this on 3.) do i have to root phone before flashing? i would really like to have root access.
3. i was unable to do hard reset of phone with power + volume down button. or any other trick didn't work. i couldn't not enter android recovery options. i followed instruction on how to root my phone on
Code:
developersonymobile(dotcom)/unlockbootloader/unlock-yourboot-loader/
. i entered
Code:
*#*#7378423#*#*
to check if my device is unlockable, it says boot loader unlock allowed : No. Does this mean i won't be able to have root acces on my phone? or i still have to learn difference between terms or what they mean.
also is that really true what they warn about that there is no turning back after i root phone and all. won't just hard reseting phone or repair device with all defaults troubh pc sofware bring back and vipe everything back? how will than service know if phone has been rooted ever?
thank you in advance for all your answers.
"Bootloader unlock allowed : No" <= this means you can't use UBL ROMs or custom kernels.
You can always root and use LBL ROMs though. There are plenty of LBL ROMs out there to try.
You can always un-root your phone. And you can always repair your phone's OS by flashing the Stock ROM via flashtool. Doing so would remove root access as well, no one would know you ever rooted.
Root using towelroot.
Get recoveries by Dssmex.
Then flash LBL ROMs, mods, ports etc. that you want.
and Be careful when you flash anything,
Read the threads, don't try to flash any UBL ROM as it may brick your device.
First thank you for helping.
UBL is unlocked boot loader right? and L is locked. sorry to doubt your last tip but i need to double check was it typo or...? you said don't flash UBL. isnt that supposed to say don't flash LBL. or i have totally got this wrong. maybe i don't know what what's LBL and UBL.
but just to be safe? where can i find stock ROM? i tried official site, they don't let me download firmware manualy. only trough sony PC companion automatic repiar. Which is ok too i guess. else i can download sony flash tool callsed emma, but i cannot get login info since they need about 7 days to approve my registration.
so my first step is to root my phone. ok i will do that. i might do it manualy, not trough application though.
what about sim lock? after i root phone, is there sim unlock command or what? and do i need code...how do you unlock your phone to be able to use other SIM.
IrethTassartir said:
First thank you for helping.
UBL is unlocked boot loader right? and L is locked. sorry to doubt your last tip but i need to double check was it typo or...? you said don't flash UBL. isnt that supposed to say don't flash LBL. or i have totally got this wrong. maybe i don't know what what's LBL and UBL.
but just to be safe? where can i find stock ROM? i tried official site, they don't let me download firmware manualy. only trough sony PC companion automatic repiar. Which is ok too i guess. else i can download sony flash tool callsed emma, but i cannot get login info since they need about 7 days to approve my registration.
so my first step is to root my phone. ok i will do that. i might do it manualy, not trough application though.
what about sim lock? after i root phone, is there sim unlock command or what? and do i need code...how do you unlock your phone to be able to use other SIM.
Click to expand...
Click to collapse
Welcome.
And no, I did mean "Don't flash UBL ROMs"
UBL = Unlocked Bootloader
LBL = Locked Bootloader
The ROMs that are made for Unlocked Bootloaders are UBL ROMs.
Unlocked Bootloader users can use both LBL and UBL ROMs.
But since your device's Bootloader cannot be unlocked, you can only use LBL ROMs.
It's written in almost all ROM threads if it's a LBL or an UBL ROM. But if it isn't specified, then be sure it's UBL. (Like all 5.1 ROMs are for UBL)
Download stock ftf from here.
Use Flashtool v0.9.18.5
and I can't say about the last one as I don't use a carrier locked device.
Try and see what happens.
thank you again for reply. you've been very helpfull with all info.
Zenith said:
Download stock ftf from (link deleted, i'm not allowed to post it)
Click to expand...
Click to collapse
that is exactly from where i got it the first time. also same flashtool version. after i tried to use that firmware, my phone bricked.
even though it's stock ROM, probably cause my phone had locked bootloader (i finally found article on what is bootloader and i got it now).
but after this, i have used sony software to recover my phone and it works again.
now important stuff. so my device's bootloader cannot be unlocked. does that 100% means that i'm stuck with locked bootloader and no way of getting it unlocked.
even on sony offical site there is process tutorial how to unlock bootloader, and it says "if you device isn't listed, than you cannot unlock bootloader".
but it IS listed and I AM able to get the unlock code for it. now i'm confused. can i still do the process showed?
another confusing thing is where i read about bootloader, it says that for to be able to root i need to flash custom ROM, and to do that i need to unlock bootloader.
but you have provided link for "towelroot" which was able to get my phone root acces. is it different from rooting my phone manualy after unlocking bootloader. how did it manage to root it anyway? and with towelroot it still has bootloader locked. actually it says "boot loader unlock allowed: NO!". now begs the question does that mean, not allowed, but i can be unobidient one and still unlock it without clearance, or does it mean .."you're stuck with locked bootloader. deal with it!. if you try to unlock bootloader your phone will brick"!.
i think after i get answer to this, than it would be my last question for this topic
also again, thank you for answering all previous questions...and this one, hopefully
IrethTassartir said:
thank you again for reply. you've been very helpfull with all info.
that is exactly from where i got it the first time. also same flashtool version. after i tried to use that firmware, my phone bricked.
even though it's stock ROM, probably cause my phone had locked bootloader (i finally found article on what is bootloader and i got it now).
but after this, i have used sony software to recover my phone and it works again.
now important stuff. so my device's bootloader cannot be unlocked. does that 100% means that i'm stuck with locked bootloader and no way of getting it unlocked.
even on sony offical site there is process tutorial how to unlock bootloader, and it says "if you device isn't listed, than you cannot unlock bootloader".
but it IS listed and I AM able to get the unlock code for it. now i'm confused. can i still do the process showed?
another confusing thing is where i read about bootloader, it says that for to be able to root i need to flash custom ROM, and to do that i need to unlock bootloader.
but you have provided link for "towelroot" which was able to get my phone root acces. is it different from rooting my phone manualy after unlocking bootloader. how did it manage to root it anyway? and with towelroot it still has bootloader locked. actually it says "boot loader unlock allowed: NO!". now begs the question does that mean, not allowed, but i can be unobidient one and still unlock it without clearance, or does it mean .."you're stuck with locked bootloader. deal with it!. if you try to unlock bootloader your phone will brick"!.
i think after i get answer to this, than it would be my last question for this topic
also again, thank you for answering all previous questions...and this one, hopefully
Click to expand...
Click to collapse
Did you install the drivers properly (Flashmode, fastboot, viskan common) ?
You need to disable driver signature verification before installing drivers if you're on Win 8/8.1/probably 10 too.
And flashtool should work perfectly in both LBL and UBL phones.
You said your service menu says, "Bootloader unlock allowed : No"
Even if you get a BL unlock code you can't unlock it coz it's not allowed.
And by messing with the bootloader or trying to flash UBL ROMs may permanently brick your phone.
And different phones have different rooting processses. Rooting our SP is easier than most other phones by TowelRoot.
And "Bootloader unlock allowed : No" is more like a "You're stuck with locked bootloader. deal with it!. If you try to unlock bootloader your phone will brick!".
And you can still use a lot of LBL ROMs, from 4.3 to 5.0. So don't worry Lol.
Welcome
i did install fastboot and drivers and everything acording to tutorial. i payed attention on par "pay attention to this. be sure to install drivers correctly, lol"
i'm using win 7 64bit sp1. i have disabled UAC. i'm alaways running as admin. as for flashtool. software works perfectly..it just fail flashing.
it goes to part where i need to unplug phone and plug in holding volume something button..it says on poppup. than i plug in phone and it starts flasshing..it goes up to 40% something percent. if finish few files but when it comes to system.(something) i forgot extension, it says failed. flasshing stopped. than after that i can't turn on phone again.
i couldn't untill i recovered via Sony PC companion. i did try to flash it several times with several roms. i think it's cause my provider messed with bootloader. they locked it together with sim. on official sony site. it says:
"Note! Even if your device is listed here, certain releases of the device model may not be supported due to operator restrictions. Please select your device on the Start tab to check if your particular device can be unlocked."
anyway, i even got my provider's firmware trough flashtool download system, got my provider's name and exact same firmware that was installed. it still failed on same file.
than after i recovered i didn't try to flash anymore. i don't even know what's the point, if i can have root access without it.
i'm not so keen on installing other android version, unless this one gives me problem. for that i need to unlcok phone first to be able to even use it or test it so far it's has been t urned off most of the time
IrethTassartir said:
i did install fastboot and drivers and everything acording to tutorial. i payed attention on par "pay attention to this. be sure to install drivers correctly, lol"
i'm using win 7 64bit sp1. i have disabled UAC. i'm alaways running as admin. as for flashtool. software works perfectly..it just fail flashing.
it goes to part where i need to unplug phone and plug in holding volume something button..it says on poppup. than i plug in phone and it starts flasshing..it goes up to 40% something percent. if finish few files but when it comes to system.(something) i forgot extension, it says failed. flasshing stopped. than after that i can't turn on phone again.
i couldn't untill i recovered via Sony PC companion. i did try to flash it several times with several roms. i think it's cause my provider messed with bootloader. they locked it together with sim. on official sony site. it says:
"Note! Even if your device is listed here, certain releases of the device model may not be supported due to operator restrictions. Please select your device on the Start tab to check if your particular device can be unlocked."
anyway, i even got my provider's firmware trough flashtool download system, got my provider's name and exact same firmware that was installed. it still failed on same file.
than after i recovered i didn't try to flash anymore. i don't even know what's the point, if i can have root access without it.
i'm not so keen on installing other android version, unless this one gives me problem. for that i need to unlcok phone first to be able to even use it or test it so far it's has been t urned off most of the time
Click to expand...
Click to collapse
I see.. I'm not actually sure why Flashtool isn't working.
Anyways some good 4.4.4 LBL ROMs are 'CM11 by Bagyusz', 'Omni-X by NeildownX', PA etc.
Try them if you want.
Zenith said:
I see.. I'm not actually sure why Flashtool isn't working.
Anyways some good 4.4.4 LBL ROMs are 'CM11 by Bagyusz', 'Omni-X by NeildownX', PA etc.
Try them if you want.
Click to expand...
Click to collapse
can i use flashtool to install CM11 by Bagyusz. on CM11 thread, under tutorial it says enter recovery mode..i can't do that. nothing happens when i power up+volume down ..or up..or any other combination. i installed clockwork mod, but i cannot install cwm recovery sincy my device is not listed. if i try to restart phone in recovery mode, nothing happens! it just restarts phone normaly!
IrethTassartir said:
can i use flashtool to install CM11 by Bagyusz. on CM11 thread, under tutorial it says enter recovery mode..i can't do that. nothing happens when i power up+volume down ..or up..or any other combination. i installed clockwork mod, but i cannot install cwm recovery sincy my device is not listed. if i try to restart phone in recovery mode, nothing happens! it just restarts phone normaly!
Click to expand...
Click to collapse
I assume you're now on a rooted stock ROM.
Follow this to get recoveries.
Reboot, when you see the Blue LED burn, press vol down to enter TWRP recovery.
can i use cm-11-20150822-UNOFFICIAL with flashtool so i avoid installing recoveris or CWMP?
flashtool worked for me it just gave me an error during flashing one of the files....that might be cause i didn't know difference between LBL roms and UBL roms. maybe problem was incorrect rom type for my phone.
i tried to install recovery tools. and i had some problems...when i swhitched on phone there was no light showdown,,just red led...and after phone entered safe mode. but not in recovery menu.
i sure have no idea what to do...now everything is so strange.
to be honest i'm considering dropping this whole thig of and use stock rom as it is...
it would be cool if there would be automatic debloat application which will remove all bloatware...
or at least bloatware list of apps i can delete manually, without loosing important function on my phone. than i would not need custom rom!
IrethTassartir said:
can i use cm-11-20150822-UNOFFICIAL with flashtool so i avoid installing recoveris or CWMP?
flashtool worked for me it just gave me an error during flashing one of the files....that might be cause i didn't know difference between LBL roms and UBL roms. maybe problem was incorrect rom type for my phone.
i tried to install recovery tools. and i had some problems...when i swhitched on phone there was no light showdown,,just red led...and after phone entered safe mode. but not in recovery menu.
i sure have no idea what to do...now everything is so strange.
to be honest i'm considering dropping this whole thig of and use stock rom as it is...
it would be cool if there would be automatic debloat application which will remove all bloatware...
or at least bloatware list of apps i can delete manually, without loosing important function on my phone. than i would not need custom rom!
Click to expand...
Click to collapse
If you're on CM11 by Bagyusz, Open Terminal Emulator and enter the following codes,
su
./system/bin/recovery.sh
^ it will give you access to recovery when you see the red LED while booting.
If you decide to go back to stock, you can freeze/remove these apps.
I made the list when I was on stock. Take a backup before removing them just to be safe.
thank you a lot! this has all been so helpful!
IrethTassartir said:
thank you a lot! this has all been so helpful!
Click to expand...
Click to collapse
Welcome

How to go back to stock and relock the Bootloader?

Hello
i have to sell my device so i want to get it to stock again.
My current Setup:
Bootloader Unlocked, Stock Recovery, Rooted with Magisk, Stock ROM 9.0.0.283
What are the Steps to go Back to Stock and wipe everything?
Ive read that if the bootloader relock again it is not able to unlock the second time? Is this correct? I want to get the Unlock Code to the person who buy it but if its real, he cant use the code anymore..
anyway is it possible to do the job with the Stock E-Recovery in the current state of my phone? Without bootloader Relocked? Or is it necessary to relock the bootloader again?
Thank you very much
blackst225 said:
Hello
i have to sell my device so i want to get it to stock again.
My current Setup:
Bootloader Unlocked, Stock Recovery, Rooted with Magisk, Stock ROM 9.0.0.283
What are the Steps to go Back to Stock and wipe everything?
Ive read that if the bootloader relock again it is not able to unlock the second time? Is this correct? I want to get the Unlock Code to the person who buy it but if its real, he cant use the code anymore..
anyway is it possible to do the job with the Stock E-Recovery in the current state of my phone? Without bootloader Relocked? Or is it necessary to relock the bootloader again?
Thank you very much
Click to expand...
Click to collapse
Ask the buyer if they want it locked. Personally it wouldn't be worth my time if it couldn't be unlocked again. Better to check first..
If you want to lock (not relock) bl justdownload your adequate firmware from androidhost.ru and flash fw using Usb-otg method.
You can unlock/lock your bl using unlock code anytime you want (provided you haven't changed your mainboard in the meantime).
forever_lol said:
If you want to lock (not relock) bl justdownload your adequate firmware from androidhost.ru and flash fw using Usb-otg method.
You can unlock/lock your bl using unlock code anytime you want (provided you haven't changed your mainboard in the meantime).
Click to expand...
Click to collapse
Hi is it possible to do the following..
Adb relock bootloader in my current state?
In my opinion the relock of the bootloader restore system to default over the erecovery or is this wrong?
Many thanks
blackst225 said:
Hi is it possible to do the following..
Adb relock bootloader in my current state?
In my opinion the relock of the bootloader restore system to default over the erecovery or is this wrong?
Many thanks
Click to expand...
Click to collapse
I thought you wanted to go back to stock. I've already gave you solution to bring back all the way stock.
I m not sure if it's even possible to re-lock bootloader using fastboot when you're on pie.
Bootloader status re-locked still means your warranty is void.
forever_lol said:
I thought you wanted to go back to stock. I've already gave you solution to bring back all the way stock.
I m not sure if it's even possible to re-lock bootloader using fastboot when you're on pie.
Bootloader status re-locked still means your warranty is void.
Click to expand...
Click to collapse
Hey I've tried this otg method but without success
If I try it with the dload folder option and try to force flash the emui updater throws an error.
Even with the dialer code method.. same..
I'm not able to get it to stock.
I've tried the Huawei suite on PC and phone in fastboot mode..same..massage this phone can't be reset or so..
What can I do next?
Current state, halfway working phone that's boot into os 2 times from 10 reboots.

Categories

Resources