yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] muffaburn:
option buttons

Are there any plans to add a clear data button and a reset battery stats button? Whenever I flash a totally new rom i usually clear data (not sure if it's necessary but I do it to be on the safe side). I usually clear battery stats after flashing a different kernal. Great app, keep up the good work!
[Android Apps and Games] joeykrim:
I will get started on this research and post back to you with an update. Adding kernel support for the EVO took a while but the main functionality should be in place to make it easier for supporting other phones! Thanks for the links and suggestions!

These are great suggestions for ROM flashing. Currently, this app is a GUI for the flash_image binary which generally only supports kernel, recovery and boot logo (some phones). Clearing all of /data isn't required to flash most kernels, I don't think it would be a commonly used feature.

Clearing the battery stats could be helpful to some and that is a quick feature I could definitely add!

**Version 1.0.6 Released - Added HTC EVO anykernel type .zip flashing support

Look forward to your feedback! Thanks everybody!

Feel free to let me know what works or doesn't work for you!
[Android Apps and Games] joeykrim:
Updated OP with more phone support

Current Support:

Full Kernel, Logo and Recovery flashing: Samsung Moment, Transform, Intercept and Acclaim

Full Kernel (Anykernel and boot.img) Flashing and Recovery flashing: HTC EVO and Nexus S 4G

Full Kernel (Anykernel and boot.img) Flashing: LG Optimus (need testers)

Full Kernel (zImage) Flashing: Samsung Epic

Full Recovery Flashing: HTC Shift (need testers)
[Android Apps and Games] evilc1:
Any chance of adding HTC Desire HD to the list?

Thanks
[Android Apps and Games] joeykrim:
sure. need a few links from you and hopefully you're willing to test?

link to flash_image binary

link to 2-3 popular kernels

results from "adb shell ls -l /"

thanks for the suggestion!

i link optimus support has been verified so i've updated the OP too.

thanks for everybody's support!
[Android Apps and Games] joeykrim:
Updated the OP to indicate more device support. Added HTC EVO 3D and Nexus S.

If you'd like your device support, link me the flash_image binary and a few popular kernels. Once I've added the support, I'll need your help testing before I release!

Thanks for all the support!!!
[Android Apps and Games] dr.notor:
Recovery flashing works perfectly on LG P500 (Optimus One). Did not try with kernel yet. :cool:
[Android Apps and Games] joeykrim:
Perfect! Thanks for testing this. If you do have a chance to test for kernel support on the LG P500 let me know. If there are any issues, I can definitely tweak the app for any device specific needs.

Updated the OP with more recent screenshots and information.

Added detailed kernel version output to the main screen.

Added progress bar details fro Anykernel flashing on EVO 3D.

Thanks for all the support and I appreciate all the feedback!
[Android Apps and Games] dr.notor:
Got a new testing kernel to play with. Flashed without any problem whatsoever. So, I guess no tweaking required for this phone. :D :cool:
[Android Apps and Games] joeykrim:
nice! appreciate the testing! let me know if you have any feedback or suggestions. i'm always open to improving!

Updated OP- new application version 1.2.1:

Added support flashing recovery through .zip files for HTC EVO 3D, Samsung Nexus S (4G), HTC EVO and LG Optimus

Added application version check feature for non market users
[Android Apps and Games] dodialfaed:
please help

I flashed a custom recovery (amonra 2.2.1) using your app.

but now I'm stuck in fastboot mode.

Please give me some advice on how to fix this.
[Android Apps and Games] joeykrim:
Being stuck in fastboot mode generally means the recovery flash did not work.

It is hard to give a recommendation on how to resolve without knowing which android device you're using as this application supports roughly only 14 different android devices all of which have different custom recovery's and different custom recovery partitions.

Also, I see your profile shows Romania. I generally only support Sprint (US CDMA Carrier) based android devices with this application as those are the devices I've found the largest testing base to work with.

The most generic solution would be to attempt the recovery flash again as some devices have been known to be finicky.

What android device are you using? Can you provide a link to the amonra 2.2.1 file you used to flash?

Appreciate the feedback.
[Android Apps and Games] dodialfaed:
I'm using Lg Optimus One (P500), runing lol a 2.2.2 rom (lol 1.4.2).

I solved my problem using this tread http://xdaforums.com/showthread.php?t=1088046&highlight=fastboot.

The recovery that I tried to install was Amonra 2.2.1.

Thank you anyway for your quick reply :D
[Android Apps and Games] ssenbonzakura:
Wonderful app. Was having difficulties flashing recovery with adb. This came through for me. Thanks :D
[Android Apps and Games] nmoreman:
Please excuse me for asking a question, probably stupid, to fully undestand what this app does, I have been recomended to use it.

Fully understand (kinda) clockwork, use adb, and steer clear of Rom Manager since I came from Epic. Use it to boot to recovery, never download.

So using this, does it work the same for backups, uploading custom roms, whatever else needs to be flashed?

I'm having some issues on Nexus s4G. Rom Manager shows 3.1.0.1, top of app shows 4.5.---, cw is blue showing 5.0.2.0. Had some issues, had to reload Pete's 2.3.7 deoxedexed and kept entering never ending loop, battery pulls, problems, so dont know if this is a good alternative.

I don't feel like spending another day to fix my phone, so I hope you understand

my questions. I'm not huge tech mind on understanding files, etc., but can use and function well with instructions.
[Android Apps and Games] joeykrim:
Thank you for the feedback! Positive feedback is always motivating and I appreciate knowing the application was able to help save some time and labor!

Theres a lot of questions hidden in there regarding applications, terminology, and different approaches. I'll do my best to answer and sort everything out.

There is really no common alternative to ROM Manager.

For the NS4G, there are two common custom recoveries, Clockworkmod and TWRP (Teamwin Recovery Project).

With that said, this application, Flash Image GUI, performs two main functions for the NS4G.

1) It allows a custom recovery to be easily flashed, example, loading cwm .img or twrp .img files.

2) It allows a custom kernel to be easily flashed (the .zip file, zImage or boot.img)

My application is linked up in the OP for free. Once you open it, it will appear identical to the screenshots in the OP, you'l see the two main options for the NS4G presented. The application interface should be fairly straight forward and simple to use. I welcome any feedback on the application!

Hopefully that helps sort out all the questions. If I missed something, feel free to post and I'll do my best to answer.

Thanks for the interest and support!
[Android Apps and Games] nmoreman:
I do want to thank you for all the work you have done in the past, I have used many of your programs over the year, so thank you.

I have been having some issues with clockwork, shows different versions in different parts of my phone. Going to recovery, it is blue, 5.0.2.0 and works, except for the endless boot this week - might've been this or the theme??

Anyway, back up and running so looking at this for alternative.

I can use this to install kernels, but not roms? Anything else.

I also cannot get this to load thru adb, install . . . did not work for me, so will probably purchase off market. I prefer adb to be sure nothing is missed on download, but wasn't working for me, or maybe didn't hit the correct command once open in platform-tools.

Thanks
[Android Apps and Games] joeykrim:
Appreciate the support.

You're right on track. Flash Image GUI can be used to flash kernels and recovery image files.

To install, as I have in the OP, the adb command is:

adb install c:\downloads\FlashImageGUI.apk (replace c:\ with the path to the download location of the .apk)

If you want to post back the error you receiving when following this command we can troubleshoot from there. I don't want you to have to buy the 99 cent market version due to a technicality of installing the free version via adb!

Also, as a work around to adb, you might be able to directly click on the .apk link above from your NS4G and it will download then prompt if you want to install.

Hope that helps!
[Android Apps and Games] nmoreman:
Thanks for the suggestion to downloadmdirect, way too easy!

After wrestling with dab, it was worthnmore than 99 cents not to try it again! Ver generous of younto provide free to members.

I am good tomgo, will read more and probably try matrix v8 withnthisntomorrow and let younknow owmit went
[Android Apps and Games] nmoreman:
Wow, just read last night's post - shouldn't use Swype without glasses!!

I got it uploaded via download on phone and install - this is a very smooth way to go it. I won't use for a little while, don't need changes, sticking with same kernel, so thanks again for all your help.
[Android Apps and Games] gorm:
Verizon Vortex

Used this on wife's Vortex last night to flash Amon_Ra recovery-RA-vortex-2.2.1-GNM.img. and it work great, never could adb to work.

Well worth 99 cents. Thanks for this awesome app.
[Android Apps and Games] Raul027:
The free link does not work.
[Android Apps and Games] charlotte71:
it's not that it doesn't work, it redirects to the app page...
[Android Apps and Games] -Grift-:
So I take it that it supports LG optimus gt540?
[Android Apps and Games] joeykrim:
Released a minor update adding a few more options to preferences.

Tested and verified, all links should be working!

Should. There are quite a few LG Optimus devices all using very similar hardware and software setups. The best way to know is to load the application as it will clearly state when it opens, whether or not the device is support.

If the device isn't supported and you have a few minutes to help out, it should be pretty simple to get everything going. Keep us updated!

Thanks for the support!
[Android Apps and Games] CyanideJack:
Any chance for support for the HTC Incredible S? I have unlocked my bootloader via the HTC unlock method, but this dosn't support access to flash Kernels. I'm hoping your app might allow me to do this in the future. (I've tried Kernel Manager, and this didn't work).

If you need anything specific to help you with this, happy to help if I can.
[Android Apps and Games] joeykrim:
It would be great to add support for the Incredible S! I'll send you a PM with some of the information I need and also for a time to meet up and perform the necessary testing.

Thanks for your support!
[Android Apps and Games] Gunthermic:
Any chance of adding support for tablets as well? Say the Toshiba Thrive.
[Android Apps and Games] DEFINITIONOFREAL:
Can you check into the htc amaze, it would be nice to not need a pc every time I want to flash a rom, I can help with getting information and testing
[Android Apps and Games] joeykrim:
Yes to both. All I need are willing and able testers!

If you guys are able to help test AND knowledgeable, send me a PM and we can meet up.

Previous devices have taken me approx 45-60 minutes to on board depending on how complex the device is and how knowledgeable the tester is!

Look forward to hearing from you!

Thanks for the support!
[Android Apps and Games] DarkenCypher:
Just curious, when you say optimus do you mean the optimus one line and its cdma variants? ex. optimus V, optimus S
[Android Apps and Games] phatronic:
I unlocked the bootloader via HTC method, I installed CWM-Recovery (Rom-Manager)

and I rooted it with HTC Super Tool v3...I also managed to install LeedDroids custom rom on it, but the problem was that i wasn't not able to OC the phone. (still S-Off)

Today I tried to flash the kernel again using flash image GUI but nothing changed after reboot, is it because of Hboot 1.49.0018?
[Android Apps and Games] joeykrim:
Yes. As far as I've heard, it is working on all the optimus one line and its variants. Let me know which device you're using and how it works out for you. Thanks!

Flash Image GUI works with the HTC unlock method on most devices. Not clear on which device you're using?

So far, regarding HTC Unlock, Flash Image GUI has been tested and confirmed working for users on the HTC EVO 3D GSM/CDMA, HTC Amaze and HTC Vivid/Holiday.

Thanks for the support!
[Android Apps and Games] Android Cowboy:
I'm on a ICS ROM where USB mount is not working and ADB is not recognizing the device. Can this app be used to flash kernel from a nandroid backup and if so how. Thanks.
[Android Apps and Games] joeykrim:
Gotta love my response time!

Assuming you're on one of the HTC devices (I know this works with EVO 3D) with HTC official unlock (which prevents kernel flashing from recovery mode), yes, Flash Image GUI will flash the kernel from a nandroid backup.

Depending on the type of recovery, they name the kernel files differently, you'll need to rename the kernel backup you're wanting to use to boot.img. Select that from Flash Image GUI and it will flash.

Also, make sure to boot into recovery mode and restore the rest of the nandroid or the device might not boot depending on the backup kernel and current ROM loaded.

Hope that helps! Appreciate the support!
[Android Apps and Games] Android Cowboy:
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.
[Android Apps and Games] joeykrim:
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!
[Android Apps and Games] Android Cowboy:
I changed the boot.emmc.win to boot.img and flashed using the app. Then changed the file name back to boot.emmc.win then boot into recovery and restored. It worked. Awesome. Thanks so much. Just paid for the app.
[Android Apps and Games] ZENGURU:
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.:)
[Android Apps and Games] joeykrim:
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
[Android Apps and Games] Captain_Throwback:
Can support for the EVO 4G LTE be added?

Anyone that takes the latest OTA will likely need it :rolleyes:.
[Android Apps and Games] joeykrim:
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!
[Android Apps and Games] mucus_android:
this tool is excellent, thanks so much joeykrim
[Android Apps and Games] Captain_Throwback:
P.S. Kernel source code has been released! :D
[Android Apps and Games] joeykrim:
Thanks for the support and positive feedback!

Quick update, added support for more devices. Total device support list: HTC One S, EVO 4G LTE, EVO 3D CDMA and GSM, Amaze, Vivid/Holiday, EVO 4G, EVO Shift, Nexus 7, Samsung Google Galaxy Nexus (GSM & CDMA), Nexus S/Nexus S 4G & LG Optimus

If you're using a device not listed above and want have support, I need a tester with two things: knowledge of ADB and of creating a backup/restoring from the custom recovery.

If you fit these requirements, post up here or send me a PM and we can meet up to add support! Thanks again!
[Android Apps and Games] HTCLittleMonster:
Hello,

I downloaded the forbidden Kernel's zip file, but whenever I try and use Flash Image GUI to install it, it says an invalid zip file. What do I do?

I've checked the zip and everything is in it, and the archive isn't corrupted.

Thanks :)
[Android Apps and Games] joeykrim:
Can you provide a link to the .zip file and also the type of device you are using?

In addition, could you screenshot the error message and post that up?

Thanks
[Android Apps and Games] HTCLittleMonster:
Link: http://androidfilehost.com/?fid=9390135922294523734

Device: HTC EVO 3D GSM - HBOOT 1.53.0007 S-ON

Screenshot is attached.

I checked the .zip file and everything is in there, it's not corrupted or anything either.

Thank you
[Android Apps and Games] joeykrim:
All the information was helpful. The issue around this file is that the .zip contains multiple kernel files for three different devices. This is unusual as most other .zip files contain only one kernel and are distributed for one device.

In order to support this type of .zip file, a lot of work and adjustments would need to be made.

For future reference, there is an EVO 3D specific thread for Flash Image GUI: http://xdaforums.com/showthread.php?t=1192527

Thanks for raising the issue and hopefully the explanation makes sense.
[Android Apps and Games] jwinn3:
Why do the su binary in SuperUser elite v3.1.3 (46) change from su binary v3.1.1. (17) to su binary v1.05: SUPERSU (0) when I open SuperSU Pro v1.05. It tells me that my su binary for SuperUser elite v3.1.3 (46) is outdated and to update. Is it necessary to have both of these apps: SuperUser elite and SuperSU Pro?
[Android Apps and Games] sordna:
This looks like a great app, but I have a question, why does the app need the Network permission ?
[Android Apps and Games] joeykrim:
As most users, based on download counts, prefer to download the free version rather than the 99 cent Google Play version there is no way for update notifications to be provided.

As a work around, so users on the free version can easily stay up to date, I coded the app to check whether an update is available, which requires the internet. This feature can be toggled off in the settings.

Also, anonymous usage metrics and error reports (unfortunately these occasionally occur) both use the internet.

Thanks for the support!
[Android Apps and Games] sordna:
Ok, thank for the quick response! It might be good to remove the network permission from the paid version... or at least mention in the Play store description what the permission is used for.
[Android Apps and Games] sordna:
Allright, I tried the app on my Nexus 4 (stock rom, franco kernel),

and observed some issues while trying to flash the android 4.3 stock boot.img

to my boot partition, as a test to go from franco to stock kernel.

First of all, I got the message: "boot.img is 23068672 bytes. This file is

too large to be a valid kernel or recovery file."

The above message is wrong, since my boot partition is exactly 23068672

bytes and I have been flashing this file both with TWRP and with fastboot

all the time without problem. Even on android 4.2 the boot.mig was same size.

Anyway, after that, the app did let me hit the flash button after confirmation,

and then printed the following messages:

- Mounting system in read-write mode.

- Current task: Removing previous kernel modules

then it stopped without further info. The boot.img was not flashed, I was

able to reboot the phone and still had the franco kernel on. However

the app did change something, because I lost the kernel color settings I had.

So I have 3 questions:

1. Why do I get the message about the size? Doesn't the app recognize .img

files, which are naturally bigger than zip files ?

2. When the app says "Mounting system in read-write mode", did it mount

my boot partition, or my system partition?

3. What exactly did the app change on my phone which made me loose my

kernel settings, and do I need to do restore just boot, or system partition

too from my nandroid backups to undo your app's actions?
[Android Apps and Games] joeykrim:
First, I will directly answer your questions, then I'll provide some insight/history of FIG (Flash Image GUI).

1) Yes, the app does recognize .img files. I downloaded the stock boot.img file from the official Google hosted factory images and am seeing the kernel for Android 4.3 at a size of 6342656 bytes, which is approximately 1/4th the size of the image file you're referencing. Can you confirm the source of the stock boot.img file you're using that is showing a size of 23068672 bytes?

Google hosted factory images: https://developers.google.com/android/nexus/images#occam

Nexus 4 - Android 4.3: https://dl.google.com/dl/android/aosp/occam-jwr66v-factory-08d2b697.tgz

The image-occam-jwr66v.zip contains the stock boot.img file.

2) Mounting is generally only performed in linux with regards to partitions. The phrase, "Mounting system..." is referring to the system partition. I've added the word partition to the text and it will be updated in the next release.

3) You mentioned the "boot.img" was not flashed. If this is true, then only the system partition was modified. Therefore, only the system partition would need to be restored.

Insight/History of FIG regarding your comments:

I think the difference in size between the stock boot.img Google officially distributes and the stock boot.img file you're using is due to the stock boot.img file you're using having been generated by dumping the full boot partition, usually performed by making a backup in a custom recovery.

The file size limitation, 20971520 bytes or 20MB, in Flash Image GUI was created slightly over two years ago when the application was first designed as some users were incorrectly flashing the wrong files that were too large for the boot partition. At that time, the devices that were supported in FIG had boot partitions of roughly 6-8MB in size. Given that the storage space on Android devices as increased the last two years, the boot partition as increased in size as well and I've raised this limit for the dialog prompt to 41943040 bytes or 40MB. This will also be included in the next release of the application.

Thanks for the detailed feedback. Let me know if you have any other questions or issues!