yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] mlcampbe:
Seems like facebook deletion via TB is not the only way to break screen rotation. I did a test and deleted several apps via TB (but left facebook installed) and I cannot pinpoint exactly which one broke rotation I can confirm that screen rotation did stop working. Therefore it seems that the best route altogether would be to delete apps manually instead of using TB to do so.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] realperson:
I'm running Jasmine V7, MM. Can you please tell me what ROM your fix worked for. I tried downloading, copy pasting "libgnustl_shared.so" to correct folder (mine was missing). Then, battery out/ reboot -didn't work. Other Note: I don't think I can dirty flash my ROM in the traditional sense as Jasmine V7 was only released in backup form. I would have wipe and to do fresh install. (This would suck as it mine is heavily modified) -THX!
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] ammar1514:
Use the file in this thread . http://xdaforums.com/note-4-tmobile/development/fix-screen-rotation-fix-libgnustlshared-t3408140

I believe this is for MM and the one I posted before is for lollipop
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] mrbi8b0:
YESSSS!!!!

YESSSSS!!!!

Thank you!!!

...worked on my VZW Note 4 running 6.0.1
[Android Q&A, Help & Troubleshooting] asoni474:
Whenever I restore my twrp Backup or format through twrp on my stock rom my status bar vanishes notification panel doesn't comes down my phone doesn't locks recent apps doesn't appear and my wallpaper turns black..

I am using micromax q380 and Android version is 5.0.2
[Moto G 2015 Android Development] Lukest85:
*T&C*

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***

*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**

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**
​

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

**WARNING**

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
[Moto G 2015 Android Development] Lukest85:
*Changelog*​
[Moto G 2015 Android Development] Lukest85:
*Tools & Addons*​
[Moto G 2015 Android Development] Lukest85:
*FAQ*​
[Moto G 2015 Android Development] Lukest85:
*Guides*​
[Moto G 2015 Android Development] Lukest85:
Reserved
[Moto G 2015 Android Development] HelpMeruth:
omg, this is super cool! thanks.

---------- Post added at 09:28 AM ---------- Previous post was at 09:07 AM ----------

not really balanced though
[Moto G 2015 Android Development] Lukest85:
Cheers ! :D 'most welcome and glad you like it !

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
[Moto G 2015 Android Development] HelpMeruth:
i had balanced but noticed that the loudspeaker(the earpiece speaker) was a bit louder than the real speaker
[Moto G 2015 Android Development] Lukest85:
osprey or merlin ?
[Moto G 2015 Android Development] HelpMeruth:
osprey
[Moto G 2015 Android Development] Lukest85:
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

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

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)
[Moto G 2015 Android Development] aSuperSaiyanG0D:
Would this be safe to use alongside the xtrememusic mod?
[Moto G 2015 Android Development] Hedied4me:
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
[Moto G 2015 Android Development] bjzapp:
Looking forward to trying this out;)

Will this need re-flashed everytime the official 13.1 Cyanogen nightly gets updated?

thx
[Moto G 2015 Android Development] Lukest85:
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.

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 [MENTION=4445176]guitardedhero[/MENTION] 's Viper|Atmos packages, Sony, Beats, etc

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.
[Moto G 2015 Android Development] aSuperSaiyanG0D:
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 ?
[Moto G 2015 Android Development] Lukest85:
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 ! :D

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 !?
[Moto G 2015 Android Development] aSuperSaiyanG0D:
Ayee thank you for taking the time to develop this little mod aha ?

And no problem you're more than welcome to ?
[Moto G 2015 Android Development] vicky90:
Will it conflict with viper atmos ?

After flashing over " Viper atmos_extreme beats aural maximizer " phone ringing volume reached to maximum , can't lower sound level. I'm on cm 13.
[Moto G 2015 Android Development] Lukest85:
What do you think of the speaker sound?

Is that the latest release

Some recent Viper|Atmos (test) releases have been known to cause issues with the handset speaker output (in-call, etc).

Will try to solve for u but pls provide more info;

Just calls or notifications too

Can you make ringer silent and/or adjust volume before a phone call

Does the volume slider respond

Will ringer go silent when you press/hold volume down

Is issue apparent when screen on/off/both

Can you change other volume levels without issue

Which MixerMod edition

rebooted, cleared cache and disabled stock audioFX app

Any other sound issues

etc

To query the MixerMod volume pls run the below from terminal while phone rings and record results.

su
tinymix | grep Digital

To confirm the culprit you can flash restore-CM.zip then reboot, lower your volumes and check next call.

Then install MixerMod again, adjust volume and check next call.

Pls report back with your results !

Some background info:

It shouldn't conflict with V4A|Atmos, eXtremeBeats, XTREMEMusic, ReHeaR, Project Desire, Devine Beats, etc because the current changes applied by MixerMod are completely independent of any software sound effects & libraries (it's modifying hardware level config/controls). If/when this changes I will update the OP.

MixerMod has been tested with a past release of each mod mentioned above but not the very latest (hopefully within the next week as many recent changes sound promising).
[Moto G 2015 Android Development] vicky90:
As you said maybe conflict due to viper atmos as I was using test version , now after flashing stable viper atmos it's working without no issues thanks.

One more question will it work on aosp based ROM ?
[Moto G 2015 Android Development] Lukest85:
Fantastic :highfive: thanks for the update !

Which MixerMod Edition did you install with CM+V4A?

Yes, MixerMod works with any currently available ROM or kernel

Also; SuperSU/root and/or busybox are NOT required
[Moto G 2015 Android Development] Gravemind2015:
This mod works perfectly on resurrection remix on my XT1550.One thing i noticed,in mixer_paths.xml,first 3 values are set to 86 and others are set to 84.Precisely, can you tell me which values correpond to media playback on headphones,i want to increase them,leaving others at default.Thanks[emoji14]

Broadcasted from Zeta Reticuli
[Moto G 2015 Android Development] Stefano 99:
Really amazing!

The balanced version works really good with BrokenOS!

But it lowers too much the volume, for some sotuations. There's a way to enable-disable this awesome mod without flash or reboot??

Thanks,

Stefano 99

Inviato dal mio MotoG3 utilizzando Tapatalk
[Moto G 2015 Android Development] Lukest85:
Very glad to hear !

Which edition/s have you installed?

Those 86 values are global defaults (stock=84) and apply when no output-device specific volume is set and also when no audio is playing.

Not a problem;

The xml for each edition has already been annotated to identify where & how to make adjustments for various outputs ;)

you just need to

-find the relevant section

-make your changes

-un-comment 2 lines (remove "<!--" and "-->")

-save & reboot

-enjoy

Example

"MixerMod: headphones volume adjustment"

so just search or scroll(lots) for "MixerMod" under the desired output device

ie <path name="headphones">

or get there directly with "MixerMod: headphones"

Notes

-Default & maximum recommended values are also specified.

-Digital Volume usually impacts all audio for that output.

-Voice headphones, USB headphones, TTY and BT have a separate audio path to std wired headphones so search accordingly.

mixer_path controls

For Headphones:
RX1 Digital Volume = Left Channel
RX2 Digital Volume = Right Channel

For Speakers:
RX1 Digital Volume = Left Channel (handset/upper spkr)
RX3 Digital Volume = Right Channel (main/lower spkr)

Hint

Analog Volume adjustments, h/w equaliser and more speaker tweaks should make it into the next release + more Easter Eggs !

Pls report back with your final/preferred setup and I can publish a new edition/release for you !
[Moto G 2015 Android Development] Lukest85:
Thank-you for the positive feedback !

*TLDR*

Unfortunately not at this time but I am working on it and will update OP if/when this changes (not soon).

Yeah, balanced edition is pretty quiet and you can safely leave volume at 90% and still have plenty of room for software volume-boosting.

*Detailed Info*

Unfortunately MixerMod config is applied early during boot so reboots are necessary to apply (permanent) changes.

If you don't need perfect balance and/or want a little more volume;

pls try soft-medium edition or one from here and let me know what you think !

To make your own changes;

follow the instructions in my previous post.

To change volume/balance on the fly, but temporarily;

Pls follow instructions in the previously mentioned link or under tinymix in OP addons

Some background:

-MixerMod is still in relatively early stages & currently focuses on getting the most out of mixer_paths.xml edits.

-Dynamic mixer_path changes will come after merging a patch into CM and/or create an accompanying app.

-The handset speaker will not get much louder using v1.0.0 without noticeable distortion so the only way to balance is to lower the main speaker proportionately.

-Future MixerMod releases will include more tweaks to the handset speaker, etc to address these shortcomings.

I hope this is useful and apologies for the info overload !
[Moto G 2015 Android Development] Gravemind2015:
Thanks for reply[emoji4] .I am using boosted version.Finally i have increased headphone volumes to 88 and speaker values are left untouched.This actually feels better than the nexus 5 mod!Awesome work man,i was actually trying to achebe that.Best of luck for next releases, i will continue to check for them[emoji106]

Broadcasted from Zeta Reticuli
[Moto G 2015 Android Development] Lukest85:
Thanks for the positive feedback ! :good:

If you don't mid I will paraphrase your quote for OP ?!

Rockin' ! :highfive: I boost HP too and will add a new boosted+ edition for you in the next update (v.soon).

;)

Do you want more volume from speakers (main or handset) or any other outputs?

I've found that more usually causes distortion at high volumes on my device, but I can increase it for the new edition/variant if you like.
[Moto G 2015 Android Development] Gravemind2015:
Why not?[emoji1] .I have changed headphones to 90 and speakers are 88 now.If you are making a boosted+ edition,please make it so that it lives to it's name!I can't test actually when the sound starts distorting but i think eventually we can find the sweet spot.Best of luck[emoji106] .

Broadcasted from Zeta Reticuli
[Moto G 2015 Android Development] Lukest85:
Did you find the soft edition or either of the revisions I posted here more balanced for your setup?

Pls also mention your ROM and any other sound mods/libraries/FX that you have installed/active.
[Moto G 2015 Android Development] Lukest85:
I hope you're all enjoying MixerMod so far !?

If so pls click thanks in OP and if you have time provide feedback so we can fine tune and cater for all !!

** NEW Beta Release **

This is a big one for package features so pls check the OP for full details, once its been updated !

Audio:

New routing for speakers (fuller sound but 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

Package:

Major scripting overhaul

Intelligent Install/Restore

Backup/restore to/from almost any location (local storage int or ext)

Compatibility for SuperSU system-less setup (now default and reverts to /system if not found)

Utilise 'mixer.prop' config file for a customisable & personalised setup/restore (instructions included)

survival script now optional (via mixer.prop)

zip size greatly reduced

easter eggs (as usual)

NEW Editions:

(beta) AIO - All In One

Includes all editions for a personalised setup via mixer.prop

(this is included in each beta edition and will likely be standard from now)

(alpha) IIR - biQuad compatibility

Medium edition with Infinite-Impulse-Responce filters for headphones (h/w level 5-band equalizer discovered by [MENTION=2760454]chdloc[/MENTION])

(included in each beta, default is passthrough, may stop all sound for HP output)

See here for specs n details and stay tuned for more developments

Download from AndroidFileHost, also linked in OP.

Let me know of any issues, happy tweaking and you stay classy !
[Moto G 2015 Android Development] valkaizer2594:
well for me only earpiece is working now ? i flashed MixerMod-v100-balanced-20160425-signed.zip

im on RR rom
[Moto G 2015 Android Development] Lukest85:
That should not be the case, please try a different edition and report back.
[Moto G 2015 Android Development] Punraz_:
When im on Cyanogenmod 13 did i only need to install it once over a Nightly? Bcs when i update the Nightly , than its still there?

@
[Moto G 2015 Android Development] bjzapp:
I had asked this previously as well and the answer was YES...another confirmation would be nice though;)

Good work!:good:
[Moto G 2015 Android Development] Lukest85:
Correct ! :good:

You should not need to re-install after flashing a nightly as an addon.d survival script is included with each installer.

Glad your enjoying ! :) What do you think of v2 ?

If the survival script, is not working for anyone pls grab a log and/or let me know !

Same for any bug or issues; pls report here or PM as all features & zips work fine on my test device (osprey 6.0.1 with various ROMS/kernels/mods)
[Moto G 2015 Android Development] EllyssonMike:
Not working to me, no more... On build 1.0 it's working fine, but on 2.0 the first speaker has no audio like original.

Enviado de meu MotoG3-TE usando Tapatalk
[Moto G 2015 Android Development] Gravemind2015:
Latest one rocks for me; I chose the AIO one (pretty natural choice for me ;-P) .And believe me,this time I need not setup the mixer_path!The stock settings *perfectly* suits me.Headphone sounds are awesome,speaker sounds are balanced,feels great!

Very good job brother! Bravo!![emoji106]

Model:XT1550 2GB 16GB EDITION

ROM:Cyanogenmod Project 13 Official Nightlies

Package:AIO

Feeling:Just_awesome :)

Broadcasted from Zeta Reticuli
[Moto G 2015 Android Development] nikhilpal2705:
V2.0.0 not working for me. Using RR rom latest version. Previously v1.0 worked. I have attached screenshot of recovery log. There are lots of error and 'not found' in log still it says installed successfully but not working.
[Moto G 2015 Android Development] Lukest85:
Thankyou for the screenshot-log !

Patched and uploaded !

It seems like the installer is not detecting a system-less SuperSU setup on your device...pls advise if you have /data/su.img and /su ?

b1 worked fine for me with latest RR earlier today (detected & installed to /su).

If you get errors with beta2, pls attach cache/recovery/lastlog
[Moto G 2015 Android Development] Lukest85:
***NEW Beta Update***

Uploaded beta 2 to AFH as -b2.zip

*Changelog*

Since Beta1:

*Fix bug with /system install w/no SU

*More error notifications in case of failure

Audio:

*Reduced processing for speakers so should sound a little cleaner than b1

*If IIR filters don't work try temp disabling hotword detection (OK google) & report back

Editions:

*All-In-One

*IIR (HP filters)

*System (no SU)

All other editions have been included in each of the above
[Moto G 2015 Android Development] Lukest85:
Pls delete
[Moto G 2015 Android Development] nikhilpal2705:
Thanks for update. Now b2-system working fine. There is no /data/su.img and /su.
[Moto G 2015 Android Development] Gravemind2015:
Absense of these files and directories indicate that you have superSU installed in system mode.This explains why the first 2.0 was working for me.I have supersu flashed in systemless mode.Thanks for reporting[emoji14] .

Broadcasted from Zeta Reticuli
[Moto G 2015 Android Development] Lukest85:
'welcome ! woulda been sooner but WiFi buggered up :silly:

Fantastic :highfive: thankyou for reporting :good:

After you've had a listen, let me know what you think of the sound !?
[Moto G 2015 Android Development] Lukest85:
Thanks for jumping in !

:good:

Love your reviews ;) have you had a chance to check out mixer.prop tweaks yet?

Something I have to add to OP:

Technically the survival script only works for /system files as su.img (/su files) remains anyway (until /data wipe or SuperSU uninstall)
[Moto G 2015 Android Development] Gravemind2015:
Yeah i just checked it out.I changed MIXER= to boosted and TITLE to avada_kadevra. (Just wanted to be *absolutely* sure this file is being recognised :P). Pasted it in /sdcard (or /storage/emulated/0/ to be exact) and tried reflashing the aio package. As expected, it works flawlessly!

I am thinking of trying out the IIR version; I re-read the op and 2nd post but did not understand much about it.Digged google and only found that qualcomm devices have these iir filters.I have viper flashed.Will it conflict?

Broadcasted from Zeta Reticuli
[Moto G 2015 Android Development] nikhilpal2705:
Using AIO (medium) and now music experience is awesome. Earphone sound also much better then stock. I'm using Poweramp music player.

Thanks for this MOD.
[Moto G 2015 Android Development] rwxr-xr-xis:
Fantastic mod! Made my sound experience much better
[Moto G 2015 Android Development] kosmasgr:
Which version exactly ? :)
[Moto G 2015 Android Development] rwxr-xr-xis:
Beta 2.0.0 system
[Moto G 2015 Android Development] tzzeri:
Does this mod make the top speaker much louder than it'd be in a phone call? If so, would it eventually bust the speaker?
[Moto G 2015 Android Development] Gravemind2015:
It's louder during media playback, but there is a hardware limit to that & the mod stays inside it. For now it won't hurt the top speaker but pushing it too far would certainly break it.BTW, one shouldn't select the edition with highest volume if one plays media for a long time (this also can damage speaker).

Broadcasted from Zeta Reticuli
[Moto G 2015 Android Development] aSuperSaiyanG0D:
Quick question, to update do I just flash over the current version I have now? (Version 1.0)