[BOOTLOADER] 2nd-Bootloader/Recovery unlock process for KFire 2 [TWRP 2.6.3.0]

Search This thread

mr00realist

Member
Mar 23, 2011
43
3
Soft Bricked

Hello All,

First of all, Apologies if I'm posting at wrong place, although it should be correct since I am now trying to recover my KF2.

Background:
Have been Rooting & Installing custom ROMs for a few years now, so not a total noob but **** happens.
Wanted to install CM 10.1 on my rooted KF2 and received my fastboot cable today. Followed instructions on http://wiki.cyanogenmod.org/w/Install_CM_for_otter2. After installing bootloader, recovery & freedomboot, my kindle rebooted up and I decided to copy the ROM and Gapps over without using adb, as it was detected as in my PC as MTP.
I rebooted KF2 to get into TWRP to flash the ROM but got stuck in boot loop. Also got a message with red triangle saying "Your Kindle device cannot boot. You can reset your device to Factory defaults to fix this issue (all data will be deleted from the device).
<Menu options>
To reboot your device press and hold the power button for 4 seconds and release.
To reset to Factory Defaults, press the power button 5 times in succession" googled a little and tried erase cache and erase userdata from fastboot. Still boot looped and unable to get into TWRP.

Finally, I re-flashed the 3 files again, and did a fastboot -i 0x1949 oem recovery and was able to get into TWRP (phewwwww).
Also, used adb to copy over my CM 10 and Gapps (thought my troubles were over) but now TWRP is not able to wipe or mount /data

So, I flashed the 3 files again, and now I am able to get into TWRP, I am able to WIPE, Factory Reset as well. So, I've been inching closer :p
I've copied over CM 10.1 but not able to install it getting error , screenshot attached

assert failed: getprop("ro.product.device") == "blaze_tablet" || getprop("ro.build.product") ==..............................
E: Error Executing updater binary in zip '/sdcard/cm-10.1.3-otter2.zip'
Error flashing zip

Please advise
 

Attachments

  • IMAG0538.jpg
    IMAG0538.jpg
    255.1 KB · Views: 214

xanthian23

Member
Dec 28, 2011
27
1
Hemet
Kinda stuck

Hi,
Followed the instructions on the first page, and everything seemed to go without a hitch. The second bootloader is there with the option to boot into twrp, but when i choose to boot into recovery, it just sits there saying "booting..." does anyone know why this would happen?

*update* - I re-did the steps from the first page, but used the Twrp version 2.8.0.0 for this kf2 and it finally booted into twrp! Now to find a good rom...
 
Last edited:
  • Like
Reactions: Kusakus

Dude360

Senior Member
Nov 22, 2006
1,173
903
Hey all.

Been playing with a demo KF2 I was given and successfully converted it to stock OS 10.5, rooted and flashed 2ndBL and TWRP.

Everythings fine except: I lose TWRP on a reboot.

I flash it using fastboot (cable), reboot and get the menu and can go to TWRP.

When I come out of TWRP and oot into OS its all fine.

Reboot again to menu and select TWRP it just sits on 'booting...'

I have to go back into FB and reflash again.

What am I missing?

Log:

Code:
C:\Users\Dude>adb push C:\Users\Dude\Desktop\stack /sdcard/
571 KB/s (4096 bytes in 0.007s)

C:\Users\Dude>adb shell su -c "dd if=/sdcard/stack of=/dev/block/platform/omap/o
map_hsmmc.1/by-name/system bs=6519488 seek=1"
0+1 records in
0+1 records out
4096 bytes transferred in 0.045 secs (91022 bytes/sec)

C:\Users\Dude>fastboot -i 0x1949 flash bootloader C:\Users\Dude\Desktop\otter2-u
-boot-prod-10.2.4.bin
target reported max download size of 486539264 bytes
sending 'bootloader' (227 KB)...
OKAY [  0.240s]
writing 'bootloader'...
OKAY [  0.271s]
finished. total time: 0.512s

C:\Users\Dude>fastboot -i 0x1949 flash boot C:\Users\Dude\Desktop\otter2-freedom
-boot-10.4.6.img
target reported max download size of 486539264 bytes
sending 'boot' (8153 KB)...
OKAY [  0.413s]
writing 'boot'...
OKAY [  0.894s]
finished. total time: 1.309s

C:\Users\Dude>fastboot -i 0x1949 flash recovery C:\Users\Dude\Desktop\otter2-twr
p-2.8.1.1-recovery.img
target reported max download size of 486539264 bytes
sending 'recovery' (8157 KB)...
OKAY [  0.339s]
writing 'recovery'...
OKAY [  0.854s]
finished. total time: 1.194s

Edit1:

Ok, so, this:

Flash in FB > Reboot > TWRP = Ok
From TWRP > Reboot System > 2ndBL > Recovery > Boots to TWRP
From TWRP > Reboot System > 2ndBL > Recovery > Boots to TWRP
From TWRP > Reboot System > 2ndBL > Recovery > Boots to TWRP
Rinse & Repeat

TWRP is there and working.

If I then boot to the OS > Shutdown > Reboot > 2ndBL > Recovery = Stuck on 'Booting...'

I have to hold power down to shutdown, but booting OS works fine.

Seems something is changing when I boot to the OS. Does 10.5 flash back a stock recovery or stop it from loading?


Edit2:

Seems I missed a post or two in all these tabs open in Iron :(

Can someone confirm it definitely doesnt work on 10.5 or if there is a fix for 10.5 that Ive missed?

Appreciate it.
 
Last edited:

steve_htc_wizard

Senior Member
Jan 13, 2008
115
14
stock files

I was very stupid, when I couldn't get adb to pull the original files I gave up and went ahead and flashed away.

I've had to many problems to list right now but after a scary soft brick reboot session and bricking my pants i re flashed all the modded files and I could eventually get the kindle to boot into Amazon o.s but if I restart it I have to re flash everything again to get it to boot for some reason.

Twrp has been getting moody about mounting the SD and so I have been till now, unable to place the cm ROM zip on the card but after managing to get it to boot into Amazon o.s and deleting all drivers it amazingly decided it would actually install the mpt drivers and allowed me access to the SD through windows.

I have put the cm zip on the card and will try it in twrp later but for now whilst its booted I'm giving it a full charge as it had dropped to 55% and I was getting worried cos you can't charge if you can't boot!

I have a fastboot cable and have fastboot access, so I can flash the stock files i should have pulled and recover if needs be if someone can please share there's with me please.

Thanks in advance, Steve.
 

steve_htc_wizard

Senior Member
Jan 13, 2008
115
14
Hmmm, the kf2 forums seem a little dead, surely there's still some activity going on in here?

Anyway, I cleaned up my pants and got back to work on my kf2, I managed to back up the tablet as it was as although it was unstable it would boot after a couple of attempts and gave me a way to keep it charged and transfer files if I needed.

I shoved the cm11 zip on the internal storage,rebooted to recovery and held my breath lol.

Flashed cm11 and nano gapps and the tablet was booting propper android and super stable!

I am more than relieved!
 

Punchieo

Senior Member
Oct 2, 2014
588
127
Manasquan
Hmmm, the kf2 forums seem a little dead, surely there's still some activity going on in here?

Anyway, I cleaned up my pants and got back to work on my kf2, I managed to back up the tablet as it was as although it was unstable it would boot after a couple of attempts and gave me a way to keep it charged and transfer files if I needed.

I shoved the cm11 zip on the internal storage,rebooted to recovery and held my breath lol.

Flashed cm11 and nano gapps and the tablet was booting propper android and super stable!

I am more than relieved!
I can't boot TWRP recovery. I cycled through to boot recovery at the blue logo and it just boots forever.
Booting system is fine.
 

steve_htc_wizard

Senior Member
Jan 13, 2008
115
14
I can't boot TWRP recovery. I cycled through to boot recovery at the blue logo and it just boots forever.
Booting system is fine.

Have you tried re-flashing twrp? I had all sorts of problems initially and it refused to boot things but would boot after I flashed again and then the problems returned after a restart and I had to repeat the process over again but eventually it stopped giving me grief and I flashed the o.s with a zip and my kindle has been a super stable propper tablet since.
 

barn25

Senior Member
Dec 29, 2010
83
6
Arlington Heights Il
No matter what i do with these files i cant get my kindle fire 2 to boot past the logo screen. all it does is bootloop. What can i do? its very frustrating since pretty much all of the threads have been closed down or not updated or the links are dead.
 

Trozzul

Senior Member
Jun 21, 2012
1,607
224
26
Seattle
Would this work on System version 10.5.1? i saw in a q&a that it looks like i need to downgrade? can i do that at this point?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 73
    Introducing: Kindle Fire 2nd-bootloader + TWRP 2.6.3.0 for the Kindle Fire 2nd GEN

    *** USE AT YOUR OWN RISK! WHILE I TRY MY BEST TO PROVIDE WORKING KERNELS/ROMS, I AM NOT RESPONSIBLE IF THIS SOFTWARE OR ANYTHING I'VE WORKED ON SUDDENLY FRIES YOUR DEVICE. ***


    *** READ CAREFULLY BEFORE DOING ANYTHING ***
    *** Kindle Fire 1st-gen ROMs/KERNELS are *NOT* compatible with the Kindle Fire 2. Please only flash ROMs/KERNELS that are made for the Kindle Fire 2. ***



    ** IF YOU HAVE QUESTIONS, RE-READ THROUGH THE THREAD FOR ANSWERS. WHEN YOU'RE ABSOLUTELY SURE NO ONE HAS ASKED YOUR QUESTION, GO AHEAD AND RE-READ THE THREAD AGAIN AND USE THE SEARCH FEATURE. THEN POST YOUR QUESTION IF YOU STILL CAN'T FIND THE ANSWER **


    ** WHEN MOVING FROM AMAZON OS TO CM10.1 IN TWRP: "WIPE" -> "SYSTEM" AND "FACTORY RESET" TO CLEAR SYSTEM/DATA/CACHE. YOUR APPS FROM AMAZON ICS AREN'T COMPATIBLE. IF NOT YOU'LL LOOP ON THE CM10.1 BOOT ANIMATION **


    [03/27] NEW support thread for OFFICIAL CM on the Otter2 (Kindle Fire 2):
    http://xdaforums.com/showthread.php?t=2209995


    ** YOU SHOULD HAVE A WORKING FASTBOOT CABLE + FASTBOOT DRIVERS/ACCESS ON YOUR PC. **

    Q: How do I know if my fastboot works?
    A: Plug the cable into your device and then the computer. Reboot the Kindle. It *SHOULD* show a Fastboot screen. Once at the screen use this command on your computer:
    fastboot -i 0x1949 devices
    You should see something like this:
    0123456789ABCDEF

    Here's 1 website you can purchase a FASTBOOT adapter from (works with your normal USB cable)
    http://shop.teamblackhat.info/Factory-Adapters-motadapt.htm
    ** I don't make any commission or fee from the sales of these devices, I just know they have them on stock most of the time and ship in a reasonable time frame unlike the Chinese variants found on ebay.

    If you do NOT see this, then make sure you have the SDK installed correctly and you have the right setup for fastboot on your PC before proceeding.


    *** BE SURE YOU HAVE A GOOD CHARGE ON THE DEVICE ***


    INITIAL SETUP INSTRUCTIONS (1st TIME ONLY) FOR 2ND-BOOTLOADER + TeamWinRecoveryProject INSTALL:

    STEP 1. Backup your stock partitions to your own HD for later if you need disaster recovery:
    Code:
    adb pull /dev/block/mmcblk0boot0
    adb pull /dev/block/platform/omap/omap_hsmmc.1/by-name/boot
    adb pull /dev/block/platform/omap/omap_hsmmc.1/by-name/recovery
    adb pull /dev/block/platform/omap/omap_hsmmc.1/by-name/system # This will take a few minutes
    Take those files and put them somewhere safe.


    STEP 2: Download the files you will need to install 2nd-bootloader, TWRP and CM10.1:
    1. Stack override file:
      http://goo.im/devs/Hashcode/otter2/stack
    2. [12/09] otter2-freedom-boot-10.4.6.img (USED ONLY THE FIRST TIME -- .zip files will have their own boot.img's from now on):
      http://goo.im/devs/Hashcode/otter2/otter2-freedom-boot-10.4.6.img
      md5sum: 80f9b9ba80910de361463560f86f315a
    3. [09/03] TeamWin Recovery 2.6.3.0:
      http://goo.im/devs/Hashcode/otter2/otter2-twrp-2.6.3.0-recovery.img
      md5sum: a66a8cbab92fd5daaa85f6303e9cc0c3
    4. older 10.2.4 bootloader file and flash to your device via fastboot:
      http://goo.im/devs/Hashcode/otter2/otter2-u-boot-prod-10.2.4.bin
      md5sum 5b03a7b428325de8d360ec201a745498
      (You SHOULD check the MD5SUM before using fastboot -- downloads CAN be corrupted)
    5. CM-10.1/CM-10.2 for the Kindle Fire 2 (choose the latest version from):
      http://www.get.cm/?device=otter2
    6. Google Apps from: http://goo.im/gapps (choose the version: CM10.1 or CM10.2)
    Place the ROM and the gapps .zip on your device in the /sdcard area


    STEP 3. 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:
    [2013-08-21] edited the location where stack is placed on device due to permissions changes
    Code:
    adb push stack /sdcard/
    adb shell su -c "dd if=/sdcard/stack of=/dev/block/platform/omap/omap_hsmmc.1/by-name/system bs=6519488 seek=1"

    [ Connect fastboot cable, and reboot the device so that "Fastboot" is showing ]

    STEP 4.
    Flash the OLD bootloader, new otter2-freedom-boot.img and TWRP recovery.[/B]
    *DONT RE-FLASH FREEDOM-BOOT.IMG LATER AFTER FLASHING CM10.1 -- IT'S FOR STOCK AMAZON OS ONLY / FIRST INSTALL ONLY*
    Code:
    fastboot -i 0x1949 flash bootloader otter2-u-boot-prod-10.2.4.bin
    fastboot -i 0x1949 flash boot otter2-freedom-boot-10.4.6.img
    fastboot -i 0x1949 flash recovery otter2-twrp-2.6.3.0-recovery.img
    fastboot -i 0x1949 reboot

    ** If everything was done correctly you will at this point see the bootmenu with a BLUE logo during the reboot. **

    TO ENTER RECOVERY:
    During the blue logo screen press the power button to cycle through options and select "Recovery" to enter TWRP.

    Once in TWRP you can Install" the CM-10.1/CM-10.2 by selecting "Install" and then browsing the device and selecting it, then "Add Zip" and select the Gapps .zip as well.

    Use the slider to start the install.


    FLASHING BACK TO STOCK:
    ** FIND THE FILES WE BACKED UP IN STEP #1 OR DOWNLOAD NEW ONES FROM THE RECOVERY THREAD HERE: **
    http://xdaforums.com/showthread.php?t=2035047

    Once you have these files (we'll name them boot.img/recovery.img and system.img for the purpose of these instructions, but they could be different on your system).

    Plug in your fastboot cable and reboot so that you see the fastboot screen and enter the following commands:
    Code:
    fastboot -i 0x1949 flash boot [B]boot.img[/B]
    fastboot -i 0x1949 flash recovery [B]recovery.img[/B]
    fastboot -i 0x1949 flash system [B]system.img[/B] # This one will take a few minutes
    fastboot -i 0x1949 reboot

    Enjoy

    THANKS TO:
    • fattire for finding the original bootloader exploit
    • TESTERS: powerpoint45 and FMKilo
    23
    Changelog: updated 2013-07-08

    freedom boot.img (for use w/ stock Amazon OS + 2nd-bootloader):
    • [07/08] Updated w/ kernel from 10.4.3 release

    TeamWin Recovery (TWRP) 2.6.0.0
    • [07/08] USB Vendor ID / Product ID in recovery now matches stock Amazon OS
    • [07/08] Based on 10.4.3 stock kernel
    • [07/08] Fixed recovery bootloop issue
    • [07/08] TWRP 2.6.0.0 update
    12
    one more reserved space
    8
    Yes I do. Check md5 as I'm not sure that when you download them they'lll be complete!

    https://www.mediafire.com/folder/5oda4fual3ht3/KF2_Boot_and_Recovery

    :)

    Bump just so everyone knows these files are here
    7
    does anyone have a mirror of the files?

    Yes I do. Check md5 as I'm not sure that when you download them they'lll be complete!

    https://www.mediafire.com/folder/5oda4fual3ht3/KF2_Boot_and_Recovery

    :)