Go Back   Android Forums > Android Discussion > Android Developers > Developer 101

Developer 101 101 Tutorials



Reply
 
LinkBack Thread Tools
Old 01-20-2009, 05:17 PM   #1 (permalink)
I like this place!
 
devolio's Avatar
 
Join Date: Oct 2008
Location: Michigan
Posts: 341
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to devolio
Default Rooting: A quick guide (Updated 3/10/09)

Root allows you to modify just about everything, flash new images, change your boot image, change themes, run ARM debian, and tons more.

This guide goes through installing/downgrading to RC29, getting root, flashing the new recovery.img / test keys, changing the boot loader, and installing JesusFreke's modified RC33 builds.

If you're using a Rogers G1, this process will not work for you. See this.

If you're unsure about why you would want root, or aren't comfortable with flashing or poking around on your device, do not do this.

Update (3/10/09): Switched from RC30 to RC33 instructions, and clarified a few points.

Sources

JesusFreke's modified updates
Registering without a sim or data plan
Modded recovery and boot images
Dream SPLs
RC30 to JFv1.31

And all of the great people over at xda-developers and freenode/#android who make it all happen.

Let's get started.

Also, please note that this will wipe out everything - all of your settings and apps - twice. By installing the RC29 nbh, you lose everything, and likewise moving to RC33.

There's 4 main files you're going to need:

DREAIMG.nbh
This is the NBH file needed to roll back to RC29.

recovery_testkeys.img
The modified recovery image/test keys.

EngBootloader_v2_NoSigCheck.zip
The engineering bootloader. An update.zip. It's recommended that you read more about them here before choosing this one.

JFv1.42_RC33
JesusFreke's (latest, at time of writing) modified RC33 update.zip.

RC33 Radio update
The radio update to apply when moving to RC33.

Once you have all of the files, you're ready to go.


Once again, if you're unsure about why you would want root, or aren't comfortable with flashing or poking around on your device, do not do this.


It's definitely recommended that your phone's battery life remaining be full or near full when you start this, as it can take awhile depending on how quickly you do the steps.


Step 1)

- Format the Micro SD Card to FAT32.
- Copy the DREAIMG.nbh file to the Micro SD Card.
- With the phone off, hold camera and press power to boot into the bootloader.
- Once the bootloader is loaded, press power to install.
- Press the trackball to continue and press talk+menu+power to reboot.


Step 2)

- Copy recovery_testkeys.img onto the Micro SD Card.
- Turn the phone on (if not already)
- Type enter telnetd enter to start telnet
- Telnet into the phone with telnet (telnet ipaddress) OR use the telnet application from the market and connect to localhost
- Run the following as root (in telnet)

Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

dd if=/system/bin/sh of=/system/bin/su

chmod 4755 /system/bin/su
And you've created su, a way to switch to the root user easily. Now we need to add the modified recovery test keys. Run the following in telnet again (or as root).

It's also a good idea to note that the sdcard must be unmounted at this point, so if you moved the recovery image to your phone using the phone, unmount it first.

Code:
su

cd /system

cat /sdcard/recovery_testkeys.img > recovery.img

flash_image recovery recovery.img
Now that's finished.

Personally, I prefer to go with the Engineering bootloader, but you can choose whichever you'd like.


Step 3)

- Rename whichever bootloader package you're going to use to update.zip
- Copy it onto the Micro SD Card.
- Turn off the phone (if not already,)
- Hold home+power to boot into recovery mode
- Alt+L to see the text
- Alt+S to install the bootloader
- When it's done, reboot

And now you've got the bootloader. Last but not least, if you'd like, you can install JesusFreke's RC33 builds that add a lot of extra goodness.


Step 4)

Note: It's recommended elsewhere that you wipe your data (Alt+W in Recovery Mode) before applying this update. Although I don't do this myself, doing so never hurts.

- Rename to update.zip
- Copy it onto the Micro SD Card.
- Turn off the phone (if not already,)
- Hold home+power to boot into recovery mode
- Alt+W to wipe the data, as noted above, if you so choose
- Alt+L to see the text
- Alt+S to install the update
- When it's done, reboot

Step 5)

- Repeat the same process as in Step 4 with the RC33 Radio update. This update will restart your phone a few times and display the 'flashing rom' graphic, be patient, as it can take some time. And now you're done.

Easy as pie.

__________________
Guides
FAQ | Rooting | Installing SDK/Eclipse

My Stuff
Twitter | Apper | Yz | Yz Donation
devolio is offline  

Last edited by devolio; 07-14-2009 at 08:58 PM.
Reply With Quote
Sponsors
test
Old 01-21-2009, 01:41 AM   #2 (permalink)
Hey, Android Rocks!
 
SecretAsianMan's Avatar
 
Join Date: Oct 2008
Location: THE HILLZ..... AZ
Posts: 115
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to SecretAsianMan
Default

WOW, my g1 exploded in my hands after i did all this. looks like i got too rooted. lol. thanks for the info. i really want root!
__________________
mda, dash, 2 wings, SK3, now...G1 (black) hopefully my Hero will come to T-Mobile

http://www.cardomain.com/id/altimatepinoy

www.myspace.com/michaelsteiger
SecretAsianMan is offline  
Reply With Quote
Old 01-21-2009, 07:04 AM   #3 (permalink)
Yep.
 
Phases's Avatar
 
Join Date: Sep 2008
Location: Nashville, TN
Posts: 1,945
 
Device(s): Motorola Droid
Thanks: 1
Thanked 220 Times in 36 Posts
Default

Excellent dev, thanks!
__________________
Every forum should have a Phases.
Join us on Tea Time - laid back podcasts.
Phases is offline  
Reply With Quote
Old 01-27-2009, 06:09 AM   #4 (permalink)
Hello, my name is .......
 
Join Date: Jan 2009
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi All,

I am looking forward to know more about Android OS.Like bionic...If any one have any docs regarding Android OS and app development..plz mail me @ sr_sutar@yahoo.com


Thnx,
Soumya
soumyasutar is offline  
Reply With Quote
Old 01-28-2009, 07:43 PM   #5 (permalink)
What's root?
 
Join Date: Dec 2008
Location: san diego
Posts: 137
 
Device(s): nexus one
Thanks: 0
Thanked 0 Times in 0 Posts
Default

First, I gotta give Devolio a million thanks for helping me to get this working on my phone. I would like to offer a little help to those that might get stuck/confused at the same place(s) that I did.


Step 2)

- Copy recovery_testkeys.img onto the Micro SD Card.
- Turn the phone on (if not already)
- Type enter telnetd enter to start telnet
- Telnet into the phone with telnet (telnet ipaddress)
- Run the following as root (in telnet)


- Type enter telnetd enter to start telnet
(your contacts will come up it, which is ok. hit the enter key then type telnetd and the enter key again).


- Telnet into the phone with telnet (telnet ipaddress)
(at this point you need to download "telnet" from the market. Run the app and hit the "connect to server" button. a bunch of funny symbols will pop along the top of the screen the last one is #


- Run the following as root (in telnet)
(simply type the code exactly like you see it, in the telnet app)


For those running windows 7 (as I am):
if the JesusFreke's RC30 build does not install, rename the JesusFreke's RC30 build to update instead of update.zip


As of writing this the latest JesusFreke's RC30 build is JFv1.41 (multi-touch browser). Heres where to get it
http://forum.xda-developers.com/showthread.php?t=475381
randel77 is offline  
Reply With Quote
Old 01-28-2009, 07:50 PM   #6 (permalink)
I like this place!
 
devolio's Avatar
 
Join Date: Oct 2008
Location: Michigan
Posts: 341
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to devolio
Default

Thanks for adding the clarifications One little nitpick:

It's not Windows 7 specifically that does this, Windows has a setting that's usually on by default (I believe, correct me if I'm wrong,) that hides file extensions for known file types.

Pretty much, Windows sees that you have a zip file. It knows what zip files are, so it doesn't show you the .zip portion of the file name, if that setting is enabled. From there, you'd push the update.zip to your phone, and it would be named update.zip.zip - all because of Windows.

By turning this off (in a folder view, Tools -> Folder Options -> Uncheck 'Hide extensions for known file types') it will stop this stupid feature.
devolio is offline  
Reply With Quote
Old 01-30-2009, 02:29 AM   #7 (permalink)
Hello, my name is .......
 
Join Date: Nov 2008
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank everyone so much for this tutorial. it is very clear and easy to understand. Worked like a charm.
ksimmons is offline  
Reply With Quote
Old 02-07-2009, 12:45 PM   #8 (permalink)
Hey, Android Rocks!
 
Join Date: Dec 2008
Location: Laguna Niguel, CA
Posts: 78
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Awesome...used this to go to the RC33 version of JFv1.41, and it works great!
mm0
muzicman0 is offline  
Reply With Quote
Old 02-16-2009, 12:54 PM   #9 (permalink)
Hello, my name is .......
 
GiantKruemel's Avatar
 
Join Date: Feb 2009
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is this also working for "German" G1? I heard about that this only works for US or UK G1! Is it true? Has someone in Europe experienced different things?
Is there a possibility if I try this out and it doesn't work, that I get the old system back? Like creating a copy of it?

Thx for helping out


MFG Da Wolf
GiantKruemel is offline  
Reply With Quote
Old 02-21-2009, 08:40 AM   #10 (permalink)
I like this place!
 
devolio's Avatar
 
Join Date: Oct 2008
Location: Michigan
Posts: 341
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to devolio
Default

From what I've read, you're correct, this won't work on a German G1
devolio is offline  
Reply With Quote
Old 03-09-2009, 09:49 PM   #11 (permalink)
Senior Moderator
 
noonehereyet's Avatar
 
Join Date: Nov 2008
Location: OC, California
Posts: 2,798
 
Device(s): G1, Cliq
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to noonehereyet
Default

Thank-you Devolio and Shivers.... I found my roots
noonehereyet is offline  
Reply With Quote
Old 03-12-2009, 01:03 AM   #12 (permalink)
Hello, my name is .......
 
Join Date: Feb 2009
Posts: 13
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

hi, i have rc9 and would like to root.so ive formatted the sd card in fat32,and downloaded all the files i need,and put the DREAIMG.NBH on the sd card. when i boot up again holding power/camera im getting the funky red/green/blue screen, but the bootloader is not finding the image.it just says NOT ALLOW. could some one please help !! as my head hurts trying to root this thing
azzf26 is offline  
Reply With Quote
Old 03-12-2009, 03:07 AM   #13 (permalink)
I like this place!
 
devolio's Avatar
 
Join Date: Oct 2008
Location: Michigan
Posts: 341
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to devolio
Default

As I don't have a european device, I can't say for sure, but this thread should get you started on the process : HOW TO: downgrade, root and upgrade ANY G1/Dream (even Continental European) - xda-developers

I know there's also threads on xda-developers that has the rollbacks for the UK devices.
devolio is offline  
Reply With Quote
Old 03-12-2009, 03:51 PM   #14 (permalink)
Hello, my name is .......
 
Join Date: Feb 2009
Posts: 3
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just wanted to say Thanks! for a great tutorial. I had no problems.
burnticarus is offline  
Reply With Quote
Old 03-20-2009, 11:01 PM   #15 (permalink)
 
N3TWORK BURN3R's Avatar
 
Join Date: Sep 2008
Location: Long Beach, CA
Posts: 556
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to N3TWORK BURN3R Send a message via MSN to N3TWORK BURN3R Send a message via Yahoo to N3TWORK BURN3R
Default

After i updated the Radio to RC33 is it normal for a bunch of text to display, then go back to the "update" screen?
__________________
!!Xbox 360 Group Join up!!
N3TWORK BURN3R is offline  
Reply With Quote
Old 03-31-2009, 10:45 AM   #16 (permalink)
Where's the search?
 
Join Date: Mar 2009
Posts: 43
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think Im an idiot or something. I type "enter telnetd enter" and well it just stares at me like I'm an idiot.

I did downgrade to RC29 and uploaded the files like discribed.

Yes I'm in the US too.


Welp after trying a few times I decided to download the telnet app and just tried to login. It failed and I tried the enter telnetd enter again and eventually it worked. Go figure.
kizer is offline  

Last edited by kizer; 03-31-2009 at 12:08 PM.
Reply With Quote
Old 04-01-2009, 05:26 PM   #17 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 14
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by kizer View Post
I think Im an idiot or something. I type "enter telnetd enter" and well it just stares at me like I'm an idiot.

I did downgrade to RC29 and uploaded the files like discribed.

Yes I'm in the US too.


Welp after trying a few times I decided to download the telnet app and just tried to login. It failed and I tried the enter telnetd enter again and eventually it worked. Go figure.
Im having the same issue, it does nothing when I type (enter telnetd enter). will the phone do anything afterwards?
Lithium is offline  
Reply With Quote
Old 04-01-2009, 05:52 PM   #18 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 14
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

[code]
su

cd /system

cat /sdcard/recovery_testkeys.img > recovery.img

when ever I type this into telnet it tells me it cannot flash because its a read only file?
Lithium is offline  
Reply With Quote
Old 04-01-2009, 06:38 PM   #19 (permalink)
I like this place!
 
devolio's Avatar
 
Join Date: Oct 2008
Location: Michigan
Posts: 341
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to devolio
Default

You need to remount the system to be able to write to it

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
devolio is offline  

Last edited by devolio; 04-01-2009 at 06:40 PM.
Reply With Quote
Old 04-01-2009, 06:52 PM   #20 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 14
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by devolio View Post
You need to remount the system to be able to write to it

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
so i need to remount again after I enter ?
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

dd if=/system/bin/sh of=/system/bin/su

chmod 4755 /system/bin/su
Lithium is offline  
Reply With Quote
Old 04-01-2009, 07:16 PM   #21 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 14
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I keep trying but its still says file is for reading only. Am I not using the right file? Im opening the zip file called Androidmod.zip and saving the IMG file labeled recovery_testkeys.img to the micro sd card in the phone.
Lithium is offline  
Reply With Quote
Old 04-01-2009, 08:20 PM   #22 (permalink)
I like this place!
 
devolio's Avatar
 
Join Date: Oct 2008
Location: Michigan
Posts: 341
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to devolio
Default

You should only need to remount.. Pretty much turn the phone on, get root with telnet, remount as writable (mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system) and then writing the keys should work.
devolio is offline  
Reply With Quote
Old 04-01-2009, 08:49 PM   #23 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 14
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by devolio View Post
You should only need to remount.. Pretty much turn the phone on, get root with telnet, remount as writable (mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system) and then writing the keys should work.
do I actually get ROOT when I type enter telnetd enter?
Lithium is offline  
Reply With Quote
Old 04-01-2009, 10:41 PM   #24 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 14
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for the help man, I decided to install RC33 and start from scratch and it worked.
Lithium is offline  
Reply With Quote
Old 04-02-2009, 03:22 AM   #25 (permalink)
 
Ageless Stranger's Avatar
 
Join Date: Dec 2008
Location: Cambridge
Posts: 521
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am probably the first person who should have rooted their phone, I have modded, hacked, upgraded or totally changed the OS on all the smart phones I have had the pleasure of owning. For some reason I have not rooted my G1, and I am still asking myself *why* ?
__________________
Thyme wounds all heals
Ageless Stranger is offline  
Reply With Quote
Old 04-15-2009, 08:36 AM   #26 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I must be the stupid one here... I have followed all the directions and still can't get telnetd to work. Then there is the question of the telnet client.. ANY help would be appreciated. What I have done so far is downgrade to rc29 and here I sit... everytime I type telnetd is just sits there, I even tried the reboot command, just not happening..
dlammons is offline  
Reply With Quote
Old 04-15-2009, 08:44 AM   #27 (permalink)
Tea Timer Extraordinaire
 
shivers316's Avatar
 
Join Date: Oct 2008
Location: New Jersey
Posts: 2,866
 
Device(s): Nexus One
Thanks: 0
Thanked 15 Times in 5 Posts
Send a message via AIM to shivers316
Default

You won't actually see anything happen when you type it. It will just work.
__________________
Follow me...
Twitter
Google Buzz

Have some Tea Time with Phases and me...
Tea Time

or...

Tea Time Show
shivers316 is offline  
Reply With Quote
Old 04-15-2009, 08:46 AM   #28 (permalink)
CONTRIBUTOR
 
justjimjpc's Avatar
 
Join Date: Nov 2008
Location: Washington DC, USA
Posts: 8,307
 
Device(s): G1(2ea) 1 rooted, MT3G v1.0
Thanks: 2
Thanked 34 Times in 30 Posts
Default

Quote:
Originally Posted by dlammons View Post
I must be the stupid one here... I have followed all the directions and still can't get telnetd to work. Then there is the question of the telnet client.. ANY help would be appreciated. What I have done so far is downgrade to rc29 and here I sit... everytime I type telnetd is just sits there, I even tried the reboot command, just not happening..
Are you set for Debugging mode on the G1 ?? I haven't done this but I thought you had to have it set:

System Settings|Applications|Development|USB Debugging (checked)
__________________
Help Us: Submit FAQ's You have answered over and over! I will add them to OUR FAQ LIBRARY. Check out our FAQ's.... Also Check out our Tag Search.

Running 2 G1's & a MT3G(dMd64) : 1.) Legit G1=1.6 DRC83 // 2.) Rooted G1=CM's 4.2.15.1 (03/08/10), Recovery =RA 1.5.2

Link for --> G1 Dream ROOT GUIDE ///// Link for --> UN-ROOT GUIDE
.
justjimjpc is offline  
Reply With Quote
Old 04-15-2009, 08:48 AM   #29 (permalink)
Tea Timer Extraordinaire
 
shivers316's Avatar
 
Join Date: Oct 2008
Location: New Jersey
Posts: 2,866
 
Device(s): Nexus One
Thanks: 0
Thanked 15 Times in 5 Posts
Send a message via AIM to shivers316
Default

Quote:
Originally Posted by justjimjpc View Post
Are you set for Debugging mode on the G1 ?? I haven't done this but I thought you had to have it set:

System Settings|Applications|Development|USB Debugging (checked)
Debugging is set as default in the modified RC29. I think he's waiting to see something actually happen, which it won't.
shivers316 is offline  
Reply With Quote
Old 04-15-2009, 09:01 AM   #30 (permalink)
CONTRIBUTOR
 
justjimjpc's Avatar
 
Join Date: Nov 2008
Location: Washington DC, USA
Posts: 8,307
 
Device(s): G1(2ea) 1 rooted, MT3G v1.0
Thanks: 2
Thanked 34 Times in 30 Posts
Default

Quote:
Originally Posted by shivers316 View Post
Debugging is set as default in the modified RC29. I think he's waiting to see something actually happen, which it won't.
But I think he said (or as i understand him) that he has the Stock RC29 before any root-Block was in place...
justjimjpc is offline  
Reply With Quote
Old 04-15-2009, 09:09 AM   #31 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have just the rc29 and no mods, mybe I am missing something, if you type telnetd and nothing happens, at what point or what do I do to telnet into the phone,, ie client and usb cable connected to PC??? maybe that's the part missing,, the .apk files I see I thought were for the phone to telnet to itself,, ie localhost...
dlammons is offline  
Reply With Quote
Old 04-15-2009, 09:19 AM   #32 (permalink)
Tea Timer Extraordinaire
 
shivers316's Avatar
 
Join Date: Oct 2008
Location: New Jersey
Posts: 2,866
 
Device(s): Nexus One
Thanks: 0
Thanked 15 Times in 5 Posts
Send a message via AIM to shivers316
Default

You need to flash to this version of RC29 http://koushikdutta.blurryfox.com/G1/DREAIMG-RC29.zip
shivers316 is offline  
Reply With Quote
Old 04-15-2009, 10:17 AM   #33 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by shivers316 View Post
You need to flash to this version of RC29 http://koushikdutta.blurryfox.com/G1/DREAIMG-RC29.zip
Does this version have the mods I need to get this thing going? I SOO much want to tinker and open the potential of this phone. Still not sure about the telnetd process,, any help??
dlammons is offline  
Reply With Quote
Old 04-15-2009, 12:20 PM   #34 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

nevermind got it finally,, love it,, thanks alot
dlammons is offline  
Reply With Quote
Old 04-15-2009, 12:22 PM   #35 (permalink)
CONTRIBUTOR
 
justjimjpc's Avatar
 
Join Date: Nov 2008
Location: Washington DC, USA
Posts: 8,307
 
Device(s): G1(2ea) 1 rooted, MT3G v1.0
Thanks: 2
Thanked 34 Times in 30 Posts
Default

Quote:
Originally Posted by dlammons View Post
nevermind got it finally,, love it,, thanks alot
Would be nice if you shared the solution ... so if others get stumped ... the can do what you did ... to fix their issue as well !
justjimjpc is offline  
Reply With Quote
Old 04-15-2009, 06:48 PM   #36 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

justjimjpc..

Actually I may be doing it again, as I seem to have lost root access when I did the JF rc33 update, so I will be tinkering, back to RC29, HardSPL then JF RC30 the JF rc33.. may be overkill but I wanted to tinker,, unless I have overlooked something,, any ideas??

Original,, telnetd worked after I flashed with the RC29 link Shivers316 gave me, then used Telnet from Market, then input:

Borrowed from devolio post above...

Copy recovery_testkeys.img onto the Micro SD Card

Code:

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /systemdd if=/system/bin/sh of=/system/bin/su

chmod 4755 /system/bin/su

Code:

su
cd /systemcat /sdcard/recovery_testkeys.img > recovery.img

flash_image recovery recovery.img


Then flashed with Engineering SPL, then ,JF1.42_ RC33 with the RC33 Radio Update.

I may have skipped a step
dlammons is offline  

Last edited by dlammons; 04-15-2009 at 07:02 PM.
Reply With Quote
Old 04-15-2009, 07:16 PM   #37 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Geeez, sometimes I feel like such a moron,, I still have root just access it different is all,,, ""READ THE POSTS"" ,, um all is working,, I do have a minor question,, If I want to change the bootloader do I have to start from scratch or can I just doit as an update as before??
dlammons is offline  
Reply With Quote
Old 04-17-2009, 05:32 PM   #38 (permalink)
Hello, my name is .......
 
Join Date: Apr 2009
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi i was thinking of rooting my newly acquired g1 but have 1 question is rc33 the same as rc9?
savageman22 is offline  
Reply With Quote
Old 04-27-2009, 10:23 AM   #39 (permalink)
CONTRIBUTOR
 
justjimjpc's Avatar
 
Join Date: Nov 2008
Location: Washington DC, USA
Posts: 8,307
 
Device(s): G1(2ea) 1 rooted, MT3G v1.0
Thanks: 2
Thanked 34 Times in 30 Posts
Default Step 2 Problem with Telnet

I have my second G1 (experiment-play-with) phone ...

Possibly Step #1 did not go right ... therefore I cant use Telnet in Step #2???

I am braving into Rooting it and have gotten hung up at Step 2.

It was definately me ... failing in Step #1 ...

I formated the SDcard to Fat32 .. But not in the phone ... Rather than Formatting the Device ... the entire phone memory ... Which prepares the way for putting the Dream RC29 image (pre-Root_Block) Build on the phone.

In Step 2:
I had previous tried to use Terminal Emulator in place of Telnet...
That was a mistake ... so be sure to use Telnet ...

In Step 3:
The first time I renamed the image file to "Update.zip" and it should be just "Update" ... as the flasher looks for a zip-type file called "Update"

After those stumbles the rest went fine....






justjimjpc is offline  
Reply With Quote
Old 05-02-2009, 03:03 PM   #40 (permalink)
Hello, my name is .......
 
Join Date: May 2009
Posts: 8
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default help!!!!!!!!!!!!!!!!!!!!!!!!!G1 update

right i have manage to down garde from rc9 to rc7 ok no probs
start the first step ok on post instructions
second step it says all the time cannot create recovery.img read only
what am i doing wrong have gone through steps all fine i think
exmortis is offline  
Reply With Quote
Old 05-08-2009, 11:20 AM   #41 (permalink)
Where's the search?
 
AndroidSocialMedia's Avatar
 
Join Date: Apr 2009
Posts: 16
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Start Over in the Root Process

I suggest this page for the BEST and most up to date instructions. We took the other best instructions online and clarified some of the questions.

http://budurl.com/2z8w
__________________
[SIGPIC][/SIGPIC] Team
http://androidsocialmedia.com
twitter.com/AndroidSocMedia
Proving that you don't need an iPhone to rule the world
AndroidSocialMedia is offline  
Reply With Quote
Old 06-05-2009, 07:42 AM   #42 (permalink)
Hello, my name is .......
 
Join Date: Jun 2009
Posts: 13
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Where

The RC29 link is dead. I want to root my phone can someone point me in a direction where I may attain this file?
MaxLOL is offline  
Reply With Quote
Old 06-05-2009, 07:48 AM   #43 (permalink)
CONTRIBUTOR
 
justjimjpc's Avatar
 
Join Date: Nov 2008
Location: Washington DC, USA
Posts: 8,307
 
Device(s): G1(2ea) 1 rooted, MT3G v1.0
Thanks: 2
Thanked 34 Times in 30 Posts
Default

Quote:
Originally Posted by MaxLOL View Post
The RC29 link is dead. I want to root my phone can someone point me in a direction where I may attain this file?
Try this Link for the RC29 DREAIMG.NBH http://www.getyourdroidon.com/root/DREAIMG-RC29.zip
justjimjpc is offline  
Reply With Quote
Old 06-05-2009, 07:51 AM   #44 (permalink)
Hello, my name is .......
 
Join Date: Jun 2009
Posts: 13
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by MaxLOL View Post
The RC29 link is dead. I want to root my phone can someone point me in a direction where I may attain this file?
sorry for the double post but the file appears to be found here
MaxLOL is offline  
Reply With Quote
Old 06-05-2009, 07:52 AM   #45 (permalink)
Hello, my name is .......
 
Join Date: Jun 2009
Posts: 13
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by justjimjpc View Post
Try this Link for the RC29 DREAIMG.NBH http://www.getyourdroidon.com/root/DREAIMG-RC29.zip
i greyed you lel
MaxLOL is offline  
Reply With Quote
Old 06-05-2009, 08:19 AM   #46 (permalink)
Hello, my name is .......
 
Join Date: Jun 2009
Posts: 13
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i cannot connect when trying to connect to localhost...

what do i need to do?
MaxLOL is offline  
Reply With Quote
Old 06-05-2009, 08:39 AM   #47 (permalink)
Hello, my name is .......
 
Join Date: Jun 2009
Posts: 13
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

am now conecting. when I type all of the commands in i get this message
Quote:
cannot create /: is a directory
??
also getting message
Quote:
cannot create /system/recovery..img: read-only file system
MaxLOL is offline  

Last edited by MaxLOL; 06-05-2009 at 08:57 AM.
Reply With Quote
Old 06-26-2009, 04:15 PM   #48 (permalink)
Hello, my name is .......
 
Join Date: Jun 2009
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

I have a European (Dutch) vodafone magic phone. And was wondering if i could unroot it. I can't seem to find any guide to do this. It is build-nummer is CRB43.

Thx
warbosspeter is offline  
Reply With Quote
Old 06-26-2009, 07:55 PM   #49 (permalink)
Senior Moderator
 
noonehereyet's Avatar
 
Join Date: Nov 2008
Location: OC, California
Posts: 2,798
 
Device(s): G1, Cliq
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to noonehereyet
Default

Quote:
Originally Posted by warbosspeter View Post
Hello,

I have a European (Dutch) vodafone magic phone. And was wondering if i could unroot it. I can't seem to find any guide to do this. It is build-nummer is CRB43.

Thx

of your looking to go back to stock here is the guide QUESTION...Should I....? and the files can be found here Android Build Downloads under Un-Root / OTA
noonehereyet is offline  
Reply With Quote
Old 07-13-2009, 03:49 PM   #50 (permalink)
Where's the search?
 
Join Date: Jul 2009
Location: Toronto, Ontario
Posts: 20
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

K i am on part 1, i did the first 3 task
and now i got to press power for yes,
but mine doesnt say power for yes, it says action for yes.
so i pressed action, and 1 min later it said.

Model ID incorrect!
Update Fail!
rieen is offline  
Reply With Quote
Reply

Bookmarks

Tags
rogers, rogers root, root my phone, rooting, rooting guide


Go Back   Android Forums > Android Discussion > Android Developers > Developer 101
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:22 AM.
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
Custom vBulletin Skins by: Relivo