Running Android Jelly Bean on Google Nexus One


This week-end, I decided to upgrade my “old” Nexus One smartphone to the latest (and greatest) Android version (4.1.1 aka Jelly Bean) although Google stopped shipping upgrades for this phone with Android 2.3, aka GingerBread. So, as you guessed, it requires to “root” the phone, i.e. to bypass system protections and to allow to install new software on it.The Android developer community is very active, there are a lot of information available on the web to do so, sometime somewhat cryptic, and not really step by step instructions.I am quite used to do this on iPhone, since several years now, but I am totally new to this on Android.  I am using this blog entry to remind me the steps I took and – hopefully – to help others to decrypt existing tutorials.  This is by no mean a complete step-by-step tutorial for rookie, rather a complement to the tutorial you will find on the net.Jelly Bean for Nexus One is made available by TexasIce on XDA Forums. Many thanks for the great work !Existing tutorials are available (part 1 and part 2) but I followed a quite different path.

Step #0 : be sure to have the lastest Android SDK installed.

Step #1 : Install Black Rose bootloader.  Although theoretically possible, I couldn’t manage to do this from Mac OS X.  Black Rose distribution provides a Linux and Windows binary to automate the process to the maximum.  Just launch it as root, look at your screen, wait for a couple of reboot … done !

I lost an hour because I did not start Black Rose as root on linux and it blocked during the process on

<waiting for the device>.

Be sure to start Black Rose as root !

I used a Virtual Machine with Ubuntu Natty and attached the Nexus One USB to the Virtual Machine – worked like a charm.

Step #2 : apply a small patch to HBoot, required for Jelly Bean

adb reboot bootloader
fastboot flash hboot hboot_jellybean_260-8-168.nb0
fastboot reboot-bootloader

You should see “Jelly Bean” on the second line

Step #3 : Flash Jelly Bean.  I downloaded the TAR file (not the ZIP)

First wipe out everything from the device

fastboot erase userdata
fastboot erase cache

Then flash the system

tar -xf <release>.tar.xz
fastboot erase system
fastboot flash system system.img
fastboot erase boot
fastboot flash boot boot.img

Step #4 : Install Google App.

At this stage, Jelly Bean should start on your Nexus.  It took me a while to realize that Google Apps are not installed by default.  Consequence : Contacts are not synced with your Google account and – most importantly – no Google Play ! So it is not possible to install additional applications. You’ll have to install them yourself to get access to Google Now, Google Accounts (and synchro), Maps and Google Play !

Apps are available on XDA Forums as well (GApps 7/13 at the time of this writing)

Step #4.1 : I installed GApps using a custom recovery application : ClockWork.  Download and installation instructions are here.

Step #4.2 : reboot in recovery mode to access ClockWork, then

use the menu system to put the Nexus One in USB Storage mode

  • Copy GApps.zip to the flash card
  • Use ClockWork’s menu to install GApps
  • Reboot

and voilà you should have Jelly Beans + Google Apps running on your Nexus One.

A few things are not working so far :

  • the Camera
  • the trackball button to wake up the device

But the package is alpha software, so do expect updates and improvements in the coming weeks

Enjoy !

 

[UPDATE]
I upgraded with 20121113 nightly build (resuming my procedure from Step #3).  I used the simplified update with

 fastboot update Evervolv-perdo-3.1.0-passion-nightly-20121113-fastboot-update.zip

Also, clockwork do not need to be re-installed, it still lives in the recovery partition.

The system is much more responsive.  The camera and trackball button work as expected.

I also used M2SD to move app to SD card.  (be sure to partition the card as required)

 

, ,

  1. #1 by Diogo Kersting on 07/08/2012 - 20:56

    After step two, in my nexus one, I see the line JellyBaby, not JellyBean.

  2. #2 by Diogo Kersting on 07/08/2012 - 21:13

    Is it necessary to resize the partition?

  3. #3 by Diogo Kersting on 07/08/2012 - 22:20

    Got everything working. Thankyou so much!

  4. #4 by Diogo Kersting on 08/08/2012 - 18:16

    Is voice search working for you?

  5. #5 by sst on 08/08/2012 - 18:25

    I think I tried it and it worked. Not sure – I don’t have the device “in hands” before 10 days … can not comment until then.

  6. #6 by Diogo Kersting on 09/08/2012 - 05:02

    Voice search wasn’t working because the partition sizes were wrong when I installed it.
    I did everything again from step 2 and it’s working now.

  7. #7 by JJ on 19/09/2012 - 23:09

    camera works?

  8. #8 by sst on 20/09/2012 - 12:23

    not, as I am mentioning it at the end of the post 🙂

  9. #9 by Navin on 22/10/2012 - 08:17

    Couple of queries

    1) Black rose is to be installed at root of the PC rt ? not the SD card ?

    2) stupid question … but how to apply a small patch to HBoot ?

    3) Step 1 and 2 must be done with the phone in bootloader mode rt ?

    thanks

  10. #10 by sst on 22/10/2012 - 10:54

    Hello – hope this will help

    1) Black rose is to be installed on the PC and started with admin privileges (root on Linux, Administrator on Windows)

    2) as described in my blog entry
    adb reboot bootloader
    fastboot flash hboot hboot_jellybean_260-8-168.nb0
    fastboot reboot-bootloader

    3) step #2 and #3 are performed on the PC with the tools provided by ADK

  11. #11 by Shashi on 25/11/2012 - 16:34

    Stuck at the “waiting for device”. First it time tried to install but said no space. So I removed all the apps on phone and tried to run BlackRose again. But it just is stuck at “waiting for device”.

  12. #12 by sst on 25/11/2012 - 16:37

    It happens to me too … do you run the command as root ?

  13. #13 by Shashi on 25/11/2012 - 17:26

    Where is the Jelly bean download tar or zip file, its not there in the link shown above.

  14. #14 by Shashi on 25/11/2012 - 17:54

    the root problem is gone, I just kept trying and ^C and it started at some point. But I dont know where to get the tar or zip file of the jelly bean its not there in the link above.

  15. #15 by sst on 25/11/2012 - 17:55

    The links to Jelly Bean download are appearing at several place in my post, including the latest [UPDATE] at the end of the post.

  16. #16 by Shashi on 25/11/2012 - 18:12

    Sorry, missed that. Step 3 completed with no errors. but nothing happened on phone. So I rebooted. All I see is android icon with a !

  17. #17 by Shashi on 25/11/2012 - 18:34

    Hard rebooted. Got to Evervolv and system is up. Trying to install gapps. Not able to access or create any dir under “sd-ext”. SD card is mounted and accessible but not sure why I cant do an “ls” or “mkdir”

(will not be published)