Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Dacoit
Old
(Last edited by Dacoit; 27th November 2011 at 03:51 PM.)
#11  
Senior Member
Thanks Meter 8
Posts: 159
Join Date: Jul 2011
Location: New York
Edit: NVM works great, thanks
 
mudhi
Old
(Last edited by mudhi; 27th November 2011 at 04:32 PM.)
#12  
mudhi's Avatar
Senior Member - OP
Thanks Meter 242
Posts: 332
Join Date: Jul 2010
Location: Taiwan
Quote:
Originally Posted by drms12 View Post
Thanks for the explanation. Sense 3.5 for the sensation isn't the final release and have problems, slow performance and battery life in compare to 3.0.
I have beats headphones, when I connect them the enhancer option have option to disable beats/enable beats, not the HTC enhancer which is srs. I just try to figure out the way to make every headphones use the real beats enhancer, not the generic one. And bt/speaker out is also needed.
If you can help I'll appreciate that. Thanks anyway.
When disabled, it is SRS. The beats mods is for non beats headset to have beats, but ofcourse will never sound like a real beats headset.

I was using sense 3.0, and switch to 3.5 for stability and performance, which I cook it for myself.

To increase battery life, you have to use custom kernel, stock kernel of 3.0 and 3.5 are the same having poor battery life. But truly speaking, all of them have poor battery life. If you use a phone like HD mini, you can just do charging every 3 days.

From my experience, especially htc, final release not equals to stability and performance, the latest may not stable, and features on test ROMs may never be released, those words are just their business strategy. I was curious about the test ROM 2.08.401.1, if you open those apks, the date was 2008, 3 years ago, it was coded 3 years ago and test for 3 years?
The Following 2 Users Say Thank You to mudhi For This Useful Post: [ Click to Expand ]
 
drms12
Old
#13  
Senior Member
Thanks Meter 12
Posts: 221
Join Date: Sep 2011
Yes I know, If you plug non-beats headphones it use generic beats, if disabled beats it will use srs (htc enhancer). When real beats plugged in it use real beats, and option to disable it without use the srs. I'll try to find a way to make all headphones beats and beats over bt and speaker.
 
mudhi
Old
#14  
mudhi's Avatar
Senior Member - OP
Thanks Meter 242
Posts: 332
Join Date: Jul 2010
Location: Taiwan
Quote:
Originally Posted by drms12 View Post
Yes I know, If you plug non-beats headphones it use generic beats, if disabled beats it will use srs (htc enhancer). When real beats plugged in it use real beats, and option to disable it without use the srs. I'll try to find a way to make all headphones beats and beats over bt and speaker.
HtcMusic and HtcListe are almost the same, smali the classes.dex and reference these classes:
HtcMusic
util\SoundEffectHelper
util\CustomizeSetting
util\HeadsetHelper
The Following 2 Users Say Thank You to mudhi For This Useful Post: [ Click to Expand ]
 
drms12
Old
#15  
Senior Member
Thanks Meter 12
Posts: 221
Join Date: Sep 2011
I tried to use coredroid beats mod, which suppose to do the same things as your mod (beats, no effect, dolby and srs via speaker, beats, no effect, dolby, srs and equlaizer via headphones\bt).
First of all the dolby and srs enhancer option available but do nothing to the sound (same as no effect) via speaker , headphones and bt. The beats working thru headphones. While using beats and the speaker I can't notice any different between no effect (beats disabled) to beats on. BT headphones beats option available but there is no sound if it's on. There is sound only when beats disabled\equalizer are being used.
I just want to ask if you could take a look at the files and check why srs\dolby don't work at all and most important check the beats over bt headphones.
Attached Files
File Type: zip CoredroidBeats.zip - [Click for QR Code] (4.64 MB, 132 views)
 
mudhi
Old
#16  
mudhi's Avatar
Senior Member - OP
Thanks Meter 242
Posts: 332
Join Date: Jul 2010
Location: Taiwan
Quote:
Originally Posted by drms12 View Post
I tried to use coredroid beats mod, which suppose to do the same things as your mod (beats, no effect, dolby and srs via speaker, beats, no effect, dolby, srs and equlaizer via headphones\bt).
First of all the dolby and srs enhancer option available but do nothing to the sound (same as no effect) via speaker , headphones and bt. The beats working thru headphones. While using beats and the speaker I can't notice any different between no effect (beats disabled) to beats on. BT headphones beats option available but there is no sound if it's on. There is sound only when beats disabled\equalizer are being used.
I just want to ask if you could take a look at the files and check why srs\dolby don't work at all and most important check the beats over bt headphones.
Ok, I'll try sense 3.0 at weekend, but I want to say, beats cannot be delivered through BT, it can be but what you get is just a silent sound, perhaps have to modify the soundimage file? I don't know, when I trying to read the codes, the beats when out of BT, it is using soundimage srsfx_trumedia_voice and so it is not beats though, and I forgot also included it in my mod, I'll update it. And BTW, this mod also has bass boost for all sound effect.
The Following User Says Thank You to mudhi For This Useful Post: [ Click to Expand ]
 
drms12
Old
#17  
Senior Member
Thanks Meter 12
Posts: 221
Join Date: Sep 2011
Quote:
Originally Posted by mudhi View Post
Ok, I'll try sense 3.0 at weekend, but I want to say, beats cannot be delivered through BT, it can be but what you get is just a silent sound, perhaps have to modify the soundimage file? I don't know, when I trying to read the codes, the beats when out of BT, it is using soundimage srsfx_trumedia_voice and so it is not beats though, and I forgot also included it in my mod, I'll update it. And BTW, this mod also has bass boost for all sound effect.
Thank you so much! Hope you could figure out how to fix the problems.
 
mudhi
Old
(Last edited by mudhi; 6th December 2011 at 06:00 PM.)
#18  
mudhi's Avatar
Senior Member - OP
Thanks Meter 242
Posts: 332
Join Date: Jul 2010
Location: Taiwan
Quote:
Originally Posted by drms12 View Post
Thank you so much! Hope you could figure out how to fix the problems.
If you know some java knowledge, it is not hard to debug, but using smali is really hard to debug, here what you can do,

extract the dex from the apk.

download the dex2jar, drag over the classe.dex to dex2jar.bat, the jar file will be produced, the jar file is a zip archive, inside them are whole bunch of java class files, then use jd-gui to view the code, however you can't directly change the codes.

reference it with smali for quicker code reading.

I'll start a new mod for HtcMusic since I've done with HtcListen.

Here is what I found.
Beats cannot delivered thru BT, maybe there is a simple way in behind but I couldn't find it, how about trying the whole ROM of coredroid? maybe other than the mod zip file, library hacks is needed?

Beats is just bass enhancement of original sound, normal headsets can only hear a very little difference, there may many ways to mod beats like boost the bass of beats, but that lost the objective of beats, just use equalizer rock would be stronger.
 
mudhi
Old
(Last edited by mudhi; 22nd December 2011 at 04:12 AM.)
#19  
mudhi's Avatar
Senior Member - OP
Thanks Meter 242
Posts: 332
Join Date: Jul 2010
Location: Taiwan
Sorry again for sense 3.0 users, the structure is not alike with sense 3.5, it's not easy to read smali, but I will try.

At the moment, what I know for all effects to work properly is, it need to add missing codes from normal sensation's HtcMusic to XE's HtcMusic, or vise versa, it wasn't coded all together, unlike HtcListen from test ROM, all the codes are there.
 
sromer
Old
#20  
Senior Member
Thanks Meter 86
Posts: 1,101
Join Date: Dec 2008
Location: Sydney
I hope this project gets ported to ICS
Sony Ericsson T290 > Motorola KRZR > Samsung Omnia i900 > HTC Desire HD > HTC Sensation

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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...