Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,027 Members 48,423 Now Online
XDA Developers Android and Mobile Development Forum

[APP] Flash Image GUI - Flash Kernels and Recoveries from normal Android mode!

Tip us?
 
joeykrim
Old
#1  
Recognized Developer - OP
Thanks Meter 1261
Posts: 1,929
Join Date: Jan 2009
Default [APP] Flash Image GUI - Flash Kernels and Recoveries from normal Android mode!

Credits:
Original version created in the summer of 2011. Thanks to birbeck for the usual random java guidance, slushpupie for his previous java guidance, dodgejcr for extreme amounts of testing, and one_love_420 and shift for some great graphics!
testers: JT-, couga6442, happytweak and many others I might have forgot in the furry of three days I built the initial app from scratch!
Thanks to SDX

Requires:
Unlocked bootloader and root access!

Background:
flash_image (bmlwrite) is an extremely useful utility for flashing custom kernels, boot logos (so far ONLY Samsung devices) and recoveries. This binary has made it possible to easily flash all these items and is used almost everywhere behind the scenes (i.e. in custom recoveries, packaged into a kernel /sbin directory, included in custom ROMs, etc).

Description:
This android application, FlashImageGUI, is basically a GUI interface for the linux binary, flash_image provided by google in AOSP for loading custom kernels and recovery images onto the phone.
This app allows the flashing of kernels and custom recovery images in normal android mode!

Current Device Support:
Full Kernel (Anykernel and boot.img) Flashing and Recovery (zip file or image) flashing: HTC One M8 (GSM), Moto G, Sprint Galaxy S4, International HTC One (M7), T-Mobile HTC One (M7), Sprint HTC One (M7), HTC EVO 4G LTE, HTC One S, HTC EVO 3D CDMA and GSM, HTC One XL, HTC Droid DNA, HTC Amaze, HTC Vivid/Holiday, HTC EVO 4G, HTC EVO Shift, Google Nexus 5, Google Nexus 4, Google Nexus 10, Google Nexus 7, Samsung Google Galaxy Nexus, Nexus S/Nexus S 4G & LG Optimus
Full Kernel, Logo and Recovery flashing: Samsung Moment, Transform, Intercept and Acclaim - the s3c6410 series of devices
Full Kernel (zImage) Flashing: Samsung Epic
Check application version for updates

Future Support:
Let me know if there are any issues. Feel free to post the encountered issue and a link to the exact file that was flashed. Thanks for the support!

Install Directions:
Install process is the same as any other .apk. Download to computer and adb push or mount sdcard on computer and copy over or download directly to the phone. Use any file manager, adb, connectbot/terminal emulator to install.
My preferred method, maybe a bit technical: ./adb install c:\downloads\FlashImageGUI.apk

Download Locations
Market (99 cents!): Flash Image GUI
Release version (free): Flash Image GUI

Contact:
Any questions, comments, concerns, or issues, please post in this thread or send me an email! Thanks for all the help and support!

FAQ:
Q: Will this app support a marketplace to pick and chose kernels from?
A: No.
Q: Can I flash nandroid kernel backups?
A: Yes. Rename the specific image to boot.img and select from inside of Flash Image GUI. **Make sure to also load the associated modules or WiFi might stop working!

Screenshots:






Feedback:
Please post any helpful feedback. I'm always looking to improve the application!

Users Guide for flashing ONLY a Kernel (zip file):
1) Ensure the bootloader is unlocked and root access is properly setup
2) Make sure the selected Kernel is compatible with the currently loaded ROM. If not, this will result in a lot of frustration!!! See troubleshooting steps below.
3) Download kernel zip file to /sdcard.
4) Open Flash Image GUI, browse and select kernel zip file, downloaded/loaded to sdcard in previous step.
5) Flash Image GUI will validate that the kernel zip file contains the minimum required files
6) Select the Flash Image button and Flash Image GUI will load the kernel and the kernel modules from the source kernel zip file.
7) Reboot

Troubleshooting after Rebooting:

First step, when experiencing issues flashing is to RE FLASH the files again. Many times, re flashing again will clear up any issues. If not, see the issues/solutions below.

Issue #1: If the device hangs or reboots while on the splash screen, the kernel itself or the ramdisk packaged in the kernel is NOT compatible with your device!!!
Solution for #1: Have to boot into fastboot (or directly into the custom recovery) and load the custom recovery to flash a known good kernel or restore a previously known good nandroid backup. Command: fastboot boot c:\downloads\cwm-recovery.img
Issue #2: If the device hangs or reboots while on the boot animation, the ROM is likely NOT compatible with the kernel!!!
Solution for #2: Have to boot into fastboot and load the custom recovery to flash a known good ROM/kernel combination either from a zip file or restore from a nandroid backup.
The Following 6 Users Say Thank You to joeykrim For This Useful Post: [ Click to Expand ]
 
ahac85
Old
#2  
ahac85's Avatar
Senior Member
Thanks Meter 104
Posts: 958
Join Date: Aug 2010
Great stuff, been waiting for something like this

Sent from my HTC One_M8
------------------------------------------------------------
SAMSUNG GALAXY S3
------------------------------------------------------------
ROM: Stock Odexed MK6 | JellyBean 4.3
KERNEL: Boeffla Kernel 5.2 Stable
RECOVERY: PhilZ Touch CWM 6.12.8
------------------------------------------------------------

Sign up for FREE 2GB Dropbox Cloud Storage and get an additional 500mb space! db.tt/4Mpm5Us
 
Sebby
Old
#3  
Sebby's Avatar
Senior Member
Thanks Meter 4018
Posts: 4,024
Join Date: Jun 2010
Location: Doetinchem

 
DONATE TO ME
works perfect on my htc one m7 viper one s-on

tryed it 3 times to be sure it works

thanks alot.....
The Following User Says Thank You to Sebby For This Useful Post: [ Click to Expand ]
 
Darknites
Old
#4  
Darknites's Avatar
Senior Member
Thanks Meter 2262
Posts: 5,605
Join Date: Jul 2011
Great app for a great phone thanks again.
The Following User Says Thank You to Darknites For This Useful Post: [ Click to Expand ]
 
yatindroid
Old
#5  
yatindroid's Avatar
Senior Member
Thanks Meter 322
Posts: 1,295
Join Date: Sep 2009
Location: Jaipur
This is I wished for

I Bricked my 🇭🇹🇨One
 
headpiece747
Old
#6  
headpiece747's Avatar
Member
Thanks Meter 14
Posts: 49
Join Date: Jan 2011
Really wish this would work on the Sprint HTC M8 because I am having problems with flashing things with recovery and hboot.
 
joeykrim
Old
#7  
Recognized Developer - OP
Thanks Meter 1261
Posts: 1,929
Join Date: Jan 2009
Quote:
Originally Posted by headpiece747 View Post
Really wish this would work on the Sprint HTC M8 because I am having problems with flashing things with recovery and hboot.
I'm always interested in adding support for more devices to Flash Image GUI. In order to provide the highest level of service, I need a user knowledgeable with ADB and the custom recovery who can help test all the functionality. This process usually takes around an hour and I prefer to work in real-time as I can provide guidance throughout the process.
If you or somebody you know feel qualified to help, let me know and we can set up a time! Thanks for your support!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

[OTA Captured] Verizon LG G Pad 8.3 Finally Gets Official KitKat Update

It’s been almost nine months since the LG G Pad … more

Enjoy Wallpaper Overload with PhotoPhase

We don’t usually feature live wallpapers on the XDA Portal unless they are somewhat innovative … more

Monitor What Your Phone’s Camera Sees with Android Wear

Having a smart device strapped to your wrist certainly has its merits. A … more

Mod Lets You Have Stereo Speakers on Your Sony Xperia Z1 (Sort Of)

The stereo speakers onthe Sony Xperia Z2areprobably a relatively large … more