Showing posts with label rooting. Show all posts
Showing posts with label rooting. Show all posts

Friday, May 18, 2012

HTC One X (GSM - Tegra 3) : detailed instructions to flash "[18-05] [ROM] CyanogenMod 9 - Endeavor Unleashed | 008" step by step

Time to give my HTC One X (HOX) a "true" AOSP-based Android experience, so I decided to install the TripNDroid custom stock ROM [18-05] [ROM] CyanogenMod 9 - Endeavor Unleashed | 008 (look for the most up to date version on HTC One X with Tegra 3 - OneX.MoDaCo.com).

As usual, use it at your own risks as you may brick your device.



IMPORTANT : if something goes wrong ...
Head to the When something goes wrong section at the end of the F - Finalize the CyanogenMod flashing section



Prerequisites

This ROM is suitable only for the international HTC One X model (GSM - Tegra 3).

The [18-05] [ROM] CyanogenMod 9 - Endeavor Unleashed | 008 is still in alpha, not even in beta, so be sure you accept that some functions don't work properly !!!

You also have to unlock the bootloader and install a custom recovery. (small lexicon)

Head to HTC One X (GSM) : detailed instructions to unlock bootloader, install custom recovery and root for detailed, step by step, instructions and follow the instructions for A - Unlock the bootloader and B - Install a custom recovery.


A - Preparation

1) Download the file cm_endeavoru-ota-eng.noeri_008.zip on your computer from [18-05] [ROM] CyanogenMod 9 - Endeavor Unleashed | 008 (the link is near the end of the post #1, between "Download" and "Donations"). Put the downloaded file in the folder droid/ along with the fastboot command.

2) Unzip the file cm_endeavoru-ota-eng.noeri_008.zip in the folder cm_endeavoru-ota-eng.noeri_008/ and move the file boot.img in the same folder as the cm_endeavoru-ota-eng.noeri_008.zip. (Why should I manually flash the boot image ?)

3) Download the latest Google apps's file (gapps-ics-20120429-signed.zip) on your computer from gapps-ics-20120429-signed.zip. Put it in the folder droid/ along with the fastboot command.

4) Check the MD5 checksum for the Google Apps file gapps-ics-20120429-signed.zip by opening a command shell and entering the command

droid $ md5 gapps-ics-20120429-signed.zip
MD5 (gapps-ics-20120429-signed.zip) =
7c524e1e078164f681e0aa6753180b2c
droid $
Check the red part with the one provided in gapps-ics-20120429-signed.zip download page (MD5sum: 7c524e1e078164f681e0aa6753180b2c).

5) Plug the HTC One X on the USB cable.

6) Push the CM9 ROM cm_endeavoru-ota-eng.noeri_008.zip file at the root of the SDcard (/mnt/sdcard/).
You can do it by mounting the HTC One X as a USB device, and use your computer's file manager (Windows Manager or Finder) to copy the .zip file to the HTC One X
OR
you can use the adb push command from the command shell :

droid $ adb push cm_endeavoru-ota-eng.noeri_008.zip /mnt/sdcard/
730 KB/s (150106390 bytes in 200.604s)
droid $

7) Push the Google apps gapps-ics-20120429-signed.zip file at the root of the SDcard (/mnt/sdcard/) like you did it in 6).

8) Wait for 30 seconds then power off the HTC One X


B - Make a backup of your existing ROM using the custom recovery

9) Unplug the HTC One X from the USB cable.

10) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
FASTBOOT should be highlighted in blue.
Before doing this, you should ensure your phone has at least 50% battery !!

11) Choose the RECOVERY item (the 2nd one) using Volume-Down button. Then press the Power button.
The "quietly brilliant" white HTC screen appears briefly.
Then the "ClockworkMod Recovery v5.8.3.1" black screen appears.
The "Reboot system now" item is highlighted in blue.

12) Touch the "backup and restore" item.
The "Nandroid" screen appears.
The "backup" item is highlighted in blue.

13) Touch the "backup" item
The screen changes and the backup begins : boot image, recovery image, system, data, .android-secure, cache, sd-ext.
A md5 sum is automatically generated.
A "backup complete" message appears and the menu reappears.

14) Touch the "reboot system now" item to reboot your HTC One X.


C - Flash the boot.img

15) Power off the HTC One X. Ensure the HTC One X is not plug on the USB cable.

16) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
FASTBOOT should be highlighted in blue.

17) Select the FASTBOOT item (highlight using Volume-Up / Volume-Down button) then press the Power button.
FASTBOOT should now be highlighted in red.

18) Plug the HTC One X on the USB cable.
FASTBOOT should become FASTBOOT USB still highlighted in red.

19) Flash the boot.img (Why should I manually flash the boot image ?) from the command prompt used in step 4), by entering the command

droid $ fastboot flash boot boot.img
sending 'boot' (4286 KB)...
OKAY [ 0.666s]
writing 'boot'...
(bootloader) Format partition LNX done
OKAY [ 0.495s]
finished. total time: 1.161s
droid $

20) Power off the HTC One X using the Volume-Down button 3 times to select POWER DOWN. Then press the Power button.


D - Flash the CyanogenMod ROM

21) Unplug the USB cable from the HTC One X

22) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
FASTBOOT should be highlighted in blue.
Before doing this, you should ensure the battery is fully charged !!

23) Select RECOVERY using the Volume-Down button, then press the Power button.
The "quietly brilliant" white HTC screen appears briefly.
Then the "ClockworkMod Recovery v5.8.3.1" black screen appears.
The "Reboot system now" item is highlighted in blue.

24) Do some cleanup by touching the "wipe data/factory reset" item — which formats /data, /cache, /sd-ext, /sdcard/.android_secure .

OPTIONALLY : The "wipe data/factory reset" should be enough but if you want to be absolutely sure there's nothing left, you can continue the clean-up by touching the "wipe cache partition" item — which formats /cache — then touching the "mounts and storage". A new menu "Mounts and Storage Menu" appears. Touch the "format /data" item — which formats /data then go back to the "ClockworkMod Recovery v5.8.3.1" screen.

Many thanks to Nightranger73 for his help on the "wipe data/factory reset" issue.

25) Touch the 2nd item "install zip from sdcard"
The screen "Apply update from .zip on SD card" appears with the item "choose zip from sdcard" highlighted in blue.

26) Touch the highlighted item "choose zip from sdcard" (1st item, already highlighted)
The screen "Choose a zip to apply" appears with a list of files and directories.

27) Scroll through the files and directories (with your finger) until you see the file cm_endeavoru-ota-eng.noeri_008.zip (at the end of the list). Then touch it.
A new list appears

28) A new list appears with a lot of "No" and the item "Yes - Install cm_endeavoru-ota-eng.noeri_008.zip" in the middle. Touch the "Yes - Install cm_endeavoru-ota-eng.noeri_008.zip" item.
The installation begins and a log is displayed at the bottom the screen.
When the installation ends, you're back on the screen "Apply update from .zip on SD card".


E - Flash the Google Apps (optional)

29) Touch the highlighted item "choose zip from sdcard" (1st item, already highlighted) like you already did at step 26)
The screen "Choose a zip to apply" appears with a list of files and directories.

30) Scroll through the files and directories (with your finger) until you see the file gapps-ics-20120429-signed.zip (at the end of the list). Then touch it.
A new list appears

31) A new list appears with a lot of "No" and the item "Yes - Install gapps-ics-20120429-signed.zip" in the middle. Touch the "Yes - Install gapps-ics-20120429-signed.zip" item.
The installation begins and a log is displayed at the bottom the screen.
When the installation ends, you're back on the screen "Apply update from .zip on SD card".


F - Finalize CyanogenMod flashing

32) Touch the last item "++++Go Back++++"
You're now back on the screen "ClockworkMod Recovery v5.8.3.1"
The "Reboot system now" item is highlighted in blue.

33) Touch the "Reboot system now" item.
The HTC One X reboots.
The "HTC quietly brilliant" screen appears briefly.
Then the CyanogenMod 9 screen appears.
The update is rather quick, and you'll soon see the ICS screen.
A message box "Android is upgrading ..." may appear with the message "Optimizing application nn of nn"

If you're stuck for more than 5 minutes on the CyanogenMod startup screen, then something is going wrong !!...


When something goes wrong ...
Here are some places to find help :

Parameter Android

As all your data — accounts, parameters, applications, ... — have been wiped during the [18-05] [ROM] CyanogenMod 9 - Endeavor Unleashed | 008 installation process, you'll have to parameter again all the applications, accounts, ...


BUT YOU'VE NOT FINISHED !!



G - Reactivate the custom recovery [IMPORTANT]

34) Unplug the USB cable from the HTC One X

35) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
FASTBOOT should be highlighted in blue.
Before doing this, you should ensure your phone has at least 50% battery !!

36) Select the FASTBOOT item (highlight using Volume-Up / Volume-Down button) then press the Power button.
FASTBOOT should now be highlighted in red.

37) Plug the HTC One X on the USB cable.
FASTBOOT should become FASTBOOT USB still highlighted in red.

38) Erase the cache from the command prompt used in step 5), by entering the command

droid $ fastboot erase cache
erasing 'cache'...
OKAY [ 0.086s]
finished. total time: 0.086s
droid $

39) Power off the HTC One X using the Volume-Down button 3 times to select POWER DOWN. Then press the Power button.


H - Ensure the custom recovery is reactivated

40) Unplug the USB cable from the HTC One X

41) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
FASTBOOT should be highlighted in blue.
Before doing this, you should ensure your phone has at least 50% battery !!

42) Select RECOVERY using the Volume-Down button, then press the Power button.
The "quietly brilliant" white HTC screen appears briefly.
Then the "ClockworkMod Recovery v5.8.3.1" black screen appears.
The "Reboot system now" item is highlighted in blue.

If the HTC One X does not enter the recovery mode, but briefly displays a black screen then started Android the normal way, you'll have to start again the recovery reactivation process from step 34)

If you want to make a backup recovery of your HOX right now, follow the instructions from steps 12) and 13)

43) Touch the "Reboot system now" item.
The HTC One X reboots.


Enjoy :-)

Wednesday, May 16, 2012

HTC One X international (GSM - Tegra3) : 1.29.401.7 OTA failed due to custom recovery - failed to verify whole-file signature

My HTC One X is an international model (GSM - Tegra 3) with a 1.28.401.9 ROM (Software Number). The stock recovery has been replaced with the Official Clockworkmod Touch Recovery 5.8.3.1.

The new 1.29.401.7 OTA upgrade (OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release) failed with the following error message :
E: failed to verify whole-file signature
E: signature verification failed
Installation aborted

This error message has already been reported on 1.28.401.9 OTA in the thread 1.28.401.9 OTA problem with unlock/root?.

The error diagnosis is in broncogr's post :

You need stock recovery to apply OTA...
You dont flash it yourself from recovery!!!
The update program does that

The instructions to flash stock recovery in order for the upgrade to work were given in the posts by amacrobie and Squidinker, and merged here :
  • 1. Download the OTA using the handset : go to Settings -> About -> Software Updates -> Check now
  • 2. Flash stock recovery
    • Download the stock recovery http://loadbalancing.modaco.com/download.php?file=endeavoru_recovery_signed.img (or download it from the link in the CWM thread iirc)
    • Put the file endeavoru_recovery_signed.img in the same place as the fastboot you used to change the bootloader the first time
    • Reboot the phone into Fastboot by holding down the vol-down and power switch. Keep holding it until you have the boot menu and can select Fastboot.
    • Then connect the phone by usb to your desktop.
    • Open a command shell (or a Command prompt on Windows)
    • Navigate to the folder with fastboot and type the following :
      fastboot flash recovery endeavoru_recovery_signed.img
  • 3. Reboot
  • 4. Go to Settings -> About -> Software Updates -> Check now
    Assuming you already downloaded it, you'll be prompted to install it
  • 5. The OTA update reboots twice

From then you can re-flash the custom recovery, and the re-root : everything is detailed in HTC One X (GSM) : detailed instructions to unlock bootloader, install custom recovery and root

But it didn't work in my case : the OTA upgrade still continues to fail during the install. That's why I decided to flash the Modaco custom stock ROM DUO Ir1 1.29.401.7 - HTC One X (Tegra 3) Stock ROM DUO [Deodexed-Updated-Optimised]

Tuesday, May 8, 2012

HTC One X (GSM) : detailed instructions to unlock bootloader, install custom recovery and root

This only applies to the international (GSM) HTC One X model (the one with a Nvidia Tegra 3 chipset).


A - Unlock the bootloader
First of all, you have to unlock the bootloader as explained in HTC One X : HTCdev provides a process to unlock the bootloader. Although the HTCdev - Unlock Bootloader dedicated site provides very clear instructions, some may rather like to follow the detailed step by step instructions provided by [Tut] Preparing Your One X for Custom Roms (For Dummies).


B - Install a custom recovery

The second step is to install a custom recovery. I followed the detailed step by step instructions from [Tut] Preparing Your One X for Custom Roms (For Dummies)

B.1) Download the recovery recovery-clockwork-touch-5.8.3.1-endeavoru.img from MANDATORY UPDATE 26/4 Official Clockworkmod Touch Recovery 5.8.3.1 Charging Fixed!!!. The link directs to the touch version of the custom recovery. A non-touch version of the custom recovery is available at ROM Manager - ROMs and Recovery Images.

B.2) Put the recovery image you've just downloaded into the same directory as the fastboot executable.

B.3) Check the MD5 checksum of the recovery image you've just downloaded. Open a command prompt and enter the command :

droid $ md5 recovery-clockwork-touch-5.8.3.1-endeavoru.img
MD5 (recovery-clockwork-touch-5.8.3.1-endeavoru.img) = 6adc7248475c61cc5eb2ec951d3d0df0
droid $


Check the red part with the one provided with the recovery image.

B.4) Power off the HTC One X

B.5) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
FASTBOOT should be highlighted in blue.
Before doing this, you should ensure your phone has at least 50% battery !!

B.6) Select the FASTBOOT item (highlight using Volume-Up / Volume-Down button) the press the Power button.
FASTBOOT should now be highlighted in red.

B.7) Plug the HTC One X on the USB cable.
FASTBOOT should become FASTBOOT USB still highlighted in red.

B.8) From the command prompt you used in step B.3), enter the command

droid $ fastboot flash recovery recovery-clockwork-touch-5.8.3.1-endeavoru.img
sending 'recovery' (5732 KB)...
OKAY [ 0.885s]
writing 'recovery'...
(bootloader) Format partition SOS done
OKAY [ 0.556s]
finished. total time: 1.441s
droid $


B.9) Power off the HTC One X using the Volume-Down button 3 times to select POWER DOWN. Then press the Power button.

B.10) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
The FASTBOOT item should be highlighted in blue.

B.11) Choose the RECOVERY item (the 2nd one) using Volume-Down button. Then press the Power button.
The "quietly brilliant" white HTC screen appears briefly.
Then the "ClockworkMod Recovery v5.8.3.1" black screen appears.
The "Reboot system now" item is highlighted in blue.

B.12) Touch the "backup and restore" item.
The "Nandroid" screen appears.
The "backup" item is highlighted in blue.

B.13) Touch the "backup" item
The screen changes and the backup begins : boot image, recovery image, system, data, .android-secure, cache, sd-ext.
A md5 sum is automatically generated.
A "backup complete" message appears and the menu reappears.

B.14) Touch the "reboot system now" item to reboot your HTC One X.

The custom recovery is installed and you now have a backup from which you can recover if things goes wrong later.


C - Root the HTC One X

The third step is to root the HTC One X.
I followed the instructions from Installing a custom recovery which also explains how to install the [07.05.2012] SuperSU v0.89.

C.1) Download the SuperSU application (file CWM-SuperSU-v0.89.zip) which is attached in the [07.05.2012] SuperSU v0.89.

C.2) Put the SuperSU application (file CWM-SuperSU-v0.89.zip) at the root of your HTC One X sdcard (into the folder /sdcard). There are different ways to do it. I rather like to use the adb push command

droid $ adb push CWM-SuperSU-v0.89.zip /sdcard/CWM-SuperSU-v0.89.zip
786 KB/s (569873 bytes in 0.707s)
droid $ adb shell
shell@android:/ $ ls -l /sdcard/CW*
----rwxr-x system sdcard_rw 569873 2012-05-08 20:58 CWM-SuperSU-v0.89.zip
shell@android:/ $ exit
droid $


C.3) Unplug the USB cable from the HTC One X

C.4) Power off the HTC One X

C.5) Power on the HTC One X in bootloader mode by holding Volume-Down button while pressing the Power button.
FASTBOOT should be highlighted in blue.
Before doing this, you should ensure your phone has at least 50% battery !!

C.6) Select RECOVERY using the Volume-Down button, then press the Power button.
The "quietly brilliant" white HTC screen appears briefly.
Then the "ClockworkMod Recovery v5.8.3.1" black screen appears.
The "Reboot system now" item is highlighted in blue.

C.7) Touch the 2nd item "install zip from sdcard"
The screen "Apply update from .zip on SD card" appears with the item "choose zip from sdcard" highlighted in blue.

C.8) Touch the highlighted item "choose zip from sdcard"
The screen "Choose a zip to apply" appears with a list of files and directories.
Scroll through the files and directories (with your finger) and touch the file CWM-SuperSU-v0.89.zip.
The screen "Confirm install ?" appears.

C.9) Touch the item "Yes - Install CWM-SuperSU-v0.89.zip"
The installation begins and a log is displayed on the screen.
Then you're back on the screen "Apply update from .zip on SD card".

C.10) Touch the last item "++++Go Back++++"
You're now back on the screen "ClockworkMod Recovery v5.8.3.1"
The "Reboot system now" item is highlighted in blue.

C.11) Touch the "Reboot system now" item.
The HTC One X reboots.

C.12) The SuperSU application appears among the other applications on your HTC One X.
Touch the SuperSU application.

If you like SuperSU and want to support it, maybe would you want to upgrade to the SuperSU Pro.


Important note about the SuperSU rooting application

The following quote comes from SuperSU - Chainfire

The discussion and support thread can be found on XDA-Developers here:
http://forum.xda-developers.com/showthread.php?t=1538053

SUPERUSER
This is meant to replace Superuser (if installed), you use either one or the other. You cannot combine them. Statements that this breaks Superuser are therefore completely nonsensical.

NOTICE: A SPECIAL PROCEDURE IS NEEDED FOR UNINSTALLATION. IF YOU DO NOT LIKE THE APP, DO *NOT* JUST UNINSTALL IT, YOU *WILL* LOSE ROOT.
Superuser access management runs through a so called "su binary". There can be only one of these at a time. So if you install SuperSU, your previous superuser access management solution will no longer operate. So if you want to switch back: (1) Open that application, and search for an option for it to install/update/replace the "su binary". (2) Confirm root-using apps are using the superuser solution you want. (3) Uninstall SuperSU.

Android rooting and custom ROM : small lexicon before rooting HTC One X

What is :
  • hboot : It's the bootloader. It's what decides to boot into recovery or android. (http://androidforums.com/desire-all-things-root/436495-hboot.html#post3386080). HBOOT is the bootloader, the first thing that runs when you boot up your phone. Like your regular Linux bootloader, it lets you boot off of different partitions. (Can someone explain these Android ROM hacking terms: HBOOT/bootloader, radio, recovery image, update.zip, NAND unlocking, RUU?)
  • recovery : In Android, recovery refers to the dedicated, bootable partition that has the recovery console installed. (What is recovery? [Android A to Z])
  • S-OFF & S-ON : In a nutshell, S-OFF means that the NAND portion of the device is unlocked and can be written to. The default setting for HTC’s devices is S-ON, which means that neither can you access certain areas of the system nor can you guarantee a permanent root. Furthermore, signature check for firmware images is also ensured by the S-ON flag. (What Is S-OFF & How To Gain It On HTC Android Phones With unrevoked forever and another one What is S-OFF? Why would I want to do it?)
  • NAND : The phone's internal memory (not the SD card) is solid-state (flash) memory, AKA NAND. It can be partitioned much like a normal hard drive can be partitioned. The bootloader exists in its own partition. Recovery is another partition; radio, system, cache, etc are all partitions.
    [...]
    During the rooting process, a critical piece of the process is disabling a security system built into the bootloader that protects these partitions from accidental (or intentional) modification. This is what's referred to as "unlocking NAND." The security system can be set to active or inactive. S-ON means the security is in place (NAND locked). S-OFF means the security is off (NAND unlocked). When S-OFF, you have the ability to modify all partitions. With S-ON, you only have write access to /cache and /data. Everything else is read-only.(Android partitions, kernels explained)
  • NANDroid & NAND backup : It's a backup and restore tool that allows you to take a full image of all the phone's internal NAND memory (hence the name) and store it on your SD Card. Should something go wrong with the phone's software, you can use the previously saved backup to restore the phone to a working state. (What is the relation between ROM Manager, ClockworkMod and Nandroid? Which one(s) do I need?)
    A Nandroid backup is a backup of your phone that is an exact image of the state of your phone. So you could make an exact copy of your current phone, then do major changes to it, and then restore to your previous backup by flashing the backup back to the phone. Flashing means to copy or to install.... you are essentially wiping the device and restoring a previous state (a backup) or you are flashing a new ROM (which is a custom version of Android). (What do “NAND”, “ROM” and “to flash” mean? [closed])
  • Odexed : In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution. (What does odexed and deodexed mean ?)
  • DeOdexed : Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
    In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity." (What does odexed and deodexed mean ?)

Here are some resources for a more complete introduction :
And what rooting is useful for :

Monday, April 9, 2012

HTC One X : HTCdev provides a process to unlock the bootloader

The latest HTC One X has a locked bootloader, like most HTC's devices. HTC provides a process to unlock the bootloader of most of it's devices. Everything is explained on HTCdev site. The overall process is explained on the Preview Unlock Process page.

As usual, unlocking the bootloader may void your device's warranty. And you may damage your phone.

Monday, December 19, 2011

Galaxy Nexus : installing ICS 4.0.2 from factory image on the GSM/HSPA+'s model (« yakju » / « maguro »)

UPDATE 04-04-2012 :
Be aware that :
  • All your personal data (files, photos, mp3, ...) will be erased during the process and a factory reset will be done.
  • You should make a backup before starting the install.
  • You should also ensure that your account's information are backed up on Google's server and that all the account have been synchronized on Google's server.
  • You will have to parameter again all your applications : social networks account (sign in into Twitter, Facebook, or whatever account you use), cloud service account (sign in into Ubuntu One, Dropbox, Evergreen, or whatever service account you use), library account (sign in into Kindle or whatever service account you use). So, you should ensure you have all those account sign-in information with you. And be prepared to spend some time on this task.
AS YOU MAY BRICK YOUR PHONE, DO IT AT YOUR OWN RISKS.
Good luck if you decide to continue with the manual update process instead of waiting for the OTA.


I've just updated my GSM/HSPA+ Galaxy Nexus (« yakju » / « maguro » model) to Android ICS 4.0.2 by flashing the factory image. I've decided to flash the factory image because manual install requires to unlock the bootloader and this single action will erase my data (userdata partition) on the device whether I flash the factory image or the OTA archive.

First of all, prepare everything :
  • download the yakju / maguro icl53f Android 4.0.2 factory image and verify the checksum (MD5 or SHA-1)
  • then expand the archive in a folder on your desktop computer
  • download the fastboot application for Windows or Mac on your desktop computer, unzip it and copy the unzipped contents to the folder where the factory image has been expanded to. It seems the fastboot application is now in the Android SDK folder : android-sdk/platform-tools. So you just have to ensure this folder is in your PATH environment variable
  • install the Android SDK on your computer. I don't know if this is a required step but who knows, it will be ready if things goes wrong ...
  • open the flash-all.sh script file from the directory where the factory image has been expanded to in a text editor
  • open a command shell and go to the directory where the factory image has been expanded to

Now everything has been prepared, you're ready to proceed.

Here are the steps :
0) boot in fastboot mode following the instructions from Building for devices (shutdown your Galaxy Nexus then hold volume-up and volume-down, then press power while maintaining volume-up and volume-down until the phone vibrate)

1) unlock the bootloader following the instructions from Building for devices (the "Unlocking the bootloader" section). The Galaxy Nexus will display a warning screen and you'll have to confirm on the phone you still want to unlock the bootloader using the volume-up button then the power button)

$ fastboot oem unlock
...
OKAY [ 33.912s]
finished. total time: 33.912s

At the next Galaxy Nexus reboot, you will see an unlocked locker on the black screen with the « Google » logo.

2) flash the bootloader following the flash-all.sh script's commands provided in the factory image archive

$ fastboot flash bootloader bootloader-maguro-primekk15.img
sending 'bootloader' (2308 KB)...
OKAY [ 0.347s]
writing 'bootloader'...
OKAY [ 0.291s]
finished. total time: 0.637s

wait for a few seconds

3) reboot the bootloader following the flash-all.sh script

$ fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.007s]
finished. total time: 0.007s

wait for a few seconds

4) flash the radio image following the flash-all.sh script

$ fastboot flash radio radio-maguro-i9250xxkk6.img
sending 'radio' (12288 KB)...
OKAY [ 1.749s]
writing 'radio'...
OKAY [ 1.376s]
finished. total time: 3.124s

wait for a few seconds

5) reboot the bootloader following the flash-all.sh script

$ fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.006s]
finished. total time: 0.006s

wait for a few seconds

6) flash the android 4.0.2 (icl53f) image following the flash-all.sh script

$ fastboot -w update image-yakju-icl53f.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: PRIMEKK15
Baseband Version.....: I9250XXKK6
Serial Number........: 0xxxxxxxxxxxxxx
--------------------------------------------
checking product...
OKAY [ 0.007s]
checking version-bootloader...
OKAY [ 0.008s]
checking version-baseband...
OKAY [ 0.008s]
sending 'boot' (4074 KB)...
OKAY [ 0.591s]
writing 'boot'...
OKAY [ 0.249s]
sending 'recovery' (4406 KB)...
OKAY [ 0.648s]
writing 'recovery'...
OKAY [ 0.295s]
sending 'system' (317594 KB)...
OKAY [ 34.419s]
writing 'system'...
OKAY [ 33.115s]
erasing 'userdata'...
OKAY [ 0.193s]
erasing 'cache'...
OKAY [ 0.015s]
rebooting...

finished. total time: 69.582s


Wait for a few seconds and your phone will reboot by itself, then restart.

7) As everything has been erased, and specially your personal information, apps, data and so on, you are asked a few information to configure your Android phone as it is a very first start.

This restoration process takes quite some time.

8) After the phone has been parametered and it has restored your data (contacts, emails, ...), apps, and the likes from Google's servers, it is strongly suggested to lock your phone's bootloader (as recommended by Jean-Baptiste Queru).

At the command prompt, execute the following command :

$ fastboot oem lock
...
OKAY [ 0.203s]
finished. total time: 0.203s

wait for a few seconds then reboot your phone


$ fastboot reboot
rebooting...

finished. total time: 0.005s

While the phone reboots you should not see any unlocked locker on the black screen with the « Google » logo.

That's it. Enjoy.


fastboot commands

$ fastboot -?
usage: fastboot [ <option> ] <command>

commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message

options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default: 2048

Sunday, December 18, 2011

Galaxy Nexus : how to get the 4.0.2 update on the GSM/HSPA+ "yakju" / "maguro" model, NOT for Verizon's CDMA/LTE "mysid" / "toro" model

There are different methods out there on how to bring your GSM/HSPA+'s Galaxy Nexus (« yakju » / « maguro » model) to 4.0.2 if you can't wait for the OTA update :
According to Jean-Baptiste M. "JBQ" Queru, a software engineer working on Android Open-Source Project (AOSP) at Google, the factory image contains a flash-all.sh script. Here is the script that can be found in the yakju-icl53f factory image (just expand the archive to see the contents) :

fastboot flash bootloader bootloader-maguro-primekk15.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-maguro-i9250xxkk6.img
fastboot reboot-bootloader
sleep 5
fastboot -w update image-yakju-icl53f.zip

Notice the « -w » in the last script line « fastboot -w update image-yakju-icl53f.zip ». This command line option ask fastboot to "erase userdata and cache" partitions aka wipe out the "userdata and cache" (Android Partitions Explained: boot, system, recovery, data, cache & misc).

In the instructions given in the article HOWTO Manual update to 4.0.2 using factory imgs, w/o wiping phone, the « -w » has been removed from the last script line :

fastboot flash bootloader bootloader-maguro-primekk15.img
fastboot reboot-bootloader
(wait for bootloader to reboot)
fastboot flash radio radio-maguro-i9250xxkk6.img
fastboot reboot-bootloader
(wait for bootloader to reboot)
fastboot update image-yakju-icl53f.zip

As stated by Jean-Baptiste Queru in his post about the Factory images available for Galaxy Nexus,
Don't forget that after flashing back to a factory state, your bootloader is still unlocked. Don't forget to lock it back in order to secure your device ("fastboot oem lock").

Unlock the Galaxy Nexus bootloader
For both procedures, before manually updating to 4.0.2, your bootloader will have to be unlocked first. The procedure can be found here HOW-TO OEM unlock the Galaxy Nexus.

As stated in Building for devices from the « Android Open Source Project » reference site,

The procedure must be confirmed on-screen, and deletes the user data for privacy reasons. It only needs to be run once.

On Nexus One, the operation voids the warranty and is irreversible.

On Nexus S, Nexus S 4G, Xoom, and Galaxy Nexus, the bootloader can be locked back with

The ClockworkMod Recovery
The procedure to manually install the OTA requires to install the latest version of the ClockworkMod Recovery for the GSM/HSPA+ "maguro" Galaxy Nexus.

Here is a rather complete guide on the « ClockworkMod Recovery » : What Is ClockworkMod Recovery And How To Use It On Android [Complete Guide]. Here is the pitch on « ClockworkMod Recovery » :

All Android devices ship with a recovery console that is basically a partition on the device’s internal memory and can be booted into. The stock recovery of almost all Android devices provides a few basic yet handy options that allow you to factory reset your device and also to recover its operating system using an official ROM in zip format, but that’s all you can do with it. That’s where a custom recovery comes handy.

A custom Android recovery basically replaces the stock recovery with one that lets you do all you can do with the stock recovery, plus a plethora of more options to give you a lot more control on your device. With a custom recovery, you can install official and unofficial ROMs as well as other updates including apps, themes, kernels etc. using zip files, wipe not just user data but pretty much every partition on your device, mount the storage card for USB mass storage access without leaving recovery, partition your SD card, wipe Dalvik cache and battery stats, fix permissions, perform, manage and restore backups and so on.

In most cases, the simplest method to install the « ClockworkMod Recovery » on your device is provided in How To Install ClockworkMod Recovery On Your Android Phone. If it does not work, alternative method can be found in What Is ClockworkMod Recovery And How To Use It On Android [Complete Guide]

By the way, here are other useful resources about Android :

Saturday, December 10, 2011

Google Galaxy Nexus : How to unlock bootloader & root GSM Nexus - how to restore official factory image

Google Galaxy Nexus resources can be found on XDA Developers forum.

There are detailed instructions on [HOW TO] Unlock Bootloader & Root GSM Nexus. Take care that this is for the i9250 model (the european model with the i9250XXKK1 baseband version and the ITL41F build number)

There are also instructions on how to restore the [ROM] Official Factory Image ITL41F.

Saturday, March 19, 2011

Nexus S : how to update to the Nexus S to Android 2.3.3

Android Police has published a detailed procedure to manually upgrade the Nexus S to Android 2.3.3 : Google Releases Android 2.3.3 Update .ZIPs For Nexus One And Nexus S

A detailed procedure to manually upgrade the Nexus S to Android 2.3.2 is also available on Android and Me : Update your Nexus S to Android 2.3.2

For those wo have a rooted Nexus S, the reference is on XDA-Developers forum : [REF] Nexus S Guide to Roms, Themes, and Kernels

Tuesday, November 9, 2010

HTC Desire HD - the permanent root with [DEV] PERMROOT & eMMC write [INSTRUCTIONS]

A permanent root solution has been found for the HTC Desire HD. Detailled instruction are in the XDA-Developers post [DEV] PERMROOT & eMMC write [INSTRUCTIONS].

Nexus One : how to prepare for Gingerbread

The next release of Android, Gingerbread, is rumored to be OTA released in the coming days. Android Central, working with XDA-Developers wiki comes with a welcomed [How-to] Prep Nexus One for Gingerbread

« If you're like us, and have your Nexus One hacked nine ways to Sunday, you'll need to get ready if you don't feel like waiting for someone to rip it apart and whip up a version for the rooted and ROM'd crowd. »

Saturday, November 6, 2010

Nexus One - installing [ROM] Enomther's TheOfficial Nexus1 - v2.13.2 - 10/11/2010

I've decided to give a try to [ROM] Enomther's TheOfficial Nexus1 - v2.13.2 - 10/11/2010.

The Nexus state before installing Enomther's TheOfficial ROM :


Here are the detailled steps to install it on a rooted Nexus One.
  1. connect the Nexus to your computer using the USB cable
  2. download the resources and check the md5
  3. copy the files to the SD card.
    You can either mount your phone in USB storage mode (recommended) or use adb tool
    The files to be copied to the root of the SD card are :
    • RADIO TheOfficial_Nexus1_Radio_Update_4.06.00.12_7.zip
    • ROM : TheOfficial_Nexus1_v2.13.2_update.zip
    • MUSIC : origmusic_2.12.1.zip
    • CAM : origcam_2.12.3_kernel_audiomod.zip
    • TORCH : CMMod_Torch_2.11.3.apk.apk
    The RADIO TheOfficial_Nexus1_Radio_Update_4.06.00.12_7.zip will be flashed.
  4. make a Nand backup
    • Reboot the Nexus One in bootloader mode : hold down the trackball while you press the power button. Ensure to maintain the trackball hold down until the screens turns to a white screen with 3 green android skating at the bottom of the screen. Ensure that the Nexus One stay connected to the computer via the USB cable.
    • on the screen, the BOOTLOADER should be highlighted with blue. press power button
      on the new screen, scroll down with the Volume down button to highlight the RECOVERY option. Press the power button.
    • the Nexus One reboots and after a few seconds, the screen title with "Android system recovery" appears, with the "Build : RA-nexus-v1.7.0" at the bottom of the screen. The screen should be in cyan instead of green if the Nexus One has already been rooted
    • scroll down with the trackball to the "Backup/Restore" menu and press the trackball
    • on the new screen "Choose backup/restore item" choose the option "Nand Backup" (the first one) by scrolling down the trackball and press the trackball to select it. The question "Create Nandroid backup?" appears at the bottom of the screen, so press the trackball to confirm as it is stated
    • The backup starts, it takes a few seconds to complete. At the end of the backup, the cyan screen is restored. Press Volume down button to return to the previous screen "Android system recovery".
  5. flash the RADIO
    • back to the Android system recovery screen, scroll down to the Flash zip from sdcard item using the trackball. Press the trackball to select
    • on the new screen Choose update ZIP file, use the trackball to select the right ZIP file to flash. Start with the RADIO TheOfficial_Nexus1_Radio_Update_4.06.00.12_7.zip. then press the trackball to start the flashing. Press the trackball again to confirm flashing on the question "Install : TheOfficial_Nexus1_Radio_Update_4.06.00.12_7.zip ?" that appears at the bottom of the screen. The ROM flashing starts and many messages appears on the screen.
    • after some time, the message "Install from sdcard complete" appears and you're asked to reboot the phone to write the image on the phone. Press the trackball to proceed
    • after some time, you're back to the Android system recovery screen
  6. WIPE
    • from the Android system recovery screen, select the WIPE item using the trackball and press it
    • from the new screen "Choose wipe item", highlight the "wipe data/factory reset" item (the first one) and press the trackball once to select it, then press the trackball another time to confirm to proceed as it is asked at the bottom of the screen
    • then redo the same steps for the "Wipe cache", "Wipe Dalvik-cache", "Wipe battery stats", "Wipe rotate settings" but don't wipe the "SD:ext partition"
    • press VOL-DOWN to return to the Android system recovery screen
  7. flash the ROM
    • highlight the "Flash zip from sdcard" item using the trackball and press the trackball to select the item
    • from the "Choose update ZIP file" screen, highlight the "TheOfficial_Nexus1_v2.13.2_update.zip" item and press the trackball to select it. Press the trackball another time to confirm as you're asked to at the bottom of the screen. The flashing starts. At the end of the process, you're back to the Android system recovery screen.
    • follow the same steps to flash the MUSIC origmusic_2.12.1.zip
      and CAM origcam_2.12.3_kernel_audiomod.zip files. The nexus reboots automatically after fashing each of those files.

After flashing the Enomther's TheOfficial Nexus ROM :

Monday, November 1, 2010

Desire HD - rooting and shutdown, restart and fastboot modes

The Desire HD has 3 modes when it comes to shutdown and startup :
  • full shudown : it's the classical way of shutting down Android. All processes are killed and the caches are flushed. After a shutdown, there is a cold start which takes quite a lot of time : about 25s to get the htc logo with the djingle + 40s more to load Android and ask you to enter your PIN code + 25s more to register on the network.

    rooting : After a full shutdown, the temporary rooting needs to be done again, and any package that may have been disabled (see [GUIDE] Disabling Stock/System Apps) has to be disabled again.
  • restart (reboot) : it's also a classical way to restart Android that takes approximately the same time the full shutdown process takes.

    rooting : After a reboot, the temporary rooting needs to be done again, and any package that may have been disabled (see [GUIDE] Disabling Stock/System Apps) has to be disabled again, like after a full shutdown.
  • fastboot shutdown : this is a new shutdown mode introduced by HTC in its latests smartphones. It basicaly freeze everything (processes, cache, ...) in its state and then has just to unfreeze them to startup. The startup process is then very fast : less than 5s for the phone to ask you to enter your PIN code + 25s more to register on the network.

    rooting : After a fastboot shutdown, the temporary rooting that may exists before the fastboot still exists and does not need to be done again, and any package that may have been disabled (see [GUIDE] Disabling Stock/System Apps) is still disabled. By the way, any app that have been launched before the fastboot is still awake and available through a long press on the Home button.



The power-down screen look like :


The fastboot shudown mode has to be activated from the "Menu" -> "Settings" -> "Applications" -> "Fast boot" checkbox :


The restart option ask for a confirmation :

Sunday, October 31, 2010

"setCPU for Root Users" saves the battery of your Android device

I've used setCPU for Root Users on my Nexus and now on my Desire HD to save battery : setCPU adjusts CPU speed to what is needed to perform the required tasks.



setCPU lets you adjust the lower and upper speed for your CPU. There's a "device selection" function in the menu that lets setCPU perform all the computing and suggest the appropriate values for your hardware. Here's a screenshot for the Desire HD.



The "Time in State" section from the "info" tab lists the time your phone has spent at different speeds. From the following screenshot, it appears the Desire HD CPU speed scales between 4 speeds from 245 MHz to 1024 MHz, spending most of its time between the upper and lower speed. The same screen on the Nexus One shows many different speeds, the Nexus spending most of its time on the lower speed (it naturally depends on how you use your Nexus).



As said in its name, setCPU for Root Users require root access.Rooting instructions can be found here :

Head to setCPU for Root Users's official page to get more informations on setCPU, specially on how to use setCPU to overclock / underclock your CPU.

Scan the following QR-code to download setCPU from the Android Market.

Saturday, October 30, 2010

Desire HD Ace : how to temporary root - [GUIDE] Temp Root [VISIONary by PaulOBrien]

Right now, there's no permanent rooting solution for the new HTC Desire HD (for UK).


But there's a temporary root solution provided by MoDaCo with the VISIONary app available on the Android Market.

Friday, October 29, 2010

HTC Desire HD (Ace)

Just receive my new Android phone : the HTC Desire HD (here in english HTC Desire HD).

Very nice phone.

But still not permanently rooted at the time of this writing.

Thursday, October 28, 2010

Nexus One - how to upgrade to CyanogenMod-6.1 V6.1.0-RC1 (10/27/2010) - instructions

I have just installed the CyanogenMod-6.1 first release candidate V6.1.0-N1-RC1 - 10/27/2010 (CyanogenMod-6.1 for Nexus One: Holy crap, it's full of AWESOME! V6.1.0-RC1 (10/27/2010)). Just keep in mind it is the 1st Release Candidate and as such, there are still some issues.

As the required radio image is still radio-4.06.00.12_7.img (Radio Firmware: 4.0.6.00.12_7 (FROYO RADIO, 4.06 OR HIGHER REQUIRED!)), I just have to upgrade to the new CyanogenMod-6.1 6.1.0-RC1.

I slightly depart from Cyanogen's instructions to upgrade :
  1. Do a Nandroid Backup !
    --->> steps 1) to 11) from Nexus One - how to upgrade to CyanogenMod-5 [stable 5.0.6 version of 04/15/2010] - detailled instructions
  2. Wipe : I add this step as it prevents problems with Google Apps ; just remember to save everything before (don't forget to backup your Track Site's data).
    The wipe has to be done while in recovery mode just after the Nandroid backup (the previous step).
    Here are the detailled steps :
    • from the "Android system recovery" screen you are just after the step 11), scroll down to the "Wipe" item using the trackball, press on the trackball to select the item
    • On the "Choose wipe item" screen, choose the "Wipe cache" item (the 2nd one) using the trackball. The "Wipe cache" seems to be enough and does not need to reinstall all applications. Press the trackball a 2nd time to confirm on the question that appears on the back of the screen.
    • The wipe starts and takes a few seconds to complete. At the end of the wipe, the cyan screen is restored. Press Volume down button to return to the previous screen "Android system recovery".
    • follow on with step 14) of the upgrade procedure
  3. Install the CyanogenMod-6.1 6.1.0-N1-RC1 - 10/27/2010 ROM (your Google apps will be backed up automatically)
    --->> steps 14) to 16) from Nexus One - how to upgrade to CyanogenMod-5 [stable 5.0.6 version of 04/15/2010] - detailled instructions. Don't reboot at this time and continue with the step below
  4. There's a 4th step to Cyanogen's instructions to install the most up to date version of Google apps : HDPI-20101025 (UPDATE 11/03 : Google Apps have been made available in a dedicated place : http://goo-inside.me/google-apps/ ; a wiki dedicated to Google Apps have been made available )
    --->> steps 15) and 18) from Nexus One - how to upgrade to CyanogenMod-5 [stable 5.0.6 version of 04/15/2010] - detailled instructions. At the end, just reboot (or power-down by selecting the right option with the trackball in step 17)).

The detailed instructions to follow are pretty much the same as for Nexus One - how to upgrade to CyanogenMod-6 V6.0.0-RC1 (07/11/2010) - instructions to get the 6.1.0-N1-RC1 - 10/27/2010 ROM update-cm-6.1.0-RC1-N1-signed.zip installed.

Wednesday, July 14, 2010

Nexus One - how to upgrade to CyanogenMod-6 V6.0.0-RC1 (07/11/2010) - instructions

I have just installed the CyanogenMod-6 first release candidate V6.0.0-RC1 (07/11/2010) ([ROM] CyanogenMod-6 for Nexus One: Holy crap,full of AWESOME! V6.0.0-RC1 (07/11/2010) on XDA-developers) — the one that brings Froyo (Android 2.2) to my Nexus One.

As I had already installed the radio image radio-4.06.00.12_7.img when I had installed the CyanogenMod-5 5.0.8-N1, this time, I just have to upgrade to the new CyanogenMod-6 6.0.0-RC1.


So Cyanogen's instructions to upgrade are :

- Upgrading?
1. Do a Nandroid Backup!
2. Install the CyanogenMod-6 V6.0.0-N1-RC1 - 07/11/2010 ROM (your Google apps will be backed up automatically)

I add a 3rd step to Cyanogen's instructions to install the most up to date version of Google apps :
3. Optionally install the FRF91-HDPI Google Addon as CyanongenMod 5.0.8 installs EPF30+ Google Addon

The detailed instructions to follow are the same as for Nexus One - how to upgrade to CyanogenMod-5 [stable 5.0.6 version of 04/15/2010] - detailled instructions to get the CyanogenMod-6 V6.0.0-N1-RC1 ROM update-cm-6.0.0-N1-RC1-signed.zip installed, skipping the WIPE steps 12) and 13) as it is not a first install and as Cyanogen doesn't require a WIPE in it's instructions.

Then I do again step 15) to install the FRF91-HDPI Google Addon gapps-hdpi-FRF91-signed.zip and I finish by a power down on step 17) instead of a reboot.

On step 18) everything started as usual, but the boot time was longer.


First surprise, the screen looks like my personalized screen instead of the new Froyo screen. Then my Gmail account was unavailable, and it was impossible to register a new one, making any synchronization impossible.

I then have to perform a factory reset to solve the problem. Everything works well now. But it suggests Cyanogen's instructions need another step to perform some kind of wipe.


The new CyanogenMod-6 comes with new wallpapers.

Monday, June 21, 2010

Nexus One - how to upgrade to CyanogenMod-5 [stable V5.0.8 (06/19/2010)] - instructions

The new 5.0.8 CyanogenMod has been released : CyanogenMod-5 for Nexus One: Kang Central Station V5.0.8 (06/19/2010) ([ROM] CyanogenMod-5: Kang Central Station (STABLE) [06/19/2010 / 5.0.8]).

Here are the detailed instructions to install it.

As the Nexus One's radio image has to be flashed to the Froyo's one, the instructions to follow are the ones Cyanogen gives for a first install, starting from step 2 with a wipe on step 4 :
- First time flashing CM to your Nexus (or coming from another ROM)?
1. Unlock your device and install Clockwork Recovery or Amon_RA's recovery image
2. Do a Nandroid backup!
3. Update your radio if necessary
4. WIPE
5. Install the ROM
5. Optionally install the Google Addon

If it's the first time flashing your Nexus, start from step 1 !! Directions can be found in the post Nexus One - CyanogenMod For Nexus One V5.0.5.3 (03/23/2010).

It may be useful to read the full process here How to Root Your Nexus One as well as other resources I have used for the initial root of my Nexus
Nexus One - CyanogenMod For Nexus One V5.0.5.3 (03/23/2010). Detailed instructions on the Cyanogen firmware upgrade process can also be found in my other post
Nexus One - how to upgrade to CyanogenMod-5 [stable 5.0.6 version of 04/15/2010] - detailled instructions.


So let's start :
  1. first, prepare everything that is needed. Download all the images : CyanogenMod 5.0.8-N1 latest version, EPF30+ Google Addon and FRF50 Radio Firmware
  2. check the MD5 checksum of the CyanogenMod 5.0.8-N1 and FRF50 Radio Firmware files with a md5 the file to check on the command line
  3. connect your Nexus to your computer and mount it turning on USB storage mode, then copy the CyanogenMod 5.0.8-N1 and EPF30+ Google Addon files to the root of your SDcard but leave the FRF50 Radio Firmware on your computer as it will be flashed using a “fastboot flash radio the radio .img file” command from your computer's command line
  4. ensure the fastboot utility is in your PATH. The fastboot utility is not in the standard Android SDK on Mac but it can be found in the SuperBoot image which contains a fastboot version for Mac, Linux and Windows. Choose the one that pertains to your platform and put it in the android/tools directory, renaming it simply as fastboot
  5. proceed with step 2 : the Nandroid backup. Follow detailed instructions from step 5 to step 11 of the post Nexus One - how to upgrade to CyanogenMod-5 [stable 5.0.6 version of 04/15/2010] - detailled instructions
  6. at then end of step 11, on screen "android system recovery", use the track ball to choose power off item (the last one), then press the track ball to select the option, and press the track ball a second time on the question to confirm the power off
  7. let's proceed with step 3 : update your radio. The following is based on instructions from How to Root Your Nexus One
  8. Boot the phone while holding down the VOLUMEDOWN-key. The screens turns white with 3 green Androids skating at the bottom of the screen. FASTBOOT is hilighted in blue. Press power button to enter fastboot mode.
  9. on your computer, open a command line shell. Navigate to the directory where the radio-4.06.00.12_7.img radio image has been stored. Then enter the command ./fastboot flash radio radio-4.06.00.12_7.img. The fastboot command starts by sending the radio image and display a status sending 'radio' (26112 KB)... OKAY, then writes the radio image ans display a status writing 'radio'... OKAY.
  10. back on your Nexus, select POWER DOWN item on the FASTBOOT USB screen using VOL DOWN key, then press power button.
  11. time to proceed with step 4 : WIPE. Reboot in RECOVERY mode by pressing power button while holding down the VOLUMEDOWN-key. The screens turns white with 3 green Androids skating at the bottom of the screen. FASTBOOT is hilighted in blue. Press VOL DOWN key to hilight RECOVERY, then press power button. The Nexus boot screen (the 4 colors cross) appears followed by the Cyan "Android system recovery" screen
  12. Use the trackball to hilight the "Wipe" item then press the trackball. On the "Choose wipe item" screen, wipe everything as stated on step 6 Wipe of How to Root Your Nexus One.
    • select the first open and press the scrollball
    • press the scrollball again to confirm
    • then repeat for all items on the Wipe page
    In the future, wiping this thoroughly won’t likely be needed, but this time, you’ll want to wipe really well.
    Press the Down-volume button to return to the prior menu.
  13. it's time to proceed with step 5 : install the ROM. Back to the "Android system recovery" cyan screen, use the trackball to select item "Flash zip from sdcard", then press the trackball.
  14. the screen "Choose update ZIP file" shows the 2 zip files update-cm-5.0.8-N1-signed.zip and gapps-passion-EPF30-signed.zip that were written on the SDcard at the beginning of the process. Select the "update-cm-5.0.8-N1-signed.zip" then press the trackball to install it, pressing the trackball another time to confirm.
  15. continue with step 5 again : optionally install the Google Addon.perform the same steps another time to install the gapps-passion-EPF30-signed.zip that contains Google's apps.
  16. Back to the "Android system recovery" cyan screen, use the trackball to select item "Power off", then press the trackball to confirm.
  17. That's all Folks !! Reboot your Nexus and enjoy ;-)


Latest version: 5.0.8-N1 - 06/19/2010
Download: http://cyanogen-updater.googlecode.com/files/update-cm-5.0.8-N1-signed.zip
Download: http://android.chemlab.org/android/nexus/update-cm-5.0.8-N1-signed.zip
MD5Sum: 70aa95ee1b22101901cd75e9bc6e92ba

Google Addon: EPF30+
Mirror: http://www.mediafire.com/download.php?mjzwozjojkh

Radio Firmware: FRF50 (FROYO RADIO, REQUIRED!)
Download: http://android.chemlab.org/android/nexus/radio-4.06.00.12_7.img
MD5Sum: 3321c196d8ec1cf748fd20c3c4068520

Wednesday, May 26, 2010

Nexus One - upgrade to Cyanogenmod For Nexus One V5.0.7.1 (05/25/2010) - detailed instructions

Cyanogen release a new V5.0.7.1 firmware a few hours after the V5.0.7 release. The firmware can be downloaded from Cyanogenmod For Nexus One V5.0.7.1 (05/25/2010) ([ROM] CyanogenMod-5: Kang Central Station (STABLE) [05/25/2010 / 5.0.7.1] on xda-developers).

Detailled instructions to install the v5.0.7.1 firmware are the very same that can be found in Nexus One - how to upgrade to CyanogenMod-5 [stable 5.0.6 version of 04/15/2010] - detailled instructions

extract of the CHANGELOG centered on V5.0.7 :

CHANGELOG

---- 5.0.7.1-N1
* N1: Fix blurry images in Gallery3D
* Common: Color picker and reset-to-defaults option for new UI customizations (Wysie)

---- 5.0.7
* Common: Resync with Google as of 05/20/2010
* Common: New ARM optimizations in Bionic from Jim Huang @ 0xlab
* Common: Superuser 2.1 from ChainsDD
* Common: DeskClock style tweaks from Nathan Zachary
* Common: Email signature support from Jarrett Vance
* Common: Pin-lock and alternate lockscreen framework from _avatar
* Common: Updated Japanese locales from Takuo Kitame
* Common: Added Compcache and rzscontrol to the build
* Common: APN list updated by Paul Weiss, blunden, and PsychoI3oy.
* Common: Downloader allows any file to download - thanks Eddie Ringle
* Common: Kernel updated to 2.6.33.4
* Common: Fix bug with where wrong organization is shown in-call (Boyd Bischke)
* Common: Several kernel patches from Christopher Lais (Zinx) to improve stability and support MT3G Fender/1.2
* Common: Low memory killer was pimped out by San Mehat @ Google. Big interactivity boost especially on D/S
* Common: Updated Phone patches from Cytown (v29)
* Common: Dim the deskclock screensaver colors
* Common: Fixed race conditions and notification bugs in MMS
* Common: Added quick uninstall "Delete Zone" to Launcher and Launcher2 (Ander Webbs)
* Common: Allow widgets in the Launcher default workspace (ported from Launcher2 by Lox)
* Common: Fix race conditions and bugs in MMS app
* Common: Compact drawer can be toggled for Launcher as well as Launcher2 now
* Common: Added squisher script for release builds
* Common: Another lowmemorykiller tweak from Zinx to take cache into account
* Common: Turned off battery percentage display by default
* Common: Added "omni-tether" from Wertarbyte for BT tether
* Common: System built using Zinx's resource-sorter patch for aapt- may provide perf boost
* Common: Patch from Zinx to have background processes holding wakelocks set to a higher OOM kill adjustment (push notify, mms are good examples)
* Common: Number of recent apps is configurable - Bcrook, Pershoot & Wysie
* Common: Ability to disable icons and paths on the lockscreen - Wysie
* Common: Add pand and hidd to the build
* Common: Fix OpenVPN- manifest was using the wrong mtpd
* Common: DeskClock: Add alarm timeout setting (Michael Webster)
* Common: OpenVPN: Select between TAP and TUN interface (Takuo Kitame)
* Common: Various UI element colors are selectable via Spare Parts (Wysie)
* Common: NEON-optimized libjpeg (CodeAurora/Qualcomm)
* Droid: Fix for 50% signal loss reporting bug on Motorola Droid (Boyd Bischke)
* Droid: Disable V8. It was breaking Epocrates and other applications
* Droid: Tweak the haptic feedback to better match stock (Adrynalyne)
* Droid: Enable Dialpad for OTA Activation (nuclear305)
* D/S: Full support for Dream and Sapphire devices (eclair-ds branch)
* D/S: Updated wallpapers and Launcher for MDPI
* D/S: Build various OMX components from source (via CodeAurora)
* D/S: libcamera originally reverse engineered by NCommander
* D/S: Various driver issues causing battery drain were fixed by Zinx
* D/S: disable menu in lockscreen, fix incall mute, speed up the boot
* D/S: raise min cpufreq to 245MHz (Wes Garner)
* D/S: add Prash's bootanimation
* D/S: Using HTC "Turbo Mode" clock settings
* D/S: Fix issues with notification LED on D/S
* D/S: Don't use msmsdcc_sdioirq, this leaves IRQs on all the time which can cause battery drain
* D/S: Fix RIL settings to improve performance
* D/S: Kill logspam from OMX
* D/S: Fixed 3MP camera preview and memory leaks
* D/S: Ship old Gallery app as Gallery3D has too many issues right now
* D/S: Fixed slidelock layout
* D/S: Fixed issue with picking contact for map directions
* D/S: Change oom-killer behavior to be more "swap friendly" if you want to go against everyones advice and use swap anyway
* D/S: Launcher tray images fixed by Prash
* D/S: CPU clock tweaks from Pershoot
* N1: CPU clock and memory tweaks from Pershoot (http://github.com/pershoot)
* N1: Trackball notification color blending option (from Ehud Shabtai http://github.com/eshabtai)