Increase Microphone Level (Stock 251)? - Lenovo P2 Themes, Apps, and Mods

Is there a mod that can be used to increase the volume of the microphone? I have the stock 251 on my P2. When I'm at work (large office space) I have to shout very loudly so that my interlocutor understands me.
Parameter "ro.ril.enable.amr.wideband=1" has no efficient effect to my P2
My BL is open, TWRP for P2 is running.

@holger1308
Maybe flashing the kernel can increase the sound(the sound is increasing in the remote sound recording, i have not tried it in the call). If you flash, install the Kernel Adiutor application and select the microphone in the sound section, and increase it.
https://forum.xda-developers.com/lenovo-p2/development/kernel-magma-kernel-lenovo-p2-kuntao-t3690430
My kernel backups:
https://www.dropbox.com/sh/6h9ykf0jjyhtec9/AAAxv3mfy14lzR71kqidgjYUa?dl=0&m=

i can confirm that flashing the custom kernel magma, has a microphone increase function. You can also increase, loud speaker etc. Just use Kernel Adiutor (needs root).
I also don't have to shout anymore.

sm00th4f3 said:
i can confirm that flashing the custom kernel magma, has a microphone increase function. You can also increase, loud speaker etc. Just use Kernel Adiutor (needs root).
I also don't have to shout anymore.
Click to expand...
Click to collapse
How in stock kernel??

You can't.

Related

[Q] Volume too loud

Quick question...
As the title suggests, my device's lowest volume setting is still too loud if I want to listen to something in the background or want to take a snooze. Is there a way to either add more volume levels or lower the value of the levels? I'm running JPK and it's rooted.
Cheers.
download and install this
http://forum.xda-developers.com/showpost.php?p=8123906&postcount=39
it should work with the BETA froyo
Thanks, but I already have Sound Manager installed, which does the same thing as Audio Manager, but has a cleaner interface and more control options. The problem is that neither of them do what I want... the lowest volume is still too loud.
I need to somehow adjust the increment value in code or add more increments to give me finer control.
Did you ever receive an answer on your volume issue. I have a galaxy 4G with the same issue and no one has answers?
Use voodoo control app from market, it adjust the analog amplifier.
Sent from my GT-I9000 using Tapatalk
Yes voodoo would be the best for you its just amazing....install it and you will love it....it makes your phone to the best mp3-player you can buy for money
Yep, use a kernel with voodoo sound. Or buy Supercurio's app in the market and support his work. The app gives you the option to adjust the analog gain, if the volume is too loud all you have to do is lower the gain and problem solved
ftj3kf3 said:
Yes voodoo would be the best for you its just amazing....install it and you will love it....it makes your phone to the best mp3-player you can buy for money
Click to expand...
Click to collapse
Mp3's have terrible sound, you should consider ripping/downloading your music in .flac .

[MOD][REQUEST] Volume Boost Patch..

Please can anybody
find a solution to this?
http://forum.xda-developers.com/showthread.php?t=1791235
any valid alternative to Volume+ ?
anyone can port this MOD to our beloved NS?
http://forum.xda-developers.com/showthread.php?t=1748803
if you want louder ringtones, you can make them via RINGTONE MAKER, in that you have the option to increase the volume more than the actual song and phones capability
rrohanjs said:
if you want louder ringtones, you can make them via RINGTONE MAKER, in that you have the option to increase the volume more than the actual song and phones capability
Click to expand...
Click to collapse
in order to modify (loudness, boost, etc..) each audio file i could also have them exported and remanaged through Audition for instance and then copied back to phone.
but that's not my aim...
Did you tried voodoo sound?
Corioli said:
Did you tried voodoo sound?
Click to expand...
Click to collapse
i'm used to voodoo sound + volume+ by meltus.
voodoo sound standalone does not allow any speaker volume hack.
Well, you could rise the amplifier. Also, in Voodoo sound, the option "Tune speaker for music" makes the sound less loud.
Cpu.gastronomy said:
Well, you could rise the amplifier. Also, in Voodoo sound, the option "Tune speaker for music" makes the sound less loud.
Click to expand...
Click to collapse
which amplifier do you mean?
the thing i can hardly understand is
if there is a routine through which overall volume can be amplified x 20 levels (such in Volume+) -sometimes at cost of crashes or brickings, naturally!-
why is the code not of public domain?

[Q] sys registry sound

I.tried numerous apps to increase overall external speaker sound several mods nothing has worked was wondering is there something that can b done within the sys registry that will actually send a command to the external speaker to raise the volume.......a script or something .....
diablofuego said:
I.tried numerous apps to increase overall external speaker sound several mods nothing has worked was wondering is there something that can b done within the sys registry that will actually send a command to the external speaker to raise the volume.......a script or something .....
Click to expand...
Click to collapse
What ROM you are running?
Many JB kernels have In-Call Volume options in Advanced settings.
You can't increase the volume above build-in amplifier/speaker limits.
slimbean
Val D. said:
What ROM you are running?
Many JB kernels have In-Call Volume options in Advanced settings.
You can't increase the volume above build-in amplifier/speaker limits.
Click to expand...
Click to collapse
slim bean 4.2.2 build7 semaphore kernel
advanced settings
diablofuego said:
slim bean 4.2.2 build7 semaphore kernel
Click to expand...
Click to collapse
Tried advance settings external speaker volume still low ...call volume is fine just notification and ringtones seem to be low music is also fine when being played on external speaker.
diablofuego said:
Tried advance settings external speaker volume still low ...call volume is fine just notification and ringtones seem to be low music is also fine when being played on external speaker.
Click to expand...
Click to collapse
If music plays fine, then your speaker is good. You have 3 more things to check:
- What is notification and ringtones volume settings level? Set all sliders to max.
(you probably did)
- Is Ascending Ringtone (in Interface > Sound) enabled? Check Ringing Start Volume and Increase Interval settings.
(set about 40-50% volume for Ringing Start and 2sec for Increase Interval)
- What files you use for notification and ringtone? Some mp3 files are just recorded with low volume level.
(your problem most likely, try with default sounds and find something louder and high pitched)

[MOD][v2.0.0 - 2016 05 09] MixerMod *Stereo Speakers + Audio Adjustments*

*T&C*
When posting in this thread be respectful to all members and abide by XDA rules/guidelines.
Do not re-use any included files/code in another project without prior permission.
I am not responsible for anything that happens as a result of using these files, instructions or commands/code.
Your destiny is your own.
Click to expand...
Click to collapse
MixerMod
Stereo speaker output and hardware level audio tweaks for the Moto G 3rd Gen.
Features
Survival Script
Multiple Editions
Backup / Restore
System-less Support
Customisable Installer
Audio Enhancements
(modified mixer_paths.xml)
Latest updates from CyanogenMod & Motorola
Volume boost for handset (in-call), headphones & tty
Stereo speaker output for media audio, speaker phone, system sounds, alarms, etc
***DISCLAIMER***
By using this mod you take full responsibility for, but not limited to, any damage that may occur to your device, data, ears, or musical taste, etc
You agree not to hold the author liable in anyway.
Do not blame me if; your sound stops, jaw drops, thermonuclear war starts or zombie apocalypse now
Click to expand...
Click to collapse
*Install at your own risk*
Compatibility
Device
Moto-G3 merlin
Moto-G3 osprey
Moto-E2 surnia
may work on other devices with similar hardware
ROM
(Android L 5.1.1 – M 6.0.1)
Stock Moto, CM based, AOSP
should work with any ROM/kernel
Requirements
A Compatible Device
Custom recovery (temporary boot or permanent flash) OR a file-manager with RW /system
(stock recovery has not been tested so pls report any results here)
NOT Required
Root, busybox, manual modifications
**NANDROID NANDROID NANDROID**
It is advised to always have a recent nandroid/twrp backup of /system (minimum) saved locally before making any critical system changes, so please do this before proceeding.
Click to expand...
Click to collapse
Installation
Flash MixerMod-install.zip from recovery
OR
copy/paste mixer_paths.xml to /system/etc and set file permissions to rw-r-r (chmod 644)
(optional) copy/paste 55-mixer.sh to /system/addon.d and set file permissions to rwx-rx-rx (chmod 755)
Reboot
Removal
Flash MixerMod-restore-CM.zip from recovery
(if updating OTA with stock Motorola ROM; flash restore-Moto.zip)
OR
Replace /system/etc/mixer_paths.xml with stock version or rename mixer_paths.xml.bak
(optional) delete /system/addon.d/55-mixer.sh
Reboot
**HINTS**​
Safe Usage​
Lower all android volumes to below 50% (system, in-call & media volume, etc) BEFORE installing for the first time (to ensure vol is not set to high upon initial activation).
Do not use high volume for long periods of time.
Your general listening volume levels should be set between 25%-75%
Only use max volume (75%-100%) for quiet sources as even the main speaker can distort at high volume.
When using your device in landscape: ensure buttons face up so the handset speaker is on your left and the main speaker is on your right (rotating your device will not change left/right output).
To equalise speakers; adjust the L:R balance/pan in your default AudioFX App or favourite media player, if the setting is available make L>R.
If you also have 3rd party sound enhancement/processing mods or libraries installed (EG Viper4android, Dolby, Sony, Beats, etc) then; It is recommended to use a balanced-soft-medium release as the volume increase in the louder releases may be too much and cause distortion &/or impact sound quality.
Click to expand...
Click to collapse
Most Importantly:
Please Enjoy !!
If you wish to use this mod or any of the included files/code for your own ROM build or mod;
Please first PM me a request with your project details and provide clear & appropriate credit when approved.
Testimonials
aSuperSaiyanG0D said:
I installed the boosted variant/edition on my moto g3 (osprey) along side the xtrememusic mod and gotta say..
Bravo man, bravo
...I like how the earpiece is a tad lower than the main speaker...like the HTC 10 sound (top speaker is for treble and bottom is for bass)
Click to expand...
Click to collapse
**WARNING**
The handset speaker on this device is not designed for media-audio playback and is not capable of matching the max volume or quality of the main speaker.
After installing this mod you should not play audio at high volume for long periods of time if you are concerned about damaging your speakers.
Click to expand...
Click to collapse
Downloads
<Android File Host> | <XDA Downloads>
<Changelog & Version Info>
<Addons & Tools>
<Guides>
<FAQ>
​
Credits & Thanks
@hp420 for testing & sharing MotoG3 system-wide volume boost
@chdloc for IIR biQuads discovery, app & info
@osm0sis for ZipScriptSign tool + testkeys and mountSU
@Alberto97 and CyanogenMod for updated system/device files + zip binary file
@lost101 and Motorola for stock system/device files
@Lukest85 (me) for sharing, coding & compiling this mod + discovering & activating stereo speaker output for this device
YOU; the XDA community for rockin' the casbah !!
Apologies if I missed anyone; Pls PM me!
Support
XDA PM or post in thread
Donations
XDA:DevDB Information
MixerMod, Device Specific App for the Moto G 2015
Contributors
Lukest85, Lukest85, Lukest85
Source Code: https://github.com/cyanogenmod/android_device_osprey-cm13/
Version Information
Status: Testing
Current Stable Version: 1.0.0
Stable Release Date: 2016-04-25
Current Beta Version: 2.0.0
Beta Release Date: 2016-05-09
Created 2016-04-25
Last Updated 2016-05-09
*MixerMod Editions*​Overview
From balanced -> loud
The main/right speaker volume increases and the handset/left is constant.
The handset speaker (left) has now been activated at max volume but it is still significantly softer than the main speaker (right) by upto 30dB at default ±0dB
Due to this limitation the only way to achieve L:R balance is to reduce the main speaker volume proportionately.
The balanced edition addresses this issue with ±2dB variance but the softest main spkr (right) & overall volume.
Considering the overall volume reduction of the balanced edition may not be practical or necessary for everyday use;
I have created separate editions with different volume levels within safe min/max range to hopefully suit most use cases and device setups.
The different editions can now be used to achieve the best available L:R balance for your desired overall volume;
If one edition is to loud/unbalanced then try the next edition down in volume
If one edition is to soft then try the next one up in volume
If you want a custom package just ask
Tech Spec
Activated: ±0dB for all outputs and ±0dB master volume (NOT balanced)
Details of other editions below
The following editions apply +10dB to the left spkr volume and ±0dB in-call
Balanced: -20dB to right/main speaker volume
Soft: -10dB to right/main speaker volume
The following editions apply +10dB to the left spkr volume and +2dB in-call
Medium: -4dB to right/main speaker volume
Loud: ±0dB to right/main speaker volume
The following editions apply +12dB to the left spkr volume and +2dB in-call
Boosted: +2dB to right/main speaker volume
All editions (excluding activated) include the following audio tweaks;
Master volume: +2dB
Headphones/tty digital volume: +2dB
Handset/Left speaker output gain: x4
Volume Chart
Code:
[B]v1.0.0 Pure Stereo[/B]
[B]Name - Master Spkr-L Spkr-R HPhones In-Call[/B]
activated - 84 84 84 84 84
balanced - 86 94 64 86 84
soft - 86 94 74 86 84
medium - 86 94 80 86 86
loud - 86 94 84 86 86
boosted - 86 96 86 86 86
[I](86 = +2dB) (default = 84 aka ±0dB)[/I]
Click to expand...
Click to collapse
*Changelog*​
Latest Stable Release
Code:
[B]2016-04-25 v1.0.0[/B]
[I]Initial Release[/I]
Audio:
*Stereo speaker output
*Digital volume optimization for all outputs
*All CM commits: new Low-Latency Recording path + xml fixes
Package:
*Backup/Restore
*Survival Script
*Multiple editions with differing volume levels
Older Releases
Code:
Not yet
Latest Testing Release
Code:
[B]2016-05-10 beta2 v2.0.0[/B]
Package:
*Bug fix for /system SuperSU install
*Additional error/failure notifications
Audio:
*Reduced processing for speakers (vs beta1)
*If IIR filters don't work try temp disabling hotword detection (OK google)
Editions:
*All-In-One
*System (no SU or /systemSU)
*IIR (alpha) Headphone biQuad filters
All other editions have been included in each of the above
Older Releases
Code:
[B]2016-05-09 beta1 v2.0.0[/B]
Audio:
*New routing for speakers (fuller sound, more chance of distortion at high vol)
*Adjusted SRS TruMedia and Analogue Volume for Headphones (may not work with every setup)
*Increased Headphone volume for each edition
*Adjusted L:R speaker balance/volume for each edition
New Editions:
*AIO (beta) All In One
Includes all editions for a personalised setup via mixer.prop file (change SETTINGS with txt editor)
*IIR (alpha) Headphone biQuads
Loud edition with Infinite-Impulse-Responce filters for headphones (qcom h/w level 5-band equalizer)
Default is passthrough (no change)
Package:
*Major overhaul of all scripts & files (inc. shell script instead of updater-script)
*Default install to /su
*Backup/restore to/from anywhere in local storage (int or ext) or not at all
*Utilise 'mixer.prop' config file for a customisable & personalised setup/restore (store anywhere in /sdcard)
*Volume level specs for editions now reside in mixer.prop
*Survival script now optional (via mixer.prop)
*zip size greatly reduced
*Support for addons
*Improve multi-device support
Upcoming Features
subject to change and in no particular order
Include system-less setup without SuperSU (init.d) currently manual process
GUI for installer/restore (AROMA)
Further audio improvements
Stay tuned
Please contact me if you wish to contribute and/or collaborate !
Click to expand...
Click to collapse
*Tools & Addons*​
Native to MixerMod
Due to XDA upload restrictions you will need to remove the last .xyz extension (ie .txt) from the filename of each attachment BEFORE utilising the addon.
Download from attachment or AFH​
Survival Script (addon.d): 55-mixer.sh
Keep MixerMod installed throughout ROM flashes (safe).
included in MixerMod-install.zip and also available separately.
Code:
See OP for install/removal instructions
Linking script (su.d): 55mixer
System-less SuperSU compatibility (/su)
will be integrated with future MixerMod-install.zip
Can be modified for /system/su.d or /system/etc/init.d compatibility
Code:
copy/paste a modified mixer_paths.xml to /su/etc and set file permissions to rw-r-r (chmod 644)
copy/paste linking script to /su/su.d and set file permissions to rwx (chmod 700)
reboot
Tinymix: binary file
Testing mixer_paths.xml changes live & on the fly.
usually already included in each ROM. This version is from the latest stock osprey Moto ROM.
Code:
copy/paste to system/bin
set file permissions to rwx-rx-rx (chmod 755)
Usage: run from terminal as su
Code:
tinymix ‘control’ ‘value’
(integer/number values do not require quotes but all controls DO)
Examples
Set the handset speaker master volume to default ±0dB
Code:
su
tinymix ‘RX1 Digital Volume’ 84
Set the main speaker master volume to default ±0dB
Code:
su
tinymix ‘RX3 Digital Volume’ 84
Query current volume levels (differs per output device ie speakers/headphones/in-call)
Code:
su
tinymix | grep Digital
Funky Beats: Spotify Playlist by @Lukest85
An eclectic mix of favourite tracks, hidden gems and new releases.
Check 'em out or follow along to get your groove on.
My starred playlist, in no particular order.
Shuffle, Press Play and Enjoy !
Free for anyone to listen online (browser or app, no premium account required)
Click to expand...
Click to collapse
Kernels with FauxSound Control
Currently in testing​
Use one of these kernels for additional hardware level audio enhancements & sound control.
Configure volume & gain levels from within your preferred kernel control app (eg Kernel Adiutor) or FauxSound compatible app
Inazuma Kernel by @zeeshanhussain12
AGNi Kernel by @psndna88
Click to expand...
Click to collapse
Recommended Audio Mods
HINTS
These have been tested on this device in conjunction with MixerMod and should not cause any conflicts, though you may need to apply a balanced/soft/medium edition of MixerMod.
​
Remastered System Sounds by @Locklear308
High quality system sounds, remastered in stereo.
More themed and ported system sounds available.
Take full advantage of your stereo speakers !
Evangelion System Sounds by @simonpunk2013
Futuristic system sounds, notifications and alarms.
Many more EVA themed goodies.
Ported from NERV ROM posted by @TakuyaZ
ViPER4Android MK-Mod by @metaspook
Modified version of famous V4A audioFX app by @zhuhang
Software equalizer with many tweaks + new sound drivers/library.
Standalone app.
Viper|Atmos SonyBeats by @guitardedhero
Well renowned AIO audiophile tweaking package with maximum compatibility. The new standard.
Third party sound enhancements, libraries, tweaks & software equalizers
Includes: ViPER4Android, Dolby Atmos, Sony & Beats sound libraries
Click to expand...
Click to collapse
Popular Sound Libraries & Effects
HINTS​
May not be compatible with every setup.
Only install ONE of the following mods at any given time as there may be some conflicts and/or overlap.
If you want a combo setup then search the respective mod's support thread and you should find something posted by @guitardedhero to suit your needs, if it's not already available in the OP.
XTREMEMusic by @androidexpert35
Ultimate compilation of many integrated sound libraries, effects & EQ.
Based on Project Desire, PON-3 & HTK Audio Engine, with many extras
Includes
ViPER4Android
XTREMEMusic AudioFX App
Optimisations for dual speaker devices
Re-sampling of 6144khz 64bit for Headphones and 192khz 24bit for Speakers
Qualcomm Hardware Effects for the onboard Snapdragon Hexagon DSP found in this device
Sound Libraries: HTC Boom Sound, Sony sForce Surround 3D, Sony DSEE-HX, Harmon Kardon, SoundAlive, Beats, SRS, DTS, MegaBass, Vivo Hi-Fi, Dirac, more
eXtremeBeats by @Ben Feutrill
Compilation of handpicked, tweaked & integrated sound libraries of very high quality, in the smallest possible package (2MB)
Includes
Sound Libraries: Sony xLoud, BeatsAudio, SRS, PureAudio Engine, more
No EQ app or apks
Compliments a ViPER4Android standalone install very well.
Project Desire by @PDesire
Compilation of many enhanced, custom made ans integrated sound libraries, with an EQ app.
Based on ReHeaR. Now EOL and open source.
Includes
Project Desire Audio Effects app
Custom Audio Engines: Harmoforia, Harmonia, CryRez/P2SE, Vibeuforium, more
Sound Libraries: SoundAlive, MaxxAudio, Dolby DTS, SRS, Sony, Beats, many more
ReHeaR by @jimRnor
A compilation of many custom and well known sound libraries & effects.
Base for many other sound mods on XDA
Includes
No EQ app
Custom Audio Engines: ZeXshO X, PMEE-HS, Harmoforia, Vibeuforium, Quantum
Sound Libraries: Maxxaudio, SRS, Dolby DTS, BeatBass, HTC Acoustic, Samsung SoundAlive, more
Click to expand...
Click to collapse
Similar Mods
Links for other devices will be added here​
Moto-G 3rd Gen
System-wide volume boost by @hp420
Boost all output volumes for stock-mono configuration.
Multiple editions with varied volume levels.
NOT directly compatible with MixerMod as they modify a common file.
Click to expand...
Click to collapse
*FAQ*​
Q: What does this mod do ?
A: Improves output audio quality by modifying system file/s for the hardware controlled audio configuration.
Checks device compatibility
Installs a modified /system/etc/mixer_paths.xml file for audio routing, output, volume/gain, etc
Preserves existing/stock system file/s as .bak until restored
Installs /system/addon.d survival script to preserve mod files across ROM flash/wipe
Includes the latest updates, fixes & cherrypicks from multiple sources (Vendor/AOSP/CM)
Q: Do Left and Right speakers output stereo or mono sound ?
A: Stereo.
This mod routes the Left audio channel to (only) the upper Handset speaker and the Right audio channel to (only) the Lower Main speaker.
Factory default routes both channels to only the lower main speaker for mono output.
Q: Are you sure the handset speaker is working ?
A: Yes, output is a lot lower than the main speaker due to device limitations.
To test put your finger over the main speaker or adjust L:R balance/pan so R=0 or L>R
Q: Is this mod safe to use ?
A: Yes; provided you do not manually modify the system files yourself (ie to increase the volume further or make other changes).
Q: Will this damage my speakers or ears ?
A: No, Provided you adhere to all warnings/instructions and do NOT modify any relevant system files manually.
Volume/Gain for all outputs are set to a safe level.
Q: Has anyone bricked or broken their device using this mod ?
A: No damage to any device has been reported due to using this mod, nor similar mods for other devices.
HOWEVER it is still recommended to make a Nandroid backup of /system before installing, not to playback audio at high volume for lengthy periods and do not make manual modifications to system files.
Q: I have a compatible device but the mod will not install or flash !
A: Please report details here and provide from build.prop your ro.product.device value and if possible any relevant log files such as /cache/recovery/last_log, logcat, etc,
Q: Is this mod compatible with xyz device ?
A: This mod is currently only compatible with recent Qualcomm Snapdragon based devices that use the onboard soundcard only.
Q: Can I try this mod with a device not listed as compatible?
A: Not recommended unless confident of h/w similarities to confirmed devices. Advise posting a request here with your mixer_paths.xml & device details so I can provide a test package.
Q: I still want to try this on an un-approved device on my own !
A: Test at your own risk but do not be surprised if you can no longer boot or experience audio issues/failure;
Flash a Test Release, as Stable Releases are restricted to approved devices only (see OP) or manually extract & install mixer_paths.xml as per OP.
Q: Should I expect any issues after installing ?
A: No
MixerMod has been confirmed to be error free & stable for all compatible devices listed in OP.
(may work on devices with similar h/w; post your mixer_paths.xml if you wish to test on a new device)
Q: After installing this MixerMod I have errors, problems, questions or requests to report !
A: Post in this thread with your original mixer_paths.xml(.bak)
Include as much relevant detail as practical: Device, ROM, kernel, any & all active sound mods or libraries, + non-stock audio settings/FX, etc
Q: What are your testing variables ?
A: Before any release I first test the new audio settings for a lengthy period of time on a Moto-G3 XT1550 osprey with different settings & variables to ensure no adverse effects:
MM 6.0.x ROMs
Custom kernels
Stock/built-in AudioFX, on vs off
3rf Party AudioFX apps/libraries
eg ViPER4Android, Dolby, Sony, Beats, etc
Multiple MultiMedia apps/players
eg Spotify, Poweramp, SonyMusic, GoogleMusic, Soundcloud, etc
Other sound/audio mods
eg eXtremeMusic, ExtremeBeats, Project Desire, etc
Various Headphones, IEM and external speakers
Built-in speakers with music, video, podcast & audio-test signals
Different environments & ambient noise levels
Volume/Balance measurements tested/recorded with a basic dB soundmeter.
Final field test and selection of each release/edition based on realworld results, compatibility and my personal experience.
Q: What are the Limitations of this mod ?
A: It will not walk your dog, laugh at your jokes or save you from an alien invasion.
I do not currently have access to suitable pro sound equipment so dB measurements for volume & balance are obtained via a basic soundmeter from another handset.
L:R Speaker orientation is locked ie Rotating your device will NOT swap Left/Right channels
Different sized h/w speaker drivers (handset vs main); to compensate for the smaller handset speaker this mod reduces the main speaker volume to achieve better L:R balance.
NB Without reducing the main speaker stereo sound would not be practical as the main speaker is too loud.
No 3rd party soundcard/DAC/DSP to utilise (ie only onboard Qualcom Snapdragon Hexagon processing is available for this device)
Click to expand...
Click to collapse
*Guides*​
General Inquiries
If you want me to make a custom file/mod for your specific setup (I'm happy to), are requesting a change to this mod, testing your own mod, reporting an error, tweaking your setup or just sharing your settings for others, then;
Post here or PM me, and include
Your desired changes
Original un-modified /system/etc/mixer_paths.xml(.bak) file
Details of your sound & device setup IE model, ROM, kernel, mods, etc
Specify any & all active sound mods/libraries + non-stock audio settings
To manually adjust your L:R speaker volume and achieve equal balance; Try A, B or C as follows.
A) via ROM audioFX app, your preferred media player w/pan, or a custom soundFX mod:
Adjust Left:Right output settings so L>R under Balance/Pan according to your preference.
**WARNING**
The following manual steps can be dangerous if a mistake is made and/or volume/gain is set to high/low so only do this if you are confident, have read all the provided info, follow the instructions implicitly and of course;
do so at your own risk, accepting all responsibility if any damage occurs.
B) via a file manager (root + RW /system)
edit/open file /system/etc/mixer_paths.xml in a text editor
Search or scroll for MixerMod under <path name=speaker />
Make your changes to XX for;
<ctl name='RX1 Digital Volume' value=XX />
<ctl name='RX3 Digital Volume' value=XX />
Where;
RX1=Left handset speaker
RX3=Right main speaker
XX sets the volume as a number between 74 and 94 in 1dB increments (stock=0:84 ±0dB)
Play some media and set Android volume <50%
Reboot to apply your changes
Test your changes & repeat the above until you are happy with the volume and balance
If you want to post your new settings please make sure to include any & all sound mods/libraries + non-stock audio settings.
C) Test temporary volume/gain levels live:
Start playing some media
NB I recommend a long playlist with varied but short music/video selections as when media focus shifts your changes will revert.
Run the following code from a terminal
Code:
su
tinymix 'RX1 Digital Volume' XX
tinymix 'RX3 Digital Volume' XX
Speaker: RX1=Left and RX3=Right
Headphones: RX1=Left and RX2=Right
Adjust XX and re-do the above until you are happy with the volume & balance
To save your desired settings edit /system/mixer_paths.xml accordingly (see above) then reboot.
Click to expand...
Click to collapse
Reserved
Reserved
omg, this is super cool! thanks.
---------- Post added at 09:28 AM ---------- Previous post was at 09:07 AM ----------
not really balanced though
HelpMeruth said:
omg, this is super cool! thanks.
Click to expand...
Click to collapse
Cheers ! 'most welcome and glad you like it !
HelpMeruth said:
not really balanced though
Click to expand...
Click to collapse
Which edition/s have you tried?
Do you have any other sound mods or libraries installed?
FYI
*Only the balanced release aims for equal L:R speaker volume as achieving this greatly reduces the main speaker volume.
*The L:R difference on my test device (osprey, stock, no other sound mods) with balanced edition ends up 0-3dB, varying slightly per frequency.
I am hesitant to lower the main speaker much more than it is already for this one but can do if requested.
*Stock/default/flat there is generally approx 30dB difference between the two speakers on this device, which is a lot for this scenario.
So perfect balance may not be practical for many situations.
*Currently L:R balance will even out as you choose a quieter edition of MixerMod (see the OP for more details).
*Volume levels for most releases can be tweaked so feedback is welcome but please provide device/setup info!
edit: Added this info to OP
i had balanced but noticed that the loudspeaker(the earpiece speaker) was a bit louder than the real speaker
HelpMeruth said:
i had balanced but noticed that the loudspeaker(the earpiece speaker) was a bit louder than the real speaker
Click to expand...
Click to collapse
osprey or merlin ?
osprey
HelpMeruth said:
osprey
Click to expand...
Click to collapse
The soft edition from OP will increase the main spkr a few knotches (10dB)
I've attached some alternate editions for you in case you only need a small change;
balanced2 will only reduce the handset spkr by 2dB
balanced3 will only increase the main spkr by 4dB
Alternatively
Run the below command/s in a terminal while audio is playing then let me know your results and I'll post a new edition for you.
(tinymix changes only last for that audio session)
Adjust main/right spkr
Code:
su
tinymix 'RX3 Digital Volume' 68
raise/lower the number until you are happy (OP balanced = 64 and stock = 84)
Adjust the handset/left spkr
Code:
su
tinymix 'RX1 Digital Volume' 92
raise/lower the number until you are happy (most OP editions = 94 which is generally the max without distortion)
Would this be safe to use alongside the xtrememusic mod?
Sent from my Nexus 7 using Tapatalk
I'm wondering how this works with ViPER4android. Would like to try it but not if V4a interferes as I really like it.
sent from my cdma X1548 Virgin Mobile Moto G 2015
Looking forward to trying this out
Will this need re-flashed everytime the official 13.1 Cyanogen nightly gets updated?
thx
aSuperSaiyanG0D said:
Would this be safe to use alongside the xtrememusic mod?
Click to expand...
Click to collapse
Sure is !
Currently MixerMod will not conflict with any other sound mods, though you may need to try different MixerMod Editions to get your desired sound/volume/balance.
Pls report results here for others with same setup.
Hedied4me said:
I'm wondering how this works with ViPER4android. Would like to try it but not if V4a interferes as I really like it.
Click to expand...
Click to collapse
There is a native headphone boost etc included in MixerMod and I can confirm it works very well in combo with V4A !
RE speakers; I would recommend to start with a balanced/soft/medium edition of MixerMod if you also use 3rd party sound libraries eg @guitardedhero 's Viper|Atmos packages, Sony, Beats, etc
bjzapp said:
Looking forward to trying this out
Will this need re-flashed everytime the official 13.1 Cyanogen nightly gets updated?
thx
Click to expand...
Click to collapse
Go for it, just set n forget !
no need to reflash MixerMod after a ROM upgrade addon.d survival script is included.
You should see a few messages from MixerMod in recovery during the process to let you know it's doing its thing...it will even backup the unmodified files from the new ROM before patching so you're never in danger.
Installed the boosted variant along side the xtrememusic mod and gotta say..
Bravo man, bravo ??
And actually I kinda like how the earpiece is a tad lower than the main speaker, kinda how I imagine the HTC 10 would sound (since the top speaker is for treble and bottom is for bass)
And yes I installed it on my moto g3 (osprey)
Disregard my signature ?
Sent from my Nexus 7 using Tapatalk
aSuperSaiyanG0D said:
Installed the boosted variant on my moto g3 (osprey) along side the xtrememusic mod and gotta say..
Bravo man, bravo ??
And actually I kinda like how the earpiece is a tad lower than the main speaker, kinda how I imagine the HTC 10 would sound (since the top speaker is for treble and bottom is for bass)
And yes I installed it on my moto g3 (osprey)
Disregard my signature ?
Click to expand...
Click to collapse
Thank you for the great report and review !! :good:
Excellent comparison too ! that's the limitation of the smaller handset spkr showing through but with lemons we make tasty lemonade :highfive:
Glad your enjoying it !
RE sig; No worries, I've an N7 somewhere as well.
If you don't mind I will add your comments as a quote/review in OP !?
Lukest85 said:
Thank you for the great report and review !! :good:
Excellent comparison too ! that's the limitation of the smaller handset spkr showing through but with lemons we make tasty lemonade :highfive:
Glad your enjoying it !
RE sig; No worries, I've an N7 somewhere as well.
If you don't mind I will add your comments as a quote/review in OP !?
Click to expand...
Click to collapse
Ayee thank you for taking the time to develop this little mod aha ?
And no problem you're more than welcome to ?
Sent from my Nexus 7 using Tapatalk

[MODULE][AUDIO] Jackshi Audio (improve the volume levels n moar)

Yo there.
Brief summary
My previous device was a Mi A1 which packed some punch on its audio jack output. It could go LOUUUUD. Obviously I found X3's sound very lacking in that regard but very good in other audio aspects. Upon inspecting MIUI's mixer_paths, I found out that qualcomm's codec ULP mode (ultra low power) is used by default when you plug in some headphones. AFAIK this mode disables the codec's dedicated headphone amplifier (or something close to it, didn't really investigate further after getting the results I wanted lol). But no. We don't want this.
Sooo?
This module will increase/boost your jack**** 3.5mm volume levels. It does this by enabling the HIFI mode provided by the SoC's codec and disabling its compander module. It also tunes both the analog and digital values to more optimal levels.
Why not just increase RX_blablablabla?
Becaaause, with that method you increase digital gain only, which introduces distortion and similar artifacts. We don't want that. Before increasing the digital gain as high as possible, we need to do it with the analog gain first. The module does this for you, using values based off my testing.
If you want to go louder still, edit the mixer_paths_wcd9375 file present inside the module zip and increase the RX Digital Volume values of the headphones-ce section. If you're using AML do the same on the .aml.sh file (it is 83 by default).
What about HPHR/L?
It is already maxed out by default (20) and doesn't work unless you disable qualcomms compander. This module disables the compander and actually reduces it to 19 just to be on the safe side. If you want to go higher still follow the same steps presented above.
Why LOHIFI and not HIFI?
From my testing, there's no difference between those two and I'll always favor the mode which is more battery friendly.
Compatibility
Should work with any audio mod out there as long as you use AML.
Can also be used standalone.
It has only been tested on the lastest Xiaomi.EU build but should work in any MIUI based ROMs and most likely AOSP ROMs too (didn't test yet but it SHOULD work).
If you want to be 100% sure it works on your ROM (AOSP or not) install AML and Ainur NARSIL. I'll also leave my narsil_useroptions if you're interested.
Interesting, but isn't Ainur Narsil module doing the same thing? Like removing compander for example?
Also, doesn't Ainur edit mixer_paths too for higher volume?
@SkaboXD Ainur doesn't adjust the volumes but yeah, you can use it to disable the headphones compander module as well (although I'm not sure if that actually works). AFAIK.
theres 2 zip which one should i flash? im on eu, no other audio mod installed.
nvm. im just stupid
its magisk module ?
zainnasai said:
its magisk module ?
Click to expand...
Click to collapse
It is, checkout the description.
_Yank said:
It is, checkout the description.
Click to expand...
Click to collapse
thanks bro
at least mention AML as Audio Modification Library (magisk module) once I totally had to think hard what it was. Also you made it sound with Ainur Narsil you can test it, not that it should 100% work with it and AML.
also looking at your narsil_useroptions, the value for impendance is wrong? it should be 48000 instead of just 48 for 48ohm
thanks tho, much appreciated.
_Yank said:
It is, checkout the description.
Click to expand...
Click to collapse
Where you can edit the volume of the Bluetooth ?

Categories

Resources