[Q] TWRP won't install on rooted device - Android Q&A, Help & Troubleshooting

I have xperia s (st25a) phone with android 4.0.4.
I already have rooted it (SU installed) and bootloader unlocked. Fastboot reports the correct version "5".
However, when I try to install TWRP, it gives the following error:
>fastboot.exe flash boot stock-6.1.A.0.452-twrp-2.4.0.0.elf
sending 'boot' (8124 KB)...
FAILED (remote: The Device must be rooted first)
Why does TWRP think it's not rooted? I have setup SU to grant every root request too!
Another issue - when I try to enter recovery with stock image, my phone gets stuck on boot with Sony logo and I have to remove battery to shut it down. Any ideas why wouldn't stock recovery work?
Thanks much for your help!

Help!
Any one has any ideas to try?
NovaSupreme said:
I have xperia s (st25a) phone with android 4.0.4.
I already have rooted it (SU installed) and bootloader unlocked. Fastboot reports the correct version "5".
However, when I try to install TWRP, it gives the following error:
>fastboot.exe flash boot stock-6.1.A.0.452-twrp-2.4.0.0.elf
sending 'boot' (8124 KB)...
FAILED (remote: The Device must be rooted first)
Why does TWRP think it's not rooted? I have setup SU to grant every root request too!
Another issue - when I try to enter recovery with stock image, my phone gets stuck on boot with Sony logo and I have to remove battery to shut it down. Any ideas why wouldn't stock recovery work?
Thanks much for your help!
Click to expand...
Click to collapse

You would have more luck in your device respective subforum.
http://forum.xda-developers.com/xperia-s

Related

International Unlocked Atrix - Failed to install CWM recovery

Hi,
I have an unlocked Atrix, and I have successfully performed the following:
1. Rooted the device using SuperOneClick v.2.3.3
2. Installed ROM Manager and installed CWM Recovery
However, I am unable to get into CWM Recovery. I get the following errors, when I try to boot to recovery using the ROM manager:
Code:
Failed to boot 2
Starting RSD mode
I have also attempted to installed the recovery using fastboot method, but also failed to do so. Here are the error messages:
Code:
C:\TEMP\AtrixRecovery>fastboot flash recovery recovery-clockwork-touch-5.8.1.8-olympus.img
sending 'recovery' (3992 KB)...
OKAY [ 0.233s]
writing 'recovery'...
FAILED (remote: (00180002))
finished. total time: 0.297s
I have also lost the Android Recovery as I am unable to have the device respond to me after I tap the bottom right corner after going to Android Recovery. So I cannot perform a hard reset too.
Any advise to help me move along? I would like to install a custom ROM, and if that is not possible I would like to at least return to the stock ROM.
Thanks!
How is rooting relevant?
It seems you forgot to unlock the BL.
ravilov said:
How is rooting relevant?
It seems you forgot to unlock the BL.
Click to expand...
Click to collapse
May be I misunderstood.
Help me understand, I searched for what is the difference between locked and unlocked. My understanding is as long as I can use SIM card from different carrier, I have an unlocked phone, and unlocking is not necessary. Is this wrong?
Assuming I am wrong can you advise how to unlock the BL?
Thanks.
You are very wrong. Rooting has nothing to do with BL unlock, just as BL unlock has nothing to do with SIM unlock.
Please follow the unlock/flash procedures PRECISELY.

[Q] Possible soft brick, please advise

Hi, all.
I was messing around with Android Tweaker 2, zipaligning my apps, performing vague system tweaks and the like, when I rebooted my phone for the changes to take effect; however, the phone booted up, finished the booting animation, and where the home screen should be showing up only showed a black screen. From there I can only reboot again, reboot into STOCK recovery, or reboot into fastboot, which has limited function in an Asus device (inability to flash unsigned custom recovery images, inability to flash rom images, stock firmware images are unavailable ANYWHERE, etc.) My device WAS rooted, however, I did a factory reset from the stock recovery in hopes that the problem would be resolved, so I'm not sure if root access was retained. I've tried a lot of things, but what I need is access to adb to push some files, or just figure out what the hell happened to the device.
Any ideas? Thanks in advance.
Details:
Asus Padfone X [4.4.2 stock rom]
WAS rooted
LOCKED bootloader
STOCK recovery
Fastboot is basically useless, given the "safeguards" Asus has implemented
Read the CM12.1 for instructions on unlocking bootloader , there are instructions on booting from custom recovery using fastboot from there you can adb push the files to your phone as posted in the Nandroid Stock backup thread and install using TWRP.
daggorlad said:
Read the CM12.1 for instructions on unlocking bootloader , there are instructions on booting from custom recovery using fastboot from there you can adb push the files to your phone as posted in the Nandroid Stock backup thread and install using TWRP.
Click to expand...
Click to collapse
Thanks for the advice.
I have consulted the CM12.1 thread, and I see the instructions, the first step of which is to "boot into CWM, CMRecovery, or TWRP." However, I do not have any of these custom recoveries flashed on my Padfone X. Is there a way I can boot custom recovery off an external microsd or something?
Note: upon attempting the "fastboot flash recovery CMrecovery.img" command, the cmd window returns the following:
Code:
target reported max download size of 1879048192 bytes
sending 'recovery' <11220 KB>...
OKAY [ 0.438s ]
writing 'recovery'...
FAILED <remote: can't flash unsigned image>
finished. total time: 0.444s
EDIT: Problem has been resolved, used
Code:
fastboot boot twrp.img
and restored stock.
shattered519 said:
Thanks for the advice.
I have consulted the CM12.1 thread, and I see the instructions, the first step of which is to "boot into CWM, CMRecovery, or TWRP." However, I do not have any of these custom recoveries flashed on my Padfone X. Is there a way I can boot custom recovery off an external microsd or something?
Note: upon attempting the "fastboot flash recovery CMrecovery.img" command, the cmd window returns the following:
Code:
target reported max download size of 1879048192 bytes
sending 'recovery' <11220 KB>...
OKAY [ 0.438s ]
writing 'recovery'...
FAILED <remote: can't flash unsigned image>
finished. total time: 0.444s
EDIT: Problem has been resolved, used
Code:
fastboot boot twrp.img
and restored stock.
Click to expand...
Click to collapse
Glad I was able to point you into the right direction.

Unable to install recovery

Hi guys, my phone is Infocus M2 3G and I have rooted it earlier. Now I accidentally removed some services and now getting errors. I want to flash stock rom so it can be like previous one.
I installed ADB and fastboot in my system.
When I tried the command
Code:
fastboot flash recovery recovery.img
the following error came:
Code:
sending 'recovery' (10240 KB)...
OKAY [ 0.417s]
writing 'recovery'...
FAILED (remote:
Security deny - Err:0x2017
)
finished. total time: 0.430s
I searched and I got to know that this may be because of bootloader lock.
So I tried the command
Code:
fastboot oem unlock
and
Code:
fastboot flashing unlock
For oem unlock it showed unknown command and for flashing unlock it showed all options of fastboot.
I installed Rom Manager and select boot into recovery option, it took me to Android Recovery System 3e.
I have stock rom files downloaded and just want to put stock rom in my phone. Any Ideas that can help?
sumit77seo said:
Hi guys, my phone is Infocus M2 3G and I have rooted it earlier. Now I accidentally removed some services and now getting errors. I want to flash stock rom so it can be like previous one.
I installed ADB and fastboot in my system.
When I tried the command
the following error came:
I searched and I got to know that this may be because of bootloader lock.
So I tried the command and
For oem unlock it showed unknown command and for flashing unlock it showed all options of fastboot.
I installed Rom Manager and select boot into recovery option, it took me to Android Recovery System 3e.
I have stock rom files downloaded and just want to put stock rom in my phone. Any Ideas that can help?
Click to expand...
Click to collapse
You can try putting the stock ROM zip file on the root of your sdcard (As in not located in any sub folders) and renaming the ROM file to update.zip then use the stock recovery to flash the ROM. Let me know if you still have questions!

Help please?????

Hi all,
Today I tried to root my LG G5 H830 but with an older method for Marshmallow(in the video i was watching the version wasn't even specified so I was unaware and I believed that the version of the phone did not really matter). I proceeded to follow this man's instructions @: "How to Root T-Mobile LG G5!" by "Max Lee" on Youtube(as a new user i cannot post links ) I unlocked my bootloader, got drivers and followed his instructions up onto an error on LGUP. Basically the error's purpose was to tell me that Nougat is not supported. So I had no choice but to reboot my phone and go through the android initializing setup.
After realizing the error of my ways I then found this post here via Google Search: "Install TWRP Recovery and Root LG G5 on Android Nougat | DroidViews" to install TWRP. Now my bootloader is unlocked and I have no root. The only problem here is that whenever I go into developer options and try to toggle 'OEM unlock' on it won't let me. The OEM unlock setting is grey-ed out and I am unable to toggle it!! This is what I need help with! Although my bootloader is very much infact unlocked I think some error occurred to where now I cant toggle my OEM unlock thus I am unable to flash a TWRP recovery via fastboot!
If I reboot into my bootloader and run the command "fastboot flash recovery recovery.img" i get this:
Code:
target reported max download size of 536870912 bytes
sending 'recovery' (18668 KB)...
OKAY [ 0.419s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.435s
I even ignored the error and tried to boot into recovery manually and i just get the stock recovery.
Please help me guys
What about locking the bootloader again and unlocking it after that with the newer video you used?
MAGNVM said:
Hi all,
Today I tried to root my LG G5 H830 but with an older method for Marshmallow(in the video i was watching the version wasn't even specified so I was unaware and I believed that the version of the phone did not really matter). I proceeded to follow this man's instructions @: "How to Root T-Mobile LG G5!" by "Max Lee" on Youtube(as a new user i cannot post links ) I unlocked my bootloader, got drivers and followed his instructions up onto an error on LGUP. Basically the error's purpose was to tell me that Nougat is not supported. So I had no choice but to reboot my phone and go through the android initializing setup.
After realizing the error of my ways I then found this post here via Google Search: "Install TWRP Recovery and Root LG G5 on Android Nougat | DroidViews" to install TWRP. Now my bootloader is unlocked and I have no root. The only problem here is that whenever I go into developer options and try to toggle 'OEM unlock' on it won't let me. The OEM unlock setting is grey-ed out and I am unable to toggle it!! This is what I need help with! Although my bootloader is very much infact unlocked I think some error occurred to where now I cant toggle my OEM unlock thus I am unable to flash a TWRP recovery via fastboot!
If I reboot into my bootloader and run the command "fastboot flash recovery recovery.img" i get this:
Code:
target reported max download size of 536870912 bytes
sending 'recovery' (18668 KB)...
OKAY [ 0.419s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.435s
I even ignored the error and tried to boot into recovery manually and i just get the stock recovery.
Please help me guys
Click to expand...
Click to collapse
Did you try to run the terminal/cmd as an administrator/root?
Sent from my LG-H840 using Tapatalk

can't install recovery on a Sony Xperia Z5C

I have a Sony Xperia Z5C (E5823) which is running android 5.1.1.
I want to install Lineage OS on this system so I unlocked to bootloader. The bootloader status is now:
Code:
Rooting status:
Bootloader unlocked: Yes
I then used this thread to install TWRP. I downloaded recovery_v3.2.1_02.05.2018.img and installed it using adb and fastboot:
Code:
$ adb reboot bootloader
$ fastboot flash recovery recovery_v3.2.1_02.05.2018.img
target didn't report max-download-size
sending 'recovery' (17356 KB)...
OKAY [ 0.589s]
writing 'recovery'...
OKAY [ 0.151s]
finished. total time: 0.741s
$
Everything seems to go well, I'm happy.
But when I try to reboot to recovery, I get the Sony Xperia white splash screen and the the powered by android splash screen, then it boots under android, nor recovery. I get this behaviour when I try to boot with Power + Volume down, and when I use adb:
Code:
adb reboot recovery
I don't understand why, but my Z5C can't boot to TWRP. I'm then unable to install Lineage OS.
I think that the recovery is ok as some people reported that the recovery worked with their device. Thanks @GreyLeshy for this great work. I then think that there is something wrong with my device, but I can't guess what. If anybody has an idea, he will be more than welcome as I really need some help now. I'm unfortunately stuck...
successful!
I tried to get some help on Freenode #lineageos where I found a helpful guy (LuK1337). He advised me to upgrade the stock rom of the smartphone (from Android 5.1.1 to Android 7) before trying to flash TWRP.
I tried to do so, and I finally managed to boot to TWRP without any problem.

Categories

Resources