TWRP Recovery being overwritten? - X 2014 Q&A, Help & Troubleshooting

I just got my Moto X and am experiencing an issue with TWRP recovery on the phone. I'm able to install the recovery in fastboot using adb. However when the device restarts, TWRP is gone and i get the little Android guy error.
Steps i took to load:
1) unlocked phone
2) downloaded TWRP version 2.8 .1.0-victara
3) placed image file in android adb folder
4) put phone in fastboot mode and connected to computer
5) opened command line in adb folder and typed command "fastboot boot openrecovery-twrp-2.8.1.0-victara.img
6) phone will reboot to TWRP as expected
7) however once phone is rebooted TWRP is gone
Did my steps above not install the recovery, just boot it up temporarily?
Any info or suggestions would be appreciated.
Thanks,
Rick

You are only booting TWRP, not flashing it. The correct command is "fastboot flash recovery [recoveryname].img".

Thanks Metalhead. You sre right. I figured it iut last night. Now if i could only get exchange to work on gmail for my work account.
Rick

Related

Currently stuck on either "htc quietly brilliant" or hboot/fastboot

Hello, I have a HTC One phone, and had cyanogenmod 11. I started having problems like not syncing and stuff so i decided to full swipe my phone and flash the Android Revolution HD 51 rom. Tried several times to install the twrp 2.6.3.3 recovery, and for all my stupidity ended up flashing the rom using clockwork 6.x
Now, my phone isn't turning on, I cant get to the recovery and I really don't know what to do anymore
Thanks for your help in advance.
needrogue said:
Hello, I have a HTC One phone, and had cyanogenmod 11. I started having problems like not syncing and stuff so i decided to full swipe my phone and flash the Android Revolution HD 51 rom. Tried several times to install the twrp 2.6.3.3 recovery, and for all my stupidity ended up flashing the rom using clockwork 6.x
Now, my phone isn't turning on, I cant get to the recovery and I really don't know what to do anymore
Thanks for your help in advance.
Click to expand...
Click to collapse
- Go to the bootloader
- Flash new recovery
- flash ARHD
Don't panic, you didn't break anything
Can you please explain step-by-step how to do that?Assume that im a beginner who knows nothing
needrogue said:
Can you please explain step-by-step how to do that?Assume that im a beginner who knows nothing
Click to expand...
Click to collapse
Download the twrp recovery and rename to recovery and place in mini-sdk Or platform tool folder
Then connect your phone in fastboot mode ( power + vol down --> fastboot )
open platform tool Or mini-sdk command line and Type :-
fastboot flash recovery recovery(name of the recovery).img
fastboot erase cache
This will flash your twrp recovery.
Now go to recovery from bootloader and flash the ARHD 51.
khandelwalsiddharth said:
Download the twrp recovery and rename to recovery and place in mini-sdk Or platform tool folder
Then connect your phone in fastboot mode ( power + vol down --> fastboot )
open platform tool Or mini-sdk command line and Type :-
fastboot flash recovery recovery(name of the recovery).img
fastboot erase cache
This will flash your twrp recovery.
Now go to recovery from bootloader and flash the ARHD 51.
Click to expand...
Click to collapse
where can i find those?And what to do if i need to move the ARHD 51 from the computer to the phone? because currently I have nothing on my phone, pretty sure it's wiped clean
needrogue said:
where can i find those?And what to do if i need to move the ARHD 51 from the computer to the phone? because currently I have nothing on my phone, pretty sure it's wiped clean
Click to expand...
Click to collapse
omfg... the explaned that whole sh*t quite difficult^^
You should be able to understand that here(But i assume that you already installed adb and fastboot):
- Enter the bootloader and do the following
Code:
fastboot erase cache
- Now enter the recovery.. if you don't have a custom recovery download this one:
TWRP Openrecovery for HTC One m7ul
- Flash the recovery with this command:
Code:
fastboot flash recovery "C:\path_to_recovery\recoveryname.img"
- Now enter the recovery...
- Proceed a full wipe in the recovery(including /system but excluding sdcard(where your photos etc. are stored))
- Move your rom.zip to your phone by executing the following command:
Code:
adb push "C:\path_to_rom\rom.zip" /data/media/0/rom.zip
- Now flash the rom with the recovery
- Reboot
needrogue said:
where can i find those?And what to do if i need to move the ARHD 51 from the computer to the phone? because currently I have nothing on my phone, pretty sure it's wiped clean
Click to expand...
Click to collapse
You need also to download MINI-sdk, (you can google it) and open a command window there to execute those commands.
It's nothing difficult but i understand that it can be tricky the first time.
When i open what ever .exe in the sdk-mini or platform tools it just seems to blink some cmd lines and close immediately..Tried typing this in the windows cmd and didnt work either..
EDIT: Ok, got it to work, erased the cache, but now when i try to flash the recovery it says "error:cannot load 'recovery': Unknown error
What am i missing?..Now I'm stuck without a phone><
I really don't feel like spending money repairing it for something as easy as this

Unlocked Bootloader, Can't root? [XT1096]

Not really sure what I'm doing wrong. Last rooted phone was a Nexus 5, and that was of course painless to root and flash ROMs to...
I'm using a Verizon XT1096 with 5.1 on T-Mobile.
So I was able to get the bootloader unlocked via Motorola's website, now that Verizon is allowing them to do so. No problems there. My problem now is that I can flash a recovery, but if it reboots, the recovery is gone. And I can't get any recoveries to flash anything. I can't push an apk, root zip, or even a ROM. Says Installation Aborted, with no other error codes. Even tried CWM and disabling Signature Checking, which gives me more info, saying that the footer is mismatched. Phone does say the bootloader is unlocked though so that shouldn't be it...
Honestly, I'd just like to get it on CM12 until I can get a Nexus 6P.. Can anyone tell me if I'm doing something wrong? Or is there just no way to root yet? I figured even the XT1095 CF-Auto-Root method would work for 5.1, but no dice..
Not sure what to do here. Please move my thread if need be. Don't post here much...
I followed the instructions on the TWRP website (link below) and it worked flawlessly. One thing you have to do is, after running the "fastboot flash recovery twrp.img" command, make sure to manually scroll on the phone and reboot into recovery. Hope that helps...
https://twrp.me/devices/motorolamotox2014.html
There is a partition mismatch. So do this. Download supersu and place it in the phones memory. Boot to fastboot mode and then fastboot boot recovery.img rather than fastboot flash recovery.img. You will boot to twrp, install SuperSU then download twrp from the playstore and install thru the app. It works, that's how I did it. Also when booting to recovery from the fastboot menu choose recovery with the vol up key rather than power button.
RepeatUntilTheEnd said:
I followed the instructions on the TWRP website (link below) and it worked flawlessly. One thing you have to do is, after running the "fastboot flash recovery twrp.img" command, make sure to manually scroll on the phone and reboot into recovery. Hope that helps...
https://twrp.me/devices/motorolamotox2014.html
Click to expand...
Click to collapse
I thought I tried that but maybe not. I've read that some stock ROMs can and will overwrite the recovery upon booting, but I could be wrong. I'll look at that when I get home tonight.
oraixearl said:
There is a partition mismatch. So do this. Download supersu and place it in the phones memory. Boot to fastboot mode and then fastboot boot recovery.img rather than fastboot flash recovery.img. You will boot to twrp, install SuperSU then download twrp from the playstore and install thru the app. It works, that's how I did it. Also when booting to recovery from the fastboot menu choose recovery with the vol up key rather than power button.
Click to expand...
Click to collapse
Thank you, I'll try this tonight when I get home. This may solve it. I think I remember the bootloader spitting something out about a partition mismatch.. Will report back as soon as I try it.
So I went ahead and tried both your guys' methods.
Oraixearl, I figured your solution would work, but it actually didn't, to my surprise. It returned no results, as the root zip didn't end up doing anything.
RepeatUntilTheEnd's solution worked here. I guess I didn't try rebooting the phone after flashing the recovery, before going into it..
So here's what I did.
1.) Boot into bootloader
2.) Fastboot flash recovery [recovery.img]
3.) adb reboot bootloader
4.) Used keys on phone to go into recovery,
5.) Flashed root.zip
6.) Booted into OS, and ran root checker. Worked.
7.) To my surprise, TWRP stuck around, too.
Thank you guys!
TsarProdigy said:
So I went ahead and tried both your guys' methods.
Oraixearl, I figured your solution would work, but it actually didn't, to my surprise. It returned no results, as the root zip didn't end up doing anything.
RepeatUntilTheEnd's solution worked here. I guess I didn't try rebooting the phone after flashing the recovery, before going into it..
So here's what I did.
1.) Boot into bootloader
2.) Fastboot flash recovery [recovery.img]
3.) adb reboot bootloader
4.) Used keys on phone to go into recovery,
5.) Flashed root.zip
6.) Booted into OS, and ran root checker. Worked.
7.) To my surprise, TWRP stuck around, too.
Thank you guys!
Click to expand...
Click to collapse
Strange as it worked for me. I'm glad you got it sorted out tho. Cheers.

Unable to boot into TWRP, need to flash Gapps. no recoveries are working. help!

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

Rooting Problems Need Help

Hi I'm a new Android user and don't know much about it :'( I recently got my OnePlus 3T and I wanted to root it
so I followed a tutorial video from YouTube successfully unlocked bootloader and flashed twrp recovery then I tried to install SuperSU... well it installed but the device got soft bricked when I rebooted after finishing the installation and wiping cache/dalvik
then I format/factory reset everything using twrp recovery and it's working now but the device isn't rooted :'( tried to install SuperSU again and it got bricked again
Also I'm getting these messages on the startup screen-
1st one: Your device has been unlocked and can't be trusted. If you don't want to see this screen please lock your device by "fastboot oem lock" and erase user data.
2nd one: The dm-verity is not started in enforcing mode and may not work properly.
(My os version is 4.1.7)
device OP 3t A3010
plz help me :'(
The 1st and the 2nd msg that gets displayed is shown because the bootloader is unlocked..
Bootloops are common while flashing su...when I flashed super su for the first time, I got 3 or 4 random reboots and took almost 7 to 10 mins for the phone to boot up..
I would suggest using Magisk as a rooting method instead of SuperSU. If you use SuperSU then some apps can detect root and object to you being rooted and Google's SafetyNet gets triggered. Magisk solves this by trying to hide root from apps and Google so that you can use your device as if it wasnt rooted at all (but in fact is rooted). Go the the Magisk forum and download Magisk 13.3 zip from there.
I am assuming you are using OxygenOS (Oneplus's software) and not a custom ROM. Download the Open Beta or Stable build from here/
These steps will erase all the data on your phone permanently (including internal storage) so please backup anything in there.
To fix the DM verity error youll have to follow the steps outlined here
Once you have fixed that, flash oneplus recovery via fastboot which you can download here
To flash it go to fastboot mode, and cd into the folder where you downloaded it. Run the command 'fastboot flash recovery <RECOVERY_NAME>'.
Then run the command 'fastboot oem lock' to lock the bootloader. After you confirm the prompt on screen, the phone will boot into the recovery and youll see a progress bar. Once the progress completes and the screen turns off, be ready to immediately go back to fastboot mode by pressing volume up and power.
When you enter fastboot mode again, run the command 'fastboot oem unlock' and follow the same steps as before.
Once you are in fastboot mode, the phone is now in a clean state with no OS.
Follow the steps outlined on the oneplus website to flash a clean OxygenOS build (stable or open beta as per your taste)
Once the flashing is complete you have to let the phone boot up completely once. When you get to the setup screen, go through it and reach the launcher.
Now we flash TWRP recovery. Reboot to fastboot again. Flash TWRP recovery (I personally use blu_spark's twrp but you can use one of your choice). When it is done, boot into the recovery. Youll now be able to copy magisk zip into the internal sd. Do that, and flash it. Reboot.
Youll now be rooted. If you have any problems holla at me.

Pixel 5 is broken after flash

Hello, I wanted to free my pixel 5 (android12) from google and install the e.foundation os. I managed to unlock the bootloader. At further step something must have gone wrong and I came only in the recovery mode. Then I flashed TWRP and wanted to install android 11 from there. I did not know which version for my phone is the right one. TWRP has any errors displayed. I have a few years ago on another phone made a custom rom flash on it and thought I know what I'm doing but thought wrong. I selected all the check marks in the wipe data menu and formatted everything. Then nothing worked and the phone went into bootloop. Now I managed to get into the recovery mode. But I can not flash TWRP or rom. Can someone maybe give me a tip? or do I now have a 500 euro expensive stone here.
I am grateful for any advice. this flashing is very complicated for me a I had it somehow easier in memory.
I speak german and the text was created with deepl
there is a photo of the screen
Okay you can try this
Download ADB AND MINIMAL FASTBOOT
Download TWRP
1. Open ADB AND MINIMAL FASTBOOT
2. Type fastboot flash recovery /path/to/twrp.img
3. Try reboot to recovery mode.
4. If you can reboot to recovery mode (TWRP) - Copy stock rom to device and flash it.
I have also tried this with TWRP but i always get the error message:
FAILED (remote: Not allowed to flash (recovery))
i have also tried several roms to flash after unpacking.
fastboot flash bootloader runs through
fastboot flash radio runs through successfully
fastboot update image but not
and ends with the message:
FAILED (remote: Partition should be flashed in fastbootd).

Categories

Resources