Elaboration on "how to root" - EVO 4G Android Development

I think this thread can eventually turn into a sticky. I am going to ask all the common / newbie questions relating to the post by toast that is quoted below. Please contribute clear answers in the thread and I'll include them here at the top:
Q: What does RUU stand for?
A: ROM Upgrade Utility. It is used when a new ROM is available by your carrier. Don't use this since it will nullify your root.
Q: Where can I find photos of the root process?
A: Right Here, thanks to pingpongboss
Q: Where can I find the details and download locations of the custom roms available?
A: ???
Q: What is a custom recovery?
A: ???
Q: What is a recovery partition?
A: ????
Q: What things are we not able to do since we don't have the ability to
toastcfh said:
Write to system or recovery while in android
- Flash a custom recovery that can be booted into by holding vol down and powering on
Click to expand...
Click to collapse
A:
1) You cannot remove unwanted applications inside of android that couldn't normally be removed. You must remove them prior to boot.
2) ???
Q: What are all those code snipbits?
A: ??
Q: What is the point of the "recovery instructions"?
A: ??
toastcfh said:
HOW TO ROOT YOUR HTC EVO
DO NOT USE A RUU FROM SPRINT IF U WANNA MAINTAIN ROOT. WAIT FOR ME OR SOMEONE HERE TO MAKE A ROOT UPDATE.ZIP.
Major thanx for those who helped:
keishou (for the rooted build. without it none of this would be possible)
maejrep (for testing and modding a recovery for the EVO)
Flipz (for hosting the files)
Paul (for his recovery work on the desire and legend)
Amon_RA (for his recovery source on github)
WHAT THIS ROOT METHOD WILL DO:
- wipe all of your data so brace for that. backup or what not
- Allow you to flash custom roms
- Boot into a custom recovery
- Write to system, boot and recovery partitions through recovery
WHAT THIS ROOT METHOD SADLY WONT ENABLE YOU TO DO:
- Write to system or recovery while in android
- Flash a custom recovery that can be booted into by holding vol down and powering on
THINGS YOU WILL NEED:
download files below:
- PC36IMG.zip
- evorecovery
INSTUCTIONS FOR ROOTING:
- Put the PC36IMG.zip on the root of your sdcard
Code:
adb push PC36IMG.zip /sdcard
- Power off the phone
- Hold volume down while powering the phone on. continue to hold volume down until you see the WHITE bootloader screen.
- After a few seconds it will begin to checking for files, and find PC36IMG.zip. while its doing this it will show a blue progress bar while its checking. (this takes 30 - 60 seconds to finish)
- It will then list all the images in the zip and ask you if want to flash. SAY YES
- When its finished it will ask you if you would like to reboot. AGAIN... SAY YES
- At this point it will boot into a rooted rom.
- YOU ARE NOW ROOT!!!
- rename the PC36IMG.zip on your sdcard:
- plug your phone into a usb port on your desktop and do:
Code:
adb shell mv /sdcard/PC36IMG.zip /sdcard/root-PC36IMG.zip
RECOVERY INSTRUCTIONS:
- Extract the evorecovery.zip to your desktop
- plug your phone into a usb port on your desktop
- In a shell:
Code:
adb reboot recovery
- this will reboot your EVO into recovery mode. at this point turn your attention to the directory u extracted the evorecovery.zip to.
Code:
For Windows XP ~~> Run recovery-windows.bat
For Vista and Windows 7 do it as Admin
- in a shell do:
Code:
For Linux ~~> ./recovery-linux.sh
- at this point turn your attention to the phone and navigate to create a Nandriod Backup. you can now flash custom roms, write, and make changes to system.
- to flash a custom rom put the rom on the root of your sdcard. wipe data, dalvic cache and chose the option to flash update.zip from sdcard.
RECOVERY NAVIGATION:
-
Code:
Volume up/down moves through the list and Power selects.
RECOVERY SOURCE:
- http://github.com/jhansche/amonra_bootable_recovery/tree/supersonic
Code:
git clone git://github.com/jhansche/amonra_bootable_recovery.git
git checkout supersonic
Click to expand...
Click to collapse

Pics of the rooting process: http://androidforums.com/htc-evo-4g/90122-root-out.html

pingpongboss said:
Pics of the rooting process: http://androidforums.com/htc-evo-4g/90122-root-out.html
Click to expand...
Click to collapse
Phenomenal. Added to the original post. Could you please help with some of the other questions if possible?
Thanks

forumsid987 said:
Phenomenal. Added to the original post. Could you please help with some of the other questions if possible?
Thanks
Click to expand...
Click to collapse
Where to find custom roms: in this subforum xD
the rest of the questions I don't know how to answer correctly. Custom recovery lets you flash custom roms and make nandroid backups?

forumsid987 said:
Q: Where can I find the details and download locations of the custom roms available?
A: ???
Q: What is a custom recovery?
A: ???
Q: What is a recovery partition?
A: ????
Q: What things are we not able to do since we don't have the ability to
A:
1) You cannot remove unwanted applications inside of android that couldn't normally be removed. You must remove them prior to boot.
2) ???
Q: What are all those code snipbits?
A: ??
Q: What is the point of the "recovery instructions"?
A: ??
Click to expand...
Click to collapse
In order top to bottom:
As they become available you will find them in this forum. I will release a fresh rom for evo once I can test on my own device. It will be posted here, as well as at http://geekfor.me like always.
The green and black screen that you see that lets you flash a custom rom and create a nandroid backup, that is a custom recovery. The problem is because of NAND protection we can't currently flash that recovery and have it stick. That's why you have to run the bat/sh script each time, to load it manually.
It's the partition that the recovery resides on (the part of the internal storage memory).
Aside from not writing to system while booted (which was answered already) all that means is that instead of being able to boot directly in to the custom recovery view power button + home button or volume down, you need to run that script to get in to recovery. That's the only thing not being able to load the custom recovery means.
Code snipbits?
Um, because how else would you know how to get in to recovery so that you can flash a rom / create a backup / etc??

Is there any chance of fixing that recovery issue? Having to run the script to access it each time is going to get old fast.
-------------------------------------
Sent via the XDA Tapatalk App

In the rooting instructions it keeps mentioning just plug phone into usb port on a pc and in shell do this.
I am on windows 7..what shell?

maybe change the thread title to FAQ on how to root rather than elaboration, might attract more attention.
i was going to answer the questions which haven't been answered but flipzmode did a great job and the 1st post hasn't been updated. once the 1st post has been updated i'll check back and add more detailed if there is anything left to help with!
MrDSL said:
In the rooting instructions it keeps mentioning just plug phone into usb port on a pc and in shell do this.
I am on windows 7..what shell?
Click to expand...
Click to collapse
good question, this would be good to add to the guide above.
the shell on windows 7 means the command prompt. never used win 7 but on win xp and vista, start->run->cmd
and it pops open the command prompt, navigate to where you extracted the zip file contents to, cd c:\evo-root\ . then run the .bat file by typing recovery-windows.bat .
on linux the terminal interface is called a shell because it actually brings up a shell binary, /bin/sh or /bin/bash . google these binaries for more detailed information. on windows the shell, is basically the command line which is now emulated in windows, where back in the days of DOS it was the actual system with windows loaded on top as a GUI...
sorry prob too much information!

Is there an alternative to reboot recovery that does not require ADB?

forceOnature said:
Is there an alternative to reboot recovery that does not require ADB?
Click to expand...
Click to collapse
an alternative way to reboot into recovery without using adb?
boot into the bootloader and select recovery? use the quick boot GUI to reboot directly into recovery? use connectbot and connect localhost, type reboot recovery?
you'll be needing ADB for a good chunk of the custom recovery process in order to load this Froyo ROM.
adb isnt too bad, just dive in and we're all here to help!

MrDSL said:
In the rooting instructions it keeps mentioning just plug phone into usb port on a pc and in shell do this.
I am on windows 7..what shell?
Click to expand...
Click to collapse
Start -> Accessories -> Right-Click on "Command Prompt" -> select "Run as Administrator".
If you don't need to run as admin, you can do
Start -> type cmd -> Enter
and it'll come up.

adb driver for windows 7
http://depositfiles.com/en/files/yd61xorii

Anyone have some solid "Adb on Mac" instructions? LIke how to get it going on a mac... Just switched from PC... Thanks

a5ehren said:
Start -> Accessories -> Right-Click on "Command Prompt" -> select "Run as Administrator".
If you don't need to run as admin, you can do
Start -> type cmd -> Enter
and it'll come up.
Click to expand...
Click to collapse
I believe Start -> type cmd -> Shift+Enter will run as admin also.

JustinChase said:
I believe Start -> type cmd -> Shift+Enter will run as admin also.
Click to expand...
Click to collapse
Simply put im on a mac and a windows at the same time.. I cannot get the bat to run correctly I see it run but it looks like a fc and then it closes.. On the mac I get asked for this..
sudo: ./adb-mac: command not found
sudo: ./adb-mac: command not found
new-host:~ GodDriven$ sudo: ./adb-mac: command not found
Please help?

Related

[TUT]Complete upgrading guide(root, unroot, flashing ROM & updates)

Here's a tutorial for the new users facing unanswered (at a first glance) questions while browsing through the tremendous amount of information that can be found.
There are many tutorials about this, but I will try to make one unique tutorial that will be easy to understand for everyone.
Press a THANKS button if you think that this TUT has helped you
IMPORTANT!
Before you proceed, you need to understand one thing: although these upgrades work in 99% of the cases, you are doing this at your own risk!
If you have any problems or question with rooting and flashing ROM's DO NOT open new thread, cause I will delete it, post everything here
Before we start, here is little Q&A section, so please READ this before opening new thread!
How to format and partition SD Card?
Read this
Is my desire already rooted?
- Check if you have superuser app in the app list all rooted phones have it
If I root a device which is already rooted, can it mess anything up?
- You can't mess anything up by re-rooting.
Will my phone get the OTA froyo update from HTC here in the US or do I have to do it manually?
- No OTA updates when rooted, to get them you will have to go back to stock to get the update(yepp unroot, or wait for devs to release rooted stock version)
What is S-OFF?
-HTC implemented security on their newer generation phones. This flag, called @secuflag, controls whether your phone has
it's NAND or flash unlocked. Most noticeably, S-ON (security on) will read-lock your /system and /recovery partition, to name a few. Also, secuflag controls whether zip files being flashed through recovery or fastboot, are signed by HTC. The now notorious S-OFF (security off) will disable this NAND security. Since we are unable to access the Radio NVRAM itself (where secuflag is stored), we turned our attention to HBOOT.
Here is How to S-OFF your HTC Desire
If you think I should add more questions and answers, send me a PM
The easiest root method of all is(works for any Desire!):
[GUIDE] One Click How to Root the GSM & CDMA Desire with Unrevoked 3.21
If you want to root using old method, and you have Android 2.2 you will need to downgrade your radio first
[HOWTO] Downgrade Froyo (2.2) to Stock 2.1 (ANY HBOOT | WIN/LINUX/MAC | ROOT)
or
[HOW-TO] downgrade HBOOT 0.92 to 0.80 again
Here is how this thread works:
Newbie Friendly How To's w/ Instructional Videos(tnx to dcogen) - post #1
Root guide for users who have unbranded(unlocked) Desire - post #2
Root guide for users who have branded(locked) Desire and
How to make GOLDCARD - post #3
Guide how to use fake-flash, unroot, flash ROM and updates - post #4
How to remove apps & boot sound, install apps, and many other things - Post #5
*Unrooting, flashing ROM and updates is same for every device.
There are several methods of rooting device and one of the safest is using Tiny Core Linux(Live CD), since I had several problems using Windows(64-bit) I recommend this option, but if you are using 32-bit OS you should be fine rooting in Windows.
If you have any comments, ideas or requests to improve this thread, post them here
If you find any step that is wrong, or should be improved reoprt it here
Let's start flashing
Newbie Friendly How To's w/ Instructional Videos
How To Setup ADB
How To Load a Theme
How To Flash a New Recovery Image
How To Switch to a Different SD Card (for use with Swap, Hero ROMs, etc.)
How To Backup/Restore Your Android Phone
HTC Desire How To's
How To: Root the HTC Desire
How To: Load a Custom ROM on the HTC Desire
How To: Unroot the HTC Desire
Credits
Paul - Rooting method, rooting tool, rooting software, etc
Android dev team - adb, android, etc
craigcrawford1988 - for Tiny Core Linux tut and links
MasDroid - for some tutorials
42turkeys - unroot guide
eViL D: - general help
VeeDubZ - how to remove apps
dcogen - Newbie Friendly How To's
whole XDA community
Root guide for users who have unbranded(unlocked) Desire
Guide to root with Tiny Core Linux
IMPORTANT - this tutorial will not work if you have installed 2.2 OTA update from HTC!
Download Tiny Core Linux Live CD
---- For a bootloader of 0.75.* or lower AND a current ROM of 1.15.* or lower Download
---- For a bootloader of 0.80.* or lower AND a current ROM of 1.21.* or lower Download
Burn the downloaded iso on CD/DVD
Boot your computer from that CD/DVD, once you booted it will ask you to press Enter or F2/F3 keys, you need to press Enter
Start the HTC Desire in bootloader by holding back and turning it on by the power button
Connect the USB cable to the phone and PC
Open a terminal by clicking the icon that looks like a monitor at the bottom on Tiny Core Linux and type the following commands:
Code:
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom/desire
sudo ./step1.sh
Wait until the phone restarts back into the white bootloader screen
In terminal type the following command:
Code:
sudo ./step2.sh
Once the phone has finished, you will see a screen with a green text. Use the optical tracker to navigate the menu to select Wipe and then press Wipe data/factory reset
Once complete you should be back in the main menu. Now select the option Flash zip from sdcard and than choose rootedupdate.zip
Once back in the main menu, choose restart the phone - the rooting process is now finished
Guide to root using Windows, MAC OS X and Linux
!Some people reported that this method needs to have GoldCard(in most cases you won't need it) even if you have unbranded device, more here
You need to have Android SDK and HTC Sync installed(for Windows users)
Download following items:
---- If you have a bootloader version 0.75.xxxx or below AND a current ROM of 1.15.xxx.x or below - DOWNLOAD / MIRROR
---- If you have a bootloader version 0.80.xxxx or below AND a current ROM of 1.21.xxx.x or below - DOWNLOAD / MIRROR
Unzip the file you downloaded to a directory, then open a command prompt / terminal window at that directory.
Turn off your HTC Desire, then turn it back on with the 'back' button held down. You'll see 'FASTBOOT' written on the screen in a red box. Connect the phone to the computer.
In the command prompt/terminal window, enter either 'step1-windows.bat'(for windows), './step1-mac.sh'(for mac) or './step1-linux.sh'(for linux)
Navigate to the 'BOOTLOADER' and then 'RECOVERY' option on the menu, using the volume buttons to move and the power button to select.
In the command prompt/terminal window, enter either 'step2-windows.bat', './step2-mac.sh' or './step2-linux.sh' as appropriate.
When this has completed, your device should be at the 'recovery'("green") screen. Select Wipe and then press Wipe data/factory reset
Once complete you should be back in the main menu. Now select the option Flash zip from sdcard and than choose rootedupdate.zip
Once back in the main menu, choose restart the phone - the rooting process is now finished
Root guide for users who have branded(locked) Desire
Before you start to root your branded(locked) Desire you need to know:
How to make GoldCard
GoldCard Tool v0.0.5
Requirements:
Latest HTC Sync software installed (www.htc.com)
Spare microSD card
Windows PC (Tested on Windows7 x64,Vista x86)
.Net Framework 2.0
Step by step instructions:
Format the microSD card to FAT32 format.
Put the microSD card in your device and boot it.
Launch GoldCard Tool (Right Click and run as Admin if needed)
Connect Android device to USB (USB Debugging must be enabled on the device)
Click 'Get CID' (If MMC1 fails try MMC0)
Click the link to open revskills.de, enter the CID number from Goldcard Tool and create your goldcard image, which will be e-mailed to you.
Enable USB Mass Storage on the device.
Click 'Refresh' and select your microSD card in the drop down menu.
Click 'Load GoldCard.img' and open the .img file you got by email.
Click 'Patch MMC'
You now have a goldcard!
[Notes]
HTC Sync is required for drivers only
Android SDK is not required
Guide to root with Tiny Core Linux
IMPORTANT - this tutorial will not work if you have installed 2.2 OTA update from HTC!
Download Tiny Core Linux Live CD
---- For a bootloader of 0.75.* or lower AND a current ROM of 1.15.* or lower Download
---- For a bootloader of 0.80.* or lower AND a current ROM of 1.21.* or lower Download
Burn the downloaded iso on CD/DVD
Boot your computer from that CD/DVD, once you booted it will ask you to press Enter or F2/F3 keys, you need to press Enter
Insert the goldcard into the phone.
Start the HTC Desire in bootloader by holding back and turning it on by the power button
Connect the USB cable to the phone and PC
Open a terminal by clicking the icon that looks like a monitor at the bottom on Tiny Core Linux and type the following commands:
Code:
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom/desire
sudo ./step1.sh
Wait until the phone restarts back into the white bootloader screen
Turn the phone off via the bootloader menu (or pull the battery and USB cable) and remove the goldcard. Put a non-goldcard SD into the phone or reformat the goldcard and put it into the phone. Put the phone back into bootloader mode (Press Power button and Back button).
In terminal type the following command:
Code:
sudo ./step2.sh
Once the phone has finished, you will see a screen with a green text. Use the optical tracker to navigate the menu to select Wipe and then press Wipe data/factory reset
Once complete you should be back in the main menu. Now select the option Flash zip from sdcard and than choose rootedupdate.zip
Once back in the main menu, choose restart the phone - the rooting process is now finished
Guide to root using Windows, MAC OS X and Linux
IMPORTANT - this tutorial will not work if you have installed 2.2 OTA update from HTC!
Download following items:
---- If you have a bootloader version 0.75.xxxx or below AND a current ROM of 1.15.xxx.x or below - DOWNLOAD / MIRROR
---- If you have a bootloader version 0.80.xxxx or below AND a current ROM of 1.21.xxx.x or below - DOWNLOAD / MIRROR
Unzip the file you downloaded to a directory, then open a command prompt / terminal window at that directory.
Turn off your HTC Desire, put GoldCard and then turn it back on with the 'back' button held down. You'll see 'FASTBOOT' written on the screen in a red box. Connect the phone to the computer.
In the command prompt/terminal window, enter either 'step1-windows.bat'(for windows), './step1-mac.sh'(for mac) or './step1-linux.sh'(for linux)
Turn the phone off via the bootloader menu (or pull the battery and USB cable) and remove the goldcard. Put a non-goldcard SD into the phone or reformat the goldcard and put it into the phone. Put the phone back into bootloader mode (Press Power button and Back button)
Navigate to the 'BOOTLOADER' and then 'RECOVERY' option on the menu, using the volume buttons to move and the power button to select.
In the command prompt/terminal window, enter either 'step2-windows.bat', './step2-mac.sh' or './step2-linux.sh' as appropriate.
When this has completed, your device should be at the 'recovery'("green") screen. Select Wipe and then press Wipe data/factory reset
Once complete you should be back in the main menu. Now select the option Flash zip from sdcard and than choose rootedupdate.zip
Once back in the main menu, choose restart the phone - the rooting process is now finished
Guide how to unroot, flash ROM and updates
fake-flash
Fake-flash is only possible with root access, you need to be rooted to use it. Basically, its a way to have recovery running on the phone without using a PC (making it safer as you are less likely to brick using no USB cable to push files, instead, you push directly from your phone). You can use "ROM Manager" from the marketplace to do this. Simply place the downloaded test recovery image on the phone and the downloaded rom zip (renamed to update.zip) and flash using ROM Manager.
Preperation
Download the fake-flash update zip from one of the links below
Copy the update.zip to the root of your SD card (the name MUST remain as update.zip)
When you want to launch the recovery image
Turn on your device with 'volume down' pressed and select 'Recovery'
When the exclamation mark appears, press and hold 'volume up' then press 'power'
Select the second option, 'Apply sdcard:update.zip
That's it, ClockworkMod recovery should launch!
DOWNLOAD
How to flash ROM
Download this
Turn off Desire and then turn it on while holding back button to enter bootloader(white screen)
Once in "white screen" press power button again to enter bootloader
Connect Desire with PC
Press Volume Down and than Power to enter Recovery
Now the red triangle should show up, go to folder you downloaded file and press recovery-windows.bat, recovery-mac.sh or recovery-linux.sh depending on which OS you have
Now you are in recovery mode (green screen), press Wipe and than Wipe data/clear storage, than press optical tracker to confirm it
After that press Volume Down to go back to main menu in recovery
Navigate to Flash zip from sdcard using optical tracker, select .zip confirm it and wait until process finish, after that press Reboot system and unplug you Desire
Enjoy your new ROM
How to change boot animation
Download this
Copy bootanimation.zip to SD Card
Turn off Desire and then turn it on while holding back button to enter bootloader(white screen)
Once in "white screen" press power button again to enter bootloader
Connect Desire with PC
Press Volume Down and than Power to enter Recovery
Now the red triangle should show up, go to folder you downloaded file and press recovery-windows.bat, recovery-mac.sh or recovery-linux.sh depending on which OS you have
Navigate to Flash zip from sdcard using optical tracker, select .zip confirm it and wait until process finish, after that press Reboot system and unplug you Desire
Unplug your HTC and enjoy your new boot animation
Alternative method to install a custom boot animation (without Recovery Mode - by MasDroid)
You need to have HTC Sync and Android SDK installed (http://developer.android.com/sdk/index.html).
To get adb running on the Windows OS platform, for example, download & extract the Android SDK to the following path: %SystemDrive%\android-sdk-windows (e.g. C:\android-sdk-windows)
Turn on your phone and connect it to your PC via a USB port.
Place the downloaded bootanimation.zip into the same folder as the adb app (in the tools folder of the SDK).
Open command prompt and type cd C:\android-sdk-windows\tools, hit enter.
Type adb push bootanimation.zip /data/local, hit enter.
Reboot phone.
How to Unroot your HTC Desire to stock
If you Have A 0.75 Bootloader:
Generic RUU Download / Mirror #1
T-Mobile UK RUU Download
o2 UK RUU Download
3 UK RUU Download
If You Have A 0.80 Bootloader: Download
Other RUUs Avalible Here
You will need:
HTC Sync (For Drivers)
The Download Above
A Windows PC
A Goldcard (Not required for generic HTC Desires)
The Guide:
Make sure your goldcard is in your phone (If Required-if your phone is branded)
Turn your Desire on
Connect it to a Windows PC
Run the HTC RUU
Let it run
& YOUR DONE!
You can use it to return your phone for warranty purposes!
How to remove apps from ROM
You need to have root for this and Android SDK installed!
Link to detailed tutorial
Im using Paul's R4 rooting files at the location C:/users/veedubz/r4-desire-root in Windows 7 so point your Command prompt there first and im also assuming that you have a rooted Desire and can get into recovery mode
1. First get into recovery mode with the Green menu then close that command prompt and open a new one and cd to /r4-desire-root folder
2. You now need to mount the /system folder using the code below
Code:
adb-windows shell mount /system
3. Now you will need to get the list of installed apk files
Code:
adb-windows shell ls /system/app/
and the output should look like this:
Code:
AccountAndSyncSettings.apk HtcWeatherWallpaper.apk
ApplicationsProvider.apk Jbed.apk
Bluetooth.apk LiveWallpapers.apk
..... ......
HtcStreamPlayer.apk htcsettingwidgets.apk
HtcSyncwidget.apk restartapp.apk
HtcTwitter.apk teeter.apk
4. there are 2 methods of removal, they are
4a. Just delete the files
4b. Move to the sdcard
Use one of the following methods
4a. Now you have a list of the files you can chose the ones you want to remove , note that this part is case sensitive so com.htc.twitterwidget.apk is not the same as com.htc.TwitterWidget.apk, use the following code(example used is the Stocks app and widget):
Code:
adb-windows shell rm /system/app/Stock.apk
adb-windows shell rm /system/app/com.htc.StockWidget.apk
4b. Also case sensitive, to move the files to your sdcard(which aso removes from the device):
Code:
adb-windows shell mount /sdcard
adb-windows shell mkdir /sdcard/device_files
adb-windows mv /system/app/Stock.apk /sdcard/device-files
adb-windows mv /system/app/com.htc.StockWidget.apk /sdcard/device-files
The files will be moved to the new folder on your sdcard called /device-files, once there you can also backup to your pc for a bit of extra backup
5. Repeat Step 4. untill all the apk files that you want to remove are gone and to check that they are gone use
Code:
adb-windows shell ls /system/app/
Restoring your backed up files
Use the following code,
Code:
adb-windows shell mount /sdcard
adb-windows shell mv /sdcard/device-filesStock.apk /system/app/
adb-windows shell mv /sdcard/device-files/com.htc.StockWidget.apk /system/app/
How to remove apps from ROM
Read here
any one having trouble downloading the method5 for windowsfiles for hboot 0.8
the first link seems dead and the mirror downloads a corrupt file ??
...EDIT --- forgEt this post liknk 2 seems fine now THANKS !!! .. .... .....
OH and nice work
Thanks man for this guide.
It's more clear for me now =)
cheers - if i flash R5 rom,will this leave me with 121 rom or 115 rom? -I already running the 121 rom?
thanks
dread123 said:
cheers - if i flash R5 rom,will this leave me with 121 rom or 115 rom? -I already running the 121 rom?
thanks
Click to expand...
Click to collapse
You will have generic 1.15 ROM
Good job!!!
Appreciate this. Thank you.
Very good tutorial dude.
This is worth to be sticky!
ignore pls answered own question
Using Modaco's guide and I am stuck in step 2!
Isn't the Modaco Custom Rom for the Desire the same rom as the one for the N1 port? If that's the case it's not that good because I had a lot of issues with the N1 port 22.1 alpha.
Using Mac OS X
Asian Unlocked Desire
1.19.707.7
HBOOT 0.80
I am so far stuck in Step 2 after installing Step 1. Tried everything and it still won't work.
# In the terminal window, enter either 'step1-windows.bat', './step1-mac.sh' or './step1-linux.sh' as appropriate.
# When this step has completed, REMOVE THE GOLDCARD and either format it and replace, or replace with a different (non goldcard) microSD.
# Navigate to the 'BOOTLOADER' and then 'RECOVERY' option on the menu, using the volume buttons to move and the power button to select.
# In the terminal window, enter either 'step2-windows.bat', './step2-mac.sh' or './step2-linux.sh' as appropriate.
# When this has completed, your device should be at the 'recovery' screen. Select the 'wipe' option, then select the option to apply an update zip from sdcard, and select 'rootedupdate.zip'. This will take a little while, so go make a nice cup of tea. When the flash has finished, reboot, and you are DONE!
After installing step 1, I proceeded to the recovery until the red triangle came out, entered step 2 and the error log shows :
./step2-mac.sh
Desire Root Step 2
Pushing required files to device...
error: protocol fault (no status)
* daemon not running. starting it now *
* daemon started successfully *
error: device not found
Pushing update file to device sdcard - this may take a few minutes...
error: device not found
error: device not found
Now wipe and apply rootedupdate.zip from the recovery image menu.
device not found
Tried Unplugging the unit first then plugging it to the mac only when the red triangle shows up to no avail.
Please help!
Read somewhere that its an HTC Sync issue but I am using a mac
kingofthebraves said:
Using Modaco's guide and I am stuck in step 2!
Isn't the Modaco Custom Rom for the Desire the same rom as the one for the N1 port? If that's the case it's not that good because I had a lot of issues with the N1 port 22.1 alpha.
Using Mac OS X
Asian Unlocked Desire
1.19.707.7
HBOOT 0.80
I am so far stuck in Step 2 after installing Step 1. Tried everything and it still won't work.
# In the terminal window, enter either 'step1-windows.bat', './step1-mac.sh' or './step1-linux.sh' as appropriate.
# When this step has completed, REMOVE THE GOLDCARD and either format it and replace, or replace with a different (non goldcard) microSD.
# Navigate to the 'BOOTLOADER' and then 'RECOVERY' option on the menu, using the volume buttons to move and the power button to select.
# In the terminal window, enter either 'step2-windows.bat', './step2-mac.sh' or './step2-linux.sh' as appropriate.
# When this has completed, your device should be at the 'recovery' screen. Select the 'wipe' option, then select the option to apply an update zip from sdcard, and select 'rootedupdate.zip'. This will take a little while, so go make a nice cup of tea. When the flash has finished, reboot, and you are DONE!
After installing step 1, I proceeded to the recovery until the red triangle came out, entered step 2 and the error log shows :
./step2-mac.sh
Desire Root Step 2
Pushing required files to device...
error: protocol fault (no status)
* daemon not running. starting it now *
* daemon started successfully *
error: device not found
Pushing update file to device sdcard - this may take a few minutes...
error: device not found
error: device not found
Now wipe and apply rootedupdate.zip from the recovery image menu.
device not found
Tried Unplugging the unit first then plugging it to the mac only when the red triangle shows up to no avail.
Please help!
Read somewhere that its an HTC Sync issue but I am using a mac
Click to expand...
Click to collapse
have you installed HTC Sync?
Im running MAC OS X so no HTC sync
kingofthebraves said:
Im running MAC OS X so no HTC sync
Click to expand...
Click to collapse
I haven't tried rooting with MAC, I would suggest downloading Live CD it should be safe and easy
Thanks for the guide, looks much easier to do.
getting a
failed- remote :42 custom id check fail??
when running batch 1? anyone help pls? tried to carryon and batch 2 - usb cant be found -htc sync installed?
thank you very much

[GUIDE] How to root Android 2.2 on the EVO 4G Outdated

The rooting method for the EVO 4G is close to the same as the Droid 2, just recently created by Sebastian Krahmer at http://c-skills.blogspot.com/, but with a little variation.
Here is the step-by-step I just did on my brother's (dwizzy130) EVO 4G that came with 2.2 from Sprint.
I am NOT responsible for any damages (bricking, not working, basically anything that goes wrong) This has been tested and works. Over the next few days, I will be cleaning this post up and making the steps more clear.
Special thanks to:
Sebastian Krahmer for the exploit
dwizzy130 (my brother) for letting me test on his EVO (since I don't have one)
The unrevoked team for their methods
Toastcfh for his mtd-eng.img
Topgun966 over at evo4g.me for hosting the files
djR3Z over at TheDroidDemos.com just made a GREAT video walkthrough that should make this MUCH easier for all of you. He spent a TON of time making it yesterday, so please give him lots of thanks!
VIDEO WALKTHROUGH (2 parts)
Make sure your phone is unplugged from your computer until I tell you to plug it in!
If you already have the Android SDK and HTC Sync set up on your computer, skip to Step 4 now
Step 1: Download the Android SDK here
Step 2: Extract the Android SDK zip. Move the contents of the extracted zip to C:\
Your Android tools folder path should now be C:\android-sdk-windows\tools
Step 3: Download HTC Sync 2.0.40 here
Run the installer. Move on once installed. If reboot is required, do so and then move on.
Windows 7 Users:
Go to your start menu, then control panel. When that is open, (if you are in category view mode) click on "Uninstall a program" and then choose HTC Sync to uninstall. If you are in Icon view mode choose "Programs and Features" and then click on HTC Sync to uninstall. This will load the proper drivers needed for unrevoked3.
Other Windows Version Users:
Go to your start menu, then control panel. When that is open, select Add/Remove Programs, and then choose HTC Sync to uninstall. This will load the proper drivers needed for unrevoked3.
Next,
Download my evo-root.zip.
It contains a few files necessary to root the EVO.
Unzip the contents of the zip to your android sdk tools folder.
Download the unrevoked-forever.zip
Place this zip in your tools folder as well, as a zip, not extracted.
Download this PC36IMG.zip || Mirror(This is the same as running an RUU, so it will delete all of your user data when we use it later in the guide, so backup everything you want to save on your phone first)
MD5: e52f6ec4f8f5fd6dc251ef19ee19750b
Put this zip in your sdk tools folder as well, as a zip, not extracted.
After unzipping the contents of evo-root.zip to your android sdk tools folder and placing the PC36IMG.zip and unrevoked-forever.zip in the folder, move on.
Step 4: Make sure USB Debugging is ON (checked) on your EVO. Go to Settings > Applications > Development > and make sure it is checked.
Step 5: Plug your phone into the computer via USB, Make sure that the connection type in the Notification Pull-Down Bar is "Charge Only", not "Disk Drive" or else this won't work.
If your computer asks you to restart after the new drivers were installed, do that now.
Step 6: Open up a command promt from your android-sdk/tools folder.
Windows 7 users:
Open up the android sdk folder and hold shift and right click on the tools folder. You will see an option that says "Open command window here" Choose that one and you will be set. the command prompt should read something like C:\android-sdk-windows\tools>
Other Windows Version Users:
Go to the start menu, go to All Programs, then Accessories, and click on command prompt. Once open type
Code:
cd C:\android-sdk-windows\tools
Once ready, type these commands in cmd prompt from your adb tools directory. After every line press enter.
Code:
adb push unrevoked-forever.zip /sdcard/
adb push flash_image /data/local/
adb push rageagainstthecage-arm5.bin /data/local/tmp/
adb push mtd-eng.img /sdcard/
adb push PC36IMG.zip /sdcard/
Note: the PC36IMG.zip will take longer than expected to transfer to the sdcard. It is a BIG file.
Now we chmod a few things. After every line press enter. It should repeat what you typed in and then return you to a blank line with an $ for everything in adb shell
Code:
adb shell
chmod 0755 /data/local/tmp/rageagainstthecage-arm5.bin
chmod 0755 /data/local/flash_image
Ok now for the root shell.
*
(still in adb shell)
Code:
cd /data/local/tmp
Code:
./rageagainstthecage-arm5.bin
You will now see some text on your cmd prompt screen explaining the exploit.
Wait for the adb shell to go away, and it will dump you into your windows command prompt again (no shell) should look something like this:
C:\android-sdk-windows\tools>
Once that dumps you out of the shell, type
Code:
adb shell
and you will see you now have a
Code:
#
instead of
Code:
$
now type
Code:
cd /data/local
./flash_image misc /sdcard/mtd-eng.img
that will flash your misc partition with Toast's mtd-eng.img.
This should return you to a blank line with #.
If you get an "Out of memory error" with a huge list of weird lines, here's how to fix it.
Reboot your phone normally.
Open a command prompt and go backwards in this guide until you see the big red * and start from there.
Once it is flashed correctly, move on:
Type
Code:
reboot bootloader
Remember how you pushed that huge PC36IMG.zip to your sdcard earlier? This is where that comes in handy. Once you booted into hboot, Select "bootloader" with your volume up/down buttons and hit the power button. Let it sit for a little bit while it loads the PC36IMG.zip. This can take up to 5 minutes. When it finally asks if you want to apply this zip, choose YES. (Remember, this is the same as running an RUU, so it will delete all of your user data).
If this doesn't work (ie the PC36IMG.zip does NOT load) backup all of your sdcard contents onto your computer, reformat your sdcard to FAT32, redownload the PC36IMG.zip, and drag and drop it onto the sdcard, then reboot into the bootloader and try again. This should fix the issue.
Once it is finished, select restart. You now are on the stock 2.1 build of Android.
Next step, mount your sdcard on your computer, and delete the PC36IMG.zip from it. This is because the next step requires using hboot, and you don't want to sit and wait while it loads up again, just for you to say "no" to the install. Please follow this step, for it saves 5-10 minutes of waiting ahead.
I worked extensively with Matt Mastracci, so this rooting guide will use the unrevoked method to root 2.1. This is what worked for me testing on my brother's EVO, so if you do end up trying something else to root 2.1 with, PLEASE do not post it here or ask questions, for I will only support the unrevoked team.
Now open up your web browser on your computer and navigate to Unrevoked
Choose the correct operating system to download for.
*
Make sure you install the modified android usb driver that comes with the unrevoked3 install (see the html file included when you extract the exe)
Once downloaded and extracted, run the program on your computer.
Make sure your EVO is plugged in with USB DEBUGGING ON!
It will reboot to the bootloader, and it will wait for you to use volume down to select HBOOT USB. (the last option)
After you have selected it (by pressing the power button) let the unrevoked3 program handle the rest of the flashing.
If you have had any trouble with the bootloader freezing or not moving for over 3 minutes, you most likely forgot to uninstall HTC Sync (as directed at the beginning of this guide), or you need to install the modified hboot drivers that come with the unrevoked3 program, OR a nasty combination of the both.
For the modified drivers and explanation on how to install them, open the "hboot driver.htm" file that gets extracted when you extract the reflash_package.exe. It will explain everything. You will have to reboot your phone after you install the drivers. Once you have repaired this go back to the big blue *
As soon as it is booted into recovery, you are done with that.
Next in recovery go to
Code:
install zip from sdcard
then
Code:
choose zip from sdcard
and choose the
Code:
unrevoked-forever.zip
This will flash the unrevoked forever hboot unlock.
_____________________________________________________________________
Part 2
Note: This section would not have been possible without the amazing testing and help of cilio87. He earns a gold star *
Now it's time to finish up the process and flash the stock 2.2 build of Android. You need to do this before any custom ROM in order to re-update the partitions we downgraded in the rooting process.
Step 1: Download either the update zip with
ClockWorkMod recovery included
or
Amon_RA's recovery included
This is the most up-to-date version of Amon_RA recovery that allows you to back up WiMAX partition.
(Either zip contains the final touches to the root process, one flashes clockworkmod recovery, and the other respectively, Amon_RA's recovery)
Extract the 3 files inside the zip to your desktop.
If you are still in recovery (from part one or the guide) go back to the main menu of recovery on your phone (if you aren't already at the main menu, hit vol up & down at the same time) Select
Code:
Reboot System Now
Let the Rom load, and when it gets to the sign in screen for Google, just skip everything and let the ROM boot.
If you are already on a custom rom, boot into it and follow from here.
Once It is fully booted, mount your sdcard onto your computer, and copy the 3 files you extracted from the zip to the sdcard.
Once copied, Unmount your sdcard from the computer.
Step 2: Unplug your phone from the computer. Power it off completely. Now while holding VOLUME DOWN turn on the phone with the power button, continuing to hold volume down. This will boot into hboot. You can release the buttons once you get to the hboot menu. Then use the power button to click on bootloader. This will scan the sdcard for the new PC36IMG.zip you just copied to the sdcard. When it asks "Do you want to start update?" Hit Volume Up for Yes. It will reload the zip and then start the flash. Once the flash is complete (may take 5 or so minutes) Choose NO when it asks you to reboot.
Step 3: After choosing NO to the reboot, you will see a menu again. Select Bootloader from the menu, then use the Volume Down button to hover over "Recovery" and press Power to click on it.
If your phone gets stuck at the White EVO 4G screen, pull your battery, and then power on while holding volume down again. It should boot to the bootloader again, where you can select recovery.
Once you are booted into this custom recovery, go to
Code:
Install Zip from sdcard / Flash zip from sdcard (Amon_RA)
and then (clockworkmod only)
Code:
choose zip from sdcard
You will then see the 2.2-root.zip. Click on that and accept the flash.
Once that flash is complete, return to the main menu of recovery and Select
Code:
Reboot System Now
You now have stock Android 2.2 with root and all updated partitions!
If you would like the flash_image binanry so you can flash new recovery images quickly from adb shell, flash the zip that is attached below as a normal zip in recovery AFTER you have completed this entire guide.
IN ORDER TO FLASH CM6 OR DAMAGE CONTROL, YOU NOW NEED TO FLASH THE ENG SPL. LOOK FOR IT IN THE EVO 4G ANDROID DEVELOPMENT FORUM.
Here is the ENG SPL
Good Luck!
Dan Wager
Awesome! Good job on everyone that worked on it. Finally no more people asking about it
Yes! I look forward to the rest of your post
Sent from my PC36100 using XDA App
Great news everyone!
Eagerly awaiting.
Awesome xD
Sent from my HTC Evo 4G using XDA app.
Oh thanks! Gonna be watching this all night! This is gonna be AWESOME!!
Vandam500 said:
Finally no more people asking about it
Click to expand...
Click to collapse
if only you were right...
I love the xda forums, good job to everyone involved, another reason I love my evo.
Sent from my PC36100 using XDA App
I wish I didn't just take my xanax. Ughhhh
Vandam500 said:
Awesome! Good job on everyone that worked on it. Finally no more people asking about it
Click to expand...
Click to collapse
I'll add with another question that will "end"
Will this allow me to have PRI 1.40?
Stop with the irrelevant posts! We don't need a hundred pages of nothing! Start a thank you thread if you want! Leave this one for the op and instructions and the files! Makes things easier for everyone so we don't have to go thru hundreds of posts to piece together relevant information!
NOTICE THE TITLE OF THE THREAD IT SAYS GUIDE LET IT BE JUST THAT!
Details---
I've heard the process is more than a simple click like simple root or unrevoked... But at least we have root.
It will be nice to see the detailed failsafe guide so I don't go around bricking phones and hopefully an automated prog is made to make it a breeze.
A great help!
Having a B-day tomorrow, and have searched the month of August for a complete method to root my froyo 2.2
Thank you in advance for your expertise and assistance..
well, i followed the droid2 guide and it worked all the way up to giving me the # sign... but the cp commands are failing. but since i have #, can i just run unrevoked 3.1 at this point? or do i need to succeed in the entire driod2 tutorial?
Thank you
OMG you guys are the best devs ever ill be stuck to this like glue once again XDA is the best forum on the planet.
edufur said:
well, i followed the droid2 guide and it worked all the way up to giving me the # sign... but the cp commands are failing. but since i have #, can i just run unrevoked 3.1 at this point? or do i need to succeed in the entire driod2 tutorial?
Click to expand...
Click to collapse
no, once you get to that point you have other stuff to do.
just wait til the guide comes out... We've waited how long for this thing? an extra hour or so won't kill you. (hopefully)
Yeah, almost done writing the guide. Try not to give out anymore details yet, I should be posting the full guide shortly.
sprink0281 said:
Stop with the irrelevant posts! We don't need a hundred pages of nothing! Start a thank you thread if you want! Leave this one for the op and instructions and the files! Makes things easier for everyone so we don't have to go thru hundreds of posts to piece together relevant information!
NOTICE THE TITLE OF THE THREAD IT SAYS GUIDE LET IT BE JUST THAT!
Click to expand...
Click to collapse
And your message is wholly important? Yes, the title says "guide" but that means that the original post will contain the guide. This is a forum, not a wiki. (I know my message doesn't help at all either)
Hooray, root on 2.2!
please make it easy for us newbies too please
Greenfieldan said:
please make it easy for us newbies too please
Click to expand...
Click to collapse
I'm getting the basics out tonight and will make it an easy read like my Hero rooting guide tomorrow sometime, because I am exhausted tonight.

[ROOT][GUIDE] HBoot 2.02/2.10 SOFF - Goodbye Stranger - Upd. 02.25.11

I am sad to say the time has come to retire this post....Now before you get all panicky and ****, just sit your **** down, take your adderall and relax, damn antsy ass people. Anywho, with people our there like xHausx and others that have automated all of this there really isnt a need for me to keep this updated. I will keep the post here for archival purposes but, I will not be updating it, any further. I may pop into the thread here and there but probably not. I would like to thank all those that helped and supported me during this threads run. With out you we would still be stuck.
In the mean time if your looking to root your phone, check out xHausx's thread
here: http://forum.xda-developers.com/showthread.php?t=838448
And no I still dont recommend Clockwork or Unrevoked.
Till next time...Super Tramp - Goodbye Stranger
Archive of the guide as of 2/14/11
READ THIS GUIDE CAREFULLY SEE POST TWO FOR FAQ OR SEARCH THE THREAD.
Presenting the ONE AND ONLY surefire root method that backs up your RSA KEYS prior to rooting !!!!
Also I am aware that unrevoked has out their new tool. However while I was sitting in IRC, I saw many that it wasnt working for. So Until there is a surefire, easy method, I will keep this thread updated.
Credit goes to:
amoamare (Initial method)
toast (fake recovery and script)
unrevoked (thanks for your app)
amon_ra (fixed custom recovery)
chris1683 (thanks for the rom) (sprintlovers)
ryanza (z4root)
illogos, epicroot, xHausx, TrevE, Chubbzlou (Testing)
BooDaddy (RSA Backup Info)
and who ever else I missed
Help me finance my Vette!
zikronix
Disclaimer and well a little fun:
This has been tested on many phones and it worked fine...but if it breaks your **** dont come cry to me about it...you knew the risks! No one here is responsible if you break, brick, set fire, punch, smash, stab, destroy, your self, computer or your phone. The only person responsible is you! Just because it worked for me and others does not mean it will for you. Anytime you flash something its a risk.
Ladies and gentlemen... I've traveled over half our forum to be here tonight. I couldn't get away sooner because I had a POST coming in and I had to see about it. That phone is now rooted at and running well. I have two others comming in and this method has rooted many on the board. So, ladies and gentlemen... if I say my guide works you will agree. You have a great chance here, but bear in mind, you can lose it all if you're not careful.
Out of all methods that beg for a chance to root your phone, maybe one in twenty will work; the rest will be trolls-that's posters trying to get between you and the guide-to get some of the root action that ought by rights come to you. Even if you find one that has a simpler guide, and means to root, he'll maybe know nothing about helping. This is... the way that this works. This method is reliable like no other in this field and that's because its been tested and tested time and time again. I assure you, whatever the others promise to do, when it comes to the showdown, they won't be there...
Downloads
================================================== ====
STOP HERE READ THIS
This Method soley uses Amon_RA Recoveries....Period. A poor soul that lost his RSA keys (broken 4g forever) by recent clock work shenanaigans here
VX - Updated Amon Ra Recovery. Download Here: hboot_2.xx_soff-VX.zip
MD5: 27eb4a36ba01078193975fc93723dd60 <---VERIFY YOUR MD5, IF ITS NOT THIS REDOWNLOAD
Lets Get Rooted!
======================================================
Prerequsites:
Extract only the main zip file to a folder of your choice. I recommend the root of C:\ into a folder of your choice or on the desktop. Make sure you have the drivers installed for your phone (recommended: SDK Drivers or unrevoked hboot drivers) and USB debugging is on. This was setup for people running windows, if you have access to it do it on a 32bit version. I can't stress this enough you must use the adb.exe included with the package This is command line based do NOT double click the exe. Assume nothing, and cut and paste or type the commands EXACTLY as listed, they are case sensitive and each line is a seperate command. Oh and Read the FAQ and Warnings for f-sakes
1) Connect your phone to the computer (Rear USB Port Perferred) make sure the computer detects the phone (DO NOT MOUNT USB) If it doesnt install the drivers. Now master Reset your Phone (Menu>settings>Sd & Phone Storage>Factory Data Reset). Your phone will reboot. While your phone is rebooting it ctrl+alt+delete on your computer and open up task manager and click the processes tab look for anything that says adb.exe click it and hit end process.
2) Your phone should be booted and in the rom. You can skip the setup. On your phone enable install applications from unknown sources.(menu>settings>applications>unknown sources) and turn on usb debugging.
3) Open a command prompt (do NOT click adb.exe) and change to where ever you extracted the files to.
4)Type the following (this must be excuted from the folder you extracted to)
adb push root/unrevoked-forever.zip /sdcard/
adb push root/mtd-eng.img /sdcard/
adb push pc36img/PC36IMG-ENG.zip /sdcard/PC36IMG.zip
adb push pc36img/PC36IMG-MR.zip /sdcard/PC36IMG-MR.zip
adb push root/flash_image /data/local/
Click to expand...
Click to collapse
5) Now were gonna install z4root. When its done look at your phone z4root should be running. Select temporary root... It will go thru the process will eventually come to a white screen *Wait* after a sec or so screen will come up saying temp root was a success. Ok so now type the following
adb -d install -r root/z4root.apk
adb shell am start -a android.intent.action.MAIN -n com.z4mod.z4root/com.z4mod.z4root.z4root
Click to expand...
Click to collapse
6) Your command should still be open and you should be in the directory where you extracted the files. Once you have typed "su" command below look at your phone and click allow for SuperUser...Ok so now type the following from the command prompt
adb shell
su
Click to expand...
Click to collapse
6A) REQUIRED RSA BACKUP This will back up your RSA keys just in case something goes wrong in that department. You should still be in your command window inside the shell with a #. (The following came from this thread)
mkdir -p /sdcard/nandroid/RSA-PR-BACKUP
cat /dev/mtd/mtd0 > /sdcard/nandroid/RSA-PR-BACKUP/wimax.img
This saves it in a file that can actually be restored. This next step is another type of backup just for good measure
busybox sed -n '/BEGIN CERTIFICATE/,$p' /dev/mtd/mtd0 > /sdcard/rsa_OEM.key
This will dump the RSA keys to a text file on your SD Card named rsa_OEM.key
Mine was about 4575 KB in size, but the size could vary. Go ahead and switch the phone's USB connection over to "Disk Drive" and then browse to your SD Card and verify that the file rsa_OEM.key is indeed on the card.
Proceed to Step 7
Click to expand...
Click to collapse
7) You Should still be at a "#". This means you have root if you see a "$" or some other error message. Reboot your phone, check your drivers, usb debugging and cable and start over. If you got a "#" You can Proceed. You should still be in the shell at a "#" If not start over...Otherwise
chmod 0755 /data/local/flash_image
./data/local/flash_image misc /sdcard/mtd-eng.img
sync
Click to expand...
Click to collapse
8) Now we are going to reboot your phone into the boot loader to flash the first PC36IMG.zip. You should still be in the shell So Type:
reboot bootloader
Click to expand...
Click to collapse
9) Once your phone is in the boot loader highlight bootloader, and press the power button. It will load the PC36IMG File...When it ask you to flash press VOL-UP. You will notice that it says bootloader bypassed and maybe some other errors. Dont worry this is normal. Once the flash of the file is done it will ask to reboot, Select NO by Pressing VOL-DOWN. Now some people have gotten some errors here and there during the flashing just continue as normal.
10) You should still be in the boot loader at this point. Scroll down to recovery and press the power button. It Should take you to a red triangle. If not and you get stuck at a white htc screen pull the battery and then repower the phone with power + vol down and select recovery. When you see the red triangle. Type the following (IF YOU GET STUCK HERE CHECK THE FAQ):
adb push recovery /
adb shell busybox --install /sbin
adb shell nohup /sbin/recovery &
Click to expand...
Click to collapse
With any luck you should be at a recovery (green screen with text)
11) Select enable USB-MS. This will mount your sdcard. Look in the root of your sdcard and you should have two files. One named PC36IMG.zip and one named PC36IMG-MR.zip. Rename the file named PC36IMG.zip to PC36IMG-ENG.zip and then rename PC36IMG-MR.zip to PC36IMG.zip when your done follow the instructions on your phone to disable usb (press power) then proceed to step 12
12) Now Select flash zip from the menu and choose unrevoked-forever.zip. Wait for it to complete. Select Reboot from the menu.
Now pay attention. It might kick you back into:
BOOT LOADER: See 12A
ROM: See 12B
WHITE HTC SCREEN: See 12C
12A) Ok so you got kicked to the boot loader. It should scan your card and find the PC36IMG.zip chose yes to flash this file and when it ask you to reboot....reboot by pressing vol-up....Proceed to step 13
12B) Ok so the phone booted into a rom. Power the phone off. Then repower the phone on pressing power and vol-down at the same time. It should take you into the bootloader and scan your card and find the PC36IMG.zip chose yes to flash this file and when it ask you to reboot....reboot by pressing vol-up....Proceed to step 13
12C) Ok so the phone is stuck at a white htc screen. Power the phone off by pulling the battery. Then repower the phone on pressing power and vol-down at the same time. It should take you into the bootloader and scan your card and find the PC36IMG.zip chose yes to flash this file and when it ask you to reboot....reboot by pressing vol-up....Proceed to step 13
13) Ok your phone is rooted now, and you should be inside the rom. The rom you just flashed is Sprint Lovers rom with the modified recovery. Download a rom of your choice copy it to the root of your sd card and flash it. But type the following first
adb shell mv /sdcard/PC36IMG.zip /sdcard/PC36IMG-MR.zip
adb reboot recovery
Click to expand...
Click to collapse
14) You Should be in the recovery menu now (green text screen). Do a backup by navigating to backup/restore press power to select then do a Nand backup in the next menu. Once thats done, select return, then reboot or flash a rom of your choice. If you flashed a different custom rom than the one thats included in the package cool. If not no big deal eitherway. Do a PRL/Profile update while in the rom after the phone is done rebooting. Your Done.
15) Read the FAQ for questions
==========================================
FIX BROKEN RECOVERY
This is really only needed if you rooted with one of the previos guides version 6 or lower or if you installed a different recovery like I told you not to. It installs amon_ra 2.2.1
1) Download File PC36IMG_Recovery.zip and Rename to PC36IMG.zip.
copy to the root of your SDCard and power off phone
2) Power your phone back on into the boot loader by holding power and vol-down until your presented with a white screen. It will read the pc36img.zip and as you if you want to flash. Say yes. Then it will ask if you want to reboot, VOL+UP for yes.
3) If your rom gets tossed in the process. Reboot your phone into bootloader select recovery, and reflash your rom....DONE
================================================
UNROOT GUIDE
NOTE: This will erase all data on the phone. (Will not erase data on the SDCard)
1) If your on Hboot 2.10 Download the PC36IMG.zip Here. If your on Hboot 2.02 Download the PC36IMG.zip here then Unrevoked s-on here rename the pc36img file to pc36img.zip copy that and the unrevoked s-on tool to the root of your sd
2) Power your off. Power the Phone back on into the boot loader by holding power and vol-down until your presented with a white screen.
3) It will scan for the pc36img.zip. Select no to flash. Select recovery from the menu. Once in recovery choose flash zip from the menu, and select unrevoked forever s-on.
4) When its done flashing select reboot from the menu.
5) From here either run the official ruu or boot back into the boot loader (see step 2). When it scans and ask you to flash the pc36img.zip select yes then yes to reboot.
Click to expand...
Click to collapse
FAQ
FAQ:
Your here cause something went wrong right? Ok thats fine. This list isnt extensive but its here to provide quick answers to some weird or common questions. New questions and problems are added to the bottom.
Q: Will this downgrade my hboot
A: No. I used to have an hboot downgrade but it was bricking peoples phones. However is you want to risk bricking your device, visit this thread here. I I advise against this. This bricked alot of phones which is why I pulled it.
Q: How do I install the Hboot Drivers
A: Check this here
Q: I get "error: more than one device and emulator"
A: kill the adb.exe tasks in task manager or reboot your computer
Q: Step #9 my phone does read the PC36IMg.zip
A: If you renamed the zip file make sure it doesn't say PC36IMG.zip in the name remember that xp and up on windows doesn't show the file ext by default so if you see PC36IMG.zip chances are its named PC36IMG.zip.zip
Q: Why cant I use Clockwork Recovery
A: At the moment its not coded for the new partitions. Just read the first few pages of this thread or check this here
Q: What Hardware does this work for
A: All currently known hardware 0001-0004
Q: What Hboot's does this work for
A: It was built for 2.02 and 2.10 however it will work for all version its just there are easier ways for those
Q: I think I messed up can I just start over.
A: Yes. Its recommended if you want to start over run the official ruu.
Q: This is very complicated
A: It is...thats why there is instructions
Q: Will this erase my data
A: Yes but not from the SDCARD
Q: Can I deleted the files off my SDCARD when done
A: Yes, except for RSA_OEM.KEY and WIMAX.IMG
Q: I get permission denied or device offline when trying to step 10
A: Check here or here or here this might work for you
Q: I used clockwork it seems to work fine.
A: It might but considering the partition information is not correct. You may have just over wrote your wimax keys and broke 4G. Have fun with that like this poor guy here
Q: This uses unrevoked in one of its steps? Explain?
A: There have been some concerns that this uses unrevoked-forever in one of its steps. As far as we know that Unrevoked 3 (not to be conufused with unrevoked-forever) is causing some radio issues with hardware in general and new hardware. Unrevoked-forever does not appear to bork the radio like unrevoked 3 does. This is apparent by the many success stories. However Unrevoked3 could very well possibly destroy your radio/wimax/brick if used.
Q: I get device not found
A: Install the drivers for your phone, (Unrevoked, ADB)
Q: Camera doesnt work after doing this
A: Flash a new rom thats current. Like SteelRom, Fresh, Stock Rooted. The issue here is the Hardware is different. NO CUSTOM KERNELS
A2: Reports say they changed the camera provider/hardware. And the drivers are different! Using a rom based off the latest release and kernel should fix it As Discussed here and here and here
Q: When I go to recovery. I get a red triangle.
A: See Step 10
Q: This doesnt work!
A: Yes it does if you follow the directions, Unless some other bull**** decided to popup!
Q: CM6.x doesnt work
A: See Question 7....Nothing I can do about that if the kernel doesnt support your camera/device.
Q: My phone boot loops now...You broke my ****!
A: I didnt break your ****. You broke your own ****! Its not broken so chill out (well it might be but probably not). What rom did you flash? Did you flash a custom kernel? Did your rom come with a custom kernel? I bet your using a custom kernel. Try a rom like Steel Rom, Sprint Lovers
Q: How do I back up my RSA Keys
A: Check here for the latest up to date information. Or run this command from the shell
cat /dev/mtd/mtd0 > /sdcard/wimax.img
Click to expand...
Click to collapse
Q: My 4g Doesnt work
A: Was it broken prior to the s-off, what steps did you take. Are you running AOSP ROM or Another kernel?, Did you try a different rom? What version is your phone? Do you have SwitchPro Widget installed? (uninstall it), Did you try to run unrevoked3 prior to this? After flashing the radios and stock kernel based rom did you do a data and prl update? Does the mac behind your battery match whats in about phone (4g has to be on to see mac) Also try the tree.xml fix posted
adb shell
ls /data/misc/wimax/
look for a file with your macaddress ending in .tree.xml. you want to move that to another location so it gets regenerated. (the following command basically renames it.)
mv /data/misc/wimax/(Your-mac-address).tree.xml /data/misc/wimax/(Your-mac-address).tree.xml.old
4. Start 4G may not connect
5. Do a prl/profile update
6. Power off the phone and power it back on. Try it
7. PRL/Profile. Try it
Click to expand...
Click to collapse
Q: 4G is still broke.
A: Check your RSA keys
adb shell
cat /dev/mtd/mtd0 | grep RSA
returned output show appear as this:
# cat /dev/mtd/mtd0 | busybox grep RSA
cat mtd0 | busybox grep RSA
RSA-REQUEST
RSA-REPLY
RSA-REJECT
RSA-ACK
RSA-1024
RSA-REQUEST
RSA-REPLY
RSA-REJECT
RSA-ACK
RSA-1024
RSA
ReRSA
RSA requests
RSA replies
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
#
It should look just like the above
the important lines are BEGIN RSA PRIVATE KEY and END RSA PRIVATE KEY.
If you have those two lines, your keys are still likely to be intact.
If those two lines are missing, your keys are likely missing.
/dev/mtd/mtd0 is where the wimax image is stored.
Click to expand...
Click to collapse
Q: OK I think My Keys are tossed. We made a backup right? So how do I restore it?
A: This post or post should do it for you
Q: My Phone says its not rooted.
A: If you have s-off your rooted. Simple as that. Try a different rom if you want. The second pc36img.zip file you flashed is Sprint Lovers and is a very nice rooted rom.
Q: When I try to get into Fastboot by pressing VOLUME UP and booting the phone, my phone instead buzzes three times and acts dead. What happened?
A: The S-OFF update also enables Qualcomm Diagnostics mode on your phone, which is entered by doing what you just did. You can exit this mode (and boot normally) by removing the battery and USB cable.
Q: Can you tell me what this does?
A: Read the guide? Basically your downgrading the phone, so you can flash unrevoked because htc "comically fixed" the phone. Then your re upgrading the phone back to shipping radios, system, pri, nv, kernel...all the while with keeping s-off
Q: How did you get to be so cool
A: If you have it, you don’t need it. If you need it, you don’t have it. If you have it, you need more of it. If you have more of it, you don’t need less of it. You need it to get it. And you certainly need it to get more of it. But if you already don’t have any of it to begin with, you can’t get any of it to get started. Which means you really have no idea how to get it in the first place, do you? You can share it, sure. You can even stockpile it if you like. But you can’t fake it. Wanting it, needing it, wishing for it. The point is, if you’ve never had any of it, ever, people just seem to know.
Q: Do you really own a vette?
A: Yes, and a backpack with jets!
Q: Whats with you and the dots ...
A: ...
Q: Your Kind of an Cocky Asshole
A: Yea...I Get that. Oh well. I cant fix stupid or ignorant.
What is the point of getting the new HBoot?
sorry, wrong question
abiezer said:
What is the point of getting the new HBoot?
Click to expand...
Click to collapse
there is no point in getting a new hboot....this tool is for those that have phones with the new hboot....that unrevoked wont work on.
this is not the new hboot
Oh I see so this is basically for people who couldn't root to be able to root. Got it. Thanks.
Dumb question, sorry trying to keep up with this while at work. Once I do this, then I still need to run Unrevoked, correct?
shepkc said:
Dumb question, sorry trying to keep up with this while at work. Once I do this, then I still need to run Unrevoked, correct?
Click to expand...
Click to collapse
its included in the script it tells you how to do it.
update failed, said main version is older...
its working for some but not others...i dont know why the main version is older thing...
i think we have ironed out the mainversion deal...
looking into it now.
Should be fixed now...so try it I guess.
v2
Looks like your V2 is working, I didn't run into the main version failure. Flashing as I type, I hope slyder got this to work.
Confirmed, V2 works
alright brotha your v2 of the batch file works like a charm. S-OFF confirmed on HBOOT 2.02. Thanks to everyone involved in making this happen.
Outstanding
Sent from my PC36100 using XDA App
On a brand new fresh 2.2 out of the box running HBOOT 2.02 I got "Main version is older". Are there any prerequisites i have to run to get this to work? I just reinstalled 2.2 and ran the script and got main version is older.
did you download version 2
do you have gtalk
I did download v2, and I do have gtalk.
b0r0b said:
I did download v2, and I do have gtalk.
Click to expand...
Click to collapse
you got PM....i want to know exactly whats happening.
Main version is older
I have also tried with V2 and get the "Main version is older".
Baseband
2.15.00.09.01
Software
3.30.651.2
PRL
60671

[TUTORIAL] Root HTC explorer

I decided to create a clean tutorial (as the method started with several bugs and issues) for those who want to root their HTC explorer.
will be editing it as new improvements appear.
btw, this will NOT change anything in your phone, it just make root access possible, if you want overclock and ext-2/3/4 partitions posible look here once you finish rooting with this tutorial.
1. Install HTC Sync on your PC
you can download it from: www.htc.com/www/help/htc-explorer/#download
(needed so computer recognises commands)
2. Unlock your phone's bootloader
- Following the steps in www.htcdev.com/bootloader
Note: HTC Explorer isn´t listed as a working device yet but it has been tested and works perfectly. Choose "all other supported models" when selecting device.
3. Add a recovery
That will allow you to install .zip ROMs. You can access to it in the menu android phones have when booting the phone after removing-inserting the battery and pressing "volume down" and "power" buttons simultaneously. (Other phones have different button combinations).
- Download View attachment 913094
- extract it in any window on your PC (ie: C:\HTC)
- run the recovery.bat with phone in fastboot mode (first option in the "3 android menu" ) and connected with usb.
Note: I edited the recovery.bat and removed any unnecessary commands so no errors occur
Done! You got the recovery installed if no errors, you can now install any compatible .zip ROM or app.
4. ROOT the device
- Place this View attachment Superuser.zip file somewhere in the microSD first.
- Go into Recovery mode ("volume down" + "power")
- install Superuser.zip with the option "install .zip from sd" from the recovery menu.
Note: after rooting dont restore to factory setting if you don´t want to end up in a bootloop, if this or similar happens you have to install a custom rom to fix it.
Click to expand...
Click to collapse
ROOTED !!
once rooted my advice is to install "link2sd". Excellent application after making a fat32 partition of your SD with programs like MiniTool partition wizard
It moves all applications directly to the SD when configuring it in automatic mode. (the entire application, not like the inbuilt phone option). See post # 9 for instructions.
enjoy
tnx,
I'll try asap this guide.
bye!
Thank you very much jaggy jags.
I did a test with superuser, and changing the files you said to "root explorer", but still giving error WIFI.
Definitely use the "plan B" and flashing the ROM China. Now they will wait out a new "European ROM" cooked.
Find the link in this forum for the European RUU, only I have not got the tools and skills to cook.
Sorry for my bad English, I use "go Translator"
al_nadita said:
Thank you very much jaggy jags.
I did a test with superuser, and changing the files you said to "root explorer", but still giving error WIFI.
Definitely use the "plan B" and flashing the ROM China. Now they will wait out a new "European ROM" cooked.
Find the link in this forum for the European RUU, only I have not got the tools and skills to cook.
Sorry for my bad English, I use "go Translator"
Click to expand...
Click to collapse
Sorry about that. I should have mentioned the files permissions have to be the same. I haven't checked this by myself I cannot confirm. I edited main post to say this.
Hello, I am just a beginner in android, what do u mean by the files permissions, u could explain in more detail what is the procedure for doing that ? or someone else that has this knowledge ...and write this step by step for rest of us that have little experience with setting android to be able on succeeding this. I want to get root on my explorer but I am afraid that will lose my wifi connectivity after and i am not sure that I will manage to replace that files with corresponding "matched files attributes".
Another request is if I could make a complete back-up of my original firmware/rom of my phone to have it in case that something vent wrong in process of rooting (to restore my phone on factory condition)? It is doable in any way it is any software for this? The European version will contain all languages or just base english?
thank you!
Reason for WIFI error after rooting
Just jumping in for letting u guyz know the reason reason for why u get wifi error
The zip "A310e_recovery...." has a boot.img in it, which is basically a kernel and if for any android device you flash a kernel you need dhk.ko or similar file (which should be in system/lib/modules) as mention alot earlier by jaggy. (this dhk.ko is a file which acompanies kernel/boot.img to run the data connection and wifi and other stuffs)
So basically to avoid all these, simple step is:
You can open recovery.bat present in the zip with a text editor (i suggest Notepad ++, default windows notepad will mess up the files) and delete the line "fastboot flash boot boot.img". now save and exit.
So, Dont flash the boot.img as it is not giving u guys any benefit. just flash recovery.img
@Jaggy. for link2sd, which ext r u using for sdcard partition , 1 2 3 ??????
jitin02 said:
@Jaggy. for link2sd, which ext r u using for sdcard partition , 1 2 3 ??????
Click to expand...
Click to collapse
Fat32 partition
No other format is supported by our rom.
I will be reuploading the recovery in a while with the .bat edited and clarifying the fat32 format.
So are you sure the recovery will be flashed just as good without the boot.img ?
jaggyjags said:
Fat32 partition
No other format is supported by our rom.
I will be reuploading the recovery in a while with the .bat edited and clarifying the fat32 format.
So are you sure the recovery will be flashed just as good without the boot.img ?
Click to expand...
Click to collapse
to be frank i have not tryd editting and using the .bat again
but the one i am sure is the fastboot method . flashing via adb
the command is "fastboot flash recovery recovery.img"
and the folder inwhich u need to put the recovery.img is the "tools" folder in adb main folder , which on my laptop got made in c drive (the main drive)
---------- Post added at 05:07 PM ---------- Previous post was at 04:30 PM ----------
I am not able to get this link2 sd thing work on my official Asian rom
jaggyjags, can u guide me on this one??
jitin02 said:
---------- Post added at 05:07 PM ---------- Previous post was at 04:30 PM ----------
I am not able to get this link2 sd thing work on my official Asian rom
jaggyjags, can u guide me on this one??
Click to expand...
Click to collapse
Sure! same procedure for both asian and stock rom (and any other y suppose).
using minitool wizard
make two primary fat32 partitions (not logical) of your micro sd. plug to computer using a sd card or usb adapter (dont plug phone by usb). the main partition at the left which will be the one detected by windows and then the second one (the rest of the available space).
And thats it, select the type of partition when opening link2sd and you will need to reboot to start moving apps (the app will ask to reboot).
note that if at anytime you clean rom partition (option in recovery) you will need to format the second partition again as this option makes it a ext-3 format and it is not supported.
Once in automatic, apps will install directly to the partition but if you link them manually you need to reboot to see the changes (at least me )
Recobery.bat error
run the recovery.bat in fastboot mode (first option in the "3 android menu" ) with phone connected with usb.
(Note: I edited the recovery.bat and removed any unnecessary commands so no errors occur)
Done!, you got the recovery installed if no errors, you can now install any compatible .zip rom.
Click to expand...
Click to collapse
Hi,
I have a problem when I run the Bat fie....
I can see in the CMD that:
C:\Downloads\A310E Recovery\A310E Recovery>adb wait-for-device
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
And then nothing else... I have nstalle HTC sync and I unloked the bootloader sucessfully.
I don't known were I'm wrong...
Can anybody help me?
Thank u so much
acasanovas said:
Hi,
I have a problem when I run the Bat fie....
I can see in the CMD that:
C:\Downloads\A310E Recovery\A310E Recovery>adb wait-for-device
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
And then nothing else... I have nstalle HTC sync and I unloked the bootloader sucessfully.
I don't known were I'm wrong...
Can anybody help me?
Thank u so much
Click to expand...
Click to collapse
Try this and report back:
Here i am assuming u have adb installed on ur pc/laptop
take ur device battery out and insert it back.
while long pressing volume down press power button untill u see a menu with 3 androids at the bottom.
now select fastboot option and connect via USB. now u will see fastboot usb or something like that.
now open cmd and enter the path to ur adb folder . for example in my case my folder is in my c drive and i enter
HTML:
cd\
cd android-sdk-windows\tools\
place the recovery.img in adb's tool folder.
Now enter following (this is after u navigated to the adb's tool folder)
HTML:
fastboot flash recovery recovery.img
fastboot reboot
If all went right, so u have the custom recovery (clockworkmod recovery) on the device or if not please post here , we will try help u again
acasanovas said:
Hi,
I have a problem when I run the Bat fie....
I can see in the CMD that:
C:\Downloads\A310E Recovery\A310E Recovery>adb wait-for-device
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
And then nothing else... I have nstalle HTC sync and I unloked the bootloader sucessfully.
I don't known were I'm wrong...
Can anybody help me?
Thank u so much
Click to expand...
Click to collapse
download the recovery again and try. It is a simple problem. Reuploaded de recovery and deleted "adb wait for device" command line because it keeps waiting endlesly. I forgot to delete before, sorry about that.
try it and tell me how it goes
@jitin02 it is simpler than that I already eliminated the adb command and should work with no issues. Recovery reuploaded!
It works and wifi too!
jaggyjags said:
@jitin02 it is simpler than that I already eliminated the adb command and should work with no issues. Recovery reuploaded!
Click to expand...
Click to collapse
Thaks @jitin02 and @jaggyjags it works!!!! so nice!!
now how can I install de superuser?
Where and how i have to put that :
adb push bash /system/bin
adb push profile /system/bin
adb push su /system/bin
adb push busybox /system/xbin
adb push su /system/xbin
I have the superuser folder in the same directory of adb, an then?
Can u help me again?
Thank u very much!
Easy, put it in the Microsd card and then open recovery in the 3 android menu (pressing -volume and power for 10 seconds after taking and placing battery). install it with the "install zip from sd" option and select your .Zip
confirm it moving up and down with volume keys
It works perfectly and wifi too! Thank u so much again!
Sent from my HTC Explorer A310e using XDA App
U can share for me back up this rom?
Don't understand, sorry. what rom do you mean?
Everything worked perfectly on my Italian/Vodafone HTC explorer!
No need to create any partition on my SD card to move apps using Link2SD. Is it advisable to do so?
I moved many useless vodafone apps on SD, wanting an European custom rom
Thanks so much!
jaggyjags said:
Don't understand, sorry. what rom do you mean?
Click to expand...
Click to collapse
This rom which u're using in first post.

LG Aristo 2 ROOT (LM-X210[Build- X210MA10i])

===============================================================================
TUTORIAL REVISED AND WRITTEN BY @parcek
===============================================================================
FURTHER UPDATED FOR ROOTING NOOBS: 10 Steps
Two Methods: Windows and Linux
Originally posted by @brad2192: https://forum.xda-developers.com/android/development/lg-aristo-2-root-t3746425
Credit to @tecknight for updated files: https://forum.xda-developers.com/showpost.php?p=76837384&postcount=2
@brad2192: Updated Tutorial due to people using TWRP (the original tutorial was released before TWRP was released for this device)
1) Backup all apps and data using LG Backup phone apps
2) Enable USB debugging and Unlock OEM. There are two methods in which you will to accomplish this:
First Method: Smartphone GUI
A) On your Lg Aristo 2 Smartphone go into General Tab (If in Tab View), If in list view, scroll down towards System section
"System Settings > About Phone > Software Information > Click on "Build Number" 10 times.
Now go to "System Settings > About Phone > Developer Options > Enable OEM unlock."
and also "System Settings > About Phone > Developer Options > Enable USB debugging."
Second Method: Windows Command Prompt or Linux Terminal:
Windows:
B) Click and drag "adb" file into command prompt and type "reboot bootloader" after it. Press enter.
Click and drag "fastboot" file into command prompt and type "flashing unlock" after it. Press enter.
Linux:
C)Type in your terminal "adb reboot bootloader" and press enter.
Type in your terminal "fastboot flashing unlock."
NOTE: Below has the information which will teach you how to download ADB and FASTBOOT.
3) Download the following:
Updated - TWRP
Updated - Magisk
(Add this file into your phone's SD Card.)
Updated - boot image
Update: Windows:
B)This is how you download ADB and FASTBOOT for Windows: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
4) Open Command Prompt. Then click and drag the adb file (from the latter download link a.k.a platform-tools) into command prompt then press space and type "reboot bootloader" after and then press enter OR power down phone and hold volume down while plugging in USB)
5) Open Command Prompt. Then click and drag the fastboot file (from the latter download link a.k.a platform-tools) into command prompt and then type "flash recovery" after it and then click and drag "newtwrp.img" into command prompt and press enter.)
6) Open Command Prompt. Then click and drag fastboot (from the latter download link a.k.a platform-tools) into command prompt and then type "flash boot" after it and then click and drag "bootimglistedabove.img" into the command prompt after and then press enter) then follow step 7).
Update: Linux:
C) Depending on kernel, for this sake we will use a debian based kernal.
This is how you download ADB and FASTBOOT for Linux: Open terminal and type: "Sudo apt-get install adb && sudo apt-get install fastboot"
4) Open terminal and type: adb reboot bootloader
5) Open terminal and type: fastboot flash recovery (and then click and drag newtwrp.img onto the terminal) and hit enter
6) Open terminal and type: fastboot flash boot (and then click and drag bootfilelistedabove.img onto the terminal) and hit enter
This applies towards both Windows and Linux: continuation after their last listed step written above.
Step 7) Remove battery from phone, in order to force a shut down.
8) Boot into Recovery-TWRP Mode.
How to boot into LG Aristo 2 TWRP Recovery:
a) The phone is off.
b) Hold the volume key and power key at the same time.
c) When the LG logo appears, let go of the power key (while still holding the volume down key) and then click and hold the power key once again.
d)You will be prompted to LG Aristo 2's stock recovery mode asking you if you are sure you would like to delete ur phone.
e) Go to the option "yes" and enter.
f) It will then warn you that can remove all data from your phone.
g) Go to the option "yes" and enter.
You will be in TWRP after this.
TWRP Mode:
9) In TWRP go to "Wipe > Format Data" and then type "yes" and confirm it. (Do not hit reboot, click back a few time and hit reboot > recovery)
10) In TWRP go to "Install > Select Storage" and select your SD Card. Then look for where you placed the "magisk" zip file. Install it.
Your phone is now rooted.
On TWRP menu: Reboot.
Restore your phone if you created an LG backup of your important files (like lets say contacts or applications).
-----------------------------------------------
If any mistakes were made and you phone becomes locked, here is how to go into download mode to repair your LG Aristo 2 into its default stock rom. Credit to @tecknight: https://forum.xda-developers.com/showpost.php?p=76837800&postcount=4
1) Power off phone.
2) connect usb to Lg Aristo 2 phone (without connecting the usb into the PC or laptop)
3) Hold volume up key and then connect USB into computer
4) download LG Bridge
5) detect phone
6) click on "Update Error Recovery"
Your LG Aristo 2 will be repaired and factory resetted.
-------------------------------------------------------------
What root means: In terms of PC language, Root means the superuser that has privileges to Add, Modify, and or Delete any kind of system files without prevention. Pretty much, it's like the actual Administrator account on a PC. Natively, whenever we buy a phone, it is as if to say, we are only using a guest account. Since the android OS is basically a Linux based computer (correct me if i am wrong) we can do anything we like... You want iOS emoji's on an android? A custom boot animation? Having root privileges allows you to go beyond your guest user restrictions because you then become the Admin.
Explaining the function of the provided Magisk app: It allows root privileges for programs intended for rooted phones.
There are other popular programs alternative of Magisk app, such as the SuperSU app: http://www.mediafire.com/file/2dljobq6yw93w76/UPDATE-SuperSU-v2.82-20170528234214.zip
--------------------------------
After being officially done setting up your rooted phone, make sure you disable OEM Unlock to avoid seeing the caution message before every boot.
--------------------------
How to backup your phone.
Also, using ADB, backup your phone.
Windows: Click and drag ADB file onto command prompt and paste " backup -apk -shared -all -f "C:\Users\UserName\Desktop\backupfilename.ab" "
Linux: Open terminal and type " adb backup -apk -shared -all -f "C:\Users\UserName\Desktop\backupfilename.ab" "
Update: For those who are encountering "Now unlock your phone and confirm operation" when typing the latter code, there is an alternative and much more easier and safer way to backup your phone.
Boot into TWRP and click on "backup" and then select what you would like to back up and then swipe to confirm the operation.
-----------------------------------------------------------------
Confirmed Successful rooting for LG Aristo 2 - June 2018
Thank You Brad and Tec!
Salam Aleykom.
You are a lifesaver my friend
Senorhamburgler said:
You are a lifesaver my friend
Click to expand...
Click to collapse
Brad I have a question, is there any way to get a custom ROM on this phone? If not how come? How does it all work?
And are you with Metro PCS as well? What apps can a safely delete to get this phone as close to a stock version of android as I can? Can I seriously just wipe out EVERY metro app? Hows your phone functioning?
tribal1209 said:
Brad I have a question, is there any way to get a custom ROM on this phone? If not how come? How does it all work?
And are you with Metro PCS as well? What apps can a safely delete to get this phone as close to a stock version of android as I can? Can I seriously just wipe out EVERY metro app? Hows your phone functioning?
Click to expand...
Click to collapse
Until there is a custom recovery built, we won't have custom roms. Dont wipe out every metro app. Anything you arent sure about, look up, or just freeze the app and test results. My phone is fine except SuperSU wont work properly due to the binary being occupied, but this is the best we have so far. I debloated no problem.
tribal1209 said:
Brad I have a question, is there any way to get a custom ROM on this phone? If not how come? How does it all work?
And are you with Metro PCS as well? What apps can a safely delete to get this phone as close to a stock version of android as I can? Can I seriously just wipe out EVERY metro app? Hows your phone functioning?
Click to expand...
Click to collapse
Senorhamburgler said:
Until there is a custom recovery built, we won't have custom roms. Dont wipe out every metro app. Anything you arent sure about, look up, or just freeze the app and test results. My phone is fine except SuperSU wont work properly due to the binary being occupied, but this is the best we have so far. I debloated no problem.
Click to expand...
Click to collapse
Root is the only thing needed, not a custom recovery. Apps like Magisk Manager can flash custom images. The reason there is no ROMs built for this device, I can tell you in my opinion there is no need for a Custom ROM. Magisk Manager has plenty of customizations available as well as many other root apps. Basically, custom recoveries are obsolete, it is not needed for gaining root access nor flashing files. Magisk can do it as well as Flashfire.
I need help.... Abd is not functioning it states "the term abd is not recognised as the nane of a cmdlet, function, scrip file of operable program."
Does not exist in current location.... Windows PowerShell does not load conmands by default...
MinaSaotome said:
I need help.... Abd is not functioning it states "the term abd is not recognised as the nane of a cmdlet, function, scrip file of operable program."
Does not exist in current location.... Windows PowerShell does not load conmands by default...
Click to expand...
Click to collapse
Hey man, I would press the Windows Key+R and type" "cmd"
Then, as long as your adb is located at C:\adb type: "cd C:\adb"
Then use adb, I hate how Windows 10 forces it on users!
Hey, I am so sorry to bother you but when I enter in the fourth step of your tutorial, it tells me "flash boot" command doesn't exist. Is there something I'm doing wrong?
---------- Post added at 01:15 AM ---------- Previous post was at 01:01 AM ----------
4btn said:
Hey, I am so sorry to bother you but when I enter in the fourth step of your tutorial, it tells me "flash boot" command doesn't exist. Is there something I'm doing wrong?
Click to expand...
Click to collapse
Okay, after messing around with it a few, I found that once it goes off into fastboot... my computer can't recognize it anymore?
brad2192 said:
Hey guys, spent a few hours figuring out how to root. Pretty Simple!
1) Enable Developer Options, USB Debugging & OEM Unlock
2) Reboot to Fastboot Mode (Using ADB via PC type: adb reboot bootloader)
3) Add root_boot.img into your adb folder
4) In ADB type: fastboot flash boot root_boot.img
5) After flash successful, type: fastboot reboot
6) Install Magisk Manager App
For those skeptical, proof of root here.
X-210 Stock .KDZ Backup HERE (Should not be needed.)
Click to expand...
Click to collapse
Do I need to unlock the bootloader first? I have it rebooted into fastboot and it's giving me instructions to do that, but won't let me push the boot image. If I do need to unlock it, does it wipe my device?
tge101 said:
Do I need to unlock the bootloader first? I have it rebooted into fastboot and it's giving me instructions to do that, but won't let me push the boot image. If I do need to unlock it, does it wipe my device?
Click to expand...
Click to collapse
Yes, that is what OEM unlock means. In doing so you do need to unlock the bootloader.
brad2192 said:
Yes, that is what OEM unlock means. In doing so you do need to unlock the bootloader.
Click to expand...
Click to collapse
Just wanted to make sure but does it wipe it?
tge101 said:
Just wanted to make sure but does it wipe it?
Click to expand...
Click to collapse
Yes, when you use "fastboot oem unlock" it unfortunately erases all data. One of our forum members is working on a TWRP at the moment that might be available today. You could wait to do this so you can create a backup.
brad2192 said:
Yes, when you use "fastboot oem unlock" it unfortunately erases all data. One of our forum members is working on a TWRP at the moment that might be available today. You could wait to do this so you can create a backup.
Click to expand...
Click to collapse
That'd be cool. But, wouldn't the bootloader still need to be unlocked for me to flash TWRP?
tge101 said:
That'd be cool. But, wouldn't the bootloader still need to be unlocked for me to flash TWRP?
Click to expand...
Click to collapse
I'm an idiot, yes LOL. Sorry, just got to work and I am tired you are correct. So, if you would like I suggest just using my tutorial. I believe there is ways of using LG backup to save most of your user data.
brad2192 said:
I'm an idiot, yes LOL. Sorry, just got to work and I am tired you are correct. So, if you would like I suggest just using my tutorial. I believe there is ways of using LG backup to save most of your user data.
Click to expand...
Click to collapse
All good, if I lose it I lose it. Is there a thread for the TWRP development?
I posted a test twrp on my blog for aristo 2
cannot open root_boot.img
hey maybe someone can help me out
previously already unlocked the bootloader on the phone so i skipped that step but i keep getting the error that it can not open root_boot.img
downloaded the file and moved into users/appdata/local/android/sdk/platform-tools
thats where adb.exe so i figured that is the adb folder maybe yes or no
could anyone help me out
greatly appreciate it
tge101 said:
All good, if I lose it I lose it. Is there a thread for the TWRP development?
Click to expand...
Click to collapse
Update: TWRP HERE
TJ-yesthelegend said:
hey maybe someone can help me out
previously already unlocked the bootloader on the phone so i skipped that step but i keep getting the error that it can not open root_boot.img
downloaded the file and moved into users/appdata/local/android/sdk/platform-tools
thats where adb.exe so i figured that is the adb folder maybe yes or no
could anyone help me out
greatly appreciate it
Click to expand...
Click to collapse
What are you typing into ADB to get that error?
Do you have to de-encrypt the phone for root? I am thinking of getting an Aristo2, currently using the MotoE4 (which I hate!), and rooting that requires de-encryption (I love encryption!). This is the MetroPCS version your talking about? Thank you...

Categories

Resources