Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
BrandoKC
Old
(Last edited by BrandoKC; 15th March 2011 at 01:49 AM.)
#1  
BrandoKC's Avatar
Senior Member - OP
Thanks Meter 282
Posts: 1,135
Join Date: May 2010
Location: Kansas City

 
DONATE TO ME
Default More Detailed Perm Root Instructions

I take no credit whatsoever for obtaining root or anything development related.
I simply took BCNice20's instructions and added more detail for less experienced users. In fact I copied most of this directly from his thread and added more detail.

I take absolutely no responsibility for your phone if you brick it, if it melts, if it sleeps with your wife, or if it burns your house down.

Proceed at your own risk.

If you need to get started with the SDK and ADB start here

Step 1
Temp root your device using Visionary or Z4 (I prefer Visionary)
If you are already temp rooted skip this step

Step 2
Download the file linked at this address http://www.thebcblends.com/shift/Shift-root.zip
Extract the contents to the root of your SD card.
If you are having trouble extracting download 7-Zip
Once installed connect your phone to your computer as a disk drive
right click on the shift-root.zip, select extract here, then use the dropdown to locate your device, more specifically your SD card
Once you have extracted the file to the root of your sd card change your connection type back to charge only

Step 3
If you have followed my other thread you already have adb working
Open the cmd prompt and paste the following
Code:
cd C:\AndroidSDK\platform-tools
hit enter
type
Code:
adb shell
hit enter
you will see this
Code:
$
no type
Code:
su
hit enter
Superuser will prompt you to click allow on your phone. Click it quickly to allow permissions!
Now you will see
Code:
#
you have root permissions.

Step 4
Verifying md5sum

Make sure you copy and paste this exactly
Code:
md5sum /sdcard/Shift/hboot_orig.bin
then hit enter
Your result should look like this 386c19451e8dd18f9b98fad6b11be4c0 hboot_orig.bin make sure the numbers match. You may have some extra path in front of hboot_orig.bin.

Next copy and paste this exactly
Code:
md5sum /sdcard/Shift/hboot_eng.nb0
then hit enter
Your result should look like this 60ec1006e6ec2e8acb370d6aad35b17e hboot_eng.nb0 make sure the numbers match. You may have some extra path in front of hboot_eng.nbo.

If these do not match do not proceed. Delete the file placed on the root of your sd card and repeat step 2 and redownload.

Step 5
Now we're going to flash the eng spl. This is where the unpleasant things can happen.
Make sure you are in adb shell with superuser(root) permission. This was explained in Step 3.
If you are not in adb shell with root permissions then do not proceed. Do not pass go, do not collect $200.
Now DO NOT REBOOT until you are instructed to do so!!

Now paste this exactly into cmd prompt
Code:
dd if=/sdcard/Shift/hboot_eng.nb0 of=/dev/block/mmcblk0p18
and hit enter
You have flashed the eng spl. Now we will make sure it flashed properly.

Step 6
Check the md5 of new flash hboot and restore if necessary
run this command to pull the newly flashed hboot to your sdcard
type
Code:
dd if=/dev/block/mmcblk0p18 of=/sdcard/Shift/hboot_check.nb0
in the command prompt and hit enter
now we check the md5 to see if it matches
Enter
Code:
md5sum /sdcard/Shift/hboot_check.nb0
in the command prompt and hit enter
it should read 60ec1006e6ec2e8acb370d6aad35b17e
if the md5sum matches then congratulations its safe to reboot!! you can skip the next bit and continue on to step 7

if you absolutely cannot get the eng hboot to flash right then run this to restore the stock hboot
Type
Code:
dd if=/sdcard/Shift/hboot_orig.bin of=/dev/block/mmcblk0p18
in the command prompt and hit enter

then pull it to check md5
Type
Code:
dd if=/dev/block/mmcblk0p18 of=/sdcard/Shift/hboot_check1.bin
in the command prompt and hit enter

then check the md5sum
Type
Code:
md5sum /sdcard/Shift/hboot_check1.bin
in the cmd prompt then hit enter

it should read 386c19451e8dd18f9b98fad6b11be4c0
if it doesnt keep trying until it does but DO NOT!! reboot till it matches


Step 7
check hboot and perm root!!
ok now reboot your phone into bootloader
turn off phone and hold power+vol down till it boots into bootloader
look at the top and make sure it says s off
if so reboot the phone back into android
put the phone into airplane mode
Go to setting, applications, manage applications and uninstall superuser
Next temp root with visionary
after you are temp rooted then attempt to perm root with visionary
your phone will reboot and you are now officially perm rooted any changes you make will now stick on reboot

**Edit Recovery Added**
Download ROM Manager from the Market. (Pay for the donate version!)
Open ROM Manger and install recovery.
The Following 14 Users Say Thank You to BrandoKC For This Useful Post: [ Click to Expand ]
 
dizidi
Old
#2  
Junior Member
Thanks Meter 5
Posts: 20
Join Date: Nov 2006
Location: San Diego
Im having problems on the CMD prompt. On the command line Im getting C:\users\Dizidi> instead of C:\>. Did I miss a step somewhere?
The Following User Says Thank You to dizidi For This Useful Post: [ Click to Expand ]
 
BrandoKC
Old
#3  
BrandoKC's Avatar
Senior Member - OP
Thanks Meter 282
Posts: 1,135
Join Date: May 2010
Location: Kansas City

 
DONATE TO ME
Quote:
Originally Posted by dizidi View Post
Im having problems on the CMD prompt. On the command line Im getting C:\users\Dizidi> instead of C:\>. Did I miss a step somewhere?
Nope, that's sounds right.
Next you'll want to
Code:
 cd C:\AndroidSDK\platform-tools
The Following User Says Thank You to BrandoKC For This Useful Post: [ Click to Expand ]
 
falz
Old
#4  
Member
Thanks Meter 6
Posts: 37
Join Date: Aug 2007
Quote:
Originally Posted by dizidi View Post
Im having problems on the CMD prompt. On the command line Im getting C:\users\Dizidi> instead of C:\>. Did I miss a step somewhere?
You may want to learn some basic DOS commands first. See:

http://www.lsi.upc.edu/~robert/teach...elp.html#chdir
The Following 2 Users Say Thank You to falz For This Useful Post: [ Click to Expand ]
 
wardfan220
Old
(Last edited by wardfan220; 30th January 2011 at 12:02 AM.)
#5  
wardfan220's Avatar
Forum Moderator
Thanks Meter 1054
Posts: 1,277
Join Date: Jun 2010
Location: Scottsdale, AZ

 
DONATE TO ME
Quote:
Originally Posted by dizidi View Post
Im having problems on the CMD prompt. On the command line Im getting C:\users\Dizidi> instead of C:\>. Did I miss a step somewhere?
Type cd\ to get to the c:

The command prompt just started out in your user directory. You can just do the cd\Android......... stuff. Using cd\ it doesn't matter which directory you're in when you start.

Sent from my HTC EVO Shift 4G using XDA App.




Current phone: HTC EVO 3D
Retired: HTC Hero, HTC EVO Shift
The Following User Says Thank You to wardfan220 For This Useful Post: [ Click to Expand ]
 
dizidi
Old
#6  
Junior Member
Thanks Meter 5
Posts: 20
Join Date: Nov 2006
Location: San Diego
Im such a noob, thanks guys. forgot to type in "cd".
 
focbuster78
Old
#7  
Senior Member
Thanks Meter 17
Posts: 144
Join Date: Dec 2008
Location: Boston
Good Job typing this up!
Although I have rooted many phones before through adb it is helpful to see it wrighting in simple English
PPC 6700>>>> mogul>>>>Touch/vogue>>>> touch diamond>>>> Touch Pro2>>>> Htc Evo>>>>
Evo 3D>>>>Epic 4g
View 4G as my tablet
 
anthonyf27
Old
#8  
Member
Thanks Meter 4
Posts: 91
Join Date: May 2010
Thought I'd add that I needed to download an app like BusyBox in order to get md5sum to work.
 
BrandoKC
Old
#9  
BrandoKC's Avatar
Senior Member - OP
Thanks Meter 282
Posts: 1,135
Join Date: May 2010
Location: Kansas City

 
DONATE TO ME
Getting a lot of PM's for help so I'm bumping this back to page one
The Following User Says Thank You to BrandoKC For This Useful Post: [ Click to Expand ]
 
tcd2004
Old
#10  
Member
Thanks Meter 0
Posts: 91
Join Date: Jun 2006
Any quick instructions for the 2nd part of that post, installing recovery?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...