A few notes on general unbricking as well as tips specific to bootloops, potentially "blacklisted" devices and "unable to update" and similar errors. (Also, using the device without logging in)
- The latest release of kamakiri includes two undocumented utilities that allow you to boot into the recovery or fastboot when you
short the contacts shown in the main post. already have the kamakiri microloader installed. (boot-recovery.sh and boot-fastboot.sh)
- You can circumvent the entire OOBE (Out Of the Box Experience) and even skip the Amazon account login like this: After installing Magisk (I strongly recommend the pre-rooted images), boot into TWRP and do the following:
Code:
$ adb shell
# echo "#!/bin/sh
resetprop persist.service.adb.enable=1
resetprop persist.sys.usb.config=mtp,adb
sleep 30
settings put global development_settings_enabled 1
settings put global adb_enabled 1
settings put secure install_non_market_apps 1" > /data/adb/service.d/enable-usb-debugging.sh
# chmod +x /data/adb/service.d/enable-usb-debugging.sh
This will create a shell script at /data/adb/service.d that should automatically enable ADB, disable debugging authentication and installation of apps from unknown sources on boot. With this, you can sideload other APKs (adb install <file>) and start them (adb shell am start <package name>). I provide no warranty that this works or does not damage your device. Use at your own risk. The provided script is a messy hack and needs cleaning up (most of the code is probably not needed). The device will potentially work less-than-ideal with this hack applied.
- You can disable the OOBE, this way your launcher should appear on boot and home button press:
Code:
adb shell pm disable com.amazon.tv.oobe
- I strongly recommend installing GAPPS with this module, as the market and the Amazon login don't seem to work at all for me (although I'm not sure whether this is due to my own device, maybe it's blacklisted or broken in some way).
Edit: cleaned usb debugging script up a bit
Edit 2: included a script that installs the USB debugging enabler script automatically. This is meant to be used from a Linux system such as fireiso. Note that this still only works when booted into TWRP with Magisk already installed.