yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] eldarerathis:
New version is up! Sorry for all the delays. You can get it on my GitHub or on Mediafire. The source is also on GitHub (of course):

GitHub link: https://github.com/downloads/eldarerathis/FIREFIREFIRE-Multiboot-PoC/kf-multibootv3.zip

Mediafire link: http://www.mediafire.com/?jiz01ndzluao6ao

The md5 for the u-boot.bin file (*not* the zip file, the binary) is 89df8d45262a92061c461e8ff134286a

Flash the bootloader as per the instructions in the first post. This version includes Hashcode's bugfixes as well as new splash screens that hopefully most people will find less ugly. All other functionality is unchanged.

I'm also attaching some screenshots for those interested in taking a peek at the new splash screens before installing it. I'll be updating the first/second post for the new release as well.

Enjoy :)
[Kindle Fire Android Development] AustinFire:
Sweet! Thanks for all the hard work put into this! And please do not worry about the delays, you have your own life and we can all wait. :)

Thanks again! :good:
[Kindle Fire Android Development] siera_lion:
I have the old version of this bootloader, which was modified, so that alt boot would be normal boot, and normall bot would be alt. If i`ll flash this, will alt boot stay normal boot, or it will become become alt?
[Kindle Fire Android Development] three-p-o:
Eld's version will restore the original functionality.

If you compile it yourself you can modify the way it works. Or you could ask him if he could create a Alt first version.

Eld,

Does your version include the screen for battery charging? I don't see that in your screenshots, and haven't looked at the code yet lol.
[Kindle Fire Android Development] eldarerathis:
Yeah, it should be in there since I merged in Hashcode's stuff for that. There's no screenshot for it because I decided not to change the splash screen for that one. I personally just don't care what that screen looks like, to be honest, because if my Fire was ever that low I wouldn't be staring at the screen while it charged.

One thing I did take out was the "booting" screen that displays after you've selected something and the delay ends. Mostly this was to save a little space since I have +1 screen compared to Hashcode's version, but I also (again, this is just me personally) found it to be a little unnecessary since it's not visible all that long and the LED changes color when the boot process starts anyway.
[Kindle Fire Android Development] xolanir:
Thanks for the update. Digg the new look and it works flawlessly!
[Kindle Fire Android Development] n00byn00bface:
im trying to flash this boot loader and it doesnt want to work..... when ever i try to do it, it freezes on <waiting for device>. My device cant seem to register fastboot commands.... I have the correct adb driver for it (it shows up as android adb interface) and i am in fastboot...... y wont it recognise my device?:confused:

also, adb doesnt recognise my device..... even though the driver shows up as android adb interface
[Kindle Fire Android Development] xolanir:
Try this guide by Josepho1997 (I just tweaked it a little):

Turn your Kindle Fire off.

4)Copy the u-boot.bin (that you just downloaded) & tools folder from KFU and it paste on your local disk c:\

5)open command prompt

6)Type:

cd c:\tools [enter]

fastboot [enter]

fastboot getvar store [enter]

(You should now see: <waiting for device>

7)Now turn on your Kindle Fire.

8)After about 5 seconds, your kindle should be stuck in fastboot mode.(if you did it correctly it should say finished)

9)Now type:

fastboot -i 0x1949 flash bootloader c:\u-boot.bin [enter]

fastboot -i 0x1949 oem idme bootmode 4000 [enter]

fastboot -i 0x1949 reboot [enter]

10)Now the bootloader is installed.

Hope this helps.
[Kindle Fire Android Development] three-p-o:
So basically you did the same thing I did.. lol Our versions should be almost exactly the same, maybe a few things named different, but the same.
[Kindle Fire Android Development] eldarerathis:
The merge with Hashcode's tree was so straightforward that I wouldn't be surprised if they're nearly identical. I did take the opportunity to refactor some of the splash screen code (it was needlessly repetitive) but that's about it.
[Kindle Fire Android Development] tobiascuypers:
if i dual boot and i go into twrp and make a back up, does that only back up the first rom. and when i restore the backup does it only restore the first rom?
[Kindle Fire Android Development] eldarerathis:
Yes. TWRP doesn't have the ability to backup/restore to the alternate partitions. The best option for making a "backup" of an alternate is to use Titanium Backup.
[Kindle Fire Android Development] ProfEngr:
Would ADB be of any use here? Maybe pull the data from the alt locations via USB? Or root explorer and just copy the contents of \ recursively? I admit I know little of ADB's capabilities.
[Kindle Fire Android Development] eldarerathis:
Yeah, you could do something like that if you wanted. In the past I've used adb to tar up my /data directory and then pull it onto a PC. It'll restore fine if you push it back and then untar everything, including keeping the permissions intact. You could also feasibly shell in and then dd images of your partitions onto /sdcard somewhere (safest when booted into recovery).

Android 4.0+ also supports the 'adb backup' command, but I don't really know the inner-workings of that well enough to say for certain if it would work. I've never used it myself, but it may be relevant for people running CM9/CM10 as an alternate.
[Kindle Fire Android Development] xolanir:
I'm down!
[Kindle Fire Android Development] jmcoffey:
Someone could make a flashable zip to backup the altrom to the sdcard.
[Kindle Fire Android Development] RichMD:
So after I saw you made your own ROM and I looked at your XDA name, my first thought was "1997 can't be his birth year - could it?" My second thought was "I'm getting old..."... :eek:
[Kindle Fire Android Development] tobiascuypers:
I was born in 1997 also! Wadya know!
[Kindle Fire Android Development] ProfEngr:
Wow. You wanna talk about old... I finished college in 98.

Sent from my Thunderbolt using one opposable thumb.
[Kindle Fire Android Development] loCe45:
I've just installed this bootloader and it works great! :) Good job!

I was just wondering, is there any other rom that's been modified to work on this tweaked bootloader ? CM7 isnt bad, but unless i use performance cpu governor, everything is laggy and twitchy. Even with it, it isnt smooth as i remember GB roms used to be.
[Kindle Fire Android Development] seking:
First of all thank you for a good mod.

I just want to know is it possible to change the name in the boot menu ie "altrom" to my rom's name, like that?

Another thing is how to remove the dual boot if I dont want to keep it?

Thanks again
[Kindle Fire Android Development] soupmagnet:
It looks like you may have to repartition your sdcard. How comfortable are you using parted? "Print" your partition table and see what it says.
[Kindle Fire Android Development] soupmagnet:
adb shell
parted /dev/block/mmcblk0
print
[Kindle Fire Android Development] :
Would be great for this to be put insmirkit door those of us who don't have proper computer access to flash it

sent from a kindle fire on cm 9
[Kindle Fire Android Development] soupmagnet:
Command prompt, and while in recovery if I'm not mistaken. And you need to use parted.

This is what it should look like (pay particular attention to the formatting):

soup@ubuntu:~$ adb shell
~ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
Model: MMC M8G2FA (sd/mmc)
Disk /dev/block/mmcblk0: 7734MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 131kB 262kB 131kB xloader
2 262kB 524kB 262kB bootloader
3 524kB 11.0MB 10.5MB dkernel
4 11.0MB 212MB 201MB ext4 dfs
5 212MB 229MB 16.8MB recovery
6 229MB 296MB 67.1MB ext4 backup
7 296MB 307MB 10.5MB boot
8 307MB 312MB 5243kB ext4 splash
9 312MB 849MB 537MB ext4 system
10 849MB 2041MB 1192MB ext4 userdata
11 2041MB 2309MB 268MB ext4 cache
12 2309MB 7690MB 5380MB fat32 media

(parted)
[Kindle Fire Android Development] soupmagnet:
http://xdaforums.com/showpost.php?p=31318595

That thread is one of already three of these situations I've helped to fix tonight. Take a look and I'm sure it will help you get back on track.
[Kindle Fire Android Development] waffull:
Device: Kindle Fire

ROM: twa's 09-05

Bootloader: FFF 1.4a

Recovery: TWRP 2.2.2.1

OK, this may seem like a noob question, but I promise I've gone through all the usual steps.

How does one get the KF into fastboot mode?

Tried KFU, advanced from command prompt, adb from terminal emulator. I have a factory cable,.even that isn't working.

Is there a method I'm missing? I just want to install this dual boot bootloader. Is there any way to tell the device from within the OS to boot in fastboot? Any other way?

I miss good old fashion dip switches, they worked 100% of the time.
[Kindle Fire Android Development] soupmagnet:
http://xdaforums.com/showpost.php?p=26435498
[Kindle Fire Android Development] soupmagnet:
Weird. Here's a copy.

While in recovery, push it to your /sbin folder, then...

adb shell
chown 0.0 /sbin/parted
chmod 755 /sbin/parted

...and try again

---------- Post added at 07:36 PM ---------- Previous post was at 07:34 PM ----------

I see that from Windows users all the time and I have no idea what it means exactly. If I saw that in Linux, it would usually mean the number lock is turned off.
[Kindle Fire Android Development] kinfauns:
Recent TWRP history

2.2.0 - idme: no, parted: no, fbmode: yes, reboot buttons: working

2.2.2.0 - idme: yes, parted: no, fbmode: no, reboot buttons: broken

2.2.2.1 - idme: yes, parted: yes, fbmode: no, reboot buttons: working

pokey9000's fbmode binaries were dropped because the same functions are provided with idme.

Update TWRP on your device to 2.2.2.1
[Kindle Fire Android Development] soupmagnet:
Do you have your sdcard backed up?
[Kindle Fire Android Development] soupmagnet:
If you haven't backed up your sdcard, go ahead and do so. And make sure to put it on your computer, not in your TWRP folder. As a matter of fact, move all of your backups to your computer.

Your situation is rather strange. It seems the OS is reporting a different partition size than the partition table itself. I'm not quite sure what would cause it to do that, but it looks like your best option would be to delete and recreate that partition and hopefully the OS will take notice of the change and adjust accordingly. Otherwise, you may be looking at flashing the ROM again.

Personally, I think recreating the sdcard partition first would be your best bet, because if that works, it would mean a lot less work for you in the long run.
[Kindle Fire Android Development] loCe45:
actually, i had the same problem... OS reported 5GB, but i actually had 3,5GB free... i used OEM format to reset partition sizes and get rid of secondary OS since i desperately needed more space
[Kindle Fire Android Development] seking:
keep the power button pressed for 20 seconds and then reboot
[Kindle Fire Android Development] soupmagnet:
No. In dual boot, part of your sdcard goes to create the extra system, data and cache, partitions. I believe whatever is left will be used as one sdcard for both systems, so you'll be losing about 1.95GB from your sdcard with the dual boot.

The problem you were having is that the OS most likely didn't realize you had tried to revert back and was still reporting the dual-booted sdcard size.
[Kindle Fire Android Development] waffull:
Thank you very much for this. Set it up last night with twa's rom as primary and modaco as altrom. Great to have the option now and prime free video, especially.:)
[Kindle Fire Android Development] Jaemostoriginal:
just tried this and still doing the same thing :/ ... i held it when it was off for 20 seconds and it turns on then the screen just goes black (which is how i've been turning it off) and i've tried holding it also when its sitting at the firefirefire screen and it just turns off and when i press the power button again it still sits at the firefirefire screen
[Kindle Fire Android Development] eldarerathis:
I just tested this, and it works fine if I reboot into my ROM and use that to format my SD card partition. After initially rebooting it still shows the old value (3.9 GB or something thereabouts) and after erasing the SD card partition from my settings it shows ~5 GB. If you haven't tried it that way then that's what I recommend. Recovery doesn't actually perform a format (at least not TWRP), it just runs rm -rf on the /sdcard directory.

You're stuck in fastboot mode. Use this: http://xdaforums.com/showthread.php?t=1428428 or upgrade to the most recent version of this bootloader (or Hashcode's) and select "reset boot mode" from the boot menu. If you don't have Windows for the linked application then there are manual instructions around somewhere that will tell you how to do it by hand. This has been covered dozens times in the Q/A and general sections, but I don't have any links offhand. In a nutshell:

fastboot oem idme bootmode 4000

should fix it.
[Kindle Fire Android Development] Jaemostoriginal:
i forgot about that possibility lol thanks!!
[Kindle Fire Android Development] dlepp22:
Will there be a 1.4a based version
[Kindle Fire Android Development] dlepp22:
lol didn't see that
[Kindle Fire Android Development] sharonbw:
Did you know that TiBu can restore from recovery files now?

I did the same thing and recovered my apps from a TWRP backup.

Sent from my original Kindle Fire masquerading as a Galaxy Nexus
[Kindle Fire Android Development] sharonbw:
Aww... sorry!

Sent from my original Kindle Fire masquerading as a Galaxy Nexus
[Kindle Fire Android Development] Vlasp:
Currently my kindle is dualbooting AlienDroid as primary and MoDaCo as secondary. Personally, i like this feature, as the AlienDroid has bad battery and the kindle stock is that solution, and Youtube videos are laggy on the stock, so i use AlienDroid for that.:good:->:)
[Kindle Fire Android Development] :
Dualboot Really works great... spent a while trying to repackage sblood86's CM7 for alt...gets through install but hangs on boot (right after boot loader)... anyone have this problem before with modifyig s package for altrom or any suggestions? Just followed the github manual
[Kindle Fire Android Development] awidawad:
I'm trying to repackage Hashcode's cm10 nightly build for alt-rom. I'm using dsixda's kitchen in cydwin. I'm able to unpack, modify, and repack the rom just fine. However, when I flash my rom, I end up with error 7 "symlink error" or error 6, depending on how I convert the updater-script. Anybody know where I'm going wrong? I'm also editing the files with Notepad++. Any help would be appreciated, thanks.
[Kindle Fire Android Development] :
I would love a copy of that if you get it working
[Kindle Fire Android Development] awidawad:
Thank you! It installs now. However, it hangs at boot. Is there something I should do about this?

EDIT: Strange I tried to debug I ran logcat while in boot logo and it's spewing out errors basically saying its a read-only file system. Is there anything I could do?
[Kindle Fire Android Development] awidawad:
Okay thanks

---------- Post added at 12:28 PM ---------- Previous post was at 12:11 PM ----------

I sent a PM I hope they reply
[Kindle Fire Android Development] awidawad:
Strange... I managed to bypass the read-only errors by trying an older ics Rom and earlier version of hashcode's 3.0 kernel (6-6-12?) However, it hangs on "I/SystemServer( 176): Entropy Service" I'm going to to a bit more experimenting hopefully I figure this out.

Does anyone know what this service is?
[Kindle Fire Android Development] awidawad:
That's fine. Hopefully someone on here knows what's wrong, if anything. Thanks for your help with the updater-script though
[Kindle Fire Android Development] lelandfried:
Was quoting the entire logcat really necessary? My finger got its exercise for the day.
[Kindle Fire Android Development] awidawad:
Removed
[Kindle Fire Android Development] :
He wasnt refering to you... he was refering to the quote another did of your logcat... or if he was referring to you i can answer - yes its necessary
[Kindle Fire Android Development] awidawad:
Oh I see sorry it's late out here I'm not thinking straight right now
[Kindle Fire Android Development] awidawad:
Okay everyone, I got ICS to boot up on AltRom! :) The only problem here is that it is quite outdated. However, if I compile a newer kernel this can solve my problems :)
[Kindle Fire Android Development] :
Yay! Can't wait!
[Kindle Fire Android Development] awidawad:
If anyone wants to mess around with ics alt rom...here you go...

http://code.google.com/p/kindle-alt-roms-cm10-cm9-dev/downloads/list

It's the only build I could find with a 2.x kernel (so it is supported)

If there is any issues please let me know I will touch them up this afternoon and over the weekend
[Kindle Fire Android Development] :
Does it hhave gapps?
[Kindle Fire Android Development] awidawad:
Went back to the older 2.x kernel. I don't think the 3.x kernel plays nice with dual boot. I am looking into compiling a new kernel this weekend. Hopefully a 3.x kernel

---------- Post added at 03:52 PM ---------- Previous post was at 03:50 PM ----------

No not yet the rom I have is just for tinkering with. Once I get everything done and have a 99.9% stable build (there will ALWAYS be bugs) I will have a repackaged gapps posted for cm9 or cm10 hopefully
[Kindle Fire Android Development] :
OK I will wait until there is a gapps then be absolutely stoked to test it...thanks So much for your work

Sent from my GT-N7000000000 using Tapastalker 2
[Kindle Fire Android Development] awidawad:
Okay. I'll start working on it after I finish my work from class
[Kindle Fire Android Development] awidawad:
I have completed the first round... :) Enjoy ICS dual boot along with gapps

Here is the gapps and the ics alt-rom:

Downloads
[Kindle Fire Android Development] siera_lion:
How would it be possible to get back to 1 rom only? I don`t use the alt rom anymore :P
[Kindle Fire Android Development] awidawad:
1. Flash the altboot-format-all.zip

2. Boot into fastboot

3. Open up CMD in your working directory

4. Type "fastboot oem format" (without the quotes)

5. Install normal FireFireFire Bootloader

6. Done :)
[Kindle Fire Android Development] :
Works great! Some bugs with the rom itself but that is just because its such an early ics build

Would love to see sblood86's cm7 as an alt...

EDIT:

want to just give a note of my gratitude to you for being the first one to work on this... your time on this is greatly appreciated...

BTW - anyone trying this with a wifi issue on this alt-ics build, turn on airplane mode, reboot, turn off airplane mode, wifi should start working (and continue working) - at least it did for me
[Kindle Fire Android Development] awidawad:
Updated Downloads page with Sblood86's cm7 repacked for dual boot :)

BTW: I implemented Gapps... No need to flash them :)
[Kindle Fire Android Development] awidawad:
Made a new thread HERE for repacked ROMs
[Kindle Fire Android Development] Guitarman:
I finally got the Kindle to dual boot.....not as hard as I anticipated...the hardest part was just getting the drivers straight through the KFU lol
[Kindle Fire Android Development] awidawad:
Nice job :)
[Kindle Fire Android Development] sharonbw:
Same here! Exactly! Really like having dual boot although I go back and forth too much. Different apps have different issues on each rom I'm running (cm10 & modaco).

Sent from my original Kindle Fire masquerading as a Galaxy Nexus
[Kindle Fire Android Development] :
At this juncture I have began using cm10 as my main now that a great CM7 was repacked as an alt... when I'm out of the house in cm7 because the battery lasts weeks even with heavy use... at home cm10 and the battery lasts just the day...

Can't believe our little kf can do so much.
[Kindle Fire Android Development] sharonbw:
So sad. I find I'm not wanting to bother with dual boot after all. MoDaCo is great since I was using it primarily to read and borrow books (still like stock reader much better than kindle app) but it hasn't turned out to be worth the hassle. Now the stock reader has crashed. (Have no idea what happened)

Unfortunately, I'm not finding instructions I can follow on how to UN-dualboot. Anyone care to point me in the right direction?
[Kindle Fire Android Development] :
There is absolutely instructions a few pages back. I remember the conversation.
[Kindle Fire Android Development] sharonbw:
Thanks. I didn't completely understand those instructions and was hoping for more details. I'm insecure doing this stuff still. I'll look around some more and try to increase my understanding.

Sent from my original Kindle Fire masquerading as a Galaxy Nexus
[Kindle Fire Android Development] :
I know Josepho1997 (think name change to Uraha or soemthing similar to that) successfully undid dual-boot... nice person, may be willing to chime in and help you...
[Kindle Fire Android Development] sharonbw:
That would be awesome if he would. I used kinfaus' guide and I think I got as far as wiping all the partitions with fff and twrp installed correctly but I am unable to flash a rom. I get "unable to mount" /system, /data and /sdcard. I must not be understanding something because I'm able to abd push files so doesn't that mean it's mounted? Help would be good. :}

EDIT: I'm wondering if I missed a step in repartitioning everything since nothing like that is covered in the guide. I erased everything but maybe need to put something back in place????

EDIT 2: Well I did in fact have to reformat the media partition to fat32 (THANKS SOUPMAGNET). That seems to have done the trick.Am rebooting now...

System is fine. usb won't work. Still have to adb push files. What am I missing?

Much to my disgust (and joy) it just suddenly appeared. I was able to copy my nandroid over and I'm fine. GEEZ!

Thanks for everyone's virtual/etheral support. I know that someone would've helped me if I hadn't figured it out myself. :)
[Kindle Fire Android Development] :
Its Urahara... Can probably help you
[Kindle Fire Android Development] soupmagnet:
Print your partition table

(in recovery)

adb shell
parted /dev/block/mmcblk0
print

Post it here and we'll see what's going on.
[Kindle Fire Android Development] kirinnguyen:
Can you post your guide to undual-boot in new topic? Thanks so much guy
[Kindle Fire Android Development] loCe45:
I think that OP should be updated with all the extra info ;)
[Kindle Fire Android Development] kirinnguyen:
Yep, hope OP notice it . 4.2.1 with deep sleep battery fix is so hot .
[Kindle Fire Android Development] awidawad:
Use this command:

fastboot oem format
[Kindle Fire Android Development] kirinnguyen:
thanks , but if i want install fff 1.4a to install room 4.2.1 . it means i want to delete alt room, and don't want to lose any space in internal storage .
[Kindle Fire Android Development] awidawad:
If you don't want to lose your alt rom I have a 1.4a FFF bootloader with ability for dual boot. Here
[Kindle Fire Android Development] sharonbw:
I could post a guide too but I think it would be so long and convoluted nobody would thank me. LOL
[Kindle Fire Android Development] sharonbw:
I love that you're making the effort but I can't quite follow this. When I reverted my dual boot I reformatted/repartitioned/reflashed EVERYTHING. I had backups of all my apps as well as a nandroid backup which I was able to easily restore. I did not flash modaco. A factory reset was unnecessary since I'd sent fastboot commands to erase it all. I had to reformat the sdcard/media as fat32. I think I did too much but I'm not sure your guide is explicit enough on the minimum that needs to be done.

Again THANKS for taking this on. I'll shut up if I'm confusing rather than helping. :)
[Kindle Fire Android Development] awidawad:
It's safer to flash FFF from recovery thru the flashable zip hashcode made.