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

Search This thread

joeykrim

Inactive Recognized Developer
Jan 9, 2009
1,978
1,311
I'm on stock ROM, gsm, s-on and could flash 3.2 and 3.4 coolexe kernel with this program, but 3.5 gives me error on newboot.img
Could you provide a link to the exact file you downloaded that gave an error? Also, could you provide a screenshot of the error Flash Image GUI gives? Both these steps will help me re-produce the issue on my EVO 3D and then work on fixing the code to properly handle the issue.

Appreciate the feedback and support!
 

wwjoshdew

Inactive Recognized Contributor
Dec 30, 2008
1,389
1,400
Seattle
tinyurl.com
Hey joeykrim, do you plan on supporting the SGS3? I know you update your app a lot and you have supported MANY new devices since the Transform days... Just curious, that's all! :)
 

joeykrim

Inactive Recognized Developer
Jan 9, 2009
1,978
1,311
Hey joeykrim, do you plan on supporting the SGS3? I know you update your app a lot and you have supported MANY new devices since the Transform days... Just curious, that's all! :)
There are two main ways I'm able to thoroughly test and add support for a device.
1) I buy the device, which I have a small limited budget for and am not able to do this as often as I want
2) One or two knowledgeable and reliable testers able to spend 1-5 hours (depending on complexity of the device) going through all the motions

For the SGS3, I haven't had either one of these come through yet! If you or anybody you know are able to help test, let me know. Thanks!
 

wwjoshdew

Inactive Recognized Contributor
Dec 30, 2008
1,389
1,400
Seattle
tinyurl.com
There are two main ways I'm able to thoroughly test and add support for a device.
1) I buy the device, which I have a small limited budget for and am not able to do this as often as I want
2) One or two knowledgeable and reliable testers able to spend 1-5 hours (depending on complexity of the device) going through all the motions

For the SGS3, I haven't had either one of these come through yet! If you or anybody you know are able to help test, let me know. Thanks!

Well I wouldn't be a good candidate! A lot of my time is spent editing and working a day job.

BTW, I used your app in YET ANOTHER video! :)

http://www.youtube.com/watch?v=Xak7325AS_I

 

ShifterX2

Member
Feb 6, 2011
46
1
Well, hopefully this will fix my wifi issues

First time flashing a kernel.....ever, but heard it might be the reason I have wifi issues, so I tried Buttered Toast or buttery toast or whatever. Easy install, but no luck. Apparently that was not a good kernel.
 

black2rob

Senior Member
Nov 28, 2010
319
87
Conroe, TX
First time flashing a kernel.....ever, but heard it might be the reason I have wifi issues, so I tried Buttered Toast or buttery toast or whatever. Easy install, but no luck. Apparently that was not a good kernel.

I emailed joey to see if his app flash these custom kernels correctly still waiting for him to email me back....as far as I know only stock kernels flash well with his app I could be wrong but I forgot who told me that his app doesnt install these kernels like its supposed to.....
 

ramjet73

Senior Member
Jan 12, 2006
9,149
9,621
Honolulu, Hawaii
I emailed joey to see if his app flash these custom kernels correctly still waiting for him to email me back....as far as I know only stock kernels flash well with his app I could be wrong but I forgot who told me that his app doesnt install these kernels like its supposed to.....
If a kernel or ROM is flashed with an Aroma script, it depends on how it is scripted and whether there is more than one kernel in the ROM zip file. Here's what one kernel developer had to say about it:
i was told flashgui may flash kernels, but i dont think flashgui will work w/ my kernel - due to the fact aroma edits the command line parameters of the kernel inside the ramdisk
ramjet73
 

black2rob

Senior Member
Nov 28, 2010
319
87
Conroe, TX
If a kernel or ROM is flashed with an Aroma script, it depends on how it is scripted and whether there is more than one kernel in the ROM zip file. Here's what one kernel developer had to say about it:

ramjet73

Well I flashed a kernel with flash image GUI using to roms that have aroma installer and it worked perfect.
 

ramjet73

Senior Member
Jan 12, 2006
9,149
9,621
Honolulu, Hawaii
Well I flashed a kernel with flash image GUI using to roms that have aroma installer and it worked perfect.
My post didn't say that Flash Image GUI cannot flash a kernel from a ROM or kernel zip using Aroma. I've done that myself.

If you read it again, it said that it won't be able to flash properly if the developer has included multiple kernels in a ROM zip, or has features like the command line parameters being handled by Aroma.

Flash Image GUI will detect the multiple kernel scenario and fail. But the command line parameters scenario will provide no indication that your flash is incomplete and the kernel will have problems.

ramjet73
 

black2rob

Senior Member
Nov 28, 2010
319
87
Conroe, TX
My post didn't say that Flash Image GUI cannot flash a kernel from a ROM or kernel zip using Aroma. I've done that myself.

If you read it again, it said that it won't be able to flash properly if the developer has included multiple kernels in a ROM zip, or has features like the command line parameters being handled by Aroma.

Flash Image GUI will detect the multiple kernel scenario and fail. But the command line parameters scenario will provide no indication that your flash is incomplete and the kernel will have problems.

ramjet73

I know you didn't say that, I'm just posting saying that it worked for me that's all....I didnt mean no disrespect bro.....smile its all good....:D
 
  • Like
Reactions: ramjet73

ramjet73

Senior Member
Jan 12, 2006
9,149
9,621
Honolulu, Hawaii
I know you didn't say that, I'm just posting saying that it worked for me that's all....I didnt mean no disrespect bro.....smile its all good....:D
No problem.

I just want users to be aware that there can be problems flashing kernels with Flash Image GUI (FIG) whether there are error messages or not. It's always best to ask the ROM or kernel developer if it's OK to use FIG to flash the kernel from their zip file, and if they say no or they don't know I wouldn't recommend it.

The better solution is to get radio S-OFF and then you can flash the boot partition (kernel) from recovery and don't have to worry about fastboot, 4EXT SmartFlash or FIG.

ramjet73
 
  • Like
Reactions: black2rob

black2rob

Senior Member
Nov 28, 2010
319
87
Conroe, TX
No problem.

I just want users to be aware that there can be problems flashing kernels with Flash Image GUI (FIG) whether there are error messages or not. It's always best to ask the ROM or kernel developer if it's OK to use FIG to flash the kernel from their zip file, and if they say no or they don't know I wouldn't recommend it.

The better solution is to get radio S-OFF and then you can flash the boot partition (kernel) from recovery and don't have to worry about fastboot, 4EXT SmartFlash or FIG.

ramjet73

Yeah I agree with you...FIG has helped me a lot. But getting s-off is the way to go...
 

joeykrim

Inactive Recognized Developer
Jan 9, 2009
1,978
1,311
First time flashing a kernel.....ever, but heard it might be the reason I have wifi issues, so I tried Buttered Toast or buttery toast or whatever. Easy install, but no luck. Apparently that was not a good kernel.
Can you provide a link to the kernel .zip file you're using as well as any error message you received or how you determined it was "not a good kernel"?

If a kernel or ROM is flashed with an Aroma script, it depends on how it is scripted and whether there is more than one kernel in the ROM zip file. Here's what one kernel developer had to say about it:
i was told flashgui may flash kernels, but i dont think flashgui will work w/ my kernel - due to the fact aroma edits the command line parameters of the kernel inside the ramdisk
ramjet73
having more than one kernel in a .zip file is going to be a bit of a headache because the developer could be using some custom program, aroma script, or the generic updater-script, to code out how to determine which kernel to use. sometimes this coding can be very device specific and or could be more general. essentially, there are many variables involved here that usually require a lot of specific coding thus creating a bit of a headache in how to properly modular support for all devices, while coding up a specific device implementation.

now the command line parameters are very short and generally not a big deal, although depends on what type of edits are being made. since no technical details have been provided, could you provide a link to the kernel .zip? i can research the commands and process to determine what the kernel developer is attempting to accomplish. generally, there are a few ways to accomplish the same end goal, but never know until i see the code!

thanks for all the feedback and support. the more technical the details are that are shared, the more helpful the feedback is!

a few of the links i have in my email and am researching:
http://xdaforums.com/showthread.php?t=1970872
http://xdaforums.com/showthread.php?t=1873926
 
Last edited:

ramjet73

Senior Member
Jan 12, 2006
9,149
9,621
Honolulu, Hawaii
now the command line parameters are very short and generally not a big deal, although depends on what type of edits are being made. since no technical details have been provided, could you provide a link to the kernel .zip? i can research the commands and process to determine what the kernel developer is attempting to accomplish. generally, there are a few ways to accomplish the same end goal, but never know until i see the code!
I sent you a PM regarding this request.

ramjet73
 

Jbb3393

Senior Member
Jul 25, 2009
890
344
HTC U11
I know it did t say in the OP but I have to ask, does this work for the HTC One V? I have a friend and I am really wanting to help him out, thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 85
    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

    HTC Unlock - Newer Hboot:
    If you have a newer Hboot version on either a CDMA or GSM device which has successfully completed the HTC unlock method, this application will work to flash kernels!
    Please see the guides at the bottom of this post!

    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 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.
    This app allows the flashing of kernels and custom recovery images in normal android mode!

    Current Device Support:
    Full Kernel, Logo and Recovery flashing: Samsung Moment, Transform, Intercept and Acclaim - the s3c6410 series of devices
    Full Kernel (Anykernel and boot.img) Flashing and Recovery (zip file or image) flashing: HTC EVO 3D CDMA and GSM, Amaze, Vivid/Holiday, EVO, EVO Shift, Samsung Google Galaxy Nexus, Nexus S/Nexus S 4G & LG Optimus
    Full Kernel (zImage) Flashing: Samsung Epic
    Check application version for updates

    Specific EVO 3D Support:
    Custom Kernels - CDMA
    [Kernel] [AOSP & Sense] Tiamat 1.1.0 | 2.6.35.14
    [KERNEL] Infected-AnthraX
    [KERNEL] mildAnthraX
    [KERNEL] Silverneedle 1.0
    [KERNEL] mKernel

    Custom Recovery
    Use my app to easily load the Teamwin Recovery - TWRP 2.
    Download either PG86IMG.zip or recovery .img to your sdcard, select from the app and flash!
    CWM 5.0.2.0 - EVO 3D CDMA - - http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-shooter.img
    CWM 5.0.2.0 - EVO 3D GSM - http://download.clockworkmod.com/recoveries/recovery-clockwork-5.0.2.0-shooteru.img

    Future Support:
    Will continue to test kernels as they are released to ensure compatibility!

    YouTube Video Directions:
    http://www.youtube.com/watch?v=cEVhKbvXawM&hd=1&list=PL9B601B5B9B4F42BE
    Thanks disturb3d1/wwjoshdew!

    Great Photo Guide:
    http://htcevohacks.com/htc-evo-3d-hacks/how-to-install-kernelrom-on-hboot-1-50-for-htc-evo-3d/

    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. Use Kernel Manager!

    Screenshots:
    sshot-FlashImageGUI-main-portrait-evo3d-v1.3.2-50.png


    FlashImageGUI-main-portrait-optionsmenu-evo3d-v1.3.2-50.png


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


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

    HTC Unlock - Hboot 1.5 User Guides for Flash Image GUI!!

    HTC Unlock - Hboot 1.5 Users Guide for ROMs with a Kernel (boot.img file):
    1) Unlock using HTC method for Hboot 1.5 users
    2) Load this application, Flash Image GUI, onto the device, either through the Market or the link provided in this OP.
    3) Download ROM .zip file to the sdcard on the device.
    4) Open up Flash Image GUI, select Browse and select the ROM .zip file, downloaded to /sdcard in the previous step.
    5) Flash Image GUI will provide a warning, reminding that the ROM .zip file will *need* to be flashed in the custom recovery afterward.
    6) Flash Image GUI will index the full ROM .zip file searching for the kernel and kernel modules. Once located, the Flash Image button should be enabled.
    7) Select the Flash Image button and Flash Image GUI will load the kernel modules and kernel from inside the ROM zip file.
    8) Select reboot recovery.
    9) Inside the custom recovery, wipe data is ROM requires and load/flash the ROM zip file.
    10) Reboot to normal Android mode and all should work including Wifi!


    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

    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 (or packaged ramdisk in the kernel) is NOT compatible with your device!!!
    Solution for #1: Have to boot into fastboot 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.
    3
    No this allows flashing of Kernels AND Recoveries , just not sure if Recoveries can be flashed with S-ON ;)

    It even has links to the recoveries in the first post :)

    "Full Kernel (Anykernel and boot.img) Flashing and Recovery (zip file or image) flashing: HTC EVO 3D CDMA and GSM, HTC EVO, HTC EVO Shift, Nexus S/Nexus S 4G & LG Optimus
    "
    Yes, recovery images can be flashed into the recovery partition with S-On.
    There are two main drawbacks to S-On.
    1) Kernels can't be flashed from the standard recovery mode. BUT, they can be flashed from fastboot mode or from normal android mode. FIG works in normal android mode making it easy/simple to flash kernels and the kernel portion of ROMs.
    2) I've read S-On does not allow the radio.img to be flashed. I haven't researched this too much as there has been no updated radio.img released yet for the EVO 3D. I'm sure once an updated radio.img comes around, we'll figure this out too!

    Thanks for the support and feedback!
    2
    thanks for taking the time to help out bro!! youre awesome!! :D

    ---------- Post added at 02:45 AM ---------- Previous post was at 01:47 AM ----------

    @Joey.. I'm not extremely new to the rooting business, But however I am, kinda new to knowing what the kernels do and how do they help when flashing ROMs, and last but not release, you can flash ROMs with that app correct. Sorry for so many questions, just trying to learn and understand.

    ---------- Post added at 03:11 AM ---------- Previous post was at 02:45 AM ----------

    Im confused... on this command: 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

    I have the file FlashGUI.apk on my sdcard.. where to now.. sorry Im slow today
    You can use Root Explorer or other applications to install an .apk from sdcard. Using adb, my preferred method is to use the above command which installs the .apk file from your host computer, over the USB connections to your phone.
    ./adb install c:\downloads\FlashImageGUI.apk.
    The command might work if you try, adb install /sdcard/FlashImageGUI.apk.

    Thanks! I've added it to the OP!
    2
    Stupid question, maybe.

    Is this only for those on Hboot 1.5?

    I am rocking 1.40.1100

    Far as I know it's for everyone, but a necessity for 1.50
    Works on all Hboot versions. I've been using and testing it extensively with 1.3 on my own device!

    As an update, I was able to add a Reboot Recovery button after the flash completes to help people save a few extra steps in version 1.3.6 released yesterday!

    Thanks for the support!
    2
    @Joey... sou you are saying that I have successfully unlocked bootloader but stuck at trying to get s-off with the new hboot version, Im using htcevohacks.com method (http://htcevohacks.com/htc-evo-3d-hacks/how-to-root-evo-3d-2-08-651-2-and-later-htc-unlock-method/) but seem to be stuck trying to flash recovery typing this command :fastboot flash recovery cwm-4.0.1.4-shooter.img. please help:confused:
    The point you're stuck at, has nothing to do with this thread, Flash Image GUI, as this thread is dedicated to an application. Although, I can provide a solution to your issue which Flash Image GUI does assist with! In addition, I'll also provide alternative solutions if you're not using Flash Image GUI.

    I do have links in the OP to the custom recoveries available for the EVO 3D. I've wrote up a very nice and detailed generic reply for this type of issue as I frequent the EVO 3D Q&A board a bit too often:
    Steps 1 - 3 will work having used AlphaRevX's revolutionary method. Steps 1 & 3 will work having used HTC's unlock method. The two methods unlock the internal memory write protection differently, hence the difference in steps for flash a custom recovery on the EVO 3D.

    1) Flash from normal android mode: My application works well for this, Flash Image GUI, as well as flashing kernels, especially when being away from or not having a computer available. Select either the PG86IMG.zip, or the actual recovery.img file from the sdcard and flash!

    2) Flash through the bootloader by putting a PG86IMG.zip file on the root of your sdcard. The TWRP version of this file is located a their site linked to in the OP.

    3) Flash the actual recovery image through fastboot by using the following command: fastboot flash recovery c:\downloads\twrp-recovery.img

    Hope that helps! Good luck!