yashsingh1/xdaforums huggingface dataset:
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

There are two different ways i can suggest:

1. Try this tool- it will download the system images and do all the heavy lifting for you-

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

2. Or, you can do what i did.. I got the dropbox download location from the runme.bat file and downloaded the files, then ran the fastboot commands manually.. Just look in the batch file for "option1".

I've been back and forth a couple times now just playing with things. I've become foolishly confident with my fast boot cable on hand. I still can't seem to make a cwm flashable zip for stock though.. Just not sure what I'm doing wrong. If i ever figure it out i promise to share :D

--

Sent from my Kindle Fire 2, CM 10.1
[Kindle Fire 2 Android Development] hillconnor13:
Thank you always a great help and very generous just keep repacking till it works its normally a packing fault (y)
[Kindle Fire 2 Android Development] hillconnor13:
everything went smoothly I did it your way it seemed to be the easiest much more simple had a little panic attack after it the red triangle came up but that just told me to wipe it rebooted and perfect thanks again.
[Kindle Fire 2 Android Development] danny19901:
Great work no issues at all flashed through recovery and all is great extremely smooth thank you for hard work much appreciated
[Kindle Fire 2 Android Development] ktdt00:
NTFS Fuse?

<<Deleted>>
[Kindle Fire 2 Android Development] ErwinP:
Hello

Just installed this and all is working REALLY great. One thing though: when I came from the 0115 to 20130129, market stopped working. I reflashed gapps and cleared cache and dalvik cache. I had to remove every updated from the market in order to get it working. Now it seems good.

Looking forward to see this in the official CM branch!

Erwin
[Kindle Fire 2 Android Development] melvsmeister:
If in TWRP you did, WIPE for:

-SYSTEM

-FACTORY RESET

-FORMAT DATA

can you still install ROM if the whole SD card is erased?

I can adb push to /data/media but pushing ROM giving me an error of '/data/media': No space left on device

I tried push gapps and it says successfull showing the size of file transferred but when I reboot to TWRP and browse in file manager or install I can't find the gapps. Any advice?

Note: I can boot to Kindle fire blue boot screen and detect adb but in TWRP it doesn't show adb so I can't use the adb sideload functionality. I can also boot to fastboot by changing boot mode to terminal emulator via TWRP.

Thanks in advance!
[Kindle Fire 2 Android Development] ErwinP:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

As you deducted yourself: the emulated sdcard gets wiped after formatting data, so that is indeed a problem if you have put your update zip over there.

However, you can use adb to push the zip to your sdcard:

adb push ROM.zip sdcard/

. You do not have to mount your sdcard in TWRP, just boot in recovery, connect to your computer and execute the above command. When you are asked to choose a zip from the sdcard, you will be able to see it.

I hear you coming: when you try to go to sdcard/ in the shell, you will get an error. Also "mount sdcard" is not possible. I don't known the reason behind this, all I know is that it is possible to push to there :p

Success,

Erwin
[Kindle Fire 2 Android Development] hillconnor13:
Was going to say that my self :P
[Kindle Fire 2 Android Development] Riotr:
1 bug i found.

after freshly rooting and installing custom recovery i installed this rom. worked beautifull and wifi worked on first try. but when i switched off wifi for the first time, it doesnt seem to want to come on back now when i turn try. is there some way to go about fixing this??

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

can someone help me with above post ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ if it helps. before i turned off the wifi. i went in the wifi settings and "forgot" a saved wifi network i was connected to cause i didnt want who was using the kindle to use my net. after receiving back the kindle i restated it and tried turning back on wifi... no response. it just loads saying its turning on wifi but it never does.
[Kindle Fire 2 Android Development] melvsmeister:
Thanks for taking time to reply, I'm still having problems in pushing ROM to /data/media folder due to "No space left on device" error message. I wonder if I'm missing some steps since I can push gapps but unable to find it in TWRP. I hope someone who might had the same situation can help me, I'll just wait for others to reply. Thanks again.
[Kindle Fire 2 Android Development] mammenj:
@hashcode dont mean to rush but :o

Is there any updates from CM team regarding the nightly build for fire2 ?
[Kindle Fire 2 Android Development] mothman57:
Official CM Support

Looking on the CM website, it shows the Otter2 (Kindle Fire 2nd Gen.) as an official support device. Is this true? I assume so!
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Pretty sure hashcode just got recruited to the CyanogenMod team..

So probably. I checked get.cm, but no nightlies yet :(

--

Sent from my Kindle Fire 2, CM 10.1
[Kindle Fire 2 Android Development] flopower1996:
Go to: http://get.cm/?device=otter2

There is the first nightly:)
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Nice. Looks like it was JUST built. I will test it and get back to y'all :D

--

Sent from my Kindle Fire 2, CM 10.1
[Kindle Fire 2 Android Development] mammenj:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Wow, talk about it and here it is:)

Thanks @hashcode

Edit: just downloaded, and testing it.

after installing it, left the kindle for 15 minutes on and came back to completely dead kindle. now charging to see what happened :(
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Seems to work fine. Fyi- I also used the new 3/1 gapps

--

Sent from my Kindle Fire 2, CM 10.1
[Kindle Fire 2 Android Development] flopower1996:
Same for me the device ran out of battery. Hopefuly it come back to life. :(

Dont't install the first nightly.
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Strange. Did you guys do a clean install or a dirty flash?

Because mines been fine since I installed it.. 3+ hrs so far.

But you guys got me scared so I'm gonna go back to my backup.

--

Sent from my Kindle Fire 2, CM 10.1
[Kindle Fire 2 Android Development] flopower1996:
ok it was a simple BSOD (black screen of death).

just hold the power button for 20 sec and it reboots.
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Ok. Fear went away. Back on the nightly :D

Edit: just wanted to add- seems like the issue with audio and video not syncing up in YouTube and Netflix is gone.

--

Sent from my Kindle Fire 2, CM 10.1
[Kindle Fire 2 Android Development] mammenj:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

did a dirty flash. after the first sod, after waking it up everything seems to OK now.:thumbup:

# sent from a Π Σ Χ U S⁴ by tapatalk
[Kindle Fire 2 Android Development] mothman57:
Flashing Nightlies

Now that nightlies are coming out, can you flash over the previous nightly, or do people still recommend a clean install everytime?
[Kindle Fire 2 Android Development] flopower1996:
No fullwipe is needed just flash the nightly and you're good to go.
[Kindle Fire 2 Android Development] Clarke33:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Can this be flashed with goomanager? I tried to flash it with TWRP but it failed. Does it have to be flashed with ADB?
[Kindle Fire 2 Android Development] mammenj:
Today I reverted back to Stock Jelly Bean 4.2.2_r1 for the Kindle Fire 2 [02-12 4.2.2_r1] from @hashcode.

My daughter was complaining about IMDB and youtube not loading video or too slow loading..

Seems like there are some video issues in the cm version :(
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Try redownloading and checking the md5. Sounds like a bad download. This should flash fine from twrp

--

Sent from my Kindle Fire 2, CM 10.1
[Kindle Fire 2 Android Development] Clarke33:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Ok. I'll try it again. Thanks
[Kindle Fire 2 Android Development] mammenj:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

can this thread be used for discussion of the official cm 10.1 otter2 build?

# sent from a Π Σ Χ U S⁴ by tapatalk
[Kindle Fire 2 Android Development] flopower1996:
hmmm thinking about a new thread
[Kindle Fire 2 Android Development] FatalityBoyZahy:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Is there a way top enable tablet mode in CM10?
[Kindle Fire 2 Android Development] flopower1996:
AW: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

No you need the stg7 Rom from powerpoint45.

Gesendet von meinem LG-P990 mit Tapatalk 2
[Kindle Fire 2 Android Development] jimgreat:
I could've sworn I saw a flashable zip somewhere back on android central that worked on any device running CM10 to enable tablet ui. Don't quote me on that but I'm looking into it now.
[Kindle Fire 2 Android Development] alanthemanofchicago:
Not sure if anyone's noticed this but if you don't have a fastboot cable, just run

adb push boot.img /mnt/sdcard
adb push twrp.img /mnt/sdcard
adb shell
su
#dd if=/mnt/sdcard/boot.img of=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot
#dd if=/mnt/sdcard/twrp.img of=/dev/block/platform/omap/omap_hsmmc.1/by-name/recovery

from a running OS. It seemed to do the job for me.
[Kindle Fire 2 Android Development] mothman57:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

The nightlies on CM's website, do they have the some issues as posted in this ROM section as far as sleep function improvement needed, kernel updates, etc....
[Kindle Fire 2 Android Development] mindmajick:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Here are the nightly changelogs:

http://mobile.10.1.cmxlog.com/?device=otter2

--

Sent from my mind to your screen.
[Kindle Fire 2 Android Development] Hashcode:
Nix my previous version of this post: Don't use the 3/26 build. It's borked. I'll fix for the next nightly.

I booted up the otter build and it's working fine. FIXED reboot recovery issue.

I'm having issues on another device, and I thought Kindle's might be affected too.

Can someone check the 3/26 otter 2 build and report back?

http://get.cm/?device=otter2
[Kindle Fire 2 Android Development] flopower1996:
AW: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0.50 Kernel for Kindle Fire 2 [01/29 CODECS]

Hamm 3/26 worked perfectly fine for me

Gesendet von meinem Amazon Kindle Fire2 mit Tapatalk 2
[Kindle Fire 2 Android Development] Hashcode:
NEW support thread for OFFICIAL CM on the Otter2 (Kindle Fire 2):

http://xdaforums.com/showthread.php?t=2209995
[Kindle Fire 2 Android Development] Hashcode:
As of 3/27 it looks like Amazon is pushing update 10.3.0 which has a new bootloader in it.

This bootloader has now closed the security hole that we were using to load the 2nd-bootloader.

We might still be able to re-flash the 2nd-bootloader from 10.2.4 where this hole exists, but this is unconfirmed as of yet.

If you are on the 10.3.0 software you will NOT be able to use the OP's instructions for applying the 2nd-bootloader fix. Hold off until we figure out of re-flashing the 10.2.4 bootloader works.
[Kindle Fire 2 Android Development] fmkilo:
I thought that literally, by design it had to work...
[Kindle Fire 2 Android Development] flopower1996:
Is it not possible to downgrade to an earlier version via fastboot?

EDIT:

I would do this steps:

1.) Downgrade system, bootloader and recovery via fastboot to 10.2.3

2.)Then install 2nd bootlader and twrp recovery via the APK (provided here in the dev section) or via fastboot.

Caution not tested by me!!!!
[Kindle Fire 2 Android Development] soupmagnet:
See above, and now below...
[Kindle Fire 2 Android Development] flopower1996:
AW: [BOOTLOADER] 2nd-Bootloader/Recovery unlock process for Kindle Fire 2

Haha thanks.

Gesendet von meinem LG-P990 mit Tapatalk 2
[Kindle Fire 2 Android Development] Hashcode:
Instructions for flashing your bootloader back to the 10.2.4 binary (this worked for the KFireHD 8.9 -- thanks to soupmagnet for testing):

Link to the 10.2.4 u-boot (bootloader) file for the Kindle Fire 2 here:

http://goo.im/devs/Hashcode/otter2/otter2-u-boot-prod-10.2.4.bin

md5sum 5b03a7b428325de8d360ec201a745498

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

And this is flashed via fastboot with:

fastboot -i 0x1949 flash bootloader otter2-u-boot-prod-10.2.4.bin
[Kindle Fire 2 Android Development] flopower1996:
Hashcode can you port the newest version of twrp to our device?

That would be great.
[Kindle Fire 2 Android Development] aarons510:
I did this and it seemed to work, judging from the Terminal responses (which I unfortunately seem to have failed to save). But how can I verify that it has, and that the 10.2.4 bootloader is installed? (The System version still shows as 10.3.0_user_xxxxxxx, which I presume does not contradict the bootloader version being 10.2.4)

And in this situation, is it safe to just try to flash (with fastboot) an appropriate TWRP image to see if that works?
[Kindle Fire 2 Android Development] Hashcode:
Re: [BOOTLOADER] 2nd-Bootloader/Recovery unlock process for Kindle Fire 2

yep, there is really no way to confirm bootloader version after flashing.
[Kindle Fire 2 Android Development] abreeden:
Assuming if you are already running CM10.1 nightlies you have nothing to fear from this 3/27 Amazon update? i dont see how, but i want to be sure before i have a couple of family members drop their bricked KF2's in my lap.
[Kindle Fire 2 Android Development] peoro:
So, if I do like this, I'm gonna flash a 100% working bootloader?

A few days ago I tried to flash a bootloader this way, but I totally bricked the device and had to send it to warranty. (I believe it's because I flashed a bootloader for Kindle Fire 1 though).
[Kindle Fire 2 Android Development] Hashcode:
Re: [BOOTLOADER] 2nd-Bootloader/Recovery unlock process for Kindle Fire 2

The only time you should flash the bootloader partition directly would be to downgrade to an older version of the stock signed bootloader.

Other than that, we dont touch the stock bootloader.
[Kindle Fire 2 Android Development] mpr90:
I didn't see anything in this thread about which software version this procedure does work with (other than that it doesn't work with 10.3.0). Does anyone know if works with 10.1.1 (which I have on my KF2)?
[Kindle Fire 2 Android Development] Hashcode:
I works on any of the previous versions of the OS.
[Kindle Fire 2 Android Development] Hashcode:
OP is updated:

1. Includes the option of downgrading the stock bootloader to 10.2.4 incase you're on version 10.3.0 where the security hole we use to load custom kernel/ROMs has been fixed. (Step 3.5)

2. Recovery links are updated for TWRP 2.4.4.0 built for the Kindle Fire 2 (loaded via the 2nd-bootloader).

Enjoy.
[Kindle Fire 2 Android Development] seokhun:
Hashcode, the link to the xda thread with the 1-click method isn't working. Thanks!
[Kindle Fire 2 Android Development] tready:
thanks hashcode iv just gone from 10.30 stock to the latest cm nightly great work mate
[Kindle Fire 2 Android Development] flopower1996:
thanks for porting the newest version harsh!
[Kindle Fire 2 Android Development] Hashcode:
Looks like FMKilo's thread link is working (for me), but I noticed XDA had squashed my link to the Official CM10.1 thread. FIXED.
[Kindle Fire 2 Android Development] ab30494:
is the fast boot cable, the one that came with the kindle. or do i need to buy a special cable
[Kindle Fire 2 Android Development] mindmajick:
Read more

http://xdaforums.com/showthread.php?t=2228539
[Kindle Fire 2 Android Development] s10010001:
can I get a little help with the downgrade. I have a stock KF2 with root. But is on 10.3! I tried to downgrade with that command (I just used the fastboot.exe in the droidSDK right?) But it just says waiting for device. Is that because im not using a fastboot cable?
[Kindle Fire 2 Android Development] Xperia Player:
C:\Documents and Settings\Nick>adb push stack /data/local/tmp/ 4 KB/s (4096 bytes in 1.000s) C:\Documents and Settings\Nick>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" 0+1 records in 0+1 records out 4096 bytes transferred in 0.002 secs (2048000 bytes/sec) C:\Documents and Settings\Nick>adb shell su -c "reboot bootloader" C:\Documents and Settings\Nick>fastboot -i 0x1949 flash bootloader otter2-u-boo-prod-10.2.4.bin target reported max download size of 486539264 bytes error: cannot load 'otter2-u-boot-prod-10.2.4.bin': Unknown error C:\Documents and Settings\Nick>fastboot -i 0x1949 flash bootloader otter2-u-boo-prod-10.2.4.bin target reported max download size of 486539264 bytes error: cannot load 'otter2-u-boot-prod-10.2.4.bin': Unknown error C:\Documents and Settings\Nick>fastboot -i 0x1949 getvar product < waiting for device >

Can anyone tell me what I'm doing wrong?
[Kindle Fire 2 Android Development] danis1997:
is obligatory a fastboot cable?? or there is another way to reboot into fastboot?
[Kindle Fire 2 Android Development] Loobster:
I can't get anywhere without a fastboot cable, it seems. Using bin4ary and Qemu tools it is supposedly rooted, but at the following command I wait forever at the <waiting for device> message and the device boots all the way up into the stock OS.

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 guess I will try when I get my fastboot cable and see if things are any different.

KF2 is stock 10.3.1 at the moment, by the way.

It seems like it's MUCH harder to root and install a custom ROM on the otter2 than it was on the otter1.
[Kindle Fire 2 Android Development] Hashcode:
You can thank the locked bootloader for the added difficulty. :/
[Kindle Fire 2 Android Development] Loobster:
My fastboot cable has been shipped, hopefully have it by the weekend.

I managed to reboot into fastboot mode with a regular USB cable using

adb shell su -c "reboot bootloader"

and then I did

fastboot -i 0x1949 flash bootloader otter2-u-boot-prod-10.2.4.bin
fastboot -i 0x1949 flash boot otter2-freedom-boot.img
fastboot -i 0x1949 flash recovery otter2-twrp-2.4.4.0-recovery.img
fastboot -i 0x1949 reboot

I now do have the custom second bootloader and can boot into TWRP, but installing the latest nightly build from the link in the OP of this thread does not result in a system that boots, it just hangs at the orange Kindle Fire logo.

I can restore from the TWRP backup and get back to the stock OS, though. But after I restore the stock OS I can't boot into TWRP anymore.

Another weird thing is that when I get set to reboot out of TWRP it tells me that the device is not rooted ... even though the bin4ry/qemu process told me that it was. I've had the not rooted message several times.

So to be frank I really don't know where I am with it lol.

---------- Post added at 07:30 PM ---------- Previous post was at 07:03 PM ----------

I also tried it again and got the following when I tried to flash CM again:

Verifying zip signature ...

Verifying Update package ...

E:failed to verify whole-file signature

e:signature verification failed

Error flashing zip '/sdcard/cm-10.1-20130503-NIGHTLY-otter2.zip'

---------- Post added at 07:42 PM ---------- Previous post was at 07:30 PM ----------

Just tried the same thing with the 20130507 nightly and got the same errors.
[Kindle Fire 2 Android Development] Loobster:
Ok guys, I could do with a little help getting the ROM installed, I seem to be failing at the last hurdle.

Here is where I am at now.

I started again, and made sure that the device is rooted. It is. I downloaded ES file explorer, gave it root permissions, got prompted to allow superuser access, and accepted it.

When I got to this part that failed last time:

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"

it succeeded this time (now that I have the fastboot cable).

Everything else goes as planned and as per instructions, until I go to flash the ROM in TWRP.

I still get the same errors:

Verifying zip signature ...

Verifying Update package ...

E:failed to verify whole-file signature

e:signature verification failed

Error flashing zip '/sdcard/cm-10.1-20130503-NIGHTLY-otter2.zip'

Why is my ROM flash failing? :(

---------- Post added at 08:26 PM ---------- Previous post was at 08:17 PM ----------

Ok. It seems that TWRP 2.4.4.0 does not like to verify the zip files. I tried flashing without verification, and it seems to have worked.

I have a booting otter2 now!

Thanks guys.
[Kindle Fire 2 Android Development] Klyentel:
I forgot to flash the stack override first and proceeded through the fastboot steps, did the reboot and all I got is logo loop now. I can still turn it off and go back to fastboot mode but thats it. How do I fix this? Can the stack file be pushed through fastboot?

EDIT: Problem solved nevermind
[Kindle Fire 2 Android Development] granadier:
i want to upgrade the recovery

hey guys!! pls some help1!! i got a second bootloader and the recovery but its not up to date... i have the twrp 2.2.2 and the bootloader dont have the fastmode option.. how can i flash this one?? cuz when i try to do it by this way the tablet get stuck at bootloader and noting happen.. every tiem that i do this i got stuck, im still good with what i have but i want to be up to date with this... pl ssome help..

---------- Post added at 04:36 AM ---------- Previous post was at 04:31 AM ----------

by the way i dont have the fastboot cable!!
[Kindle Fire 2 Android Development] mindmajick:
Wtf are you talking about? What is twrp 2.2.2

What is fastmode?

Dude- slow down and try to be more clear!

--

Sent from my mind to your screen.
[Kindle Fire 2 Android Development] granadier:
listen.. i have the TWRP 2.2.2.0 recovery and i want to upgrade to 2.4.4.0.. i dont have the fastboot cable.. and my second bootloader doesnt come with the fastboot mode option... summarizing i want to upgrade the recovery and the bootloader withput a fastboot cable.. -.-
[Kindle Fire 2 Android Development] granadier:
wait a sec i have a 2nd gen c kindle cuz before i had the cm10.1 i had the 10.x.x..6 firmware.. im only sayong that i want to upgrade the recovery and the bootloader with out a fastboot cable
[Kindle Fire 2 Android Development] granadier:
if it works I'll be grateful XD thx..
[Kindle Fire 2 Android Development] granadier:
sorry.. but this code works on any android devices???
[Kindle Fire 2 Android Development] granadier:
i have a kindle fire 2nd gen NON-HD, but i also have a motorola droid razr xt912 and a motorola atrix 2... can i use this code for any of these ones??

adb push boot.img /sdcard/

adb push recovery.img /sdcard/

adb shell

su

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

dd if=/sdcard/recovery.img of=/dev/block/platform/omap/omap_hsmmc.1/by-name/recovery

reboot
[Kindle Fire 2 Android Development] RoboWarriorSr:
Maybe it's just me but where does the "stack" need to be located in order to work? Keep getting this, No such file or directory when I enter this command

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"