Root kindle fire 7 5.1.1 with OSX

This is a quick recap for rooting a Kindle Fire 7″ with OSX, link
and install google play. The following are a list of shell commands.

# install ADB

Install homebrew

ruby -e «$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)»
Install adb

brew install android-platform-tools

# Enable ADB-Debugging in Developer Settings then:

adb devices

#en kindle will see a message to grant permission, viagra dosage
check always, erectile
and press OK

# Root

adb reboot-bootloader

fastboot oem append-cmdline «androidboot.unlocked_kernel=true»
fastboot continue
adb wait-for-device && adb shell

#You should now hopefully have a shell with root-priviledges: root@ford:/ #

adb remount
adb push files/libsupol.so /data/local/tmp/
adb push files/root_fire.sh /data/local/tmp/
adb push files/su /data/local/tmp/
adb push files/Superuser.apk /data/local/tmp/
adb push files/supolicy /data/local/tmp/
adb shell chmod 777 /data/local/tmp/root_fire.sh
adb shell /data/local/tmp/root_fire.sh
# This Part reopened fastboot and I just re-ran the cmds from the first post in this thread #

fastboot oem append-cmdline «androidboot.unlocked_kernel=true»
fastboot continue

adb wait-for-device && adb remount
adb shell /system/xbin/su –install
adb reboot

 

Dowload apps: http://rootjunkysdl.com/?device=Amazon%20Fire%205th%20gen

unpack and copy files to device sdcard

install ES file explorer from Amazon App store

go to sdcard, and install each .apk

 

Allow Apps from Unknown Sources
Settings>Security>tap toggle>Ok

Download Google apks : https://mega.nz/#F!AI5...
Download GoogleLoginService.apk: GoogleLoginService.apk 5.1.1
Download GoogleLoginService.apk: GoogleServicesFramework.apk 5.1.1

place on sd card

Install these files
Google Play (com.android.vending-5.9.12-80391200-minAPI9.apk)
Google Play Services (com.google.android.gms-6.6.03_(1681564-036)-6603036-minAPI9.apk)
Google Account Manager (GoogleLoginService.apk)
Framework (GoogleServicesFramework.apk)

open with file manager ( install ES file explorer from Amazon App store)

file manager will ask if you want to install

Rebooting is a good idea.

adb shell pm grant com.google.android.gms android.permission.INTERACT_ACROSS_USERS

If play store will not open correctly
Reinstall
com.android.vending-5.9.12-80391200-minAPI9.apk

 

# para cambiar el lancher
# hay que pasarlo a formato OSX

adb push NovaLauncher_4.2.0.apk /data/local/tmp/
adb shell «cp /data/local/tmp/NovaLauncher_4.2.0.apk /system/priv-app/NovaLauncher_4.2.0.apk»
adb shell «cp /system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk /sdcard/com.amazon.firelauncher.apk»
adb shell «rm /system/priv-app/com.amazon.firelauncher/com.amazon.firelauncher.apk»

# REMOVE ADs in lockscreen

adb reboot bootloader

fastboot oem append-cmdline «androidboot.unlocked_kernel=true»
fastboot continue
adb wait-for-device && adb remount
adb shell «pm hide com.amazon.kindle.kso»
adb reboot

 

 

Sources:

install adb in OSX:
http://stackoverflow.com/questions/31374085/installing-adb-on-mac-os-x

Root:
http://forum.xda-developers.com/amazon-fire/orig-development/root-t3272362

Install Google Play:
http://forum.xda-developers.com/amazon-fire/general/installing-google-framework-playstore-t3216122

Replace launcher + remove ads:
http://forum.xda-developers.com/amazon-fire/development/amazon-fire-5th-gen-supertool-root-t3272695