Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

[DEV][PORT] ClearPhase & xLOUD Working without Speaker Volume Bug

OP zhuhang

5th March 2013, 03:28 AM   |  #1  
zhuhang's Avatar
OP Recognized Contributor
Flag Petaling Jaya
Thanks Meter: 12,044
 
4,008 posts
Join Date:Joined: Apr 2011
Donate to Me
More
First, this is a dev topic, targeting advanced users and higher.
Dont post useless comments and off topics.
Let's go.

Everyone who tries and tried to port this knows that the clearphase & xloud feature will make speaker volume reduces after ~10 seconds playing through speaker.

To make it a success, let's share our ideas here so all porters will gain information and maybe found a way to port it.
- Share any information u think might help porters.
- Comment which system files you think are important to port this. Or even better if u confirmed its necessary.
- Files u have tested and the results.
- Suggestion & ideas

Start with mine,
Quote:

1) audioeffectservice.apk which got clearphase feature will cause speaker volume reduce bug.
- XV ICS (tested)
- XV JB (tested)
- XZ JB (tested)

2) Above devices don't use libxloudwrapper, libvptwrapper, libclearaudiowrapper
3) Above devices use libdownmix, libfnrwrapper, libposteffectwrapper, libpreeffectwrapper
4) Once you played music through headset, switch to speaker and volume will get revived for another 10 seconds.
5) Files to port (i only port this 2) - bootloop if this 2 files are not from same device)
- audioeffectservice.apk
- semc_audioeffectif.jar

6) Soundenhancement.apk depands on audioeffectservice for effects, nothing to do with porting, so just use the one from:
- My AIO Audio Mod v5
- ACID Audio Engine v7
because it has all toggles(clearphase,xloud,dynamic,clearstereo) and its scaled correctly unlike XV or XZ SE.apk

7) libaudcal.so will make speaker volume low (so use stock, dont replace)
8) libaudioflinger, libaudioeffect_ini will cause bootloop.

Unsolved:
What do u think about the file libaudioparsers.so? It Doesnt affect anything for me.
How about testing tablet S's audioeffecrservice? (Anyone has the file?)
Which files u think may prevent volume reduce bug?

PS: Currently using XV - ICS 9.0.1.D.0.10 to make success port.
Last edited by zhuhang; 5th March 2013 at 05:49 AM.
The Following 2 Users Say Thank You to zhuhang For This Useful Post: [ View ]
5th March 2013, 06:19 AM   |  #2  
Senior Member
Flag Foshan
Thanks Meter: 363
 
316 posts
Join Date:Joined: Apr 2011
More
My point is that the SE code is defferent with Sony.You can compare.The best SE.apk is in XV.You can pick up all the audio files.And I suggest you compare the files in XS ICS with JB.Maybe you can find the .ko file to fix the speaker volume reduce bug.
5th March 2013, 06:34 AM   |  #3  
zhuhang's Avatar
OP Recognized Contributor
Flag Petaling Jaya
Thanks Meter: 12,044
 
4,008 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Re: [DEV][PORT] ClearPhase & xLOUD Working without Speaker Volume Bug
Now if we restart walkman, volume revive back for 10 seconds. So something must have run after 10 seconds of music.
But what could be the thing?

Sent from my LT26i using xda app-developers app
5th March 2013, 06:56 AM   |  #4  
Rizal Lovins's Avatar
Recognized Developer / Recognized Themer / Recognized Contributor
Flag Bandung - The Girl Next Door
Thanks Meter: 14,990
 
1,469 posts
Join Date:Joined: May 2012
More
Re: [DEV][PORT] ClearPhase & xLOUD Working without Speaker Volume Bug
I have no idea, but this is little solution/trick, play walkman, open soundenhancement, after sound reduce, go to setting>app>running, stop soundenhancement, go to background cache, stop again soundenhancement, go to Walkman again open soundenhancement, now no sound reduce, but after reboot you should always use this trick

Maybe this problem from system framework

semc_audioeffectif.jar

But i'm not sure
Last edited by Rizal Lovins; 5th March 2013 at 07:04 AM.
The Following User Says Thank You to Rizal Lovins For This Useful Post: [ View ]
5th March 2013, 07:47 AM   |  #5  
Senior Member
Flag Foshan
Thanks Meter: 363
 
316 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by Rizal Lovins

I have no idea, but this is little solution/trick, play walkman, open soundenhancement, after sound reduce, go to setting>app>running, stop soundenhancement, go to background cache, stop again soundenhancement, go to Walkman again open soundenhancement, now no sound reduce, but after reboot you should always use this trick

Maybe this problem from system framework

semc_audioeffectif.jar

But i'm not sure

I guess it from framework or lib,not audioeffect.apk and semc_audioeffectif.jar.
5th March 2013, 12:42 PM   |  #6  
zhuhang's Avatar
OP Recognized Contributor
Flag Petaling Jaya
Thanks Meter: 12,044
 
4,008 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Re: [DEV][PORT] ClearPhase & xLOUD Working without Speaker Volume Bug
Quote:
Originally Posted by kin912

I guess it from framework or lib,not audioeffect.apk and semc_audioeffectif.jar.

My guess is some audio libs needed to port over together.

So now who is trying to port too?

Sent from my LT26i using xda app-developers app
6th March 2013, 03:49 PM   |  #7  
zhuhang's Avatar
OP Recognized Contributor
Flag Petaling Jaya
Thanks Meter: 12,044
 
4,008 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by Rizal Lovins

I have no idea, but this is little solution/trick, play walkman, open soundenhancement, after sound reduce, go to setting>app>running, stop soundenhancement, go to background cache, stop again soundenhancement, go to Walkman again open soundenhancement, now no sound reduce, but after reboot you should always use this trick

Maybe this problem from system framework

semc_audioeffectif.jar

But i'm not sure

Found new stuffs.
Yes u're right, but using your method, we can only control xloud and clearphase
eq, clearaudio+ and vpt will not work because soundenhancement.apk is not running.

Conclusion:
Use xperia T audio effect service for clearaudio+ (eqs, vpt in cluded, clearphase excluded)
Then add clearphase toggle in sound settings, like stock xloud toggle (only here it will not conflcit with SE.apk)

Now working on it! Excited and seems promising.
6th March 2013, 06:18 PM   |  #8  
zhuhang's Avatar
OP Recognized Contributor
Flag Petaling Jaya
Thanks Meter: 12,044
 
4,008 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Anyone know how to add clearphase toggle in sound settings?
Just like this, im not good at smali editing
http://forum.xda-developers.com/show....php?t=2060416
7th March 2013, 04:43 AM   |  #9  
Senior Member
Flag Foshan
Thanks Meter: 363
 
316 posts
Join Date:Joined: Apr 2011
More
The way is work and you can control in setting-sound.But clear phase and xloud is opened in walkman by default.
7th March 2013, 05:37 AM   |  #10  
zhuhang's Avatar
OP Recognized Contributor
Flag Petaling Jaya
Thanks Meter: 12,044
 
4,008 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by kin912

The way is work and you can control in setting-sound.But clear phase and xloud is opened in walkman by default.

I dont think its opened, eventhough build prop lines added but i think effect not there.
Im trying to fix it now. Hope it went well.

Thread Closed Subscribe to Thread

Tags
clearphase, dev, idea, port, xloud
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes