yashsingh1/xdaforums huggingface dataset:
[7" Kindle Fire HD Android Development] Reflexdarky:
kindle

i managed to flash the recovery fine in fastboot but now i am stuck in a bootloop and unable to run the stock os is this normal or have i done somthing wrong

Rob:good:

EDIT: okie so i tried from a clean fresh system using the restore images, i have managed to install the recovery bootloader no problem and i can access it, but if i leave the kindle and want to boot stock it goes orange and the texts flashes like normal and just when you think its going to boot it reboots and does the same thing over and over and over only way to get it to boot is wacking in the fastboot usb and then flashing the stock boot.img i also tried flashing revs beta rom and in twrp it always says error status 7 dunno if that is becasue its not the finished thing or not i am bit stuck now :(
[7" Kindle Fire HD Android Development] Hashcode:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

try wiping data/cache? (factory reset)
[7" Kindle Fire HD Android Development] ursus101:
Yes, I know about this. This is what I replied to your post initially but you insisted that I read the OP again. That's where I got confused.
[7" Kindle Fire HD Android Development] Hashcode:
Let's try this:

Flashing to the previous bootloader worked to fix the 2nd-bootloader installation on the KFireHD 8.9 (thanks soupmagnet for testing). So ...

I have a link to the 7.2.3 u-boot (bootloader) file for the Kindle Fire HD 7" here:

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

md5sum bb029673d8f186db4dff6d38f4aa28cf

(You SHOULD check this before using fastboot -- downloads CAN be corrupted)

And this is flashed via fastboot with:

fastboot -i 0x1949 flash bootloader kfhd7-u-boot-prod-7.2.3.bin
[7" Kindle Fire HD Android Development] xxxo:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"
[7" Kindle Fire HD Android Development] mugendai:
Yea, so I had kept my fire hd off the wireless to try and not get the update.

However, I found I could not get the root to fully complete without registering the device, so I turned on wifi and registered, and completed root.

After completing root, I was doing so reading, and a few mins later I look back at my fire and... it was installing the update... I should have turned off wifi or disabled OTA right after that.

Well, anyway, it put me in a situation that resulted in me risking it.

I used the below linked 7.2.3 bootloader that Hashcode provided, and it worked just fine.

TWRP is up in running in second boot now.

Thanks Hashcode!
[7" Kindle Fire HD Android Development] Raymond199483:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

I'm ticked now it's going to be a pain now to root my kindle fire hd since it updated on me

Sent from my own hell
[7" Kindle Fire HD Android Development] Sanjay:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

Good work.:thumbup:

................................................................................................
[7" Kindle Fire HD Android Development] mugendai:
Actually it really was not much more difficult to root after the 7.3.0 update.

How to get root and recovery(boot2) after the 7.3.0 update on a Kindle Fire HD 7in (the short version):

1.) Use Linux (K/Ubuntu recomended)

2.) Get SoupKit and Rootkit Plus: http://xdaforums.com/showthread.php?t=2162986

3.) Get the 7.2.3 u-boot: http://xdaforums.com/showpost.php?p=39692637&postcount=182

4.) Use option 1 in Rootkit Plus to "Root, install Google Play, Remove ads & Stop OTA updates"

5.) Boot in to recovery using a fastboot cable or via adb with the following command:

adb reboot-bootloader

6.) Use fastboot to flash the 7.2.3 u-boot:

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

7.) Reboot to normal mode:

fastboot -i 0x1949 reboot

8.) Use option 6 in Rootkit Plus to "Install Bootloader Hack & TWRP Recovery"

9.) Done
[7" Kindle Fire HD Android Development] mrkhigh:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

Removed
[7" Kindle Fire HD Android Development] popa_qwerty:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

Is there a way to do this on Windows and if not will an virtual machine work
[7" Kindle Fire HD Android Development] Joomlar:
Hi, i have problem in first step.

When i type:

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

He say me /system/bin/sh: su: not found

Where is the problem?
[7" Kindle Fire HD Android Development] Hashcode:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

you need to be rooted first.
[7" Kindle Fire HD Android Development] mugendai:
It could be done in windows if you know enough to read through the shell scripts that come with Root Plus, and convert those scripts to windows scripts.

I tried with the root options from both, the FirstAid kit and from Qemu automated root, and both failed(after the update).

Root Plus was the only one that works for me.

I would not recommend trying from a VM. In theory it could work, but I have tried doing rooting type stuff from a VM(windows running under a linux host) several times, and run in to trouble repeatedly. Since this is a case of modifying things that could hard brick your device, I would advise you to not take that chance.

If you don't have a linux install you can do this from a boot CD or bootable flash drive. You can get an Ubuntu flash drive or boot disk quite easily.
[7" Kindle Fire HD Android Development] Joomlar:
STEP 2: Download the files you will need to install 2nd-bootloader, TWRP and possibly re-flash the Amazon Stock OS (+ stack):

Stack override file: http://goo.im/devs/Hashcode/tate/stack

kfhd7-freedom-boot.img (USED ONLY THE FIRST TIME -- .zip files will have their own boot.img's from now on): http://goo.im/devs/Hashcode/tate/kfhd7-freedom-boot.img

TWRP Recovery: http://goo.im/devs/Hashcode/tate/kfh...0-recovery.img

Full Amazon OS 7.2.3 flash .zip: http://goo.im/devs/Hashcode/tate/kfh...n-os-7.2.3.zip Make sure to place this file on the /sdcard for later flashing.

@hashcode

These link dont working?
[7" Kindle Fire HD Android Development] Hashcode:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

Odd, my link got smushed. I'll fix it in the OP as well, but its:

http://goo.im/devs/Hashcode/tate/kfhd7-amazon-os-7.2.3.zip
[7" Kindle Fire HD Android Development] Joomlar:
Ok, tnh, now links are working...

I was download 4 files and one zip files "kfhd7-amazon-os-7.2.3" i moved up to SD card.

I have a problem in this step:

C:\AndoridSDK\platform-tools>adb push stack /data/local/tmp

cannot stat 'stack': No such file or directory
[7" Kindle Fire HD Android Development] timurg:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

Do you have a root?
[7" Kindle Fire HD Android Development] Joomlar:
Yes....

Where i should be put stack file? he's place is in mycomputer/C:/download...

---------- Post added at 09:58 PM ---------- Previous post was at 09:52 PM ----------

Look this screenshoot http://postimg.org/image/ol800icxp/

---------- Post added at 10:00 PM ---------- Previous post was at 09:58 PM ----------

Please look this printscreen http://postimg.org/image/ol800icxp/
[7" Kindle Fire HD Android Development] mugendai:
Has anyone other than me had success at flashing the 7.2.3 u-boot.bin?

If you have, I'm sure it would help to let others know.
[7" Kindle Fire HD Android Development] seokhun:
Someone tried it and said it was successful, go ahead and do it, but take necessary precautions regardless.
[7" Kindle Fire HD Android Development] mugendai:
Yea, that was me. I was asking if anyone else has tried, and either succeeded or failed.

If flashing boot-u back is working for several people, then perhaps hash would want to update the OP with info on flashing the old boot back.

And the toolkit makers may want to add and option to revert it as well.
[7" Kindle Fire HD Android Development] xxsurfacexx:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

Hash code any progress on the cm10 release
[7" Kindle Fire HD Android Development] jailuis:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

He said this over twitter:

"Yes. Camera is fixed for HD 8.9", and I'm debugging the 1 bug show-stopper on HD 7" in the kernel."

So I have some hope :)
[7" Kindle Fire HD Android Development] Joomlar:
Ok tnx, i moved stack file before file explorer in /data/local/tmp/.

Now i am on step 5.

I powered off my kindle and type this command as on this picture:

http://postimg.org/image/99liva8qt/

Terminal tell me <Waiting device>. When i power on kindle, problem is the same as on picture...
[7" Kindle Fire HD Android Development] Joomlar:
I follow this step:
adb kill-server
adb start-server
adb devices
adb shell
su
reboot bootloader

after reboot, on my screen appeared fastboot. Now i type this command:

C:\AndoridSDK\platform-tools>fastboot -i 0x1949 flash boot kfhd7-freedom-boot.img
target reported max download size of 1006632960 bytes
sending 'boot' (8145 KB)...
OKAY [ 2.846s]
writing 'boot'...
OKAY [ 0.671s]
finished. total time: 3.523s

C:\AndoridSDK\platform-tools>fastboot -i 0x1949 flash recovery kfhd7-twrp-2.3.3.0-recovery.img
target reported max download size of 1006632960 bytes
sending 'recovery' (8145 KB)...
OKAY [ 2.846s]
writing 'recovery'...
OKAY [ 0.775s]
finished. total time: 3.626s

C:\AndoridSDK\platform-tools>fastboot -i 0x1949 reboot
rebooting...

finished. total time: 0.001s

after rebooting i got orange backgraund on screen and noting more... I hold, volume up but orange screen does not move. I restart kindle and already i only look orange screen.I am afraid that my kindle is broken
[7" Kindle Fire HD Android Development] soupmagnet:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

Do you have a factory cable?
[7" Kindle Fire HD Android Development] Joomlar:
No, i dont have factory cable. Can i buy some cable from here? http://www.ebay.com/sch/i.html?_trk...&_nkw=kindle+factory+cable&_sacat=0&_from=R40

I am from country that not supported paypal system and will be difficlult to order factory cable... but i will find it, if this is only way.

Tell me pls, what are chances for me that i save my kindle HD :(

where is my mistake in flashing...?

I found this factory cable

He responds for KFHD 7?
[7" Kindle Fire HD Android Development] soupmagnet:
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 7"

You know, you can make your own factory cable...

http://xdaforums.com/showthread.php?t=1392693

As far as fixing your device, you just need to plug a factory cable in and see if it puts the device in fastboot mode first.
[7" Kindle Fire HD Android Development] Joomlar:
Ok, tnx you very much...

I'll order from friend factory cable. He s arrived for two weaks...

When i put factory cable what are my next step?
[7" Kindle Fire HD Android Development] Hashcode:
Today, I added a new step in the instructions to account for most people getting updated to the 7.3.0 software. Look for step 4.5 which instructs you to flash the older 7.2.3 bootloader back onto the device.

Also, new to the instructions is a .zip (flashable in TWRP) of the 7.3.0 OS for flashing back to stock and recommended to flash at the end of the 2nd-bootloader installation.

It has it's own thread here:

http://xdaforums.com/showthread.php?t=2218475

Joomlar: When you get your fastboot cable I would re-do the installation steps (#2 and on)
[7" Kindle Fire HD Android Development] Hashcode:
Also just updated the 2nd-bootloader install w/ a new TWRP recovery file: version 2.4.4.0.

I'll start a separate thread to give credit to TeamWin/Dees_Troy who makes TWRP so awesome.
[7" Kindle Fire HD Android Development] Jester6:
Beat me to the punch, you`re the man hashcode.
[7" Kindle Fire HD Android Development] Hashcode:
New TWRP thread if you want to update just the TWRP install, view changelogs, see screenshots and general support:

http://xdaforums.com/showthread.php?t=2218796
[7" Kindle Fire HD Android Development] dagelo:
Broken ROM or something else :-/

Hello there,

have a trouble with my KFHD7. I have already installed TWRP with 7.2.3. Then i somehow updated my device with the ROM v. 7.3.0. But this ROM is not official. Because i have already in this ROM Superuser apk with root access.

The problem is, that now i havent TWRP. And cannot found out how to downgrade to 7.2.3 version. It doesnt matter official or custom.

The serious problem is that after rebooting to fastboot /when the logo displayed/, i cannot recognize my kindle via command shell. Its still waiting for device and fastboot logo still displaying.

I have all my previous backuped files - stock recovery and system img from this how to. I have also original 7.2.3 and 7.3.0 ROM. But cannot installed them.

When i put it to the kindleupdates folder and reboot, this folder just disappear without any changes. Still have version 7.3.0.

Also the button Update my kindle is still inactive.

Could you somebody help how to compltetly flash to original ROM? I have no factory cabel:-/

The reason why i want to do it is that lock screen is broken. Every time my kindle go sleep and then i want to wake him up, its freeze and reboot.

I can register, readeing, working with current ROM but cannot wake up device. Every time reboot

Very very thank you for any idea.

Cheers

.leg
[7" Kindle Fire HD Android Development] seokhun:
Boot into Recovery and factory reset everything, see if that helps. In the meantime, grab a folio case, and see if the automatic wake function works. Otherwise, go to settings > display > set sleep to never.

This is why you make Nandroid backups in TWRP before you make changes.
[7" Kindle Fire HD Android Development] dagelo:
Hello,unfortunately i cannot enter to recovery mode. When i type adb rreboot recovery its display me red warning that i have something wrong with kindle. See screen

Any idea what now?

Thanks and cheers

.leg
[7" Kindle Fire HD Android Development] seokhun:
That's actually the stock Recovery. Hit "Reset to Factory Defaults" and you're good to go.
[7" Kindle Fire HD Android Development] dagelo:
Interesting... but you know, when i slect factory reset, i obtain completly new system BUT with root access:) therefore i think its not original. Moreover this stock has broken lockscreen...and then, everyone know original lockscreen from amazon. It colored Ads. But this stock has black lockscreen with date/tine and circle for release for unlock and camera on other side.

Does factory cabel help me there ? Or maybe other way how to reflash?

Thanks and cheers

.leg
[7" Kindle Fire HD Android Development] Hashcode:
Factory reset here is only clearing data/cache. Not reseting system. So your changes to system will stay.
[7" Kindle Fire HD Android Development] quan_1986:
You download kfhd7 in sdcard Kindle HD7

Follow the hashCode method from here ."You need a cable factory recovery"

http://xdaforums.com/showthread.php?t=2128848

Hopefully you will recover Kindle .
[7" Kindle Fire HD Android Development] dagelo:
ye, but i havent factory cabel. I suppose i might by possible to downgrade from 7.3.0 to 7.2.3
[7" Kindle Fire HD Android Development] dagelo:
Solving fastboot problem

Dear everyone,

problem solved. So in short general: my problem was that in fastboot mode my device was not recognize and i have still waiting to device. I need fastboot because of problem with my ROM - every wake up my kindle get reboot him.

But it solved in my last attempt, i supposed, before i will buy factory cabel .) With the script application KindleFireFirstAid only choice no. 3 helped me. Dont know exactly how, because its still reboot to fastboot mode but with some magic my device in fastboot mode was recognize !! and all other commands succesfully done :)

So thankz everyone

my opinion -> Currently i am on 7.2.3 version. Maybe i will try 7.3.0. But dont want to use Kinology until batery using will be solved - 1 hour of reading and more then 10% is gone. Its not good.

And of course will wait and hope for CM 10.1

Cheers

.leg
[7" Kindle Fire HD Android Development] dagelo:
one more problem

Hello again

after i sucessfullz downgrade to 7.2.3, i have tried to instal TWRP again as i did it before. And after step 5

i get completly RED screen after fast blicking Kindlefire logo.

Anybody know how to solve it ?
[7" Kindle Fire HD Android Development] seokhun:
The 7.3.0 bootloader sticks, even if you downgrade to 7.2.3, so in short, you're screwed. The only way to avoid that was to flash the 7.2.3 u-boot file, so that you overwrite the 7.3.0 bootloader. Now you really have to get a factory cable.
[7" Kindle Fire HD Android Development] fattire:
Yup, the new bootloader shows a red screen when the digital signatures don't match. The older bootloader did not do that. If you get a "red screen of death" like that, it means that the new bootloader wasn't replaced with the old one, which allows the locked bootloader fix. So it looks like the new bootloader got copied but the new (signed) stock system/kernel/ramdisk did not get flashed. They all go together..

I can show you the code that turns the screen red in the new bootloader, if anyone is interested. I believe (though I don't have a Kindle HD) that you can use fastboot to replace the new (bad) bootloader with the old (good) one.
[7" Kindle Fire HD Android Development] soupmagnet:
Correct me if I'm wrong, but weren't we seeing cases of these red screens before the update?
[7" Kindle Fire HD Android Development] fattire:
It's possible, but the red screen stuff was connected to a bad verification of the certificate in the new code. If I remember correctly, the new code broke the old verification function into two new functions (one executed just after reading the certificate/header and the other after loading the boot partition), so it may have been taken from what was already there. Hashcode linked me to the new code a few days back, but I lost the link.
[7" Kindle Fire HD Android Development] los911:
Are these commands carried out in cmd prompt? I'm really confused.

btw I'm rooted sith 7.20 version. Safe to use?
[7" Kindle Fire HD Android Development] phatfish:
Hi all,

Sorry if this has come up before, i did check through this thread.

I ran though all the steps fine, all commands completed, got backups etc.

I can boot fine into Kindle OS still, and i was on 7.2.3 to start with so didn't need to downgrade the boot loader.

However... i cant get into TWRP recovery. I do volume up and Kindle logo goes blue and stays up for maybe 10 seconds, then it seems like it cant load the recovery as it just reboots back into stock OS.

Any ideas what i should try? TWRP image file MD5 checks out OK, could it be that there was a bad flash on the recovery?

Ok, seems i did it all right, i just couldn't hold down the correct button, sorry!
[7" Kindle Fire HD Android Development] dagelo:
RED SCREEN - continue

helllo,

i just remove previous text in this post and write this:

make own factory cabel, reboot and spent some time to solve some error - out of memory etc.

But now, i was able recovery system image and boot + recovery .. seems its booting.

now i can make more tests :) because have factory cabl D>

---------- Post added at 08:37 PM ---------- Previous post was at 07:49 PM ----------

But fact is that i canno still install TWRP 2.4.4.0 on my rootes 7.2.3 ROM version. I still get RED screen.

Therefore i woul like to ask about STEP 5:

the first fastboot command going to flash with freedom boot 7.3.0. Is it right in case i have 7.2.3 ROM?

There must be something strange,because i already install TWRP 2.3.3.0 without any problems.
[7" Kindle Fire HD Android Development] seokhun:
You need to flash the 7.2.3 u-boot file through fastboot, that's the one that drops your bootloader from 7.3.0 back to 7.2.3. Simply downgrading the system isn't going to cut it, the bootloader from 7.3.0 will stick, that's what gives you that red screen. You need to have BOTH the system AND the bootloader version 7.2.3 in order to get rid of the red screen.
[7" Kindle Fire HD Android Development] dagelo:
Yea.. great..i am on right way :) thank you.

will be good to leave old link in the instruction..in order to prevent RED screens, for someone who has still version 7.2.3
[7" Kindle Fire HD Android Development] dagelo:
Broken lockscreen with low density?

I have tried to change density from 240 to 200. Reboot and....vuala... instead of Ads lockscreen i have black lock screen. And this lockscreen with such constelation with density causing that every wake up-my kindle freeze and restart. whole other system works...just you cannot keep sleep the device.

Its only me?

Cheers

.leg
[7" Kindle Fire HD Android Development] psych0phobia:
This really isn't the thread for this, but.... Changing the density does result in the lockscreen going black. This is normal. I don't know about freezing/restarting - can't say I've personally experienced that.
[7" Kindle Fire HD Android Development] hamidwt:
Finally I could install this bootloader.

Here is what my problem was , it can be helpful to other noobs like me.

the problem was with step 1 , I thought entering the code like this would do it , but nothing will happen if you just copy&paste it like this

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

you should do it like this

first copy this

adb shell

press enter

then this one.

su -c "dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot of=/sdcard/stock-boot.img"

Such a stupid mistake !!

now waiting for cm10 .
[7" Kindle Fire HD Android Development] Shawnsch:
Hashcode:

At one point it was said that the kfhd had GPS and radio received/transmitter built onto board is this something that can be enabled?

I beleve I read it in the specs of the board
[7" Kindle Fire HD Android Development] kgyuszko:
I'm pretty sure there is no GPS (I so hope I'm wrong)!!

Kgyuszko

sent from my KFHD running kinology
[7" Kindle Fire HD Android Development] Raffo17:
Noob question: i need a fastboot cable to install 2-nd bootloader or i can use a standard usb cable in this way http://xdaforums.com/showthread.php?t=2096888?
[7" Kindle Fire HD Android Development] kgyuszko:
You can enter into fastboot without the factory cable yes, but most people on here will tell you, its a brave person to try it!

If you make even the smallest mistake then you have to get a factory cable to sort out the mess (first aide etc). If you are planning any development or modifications on your kfhd it is seriously recommended that you get the factory cable, (of course if your handy with the soldering iron then you can make one- youtube it!)

The long shot of this ramble is- Yes you can do it without the cable, but if you are in the position to get the factory cable then I seriously reccomend it!

kgyuszko
[7" Kindle Fire HD Android Development] jailuis:
You can alsp doenload fireFlash from the apps forum and use it... Its easier and no need for factory cable
[7" Kindle Fire HD Android Development] Raffo17:
ok thanks for the replies especially to jailuis for the excellent tips:)
[7" Kindle Fire HD Android Development] quan_1986:
Enable fastboot mode .Open power on your Kindle HD7 then plug into your pc using a Normal cable. If the device is recognized by adb then you can use this command:

adb shell su -c "reboot bootloader"

Now on KFHD7 have fastboot .Start with the first command and press enter.

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

next:

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

Download from here of Hashcode

http://goo.im/devs/Hashcode/tate

Enjoy
[7" Kindle Fire HD Android Development] Krsmqn:
Make sure you use the correct version. I mean it will differ whether or not you have 7.2.3 or 7.3.0.

Edit: I see quan has hooked you up. :thumbup:

This is a Kinology HD using XDA Premium
[7" Kindle Fire HD Android Development] hamidwt:
i got the 7.3.1 update and there is no sign of twrp on my device anymore ! does the same procedure work for this 7.3.1 version or we have to wait?