Sunday, July 10, 2011

Nexus one rooted - at last!

Well, I went ahead and rooted my Nexus one without parallel-blogging about it because I was running into too much trouble. The main problem was that I couldn't unlock the bootloader because none of the fastboot-mac versions worked.

Since no-one seemed to be having a problem with XP, I finally threw in the towel and just used my wife's XP to install it.

For prosperity, I did the following (on XP)

1. Installed the android SDK
2. Installed the USB drivers using the SDK Manager
3. Downloaded the "fastboot" folder from this url:

http://chensun.net/android-development/root-nexus-one-with-android-2-3-3-gingerbread/8/

4. Copied the recovery-RA-passion-v2.2.1.img file and the AdbWinApi.dll into the adk folder where fastboot was (tools)

5. Unlocked the Nexus one by typing in fastboot oem unlock.

6. Followed the instructions from the above url.

During my research, I found out that superuser access was taken away by google with the 2.3.3 Gingerbread release. I have no idea why they did that. Very inconvenient, because of all the trouble I had unlocking my phone.

However, with the weekend drawing to a close, it's now time to turn our attention back to the old memory bug that triggered this problem in the first place.

For those interested, here's a log of where I got stuck on the MAC:
==============================================================
Log of problem rooting android from Mac due to fastboot issues follows. My advice: Do in from a
Windows box - and not a virtual one (usb driver issues).
==============================================================
Ok, in our last post, we did a lot of fishing around to get the idea about what's involved in rooting the Nexus One phone. Now, the moment of truth - actually rooting the phone.

First, though, I'll check out the backups apps. Titanium Plus seems to be the most popular. Let's download it. Doh - it need root? It needs busybox? I saw that referred to when I was researching. Oh, yeah, I meant to unzip that su.zip and see what was in there. Well, there's no busybox. But there is a binary named com.google.android.update-binary. So, that's 258k of something - does it replace all of android?

Anyway, here we go. I'm working from this url for the most part:

http://androidandme.com/2010/01/hacks/video-how-to-unlock-and-root-a-nexus-one/

Video: How to unlock and root a Nexus One
Taylor Wimberly on Jan 11, 2010 at 8:23 pm117 comments
5share0share0 77
Video: How to unlock and root a Nexus One

Everyone seems to appreciate it when we do guides and hacks so I thought it was time to film another. Today we will be hacking the new Nexus One.

This is not a beginners guide. If you are a beginner, you should not be hacking your phone. These instructions assume you have previously hacked at least one Android device.
Before we begin

Make sure you have accomplished the following things

Installed the USB drivers (grab them from Google or XDA)
Confirm your device is recognized by ADB (see CyanogenMod Wiki or XDA for help)
Backed up any important data from your device

Step 1: Unlock your bootloader

In order to flash a new recovery image, you must unlock your bootloader. This process is quite simple, but it will wipe your phone.

Reboot phone into fastboot: Power off device and hold down trackball while powering back on. (The fastboot screen is the one with the Androids on skateboards)

// done

Open a command prompt and navigate to your Android SDK tools folder.

// done
Type ‘fastboot devices‘ to make sure your phone is recognized.

// Uh-oh. There's no fastboot? What's up?

This post

http://android.modaco.com/content/google-nexus-one-nexusone-modaco-com/299078/how-to-unlock-the-bootloader-on-your-nexus-one/

Says you need to download a fastboot directory from here:

http://loadbalancing.modaco.com/download.php?url=mf/?m3eitqt4qvs9xwr

And run this: ./fastboot-mac oem unlock'

To unlock it. What happened to the fastboot in the tools folder, though?

Ok, well, if I boot it into to fastboot mode, then run "./fastbooto-mac devices", it shows up.

Ok, next:

Type ‘fastboot oem unlock‘ to unlock the bootloader.

// Here we go:

./fastboot-mac oem unlock

// Hmm... Got this:

INFO [ERR] Command error 111

// Heres another one to try:

http://an.ton.io/blog/articles/2010/03/07/how-to-hack-your-nexus-one-to-run-cyanogen-for-a-good-performance-boost-and-some-serious-geek-cred

No comments:

Post a Comment