[Fire General] jpage4500:
Mac version

just fyi - I quickly converted the script to run on a Mac. The 'adb' commands are all the same - just modified some echo/prompt commands that didn't work.

I ended up running it twice since 1 of the commands failed the first time:

>> adb shell pm uninstall com.android.vending

>> Failure [DELETE_FAILED_INTERNAL_ERROR]

I also removed the >>lot.txt stuff but you can run it like this to view and save the output:

"run.sh | tee log.txt"

echo "Starting the Android Debug Bridge (ADB)"
adb kill-server
adb start-server
echo "--------------------------------------------------------------------------------"
echo Communicating with your Fire Tablet from your PC requires 2 things:
echo -The ADB debugging option is enabled on the tablet
echo -The ADB drivers are installed on your machine
echo Make sure you have both of these requirements met before continuing!
echo ...if you need help, see the XDA forums.
echo "--------------------------------------------------------------------------------"
read n
adb wait-for-devices

echo "Using Package Manger (pm) to block OTA updates"
adb shell pm hide com.amazon.otaverifier
adb shell pm hide com.amazon.device.software.ota
adb shell pm hide com.amazon.settings.systemupdates
echo "--------------------------------------------------------------------------------"

echo "Using Package Manger (pm) to block adverts on lock screen"
adb shell pm hide com.amazon.kindle.kso
echo "--------------------------------------------------------------------------------"

echo "Using Package Manger (pm) to hide Amazon bloatware"
adb shell pm hide com.amazon.kindle.personal_music
adb shell pm hide com.amazon.kindle.personal_video
adb shell pm hide com.amazon.photos.importer
adb shell pm hide com.amazon.calculator
adb shell pm hide com.amazon.photos
adb shell pm hide com.amazon.mp3
adb shell pm hide com.amazon.windowshop
adb shell pm hide com.amazon.avod
adb shell pm hide com.amazon.cloud9
adb shell pm hide com.amazon.ags.app
adb shell pm hide com.amazon.csapp
adb shell pm hide com.amazon.weather
adb shell pm hide com.amazon.kindle.otter
adb shell pm hide com.amazon.kindle.otter.oobe
adb shell pm hide com.amazon.kindle
adb shell pm hide com.amazon.whisperlink.core.android
adb shell pm hide com.amazon.zico
adb shell pm hide com.amazon.client.metrics
adb shell pm hide com.amazon.device.backup
adb shell pm hide com.amazon.tahoe
adb shell pm hide com.amazon.webapp
adb shell pm hide com.amazon.camera
adb shell pm hide com.android.calendar
adb shell pm hide com.android.email
adb shell pm hide com.android.contacts
adb shell pm hide com.audible.application.store
adb shell pm hide com.audible.application.kindle
adb shell pm hide com.goodreads.kindle
adb shell pm hide com.nuance.edr.androidservice.service
echo "--------------------------------------------------------------------------------"

echo "Installing additional packages"
adb install FDroid.apk
echo "--------------------------------------------------------------------------------"

echo "Installing Google Play Framework"
adb install com.google.android.gms-6.6.03_\(1681564-036\)-6603036-minAPI9.apk
adb install GoogleLoginService.apk
adb install GoogleServicesFramework.apk
adb shell pm grant com.google.android.gms android.permission.INTERACT_ACROSS_USERS
adb shell pm uninstall com.android.vending
adb install com.android.vending-5.9.12-80391200-minAPI9.apk
echo "--------------------------------------------------------------------------------"

echo Done. Press any key to reboot device.
read n
adb reboot
adb kill-server