Hi,
I accidentally flashed a wrong TWRP on my Xperia Z3 Comact with CM12.1 and now I can´t flash CM-Updates or anything else, becuase TWRP reboots every time I go in to it.
I tried to flash the "boot.img" from the cm12.1 image via fastboot, but it did not help.
I flashed/set the TWRP before via "adb shell dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot" or something like this.
How can I revert this or How can I flash the original CM12.1 Recevery or better a working TWRP or ClockWorkMod?
Thanks!
IceTi said:
Hi,
I accidentally flashed a wrong TWRP on my Xperia Z3 Comact with CM12.1 and now I can´t flash CM-Updates or anything else, becuase TWRP reboots every time I go in to it.
I tried to flash the "boot.img" from the cm12.1 image via fastboot, but it did not help.
I flashed/set the TWRP before via "adb shell dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot" or something like this.
How can I revert this or How can I flash the original CM12.1 Recevery or better a working TWRP or ClockWorkMod?
Thanks!
Click to expand...
Click to collapse
You can re-flash the cyanogenmod.zip - or reboot into fastboot and type this into cmd
"fastboot flash recovery FotaZ3C-CM12.1v2.img"
fastboot reboot"
Get the fota TWRP from HERE
Related
I have been using "fastboot boot recovery.img" to load into TWRP after OTA updates to load SuperSU as I am only rooted using the stock ROM. However, after this recent update (2.16.651.4) that includes the WiFi Calling and Android 4.4.3, when I run the command it just causes the phone to reboot. It does not reboot into TWRP, which is my recovery.img file.
I found a Nexus thread talking about having to add a kernel command line for the Nexus after a certain version of hboot, so I am not sure if it is related.
Does anyone know how to fastboot boot now with the latest update? I would like to avoid replacing my stock recovery with TWRP and just continue to boot into it. Alternatively, is there any other way to install supersu?
Thank you,
Ben
ReproOne said:
I have been using "fastboot boot recovery.img" to load into TWRP after OTA updates to load SuperSU as I am only rooted using the stock ROM. However, after this recent update (2.16.651.4) that includes the WiFi Calling and Android 4.4.3, when I run the command it just causes the phone to reboot. It does not reboot into TWRP, which is my recovery.img file.
I found a Nexus thread talking about having to add a kernel command line for the Nexus after a certain version of hboot, so I am not sure if it is related.
Does anyone know how to fastboot boot now with the latest update? I would like to avoid replacing my stock recovery with TWRP and just continue to boot into it. Alternatively, is there any other way to install supersu?
Thank you,
Ben
Click to expand...
Click to collapse
As a quick work around flash twrp onto the device, once done with it then flash the factory recovery back, Also check to make sure your bootloader didn't relock after update.
stock recovery from the update.
nfinitefx45 said:
As a quick work around flash twrp onto the device, once done with it then flash the factory recovery back, Also check to make sure your bootloader didn't relock after update.
stock recovery from the update.
Click to expand...
Click to collapse
Thank you for the reply. I thought about taking that approach, but I was really hoping someone would have an answer on why the procedure wasn't working now. My bootloader is still unlocked.
I found this as an approach someone did on the Nexus 4 for a similar issue:
fastboot -c "lge.kcal=0|0|0|x" boot customrecovery.img
Thoughts?
nfinitefx45:
I did just now flash TWRP into recovery, loaded SuperSU, and then flashed your recovery.img back to the phone. So thank you very much for the recovery.img.
I'd still like to know if fastboot boot can still work, and also if there is a way in the future I can get my own recovery.img (possibly back it up before taking an OTA)?
ReproOne said:
nfinitefx45:
I did just now flash TWRP into recovery, loaded SuperSU, and then flashed your recovery.img back to the phone. So thank you very much for the recovery.img.
I'd still like to know if fastboot boot can still work, and also if there is a way in the future I can get my own recovery.img (possibly back it up before taking an OTA)?
Click to expand...
Click to collapse
not sure about the fastboot issue, but to backup your recovery any time just go to adb and type the following
adb shell
su
dd if=/dev/block/mmcblk0p43 of=/sdcard2/recovery.img
this will copy your recovery to the external sdcard
Thank you for those steps. I do not have an external SD card installed, so I modified it to store the recovery.img on sdcard instead.
Now I can always fastboot flash twrp and then back to stock recovery.
Thank you again!
nfinitefx45 said:
not sure about the fastboot issue, but to backup your recovery any time just go to adb and type the following
adb shell
su
dd if=/dev/block/mmcblk0p43 of=/sdcard2/recovery.img
this will copy your recovery to the external sdcard
Click to expand...
Click to collapse
You would need root to do this. Not being able to use "fastboot boot" you would just be backing up the flashed recovery. Possibly towel root temp root, but I would assume it has been patched in newest update.
So I am S-On with a non-HK M8
I was on stock rooted 4.4.2 and I flashed the stock recovery and took the OTA
Now I am on 4.4.3 and still have SuperSU installed (not rooted)
Everything is working fine, but when I try to boot to recovery i get the red triangle with the !
Any suggestions?
neudof said:
So I am S-On with a non-HK M8
I was on stock rooted 4.4.2 and I flashed the stock recovery and took the OTA
Now I am on 4.4.3 and still have SuperSU installed (not rooted)
Everything is working fine, but when I try to boot to recovery i get the red triangle with the !
Any suggestions?
Click to expand...
Click to collapse
That's the stock recovery. Did you ever flash a custom recovery back on after the OTA?
xPhantom said:
That's the stock recovery. Did you ever flash a custom recovery back on after the OTA?
Click to expand...
Click to collapse
I am s-on & unlocked but i was able to flash the stock recovery from sd card to take the ota.
Is it possible to flash twrp back in the same way?
neudof said:
I am s-on & unlocked but i was able to flash the stock recovery from sd card to take the ota.
Is it possible to flash twrp back in the same way?
Click to expand...
Click to collapse
Yes, after the OTA, just flash TWRP back through fastboot and then re-flash SuperSU to get root back.
nfinitefx45 said:
As a quick work around flash twrp onto the device, once done with it then flash the factory recovery back, Also check to make sure your bootloader didn't relock after update.
stock recovery from the update.
Click to expand...
Click to collapse
I just applied the update released today, and I tried to save the recovery.img file before flashing TWRP. However, it kept giving me permission denied. Do you have the recovery.img file from the update released today so I can use it for the next update?
fastboot not working
please any help on how to access fastboot on HTC one m8.
its showing black screen n fastboot mode...
wot can I do 2 annul d problem
rooting problem
hey i am using htc one m8, i unlocked the bootloader and the device reads as
device status modified
*unlocked*
s-on
after this i flashed twrp and cwm a couple of times but its not loading on the device but shows success in the command window, however after clicking on recovery the custom recovery does not show up, and it reboots back into the fastboot mode.
please help me
thank you
jinal shah said:
hey i am using htc one m8, i unlocked the bootloader and the device reads as
device status modified
*unlocked*
s-on
after this i flashed twrp and cwm a couple of times but its not loading on the device but shows success in the command window, however after clicking on recovery the custom recovery does not show up, and it reboots back into the fastboot mode.
please help me
thank you
Click to expand...
Click to collapse
What's the output in the terminal when you fastboot flash recovery?
rooting problem
It doesn't show any error as such.
In the command window it shows successful.
But when I click on recovery it reboots back to fast boot.
Like for a second it shows the screen which reads 'this build is only for developers'
But then instead of opening Twrp it reboots back to fast boot.
Hi Guys,
Im using a bootloader unlocked c5302 with stock rom(clean installed via flashtool) and cwm 6.0.4 recovery on it. i want to be able to flash cm12.1 on it for which i need updated recovery. i have tried rashr and fastboot both to flash the updated recovery. rashr seems to flash the recovery.img but when i reboot to new recovery its still the old one..and in fastboot it says "recovery partition not found". i dont know what im doing wrong. can someone please help with thiss??
flash t-kernel with fastboot mode ...it includes twrp recovery which is very good
reboot to it ....do a full wipe then flash cm12.1
flash- said:
flash t-kernel with fastboot mode ...it includes twrp recovery which is very good
reboot to it ....do a full wipe then flash cm12.1
Click to expand...
Click to collapse
It worked thanks so much man! Cheers
so i unlocked bootloader and unlocked my phone, also installed TWRP on my phone but then i wanted to install CM, i installed CM 13 but somehow GApps didn't went through now i'm with CM13 with no Gapps BUT TWRP is also not working anymore! i tried booting into TWRP, doesnt work. tried flashing TWRP, Nope. is there some other way of flashing Gapps? or making TWRP work again? any help will be greatly appreciated.
TechnoManiac98 said:
so i unlocked bootloader and unlocked my phone, also installed TWRP on my phone but then i wanted to install CM, i installed CM 13 but somehow GApps didn't went through now i'm with CM13 with no Gapps BUT TWRP is also not working anymore! i tried booting into TWRP, doesnt work. tried flashing TWRP, Nope. is there some other way of flashing Gapps? or making TWRP work again? any help will be greatly appreciated.
Click to expand...
Click to collapse
Hi,
you can try this:
Copy the downloaded recovery image (.img file) to the folder where you have placed your ADB and Fastboot.
Launch terminal (or command prompt on Windows).
Navigate to the directory where you have placed the ADB, Fastboot and .img file together.
Shut down your phone and reboot into boot loader. For nexus devices, simply hold volume down + power to start up the phone.
Connect your phone to your computer.
On terminal (or command prompt) window, write fastboot boot <img file name>, e.g. fastboot boot twrp.img.
Your phone will restart and will boot into the recovery mode.
Hint:
use adb reboot bootloader in CM13 to reboot into fastboot bootloader
hello i want to acces recovery menu, but won´t flash anything to my phone.
is it possible?
have download twrp-3.0.2.0-yuga.img unnamed it to recovery.img
fastboot boot recovery.img
it tells download ok
starting ok
than phone is booting normaly
what am i doing wrong?
xperia z with android 5.1.1 open bootloader
Hi, use this: https://twrp.me/devices/sonyxperiaz.html
(dd install method), download terminal emulator from playstore and type commands
Xperia Z doesn't support "fastboot boot" command
If you want to do this without flashing anything - this is impossible
damn
i have flashed twrp recovery, it worked without problems. device started into recovery, great but it boots always in the recovery.
-flashed xperia z with emma tool
-fastboot flash boot twrp.img
-reboot into recovery
fine but since them it boots always into recovery
have reboot from recovery into system or reboot or just turn device off and on.
(havent pressed any key while booting)
it boot everytime to recovery
can someone help pls
Sent from my C6603 using XDA-Developers mobile app
steve233 said:
i have flashed twrp recovery, it worked without problems. device started into recovery, great but it boots always in the recovery.
-flashed xperia z with emma tool
-fastboot flash boot twrp.img
-reboot into recovery
fine but since them it boots always into recovery
have reboot from recovery into system or reboot or just turn device off and on.
(havent pressed any key while booting)
it boot everytime to recovery
can someone help pls
Sent from my C6603 using XDA-Developers mobile app
Click to expand...
Click to collapse
You have flashed a recovery image to your boot partition, so it always boots to recovery. You need to flash a boot image to the boot partition.
But why do you want recovery if you won't flash anything to your phone?
By flashing recovery, you are doing exactly that anyway.
You have an unlocked bootloader, so you may as well flash an advanced stock kernel. It is stock kernel with twrp built into the boot.img. Check android development section.
thank you
since i know that i can't boot recovery without flashing, i have no other option as to flash.
can't i flash it to FOTA partition?
i have 10.7.A.0.222 firmware and need root access but like to do it manually
You can't boot directly to FOTA on XZ. Need modified boot.img or flash twrp to boot (like you did before). Then while in TWRP, flash Supersu.zip to get root. Afterwards flash kernel only in flashtool to get stock boot back
Sent from my C6603 using XDA-Developers mobile app
steve233 said:
i have flashed twrp recovery, it worked without problems. device started into recovery, great but it boots always in the recovery.
-flashed xperia z with emma tool
-fastboot flash boot twrp.img
-reboot into recovery
fine but since them it boots always into recovery
have reboot from recovery into system or reboot or just turn device off and on.
(havent pressed any key while booting)
it boot everytime to recovery
can someone help pls
Click to expand...
Click to collapse
same problem please help asap with instruction. thank you
shoey63 said:
You can't boot directly to FOTA on XZ. Need modified boot.img or flash twrp to boot (like you did before). Then while in TWRP, flash Supersu.zip to get root. Afterwards flash kernel only in flashtool to get stock boot back
Click to expand...
Click to collapse
can u pls help me with instruction how to fix that plssssss.....
utsavgarg said:
can u pls help me with instruction how to fix that plssssss.....
Click to expand...
Click to collapse
Is your bootloader unlocked?
Hello,
I had flashed Cyanogenmod 14.1 on my Xperia T. It has removed my recovery partition and installed cyanogenmod recovery together with system.
Actually I want to switch to LineageOS 14.1, but I got no recovery. CM recovery says signature verification failed...
What i've done was to flash TWRP into boot using fastboot, then I booted it up and flashed LineageOS.
I forgotten about GApps and looks like there is no way to flash them w/o recovery.
I could of course flash TWRP once again into boot and reflash Lineageos with gapps once again.
Anyway, I would like to restore recovery...
Any ideas how to do that?
fastboot flash recovery says there is no such partition.
fastboot flash recovery says there is no such partition.
Click to expand...
Click to collapse
fastboot flash boot twrp.img
Then flashing Custom Android 7 ROM and Gapps, SuperSU.
TO replacing Stock Cyanogen Recovery to TWRP:
TWRP
dd Install Method (Requires Root):
Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:
su
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Click to expand...
Click to collapse
Thats what I did.
I flashed TWRP to boot and then from TWRP i flash LineageOS 14.1.
Now I dont have any recovery
Now I dont have any recovery
Click to expand...
Click to collapse
What about this:
adb reboot bootloader
or
adb reboot recovery
After issuing `adb reboot recovery` my phone vibrates 3 times and stucks on SONY logo screen.
belliash
Flashing boot.img from LineageOS.zip archive with fastboot.
[SOLVED]Need help for the twrp recovery