[Kindle Fire Android Development] bschrib:
Hey all, I threw together some aggregated instructions for my boss earlier today. Figured I'd share these with the community. It's nothing special, and it's oriented for Windows, the only real benefit is that it's all aggregated together from setting up the SDK/JDK to rooting and setting up the market. All my recommendations use free software.

Setting up the environment​

Requirements:

Java JDK (Choose your OS, probably Windows 32 bit/x86)

Android SDK (Download the installer)

1.) Install Java JDK first, then install the Android SDK. The Android SDK should download some files. When installing change the installation directory to “C:\Android”. After a time it will launch the SDK Manager – Uncheck everything except Platform Tools and Google Drivers (toward the bottom). Install these things.

2.) Open the folder located at c:\Android\android-sdk\extras\google\usb_driver, then open the android_winusb.inf file in notepad. We're going to add the following lines to the bottom of [Google.NTx86] and [Google.NTamd64]:

;
;Kindle Fire
%SingleAdbInterface% = USB_Install, USB\VID_1949&PID_0006
%CompositeAdbInterface% = USB_Install, USB\VID_1949&PID_0006&MI_01

Once you've made the changes, save and close the file.

3.) Open a command prompt (Start → Run (or just type) → “cmd”) and go to c:\android\tools\ (type cd c:\android\tools\) and type the following command:

android update adb

4.) With the same command prompt still open type the following command:

echo 0x1949 >> “%USERPROFILE%\.android\adb_usb.ini”

5.) With the command prompt still open, go to c:\android\platform-tools (cd c:\android\platform-tools) and run one last command to make sure that you've got everything setup:

adb devices

If you did not see anything, type the following two commands in sequence:

adb kill-server

&

adb devices

If everything was setup correctly you should see something in the List of devices attached.

Rooting the Kindle​

Requirements:

SuperOneClick (scroll to the bottom of the first post, download the most recent version)

1.) Go to the location that you downloaded SuperOneClick and extract it. Once extracted go into the folder and run SuperOneClick.exe (if you receive any notices from your anti virus during this process you'll need to terminate your anti-virus program).

2.) Stay on the Universal tab; click “Root”. Be patient and let it work its magic.

3.) Once you see the message (Rush did it ! …) you'll know that it's going to work. When prompted to “Install Busybox?” select Yes. Then select Yes to “Run a test?”. You can choose to donate if you want to.

4.) You should have seen a brief message at the bottom of the screen that unknown has been granted superuser permissions. If you didn't you should restart your Kindle but you likely have root.

Adding Android Market

​

Requirements:

File Expert

Go Launcher

GoogleServicesFramework.apk

Vending.apk

-Download both files from here (go to bottom of page, download most recent gapps file)

1.) Install Go Launcher by first copying the GO_Launcher_EX_VX.XX.apk to c:\android\platform-tools\. Now open a command prompt and go to c:\android\platform-tools. From there type:

adb install GO_Launcher_EX_VX.XX.apk

2.) Install File Expert by first copying the FileExpertSigned_X.X.X_GKWeb_EN.apk to c:\android\platform-tools\. Now open a command prompt and go to c:\android\platform-tools. From there type:

adb install FileExpertSigned_X.X.X_GKWeb_EN.apk

3.) Extract the contents of the gapps-gb-yyyymmdd.zip file you downloaded. Once extracted locate the two files, Vending.apk and GoogleServicesFramework.apk, in /system/app/, then copy these files to c:\android\platform-tools.

4.) On your device (either click disconnect or unplug it temporarily) go to Apps and run the File Expert application we installed earlier. Click the Menu button at the bottom of the screen → More → Settings → File Explorer Settings and check “Root Explorer”, clicking “Allow” to the access dialogue. After this, back out to the Home screen of File Expert. From here click My Files → Phone Internal Storage → sdcard, then tap Menu → More → Mount → Mount as Read Write. Now do this for one more location, so tap the back arrow, then go to system → app and tap menu → More → Mount → Mount as Read Write.

5.) Now you're ready to send the files these to your device. You do this by opening a command prompt and navigating to c:\android\platform-tools again. From here type:

adb push GoogleServicesFramework.apk /sdcard/

&

adb push Vending.apk /system/app

6.) We need to change the permissions for Vending.apk – To do this just type:

adb shell chmod 644 /system/app/Vending.apk

7.) On your device, open File Expert (if you closed it) and go to My Files → Phone Internal Storage → sdcard and tap GoogleServicesFramework.apk (if you don't see it, back up a directory and come back). Tap Install. Once it finishes, click “Done”. Now tap back, then system → app. From here tap Vending.apk and Install it. Choose OK to Replace Application. Once finished click “Done”.

8.) Reboot your Kindle Fire.

9.) Go to Apps and launch Go Launcher. From inside of Go Launcher you'll be able to visit and use the Android Market. Now when you press the Home Key you'll be prompted to choose either the Amazon launcher or the Go Launcher. They both have their uses. :)

My recommendations for customizing Go Launcher:

Screen Grid Size: 6 x 6

Dock Grid Size: 5 x 5 (max by application)