How to Install CyanogenMod on the Amazon Kindle Fire (2nd Gen) ("otter2")

De CyanogenMod
Aller à : Navigation, rechercher

This guide will walk you through the process of taking the Kindle Fire (2nd Gen) from stock to having a custom recovery image and the ability to flash the latest version of CyanogenMod.

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.


Important Notes

The 2nd-generation Kindle Fire has a locked bootloader. You must install a 2nd-bootloader for custom recovery support.

One-Time Install of Amazon 2nd-Bootloader Exploit

THIS IS A ONE TIME INSTALLATION TO ENABLE CUSTOM RECOVERY / ROMS


These instructions are for the Kindle Fire 2nd Ed.(otter2) / Kindle Fire HD 7" (2012)(tate) and Kindle Fire HD 8.9" (jem) devices only!


Step 1: Test your fastboot driver installation by doing the following:
(For Kindle Fire 2nd Ed. and Kindle Fire HD 7" (2012) a fastboot cable is needed for this procedure. This cable is a special USB cable with a powered pin that normal USB cables do not have. For the Kindle Fire HD 8.9" it is not required.)

  1. Power down your device if necessary
  2. Type the following command into a cmd/terminal window on your PC:
    fastboot -i 0x1949 getvar product
  3. Should return with: < waiting for device >
  4. If you need to, connect your fastboot cable to the Kindle at this time
  5. Reboot the device
  6. It *SHOULD* show a Fastboot screen and your terminal window should show something like:
    product: Tate-XXX-XX
    (example for Kindle Fire HD 7" 2012, can also start with "Jem" or "Otter2")

If you have any problems with these initial steps try downloading Amazon's USB drivers for the Kindles and then repeat the above till you see the desired response.


Step 2: Download the files you will need to install 2nd-bootloader & TWRP recovery:

  1. An older bootloader with an unlock exploit (this is specific to your device):
    otter2-u-boot-prod-10.2.4.bin
    md5sum 5b03a7b428325de8d360ec201a745498
    VERY IMPORTANT THAT YOU DOUBLE CHECK THE MD5SUM ON THIS FILE. IF ITS CORRUPTED AND YOU APPLY WITH FASTBOOT, YOUR DEVICE IS A BRICK.
  2. TWRP Recovery:
    otter2-twrp-2.6.3.1-recovery.img
    md5sum 033a20f09243db9792f4bf51965f476b


Step 3: Use fastboot to apply exploit files and reboot into recovery With the device powered off: connect your FASTBOOT USB cable(if needed) to the Kindle which should cause it to power on and enter "FASTBOOT" mode. Issue the following commands into your command/terminal window on your PC 1 at a time. (if you don't need a fastboot cable then power on the device after entering the 1st command below)

  1. fastboot -i 0x1949 flash bootloader otter2-u-boot-prod-10.2.4.bin
  2. fastboot -i 0x1949 flash recovery otter2-twrp-2.6.3.1-recovery.img
  3. fastboot -i 0x1949 oem recovery

If all has gone well, then your device should now be in recovery. (No need to do step #3 below in the installation process)





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.

  1. Download the prebuilt release of CyanogenMod you wish to install. (Or if you've built CM yourself, look in the $OUT directory for the .zip.)
    Optional: Download any supplemental 3rd-party applications packages for the device you wish to use.
  2. Place the CyanogenMod rom .zip file on the root of the SD card using adb:
    • 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 /sdcard or mount data through the recovery menu before transferring.
      • If you see "error: device not found" there is likely a driver issue on the PC.
      • If you see "error: insufficient permissions for device", try "adb kill-server" and then run "adb devices" to see if the device is attached.
      • On some devices, the zip file can be copied to the device using standard USB Mass Storage or MTP support. Boot the device normally and transfer the file to it.
    Optional: Place any supplemental packages (e.g. Google Apps[1] or kernel) .zip file(s) on the root of the SD card.
  3. Boot to recovery mode on the device by holding During bootloader splash screen (blue Kindle logo), press Power repeatedly to open boot menu and move selection from Normal Boot to Recovery..
  4. Once the device boots into the Team Win Recovery Project, use your finger to select your choices by tapping on the appropriately labeled button.
    Optional/Recommended: Select the Backup button to create a backup of the current installation on the device. If this option is missing, it's likely because the stock ROM has overwritten your custom recovery on boot.
  5. Select the Wipe and the Factory Reset buttons.
  6. Select the Install button.
  7. Navigate to the location of the installation zip.
  8. 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.
  9. Once the installation has finished, return back to the main menu, and select the Reboot System option. The device should now boot into CyanogenMod.

Helpful Tip

See something wrong on this page? Report it here.