yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] regaw_leinad:
Yeah, go for it, I'll take a look. I may ask a mod to clean this thread out when we get a release ready.
[Hero CDMA Android Development] Audionut:
Thanks. I just sent it, but my computer kinda flipped out so you may get more than one copy. Sorry.
[Hero CDMA Android Development] regaw_leinad:
hahah yeah, I got 3 of them, no worries, I'll get to it soon
[Hero CDMA Android Development] zachslavin:
Hey Regaw,

PM me when you want to test out radio 2.42.01.04.27
[Hero CDMA Android Development] regaw_leinad:
Update, we will not be supporting 1.**.**.**.** radios. There was too much variability in testing.

we will support 2.** + radios

I need one more tester who is running the radio version:

2.41.04.02.02

Please pm me.

Thanks
[Hero CDMA Android Development] regaw_leinad:
Would you guys still like to see us release this for the CDMA Hero? It will unlock your bootloader that you are running to s-off to allow unsigned flashing from the bootloader
[Hero CDMA Android Development] mquinn24:
YES
[Hero CDMA Android Development] :
you betcha Thanks
[Hero CDMA Android Development] prios914:
Absolutely!
[Hero CDMA Android Development] kwheel596:
Is there anyway to turn it back ON? For if someone were to have to take their phone back
[Hero CDMA Android Development] nfinitefx45:
we will follow the king of root for the 2.1 hero, hell yes release it
[Hero CDMA Android Development] regaw_leinad:
there will be, probably not at the time of this release, but soon after.
[Hero CDMA Android Development] bycoo222:
Really excited for this release
[Hero CDMA Android Development] tomatosoup:
As if you needed to take it back for repair and didn't want them to know if was s-off? Just pull out one of the springs connected to the part where the battery goes, the phone will never turn on again :P
[Hero CDMA Android Development] gidkid:
+1, but not flashing until I can set back to s-on. I'm going to be cautious about this one.

Edit: good idea, tomatosoup...

Sent from my CDMA Hero, sucka!
[Hero CDMA Android Development] regaw_leinad:
Need one more tester for this ASAP!

Radio

2.42.01.04.23 preferably .

post or pm me asap
[Hero CDMA Android Development] dean.d:
Cellular south got you covered. I'll test if you give me a review of the previous results from other test.
[Hero CDMA Android Development] regaw_leinad:
All of the other tests went perfectly. We just want to cover them all, so you would be the last one. pm me your gtalk asap so we can do this haha
[Hero CDMA Android Development] nfinitefx45:
flawless testing so far
[Hero CDMA Android Development] dean.d:
All's good in the cell south hood. Is there any difference between this a darch's? I assume that s off is s off but what do I know?
[Hero CDMA Android Development] regaw_leinad:
link is up. READ EVERYTHING in the first post before flashing.
[Hero CDMA Android Development] DominoDoug:
I haven't delved into hboot too much so I'm not 100% on the benefits, but I am intrigued by this.

Sent from my Hero CM6.
[Hero CDMA Android Development] Tiffany84:
Just tried it on my wifes hero. Took 2 seconds, worked flawlessly. Regaw you are the man.
[Hero CDMA Android Development] duffkitty:
Will your s-on method undo Darch's Eng spl? I know you have nothing to do with it but I'm weary about doing something to my phone that's completely unreversable... It is still under Warranty for a couple months =P

Sent from my CM 6 Blackmodded Heroc using the XDA app. Now with uncapped kernel and battery tweaks.
[Hero CDMA Android Development] HeroMeng:
They both do the same thing. If you have Darch's you don't need this one.
[Hero CDMA Android Development] duffkitty:
Ok, if its the same then when Regaw posts his S-ON method it will UNDO Darch's back to stock?

=P I know your used to those kinds of posts though. I know it'd be redundant to flash both these.

Sent from my CM 6 Blackmodded Heroc using the XDA app. Now with uncapped kernel and battery tweaks.
[Hero CDMA Android Development] zachslavin:
Thanks Regaw this is awesome! Now can I install the custom splash screens on the unrevoked website or are those device specific?
[Hero CDMA Android Development] rulyskull:
My hboot is 1. 4 not 7 so I have to upgrade before trying correct?
[Hero CDMA Android Development] nfinitefx45:
best to upgrade, if you dont upgrade just dont exspect to see the S-OFF switch as it is hidden in the older 1.4.0000 hboot
[Hero CDMA Android Development] codejunkie78:
will this work on the Appalachian wireless hero, and if you run this can you still ruu to return to stock?
[Hero CDMA Android Development] nfinitefx45:
I am not sure about Appalachian wireless hero I believe it ia covered , as for the ruu yes it will return you to stock but you will still be S-OFF even after the ruu. the only way to fix that will be a patch to enable it back, this will be coming in the near future.
[Hero CDMA Android Development] codejunkie78:
i know hardware wise it is identical to the cell south hero so the radio should be the same, does this just apply the change to the radio only.
[Hero CDMA Android Development] regaw_leinad:
What is your radio version?
[Hero CDMA Android Development] codejunkie78:
2.42.01.04.23
[Hero CDMA Android Development] regaw_leinad:
it should work just fine :) that is a supported radio version.
[Hero CDMA Android Development] codejunkie78:
thanks does this also give the ability to flash the splash images or will i still need an eng spl in order to do this.
[Hero CDMA Android Development] nfinitefx45:
this will do it just fine get your image and zip it up as HERCIMG.zip then flash from bootloader
[Hero CDMA Android Development] codejunkie78:
cool thanks i'm gonna give it a try.
[Hero CDMA Android Development] nfinitefx45:
no problem was the first thing I did after unlocking LOL
[Hero CDMA Android Development] regaw_leinad:
This kinda got buried behind my EVO rooting guide, sorry I just kinda posted it and left it haha
[Hero CDMA Android Development] nfinitefx45:
We have it under control brother, LOL
[Hero CDMA Android Development] zachslavin:
I am using Firerat's partition table mod and was wondering how that will effect fastboot. If I wanted to try a different kernel or ROM or whatever would I have to adjust my mtdpartmap.txt or would fastboot override any partition table I have setup?
[Hero CDMA Android Development] danaff37:
Darch's ENG-SPL is an actual SPL, so I beleive an ruu would return it to stock, but that also means an ruu will take away the easy way to root (just flashin a file). Regaws method here flips a software switch so that it stays off, even through an ruu, as it's not tied to a flashable file (spl, hboot, radio, rom, recovery, etc.)

Regaw or darch, please correct me if I'm wrong in these assumptions.
[Hero CDMA Android Development] duffkitty:
I hope that would be the case. So if something happened I can ruu and flash S-ON and be stock.

Sent from my CM 6 Blackmodded Heroc using the XDA app. Now with uncapped kernel and battery tweaks.
[Hero CDMA Android Development] regaw_leinad:
You are completely right, this method will keep it enabled even after an RUU, so you can easily flash a custom recovery right away
[Hero CDMA Android Development] ipfreelytech:
flashed this and hboot shows s-off at the top now. Booted into fastboot mode, the phone shows up when i do fastboot devices. When i try to fastboot flash I get remote: not allow. does this not enable fastboot?
[Hero CDMA Android Development] regaw_leinad:
no it enables you to flash custom HERCIMG.zips from hboot, you make a folder named HERCIMG on your with the android-info.txt file and whatever image you want it to flash, then make a zip with those file in it named HERCIMG.zip. no signing needed, put it on your sdcard, reboot to bootloader, and it will load it and flash it. Be caserful though, you can screw your phone up by flashing the wrong things if you don't know what you are doing.
[Hero CDMA Android Development] ipfreelytech:
interesting, so its NOT redunant to flash both this and Darch's spl since his enables fastboot. In this particular case I'm trying to flash a splash screen via

fastboot flash splash1 filename

Got it to work by renaming the file to splash1_HTC_Branding_320x480.nb0 and packing it in a hercimg.zip not sure if the name after the splash1_ is important or just the extension, the file was originally an nbh file.

Is there any way fastboot can be enabled in this patch? fastboot seems better because i can do everything from a command prompt on a computer, i much prefer that over having to touch the phone for stuff.
[Hero CDMA Android Development] zachslavin:
I guess I am thoroughly confused on how to flash a new splash image. What is the android-info.txt file? Should that file be zipped with the image? I guess what I need to know is what's on the android-info.txt? Can someone post a step by step. Thanks
[Hero CDMA Android Development] ipfreelytech:
I'm going to help you out here, but please for the love of god do not do anything just because i say to do it, if you do not understand what i am talking about STOP! NEVER do anything (commands in a CLI or flashing files) if you don't understand what it is you are doing, its pet peeve of mine when people blindly type commands from a guide when they don't know what the command does.

android-info.txt just contains carrier id and versions, since were unlocked cid shouldn't matter. attatched is the android-info.txt from the ACG 2.1 update.

rename your splash file to: splash1_HTC_Branding_320x480.nb0

notice the splash1_ ? in a hercimg.zip anything that isn't named something like system.img or recovery.img has partitiontoflashto_ as the beginning of the name.

The splash file i used was .nbh originally, i have not tested this with the .rgb565 files, since im a command line junkie I flashed Darch's spl after doing the unrevoked forever patch and have done subsequent splashes using fastboot. so rename those at your own risk, I doubt it will be a problem but just warning.

slap the hercimg.zip to your sd card and power off the phone, then power it on while holding volume down.
[Hero CDMA Android Development] mquinn24:
Thanks for the directions. This is simply awesome
[Hero CDMA Android Development] zachslavin:
Thanks for the help. I did everything you said and when I booted up (volume down) it didn't load the file. I tried renaming the file from a .rgb565 to .nb0 and still nothing. So then I tried flashing toast's and darch's Eng-SPL and to be quite honest I really couldn't tell any difference. I could receive my serial when I typed "Fastboot devices" so I assume fastboot is working. Then I tried to <fastboot flash splash1 /home/zach/mysplash.rgb565> and it says Failed (Remote not allow). So what gives?
[Hero CDMA Android Development] ipfreelytech:
strange, and after renaming you zipped up the file along with androidinfo into HERCIMG.zip ? did it acknowledge the presence of the zip at all? fast boot worked fine for me after flashing darch's spl.
[Hero CDMA Android Development] MrJustAGuy:
Does this exploit depend on having a Sense-based ROM or can I run it with Cyanogen already installed?
[Hero CDMA Android Development] zachslavin:
Yes I would rename the file and then rezip the file. It seemed to acknowledge the file with a quick error message saying something like wrong image or no image. It flashes so quick that it's hard to read it. My original file is a .rgb565 format.
[Hero CDMA Android Development] ipfreelytech:
rom doesn't matter. since your asking it means you don't understand what it is so you probably should not flash it.
[Hero CDMA Android Development] MrJustAGuy:
Your condescension is unnecessary AND unwarranted. I am fully aware of what this is meant to do, in fact I have been looking for such a thing since mid-July.

I was just concerned about the nature of the exploit used to flip the hboot security switch. Since CyanogenMod doesn't allow some basic programming options like PRL, if it required booting into a ROM to run the exploit like various rooting methods then it could potentially fail.
[Hero CDMA Android Development] ipfreelytech:
It's in update.zip format, you can read through the update script to get an idea of how it works. your flashing it from recovery, the lack of epst doesn't matter.

anyway, this isn't what your looking for, this does not enable fastboot, only flashing unsigned hercimg.zip.

if you first flash this, then the eng-spl in theory you should have all the benefits of unrevoked forever as well as having fastboot for as long as you have the spl installed, so if you RUU again you will loose the spl but will still be s-off.

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

there's the eng-spl for the hero that does allow fastboot. Enjoy.
[Hero CDMA Android Development] MrJustAGuy:
Sweet, thanks!
[Hero CDMA Android Development] rejectedkid:
regaw I will follow you to the end of the earth and back! LOL

This is the greatest thing since the invention of pocket ******* (jk)

Seriously though this is going to be sweet!

Thank YOU!
[Hero CDMA Android Development] zachslavin:
OK so I have come to the conclusion that I am unable to flash any hercimg.zip files. It definitely says S-OFF and it will not load any HERCIMG.zip. I even tried and flashed darch's eng-spl and was unable to do anything in fastboot either (fastboot: remote not allow). I have tried multiple file formats for flashing a new splash screen, from .rgb565's to .nb0 to .nb's renamed as .img's. All file's were the proper size.

Does anyone have in ideas why I am unable to do so? Is it possible to have S-OFF and still be locked out of Hboot?
[Hero CDMA Android Development] evilvoice:
Okay, something is wrong. I can flash HEROCIMG.zip, which is a rom that I renamed and added the txt file to. It does not work to flash the rom but it does act like it will. I then nandroid my current setup and threw that in a different HEROCIMG.zip minus the md5 and adding the txt file. This method does nothing. Can anyone tell me what's going on?
[Hero CDMA Android Development] ipfreelytech:
firstly, its HERCIMG.zip

second, you cannot just download a rom posted in the usual format and rename it to hercimg.zip. The roms that are posted here are in the format of having a system folder that gets copied into the system partition by the recovery system. hercimg.zip is a collection of images that get flashed in to the paritions. ie: recovery.img system.img etc...
[Hero CDMA Android Development] evilvoice:
To answer your first statement. Yes, it is named HERCIMG.zip. I just typed herocimg as I still have not figured out what the codename for our device is. Im gonna jump out on a limb and say that it was codenamed Hercules, though maybe not (HTC has always used the first 4 digits of a device in flashing...for windows it was DIAMIMG.nbh or RAPHIMG.nbh...this time its HERCIMG.zip)...anyways, when I post a reply, I wont make that mistake again.

Second, if I took ZenHero, extracted, added the android-info.txt, zipped it all back up, and renamed it to HERCIMG.zip, I would get the blue bar on the right side of the screen that shows it was flashing. Yes, I understand that it does not work for reasons you stated, but I wanted to point out that it tries to flash.

Next, I nandroid my current install, took all the img files (system, cache, boot, data) and added android-info.txt. It only contained img files and the txt file, so it should have worked, but doesnt. Is there something else required in the zip file. I know it should work for the reason above, it just comes up on hboot and tries to load diag zip files and the img zip and presumably fails. I did edit android-info.txt more to my settings as follows:

ModelID: HERO20000

CIDNUM: SPCS_001

MainVer: 2.27.651.5

(this was the same txt file I used in the ZenHero test)...anyways, I await your reply. Thanks.
[Hero CDMA Android Development] regaw_leinad:
actually it ignores the andriod-info.txt, so it doesn't matter. It just has to be in the zip. What did the error say? you have to rename data.img to userdata.img I believe as well.
[Hero CDMA Android Development] evilvoice:
It breezes by so quick, it runs its checks, but have no idea how to stop it from moving on to see what it says.

Also, I noticed ipfreelytech stated in another thread that flashing this is permanent and not session specific. If that is true, then this is moot. I really was just looking for an easy way to boot something up 1 time on the device to update prl and stuff, and then reboot the device to get back to where I was, without nandroid.

I may just have to wait until someone figures out dual booting. It was done for GSM, but not CDMA.
[Hero CDMA Android Development] regaw_leinad:
ah this isn't what youre looking for then. try darch's ENG SPL
[Hero CDMA Android Development] evilvoice:
Well, excuse my ignorance as I thought they both turned s-off. What does yours do that is different? Is yours just for booting kernels and splash images?...again, excuse the ignorance, just trying to get an understanding. I did not want to use darch's as it changes my hboot to 1.46 instead of the 1.47 I have on there, as you said, it is a specific hboot. If it is going to take too long to explain, dont worry about it, Ill figure it out. Thanks

EDIT: or is it only fastboot that allows session specific, and yours has nothing to do with fastboot?

EDIT2: It says Lack of Heap! When trying to load my HERCIMG.zip with my nandroid img files. I renamed data to userdata also
[Hero CDMA Android Development] ipfreelytech:
the opposite, this one is ONLY for s-off. Darch's allows fastboot. the drop to 1.46 doesn't really matter, I can't think of anything that cares what version of hboot you have installed, you can flash the eng spl over top of 1.47 and it will downgrade you.
[Hero CDMA Android Development] zachslavin:
You know I have flashed darch's over to of this one and it still says 1.47. That would explain why my fastboot want working. How come it down grade me
[Hero CDMA Android Development] regaw_leinad:
You must not have flashed it right... it should say his version number on there.

Hey, no problem. This s-off zip remove the security checking for flashing HERCIMG.zips through hboot. So they do not have to be signed. This won't enable fastboot commands or anything. It just unlocks that in the bootloader.
[Hero CDMA Android Development] evilvoice:
Well, I must first say that it is awesome you all found this and offered it to the masses. I, on the other hand, had misinterpreted what this would allow me to do with my Hero. It seems, as a normal user, that this is not something to be toyed around with. Nothing has happened to my device, a little scare yesterday (not pertaining to this patch), but the device is fine, I am just realizing that I have no use for this. I have been waiting for a s-on zip, but have not seen one pop up. If you could let me know how to undo this feature, it would help me immensely. I can wait as its not going back tomorrow, but would like to put it close to stock (Im not going to undo root or anything, though after yesterday's fiasco, I wanted to put the device back to Day One, but figured it out ;))

On a side note, I used your zip first, then tried to do the ENG SPL, which never took (flashed through recovery). It could be because I was using Firerats Custom MTD patcher, but is there a reason it wouldnt take other than that? Meaning that I would have had to flash the ENG SPL first, then yours...just wondering. My hboot never changed and fastboot would never work, so im gonna say it never flashed the ENG SPL. I know its not your patch, just thought you might know.

EDIT: On rereading the first post, should I have just named the ENG SPL HERCIMG.zip and flashed through hboot? And, as a little help, could you perhaps go in depth what exactly this offers us. I have tried making my own HERCIMG.zip with nandroid files, and it never worked (Custom MTD issue?). I know lots of people have jumped on flashing splash images, but what about other uses? How would you flash a recovery from hboot? Does adb even work from hboot? I dont know, never tried. Maybe I dont want to undo this, just need a better understanding. Would be nice to have the method for undoing this feature though.
[Hero CDMA Android Development] tmpid:
I followed the instructions and included the android-info.txt and recovery.img in the HERCIMG.zip file. However, the hboot scrolls fast and says "no image". I have the latest Sprint radio 2.42.01.04.27. The hboot screen does say "HERC XC SHIP S-OFF" and "HBOOT-1.47.0000 (HERO20000)".
[Hero CDMA Android Development] zachslavin:
I had the same prob until I flashed the amon_RA 1.7 recovery image and reflashed unrevoked. What recovery image are you running?
[Hero CDMA Android Development] tmpid:
I tried both the recovery-RA-heroc-v1.6.2.img (this is the latest official for Sprint HERO CDMA) and RA-Darchstar.img (this is supposedly the unofficial 1.7.0), reflashed unrevoked-forever.zip, but got the same result. The other offical RA-hero-v1.7.0.1 is for the GSM HERO, I dare not try it.
[Hero CDMA Android Development] dfc849:
What's the recommended Radio/Recovery combination with S-OFF? I have radio 2.42.01.04.23 with Amon RA 1.6.2 on my ACG Hero (non-Sprint). I think it may be causing some problems when flashing ROMs from Recovery (unless I'm supposed to flash anything and everything fastboot, since I have S-OFF).
[Hero CDMA Android Development] Stonent:
I'm curious if this will work on the Eris as well?
[Hero CDMA Android Development] evilvoice:
Does the s-on work for our phones, because the website in the op states it does not work for the cdma hero. Thanks
[Hero CDMA Android Development] Vandelay007:
The hero is set to s-on by default...did you mean s-off? Because it works and with that you can change your splash screen very easily
[Hero CDMA Android Development] evilvoice:
If you reread the first post, the only way to undo s-off is with the s-on patch. I want to go back to my original hero, and redo everything. There is a link to the s-on patch in the very first post
[Hero CDMA Android Development] skyline247:
Same here. I flashed the tool, but as of yet, I don't think there is a way to get back to S-on. We just have to be patient, and hold off on returning for a warranty exchange. :-) I question whether they even look at that - if the Rom is Stock.
[Hero CDMA Android Development] Vandelay007:
You can ruu and it will go back on...I had to ruu when I lost mobile data and had to flash the s off zip again....and once you ruu and re root all you would need to do is flash a custom recovery and a nandroid and you are all good...
[Hero CDMA Android Development] evilvoice:
Well, I ruu'd with the *OFFICIAL* RUU_Hero_C_Sprint_2.31.651.7_signed_release.exe posted here and s-off stayed. What did you ruu with, maybe i will try that.
[Hero CDMA Android Development] Vandelay007:
I used the .5 ruu because I rooted before you could root .6 if you can't find a .5 ruu let me know and I will get it to you when I get to a computer
[Hero CDMA Android Development] Vandelay007:
http://xdaforums.com/showthread.php?t=694572

Its in this thread....2nd post, I believe
[Hero CDMA Android Development] evilvoice:
Figured I would update you, but after running the RUU S-OFF is still there so I dont know how it undid this hack on your phone
[Hero CDMA Android Development] billodell:
Ruu will not reverse this. Once s-off is flashed it stays off, hero is not yet supported for the s-on patch. I'd like to know how an ruu reversed yours? As I've tried several times but alas I'm stuck with s-off. Which bothers me in no way whatsoever
[Hero CDMA Android Development] Vandelay007:
I wish I could explain it, but it definitely happened....I ruu'd to the .5 build and when I re rooted I had to set s off again to change my splash screen....if you are having no luck I could post the file I use....

Sent with the xda app using CM6