[Xiaomi Mi A1 Themes, Apps, and Mods] Dante63:
Hello Everyone,

I hope you all are great...

​

I have received a post on my thread requesting a soundmod for Xiaomi mi A1 - Android Oreo Jan Patch - from user laugeek57

After providing me the files he changed his mind...

But Big Thanks go XDA Rajeev for his time in testing...

a memebr requested for Mic Fix robby_tan, so I made a Mic Fix Only...

The Question is, should I add it to the DualSpeaker...? is it an issue...?

PLEASE GIVE ME YOUR FEEDBACKS IN ORDER TO IMPROVE THE MOD...

Dualspeaker Soundmod tutorial can be found here... ​

!!! ALWAYS MAKE BACKUP OF YOUR FILES BEFORE REPLACING THEM !!!

No worries if you forgot to backup, I have uploaded the backup just in case...

DUALSPEAKER includes ALL, for Buzz Fix or Mic Fix or Both, go into its corresponding Folder...

---> If you install two mods, they will overwrite each other, simply because they are targeting the same file, so choose only one, if you want something, request it...

***** : stands for DUALSPEAKER or MicFix or Mic_And_Buzz_Fix...

Just extract the "Xiaomi_Mi_A1_*****.zip" and get the mixers and place them in your

(system/etc) for Nougat or (system/vendors/etc) for Oreo &

IMPORTANTLY set mixer permissions to 644 (rw-r--r--) ...

reboot...

or

Flash "OREO_TWRP_Xiaomi_mi_A1_*****.zip" or "NOUGAT_TWRP_Xiaomi_mi_A1_*****.zip" according to your device, it will place backup of original mixers and replace current mixers with Modded mixers...

Stable - Tested by members in this thread

or

Use the Magisk Module "OREO_MAGISK_Xiaomi_mi_A1_*****.zip" or "NOUGAT_MAGISK_Xiaomi_mi_A1_*****.zip" according to your device

Stable - Tested by members in this thread

Let me know if you face any issues...

Google Drive: Xiaomi Mi A1 - DualSpeaker/BuzzFix

--- BIG THANKS TO black_arashi for providing me logcat of whatsapp and a recorded video of what happens when playing voice note, Fixed sound issue, some apps you'll hear dualspeaker & some single speaker, it's kernel related issue, not in my hands...

--- Big THANKS go to XDA amarbajpai for his time in testing for buzz sound fix in headphones...

IMPORTANT NOTICE:

This MOD can be used with Equalizers, but this mod sets the phone to the loudest balanced volume gain...

Using Equalizers might cause crackles and noise which damage your earpiece if you don't fix it, to fix it either you adjust the other MOD settings by reducing the boost

or Adjusting my MOD by Opening Mixer_paths_mtp.xml and edit value 84 to 80 or less for earpiece and values for 5,56 (you may not need to change these) are for speaker,

change at your own risk, eleminate all crackles and noises...

Each Device and brand have different SAFE LEVELS however things to Consider:

--- for earpiece: upto 10 value increase is safe ( value 84 to 94 or 95 is Safe)

--- for Speaker: upto 10-20 gain and 1-2 value increase are safe (value 56 to 66-76 and 5 to 6-7)

Keep in mind increasing the volume will cause you issues when using it with other sound mods such as Viper, Dolby, etc...

<path name="speaker">
........................................................................
<ctl name="Speaker Volume" value="5" /> <!--speaker-->
<ctl name="Digital Gain" value="56" /> <!--speaker-->
........................................................................
<ctl name="RX1 Digital Volume" value="84" /> <!--earpiece-->
........................................................................
</path>

The BuzzFix: It Significantly reduces the Buzz, not eliminate it completely due to "impedance" can't be modified through the mixers, you should hear it very less as reported by the tester...

--- for headphones: default was 84, it was decreased to 65 to reduce unwanted buzz as tester mentioned "The Volume in headphones is very loud at mid point, so max volume is a very rare case for someone to use...", you may raise it but not more than 90 but you'll bust your ear as it's very loud you'll also hear & I quote "LOUD HUMMING BIRDS CHIRPING IN YOUR EARS", raising the Volume will raise the Buzzing sound as well...

<path name="headphones">
........................................................................
<!-- Possible Fix for headphone buzz/hissing sound XDA-Dev Dante63-->
........................................................................
<ctl name="RX1 Digital Volume" value="65" />
<ctl name="RX2 Digital Volume" value="65" />
<!---->
........................................................................
</path>

Another BIG THANKS TO black_arashi for the Images...

Don't Forget to say :good: THANKS :good: ...

And Please, your Feedbacks are important for futuristic updates to improve the MOD...

​