Search This thread

joeykrim

Inactive Recognized Developer
Jan 9, 2009
1,978
1,311
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 last three days of late nights and no sleep plus full day of work!
Thanks to SDX !!

Requires:
Unlocked bootloader and root access!

Background:
flash_image (bmlwrite) is an extremely useful utility for flashing custom kernels, boot logos 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 kernel /sbin, 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. No recovery or adb needed! Flash a custom kernel, boot logo (some devices) and custom recovery all from android w/o rebooting into recovery mode!
The application displays current kernel version information!

Current Device Support:
Full Kernel (Anykernel and boot.img) Flashing and Recovery (zip file or image) flashing: 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:
The current phone support limitation is due to hardware manufacturer differences and their software implementations. This process can be very dangerous and I'm being very caution by thoroughly testing before releasing. I've started with the phones I am most familiar and hope to cover all those who request it!
I have a personal list of features I am going to be adding over the coming days and weeks in addition to support for other phones. Please feel free to leave feedback here and requests for phone support. If you have any information on flash_image or bmlwrite for your phone, that'll help get me started researching on your phone support request. Thanks!

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. 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 versions (free from my personal hosting): 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!
http://twitter.com/joeykrim
http://joeykrim.com

Screenshots:
FlashImageGUI-main-portrait-v1.5.6-sprint-one-25.png


FlashImageGUI-main-portrait-invert-v1.5.6-sprint-one-25.png


sshot-FlashImageGUI-main-portrait-flash-kernel-evo3d-50.png


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 the kernel zip file is 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.
 
Last edited:

jdyates

Senior Member
Jun 30, 2010
235
4
Weslaco
Im curious, why does this only work on certain phones? I need a way to flash a recovery to my Tmobile Comet (Huawei Ideos U8150). Thanks :)
 

joeykrim

Inactive Recognized Developer
Jan 9, 2009
1,978
1,311
Im curious, why does this only work on certain phones? I need a way to flash a recovery to my Tmobile Comet (Huawei Ideos U8150). Thanks :)
great question. I've updated the OP to answer this better.
essentially each hardware manufacturer is able to use their own type of drivers in dealing with the phones internal memory and in formatting the phones internal file system.
this allows for many different variations. the specific phones I support are the ones I was able to obtain a flash_image binary for (hence the name flash_image) and was able to extensively test.
if you any information to the flash_image binary for your phone, i'd be more than happy to research it and adding support to the app!
i've worked day/night the last three days to put this app together and had a ton of testing. i do hope to continue to add support for more phones! thanks for the feedback and phone support suggestion! i will definitely look into it and any help you can provide would be great!
 
  • Like
Reactions: mucus_android

dancer_69

Senior Member
Jan 2, 2007
2,011
617
Here is the flash_image binary for Tattoo,
please add it to supported devices, thanks.
 

Attachments

  • Tattoo-flash_image.rar
    7 KB · Views: 379

lovleshgarg

Senior Member
Jul 29, 2010
187
71
Samsung galaxy spica gt-i5700 also use same s3c6410 chip. Will this work on it??

Sent from my GT-I5700 using Tapatalk
 

austontatious

Senior Member
Jun 7, 2010
230
35
I have a viewsonic gtab and I HATE the splash screen - would love to see it supported. My 2c... great tool! Thanks!
 

jdyates

Senior Member
Jun 30, 2010
235
4
Weslaco
great question. I've updated the OP to answer this better.
essentially each hardware manufacturer is able to use their own type of drivers in dealing with the phones internal memory and in formatting the phones internal file system.
this allows for many different variations. the specific phones I support are the ones I was able to obtain a flash_image binary for (hence the name flash_image) and was able to extensively test.
if you any information to the flash_image binary for your phone, i'd be more than happy to research it and adding support to the app!
i've worked day/night the last three days to put this app together and had a ton of testing. i do hope to continue to add support for more phones! thanks for the feedback and phone support suggestion! i will definitely look into it and any help you can provide would be great!

Thanks for the detailed reply, you dont see that alot from app devs these days.

Unfortunately, i have no idea what a flash binary is for my phone or how to get it. Oh well. Thanks again :)
 

joeykrim

Inactive Recognized Developer
Jan 9, 2009
1,978
1,311
Here is the flash_image binary for Tattoo,
please add it to supported devices, thanks.
perfect! recovery image support should be simple.
kernel flashing methods seem to vary quite a bit between devices. could you post links up to two/three popular kernels so i can see the format they're using?

How soon before the Epic 4G gets some love?
great question! i hope to get this supported within the next week as ill be on my honeymoon the next 5 days w/o internet...i know, tough but worth it ;)
if you have the information handy, could you post links to two/three top kernels so I can examine their format?

Samsung galaxy spica gt-i5700 also use same s3c6410 chip. Will this work on it??

Sent from my GT-I5700 using Tapatalk
yes, i had thought about this but didn't know anybody with the phone. supporting this phone should be very simple as it uses that same chip set. could you post a link to a pastebin of this command:
adb shell ls -l /
to double check, flash_image on the spica also does zImage (kernel), logo.png (boot logo) and recovery.rfs (recovery) right?
thanks!

I have a viewsonic gtab and I HATE the splash screen - would love to see it supported. My 2c... great tool! Thanks!
great, this seems to be popular. i have been looking into this and will keep you updated! i hope to get support added for this soon!
 

feefeeboomboom

Senior Member
Jan 17, 2010
539
43
Fargo
for you

hi joeykrim. you do good work man.

attatched is 3 things.

1.flash_image binary for the Epic 4g SPH-D700

2.redband_ua, the method we use to flash kernels

3.zImage, i compiled from source and use

we run on EXT4 mostly these days

I and a few other developers use a scripting process to flash kernels without recovery. if want these pm me.
 

Attachments

  • thethreefiles.zip
    6.2 MB · Views: 226

mattallica76

Senior Member
Jun 29, 2010
2,357
322
Hanover, Pa
perfect! recovery image support should be simple.
kernel flashing methods seem to vary quite a bit between devices. could you post links up to two/three popular kernels so i can see the format they're using?

great question! i hope to get this supported within the next week as ill be on my honeymoon the next 5 days w/o internet...i know, tough but worth it ;)
if you have the information handy, could you post links to two/three top kernels so I can examine their format?

Here are some links to some popular kernels on the Epic-

http://xdaforums.com/showthread.php?t=961614

http://xdaforums.com/showthread.php?t=976197

Congrats and have fun on your Honeymoon.
 

spirol

Senior Member
Looks like an awesome utility :D

Support for HTC Desire would be perfect, as i can't seem to get fastboot working, so i'm stuck with Clockworkmod 2.5.1.8 at the moment..

I'm not sure how to get the flash_image file, is it the one contained in /system/bin?

Kernel links:
AOSP - http://xdaforums.com/showthread.php?t=782875&highlight=vork
AOSP - http://xdaforums.com/showthread.php?t=1031909
Sense - http://xdaforums.com/showthread.php?t=849002
Sense - http://xdaforums.com/showthread.php?t=801915&highlight=vork
 

rawalsushant

New member
Dec 20, 2010
2
0
Stock ROM support

Will this work on galaxy S stock ROM...or do I need to have a third party ROM installed. Most of the other flashing softwares do not support the stock ROM and I hope this is not amongst them.
 

joeykrim

Inactive Recognized Developer
Jan 9, 2009
1,978
1,311
Here are some links to some popular kernels on the Epic-

http://xdaforums.com/showthread.php?t=961614

http://xdaforums.com/showthread.php?t=976197

Congrats and have fun on your Honeymoon.
released an update - version 1.0.3 - supports kernel flashing on Samsung Epic!
tested recovery flashing on the Samsung Epic but it seems too unstable to support
thanks to DRockstar, skeeterslint and MeatMcBadass for testing and feedback!
links in OP updated with new version!
 
  • Like
Reactions: mattallica76

joeykrim

Inactive Recognized Developer
Jan 9, 2009
1,978
1,311
Released version 1.0.5 - Fixing a few minor bugs
** Updated boot logo flashing support on S3C6410 series devices (moment, transform, intercept and acclaim)
** Cleaned up code on the back end for efficiency
** Clarified wording in the prompts

Links in OP have updated versions! Thanks for all the support!
 

WDeamz

New member
Oct 16, 2010
4
0
SU Access

Hey I could really use some help, I rooted my Samsung Moment yesterday using the Z4Root program yesterday, but when I try to use Flash Image_GUI I get the following error:

"Root Access Denied

This device has not granted root access to this application. Please root this device to allow this application root access. This application can not run without root access. Sorry!"

Can anyone please help me? I did root the phone accurately, I have the SU icon, but this app (flash image) won't open for me...
 

joeykrim

Inactive Recognized Developer
Jan 9, 2009
1,978
1,311
Hey I could really use some help, I rooted my Samsung Moment yesterday using the Z4Root program yesterday, but when I try to use Flash Image_GUI I get the following error:

"Root Access Denied

This device has not granted root access to this application. Please root this device to allow this application root access. This application can not run without root access. Sorry!"

Can anyone please help me? I did root the phone accurately, I have the SU icon, but this app (flash image) won't open for me...
After reading through the z4root thread,
http://xdaforums.com/showthread.php?t=833953 , it appears they install the superuser.apk after rooting.

After you run z4root, and it is a permanent root, I would reboot the device to make sure the SuperUser apk appears in the app draw/tray.
After you can confirm z4root gave you permanent root and installed the superuser apk, then install my app. When you first open my app, the SuperUser app should ask whether or not you want to grant my app root access.
If you've already said no, you can open the SuperUser app from the app draw/tray and change your preference. My application will require root access to run properly.

If you don't see the superuser app in your app draw/tray it would seem z4root did not work properly.

Hope this helps!
 
Last edited:

WDeamz

New member
Oct 16, 2010
4
0
Thanks for getting back to me

Hey I appreciate the fast reply, I uninstalled your app and re-installed it, but unfortunately I am still getting the same error. SU is on the tray, but I get no option to allow root for your app...any help you could give me is really, really, appreciated.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    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 last three days of late nights and no sleep plus full day of work!
    Thanks to SDX !!

    Requires:
    Unlocked bootloader and root access!

    Background:
    flash_image (bmlwrite) is an extremely useful utility for flashing custom kernels, boot logos 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 kernel /sbin, 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. No recovery or adb needed! Flash a custom kernel, boot logo (some devices) and custom recovery all from android w/o rebooting into recovery mode!
    The application displays current kernel version information!

    Current Device Support:
    Full Kernel (Anykernel and boot.img) Flashing and Recovery (zip file or image) flashing: 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:
    The current phone support limitation is due to hardware manufacturer differences and their software implementations. This process can be very dangerous and I'm being very caution by thoroughly testing before releasing. I've started with the phones I am most familiar and hope to cover all those who request it!
    I have a personal list of features I am going to be adding over the coming days and weeks in addition to support for other phones. Please feel free to leave feedback here and requests for phone support. If you have any information on flash_image or bmlwrite for your phone, that'll help get me started researching on your phone support request. Thanks!

    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. 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 versions (free from my personal hosting): 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!
    http://twitter.com/joeykrim
    http://joeykrim.com

    Screenshots:
    FlashImageGUI-main-portrait-v1.5.6-sprint-one-25.png


    FlashImageGUI-main-portrait-invert-v1.5.6-sprint-one-25.png


    sshot-FlashImageGUI-main-portrait-flash-kernel-evo3d-50.png


    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 the kernel zip file is 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.
    2
    Can support for the EVO 4G LTE be added?

    Anyone that takes the latest OTA will likely need it :rolleyes:.
    Yes. I bought an EVO 4G LTE outright last week.
    Only reason I haven't released an updated version of Flash Image GUI earlier this week was due to the lack of available HTC kernel source code.

    Since no kernel source code has been released, the only kernels I've been able to test with have been stock boot.img files with modified ramdisks. Was hoping to have any "anykernel" style kernels to test support with.
    I have walked through the logic and everything should be in place for the "anykernel" style. I plan on releasing an updated version tomorrow night to support EVO 4G LTE!

    Appreciate the inquiry and support!
    2
    Here is the flash_image binary for Tattoo,
    please add it to supported devices, thanks.
    perfect! recovery image support should be simple.
    kernel flashing methods seem to vary quite a bit between devices. could you post links up to two/three popular kernels so i can see the format they're using?

    How soon before the Epic 4G gets some love?
    great question! i hope to get this supported within the next week as ill be on my honeymoon the next 5 days w/o internet...i know, tough but worth it ;)
    if you have the information handy, could you post links to two/three top kernels so I can examine their format?

    Samsung galaxy spica gt-i5700 also use same s3c6410 chip. Will this work on it??

    Sent from my GT-I5700 using Tapatalk
    yes, i had thought about this but didn't know anybody with the phone. supporting this phone should be very simple as it uses that same chip set. could you post a link to a pastebin of this command:
    adb shell ls -l /
    to double check, flash_image on the spica also does zImage (kernel), logo.png (boot logo) and recovery.rfs (recovery) right?
    thanks!

    I have a viewsonic gtab and I HATE the splash screen - would love to see it supported. My 2c... great tool! Thanks!
    great, this seems to be popular. i have been looking into this and will keep you updated! i hope to get support added for this soon!
    2
    Joey,

    Just purchased ur application and thank you for making my life little simpler. I'm still doubt full 'bout how to properly use the application. Just recently watch Htc Evo Hacks on using flash gui. My question is how to use it only for kernels. I'm currently Vin's Prime Rom and rooted with Htc Evo Hacks. How do I go by in only flashing a kernel only??

    Thanx again.:)
    The EVO 3D thread dedicated to that specific device supported in this application has a few step by step guides I wrote up in the OP. Check out the one labeled, "HTC Unlock - Hboot 1.5 Users Guide for flashing ONLY a Kernel (zip file)".

    I've quoted that specific part of the guide below for your convenience but the EVO 3D thread has all the specific details for the EVO 3D device.

    Thanks for the support!

    HTC Unlock - Hboot 1.5 Users Guide for flashing ONLY a Kernel (zip file):
    1) 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.
    2) Download kernel zip file to /sdcard.
    3) Open Flash Image GUI, browse and select kernel zip file, downloaded/loaded to sdcard in previous step.
    3) Flash Image GUI will validate the kernel zip file is contains the minimum required files
    4) Select the Flash Image button and Flash Image GUI will load the kernel and the kernel modules from the source kernel zip file.
    5) Reboot
    2
    I'm actually on Evo 3D using TWRP 2.0. Any idea on which file I need to rename to boot.img. All the files in backup are .win or .md5 files. There is a "boot.emmc.win" and "boot.emmc.win.md5" file. I appreciate the help and your app is awesome. I'll be sure to donate.
    Yea, boot.emmc.win would be the image file that needs to be renamed to boot.img.

    The .md5 sum file should be a simple plaintext file containing a one line hash to confirm the boot.emmc.win file hasn't been changed/modified.

    Another quick way to tell would be to type ls -l to show the file sizes. The boot.emmc.win should be roughly 16 MBs if I recall? The other .md5 text file should be very tiny in comparison.

    Hope that helps and appreciate the support!