• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[BOOT] FIREFIREFIRE 1.2 - bootloader with recovery selection

Search This thread

foxdog66

Senior Member
Jul 28, 2010
471
53
More and more people are getting factory style cables (myself included) also a few terminal commands will set whatever boot mode you want. Hell you can even swap out the bootloader without a computer but I don't recommend doing that because typing the command wrong would be very bad.
 

pokey9000

Senior Member
Apr 17, 2007
767
396
Austin
More and more people are getting factory style cables (myself included) also a few terminal commands will set whatever boot mode you want. Hell you can even swap out the bootloader without a computer but I don't recommend doing that because typing the command wrong would be very bad.

That's exactly why FFF has fastboot on for a few seconds. You really shouldn't ever need a factory cable unless you did something bad as root and didn't install FFF.

The factory cable is a get-out-of-jail-free card only if you're running the stock bootloader and neither it, the first stage loader, or the partition map are corrupted. If you can't get to the bootloader, the factory cable can't help you.
 

jb0ne

Senior Member
Dec 7, 2011
490
65
So does KFU install this?

I already had TWRP and FFF on my 6.2.1 rooted KF. I wanted the new version of FFF, it looks like it has some nice improvements. So I downloaded KFU 0.9.2 and told it to reinstall TWRP. All went fine. How do I check to see what version of FFF is on here now? Did that update it to the new one? I didn't see anything on my screen about FFF, just wgetting TWRP.
 

foxdog66

Senior Member
Jul 28, 2010
471
53
I already had TWRP and FFF on my 6.2.1 rooted KF. I wanted the new version of FFF, it looks like it has some nice improvements. So I downloaded KFU 0.9.2 and told it to reinstall TWRP. All went fine. How do I check to see what version of FFF is on here now? Did that update it to the new one? I didn't see anything on my screen about FFF, just wgetting TWRP.

I think twrp installs a older version of FFF. In witch case, any time you install twrp it will replace whatever bootloader you have with what it comes packaged with. It would be best to follow the op and update FFF independently
 

astmario

Member
Dec 8, 2009
32
8
Belgrade
Can someone explain to me how do I make recovery using Firefirefire? I have rooted 6.2.2. stock rom with BurritoRoot 3 and installed Firefirefire.
How does all of this work?Something like Norton ghost/Acronis true image where you make image of partition and store it somwhere?
1.Where is that image stored?
2.How do I make image of current state of Kindle so I can modify buld.prop without fear of bricking device?
3.How do I restore that image later if i need it?
I would appreciate answers so I can understand whole recovery and backup procces on Android as OS and on Kindle Fire specificaly.
 

b63

Senior Member
Dec 8, 2011
1,660
487
Can someone explain to me how do I make recovery using Firefirefire? I have rooted 6.2.2. stock rom with BurritoRoot 3 and installed Firefirefire.
How does all of this work?Something like Norton ghost/Acronis true image where you make image of partition and store it somwhere?
1.Where is that image stored?
2.How do I make image of current state of Kindle so I can modify buld.prop without fear of bricking device?
3.How do I restore that image later if i need it?
I would appreciate answers so I can understand whole recovery and backup procces on Android as OS and on Kindle Fire specificaly.

fff gives you the possibility to boot into a recovery program but you need to install a recovery program - there are two at the moment twrp or cwm - the decition is up to you - if you install twrp the fff is also reflashed but to a older version - you will have to reinstall the newest version of fff - as i know cwm does'nt touch fff

the easiest way to install twrp is using kfu http://forum.xda-developers.com/showthread.php?t=1399889
and patching it for use with burritoroot 3:
http://forum.xda-developers.com/showpost.php?p=21749205&postcount=792
to extract kfu to c:\ and rename to "kfu" is a good practice

here is cwm:
http://forum.xda-developers.com/showthread.php?t=1454241

at startup you can press the pwr button repeatently till it gets orange to boot into recovery - the rest is nearly self explaining - it will backup to the sdcard partition
 
  • Like
Reactions: astmario

smirkis

Senior Member
Oct 8, 2010
1,820
611
San Diego, CA
Can someone explain to me how do I make recovery using Firefirefire? I have rooted 6.2.2. stock rom with BurritoRoot 3 and installed Firefirefire.
How does all of this work?Something like Norton ghost/Acronis true image where you make image of partition and store it somwhere?
1.Where is that image stored?
2.How do I make image of current state of Kindle so I can modify buld.prop without fear of bricking device?
3.How do I restore that image later if i need it?
I would appreciate answers so I can understand whole recovery and backup procces on Android as OS and on Kindle Fire specificaly.

u need to flash a recovery. install cwm!

Sent from my HTC Glacier using XDA App
 

smirkis

Senior Member
Oct 8, 2010
1,820
611
San Diego, CA
not to be the guy posting twice in a row, but i was wondering something. when the device is rebooted into fastboot, is there no way to still have the ability to select recovery as an option before fastboot kicks in? i see the lights adjust as if i can hit the power button to get into recovery. but i just sticks at fastboot. hold down til power off, than attempt to power on and try to get in to recovery, but again it jus sticks at fastboot.

jus curious. its not a real issue, but was more curious about it than anything.
 

podspi

Senior Member
Jul 6, 2011
341
54
Chicago
not to be the guy posting twice in a row, but i was wondering something. when the device is rebooted into fastboot, is there no way to still have the ability to select recovery as an option before fastboot kicks in? i see the lights adjust as if i can hit the power button to get into recovery. but i just sticks at fastboot. hold down til power off, than attempt to power on and try to get in to recovery, but again it jus sticks at fastboot.

jus curious. its not a real issue, but was more curious about it than anything.

You can use KFU http://forum.xda-developers.com/showthread.php?t=1399889
to get out of fastboot mode. Then you'll have the ability to select recovery before boot.
 

smirkis

Senior Member
Oct 8, 2010
1,820
611
San Diego, CA
Last edited:

pokey9000

Senior Member
Apr 17, 2007
767
396
Austin
not the answer I was looking for.

my question was more like, is this bootloader capable, to allow selection, when booting up in fastboot? trying to see how people could get out of it, without a computer or drivers.

There are two ways into fastboot with FFF. You can boot normally and fastboot will be active for just a few seconds on every boot, or you can set bootmode to stay in fastboot mode until you switch back.

With FFF, you shouldn't be using the fastboot bootmode outside of the initial install. That's why the install instructions have a "disable fastboot" step. If you got into it some other way, well, microUSB cables are cheap.
 

foxdog66

Senior Member
Jul 28, 2010
471
53
not the answer I was looking for.

my question was more like, is this bootloader capable, to allow selection, when booting up in fastboot? trying to see how people could get out of it, without a computer or drivers.

Sent from my HTC Glacier using xda premium

Touch screen bootloader? Interesting idea. To answer your question... If bootmode is set to bootloader then you will need a computer to get out of it. Currently, there isn't any other way.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 24

    This is a replacement bootloader so you can get into recovery with just the one power button. It's very simple to use, just turn on the Fire, and when the logo pops up press the power button.

    FIREFIREFIRE also makes fastboot easy. For a few seconds on every boot, fastboot is enabled; no idme bootmode or special cable needed. The USB ID is changed to one that's supported by even the oldest fastboots. Unlike the stock, you do not need to use the "-i 0x1949" on every run of fastboot.

    Now FIREFIREFIRE can fix your partition tables. "fastboot oem format" will overwrite the partition table with the stock table. You can use this to revert to factory partitioning if you have been messing with parted or the like, or can be used with the USB boot kit (Rekindle) to manually rebuild a totally bricked Fire. Running this command on 1.0 or earlier will fail.

    Release notes:
    1.2 - MD5: a8c8d702606de8ab7e73b898de50b4b6 u-boot.bin
    • Merge in 6.2->6.2.1 changes: low battery charge safety shutdown, official offsets for NVRAM params
    • The power LED now tells you more stuff: dim slightly while in fastboot / ready to detect recovery button press, bright green again when the boot of standard OS starts, more orangey orange when recovery starts
    • Fix Amazon's broken LED code

    1.1 - MD5: 7a4f1a2ff60b13a3534df318f99d813c u-boot.bin
    • Fixed the built-in partitioning to match the partition map on a stock KF
    • Removed USB PID version. Realized this would screw up Windows. VID:pID will always be 18d1:0100 from now on

    1.0
    • Fastboot USB VID switched to Google's VID. Once this is installed you don't need to use "-i 0x1949" on every fastboot command
    • USB PID reflects the version. 0x0100 is version 1.0, 0x0402 is 4.2, etc
    0.9
    • New logo with "press power button for recovery" message at the bottom
    • Delays ~10 seconds if no button pressed, but pushing the button immediately goes into recovery
    • During the delay, you can connect with fastboot. Works under Linux, but the delay may be too short for Windows

    Howto flash
    The TWRP installer flashes FFF 1.0 when it's run. For most purposes this is ok, but because TWRP has been orphaned, I can't recommend it as a way to get the latest. By the time you read this, KFU should support flashing FFF, and for Windows users is by far the easiest way.

    Howto flash by hand
    • Get into fastboot mode somehow. Having and older FFF from the TWRP installer is a good start. Currently KFU or fbmode is the easiest
    • flash with "fastboot -i 0x1949 flash bootloader u-boot.bin" (take out "-i 0x1949" if FFF is already installed)
    • disable fastboot: "fastboot -i 0x1949 oem idme bootmode 4000"
    • reboot: "fastboot -i 0x1949 reboot"

    Howto backup EVERYTHING (on Linux):
    (not relevant in this post anymore, but good reference)
    • This will back up all partitions and the hidden NVRAM data. If you ever have to restore from scratch, you can get fastboot to write a new partition table and then fastboot in these backups
    • Need >8GB local free, and adb installed and able to get a shell.
    • Make a new directory to store the dump files and cd into it.
    • Make sure that your KF is running adb as root. As of 6.2.1 this requires running BurritoRoot, then "adb root" on your PC after it completes.
    • Then run in a terminal:
    Code:
    for F in `seq 1 12`; do adb pull /dev/block/mmcblk0p$F; done
    adb shell idme ? > nvram.txt

    On a brand new KF, this backup will bzip2 down to ~300MB. Once you start writing to the flash, this will go up even if you delete files due to nonempty free blocks.

    github is now up at https://github.com/pokey9000/kf_u-boot
    3
    Yeah, a boring video of the "factory cable" method since the nvram boot mode is broke would be useful :p But awesome that it works.


    There you go.
    2
    Hey pokey9000,
    Is there a way to flash a new splash image to your bootloader with fastboot like we do with some other devices?
    Code:
    fastboot flash splash1 splash1.img
    Id like to have a new image on boot if thats ok. :D
    11i08ip.png

    You need to make a 600x1024 graphic in png, rotate it counterclockwise 90 degrees, then follow this guide to generate an Android compatible RLE. Then put the RLE into the source tree at board/omap4kc1/initlogo.rle and rebuild.

    You have to leave a lot of flat color as gradients, photos, etc make the RLE too big to fit into u-boot.

    Then you'll want to use the usb boot method to test u-boot without flashing, or risk bricking your Fire if you screw up.


    FWIW, that looks almost like my original logo. The whole reason I called it FIREFIREFIRE is that the source doesn't ship with a logo (Amazon copyright or something) and when I made the dummy image to fill the void I just opened up GIMP and made a textbox with the first thing that popped in my head. Then it kind of stuck.
    2
    *bump*

    New FFF that can restore your partition table. See the OP
    2
    nice. i hope u can make a tutorial...

    I'm not sure there's much more for me to add beyond what pokey9000 has posted already.

    make/convert your image
    http://forum.xda-developers.com/showpost.php?p=21262416&postcount=126

    get source code and build it
    http://forum.xda-developers.com/showpost.php?p=21775177&postcount=151

    test u-boot.bin with usbboot
    http://forum.xda-developers.com/show...0&postcount=74

    flash by hand directions in OP
    http://forum.xda-developers.com/showpost.php?p=19837228&postcount=1

    Post here if you get stuck and I'll try to help. Good luck!