yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Meltus:
I can't think of anything else to try! It's bizarre how there's been no change in the Audio at all. I'm guessing running a ROM with my hack built in doesn't do anything either?

The only thing i can think of is that it's some sort of hardware problem. Can't see what would be the problem though as your speaker clearly works, and the volume/EQ is all controlled by software.

Perhaps you could try 'corrupting' the files and see what happens. It can have some wierd effects, sometimes making the audio break completely and other times making certain things stop working. Alternatively, try just making some blank xml files and rename them accordingly. If everything software based is working correctly it should, i think, completely break all audio (untill you push the proper files).

Let me know how it goes :)
[G1 Android Development] ryman1:
Didn't cyanogen post in this thread saying he will put this in his rom? I'm not sure if 4.0.4 has it built in or not.

Anyways that's a pretty good idea about the files. I'll give that a try later. I do seem to remember the sound stopped working when I removed the csv files, but I'm not for certain. I'll try messing around and see what I get.
[G1 Android Development] Charrion:
He had the pre donut-compatible one in 4.1.10.1 but removed it for 4.1.11.1 because of the camcorder problem. The C&D hit before Meltus had it fixed for donut.

We'll likely see it incorporated in the next version, when it arrives.
[G1 Android Development] ryman1:
Ok, so I pasted Shakespeare's Sonnet V over all your code in each csv file, Meltus... my sound is still working. Swear to God. I did a killall mediaserver and even a full reboot.

Before I did that, I actually deleted the files altogether from my phone and got the same result - sound worked even after reboot.

I have a feeling that we're about to make a discovery.

edit: also just tried corrupting the files by typing random numbers and letters all throughout the files. Same result.
[G1 Android Development] Charrion:
Maybe you accidently changed a quantum setting and you're seriously messing up the sound for yourself in a parallel dimension. :)
[G1 Android Development] rockin_mod:
Dude!! Can you make it any louder?! AAAHHHHHH just playin. Seriously!! you killed it!! Thank you so much!! Long live devs!!
[G1 Android Development] djosiah:
does the version 5_r2 work with donut and can it be used along with the generation 7 files?
[G1 Android Development] Meltus:
I thought this might happen.

I've been doing some testing and (i think) whenever the phone detects an abnormality in these 3 files, it automatically uses the stock settings, which must be in another file somewhere.

Try setting all the EQ band gains to 0 or something, so it still should make a difference but have very low sound. That works for me.

Still a little confused how the files don't make a difference no matter what you do, unless your phone, for some reason, has different files controlling the sound.

Don't see why not. give it a go :)

They're not very stable though so back up your files.
[G1 Android Development] kingklick:
which version doesnt kill sound on voice recorder and camcorder for hero?
[G1 Android Development] djosiah:
the generation 7 files...download the generation 7.zip on the front page
[G1 Android Development] carlitozway57:
Using G7 V2 R2 on Cyanogen's 4.1.99 and no difference in volume. Rebooted, followed all the steps, no noticeable difference. Also had this issue with 4.0.4. The last time I did this successfully was on JF 1.5.
[G1 Android Development] ryman1:
Sounds similar to me except it didn't work for JF 1.5 either.

I manually edited the gain settings of all the bands in the eq to 0 and the sound didn't change.

Last night I also did a totally clean install of CM4.0.4 with nothing but the ROM and Audio Hack installed to make sure there wasn't an app I use that interferes or something. Same result as always. I don't see any other csv files that it could revert to. Could the default files be coded right into the ROM maybe?

Are there any log files I could provide that might be of use? Heck I'd even set up a remote account for you to get ADB access if it's something that could help us all.
[G1 Android Development] jdmcivic:
i am on cm4.04 and this audiohack works. currently am using the v3(loudest). works well. i transferred the files via adb and rebooted it.
[G1 Android Development] ryman1:
We're aware that it works on most peoples' phones with CM4.0.4 . My phone is just rebellious or something. I've done the done the ADB transfer along with pretty much every other method on multiple roms. I've even tried corrupting/deleting the csv files. My sound just continues to (quitetly)work as if no changes have been made.
[G1 Android Development] jdmcivic:
have u tried installing the audio hack light? the program. sometimes i use the program 1st to push the files when the normal adb method isnt workin. after that u can transfer any version via adb..
[G1 Android Development] ryman1:
Yep, audiohack lite was the first one I ever tried back when I was using JF1.5 . Check my previous posts to see everything else I tried.

edit: just tried the lite version again for nostalgia's sake... nothing
[G1 Android Development] Meltus:
Have a look at the DDMS log and see if anything Audio-wise fails to start. (AudioPara_TMUK.csv should fail but ignore that :p)

It could potentially be a core file that's screwed but i can't see how it would change after changing ROMs.
[G1 Android Development] raymasky:
Does this hack work on cyanogens latest rom 4.1.9999 ?
[G1 Android Development] Meltus:
should do. The G7 (universal) files should work on all ROMs.
[G1 Android Development] Charrion:
I can confirm that it is working beautifully on 4.1.999
[G1 Android Development] djdeviance:
You don't even necessarily need to dl the files if you do this the Lucid Rem way. Just run all the commands through terminal. Runs flawlessly. Including the HERO roms with no Audio Hack included.
[G1 Android Development] crypticc:
G7 Working on HTC Magic including Mic fix

Hi Meltus (and Cyanogen)

Frustrated that I couldn't get Meltus' excellent volume hack without losing the microphone on my Magic32b, tweaked Meltus G7 v6r2 file with the 32a microphone fix for Sapphire phones (Magic 32a, 32b, ION, Mt3G).

The only file that's different is AudioPara4.csv, but I've included the other files and the original from G7 Universal for completeness. The AudioPara4 file is same as Meltus' except for where I found a change was needed; i.e. this is not the file from the Sapphire thread.

With fix in place the music playback quality remains better than stock, but with the benefit of phonecall, voice recognition and camcorder all working properly (witness VU meter in Google voice recognition now has peaks and troughs).

Meltus : I found lines U0, U1, U2 and U3 are the critical lines that set microphone volume. You might want to think about patching these in your market place app for non-G1 users.

Cyanogen : Your rom works on 32b without modification, but I guess many users might miss that they need to patch the AudioPara4.csv. Perhaps you could x-ref this patch?

Other changes made:

* Header (not sure if that's used)

* TBD devices 2 and 4 filled-out as FMHEADSET, FMSPEAKER as required.

* I have also added the newer bluetooth devices G34 onwards.

* The remainder of the file is Meltus'; i.e. this is not the file from the Sapphire thread.

Perhaps someone with Magic / MT3G could confirm. Also, would someone with G1 check, I guess microphone volume might become too loud?

Usual method required to deploy patch:

adb push AudioPara4.csv /system/etc

adb shell killall mediaserver

Hats off to 32a rom devs NK02 and Fatal1ty, and fans of the Sapphire thread who found stock files fixed things.

http://xdaforums.com/showthread.php?t=549837&highlight=microphone+volume

Cheers all

Chris D
[G1 Android Development] jf4888:
Dumb question

Don't hate me for asking it

Is the revision(r2) files the same as the original

Meaning due I have to install the v1 v2 or v3 then push the v6r2 for the most quality

Or can I just push the v6r2 byitself
[G1 Android Development] crypticc:
Each folder in g7 is standalone
[G1 Android Development] theawsome:
hey guys the app in the market wont download for me... any help would be great

thanks

edit: message is "download unsecssesfull"
[G1 Android Development] drpfenderson:
I have yet to figure out how to get the gen7 files through Lucid REM. I know

lucid -au v2

But how would I get v7r2?
[G1 Android Development] xidominicanoix:
if the script hasn't been updated, then you can't

EDIT: AudioModv7-v2r2 <- just flash it through recovery :D
[G1 Android Development] miketaylor00:
Meltus, I finally took the time to read your thread on how to adjust the files manually. Thanks for doing that. I saw that you said that you haven't adjusted the frequencies yet so I figured I would take a crack at it. I used your v7 file and adjusted the frequencies. I did a bunch of research and found out what the standard frequencies are and tried to use those. What I found is that the default ones for the phone are grouped toward the middle frequencies and don't have much in the low and high end. So I spread them out a bit and I think it really improved sound quality in my car. I love your v7 files but even though they are way better than stock, my phone did not have the same quality as my CD player. The bass mostly just wasn't there. With these new frequencies I could barely tell the difference between my CD player and my phone. I need to adjust the gain on a few frequencies now that they have changed but I'm working on that. If you are interested I will send you my files and if you like them you can post them. If you just want to use my frequencies and make your own files that is cool too.
[G1 Android Development] djosiah:
that would be great if you could share your modified files :D

@everyone else: do the generation 7 files work with hero roms?
[G1 Android Development] Meltus:
They were designed from the Hero files, so yes :D

Depending on how you hook your phone up to the car stereo, it could have possibly been a placebo effect.

If you do it through bluetooth, ignore this bit.

Assuming you connected it up via an aux cable or something, then the audio coming out thinks it's going to the headset and so uses an entirely different EQ system, in my experience, that i believe is locked into a lib file somewhere. So far, we have been unsuccessful in creating a headset EQ because it only effects the phone's main speaker (albeit i can sort of control the headset volume, but that uses a different method entirely).

You can test this out for yourself by editing the AudioFilter.csv so all the gain settings are at 0 or whatever and listen to music out of the main speaker. it should sound awful. Then when you listen to it via the headset it sounds normal and un-changed.

Now, bluetooth maybe effected by the AudioFilter.csv, i that is what you are using. But i've not been able to test this as i don't have a bluetooth device.

Also, i would love to take a look at your frequencies :D

GoldenarmZ created an edited file with a new EQ banding a while back, but it was designed for use with the headset, and was too bass-oriented, which the crap G1 speaker can't handle :p
[G1 Android Development] LucidREM:
Lucid Script

simply put in:

# lucid -u

# lucid -au v7

the "-u" will get you the latest script .. depending on how old the script is you may actually have to do "-u" twice as i have moved servers .. the old server will update and then the second update will pull from the new server
[G1 Android Development] hs420:
I am having the same low mic issue with my MyTouch 32B rooted with Cyanogen 4.1.999

I have the G7 files that were posted by crypticc. My problem is I am clueless as to how to install them. First off, I don't know where to put the files. Root of the SD card? Then in the terminal emulator, I superuser, and the command adb is not found. What am I doing wrong?

Can someone post stupid person instructions to install these audio fixes? I am hoping this fixes my issue real quick.

Thanks!!
[G1 Android Development] hs420:
Nevermind... I figured it out :p

Feel pretty dumb now!! haha...
[G1 Android Development] crypticc:
:)

Did it work? Cameraphone still rubbish IMO, but record volume about x4 for me.
[G1 Android Development] Meltus:
I'm not quite sure i follow.

First of all, not all phones will try and load the French version. Mine tries to load the AudioFilter_TMUK (uk version) yet i have yet to see a firmware that actually includes this file, which is because i imagine it will be the same as the TMUS (U.S) version.

Also, changing these values will only offer a very slight increase in volume, alongside a massive increase in distortion. All the actual volume boosts come from the EQ in the AudioFilter file.

Line A1 in the AudioFilter.csv file IS a duplicate but if you look closely you'll see it isn't enabled, and so isn't doing anything. feel free to remove that line if you wish, it wont make a difference.

Regarding the 'errors' in the PreProcess file, they were present in the official hero firmware when it was released. These have not been added by me (at least, not to my knowledge) and also offer no noticeable difference when corrected.

Nothing you do to the preprocess file seems to make a difference. Some things cause force close errors, etc., when set wrong (like the camcorder sound problem) but nothing in the way of sound quality or volume.

Regarding the files increasing volume, as far as i am aware (doesn't necessarily mean i am correct though) column E has no effect on volume. I'm currently testing the various columns atm to see what does and so far have been unsuccessful.

In my opinion the change in volume was probably due to a difference in another column but i could be wrong.
[G1 Android Development] Meltus:
Breakthrough

UPDATE:

Just managed to get hold of an AudioPara4.csv file with all the columns labeled!!!

Some pretty interesting ones like 'Output Gain' and 'Echo Path Delay' which will be fun to mess with.

I'll keep you all posted :D
[G1 Android Development] prince.siraj:
so you might even get some better quality out of that huge volume boost you've gotten already?
[G1 Android Development] Meltus:
aye, hopefully!

Also might be able to make a half-decent headset boost now too!

There's about 4 different Gain values too, so i'm gonna have a mess with it and see what it sounds like!
[G1 Android Development] prince.siraj:
oh SWEET!!! :D amazing
[G1 Android Development] Meltus:
UPDATE!!!!

Headset boost fully working, stupidly loud now, seriously :D

Don't have to rely on it being an 'update' file anymore, it should just work on it's own as a separate version.
[G1 Android Development] Meltus:
New Headset Boost file is up guys.

Also includes Crypticc's sapphire fix, sorry pal, i forgot to thank you for that :D

Feedback welcome!!!
[G1 Android Development] MaliceMcGuire:
anyway to add the headset boost to the market app? maybe replace another preset...
[G1 Android Development] Meltus:
you want me to do it, or are you asking if you can do it?

This is more of a test, it wont sound amazing. This isn't going in the app yet.
[G1 Android Development] MaliceMcGuire:
I can wait :) but I figured I would do the file switcheroo... you have better things to do then to mod my personal app lol... although i wouldnt argue lol
[G1 Android Development] Meltus:
Haha, don't see why it shouldn't work.

pull the app.

open it up and go to res/raw

download new headset boost and rename it to 'para6' without an extension.

replace the one in res/raw with the new one.

You'll probably have to resign it and whatnot though.

no idea if this will work btw, never tried it lol.
[G1 Android Development] MaliceMcGuire:
Ill let you know how it goes
[G1 Android Development] drpfenderson:
Hooray! Thank you. :D
[G1 Android Development] Meltus:
20 downloads and no feedback? come on guys, hows it sounding? :D
[G1 Android Development] ezzieyguywuf:
any way to get a line-out using one of your hacks? It doesn't look like any of the current hacks provide that, but it sounds like something that may be doable, at least some sort of "virtual" line-out, i.e. no compressing or eq changes. Those of us with external amplification would love that! lol.
[G1 Android Development] Meltus:
I suppose so, i'll have a look. By default the phone does some slight compression and EQ changes that are un-editable, especially out of the headset. I'll have a look and see what i can do :)
[G1 Android Development] crypticc:
No probs - happy to spread the fun. OMG this is loud, I could feel the phone vibrating and Boot startup ping scared the sh!t out of me. Half on this is about same as full on v2r2.

Might have to just save it for when some kids play their R&B too loud on the back of the bus.

Suggest you could you aim for about mid-way between the two, maybe even less. **all** watch out for clipping on treble on this one if you don't want to cook your loudspeaker / headphones.

Confirmed your new headset boost applied over v6r2 also keeps the microphone intact.

Played some Queen through both directly connected headset and loudspeaker.

But playing through my Grado SR80 - very nice - Bass is okay, without being too overbearing. There's also a slight hint of splashiness to treble but that maybe 256kbs file, or that HTC forces us to use crappy patch cable... not a bad result.

I notice at the very end of Track 2, the panning left and right cuts back-and-forth more aggressively than it should and when compared to v2r2. On v6r2+ is maybe the bass and treble boosted more compared to the midrange?

i.e. \_/ rather than ¬_~

:)

Chris
[G1 Android Development] crypticc:
p.s. did you see the v2r2 file? :D Or maybe just do one mid-way between v2 and v6 :rolleyes:
[G1 Android Development] Meltus:
Yeah the EQ is a bit messed up with the headset and so far i've been unable to change it, despite knowing the correct values to change (i think so at least). I think i might have to enable it somewhere else, i dunno.

I still need to play with the compression too, as it's a bit harsh when you turn it up, so i'll get some more files uploaded soon!

I can send you a version with all the labels if you fancy having a go? :)
[G1 Android Development] crypticc:
that might be fun - also pm me the untouchable areas that you know are at their best already.
[G1 Android Development] rschuman90:
is there a "noob" way to isntall this without using adb??
[G1 Android Development] ezzieyguywuf:
Sweet. Much appreciated dude. I'm sure the Androiders over at Head-fi will have a fit over this. I know I prob will :-)

What about s/pdif out? *shudders* that would me sweet.
[G1 Android Development] Meltus:
Haha, dunno about that. Would be amazing though :D

I'll let you know how it goes, gonna be starting them and about 10 other different versions this weekend :P
[G1 Android Development] Meltus:
All the different ways are in the first post.

You can put the files on your sd card, move them to the correct place and then 'killall mediaserver' and you're away!

or, you could do it the 'Lucid way'.

OR, you could put the files in an update.zip, re-sign it, and flash!

It's all there in the first post :)

check your PMs.
[G1 Android Development] Alucardis666:
N00b here with no ADB and trying to perform the Lucid Method with no luck, I keep getting an error saying Audio filter is a read only file and can't be created. Any chance of a script being done to do this process automatically? Or to automate it?
[G1 Android Development] bkmo:
The best way for noobs to do it is to buy the Louder Volume Hack app from the market.
[G1 Android Development] Alucardis666:
booooo... lol
[G1 Android Development] Meltus:
haha that would be the best way ;)

If it's saying file is 'read only', i'm guessing that you haven't mounted your system as read/write.

Try doing that in the terminal first and see if that helps!
[G1 Android Development] LucidREM:
Automated

the lucid script has automated it .. but Meltus is correct .. mount the system as writable and you can write over the file

# lucid -au v7

would be the automated command
[G1 Android Development] bfreexxx:
headphone adapter not working

I just tried the 3-in-1 headphone adapter (HTC original), and the sound doesn't change from the external speaker to the headphones. I've tried rebooting, replugging the adapter while the music is on and off. still no go. any clues? i don't know if this is an issue with ADP 1.6 or the volume hack. i just assumed this would be right place to start.

I'm using AOSP+ADP 1.6 with exppack 2.0.3 and v1r2 volume hack. sounds great with my bluetooth headphones and overall external sounds are an improvement over stock. now i'd like to be able to patch into a stereo with a mini-jack.

Thanks for any help anybody can lend.
[G1 Android Development] crypticc:
Tech-savvy noobs should read the instructions at the front page, together with the Noob guide to ADB found elsewhere on this forum. No excuses really if you haven't read the sticky thread 2 :) titled "***Informative Links*** - Read before clicking "New Thread"

If you don't get it, then market place is best bet.
[G1 Android Development] Zappletoo:
I've had no issues like that.. I'd say it comes from your ROM. Does the headphones icon appear when you plug it in ? Does it work properly with only the stock headphones ?

Besides, that new headphone boost really works, not like the previous one. :P

Too bad it also distorts the sound.
[G1 Android Development] bfreexxx:
I think that the phone (or ROM rather) is not properly recognizing when I plug in a headphone into the 3-in-1 adapter. If i plug headphones into a second headphone only adapter, it works. If I switch the headphone from the headphone only adapter to the 3.5mm stereo jack (while the headphone adapter is still plugged in) the 3.5mm jack will then send audio to the headphones.

It seems the phone is having a hard time recognizing the signals from the 3-in-1 adapter.

I'll post this in the ROM thread to see if I can find a solution. I'd like to be able to charge my phone while playing music to 3.5mm stereo jack.

Thanks
[G1 Android Development] Paul22000:
Brainless instructions for installing V3:

Put *.csv files in root folder of sdcard via PC

Disconnect G1 from PC

On phone, open terminal and type:

su

mount -o remount,rw /system

cp /sdcard/AudioFilter.csv /system/etc

cp /sdcard/AudioPara4.csv /system/etc

cp /sdcard/AudioPara4_TMUS.csv /system/etc

ls -l system/etc

reboot​
[G1 Android Development] Meltus:
You'll like the next version then ;)

Working on getting the compressor active for the headset too, not too sure how this one works yet, but i'm sure we'll get there!
[G1 Android Development] mat_pav:
Does any one know if Its posible to lower the volume of the ear speaker beyond the minimum setting in the UI?

TNX
[G1 Android Development] NeoBlade:
Looking forward to the new version then ^_^ If you want testers just give me a shout as it'll be nice ot push these files again on Cyanogen 4.1.9999.
[G1 Android Development] miketaylor00:
Anyone want to test my audio files?

I posted earlier in the thread that I adjusted the frequencies on Meltus' v7 and played with the gain a little bit. It hits the highs and lows much better now. I've had a couple people try it and they liked it but I wanted to get a few more people to try it. If you are interested send me a gmail.
[G1 Android Development] Meltus:
edit: nvm :D
[G1 Android Development] Meltus:
I think you have your Band 1 and Band 2 frequencies much too low, to the point where they're hardly affecting the sound. 180 - 190 is roughly when the bass starts kicking in, to my knowledge, (the G1 speaker is terrible), meaning Band 1 and Band 2 are having very little effect and are more likely to distort the sound.

You can test it out. Set your Band 2 gain to 0 and it wont make the sound any less 'bassy'.

Also, i'd remove the TMUS file from your zip as it overrides the AudioPara4.csv. Unless they are both the same, then it's fine :p