yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] robchaos:
Reflash after wipe doesn't fix WiFi.

I think the wifi driver in the kernel has been brokeded. The boot.img was the only thing changed in this fix I think.

Avalaunch, where did this boot.img come from?
[Hero CDMA Android Development] Avalaunchmods:
Weird weird. Its from the beta release of sprints. Im going to look into it. Either way both of the problems will be fixed when i release the new boot.img. might take a couple days because easter is a holiday that makes really tired. Too much candy. As always thanks
[Hero CDMA Android Development] robchaos:
LOL I hear ya man. I feel like I'm about to pop.

I think sometime in the next day or two I'll be clearing up some space on my compy and reinstalling ubuntu to poke around some too. Thanks for all your hard work though, I'm confident you'll get this all worked out.
[Hero CDMA Android Development] blumail:
flashed over fresh 2.0d everything seems to work including wifi and trackball light
[Hero CDMA Android Development] jackal424:
flashed on DC 2.05 w/o wipe!! ...works great....used whole day Today.

many thanks....was getting really frustrating with the restarts. When I wasn't aware of the bug, my wife was ready to toss the phone at me. All hopes of getting any cool phones in the future were dwindling..... you're a savior....

just a comment to OP, make sure damage knows of it, so he can patch it into his next release...
[Hero CDMA Android Development] AH28:
I installed Fresh Rom 2.0d from here: http://xdaforums.com/showthread.php?t=643034, as well as the audio update listed at the bottom that gives credit to this thread. Is that not the same? It's credited to this forum so figured it's the same fix... my trackball light does work and I don't know if it did/didn't before.
[Hero CDMA Android Development] Avalaunchmods:
how many people here using this care if they dont have trackball light?
[Hero CDMA Android Development] chaos67731:
I really dont care about the light.
[Hero CDMA Android Development] Avalaunchmods:
because i can fix wifi real quick but still there will not be a trackball light. it will be a better fix for long term until new stuff gets out. ill do it tonight around 12-1 est time. sound good?
[Hero CDMA Android Development] skeith223:
Thats cool the wifi will work for me for now...Thanks...
[Hero CDMA Android Development] smoother2010:
i used that one too although different and never had an issue.
[Hero CDMA Android Development] galt:
I was on Fresh 2.0d and was able to easily reproduce the audio problem even after flashing the fix he added to his 1st post so I returned to a nandroid of stock 1.5. I just tried the fix you have here (flashed over his ROM after nandroiding back to Fresh 2.0d and haven't been able to reproduce the audio bug even after about 6 calls (used to fail in 2). WiFi and trackball light are out, I can live without the trackball (kinda wish I could toggle it off and on with a menu option) but I'd really like my wi-fi back. Still, thank you mucho for the quick fix. Will report back with any problems.
[Hero CDMA Android Development] AH28:
I just wiped my dalvik cache manually (since I read this was one of the things the 'fix' did) and made about 10 calls without experiencing the problem. Are there any repercussions with wiping the dalvik cache?
[Hero CDMA Android Development] Glod:
Ok so i did fresh 2.0d and the fix and i have had the issue come up TWICE today and i currently have the phone in this state

the fix did not work going back to 1.5 monday, cant have project managers calling me and I dont hear the calls or i cant pick up
[Hero CDMA Android Development] galt:
Which fix did you apply? The one in the Fresh ROM thread, or the one posted here?
[Hero CDMA Android Development] Avalaunchmods:
the new fix i posted that is basically the rom you need to flash over your current should almost 100% fix it.

no that is fine. although dalvik cache should effect anything but hey no one really knows why it happens. we just know what causes it.
[Hero CDMA Android Development] Glod:
ooooook... ill give it a shot

I like 2.1 too much not to
[Hero CDMA Android Development] riggsandroid:
Going to run this in the morning. I ran into this audio issue today after making a call, using the speakerphone a number of times on the call, off and on all on the same call, then attempting to listen to a google voice message. It wouldn't play any sounds. After reboot it worked.

I'll update tomorrow night after a full days use.

See sig for specs.
[Hero CDMA Android Development] Avalaunchmods:
yes yes please try the new one. the apks prevented the issue for about an hour. but it returned. be sure to read the first post throughly to avoid issues.
[Hero CDMA Android Development] flexgrip:
Wait... is one that doesn't break wifi up yet? I didn't see that the original post had been modified yet.

Been out of the loop with this easter stuff and didn't know if you had gotten around to it yet.
[Hero CDMA Android Development] Avalaunchmods:
no believe me i will straighten up the first post alot more when i update. sorry its so cluttered. i have been throwing out fixes left and right lol
[Hero CDMA Android Development] flexgrip:
Cool. Well I was going to take a crack at this img whenever I can get more than an hour of free time. I exclusively run linux and had been trying to figure out exactly what was wrong when I came across your thread.

From what I can tell, it would be possible to run pulseaudio on this chipset. So bells are ringing in my head about some pretty cool android apps that would make use of it. Until then are you doing what the eris users are doing and switching audio drivers? Or are you actually fixing the issue by making it drop all of the open threads in the buffer?

I was reading on the google forums that some people were just using a cron script after HAL to reset ALSA. But that was on the actual dev phones from google. I'm not even sure if the Hero's run ALSA.
[Hero CDMA Android Development] bng06:
Re: (fix) audio-loss i need testers!

I'm not understanding this if I ran the first .zip fix that fix the no sound issue and then broke WiFi is the first post updated with a new fix that can just be.flashed that will fix WiFi or do I need to nandroid and flash the newer update?

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] Avalaunchmods:
if your wifi doesnt work after a zip then you have the latest fix
[Hero CDMA Android Development] Avalaunchmods:
Update for you all

i have fixed wifi. but its using the old kernel.

while modifying the rom (very very heavily modified ,101mbs,) i found some strange changes to files from Beta leak to the RC leak. also some framework changes. i corrected them all and put the new kernel in it and i am testing now. after looking inside the boot.img the only thing that has changed are some rc scripts and the lights fix. not the audio drivers. so with about 5 hours of work im getting down to a solution. i have some testers and hopefully we will find a solid fix with the new boot.img intact.
[Hero CDMA Android Development] Avalaunchmods:
UPDATED!

wifi has been fixed. no audio issues.

enjoy
[Hero CDMA Android Development] thatjerk:
Good job! I hope you get with the other devs and let them know exactly what the problem files were.

Also, I have to say it... this fix is not for mountaindont! No trackball light... FTW! ;)
[Hero CDMA Android Development] Avalaunchmods:
Re: (fix) audio loss update 100%

lol yeh mountain. we dew not like trackball lights. ha gj on the rosie.

anyways everyone needs this xda app

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] RTessi:
if the boot.imp is pointing to a missing audio file and overloading the CPU, could a solution be for the boot.img to point to a "dummy" audio file that does exist, is tiny, but something it could find and play and not confuse the heck out of the system?

R
[Hero CDMA Android Development] teddypepper52:
Thanks for getting this out! I too have been having this issue intermittently for a while, but DC2.05 made my phone virtually unusable i was pulling the battery so much just to get sound back. A phone that cant cant make or recieve calls isn't much of a phone.

Cause wise, my only theory was that it had something to do with who ended the call first, or maybe something to do ith the fact that "Call was lost" pops up a lot when someone really just hung up. No idea really tho.
[Hero CDMA Android Development] 76flip:
Im not sure this is the place but I am not getting sound through my "dongle" that charges and uses the audio output. I use it in my truck and i cant stand having my headphone jack in the top and a charger in the bottom...
[Hero CDMA Android Development] bng06:
2nd update works

Been using the 2nd update so far for the past few hours, Wifi does work again and so far sound has not freaked out. Thanks for all the hard work fixing this Avalaunch :cool: I think after this it is pretty much stable, I'm not going to flash any more until the offical Sprint ROM is released and root patched by Flipz. Don't get me wrong, all the other Devs ROMs are great but I have had more success and stability with the Freshhh ROM.
[Hero CDMA Android Development] skeith223:
Just did the update so far so good...Thanks for the hard work...
[Hero CDMA Android Development] Diplomat2387:
Is the trackball light not supposed to work at all?
[Hero CDMA Android Development] zeeeep:
I'm having trouble downloading the file from 4shared.com - is there another download site available?
[Hero CDMA Android Development] rlaxton:
me too but I am at work :(
[Hero CDMA Android Development] sfox:
Flashing now. I had reverted to Fresh 1.1 since Saturday. I wiped Dalkiv and did a wipe and reset before running the fix zip.

Fingers crossed

S
[Hero CDMA Android Development] bernard_photography:
Same, no go on the download. I just want to make sure that the Damage2.0_fixedV2.zip works on the new Sprint leak DamageControl v2.05? Is this a fix, or does it change the ROM?
[Hero CDMA Android Development] bernard_photography:
I finally got the download to work. Flashing now. . .
[Hero CDMA Android Development] jedikcc:
I am downloading the new update, but the update before this one did not work for me. When my phone started ringing Monday morning, I was loosing sound within the first 30 minutes.

I'll let you know how this latest update works.

Avalaunch, thanks for all of your help in getting this issue resolved.
[Hero CDMA Android Development] sfox:
It's a modified ROM.

S
[Hero CDMA Android Development] robchaos:
hopefully this will be the last bug I report. Nothing major though. So far audio is great. When in a call, if the other end hangs up first, my phone pops up with "call lost". Great job on the audio did though avalaunch. I'm loving having 2.1 that works good enough to show off
[Hero CDMA Android Development] sfox:
Well, that fix worked...for about an hour...:-(

Back to 1.5 again

Circumstances when mine "failed". Made a call using speed dial, hung up then attempted to manually dial a number...first button press and I knew it wasn't working anymore.

I flashed the DamgeControl20_fixedV2.zip

S
[Hero CDMA Android Development] Lappie2010:
Ive been trying to make mine fail but it wont. Im using Fresh 2.0d and havent had a missed/dropped/no audio call.

I want mine to be broken too!
[Hero CDMA Android Development] Avalaunchmods:
try the fresh. in my personal experience it cant lose audio. if you do then idk i suggest you RUU to 1.56 re root and try. something cant be right if you still have the issue after the newest fix.
[Hero CDMA Android Development] Avalaunchmods:
lol no you dont. i have alot of work into this.

btw hows the new versions going for every?
[Hero CDMA Android Development] rlaxton:
I am flashing now over Fresh 2.0d w/s2sd with no wipe, we'll see what happens.

Thanks for working on this!

got error

E:Failure at line 391:

copy_dir PACKAGE:data DATA:
[Hero CDMA Android Development] Avalaunchmods:
ok your gonna have to wipe :( sorry but like i said this is modified pretty heavily
[Hero CDMA Android Development] rlaxton:
should it work with a2sd ext3? after a full wipe?
[Hero CDMA Android Development] Avalaunchmods:
yes but a2sd always causes problems with roms. a2sd is working in both of the fixes. give it a try. if it still wont work then partsd and try
[Hero CDMA Android Development] flexgrip:
Hey man,

I flashed your update over the top of DC 2.05 this morning. My phone is sitting here right now with no audio. If there are any logs or testing you want me to try I will give it a shot.

I wish I could switch to fresh but I just can't make myself use any more fresh roms. I have never really had a good experience with them and cannot live with the modified themes and "Freshness".

I have some time tonight if you want me to try running that script from the google forums. Do you know the name of the audio device? Is it /dev/eac?

EDIT: Actually, keep in mind I had the apk's installed from the first post. Should I have wiped? That sounds weird.
[Hero CDMA Android Development] Avalaunchmods:
Re: (fix) audio loss update 100%

yes wipe. then try it. not many people are still effected so we need to narrow it down

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] TrevE:
This does break apps2sd and gumbo in damaged. The init.rc in the ramdisk does not have the lines in it.

I made a modified update.zip for damaged roms that should just replace the files Avalaunchmods edited and put in working kernel with the init.d from damaged with apps2sd/gumbo. I flashed this on mine nowipe and everything looks OK, have not done much testing outside of that though. I did have one freeze because of the old htcmusic apks from earlier, i reverted to the original verson from my rom and everything booted fine. Please give feedback if this works.

4shared: AudioFix_TrevE.zip
[Hero CDMA Android Development] Diplomat2387:
My track ball is lit right now as I'm typing this..Do I need to wipe my phone and then flash again ?
[Hero CDMA Android Development] rlaxton:
Yeah, when I get home I am going to wipe everything and start from scratch minus the RUU.

I will report back.
[Hero CDMA Android Development] robchaos:
so far audio has been 100% fine. been running this fix since 6 a.m. this morning.
[Hero CDMA Android Development] richse:
So if I have been running fresh 2.0d for a few days and have not had any problems with audio should I flash this or am I pretty safe? I just don't want this problem to decide to start happening randomly when I need my phone.
[Hero CDMA Android Development] Avalaunchmods:
Yeh it breaks it i just use autokiller. And be careful the new ramdisk requires different lib,bin,etc files for the wifi. If you can remake boot.imgs pm me i need you to do something for me
[Hero CDMA Android Development] Avalaunchmods:
It is the most random issue ever. Lets say your safe. Check back to thread when i post a new boot.img that will be fully functional. And you wont have any risks of losing wifi
[Hero CDMA Android Development] TrevE:
I did a diff on the files, grabbed changes i saw in /etc/, /etc/firmware, and /lib/, /lib/modules/ & i just added lines for apps2sd into the boot.img. Been using apps2sd and memkiller seem OK. Also been on a few conference calls and have not had issue. Using wifi now. PM'ed you and on gtalk
[Hero CDMA Android Development] yellowbean:
This issue was 100% reproducible for me on Fresh 2.0d by just connecting to the car bluetooth and placing a call. So far, post-patch, I've made one successful call via my car's BT so this is very promising. Haven't had time to test it further.
[Hero CDMA Android Development] robchaos:
I am flashing your updated libs and boot.img right now. I will report back later after making a few calls and checking free ram
[Hero CDMA Android Development] Glod:
sweet bug free so far!
[Hero CDMA Android Development] zeeeep:
I finally got the latest fix downloaded yesterday afternoon and flashed. As of this morning, no reboots and I still have audio. Wifi works. The trackball light is broken, but I can easily live with that. Thanks for all your work!

Btw, are you the same avalaunch that used to make xbox dashboards?
[Hero CDMA Android Development] Stramondroid:
Can I flash this over Damage 2.05?
[Hero CDMA Android Development] modchipper:
Must do a wipe first. He said there has been many changes.
[Hero CDMA Android Development] askwhy:
Finally had time yesterday to properly give this another go.

Coming from Fresh 2.0d, I had errors trying to flash without first doing a wipe. This time I wiped Data/Dalvik/Ext, and the Fresh-Fixed flashed fine (say that ten times fast).

Only about 14 hours in so far, but audio is still good, have not had to reboot at all, and I will report back later today after I put it under a full load of BT/Calls/Music/GPS and so forth.
[Hero CDMA Android Development] sfox:
So last night..finally got RUU to work, got it back to stock, rooted again, flashed an OLD nandroid backup and then reflashed with the DamageControl Update. WOOHOO, trackball doesn't work this time (not being sarcastic, was really hoping it was out so I knew the fix took)...I'm very hopeful now.

So far so good. THANK YOU for your help and tenacity with this Avalaunch!

S
[Hero CDMA Android Development] Stramondroid:
Must do a wipe, argh... LOL

Okay, let me ask you this, I awoke this morning, and now my phone is stuck on digital roaming, I flashed this rom over the one I had and it didnt change anything, do you think that a wipe, and this rom, might fix that issue as well?

Thanks for your help. and FYI, Im a n00b by no means..lol
[Hero CDMA Android Development] jackal424:
That's happened before. Just Update your PRL. Might have to do it twice!
[Hero CDMA Android Development] robchaos:
People should only have to wipe if you use app2sd I haven't wiped data once. I flashed avalaunchs fix first then trevEs fix to bring back low mem killer, both times I only wiped dalvik. I've had 0 issues. Going on a day and a half, Bluetooth still seems to work, and no audio dropout. I'm on damaged 2.05 with no app 2 SD partitioning.

To stramon, is it possible you changed your pri flashing other roms? Try updating prl a couple times make sure you are in an area that gets Sprint service. That's worked for a couple people.
[Hero CDMA Android Development] Stramondroid:
Thanks Ill try..
[Hero CDMA Android Development] jedikcc:
Bad news.... I have flashed the newest ROM fix. All was good yesterday, but I just now lost all sound on an incoming call. I'm at a total loss. I'm running the Damage version. Guess I'll try the Fresh one & hope for the best.
[Hero CDMA Android Development] Stramondroid:
After doing the PRL update, Im back on EvDO now, thanks!

p.S. really weird how I went to sleep and I was on 60663, and when I awake Im roaming...lol

Thanks again! And PS2 I did not wipe before flashing, and all is well!

:)
[Hero CDMA Android Development] klassact:
I am still having the same issue with the audio loss
[Hero CDMA Android Development] Avalaunchmods:
Wipe. Try again
[Hero CDMA Android Development] rlaxton:
I wiped everything and re-partitioned my SD card, I am making and receiving lots of calls (trying to break it)

And so far since 6:30pm PST on 4/05/2010 it has been flawless :)
[Hero CDMA Android Development] TrevE:
Ive been rocking out to pandora & on 3way calls almost all morning without any issues. Good thing too, our asp environment was down :| phone was critical
[Hero CDMA Android Development] flexgrip:
Hey man,

After your suggested wipe everything works.

I basically just wiped and then flashed your damagecontrol zip, then I flashed that update from TrevE. After boot I restored all my apps with titanium backup and started making calls all evening. The phone hasn't rebooted since last night and I am still getting audio.

Thanks a lot. That was the last missing piece of the puzzle. Hopefully the trackball light thing will just go away. Its not a big deal to me but I can see how it would be annoying to some. I NEVER use the trackball anyway.
[Hero CDMA Android Development] mercado79:
Just wanted to chime in here. I too was having audio issues with the DamageControl ROM. I've since flashed your FreshROM with the fix built in and haven't run into any problems. Thanks for the great work. It's much appreciated!
[Hero CDMA Android Development] sfox:
I wiped and reflashed three times and it still kept breaking. I think something just wasn't getting updated. I finally RUUed and flashed an OLD nandroid backup and this seems to have fixed it.

I'm thinking I didn't need to RUU and could have gotten away with the Nandroid restore, but a simple factory wipe and Davlik wipe just weren't taking care of this in my case. Just an observation.

S
[Hero CDMA Android Development] flexgrip:
I'm working on a modified version of the boot.img and the kernel included with DC 2.05v to see if I can get pulseaudio compiled on arm and running. I have a few hours this afternoon.

BTW it seems sprint is aware of the issue in the release candidates. I would be interested to see their fix for it. Often times their fix is "return the phone to a sprint store and get a new one". Although I have to say although it might seem like it, there is a pattern for every bug. Have you started to see one yet avalaunch? I still haven't seen many specifics on this bug. Since I am interested in replacing the audio drivers altogether, I could use any help you can give me.
[Hero CDMA Android Development] askwhy:
Fresh-Fixed seems to have done the trick. Thanks again Avalaunch, and everyone involved in testing.

Today I have had one my busier mornings on the phone that I have had in a while, and the audio never dropped out once. 18 calls in the past 4 hours, some in, some out, some BT, some handset, plus I have been in and out of my car listening to music via the headphone jack.

Rock solid -- no dropouts -- oh yeah, baby, oh yeah!
[Hero CDMA Android Development] VinceOB:
I dont get it, why would this fix the issue at hand, but break something else that was working to begin with?
[Hero CDMA Android Development] Ceger:
Anyone have any such successes using the update zip file as opposed to the whole ROM method?

Ceger
[Hero CDMA Android Development] jedikcc:
The update.zip didn't work for me....but neither did the DamageFixed ROM. I flashed the FreshFixed at lunch & haven't had any issues......

yet....

:)
[Hero CDMA Android Development] 76flip:
does anyone get audio through thier dock or charging adapter? Audio is not working for me through the mini usb port now.
[Hero CDMA Android Development] scb8g:
Well, I was hopeful, but I lost audio with this fix. It seems to have done something, however. I was losing audio within 30 minutes of boot before.. and I just went three hours before it happened. *shrug*
[Hero CDMA Android Development] robchaos:
Unfortunately the problem has resurfaced. I tried a wipe then flashing the fix directly and it still came back after a few hours :-(.
[Hero CDMA Android Development] galt:
When you guys are calling out a fail, can you please note which base ROM you installed and were having trouble with, which fix you applied (the patches, or fixed ROMs?) and what steps you took to flash the patch (wipe system/data, cache or just flash over?)?