No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead of loosethisskin:gingerbread.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

CM7 for Kindle Fire


Discussion and build thread
Takenover83's 'Custom TWRP backup' (for TWRP only, this should be obvious
Whistlestop's Discussion and build thread (deprecated)
Skimp Killah's binary build (deprecated) Domain is Parked



setup linux/OS X please note: it must be sun-java-6, not openjdk In addition to the dependencies listed by google you should also install pngcrush (technically speaking the build will complete and work just fine without this but it's ideal to have it anyway, wtf google!)

sudo apt-get install pngcrush

Create a Working directory and download Google's repo command

mkdir cm7
cd cm7/
curl > ~/bin/repo
chmod a+x ~/bin/repo

Sync with modified CyanogenMod tree.

repo init -u -b gingerbread
repo sync -j16

If you would like to build for TWRP (remove the reboot recovery option)

repo init -u -b gingerbread-twrp
repo sync -j16


source build/
brunch blaze -j$(grep -c processor /proc/cpuinfo)

This should produce a flashable out/target/product/blaze/ file. If the signing process fails try to run it again (the following command is extrapolated from the CM9 walkthrough and I have not tested it).

./device/amazon/blaze/releasetools/ota_from_target_files -v \
           -p out/host/linux-x86 \
           -k build/target/product/security/testkey \
           --backup=true \
           --override_device=auto \
           out/target/product/blaze/obj/PACKAGING/target_files_intermediates/cyanogen_blaze_target_files-eng.$ out/target/product/blaze/

If you have compiled from the primary (gingerbread) branch rather than the TWRP branch you will also have a recovery.img found in out/target/product/blaze/ this can be flashed in fastboot using the following commands (please note that if you have compiled from the TWRP branch there will still be a recovery.img present but it is not useable, please do NOT flash this).

To flash CWM Recovery (recommending the use of sudo for fastboot as many do not have the correct udev rules)

First copy the recovery.img to the folder location of your fastboot binary than input the following. Reboot your kindle into fastboot mode (honestly the easiest thing to do is have firefirefire installed and simply run your fastboot commands and reboot, you will have to wait for the device for a moment but when firefirefire loads fastboot the commands should issue fine).

sudo ./fastboot flash recovery recovery.img
sudo ./fastboot -i 0x1949 idme oem bootmode 4000
sudo ./fastboot reboot

###Notes for compiling on Mac OS X (by davidnintendo)

  • Xcode 4 may not work. Use Xcode 3 instead. You may need to modify the installer to get it working on Lion, though. Use Google to get instructions.
  • MacPorts didn't work well for me either. Homebrew worked better.
  • If your drive is on a non case-sensitive format, you will need to use a disk image to build. Make sure to have enough space on it to compile because everything including intermediate files will be created in the disk image. 40 GB will be enough. Also, if you don't want those 40 GB occupied from the first second, create the image in a dynamic format.

Extra information

  • If you are coming from stock you will need to move all your books from /sdcard/Books/ to sdcard/kindle/ (please note some of these may need to be redownloaded).
  • There is some confusion regarding the entries "Phone Idle" and "Cell Standby" in the battery/usage stats. This is referring to the device idle and standby, it could just as easily say "Tablet Idle" and "Device Standby" but it wasn't considered in the original creation (this can be resolved w/ an overlay most likely but I have not researched it). Your device battery is not wasting away to some mysterious phone/cell service so sleep easy.
  • By default the lockscreen is disabled; to enable it simply go to 'settings' > 'cyanogenmod settings' > 'tablet tweaks' > uncheck disable lockscreen.
  • You will likely want to install an app to supplement a back button; for this there are button savior and another (allows gestures) which I can't remember currently (someone post the name and I will update this lol).
  • I would also recommend VolumeControl for supplemented sound controls.
  • If for some reason you flash the CWM build in TWRP do NOT select reboot recovery; if you do the device will go into a recovery loop. If you find yourself in such a situation from recovery connect to your computer and from within platform_tools (or wherever you have adb) input 'adb shell idme bootmore 4000'

Credits and Thanks

  • JackpotClavin for origin concept build.
  • Whistlestop for the initial repos.
  • Sitic/Nind for his work on CM9 (some of which has helped me figure out how to change stuff for us).
  • Pkt_Lnt providing fixes.
  • SkimpKilla for compiling this into something people can flash (even if it is a bit modified ;) ).
  • Takenover83; a custom backup file is the weirdest concept ever but people seem to like it so have at it.
  • Hashcode for awesome work on CM9.
  • DooMLoRD (Team UtterChaos) for the CWM Kindle recovery beta and ramdisk reboot scripts.
  • Napstar (Team UtterChaos) for his awesome, yet surprisingly simple touch screen recovery source.
  • Drew Walton (Team Hydro); has provided me assistance time and time again.
  • The CyanogenMod and AOSP teams.