[ROM] CM7 for the Kindle Fire
Howdy everybody! I just got CM7 to boot for the first time on the Kindle Fire. As of right now, I believe the touch screen is off 90 degrees. I know there's a fix in the source code, I just forgot where it is but I'll look. It might actually be an edit to the build.prop. Pictures below:
I'd really love to stay and chat, but I'm actually really late for work
More on this when I get off from work and before I gotta leave for school
This ROM is obsolete; it was more of a proof of concept than an actual everyday ROM. It would suggest staying stock until ICS is ready and stable.
The ROM's update.zip
The KF's clockwork recovery
to install files located under /sdcard/update.zip
The KF's stock recovery
update.zip e0e8f8bb08318ef15c8afc042c2e9766 update.zip
updaterecovery.img 38eb5308439a6f1e256a4914ab06d508 updaterecovery.img
stockrecovery.img c4f028310bd112649c94be6a4171f652 stockrecovery.img
Make sure your battery is fully charged, rooted, you know your way around adb, and that your kindle fire actually connects to adb and works successfully before installing CM7. Installing CM7 will wipe your system, data, and cache, and I'm not responsible for any malfunctions :/ I've done this for versions 6.0 and 6.1, but I have not tested under 6.2
Copy the CM7 zip to the root of your sdcard, so it's /sdcard/update.zip, and copy the updaterecovery.img file to your sdcard so it's /sdcard/updaterecovery.img. For Clockwork, you will need two files to be present under /cache/recovery/ so copy these two files to your sdcard log last_log
. You'll need to copy them to the root of the sdcard as well. Before proceeding, I highly recommend you go into adb and verify the md5sums of the two files you just put there. If you aren't familiar with this, you need to unmount your kindle from the PC, type:
md5sum update.zip and make sure the numbers generated after a few seconds match the numbers posted above
md5sum updaterecovery.img and again, make sure the numbers generated after a few seconds match the numbers posted above
If these numbers don't match, I wouldn't proceed as your file might be corrupt, and I would try again
Now we will need to copy these two log files to your cache partition under /cache/recovery so type
cp /sdcard/log /cache/recovery/
cp /sdcard/last_log /cache/recovery/
If your files are verified to be okay via the md5sums before, we can flash clockwork now, by typing
dd if=/sdcard/updaterecovery.img of=/dev/block/platform/mmci-omap-hs.1/by-name/recovery
Now, we can reboot recovery by typing "idme bootmode 0x5001"
If it says the bootmode has written, you can type reboot and it'll reboot
I install all of my zips without removing the usb plug from the computer or the kindle and I have never failed once, I don't think I've ever tried it without doing so, but if you don't wanna mess with success, don't remove the usb cord. I'm not saying anything bad will happen because I've never done it, but I'm just saying I'm batting 1.000 without removing the usb cord
Now that you're in clockwork, look below the menu to see if there are any error messages written in white. If you see one about something being read-only, that's fine. If it complains about log and last_log, you might've missed a step above. If you see an error that I haven't mentioned, and you would like to reflash the stock recovery and reboot like none of this ever happened, skip to the bottom.
About Clockwork: since we can't navigate to items in Clockwork, we have to bring the items to us. Basically what I did was I shifted the entries of Clockwork so the "Install update.zip from sdcard" was listed first, not the Reboot system now option. That way, we can just press OK (The power button) and it'll install the CM zip. I also changed it so you don't have to scroll all the way down to the "Yes" option to confirm install as I pushed that to the top also so we can just press OK. In the update.zip I included the wiping of system, data, and cache because we can't navigate to mounts and storage to wipe those things in Clockwork, so we have to do it automagically.
In the clockwork that I made for you, all you have to do is press the power button a bunch of times. There will be a point there you have to scroll down to "Yes", but you can't, that's fine, just press OK, even though it says "No" it will mimic you pressing Yes.
After you press the power button 3 or 4 times, it will being the installation. Give it a minute or so, it will install
After installation, we will need to reflash the stock recovery to your kindle
. Type adb shell
exit (this will bring you back to the non-shell command line)
then adb push /sbin/
So for me, (I use linux) I use adb push /home/jonathan/kf/stockrecovery.img /sbin/ **there's a space after .img and /sbin/**
Then type "dd if=/sbin/stockrecovery.img of=/dev/block/platform/mmci-omap-hs.1/by-name/recovery" it will say something about 16 megs written or something. Once that happens, type adb reboot or reboot and your kindle will reboot. Actually it will reboot twice. Give the initial boot a few minutes, and the CM7 boot logo will appear