[Fire General] thesavo:
Purpose

This guide is for anyone that does not want to trust downloaded APKs from someone else's guide. This guide is intended to walk you through the process of exporting the necessary android package files (APK) from a device you already trust with your Google credentials.

Requirements

- Android Development bridge. (ADB)

- An android device with working Google apps

- MyAppSharer and OI File Manager installed on Android Device

- Kindle Fire ADB drivers installed on PC

- APKs

- com.google.android.gms.apk

- com.google.android.gm.apk

- GoogleLoginService.apk

- GoogleServicesFramework.apk

- com.android.vending.apk

- Optional

- org.openintents.filemanager.apk

- com.lastpass.lpandroid

Notes

I tried this with APKs from a Galaxy Note 4 running Android 5.0.1. This failed to install GoogleServicesFramework with the error of `INSTALL_FAILED_DEXOPT`. I feel that this Fire OS is based on an older android version, that will require older APKs.

The devices used for examples in this guide:

- VZ Droid Razr HD running Android 4.4.2

- Kindle Fire 7 (2015 Edition) Running Fire OS 5.1.1

Assumptions

- Android SDK tools is installed on a Windows 7 PC

- The source of the Google APK's is guide is called the Android Device

- Your target Kindle Fire is not rooted and freshly wiped.

- That you know what APKs are and what they are used for.

- That your computer is already setup to talk to your Android device for file transfer.

- the ADB command is accessible from the command line. ie. `\Program Files (x86)\Android\android-sdk\platform-tools\` in your PATH.

- You will allow the Play store to update any components it deems necessary.

- ADB drivers for Kindle-Fire are working on your PC and USB debugging is already turned on.

- Fire OS 5.1.1

Directions

1. Create a directory on the Android Device in Download called PlayApps.

2. open MyAppSharer on the Android Device and type near the magnifying glass. This should filter the list.

note: "Ensure that the switch is on APK and not Link.

3. Select the Google Play Store and Google Play Services apps. Then Tap the < share button.

4. Tap the Export to SD card button.

5. Scroll to Find your Download directory

6. Tap on your PlayApps Directory.

7. Then tap the OK button.

8. Repeat the above five steps for Gmail.

9. Open OI File manager on the Android device and tap the House icon.

10. Tap the system directory. Note: that some devices may have a .system (dot system) directory. This is not the directory you are looking for.

11. Tap the Priv-App Directory. Note: Some devices put all the system apps in their own directories here, others do not.

12. Scroll and look for GoogleServicesFramework.apk or GoogleServicesFramework directory.

13. Long press on GoogleLoginService.apk.

14. Scroll down and tap on GoogleServicesFramework.apk. Note: this should select both of them.

15. Tap the Hamburger menu, then tap copy. Note: that the bottom of the screen will read 1 item to copy.

16. Tap the House button again.

17. Scroll, find and tap on the sdcard directory.

18. Scroll, find and tap on the Downloads directory.

19. Scroll, find and tap on the PlayApps directory.

20. Tap on the Clipboard icon. This will paste the app here.

21. You should now have five apk files in your PlayApps directory.

22. Using a USB cable, connect your android device to your PC.

23. Copy the PlayApps directory to your desktop.

24. Unplug the android device and plug in your kindle file.

25. Copy the PlayApps directory to the kindle

26. Launch a command prompt. use `CD` to change directory to the PlayApps directory on your PC.

27. Type the command adb devices. Note: If you receive a pop-up on the kindle called Allow USB debugging?, check the box for Allows allow, and tap OK.

28. Type the following commands.

adb install com.google.android.gms.apk

adb install GoogleLoginService.apk

adb install GoogleServicesFramework.apk

adb install com.android.vending.apk

adb install com.google.android.gm.apk

adb reboot

31. Login with your google credentials.

note: I also copy the APK for lastpass.

Resources

Kindle Fire Drivers - This guide is slightly outdated.

You only need to Select the Kindle USB driver from the extra Category. you can ignore the other items that it shows you to select.

https://developer.amazon.com/public...ing-up-the-ADB-Driver-for-Kindle-Fire-Devices

http://xdaforums.com/showthread.php?t=1349902

http://xdaforums.com/amazon-fire/general/installing-google-framework-playstore-t3216122?nocache=1

USB Debugging

- SEttings > Device Options > Tap Serial Number 10 Times.

- Tap Developer options.

- Tap Enable ADB.

- Restart Kindle

- Force windows device manager to accept new driver.