Install CM for droid2
Note: DISCLAIMER
Modifying or replacing your device's software may void your device's warranty, lead to data loss, hair loss, financial loss, privacy loss, security breaches, or other damage, and therefore must be done entirely at your own risk. No one affiliated with the CyanogenMod project is responsible for your actions. Good luck.
Contents |
Downgrade to the 2.3.20 Firmware
If the Motorola Droid 2 is running firmware newer (higher) than 2.3.20 (Settings » About Phone) you need to downgrade the device first in order to root. If the Motorola Droid 2 is already running 2.3.20 or lower you can skip to the Gaining Root Access section.
Note: If you recently (Spring 2012) accepted the Verizon OTA update to Android version 2.3.4 (firmware version 4.5.621 or 4.5.629) DO NOT DOWNGRADE AT ALL. You will end up bricking your phone due to the new bootloader. It can be unbricked via methods described in the Droid 2 area on http://forums.xda-developers.com/. There is currently (as of May 2012) no way to root a Droid 2 with this system version.
Newer Note: A new (July 2012) method for rooting the Droid 2 with the 2.3.4 update. Several people on this page have confirmed that it worked for them. http://rootzwiki.com/topic/29930-new-root-method-for-stock-234-621622-found-droid2-r2d2/
Downgrading the Firmware with RSD Lite (Windows)
- Download the Motorola Drivers, RSD Lite & the 2.3.20 firmware:
- Unzip the 2.3.20 firmware and place it somewhere easy to access.
- Install RSD Lite.
- Once RSD Lite is installed, install the Motorola device drivers.
- Power off the Motorola Droid 2.
- Boot into bootloader mode by holding down the Up Arrow on the keyboard & Power button.
- Connect the Motorola Droid 2 to the computer via USB.
- Open RSD Lite.
- Click on the "..." button next to the filename box and select the 2.3.20 firmware .sbf file.
- Once it is selected, hit Start and wait for it to finish flashing the device.
- It should take about 20 minutes to flash the 2.3.20 firmware. Once it's finished, the Motorola Droid 2 will reboot itself and it will go into a bootloader. Pull the battery and power back while holding the X button. Once you see an Android with the triangle & exclamation point, press the Search button on the keyboard.
- The Motorola Droid 2 is now in the factory recovery image, use the arrow keys on the keyboard to move around and the Camera button or OK on the keyboard to select.
- Select the option to Wipe data/factory reset.
- Once the wipe is finished, select Reboot system now.
- The Motorola Droid 2 is now downgraded to the needed firmware.
Downgrading the Firmware with sbf_flash (Linux & OS X)
- Download sbf_flash & the 2.3.20 firmware:
- Unzip the sbf_flash zipfile.
- Unzip the 2.3.20 firmware and place it somewhere easy to access.
- Power off the Motorola Droid 2.
- Boot into bootloader mode by holding down the Up Arrow on the keyboard & the Power button.
- Connect the Motorola Droid 2 to the computer via USB.
- On the computer, open terminal and run the following commands:
chmod +x sbf_flash./sbf_flash VRZ_A955_2.3.20_1FF_01.sbf
- It should take about 20 minutes to flash the 2.3.20 firmware. Once it's finished, the Motorola Droid 2 will reboot itself and it will go into a bootloader. Pull the battery and power back on while holding the X keyboard key. Once you see an Android with the triangle & exclamation point, press the Search keyboard key.
- The Motorola Droid 2 is now in the factory recovery image, use the arrow keys on the keyboard to move around and the Camera button or OK on the keyboard to select.
- Select the option to Wipe data/factory reset.
- Once the wipe is finished, select Reboot system now.
- The Motorola Droid 2 is now downgraded to the needed firmware.
Gaining Root Access with rageagainstthecage
- You will need ADB on the computer to root the Droid 2.
- Download the following files:
- Unzip rageinthecage-arm5 & the Superuser package to the same folder as adb (the /platform-tools folder within the Android SDK folder).
- Connect the Droid 2 to the computer via USB.
- Allow "USB debug" on the device: Settings > Applications > Development and check USB debugging box.
- On the computer, open terminal and run the following commands:
adb push rageagainstthecage-arm5.bin /data/local/tmp/adb shellchmod 755 /data/local/tmp/rageagainstthecage-arm5.bin/data/local/tmp/rageagainstthecage-arm5.bin
- Once the exploit finishes, in terminal, run the following commands:
exitadb kill-serveradb start-serveradb shell- NOTE: You should see a "#". If you see a "$", then the exploit didn't work, please repeat steps 4 & 5.
mount -o rw,remount /dev/block/mmcblk1p21 /systemexitadb push su /system/xbin/adb shell chmod 4755 /system/xbin/suadb push Superuser.apk /system/app/
- The Droid 2 is now rooted, please continue to the next section.
Install Bootstrap
- Download the Droid 2 Recovery Bootstrap:
- Droid 2 Recovery Bootstrap 1.0.0.5: Download
- md5:
c67a11b41f52b617d3656ba80016f003
- md5:
- Droid 2 Recovery Bootstrap 1.0.0.5: Download
- Copy the Droid 2 Recovery Bootstrap to the same folder as adb (the /platform-tools folder within the Android SDK folder).
- Connect the Motorola Droid 2 to the computer via USB.
- On the computer, open terminal and run the following command:
adb push bootstrap-1.0.0.5-droid2.apk /system/app/
- The Droid 2 Recovery Bootstrap with the ClockworkMod Recovery should now be installed on the Motorola Droid 2.
Installing CyanogenMod from recovery
Note:
Some devices do not have removable SD cards. Regardless, there should still be a partition on the device named "/sdcard" that can be used for flashing purposes, even though the contents of /sdcard may actually be in internal storage.
- Download the prebuilt release of CyanogenMod you wish to install. (Or if you've built CM yourself, look in the
$OUTdirectory for the.zip.)- Optional: Download any supplemental 3rd-party applications packages for the device you wish to use.
- Place the CyanogenMod rom
.zipfile on the root of the SD card:- Transfer your file(s):
adb push YOURROMZIP.zip /sdcard/- If you boot directly to recovery and have an internal sdcard, you may need to run
adb shell mount /dataor mount data through the recovery menu before transferring.
- If you boot directly to recovery and have an internal sdcard, you may need to run
- See adb documentation for additional help with this step.
- Optional: Place any supplemental packages (eg Google Apps or kernel)
.zipfile(s) on the root of the SD card.
- Transfer your file(s):
- Boot to recovery mode on the device by holding X Key & Power.
- Once the device boots into the ClockworkMod Recovery, use the physical volume buttons to move up and down. On most devices, the power button is used to confirm your selection, although for some devices the power button is used as a "back" button to go up one level, in which case the home button is used to confirm the selection.
- Optional/Recommended: Select backup and restore to create a backup of the current installation on the device.
- Select the option to wipe data/factory reset.
- Select install zip from sdcard.
- Select choose zip from sdcard.
- Select the CyanogenMod file you placed on the sdcard. You will then need to then confirm that you do wish to flash this file.
- Optional: Install any additional packages you wish using the same method.
- Once the installation has finished, return back to the main menu, and select the reboot system now option. The device should now boot into CyanogenMod.