yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] criptix:
im in recovery flashing a rom as we speak :D:D:D:D:D:D
[Hero CDMA Android Development] ktemkin:
Can you post a link to the recovery.img you used, so I can be sure?

I don't have the device, and thus want to be sure before I post a new thread.
[Hero CDMA Android Development] criptix:
can confirm this works 100% on alltel hero
[Hero CDMA Android Development] criptix:
this is the one i used :D

its the one that came with buufed 2.0.3
[Hero CDMA Android Development] racer67h:
Are you using the Buufed rom and is everything working with alltel??
[Hero CDMA Android Development] iaminflames:
When i try to run this it says adb command not found or something. I have all the hack files in with the sdk files but it wont run the adb commands
[Hero CDMA Android Development] criptix:
yeah everything is working fine already have flashed buufed rom, Cyanogenmod & now im playing with fresh.....only problem i had was when i first flashed buufed i didnt wipe so i was stuck in a boot screen loop but after wipe and reflash it booted....havent tested mms but everything else is working fine.
[Hero CDMA Android Development] criptix:
Follow these instructions for windows

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

On the part where it says push evileris rom i replaced it with buufed rom

Make sure you unpack the hack.rar into the tools folder of the sdk and make sure your cmd is in the tools directory of the sdk as well.

Here is the files i used if it helps
[Hero CDMA Android Development] criptix:
Thanks by the way :D:D:D:D
[Hero CDMA Android Development] s0be:
Yep, that one worked for me. on fresh 2.3.3. Looking at rolling my own fresh froyo rom now (but real paying work comes first).
[Hero CDMA Android Development] iaminflames:
I can't get the adb drivers to install for xp with my hero I got the ones from the sdk but it says not found any ideas
[Hero CDMA Android Development] stoney_38668:
Wondering if someone would start an Alltel Hero category and spell this out for us newbies. Thanks again for the dedication to the cause!
[Hero CDMA Android Development] iaminflames:
I feel the same way. Jailbreaking was much easier than this rooting stuff I haven't had luck yet. Everything is fine but adb driver wont install
[Hero CDMA Android Development] s0be:
I might have time to tomorrow... tonight, the electrician in me beckons (hanging a ceiling fan)
[Hero CDMA Android Development] iaminflames:
My pc won't install ADB drivers it shows up everytime i plug in my phone. I opened up the android SDK and downloaded the USB drivers from there and point the ADB driver dialog to the folder but they it says not found. What drivers is everyone else using for ADB?
[Hero CDMA Android Development] ktemkin:
I can't tell you what's going on with your windows ADB, as I don't have a windows box around to debug with, but I can tell you that if you download a Ubuntu live CD, and use the automated script I posted above, it should be an absolute breeze.
[Hero CDMA Android Development] s0be:
The drivers from the sdk do not include the USB ID of the alltel device.

Edit android-sdk-windows\usb_driver\android_winusb.inf

and add the bolded part below, as shown

[Google.NTx86]
; HTC Dream
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C01
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C02&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0FFF
; HTC Magic
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
[b]; HTC Hero Alltel
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9A&MI_01[/b]
;
;Moto Sholes
%SingleAdbInterface% = USB_Install, USB\VID_22B8&PID_41DB
%CompositeAdbInterface% = USB_Install, USB\VID_22B8&PID_41DB&MI_01
[Hero CDMA Android Development] stoney_38668:
GOT IT!

Successfully loaded buufed! Gonna check out some others. Thanks once again!!
[Hero CDMA Android Development] stoney_38668:
can't connect to alltel's data network though but I'm new to this so may be a simple tweak. everything else seems fine.
[Hero CDMA Android Development] stoney_38668:
Fresh works like a charm. I'm hooked.
[Hero CDMA Android Development] jtpterp:
I'm new with all this but I added the above code and I still get device not found, not sure what I might be doing wrong.
[Hero CDMA Android Development] jtpterp:
So, i got it working and am now running cyanogenmod, however I can't push zip files from my desktop to my phone now, my pc doesn't recognize the phone. I had to flash back to my backup to push googleshits to my sdcard and then flash back to cyanogenmod. I'm assuming this is a driver issue, any ideas?
[Hero CDMA Android Development] ktemkin:
I have a couple of ideas, but I don't want to hazard a guess without any research, so I'll have to take a look myself at how the drivers work on Windows.

In the interim, you should be able to use USB Mass Storage from Amon Ra's recovery.

Interesting debug question: Does your computer detect your phone (adb) when it's in recovery mode?
[Hero CDMA Android Development] s0be:
Mine does not, but my adb works (by only adding that line to my driver inf). Unfortunately, I'm in mostly the same boat as you... I'm a linux expert, not windows. I just spend my day doing webdev on windows.
[Hero CDMA Android Development] jtpterp:
Nope, the only time I can get it to recognize the phone is when I am running stock alltel 2.1, right now I'm good I'm running cyanogenmod w/ the google crap. It's just gonna be a pain to flash new roms w/o my PC recognizing the phone when I'm not running stock alltel
[Hero CDMA Android Development] ktemkin:
I really, really want to ask you to do run 'lsusb', but you're running windows, so I can't.

I know there's the windows Device Manager, which will at least enumerate the devices connected to your computer, but I don't know if it will show devices that it hasn't found drivers for. (It's been a very long time since I've had to use windows.)

If you really want to be investigative, download a small linux liveCD (or the Ubuntu live-cd if you want it easy), and run the following command in the terminal:

lsusb

If you see your device there, you can try again with:

lsusb -v

If you post that data, we might be able to construct a solution. Sorry for my lack of windows knowledge- it's been a very long time.
[Hero CDMA Android Development] Dynastes:
If I root will I be able to return to the default alltel rom?(If I need to take to alltel.)
[Hero CDMA Android Development] jtpterp:
as long as you run a nandroid backup.

I have no problems going back and forth between by alltel backup and cyanogenmod
[Hero CDMA Android Development] Dynastes:
Are there any problems?
[Hero CDMA Android Development] jtpterp:
problems with?

rooting was a breeze, flashing to cyanogenmod was a breeze, going back to my backup is a breeze.

Cyanogenmod has a few bugs like the gps and camera but those are known and will be fixed in no time.
[Hero CDMA Android Development] Dynastes:
Is your pc detecting your phone yet?
[Hero CDMA Android Development] jtpterp:
It doesn't recognize it as an adb when i'm running cyanogenmod, however i can still mount my sdcard on my PC, move different roms to it and flash them from recovery on my phone so it's not a big deal.
[Hero CDMA Android Development] s0be:
home.erley.org/android/lsusb.txt
[Hero CDMA Android Development] jtpterp:
link doesn't seem to work for me.
[Hero CDMA Android Development] Dynastes:
Solved the problem.
[Hero CDMA Android Development] s0be:
It's probably not of interest to you anyways, it's justthe lsusb output of the device in linux.
[Hero CDMA Android Development] ktemkin:
Just to get the really obvious out of the way before I start researching: you do have USB debugging on in Settings->Applications-> Development, right?

When you say cyanogen, you're referring to your rom, right? Not your recovery?
[Hero CDMA Android Development] winged2point0:
Anyone else able to get MMS working? I've tried Cyanogenmod 6.0.0 test 4, Darchdroid 2.7, and Fresh Hero 2.3.3.

Probably has something to do with using Sprint ROMs on the Alltel network.
[Hero CDMA Android Development] Dynastes:
I can recieve them but not send them.
[Hero CDMA Android Development] d-shade:
I am not on alltel but my phone version is

Firmware 2.1-update1

Baseband 2.42.01.04.23

Kernel 2.6.29-bc0d2cff htc-kernal@and18-2#1

Build 2.36.556.1 CL193585 release-keys

Software 2.36.556.1

This unlock method should work right?
[Hero CDMA Android Development] jtpterp:
yes, and yes.
[Hero CDMA Android Development] s0be:
Yeah, probably
[Hero CDMA Android Development] winged2point0:
Yeah, this is what I am getting too. Probably be a minor fix, since everything else seems to work so flawlessly.
[Hero CDMA Android Development] ktemkin:
It theoretically should work on any HTC 2.1 device, so yes.
[Hero CDMA Android Development] nickthirteen:
Alltel Root. Much Thanks.

Hola!

Thanks for everyone who posted in this thread. With your help I was able to get a custom rom installed on my alltel hero. As far as I can tell using the Buufed 2.0 rom and recovery.img everything is working great.
[Hero CDMA Android Development] d-shade:
I just did it to my hero and it worked great. Thanks!

I used the ubuntu oneclick method
[Hero CDMA Android Development] sterai:
Go to your dialer and dial ##3282#

choose edit mode

enter 6 digit spc

select advanced

scroll down to "MMS Server URL"

change it to "http : // mms. alltel. com/ servlets /mms"

remove the spaces of course

Worked for me. )
[Hero CDMA Android Development] Dynastes:
It tells me it's not a working number when i dial "##3282#".

Edit: Had to switch to a sense rom and do it then restore back to darchroid. Thanks. ^_^

Edit 2: Quit working...
[Hero CDMA Android Development] unCoRrUpTeD:
I would love to see a sense+froyo rom for the hero. Maybe you could get with some of the devs working on the froyo build and get the rest of the bugs worked out and then work on incorporating sense with froyo. IMHO the froyo builds are so much faster than 2.1
[Hero CDMA Android Development] winged2point0:
That's what I'm getting too. Reminds me of a similar function on my phone where I typed *#*#INFO#*#* to see extra information about the phone. I tried *#*#DATA#*#* in the same way, but that didn't work.

But it's opened up a door for me. Now I'm searching around, trying to find different ways to change the MMS server.

(I'm using Cyanogenmod right now, by the way)
[Hero CDMA Android Development] racer67h:
To fix MMS for Cyanogenmod just go to the second post under his rom and apply the MMS fix.... worked perfectly for me.
[Hero CDMA Android Development] winged2point0:
Have you verified that the recipient actually got the message? I applied that patch and it appeared to work, but the message didn't actually go through.

I've been doing a lot of research on the subject this past day, and it seems there are two main files responsible for allowing this to work:

/system/etc/apns-conf.xml

/data/data/com.android.provider.telephony/databases/telephony.db

In the ROMs/patches I'm finding, they all refer to a Sprint server, which makes sense. So now I'm trying what I can to change the configuration to the Alltel server.
[Hero CDMA Android Development] racer67h:
Sorry I only tested incoming messages not outgoing.... Outgoing are still not going through
[Hero CDMA Android Development] racer67h:
Have you had any luck fixing the MMS yet???
[Hero CDMA Android Development] kenny.deford:
Help rooting NON-Sprint CDMA Hero

So, I have this exact build and want to know if anyone has successfully rooted using a Windows method...and if so, which one? I just want to root as of now..not sure which ROM I want to flash...
[Hero CDMA Android Development] winged2point0:
Not yet. This is really quite baffling to me. Here's what I've done so far to recap:

I started by opening up the patch found in Decad3nce's post in the Cyanogenmod Test4 thread. I learned for myself that the files it was modifying include

/system/etc/apns-conf.xml and

/data/data/com.android.providers.telephony/databases/telephony.db

I've since tried my best to directly compare sterai's Alltel mms settings with the settings in Decad3nce's patch, but am unable to get it to work.

I then tried a different route. I pulled my nandroid backup from my sdcard and extracted the system img using a tool called 'unyaffs'. This gave me the entire directory structure of the stock Alltel HTC Sense ROM. I've attached the apns-conf.xml and the telephony.db files to this post in a zip if anyone would like to take a look at them. The apns-conf.xml seems to be, for the most part, empty, but the telephony.db has some info in it.

Just today, I've read up on the official Android documentation for customizing carrier information here:

pdk. android .com/online-pdk/guide/customization.html

Apparently, the apns-conf.xml is one of two ways to customize the APN. The other method is to compile the settings into a binary at first build of the system. AND, there's an XML representation of these settings located at:

/android/frameworks/base/core/res/res/xml/apns.xml

My next step is to take a look at that file on my stock HTC Sense ROM and see what it can reveal about the settings required for Alltel's network.
[Hero CDMA Android Development] Decad3nce:
I only found a few tidbits of info on alltel mms server info.. but this may work.

The telephony.db is unnecessary, it's just the database where all the settings are stored.

Just add this on to the apns-conf.xml:

<apn carrier="Production"
numeric="310995"
mcc="310"
mnc="955"
apn="1"
mmsproxy=""
mmsport=""
mmsprotocol="2.0"
mmsc="http://mms.alltel.com/servlets/mms"
type="mms"
/>
</apns>

Then remove the telephony.db and mms sms database while you're at it, reboot and attempt to send an mms.

Insight:

If anything, the main things you need is to state that the

type=

is "mms" and to have the correct mmsc(where the server address is).

If this doesn't work, just leave the mcc and mnc blank. Unless the settings have to be set. Hopefully not!
[Hero CDMA Android Development] sterai:
After rereading the post after I finished waking up I realized I should not try to read till after a few cups of coffee!
[Hero CDMA Android Development] winged2point0:
Thanks for the post, I'm excited to see your eyes on our case here. :)

I've tried a lot of new configurations based on your advice, but unfortunately to no avail. Here's my method for installing a new apns-conf.xml, just to eliminate any confusion on my behalf.

adb remount

adb push apns-conf-onmycomputer.xml /system/etc/apns-conf.xml

adb shell

# cd /data/data/com.android.providers.telephony/databases

# rm *

# reboot

Here are the apns-conf.xml's that I've tried. Hopefully I didn't mangle them too badly. I'll include the apns.xml from the stock image that I mentioned earlier as well.
[Hero CDMA Android Development] Decad3nce:
Give this a shot. Same way as before.

http://www.4shared.com/file/u9PEctSR/apns-config.html
[Hero CDMA Android Development] halfevildruid:
Alltel hero rooted and flashed! All services working! (used allyious snow rom)
[Hero CDMA Android Development] winged2point0:
No go. :(

The asterisks in the apns-conf make me wonder if something else is being relied on for the configuration.
[Hero CDMA Android Development] Decad3nce:
The actual mms server sets the user/password/server id fields.

Just noticed I didn't put

apn="1"

in the "Production" configuration.

Change that and try again.
[Hero CDMA Android Development] winged2point0:
Hm... Nothing. Just hangs with the "Sending..." message.

Perhaps there are some error logs kept on the phone that I could post?
[Hero CDMA Android Development] sterai:
I tried the latest version Cyanogenmod and really liked it. The mms issue of course is a problem. More importantly I have a problem with the inability to use the EPST program. I work in a place where I have no signal from alltel but I can change the prl to another carriers and get a full signal due to a booster system installed throught the facility. Is it possible to add another means of starting the EPST program or add the stock dialer back into the rom? Would this not make it possible to change the mms server url also?
[Hero CDMA Android Development] halfevildruid:
sending mms

mine is not sending as well. unless i go to my nandroid backup of alltel stock. tried several roms. (cyanogen, buufed, etc.) I have been winmo flashing for years but new to android. Is there a way to pull the files from the stock rom?
[Hero CDMA Android Development] winged2point0:
It's easy. Didn't do me much good, but maybe you could figure something out for us. Just copy the nandroid backup from your SD card and use unyaffs to extract the img files from it.

http://code.google.com/p/unyaffs/downloads/list

For the unix version.

http://jiggawatt.org/badc0de/android/unyaffs-x86-win.zip

For a pre-compiled Windows version (I haven't tested this one. Just a quick Google search)
[Hero CDMA Android Development] halfevildruid:
thanx... i saw your earlier post to late... I am off to work but will be working on this late nights this week... we will get it eventually! nothing not ever figured out yet! probably fix it about the time alltel tells me to come get my at&t phones!
[Hero CDMA Android Development] Decad3nce:
Working apns:

<apn mcc="000" mmsc="http://mms.alltel.com/servlets/mms" mmsprotocol="2.0" mmsport="8080" type="mms" mmsproxy="mms.alltel.com" carrier="Production" apn="1" port="" mnc="00" />

From this thread: http://xdaforums.com/showthread.php?t=736613

It's essentially the same thing I posted earlier... maybe the ordering matters?

Oh well.
[Hero CDMA Android Development] s0be:
I have only tested that these get sent, not received. If anyone successfully sends and has the other person receive this, please post back
[Hero CDMA Android Development] halfevildruid:
Fix still needed... none of these work. I have tried every possible configuration I can think of for the apn file. The answer must be in the stock rom somewhere since it sends with it and no other rom... just where???
[Hero CDMA Android Development] s0be:
Try changing the user agent in the messaging app to: HTC-A6262/1.0
[Hero CDMA Android Development] ryuaced:
Okay so I am a little lost at this thread.

I have a sprint hero but I want to flash

the stock alltel rom on it, is their one out?

is it possible?It is rooted and i have installed roms

on it. My problem is that for some reason the sprint

stock programming (even after edited in qpst/cmdaws)

still tells me I am roaming and won't connect ev or

send/recieve mms.

If you find out what is different in the stock rom for

alltel for mms, you will probably know what is wrong

when flashing the moto droid to alltel as well.

Keep up the good work and thanks.
[Hero CDMA Android Development] halfevildruid:
no good for me

stock msg app has no option

installed handcent and tried it but no go...:mad:

So has any of you managed to get them to go yet?
[Hero CDMA Android Development] PortableTech:
Greetings All,

I have read through this whole thread a few times, and I am still a bit unclear on what exactly is required to complete the rooting of an Alltel HTC Hero. The best I can tell, it seems that most people are being successful using the linux based script at the end of page 3. It would also appear that there is not a method in Windows to accomplish this feat. Can someone clarify if I am understand this correctly? Or could perhaps help provide a better explanation for some of us.

I also take it from the end that while several roms seem to work MMS is not working on any of them. This and any other details would be apreciated.

Thanks in advance.

-- Mia
[Hero CDMA Android Development] cjerthal:
I'm not sure what went wrong, I've flash buufed, fresh hero 2.3.3, and cyanogenmod. Everything was working fine, besides the MMS on buufed and cyanogenmod. I decided to stick with fresh hero. A few days ago things started going screwy on the phone. I have full bars, but whatever number I dial it instantly tells me that the call was lost, text messages won't go through either. The internet still worked though.

Anywho, I figured I'd go back to my alltel rom. After running nandroid restore the radio wasn't working at all on my alltel software; just said "no service" Has anyone encountered anything like this? I wiped the device prior to every flash and restore. I'm back on fresh hero so I can atleast use the internet.

If one of you fine people have any suggestions on how to fix this, please lemme know. Thanks
[Hero CDMA Android Development] winged2point0:
The main hurdle, from what I can tell, is getting adb to recognize the phone. Though, the first step is to get adb by installing the Android SDK. http://developer.android.com/sdk/index.html

To install it, just open up the zip folder and drag the android-sdk-windows folder from it to the Desktop (or wherever else you prefer)

Once you have that, download the attached file and drag its contents to the tools folder inside android-sdk-windows. Once it has been dragged into the tools folder, double-click runindos.bat.

It should work, though the driver issue might pop up. Let us know if that's the case.

Note: I've included the proper recovery image in this zip file. It's the one from the buufed rom, as posted at the beginning of page 4.
[Hero CDMA Android Development] bma1984:
Greetings and thanks to everyone for this promising thread. I don't mean to sound short with you guys, but I'm sure I speak for many many people hoping to use this thread to root their phones. I'm no super guru, but I can pretty much accomplish anything I put my mind too....except this. Maybe I'm a late android user and a lot of the knowledge you experts have pertaining to rooting is taken for granted. I was so excited to see someone with a linux script solution, but that's where it stopped. So apparently people are getting it to work... It sounds so simple, but I think there needs to be a few steps laid out for the rest of use about what happens "after" you run the script.

Here are my results:

1. Script runs fine, phone reboots, and I have a pretty little FASTBOOT USB icon in the top left of the phone's screen.

2. At this point, I can no longer access the phone with adb, even though linux still sees it with "lsusb"

So I understand that apparently this is where we can root and flash custom roms....??? You guys make it sound so simple, and there is so much misleading info on the net that it makes android noobies quite clueless as to what simple steps you take at this point to load a custom rom with root priviledges.

I'm just perturbed. This thread is supposed to tell us simply how to root the alltel htc hero. If you guys have done it, please spare the extra words to explain the steps you took. I know it's probably common knowledge for you people that have been at this since the beginning. Frankly, I could care less about the few bugs that this cyanogenmod rom has (that should be in a different thread btw). I would just love to get to that point, as I'm sure many other people would as well.

Thanks,
[Hero CDMA Android Development] sterai:
My MMS is working both send and receive. I was able to root my phone in windows using the information in this thread. I did have to try a couple different versions of the recovery.img file to get one that worked. I then flashed Fresh 2.3.3 rom and changed the settings in EPST as i described in an earlier post. Everything is working well. I am however way too unexperienced to write a step by step guide. Only issue I have had is a popup when I load the internet browser. It says something about a connection error, closes and then works fine. I have found no other rom that MMS works on.