I tried Ice Cream Sandwich on my Nexus One before summer, and despite its quirks and unstable behaviour from the early version I had (MIUI 2.5), I felt I couldn't go back to Android 2.3 after getting used to it for a while.
When I tried to get a more stable ROM version (MIUI 2.9), I found lots of trouble, obscure fails aggravated by a considerable lack of documentation about how to go for it. So here is how I made it.
Android 4.1 Jelly Bean needs more space in the
/cache partitions than it's
originally allowed in the Nexus, so we'll need a custom bootloader and resize those partitions
before think about flashing the ROM itself.
- Download Blackrose
- Get fastboot to work
- Install Blackrose and resize partitions
- Install the ROM
Download HBOOT Blackrose
$ md5sum blackrose_120421.zip f89de99e616a56e1bae29a9f8a190ee1 blackrose_120421.zip $ unzip blackrose_120421.zip $ ls blackrose_120421 binary BlackRose BlackRose.exe fastboot-linux-i386 fastboot-linux-i386.zip other $ md5sum oblackrose_manual_120421.zip 3c2bc61256aba2df1575ce2b6c66c977 blackrose_manual_120421.zip $ unzip blackrose_manual_120421.zip $ ls blackrose_manual_120421 fastboot-l fastboot-m fastboot-w.exe go2.lol go33.lol go35.lol hboot_220-16-200.nb0 hboot_blackrose.nb0 README.txt
Get fastboot to work
You'll need fastboot working properly in order to be able to interact with your phone.
The blackrose_manual version does include a fastboot implementation.
fastboot-l for Linux.
- Get your phone into
fastbootmode. You should read
fastbooton your phone's screen. To enter into fastboot mode:
- Turn your phone off
- Turn your phone on while pressing the direction ball
- Enter into
- Connect your phone via usb to the computer. You should read
fastboot USBon your phone's screen.
- Check wether it's detected by fastboot:
$ ./fastboot-l devices
If that does not work:
1. Try with
sudo ./fastboot-l devices(might be mounted with root permissions, you can write a udev rule to prevent this) 2. Check your fastboot setup, your android sdk installation and make sure that the
android_sdk/toolsdir is within
Install Custom Blackrose and resize
Once you get
fastboot to work, run the
Blackrose executable which comes with
blackrose_120421, and install the
Custom version, to resize the partitions on the same operation.
skip parameter, it's important.
$ ./BlackRose skip Loading... * daemon not running. starting it now * * daemon started successfully * ------------------------------- | Nexus One BlackRose 120421 | | Made by Lecahel(XDA-dla5244) | | Dok-Do belongs to KOREA | ------------------------------- 1 Apply stock/custom BlackRose 2 Disable HBOOT flashing protect 3 Uninstall BlackRose 4 More information 5 Exit Please make a decision:1
Apply stock/custom BlackRose
Select which you want 1 Stock BlackRose 2 Custom BlackRose 3 Back Please make a decision:2
error: device not found Input BlackRose password(48 char max):
error: device not found erro and insert a blank password. Just press Enter.
Nexus One BlackRose Editor If you want resize partition, type [resize] and press enter key:resize SYSTEM + CACHE + USERDATA = 436MB system size(MB):280 cache size(MB):20 label name(20 char max):ARL
Here is the root of all problems: size partitions.
/systempartition. If you don't do so, the installation will fail with
symlink: some symlinks failedbecause MIUI 2.9 demands a lot of space.
- Set 20 MB for cache. Otherwise your phone might not boot and enter into a loop.
Set whatever as the label.
system size:280MB cache size:20MB userdata size:136MB label:ARL Customize success sending 'hboot' (512 KB)... OKAY writing 'hboot'... OKAY rebooting into bootloader... OKAY Stock/Custom BlackRose has been successfully applied
Install the ROM
- Get the MIUI 2.9.29 ROM (or the latest one from the MIUI website) $ md5sum MIUI.us_passion_v4.1_2.9.29_0xD34D.zip 6433fa6970e65e910c9ebd77cb81563b MIUI.us_passion_v4.1_2.9.29_0xD34D.zip
- Put the image into your sdcard root directory
- You can do so from recovery itself by going to
storageand setting the storage mode on.
- Now wipe both caches
- Use the
install image from zipand select the ROM.
- Cross your fingers.
- Reboot your phone after the installation has finished.
Used links and further documentation:
- Blackrose thread
- Blackrose resize video-tutorial
- Blackrose tutorial
- Blackrose manual howto:
- Cyanogen wiki nexus one fastboot
- Cyanogen wiki fastboot
- Cyanogen wiki ADB
- Cyanogen wiki udev rules
- symlinks install errors
- Use skip when executing Blackrose