• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root *MORE* Reliable root for leakers has been found

To all New Root Users:
Ok guys I know A lot of new root people are going to be coming around.
PLEASE, PLEASE, read, search, and familiarize yourself with everything. Most of us have gone through this process and have been through all the same problems you guys are about to hit. So don't Post a "please help me" post unless you have truely searched and found nothing what so ever on your problem, I'm sure it has been discussed and solved some where on these forums so use this search Button Here You will save both us long time rooters and yourself, a lot of hassle if you do.


ROFL .... so true

personally I have not rooted mine yet.......... but if this method works I will be...... and of course I have a ton of questions being a root noob...... I always have a simple strategy though when it comes to getting answers.......

if theres something I cant easily search for and find....... I just sit back and wait...... inevitably some other root noob will ask the same question and get it answered........... then I will have my answer without being the pest :)
 
To all New Root Users:
Ok guys I know A lot of new root people are going to be coming around.
PLEASE, PLEASE, read, search, and familiarize yourself with everything. Most of us have gone through this process and have been through all the same problems you guys are about to hit. So don't Post a "please help me" post unless you have truely searched and found nothing what so ever on your problem, I'm sure it has been discussed and solved some where on these forums so use this search Button Here You will save both us long time rooters and yourself, a lot of hassle if you do.


I second this. Please search.

Everything that can/will happen to you, has already happened to us. So just search for it. The answer is already there :)
 
They have that; it's called "Root is Not for You".....:D or "RINFY".

That was a joke.

I hate the "I'm nervous about root, I want to start a thread and let it get up to 5 pages of people trying to convince me even though I'm never going to come back to the forums again." threads
 
To all New Root Users:
Ok guys I know A lot of new root people are going to be coming around.
PLEASE, PLEASE, read, search, and familiarize yourself with everything. Most of us have gone through this process and have been through all the same problems you guys are about to hit. So don't Post a "please help me" post unless you have truely searched and found nothing what so ever on your problem, I'm sure it has been discussed and solved some where on these forums so use this search Button Here You will save both us long time rooters and yourself, a lot of hassle if you do.

+infinity :D

Might I also suggest this (taken from http://androidforums.com/all-things...oot-troubleshooting-guide-htc-droid-eris.html):

AF SITE SEARCH TIP

Searching the Android Forums can sometimes be challenging. Demache provided an excellent tip for using Google to help search the Android Forums:

Do a Google search and include the search term "site:androidforums.com" along with the text you are searching for. You can also include a longer URL to narrow your search. For example to search regarding Nandroid backups:

search string: "site:androidforums.com/all-things-root nandroid backup"

Using the power of Google will return results that sometime elude AF (such as search strings with numbers, etc.)

And, also, for after you've rooted: http://androidforums.com/all-things-root-eris/116574-root-best-practices.html

Cheers, welcome, and happy rooting! :D
 
Just saw this, almost made a thread, but then I saw this. Looks pretty simple, and it is working for people. Welcome to root leakers =D
 
I'm getting ready to test this myself. A huge thank you to wag3slav3 on XDA. I'm really excited to hear about this. :)

I have updated the OP of the Tutorial thread on XDA to link to the new method, and I will defer any further updates to that thread if needed.
 
I'm getting ready to test this myself. A huge thank you to wag3slav3 on XDA. I'm really excited to hear about this. :)

I have updated the OP of the Tutorial thread on XDA to link to the new method, and I will defer any further updates to that thread if needed.

tereg,

Am I right in assuming that this should work regardless of your HBOOT? There's a couple of 1.47 folks that cannot root due to "main version is older!" error. Didn't want to get their hopes up if this won't help them.
 
Err, my phone wiped the OS, but now its unbootable. And I can't get ADB to connect to the phone.

Well, at least the RUU works. I'll just reinstall that and start over again.
 
tereg,

Am I right in assuming that this should work regardless of your HBOOT? There's a couple of 1.47 folks that cannot root due to "main version is older!" error. Didn't want to get their hopes up if this won't help them.

I believe the person who has found this has stated that this will work for all 2.1 phones.

There was a "manual" process that was originally posted, and now there is an automated version that is in the OP, but there are some bugs with the scripts. Namely that a recovery image is never flashed in the script, which is kind of important.

Something like

Code:
/data/local/flash_image recovery /data/local/recovery.img
needs to appear somewhere in the script.

So, if you are trying the automated method as of 7:00pm Central time, it's not going to work right now because of these missing commands. It will get there though. In the meantime, I'm going to see if I can pull a cached version of that OP when I was on my work laptop earlier and see if I can fill in the gaps (unless the OP gets to it first)
 
I got it to work using the automated method

I had to add two lines to the bottom of testfile, noted in bold below

Code:
echo part 2 is scanning
rm /data/local/rights/mid.txt
while true;
do
 ls /data/local/rights/mid.txt 2>/dev/null && break
done
rm /data/local/rights/mid.txt
ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt
[B]/data/local/flash_image recovery /data/local/recovery.img
reboot recovery[/B]

Open testfile in the hack folder in some text editor and add the two bolded lines to the bottom of it and save it.

Method: Phone is booted normally, in "Charge Only" mode, and I have the phone plugged into via USB cable to the computer, USB debugging is turned on.

In linux, I pull up a shell prompt and browse to the hack folder I extracted from the zip and ran

Code:
sh runinlinux.sh

and let it go.

It will reboot once normally, then reboot again into Amon_RA's recovery.
 
YES! I finally got it to work! I'm so happy now! I've been a month without root and I miss it SO MUCH.
 
Just did it. I'm so happy now.

Also, when the phone first boots up after flashing it, the screen may be blank. That is perfectly normal.
 
I got it to work using the automated method

I had to add two lines to the bottom of testfile, noted in bold below

Code:
echo part 2 is scanning
rm /data/local/rights/mid.txt
while true;
do
 ls /data/local/rights/mid.txt 2>/dev/null && break
done
rm /data/local/rights/mid.txt
ln -s /dev/mtd/mtd1 /data/local/rights/mid.txt
[B]/data/local/flash_image recovery /data/local/recovery.img[/B]
[B]reboot recovery[/B]

Open testfile in the hack folder in some text editor and add the two bolded lines to the bottom of it and save it.

Method: Phone is booted normally, in "Charge Only" mode, and I have the phone plugged into via USB cable to the computer, USB debugging is turned on.

In linux, I pull up a shell prompt and browse to the hack folder I extracted from the zip and ran

Code:
sh runinlinux.sh

and let it go.

It will reboot once normally, then reboot again into Amon_RA's recovery.

Can you type out the method on Windows?
 
Recommended before you run the script: adb push the ROM of your choice to the SD card before you run the script. It will save you a step (either mounting the SD card in Amon_RA and copying the ROM zip to the sdcard or rebooting the phone and putting the ROM .zip file to the SD card)

In other words, say you download EvilEris 3.0, download it to the "hack" folder that you extracted. The file is called EvilEris3.0.zip

In Linux it looks like this

Code:
adb push EvilEris3.0.zip /sdcard
sh runinlinux.sh
In Windows it would look like this

Code:
adb push EvilEris3.0.zip /sdcard
runindos.bat
 
I'll type it out more explicitly for windows.

Download the hack.zip file and extract it to the desktop. So, you have a folder on the desktop called hack. I would recommend moving or copying those files (EDIT: that are contained in the hack folder) to the C:\android-sdk-windows\tools folder. Why? Because the script runs "adb ____" commands, and unless you've set up adb to be able to run anywhere within the command prompt, the script won't run. So, it will universally work if the files in the hack folder are placed in C:\android-sdk-windows\tools

So, open a command prompt by pressing WindowsKey+R, or going to Start-Run (in WinXP) and typing

Code:
cmd
in the text box there and press OK

If you are in Windows Vista/Windows 7, go to the Start Menu, then type in

Code:
cmd
in the search bar in the lower right-hand corner of the start menu and press enter, and locate Command Prompt in the search results, or go to Start -> All Programs -> Accessories -> Command Prompt

Type

Code:
cd C:\android-sdk-windows\tools
and press enter

Now, I recommend pushing the ROM you want to flash to the SD card now. So, if you download EvilEris3.0 for instance, make sure you download it to the C:\android-sdk-windows\tools folder, and then execute

Code:
adb push EvilEris3.0.zip /sdcard
Replace EvilEris3.0.zip with the name of the .zip file that you choose to download.

Then, type

Code:
runindos.bat
to execute the script.

You might have to run it 2 or 3 times for it to work. If it fails, just reboot the phone normally, then run

Code:
runindos.bat
once you're ready.
 
Recommended before you run the script: adb push the ROM of your choice to the SD card before you run the script. It will save you a step (either mounting the SD card in Amon_RA and copying the ROM zip to the sdcard or rebooting the phone and putting the ROM .zip file to the SD card)

In other words, say you download EvilEris 3.0, download it to the "hack" folder that you extracted. The file is called EvilEris3.0.zip

In Linux it looks like this

Code:
adb push EvilEris3.0.zip /sdcard
sh runinlinux.sh
In Windows it would look like this

Code:
adb push EvilEris3.0.zip /sdcard
runindos.bat

I hate to be a total noob, but I am. What exactly do I use to open an adb shell? I can do everything else, but I'm not sure how to use the SDK, or how to get the SDK to recognize my device.

Alright, I've gotten the adb installed (supposedly) but it couldn't locate the correct drivers. I tried using usbdeview and deleting the HTC drivers, but that didn't work. If I can get adb set up properly, I can do this, I'm just stuck at this point right now.
 
This is great news for all! My refurb has just gone to crap and I have to get another. I was preparing to lose root, indefinitely.
 
Back
Top Bottom