yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] Binary100100:
Step #2 - Unlocking your bootloader

Copied from this thread by Revolution

Go to HTCDev.com

Make a account , here then go to this link and follow all instruction's , but make sure you go to this link , it don't show us as a supported device but this work's for all device's me & crackeyes have tried this .

Go to this link after that : here , follow all the step's , below will be my version .

1) Remove and reinsert the battery.

2) Press Volume Down and Power to start the device into Bootloader mode.

3) Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button.

4) Connect the device to the computer via a usb cable

5) Make a folder in c:\ called Android & then input the file's from your android SDK their , such as

adb.exe

AdbWinApi.dll

fastboot.exe

6) Open up command prompt. ( Start > Run > Type CMD,). The window that appears is called Command Prompt.

7) Navigate to where you unzipped the ZIP file and go to the folder you just created (For Example: If you created the folder in C:\Android, then you would type in Command Prompt: cd c:\Android).

8) Type in Command Prompt: fastboot oem get_identifier_token.

9) You will see a long block of text. Copy and paste this text into the the token field below (in the command prompt: Right Click > Mark > highlight the block of text > Right click to copy).

10) Paste this string of text into the token field and hit Submit in order to receive your unlock code binary file. You will receive this information in your email.

Example:

11) On the bottom of http://www.htcdev.com/bootloader/unlock-instructions/page-3 , please input your result's & if it say's failed keep on trying & it will go threw .

Straight from HTCDev.com , & NOTE : THIS WILL VOID YOUR WARRENTY

Once you have unlocked your bootloader you can make changes to your /system partition.

The majority of you will probably never need to do this. This is because most developers use flashable zip files that will do everything for you. These files are flashed from Recovery Mode.

Let's move on to step #3
[HTC Amaze 4G] Binary100100:
Step #3 - Installing Custom Recovery

Now that you have unlocked your bootloader you can now obtain root.

The easiest way to do this would be by installing a custom recovery.

I created a simple bat script that should update your recovery for you.

Boot up your phone and connect it to your computer by usb cable.

Go to Settings --> Applications --> Development.

Check USB debugging.

Unzip the attached file and run the Flash.bat file as Administrator.

Your phone should reboot and go to a white screen.

It should update the recovery for you automatically and reboot.

Now you should have yourself a custom recovery. :)

If by chance you decide that you would like to revert to the custom recovery then use the same technique with the STOCK_RECOVERY_FLASHER.zip file.

If a .bat script isn't your thing then try this thread: [TOOL] HTC Amaze 4G All-In-One Toolkit by Hasoon2000
[HTC Amaze 4G] Binary100100:
Step #4 - ROOTING!

Now that you have your custom recovery installed it's time to flash root onto your phone.

Download a custom rom from the Development section or the HTC Amaze ROM Bible and store the zip onto your external sdcard.

If you do not want a custom rom but just want root simply download the attached Superuser-3.0.7-efghi-signed.zip file.

If you do not have an external sdcard then store it onto your internal sdcard.

The custom recovery from step #3 will default to an external sdcard if it's detected.

If the custom recovery from step #3 does not detect an external sdcard then it should default to your internal.

Now there are a couple different ways to reboot to recovery. The best way is to open the command prompt up and navigate to either directories from posts 1 or 2 that contains the adb.exe file.

For example this is from post #2.

If you stored it to your desktop directory then it would be something like:

C:\Users\Binary100100\Desktop\RecoveryInstallerForNoobs

so you may have to enter:

cd Desktop\RecoveryInstallerForNoobs

Now enter "dir" into the command prompt and press Enter and you should see something like:

As long as you see adb, adb.exe, adbWinApi.dl and AdbWinUsbApi.dll you should be good to go.

Now without leaving the command prompt enter:

adb reboot recovery

Your phone should reboot and you should be looking at your recovery.

If for whatever reason you couldn't get access to recovery then go back to bootloader mode.

Remove the battery and put it back in. This is to make sure the device is completely powered off. Hold the Volume Down button while pressing power to get back to hboot mode. Just like step #1. Now if you don't see Recovery in the list then select BOOTLOADER. You should now see RECOVERY. Select that and your phone should reboot to recovery from there. Now that I know you're in recovery... let's move on.

From here you can flash your custom rom or root files.

Use the volume rocker buttons to move the highlight up and down the menu and highlight "Install zip from sdcard" then press the power button to select.

Now "choose zip from sdcard" then press power button again.

Highlight the downloaded custom rom or the Superuser-3.0.7-efghi-signed.zipfile and press power again. From here I think you have the idea.

Select the appropriate zip file and press the power button to install.

Now you can go back and then select "reboot system now" and let your device boot up.

Check the app drawer and make sure you have an app called SuperUser. If you have this app then you now have root. ;)
[HTC Amaze 4G] Binary100100:
If you followed the instructions like you were supposed to you should be fully rooted and unlocked the full potential of your HTC Amaze 4G phone.

Feel free to post your questions and comments here in this thread.

PLEASE! don't send me private messages asking for help. I just spent two hours making this as simple as I could to save me from all of the help requests. If you have problems then post in this thread and make sure to reference the step that you're having issues with.

Example:

Then I'm sure you will get plenty of help.

Remember to hit the thanks button to show your appreciation. ;)
[HTC Amaze 4G] seansk:
Thanks was wondering where the old sticky thread went!!! hopefully less questions with this one...It's much more clear.
[HTC Amaze 4G] Binary100100:
Which is exactly why I made it. Unfortunately the members that just got the device couldn't use the old PH85IMG.zip method because of the Main Version Older error and they couldn't use the tool that xboarder56 made because I had to remove it per request. I didn't want to make a tool that would do everything because then they would never learn for themselves. So I feel that this is a healthy balance.
[HTC Amaze 4G] seansk:
good Idea I am having lots of flashing problems since 1.3 too, I didn't want to unlock it and I OTA'd...but then couldn't stand the bloatware and wanted more...now I'm having all kinds of problems, including kernel. so now If you could help me with the kernel, I posted question in general section, I'm kind of a semi-noob with kernels!!!!! lol :D
[HTC Amaze 4G] Binary100100:
Give me the link to your question and I'll do what I can to help.

Do you have access to fastboot and an unlocked bootloader?
[HTC Amaze 4G] seansk:
Yes, I'm familiar with all that stuff..unlocked and can get into fastboot. custom recovery is intact as well. here's the link: http://xdaforums.com/showthread.php?t=1424757 post 8 and this almost the same http://xdaforums.com/showthread.php?t=1328141&page=10 post 92....thanks you much in advance
[HTC Amaze 4G] jimczyz:
Great job on this Binary!
[HTC Amaze 4G] seansk:
IF PEOPLE HAVE PROBLEMS...you can always message me as well. BUT MAKE SURE TO READ AND FOLLOW DIRECTIONS FIRST...I'm am very familiar with all these procedures as well, just to take a load of binary and xboarder's backs...
[HTC Amaze 4G] Binary100100:
Thank you very much! I don't have time to be 24/7 tech support. ;)
[HTC Amaze 4G] marleyfan61:
Agreed. I wish this thread had been here when I rooted. It would have saved my hunting through 3 or 4 threads and trying to piece things together myself. Of course, I probably learned more that way.
[HTC Amaze 4G] Binary100100:
I always encourage people to never stop learning.

When I see a script I like to open it up and see what's inside.

Knowing how things work is a great way to learn for yourself.

Before you know it, you'll be making guides like this! At the very least you'll be the A instead of the Q if you know what I mean. :D
[HTC Amaze 4G] seansk:
We both have the same curiosoty Binary...I alway open random files and probably break things before I fix them lol...my first computer was a packard bell 486 dx2 66 in 1993 I think. I learned everything I know by myself...including a lot of dos which we still use today for android :). good old windows 3.1
[HTC Amaze 4G] andyb0308:
Thanks a million!

I had lost my root to the most recent OTA update from t-mo, obviously I'm a noob when it comes to root only, everything else electronic wise I got the hang of. I'm not the type of person that likes things handed to me I prefer given the basic and expanding my knowledge from there, knowledge is a beautiful thing! I'm back rooted and again thanks for this post!
[HTC Amaze 4G] Binary100100:
I'm glad that you found it helpful.
[HTC Amaze 4G] Marquis63:
May be a Noob ? but I'm wondering since I use my phones hotspot to get internet on my laptop, if I can do this without the sim card in the Amaze, while using my other phones hotspot? I've searched and found no mention of this, thanks for the great guide.
[HTC Amaze 4G] Binary100100:
As long as you have a PC connected to download the required files.
[HTC Amaze 4G] Jaimesco12:
got you man just one question how the hell do i flash a kernel ive been searching it around the forum and no luck. Also so why do you want to be one of the experts in these forums if your not going to help out, i mean the more you teach the more you learn but i guess you guys here at xda arent to helpful. Anyways as i said if you have a lot of knowledge about this why note share it but i mean i guess your right about noobs being able to search it up themselves but wateves man.
[HTC Amaze 4G] Nickdroid86:
I'm not a noob, I've done this before, and rooted plenty of phones. I even did quite a few searches, I'm baffled by WTF is going on. Obviously, I've tried everything obvious.
[HTC Amaze 4G] :
All the knowledge I have (which isn't as much as u give me credit for) came from hundreds of hours of reading, experimenting, soft bricking, panicking, and sweating out processes.

I have shared ALL OF MY KNOWLEDGE within the Amaze forum. Most of it multiple times. So hoarding knowledge is something I am not doing. If I learn everything in this forum and android-dev.us, then technically I had to have found the info somewhere... Right? And if I ever found anything out myself, I always post it.

The ONLY obligation I have is to the 4ext thread (WHICH FLASHES THE KERNEL A.K.A BOOT.IMG IN RECOVERY AUTOMATICALLY WHEN YOU FLASH THE ROM. That's how u flash a kernel dude).

Sent from my exhausted So Icy HTC Ruby
[HTC Amaze 4G] YungMage:
That ROM is a ICS ROM you have to flash new Hboot He said so in his post.
[HTC Amaze 4G] YungMage:
Lol. Hey Glacier I was wondering if you knew anybody that switched over to ICS and their 32 gb card wasn't noticed by CWM 5.8.0.2. I just flashed 4EXT after I got tired of reflashing recovery. Great Job on that btw
[HTC Amaze 4G] :
Yes I've read that issue. Format the sd card using PC... Should fix it :D

Sent from my iced out HTC Ruby
[HTC Amaze 4G] YungMage:
I did quick and full format. Was a no go but flashing this recovery fixed it.
[HTC Amaze 4G] medmansri:
I just updated to the Stock 4.0(leaked rom). All I want to do is root so I can remove all the Tmobile bloatware. Nothing else, just root. Would I just follow the guide on the first page and be done or is there anything else I should do? thanks.

EDIT: NM, just done it! Rooted and good to go. Thanks guys.
[HTC Amaze 4G] Jaimesco12:
i got 4ext recovery controll the app the it tells me to install 4ext recovery but all of them are reference and testing
[HTC Amaze 4G] YungMage:
yea just dl the first one on list it is now stable.
[HTC Amaze 4G] Jaimesco12:
it doesnt give the option to download

their all in reference and it doesnt give me an option to download

also s-on is on my device but its unlocked
[HTC Amaze 4G] :
Open app

Online install upgrade (may have to push twice if a popup comes up)

Click yes to HTC Amaze.

Install testbuild 97

Click yes to s=on prompt

Done

:D

Sent from my iced out HTC Ruby
[HTC Amaze 4G] Jaimesco12:
done so wat can i do with this is it just like cwm
[HTC Amaze 4G] :
Way better. Check out the OP in my thread for it in dev section

Sent from my iced out HTC Ruby
[HTC Amaze 4G] Jaimesco12:
so hows this gonna help me install energy 4-27-12 i have s=on
[HTC Amaze 4G] :
Depends if you've flashed the ics update from Football's thread in dev section. Look around :D

Sent from my iced out HTC Ruby
[HTC Amaze 4G] Jaimesco12:
ive been looking around i installed the faux kernel and i want to make s-on off but it seems a little complicated anyways what is the best rom for gaming i dont care about appearence i just want a good rom that can play hardcore games like MC3 smoothly. Im just upset that my old droid x2 with dual core processor and tegra 2 get a higher benchmark at 2900 and i get 2700 avarege on my htc when it is 1.7ghz is there anyway to make it faster
[HTC Amaze 4G] xMoore:
Thanks :D!
[HTC Amaze 4G] newguy12341:
nvm about my previous question.

But now with the TWRP recovery, i cant seem to see the SU file i put in BOTH interior and exterior drives. any suggestions? I just downloaded the file and put in the phone since the guide did not mention anything about name changing.
[HTC Amaze 4G] chivaslopez:
my phone says its connected but the cmd thing says "waiting for device"

what am i suppose to do??
[HTC Amaze 4G] Fitzylb:
Stuck after unlocking bootloader

I hate to be the annoying noob (BUT, I did read thoroughly to ensure I wasn't asking an idiotic question) I am stuck almost halfway through the rooting process... I have unlocked the bootloader succesffuly (THX!) and in the middle of rooting the phone i am encountering an error. I have a mac so I downloaded the "RecoveryInstallerForNoobs" noob files I get halfway through it (all the way to the white screen) and when I try to enter "./fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img" It says cannot execute binary file... I have tried simply running it as a .bat (I converted it to .sh because I have a mac and made the necessary adjustments to the commands) and it still tells me it cannot execute binary file. PLEASE HELP
[HTC Amaze 4G] YungMage:
You sure you're naming right and it's in right directory. If so might be bad dl re download it and try. Oh also won't work if it isn't on root of hard drive so in c drive. Found that out with some tinkering
[HTC Amaze 4G] Quentinfk:
So I've read through the instructions, but still don't know what's going wrong.

I'm new to rooting, so I'm not aware of what could be going wrong.

When I go to the HTC Bootloader site and select the Amaze, and then click Begin Unlock Bootloader, nothing happens. Is something supposed to be happening?

I didn't go past this point since I didn't want to mess anything up in the case that something was supposed to happen.
[HTC Amaze 4G] YungMage:
Use links in this post. Sry not by computer but one lets you dl drivers other is to start process. http://xdaforums.com/showthread.php?p=20992338
[HTC Amaze 4G] dhoang:
Thank you so much Binary. Followed steps 1 to 4 and it works perfectly. Now I'n going to try bulletproof. thx again.
[HTC Amaze 4G] apenaroks:
I updated to the latest OTA update, and only after did I decide to root my phone. Now the one click permanent root no longer works. The first time I ran it, the terminal said "SUCCESSFUL", however, after a reboot, the phone was not rooted. So I tried the run the one click tool again, and cannot get it to work. Terminal always replies "FAILURE" and that something is already installed. Now I dont know what to do.

Any ideas???
[HTC Amaze 4G] jimczyz:
Try reading the first couple of posts in this thread.
[HTC Amaze 4G] apenaroks:
I have made some progress. The problem I am having goes back to step three. The Flash.bat file is for a Windows machine. I have a Mac. I also am clueless about how to flash a new recovery. Once I have a custom recovery, I should be able to install the attached zip. I do not want a custom ROM.
[HTC Amaze 4G] Binary100100:
Did you try reading the thread?

You won't see any mention of the one-click method in the instructions.

Can you guess why? Because it doesn't work anymore! Hmmmm... maybe someone should make a thread called [HOW TO] ROOT HTC RUBY /AMAZE 4G with instructions. Holy crap! You're in it! :rolleyes:
[HTC Amaze 4G] hasoon2000:
LOL. I love the sarcasm! :D
[HTC Amaze 4G] apenaroks:
My bad!

Also, I am stuck at step three. I have a mac, and cant run a .bat file. I am currently trying to use the HBoot method for CWM here:

http://xdaforums.com/showthread.php?t=1316855

Then I will continue onto step 4.
[HTC Amaze 4G] hasoon2000:
Easy Method

1. Download file to your computer

2. make sure its named PH85IMG.zip

3. Copy to sdcard (externel one)

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

Hard Method

1. Download file to your computer

2. In command line, navigate to the folder you have the recovery

3. Reboot phone into fastboot

4. "fastboot flash recovery recovery-cwm-ruby-5.0.2.0.img"

5. "fastboot reboot"

6. Reboot Phone into recovery as normal

Which number 3?
[HTC Amaze 4G] apenaroks:
I was referring to number 3 of this thread. But yes I am also stuck there. I followed the directions EXACTLY as listed. However my phone is not asking me to update. I even went to settings and told it to check for updates, with no luck.

[UPDATE]

I am trying to use the easy method. The terminal has not been very kind to me. So I am trying to avoid it. Also, I notice no one here likes to post terminal commands for mac's in these guides. No love for the Mac's I see!
[HTC Amaze 4G] hasoon2000:
What version is the ROM you are using?
[HTC Amaze 4G] apenaroks:
1.43.531.3

I made sure to download the correct version for this ROM number as listed.
[HTC Amaze 4G] hasoon2000:
Try this. Run the flash.sh . I edited the text file. It should work. Let me know what happens.
[HTC Amaze 4G] Binary100100:
What? You're looking for a bunch of people that have Android devices to ask for help with Apple products? LOL! Sorry but I've never owned a Mac and I say that proudly. I might be able to scrape one up for Ubuntu though. I think that's similiar.

But lemme try this approach... if you open up the bat file from step #3 (like you were going to edit it) and you will see this:

That's all it is! Seriously!

All you need is adb and fastboot. Which you should already have from step #1.

So let's analyze the script line by line.

:cd %:h - simply selects the same directory that the bat file was initiated in.

adb kill-server - will reset an exisiting adb session (if any)

adb reboot bootloader - kinda self explainatory. It'll reboot your phone into bootloader mode.

fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img - This is what flashes the recovery file to your device. This is where your recovery comes from. You can also replace the recovery-cwm-ruby-5.0.2.7.img with anything. Perhaps even recovery*.img. Heck... you can even go wild and do a fastboot flash recovery *.img which will flash any .img file found in that directory! Just make sure you don't add anything else.

fastboot reboot - This reboots your device.

pause - pauses the script until you press a button. Then it exits.

So all you really need to do is reboot into bootloader mode then enter the command

fastboot flash recovery c:\recoverydirectory\recoveryname.img

That's it!
[HTC Amaze 4G] Binary100100:
I glanced at it. I don't see why that wouldn't work. Thanks!
[HTC Amaze 4G] hasoon2000:
Yup! Credit is to X. I just took his Easy Kernel Flasher and edited the text files and removed the unnecessary folders lol.
[HTC Amaze 4G] apenaroks:
I have just a few more questions.

Do I have to execute this script from a specific directory? Like in the android SDK folder?

Also, where do i get the "recovery-cwm-ruby-5.0.2.7.img" file??

Other then that, I completely understand!
[HTC Amaze 4G] hasoon2000:
Just download my attachment that is a few posts above. Everything is in the folder. Just run the flash.sh
[HTC Amaze 4G] Binary100100:
Everything is included in the zip file so you won't have to use the sdk folder at all. All you need is the drivers installed, unzip the folder and execute the script.
[HTC Amaze 4G] apenaroks:
Terminal says "Waiting for device"

The phone has USB Debugging enabled. What should I do with it?
[HTC Amaze 4G] Binary100100:
Plug it in? Install the drivers? Check your device manager to make sure you don't have any unrecognized devices. How did you unlock your bootloader?
[HTC Amaze 4G] hasoon2000:
go into terminal. Go to the folder you extracted. type in "adb devices" without the quotes. Does it say H and then some numbers after it? If it does, it detected your phone. If it doesn't, you need the drivers for the phone.
[HTC Amaze 4G] apenaroks:
I figured it out!! I restarted the phone into recovery, and it asked me if I wanted to update!! It showed up finally. So I clicked yes. Now I can finally move on to step 4 of this guide!

Thank you all for helping me!! I greatly appreciate it, for all of you having the patience to guide me step by step!

Thanks!
[HTC Amaze 4G] hasoon2000:
That is great to hear! If you are stuck, Binary will probably continue helping. But for me, I'm going to sleep. I'll be back in the morning!

Peace out!
[HTC Amaze 4G] Binary100100:
Gee. Thanks. :rolleyes:
[HTC Amaze 4G] apenaroks:
Haha well I can probably figure it out from here. Place the zip from step 3 on SD card, reboot into CWM and install from card, and choose the zip file. got it!

It didnt show up the first time so I am going to reboot and make sure the zip is on the SD card. or ill move it to internal sd card.

[UPDATE]

Installed. Should be rooted now, FINALLY!!

And yes! It is finally rooted!!

Again, thanks to all of you!!
[HTC Amaze 4G] Binary100100:
I'll be online for another 4 hours or so. You're so lucky that I'm:

Off duty tonight.

Nocturnal

Have no life.

All the above.

Answer is All the above. :(
[HTC Amaze 4G] seansk:
I am Nocturnal as well, and really have no life!!! actually come to think of it I barely sleep!!! yesterday I injected anesthesia in the leg of someone instead of inside their gums...could be lack of sleep!!! I kid, I kid...
[HTC Amaze 4G] yassirazi:
How to make a system update to Gingerbread 2.3.4 > 1.43.531.3 from a rooted htc amaze

I was looking for an answer to this question everywhere and could not get the answer. I tried the super user update fixer but didn't work. I rooted my phone after bootloader unlock, what are my options in getting a rooted phone which is up to date in his system.
[HTC Amaze 4G] seansk:
wait, what?????

if your trying to update your rom, download the latest rooted stock rom from the development section...I'm still confused on what your asking
[HTC Amaze 4G] Binary100100:
It sounds like he just upgraded to 1.43 with the latest OTA update and would like to know how to read post #1 to root. I can't help him. I need a break from spoonfeeding. :rolleyes:
[HTC Amaze 4G] supraman89:
So is there any way i can TEMP ROOT the 1.43.531.3 firmware? Sorry to bother you guys, i just want to remove the bloat that keeps running in the background, i don't want to unlock my bootloader.
[HTC Amaze 4G] antiquezip:
I'm afraid the answer is no