Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
kurotsugi
Old
(Last edited by kurotsugi; 3rd June 2012 at 02:34 PM.)
#1  
kurotsugi's Avatar
Recognized Contributor - OP
Thanks Meter 1571
Posts: 2,430
Join Date: Feb 2012
Location: yogyakarta
Default [GUIDE][MOD] Tuned MegaBassBeats for SGY (update-3/6/2012)

D3HuM4NiZ3D has made a post about "MegaBassBeats" in dev section. I don't want to make a kind of double post. from now on I'll made this post focused to explain on how it work and how to improve it. even if the tittle said that its for SGY it will work also on other Gingerbread based ROM. it tested on SGY, SG-Fit, SG-Mini, and SG-Gio. you can get all version for all my modified MegaBassBeat here. please check changelog for further details for every version.
Quote:
v1.1
http://www.mediafire.com/download.php?gw2s475p1uwyby9
v1.2
http://www.mediafire.com/download.php?d2ftf4vdbai4hrq
v2.0
http://www.mediafire.com/download.php?fgc3kxdznmny7s8
v.2.0.1
http://www.mediafire.com/download.php?ei6xclihci8d3g9
v.2.1
http://www.mediafire.com/download.php?a1vxoqcd23mbzvb

btw, I've found something funny. if you find any mod called ultimate_multimedia_enhancement, it is actually same with my the one in this link.
this patch will install several files including two apk, a framework file, lib files, and some additional needed files in /system/etc/. this mod also include bravia engine mod. I've added the framework, the lib, and the xml file needed for bravia engine. for an addition from v1.2 I've also added dsp manager for best result. please delete your dsp manager if you already have one.

PS:
1. do it with your own risk
2. no need to thank nor press that button for me. I'm just a noob, give that for the original dev instead.
3. special credits for D3HuM4NiZ3D who has kindly given me the permission to modify his work. you can get the original link here. http://forum.xda-developers.com/show....php?t=1642961

Quote:
HOW TO UNINSTALL IT
=================
well...no one can make a single mod which suitable for all kind of music. if you don't satisfy with this work, but too lazy to modify the setting as described in 2nd post you can follow these guide to uninstall this mod. it won't be easy and only can be done in a rooted device with root explorer installed.

1. extract megabassbeat zip file.
2. make a list of all files in that zip file
3. open your root explorer and delete these file
Code:
- in /system/app delete audioeffectservice.apk
- in /system/bin delete all files listed in megabassbeat
- in /system/etc delete all files listed in megabassbeat
- in /system/framework delete all files listed in megabassbeat
- in /system/lib delete all files listed in megabassbeat except libaudioeffect_jni.so and audio.so in /system/lib/bluez-plugin
4. delete this lines from build.prop file
Code:
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
5. reboot your device.

Quote:
CHANGELOG
=========
v1.0
- initial release by D3HuM4NiZ3D

v1.1 (10-5-2012)
- my first release. minor change on sound configuration

v1.2 (12-5-2012)
- new sound configuration
- added DSP manager

v2.0 (27-5-2012)
- new sound configuration
- added missing files
- added more lib files
- added new framework file
- added new binary file
- new lib configuration for sound effect

v2.0.1 (30-5-2012)
- new apk added
- small configuration changed

v.2.1 (3-6-2012)
- new build.prop script added to activate xLoud
- new eqfilter configuration
- new sound configuration
- new lib added
The Following 26 Users Say Thank You to kurotsugi For This Useful Post: [ Click to Expand ]
 
kurotsugi
Old
(Last edited by kurotsugi; 12th May 2012 at 04:36 PM.)
#2  
kurotsugi's Avatar
Recognized Contributor - OP
Thanks Meter 1571
Posts: 2,430
Join Date: Feb 2012
Location: yogyakarta
basicly this mod is kind of improvement for old beats audio. beats audio have two different version. the newer one have b1.jar inside it. it has bad issue with several music player. the older one doesn't have b1.jar. MegaBassBeat combine xLoud mod+old beats audio to get more solid bass sound.

how it works?
it will install an apk and a framework and the lib needed to our rom. both of them works as enhancement for our audio system. they're using some files in /system/etc/ as their default setting. we can modify them as we like.

how to modify it?
at this time I can only change the setting for equalizer setting. if you didn't satisfy with the sound quality, you can modify it by yourself. go to /system/etc/audio. you'll find a lot of *txt files. those files contain all the value for audio setting. in this mod, you'll need to change the setting in eqfilter.txt.

the original setting was
Code:
A,1
B,1
C,1
D,15000
E,20
F,0
G,50
H,500
I,3000
J,4000
K,5500
L,96
M,150
N,96
O,400
P,600
Q,0
R,4
S,0
T,-4
U,5
I've changed the value to
Code:
A,7000
B,10000
C,10000
D,15000
E,20
F,0
G,50
H,500
I,2500
J,4000
K,5000
L,500
M,500
N,500
O,1000
P,1000
Q,0
R,4
S,0
T,4
U,5
the value from A to U is the equalizer setting. you can change the value from -15000 to 15000. please be carefull since any value you set in this file can affect on your sound quality so much. after modifying this file, you have to copy eqfilter.txt to /system/etc too.

btw, further modification to all files in /system/etc/audio is possible. however, I don't know the right value for the setting. the other file contain a lot of variable, make it difficult to understand. please contact me if someone know how to modify those files. I'll include them in my latest update.
The Following 7 Users Say Thank You to kurotsugi For This Useful Post: [ Click to Expand ]
 
Soul reaper
Old
#3  
Soul reaper's Avatar
Senior Member
Thanks Meter 136
Posts: 890
Join Date: Apr 2012
Location: UltraMusic Fest
reserved...lol
 
kurotsugi
Old
(Last edited by kurotsugi; 3rd June 2012 at 03:05 PM.)
#4  
kurotsugi's Avatar
Recognized Contributor - OP
Thanks Meter 1571
Posts: 2,430
Join Date: Feb 2012
Location: yogyakarta
I'm planning to leave this project for a while. I'll give you all details modification I've done in the original work. beside adding more files into the original work. I've change the value in three files. if you extract my latest version, you'll see some files with *xxx1 extension. thats the original file comes from dehumanized. the one without '1' is my modified one. those three files are: eqfilter.txt, HP_audio.csv, and audio_effects.conf.

eqfilter editing is easy. you already can find the guide on 2nd post. this files comes from the xLoud mod. for the latest value you can check in my latest version.

HP_audio.csv contain the setting for beats audio. the original value is
Code:
ID,Value
TDAS_BUNDLE,
TDAS_VERSION,0,
TDAS_SAMPLERATE,1,
TDAS_IN_CHANS,2,
TDAS_IN_MATRIX,0,
TDAS_BYPASS,0,
TDAS_RATE_MULTIPLIER,0,
TDAS_IN_CHAN_FORMAT,0,
TDAS_DOWNMIX_CONFIG,0,
TDAS_OUT_CHANS,2,
TDAS_M2S,
M2S_ENABLE,1,
M2S_DETECTOR,1,
TDAS_SSH,
SSH_ENABLE,1,
SSH_MODE,3,
TDAS_SSE,
SSE_ENABLE,0, --> stereo effect. 1 for enable 
SSE_WIDTH,0,
SSE_SPK_MODE,0,
TDAS_SLC,
SLC_ENABLE,1,
SLC_LEVEL,1,
SLC_DEPTH,0,
TDAS_VOL,
VOL_ENABLE,1,
VOL_GAIN_INTERNAL,0, --> you can change the setting. max10
VOL_GAIN_EXTERNAL,0, --> you can change the setting. max10
VOL_GAIN_TYPE,0,
VOL_BALANCE,0,
VOL_MUTE,0,
TDAS_NB,
NB_ENABLE,1,
NB_CUTOFF,5,
NB_BOOST,5,
NB_LEVEL,1,
TDAS_GEQ,
GEQ_ENABLE,1,
GEQ_NBANDS,6,
GEQ_PREAMP,0, --> you can change the setting 
GEQ_MAXBOOST,24,
GEQ_BAND1,0, --> the equalizer setting. you can edit it. --> 5
GEQ_BAND2,0, --> 5
GEQ_BAND3,-4, -->4
GEQ_BAND4,0,
GEQ_BAND5,4, --> 0
GEQ_BAND6,4, --> 0
GEQ_BAND7,0,
TDAS_MUP,
MUP_ENABLE,0, --> 1
TDAS_MSR,
MSR_ENABLE,0, --> 1
TDAS_HFE,
HFE_ENABLE,1,
HFE_DEPTH,1,
TDAS_FADE,
FADE_ENABLE,0,
FADE_TARGET,0,
FADE_TIME,0,
audio_effects.conf contain the additional library setting and the setting. I'll only show you my edited part here since the file is quite long.
Code:
libraries {
  bundle {
    path /system/lib/soundfx/libbundlewrapper.so
  }
  reverb {
    path /system/lib/soundfx/libreverbwrapper.so
  }
  visualizer {
    path /system/lib/soundfx/libvisualizer.so
  }
  pre_processing {
    path /system/lib/soundfx/libaudiopreprocessing.so
  }
}

I add these lines to load the sound lib

  SRS {
    path /system/lib/libsrsfx.so
  }
  bass_enhancement {
    path /system/lib/libbeatsbass.so
  }

then for the effect setting, I added these lines 

effects {
  dynamic_bass_boost {
    library SRS
    uuid f7a247b0-1a7b-11e0-bb0d-2a30dfd72085
  }
  srsgeq5 {
    library SRS
    uuid f7a247c2-1a7b-11e0-bb0d-2a30dfd72085
  }
  wowhd {
    library SRS
    uuid f7a247d2-1a7b-11e0-bb0d-2a30dfd72085

I still can't understand the uuid stuffs. those lines are taken from beats audio.
all the additional files are taken from various sound tweak. there are about 5-7 sound enhancement used to improve this work. please don't ask me since I've mixed them and can't remember all of them.
The Following 4 Users Say Thank You to kurotsugi For This Useful Post: [ Click to Expand ]
 
Shane
Old
#5  
Shane's Avatar
Senior Member
Thanks Meter 141
Posts: 961
Join Date: Feb 2012
Location: AUSTRALIA
reserved
I CREATE MY OWM RULES AND FOLLOW THEM MY LIFE MY RULES



 
Andromeduh
Old
#6  
Andromeduh's Avatar
Senior Member
Thanks Meter 28
Posts: 231
Join Date: Dec 2010
Location: Cebu

 
DONATE TO ME
[Reserved]
 
shocklads
Old
#7  
shocklads's Avatar
Senior Member
Thanks Meter 131
Posts: 408
Join Date: Mar 2012
[Reserved]
I'll waiting tut.
 
prototype-U
Old
#8  
Recognized Contributor
Thanks Meter 3317
Posts: 4,447
Join Date: Jan 2012
Location: New Delhi
did ya notice any sound improvements??

Sent from my GT-S5360 using XDA
Devices currently developing for:
Desire X- Prototype Kernel & CM9
Want me to compile any rom? Just send me a PM with your device tree.
 
kurotsugi
Old
#9  
kurotsugi's Avatar
Recognized Contributor - OP
Thanks Meter 1571
Posts: 2,430
Join Date: Feb 2012
Location: yogyakarta
I'm afraid all the tut are already included in my second post. modifying those file are not easy. I doubt if someone could find the correct variable and value for every files.

@hell_lock: just try it. it won't harm your device. this mod is work with all music player and any equalizer app. best result may come from poweramp music player + cm7 dsp manager.
The Following User Says Thank You to kurotsugi For This Useful Post: [ Click to Expand ]
 
evanlocked
Old
#10  
evanlocked's Avatar
Senior Member
Thanks Meter 2710
Posts: 3,207
Join Date: Feb 2012
Location: bandung
Finnaly u released it

Good works brotha haha

Sent from my GT-S5360 using xda premium
just noob who search for something new

The Following User Says Thank You to evanlocked For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...