yashsingh1/xdaforums huggingface dataset:
[HTC One S] Sneakyghost:
Thanks mate looks like a handy tool. Salt I had no time to help test this, would have loved to. seems you have gotten it to work decently now. Very good. Thanks a lot!

sent from a bugged One s....
[HTC One S] Smokem_I:
Awesome bro! It's great to finally be able to flash a rom on the go without the need of fastboot! Flashed several roms with this so far and haven't had any issues. We were in desperate need of something like this! Thanks for taking the time to add support for our device!
[HTC One S] shadowch31:
Can't say thank you enough! Works like a dream, hell you even put a smile on my miserable old face ;)
[HTC One S] snwman:
So once we know that the ketnal is supported by a Rom we can just flash away once its unlocked and rioted obviously
[HTC One S] Darknites:
New favourite app lol good job on this.
[HTC One S] Smokem_I:
It supports all roms available for the One S. The Viper Beta Team tested it extensively before release. We didn't encounter any issues or roms that weren't compatible. Also don't forget to hit joeykrim's thanks button or better yet show him support by buying from the Play Store ;)

Soon to be everyone's favorite app once they find it! This is the must have app for the One S.
[HTC One S] shadowch31:
I think if it states on the title 'for ALL hboot versions' or something similar it may help attract people. I can't understand how this is staying so quiet! I've been flashing boot.img using this app from stock roms to asop and different recovery version like there was no tomorrow. Its just all so easy off to buy the market version now to show the dev some love.
[HTC One S] mteezey:
This won't stay quiet for long. Once more users realize they don't have to use fast boot to flash kernels or use a workaround like htc dumlock which takes alot more work. They will all be using this. Its a must have app for any device that does not have s-off this app was a lifesaver for me on my evo 3d. Even once it got s-off I still used regularly to flash kernels on the fly. I have low hboot but still been using this for the past couple weeks since we started testing. All I have to say for those that don't know is NO MORE FASTBOOT! :p:D
[HTC One S] joeykrim:
If you have any feature suggestions, please let me know! Appreciate all the positive support!

Good comments. I listed in the OP and copied below for convenience, which hboot versions were confirmed. If I'm missing any hboot versions, please let me know.

Confirmed Compatible Hboot Versions:

This is directed to anybody/everybody, in regards to methods that can spread the news, it might be worthwhile to write up a simple guide post explaining the steps, very similar to what I have in the OP.

Another method would be to reach out to the ROM/kernel developers and ask them to link back to this thread, or a guide thread, on the various methods to load their software including using this application as one of the methods.

Just throwing out ideas! Appreciate all the help and support!

If you refer to the last section of the OP with the guides, they explain step-by-step process that answer your question. I've pasted below for your convenience. Thanks for the support!
[HTC One S] Darknites:
Get the rom devs to put the info in there threads should help out a bit.

Edit, dam it didnt see there was a 2nd page seem you have that idea already.
[HTC One S] scufutz:
Hi there , let me understand if for example i want to change the rom ? Right now i am on aokp , if i download the kernel from viper 1.2.0 and flash it and then after reboot i will remain on twrp and flash his 1.2.0 rom will WORK?

I kind of tired of using computer to change roms and kernels etc ...

Ps : i wanted to sell my phone becouse of this (i really mis my old sgs/sgs2 method to flash roms/radios/kernels)

Good work
[HTC One S] shadowch31:
Even easier than that.

Simply download the rom and direct the program to it on your sdcard it will then extract the boot.img and any other files it may need such as wlan.ko - flash the kernel and an option to boot normally or boot to recovery is offered, boot to recovery and flash the rom and hey presto. Who needs s-off when we have this method!

Yes I know S-Off would be nice for other things but for now this is by far the lesser of two evils.
[HTC One S] Darknites:
I was thinking is it possible to have it just point to the boot.img file so that i can still delete it from the rom zip to speed up install of the rom? Which takes over 5 mins if it has it.
[HTC One S] shadowch31:
Well it does that? Maybe I'm not understanding but you select the rom and it extracts the needed files and flashes them, then simply remove the boot.img from the zip and flash it to see if it works. Never tried flashing a rom without the boot.img so cannot say.
[HTC One S] mteezey:
IMO removing the boot image isn't gonna cut off any time. In the long run u spent more time navigating through your file manger to go and delete it than it would for it to just flash. Were talking a matter or seconds in recovery. That's just my thoughts though do as you please.
[HTC One S] Darknites:
Em its takes me over 5 minutes to flash a rom with the boot.img in the zip but if i remove the boot.img its less then a minute. With that in mind i would like to remove the boot.img from the zip and then when i copy the rom to sd i copy over boot.img as well.
[HTC One S] DrRyder:
Why is the HTC One S not listed in supported devices if its posted in HTC One S Apps & Themes?
[HTC One S] Phantom Pt. II:
I love you! This is great! Going to test it soon, next time I need to flash my rom.

We need to make you App look sexy as well!
[HTC One S] FatherD:
Some time ago I flashed Trickdroid 8.1.0, but could not get fastboot to push the Kernel over - no matter what I tried! The device boots and works without issue, the kernel number is shown as 3.0.8-01575-gdcba118

So my questions are - should I use this to try to flash the kernel?, or do I actually have the right kernel installed already? .. should I leave well alone?

Thanks in advance
[HTC One S] :
Well it did work because that is correct and without it the rom would not have loaded. Unless you came from TD 8.0.0 which is same base so same kernel meaning you wouldn't have needed to flash it anyway.
[HTC One S] joeykrim:
Great catch! I've updated the OP. Thanks!

Yes, I definitely agree. I haven't had a chance to "pretty up" the user interface. I've instead spent all my time working on providing all the requested and extra features.

If there is anybody with some graphics skills that'd be willing to help out, I'd be more than happy to "pretty up" the user interface.

Thanks for the suggestion!
[HTC One S] eckbauer:
Awesome. It's great to finally be able to flash a ROM on the go without the need of fastboot:good:

Just whent to the Play Store to buy this great App.:)
[HTC One S] DrRyder:
Hey Joeykrim, I'm trying to flash Zarboz's AOZP kernel on this Dark Jelly Bean ROM. Its telling me to select a compatible kernel...even though this kernel was made for this device.
[HTC One S] joeykrim:
You're in the minority of users, but greatly appreciated!! Thanks for the support to you and everybody else!

Can you please provide the link to the file you're loading into Flash Image GUI?
[HTC One S] DrRyder:
I did a little reading just now and see that it says you're supposed to use the zip that kernel comes in along with the modules?

I was picking the zImage itself. Perhaps that was a fault of my own. However, its this one.

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

The 10/26 one. Gonna see what happens if I pick the zip this time. I need this because I cant install kernels any other way. This zip wont flash the kernel if I use HTC Dumlock. Only way I get it to work is by using Dumlock to backup the boot.img and then replacing that with the new boot.img and using Restore Original Boot in recovery.

---------- Post added at 01:57 PM ---------- Previous post was at 01:48 PM ----------

Okay..I did the zip and it tells me that it's too big and can't flash it. This is probably because the kernel zImages are named zImage-21, zImage-18, etc for the AROMA installer.
[HTC One S] joeykrim:
Ah yes. If the .zip file has multiple kernels, it will be very difficult to add support because there are multiple methods and no consistent approach used by developers to specific which kernel is correct.

You could put in a request to the developer to release the traditional .zip file with just the kernel and modules, as this is very standard and is also fairly simple.

Thanks for the heads up!
[HTC One S] DrRyder:
Yeah I figured. This is going to be difficult and just about impossible until someone creates a boot.img. I dont know how to create one with the zImage. I had the mkbootimg.exe but it asks for the kernel file and the ramdisk file. I dont know where that would be.
[HTC One S] nespresso33:
Is it working if after use your app to flash a new rom, in recovery we wipe all ( include data ).

Will the kernel be flashed correctly ?
[HTC One S] mteezey:
Yes. You can flash the boot image from the rom your going to flash and then wipe. It does not affect the boot.IMG you just flashed since your boot loader cant touch that partition(wipe or flash to it) in recovery anyways.
[HTC One S] Rsotbiemrptson:
Hello,

I was wondering if there was any way for this to be modded to work with this, http://xdaforums.com/showpost.php?p=32170653&postcount=2668. It might help some people stuck one T-mobile roms to be able to use others. Also could this work with radios too.

Rsotbiemrptson
[HTC One S] joeykrim:
I'm not clear on what exactly you're requesting. Can you be more specific around the feature or features you're requesting? Thanks!
[HTC One S] Rsotbiemrptson:
Hello,

So what happened is that when the T-Mobile update(2.35) came out there was a change in the way it used Wi-Fi. I assuming it has to do with the Wi-Fi calling. The update also changed the hboot. There were several people who did the update and are now not able to use any other rom then Trickdroid 7.0.0 or stock T-Mobile(2.35) because they have working Wi-Fi. The partitions that I referred to are related to the radio and Wi-Fi parts of the phone. With an older hboot below 1.09 you are able to flash the zips that I created to use the new T-Mobile base and have working Wi-Fi. You are also able to revert back and use other roms and get Wi-Fi working.

Basically what I am asking is if your app can flash these partitions to allow people to switch from the newer T-Mobile base and still have Wi-Fi work. The command I was using the zips I created was "dd", "if=/tmp/wcnss.img", "of=/dev/block/mmcblk0p19". Hope this helps clear things up.

Thanks,

Rsotbiemrptson
[HTC One S] kapilrtn:
thanks man

nice share
[HTC One S] motabass:
Would be very nice with support for Blackout Kernel.:cool:

_____________________________________

sent from my inbranded EU One S

CID 1111111

ViperOneS 1.2

Blackout Rc3

Hboot 1.14

Radio 1.06s
[HTC One S] joeykrim:
unfortunately, when coding an application, assumptions don't work well. this request would require a bit of research and be very carrier, device and software version specific. this type of narrow scope might not be a good feature for Flash Image GUI.

if you can provide technical developer level details around all the files and partitions involved, that would be helpful, but without having a device to test this one, i'm hesitant i'll be able to work out all the required details to code up this very specific functionality.

thanks for the heads up and i will watch for this issue.

Could you provide a link to the kernel and also what error you receive? Thanks!
[HTC One S] :
http://xdaforums.com/showthread.php?t=1886010

Problem is it uses zimages not boot.img and the dev for whatever reason won't give us a boot.img to flash as he had previously done. After asking five times I figured I would just stay on stock :D
[HTC One S] Darknites:
Yep I even said there is no need for what he doing in one of his threads because of this app more so since it don't even work for everyone.
[HTC One S] mteezey:
Well those of us that can flash the kernels in recovery can just flash the kernels that use zimage. And once its been repacked into boot.IMG we can just pull it from the ROM and post it for people having problems. So they can use this app. Problem solved:D
[HTC One S] :
Well it would be if anybody posted them.
[HTC One S] mteezey:
I flash some later and post.
[HTC One S] joeykrim:
Flash Image GUI does properly flash zImage only .zip files, but the kernel you linked to, http://xdaforums.com/showthread.php?t=1886010 , has multiple zImage files. There is not a reliable standard for handling multiple zImage or multiple boot.img files. Either they're using aroma, updater-script, or perhaps another method. To provide support for these exceptions, I would need to code some type of parser for aroma and updater-script or create a new method.

In the mean time, the methods already suggested will work, as well as, removing all other zImage files so only one zImage file remains and renaming the associated module directory to /system/lib/modules. FIG should properly handle a .zip file with one zImage file and associated modules located in /system/lib/modules, following the traditional anykernel and updater-script style.

I will look into the multi-zImage and multi-boot.img setups and keep everybody updated. Thanks for the heads up and information!

On a side note, there are tools to create a boot.img from a zImage file. Essentially, you'll need to get a ramdisk from another kernel, either the one loaded on the device or some other, and merge with the zImage to create the boot.img.

Android created a standard format and padding for these types of files, boot.img, that HTC generally follows pretty closely as not all manufacturers do.

Thanks for the support helping everybody out!
[HTC One S] :
Thank you kind sir really appreciate it.

Does that ^^^^^^ come in English for dummies? :D

Really appreciate your answers and work. Thank you.
[HTC One S] Smokem_I:
Yes, it's called Google ;)

Sent from my HTC One S
[HTC One S] :
Been there done that and its still all Chinese to me :D

I have limited (as in only ever on android) linux experience and to be perfectly honest its not something that interests me enough to learn more about it. My business is home computer specialist and I was born and bred a windows user. If I had the time its something I'd do but with two businesses to try and get running and a seven year old daughter time is a commodity I don't have, hence why I appreciate so much the work people do.

And I try doing my bit to give something back by helping people one on one in pm's to try and keep the dev section uncluttered, we all have our part to play on XDA and that is mine. It may not be anywhere near the work put in by the devs but I hope my efforts afford the dev that extra time coding by helping on the threads.
[HTC One S] motabass:
http://db.tt/Sh3GfLwm

Thats the latest boot.img from blackout.
[HTC One S] droidkevlar:
New to rooting the One S but not new to rooting. Been rooting for 4yrs and this beast is totally diff. Just rooted and was flashing boot.img via fastboot....then someone recommended this. WOW! Makes crack flashing so much easier. And your instructions are dead on. Thanks again for this. This should be sticked and added to android development. People shouldnt be rooting without this tool.
[HTC One S] Darknites:
I vote for this too.
[HTC One S] jakemg:
THANK YOU FOR THIS!

I just learned about this app tonight. I was going to update from the "stable" CM10 to the latest nightly. Would've taken 20 minutes if I worked quickly. Using this app, I had it index the zip file for the new rom, had it do its flashing, booted into TWRP, flashed the rom, then the gapps package (downloaded from goo manager), then rebooted. All done. Literally less than five minutes, including downloading my files.

This is dangerous for people like me who like to swap around roms. ;)
[HTC One S] htheod:
Works great.

Its time to check out more roms...
[HTC One S] Da Baron:
By far the easiest and most simplistic way to flash kernels bar non. Makes flashing ROM's a breeze.
[HTC One S] MrPickleFicker:
Also works on HBoot 1.08!
[HTC One S] :
It works on any Hboot version :)
[HTC One S] farhanito:
Sorry,

If this doesn't need s-off, should it works with One X then?
[HTC One S] joeykrim:
Still waiting to have an HTC One X tester who is able to complete testing. If you're available to test with the HTC One X, please send me a PM and we'll setup a time to walk through the testing steps and confirm everything works properly. Thanks!
[HTC One S] :
New version won't flash any boot.img stock or custom keeps saying choose a compatible boot.img whilst also showing the warning of flashing just a boot.img :(

Anyone else experiencing this?
[HTC One S] joeykrim:
Perfect. I temporarily disabled this in the new version because I wasn't 100% confident in the code and approach. I will be working on fixing this in the next version, hopefully this next weekend I can release, pending personal obligations. I want to thoroughly analyze this while I re-engineer the process and logic.

Can you give me some background on the situations when you want to only flash a boot.img? Also, could you link me to a few of the boot.img files you've tried to flash?

Thanks for the support and feedback!
[HTC One S] :
Not so perfect when I'm stuck on a glitchy kernel and need to flash back the stock kernel, thought I had given up on the fastboot days, but thank the lord for Titanium backup and my need to test new versions before backing up anew :D

There is only two boot.img's around and both belong to fusion kernel of which I have the overclock and attached the other is fusion stock kernel. The other I use is just pulled from TD8.1.0 and have also included for you for testing purposes. The reason I need to flash the fusion oc kernel is if I dont I am unable to flash Zarbozs kernel which are z-images that are flashed using Aroma (which the kernel is very glitchy graphically and tearing - will add for some it works fine but for me it makes the phone look like crap and I'm one of the unlucky ones) so I then need to return to stock hence why I would need to reflash TD's stock boot.img which I have also included.

Besides that instance then there is no other use for the feature as only two kernels and only one has boot.imgs, so whilst testing obviously if your not happy with the custom kernel it makes life a lot easier being able to switch back quickly to original stock.

Other than that there is nothing else as said because we all know if its a rom its easy to use the tool to extract.
[HTC One S] Darknites:
Hmm for some reason I thought you downgraded your Hboot. Its does make life easy when testing stuff like you are.
[HTC One S] :
God no, dont have linux and dont plan to learn much of it either :D

Thats why I love this tool for making life easier, with it I really don't need or care about what hboot version i'm on.
[HTC One S] Darknites:
Its not hard I never used Linux before and if you use the web installer you can uninstall Linux after doing it.
[HTC One S] :
Still not going to happen :D

Honest to god I just can't be arsed, I really don't see the need.
[HTC One S] Darknites:
Fair play. Hope the app is fix soon then.
[HTC One S] :
I have both the original and the last working version just in case anyone needs it I can easily bang it into dropbox for you :)
[HTC One S] Darknites:
Cool good to know.

Edit, ya upload it to drop box so I can add it to mine.
[HTC One S] :
Sent it in a PM fella as didn't want to upset OP as I know a lot don't like mirrors being posted so they can keep an eye on downloads.
[HTC One S] rosswhite:
This app sounds fantastic, thank you. I will be donating when it is fixed.

I would like to test it with the Virtuous JB Sense rom.

Can the OP create a link to the previous working version?
[HTC One S] joeykrim:
No functionality has changed for the feature you're referring to using: flashing kernels from inside of a ROM.

Appreciate your consideration for the 99 cent USD purchase!
[HTC One S] rosswhite:
Oh ok, I'll give it a try then. Thanks for your quick response. 99 cent USD coming your way! lol

Edit: Worked great, thanks again.
[HTC One S] joeykrim:
Fixed the issue and released an updated version tonight, 1.4.9. Available through my free link above and uploaded to Google Play, although Google Play sometimes takes a few hours when processing an update.

Thanks for the support and feedback!

Great! Thanks for the support and positive feedback!
[HTC One S] LibertyMonger:
Thank you for sharing this bud! Looks to be a great app! Just purchased it, seen a buddy in here who's been helping me have it in his sig so I am sure it will work! I will be trying it here shortly, flashing a ROM for the first time on my HTC One S. This looks like I might not have needed to downgrade my hboot, I was prepared to give that a shot but think I will try this first. I think with this, the only thing I will not be able to flash from my phone will be a radio. Thanks again buddy
[HTC One S] Darknites:
Thanks

I'm thinking 10% finders fee :silly::laugh:.
[HTC One S] :
All working beautifully again, appreciate the continued hard work fella I love this app!
[HTC One S] Hopie:
with last version, the app shows wrong phone

Sent from my HTC One S powered by ViperOneS
[HTC One S] :
Never noticed that but yeah its same here doesn't make any difference though still works fine.
[HTC One S] jac10000:
Very useful :good: and no need computer to flash recovery . Thank you :)
[HTC One S] Da Baron:
A "must" have for any Flashaholic! The most simplistic avenue for getting done what is needed in order to flash custom ROM's. Download this app =)

~

Da Baron
[HTC One S] eckbauer:
Great APP,works well no problems and show the correct phone when opened.:)
[HTC One S] cat2115:
Latest version also show wrong phone on HTC One S. It show as HTC Evo 4G LTE.. other than that, flashing work great.
[HTC One S] mteezey:
Strange just updated to check and mines working fine. Shows one s.
[HTC One S] :
Just uninstalled and reinstalled but same issue, checked build prop and thats correct so wondering what it could be that affects some of us, affects is to strong a phone model displays incorrectly but it is purely cosmetic.
[HTC One S] eckbauer:
Mine shows htc One S
[HTC One S] ryanshew:
I think it's the kernel causing the device name issue, I remember seeing EVO somewhere before when flashing Zarboz kernel. And the one post with the correct name is cyanogen mod.

One S | Xparent Red Tapatalk 2 | MIUI Sense | Bricked Beastmode
[HTC One S] yankiadler:
looks good

looks good will try and see how easy it is but whats the difference of the market ver and the release ver ?
[HTC One S] Darknites:
Store one helps the dev out with some money which you will do when you see how handy it is lol.
[HTC One S] joeykrim:
I agree with this theory. I also think some kernel developers are using files from other device ramdisk's, which isn't necessarily the best idea for a kernel ramdisk.

I'm contemplating whether to change the device recognition method to use the build.prop file as Google Play relies on this.

Thanks to everybody for all the feedback!
[HTC One S] Rapier:
I can confirm this... When I used stock ROM (just rooted), device was recognized properly. Now I've flashed Bricked kernel and it's showing as HTC Evo 4G LTE
[HTC One S] Inferi0r:
Here to, it shows my phone as HTC Evo 4G LTE. Kernel version is okay.
[HTC One S] joeykrim:
Thanks for confirming this issue.

I'm working on programming an alternative method to identify the device. Can you paste the output from running the following command?

adb shell getprop ro.product.device

Thanks for the support!
[HTC One S] :
Output - Ville

Correctly identified.
[HTC One S] joeykrim:
Perfect. Thanks for the fast response. I think this is the correct and best response, but ROM devs have been known to modify the values in build.prop.

With a larger sample size, there can be more confidence in the conclusion. If a few other users want to post up, that would be greatly appreciated!
[HTC One S] Goatshocker:
Output: Ville

Setup as in sign.
[HTC One S] :
Identification problem now fixed with new update. Thanks.