[Xiaomi Redmi 4X Themes, Apps, and Mods] shohabmsk:
Any damages of hardware or software if happen, I'm not responsible. I'm using it with sound mods, all are still stable and fine. But you are warned!..

Also this thread and whole modifications are written by my personal experiences, all the features, testing and working things. Some info can be wrong. I'm still learning.

Updated: 11th January, 2019. Thread expired, update may come soon. Don't follow these for now.

Hi. I've been on personal sound modding for a while and made a few successful attempts. The most important thing I've done is this one. This 24 bit sounds incredible, until I've found the Ainur Sauron manual modifications, sounds even better. I'll give everything simply here.

Flashing and Instructions:

MIUI - View attachment 4645100

Others: I'll update soon.

Optional(

confirmed by me fully

):

Check this post -

MIUI Sound Mod

for the best ever sound experience in MIUI(with other mods). All have been tested by me.

Optional 2:

Flashing Ainur Sauron mod with few modifications (MIUI):

Extract and copy any(48khz is recommended) sauron_useroptions file from this zip - View attachment 4645096 in the root directory of your internal storage (not in any folder).

Install Ainur Sauron in magisk.

Details:

Ainur Sauron sound mod is different. You won't see any app or UI, but you will feel massive differences in sounds. As it's name driven from Sauron, the all seeing evil (you can't see him, he will see you). It has few great features which can be only enabled manually. I enabled these- qcom Audiosphere, Shoebox, and 24 bit(only changing here I didn't see changes in terminal too, so I still modified my files. But check by yourselves).

You can also check all of the options in sauron_useroptions and enable manually. Now I'm using 96khz(check MIUI mod), aptx, impadence of earphone(power output through the jack) too. I still haven't found mass differences in these, needs testing, but I think some of it's working.

I've found installing this with 24 bit enabled makes sound stable and more beautiful.

If you face any problems(may not applicable to post 13):

1. Uninstall all sound mods previously in magisk, reboot(?), install 24 bit, install Ainur Sauron (if you want), reboot(?), install your desired sound mod.

2. Getting 44100 hz sampling rate? Install viper4android later.

3. Make a clean install, without any other sound mod(for the best experience, if any sound mod interfering with these). The mods provided here, are working fine, if you didn't mess up with anything.

4. Don't remove or patch deep buffer. Also don't use audio compatibility patch. - I don't know much why sounds different.

Checking:

While playing a audio, check in this kind of paragraph in any terminal emulator saying - Standby as no.

su
dumpsys media.audio_flinger

Example 16 bit,

View attachment 4638250

Example 24 bit,

View attachment 4645108

If the HAL and processing format is pcm24, then it's perfectly working. If any music player uses directly 16 bit output in own state, this may not work. Tested with Sony music player, MX Player with video(no sw audio rendering), works fine. Also test gaming. Feel the sound too.

***I only increased default speaker and earphone/headset output. Bluetooth, cast, sink(?) etc may use 16 bit. No support from me now, there's a reason.

Every notes and details will be noticable, just keep listening quietly. You will find nothing missing in your music sound when you hear, if it works.

Try with full sound.

I didn't increase telephony output, not now. It will show as pcm16. Didn't try to increase the sampling rate, really unnecessary as in this way, but in Ainur Sauron, seems fine. Thought of 32 bit, but we, human can't understand difference between 24 and 32 bit audio.

Lastly few talks: Our phones speaker isn't made for 24 bit output, but it works fine, though has side effects, you will find out*. With earphone/headset, sound perfectly fine.

There will/may be incompatibity with any sound mod, but they will/may work fine, you will find out*.

The difference in overall sound is noticable a lot. There will be change in sound volume and range, you will find out*. It's really astonishing, where its the default output. It's real. You will find out*.

Also, headache issue because of hearing, it's also different. You will find out*.

*when you hear...

I've a hard schedule, I may update this thread with details later.

And lastly, you will feel the power of the sound your phone can produce.