[HOW TO] Get custom recovery extremely noob proof. - HTC Amaze 4G

THINGS TO NOTE:
1. YOU MUST UNLOCK BOOTLOADER FIRST, THEN FOLLOW THESE INSTRUCTIONS
2. AFTER YOU FOLLOW THESE INSTRUCTIONS YOU STILL NEED TO GET ROOT, YOU ARE NOT ROOTED, YOU JUST HAVE A CUSTOM RECOVERY
3.BEFORE YOU DO ANYTHING DO THIS ON YOUR PHONE
1. Go to Settings --> Applications --> Development --> Check Dubugging
2. Take out the battery from the back of your phone and insert it back in
3. hold down volume down and power button. wait until you see a screen with options
4. Use the volume buttons to go up and down...go down and select fastboot, and press power button to select it.
5. plug in your usb to your phone.
how to use command prompt:
-windows 7: start button > type in "cmd" without quotes
-windows vista and xp: start button > Run type in "cmd" without quotes
You need to be familiar with windows file system. There are directories and files
now you can go to any directory you want. Let say you want to go to your android directory that's in c:\user\seansk\android\
type: cd c:\user\seansk\android\
if you want to go back to c:\ directory
type: cd c:\
How to get custom recovery using command prompt:
download the attached .zip file provided by Binary I have also attached it here
PUT ALL THE FILES INSIDE THE ZIP FILE INTO C:\Android
to do this: click start click on "computer" or "my computer" depending on your windows version.
Then click on the main drive usually it is c:
right click in an empty area and create a new folder and call it android
now take all the files inside the zip file i have attatched and put them in the android folder
go to command prompt like showed you above: go to c:\android directory like I showed you above: if you forgot here's how AGAIN
type cd c:\android
now type this: fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
your command prompt should now look like this:
c:\Android>fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
PRESS ENTER, your phone will install the custom recovery
once it is done
type: fastboot reboot
Done.

seansk said:
how to use command prompt:
-windows 7: start button > type in "cmd" without quotes
-windows vista and xp: start button > Run type in "cmd" without quotes
You need to be familiar with windows file system. There are directories and files
now you can go to any directory you want. Let say you want to go to your android directory that's in c:\user\seansk\android\
type: cd c:\user\seansk\android\
if you want to go back to c:\ directory
type: cd c:\
How to get custom recovery using command prompt:
download the attached .zip file provided by Binary I have also attached it here
PUT ALL THOSE FILES INSIDE THE ZIP FILE INTO C:\Android
to do this: click start click on "computer" or "my computer" depending on your windows version.
Then click on the main drive usually it is c:
right click in an empty area and create a new folder and call it android
now take all the files inside the zip file i have attatched and put them in the android folder
go to command prompt like showed you above: go to c:\android directory like I showed you above: if you forgot here's how AGAIN
type cd c:\android
now type this: fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
your command prompt should now look like this:
c:\Android>fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
PRESS ENTER, your phone will install the custom recovery
once it is done
type: fastboot reboot
Done.
Click to expand...
Click to collapse
Nice but I can't find the seansk directory. What am I doing wrong?

Binary100100 said:
Nice but I can't find the seansk directory. What am I doing wrong?
Click to expand...
Click to collapse
You should try to find it by looking around your bedroom...maybe you'l find a folder named seansk on it!!! feel free to add it to your how to pages!!!

seansk said:
You should try to find it by looking around your bedroom...maybe you'l find a folder named seansk on it!!! feel free to add it to your how to pages!!!
Click to expand...
Click to collapse
Nevermind. I found it. It was the one with your mothers pictures in it.
Yeah I went there. LOL!

Binary100100 said:
Nevermind. I found it. It was the one with your mothers pictures in it.
Yeah I went there. LOL!
Click to expand...
Click to collapse
you have the wrong folder start over you need to unlock the drawer[bootloader] first

seansk said:
you have the wrong folder start over you need to unlock the drawer[bootloader] first
Click to expand...
Click to collapse
Oh no I don't. This works just fine.

Binary100100 said:
Oh no I don't. This works just fine.
Click to expand...
Click to collapse
crap I forgot to add they should start fastboot...time to edit again

Related

[Q] Stuck at the flash recovery part of rooting directions

Facts:
Laptop connected to my phone uses Ubuntu linux
Unlocked my Amaze successfully
I have the RecoveryInstallerForNoobs2.0
I have chmod'ed all the pertient files to be executable
With phone in fastboot mode, doing 'sudo ./fastboot devices' returns the serial number
Problem:
'sudo ./Flash.sh' returns the following output:
./Flash.sh: 1: adb: not found
: not found 2:
Additional facts:
I am a n00b and I am aware my life's output at age 32 is dismal
I have read the "read first for linux..." thread, "how to root" thread and the "faq before posting" thread
I have searched the site but possibly not hard enough, ergo my own impudent thread
What to do??
Is debug on in your phones settings?
Sent by accident from my Amaze using Tapatalk
Double0EK said:
Is debug on in your phones settings?
Sent by accident from my Amaze using Tapatalk
Click to expand...
Click to collapse
what he said turn on debugging on your phone. also make sure the zip file is unzipped into a folder
Debugging is on in the settings and the recovery for noobs zip is unzipped.
I flashed mine manually using the fastboot command...
But I only know how to do it with a windows machine.
Put the recovery.img in your AndroidSDK/tools folder , open cmd , cd to the tools folder and type "fastboot flash recovery recovery.img" being if you renamed it to recovery.img..(if it wasn't renamed then you need to type the name of the recovery img.)
Sent by accident from my Amaze using Tapatalk
ryurage said:
Debugging is on in the settings and the recovery for noobs zip is unzipped.
Click to expand...
Click to collapse
don't go to fastboot, the script should automatically kill and restart the adb shell...just turn on your phone and run flash.sh... if that doesn't work Rename the shellscript from flash.sh to flash.command, then associate it with Terminal.app
let me know if those work, if not, I've got some other tricks but it's a little bit more complicated.
@seansk, I renamed the file and tried it with the same resulted output:
./flash.command: 1: adb: not found
: not foundmand: 2:
Btw, I run the flash script one of two ways, 1. sudo ./flash.command or 2. bash flash.command
I could be wrong but I think the issue possibly lies in the script:
adb kill-serveradb reboot bootloaderfastboot flash recovery recovery-cwm-ruby-5.0.2.7.imgfastboot rebootexit
Perhaps adb has to be in my PATH? I'm open to other suggestions too.
One more thought, assuming the adb daemon is shut down, maybe this command would do it: 'sudo ./fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img'?
hmm that thing has been up for months...I've only had two people having trouble and havn't heard back from the other guy...so I hope there's nothing wrong with the scrip...I will look into it again...unfortuantely my vitual machine for mac is down right now, don't know when I'll get it back up and running...
try these
1)To start the shell-script 'file.sh':
sh file.sh
bash file.sh
2)Another option is set executable permission using chmod command:
chmod +x file.sh
Now run .sh file as follows:
./file.sh
ultimately if you have a windows computer it would be much easier...or if you can also here's the new recovery from xboarder I havn't updated this zip file yet... you can edit the recovery script to change the name to this file name: recovery-cwm-ruby-5.5.0.4.img
if all else fails follow the second method here from xboarder (you need an sd card): http://forum.xda-developers.com/showthread.php?t=1316855
Download file to your computer
2. make sure its named PH85IMG.zip
3. Copy to sdcard (external one) then restart your phone in fastboot, by holding down the volume down and power.
4. Wait for it to say do you want to update (press volume up)
5. Press power button to reboot
6. Reboot Phone into recovery as normal and enjoy clockworkmod recovery with fixed charging and sdcard

Step by Step for ADB Push

I soft bricked my One. I have a rom to flash but have no idea how to push it via adb. I am downloading the Android SDK now but can someone point me to a very clear step by step tutorial on how to push via adb? Everything I find on the internet seems to be geared to those who are already familiar with command prompts. I am not.
thank you.
I wrote a primer about a year ago
http://forum.xda-developers.com/showthread.php?t=1754018
most of the instructions are universal though.
gunnyman said:
I wrote a primer about a year ago
http://forum.xda-developers.com/showthread.php?t=1754018
most of the instructions are universal though.
Click to expand...
Click to collapse
Thanks for the response, but I need to back up a little bit.
I go to start, type in cmd and then what? I have to switch users?
garment69 said:
Thanks for the response, but I need to back up a little bit.
I go to start, type in cmd and then what? I have to switch users?
Click to expand...
Click to collapse
Can somebody please help me. I have to get this phone up and running today.
garment69 said:
Thanks for the response, but I need to back up a little bit.
I go to start, type in cmd and then what? I have to switch users?
Click to expand...
Click to collapse
I cant get adb installed on my computer I think. When I go to start, cmd and type adb i get "adb is not a recognized command".
Run adb from the directory you installed it. Also on a mac put a./ dot slash in front of the command
garment69 said:
I cant get adb installed on my computer I think. When I go to start, cmd and type adb i get "adb is not a recognized command".
Click to expand...
Click to collapse
When I try and install the ADB exe from the zip file provided in your tutorial it says unable to start because ADBWinApi.dll is missing from my computer.
gunnyman said:
Run adb from the directory you installed it. Also on a mac put a./ dot slash in front of the command
Click to expand...
Click to collapse
Run adb from the directory I installed it? How?
garment69 said:
Run adb from the directory I installed it? How?
Click to expand...
Click to collapse
Find adb.exe in your hard drive. When you downloaded the sdk you unzipped the files somewhere.. I'm assuming you didn't add the path of adb.exe to your environment variables (if you did you would be able to type in adb commands from any directory in cmd prompt).
So navigate to driveletter:\adbdirectory\
From this directory you should be able to type in adb and get feedback
Sent from my HTC One using xda premium
born_fisherman said:
Find adb.exe in your hard drive. When you downloaded the sdk you unzipped the files somewhere.. I'm assuming you didn't add the path of adb.exe to your environment variables (if you did you would be able to type in adb commands from any directory in cmd prompt).
So navigate to driveletter:\adbdirectory\
From this directory you should be able to type in adb and get feedback
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
I found the adb.exe and I ran it. A cmd window popped up for a second then vanished. I have no adb directory that I can find.
garment69 said:
I found the adb.exe and I ran it. A cmd window popped up for a second then vanished. I have no adb directory that I can find.
Click to expand...
Click to collapse
You don't run adb as an application, you run it in command prompt as an MS Dos command.
Adb is located in the tools directory of the sdk..not necessarily it's own directory. I was just saying to navigate to where that directory is from within cmd prompt.. I.e if adb.exe was located in c:\android, you would go to "cd c:\android" then run "adb commandhere"
Sent from my HTC One using xda premium
born_fisherman said:
You don't run adb as an application, you run it in command prompt as an MS Dos command.
Adb is located in the tools directory of the sdk..not necessarily it's own directory. I was just saying to navigate to where that directory is from within cmd prompt.. I.e if adb.exe was located in c:\android, you would go to "cd c:\android" then run "adb commandhere"
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
thank you. I found a tutorial which instructed me to put the destination folder into environmental variables. Then I was able to get it to work.
Minor miracle I was able to get it to work!

omg! cant root jetstream help!!!!!!!!!!!!!!!!!

my jetstream when i purchased it was
unlocked , s-off and cwm was installed but
when i try app-rootneeded they say my devices is not rooted is this possible at all?
and when try to root doomlord method:
1. adb&fastboot (11MB) extracted from sdk(downloaded work good & root in C:\Android)
2. JETSTREAM-DooMLoRD-insecure-kernel-autoroot-test2-boot.img(renamed insecure.img and copy to C:\Android )
3. DooMLoRD_v2_ROOT-busybox-su
4. htc driver (find in fastbootdevices cmd and htcsync)
5. usb debbug mode
and it says
" cannot load "insecure.img" : no error "
Usually, that's because the cmd window was not opened in the adb folder where the image is located. Did you use the change directory command (cd)? Or if using Windows 7, try holding shift & right mouse click in the folder to run cmd from that folder.
also, if you search "cannot load: boot.img no error" - you'll get a lot of hits in google.
guru_shastri said:
Usually, that's because the cmd window was not opened in the adb folder where the image is located. Did you use the change directory command (cd)? Or if using Windows 7, try holding shift & right mouse click in the folder to run cmd from that folder.
also, if you search "cannot load: boot.img no error" - you'll get a lot of hits in google.
Click to expand...
Click to collapse
Thanks for replying
i dont know how can i do change directory CD?
i realy want know how clockworkmod cwm installed on my device? (without root)
external microSD needed?(for rooting)
guru_shastri said:
Usually, that's because the cmd window was not opened in the adb folder where the image is located. Did you use the change directory command (cd)? Or if using Windows 7, try holding shift & right mouse click in the folder to run cmd from that folder.
also, if you search "cannot load: boot.img no error" - you'll get a lot of hits in google.
Click to expand...
Click to collapse
omg it load insecure and rooted
thanks a lot
strartin cmd from c: solve problem (Rclick and start cmd here !!!!!!!!!!!!!!!!!!)
i didnt knew that
thanks thanks thanks thanks thanks thanks thanks thanks thanks
congrats!

Install 4.4 ROM on VZW G2: ALL STEPS?

I am very new to the android world, seeing as I am a recent iOS convert. However, I am still struggling with all the terminology and technicalities of android and require assistance (perhaps a lot! :cyclops.
I have managed to root my G2 (VERIZON MODEL) but am stuck there. I do not know how to install CWM or TWRP, nor install any custom ROMs like CM or Gummy.
So will anyone be kind enough to guide me through the process? Thank you.
P.S.
I have searched through the threads in this forum regarding installing custom ROMs and am still confused.
from this thread here
http://forum.xda-developers.com/showthread.php?t=2449670
first download twrp for your device, http://techerrata.com/file/twrp2/g2vzw/openrecovery-twrp-2.6.3.3-g2vzw.zip
plug the phone to the computer, make sure u have usb debugging on in developer settings of phone
since you are already rooted, place that file recovery img to the IOROOT folder.
once done, rename the recovery file to recovery.img
one done, CONTROL + SHIFT + RIGHT CLICK, OPEN COMMAND PROMPT HERE
then type this
adb push recovery.img /data/local/tmp/recovery.img
adb shell
(IF YOU DONT SEE A # prompt on your phone, type su in the command prompt to get it then allow it on phone. once thats done then contine onto next step blow.)
cd /data/local/tmp
dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
adb reboot recovery
once its complet just reboot the phone and you should have twrp installed!
once twrp is installed, you can dl the verizon version of paranoid android here
http://downloads.codefi.re/houstonn/kitkat/G2/PA/vs980/pa_g2-4.0-ALPHA-20131205-vs980.zip
and
http://www.androidfilehost.com/?fid=23252070760973599
dl the file, drag the files to the phone, dont place into any folder though.
to install, go to the ioroot folder again, control shift right click open prompt again, type adb reboot recovery
phone should reboot to recovery, go to settings, then select USE RM-F instead of formatting, then go to wipe, advance, select dalvik cache, system, data, and cache. IMPORTANT DO NOT SELECT INTERNAL STORAGE!!!
then swipe to wipe
then go to install then install the paranoid android download first, once its installed, hit the back button on the botom right, then install the GAPPS, then reboot the device your done.
Or you could just download the recovery.img that u choose, and flash it using the app called "Flashify". Easiest way by far and works perfectly for me everytime, using both TWRP and CWM whenever I need.
Once you have that done, installing a ROM such as GUMMY is fairly simple since it usually has the instructions right there in the OP of the thread. Pretty straightforward.
expertzero1 said:
from this thread here
http://forum.xda-developers.com/showthread.php?t=2449670
first download twrp for your device, http://techerrata.com/file/twrp2/g2vzw/openrecovery-twrp-2.6.3.3-g2vzw.zip
plug the phone to the computer, make sure u have usb debugging on in developer settings of phone
since you are already rooted, place that file recovery img to the IOROOT folder.
once done, rename the recovery file to recovery.img
one done, CONTROL + SHIFT + RIGHT CLICK, OPEN COMMAND PROMPT HERE
then type this
adb push recovery.img /data/local/tmp/recovery.img
adb shell
(IF YOU DONT SEE A # prompt on your phone, type su in the command prompt to get it then allow it on phone. once thats done then contine onto next step blow.)
cd /data/local/tmp
dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
adb reboot recovery
once its complet just reboot the phone and you should have twrp installed!
once twrp is installed, you can dl the verizon version of paranoid android here
http://downloads.codefi.re/houstonn/kitkat/G2/PA/vs980/pa_g2-4.0-ALPHA-20131205-vs980.zip
and
http://www.androidfilehost.com/?fid=23252070760973599
dl the file, drag the files to the phone, dont place into any folder though.
to install, go to the ioroot folder again, control shift right click open prompt again, type adb reboot recovery
phone should reboot to recovery, go to settings, then select USE RM-F instead of formatting, then go to wipe, advance, select dalvik cache, system, data, and cache. IMPORTANT DO NOT SELECT INTERNAL STORAGE!!!
then swipe to wipe
then go to install then install the paranoid android download first, once its installed, hit the back button on the botom right, then install the GAPPS, then reboot the device your done.
Click to expand...
Click to collapse
So I take it that I put the "ioroot10" file into my phone over the USB, then extract the files of the TWRP file, then place the extracted TWRP file inside of the ioroot10 file? Also, I did the control+shift+right click, but there is not OPEN COMMAND PROMPT option. Sorry for all the questions..
dlee96 said:
So I take it that I put the "ioroot10" file into my phone over the USB, then extract the files of the TWRP file, then place the extracted TWRP file inside of the ioroot10 file? Also, I did the control+shift+right click, but there is not OPEN COMMAND PROMPT option. Sorry for all the questions..
Click to expand...
Click to collapse
no, you place the recovery.img to the ioroot10 folder, ioroot10 stays on your computer.
control + shift + right click = open command window here
Just use flashify its free n so much easier
the definition of open: “mkdir android ; cd android ; repo init -u git:// android.git.kernel.org/platform/manifest.git ; repo sync ; make" gansta mic drop

How to unpack recovery.img?

How can I unpack recovery.img? I am running linux on my PC.
Well I found a way, so thought that I should share it with all.
You need dsixda's Android Kitchen and recovery.img of any phone you want to unpack.
I am running a linux pc.
You can look for installation steps in following thread:
https://forum.xda-developers.com/showthread.php?t=633246
Open a terminal.
Type the following command to go into the directory of android kitchen
For example, I have to go in this path using terminal
/home/augustoandro/Android/android-kitchen , then I type
cd /home/augustoandro/Android/android-kitchen
Click to expand...
Click to collapse
After that
./menu
Click to expand...
Click to collapse
Now choose ADVANCED OPTIONS by entering the no. in front of the option.
Now, select "unpack/repack boot.img" option in the same way.
Now, enter "a".
A folder would be created in the android kitchen folder. In my case, /home/augustoandro/Android/android-kitchen/boot-img-64647470
Copy and paste the recovery.img file in the new folder.
Go back to the terminal and press enter.
The recovery.img file would be unpacked in the same folder.
You can look for it using the file explorer.
Hit thanks button if found useful

Categories

Resources