Related
I know there are several methods/guides to rooting the EVO. I posted these instructions on another site and many people found them useful, so I decided to copy them here. I didn't create any of these methods. I started this because this was my first experience w/ Android and trying to root. I had some trouble because there are certain steps that are probably obvious to Android regulars or guys that did a lot of research, but it was not obvious to me.
This is written for someone who is an ANDROID n00b and has absolutely no idea where to began. If you're a PC n00b and the idea of unzipping a file is foreign to you, this thread is not for you. Just enjoy the EVO Stock. It's a great phone and you won't be disappointed. Now, if you're comfortable around a pc and can follow instructions, this guide should be helpful. I've broken down every step.
*********** F.A.Q. and Videos - See Post #2 ***********
This guide includes;
ROOTING Part I and Part II (Full Root) - Use this if you're on software version 1.32.651.1 or 1.32.651.6.
Section 1 - This part gives you basic root access.
Section 2 - This part unlocks NAND and gives you full control. There are 2 versions of Section 2. Either one works.
Version 1 - No PC needed. No ADB Shell needed.
Version 2 - Using a PC and ADB Shell
Nand Backup and Nand Restore - 2 options with Rom Manager and w/o Rom Manager
Section 3 - Rom Manager Nand Backup/Restore
Section 4 - Manual Nand Backup/Restore
ROOTING AFTER OTA 1.47.651.1 (Full Root) - Use this if your phone had the OTA done and you're on version 1.47.651.1
Section 5 - This part includes all the steps to get full root including NAND Unlock. In other words, full control.
Here's the steps written in Android n00b language for the PC.
****ROOTING Part I and Part II (Full Root)**** Thanks to toastcfh
This is for Full Root access. I dropped the instructions for partial root because they are not needed. With Full Root available, there is no need to only do a partial root. Even if all you want is permissions to load a custom rom, you'll need to have a backup in case something goes wrong and you can't use the backup if you're not fully rooted. So, follow these simple steps and you'll have everything you need.
Before you start
Before you start anything, your phone needs to be able to connect to the pc. If you haven't done so before, install HTC Sync. There is a folder on the sdcard that contains a version of HTC Sync or you can download a newer version from their site. It doesn't matter which version because you're not going to use it. We just need the drivers installed so the phone can communicate with the PC.
Next, make sure "USB Debugging" is turned ON.
Menu>Settings>Applications>Development>USB Debugging
If it's turned on, every time you connect your phone to the PC, you'll see "/!\ USB Debugging connected" in the notifications on the phone.
Items you'll need
1- PC36IMG.zip (Place this on your sdcard)
2- eng-PC36IMG.zip - Mirror 1 - (Place this on your sdcard)
3- Full Root files.zip - This zip contains 3 files you will extract to your sdcard (flash_image, mtd-eng.img, recovery.img)
Now you sdcard should look like this -
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4- evo-recovery - Extract this folder to your C:\ drive so you should see C:\evo-recovery
5- Any custom rom you want to load. If you don't want a custom rom, then at least install the rooted version of the Sprint Rom --> here <-- (place this rom on your sdcard too)
Section 1 -
1A) Connect your EVO to the PC and select "disk drive" so that you can see your storage card from the "My Computer" window
1B) Copy the file PC36IMG.zip and eng-PC36IMG.zip to the storage card. Don't unzip it and don't put it in a folder. Just copy the files.
1C) Take the "Full Root Files.zip" you downloaded and unzip all 3 files to the storage card. Don't put them in a folder.
At this point, you should have 5 new files on your storage card as shown in the picture above under items needed.
1D) Power-off your phone by holding the power-button for several seconds. The top choice is "Power Off."
1E) While holding "Volume DOWN", push the "Power" button so the phone turns on. You don't need to hold the "Power" button, but you do need to hold the "Volume DOWN" button. This will bring you straight to the bootloader screen which says
-FASTBOOT
-RECOVERY
-CLEAR STORAGE
-SIMLOCK
-HBOOT USB
Just wait for a minute. It will read your storage card. This takes about 30secs and there is a progress bar on the top right. It's reading the PC36IMG.zip file you placed on the card.
1F) Once that's done, it says, "Do you want to start update?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and then wait.
1G) Once that's done, it says, "Update Complete. Do you want to reboot device?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and you will reboot.
Now just be patient. It will take a while to start up the first time, but when it's done, you'll be at the setup screen you saw the first time you turned on the device. Skip all the account setups and whatever else. You just want to get to the Home screen so you can go to the next step.
Now you're phone is partially rooted, but we're not stopping there.
Section 2 Version 1 - No PC Needed -
2A) Go to the Market and download/install EStrongs File Explorer. Just search for "EStrong" pick "Estrongs File Explorer." Then download/install Barcode Scanner by ZXing. Just search for "Barcode."
2B) Open Barcode Scanner and scan the QR code below. Select "Open Browser" then download/install. Note: This will allow you to install Android Terminal Emulator by Jack Palevich. I couldn't find it in the market, so I'm using this method.
2C) Open Estrongs File explorer. Long-press on the files to rename the file "PC36IMG.zip" --> "root-PC36IMG.zip" and then rename "eng-PC36IMG.zip" --> "PC36IMG.zip"
2D) Open "Android Terminal Emulator" that you installed in step 2B, and type the following commands.
Code:
su
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image misc /sdcard/mtd-eng.img
If you typed each line correctly, you won't see any changes, you'll just go down to the next line w/ a "#"
2E) Power-off your phone by holding the power-button for several seconds. The top choice is "Power Off."
2F) While holding "Volume DOWN", push the "Power" button so the phone turns on. You don't need to hold the "Power" button, but you do need to hold the "Volume DOWN" button. This will bring you straight to the bootloader screen which says
-FASTBOOT
-RECOVERY
-CLEAR STORAGE
-SIMLOCK
-HBOOT USB
Just wait for a minute. It will read your storage card. This takes about 30secs and there is a progress bar on the top right. It's reading the PC36IMG.zip file you placed on the card.
2G) Once that's done, it says, "Do you want to start update?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and then wait.
2H) Once that's done, it says, "Update Complete. Do you want to reboot device?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and you will reboot.
Skip all the account setups and whatever else. You just want to get to the Home screen so you can go to the next step.
2I) Once your back to the home screen, go back to the Market place, go to downloads, and you should still see Estrongs and Android Terminal. You need to download/install them again.
2J) Open Estrongs File explorer. Long-press on the file to rename the file "PC36IMG.zip" --> "eng-PC36IMG.zip"
2K) Open "Android Terminal Emulator" that you installed in step 2B, and type the following commands.
Code:
su
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img
If you typed each line correctly, you won't see any changes, you'll just go down to the next line w/ a "#"
2L) Power-off your phone by holding the power-button for several seconds. The top choice is "Power Off."
2M) While holding "Volume DOWN", push the "Power" button so the phone turns on. You don't need to hold the "Power" button, but you do need to hold the "Volume DOWN" button. This will bring you straight to the bootloader screen which says
-FASTBOOT
-RECOVERY
-CLEAR STORAGE
-SIMLOCK
-HBOOT USB
Just wait for a minute. It will read your storage card. It won't find the PC36IMG.zip file because it was renamed. When it's done searching, use "Volume DOWN" to highlight "Recovery" and "Power" button to select it.
The phone will reboot into Recovery Mode.
2N) From the list, use "Volume DOWN" to highlight "Wipe" and "Power" button to select it.
2O) In the Wipe menu you're going to use the "Volume DOWN" to highlight "Wipe data/factory reset" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe data/factory reset" twice.
2P) Use the "Volume DOWN" to highlight "Wipe Dalvik-cache" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe Dalvik-cache" twice.
Now push "Power" button to return to the previous menu.
2Q) Use the "Volume DOWN" to highlight "Flash zip from sdcard" and "Power" button to select it.
At this point every zip file on the root of your sdcard will show. Make sure you know which one you want to flash.
2R) Use the "Volume DOWN" to highlight your rom or radio file and "Power" button to select it, then "Power" button again to confirm. Sit back and wait. Mine took about 2mins.
When it's done, hit "Power" button to "Reboot system now" and enjoy your rooted EVO w/ a custom rom.
Section 2 Version 2 - Using the PC -
2A) Connect your EVO to the PC and select "disk drive" so that you can see your storage card from the "My Computer" window
2B) Rename the file "PC36IMG.zip" --> "root-PC36IMG.zip" and then rename "eng-PC36IMG.zip" --> "PC36IMG.zip"
2C) Disconnect the EVO from the USB, wait about 5seconds, then reconnect the EVO but this time select "Charge Only"
Note: Make sure you have USB Debugging turn on
Menu>Settings>Applications>Development>USB Debugging
2D) Open a "run" window by hitting the Windows key + "R" in the command line type (or cut/paste)
Code:
c:\evo-recovery\adb-windows shell
then hit "OK"
2E) In the window that opens, type (do not cut/paste this)
Code:
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image misc /sdcard/mtd-eng.img
If you typed each line correctly, you won't see any changes and the line will just repeat once when you hit enter. Each command takes a second or two.
2F) Power-off your phone by holding the power-button for several seconds. The top choice is "Power Off."
2G) While holding "Volume DOWN", push the "Power" button so the phone turns on. You don't need to hold the "Power" button, but you do need to hold the "Volume DOWN" button. This will bring you straight to the bootloader screen which says
-FASTBOOT
-RECOVERY
-CLEAR STORAGE
-SIMLOCK
-HBOOT USB
Just wait for a minute. It will read your storage card. This takes about 30secs and there is a progress bar on the top right. It's reading the PC36IMG.zip file you placed on the card.
2H) Once that's done, it says, "Do you want to start update?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and then wait.
2I) Once that's done, it says, "Update Complete. Do you want to reboot device?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and you will reboot.
Skip all the account setups and whatever else. You just want to get to the Home screen so you can go to the next step.
2J) Once your back to the home screen, the EVO should be connected as "Charge Only"
Note: Make sure you have USB Debugging turn on
Menu>Settings>Applications>Development>USB Debugging
2K) Open a "run" window by hitting the Windows key + "R" in the command line type (or cut/paste)
Code:
c:\evo-recovery\adb-windows shell
then hit "OK"
2L) In the window that opens, type (do not cut/paste this)
Code:
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img
reboot recovery
If you typed each line correctly, you won't see any changes and the line will just repeat once when you hit enter. Each command takes a second or two. The last command will reboot your phone into recovery mode.
2M) From the list, use "Volume DOWN" to highlight "Wipe" and "Power" button to select it.
2N) In the Wipe menu you're going to use the "Volume DOWN" to highlight "Wipe data/factory reset" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe data/factory reset" twice.
2O) Use the "Volume DOWN" to highlight "Wipe Dalvik-cache" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe Dalvik-cache" twice.
Now push "Power" button to return to the previous menu.
2P) Use the "Volume DOWN" to highlight "Flash zip from sdcard" and "Power" button to select it.
At this point every zip file on the root of your sdcard will show. Make sure you know which one you're using.
2Q) Use the "Volume DOWN" to highlight your rom or radio file and "Power" button to select it, then "Power" button again to confirm. Sit back and wait. Mine took about 2mins.
When it's done, hit "Power" button to "Reboot system now" and enjoy your rooted EVO w/ a custom rom.
****Nand Backup and Nand Restore****
There are 2 options for making backups and restoring.
1) The easy method is to use Rom Manager. Install Rom Manager from the Market.
2) Put your phone into Recovery Mode and do all the steps manually.
Section 3 - Rom Manager Nand Backup/Restore -
3A) Go to the Market and download/install "Rom Manager" by ClockworkMod and then open it.
There is a free one and a donation one.
3B) Once it's opened, select "Flash ClockworkMod Recovery"
3C) Confirm your phone is an HTC Evo (CDMA)
Wait a couple minutes while it does it thing. When it's finished you'll get a "Successfully flashed ClockworkMod recovery!"
3D) Select "Backup Current Rom" and you'll have the option of naming it. Default is the Date and Time (2010-06-23-22.25.19) YYYY-MM-DD-HH-MM-SS
And that's it. Rom is backed up. If you try to flash another rom and don't like it or you make changes and mess something up, you can just restore the backup you just made and be right back where you were.
3E) To restore the Rom, select "Manager and Restore Backups"
3F) Select the Rom from the list of available backups. (You'll have the option to Restore/Rename/Delete)
3G) Choose Restore and select which parts you want to restore. All of them are checked by default.
You're choices are;
Restore Boot
Restore System
Restore Data
Restore Cache
Restore SD-Ext
Selecting all them will do a complete restore of your rom. I haven't experimented to see what the different parts do.
Section 4 - Manual Nand Backup/Restore -
You'll need to put your phone into Recovery mode first.
4A) Connect the EVO to the pc and select "Charge Only"
4B) Open a "Run" window by hitting the Windows key + "R" in the command line type (or cut/paste)
Code:
c:\evo-recovery\adb-windows reboot recovery
This will reboot the phone directly into Recovery Mode if you've done Rooting Part I & II
4C) Use the "Volume DOWN" to highlight "Backup/Restore" push the "Power" button to select it.
4D) Use the "Volume DOWN" to select "Nand backup" push the "Power" button to select it.
4E) You'll be asked if you want to create a Nandroid backup. Press "Power" button to confirm any other key to abort.
While it's creating a backup, it will say "Performing Backup" and show dots "....." across the bottom of the screen. It will fill-up about 3 rows of dots before it's done.
And that's it. Rom is backed up. If you try to flash another rom and don't like it or you make changes and mess something up, you can just restore the backup you just made and be right back where you were.
4F) To restore the Rom, do steps 4A-4C (skip 4D/4E) and use the "Volume DOWN" to select "Nand restore" push the "Power" button to select it.
4G) Use the "Volume DOWN" to select "HTXXXXXXXXXXX" (this will be your device #) push the "Power" button to select it.
4H) Use the "Volume DOWN" to select "BDS-XXXXXXXX-XXXX" (this will be the date of your backup) push the "Power" button to select it and "Power" to confirm it.
When it's done restoring, push "Power" twice to reboot.
****ROOTING AFTER OTA 1.47.651.1 (Full Root)**** Thanks to SteelH
This is for Full Root access after someone has applied the OTA 1.47.651.1. If you accepted the OTA or it was done for you when you bought your phone, use this guide. To check which version you're on, go to Menu>Settings>About Phone>Software Information>Software Number. If it says "1.47.651.1" this section is for you.
If you're on version "1.32.651.1" or "1.32.651.6" then use the ****ROOTING Part I and Part II (Full Root)**** instructions in section 1 & 2.
NOTE: Yes there are a lot of steps. Read through them once before you try it. The only tricky part is step 5Q. I actually had to reboot my phone and do 5Q again because I was too slow the 1st attempt. Other than that step, it's all pretty easy.
Before you start
Before you start anything, your phone needs to be able to connect to the pc. If you haven't done so before, install HTC Sync. There is a folder on the sdcard that contains a version of HTC Sync or you can download a newer version from their site. It doesn't matter which version because you're not going to use it. We just need the drivers installed so the phone can communicate with the PC.
Next, make sure "USB Debugging" is turned ON.
Menu>Settings>Applications>Development>USB Debugging
If it's turned on, every time you connect your phone to the PC, you'll see "/!\ USB Debugging connected" in the notifications on the phone.
Items you'll need
1- eng-PC36IMG.zip - Mirror 1 - (Place this on your sdcard and rename it PC36IMG.zip)
2- Rooting OTA Files.zip - This zip contains 5 files you will extract to your sdcard (flash_image, mtd-eng.img, part1, part2, recovery.img)
Now you sdcard should have these files -
3- evo-recovery - Extract this folder to your C:\ drive so you should see C:\evo-recovery
4- Any custom rom you want to load. If you don't want a custom rom, then at least install the rooted version of the Sprint Rom --> here <-- (place this rom on your sdcard too)
Section 5 -
5A) Connect your EVO to the PC and select "disk drive" so that you can see your storage card from the "My Computer" window
5B) Copy the file eng-PC36IMG.zip to the storage card, make sure to rename it PC36IMG.zip. Don't unzip it and don't put it in a folder. Just copy the file and rename.
5C) Take the "Rooting OTA files.zip" you downloaded and unzip all 5 files to the storage card. Don't put them in a folder.
At this point, you should have 6 new files on your storage card as shown in the picture above under items needed.
5D) Select Menu>Settings>Privacy>Factory data reset>Reset phone>Erase everything
Now you're phone is being reset. Once you're back to the home screen, continue to the next step (you don't need to fill in your account info, just skip past the setup to get to the home screen)
5E) Connect the EVO to the pc and select "Charge Only"
Note: Make sure you have USB Debugging turn on
Menu>Settings>Applications>Development>USB Debugging
5F) Open a "run" window by hitting the Windows key + "R" in the command line type (or cut/paste)
Code:
cmd
then hit "OK"
5G) In the window that opens, type (or cut/paste this)
Code:
cd c:\evo-recovery
Now you should be a prompt that says "c:\evo-recovery>"
5H) Now type (or cut/paste this)
Code:
adb-windows shell
Now you should be a "$" prompt
5I) Now type (do not cut/paste this)
Code:
sh /sdcard/part1
If you typed it correctly, you won't see any changes and the line will just repeat once, when you hit enter.
Then you will get a message that says "power down your phone from the power menu and re-run"
5J) Power-off your phone by holding the power-button for several seconds. The top choice is "Power Off." At this point, DO NOT TURN THE PHONE BACK ON!
On your pc you should have the cmd window open and once the phone is off, you will be at the "c:\evo-recovery>" prompt again. This next step will help you later. Do it now, while the phone is off, and it will make things easier later on.
5K) At the "c:\evo-recovery>" prompt, type (or cut/paste this)
Code:
adb-windows shell /data/local/part2
Because the phone is off, this will not work. You should get a message that says "error: device not found"
Now turn your phone back on. Once it's on the home screen continue with the next step. You should still be at the "c:\evo-recovery>" prompt.
5L) Now type (or cut/paste this)
Code:
adb-windows shell
Now you should be a "$" prompt
5M) Now type (do not cut/paste this)
Code:
sh /sdcard/part1
If you typed it correctly, you won't see any changes and the line will just repeat once, when you hit enter.
Then you will get a message that says "visit http://bit.ly/ad0pRn in the EVO Internet browser app"
The website you visit doesn't matter. It just needs to be a flash site that will trigger the exploit. Here's what I used.
5N) Open the Internet browser on your phone and go to this website "www.tinyurl.com/evo1234"
Once the page tries to load, the info on the pc will change. It will say "refresh that page or reopen it, reboot and run part2"
On your phone's browser, you need to refresh the page.
Note: Some people get an error at this point that says:
Code:
/sdcard/part1: cannot create /data/app-cache/com.android.browser/BEC48C17295CAF9
F550BCD500A0A6F03
/data/app-cache/com.android.browser/DE25D64D198E4BF84672045F0EAEE6CE
/data/app-cache/com.android.browser/EAFCD74DF11E57A3571B1E4D0B768134/foo: directory nonexistant
reboot and run part2
If you get this error, check the FAQ in post #2 for "Getting an error on step 5N"
5O) In the address bar of your phone's browser, on the far right, is the refresh icon. (Looks like 2 arrows in a circle) Hit refresh.
After the page reloads on the phone, go back to the command prompt on your pc. Make sure you're prepared for 5Q before you do 5P.
5P) Now type (do not cut/paste this)
Code:
reboot
You're phone will reboot.
As soon as the phone turns back on, while it's still booting up and is on the "HTC EVO 4G" screen, you need to do step 5Q.
Remember in step 5K when you typed "adb-windows shell /data/local/part2" That was done so that now you don't have to type it again.
On your keyboard, you can use the "UP" arrow key to cycle through commands you previously typed in the command window. For step 5Q, you'll need to hit the "UP" arrow key until you get to "adb-windows shell /data/local/part2" that you typed earlier. Should only be "UP" arrow once or twice.
5Q) While the phone is booting up, on your keyboard hit the "UP" arrow key until you see the "adb-windows shell /data/local/part2" you typed in 5K. Once you see that, hit enter.
If you get a message that says "error: device not found" do it again. "UP" arrow once and hit enter. Keep doing this while the phone is booting up until you get a message that says "part 2 is scanning." This will not work until your phone connects to the pc. You have a very short window from the time it connects until it passes the "HTC" welcome screen. I just kept entering it over and over until it worked. I actually entered it 10x's before the phone actually connected and the command worked.
Alternately, if you have sounds enabled on your pc, you'll hear when the phone connects again and you can enter the code once it connects, but you have a small window of time.
If you miss your window, then it will just sit at the "part 2 is scanning" for a long time and your phone will go to the home screen.
Just power off the phone, and start again from this step. Remember to enter the code over and over while the phone is booting up.
If it works, you'll initially get a message that says "part 2 is scanning" then after a short time (mine took about 15secs) you'll get a message that looks similar to this
Code:
/app-cache/com.android.browser/BEC48C17295CAF9F550BCD500A0A6F03/.foo.PWsZ8k
crw-rw-rw- root root 90, 2 2010-07-05 19:37 mtd1
That was the hard part. The rest is easy.
5R) Now type (or cut/paste this)
Code:
adb-windows shell
Now you should be a "$" prompt
5S) Now type (do not cut/paste this)
Code:
cat /sdcard/flash_image > /data/local/flash_image
chmod 755 /data/local/flash_image
/data/local/flash_image misc /sdcard/mtd-eng.img
If you typed each line correctly, you won't see any changes and the line will just repeat once when you hit enter. Each command takes a second or two.
5T) Power-off your phone by holding the power-button for several seconds. The top choice is "Power Off."
5U) While holding "Volume DOWN", push the "Power" button so the phone turns on. You don't need to hold the "Power" button, but you do need to hold the "Volume DOWN" button. This will bring you straight to the bootloader screen which says
-FASTBOOT
-RECOVERY
-CLEAR STORAGE
-SIMLOCK
-HBOOT USB
Just wait for a minute. It will read your storage card. This takes about 30secs and there is a progress bar on the top right. It's reading the PC36IMG.zip file you placed on the card.
5V) Once that's done, it says, "Do you want to start update?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and then wait.
5W) Once that's done, it says, "Update Complete. Do you want to reboot device?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and you will reboot.
5X) Once your back to the home screen, the EVO should be connected as "Charge Only"
Note: Make sure you have USB Debugging turn on
Menu>Settings>Applications>Development>USB Debugging
5Y) Open a "run" window by hitting the Windows key + "R" in the command line type (or cut/paste)
Code:
c:\evo-recovery\adb-windows shell
then hit "OK"
5Z) In the window that opens, type (do not cut/paste this)
Code:
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img
reboot recovery
If you typed each line correctly, you won't see any changes and the line will just repeat once when you hit enter. Each command takes a second or two. The last command will reboot your phone into recovery mode.
5AA) From the list, use "Volume DOWN" to highlight "Wipe" and "Power" button to select it.
5AB) In the Wipe menu you're going to use the "Volume DOWN" to highlight "Wipe data/factory reset" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe data/factory reset" twice.
5AC) Use the "Volume DOWN" to highlight "Wipe Dalvik-cache" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe Dalvik-cache" twice.
Now push "Power" button to return to the previous menu.
5AD) Use the "Volume DOWN" to highlight "Flash zip from sdcard" and "Power" button to select it.
At this point every zip file on the root of your sdcard will show. Make sure you know which one you're using.
5AE) Use the "Volume DOWN" to highlight your rom or radio file and "Power" button to select it, then "Power" button again to confirm. Sit back and wait. Mine took about 2mins.
When it's done, hit "Power" button to "Reboot system now" and enjoy your rooted EVO w/ a custom rom.
F.A.Q. and Videos
***********F.A.Q.***********
Q. What is Rooting?
A. Root is the user name or account that by default has access to all commands and files on Linux, Android or other Unix-like operating system. It is also referred to as the root account, root user and the superuser.
Q. Why would I want to Root my EVO?
A. Rooting gives you full control over the phone. It allows you to run programs that require root permission, like "Wireless Tether for Root Users" or "Titanium Backup." It also allows you to backup/restore your rom and to load custom roms or different radios.
Q. Does Rooting void my warranty?
A. Yes, if you root your phone, "technically" speaking, you did void your warranty. However, if you need to return your phone to Sprint, you can put the phone back to stock/unrooted by flashing a stock rom. http://shipped-roms.com/shipped/Supersonic/
Q. My EVO has the OTA 1.47.651.1, can I still root my phone?
A. Follow the steps in ****ROOTING AFTER OTA 1.47.651.1 (Full Root)****
Q. What is Full-Root vs. just Rooting Part 1?
A. Full-Root is the steps that give you full control over all the files on the phone. Part 1 (Section 1) only gives you Superuser Permissions but Part 2 (Section 2) allows you to actually write/change system files.
Here's a PC analogy -
Part 1 would let you install apps and remove those apps (but only those apps you installed). You can't change files on the C: drive, only files on your external storage.
I.E. You could install Firefox and then remove it. But you can't remove MS Paint or Internet Explorer because they are on the C drive and you don't have access to it.
Part 2 also lets you change files that came w/ your operating system.
I.E. You could install Firefox and then remove it. You could also choose to remove preloaded programs like MS Paint or Internet Explorer. You could even go to the C drive and delete every important file on there and ruin your pc.
Q. What does Rooting Part 1 only do?
A. Part 1 (Section 1) of the Rooting process is just to give you Superuser Access. In other words, you can install/run a program that requires special permission. The problem is that it won't give you a Superuser Permission Icon. Many of the programs that need root access also need the SU Icon. Without the icon, they won't work. If you only do Part 1 (Section 1) of the tutorial, YOU WILL HAVE PROBLEMS. You need to do a full-root in order to take advantage of all the benefits of rooting.
Q. What does Rooting Part 1 only NOT do?
A. If you only did Part 1, and nothing else, then;
It does not allow you to remove OEM installed apps. Like Sprint TV or NASCAR or Sprint Navigation.
It does not allow you to install programs on your sdcard.
It does not allow you to install custom roms.
It does not allow you to install newer radios.
To do any of these things, you need to do a full-root using Section 1 & 2 or Section 5, depending on what version your EVO is on.
Q. Can I remove Sprint apps?
A. Yes, if you have full-root access. However, this tutorial is not about how to become an android chef, it's about getting root access and backing up/restoring and flashing new roms. If you don't like the Sprint apps, there are other instructions on how to get rid of them, but you will need full-root access. Or, there are several custom roms that have them removed already.
Q. How can I tell if I rooted my EVO correctly?
A. Super easy way to figure out if you're rooted.
Make sure USB Debugging is on.
Menu>Settings>Applications>Development>USB Debugging should be checked
Connect your phone using "Charge Only"
Open a "Run" window and type "c:\evo-recovery\adb-windows shell"
If you get a "$" you're not rooted
If you get a "#" you're rooted
Click -->here<-- to see a picture of this.
Additional note: If you're on 1.47.651.1 and you believe you're rooted, you'll see the "$" first, type "SU" and hit enter. You'll get a pop-up on your phone for Superuser Permissions to "Allow" or "Deny" access. Click "Allow". If it changes to a "#" you're rooted. If you get "permission denied" you're not rooted.
Q. How can I tell if I have full-root access?
A. Go to the Market and install/open "Quick Boot" by Sirius Applications Ltd. Choose "Recovery." If you're phone boots into the recovery screen w/ the menu options, you have full-root, if you get stuck at the /!\ screen, you do not have full-root access yet.
Q. Getting an error on step 5N, what should I do?
A. Some people get an error at step 5M that says:
Code:
/sdcard/part1: cannot create /data/app-cache/com.android.browser/BEC48C17295CAF9
F550BCD500A0A6F03
/data/app-cache/com.android.browser/DE25D64D198E4BF84672045F0EAEE6CE
/data/app-cache/com.android.browser/EAFCD74DF11E57A3571B1E4D0B768134/foo: directory nonexistant
reboot and run part2
tophyr figured out a solution and posted it --->HERE<---
In an attempt to keep this guide complete, I'll just copy his directions in this post.
I don't have the exact directory names, but the process to get beyond where you're stuck is this: (Type the bold parts, my comments are in the italics)
Code:
[B]cd /data/data/com.android.browser/flashlite
mv sharedobjects sharedobjects-[/B]
[I]The move command may fail - don't worry if it does[/I]
[B]ln -s /data/app-cache/com.android.browser/ sharedobjects
cd /app-cache/com.android.browser
ls[/B]
Here you should see at least one directory looking like 'BEC48C17295CAF9F550BCD500A0A6F03'. If there are multiple, repeat the following three lines for each. If there are not any, then refresh the website and/or find a new flash app (perhaps a game like mentioned above, or something) and repeat the 'ls' command after the app loads. You should then see a directory like the above.
Code:
[B]cd <long-ass-directory>[/B] [I](You can use wildcards.. if it starts with B like the above, do 'cd B*'[/I]
[B]cat /system/bin/rsync /system/bin/rsync /system/bin/rsync > foo
cd ..[/B]
These pretty much take care of what part1 tries to do, but likely fails to, if it's unable to outright delete the relevant directories. After running these commands manually, reboot the phone and follow the steps for part2 and beyond, and it *should* work. Did for me.
***********End of F.A.Q.***********
***********Videos***********
**Rooting - Full Root Parts I & II - Wipe - Flash - Without a PC or ADB Shell**
There are notes throughout the video that tell you what step of the video you are watching. If you do this, you can then use Rom Manager from the Market for any other things you need regarding roms. (i.e. Nand Backup/Restore, Flash newer roms/radios)
http://www.youtube.com/watch?v=DzEot2oYKbw
These older videos are here for reference if anyone wants to use the PC method.
The first video shows me doing the Rooting/Recovery/Nand Backup/Wipe/Flash.
After I loaded a custom rom, I use Rom Manager to load a custom rom again. Rom Manager works great, but I would suggest everyone do the manual method the first time. Once you're on a custom rom, Rom Manager is definitely the way to go.
**Rooting - Recovery - Nand Backup - Wipe - Flash - Rom Manager**
http://www.youtube.com/watch?v=Oja2a6O96wQ
The second video is my doing part 2 of the rooting process. This will give you full system access. This part is not absolutely necessary, but it does allow you to use the Nand Restore option to replace all your settings the way you had them. Plus, it gives you full control of the phone from the phone. No need to connect to pc next time you want to load a new rom.
**Full Root - Unlocking NAND Protection**
http://www.youtube.com/watch?v=tUXTB0eydwE
You are GOD..
This is for all of you that need your hand held.. hehe.. no really.. this is great stuff here..
I thought Fast's hands were tired from all the hand holding he's done at the other site, guess not
Looks great, as usual Bro.
@all new Android Friends- read, read again then watch Fast's videos. It helps. A Lot.
<3 all I can say
A quick n00b question...
I'm currently using 1.47 OTA version, but if I follow the instruction, will I be still at 1.47 or will the version be reverted to 1.32 with full root? It sounds like Simpleroot will revert the version to 1.32, but just wondering how this will result in after the full root of 1.47.
Thanks a lot for the detailed instruction!
Sweet, think I am getting somewhere. I went and checked to see if I was in fact rooted from when I tried following the first 1.47 OTA root guide. I get the # sign, thinking I should be good. But I guess I never went and took care of the superuser control. I type su in cmd and nothing prompts on my phone. Was this supposed to have happened at the very end of my root attempt? I didn't see it in the guide ... seemed as if when the guide ended it suggested that was it.
Unless something didn't properly get done ... but I got through the entire guide without any errors ... everything appeared to have been finished. superuser apk, from the market, effectively do the job, or is it all the same?
Any insight would be greatly appreciated, feel like something extremely minor is holding me back. Holding me down. -_-'
beesneazy said:
Sweet, think I am getting somewhere. I went and checked to see if I was in fact rooted from when I tried following the first 1.47 OTA root guide. I get the # sign, thinking I should be good. But I guess I never went and took care of the superuser control. I type su in cmd and nothing prompts on my phone. Was this supposed to have happened at the very end of my root attempt? I didn't see it in the guide ... seemed as if when the guide ended it suggested that was it.
Unless something didn't properly get done ... but I got through the entire guide without any errors ... everything appeared to have been finished. superuser apk, from the market, effectively do the job, or is it all the same?
Any insight would be greatly appreciated, feel like something extremely minor is holding me back. Holding me down. -_-'
Click to expand...
Click to collapse
If you are seeing the # then you should be all set.
The current Market version of Superuser is not the most up to date I believe.
whitslack has a flashable zip in his thread about fixing 4G that allows you to install the most up to date version.
This would only be needed I would think if you are staying on rooted stock. Most chefs include the SU app.
Hope that answers your question.
Edit:Come to think of it-even rooted stock should have the latest su app. So my question to you is after completing the root what ROM did you jump to?
Like I said above, if you have a # you should be all set but I don't *think* you are on 1.47 after this process, check your software #.
@st0921-this would apply to your question too. Since at the end of the process you flash the eng-PC36 my guess is that you are not on 1.47.
I say "guess" because I was safely rooted before the OTA and not run this process.
CLARIFICATION-As I state below eng-PC36 unlocks NAND so while you may be on 1.47 it is not a rooted ROM. You'll need to flash a rooted version of 1.47.
This is awesome! Thanks for sharing
If we are adding a custom rom, do we just add the zipped rom file to the sd card, or do I unzip it, then add to sd card?
Thank you.
winmonewbie said:
If you are seeing the # then you should be all set.
The current Market version of Superuser is not the most up to date I believe.
whitslack has a flashable zip in his thread about fixing 4G that allows you to install the most up to date version.
This would only be needed I would think if you are staying on rooted stock. Most chefs include the SU app.
Hope that answers your question.
Edit:Come to think of it-even rooted stock should have the latest su app. So my question to you is after completing the root what ROM did you jump to?
Like I said above, if you have a # you should be all set but I don't *think* you are on 1.47 after this process, check your software #.
@st0921-this would apply to your question too. Since at the end of the process you flash the eng-PC36 my guess is that you are not on 1.47.
I say "guess" because I was safely rooted before the OTA and not run this process.
Click to expand...
Click to collapse
Thanks a lot for the response, am also getting a little assistance from another forum member (vballboarder) and I think I get what the problem might be. Am going to try it in a minute.
Thing is, and I'll try to word this as best I can, is that I went through the guide, no problems, got to the end and it all seemed to go. At the end of the post it linked to Toast's 2nd part so I thought that was, naturally, the next step. I guess I was under the impression that the superuser icon would show up when I booted back into the phone. It wasn't there so I didn't want to proceed and possibly mess something up.
FW version: 2.1-update1
Baseband version: 1.36.00.04.02
Kernel version: 2.6.29-as94cf60 / [email protected] #1
Build number: 1.17.651.1 CL160858 test-keys
Software number: 1.17.651.1
Browser version: WebKit 3.1
PRI version: 1.34_003
PRL version: 60662
Like I said, I didn't want to proceed with fear of doing something irreversible. Things have changed, no doubt.
"forum user": "So, did you not do the 1.47 ROM? You just rooted and stopped? If you do the 1.47 rooted rom you won't have any problems at all, and it includes the superuser app."
^^^ Is this seriously all I need to do now? I am confusing the hell out of myself I think.
I CANT COMPLETE STEP 5Q! :S i have successfully completed all the previous steps and everything comes out as instructed.... any tips?
JuggZaPoppiN said:
If we are adding a custom rom, do we just add the zipped rom file to the sd card, or do I unzip it, then add to sd card?
Thank you.
Click to expand...
Click to collapse
Do not unzip. Just place it on your card in its zipped form.
beesneazy said:
Thanks a lot for the response, am also getting a little assistance from another forum member (vballboarder) and I think I get what the problem might be. Am going to try it in a minute.
Thing is, and I'll try to word this as best I can, is that I went through the guide, no problems, got to the end and it all seemed to go. At the end of the post it linked to Toast's 2nd part so I thought that was, naturally, the next step. I guess I was under the impression that the superuser icon would show up when I booted back into the phone. It wasn't there so I didn't want to proceed and possibly mess something up.
FW version: 2.1-update1
Baseband version: 1.36.00.04.02
Kernel version: 2.6.29-as94cf60 / [email protected] #1
Build number: 1.17.651.1 CL160858 test-keys
Software number: 1.17.651.1
Browser version: WebKit 3.1
PRI version: 1.34_003
PRL version: 60662
Like I said, I didn't want to proceed with fear of doing something irreversible. Things have changed, no doubt.
"forum user": "So, did you not do the 1.47 ROM? You just rooted and stopped? If you do the 1.47 rooted rom you won't have any problems at all, and it includes the superuser app."
^^^ Is this seriously all I need to do now? I am confusing the hell out of myself I think.
Click to expand...
Click to collapse
Ah, gotcha. Yup, pick the ROM of your choosing and flash it.
I'm trying to unroot and run this process so I have a better understanding but I'm having RUU issues.
I think the process is giving you root access on your non-rooted ROM. In general this is not a good idea as things won't gel, even if you install SU.
So flash custom or rooted stock and you should be fine.
Toast Part 2 unlocks NAND, it doesn't install a ROM per se.
winmonewbie said:
@st0921-this would apply to your question too. Since at the end of the process you flash the eng-PC36 my guess is that you are not on 1.47.
I say "guess" because I was safely rooted before the OTA and not run this process.
CLARIFICATION-As I state below eng-PC36 unlocks NAND so while you may be on 1.47 it is not a rooted ROM. You'll need to flash a rooted version of 1.47.
Click to expand...
Click to collapse
Thanks for the clarification. So, if I want a rom with 1.47 update built-in, then i can flash a custom rom at step 5AD) after i save the zip file into the sd card?
Ahh ok, reading comprehension has taken a serious hit lately. Or something.
So when flashing this ROM, I then proceed to the second step, nand backup for future purposes, and then it's go time?
cw269484 said:
I CANT COMPLETE STEP 5Q! :S i have successfully completed all the previous steps and everything comes out as instructed.... any tips?
Click to expand...
Click to collapse
From what I know that step is tricky as it requires good timing/ What exactly are you seeing?
st0921 said:
Thanks for the clarification. So, if I want a rom with 1.47 update built-in, then i can flash a custom rom at step 5AD) after i save the zip file into the sd card?
Click to expand...
Click to collapse
You got it!
beesneazy said:
Ahh ok, reading comprehension has taken a serious hit lately. Or something.
So when flashing this ROM, I then proceed to the second step, nand backup for future purposes, and then it's go time?
Click to expand...
Click to collapse
You COULD Nand backup at that point thought I'm not sure of the point of having that ROM backed up, like I said (and could be wrong) you have a non-rooted version of 1.47.
I would flash the next ROM, set it up, and back THAT up.
winmonewbie said:
You COULD Nand backup at that point thought I'm not sure of the point of having that ROM backed up, like I said (and could be wrong) you have a non-rooted version of 1.47.
I would flash the next ROM, set it up, and back THAT up.
Click to expand...
Click to collapse
Well, about to run through this thread;
http://forum.xda-developers.com/showthread.php?t=715915
Sounds like it would also fix my WiMAX radio which hasn't been working since going through the initial root process. And then, as I'm told, this will give me my superuser access? That's the idea I'm getting, then I could set everything back up. Back it up, and if I wasn't feeling future ROMs I could go back if I chose, or try another. Apps and such? I didn't really "set" things up the first time around as I was expecting to go through this and get it going.
Or, once again, am I wrong? LOL I hate to clutter the thread. -_-'
beesneazy said:
Well, about to run through this thread;
http://forum.xda-developers.com/showthread.php?t=715915
Sounds like it would also fix my WiMAX radio which hasn't been working since going through the initial root process. And then, as I'm told, this will give me my superuser access? That's the idea I'm getting, then I could set everything back up. Back it up, and if I wasn't feeling future ROMs I could go back if I chose, or try another. Apps and such? I didn't really "set" things up the first time around as I was expecting to go through this and get it going.
Or, once again, am I wrong? LOL I hate to clutter the thread. -_-'
Click to expand...
Click to collapse
It's all good my Friend. You are on the right track for sure.
I dont have 4G but I did run through whitslacks steps. That will give you a rooted stock ROM with the updated wimax and radio. (and SuperUser once you flash the included zip) It will work as long as your mac address isnt busted.
If you run that and everything is ok then backing that up would be a good idea.
Whether you back it up immediately post flash or after you have all your settings and apps the way you like them is completely up to you.
"OMFG."
Thank you, good sir.
I guess I thought this was where I was sitting after doing the initial root.
Your help is greatly appreciated. On with LeBron ... I guess. Not sure why I'm watching this ... disappointment is sure to follow.
finally completed step 5q, but now after i type
/data/local/flash_image misc / sdcard/mtd-eng.omg
i get:
"error writing misc: permission denied"
help!
:s
[GUIDE] HTC EVO on METROPCS FULL ROOT > 2.1 DROID CUSTOM ROM > WEB > MMS > PRL UPDATE
***Read this first pleaseHello everyone, life on budget sucks :/ but gotta suck it up till I graduate, so let's show some love to METROPIECSH..
This is a combination of tutorials from this site and some other sites that i compiled to get my HTC Evo up and running with MetroPCS.
Since (2.2) Rom still have no proper cure for mms,wap and market apps and after trying several 2.2 Roms, I ended up migrating back to my old steady 2.1. And here is the step by step path I followed.
Before We Start I personally would like to thank to:
SYNTHAXXX from XDA-Developers
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FastRX8 from PPCGeeks
Drunkenmojo from Howard Forums
ObsidianX from Droid Forums
who are the true authors of this Guide.
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
**Please use this guide if you're holding a HTC EVO that has a software version 1.32.651.1 or 1.32.651.6.
And be aware of
things that do NOT Work:
DOWNLOADING APPS FROM MARKET ON METROWEBWorks when you are on WIFI
VOICE SEARCH ON METROWEBWorks when you are on WIFI
VOICE MAIL NOTIFICATIONS
-----------------------------------------------------------------------------
The rom i am using and suggest you to install is DamageControlv3.1.2-deodexed where you can always try other 2.1 Roms of course but i can not guarantee you can succeed with another Rom of your choice.
-----------------------------------------------------------------------------
ROOTING Part I and Part II (Full Root)
Section 1 - This part gives you basic root access.
Section 2 - This part unlocks NAND and gives you full control. There are 2 versions of Section 2. Either one works.The choice is yours on Section 2
* Version 1 - No PC needed. No ADB Shell needed.
* Version 2 - Using a PC and ADB Shell
Basic Root Access
This is for Full Root access. I dropped the instructions for partial root because they are not needed. With Full Root available, there is no need to only do a partial root. Even if all you want is permissions to load a custom rom, you'll need to have a backup in case something goes wrong and you can't use the backup if you're not fully rooted. So, follow these simple steps and you'll have everything you need.
Before you start
Before you start anything, your phone needs to be able to connect to the pc. If you haven't done so before, install HTC Sync. There is a folder on the sdcard that contains a version of HTC Sync or you can download a newer version from their site. It doesn't matter which version because you're not going to use it. We just need the drivers installed so the phone can communicate with the PC.
Next, make sure "USB Debugging" is turned ON.
Menu>Settings>Applications>Development>USB Debugging
If it's turned on, every time you connect your phone to the PC, you'll see "/!\ USB Debugging connected" in the notifications on the phone.
Items you'll need
1- PC36IMG.zip (Place this on your sdcard)
2- eng-PC36IMG.zip - Mirror 1 - (Place this on your sdcard)
3- Full Root files.zip - This zip contains 3 files you will extract to your sdcard (flash_image, mtd-eng.img, recovery.img)
Now you sdcard should look like this -
4- evo-recovery - Extract this folder to your C:\ drive so you should see C:\evo-recovery
5- Store the DamageControlv3.1.2-deodexed rom into your Evo's sdcard or if you don't want a custom rom, then at least install the rooted version of the Sprint Rom --> here <-- (place this rom on your sdcard too )
Section 1 -
1A) Connect your EVO to the PC and select "disk drive" so that you can see your storage card from the "My Computer" window
1B) Copy the file PC36IMG.zip and eng-PC36IMG.zip to the storage card. Don't unzip it and don't put it in a folder. Just copy the files.
1C) Take the "Full Root Files.zip" you downloaded and unzip all 3 files to the storage card. Don't put them in a folder.
At this point, you should have 5 new files on your storage card as shown in the picture above under items needed.
1D) Power-off your phone by holding the power-button for several seconds. The top choice is "Power Off."
1E) While holding "Volume DOWN", push the "Power" button so the phone turns on. You don't need to hold the "Power" button, but you do need to hold the "Volume DOWN" button. This will bring you straight to the bootloader screen which says
-FASTBOOT
-RECOVERY
-CLEAR STORAGE
-SIMLOCK
-HBOOT USB
Just wait for a minute. It will read your storage card. This takes about 30secs and there is a progress bar on the top right. It's reading the PC36IMG.zip file you placed on the card.
1F) Once that's done, it says, "Do you want to start update?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and then wait.
1G) Once that's done, it says, "Update Complete. Do you want to reboot device?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and you will reboot.
Now just be patient. It will take a while to start up the first time, but when it's done, you'll be at the setup screen you saw the first time you turned on the device. Skip all the account setups and whatever else. You just want to get to the Home screen so you can go to the next step.
Now you're phone is partially rooted, but we're not stopping there.
Section 2 Version 1 - No PC Needed - (Remember this section is optional you can always skip this and do the Section 2 Version 2 via your PC also.)
2A) Go to the Market and download/install EStrongs File Explorer. Just search for "EStrong" pick "Estrongs File Explorer." Then download/install Barcode Scanner by ZXing. Just search for "Barcode."
2B) Open Barcode Scanner and scan the QR code below. Select "Open Browser" then download/install. Note: This will allow you to install Android Terminal Emulator by Jack Palevich. I couldn't find it in the market, so I'm using this method.
2C) Open Estrongs File explorer. Long-press on the files to rename the file "PC36IMG.zip" --> "root-PC36IMG.zip" and then rename "eng-PC36IMG.zip" --> "PC36IMG.zip"
2D) Open "Android Terminal Emulator" that you installed in step 2B, and type the following commands. Hit Enter after each line.
Code:
su
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image misc /sdcard/mtd-eng.img
If you typed each line correctly, you won't see any changes, you'll just go down to the next line w/ a "#"
2E) Power-off your phone by holding the power-button for several seconds. The top choice is "Power Off."
2F) While holding "Volume DOWN", push the "Power" button so the phone turns on. You don't need to hold the "Power" button, but you do need to hold the "Volume DOWN" button. This will bring you straight to the bootloader screen which says
-FASTBOOT
-RECOVERY
-CLEAR STORAGE
-SIMLOCK
-HBOOT USB
Just wait for a minute. It will read your storage card. This takes about 30secs and there is a progress bar on the top right. It's reading the PC36IMG.zip file you placed on the card.
2G) Once that's done, it says, "Do you want to start update?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and then wait.
2H) Once that's done, it says, "Update Complete. Do you want to reboot device?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and you will reboot.
Skip all the account setups and whatever else. You just want to get to the Home screen so you can go to the next step.
2I) Once your back to the home screen, go back to the Market place, go to downloads, and you should still see Estrongs and Android Terminal. You need to download/install them again.
2J) Open Estrongs File explorer. Long-press on the file to rename the file "PC36IMG.zip" --> "eng-PC36IMG.zip"
2K) Open "Android Terminal Emulator" that you installed in step 2B, and type the following commands. Hit Enter after each line.
Code:
su
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img
If you typed each line correctly, you won't see any changes, you'll just go down to the next line w/ a "#"
2L) Power-off your phone by holding the power-button for several seconds. The top choice is "Power Off."
2M) While holding "Volume DOWN", push the "Power" button so the phone turns on. You don't need to hold the "Power" button, but you do need to hold the "Volume DOWN" button. This will bring you straight to the bootloader screen which says
-FASTBOOT
-RECOVERY
-CLEAR STORAGE
-SIMLOCK
-HBOOT USB
Just wait for a minute. It will read your storage card. It won't find the PC36IMG.zip file because it was renamed. When it's done searching, use "Volume DOWN" to highlight "Recovery" and "Power" button to select it.
The phone will reboot into Recovery Mode.
2N) From the list, use "Volume DOWN" to highlight "Wipe" and "Power" button to select it.
2O) In the Wipe menu you're going to use the "Volume DOWN" to highlight "Wipe data/factory reset" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe data/factory reset" twice.
2P) Use the "Volume DOWN" to highlight "Wipe Dalvik-cache" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe Dalvik-cache" twice.
Now push "Power" button to return to the previous menu.
2Q) Use the "Volume DOWN" to highlight "Flash zip from sdcard" and "Power" button to select it.
At this point every zip file on the root of your sdcard will show. Make sure you know which one you want to flash.
2R) Use the "Volume DOWN" to highlight your rom or radio file and "Power" button to select it, then "Power" button again to confirm. Sit back and wait. Mine took about 2mins.
When it's done, hit "Power" button to "Reboot system now" and enjoy your rooted EVO w/ a custom rom.
Section 2 Version 2 - Using the PC - (If you completed the Section 2 Version 1 without a PC than please skip this section)
2A) Connect your EVO to the PC and select "disk drive" so that you can see your storage card from the "My Computer" window
2B) Rename the file "PC36IMG.zip" --> "root-PC36IMG.zip" and then rename "eng-PC36IMG.zip" --> "PC36IMG.zip"
2C) Disconnect the EVO from the USB, wait about 5seconds, then reconnect the EVO but this time select "Charge Only"
Note: Make sure you have USB Debugging turn on
Menu>Settings>Applications>Development>USB Debugging
2D) Open a "run" window by hitting the Windows key + "R" in the command line type (or cut/paste)
Code:
c:\evo-recovery\adb-windows shell
then hit "OK"
2E) In the window that opens, type (do not cut/paste this) Hit Enter after each line.
Code:
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image misc /sdcard/mtd-eng.img
If you typed each line correctly, you won't see any changes and the line will just repeat once when you hit enter. Each command takes a second or two.
2F) Power-off your phone by holding the power-button for several seconds. The top choice is "Power Off."
2G) While holding "Volume DOWN", push the "Power" button so the phone turns on. You don't need to hold the "Power" button, but you do need to hold the "Volume DOWN" button. This will bring you straight to the bootloader screen which says
-FASTBOOT
-RECOVERY
-CLEAR STORAGE
-SIMLOCK
-HBOOT USB
Just wait for a minute. It will read your storage card. This takes about 30secs and there is a progress bar on the top right. It's reading the PC36IMG.zip file you placed on the card.
2H) Once that's done, it says, "Do you want to start update?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and then wait.
2I) Once that's done, it says, "Update Complete. Do you want to reboot device?" Volume UP=YES Volume Down=NO. Hit "Volume UP" and you will reboot.
Skip all the account setups and whatever else. You just want to get to the Home screen so you can go to the next step.
2J) Once your back to the home screen, the EVO should be connected as "Charge Only"
Note: Make sure you have USB Debugging turn on
Menu>Settings>Applications>Development>USB Debugging
2K) Open a "run" window by hitting the Windows key + "R" in the command line type (or cut/paste)
Code:
c:\evo-recovery\adb-windows shell
then hit "OK"
2L) In the window that opens, type (do not cut/paste this) Hit Enter after each line.
Code:
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img
reboot recovery
If you typed each line correctly, you won't see any changes and the line will just repeat once when you hit enter. Each command takes a second or two. The last command will reboot your phone into recovery mode.
2M) From the list, use "Volume DOWN" to highlight "Wipe" and "Power" button to select it.
2N) In the Wipe menu you're going to use the "Volume DOWN" to highlight "Wipe data/factory reset" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe data/factory reset" twice.
2O) Use the "Volume DOWN" to highlight "Wipe Dalvik-cache" and "Power" button to select it, then "Power" button again to confirm. Once it's done, repeat this step so you "Wipe Dalvik-cache" twice.
Now push "Power" button to return to the previous menu.
2P) Use the "Volume DOWN" to highlight "Flash zip from sdcard" and "Power" button to select it.
At this point every zip file on the root of your sdcard will show. Make sure you know which one you're using.
2Q) Use the "Volume DOWN" to highlight your rom or radio file and "Power" button to select it, then "Power" button again to confirm. Sit back and wait. Mine took about 2mins.
When it's done, hit "Power" button to "Reboot system now" and enjoy your rooted EVO w/ a custom rom.
Provisioning your HTC EVO For MetroWeb
1) Download and install the latest version of the Android SDK from http://developer.android.com/sdk/index.html
2) Connect your phone to your computer and then dial ##3424 [Call Button] on the phone to get into diagnostic mode (A DM Command service screen should appear on the phone). You computer should now detect your phone as HTC Diagnostic Interface COM Port. You can see that mine shows up as COM21. Take note of the COM port number as you will need it in the next step.
3) Run QPST Configuration and look for the COM port that was added for the HTC Diagnostic Interface in step 2. Mine would be COM21 in this example. If you don't see it, use the Add New Port button to add it in.
4) Before we start messing with the phones NV settings. We want to do an NV backup first. In QPST Configuration, From the top menu, select Start Clients > SOFTWARE DOWNLOAD. Next, click on the Backup tab. In Backup, Select the phones port and file name you want to save to. Enter 000000 for the SPC and then click Start to create the backup. Click Exit once the backup completes.
5) In QPST Configuration, From the top menu, select Start Clients > SERVICE PROGRAMMING. Select your phone in the Phone Selection menu (it should be the only selection if no other phone is connected) and hit OK. Next, click Read from phone. Enter 000000 for the SPC when asked for the Service Programming Code.
6) Click on the MIP tab. From there, change the following:
Mobile IP Behavior: Mob + Sim f/back (Simple IP only would probably also work)
Active User: 0
7) Double click the User Profile 0 in the list box to edit it. In the Mobile IP Profile dialog box, change the following:
NAI: 10DigitPhone#@mymetropcs.com
Tethered NAI: 10DigitPhone#@mymetropcs.com
Home address: 0.0.0.0
Primary HA address: 0.0.0.0
Secondary HA address: 0.0.0.0
Click OK
8) Click on the PPP Config tab. You will now need to calculate your MSL code based on the Metro PCS algorithm (i.e. As if your phone was a Metro PCS branded phone). You can use my MSL generator hosted by whiterabbitorg at http://www.whiterabbit.org/android/ or software such as CDMA Workshop 3.5. Next, click the Um button and change the following. Be sure to use the MSL code you just generated where I have 6DigitMSLCode:
Tethered NAI: 10DigitPhone#@mymetropcs.com
User ID: 10DigitPhone#@mymetropcs.com
Password: 6DigitMSLCode
Primary DNS: [leave blank or delete any values]
Secondary DNS: [leave blank or delete any values]
9) Click the AN button and change the following. Again, be sure to use the MSL code you just generated in the Step 8 where I have 6DigitMSLCode:
User ID: 10DigitPhone#@mymetropcs.com
Password: 6DigitMSLCode
10) Click Write to Phone. Make notes of any errors for troubleshooting but you can probably ignore them. Close out QPST once writing is complete.
11) These last few steps are optional if you can complete the entire guide. In which case, you can skip to Part II. Otherwise, go back to the phone & install Any Cut from the Android Market Place via WiFi. Run Any Cut and chose New shortcut > Activity > Proxy settings. Any Cut will create a Proxy settings shortcut on your home screen.
12) Run the Proxy Settings you just created and enter the following:
Hostname: proxy.metropcs.net
Port: 3128
Click Save
Provisioning your HTC EVO For Metro MMS
1) Download and install APN Backup & Restore via WiFi from the Android Market Place.
2) Insert the microSD card into your phone. Run APN Backup & Restore and do a backup by clicking the Backup APNs button. When you are asked to give the backup file a name, go ahead and name it something sensible such as originalAPNs.xml.
3) Connect your phone to your computer and select Disk Drive mode. This will expose the microSD card inside the phone to your computer (you can see mine shows up as G: ). Copy the attached file metropcsAPNs.xml to the ApnBackupRestore folder. Disconnect your phone from the computer.
4) Re-run APN Backup & Restore. This time you are going to first click Delete APNs (be careful NOT to click Delete Backup Files) and click Yes to confirm. Next, click Restore APNs and select the metropcsAPNs.xml file you just copied over to the microSD card in step 3. Click OK to confirm and Yes to check for duplicates.
5) Restart your phone.
6) Download this package.(Precompiled arm binary (with autostart scripts) for the Droid Unzip the RAR - It contains the 3 files which will be used.
7) Put these 3 files anywhere on your SD card (Root of your Sd card prefferred since it is easy to find .
8) Using Root Explorer, copy "u2nl" to root/system/bin/ (Root is not a folder it is the root of your sd card )
9) Using Root Explorer, create a new folder within root/data/ and name it "opt" (without quotes). (You need a full version of this which costs money or you can do it your way from wild wild web )
10) Using Root Explorer, copy "autostart.sh to root/data/opt/
11) Download "Autostart (Root)" from the market.
12) Download "APN Backup and Restore" from the market.
13) Open APN Backup and do a backup of your current APN (for safe keeping).
14) Using APN Backup, delete APN's.
15) Using any file explorer, move the metropcsAPNs.xml to the APN backup folder on your SD card.
16) Using APN Backup, restore APN's and select the metropcsAPNs.xml as the file to restore.
17) Reboot and you are done.
Provisioning Data Access For Apps
Data access for apps without the need for WiFi. (Remember you can NOT download apps via Metro data from Market place.)
1) Go to http://www.whiterabbit.org/android/ and download the ZIP file containing the precompiled binary of u2nl and autostart.sh (it's the link labeled precompiled arm binary). Unzip the download and locate the files u2nl and autostart.sh for the eris (in the main folder and autostart\htcheroeris\metropcs subfolder of the unzipped file, respectively).
2) With the microSD card into your phone, connect your phone to your computer and select Disk Drive mode. copy both u2nl and autostart.sh to the root of your SD card. Once finished, disconnect the phone from your computer.
3) On the phone, enable USB debugging by going to Settings > Applications > Development. This will help reduce the chances that Superuser request will lock up the phone. You can turn USB debugging off after you've completed the guide.
4) Using WiFi, download and install Autostart (Root) by blank.online.eu from the Android Market Place. Once Autostart finishes installing, exit the Android Market Place and turn off WiFi.
5) Connect your phone to your computer and select HTC Sync mode. On the computer, open up a DOS command prompt window. You can do this by going to Start > Run and then typing in cmd [ENTER].
6) You are now going to start an adb shell to copy the files you downloaded in Step 1 to the phone as well as changing some permissions. There are many ways to accomplish this same task: from the adb shell, a terminal emulator on the phone, or a combination there of. This is only my suggested way as it has worked for me without issue. During the process outlined bellow, the phone may ask you to allow for Superuser Permissions when you issue the su command. If it does ask, click Allow on the phone. In the command prompt windows type the following:
Code:
adb shell
su
mount -o rw,remount /dev/block/mtdblock3 /system
cd /data
mkdir opt
chmod 0755 /data/opt
chmod 0755 /system/bin
mount -o rw,remount /dev/block/mtdblock3 /system
cp /sdcard/autostart.sh /data/opt/autostart.sh
cp /sdcard/u2nl /system/bin/u2nl
chmod 0755 /data/opt/autostart.sh
chmod 0755 /system/bin/u2nl
reboot
7) Once the phone reboots, Superuser Permissions will ask if you want to allow Autostart to run at system startup. Click Always Allow.
Congratulations!!! You did it!!!
BONUS How to flash MetroPCS PRL:
You need "CDMA Workshop" or any PC software that can read and write to your phone's NAND by comport.
1) Download MetroPCS 2001 PRL from this site to your PC's hard drive somewhere.
2) Enable the diagnostic mode on your phone by ##3224#
3) Start CDMA Workshop on your PC and you'll be on the "Main" tab which contains the connection settings. Under COM Settings (AT Mode) you'll have to change the Port to the COM Port your phone is on. Leave the Baud rate at 115200 and then click Connect.
The status bar on the bottom will say something along the lines "Connected to COM5 port successfully". Now you'll need to navigate to the Security tab and under SPC type in 000000 in the box. Next click SPC -> Send. This will unlock the phone for editing. A dialog will pop up to let you know as well
Finally we need to head on over to the Other tab where you'll find the PRL section. I would recommend Reading the NAM1 out of your phone before you do anything in case you need to restore the original settings.
After you've saved it flash any METROPCS PRL from the PRL files you saved from the link given above.
After flashing, quit CDMA Workshop and it will ask if you wish to send Mode Reset to the phone to apply changes (this restarts the phone) say yes and watch the Droid reboot.
VOILA
Another Suggested ROM by Bloodykiller86
Metrodroid v1.0
Reserved for me..
It seems you are in the same situation as me.
Ive been trying different methods to get my evo fully functional on metro with only partial luck.
Im going to follow your guide when i get home today. Does it provide working email (push?), voice mail notifications? Anything else that works or doesnt that i should know about?
Thanks for the effort in putting this tutorial together!
Sent from my PC36100 using XDA App
Me!!!
Thanks for putting me in your credits. However, would you mind fixing my name?
It's SYNTHAXXX (not Syntaxx).
Thanks
i'm having a lot of issues with this guide.
1) you say to download a package containing three files...it only has one file - metroapns.xml
2) during the mms process you tell us to donwload and install apn backup twice, and backup, delete, and restore apns twice.
3) it feels like the app part is doing via adb what we did via root explorer before
4) i followed all your instructions except the part for apps and tried to make a call...i'm getting "if you'd like to make a collect calll" - not connected to metro!!!!
so what now?
did you do a nv backup in qpst? if so do a restore, worked for me when I had this problem a while ago.
i did a backup, i did a restore, and nothing. i just reflashed the rom (basically going back to step 1) and still no connection to metro. keep in mind i had connection prior to starting this guide...what step along the way could have killed it?
even if i dial 611 i get "if you'd like to make a collect call..."
Wow. I'm not on metro but props to you guys, great write up.
Sent from my PC36100 using XDA App
ok now i'm really going to need an explanation.
there has to be something that got messed up along the way that i'm not seeing...
i followed the instructions above step by step, and ended up "if you'd like to make a collect call" - 411, 611, nothing dials out.
-----
i reflashed and checked all the QSPT settings ....everything looks the same as it always has.
-------
i just wiped, wiped dalvic, and installed ava-froyov6, which i had ava-froyov5 three days ago and it worked great. the qspt settings stayed the same, and still get the same message when trying to dial out....
so what step in this guide could have done something that would affect not only this rom/tutorial but stay affecting the phone AFTER a new flash/new rom?
help me out guys this was supposed to take an hour...now i've been at it for 3+ and have NO SERVICE...
Max_Pain said:
ok now i'm really going to need an explanation.
there has to be something that got messed up along the way that i'm not seeing...
i followed the instructions above step by step, and ended up "if you'd like to make a collect call" - 411, 611, nothing dials out.
-----
i reflashed and checked all the QSPT settings ....everything looks the same as it always has.
-------
i just wiped, wiped dalvic, and installed ava-froyov6, which i had ava-froyov5 three days ago and it worked great. the qspt settings stayed the same, and still get the same message when trying to dial out....
so what step in this guide could have done something that would affect not only this rom/tutorial but stay affecting the phone AFTER a new flash/new rom?
help me out guys this was supposed to take an hour...now i've been at it for 3+ and have NO SERVICE...
Click to expand...
Click to collapse
What PRL are you using?
Do the Bonus Part
Your phone probably flashed to Sprint PRLS. You need to flash your PRL TO MetroPcs
I am on 2001 PRL btw
that fixed it.
i did follow your instructions but you said pick one of the PRLs, i went with one of the ones in the "middle"...2001 worked. now to go back and try this again...but it'll have to be another day
in the meantime, can you go over the actual text of your guide and fix the redundancies? you literally tell us to download/install the same programs repeatedly, as well as doing the same thing or what looks like exactly the same thing more than once.
i've flashed phones before, including this evo, prior to your tutorial, and i have to say i was confused...
thanks for the effort. if you can clean up the text it'll be a great guide
Hello all,
First thank you to gazla1978 for putting this all in one spot (regardless of the redunances…lol) and thank you also to Synthaxxx your work on this has been invaluable to the community.
I need some help. I am sure I am missing something because I have followed this guide completely through three times and still can not get the internet to work.
-I start with the stock Sprint 1.32.651.6 rom and then do Section 1
-Then I do section 2 Version 1 with terminal emulator
-Then I go to the Provisioning section with QPST – No problems there
-Now when I go to the Provisioning for MMS and run the APN Backup I Back up the APN’s (Which there are none on the phone) and then I copy the Metro APN file to the SD Card and then unplug the phone go back to APN backup and restore and Restore the Metro APNs.
-It says that it restored 3 files but if you go to the APN section on the phone there are no APN’s created there!
I also had this same problem when I used Synthaxxx guide yesterday.
No ones guide is working for me and I have flashed this phone back to stock five times in two days and have been running these solutions trying to figure out where I am going wrong but this is the only part of the solution not working as you and Synthaxxx have described so I must be doing something wrong in connection with this!
Also something that I found as odd was that yesterday I couldn't get the APN Restore to work while following Synthaxxx's solution so I went to the APN section on my phone and then opened his MetroAPN file and manually programed the APN's into my phone.
However, if I change the MNC setting which is 120 by defult to the Metro 00 or 004 and try to save the APN it just compleatly erases the APN off the phone.
Any iedas?
Thanks in advance to everyone who helped with this!
Elisa
Hello all,
I got it to work!!!!!
Let me state that as of yet I am not exactly sure what was wrong but I have a good idea. I have to go out till tommarow but I will track down the flawed step tommarow and post it here if it seems like something others may do.
Thank you very much guys
Elisa
Please do update when you figure it out...i still don't have everything working...
Swyped from an HTC Evo on MetroPCS...
i dont think i can followed this guide..
Cuz this is my software specs...
3.26.651.6
Also i had try Syntaxxx guide...
BUT I NEVER GET THAT PORTS ON MY DEVICE MANAGER
ANY IDEA WHY THAT PORTS DOESNT SHOWED
HTC EVO on Virgin Mobile
I there any way to follow a similar method to root the HTC EVO to work with Virgin Mobile, especially since they will be oon getting their first Android phone and they have a great data plan for $25?
triniprodigy said:
I there any way to follow a similar method to root the HTC EVO to work with Virgin Mobile, especially since they will be oon getting their first Android phone and they have a great data plan for $25?
Click to expand...
Click to collapse
Need help getting your EVO or any other phone to work on metropcs? IM IN DALLAS / FORT WORTH AREA IN TEXAS.
I can root your evo too giving full nand access..
Contact 8172621819 (prefer texts) or [email protected]
Thanks
After you root try out my rom it has everything working from stock
http://forum.xda-developers.com/showthread.php?t=795182
I'm trying to find if there is any way to get it to work on virgin mobile, not metropcs. Since viorgin mobile will soon be getting their first android phone, I was wondering if a similar method for getting the phone to work on metropcs can be exploited to work on virgin mobile..
I had a first generation Galaxy S and was fairly involved in XDA until I traded it in for an iPhone. A few days ago I bought the One X and I noticed there weren't any guides tailored to Mac users on how to flash custom ROMs from a brand new stock device. So here I go. If I have time and get the permission of the developers of the root exploit I might eventually create a mac program that automates the process. Over time I will also try to improve this with screenshots and better instructions. I take no liability if your phone blows up or if it doesn't work for you.
This is just a rough draft, use at your own risk.
Overview
Root the Device
Install Custom Recovery
Install Custom ROM
Directions
Assuming you are on the latest firmware, 2.20, you have to use the X-Factor root exploit. It should be in the downloads folder that you will download below. I did not come up with this expliot so if it works you should donate to its creator. For convenience I bundled the tools you will need into a single zip file. You can download it here. Place the unzipped folder on your desktop. You will also need a custom ROM downloaded from the Android Dev portion of this forum.
Rooting
Back up all data that you would miss if lost.
Open up settings > Developer Options > USB Debugging
Plug your phone into your computer. Do not mount the drive; just leave it in charging mode.
Move the folder you downloaded earlier onto your mac's desktop. Now open a terminal window and type "cd desktop/htconexmac" and press enter.
Now type "sh run.sh" and press enter.
Press enter again when the disclaimer pops up.
If it works, on your phones screen a message should pop up asking for backup restorations as well as a prompt for passwords. Ignore the password spaces and autorize it. It should prompt you twice.
The phone should restart into "bootloader mode." Press the enter button on your computer once this loads and it should confirm that your new CID is "11111111" if it worked. If it doesn't say that then try again from scratch.
Press enter again and you should get a big block of text copy the whole block including the tags on either side of it. You will need this to unlock the bootloader.
Go to htcdev.com and make an account. Now go to htcdev.com/bootloader and in the drop down box select All Other Supported Models press enter and follow their directions.
Recovery
Close terminal entirely (not really necessary, it just makes things go smoother) and reopen it. Now type "cd desktop/htconexmac" and press enter.
Now turn your phone off entirely and turn it back on by pressing the power and volume down buttons at the same time. You should boot back into recovery mode. This time, use the volume keys to select fastboot
With your phone plugged in and USB Debugging still enabled, type "./fastboot.osx flash recovery twrp.img" This will install the TWRP Custom Recovery. I did not make this, if it works for you I would suggest donating to its developer.
When it is done installing you can turn off your phone and then boot back into the bootloader by holding the power button and volume down button at the same time.
Now scroll to recovery and press the power key. You should boot to a screen with lots of buttons.
Flashing the ROM
Press the button that says "Mount" and then press the button that says "Mount USB Storage." In a moment you should see your phone appear mounted as a disk on your computer. Drag the .zip file of whatever ROM you downloaded to this disk as well as the file titled "gaaps.zip." Once they finish copying press "unmount."
Press the back button to return to the main screen and then press the button titled "Wipe"
Do a factory reset. Press back. Wipe the cache. Press back. Wipe the Dalvik cache. Press back twice to get to the main menu.
Press "Install" and then select the zip file on the ROM you want to install. Press "add more zips" and select "gapps.zip." Finally slide to confirm the flash.
When it is done flashing go back to the main menu and press "reboot" and then "bootloader"
Make sure it says "FASTBOOT USB" in red. On your computer find the folder where you kept your ROM and extract the zip file. Find the file called "boot.img" and copy it into the htconexmac file on your desktop.
In terminal type "./fastboot.osx flash boot boot.img"
When it is completed type "./fastbook.osx reboot"
Your phone should boot with its ROM!
nice one bro
BreatheHT said:
nice one bro
Click to expand...
Click to collapse
Thanks. I don't think many people around here use mac though.
Very useful. Before I got my Win8 I felt like Mac users were left out. Still prefer to do things on my Mac when possible. Thanks for posting this
I am glad for the instructions. I just inherited my wife's old Mac Book and it's great to get intro to fastboot with OSX.
Sent from my HTC One X using Tapatalk 2
Thanks bro. I got a Mac and I've been waiting for clear instructions. Ill will give this a shot later today!
HtcOneXda-developers app
azd9 said:
Thanks. I don't think many people around here use mac though.
Click to expand...
Click to collapse
good job, on a mac 2
Very valuable!
Sent from my One X using Tapatalk 2
azd9 said:
I had a first generation Galaxy S and was fairly involved in XDA until I traded it in for an iPhone. A few days ago I bought the One X and I noticed there weren't any guides tailored to Mac users on how to flash custom ROMs from a brand new stock device. So here I go. If I have time and get the permission of the developers of the root exploit I might eventually create a mac program that automates the process. Over time I will also try to improve this with screenshots and better instructions. I take no liability if your phone blows up or if it doesn't work for you.
This is just a rough draft, use at your own risk.
Overview
Root the Device
Install Custom Recovery
Install Custom ROM
Directions
Assuming you are on the latest firmware, 2.20, you have to use the X-Factor root exploit. It should be in the downloads folder that you will download below. I did not come up with this expliot so if it works you should donate to its creator. For convenience I bundled the tools you will need into a single zip file. You can download it here. Place the unzipped folder on your desktop. You will also need a custom ROM downloaded from the Android Dev portion of this forum.
Rooting
Back up all data that you would miss if lost.
Open up settings > Developer Options > USB Debugging
Plug your phone into your computer. Do not mount the drive; just leave it in charging mode.
Move the folder you downloaded earlier onto your mac's desktop. Now open a terminal window and type "cd desktop/htconexmac" and press enter.
Now type "sh run.sh" and press enter.
Press enter again when the disclaimer pops up.
If it works, on your phones screen a message should pop up asking for backup restorations as well as a prompt for passwords. Ignore the password spaces and autorize it. It should prompt you twice.
The phone should restart into "bootloader mode." Press the enter button on your computer once this loads and it should confirm that your new CID is "11111111" if it worked. If it doesn't say that then try again from scratch.
Press enter again and you should get a big block of text copy the whole block including the tags on either side of it. You will need this to unlock the bootloader.
Go to htcdev.com and make an account. Now go to htcdev.com/bootloader and in the drop down box select All Other Supported Models press enter and follow their directions.
Recovery
Close terminal entirely (not really necessary, it just makes things go smoother) and reopen it. Now type "cd desktop/htconexmac" and press enter.
Now turn your phone off entirely and turn it back on by pressing the power and volume down buttons at the same time. You should boot back into recovery mode. This time, use the volume keys to select fastboot
With your phone plugged in and USB Debugging still enabled, type "./fastboot.osx flash recovery twrp.img" This will install the TWRP Custom Recovery. I did not make this, if it works for you I would suggest donating to its developer.
When it is done installing you can turn off your phone and then boot back into the bootloader by holding the power button and volume down button at the same time.
Now scroll to recovery and press the power key. You should boot to a screen with lots of buttons.
Flashing the ROM
Press the button that says "Mount" and then press the button that says "Mount USB Storage." In a moment you should see your phone appear mounted as a disk on your computer. Drag the .zip file of whatever ROM you downloaded to this disk as well as the file titled "gaaps.zip." Once they finish copying press "unmount."
Press the back button to return to the main screen and then press the button titled "Wipe"
Do a factory reset. Press back. Wipe the cache. Press back. Wipe the Dalvik cache. Press back twice to get to the main menu.
Press "Install" and then select the zip file on the ROM you want to install. Press "add more zips" and select "gapps.zip." Finally slide to confirm the flash.
When it is done flashing go back to the main menu and press "reboot" and then "bootloader"
Make sure it says "FASTBOOT USB" in red. On your computer find the folder where you kept your ROM and extract the zip file. Find the file called "boot.img" and copy it into the htconexmac file on your desktop.
In terminal type "./fastboot.osx flash boot boot.img"
When it is completed type "./fastbook.osx reboot"
Your phone should boot with its ROM!
Click to expand...
Click to collapse
it keeps saying my "CID is not 11111111".......
Forget that last post from me.. Lol I got it.
HtcOneXda-developers app
Thanks for this. Was waiting for some clear mac directions before rooting/unlocking!
Awesome. Thank you!
mikeeygee said:
Awesome. Thank you!
Click to expand...
Click to collapse
Excellent write up.
One question, is the XFactor Exploit used on Rogers phones? I seem to remember this was for AT&T models.
Thanks again.
David
dkonkin said:
One question, is the XFactor Exploit used on Rogers phones?
Click to expand...
Click to collapse
It's not needed. Rogers phones can go straight to unlocking via htcdev.
Thanks again.
Plan to put HTC One X back in order tonight.
Numerous lessons learned, thanks to all for the assist.
David
dead link
the 'You can download it here' link is dead, could someone post another please?
so I can use this guide for my s2?
Below are six different flavors of CWM-based Recovery v6.0.2.8 for devices that use Allwinner A10 and A13 chips and are running Android 4.x. If you're unsure whether one of them is appropriate for your device, see "Which version should I choose?", below.
Unlike some versions, these will not erase the partition or SD card containing the update.zip that's just been installed. Also, the "wipe data/factory reset" option will not erase your internal SD card ('/emmc'). The button assignments should be what you'd expect: Vol- / Vol+ move the highlight up or down, Power selects, and any other button acts as a Back button. If your tablet has capacitive (touch) buttons and uses an ft5x touchscreen controller, they should act as Back buttons as well.
Installation
The files are packaged as update zips and can be installed from your existing stock or CWM recovery. Alternately, you can unzip the file and install it from a normally-booted system using a script.
From Recovery: Copy the entire file still zipped to your internal or external (removable) SD card. Reboot into Recovery, then choose 'install zip from sdcard'. Root access is not required if CWM is installed this way.
From a Running System: Unzip the file and copy recovery.img and install-recovery.sh to your internal or external SD card. Next, either run "adb shell" or open the Terminal app, then change the directory to where you stored the files. If you're using Terminal, start by running "su" to get root access (you may already have it if using adb). Now, type in "sh install-recovery.sh" then press Enter. Messages will appear telling you whether it succeeded or failed.
Which version should I choose?
Do I have an A10 or A13? From an adb shell or from the Terminal Emulator app, run "cat /proc/cpuinfo". Look next to the 'Hardware' entry: it should say either "sun4i" (A10) or "sun5i" (A13). If it says anything else, don't use these files.
Do I have 9, 10, or 11 partitions? From an adb shell or from the Terminal Emulator app, run "cat /proc/partitions". If the last of the "nand" entries is "nandi", you have 9; if it's "nandj", you have 10; if it's "nandk", you have 11. If you choose the wrong version, everything else will work correctly but CWM won't be able to mount your internal SD card (a.k.a. '/emmc'). If so, try installing the other version.
IMPORTANT: If your device has 8 or fewer partitions (i.e the last one is "nandh") do not install this version. It will end up in the wrong partition and likely require the entire ROM to be reflashed.
Booting into (CWM) Recovery
Getting into Recovery should be simple but sometimes it isn't. Try these methods in the order listed:
With the tablet off, press and hold both Vol+ and Power. It may take 10 seconds or more for the first logo or icon to appear.
With the tablet on and booted normally, press and hold the Power button until the tablet turns off - ignore the Shutdown popup. Now, try method #1 again.
From an adb shell prompt or from the Terminal Emulator app, enter
"echo -e 'boot-recovery\0' > /dev/block/nandf; sync"
(note: that's a "backslash zero" in the line above)
Now, press and hold Power until the tablet turns off, then turn it back on normally (i.e. no buttons pressed).
If none of the above work, post a question - perhaps someone else has a better solution.
(Edit: Previously, I'd said that "adb reboot recovery" should also do the trick but I've never had it succeed. I was mistaken: it does work on my A10 tablet but not on my A13. You may want to try it as an alternative to the suggestions above.)
Updates
v2
assigned additional key values to the navigation (up/down) functions, so each key should do something (if the various buttons on your tablet don't generate "standard" values", there's no way to predict what each will do until you test them)
fixed the syntax error in install-recovery.sh
fixed the reboot recovery menu item on the Advanced menu
v2a
added versions for tablets with 11 partitions
dolorespark said:
Below are four different flavors of CWM-based Recovery v6.0.2.8 for devices that use Allwinner A10 and A13 chips. If you're unsure whether one of them is appropriate for your device, see "Do I have an A10 or A13?", below.
Unlike some versions, these will not erase the partition or SD card containing the update.zip that's just been installed. Also, the "wipe data/factory reset" option will not erase your internal SD card ('/emmc'). The button assignments should be what you'd expect: Vol- / Vol+ move the highlight up or down, Power selects, and any other button acts as a Back button. If your tablet has capacitive (touch) buttons and uses an ft5x touchscreen controller, they should act as Back buttons as well.
Installation
The files are packaged as update zips and can be installed from your existing stock or CWM recovery. Alternately, you can unzip the file and install it from a normally-booted system using a script.
From Recovery: Copy the entire file still zipped to your internal or external (removable) SD card. Reboot into Recovery, then choose 'install zip from sdcard'. Root access is not required if CWM is installed this way.
From a Running System: Unzip the file and copy recovery.img and install-recovery.sh to your internal or external SD card. Next, either run "adb shell" or open the Terminal app, then change the directory to where you stored the files. If you're using Terminal, start by running "su" to get root access (you may already have it if using adb). Now, type in "sh install-recovery.sh" then press Enter. Messages will appear telling you whether it succeeded or failed.
Which version should I choose?
Do I have an A10 or A13? From an adb shell or from the Terminal Emulator app, run "cat /proc/cpuinfo". Look next to the 'Hardware' entry: it should say either "sun4i" (A10) or "sun5i" (A13). If it says anything else, don't use these files.
Do I have 9 or 10 partitions? From an adb shell or from the Terminal Emulator app, run "cat /proc/partitions". If the last entry is "nandi", you have 9; if it's "nandj", you have 10. If you choose the wrong version, everything else will work correctly but CWM won't be able to mount your internal SD card (a.k.a. '/emmc'). If so, try installing the other version.
Booting into (CWM) Recovery
Getting into Recovery should be simple but sometimes it isn't. Try these methods in the order listed:
With the tablet off, press and hold both Vol+ and Power. It may take 10 seconds or more for the first logo or icon to appear.
With the tablet on and booted normally, press and hold the Power button until the tablet turns off - ignore the Shutdown popup. Now, try method #1 again.
From an adb shell prompt or from the Terminal Emulator app, enter
"echo -e 'boot-recovery\0' > /dev/block/nandf; sync" (note: that's a "backslash zero" in there)
Now, press and hold Power until the tablet turns off, then turn it back on normally (i.e. no buttons pressed).
If none of the above work, post a question - perhaps someone else has a better solution. (Note: "adb reboot recovery" should also do the trick but I've never had it succeed.)
Click to expand...
Click to collapse
I'm getting a syntax error when executing the script - syntax error: '(' unexpected
EDIT: removed the parenthesis from the script using notepad, it ran fine. Thanks!
Hi,
Thanks for your work on this!!
No mount cache errors! woohoo!
Couple of things I needed to do on my tab (Cheap china a10 closest stock firmware mapad mx19a)
removed (dopa) from the install-recover.sh (notepad) including brackets
No luck with the hardware keys for navigation so pluged in a keyboard and after reboot cursor keys work.
Had no luck yet on installing a CWM firmware, goes through the steps of installing, reboots, get first logo but then sits on black screen (can just see the back light glow left it overnight but no change.)
But at least I've made a big step forward with your CWM recovery...
Sorry about the error in install-recovery.sh - the phrase to be echoed should have been in quotes. I'll fix that and repost the packages.
Solving the problems some people have with hardware keys is a bit trickier. On most tablets, the Vol- and Vol+ buttons generate standard numeric values (114 & 115) normally assigned to the "Volume Down" and "Volume Up" functions. However, on some tablets these buttons may generate other values. Currently, this version use the "Volume Down/Up" values for navigation and any other value as the "Back" button. I'll reassign some of these other values to the navigation functions so each button should do something.
Re: CWM 6.0.2.8 for Allwinner A10 & A13 Tablets - v2
Flashed it perfect no issues apart from vol+ is down and vice verser
Sent from my GT-S5830 using xda app-developers app
brewy said:
Flashed it perfect no issues apart from vol+ is down and vice verser
Click to expand...
Click to collapse
In an earlier version, the volume keys worked as you might prefer. However, a fair number of people complained they were backwards - and I had to agree. In most people's minds, '+' means progress or proceed away from the point of origin (in this case, downwards), while '-' means regress or return to the point of origin. I guess it's a matter of how your brain is wired...
Hi all
Sorry I asking but, will this works on:
Android 4.0 Tablet PC 5 Point Capacitive A13 1.2GHz
And if yes is there a ROM for that?
Thx in advance
:laugh: it's work on my Q7033 A13
the VOL- / VOL+ is reverse , HOME button is "back" and POWER is enter/execute
:good:
cannot start get to recovery using any combo keys though, so i had to boot normally and go to settings then choose reboot into recovery from there. Haven't tried rebooter or ROM toolbox etc
Edited:
can't get out of test key,
the home button that function as "back" now only showing
Code:
key: 102
Re: CWM 6.0.2.8 for Allwinner A10 & A13 Tablets - v2
Try holding vol+ and power when your pad is on I get a menu saying go to recovery and rom toolbox just reboots mine
Sent from my GT-S5830 using xda app-developers app
total awesomeness! :fingers-crossed:
i brought a MPman MP700 (Allwinner A13) and i was suprized to see 1. it was stock rooted 2. recovery was accessible from option "save and reset"
i totaly loved the "identification" with term (wich confirmed sun51 and Nandj) :good:
also if you want to find the proc model in a simpler way juste DL Antutu benchmark (it score 3k+ wich it isnt so bad for that pricerange)
i have a zip with all needed to install official playstore on those tabs (let me know if you want a dropbox or box link and a "mini-tuto" about it.)
for finding partition... well i guess only term emulator or Fatboobs.... oops:silly: fastboot do the trick.:good:
hey how did u pull stock recovery please can u tell me ?
icoolguy1995 said:
hey how did u pull stock recovery please can u tell me ?
Click to expand...
Click to collapse
From an adb shell prompt, change directory to the root of your internal SD card (typically "/mnt/sdcard"), then run "cat /dev/block/nandg > recovery.img" (you need root access to do this). Now, exit, then use the adb pull command to copy the file to your PC (e.g. "adb pull /mnt/sdcard/recovery.img"). The recovery image is identical in layout to a boot image, so you'll need the same tools to pull it apart and access the files therein.
Note: this is for Android 4.x (i.e. ICS or JB) - the partition assignments are different in GB and earlier.
dolorespark said:
Sorry about the error in install-recovery.sh - the phrase to be echoed should have been in quotes. I'll fix that and repost the packages.
Solving the problems some people have with hardware keys is a bit trickier. On most tablets, the Vol- and Vol+ buttons generate standard numeric values (114 & 115) normally assigned to the "Volume Down" and "Volume Up" functions. However, on some tablets these buttons may generate other values. Currently, this version use the "Volume Down/Up" values for navigation and any other value as the "Back" button. I'll reassign some of these other values to the navigation functions so each button should do something.
Click to expand...
Click to collapse
Key log says :
116 for power (select)
115 for volume up
139 for volume down
102 for home (back)
But on github it is 114 for volume down key
That's why we can't go to recovery mode when tab is off state
Worked perfectly for me on a Pulso p10c tablet, now all I need is to find some custom firmware.....
great work mate
dolorespark said:
Sorry about the error in install-recovery.sh - the phrase to be echoed should have been in quotes. I'll fix that and repost the packages.
Solving the problems some people have with hardware keys is a bit trickier. On most tablets, the Vol- and Vol+ buttons generate standard numeric values (114 & 115) normally assigned to the "Volume Down" and "Volume Up" functions. However, on some tablets these buttons may generate other values. Currently, this version use the "Volume Down/Up" values for navigation and any other value as the "Back" button. I'll reassign some of these other values to the navigation functions so each button should do something.
Click to expand...
Click to collapse
Please see the log key
ahirwar said:
Key log says :
115 for volume up
139 for volume down
But on github it is 114 for volume down key
That's why we can't go to recovery mode when tab is off state
Click to expand...
Click to collapse
Sorry, but that isn't the reason. These keycodes are generated by the kernel's keyboard driver in response to lower-level hardware events. When the bootloader is deciding what to boot, it's dealing directly with the hardware and no keycodes are involved.
If you are using the original ROM and can't boot into recovery, the reason may be that the bootloader's "environment" (stored in nandb) doesn't contain the command string that tells it how to do so. Alternately, it may not contain the hardware-generated values used to determine that the appropriate key has been pressed. If you've used LiveSuite to flash your tablet with some other tablet's ROM, these stored hardware values have probably gotten changed and may no longer match the value generated by your Vol+ button. Either way, you're S-O-L if you want to boot into recovery using Vol+.
i setup this recovery as well with adb shell
i try to boot into cwm with + key and - key but not booting in it
why?
i finaly done and install recovery
and boot into it with batch commande with adb
it seem my tablet doest boot from keys
i attached the batch commands to install and boot to CWM
just add recovery.img to it
Man you rock. This works wonderful on my tablet with only one exception and that is I can't boot directly into recovery from a powered off state no matter what key combination I try. I only can get in by going into settings and selecting "backup and reset, then recovery". I have the Flytouch 8 model BC1003 with A10 processor and 9 partitions. Any ideas?
And again I want to thank you and all the other developers on this site for your hard work,
Does your phone not boot into Fastboot? Even when you try:
Code:
adb reboot bootloader
(the software method),
Or pressing volume down and plugging the device in (the hardware method)?
I found a fix!
Here is what I did:
Download all of this:
Uppercut/LGUP: http://downloads.codefi.re/autoprime/LG/Flash_Tools/LGUP/ (both files)
RS988 KDZ: https://lg-firmwares.com/downloads-file/9466/RS98810h_01_0303
TWRP: https://dl.twrp.me/rs988/twrp-3.3.1-0-rs988.img
ADB: https://forum.xda-developers.com/attachment.php?attachmentid=4623157&d=1540039037
Flashing the KDZ
Install the "LGUP_Store_Frame_Ver_1_14_3.msi"
Disable your Antivirus (just pause it for a couple hours or so)
Extract "UPPERCUT_1.0.0.0.zip" and run "UPPERCUT.exe"
Click "OK"
Power off the phone
Press and hold the "Volume Down" and then plug your phone into the computer while continuing to hold "Volume Down"
Release the button once "Download Mode" appears on the screen
On LGUP, the phone should have appeared in the list. If so, skip to step 18, otherwise continue.
Download this: https://drive.google.com/file/d/0B5Lj5sOIvofGSWFINjhuS01vU1U/view
Run "LGMobileDriver_WHQL_Ver_4.0.4.exe" and finish the Install.
Search windows for "devmgmt" and open device manager.
Find the device named "android" or something similar
Right click the device and choose "Update Driver"
Click "Browse my computer for driver software"
Click "Let me pick from a list of drivers available on my computer"
It should have selected a driver named "Bootloader Interface" or something similar. Choose next.
Once the driver installs, close the window and close device manager.
On LGUP, press "Select"
Choose the "REFURBISH" option
Click on the empty box next to "BIN"
Click the ". . ." button and browse for the "RS98810h_01_0303.KDZ"
Click "Start"
If a dialogue appears about partitions being wiped, choose "OK"
Once finished, close LGUP
On the phone, if "Enter a Password" appears once booted, either enter random letters and numbers and submit them 30 times, or unplug the battery, then put it back in, then press "Volume Down" and "Power" at the same time, AND THE MOMENT THE LG LOGO APPEARS release and then press and hold the power button but CONTINUE TO HOLD VOLUME DOWN. Then use the volume and power buttons to select "Yes" both times and wait for the phone to preform a factory reset.
Unlocking the Phone's Bootloader
Enable "ADB Debugging" and "OEM Unlocking" (Settings > General > About phone > Software Info > Tap "Build Number" 7 times, then go to Settings > General >Developer Options > enable both "USB Debugging" and "OEM Unlocking")
Go to Settings > General > About Phone > Status and write down the IMEI number (preferably in a text editor on your computer for easy access)
Extract the "adb-setup-1.4.3.zip" and run "adb-setup-1.4.3.exe"
Reply "y" to everything and complete the install
Search windows for "cmd" and open "Command Prompt"
Execute:
Code:
adb reboot bootloader
Once the phone has rebooted, run:
Code:
fastboot oem device-id
you should get something like:
Code:
Example Device ID (PC User)$ fastboot oem device-id
(bootloader)-----------------------------------------------------------------
(bootloader) Device-ID
(bootloader) CD58B679A38D6B613ED518F37A05E013
(bootloader) F93190BD558261DBBC5584E8EF8789B1
(bootloader)-----------------------------------------------------------------
To generate your unlock key, you will need to paste together the 2 lines of output into one continuous string without "(bootloader)" or white spaces. In the example above, the Device ID would be:
Code:
CD58B679A38D6B613ED518F37A05E013F93190BD558261DBBC5584E8EF8789B1
Write the code down with the IMEI. (in a text editor)
Go to https://us.lgaccount.com/join/terms
Sign up for a LG Developer account. Continue once completed.
Go to https://developer.lge.com/resource/mobile/IssueDeviceInfo.dev
Sign in
Enter your Nickname as made in setup
Enter your email
Enter the IMEI number and Device ID you wrote down earlier.
Click "Confirm"
You should now receive an email with an "unlock.bin" attached. Download said bin.
Plug the phone into the computer
Search windows for "cmd" and open "Command Prompt"
Run:
Code:
cd Downloads
(or wherever the "unlock.bin" is stored)
Then:
Code:
adb reboot bootloader
Once in fastboot, run:
Code:
fastboot flash unlock unlock.bin
Once the phone boots, you are Unlocked!
TWRP
if you want TWRP installed on the phone, follow these instructions:
Run:
Code:
cd Downloads
adb reboot bootloader
Then run:
Code:
fastboot flash recovery twrp-3.3.1-0-rs988.img
Unplug the battery. DO NOT BOOT THE PHONE INTO THE SYSTEM. YOU WILL LOOSE TWRP.
Put the battery back in, then press "Volume Down" and "Power" at the same time, AND THE MOMENT THE LG LOGO APPEARS release and then press and hold the power button but CONTINUE TO HOLD VOLUME DOWN. Then use the volume and power buttons to select "Yes" both times and wait for the phone to boot TWRP. (dont worry, the factory reset program was replaced by TWRP)
Select Wipe > Advanced Wipe > select all except "micro SD" and "USB OTG"
Swipe to Wipe
On your computer, there should be a RS988 device under File Explorer.
If you want stock, Keep going. If not, find whichever rom you want, and follow their instructions, copying the files required to the "Internal Storage" of the RS988 device.
Stock flashable ZIP: https://androidfilehost.com/?fid=962187416754454673 (if you want stock)
Magisk: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 (choose "Latest Stable" under downloads)
Copy the ZIP to the Internal Storage of the RS988 device on your computer, along with Magisk, and the TWRP img you downloaded earlier.
On TWRP, choose "Install" then select "RS988_21d-Stock_Flashable-COMPLETE.zip" and swipe to install.
Once installed, press the home button.
Press "Install" and choose the Magisk zip, and install.
Once done, Press home
Press "Install" then "Install Image" and choose the TWRP image.
Choose "Recovery" and swipe to flash.
Click "Reboot System"
That is it! I hope this helped a few people out. This might need to be standard procedure for all RS988 devices, I'm not sure.
Let me know if I need to change anything, or If a part is confusing to you. I'll see what I can do to Improve.
Thanks,
gljones2001