[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:

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 loglast_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:

adb shell
cd sdcard
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

If your files are verified to be okay via the md5sums before, we can flash clockwork now, by typing

adb shell
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
mount sdcard
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

I wasn't able to test much out because the screen and the touch sensor aren't in sync. Basically the screen is facing one way and the sensors think the screen is oriented 90 degrees in another direction. There's a quick fix but I had to leave for work

I managed to open the wifi screen but couldn't click my ssid let alone type the password with the orientation/sensor hiccup

The only thing that tempers my excitement about this or CM9 is wondering what happens to Amazon's apps once we install a CM build of Android.

Will the Kindle still see Amazon and Visa Versa as a registered Kindle owner

Will the Amazon video app still be installable and usable (albeit we have to unroot?)

Re: Above...can CM be unrooted after installed?

Basically, I just want to know what I'm LOSING by going to CM on the Kindle Fire.

I don't have all of the answers for sure but I think at this point no one really knows.

1. The device would no longer be registered as a Kindle if it is just stock CM. If you add the regular Kindle for Android app you wou still have access to kindle books but not other content.

2. The Amazon video app should work because it is reported as working on other unrooted devices. You should be able to unroot CM7(9) the same way that we currently unroot the KF. I suspect that it will not be long before we see a modified Kindle Video app that runs on rooted devices as I have noticed an increase in developer activity and interest in the device.

3. Yes

I too am concerned about these things as I have become very accustomed to instant video and all of the other features of the KF. I see many ways of having both. I suspect that once CM is fully operational we will have a zip that we can flash in recovery to add all of the Amazon apps the same way we do with gapps.

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer? | Terms of Service