yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] SharpieMarker:
I've posted my question in a few places so I hope you don't mind if I post my question here.

I recently purchased the audiohack app from the Market before doing MUCH research.

Does it change the volume of the speakerphone or the in-call speaker, or is it just for use with headsets?

I ask because I followed the instructions to a T and haven't noticed a difference in speakerphone or internal speaker volume after using the hack. I backed up the audio dependencies, pushed v2 then v6, and still no difference in volume. I even let the music play in the background as instructed by the prompt and I noticed no difference in volume. I didn't even notice a difference when using a wired headset.

Any help would be greatly appreciated.
[G1 Android Development] Meltus:
Hey all, back off my holidays; fairly sunburnt and pretty tired :p

see a few questions being asked so here goes:

Can't see why that would happen, they work fine for me. Although saying that, i've not rebooted my phone in a long time except to flash new firmwares.

also, why do you even need to see the boot screen? instead of rebooting just type:

killall mediaserver

in the terminal emulator and it reboots the audio.

No, as it should work fine anyway. try the method above.

Does the Audio Hack work desipte the TMUS error? If it does then i wouldn't worry about it, your phone still functions fine without the TMUS file, you can remove it if you want.

Not at all, this thread is for questions.

When the music is playing in the background, did the music stop and skip to then next track? if not, then you will need to reboot your phone before you use the app (can happen sometimes) then it should work fine.

As for the in-call volume, the simple answer is 'i'm not sure'. I think it boosts it a little bit but i can't really notice the difference. It's the loud speaker and headset that get boosted significantly.

hope that helps :D
[G1 Android Development] kockroach:
What is the point of the TMUS file? It is the exact same file as the AudioPara4 file....md5sums are the same.
[G1 Android Development] kockroach:
I have a script that I use with GScript Lite. I have it mount the sd, then copy the four .csv files from the root of my sdcard to the /system/etc folder. Takes a couple of seconds after running an update.
[G1 Android Development] Meltus:
I wish i knew. and yes, it's exactly the same as the audiopara4 file but the phone tries to load the file when it starts up so it MUST do something.

It also tries to load an AudioPara_TMUK.csv file, which doesn't seem,to do anything.

My guess is the 'tmUS' file is for the US and the 'tmUK' is for the UK. could be wrong though. Also the UK phones come with the US file not the UK one so i dunno lol.
[G1 Android Development] kockroach:
Hmmm...and I would assume that TM is for T-Mobile...do you agree? Strange that they would duplicate a file like that.
[G1 Android Development] Meltus:
i imagine so.

I'm guessing that they are just country specific versions of the AudioPara4 file, because (i think) different regions have different volume limits, like the EU or the US. I know i-pods have a volume cap on them in the EU, not sure about the US though.
[G1 Android Development] xsivelybad:
cool.

I have seen this floating around the forum but I hadn't tried it yet because some of the devs are including it in their builds. I am on a normal build now. Tried it and it works great!

Thanks Meltus!
[G1 Android Development] SharpieMarker:
Yes, the music stops and skips to the next track which appears to sound the exact same as far as volume level is concerned. I usually leave the media volume about half full because your warnings said not to play it on full volume after pushing the files, however, I haven't noticed any increase in volume to note. So I turn the volume to half, play music, push v2 (no change in volume), and push v6 (no change). Both pushes automatically reboot the media process and skip me to the next song. I'd be more than happy to try any suggestions you have for me. Thanks for the expedient response.
[G1 Android Development] Meltus:
hmmm that is odd. i'm guessing you turn the volume up to see if there's any volume change afterwards? Also, are you doing this with the headset plugged in? this can cause some problems, so try taking it out if it's in. If you're not using it with the headset in you could always reboot your phone and try again to see if that helps. :)
[G1 Android Development] Wysie:
Hi Meltus,

Does your app/hack support HTC Magic? I'm running a rooted ROM with busybox installed. Bought your app off the market, played music in the background, selected the hack version I want, pushed the files, and the music does not skip to the next track, nor does it get louder, even though I get the "Pushing Complete! - Media Server Restarted!" message.

Thank you.
[G1 Android Development] Meltus:
I can't say for definate whether it supports the magic but if you are using a G1 custom ROM then it should.

This can happen occasionally when you install it, try rebooting your phone and then trying again, let me know whether that sorts it out or not :)
[G1 Android Development] Wysie:
Hi Meltus,

I've restarted my phone, and don't notice any noticeable difference in sound. With that said, I've the folders "AUDIO_" something, created by your app. Sorry I can't tell you more as I've no proper way of testing if it's indeed louder.
[G1 Android Development] Meltus:
Does the music now skip when you try and apply a new version with my app? sometimes my app just decides not to work untill you reboot your phone and then works fine afterwards :p
[G1 Android Development] SharpieMarker:
I want to try a different rom to see if its just the version i'm using that is giving me problems. I've legitimately purchased your application. Is there a way to backup the apk so that I can reinstall it later?

I just tried using http://devolio.com/android/backupapps.sh script to backup my applications and it saved quite a few, just not yours.

::EDIT::

Using astro, your application comes up "Private." Any suggestions would be greatly appreciated.
[G1 Android Development] phantasm714:
you can re-download from Market for free. all your purchasing info is tied to your google account. so flash away.
[G1 Android Development] SharpieMarker:
Awesome, in addition...

su

cd /data/app-private/

cp com.AutoMod.apk /sdcard

::EDITED::
[G1 Android Development] LucidREM:
File Name

i believe that is "com.AutoMod.apk"
[G1 Android Development] Wysie:
Meltus: I got it working on RAv's ROM already. I think I linked/setup busybox wrongly on my previous ROM :X. So yup, it works on a Magic. Thank you!
[G1 Android Development] Meltus:
excellent! cheers for the info! :D

Does the magic share the same marketplace as the G1 then?

might advertise it on the magic forums :p
[G1 Android Development] alritewhadeva:
ok um...agaisnt forum rules to post on how to backup protected apps :o
[G1 Android Development] Meltus:
nah, i doubt it.

it's against the rules to post links to paid apps but there could be loads of reasons that someone would want to back them up 'legally' :p

and yeah, thats how you would do it.

i'm not too bothered anyway, it's already been leaked on various forums ><
[G1 Android Development] alritewhadeva:
Lol oh :o Thought it was...so any progress made?
[G1 Android Development] Rizz85:
I'm having such a hard time to follow method 1.. can you help me plz! thanx
[G1 Android Development] Rizz85:
From Method 1, everytime i type this in the first cmd:

adb push Desktop/AudioFilter.csv system/etc

I get the adb list menu!! like its not recognizing what I want to do.
[G1 Android Development] Rizz85:
anyone have any ideas to why this is happening???
[G1 Android Development] bahnburner:
Depending on what OS you're on, desktop/audiofilter.csv probably won't work.

On windows, you're going to need the full path ie C:/documents and settings/User/desktop/audiofilter.csv would be an example of a full path.

On mac, you could use ~/Desktop/Audiofilter.csv

also, you're going to want to make sure the files are actually on your desktop.
[G1 Android Development] Meltus:
good point bahn, i'm on linux so it worked fine for me :p

should probably change it.
[G1 Android Development] Dreddge:
Doesn't seem to be working for CM 3.6.8.1. I can tell a difference on the in-call volume, but no difference on ringer/media volume.

EDIT: Uninstalled, and reinstalled the app, its working great now. GREAT JOB! Thanks
[G1 Android Development] overground:
this will work:

cd desktop
adb remount
adb push AudioFilter.csv /system/etc/AudioFilter.csv
adb shell reboot
[G1 Android Development] Meltus:
just a quick tip:

If anyone's having problems with my app not doing anything, reboot your phone after installation. That seems to fix most problems!
[G1 Android Development] mzet:
i have v2+v6 now, it's ok for ringer and media, but i have to remove it, because when i have phone call, it's too loud at the lowest level and it hurts my ears :)
[G1 Android Development] Chosen_on184:
Ok i just purchased the app since im a noob in training as far as enjoying the joys of a hacked g1 here goes my question ..... After u install and open the app and click the version and push the files ... do i have to do the terminal thing too or once i push the files that should do it ... ?
[G1 Android Development] spacezorro:
Script for running on phone

#!/system/xbin/busybox sh
#
# wrote it once
# rewrote it 42 times to remove the bashisms
# me missing bash --> :(

VERz=`wget -q -O- http://files.lucidrem.us/jf/system/etc/ |grep "HREF=\"v"|sed "s/.*HREF=.//;s/\/.*//"`

echo "Pick version to install"
count=0
for x in `echo $VERz`
do
let "count += 1"
echo "$count - $x"
done

read ver

count=0
for x in `echo $VERz`
do
let "count += 1"
if [ "$ver" = "$count" ]; then VER=$x; fi
done

echo "Going to install $VER"

if [ ! -d /sdcard/AudioBackUp ]
then
# do we need to do this if v0 is installable?
echo "Backing Up..."
mkdir /sdcard/AudioBackUp
busybox cp /system/etc/Audio*.csv /sdcard/AudioBackUp
fi

mkdir /sdcard/tmp$$
cd /sdcard/tmp$$
for file in `wget -q -O- http://files.lucidrem.us/jf/system/etc/$VER/ |grep "HREF=\"Audio"|sed "s/.*HREF=.//;s/\".*//"`
do
echo "Getting $file"
wget -q -O /sdcard/tmp$$/$file http://files.lucidrem.us/jf/system/etc/$VER/$file
done

echo "Copying..."
mount -o rw,remount /dev/block/mtdblock3 /system
busybox cp /sdcard/tmp$$/Audio*.csv /system/etc
mount -o ro,remount /dev/block/mtdblock3 /system

cd /sdcard/
rm -rf /sdcard/tmp$$

echo "Installing..."
killall mediaserver

works for me...
[G1 Android Development] Mikey:
F Y I

If you legitimately bought any app from the market, you can flash, wipe, throw, your phone and you wont have to rebuy any of the apps.

:) so yeah
[G1 Android Development] sauudmir:
"when i start pushing the files using adb after remounting it says 'cannot start AudioFilter.csv No such file or directory' same when pushing AudioPara4.csv

anyone know what to do?" I did it :)

Now i just wanna know whats the best combination with V2

should i use V5 or V6? give me some suggestions guys...
[G1 Android Development] ThR1LL:
I just pushed v2 through adb, restarted, pushed v6, and restarted. How do I know this worked?
[G1 Android Development] degreeees:
servus,

Is it possible to boost my headphone as well ? Your description only allows to boost my speakers. I looked for some tips in the board but I couldnt find anything.

sorry for my bad eng.

greetz & thx
[G1 Android Development] Jonno12345:
Check v5 ;)
[G1 Android Development] Godson1227:
can u make headphone boost louder with a little more base :D
[G1 Android Development] EZ14U2NV:
i tried to search for this please forgive me if its been answered already but can some one please PM me a way to increase only the external speaker and earbud speaker volume without tampering with the earpiece volume at all if there is a way? i only ask because i'm now on my 6th g1 lol all minor problems

howver the last one i believe was caused by using soulifes rogers rom... if youve used it you might notice it is extremely loud... coincidentally maybe i just happen to notice my speaker was blown while using that rom... with that beautiful quick scrolling oh so sweet dialer ;-)!

i dont know if he used methods similar to this thread's if any at all... all i know is i dont mind the earpiece volume one bit... i actually wish people wouldnt yell on cellphones like they always do! i would though like to jam my coheed and metallica a lil louder on the external and headphone outputs! any help or answer would be appreciated!
[G1 Android Development] Godson1227:
There's an app in the market called audio manager and you can tweek all the volume levels on the phone
[G1 Android Development] Zappletoo:
Hmm, it seems that V6/headphone boost won't work for me..

I apply them with nothing plugged in, and apparently everything goes fine except that the volume hasn't changed for the headphones. With V6, the external speaker is unusable as even ringtones are distorted so I guess the files are applied properly.

What could I try to boost the headphones ? I can barely hear the music at max volume when I walk in the street and it's pretty annoying. TIA
[G1 Android Development] Meltus:
well V6 is unusable at full volume anyway through the external speaker it wasn't created for ringtones, it was created for those who want loads of bass through the headset. That might be why the headset boost doesn't work with it, they weren't designed to be used together, they are both updates.

My advice would be to revert to stock volume levels, flash V1, 2 or 3 and then flash the headset boost.

let me know how it goes.

also, sorry i've been pretty inactive recently, been on a few holidays and it's been my birthday so i've had loads of crap to do. Also, i'm goin wales tomorrow night and climbing Snowden. should be pretty fun :D

i'll get some pictures taken :p
[G1 Android Development] Zappletoo:
I already tried that, with no success. I also tried after a fresh wipe and the result was the same.

I understand that V6 is not meant to be used with the external speaker as even on low volume it's heavily distorted, I was just saying that it was applied correctly but wouldn't affect the headphones.

I don't really know what else to try.

Thanks anyways, V2 is great for ringer.
[G1 Android Development] Meltus:
The V6 in the first post is the mega bassy one but will give you no extra headset volume, it's the V5_r2 one that boosts the volume.

When you say you have V6/headset boost do you mean that you have both or just V6?
[G1 Android Development] miles800:
Headset only

Is there a way to increase the volume of earphones only? I go the Audiohack 1.4, but if the headphone boost actually does change the volume its hard for me to tell and I would love if I could do it even more. But, if people call me, even if I turn the volume all the way down I need to hold the phone away from head even with v1.

So maybe this is a version 7 request? :-)
[G1 Android Development] Zappletoo:
Ah, from my understanding V6 also made headphones louder, my bad. Thanks for your help though.

I tried pretty much every possible combination, using the AudioHack v1.4 app.

Stock -> V3 -> Headset Boost is still exactly the same as stock for headphones.

Stock -> V3 -> V6 isn't any bassier either.

It seems that the headphones output won't change no matter what I apply.. That's on an ADP1 with Cyanogen's latest ROM by the way, but even with previous ROMs I always had the issue.
[G1 Android Development] akapoor:
Question to anyone, really...:

I really didn't want to read through all 74 pages to find this answer, so I'll ask it here. Don't yell at me! :)

Would it be possible to use Terminal to do this: (method 2)

And then copy the files from SD to the dir?

Just wondering if that would work legit.
[G1 Android Development] Meltus:
thats odd.

what happens when you try and apply the hack manually, does that work?

The headphone boost version makes it a hell of a lot louder, i have to have it on about half volume otherwise it's too much for me. Not sure why it isn't working for you. and the loud in-call volume is a problem that quite a few people are experiencing which *i think* is ROM related; e.g. it only happens on some of the ROMs. which are you using btw? just out of curiosity.

certainly, should work fine.

just do something like:

mv sdcard/AudioFilter.csv system/etc
mv sdcard/AudioPara4.csv system/etc
killall mediaserver

and you're done!

you could go 1 step further and make folders for each version on your sdcard and switch between them.

remember to killall mediaserver afterwards though, otherwise the changes wont take effect. :D
[G1 Android Development] lycoln:
No space left on device

When I push any file other than AudioFilter.csv, I get a "no space left on device" error. Did this a million times while flashing updated ROMs, now getting this message (Too many old files in file path?).

-Have wiped and just flashed cyan's ROM
[G1 Android Development] lilrob29:
can you please help, im new to adb so tell me if im doing something wrong

when i put in adb remount it says adb:not found

please help me i really want this

thanks
[G1 Android Development] osokrayzay:
How to adb for dummies

http://xdaforums.com/showthread.php?t=502010
[G1 Android Development] miketaylor00:
Please tell me you aren't pushing .csv files onto your recovery partition.
[G1 Android Development] corp769:
Meltus, I am impressed with the v6 files, they work well for me man. BTW, whats up with the bluetooth issue we had before? And sorry it has been so long, I just moved to Jersey and all that crap :p
[G1 Android Development] Meltus:
hey man, how's it goin?

hows jersy? :p

i've not even attempted to sort out the bluetooth issue yet, it's completely beyond me how we're even gonna get it working. Tbh, been pretty busy recently so i've not done many updates or anything, goin on holiday again in 2 weeks and then i start university 2 weeks after that so i'm pretty swamped!!!

i'll let you know though if i make any progress :D
[G1 Android Development] Zappletoo:
I tried to apply it manually as well (v2 + v5.3), same result. I also tried with the stock HTC headphones and a 3-in-1 adapter so it doesn't come from there either. Still very quiet even on max volume. :s

I can't see any reason why it wouldn't work, I'm not using any special hardware or ROM..
[G1 Android Development] lilrob29:
i know how to use it already

i put "adb shell" and it gives me the "#"

then i put "adb remount" and it says not found

Please Help

thank you
[G1 Android Development] miketaylor00:
You can't use adb remount from inside the shell. When you are in the shell you are doing the same thing as being in terminal. If you want to mount from the shell you would do it with the mount command, not the adb command. You have to use adb remount without using the shell. Once you have it remounted then you are able to push files to the using adb push. You might want to check out which commands are available to you in adb in the link that the other guy posted.
[G1 Android Development] lilrob29:
Oh i get it now thanks so much for your help
[G1 Android Development] miketaylor00:
You're welcome.
[G1 Android Development] oomek:
Doesn't work for me at all :(

I've tried all the presets and all sound the same.

The files has been transfered correctly, i've pulled them back to make sure they are on the phone, but nothing v3+v6 sounds like a stock. restarted 100x

I'm running Cyanogen 4.0.1 + HTC music ported to Dream
[G1 Android Development] :
Hmm, doesn't work for me either (Cyanogen 4.0.1). (EDIT: a restart fixed this problem)

I'd like to know what this is though... Is it just a selection of preset EQs? You mention in "V2" something about compression. Do you mean real time dynamic compression or simple volume levelling?

Also in "V2" you say "Increasing the Gain for each frequency band boosts the overall volume". That's not true, as each band will have peak frequencies and you'll end up with something resembling a comb filter ( http://upload.wikimedia.org/wikipedia/commons/f/fe/Comb_filter_response_ff_pos.png )

I'm not trying to be an audio snob, I'm extremely interested in this project and I'm just trying to dig a little deeper as to what's actually going on. As I said, it doesn't seem to work with Cyanogen 4.0.1, so I can't actually hear what's happening.

I've been a mastering engineer for years (http://BassDress.com) and would be more than willing to help you in any way I can.

Tony
[G1 Android Development] oomek:
That's not quite true for the series of IIR bandpass filters with wide bands overlaping each other. When all the bands have increased levels the overal volume will be higher.

Pitty though because i more prefer a FIR because this filter doesn't distort an audio phase.
[G1 Android Development] :
They will overlap of course, but it still won't be a flat response. Doesn't matter how low the Q value is, they still have peak frequencies.
[G1 Android Development] oomek:
Again i'll have to disagree :) And thats because all the graphic equalizers are designed in the way that when all of the bands are tweaked equally they will produce even frequency response. The condition is to calculate certain Q based on the distances between the individual bands like on the picture below for example. or just use 1-pole banpasses which has no Q ;)

You can rely on me, I'm a DSP programmer :)
[G1 Android Development] corp769:
well if you are a dsp programmer, then get to it, make us up some files :D LOL
[G1 Android Development] oomek:
With pleasure, but first i have to figure out WHY theese files do nothing to audio output on my rom :/ or maybe they don't at all and we just have a mass paranoia or placebo effect here :P
[G1 Android Development] Meltus:
haha, or i'm possibly the greatest con-artist of all time? :D

Also, i've tested it out on the ROM you are using (i've tested it on most, if not all, ROMs available) and it works fine. I'm not sure whether the HTC music app could be messing with the files but i can't see why it would, there's no audio files (that i could find) included in the apk so it must be using the normal ones.

You didn't edit the files did you? They are strangely temperamental and if they 'break' it just reverts to stock audio levels.

Also, are you rebooting your phone after you push the files? because you could try restarting the mediaserver instead:

killall mediaserver

and see if that makes any difference!
[G1 Android Development] oomek:
thats true, i've edited them several times in notepad, in excell, i also tried to apply all the versions provided in 1-st post, non of them worked.

Tomorrow i'll try to revert player to stock one and tell you whether it worked.
[G1 Android Development] timelyne:
busybox is not found on my phone.So how do i get it?

I have a custom ROM already installed.
[G1 Android Development] timelyne:
This is the fastest and easiest method.
[G1 Android Development] steven178s:
Can you guys help i can do everything until the push part it keeps saying no file in directory
[G1 Android Development] Mikey:
Easiest way is too support our guy and buy his app :)

You would be able to switch on the go ;)

http://www.cyrket.com/package/com.AutoMod
[G1 Android Development] Mikey:
you have to place the file in the folder that adb is located
[G1 Android Development] Meltus:
hey, just so you know guys, i'll be starting my EQ app in a few weeks and i also have a few other updates planned for the Audio App, so keep your eyes peeled! :)

most of my updates will be posted on Twitter too!

I've still got a lot of experimenting to do with the audio files to try and get better sounding EQ settings, so i'll keep you all posted with how that goes!

Thanks for your support everyone! :D
[G1 Android Development] jay22are:
sounds good...cant wait to see the EQ app...Keep up the hard work