yashsingh1/xdaforums huggingface dataset:
[7" Kindle Fire HD Android Development] psych0phobia:
Amazon updates include flashes of the xloader, bootloader, boot, recovery, and system partitions. That means whatever customs bits you had are gone.

As far as installing this guy goes, it doesn't matter what version you're currently on. As long as you follow the directions carefully, you'll end with the 7.2.3 bootloader, the 7.3.0 Freedom boot, and the TWRP recovery. That plus the stack override is what it takes for success.
[7" Kindle Fire HD Android Development] Hashcode:
So, the 7.3.0 freedom boot works for 7.3.1?
[7" Kindle Fire HD Android Development] gizmo99301:
i was doing this process on my wifes kindle, and every step went correctly, but when it came time to boot to recovery, i couldnt get it to go there. i had the kindle fire logo going from orange to blue and i would push the up button and hold. if held too long would go to fastboot and if i released it once it turned blue, it would just fade back to orange and boot to stock rooted os. kindle was on 7.3.0 at the time, went to attempt process tonite and now tablet is on 7.3.1 without root. these things are a pain in the *ss...lol. ive never had so much trouble with getting this to work on any other of my android devices....
[7" Kindle Fire HD Android Development] psych0phobia:
Yes, no problem. There weren't many changes in that version, and a binary diff indicated no changes in the various boot related images.
[7" Kindle Fire HD Android Development] hamidwt:
yes i tried it too. it works.
[7" Kindle Fire HD Android Development] gizmo99301:
finally got it to work :) works on 7.3.1
[7" Kindle Fire HD Android Development] dexxa05:
Hi,

What i need to do, to update TWRP?!

Thx in advance
[7" Kindle Fire HD Android Development] soupmagnet:
Install the latest version.
[7" Kindle Fire HD Android Development] dexxa05:
Ok... But i need to redo all the installation from the first point?!
[7" Kindle Fire HD Android Development] hamidwt:
after flashing cm10, adb doesn't recognize kindle anymore , what should I do? I want to get a backup.
[7" Kindle Fire HD Android Development] soupmagnet:
Nope. If you already have the 2nd bootloader installed, you can install another recovery.img as you normally would.
[7" Kindle Fire HD Android Development] cd993:
**SOLVED**

Hi guys, after many attempts I am now having to seek some advice. My girlfriends Kindle Fire HD, was rooted and she updated it to the latest OTA. I was attempting to install the 2nd bootloader but it was failing, due to not being rooted anymore. Anyway, I rooted it without issue and then attempted the above. It resulted in bootloops (powers on, displays kindle fire logo, powers off, powerson, displays logo, powers off...) and doesn't progress. I have the correct drivers installed, as it was recognised by ADB. I didn't hacve a fastboot cable initially but got one now, and I have successfully repeated the quoted method to flash the bootloader etc, but upon it rebooting it just gets stuck in the bootloops. I am a geek with all of this, I am forever flashing my Galaxy Note 2, but I just am so stuck with this! I have cleary flashed the wrong file, I hope, as I can still access fastboot. Are there any alternatives I should flash? I have tried holding down the power button for 1 minute and other techniques like thaty, but without success. I hope this is detailed enough, I'll patiently await any help! Thanks in advance...

EDIT: Going to try the full system restore option from KFHD System.img Restore Tool, downloading now, I shall update....

EDIT FINAL: I completed the full restore and after going through the steps fully (I believe its because I missed flashing the stack file, perhaps?) I have now got TWRP installed and progressing to installling Kinology :)

Moral of this story? FOLLOW ALL STEPS, even experienced users can make mistakes! Oh and definitely buy a factory cable, highly worth it! Got mine for £2.68 delivered from Amazon UK
[7" Kindle Fire HD Android Development] Shawnsch:
I found adb wasn't enabled at first go to about tablet and click on the build number 7 times this enables developer options then you go in there and turn it on

Sent from my Amazon Kindle Fire HD running CM 10.1
[7" Kindle Fire HD Android Development] hamidwt:
Thanks , I enabled it the way you said, but still adb doesn't find my device.

I don't have android 4.2.2 package on my sdk manager should i install that?
[7" Kindle Fire HD Android Development] skinsfanbdh:
im trying to install 2nd boot loader but when i enter fastboot command this is what i get

< waiting for device >

i have left it here for 30min and its still at that screen

using kffirstaide i can boot into fastboot but when i try to flash 2nd bootloader it stays on < waiting for device > also

is there something im doing wrong?
[7" Kindle Fire HD Android Development] Krsmqn:
Enter the command without your kindle plugged in. When it says "waiting for device ", then plug it in.

Sent from my CyanogenFire HD7
[7" Kindle Fire HD Android Development] Shawnsch:
I read that jellybean has secure adb so you need to have the latest adb on your computer

Sent from my Amazon Kindle Fire HD running CM 10.1

---------- Post added at 03:06 PM ---------- Previous post was at 03:04 PM ----------

Sounds like your fastboot drivers arnt working

Sent from my Amazon Kindle Fire HD running CM 10.1
[7" Kindle Fire HD Android Development] skinsfanbdh:
okay so my question was never answered that i can find. when installing 2nd bootloader i get stuck at

we are now flashing freedom bootloader

< waiting on device >

it just sits there ive left it for an hour and nothing still waiting on device. ive tested fastboot and it does boot into fastboot with your program
[7" Kindle Fire HD Android Development] soupmagnet:
That doesn't mean your fastboot drivers are working.
[7" Kindle Fire HD Android Development] skinsfanbdh:
so what does it mean? im trying to do this for my girl because she hates the amazon os any help would be greatly appreciated
[7" Kindle Fire HD Android Development] BnYmN:
I flashed the 7.3.0 bootloader without the TWRP. Now i have a red screen on boot. Is it bricked or can I repair it without factory cable?
[7" Kindle Fire HD Android Development] seokhun:
Plug in your device to your computer. Then go to CMD and run the command "fastboot" and hit Enter. If that creates a block of text, then your fastboot.exe is working. Now turn off the device and unplug the cable. On CMD, type the command "fastboot -i 0x1949 getvar product" and hit Enter. It will return with <waiting for device> so plug in the tablet. If your fastboot driver works, you should reboot into fastboot mode. Then go ahead and type "fastboot -i 0x1949 reboot" to exit fastboot mode.

If there's no block of text, you need to install Android SDK. That will automatically install fastboot drivers, once you enable ADB on the tablet and plug it in without CMD open.

Did you forget to flash the 7.2.3 u-boot file? If so, you're screwed. Go to Amazon's website, grab a factory image, and flash through fastboot.
[7" Kindle Fire HD Android Development] zander78:
make sure if you do use a fastboot cable that you switch back to stock cable to perform the fastboot commands. this is only it worked for me.
[7" Kindle Fire HD Android Development] esox_hu:
HI Hashcode,

i followed you detailed step-by-step description (1-4, 4.5, 5) about insalling second bootloader, but after the last command:

fastboot -i 0x1949 reboot

my kindle fire hd 7 rebooted and booted again and agian...only the yellow verion of the kindle fire title can be seen, than blank screen and the yellow comes again...

Is there any way to fix it with usb live cd (ubi12.10 with fk-1.1.zip or SoupKit?)

I really nervous :(

I can't see my device anymore in adb. But i could enter to fastboot mode before that happened, i was using that command:

adb shell su -c "reboot bootloader"

but i can not enter anymore...

PLs help. My fastboot cable is on the way. Sholud I have to wait for it (11th May) or do i have any other choices, please?
[7" Kindle Fire HD Android Development] gflorezarroyo:
------------------------------------------------------------------------------

Don't worry, you only forgot to grant Superuser permission in the Stack installation. If the screen is blocked it doesn't appears. I made the same mistake. You can "Fastboot" reinstall stock Boot and Recovery easily when you have the FastBoot cable. only two commands:

fastboot -i 0x1949 flash boot boot.img

fastboot -i 0x1949 flash recovery recovery.img

(boot.img and recovery.img from the backup you made earlier, must be in the same directory that the Fastboot command)

Or with the Noob First Aid Kit from Prokeenexusa you can flash automatically all the entire stock Rom

I learned this the hard way.......

And yes, Fastboot with a cable is your only option now. The difference is that the middle pin of the five present on the micro USB is powered to +5v, and not like in the normal cables, not connected.....
[7" Kindle Fire HD Android Development] esox_hu:
Do you mean i forgot to run this command?

"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""

Hm... could be... don't remember.

But thanks a lot.

So I need to wait for the cable now. 2 weeks is fine.
[7" Kindle Fire HD Android Development] skinsfanbdh:
do i need a factory cable for this to work? or do i need it just in case something goes wrong?
[7" Kindle Fire HD Android Development] dugoy13:
you don't actually need a fastboot cable. but it is highly recommended.

just make sure you are

rooted and input the command in adb

adb shell su -c "reboot bootloader"

and you'll be in fastboot mode, even with a regular cable.

Sent from a Kindle Fire HD running CM10.1 using Tapatalk 2
[7" Kindle Fire HD Android Development] quan_1986:
We created a tool based on the guidance of Hashcode .If the device is recognized by adb then you can use this Tool. Don't use factory cable.

NOTE: Only works on stock ROM and ROOT finished. And not to install any other recovery program

Link download Tool install custom bootload +TWRP 2.4.4.0:

http://www.mediafire.com/?58qhgbgs8k5xsil
[7" Kindle Fire HD Android Development] redbullman:
Hi quan_1986. Can you clarify how this works? Are you saying if rooted we don't need to follow the normal 2nd boot loader process? Thanks
[7" Kindle Fire HD Android Development] quan_1986:
you download and extract the file then you find Run me ENG.bat and run it, will look like the image below:
[7" Kindle Fire HD Android Development] redbullman:
That's interesting. What about being on 7.3.1 though. Normally you have to flash an older version of the boot loader. Thanks
[7" Kindle Fire HD Android Development] quan_1986:
You can check via C++

Or the tools folder
[7" Kindle Fire HD Android Development] esema1o:
We really need a video how to installing this can someone make one plz :D
[7" Kindle Fire HD Android Development] mrkhigh:
Perhaps you could add the backup commands for the rom as well,

This does NOT reflash the os does it?
[7" Kindle Fire HD Android Development] PetarHolland:
guys i'm stuck! :(

when i type "fastboot -i 0x1949 getvar product" in my cmd i get the < waiting for device> screen but when i plug my device, they start up normally and the < waiting for device> screen and i can't type again in my terminal... Where i'm wrong?? adb drivers seems ok, if i type adb devices with the kindle plugged, it retourn the device code.... In the device manager i have the kindle as "Android Composite ADB Interface" (in the table bottom right cell, n.d..r). Any suggestion??? thanks,

Petar
[7" Kindle Fire HD Android Development] quan_1986:
we have installed a lot of kindle hd7 bootloader + TWRP 2.4.4.0 with the tools to successfully install the hashcode CM10.1.thanks Hashcode .

Gửi từ CyanogenMod HD7 của tôi bằng cách sử dụng Tapatalk 2
[7" Kindle Fire HD Android Development] PetarHolland:
quan i'm on the 7.3.1, can i try your tool without risk?? i mean, i can just check if the adb are correctly installed, and then proceed with hashcode bootloader?
[7" Kindle Fire HD Android Development] dugoy13:
Petar, do you have a fastboot cable? If you do, turn off your device and plug in the fastboot cable to your PC then into your device.

If you don't have one and want to boot without one, make sure you are rooted and have the adb drivers installed and enabled ADB debugging in Settings -> Security before doing the steps below.

For making you device boot into fastboot mode without a factory cable, do the following.

-Boot your device normally, then go to your PC and press

Windows Key + R, then type cmd.

-Then type adb shell su -c "reboot bootloader"

Sent from a Kindle Fire HD running CM10.1 using Tapatalk 2
[7" Kindle Fire HD Android Development] PetarHolland:
EDIT 12.45

I have even checked the device manager, when i boot my device in fastboot mode, i have the change, i attach the screenshot.

EDIT

Writing adb shell su -c "reboot bootloader", my device rebooted and i have the Fastboot logo on my screen. Now it seems locked here, i can continue the hashcode guide to install the bootloader or there is something wrong?

I don't have a factory cable... I have correctly rooted my kindle and ADB SEEMS ok.... The device ADB is set on, in the device security options.

You tell me to try with adb shell su -c "reboot bootloader", but when? ^^ I start my cmd terminal, plug my kindle (it will turn on) then i give him this command???
[7" Kindle Fire HD Android Development] dugoy13:
When its booted up properly and when you see your device in

adb devices

Sent from a Kindle Fire HD running CM10.1 using Tapatalk 2
[7" Kindle Fire HD Android Development] PetarHolland:
when i type

adb shell su -c "reboot bootloader"

my kindle reboot and i have the fastboot logo on the screen, can i now continue with the hascode guide??
[7" Kindle Fire HD Android Development] quan_1986:
Step 4.5 : if you have fastboot , you type the code Hashcoce

fastboot -i 0x1949 flash bootloader kfhd7-u-boot-prod-7.2.3.bin
fastboot -i 0x1949 flash boot kfhd7-freedom-boot-7.3.0.img
fastboot -i 0x1949 flash recovery kfhd7-twrp-2.4.4.0-recovery.img
fastboot -i 0x1949 reboot
[7" Kindle Fire HD Android Development] PetarHolland:
I have to follow hashcode guide from step one? or i have to do the 4.5, replacing my 7.3.1 operating system and then step 1? :confused:
[7" Kindle Fire HD Android Development] mrkhigh:
The fast boot logo is where it sits at yes carry on
[7" Kindle Fire HD Android Development] quan_1986:
You have to follow from step 1 to step 4 with standard cable .Step 4.5 you have to type this command .To kindle HD7 into fastboot mode

Step 4.5

adb shell su -c "reboot bootloader"

Now on the Kindle Fastboot mode and continue

fastboot -i 0x1949 flash bootloader kfhd7-u-boot-prod-7.2.3.bin

Step 5:

fastboot -i 0x1949 flash boot kfhd7-freedom-boot-7.3.0.img
fastboot -i 0x1949 flash recovery kfhd7-twrp-2.4.4.0-recovery.img
fastboot -i 0x1949 reboot

ENTER RECOVERY: Make sure to hold down the [ Volume UP ] button while the logo is still showing YELLOW and this will trigger recovery entry.

** If everything was done correctly your Kindle will reboot and you will at first see the normal Kindle Fire ORANGE logo and then it will fade and come back as a BLUE logo. **

NOTE: It does currently take a FULL minute+ for recovery to show up. I'm investigating. Be patient. If it's more like 5 minutes and nothing is happening then try powering down and enter recovery again.
[7" Kindle Fire HD Android Development] PetarHolland:
OK i all works, i'm on the twrp v2.4.4.0 interface but i'm a little confused with step 6

*STEP 6: Flash the Amazon OS (pre-rooted with the stack included) in TWRP

* This step is somewhat optional: Because we had to drop a 4K file right in the middle of the operating system, there is a chance that we've killed a binary that is used by the OS. To fix this you can re-flash the OS using the provided .zip file. And this will relocate all files so that they don't land on the stack space. But you will lose any OS customizations you have in place. The OS will be stock + rooted w/ Superuser.apk & busybox.

Select "Install"

Use the file manager to browse and click on the "kfhd7-amazon-os-7.3.0.zip" file.

Swipe to start.

Once that's done, reboot.

NOTE: That once we start using Jellybean ROMS, the location of "sdcard" can move and to find this file you may need to go "Up a level" to find "data" and then "media" and look for it in there.

I can't find the kfhd7-amazon-os.7.3.0.zip on the install directory.... Why the guide tell this step are optional?

---------- Post added at 04:51 PM ---------- Previous post was at 04:35 PM ----------

I have to flash it on my sd card this way?

fastboot -i 0x1949 flash boot kfhd7-amazon-os-7.3.0

?? This is the right way? :D
[7" Kindle Fire HD Android Development] quan_1986:
You are on the Amazon os no need to do this step . You just have custom bootloader +TWRP 2.4.4.0 to your flash Kinology 2.0.1 or CM10.1

:Chiến thắng:
[7" Kindle Fire HD Android Development] PetarHolland:
Lol so it's over? i just need to flash CM10.1 and then install from twrp?? Seems easy now :D I don't even need to wipe data and system before flashing CM10.1 for the first time right?
[7" Kindle Fire HD Android Development] quan_1986:
Step 2 : Must be fully downloaded to a folder and type in order from step1 to step 5 completed
[7" Kindle Fire HD Android Development] PetarHolland:
I ddn't undestand this reply, sorry :confused:
[7" Kindle Fire HD Android Development] quan_1986:
Sorry ...I mean, are you all step 2 for download to a folder.

You follow the steps on page 1 and follow

STEP 1. Backup your stock partitions to your own HD for later if you need disaster recovery:

STEP 2: Download the files you will need to install 2nd-bootloader, TWRP and possibly re-flash the Amazon Stock OS (+ stack):

STEP 3. Install the stack override in /system:

STEP 4. Stop the auto recovery update script (this file may or may not be present):

STEP 4.5: APPLIES IF YOU ARE ON SOFTWARE VERSION 7.3.0 OR GREATER

Download the older 7.2.3 bootloader file and flash to your device via fastboot:

http://goo.im/devs/Hashcode/tate/kfhd7-u-boot-prod-7.2.3.bin

md5sum bb029673d8f186db4dff6d38f4aa28cf

STEP 5. With the device powered off: Issue the following commands into your command/terminal window on your PC. Start with the first command and press enter. This will show and then connect USB and power on the Kindle. Once the fastboot screen is shown and the first command completes you can enter the rest of the commands.

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

CONGRATULATIONS YOU NOW HAVE THE ABILITY TO INSTALL CUSTOM KERNELS / RECOVERY AND ROMS.
[7" Kindle Fire HD Android Development] PetarHolland:
Yes man, i followed the guide, now i have my TWRP interface. What i have to do to install the cm 10.1??

reboot in fastboot mode, fastboot by cmd the gapp and cm10,1 and install with twrp or i have to do some intermediate step?
[7" Kindle Fire HD Android Development] seokhun:
Oh my God, just stop. It's a .zip file, there's no way you can flash a freaking .zip file in fastboot or cmd. You can only do that in a custom recovery, like TWRP. Forget all about everything else, just boot into TWRP, wipe system and factory reset, then flash the ROM + Gapps and reboot system. THAT'S ALL!
[7" Kindle Fire HD Android Development] xWolf13:
Crap. Orange screen. Its stuck there. What do I do? I dont have a fastboot cable.. How do I do it without?
[7" Kindle Fire HD Android Development] Shawnsch:
As far as I know your only fix is to get a factory cable
[7" Kindle Fire HD Android Development] seokhun:
If you have the backups from step one, use fastboot to flash those and you'll be back to where you started, then try again.
[7" Kindle Fire HD Android Development] KindleFireGuy:
Meh forgot to flash uboot but flashing it fixed it :D
[7" Kindle Fire HD Android Development] esema1o:
U can :what: I dint know the in here im using the old one wtf man :eek:
[7" Kindle Fire HD Android Development] GMattZ:
*DONT RE-FLASH FREEDOM-BOOT.IMG LATER AFTER FLASHING CM10.1 -- IT'S FOR STOCK AMAZON OS ONLY / FIRST INSTALL ONLY*

Does this mean that after flashing CyanogenMOD 10.1, and then reverting back to Stock Amazon OS, and if I choose to re-flash CM ROM again, I should not flash that?
[7" Kindle Fire HD Android Development] seokhun:
That's the 2nd-bootloader. Flash it to install it the first time. After that you don't need it again. Ever.
[7" Kindle Fire HD Android Development] AJ Bryant:
Man, my KFHD7 is rooted and all, I just want to install TWRP and that's it. Where's a small simple guide on how to flash TWRP only..? I'm on the latest firmware and I have a launcher on the Kindle (if that matters)

Edit: Nevermind, found what I needed on this forum if anyone has the same problem http://xdaforums.com/showthread.php?t=2271909
[7" Kindle Fire HD Android Development] onemeila:
Just wanted to bring this to everyones attention that this

will not

work for the 7" HD(I think it is the same with the KF2 also). If the device cannot be recognized by adb then the only way to get into fastboot is with a factory cable. The only one this works for is the 8.9" version of this device.
[7" Kindle Fire HD Android Development] Hashcode:
Don't I mention in these instructions to plug in a fastboot cable? I'm confused which part won't work. (Its in the part that you quoted)
[7" Kindle Fire HD Android Development] seokhun:
It does work on the 7" because I tried it myself and it worked. Of course it doesn't work without ADB because you must have ADB drivers working in order to use fastboot.

It does work.
[7" Kindle Fire HD Android Development] onemeila:
You are right it does say to use the factory cable, I missed that, but if you are using a factory cable it is unnecessary to use the cmds(guess thats what confused me). If you are powered down and plug in a factory cable the device will automatically go into fastboot.
[7" Kindle Fire HD Android Development] Hashcode:
Yes plugging a fastboot cable in and turning on the device will put it in fastboot mode, but that doesn't mean the user has fastboot setup correctly.

The first command checks if fastboot is actually working for the user and also let's them verify that they are working on the correct device (Tate, Jem, etc).
[7" Kindle Fire HD Android Development] Guitarfreak26:
Sorry if its a stupid question but i successfully followed the OP.

And the kindle fire booted fine, meanwhile i left the kindle on the side while i downloaded kinology rom.. When i went back to copy the files over it had crashed on twrp... So i held the power button but now im just stuck on the kindle fire logo, its on for a few seconds then reboots again.. Cant even enter recovery?

Ive tried repeating the fastboot flashes but its made no difference :(
[7" Kindle Fire HD Android Development] Hashcode:
So if I understand, you're sitting at a yellow logo which never flashes blue? Have you tried restoring the original files and started over (after booting up to Amazon OS to make sure everything is in working order)?
[7" Kindle Fire HD Android Development] Guitarfreak26:
It booted fine first, but i didnt flash stock amazon os because everything seemed ok..

Next time i looked at it twrp was on flashing something, but it had got stuck. I held the power button but now im stuck in a bootloop. The orange kindle fire logo comes on for about 5 seconds on and off
[7" Kindle Fire HD Android Development] Hashcode:
I have to wonder if this was caused by a newer bootloader (7.4.1?) Can you confirm that you've flashed (or re-flashed) the older 7.2.3 bootloader?
[7" Kindle Fire HD Android Development] Guitarfreak26:
Sorry mate forgot to update.. I used the system recovery tool and got it booting, then i re followed your guide then flashed kinology and all is fine now..

I have no idea for the life of me what TWRP was flashing last night though, it was literally fully booted and just left on the side then it had gone back into recovery by its self.. first time ive seen that :P all fine now though thanks