yashsingh1/xdaforums huggingface dataset:
[8.9" Kindle Fire HD Android Development] slacka-vt:
well, it was a three hour epic battle but I finally got the boot and recovery installed. getting into fastboot and having the device recognized was pretty darn hard. i found using the recovery tool found here: http://xdaforums.com/showthread.php?t=2011126 to be invaluable for getting into fastboot with a non fastboot cable. Also, eveytime I tried to flash the recovery, i kept getting an error complaining about the file size being too big to upload to my device. oddly enough, I downloaded the TWRP recovery once more and renamed it "recovery.img" and was able to flash. not sure if that was coincidence. another trick is to keep device manager open, in fast boot, the kindle will show up as "Jem -XXX-XXX" and you need to use the "Android ADB Composite USB" driver. right now I'm in recovery and about to flash CM10.1 BUT, ONE IMPORTANT QUESTION - WILL WIPING PARTITIONS DO IRREVERSIBLE DAMAGE ? sorry for yelling and thanks so much for your hard work -it's greatly appreciated.
[8.9" Kindle Fire HD Android Development] Hashcode:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 8.9

If you make a backup in TWRP, you can always restore it later.

Hold off on CM10.1, I'm rebuilding.
[8.9" Kindle Fire HD Android Development] FroyoShark:
Can't get fastboot working...

Tried 2 different 8.9's, with 3 different USB cables on Windows 7 and Linux with each.

EDIT: Nevermind, finally got it working :)
[8.9" Kindle Fire HD Android Development] Hashcode:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 8.9

Awesome, feel free to share any tips.
[8.9" Kindle Fire HD Android Development] FroyoShark:
Turns out I could only get it working on Linux using root shell, everything else failed.
[8.9" Kindle Fire HD Android Development] arda99:
do you mean we can back up stock OS and flash it back later, without going through fastboot and keep TWRP with stock OS?
[8.9" Kindle Fire HD Android Development] FroyoShark:
After installing CM10.1+ Gapps, it booted to a black screen, so I did a hard reset. Went back into TWRP, wiped system, and flashed just CM10.1. After that, it got stuck on the orange Kindle Fire logo (doesn't get to the blue one) and even reflashing the bootloader/recovery doesn't fix it.

EDIT: Tried restoring my system backup from the stock ROM, that didn't work either. Restoring the stock boot image makes it so I can boot into the stock ROM though.

EDIT 2: Must have done something wrong. It's working fine again, but CM10.1 still doesn't work.
[8.9" Kindle Fire HD Android Development] Hashcode:
When re-setting up the Kindle for the 2nd-bootloader, PLEASE re-review the steps in the OP, I added a missing step later after the original posting.

(It's the disabling of the "install-recovery.sh" file)
[8.9" Kindle Fire HD Android Development] FroyoShark:
Yeah, that's how I got it working. Also, there's a typo in the OP, you put "fastboot -i 0x1949 flash recovery kdh8-twrp-2.3.3.0-recovery.img" instead of "fastboot -i 0x1949 flash recovery kfhd8-twrp-2.3.3.0-recovery.img"
[8.9" Kindle Fire HD Android Development] Hashcode:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 8.9

Guh. I actually fixed (or thought I did) that typo last night. Ah well, I re-editted it just now and it looks like it took.

Thanks for pointing that out.
[8.9" Kindle Fire HD Android Development] FroyoShark:
Is TWRP extremely choppy for everyone else?
[8.9" Kindle Fire HD Android Development] Hashcode:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 8.9

it is a little slow to respond. i built it with a custom kernel a while back.

i may try either an updated kernel or using stock kernel to see if it helps.
[8.9" Kindle Fire HD Android Development] FroyoShark:
That would be nice. It's not a big issue, but it's a bit annoying.
[8.9" Kindle Fire HD Android Development] DesignGrits:
Is there an official post somewhere with the drivers?
[8.9" Kindle Fire HD Android Development] soupmagnet:
The install_drivers.bat from the Kindle Fire Utility is probably the most straight forward way to get them installed, but don't use anything in the KFU other than that. The KindleFireFirstAide tool has an option to install drivers also, I believe. Or you could just do as suggested and boot into a liveUSB and install SoupKit.
[8.9" Kindle Fire HD Android Development] DesignGrits:
What is this soupkit? I am running through the KindleFireFirstAide right now and down grading, then I will do option 14 (Dissable OTA Update) then option 18 (Google Play store). But I will still need a method to flash twrp. Will that work to get twrp?

I noticed that KindleFireFirstAide gives me an option to put the fire in fast boot before I run any options, would I technically be able to get it in to fasboot that way and then run the cmd to flash twrp?
[8.9" Kindle Fire HD Android Development] soupmagnet:
You can put the device in fastboot yourself by entering...

adb shell su -c "reboot bootloader"

...but if your drivers aren't working properly, fastboot commands may not work.
[8.9" Kindle Fire HD Android Development] DesignGrits:
After a lot of trial and error I claim success! Thank you for your help, on CM now, rockin and rollin
[8.9" Kindle Fire HD Android Development] mmesh:
Stuck in fastboot

Hi,

Can someone help me, please.

I was going to install CM10.1 on my KFHD8. I was doing it inside Win7 Virtualbox machine and everything went fine until I started this command:

fastboot -i 0x1949 flash bootloader kfhd8-u-boot-prod-8.1.4.bin

Then I got kernel panic on my linux (host) machine and KFHD got stuck at "Start downloading" message in fastboot mode.

Is there a way to restart the process. When I booted the computer I tried executing the same command but all I got was

and no device was detected in device manager when I disconnected and connected the USB cable.

I can wait until the battery drains - but what then? Will I be able to charge the device then and try to redo this step and continue with the process?
[8.9" Kindle Fire HD Android Development] soupmagnet:
OMG...don't do that.

Why on earth, if you have a Linux machine, are you trying to run a Windows VM? I think I just died a little inside.
[8.9" Kindle Fire HD Android Development] mmesh:
Well I was running the installer from this thread http://goo.gl/BMybF which only has a bat file and doesn't have bash variant; and I was to lazy to rewrite the thing; and I never had any problem with the VBox Win7 machine until today :(

But as I was on v8.3.1 (didn't disable automatic upgrade) and this post http://xdaforums.com/showpost.php?p=40453742&postcount=22 pointed me to do boot image from this thread I went ahead and did it - that is tried to do it - from inside VM.

If waiting for battery drai isn't the option, what is?

Or am I stuck with soon to be brick
[8.9" Kindle Fire HD Android Development] soupmagnet:
If you don't want to go through the trouble of configuring your Linux environment to send ADB or fastboot commands, just install SoupKit. It already does all of that for you, and you won't have to run the VM (which is probably why you received the kernel panic in the first place).

To install the 2nd bootloader, you only need to copy and paste a handful of commands to the terminal, so running a script to do it for you is kind of pointless IMO.
[8.9" Kindle Fire HD Android Development] mmesh:
What's worse - I do have configured Android SDK (adb and fastboot) in my linux environment as I started to develop an app using Titanium Studio. But, I was just to lazy and wanted to try CM10.1 as soon as possible. The first step was to root my device once again as it lost su app after automatic upgrade to 8.3.1. The path of least resistance at that moment was to use this upgrade script which only runs in Windows. But Murphy never sleeps...

The point is that the PC isn't able to detect the device when connected with USB cable - neither in Windows nor in Linux.

Is there a way to reset fastboot state using some combination of key presses or am I doomed? :)

I never stated that I was clever about all of this but on the contrary I screwed myself over trying to do the shortcut.

So, the cut this short - do You think that recovering isn't possible and that I should not lose time trying to do it?

P.S.

I would like to come across Your thread before: http://goo.gl/yeDil

Then I would know that using VBox isn't good idea although I manged to configure it to recognize device in normal boot and in fastboot (fixed USB filters before booting the VM).

And there is a dvelopment on the physical state of the tablet. The Battery drained and I have connected it to the wall charger and I will leave it until tomorrow morning. Only thing bothering me that I won't be able to tinker more with it tomorrow as I'm going on a short trip. Maybe there will be some good news on Sunday :)
[8.9" Kindle Fire HD Android Development] soupmagnet:
[Edit:] Nevermind
[8.9" Kindle Fire HD Android Development] sjj1991:
I have done everything up to step 5. It just doesn't go into fastboot.

This is what I have done:

1. Shut down the device.

2. Enter "fastboot -i 0x1949 flash boot kfhd8-freedom-boot-8.3.0.img" into command prompt, I see "< waiting for device >"

3. Connect the device via USB.

4. Device still boots up normally into Android.

What did I do wrong? I have already installed the drivers successfully and ADB does detect the device.
[8.9" Kindle Fire HD Android Development] soupmagnet:
You need to make sure your drivers are configured properly for fastboot .
[8.9" Kindle Fire HD Android Development] sjj1991:
How do I do that?

I have followed your instructions here: http://xdaforums.com/showthread.php?t=2179748

Added the hardware ID of the KFHD8.9 to the android_winusb.inf file and installed the drivers that can with KFU. Still doesn't work.
[8.9" Kindle Fire HD Android Development] soupmagnet:
The easiest thing to do would probably be to set up a Linux LiveUSB and install SoupKit.
[8.9" Kindle Fire HD Android Development] arda99:
try this:

http://xdaforums.com/showpost.php?p=37882963&postcount=54
[8.9" Kindle Fire HD Android Development] sjj1991:
Thanks, it works! This should be included on the first post, it will save everyone a lot of time!

EDIT: I have completed all the steps, but now its stuck at the orange kindle fire logo. I have waited for more than 10 mins and I still don't see the blue logo.

I can still access the device via fastboot. Already tried repeating steps 4.5 and 5, but it just won't work. Any idea whats wrong now? :/
[8.9" Kindle Fire HD Android Development] arda99:
I never experienced this issue, but looks like there is some problem with the stack file installation. u can try to restore with your previous backup or KFHD SRT(http://xdaforums.com/showthread.php?t=2011126) and start over again.
[8.9" Kindle Fire HD Android Development] sjj1991:
:good: The stack file was overwritten by an OTA update, doing that step again fixed the problem!
[8.9" Kindle Fire HD Android Development] dreamer609:
How were you finally able to get it to work?

Well, I am kinda in the same boat you are. I keep trying and trying different things, but no avail. If you could clue me on what worked for you I would most appreciative :) Did you have to go down a few levels to 8.14 from 8.30 to get things to happen. Were you able to push the stack through ADB? Being a complete Newb at ADB, I still can't quite figure out where things are supposed to be that I am flashing.... I installed the Amazon Kindle Fire drives from Kffirstaide, as I was a bit confused about what exactly to install with the SDK package... But I cannot seem to get the address to the stack where it should be in either of the two commands for pushing the stack... :( I am very confused. I have been working on this all day. I am running Windows XP and I seem to have no idea where to put the "stack" file or where to direct ADB to go for the second command of the stack. I have tried to read other posts, but I am just baffled. Any ideas would be most appreciative.

---------- Post added at 03:09 AM ---------- Previous post was at 03:07 AM ----------

What exactly are you referring to? How was it fixed? I just downloaded that file this afternoon and I still cannot find out where to put it or how to use it... or the other line after you push the stack...
[8.9" Kindle Fire HD Android Development] DesignGrits:
I'm not a pro ad cmd, and just started using the Kindle fire the same day I posted the issue I was having.

As far as doing cmd commands, you want all of your files to be in the same directly on your computer where you have the fastboot file. If you installed the Android SDK on your computer you should be able to find the "platform-tools" folder in it SDK folder, that's where I put all of my files. Like I said I am not sure if this is necessary but exactly what I did. To enter cmd commands you want to do it from that directory, so in that folder somewhere press SHIFT+Right Click your mouse and you will see an option for "Enter Command here". Not sure what its called on Windows XP. When you launch the command prompt from that folder your directory on cmd should match that folder directory. Now your can enter commands and your device should respond to them.

So what I did was use the method user lizzord30 posted on this thread using the First Aide Software: http://xdaforums.com/showthread.php?t=2217299

I can't remember which method I used to get it in to fast boot but I think what I did was power off the device and then run the First Aide Software and followed lizzord30 instructions to flash 8.1.4 back on to the device. At some point in the process the First Aide Software will ask if you will like to boot to fastboot mode, I entered yes and then connected the device.

The other way would be to do the same thing but enter the following commands and then connect the device turned off.

adb shell su -c "reboot bootloader"

Once your in fastboot mode you are golden, flash the 8.1.3 back on to the device, let it boot once, use the command above to go back in to fastboot mode and then follow the instructions at the beginning of this thread from the beginning all over again. ;D

UPDATE: Also before you put the Android SDK I think the First Aide Software requires that you don't have it installed, so install it after you are able to flash back using the software.
[8.9" Kindle Fire HD Android Development] praed0r:
This is how I did it - I copied these instructions from a post on here somewhere - can't remember exactly which post.

The stack file should be in the same directory as your ADB exe file

Install the stack override in /system:

ADB commands entered while booted up into STOCK *rooted* Amazon Kindle OS -- May need to enable ADB debugging in Settings:

Code:

adb push stack /data/local/tmp/

adb shell su -c "dd if=/data/local/tmp/stack of=/dev/block/platform/omap/omap_hsmmc.1/by-name/system bs=6519488 seek=1"

Hope this helps
[8.9" Kindle Fire HD Android Development] dreamer609:
3/4 of the way lost... :(

Hmm I did read the original posts and have been pouring over other's posts, but I still cannot figure it out :( I am to the point where I am doing a search on my computer for any any ADB locations, adding "stack files to them and THEN trying the ADB Command. I did recently run the KFFirstAide and after placing "stack" files in the places it was complaining it could not find them, I did not see the "cannot find stack error," but it still gave me a red screen of death at the end... So one of those places must be something good.. I am going to place my bets on the "my username/local settings/temp file" directory.. which i can't seem to find any adb files, but it is closest to what the script. Although, just as I am typing I came across another folder.. the "KF8" folder in the KFFirstAide directory that seems to have all those files places in them together... But my other problem is if I get the "stack" script to read, what on earth do I do with the second command after that "adb shell su -c "dd if=/data/local/tmp/stack of=/dev/block/platform/omap/omap_hsmmc.1/by-name/system bs=6519488 seek=1" ?? I don't really understand what I am supposed to change that to or what I am supposed to move there to activate this script combination. I would installed the SDK drivers the OP posted, but I cannot find enough instruction somehow of what to use or install in that package, as I did when I rooted my original Kindle fire. And that actually worked fairly easily once I installed those SDK drivers with decent instruction.
[8.9" Kindle Fire HD Android Development] praed0r:
1 The stack file needs to be in the same directory as your ADB exe file

2 At the command prompt - change to the ADB exe directory - Type dir - then press enter to confirm that the stack file is there

3 Type or copy and paste the first ADB line exactly as posted in my first reply - then press enter

4 Type or copy and paste the second ADB line exactly as posted in my first reply - then press enter

Remember the command prompt you are using must be in the ADB directory
[8.9" Kindle Fire HD Android Development] dreamer609:
Stumped..

Thanks for responding so fast and rather detailed. I have been at that his for around 12 hrs. I wanted to fix up my kindle for my bro, but it seems like a major endeavor so far.. I will have to take a look at that gentleman's post for flashing it back to 8.14. Hopefully, it is not too painful.. I actually, had no trouble getting the Kindle to go into Fastboot. I ran the KFFirstAide's option where you can put it into fastboot and that seemed to have engaged it to do that ever since with not much trouble. I have mostly dealt with the confusion of what do with ADB and not being able to install the the bootloaders at the end of the KFFirstAide list. . I guess I will try to install the SDK drivers, but honestly have no clue which ones to enable. Which ones did you or other people enable / install this time around? I have not found a lot of reading on this for the Kindle 8.9. I deleted them all when I heard that KFFirstAides program needed them all off. I have been mostly using that program to disable OTA updates and restore my Kinda when it gets the red screen of death after I try to flash or install in some other way...I am thinking I might want to install the KFFirstAide on another computer just in case I have to restore yet again.. But I guess, I will have to try to revert back to 8.14.. and see if I can figure out how to get the ADB to work. I am still confused about the second command in "stack overflow" section. I am just not sure what to put in there or what to move..
[8.9" Kindle Fire HD Android Development] DesignGrits:
I would revert and start over if I was having that issue using the software I linked.

Step 2 is really easy. Download all of the files listed.

-Stack file

-freedon boot

-twrp

-cm10 rom

-google apps.

Put stack, freedom, twrp, in your folder with all the other fastboot files. And save the other two for putting on your sd card.

STEP 3:

adb push stack /data/local/tmp/

ENTER

adb shell su -c "dd if=/data/local/tmp/stack of=/dev/block/platform/omap/omap_hsmmc.1/by-name/system bs=6519488 seek=1"

ENTER

Go to step 4: (Always press enter in between each line)
[8.9" Kindle Fire HD Android Development] dreamer609:
Well, what I meant is that I will have to go from the current Kindle fire version of 8.31 to 8.14 is that it seems like so hopefully something will work. As for the SDK files... do you happen know which ones I am supposed to install off of that? That was my issue with using it in the first place, as i did not know which elements to install.. I am mostly stuck at step 3. I am hoping if I can figure out what files to install from the SDK that maybe I can figure out where my ADB and fastboot files are are. They are together I take it? Well, I have been at it 13 hrs.. I am just hoping that something actually works. I seem to escape hard bricking the device, but I can't seem to get figure out the ADB and I keep getting the "red screen of death... " at the end of trying to flash the boot loaders.. Maybe I should try to install the SDK on the other computer, as this one seems to work ok for restoring my Kindle when it gets soft bricked and the other has never had an ADB driver installed period.. Thanks for your help, btw. I do hope I can actually install this bootloader and ROM eventually :) But I should get some sleep and then hope I get luckier or get some more help tomorrow. Thanks for your help!
[8.9" Kindle Fire HD Android Development] DesignGrits:
Android SDK; http://developer.android.com/sdk/index.html#ExistingIDE

Download, extract, run the android sdk. A window will pop up ask you which sdk files would you like to download. I did first set of tools and then the 4.2.2. I didn't thinks its necessary but I did because I need them for other stuff. Kindle drivers can be downloaded from searching the web. I downloaded them from here: http://crackerpie.com/2013/03/17/how-to-root-the-kindle-fire-hd-8-9/
[8.9" Kindle Fire HD Android Development] mmesh:
[MENTION=4425761]soupmagnet[/MENTION]:

First, thanks for the effort...

After recharging tablet booted normaly into Custom ROM I installed (StariROM1.2 - modified 8.30). It seems that the bootloader wasn't corrupted :good: Now I can continue to try and install TWRP and CM10.1 :fingers-crossed:

I saw in the mail your question about udev... I think You edited that post in the thread. You reminded me about that - it is true that I haven't set it up for the KFHD on my Ubuntu 12.10. I did set it before for the Smartphone (i9001) but forgot about it. I should probably do that for the KFHD, too.

Are there any specific instructions for the KFHD8 and udev? Or can I use general instructions and apply them using vendor ids of KFHD?
[8.9" Kindle Fire HD Android Development] soupmagnet:
You can use whatever instructions you find to setup your udev rules, or you can install SoupKit (does it for you).
[8.9" Kindle Fire HD Android Development] dreamer609:
Thanks Everyone for your help! I finally got it!

So after hours of trying to figure this out, I finally got it. Thank you very much for letting me know the Command prompt could be (and was meant to be) run in the same folder as the ADB.exe that was installed. As a windows XP user, I never had that option originally and had to a search on "open command prompt in folder" so that I could enter in the registry script to give me that option. I always was used to running it out the Run command in the start menu. It was all fairly simple after that. I actually did not need to install the Android SDK pack. A lightbulb went off when I realized I needed to run the command prompt in the original folder of the KFFirstAid, as it had installed my fastboot and ADB. As soon as I ran the command prompt in that folder after transferring the downloaded files into it as well, everything went smooth as butter. Install done in literally 5 mins! Thanks everyone!
[8.9" Kindle Fire HD Android Development] DesignGrits:
Awesome news dreamer609. It was not fun for me as well., so I know how you feel. Glad you got it working :D
[8.9" Kindle Fire HD Android Development] dreamer609:
Quiet Volume in CM10?

To start off with, I love the bootloader and the ROM. Very smooth and responsive. Definitely advantages to being on a tablet compared to a phone. So I have not been able to find any posts about this in this thread (hopefully this is still a valid question in this thread.. if not, my apologies), but has anyone experienced CM10 having quiet volume? I have read that it did another thread, but I was not sure. I know the original Kindle Fire HD 8.9 originally had quiet volume as well, which I used Volume + for, but I wondered if anyone had a more elegant solution. Some ROMs have volume boosts for this type of issue I hear, but I am not sure how effective that solution is as well. I also read that CM10 seems to have some compatibility issues with bass boost. Is this true as well or are there certain programs it likes and does not like? I have only tried Beats Audio so far, as included in an Acid Audio pack that supposedly was compatible with CM10. Thanks for any suggestions.