[Q] Recovery doesn't work or not installed? - Samsung Galaxy Nexus

I'm not sure why but my recovery mode doesn't work, it just show me a little Android with a red signal and no one letter...
My phone is already rooted but I dont remember if I installed a recovery mode or if it was part of the root process, I need to install a "sound fix" zip, but I can't right now...any ideas??? Can I fix it without lose my data?

I think you don't have a custom recovery yet... Flash one and good to go.
Sent from Google Nexus 4 @ crSimple

Yes, you can install or flash and update recovery without losing data.
If proper USB drivers are installed and you can use ADB with the GNexus while is in developer mode, then you are ready.
Download latest CWM Recovery or TWRP Recovery.
Reboot the phone to bootloader mode. If your ROM has it in power option, you can use that to boot into bootloader.
Otherwise with adb: adb reboot-bootloader
On your computer, put above the recovery .img file in same folder as adb and fastboot executables.
then: fastboot flash recovery name-of-recovery-file.img
You will get an OK, success confirmation if all done properly. Now you can boot to recovery. Done.

Is there a simpler way? I'm not very "acquainted" with ADB :/, something more, ADB for X64 is about 480mb! Is that normal or Am I downloading another thing???

Jerber said:
Is there a simpler way? I'm not very "acquainted" with ADB :/, something more, ADB for X64 is about 480mb! Is that normal or Am I downloading another thing???
Click to expand...
Click to collapse
If you have never used ADB tools or ever attempted bootloader commands, it is probably not recommended for you to change stuff around because there may be a chance something can go wrong and you might not have immediate help to restore your phone. Doing these changes are permanent to your phone, so just keep that in mind if you still want to attempt it (eg you don't know how to return it to stock yet).
Personally, I don't recommend all-in-one tools because of the same reason as above, you don't learn anything if you need to do something command related or mess up.
It sounds like your phone is still bootloader locked to stock version of android but you may have have used SuperSU or some root exploit to get root previously.
All you need are 4 things:
Read and understand the guide @efrant posted for newbies: http://forum.xda-developers.com/showthread.php?t=1812959
Universal Naked Driver
ADB lite - ADB with less stuff, around 2MB
CWM or TWRP recovery img file (previous post)
When you think you are ready just post back.

kaijura said:
If you have never used ADB tools or ever attempted bootloader commands, it is probably not recommended for you to change stuff around because there may be a chance something can go wrong and you might not have immediate help to restore your phone. Doing these changes are permanent to your phone, so just keep that in mind if you still want to attempt it (eg you don't know how to return it to stock yet).
Personally, I don't recommend all-in-one tools because of the same reason as above, you don't learn anything if you need to do something command related or mess up.
It sounds like your phone is still bootloader locked to stock version of android but you may have have used SuperSU or some root exploit to get root previously.
All you need are 4 things:
Read and understand the guide @efrant posted for newbies: http://forum.xda-developers.com/showthread.php?t=1812959
Universal Naked Driver
ADB lite - ADB with less stuff, around 2MB
CWM or TWRP recovery img file (previous post)
When you think you are ready just post back.
Click to expand...
Click to collapse
Thanks, I'm gonna read it now!
My GN is on 4.3, with bootloader unlocked and rooted (of course) my intention with CWM is install a soundfix cuz GN has a VERY low sound and I'm missing some calls and sms all time :/
I used to have a Xperia device and I remember that root process and the installation of CWM are very easy in comparison with my GN, I thought it will be easy too.

Jerber said:
Thanks, I'm gonna read it now!
My GN is on 4.3, with bootloader unlocked and rooted (of course) my intention with CWM is install a soundfix cuz GN has a VERY low sound and I'm missing some calls and sms all time :/
I used to have a Xperia device and I remember that root process and the installation of CWM are very easy in comparison with my GN, I thought it will be easy too.
Click to expand...
Click to collapse
Should be simple for you from what is mentioned above.
After installing the drivers and adb, phone connected via usb, Steps 1-3
1. Set your phone to bootloader mode. 2 ways to do it:
A. Turn phone off, VOL+ and - and power button at same time until you see it.
B. Using PC: after adb is installed, use command terminal and go to folder it is installed in and type adb reboot-bootloader
2. In bootloader mode, flash the CWM recovery.
With your recovery .img file located in the same folder as adb and fastboot executables: in the terminal type fastboot flash recovery recovery-clockwork-6.0.4.3-maguro.img (or the toro or toroplus with the CWM image depending on your Galaxy Nexus type).
3. Boot to recovery.
Hit Vol button a few times until you see recovery on the screen while in bootloader mode, press power button to continue.
Don't forget to make a backup of stuff, including your EFS/radio folder.

Try this www.youtube.com/watch?v=foLQCNxroHw&app=desktop&persist_app=1&hl=en-GB&guid=&client=mv-google&gl=RO it's a complete guide but it's for nexus 10. Same thing with the gnex

Thanks a lot guys! I will try to do it!, something more
*I saw another option but I'm not sure if it work with the GN, some people say that a easy way is just download the app "Rom manager" from the Play Store and install the CWM from the app, what do you think about it?
*I have some little problems with stock 4.3 (for example, my bluetooth is useless :S), Do you recommend me switch to a stable CM rom (like the last official 10.2.0)?
Im not hurry for 4.4 or CM11, but I'm not sure if 10.2.0 has some bugs, anyways seems like a better option than the stock 4.3.

Related

[RECOVERY](Updated 2-8-14) Official ClockworkMod Recovery 6.0.4.7

Here is the official ClockworkMod Recovery 6.0.4.7 non-touch images and touch images for the Nexus 10 enjoy :cyclops:!
Credit goes to Koush for releasing the official ClockworkMod Recovery images
These are safe to flash via fastboot.
Non-Touch
http://download2.clockworkmod.com/recoveries/recovery-clockwork-6.0.4.7-manta.img
Touch
http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.4.7-manta.img
These can be flashed via fastboot using the following commands:
Code:
fastboot flash recovery /path/to/.img
fastboot reboot
Once again enjoy :victory:!
Note: To get the recovery to stick on reboot when Clockworkmod Recovery asks you if you want rename flash-recovery.sh or similar say "Yes", this will allow you to keep Clockworkmod Recovery installed permanently (Unless you flash a different recovery image) when you reboot your phone.
These reboot randomly as well. I've been trying to get TWRP to work, but TWRP is doing the same thing. Nothing in dmesg or last_kmsg to help either. :/
Also sdcard mount does not work nor anything reading from sdcard... only thing working is adb sideload.
Dees_Troy said:
These reboot randomly as well. I've been trying to get TWRP to work, but TWRP is doing the same thing. Nothing in dmesg or last_kmsg to help either. :/
Click to expand...
Click to collapse
zedomax said:
Also sdcard mount does not work nor anything reading from sdcard... only thing working is adb sideload.
Click to expand...
Click to collapse
Ok that is really bizare, both CWMR and TWRP are not working right and encountering similar issues regarding random reboots and mount issues. Whats odd is other people are experiencing random reboots during regular use even when not in recovery. I'm starting to believe that something Google might have to put out at fix for software wise may be needed.
So I take it no more "booting" the temporary ones posted before for the Nexus 4/Nexus 10? We can go ahead and "flash" these ones right?
zedomax said:
Also sdcard mount does not work nor anything reading from sdcard... only thing working is adb sideload.
Click to expand...
Click to collapse
i cant even get the sideload to work to get SU installed. Its driving me crazy. I keep trying it over and over again with the same result. As soon as i go over to recovery it unmounts from the computer then the sideload command fails due to computer losing connection with it. "Device not found"
Tried both CWM versions now .5 and .6
Not my first time around the block with rooting :-/
Used heimdall suite to flash my GS2.. any way to get it to push the .zip file for SU over to the phone? Push the recovery img then push the .zip maybe?
So I never even ended up trying to sideload anything, I just flashed the official recovery, then went immediately to recovery from fastboot, and once there I just flashed the SU zip and now I have root. Of course, CWMR doesn't work (i.e. if I use Quick Boot to boot to recovery it just takes me to the stock recovery, and if I try to go to recovery from fastboot manually, I just get the dead android w/red triangle).
Jayrod1980 said:
Finally got it... helped to just get the supersu on the root of the device. I used the fastboot commands to get to cwm touch and then I quickly installed it through the interface. I couldn't sideload. The device won't recognize adb when I'm in fastboot mode at all. I don't know what I was doing wrong in that instance, but using cwm briefly let me install supersu. Thanks for your help! Surprising this is so buggy considering it's a nexus... and it's not the nexus that's excluded from AOSP. Go figure!
Click to expand...
Click to collapse
I had to do it this way in order to get root. Finally.. been working on this for like 5ish hours now.. what a pain. Hopefully there will be an easier route for everyone else and a CWM that does not reboot in 20ish seconds soon. Good luck to everyone that goes this route.. it takes a lot of trial and error
snunez said:
Hopefully there will be an easier route for everyone else and a CWM that does not reboot in 20ish seconds soon.
Click to expand...
Click to collapse
I'm sure there will be, probably by the end of the weekend, if not sooner
I took apart CWM touch 6.0.1.6 and fixed reboot after 20 sec
I took the stock recovery.img from https://developers.google.com/android/nexus/images#mantarayjop40c, unpacked it, copied over the recovery binary from cwm touch 6.0.1.6 and resource files into the ramdisk... repacked it, and voila... no more reboots!
I'm sure Koush will eventually figure out what's going on with his automatic build system... my manually made recovery seems to work ok.
Please have at it (and feel free to thank me and report bugs), and if you want a tgz of my "unpacked" recovery I'll upload as well. You can also just unpack my uploaded file and see where the differences are yourself.
I've done recovery mods in the past for the G1, G2, and Gnexus when stuff like this happens when a device first comes out and recoveries have bugs in them.
Just "fastboot flash recovery $file.img" to try it out. I've got it running on my nexus 10 already and it hasn't rebooted (I succesfully installed CWM-SuperSU-v0.98.zip from http://forum.xda-developers.com/showthread.php?t=1538053 )
damien667 said:
I took the stock recovery.img from https://developers.google.com/android/nexus/images#mantarayjop40c, unpacked it, copied over the recovery binary from cwm touch 6.0.1.6 and resource files into the ramdisk... repacked it, and voila... no more reboots!
I'm sure Koush will eventually figure out what's going on with his automatic build system... my manually made recovery seems to work ok.
Please have at it (and feel free to thank me and report bugs), and if you want a tgz of my "unpacked" recovery I'll upload as well. You can also just unpack my uploaded file and see where the differences are yourself.
I've done recovery mods in the past for the G1, G2, and Gnexus when stuff like this happens when a device first comes out and recoveries have bugs in them.
Just "fastboot flash recovery $file.img" to try it out. I've got it running on my nexus 10 already and it hasn't rebooted (I succesfully installed CWM-SuperSU-v0.98.zip from http://forum.xda-developers.com/showthread.php?t=1538053 )
Click to expand...
Click to collapse
Great work! If you could post the unpacked version I'd appreciate it. I was trying to build a fixed version without success and would like to compare.
So,
Am I right in thinking...
cd to the adb tools folder where the sdk is saved.
I need to unlock the boot loader via fastboot oem.
Then copy your file to the same directory on my Mac
Then type in the command line you suggested with the correct filename?
After that I will be rooted
Swype'd at pace from my Galaxy S2
Here's my working tree
The-Kevster said:
Great work! If you could post the unpacked version I'd appreciate it. I was trying to build a fixed version without success and would like to compare.
Click to expand...
Click to collapse
I used this tool to unpack and re-pack the image: https://github.com/huaixzk/unpackbootimg.git
Attached is my current working tree as a tar.gz
Edit: the tool in that git repo is missing a step to gunzip | cpio the ramdisk... I made a shell script to do that for me when unpacking and repacking
Edit2: I added the wrapper scripts I made for posterity
damien667 said:
I took the stock recovery.img from https://developers.google.com/android/nexus/images#mantarayjop40c, unpacked it, copied over the recovery binary from cwm touch 6.0.1.6 and resource files into the ramdisk... repacked it, and voila... no more reboots!
I'm sure Koush will eventually figure out what's going on with his automatic build system... my manually made recovery seems to work ok.
Please have at it (and feel free to thank me and report bugs), and if you want a tgz of my "unpacked" recovery I'll upload as well. You can also just unpack my uploaded file and see where the differences are yourself.
I've done recovery mods in the past for the G1, G2, and Gnexus when stuff like this happens when a device first comes out and recoveries have bugs in them.
Just "fastboot flash recovery $file.img" to try it out. I've got it running on my nexus 10 already and it hasn't rebooted (I succesfully installed CWM-SuperSU-v0.98.zip from http://forum.xda-developers.com/showthread.php?t=1538053 )
Click to expand...
Click to collapse
Wow! It worked perfectly... You are a genius. No more random reboots in recovery! Thank you. I have one question... Are you able to do the same for TWRP for the Nexus 10, if possible?
Underworld79 said:
Wow! It worked perfectly... You are a genius. No more random reboots in recovery! Thank you. I have one question... Are you able to do the same for TWRP for the Nexus 10, if possible?
Click to expand...
Click to collapse
I could probably do it to TWRP as well (later today, it's sleep time for me)... however, I don't know where the latest nexus 10 recovery image is from them (considering it's not in this forum).
so can I permanently flash this now instead of fastboot?
damien667 said:
I took the stock recovery.img from https://developers.google.com/android/nexus/images#mantarayjop40c, unpacked it, copied over the recovery binary from cwm touch 6.0.1.6 and resource files into the ramdisk... repacked it, and voila... no more reboots!
I'm sure Koush will eventually figure out what's going on with his automatic build system... my manually made recovery seems to work ok.
Please have at it (and feel free to thank me and report bugs), and if you want a tgz of my "unpacked" recovery I'll upload as well. You can also just unpack my uploaded file and see where the differences are yourself.
I've done recovery mods in the past for the G1, G2, and Gnexus when stuff like this happens when a device first comes out and recoveries have bugs in them.
Just "fastboot flash recovery $file.img" to try it out. I've got it running on my nexus 10 already and it hasn't rebooted (I succesfully installed CWM-SuperSU-v0.98.zip from http://forum.xda-developers.com/showthread.php?t=1538053 )
Click to expand...
Click to collapse
Well I just flashed your version of the recovery, and after doing "fastboot-mac reboot" and rebooting, I tried rebooting to recovery via adb, and unfortunately it brought me back to the dead android red triangle screen. In fact, I can't even get to CWMR at all. Anyone else??
And to be clear, I have successfully rooted, so at this point I'm just trying to get a functioning version of CWMR on the tablet, if possible.
Did you try holding power and pressing Vol+ when booting recovery? That's how you enter stock recovery.
Randomwalker said:
Did you try holding power and pressing Vol+ when booting recovery? That's how you enter stock recovery.
Click to expand...
Click to collapse
Yeah I know that, but I'm not trying to enter stock recovery, I'm trying to enter the custom recovery (which is the supposed "stable" one by damien) which I've installed. And it only let me access CWMR immediately after flashing it. However anytime afterwards I simply cannot access it again:
1) tried "adb reboot recovery" and it brings me to the dead android w/red triangle
2) tried getting to recovery via the Quick Boot app, and the same thing happens
3) tried getting to recovery via the normal holding buttons down to get to bootloader, then going to recovery manually from there, and a no-go as well.
In the end, all that happens is I have to toggle the buttons once I get to the dead android screen, and the menu for the stock recovery appears, which allows me to reboot. But as for CWMR, it is nowhere to be found. WTF.
Did you reboot after installing CWM? If so, did you remove install.sh, that will restore the stock recovery?

[Q] Stuck in CWM Recovery

So, I got an update from Paranoid OTA app today, saying there's an update and that my ROM is outdated. So I decided to download it, since I wanted to change my ROM anyway and I wanted to check whats new. After the file has been downloaded I downloaded the gapps too and decided to flash. While in recovery I did the usual steps and the ROM wouldn't flash, giving me an error.
First the Warning label appears on the top of the Andy's head.
Code:
Warning: No file_contexts
And I get that Android logo with an exclamation mark. And it says that the installation is aborted. And after that when I try to reboot it says,
Root access possibly lost. Fix ?
Click to expand...
Click to collapse
So I pick Yes, to fix it. And it reboots into recovery again.
I tried several times and always the same,
After that I gave up and decided to just reboot my phone and boot it up. Removed the battery, cause even after "fixing" the permissions it still only reboots the recovery, and powered my device back on and again it booted straight into the recovery.
I figured maybe my CWM is a bit outdated so I need to update it. I have v6.0.1.0 so I downloaded the latest one available, v6.0.4.3.
I downloaded a new ROM and gapps for it, but I can't transfer it to my phone and I need to do it trough fastboot, right ? As well I wanted to flash new recovery I downloaded.
So I open up cmd, put my phone into fastboot and do
Code:
fastboot devices
which brings up nothing at all.
Has this ever happened to any of you and how do I fix this ?
I don't think its about faulty drivers, since this is not the first time I'm messing with my phone, but it's the first time something like this happened, never had any problems.
Any help would be great. Thanks in advance.
1. Make sure you have proper drivers installed if this is your first time using the USB cable with your Galaxy Nexus. (UND). If you used ADB without problems then skip this step.
2. You can use ADB sideload instead of usb mounting, as the later does not always work. To use ADB sideload, select it in recovery for choosing a installation, use the command prompt or terminal and go to the directory of your downloaded ROM, type adb sideload name of the rom here.zip.
Boot your phone to fastboot, (volume + - and power) with USB connected to phone and command prompt loaded to adb/fastboot folder:
fastboot flash recovery nameofcwm6.0.4.3file.img
Should most likely work for you after that, you can try flashing the zip again thru sideload.
As for your issue, some warnings are normal in later 4.4 roms. As long as you have updated to latest CWM, I believe current version is 6.0.4.3 then you are fine for now.
Fastboot commands only work in bootloader mode - the screen where you see the android and specifics about your Gnex revision/software below.
ADB commands work in recovery - CWM, TWRP, or stock etc.
If you have a backup of your PA 3.99, you could also restore it. PA 3.99 (android 4.3) is the last stable version, right now they are rolling out 4.0 Beta for KitKat (android 4.4.2) and there may be issues as you had experienced. If you want stability, just restore a 3.99 backup or install it fresh.
You truly are something mate.
Great reply. Yeah, it was about my drivers. Installed the new ones, and will push CWM to my phone now.
If I get some problems I'll report back.
Thanks a lot.
#####################
Hallelujah, CM installed and working.
Great to see it all worked out. Have a great holiday season.
You too man. You too.

[Q] Couple root questions

1. If I root my HTC One M8 with the stock rom, will I still get updates, or will I have to flash a rom everytime there is an update from HTC?
2. How can I manage folders and write to my microSD card once I root?
3. Once I root and unlock my bootloader do I have to flash a rom or will the stock one be automatically flashed? I want to remain stock just like the phone came out of the box, and get all my updates from HTC automatically. I just want to have the H/K audio enhancements and I want to be able to move things to my SD card. Thats the only reason I want to root. Any help in doing this is greatly appreciated. In fact, if someone helps me out greatly with a step-by-step by rooting,keeping stock,getting H/K, being able to write to sd, I will pay them $5 via Paypal if thats allowed here....
Oh, and I have the Unlocked version.
bhags8 said:
1. If I root my HTC One M8 with the stock rom, will I still get updates, or will I have to flash a rom everytime there is an update from HTC?
Click to expand...
Click to collapse
You will get updates.
bhags8 said:
2. How can I manage folders and write to my microSD card once I root?
Click to expand...
Click to collapse
Any root file explorer app should be fine. I use Es file explorer.
bhags8 said:
3. Once I root and unlock my bootloader do I have to flash a rom or will the stock one be automatically flashed? I want to remain stock just like the phone came out of the box, and get all my updates from HTC automatically. I just want to have the H/K audio enhancements and I want to be able to move things to my SD card. Thats the only reason I want to root. Any help in doing this is greatly appreciated. In fact, if someone helps me out greatly with a step-by-step by rooting,keeping stock,getting H/K, being able to write to sd, I will pay them $5 via Paypal if thats allowed here....
Click to expand...
Click to collapse
This question makes me believe you don't have much understanding of what rooting is and that means if something goes wrong, you will not be able to fix it. This is a dangerous. I strongly suggest doing some reading and trying to understand before you mess around (no I don't care to know how many devices you've rooted in the past). This is the only warning I will give you.
Unlock bootloader at HTCdev.com
boot to TWRP or Philz Touch (fastboot boot customrecoveryfilename.img)
Make a nandroid backup and save for just in case.
Install supersu or superuser (custom recovery should offer to install root for you, I know TWRP does, not sure about Philz Touch)
Firewater S-OFF (optional, extra dangerous, HK may not work without it.)
Install HK
Install a file explorer app capable of requesting root.
Good luck. I suggest reading the guide in my signature.
So if I flash twrp or the other one I won't flash a rom after that to keep stock right? Then if HTC pushes an ota update I would still receive it?
Sent from my HTC One_M8 using XDA Premium 4 mobile app
bhags8 said:
So if I flash twrp or the other one I won't flash a rom after that to keep stock right? Then if HTC pushes an ota update I would still receive it?
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Correct. However, after you have everything like you want it, you will need to flash the original recovery back to your device. From what I understand, the OTA updates don't work with a custom recovery.
However, you should also consider that nearly every ROM in this forum will be updated within a few days anytime a new release is pushed. I can speak from personal experience that ARHD 5.5 is nearly identical to stock. It would only then require a weekly visit to his thread to see if a new release is out. Every other Sense based ROM here would be the same. Just mentioning that you do have alternatives.
Don't flash twrp. Just boot to it. Since you're not flashing roms, no point in flashing a custom recovery.
Sent from my HTC One_M8 using XDA Free mobile app
If I never flash a custom recovery do I still have to flash the original recovery?
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Oh and do I have to get S-OFF for H/K and write to SD access??
Sent from my HTC One_M8 using XDA Premium 4 mobile app
bhags8 said:
Oh and do I have to get S-OFF for H/K and write to SD access??
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You don't need it for Sd card access
You might need it for HK as I stated earlier. If you don't understand why you might need it. read the thread I linked.
exad said:
Since you're not flashing roms, no point in flashing a custom recovery.
Click to expand...
Click to collapse
Intend to root my M8 but keep it in stock for the time being. So just rooting and booting into recovery to take backup.
I am a newbie so trying out the advantages of rooting and taking it one step at a time. As such Custom Roms are not my priority right now. Flexibility to OTA update is a priority, for which i have learnt that other than installing some basic root apps like titanium, if i decide to flash custom roms/recovery, overclock/undervolting, then i loose that flexibility.
1. Is my understanding correct?
2. I wanted to play around with xposed framework. Will installing xposed framework work against easy OTA updates?
3. Anything else i shouldn't be doing if i want easy OTA? I say easy because i do know that OTA can be achieved in a round about way even after flashing roms and all other customizations.
anjaan said:
Intend to root my M8 but keep it in stock for the time being. So just rooting and booting into recovery to take backup.
I am a newbie so trying out the advantages of rooting and taking it one step at a time. As such Custom Roms are not my priority right now. Flexibility to OTA update is a priority, for which i have learnt that other than installing some basic root apps like titanium, if i decide to flash custom roms/recovery, overclock/undervolting, then i loose that flexibility.
1. Is my understanding correct?
2. I wanted to play around with xposed framework. Will installing xposed framework work against easy OTA updates?
3. Anything else i shouldn't be doing if i want easy OTA? I say easy because i do know that OTA can be achieved in a round about way even after flashing roms and all other customizations.
Click to expand...
Click to collapse
1. yes
2. should still be able to receive OTA
3. Don't remove system apps. Use titanium backup to freeze if you don't want them running so you can unfreeze if needbe.
Tip 1
Make nandroids when you make changes so you can revert back, you can always boot into custom recovery to make and/or restore nandroids.
Tip 2
Always know how to undo what you're doing. If you don't have an undo plan, don't do it.
Hello Exad,
I am new to HTC and want to do all the necessary research before I root my phone. I have read your everything explained guide which was very helpful. As with the other users on this thread I want to gain root access but I do not want to run custom ROMs and I still want to receive OTA updates to my phone. It looks like simply booting into a custom recovery such TWRP and flashing supersu will enable root access without changing the stock recovery.
Can you explain how I boot into TWRP recovery without actually flashing it? It seems like every thread or guide I find online instructs me to flash a custom recovery. Where do I place the TWRP recovery file on my computer in order to boot into recovery?
Thank you for helping out a newbie
SouthBayBruin said:
Can you explain how I boot into TWRP recovery without actually flashing it? It seems like every thread or guide I find online instructs me to flash a custom recovery. Where do I place the TWRP recovery file on my computer in order to boot into recovery?
Click to expand...
Click to collapse
so long as you have fastboot available on your pc, , connect the phone in fastboot mode, then on the pc open a command prompt in teh folder where the recovery is(**), and issue teh command
Fastboot boot custom-recovery-name.img
that should boot you without flashing it.
** browse to the folder where it is in regular explorer, then hold shift and right click, there will be an 'open command prompt here' option in teh menu.
samsamuel said:
so long as you have fastboot available on your pc, , connect the phone in fastboot mode, then on the pc open a command prompt in teh folder where the recovery is(**), and issue teh command
Fastboot boot custom-recovery-name.img
that should boot you without flashing it.
** browse to the folder where it is in regular explorer, then hold shift and right click, there will be an 'open command prompt here' option in teh menu.
Click to expand...
Click to collapse
Thank you for the help.
If I am following correctly here are some basic steps I should follow. In order to get fastboot on my computer should I download the entire Google SDK from the google developer website. This file will then include everything I need on my computer in terms of fastboot. I should also ensure that I have all of the latest HTC one (m8) drivers installed on my computer.
Then I should download the latest version of TWRP and ensure that the file name is matches custom-recovery-name.img
I should enter fastboot mode on my phone and connect it to my computer. Following the command prompt, I will boot into TWRP recovery. Once in TWRP recovery can I disconnect my phone from the computer? I should first create a nandroid backup (as a precaution) then I should install supersu. Once I install supersu I should have root accress.
I just need to reboot my phone and it should still have the stock recovery but now with root access.
Thank you for the help
sorry, can't answer the SDK stuff, I didn't have to install any SDK, BUT it may have still been installed from when I used to flash my HD2 a few yrs ago, , or perhaps the drivers are installed when you first connect the phone in fastboot mode to teh PC?
Whichever, I certainly don't currently have the SDK installed, so it's either leftovers, or it comes with the drivers. (EDIT - i also have myphoneexplorer installed, which installs certain drivers and stuff too,,,)
try it, put the phone in fastboot, , connect it to usb, let windows install whatever drivers it feels, then open a command prompt on teh PC and type
fastboot
if it says unknown command, then its not there, if it gives you lots of lines of help info, then fastboot is installed.
Assuming it works (or once you get it working) change custom-recovery-name to say whatever your recovery is called, and it will boot the phone allowing you to perform all the normal actions. Whether or not it will allow SU to install, I don't know, i've only had the phone 2 days, and all i did was HTC bootloader unlock, flash twrp, install su, flash viperrom and done.
samsamuel said:
sorry, can't answer the SDK stuff, I didn't have to install any SDK, BUT it may have still been installed from when I used to flash my HD2 a few yrs ago, , or perhaps the drivers are installed when you first connect the phone in fastboot mode to teh PC?
Whichever, I certainly don't currently have the SDK installed, so it's either leftovers, or it comes with the drivers. (EDIT - i also have myphoneexplorer installed, which installs certain drivers and stuff too,,,)
try it, put the phone in fastboot, , connect it to usb, let windows install whatever drivers it feels, then open a command prompt on teh PC and type
fastboot
if it says unknown command, then its not there, if it gives you lots of lines of help info, then fastboot is installed.
Assuming it works (or once you get it working) change custom-recovery-name to say whatever your recovery is called, and it will boot the phone allowing you to perform all the normal actions. Whether or not it will allow SU to install, I don't know, i've only had the phone 2 days, and all i did was HTC bootloader unlock, flash twrp, install su, flash viperrom and done.
Click to expand...
Click to collapse
Thank you for the advice. I have rooted one other phone in the past and I remember using adb commands, so my computer may already have fastboot enabled.
Since I do not want to flash the custom recovery and only boot into recovery will I need to keep the phone connected to my computer while in TWRP recovery?
why would you need to unhook it? play it safe and leave it connected.
I have been using this method to boot into TWRP to re-install SuperSU after each HTC ONE M8 update. However, with the update just released (Android 4.4.3), when I issue the command it just has the phone reboot. It does not bring up TWRP. Any ideas?

[SOLVED] Installing TWRP and rooting (Currently CMR & CM 12.1)

Hello everyone, i'm pretty new to software modding (started again yesterday) but i have successfully customized my previous Nexus 4 with Cyanogenmod in the past and other things thanks to very easy guides online.
Now that the guarantee is void, i'd like to mod my Xperia Z1 Compact.
After a lot of tears and Boot Loops™ i finally managed to install Cyanogen Recovery and Cyanogenmod.
Now i'd like to switch to TWRP, as it provides Nandroid backups, which CMR does not, but i can't find any reliable source for this.
The device doesn't show up in the devices list on their website, so i'm really unsure what to do as i don't want to brick my phone :laugh:
Also pretty much same situation with rooting, there are tons of various ways to root the device but the only tool i'd trust (Flashtool) doesn't allow me to root my phone.
Again i don't know which source to trust or what to do...
Any help would be highly appreciated!
Regards, Daniel
SinusStudios said:
Hello everyone, i'm pretty new to software modding (started again yesterday) but i have successfully customized my previous Nexus 4 with Cyanogenmod in the past and other things thanks to very easy guides online.
Now that the guarantee is void, i'd like to mod my Xperia Z1 Compact.
After a lot of tears and Boot Loops™ i finally managed to install Cyanogen Recovery and Cyanogenmod.
Now i'd like to switch to TWRP, as it provides Nandroid backups, which CMR does not, but i can't find any reliable source for this.
The device doesn't show up in the devices list on their website, so i'm really unsure what to do as i don't want to brick my phone :laugh:
Also pretty much same situation with rooting, there are tons of various ways to root the device but the only tool i'd trust (Flashtool) doesn't allow me to root my phone.
Again i don't know which source to trust or what to do...
Any help would be highly appreciated!
Regards, Daniel
Click to expand...
Click to collapse
Rooting with unlocked BL is easy with adb/fastboot. Just download twrp IMG and copy it to /adb folder, and download SuperSU zip file and copy to phone. Then connect phone in fastboot mode, (power off, hold volume up, and connect cable, release volume when you see blue led), and use fastboot command 'fastboot flash recovery [name of twrp file].img'. Now you have recovery. Reboot to recovery and flash SuperSU.
Twrp download - http://forum.xda-developers.com/sony-xperia-z1-compact/general/twrp-3-0-1-amami-t3350827
SuperSU download - https://www.google.com/url?sa=t&sou...euHCzPuwbF5IscvgA&sig2=3urcTF6yAxkoYwUylGydvA
levone1 said:
Rooting with unlocked BL is easy with adb/fastboot. Just download twrp IMG and copy it to /adb folder, and download SuperSU zip file and copy to phone. Then connect phone in fastboot mode, (power off, hold volume up, and connect cable, release volume when you see blue led), and use fastboot command 'fastboot flash recovery [name of twrp file].img'. Now you have recovery. Reboot to recovery and flash SuperSU.
Twrp download - http://forum.xda-developers.com/sony-xperia-z1-compact/general/twrp-3-0-1-amami-t3350827
SuperSU download - https://www.google.com/url?sa=t&sou...euHCzPuwbF5IscvgA&sig2=3urcTF6yAxkoYwUylGydvA
Click to expand...
Click to collapse
@levone1 Thank you very much! Everything has worked flawlessly =)
Hi guys. I already flashed the twrp on this thread but; how can i flash another recovery? Do i need to just flash it again the same way i flashed the first recovery? Will it overwrite the old one automatically? Thanks for the answer. I'm just new to this so i just want to make sure.
Maximuous said:
Hi guys. I already flashed the twrp on this thread but; how can i flash another recovery? Do i need to just flash it again the same way i flashed the first recovery? Will it overwrite the old one automatically? Thanks for the answer. I'm just new to this so i just want to make sure.
Click to expand...
Click to collapse
yes. you probably want to flash it in flashmode or with flashfire, ive broken my recovery a couple times now and got it to work again. flashing a recovery image will wipe the recovery partition eg the previous rec

I installed 7.1.1 by mistake. What now? Help

I bought my 5X in October and came here to root my phone and be able to use the ElementalX and the Advanced Interactive Governor tweaks.
Everything was working fine and my phone really performed outstandingly.
Then I saw the OTA 7.1.1. popping up. I didn't allow it until I installed it by mistake yesterday...
Now I'm stuck with google asking me to lock the bootloader.
I can access the bootloader. I get a lot of options.
I can access the recovery mode and it gets me to RecoveryProject 3.0.2-2 by Teamwin.
I already have the Android platform tools on my desktop and it's working.
From there I have 2 questions :
1. Is there a way to not wipe all the contents on my phone? I didn't get the chance to backup all the data on it.
2. After that how can I get my phone working with the latest android version as I was before, unrooted and running with EX Kernel Manager.
Thanks for your help.
1. try installing the supersu zip from the recovery
2.EX Kernel Manager cannot work without root. so you need to root your device
Thanks a lot for you answer!
1. So by installing SuperSu zip from the recovery I would be able to backup my phone data?
2. I meant rooted sorry. So my phone is already rooted and I'm fine with staying that way.
Enzoli said:
Thanks a lot for you answer!
1. So by installing SuperSu zip from the recovery I would be able to backup my phone data?
Click to expand...
Click to collapse
yes
you can actually backup you device from TWRP recovery.
flash the supersu zip and you will boot normally without any data lose
Insane! thanks a lot.
One more noob question. I got the latest superSu zip.
How can I flash it from the recovery?
How can i transfer it to the phone?
Ok I almost got it.
My only question left is how can I transfer the SuperSu zip file onto my phone since I don't have access to anything else than Bootloader and TWRP
Enzoli said:
Ok I almost got it.
My only question left is how can I transfer the SuperSu zip file onto my phone since I don't have access to anything else than Bootloader and TWRP
Click to expand...
Click to collapse
adb sideload from twrp
OK guys thanks. When I use adb sideload in twrp advanced menu it gets stuck on "Starting ADB sideload feature... "
And when I type ADB devices on the command prompt it does not show my device but if I'm just in the menu before sideload it does find my device and says the serial number + recovery.
What am I doing wrong?
Thanks for helping.
You should be able to transfer files while being in recovery using MTP mode.
How do I use MTP mode? Sorry what does that mean. Can't find an explanation on the internet.
I've looked at all the options in the menu but can't find such a option.
I really feel stupid.
Ok guys I transfered SuperSu to my phone using adb push.
I flashed my phone with SuperSu but when i reboot my phone, it still tells me I need to lock my bootloader.
What shall I do now?
I keep going to the Googl screen with the little locker and then I reach the No Command screen.
The phone won't boot into Android no more. Guys please help I'm desperate. Is my phone dead?
Ok so I guess my phone is now in bootloop.
Still anyone willing to help?
OK I tried many things in despair and now I cannot enter the recovery mode anymore. It just gets stuck on the teamwin screen.
Guess it's time to buy a new phone.
So miracle I could enter the recovery.
Now I don't know where to go. I would like to be able to enter normal android but my phone will keep on showing android screen with little lock and the end on the No command screen. Endlessly.
Ok. THread can be closed. I managed to flash a factory image. Lost all my data but I got a working phone so I guess it's not to bad.
...
Enzoli said:
Ok. THread can be closed. I managed to flash a factory image. Lost all my data but I got a working phone so I guess it's not to bad.
Click to expand...
Click to collapse
If you ever need help on updating your software to the latest Android version, follow my guide as a reference:
https://forum.xda-developers.com/showthread.php?t=3206930
Sent from my Nexus 5X using Tapatalk

Categories

Resources