5,593,401 Members 36,331 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
(Last edited by joeykrim; 4th April 2014 at 08:08 PM.)
#1  
Recognized Developer - OP
Thanks Meter 1237
Posts: 1,920
Join Date: Jan 2009
Default [APP] Flash Image GUI - Flash Kernels and Recoveries from normal Android mode!

Credits:
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: Nexus 5, Sprint Galaxy S4, International HTC One, T-Mobile HTC One, Sprint HTC One, 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 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 3 Users Say Thank You to joeykrim For This Useful Post: [ Click to Expand ]
 
CRIME INC.
Old
#2  
CRIME INC.'s Avatar
Senior Member
Thanks Meter 1667
Posts: 2,806
Join Date: Jan 2011
Location: HENDERSONVILLE
Been using this app forever. Always works for me

sent from my HAMMERHEAD neXus

The Following User Says Thank You to CRIME INC. For This Useful Post: [ Click to Expand ]
 
wapvirus
Old
#3  
wapvirus's Avatar
Senior Member
Thanks Meter 68
Posts: 1,716
Join Date: Jan 2008
Location: London
Please add nexus 7 2013 (flo/deb)

Sent from my Nexus 7 using Tapatalk
HTC Sensation XE with Beats Audio Z715e
Viper S 5.0.0 Sense 5 JB Pro
S-Off Super CID
Revolutionary

HBOOT-1.27.1100
Radio-11.24a 3504.31_M

Kernel: SebastianFM kernel 1.0.3
MODS: Crossbreeder MultiSwap

My Beats Inspired Wallpapers for Sensation


 
joeykrim
Old
#4  
Recognized Developer - OP
Thanks Meter 1237
Posts: 1,920
Join Date: Jan 2009
Quote:
Originally Posted by wapvirus View Post
Please add nexus 7 2013 (flo/deb)

Sent from my Nexus 7 using Tapatalk
Sure! In order to add support I need a knowledgeable tester familiar with ADB and the custom recovery. I can walk people through the steps to confirm all the features are working. Once testing has confirmed everything works, I can roll out support to everybody.
If you're able to help or know somebody who can, send me a PM. Thanks for your support!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes