Is there any way to make the Sense ICS camera compress images less? None of my images ever seem to top 2MB, even if they're taken in broad daylight in a setting with lots of different colors. Fiddling around with build.prop does nothing
Have you tried fiddling with media_profiles.xml instead?
All the settings in there seem to be geared towards video quality
It's for both video and still pics.
Either way, be careful with it because I have been playing around with it and have managed to make the camera freeze upon taking a shot.
FYI, these changes used to be enough to remove image processing, at least in my experience on Gingerbread ROMs. However it doesn't seem to work for me now on ICS (though feel free to test and report your findings).
1 - changing this,
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
to
<!ATTLIST ImageEncoding quality (100|80|70|60|50|40) #REQUIRED>
(or just adding 100 in front of 90, either way).
2 - changing these lines (which appear twice),
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
to
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageDecoding memCap="500000000" />
anyone figure this out?
ToL9a said:
It's for both video and still pics.
Either way, be careful with it because I have been playing around with it and have managed to make the camera freeze upon taking a shot.
FYI, these changes used to be enough to remove image processing, at least in my experience on Gingerbread ROMs. However it doesn't seem to work for me now on ICS (though feel free to test and report your findings).
1 - changing this,
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
to
<!ATTLIST ImageEncoding quality (100|80|70|60|50|40) #REQUIRED>
(or just adding 100 in front of 90, either way).
2 - changing these lines (which appear twice),
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="500000000" />
to
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageDecoding memCap="500000000" />
Click to expand...
Click to collapse
Worked! Many thanks! I had been struggling with this issue all weekend.
How about uploading the files you changed?
tibere86 said:
Worked! Many thanks! I had been struggling with this issue all weekend.
Click to expand...
Click to collapse
Which ROM are you running?
I tried on the Ultimite ICS ROM and it caused the camera to crash. I will try on Virtuous Inquisition soon.
bonesy said:
How about uploading the files you changed?
Click to expand...
Click to collapse
Come on, it's a matter of editing ONE file for a total of 9 small changes, it's not going to take much longer to make the changes yourself than it is to download the file, make a back-up of the original, move it in place of the original and set file permissions.
Just tried with Virtuous, no good.
Some indoor, low light shots work but when taking outdoor shots it crashes the camera.
----
Wrong post.
---+
Im not on about for me, ive done it and did so as soon as i read the post.Im on about newbies that dont have a clue
I made the changes but with 99 as max quality.
Doesn't seem to crash but the image quality isn't as good as i used to have with the AmazeCamera mod
Will continy to experiment
AleyKsi said:
I made the changes but with 99 as max quality.
Doesn't seem to crash but the image quality isn't as good as i used to have with the AmazeCamera mod
Will continy to experiment
Click to expand...
Click to collapse
I tried this and while there's an improvement, it still isn't as good as the mod I had on gingerbread
setting it to 99 also makes it still periodically crash for me, but I can get some pictures off
kristofpetho claims lossless compression on photos with his ICS ROM here,
http://forum.xda-developers.com/showthread.php?t=1350492
95 seems to be stable... Still experimenting.
I've also decompiled HTCCamera.apk and tried to increase bitrate, but with no succes.
billobob said:
I tried this and while there's an improvement, it still isn't as good as the mod I had on gingerbread
setting it to 99 also makes it still periodically crash for me, but I can get some pictures off
Click to expand...
Click to collapse
hey whats the mod you used for gingerbread?
guys did anyone extract the AOSP camera and modify it?
walkinhotdog said:
hey whats the mod you used for gingerbread?
Click to expand...
Click to collapse
It's most likely this one,
http://forum.xda-developers.com/showthread.php?t=1188310
Quality on this is fantastic, but make sure you pick the right one for your ROM.
krogoth said:
95 seems to be stable... Still experimenting.
I've also decompiled HTCCamera.apk and tried to increase bitrate, but with no succes.
Click to expand...
Click to collapse
I've changed bitrate under 0x780 to 18mb. As result camera is recording at 14mbps but there is no video when I'm trying to play it.
Anyone with some camera modding exp?
krogoth said:
I've changed bitrate under 0x780 to 18mb. As result camera is recording at 14mbps but there is no video when I'm trying to play it.
Anyone with some camera modding exp?
Click to expand...
Click to collapse
try contacting cdtdroid or baadnews, they pulled out the amaze camera mod with improved bitrates. maybe contacting a kernel dev would help too, dunno if they can do much w/o the leaked kernel source but it's worth a try
Related
See Post 21 for guide on how to add modify your apps to appear in the launcher....
Orignal post below...
Hi,
Ok, it really annoyed me that when I flipped open the game pad I could only see the apps Sony Erricson allowed.... I have made some progress on this front, just not a 100% working fix yet
I'm not an expect, so please don't flame me if this is useless info!
Here goes the instructions....
I will warn those who have little skill in editing files this is not for you!
Here is how I added Solitare (free app from the android market) as a test to the Xperia Play Launcher....
First browse to
data/data/com.sonyericsson.semcsuite/databases
copy the to content.db file to your computer
edit the content.db
with SQLite (which you can download for free)
The info you need to edit is under browse data in SQLite, you need the pkg name of the app you want to include inside, as well as the full name of the app you are inserting… I simply replaced an app I wasn't bothered about in the launcher, my assumption would be that you can insert more by following the numbering convention used!
In the cover column you need to use -1 as the cover name and false under the menu...
then save the file
Now reboot the phone open the xperia play app, click on more games…. Then copy over the file…. I copied over the file while on more games….
Then kill the app in the settings (in mine shows as Android System), finally reopen the app and the added applications will show!
You then have the added apps you want in the launcher
Here is a screenshot of the added solitaire app as a test:
imageshack.us/photo/my-images/821/screenshot2zm.png
The big problem I have found so far is that the app very frequently ovewrites the .db For example on reboot or sometimes randomly, so at the moment it's not an actual fix...
I have attempted making the file read only but this crashes the app on opening...
But progress is progress any ideas moving forward? It would be nice to be able to slide open your play and see a bunch of emulators
Chris
AndroHero said:
Look in the database.db file in /data/data/com.sonyericsson.semcsuite/database
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
i told them all they needed to edit the database.db but no1 beleved me lol
AndroHero said:
i told them all they needed to edit the database.db but no1 beleved me lol
Click to expand...
Click to collapse
Just found your old thread, damn could have been here sooner! Oh, well progress still made
So much better knowing I can slide open my play and see all my emulators!
I've found out that once you get the hacked.db file on the play and get it to open correctly provide you press the home button and not the back button then it stays put Hopefully it should stay in place unless I accidently quit the app or need to reboot!
Still not a permanant fix, but close enough until we figure out how to stop the app replacing the edited file!
Here are two new screenshots completed with emulators hehe
imageshack.us/photo/my-images/853/screenshotye.png/
imageshack.us/photo/my-images/200/screenshot1kv.png/
The only downside is that the app blows up the icon of the edited in app, so it looks a bit pixelated - but I really don't care about that!
Chris
deepestblue said:
Just found your old thread, damn could have been here sooner! Oh, well progress still made
So much better knowing I can slide open my play and see all my emulators!
I've found out that once you get the hacked.db file on the play and get it to open correctly provide you press the home button and not the back button then it stays put Hopefully it should stay in place unless I accidently quit the app or need to reboot!
Still not a permanant fix, but close enough until we figure out how to stop the app replacing the edited file!
Here are two new screenshots completed with emulators hehe
imageshack.us/photo/my-images/853/screenshotye.png/
imageshack.us/photo/my-images/200/screenshot1kv.png/
The only downside is that the app blows up the icon of the edited in app, so it looks a bit pixelated - but I really don't care about that!
Chris
Click to expand...
Click to collapse
that looks really cool maybe a line in one of the .xml files can be changed in the .apk to get it to read from a diffrent (modded) file, then it dosent matter if it rewrites the database.db file
Could the whole db edition be done through an app?
Yes, we know, this is nothing new. We've already known about this for weeks. The problem of course is that it has to be populated manually. We've been searching for a way to do this automatically just by looking at how it works and doing what needs to be done to tell it "hey, I should be on this list" whenever it rebuilds the database.
Well so far good news, the xperia play app has yet to overwrite the file, so I guess leaving it the app open and not quiting, is possibly a very good temporary solution.
AndroHero said:
that looks really cool maybe a line in one of the .xml files can be changed in the .apk to get it to read from a diffrent (modded) file, then it dosent matter if it rewrites the database.db file
Click to expand...
Click to collapse
Unfortunately, after taking a look at the xml files no joy
There doesn't seem to be any reffrence to writing to the .db or that location...
Within the apk, there is a searchable.xml file though where the app is asking to search. So, possibly changing this so it searches for something else? hmm
The problem is if you change it to something else then I assume it would create a blank .db file! LOL But this might be a way forward... Feel free to take a look at the included xml file of the launcher here:
mediafire.com/?2eqtw1f0358omp2
Logseman said:
Could the whole db edition be done through an app?
Click to expand...
Click to collapse
Probably, if someone wanted to create such an app... But editing the .db file is not so hard, provided you are not wanting to change things all the time! I'd write up step by step instructions, so it should be fairly easy...
The problem at the moment is that it is not a full solution to our problem...
zerojay said:
Yes, we know, this is nothing new. We've already known about this for weeks. The problem of course is that it has to be populated manually. We've been searching for a way to do this automatically just by looking at how it works and doing what needs to be done to tell it "hey, I should be on this list" whenever it rebuilds the database.
Click to expand...
Click to collapse
I've had a scan though the past posts, and yes your right the .db file was known about for weeks... But unfortunately not followed though, no one actually attempted to edit the .db file nor get the edited file to work or at least not that I can see.... It's a shame really as we could have been here sooner...
Actually, I have an idea of how the app decides what should go into the database... I believe it is rather simple how the app works... The app will search installed apk, then my assumption would be that it would look at the AndroidManifest.xml of said installed apps for an xperiaplayoptimized_content tag.
An xperiaplayoptimized_content tag can be seen in the AndoridManifest.xml of two free apps on the market Cyberlords - Arcology, Happy Vikings.... I've not checked any other apps from the market, but please check more - maybe I'm wrong .
The problem is if this is how the app works and is needed in every app, it would mean adding to evey app we wanted to be included in the launcher and removing from every app we did not want to appear in the launcher, sigh...
I suppose if someone wants they could check this for certain by adding an xperiaplayoptimized_content tag to an app or removing the tag from an app and seeing what happens...
So, I'm thinking three possible options? Unless any can think of any further solutions?
a) Change how the Xperia Play app searches - possibly by editing the searchable.xml file - although I'm not sure what to change the search to?
b) Add the xperiaplayoptimized_content tag to every maifest of every app we want included - that's also, assuming xperiaplayoptimized_content is the correct tag!
c) Leave things as they are - you just lose the changed .db file on reboot or when you close the application by mistake. Perhaps even a simple app to replace .db file when this happens?
Sigh, so much work/effort for something simple - damn you Sony Erricson! LOL
Chris
Hurray, it works
Added this line:
Code:
<meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/icon" />
right before:
Code:
</application>
you can probably use the @drawable to make it any icon you want.
The happy viking game uses a resolution of 170*170 I believe.
Now is there anyone with the skills to have the android manifests modified of allready installed apps with a nice menu where you could select wich app you want to have the line added to the manifest? If that's possible at all.
Edit: updated the app I use for testing stuff so it shows up in the game launcher: http://forum.xda-developers.com/showthread.php?p=14451093#post14451093
svenk919 said:
Hurray, it works
Added this line:
Code:
<meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/icon" />
right before:
Code:
</application>
you can probably use the @drawable to make it any icon you want.
The happy viking game uses a resolution of 170*170 I believe.
Now is there anyone with the skills to have the android manifests modified of allready installed apps with a nice menu where you could select wich app you want to have the line added to the manifest? If that's possible at all.
Edit: updated the app I use for testing stuff so it shows up in the game launcher: http://forum.xda-developers.com/showthread.php?p=14451093#post14451093
Click to expand...
Click to collapse
Great work , just tested your app! Awesome we now know for certain that xperiaplayoptimized_content is the correct tag...
Ageed it needs someone skilled - but an app that acutally modifies the manifests already installed apps is far beyond what I can do
As you say I'm not even sure such a feat is possible?
An alternative may be to decompile your apps and recompile them... Apktool, should do the trick...
code.google.com/p/android-apktool/
Hmm, tempting... I think I might have a go with one app, see how long it takes to decompile, edit and recompile an app!
deepestblue said:
Great work , just tested your app! Awesome we now know for certain that xperiaplayoptimized_content is the correct tag...
Ageed it needs someone skilled - but an app that acutally modifies the manifests already installed apps is far beyond what I can do
As you say I'm not even sure such a feat is possible?
An alternative may be to decompile your apps and recompile them... Apktool, should do the trick...
code.google.com/p/android-apktool/
Hmm, tempting... I think I might have a go with one app, see how long it takes to decompile, edit and recompile an app!
Click to expand...
Click to collapse
Maybe an app along the lines of ninjamorph but more dedicated to editing the android mainifest
Sent from my R800i using Tapatalk
AndroHero said:
Maybe an app along the lines of ninjamorph but more dedicated to editing the android mainifest
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
Hi, I tried ninjamorph but it didn't actually decompile the the android manifest...
However apktool did!
So, it's a simple matter of copying your apk, decompile with apktool, add the xperia play optimized tag, recompile with apktool and then install
It's a much quicker process than it sounds, and to add the tag to an app in total takes about 15 mins with install...
If anyone wants step by step instructions let me know!
It's so much better having the apps you want in the launcher....
deepestblue said:
Hi, I tried ninjamorph but it didn't actually decompile the the android manifest...
However apktool did!
So, it's a simple matter of copying your apk, decompile with apktool, add the xperia play optimized tag, recompile with apktool and then install
It's a much quicker process than it sounds, and to add the tag to an app in total takes about 15 mins with install...
If anyone wants step by step instructions let me know!
It's so much better having the apps you want in the launcher....
Click to expand...
Click to collapse
If it isnt too much trouble,could you please post the step by step process. I would greatly appreciate it.
I picked the Xperia Play Camera Mod app, courtesy of Zoop57, to tinker a bit. svenk's suggestion left me with this error:
Code:
C:\Users\Logseman\Downloads\seb.camera.mod-1\AndroidManifest.xml:46: error: Error: No resource found that matches the given name (at 'resource' with value '@drawable/icon').
and some others chained to it. I presume we need to add something more than that line? This is the first time I actually use apktool, so I can perfectly have missed something.
apk tool should give a "res" map, if you have folders like: "drawable-h/m/ldpi" look into it, mostly it has an icon named "icon.png" but it could be named different with the camera app, if it is different change the icon '@drawable/icon' to what the file is named in the camera app. If such folders don't exist you probably have to chancgte the '@drawable' part to.
PS.
I think the line of code in case of the camera app should be:
Code:
<meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/ic_launcher_camera" />
I managed to build the app using "@drawable/ic_launcher_camera" in that field. However, after installing it, it won't show in the Xperia Play launcher with the games. Moreover, I decoded fifa.apk, which does appear in the launcher as Fifa 10, and it doesn't show that line on the Manifest:
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="1034" android:versionName="1.0.34" package="com.eamobile.Fifa"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<application android:label="@string/app_name" android:icon="@drawable/icon">
<activity android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:name=".Fifa" android:launchMode="singleTask" android:screenOrientation="landscape" android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="3" />
</manifest>
Did you reboot the phone? The launcher doesn't refresh its database all the time. The line was there with the happy vikings game and it did work to add my touchpadtester app to my launcher.
I've uninstalled the app, reinstalled it, opened it, closed it and rebooted the phone to no avail. It won't show in the menu.
Does the camera app uses sdk version 9 or later? It should be stated in the manifest. Probably the xperia play optimized tag only works since android 2.3.2.
svenk919 said:
Does the camera app uses sdk version 9 or later? It should be stated in the manifest. Probably the xperia play optimized tag only works since android 2.3.2.
Click to expand...
Click to collapse
Hmmm... Zoop mentioned that he grabbed the latest source, so it should be 2.3.4.
Here's the manifest of his camera mod:
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="5" android:versionName="5" package="seb.camera.mod"
xmlns:android="http://schemas.android.com/apk/res/android">
<original-package android:name="com.android.camera" />
<uses-sdk android:minSdkVersion="9" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_SMS" />
<application android:label="Camera Mod" android:icon="@drawable/ic_launcher_camera" android:taskAffinity="">
<receiver android:name="com.android.camera.CameraButtonIntentReceiver">
<intent-filter>
<action android:name="android.intent.action.CAMERA_BUTTON" />
</intent-filter>
</receiver>
<activity android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:name="com.android.camera.Camera" android:taskAffinity="android.task.camera" android:clearTaskOnLaunch="true" android:screenOrientation="landscape" android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.media.action.IMAGE_CAPTURE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.media.action.STILL_IMAGE_CAMERA" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:label="@string/video_camera_label" android:icon="@drawable/ic_launcher_video_camera" android:name="com.android.camera.VideoCamera" android:taskAffinity="android.task.camcorder" android:clearTaskOnLaunch="true" android:screenOrientation="landscape" android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.media.action.VIDEO_CAMERA" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.media.action.VIDEO_CAPTURE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>
This is the manifest of my touchpad app:
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest package="test.play.controls"
xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="0.2" android:versionCode="2">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="9" />
<application android:label="@string/app_name" android:icon="@drawable/icon">
<activity android:label="@string/app_name" android:name="android.app.NativeActivity" android:launchMode="singleInstance" android:screenOrientation="landscape" android:configChanges="keyboardHidden|orientation">
<meta-data android:name="android.app.lib_name" android:value="touchpadndk" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data android:name="xperiaplayoptimized_content" android:resource="@drawable/launchericon" />
</application>
</manifest>
So I was digging inside the app data and I found out that just like in dead trigger we can use the exploit in shadowgun deadzone.
To get full tegra 3 effects do the following steps
1.Using a root explorer navigate to data/data/com.madfingergames.deadzone/shared_prefs/com.madfingergames.deadzone.xml
2.In the xml file edit <int name=”UnityGraphicsQuality” value=”3″ /> to <int name=”UnityGraphicsQuality” value=”4″ /> and <int name=”OptionsGraphicDetail” value=”3″ /> to <int name=”******Options.GraphicDetail” value=”4″ />
3.Delete the backed up xml
4.Change permissions to read only untick middle row.
5.Launch the game and enjoy
Can someone confirm it working?
I'll wait till the weekend with 1.4.0 release of Viper and try myself. :victory:
Well I'm on Bruce's ics rom performance gov. To Max 1400.
Graphics r still lagging with stock settings ...
Sent from my HTC Sensation using Tapatalk 2
bstylz911 said:
Well I'm on Bruce's ics rom performance gov. To Max 1400.
Graphics r still lagging with stock settings ...
Sent from my HTC Sensation using Tapatalk 2
Click to expand...
Click to collapse
The huge lags are eliminated in the new update 30 fps stable on ultra high
My fps is not lagging at all it's flickering though, and it's quite annoying to look at.
If you are on a cm10 Rom you might need to goto developer options in settings and check disable hw overlays to stop flickering.
Tried this with ViperS 1.4.0, [email protected], noGPU_OC.
Didn't even needed to change the xml file - just changed to ultra high and it changed itself to 4.
Experienced some lags, but playable.
Hi all, I have modded the LG G3 mixer_paths.xml so that it will use earpiece aswell as loudspeaker while playing music, watching youtube etc.
I found this on monivan's stereomod thread for the xperia Z (which i have) and now I'm sharing here with you!
NOTE: THESE ARE NO FLASHABLE ZIP FILES!
NOTE: I DO NOT OWN THIS DEVICE
First of all, PLEASE DO A BACKUP OF YOUR CURRENT FILE BEFORE PROCEEDING!!
It is located in /system/etc/mixer_paths.xml
DISCLAIMER:
Everything you do is your choice, if you missing any important call or getting fired because of alarm didn't work, you busting your earpiece or thermonuclear war starts off and you point your finger at me, I will laugh at you.
I take no responsibility for your actions.
REQUIREMENTS :
-Rooted phone with busybox installed
-Stock rom (may also work on AOSP/CM, don't know try it yourself and let know here)
-LG G3 (tested on T-Mobile variant, but may work on others since unlocked bootloader is NOT required)
HOW TO INSTALL:
1. Download SurroundSound.zip
(Download links in download section)
2. Move your stock/current mixer_paths.xml from /system/etc to any location on your sd card.
3. Unzip the zip file you just downloaded and copy mixer_paths.xml to /system/etc and set correct permission rw-r-r a.k.a. 0644
Like this:
XX0
X00
X00
4. Reboot
5. Turn down your volume before using and increase slowly to test safely.
TUTORIAL thnx @Rafe:
1 - Edit Mixer_paths.xml or Mixer_paths_qcwcn.xml, it depends what the model is, in my case (D855P - Brazil) uses Mixer_paths_qcwcn.xml;
2- In the xml file look for the parameter: <path name="speaker">;
3 - Edit the following lines to the value 60;
<ctl name="RX1 Digital Volume" value="60" />
<ctl name="RX3 Digital Volume" value="60" />
So your Speaker parameter will look like:
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX3 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="60" />
<ctl name="RX3 Digital Volume" value="60" />
<ctl name="RDAC5 MUX" value="DEM3_INV" />
<ctl name="LINEOUT1 Volume" value="16" />
<ctl name="LINEOUT3 Volume" value="16" />
<ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="RX1 HPF cut off" value="MIN_3DB_150Hz" />
<ctl name="COMP0 Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
<ctl name="SPK Amp Volume" value="3" />
</path>
Save and reboot!
NOTE:
RX1 is earpiece
RX3 is loudspeaker
I tuned volume values so that sound is not distorting at all kind of genres, at full volume with no equaliser settings active.
But please be careful using this!!
To test if this works see: Left/Right Stereo Audio/Visual Test.: http://youtu.be/dvqbq_0jZ_U
Have fun!
DOWNLOADS:
https://www.mediafire.com/?i9d4dxkk8v9mwiw
(if not available request desktop version)
D855P user's :
-Loud
http://www.mediafire.com/view/lveptsb6eblxavi
-Normal
http://www.mediafire.com/view/r5h2xb4hn8yalk4
Changelog:
V1.0 initial release
V1.1 now also compatible with D855P variant.
Credits:
- @anoymonos for testing
- @monivan for creating this for my Z
- myself
Hi langeveld024,
Do you know if this mod will work on the leaked stock 5.0 ?
Thanks in advance
hi, i dont know, as i dont own this device.
but you can try and report back here!
trying wont harm anything, and just make an backup of the original file.
if doesnt work, send me the file and i will take a look at it
I've tried it and it works.
But there are too much distortions for me.
Thanks anyway for your work budy
Tyty94210 said:
I've tried it and it works.
But there are too much distortions for me.
Thanks anyway for your work budy
Click to expand...
Click to collapse
You tried on lollipop? Are distortions only at high volume? Do you use any equaliser settings and/or other soundmod?
langeveld024 said:
You tried on lollipop? Are distortions only at high volume? Do you use any equaliser settings and/or other soundmod?
Click to expand...
Click to collapse
Yeah i tried it on the last leaked 20A android 5.0 rom on a D855 internation 32gb.
It is completly stock without any mod or equaliser and even the sound boot i heard quite a lot distortions.
Tyty94210 said:
Yeah i tried it on the last leaked 20A android 5.0 rom on a D855 internation 32gb.
It is completly stock without any mod or equaliser and even the sound boot i heard quite a lot distortions.
Click to expand...
Click to collapse
Pm me the file
langeveld024 said:
Pm me the file
Click to expand...
Click to collapse
Hey man! Very nice mod! But my G3 is D855P (Brazil), that uses the file: mixer_paths_qcwcn.xml
Its possible to put your mod for my G3 model?
Cheers
Rafe said:
Hey man! Very nice mod! But my G3 is D855P (Brazil), that uses the file: mixer_paths_qcwcn.xml
Its possible to put your mod for my G3 model?
Cheers
Click to expand...
Click to collapse
Yeah I think so.. Pm me the file I'll look into it .
langeveld024 said:
Yeah I think so.. Pm me the file I'll look into it .
Click to expand...
Click to collapse
Attached! Thanks Bro!
This mod is the best ive ever used on any phone. GOOGLE you should pay attention this should be a stock feature. I cant believe this thread has not exploded, i for one will never go back to a single speaker. Thanks again OP
Sent from my LG-D851 using XDA Free mobile app
Hey man thanks a lot !! The mod seems interesting, however I'm not 100% sure if it is working!
I have the LG855 European version, running on 4.4.2, and I was able to replace the mixer_paths.xml as per instructions. Wasn't sure it worked. It's difficult to tell if the earpiece is active, as the sound from the rear speaker is loud, even if I try to mute it by putting my finger over it. I thought the youtube video should allow it to be silent when it shift from one speaker to another, however the rear speaker seems to be always ON.
I also have the mixer_paths_qcwcn file in the etc folder. I tried to replace this one as well, but nothing has changed from my first trial.
Is there a way to tell if the mod is working? Did I miss something?
Thats how it was my first 7 attempts the 8th worked perfect. Try that youtube link for test youll know When its working
Sent from my LG-D851 using XDA Free mobile app
Thanks for your reply. What do you mean by 7 attempts? Try to play the video more than once? Or keep overwriting the file and restarting the phone until it works?
Sorry for the confusion
Would help if you explain exactly what you did. Cheers.
---------- Post added at 11:52 PM ---------- Previous post was at 11:52 PM ----------
anoymonos said:
Thats how it was my first 7 attempts the 8th worked perfect. Try that youtube link for test youll know When its working
Sent from my LG-D851 using XDA Free mobile app
Click to expand...
Click to collapse
I compared the mixer_paths.xml file with the original one which I had, and lots of changes are there, mainly the values and come lines are added here and there.
However the mixer_paths_qcwcn file is almost the same as my original one except for the following two lines which are deleted in the modded file:
line 1151 <ctl name="ADC3 Volume" value="12" />
line 1152 <ctl name="DEC4 Volume" value="60" />
---------- Post added 18th November 2014 at 12:33 AM ---------- Previous post was 17th November 2014 at 11:52 PM ----------
Just restored the original files and copied the modded mixer_paths.xml file again. I can confirm that it's not working. I removed the back cover and I was able to mute the speaker with my finger. No sound from earpiece.
I've attached below a copy of my original mixer path files found in my etc folder.
mixer_paths
mixer_paths_qcwcn
mixer_paths_auxpcm
My bad, the op changed the file 8 different times for me the last one worked. He created this for use on the S5 and i asked if it could work on d851 and he did magic. But i know what you mean by hard to tell if its working but once it does the youtube video will be very obvious. Hope he helps you get it.
Sent from my LG-D851 using XDA Free mobile app
Confirmed working on d855. Thanks !!!
One question , will it damage the front speaker over time ? And raising the volume pass the middle in the sliding bar and there's distortions.
A feedback for you guys, this mod is amazing and working perfectly in D855P (Brazil).
But for me, I made a change in the volume channels for Speaker, a pushed down to 60 on both channels. Is perfect now! There is no distortion at all, is equally louder on both channels and the stereo effect is amazing.
Combining with that, i suggest to put the equalizer on Surround Mode, for better experience.
Very thank you @langeveld024!
Cheers
aouni_tahech said:
Thanks for your reply. What do you mean by 7 attempts? Try to play the video more than once? Or keep overwriting the file and restarting the phone until it works?
Sorry for the confusion
Would help if you explain exactly what you did. Cheers.
---------- Post added at 11:52 PM ---------- Previous post was at 11:52 PM ----------
I compared the mixer_paths.xml file with the original one which I had, and lots of changes are there, mainly the values and come lines are added here and there.
However the mixer_paths_qcwcn file is almost the same as my original one except for the following two lines which are deleted in the modded file:
line 1151
line 1152
---------- Post added 18th November 2014 at 12:33 AM ---------- Previous post was 17th November 2014 at 11:52 PM ----------
Just restored the original files and copied the modded mixer_paths.xml file again. I can confirm that it's not working. I removed the back cover and I was able to mute the speaker with my finger. No sound from earpiece.
I've attached below a copy of my original mixer path files found in my etc folder.
mixer_paths
mixer_paths_qcwcn
mixer_paths_auxpcm
Click to expand...
Click to collapse
Yeah it seems that all G3 variants uses different mixer_paths.xml xD I will take a look in yours. Btw thread updated, I think the D855P version will work for u. Since it is only the mixer_paths_qcwcn.xml file that does the trick on that phone. Try and lemme know :thumbup:
joejoe23 said:
Confirmed working on d855. Thanks !!!
One question , will it damage the front speaker over time ? And raising the volume pass the middle in the sliding bar and there's distortions.
Click to expand...
Click to collapse
Yeah I will make another version so people can choose between volume's, also I will try to add an low frequency filter in order to reduce distorion :thumbup:
langeveld024 said:
Yeah I will make another version so people can choose between volume's, also I will try to add an low frequency filter in order to reduce distorion :thumbup:
Click to expand...
Click to collapse
Cheers it worked!
I had to only replace the qcwcn file. The normal version doesn't provide a loud sound from the earpiece. The loud one is fine. However I'm not sure if it's fine to keep it like that for the long run. Is it a good idea to provide 3 versions? The current low-high in addition to a new profile which sits in between those two.
I want to increase the sound of D2302 LP 5.1.1 a little. But the guides given here are for Kitkat, and mixer_paths.xml seems different from those guides. Could anyone tell me what to change?
vijaykmr said:
I want to increase the sound of D2302 LP 5.1.1 a little. But the guides given here are for Kitkat, and mixer_paths.xml seems different from those guides. Could anyone tell me what to change?
Click to expand...
Click to collapse
for me just edit mixerpath :/
Ciptraandoni said:
for me just edit mixerpath :/
Click to expand...
Click to collapse
Sorry, I didn't understand.
vijaykmr said:
Sorry, I didn't understand.
Click to expand...
Click to collapse
Okay -__-
Ciptraandoni said:
for me just edit mixerpath :/
Click to expand...
Click to collapse
Which values did you change? Because I tried raising the first 4 "RX Digital Volume" values to 91 and i've don't think it made any difference.
Miche1asso said:
Which values did you change? Because I tried raising the first 4 "RX Digital Volume" values to 91 and i've don't think it made any difference.
Click to expand...
Click to collapse
For me Mixerpath,mixerpathVY55,mixerpathVY58
set value 1-7RX to 88 or any...
Ciptraandoni said:
For me Mixerpath,mixerpathVY55,mixerpathVY58
set value 1-7RX to 88 or any...
Click to expand...
Click to collapse
Oh, all of them, then? I'll give it a try. Thanks.
Miche1asso said:
Oh, all of them, then? I'll give it a try. Thanks.
Click to expand...
Click to collapse
yeahh, working for you ?
Ciptraandoni said:
yeahh, working for you ?
Click to expand...
Click to collapse
Yeah, it seems to work indeed. I changed in all three files the values
Code:
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
(there is no RX5-RX7) first with 88. It was bit higher. I raised it up to 91 and I've got some distortion, especially with my ringtone that's played with a piano.
I'd love to know what the heck Sony did with our version of Lollipop. They are better bringing an update with major bug fixing soon because I'm getting sick of it. Starting from the lagging.
Miche1asso said:
Yeah, it seems to work indeed. I changed in all three files the values
Code:
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
(there is no RX5-RX7) first with 88. It was bit higher. I raised it up to 91 and I've got some distortion, especially with my ringtone that's played with a piano.
I'd love to know what the heck Sony did with our version of Lollipop. They are better bringing an update with major bug fixing soon because I'm getting sick of it. Starting from the lagging.
Click to expand...
Click to collapse
haha sorry, I use sound mod
so I have 5-7 :v
haha sound good just add viper or dolby
Just use viper audio, works on 5.1
D2303 5.1lollipop customised NCB LB rooted Nuts t2u dual recovery bravia engine 2+x-reality debloated viper audio
Thanks, changing all three files worked.
Am cleaning up & updating the thread
How To Video by @ISF
So, Samsung Galaxy S9 was launched, with an AKG tuned Stereo Speaker. A definitive upgrade from a single bottom firing Speaker on S8 & S8+
but, luckily for us, S8 & S8+ (Exynos Variant) user, there's a way to at least get a similar audio experience on our phone.
This is achieved by enabling our "earpiece speaker" as a secondary output. Creating a pseudo-stereo experience. Sure its nothing when compared to real stereo on S9, but hey, at least we got something right ?
So, how do we get that ? It's simple. We need to modify some lines on mixer_paths.xml file located in system/etc/
but lets make that easier, by providing a Magisk Module & TWRP flashable .zip for you to use.
For you Magisk User, simply download the GalaxyS8DualSpeakerMagiskModule from attachment, and flash it through your Magisk Manager.
If you use SuperSU, you can use TWRP zip also from the attachment, and flash it from your recovery.
Both file support latest OREO firmware and Magisk 16. (If you are still on Nougat, download Nougat version from attachment)
Now, to make it even better, you can then install Audio Mod to your S8, like Viper4FX or A.R.I.S.E the effect will applied to both of the speakers.
For Advanced User :
If you need to adjust the gain yourself, find these lines in mixer_gains and adjust the 35 or 40 value to your liking :
<path name="gain-media-speaker">
<ctl name="HPOUT3L Input 1 Volume" value="35" />
<ctl name="HPOUT3R Input 1 Volume" value="35" />
</path>
<path name="gain-media-headset">
<ctl name="HPOUT2L Impedance Volume" value="107" />
<ctl name="HPOUT2R Impedance Volume" value="107" />
<ctl name="HPOUT2L Input 1 Volume" value="40" />
<ctl name="HPOUT2R Input 1 Volume" value="40" />
</path>
Click to expand...
Click to collapse
ORIGINAL MOD CREDIT goes to @MichaelGroth
Flashable TWRP & Magisk ZIP by me & @LinkseD.
Thank you @silvercat who brought this info on another device thread, and to @topjohnwu who made the systemless method for this mod possible through his Magisk creation.
Thanks for the credit. But who is silvercat?
MichaelGroth said:
Thanks for the credit. But who is silvercat?
Click to expand...
Click to collapse
The one who make me aware of your work, haha
Sorry, i'll split the info
Ah, ok Haha. np. If there is enough interest around this I will make a flashable version and I might also add some volume modifications. ?
MichaelGroth said:
Ah, ok Haha. np. If there is enough interest around this I will make a flashable version and I might also add some volume modifications. ?
Click to expand...
Click to collapse
Given the numbers of "Thanks!" you're getting... I suspect there is interest shown to this initiative!
Else... Can anyone e confirm this is working properly on a rooted S8/S8+? Thanks!
dehnhaide said:
Given the numbers of "Thanks!" you're getting... I suspect there is interest shown to this initiative!
Else... Can anyone e confirm this is working properly on a rooted S8/S8+? Thanks!
Click to expand...
Click to collapse
Works well on mine, should be good for you too
MichaelGroth said:
Ah, ok Haha. np. If there is enough interest around this I will make a flashable version and I might also add some volume modifications. ?
Click to expand...
Click to collapse
Would be awesome if you could boost the volume
There is great interest. MANY THANKS
Good mod. Waiting for this for so long. Thanks bro.
Sent from my SM-G955F using Tapatalk
Very nice. Can you provide it in zip file? And maybe boost volume. Thanks!!!!!!
Can I assume from the title that you DO need root for this to work? My S8+ is not rooted and I want to keep my warranty, but this mod looks amazing
radiobicho said:
Very nice. Can you provide it in zip file? And maybe boost volume. Thanks!!!!!!
Click to expand...
Click to collapse
I add the zip download to the OP
prodigyX said:
Can I assume from the title that you DO need root for this to work? My S8+ is not rooted and I want to keep my warranty, but this mod looks amazing
Click to expand...
Click to collapse
Yes, you NEED root to write anything into system
thanks, this thread should be moved to mods section I guess
edit: I flashed zip file but I don't get any sound from second speaker...or it's very low I don't notice
[email protected] said:
thanks, this thread should be moved to mods section I guess
edit: I flashed zip file but I don't get any sound from second speaker...or it's very low I don't notice
Click to expand...
Click to collapse
Indeed I can report it is working but...
1) the volume from the ear piece speaker is very low or it could be that just the main speaker is too loud and "covers" it...
2) I perceive there is a small delay between the two speakers, specifically when watching YouTube videos, landscape viewing. Sounds more like a reverb... Or it could be just me!
dehnhaide said:
Indeed I can report it is working but...
1) the volume from the ear piece speaker is very low or it could be that just the main speaker is too loud and "covers" it...
2) I perceive there is a small delay between the two speakers, specifically when watching YouTube videos, landscape viewing. Sounds more like a reverb... Or it could be just me!
Click to expand...
Click to collapse
The mod used can be said as a "safe stage" since earpiece is not actually made for audio playback,
Increasing too much volume into it can break the thing.
This is why the mod kept at the subtle lebel.
You still can edit the mixer to increase the volume level btw, just be careful when doing so, LoL
Btw, am sorry MOD, @Bajanman @Razvan , i think this thread would be more proper to be placed on "Theme, Mods & Apps" thread, so maybe you can move it if you dont mind.
TIA
here a Soundmod to increase Sound louder for your Headset, see Attachment
Root required! Just copy both .xml in /system/etc and overwrite. Set Permission to 644 (rw-r-r) and reboot
MichaelGroth said:
Thanks for the credit. But who is silvercat?
Click to expand...
Click to collapse
Suhail from Echoe Forum
I'd like a volume mod for the bottom speaker and a individual one for dual speaker mod with added media gain, bt gain and slight call gain. Im sure alot of people who be on board with this! Had the s7 edge and got it solely for that speaker hacks.
Thanks for the interest guys. I will make a dual speaker mod with different sound modifications, and sound modifications for single speaker. I just need a little time tho. I have alot on my plate tomorrow. But I will make a thread when ready. ?