[Desire HD Android Development] krzych:
Desire Boost - an audio effect controller

Since I flash new roms as soon as it can be a daily driver, I usually get a newest possible base for Desire HD with Sense, because of it's original drivers aand few applications I need. The only reason I made this thread is that HTC forgot about their Gingerbread's version of SRS just before creation ICS for other devices, which was quite fast ported to our Desire HD, without the old good SRS though.

So... I've made a patch which restores SRS settings and then, because SndUI application is quite underdeveloped, I made my own to have few things like:

- Boot time effect setting restoration

- Notification to allow run the effect when headset is connected

- Filter for the effects to find only usable ones (like for playback)

- Immediate setting apply without annoying intermediate dialogs ("are you sure?")

After 1.1+:

- No-flash snd tool installation with config switching (no need to flash any zip included here)

Both are VERY simple, the patch itself was made for Venom's ViperDHD (ICS with Sense 4), but as it is very simple patch, you can really apply it to any rom after slight modifications, or without modifications at all possibly. The application itself is rom independent.

The license for the application is already known, but not yet defined on paper, but for you it's not very important right now, as it include free usage of this binary as much as you want.

Before flashing anyhting, read Q/A and do NANDROID backup (at least of a system partition)

------------------ OLD - most roms does not need this ------------------

Flashable ROM patch done specifically for ViperDHD with SRS effect only

Flashable effects set for HTC Inspire (all effects)

Flashable effects set for HTC Inspire (all effects) - full pack kindly supplied by DmK75

Flashable effects set for AOSP based roms (all effects)

------------------ OLD - not supported already ;) ------------------

Desire Boost Application 1.01

Desire Boost Application 1.02 [Added: automatic command line tools detection, first version, can be imperfect - like my english, lol]

Desire Boost Application 1.03 [Added: filter clear on start if the saved value would filter out everything - eg. a case for AOKP described below]

Desire Boost Application 1.04 [Bugfix: startup filter check wasn't case insensitive like filter itself - now it is]

Desire Boost Application 1.10 [Added: snd tool installation without flashing, changing effect sets, Bugfix: boot errors]

Desire Boost Application 1.11 [Bugfix: refresh after changing set, solution for older snd tool result unknown]

------------------ NEWEST ------------------

Desire Boost Application 1.12 [Added: download cache cleaning]

------------------

Q: Does it replace original HTC Effects like Beats, SRS, Dolby which are shipped with my rom?

A: Fortunately NO! :D It does cooperate with those making your sound even better (whatever you set up by this application and htc effects, will boost each other in parallel - I especially recommend "custom equalizer" setting which will allow to define your own boost with for example SRS)

Q: Does it work for XXX rom?

A: Apk should work for ANY rom having snd3254 tool (Sense, and some AOSP/AOKP), the patch itself probably will too but I have not tested it so I recommend a nandroid backup before applying.

Q: Does it work for XXX phone?

A: For HTC Inspire it should work, but it's not tested either - as far as I know, Inspire has the same hardware with slightly different settings for SRS (maybe better?), but if you apply this one, you will be happy either. Just as always, do a nandroid backup first. For other phones, probably not, but not for sure - the phone has to have snd3254 tool to work with both the patch and application - if you have same chipset as Desire HD, it will probably work - if not, contact me, I'll try to figure out why.

Q: Will it work only on Sense roms?

A: With the patch I supplied it's sure it won't work without Sense "framework". If anyone have the knowledge what to add to AO[S/K]P roms to have DSP working the "Sense way" (possibly kernel drivers, snd3254 binaries or something), I will happily make a tool for any kind of rom. For now, search for any AOSP based rom with the SRS - if it exists anywhere, I will take care of checking how it's done.

Q: Can I have a request for the application?

A: Of course, it's a first simple version - if the application will get popular, it will become as featureful as you possibly wish. For example, I plan to change the notification to show choosen effect in the near future, but as the snd3254 does not allow what effect is now applied, it will rely only on the last setting choosen, so maybe it's a good idea when nothing will reset the setting inbetween... practice will show us.

Q: Does it run in the background (using wakelocks or something)?

A: No, it's only registered to receive headset-on/off events, and to take action only then - when you do not touch headset, application is "dead" (isn't running). It works similar to Proximity Recalibrator, only slightly different. Despite it's not running, it occupies a littlebit memory to be able to react for the headset events - like resident program (service in this case), but when Android needs to free the memory, it probably will do it.