yashsingh1/xdaforums huggingface dataset:
[8.9" Kindle Fire HD Android Development] justin_vn:
Yes i tried it, but also same like that. I also tried move them to my Laptop:

mkdir C:\KFHD8Backup

adb pull /sdcard/stock-boot.img/ [C:\KFHD8Backup]
adb pull /sdcard/stock-recovery.img/ [C:\KFHD8Backup]
adb pull /sdcard/stock-system.img/ [C:\KFHD8Backup]

It show that can not find the files.

Some more stupid questions:

-I change to another laptop using Windows8 64bit, and i can not connect to Kindle. I tried to install many drivers but can not. Can you give me the driver for Win8 64bit?

-Where must i place the Stack file, bootloader and TWRP?

Thank you very much!
[8.9" Kindle Fire HD Android Development] soupmagnet:
Try removing the trailing slash "/".

[Edit:] As far as the drivers are concerned, you have to disable driver signature verification. As far as stack and TWRP, the instructions in the OP are very clear on where they should go.
[8.9" Kindle Fire HD Android Development] justin_vn:
Done it!

Thank you very much!
[8.9" Kindle Fire HD Android Development] ironbesterer:
I really badly want to put PAC on my Fire, but for the life of me I CANNOT get ANY of the methods to install the bootloader and recovery installed. I have tried recovery tools, Hash's method, and even a couple of other methods found on xda. Absolutely no luck. I am very frustrated. It was a huge mistake buying this Fire over the Nexus 7.
[8.9" Kindle Fire HD Android Development] LinearEquation:
There is a method with FireFlash on here if pushing the commands is something you can't get down. Search it if you want but bootlooping risks are greater.
[8.9" Kindle Fire HD Android Development] ironbesterer:
I tried that too, but it didn't boot, nor did recovery boot.
[8.9" Kindle Fire HD Android Development] LinearEquation:
OK so is your tablet functioning properly? More details please.
[8.9" Kindle Fire HD Android Development] ironbesterer:
What do you mean is it functioning properly?
[8.9" Kindle Fire HD Android Development] Hashcode:
If you can get back into the stock Amazon OS. Please go into settings and find the system version # and let me know what it is.
[8.9" Kindle Fire HD Android Development] ironbesterer:
8.4.6. The latest version.
[8.9" Kindle Fire HD Android Development] redhonker:
Newbie here. What is TWRP? If I plan to install a Jelly Bean ROM, which steps should I follow? Which steps should I skip (e.g. CM)?

Thanks
[8.9" Kindle Fire HD Android Development] LinearEquation:
Follow Hashcodes instructions in OP to a tee. TWRP stands for Team Win Recover Project. It's a great custom recovery made by TWRP and slightly modified by Hashcode so we can use it on our KFHD's.
[8.9" Kindle Fire HD Android Development] Hashcode:
Updated the instructions and links in the original post.

- Added TWRP 2.6.3.1 link

- Changed CM-10.1 link to CM-10.2

- Added full .zip installation instructions for STEP 7

Enjoy
[8.9" Kindle Fire HD Android Development] galearned:
CM10.2 for 8.9 with TWRP 12.6.3.1 was not stable

Folks: Perhaps it was just me but, I tried to install TWRP 2.6.3.1 and CM10.2 and the tablet would not reliably boot beyond the 2nd bootloader logo?

I actually had several 8.9 tablets, so when one failed, I tried on a second tablet and then a third and all failed to reliably boot up.

In most cases, the tablet would boot up once then be frozen or otherwise flaky and a reboot would get stuck on the blue 2nd bootloader LOGO.

I then used the same install procedure but with CM10.1 and all was OK.

I redid two of the flaky tablets with 10.1 and, they were also then OK.

I took the last tablet and wiped and re-installed just cm10.2 and at least the tablet would boot up each time.

Now, I am not sure if CM20.2 is a problem or, if the new GAAPS (2013/08/13) for 4.3 is the issue?

I should also add that after booting up into cm10.2, I installed the Super_Clock_Widget_6_6.apk which I like to use.

I noticed that when booting the initial OS lock screen shows "loading widgets" and, I have to swipe by it to get to the main screen.

Anyone else had any stability issues with 10.2?

I reverted one of the tablets to 2.6.1.0 and still unstable with cm10.2.

I used the primary default wipe/factory reset (Default option not advanced) each time.

For the time being I guess I am going to stick with cm10.1

Is the 11/15 version of cm10.2 marked "Beta" a stable release or some people looking for stability use a prior version (perhaps August) or, stick with cm10.1? All of the notes indicate "beta" for cm10.2.

Regards
[8.9" Kindle Fire HD Android Development] galearned:
CM10.1 and Cm10.2 show up in adb as ofline in LINUX

I tried to use ADB in LINUX with the Kindle Fire HD 8.9 and 7" and on my machine, have ADB devices as 0123456789ABCDEF	offline

If the tablet is booted up into recovery, then ADB devices shows recovery which is correct.

If, a kindle tablet running the Kindle OS is connected to my machine, adb devices shows "Device" which is correct.

Why is ADB not working properly in LINUX....This is a surprise?

Using ADB sideload, I was able to install using LINUX but, in a normal boot, being offline prevents adb commands like push from working.

Edit: Further booting with Windows made me realize the issue is related to the LINUX machine not providing the RSA query to the tablet so, the tablet never is asked to "Always allow connect for this computer" I am guessing. Someone who uses LINUX more might know the answer and how to get RSA to work or, how to ignore it?

Regards
[8.9" Kindle Fire HD Android Development] LinearEquation:
Just a quick note for those that are having trouble manually flashing a TWRP update. Once you have the image on the root of you internal SD card > open the FireFlash apk > scroll down to RECOVERY PARTITION > click on the NOT FLASHED button directly below it > now scroll down to the TWRP image you want to flash > click on it > now scroll all the way down to FLASH,INSTALL SCRIPT located under EXECUTE. Now your TWRP is updated. Note: Don't tick anything else along the way.

---------- Post added at 05:25 AM ---------- Previous post was at 05:11 AM ----------

Edit Note: FireFlash is only usable on 2012 KFHD 7 and 8.9" Using it on any other tablet will brick it.
[8.9" Kindle Fire HD Android Development] Hashcode:
I have an updated freedom-boot for Amazon OS 8.4.6. Which can be used for this process (or if you're running stock OS 8.4.6 -- NOT FOR CM11).

I may need an experienced user to test it, as I don't have a stock backup on my HD8.9 device at the moment (would save me about a half hour+ of setup).

Download Mirror 1 (Goo.im)

Download Mirror 2 (Crackflasher)

md5sum: 8374cf88e75abda8c374044a1f0daa5f

This file is going to be the updated in the instructions for the 1st line of STEP 6:

fastboot -i 0x1949 flash boot kfhd8-freedom-boot-8.4.6.img

Thanks
[8.9" Kindle Fire HD Android Development] Thepooch:
I`m looking for updated files to revert to 8.4.6 completely stock but nothing new has come up. Not sure I`m ready to back peddle to the older system,boot, bootloader prod.bin and recovery. I wouldn`t have any problem testing this out if newer files were made available for fastboot flashing. Currently still running 8.4.3. I wonder if re-enabling amazon OTA`s would do the trick easier?
[8.9" Kindle Fire HD Android Development] LinearEquation:
If you have a custom ROM? just use Kindle Fire System Restore Tool fr 8.9 jem tablets. If your rooted only, you can use a root tool kit to unroot. Once running stock, let Amazon do an OTA update.
[8.9" Kindle Fire HD Android Development] lev777:
Thanks for all your work on this!

I updated from stock.

You might recommend good fastboot drivers can be found here http://xdaforums.com/showthread.php?t=1399889

You might want to add a step to copy the CM .img & gapps to the device before booting into recovery & wiping.

I have an issue updating google apps. I keep getting the error: "Package file was not signed correctly. Uninstall the previous copy of the app and try again."

Edit: I let it alone for a while & then the google apps were able to update. I didn't have to do anything it just started working.
[8.9" Kindle Fire HD Android Development] LinearEquation:
It's in the OP. Most people just read it.

Sent from Nexus 7 flo running Paranoid Android 4.3 JB using xda app-developers app
[8.9" Kindle Fire HD Android Development] CAL7:
LE: I followed your instructions exactly, but have ended up stuck on the white+orange "kindlefire" boot screen. Can you help?

I started with a KFHD89 running TWRP 2.6.3 and CM10.1. After updating TWRP with FireFlash, it would not boot into recovery, either by a software reboot command or by vol-up/pwr rebooting.

Since I used FireFlash for the initial 2nd recovery installation, I had never used adb on this kindle (although I have used adb on other android devices). Now, with a standard usb cable, I also can't get my Win7(32) machine to recognize the KFHD89 - it briefly sees jem, but goes away too quickly.

Can you tell me what I did wrong, and more importantly, advise on how to un-brick my faithful old kindle? Many thanks.
[8.9" Kindle Fire HD Android Development] LinearEquation:
Either you did not follow my instructions exactly or you flashed the wrong image or a corrupted image. I have updated TWRP more than once with FireFlash. On to your problem now though. You're running a 2012 KFHD 8.9" jem right?

First watch this video and download the SDK package https://www.youtube.com/watch?v=oaNM-lt_aHw open a command prompt and type adb and also fastboot to make sure they are recognized.

Now follow the instruction for using this tool in the OP. Read it all carefully. http://xdaforums.com/showthread.php?t=2011126

After that, you should be factory restored again.

---------- Post added at 02:13 PM ---------- Previous post was at 01:32 PM ----------

I just want to say that folks would do themselves a solid if they learned how to use commands. ADB and Fastboot are not hard once you give it a shot and produce less errors if you use the right files for the mod your attempting. I think I will be done offering quick fix tools, with very limited exceptions.
[8.9" Kindle Fire HD Android Development] CAL7:
Thanks for your help. Yes, 2012 "Kiindle Fire HD 8.9" (with front-facing camera). I didn't mean to imply that your instructions were faulty, just that I didn't get to the finish-line. Since I can't read the files, I can't confirm that what I FireFlashed was the right file/md5/etc.

Please clarify: I had seen the Restore Tool you referenced, but I didn't think I could use it since I am not able to get adb or fastboot to recognize the KFHD89. Do I misunderstand, or do they need to see the device before I can use the Recovery Tool?

My problem seeing the device is that it appears for about 0.5 seconds when first powered-up. Not long enough for me to install the adb device driver.
[8.9" Kindle Fire HD Android Development] LinearEquation:
Re-read my post again. You have to set a path for your ADB and Fastboot commands to work. Use the 8.9 restore tool by the way located here http://xdaforums.com/showthread.php?t=2011126

If your path is set right then entering the command "fastboot -i 0x1949 reboot" (no quotes) will reboot you into fastboot. If it does not, reassess your environment.
[8.9" Kindle Fire HD Android Development] LinearEquation:
I just remembered this. If Jem is only showing for a quick second then you have to do a quick driver install. That yellow triangle in the device manager will only show for a split second. As soon as it pops up immediately install the proper drivers.
[8.9" Kindle Fire HD Android Development] CAL7:
Using these instructions, I was able to get back to stock KFHD89. Thank you!

Since I was able to use FireFlash without any issues to install TWRP 2.6.3 and then CM10.1, I hope to go the same route again, but with TWRP 2.6.3.1 and CM11 (and KK gapps). Should I be looking for any issues with that plan?
[8.9" Kindle Fire HD Android Development] tobiascuypers:
Hey [MENTION=320147]HasH[/MENTION], I cant get fastboot to work? I can get adb to work correctly but when i try the getvar command, its just normally boots. Any help?
[8.9" Kindle Fire HD Android Development] LinearEquation:
Just to make sure, you're not using a fastboot cord are you? And you are using KFHD 8.9 2012 model, correct? You want to power your tablet completely down first. Then type fastboot -i 0x1949 getvar, hit enter product and now plug the USB cord into your computer and then the tablet. Now your tablet should be in fastboot mode and the command window should show Jem-PVT-XXX.

I'm sure you have done this but give it another shot just in case. Make sure to open the command prompt as an administrator too, just for good measures.
[8.9" Kindle Fire HD Android Development] tobiascuypers:
Yea I'm pretty experienced with android I'd say.. I'm not using a fastboot cable, and yes it is a 2012 8.9 HD. Running amazon os 8.4.6. But still is not working. I'm running Ubuntu 12.10 also.
[8.9" Kindle Fire HD Android Development] LinearEquation:
Maybe try these drivers http://xdaforums.com/showpost.php?p=44446906&postcount=9
[8.9" Kindle Fire HD Android Development] tobiascuypers:
I looked at that. Do you know how I would do that in Ubuntu?
[8.9" Kindle Fire HD Android Development] LinearEquation:
No i have never used Ubuntu, sorry. But I did find this and it may help some. http://forums.androidcentral.com/am...-how-enable-adb-kindle-fire-ubuntu-linux.html
[8.9" Kindle Fire HD Android Development] tobiascuypers:
I'm digging up an old laptop right now that runs win7. That post is only for adb as stated at he bottom. I'll let you know how it work in a bit

---------- Post added at 04:02 PM ---------- Previous post was at 03:58 PM ----------

Oh my gosh.. Sorry yo have token up your time.. I just realized I wasn't running fastboot as root.. ran it as root and worked. Thanks tho!
[8.9" Kindle Fire HD Android Development] mrchichow:
im stuck on step 5. what am i doing wrong?

C:\Users\xxx>fastboot -i 0x1949 flash bootloader kfhd8-u-boot-prod-8.1.4.bin

target reported max download size of 1006632960 bytes

error: cannot load 'kfhd8-u-boot-prod-8.1.4.bin': No error
[8.9" Kindle Fire HD Android Development] mtm88001:
No Recovery

Can't get my Kindle to load up into recovery..

did the fastboot commands fine... get the fade to blue kindle logo

I hold the + volume down but nothing, just skips back to orange logo and boot into stock os.

Thanks for any help,

Update: was able to get into recovery by using adb reboot recovery
[8.9" Kindle Fire HD Android Development] FroyoShark:
You need to hold volume up, not down. And make sure you start holding it right when the first orange logo shows.
[8.9" Kindle Fire HD Android Development] ZilverZurfarn:
Perhaps a stupid question, but: If I go thru with this, will it boot to stock Kindle OS after performin step 1 to 5, or do I have to go to recovery and flash something like CM?

Also - The first step

adb pull /dev/block/platform/omap/omap_hsmmc.1/by-name/boot
adb pull /dev/block/platform/omap/omap_hsmmc.1/by-name/recovery
adb pull /dev/block/platform/omap/omap_hsmmc.1/by-name/system # This will take a few minutes

didn't work for me under Windows.

However,

adb shell su -c 'dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/recovery of=/sdcard/recovery.img'
adb shell su -c 'dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot of=/sdcard/boot.img'
adb shell su -c 'dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/system of=/sdcard/system.img'

(found at http://xdaforums.com/showthread.php?t=2100963&page=3)

and then pulling the .img files using adb worked.
[8.9" Kindle Fire HD Android Development] Thepooch:
Bootloader and recovery flash went excellent thank you Hashcode!!
[8.9" Kindle Fire HD Android Development] slacka-vt:
If you successfully pulled boot.img, recovery.img and system.img from the stock ROM, you simply need to execute the following commands from a terminal -this is assuming the boot.img , recovery.img and system.img files are in your working directory and that your Kindle is on the bootloader screen and your "ADB Composite USB Device" driver is working correctly.

adb flash boot boot.img -i 0x1949
adb flash recovery recovery.img -i 0x1949
adb flash system system.img -i 0x1949
adb reboot -i 0x1949
[8.9" Kindle Fire HD Android Development] ZilverZurfarn:
Shouldn't that rather be

fastboot flash boot boot.img -i 0x1949
fastboot flash recovery recovery.img -i 0x1949
fastboot flash system system.img -i 0x1949
fastboot reboot -i 0x1949

?

Anyway - Wouldn't that completely undo the installation of the custom recovery? I mean - I'm reflashing the stock recovery and boot back, right?

What I'd like to accomplish is to prepare my Kindle for the day Hashcode has a fully working CM build so I just can boot into recovery and flash cm10.1.zip as soon as it's complete. In short: To have 2nd boot + twrp recovery ready for the day CM is fully operational.
[8.9" Kindle Fire HD Android Development] mdblaze:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 8.9

When you flash the files back to the kindle, you are flashing the downloaded boot loader files. Not the stock amazon files you backed up.
[8.9" Kindle Fire HD Android Development] ZilverZurfarn:
So basically, it's enough to flash my stock, backed up, system.img (as I have already flashed 2nd boot + twrp recovery in step 5) ?
[8.9" Kindle Fire HD Android Development] mdblaze:
I'm sorry, I failed to read your posts earlier in the thread. After step 5 you are finished, unless you are ready to flash a new rom or go back to full stock with no bypassed bootloader. The steps after step 5 are only if you want to return to the stock Amazon software.

Once you are done with step 5, you should have an HD with twrp installed and amazon software.
[8.9" Kindle Fire HD Android Development] Hashcode:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 8.9

my computer took a dive on me and ive been rebuilding it over the last few days.

ill try and clean up the instructions a bit with some of the recommendations.
[8.9" Kindle Fire HD Android Development] Thepooch:
Out of curiosity can this twrp facilitate the flashing of update.zip for reverting to complete stock or will that mess all kinds of things up?

Edit: I assume there is no answer to this question yet. Okay thanks.
[8.9" Kindle Fire HD Android Development] FroyoShark:
I haven't tried it, but I don't see why it wouldn't work. Give it a shot, the worst that can happen is it won't boot, but make a backup first :)
[8.9" Kindle Fire HD Android Development] Thepooch:
Unfortunately the process wipes the 2nd bootloader and recovery rendering a backup useless so if the process were to fail for some reason you would be up **** crick without a paddle that's why I wanted confirmation. It sounds like Hashcode is going to make a stock flashable so we will see what he comes up with. Thank you Hash!!
[8.9" Kindle Fire HD Android Development] FroyoShark:
If it messes up the bootloader, you can always reinstall it using fastboot. Backups are saved on the internal memory/sdcard, so it should remain when you install TWRP again.
[8.9" Kindle Fire HD Android Development] Thepooch:
That's true but irreparable damage would be my fear I'm very familiar with the first gen kindle this ones just a few days old I'm still testing the water knowledge is the key. ;)
[8.9" Kindle Fire HD Android Development] Hashcode:
Yep, I have a flashable .zip for 8.1.4 that I'm testing. Users can use it to restore the Amazon OS + root/Superuser and busybox while keeping the 2nd-bootloader/stack and TWRP in tact.
[8.9" Kindle Fire HD Android Development] 5l4Y:
Hi, I have similiar problem to yours. I rooted KF using bin4ry tool http://xdaforums.com/showthread.php?t=1996873 and used Stericsson 's Kindlefree. I don't have factory cable. Now I can't get into flashboot using Hascode method, but I can get into it using Onemeila's KFHD_SRTv2.1 when KF is ON. The kindle will show up as "Jem -XXX-XXX" without drivers in device manager and I can't find appropriate driver to use it. You said about "Android ADB Composite USB" driver. I tried to use on from adt-bundle-windows-x86_64, but it didn't matched. What driver exactly did you used or where I went wrong?
[8.9" Kindle Fire HD Android Development] Thepooch:
Very cool Hashcode does modaco kfhd8.9 :D
[8.9" Kindle Fire HD Android Development] Born2BeMild:
so I got stuck at the kindle fire boot screen, and I didn't make a backup of my recovery(my fault entirely). I can still get into fastboot, but what's the best course of action I can take from here?

thanks.
[8.9" Kindle Fire HD Android Development] Thepooch:
You should still be able to get it into fastboot and

fastboot -i 0x1949 flash boot kfhd8-freedom-boot.img
fastboot -i 0x1949 flash recovery kfhd8-twrp-2.3.3.0-recovery.img
fastboot -i 0x1949 reboot

Then when Hashcode gets done with update.zip

adb push update.zip/sdcard/

while in recovery and flash it after some wipes, then select reboot system. Keep it charged till then. Good luck
[8.9" Kindle Fire HD Android Development] LinearEquation:
Possibly a corrupted download. Check the md5sum and verify the download.
[8.9" Kindle Fire HD Android Development] iKlutz:
Hi.

If I follow this guide, will the backed up partitions still have all of my data, such as apps, books, videos etc? And would the be a way to multi boot the original Kindle rom and custom roms?

Thanks.

Sent from the dark side of the moon.
[8.9" Kindle Fire HD Android Development] LinearEquation:
Yes

Not in the sense you're thinking. You can store Nandroids from different ROM's in TWRP and flash them when you feel like it.
[8.9" Kindle Fire HD Android Development] mva5580:
I seem to be having a problem with entering recovery mode. I hold down the Volume button and it acts as if something is trying to load, but really quick I see some text that looks like "badi: bad boot image magic," and then it takes me to fastboot mode and all I can do is shut off the device and reboot.

Any ideas?
[8.9" Kindle Fire HD Android Development] LinearEquation:
Try holding the volume button up and after you see the Blue KFHD logo count to three and then let go. If you're still seeing this then I would suggest a factory reset. You should not be able to access the bootloader without entering a command.
[8.9" Kindle Fire HD Android Development] njmanura:
I am a newbie and i want to know whether this method will succeed in firmware version 8.4.6 and higher. Will applying TWRP will brick my device
[8.9" Kindle Fire HD Android Development] HardOnChairs:
Thanks so much. Saved me a bunch of money for a new tablet for my girlfriend, she was tired of the kindle software.

Just going to throw this in for anyone searching for it because it gave me trouble. If you get hung up on < waiting for device> then use this command with the kindle on and plugged in to enter Fastboot:

adb shell su -c "reboot bootloader"

Then go into your device manager and update Jem-PVT-Prod-04 drivers with the kindle drivers. Then those fastboot commands will work. This is assuming that your kindle at least shows up in adb devices.
[8.9" Kindle Fire HD Android Development] CAL7:
Performance observation

I've been struggling with horrible lags on my KFHD89. I would appreciate any comments from the more experienced XDA'ers. For a while, I just wiped and flashed, or nandroid-restored to a clean install; that would improve the situation, but in a couple of days, the lag returned. I've tried CM10.1, CM10.2, and CM11 (both Hash's and TWA_prv's variant). Now on Hash"s.

There seemed to be two apps that caused problems and that I used a lot: Dolphin browser with Jet pack and Swype/Dragon. For now, I'm running without these (but really miss them both!) and performance is much better.

Has anyone else noticed performance issues with CM11 and either of these apps?

Any other suggestions on things to experiment with or procedures to diagnose performance?

Much thanks for your help.