Skip to content

Instantly share code, notes, and snippets.

@gionn
Last active April 1, 2018 18:36
Show Gist options
  • Save gionn/7797244 to your computer and use it in GitHub Desktop.
Save gionn/7797244 to your computer and use it in GitHub Desktop.
Root and install cyanogenmod on Kindle Fire HD (2nd generation) codename tate

Enable root via hack

Ref: http://forum.xda-developers.com/showpost.php?p=43489456&postcount=1

Download and unpack: http://bayfiles.net/file/SwU3/x09m9g/adb_bundle.zip

On first terminal:

./adb shell "while ! ln -s /data/local.prop /data/data/com.android.settings/a/file99; do :; done" > /dev/null

On second terminal:

./adb backup backup.ab com.android.settings
./adb restore fakebackup.ab
./adb reboot
./adb wait-for-device
./adb push busybox /data/local/tmp/busybox
./adb push ric /data/local/tmp/ric
./adb push su /data/local/tmp/su
./adb push Superuser.apk /data/local/tmp/Superuser.apk
./adb shell chmod 777 /data/local/tmp/busybox
./adb shell "/data/local/tmp/busybox mount -o remount,rw /system && /data/local/tmp/busybox mv /data/local/tmp/ric /system/bin/ric && chmod 755 /system/bin/ric && /data/local/tmp/busybox mv /data/local/tmp/su /system/xbin/su && /data/local/tmp/busybox mv /data/local/tmp/Superuser.apk /system/app/Superuser.apk && /data/local/tmp/busybox cp /data/local/tmp/busybox /system/xbin/busybox && chown 0.0 /system/xbin/su && chmod 06755 /system/xbin/su && chmod 655 /system/app/Superuser.apk && chmod 755 /system/xbin/busybox && rm /data/local.prop && reboot"

Install bootloader, recovery and CyanogenMod (unofficial build)

http://forum.xda-developers.com/showthread.php?t=2128848

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment