Simple SDK setup guide

This is a discussion on Simple SDK setup guide within the Nexus One Development & Hacking forums, part of the Nexus One Development category; To unroot, find a stock ROM and flash it. I unrooted to test this method, and did it by flashing the stock ROM from ROM ...


Nexus One Forum Nexus One Forum RSS Feed Find us on Facebook Nexus One Twitter
Register Button
Go Back   Nexus One/Nexus S Forum - Google Phone Forum » Nexus One Development » Nexus One Development & Hacking

Nexus One Development & Hacking General area for Nexus One Programming / Development / Hacking

Reply
Old 01-16-2011, 08:37 PM   #11
Super Moderator
 
danger-rat's Avatar
 
Member #12109
Join Date: Oct 2010
Location: USA
Posts: 1,961
Phone: Nexus One-point-three
Carrier: Not Listed
To unroot, find a stock ROM and flash it.

I unrooted to test this method, and did it by flashing the stock ROM from ROM manager.

Sent from my Nexus One using Tapatalk
__________________
"There is no charge for awesomeness"
danger-rat is offline   Reply With Quote
Old 01-16-2011, 08:44 PM   #12
Senior Member
 
iPeck's Avatar
 
Member #11591
Join Date: Sep 2010
Location: Laval, Québec
Posts: 1,102
Phone: Nexus One
Carrier: Big Brother - Vidéotron
will this rooting method will just root or erase the current rom and contents too ?

and doing the update.zip method to flash stock can work too to unroot ? cuz i kinda screwed up last time with RM... lol
iPeck is offline   Reply With Quote
Old 01-16-2011, 08:49 PM   #13
Super Moderator
 
danger-rat's Avatar
 
Member #12109
Join Date: Oct 2010
Location: USA
Posts: 1,961
Phone: Nexus One-point-three
Carrier: Not Listed
It just roots.

If you wanna flash ROMs, you'll need to install a custom recovery.

If you just wanna revert back to stock, it's probably easier to just install FRG33 via the passimg method.

Sent from my Nexus One using Tapatalk
__________________
"There is no charge for awesomeness"
danger-rat is offline   Reply With Quote
Old 01-16-2011, 09:01 PM   #14
Senior Member
 
iPeck's Avatar
 
Member #11591
Join Date: Sep 2010
Location: Laval, Québec
Posts: 1,102
Phone: Nexus One
Carrier: Big Brother - Vidéotron
just want to root my 2.2.1 already lol... and was woundering about data loss.. but cool.. that if if i can find the cmd.bat file.. i go in the folder you told me but not there.

to revert i have the passimg and update.zip files backed up

Last edited by iPeck; 01-16-2011 at 09:09 PM.
iPeck is offline   Reply With Quote
Old 01-16-2011, 10:11 PM   #15
Senior Member
 
aseems's Avatar
 
Member #7875
Join Date: May 2010
Location: New Delhi, India
Posts: 814
Phone: gPhone-Unrooted AT&T N1
Carrier: Bharti Airtel India

You guys are the best!
I'm so fortunate that you accepted me into your club, and are so patient with me...
But reading this thread STILL makes me shick brits!
But I'm getting used to it!
aseems is offline   Reply With Quote
Old 01-17-2011, 05:39 AM   #16
Senior Member
 
aseems's Avatar
 
Member #7875
Join Date: May 2010
Location: New Delhi, India
Posts: 814
Phone: gPhone-Unrooted AT&T N1
Carrier: Bharti Airtel India
Question Stage 2 Please

Quote:
Originally Posted by danger-rat View Post
How to Manual Root

This assumes you've already set up the SDK as mentioned above...

** Instructions for Windows:
** Type commands into the cmd prompt. ** are just comments about what each command is doing.
** Just double click cmd.bat and it should open a command prompt in the right directory...


** Confirm you have connection, when phone is booted with USB debugging enabled
** To enable USB debugging from the phone use Menu> Settings> Applications> Development
** The following command will return a device ID if connected correctly
adb devices


** Copy the files to your phone
adb push rageagainstthecage /data/local/tmp/rageagainstthecage
adb push Superuser.apk /data/local/tmp/Superuser.apk
adb push busybox /data/local/tmp/busybox
adb push su /data/local/tmp/su


** Change the permissions on the files
adb shell
chmod 700 /data/local/tmp/rageagainstthecage
chmod 755 /data/local/tmp/busybox


** Run the exploit
cd /data/local/tmp
./rageagainstthecage


** Check to see if it worked
adb kill-server
adb start-server
adb shell


** The $ prompt should change to #
** If you still see $, re-run the exploit (above)
** You may have to repeat a number of times
** If you see #, you now have TEMP root


** Mount your phone with read/write (rw) access
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

** Install busybox, and change permissions
cd /data/local/tmp
./busybox cp busybox /system/bin
chmod 4755 /system/bin/busybox

** Use busybox to install the other files and change permissions
busybox cp Superuser.apk /system/app
busybox cp su /system/bin
chmod 4755 /system/bin/su

** Mount your phone back to read-only (ro) access
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system


** Exit the root shell
exit
exit


** DONE!
** To install a custom ROM, start by installing a custom recovery...
How to backup (Nandroid?) original config
AND
To install a custom ROM, start by installing a custom recovery..
aseems is offline   Reply With Quote
Old 01-17-2011, 07:33 AM   #17
Senior Member
 
aseems's Avatar
 
Member #7875
Join Date: May 2010
Location: New Delhi, India
Posts: 814
Phone: gPhone-Unrooted AT&T N1
Carrier: Bharti Airtel India
Quote:
Originally Posted by danger-rat View Post
How to Manual Root

This assumes you've already set up the SDK as mentioned above...

** Instructions for Windows:
** Type commands into the cmd prompt. ** are just comments about what each command is doing.
** Just double click cmd.bat and it should open a command prompt in the right directory...


** Confirm you have connection, when phone is booted with USB debugging enabled
** To enable USB debugging from the phone use Menu> Settings> Applications> Development
** The following command will return a device ID if connected correctly
adb devices


** Copy the files to your phone
adb push rageagainstthecage /data/local/tmp/rageagainstthecage
adb push Superuser.apk /data/local/tmp/Superuser.apk
adb push busybox /data/local/tmp/busybox
adb push su /data/local/tmp/su


** Change the permissions on the files
adb shell
chmod 700 /data/local/tmp/rageagainstthecage
chmod 755 /data/local/tmp/busybox


** Run the exploit
cd /data/local/tmp
./rageagainstthecage


** Check to see if it worked
adb kill-server
adb start-server
adb shell


** The $ prompt should change to #
** If you still see $, re-run the exploit (above)
** You may have to repeat a number of times
** If you see #, you now have TEMP root


** Mount your phone with read/write (rw) access
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

** Install busybox, and change permissions
cd /data/local/tmp
./busybox cp busybox /system/bin
chmod 4755 /system/bin/busybox

** Use busybox to install the other files and change permissions
busybox cp Superuser.apk /system/app
busybox cp su /system/bin
chmod 4755 /system/bin/su

** Mount your phone back to read-only (ro) access
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system


** Exit the root shell
exit
exit


** DONE!
** To install a custom ROM, start by installing a custom recovery...
DONE!
:thank-you2:
i officially resign from the refuse to root gang

Okay,

What's next

STAGE 2
How do i back up my current config
aseems is offline   Reply With Quote
Old 01-17-2011, 09:04 AM   #18
Administrator
 
WERA689's Avatar
 
Member #17
Join Date: Dec 2009
Location: Stone Mountain, GA
Posts: 2,249
Phone: Nexus One, baby!
Carrier: AT&T
Send a message via Yahoo to WERA689
WERA689 is offline   Reply With Quote
Old 01-17-2011, 09:25 AM   #19
Super Moderator
 
danger-rat's Avatar
 
Member #12109
Join Date: Oct 2010
Location: USA
Posts: 1,961
Phone: Nexus One-point-three
Carrier: Not Listed
Stage 2: If rooted, you can now use Titanium to back up apps and settings...

Then, install a custom recovery, and perform a full backup. You can install a custom recovery via ROM manager, or manually using adb or terminal emulator...


Sent from my Nexus One using Tapatalk
__________________
"There is no charge for awesomeness"
danger-rat is offline   Reply With Quote
Old 01-17-2011, 11:02 AM   #20
Member
 
Member #8322
Join Date: May 2010
Posts: 40
Phone: Not Listed
Carrier: Not Listed
Hi guys!

I'm a noob and I want to root my nexus one! I want to install Miui rom!

Can I use this tutorial to root my phone? What I have to do after this to install Miui rom?

Thanks!
Guiba is offline   Reply With Quote
Reply

Lower Navigation
Go Back   Nexus One/Nexus S Forum - Google Phone Forum » Nexus One Development » Nexus One Development & Hacking

Divider


Currently Active Users Viewing This Thread: 3 (0 members and 3 guests)
 

Search tags for this page

hello fota android incredible

,

hello fota droid incredible

,
how do i back up my sd card on nexus one
,
how to install 2.3.6 on a rooted nexus s
,

how to root google nexus one 2.3.6

,
how to root htc nexus one 2.3.6
,
how to root nexus one with sdk
,
how to setup android sdk nexus one windows
,
remove hello, fota?
,
rooting nexus one 2.3.6
,
sdk manager guide for android 2.3.6
,
sdk setup nexus one 2.3.4
,
setting up a nexus phone
,
simple sdk setup guide
,
su binary not found in the system declared path
,

superoneclick 2.3.6

,
superoneclick nexus one 2.3.6
,

what is hello fota droid incredible

,

what is hello fota on droid incredible

,
what phones you can root with sdk
Click on a term to search our sites for related topics.

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone else on simple mobile? jay Nexus S General Discussion 4 01-17-2011 10:19 PM
A simple review of iPhone vs Nexus One iPhoneSlayer Nexus One General Discussion 2 05-03-2010 11:01 AM
SDK Setup Hays Nexus One Development & Hacking 5 04-19-2010 11:29 PM
Looking For Simple Note App just999in Nexus One Application Discussion 8 02-15-2010 08:45 AM