Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
View First Unread
Tip us?
 
Hashcode
Old
(Last edited by Hashcode; 19th October 2012 at 05:31 AM.)
#1  
Hashcode's Avatar
Recognized Developer - OP
Thanks Meter 10741
Posts: 1,864
Join Date: Sep 2011

 
DONATE TO ME
Default [bootloader][05-26] FFF 1.4A bugfixes + new look + recovery boot [.zip file size]

NEW BOOTLOADER INSTALL METHOD: FLASH.ZIP. SAFER. USE IN RECOVERY JUST LIKE ANY OTHER ROM .ZIP


This is an UPDATED version of FIREFIREFIRE by Pokey9000

CREDITS and THANKS GO TO:
- Pokey9000: For getting this going. Hard to dev at all w/o a way of getting to recovery.
- eldarerathis: Menu code was used from the Extended FIREFIREFIRE github
- Icemank121: All splash/menu screens

Version 1.4a of FIREFIREFIRE changes:
1. (1.4a bugfix) Reprioritized the different boot options so that regardless of idme bootmode, the options chosen from the menu would be used first.
2. Support for a single boot directly to Recovery for applying ROM updates, etc via "Reboot Recovery" menu in Android. Works with any recovery that is installed. All existing ROM devs need to update their BoardConfig.mk to support this by adding the following:

TARGET_RECOVERY_PRE_COMMAND := "idme postmode 1;"

Your builds will need to also have a working "idme" binary and the "libidme.so" lib for the reboot recovery option to work.

Both of these are in the prebuilts of the device tree on github:
https://github.com/KFire-Android/dev...e/ics/prebuilt

3. Fixed Charging Mode which will pause the boot process and let the device charge if the current capacity is under 3%. If you connect it to the stock charger, the boot can proceed.

4. Added a Boot Menu which is accessed by pressing the power button after a the initial splash screen is displayed. You then press the menu button again to navigate through each option. If you wait after an option is highlighted, it will automatically be selected after a few seconds.:
4a. Normal: Standard boot into your installed ROM
4b. Recovery: Boot to recovery
4c. Reset Boot Mode: This is a normal bootup but resets "idme bootmode" to 4000 for those that are stuck and can't access idme for whatever reason.

NOTES:
Currently the handling of the power button is a bit sloppy, takes 1-2 presses for it to register each press to navigate through the menu.


Download the .bin file here:

http://goo.im/devs/hashcode/otter/bootloader
md5sum: 419c53b922c963082454b14b7de75a90

[05-26] Added a padfile to the .zip so that it shouldn't be accidentally flashed as a .zip file.

Apply this flash.zip from recovery just like any other ROM or kernel .zip file. This is by far the safest way to upgrade your bootloader. It does a sha1sum check on the file before applying.


GitHub source (forked from Pokey9000's original) here:
https://github.com/KFire-Android/kf_u-boot
Attached Thumbnails
Click image for larger version

Name:	fff0bootlogo.rle.jpg
Views:	10396
Size:	6.6 KB
ID:	1037539   Click image for larger version

Name:	fff2selectrecovery.rle.jpg
Views:	9596
Size:	6.7 KB
ID:	1037540   Click image for larger version

Name:	fff5LowBattery.rle.jpg
Views:	10327
Size:	7.7 KB
ID:	1037542  
The Following 136 Users Say Thank You to Hashcode For This Useful Post: [ Click to Expand ]
 
soupmagnet
Old
#2  
soupmagnet's Avatar
Recognized Contributor
Thanks Meter 1251
Posts: 2,958
Join Date: Jan 2012
Location: Austin, TX
Top notch, Hash! When I saw your name by this, I knew it was going to be something good. Thank you for this.
Change is free, but not freely given.
The Following User Says Thank You to soupmagnet For This Useful Post: [ Click to Expand ]
 
ZzHacks
Old
#3  
ZzHacks's Avatar
Senior Member
Thanks Meter 152
Posts: 454
Join Date: Jan 2012
Reserved

Sent from my GT-P1000 using xda premium


-"Your mom isn't the only thing I've flashed today"

Current Devices:
Galaxy Note 2(sprint)|Running Jellybomb till CM10 is ready to go
HTC EVO 4G|Reserved for Ciui
Amazon Kindle Fire|Running Jellybean(super stable) |Ravens Kernel & Hashcode Kernal|

 
tex321
Old
(Last edited by tex321; 3rd May 2012 at 02:02 AM.)
#4  
Member
Thanks Meter 1
Posts: 41
Join Date: Aug 2010
Location: Brasilia
Thanks Hashcode
Really Nice update, it should avoid some people like me ever getting stuck in fastboot, something I did not understood reading the OP.

Suggestion: in a future version, could you make a count down decreasing the selecting marks "--"?
Since it can easily take you out of fastboot, ROM makes could also add reboot to "bootloader".
 
vbdss
Old
#5  
Senior Member
Thanks Meter 58
Posts: 358
Join Date: Jul 2011
Location: Niteroi, RJ
Thank you Hashcode for your support and for try to make the Kindle Fire the best device out there.
Amazon Kindle Fire rooted - CM7 CM9
Samsung Galaxy 5 i5500 - CM7 2.3.7
 
jamminjon82
Old
#6  
Senior Member
Thanks Meter 137
Posts: 486
Join Date: Mar 2012
Location: Gloucester
Can I use the script to flash this

Sent from my Amazon Kindle Fire using Tapatalk 2
 
tipzilla
Old
#7  
Member
Thanks Meter 11
Posts: 63
Join Date: Jan 2012
Location: Parma

 
DONATE TO ME
Default Sweet!

Looks really good. Great work.
 
vbdss
Old
#8  
Senior Member
Thanks Meter 58
Posts: 358
Join Date: Jul 2011
Location: Niteroi, RJ
Quote:
Originally Posted by jamminjon82 View Post
Can I use the script to flash this

Sent from my Amazon Kindle Fire using Tapatalk 2
Yes just rename the file
Amazon Kindle Fire rooted - CM7 CM9
Samsung Galaxy 5 i5500 - CM7 2.3.7
 
soberarmy
Old
#9  
soberarmy's Avatar
Senior Member
Thanks Meter 8
Posts: 105
Join Date: Jan 2011
Location: San Diego
What file do we replace it with. Thanks

Sent from my Kindle Fire using xda premium
 
jamminjon82
Old
#10  
Senior Member
Thanks Meter 137
Posts: 486
Join Date: Mar 2012
Location: Gloucester
Quote:
Originally Posted by soberarmy View Post
What file do we replace it with. Thanks

Sent from my Kindle Fire using xda premium
I replaced uboot one. Don't forget to change script to match new path

Sent from my Amazon Kindle Fire using Tapatalk 2

 
Post Reply+

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...