Introducing: Kindle Fire 2nd-bootloader + TWRP 2.8.x.x for the Kindle Fire HD 7

*** USE AT YOUR OWN RISK! WHILE I TRY MY BEST TO PROVIDE WORKING KERNELS/ROMS, I AM NOT RESPONSIBLE IF THIS SOFTWARE OR ANYTHING I'VE WORKED ON SUDDENLY FRIES YOUR DEVICE. ***

** THESE FILES WILL ONLY WORK ON A KINDLE FIRE HD 7 **

** IF YOU HAVE QUESTIONS, RE-READ THROUGH THE THREAD FOR ANSWERS. WHEN YOU'RE ABSOLUTELY SURE NO ONE HAS ASKED YOUR QUESTION, GO AHEAD AND RE-READ THE THREAD AGAIN AND USE THE SEARCH FEATURE. THEN POST YOUR QUESTION IF YOU STILL CAN'T FIND THE ANSWER **



*** BE SURE YOU HAVE A GOOD CHARGE ON THE DEVICE ***

Code: adb shell su -c "dd if=/dev/block/mmcblk0boot0 of=/sdcard/boot0block.img" adb shell su -c "dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot of=/sdcard/stock-boot.img" adb shell su -c "dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/recovery of=/sdcard/stock-recovery.img" adb shell su -c "dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/system of=/sdcard/stock-system.img" # This will take a few minutes adb pull /sdcard/boot0block.img adb pull /sdcard/stock-boot.img adb pull /sdcard/stock-recovery.img adb pull /sdcard/stock-system.img # This will take a few minutes



**** MAC USERS MAY NEED TO SPARSE THE FILES FOR RE-FLASHING TO THE DEVICE. I NEED A MAC USER TO PROBABLY WORK THROUGH THAT PROCESS AND POST BACKUP COPIES OF THE STOCK PARTITIONS FOR DISASTER RECOVERY ****



ON THE FOLLOWING DEV-HOST LINKS

USE THE BLUE "DOWNLOAD NOW" BUTTON

-- DO NOT INSTALL AN EXECUTABLE DOWNLOADER TO YOUR SYSTEM! --

I'LL LOOK FOR A BETTER HOST WHEN I GET MORE TIME.

Code: adb push stack /sdcard/ adb shell su -c "dd if=/sdcard/stack of=/dev/block/platform/omap/omap_hsmmc.1/by-name/system bs=6519488 seek=1"

Code: adb shell su -c "mount -o remount,rw ext4 /system" adb shell su -c "mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak" adb shell su -c "mount -o remount,ro ext4 /system"

[ With the device powered off: connect your FASTBOOT USB cable to the Kindle which should cause it to power on and enter "FASTBOOT" mode. Issue the following commands into your command/terminal window on your PC 1 at a time. ]



Code: fastboot -i 0x1949 flash bootloader kfhd7-u-boot-prod-7.2.3.bin fastboot -i 0x1949 flash boot kfhd7-freedom-boot-7.4.6.img fastboot -i 0x1949 flash recovery kfhd7-twrp-2.8.7.0-recovery.img fastboot -i 0x1949 reboot

*DONT RE-FLASH FREEDOM-BOOT.IMG LATER AFTER FLASHING CUSTOM ROMS -- IT'S FOR STOCK AMAZON OS ONLY / FIRST INSTALL ONLY*

ORANGE

BLUE

(OPTIONAL) Make a backup by selecting "Backup" and then slide your finger to the right on the "Swipe to Back Up"

Once complete use the pentagon "Home" icon in the lower left corner of the screen

Now, select "Wipe"

Swipe the "Swipe to Factory Reset"

Use the "Home" icon

Select "Install"

Browse to the location on your device where you saved the CM-12.1 / GAPPS .ZIP files

Select the CM12.1 ZIP file in the list by touching it, then confirm it says the name of the CM-12.1 .ZIP file on the next screen under "File to flash:"

Select "Add More Zips"

Select the GAPPS ZIP file in the list by touching it -- make sure it says the name of the .ZIP again under "File to flash:"

Swipe the "Swipe to Confirm Flash", and wait for it to finish.

If the screen is blank at any time you can hit the power button to "wake up" the device

Once the flash is done, you'll see a "Home" and "Reboot" buttons at the bottom of the screen

Select "Reboot"

**** MAC USERS MAY NEED TO SPARSE THE FILES FOR RE-FLASHING TO THE DEVICE. I NEED A MAC USER TO PROBABLY WORK THROUGH THAT PROCESS AND POST BACKUP COPIES OF THE STOCK PARTITIONS FOR DISASTER RECOVERY ****

Code: fastboot -i 0x1949 flash boot stock-boot.img fastboot -i 0x1949 flash recovery stock-recovery.img fastboot -i 0x1949 flash system stock-system.img # This one will take a few minutes fastboot -i 0x1949 reboot

fattire for finding the original bootloader exploit

for finding the original bootloader exploit verygreen for doing some initial work on the 2nd-bootloader and fixing bugs (and letting me copy some of his bootloader installation instructions)

A: With the Kindle powered down, type the following command into a cmd/terminal window on your PC (should return with: < waiting for device> ):fastboot -i 0x1949 getvar productThen connect your fastboot cable to the Kindle and reboot. It *SHOULD* show a Fastboot screen and your terminal window should show something like:product: Tate-XXX-XX (something here)Type this to reboot out of fastboot mode:fastboot -i 0x1949 reboot[2013-08-21] edited the location where stack is placed on device due to permissions changesPress the left volume button (volume up) while the logo is still YELLOW and keep pressing until the logo turns BLUE. Wait a moment and you should enter recovery.** FIND THE FILES WE BACKED UP IN STEP #1: ** OR Follow this thread's instructions:Plug in your fastboot cable and reboot so that you see the fastboot screen. On your computer go into a prompt and change to the directory where your stock backups are and enter the following commands: