• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Mod] [Ainur Audio addon] Ciaomeme Audio+ [09.09.2021 update]

Search This thread

hiepbg

Member
Jul 31, 2013
28
3
Recodring & Microphone+ functions do not work, or i do not feel any changes. Microphone of mi9t is still bad.
Xiaomi.eu lastest beta rom, android 10.
 

hockeyzmn98

New member
Nov 27, 2018
2
0
Installed everything with Magisk on MIUI 11.2 xiaomi.eu 20.1.9 and dual speaker did not work. Also, speaker phone disabled the microphone during a call. Cant seem to get this to work
 

I-Immortal

Senior Member
Nov 21, 2014
75
22
Lyon
I'm on Mi 9T Pro, MIUI 11.0.3.0 . I installed the zip through magisk manager but nothing seems to happen (mic gain is not higher and there's no speaker's stereo sound).

Do I need to install Ainur Sauron or Narsil first? By the way, I get the "cannot mount /dsp" when I install Sauron with magisk manager.
 

Anon404

Member
Sep 1, 2015
41
16
Cloudy
I'm on Mi 9T Pro, MIUI 11.0.3.0 . I installed the zip through magisk manager but nothing seems to happen (mic gain is not higher and there's no speaker's stereo sound).

Do I need to install Ainur Sauron or Narsil first? By the way, I get the "cannot mount /dsp" when I install Sauron with magisk manager.

Yup, no stereo speakers nor noticeable mic gain, you also lose microphone during loudspeaker calls even if you only select headphone jack gain during install. This mod is very much WIP and is provided for testing and feedback purposes mostly.

This mod doesn't require neither Sauron or Narsil to work, but you can use Narsil at the same time. Flash Narsil first then Ciaomeme and Audio Modification Library last, after the two mods.
 
Last edited:

jiraianam

Senior Member
Oct 14, 2016
94
15
Do not was fixed the microphone in K20 Pro/9T even if skip microphone patch that stop working microphone in speaker mode
 
  • Like
Reactions: javad79

Innocentius

New member
Jul 14, 2012
3
1
After fiddling with various "fixes" trying to install this mod and viper4android on .28 of miui12 eu rom Mi9T pro, I finally fixed it for good and this mod finally worked:

1.) Install Audio Compatibility Patch, Init.d injector, Busybox NDK and Audio Modification Library from magisk (just press vol down on all choices for compat patch). Don't reboot yet
2.) Install Android Q fix in OP
3.) Install viper4android and its drivers, reboot. At this point when you check V4A driver status, it will say abnormal and not activated
4.) Install SElinux Switcher and set SElinux to permissive (this is the most important part that will enable drivers in V4A along with ciaomeme)
5.) V4A should work at this point, Install ciaomeme+ mod.
6.) Install the convolver module for dual speaker mod if you are using it.

So far I've tested various audio modes and enhancements in V4A and it works even through bluetooth. Recording is fine too. I've yet to try the microphone in calls though.
 
Last edited:
  • Like
Reactions: testsemut

Sir_gpm

Senior Member
May 27, 2011
2,362
312
Managua
Xiaomi Poco F3
I'm in mi9t. Installed ciaomeme + narsil + aml, in Ciaomeme just activated first option and last one. The results is amazing but my speaker phone doesn't work. Any help? Or I have to live with it?
 

Animouse31

Senior Member
Aug 11, 2018
123
40
I wonder what will happen if I try to force install the mod in Redmi Note 5 (whyred)?

On a MASIK ROM.

I wonder if anyone tried?
 

64ashg

Senior Member
May 18, 2014
548
351
Redmi K20 Pro
Thanks for making this. My raphaelin has a bit different audio signature now, as compared to ainur narsil + viper4android on los 17.1 based rom and a vastly different sound signature from same mods in miui 12. Sticking to los17.1 for better object separation.

Thanks again, i bought this phone as soon as i got to know you had it and discovered you made something specifically for it a year later XD
 

Chan1809

New member
Nov 20, 2021
1
0
Wj7ifia.png
This mod is for xiaomi k20, k20 pro, k20 premium, mi9t, mi9t pro, mi9
I am not planning to make anything for any other device. I'm also not taking orders on features adding.
Mod might be unstable at this point


Features
- MMT-EX installer by @Zackptg5
- Support for [Ainur Audio] mods
- Various Q HAL config edits
- Companders turned off if no Narsil/Sauron detected
- Forced Hifi mode if no Narsil/Sauron detected
- Modular installer

- Headphone audio+
- Fully retuned system audio
- Attempt to eliminate midbass peak & Overall flatten response
- Slightly raised digital/analog gain

- Speaker stereo & audio+
- Full blast stereo mode
- Increased volume
- Retuned TFA amp
- Retuned speaker calibration
- 150hz cut off HPF for earpiece speaker

- Recodring & Microphone+
- Turned on ambisonic capture & audio zoom
- Fluence pro recoding mode
- Noise & Echo cancellation for DSP turned on
- Slightly upped volume for capture & noise suppressor




Installation
1. Mixer paths edits will take time during flashing - give it full time to finish them!
2. I advice to clean dalvik/cache after mod flashed, so that calibrations for Aqstic & TFA gets backed during bootup

Debugging
As with any other [AA] mod - make catlog if you booted, but lost sound
If you don't boot - make adb logs
If something happened during recovery flashing - ciaomeme_debug.log generated to sdcard (and don't send these for problems above)


I'm not granting any permission to reuse files provided in mod archive. They are easily trackable. If you think users of your rom might be interested in this mod - simply link back this thread.
Same for magisk - I'm planning to upload it to repo as soon as people on various devices test it out. Any kangs would be immediately issued to repo moderators.


Changelog:
Code:
09.09.2021
- mmtex canary magisk support

05.11
- Some props fixes
- ACDB updated
- Volumekeys addon upd

27.03
- MMT-EX installer support for magisk 20.4

04.03
- MMT-EX installer
- aml support update

03.01
- Unity installer v5 update

24.12
- Further fixes for 10 environment support

15.12
- Installation fixes for 10 support

05.11
- Critical fixes

04.11
- Critical bootloop fixes
- Overhaul to modular installer
- Stereo playback for notifications
- Voice messages recording fix
how i can use this
 

Top Liked Posts

  • There are no posts matching your filters.
  • 35
    Wj7ifia.png
    This mod is for xiaomi k20, k20 pro, k20 premium, mi9t, mi9t pro, mi9
    I am not planning to make anything for any other device. I'm also not taking orders on features adding.
    Mod might be unstable at this point


    Features
    - MMT-EX installer by @Zackptg5
    - Support for [Ainur Audio] mods
    - Various Q HAL config edits
    - Companders turned off if no Narsil/Sauron detected
    - Forced Hifi mode if no Narsil/Sauron detected
    - Modular installer

    - Headphone audio+
    - Fully retuned system audio
    - Attempt to eliminate midbass peak & Overall flatten response
    - Slightly raised digital/analog gain

    - Speaker stereo & audio+
    - Full blast stereo mode
    - Increased volume
    - Retuned TFA amp
    - Retuned speaker calibration
    - 150hz cut off HPF for earpiece speaker

    - Recodring & Microphone+
    - Turned on ambisonic capture & audio zoom
    - Fluence pro recoding mode
    - Noise & Echo cancellation for DSP turned on
    - Slightly upped volume for capture & noise suppressor


    ! IMPORTANT NOTICE !
    Mod is provided as is.
    If you experience crackling noises during speaker playback - lower the volume, or stop using this mod.
    I made everything to make it as safe as possible, but any modifications performed for speaker might decrease its lifespan.
    You have been warned. I'm not responsible for any damage that might occur to your device.

    Installation
    1. Mixer paths edits will take time during flashing - give it full time to finish them!
    2. I advice to clean dalvik/cache after mod flashed, so that calibrations for Aqstic & TFA gets backed during bootup

    Debugging
    As with any other [AA] mod - make catlog if you booted, but lost sound
    If you don't boot - make adb logs
    If something happened during recovery flashing - ciaomeme_debug.log generated to sdcard (and don't send these for problems above)


    I'm not granting any permission to reuse files provided in mod archive. They are easily trackable. If you think users of your rom might be interested in this mod - simply link back this thread.
    Same for magisk - I'm planning to upload it to repo as soon as people on various devices test it out. Any kangs would be immediately issued to repo moderators.


    Changelog:
    Code:
    09.09.2021
    - mmtex canary magisk support
    
    05.11
    - Some props fixes
    - ACDB updated
    - Volumekeys addon upd
    
    27.03
    - MMT-EX installer support for magisk 20.4
    
    04.03
    - MMT-EX installer
    - aml support update
    
    03.01
    - Unity installer v5 update
    
    24.12
    - Further fixes for 10 environment support
    
    15.12
    - Installation fixes for 10 support
    
    05.11
    - Critical fixes
    
    04.11
    - Critical bootloop fixes
    - Overhaul to modular installer
    - Stereo playback for notifications
    - Voice messages recording fix
    7
    Downloadable taken down untill further notice.

    A the moment NONE (including Narsil & Sauron) of Ainur mods working for selected meme devices running android 10. The bug is probably due to broken recovery. All the mixer edits are either skipped, or improperly applied, thus breaking structure, which leads to bootloop. This doesn't seem to be an issue on any other OEM. Probably have to wait till meme releases proper sources.
    6
    Found some workarounds & made fixes. This time thx to @RayInkube for staying with me and fixing all this crap. For some reason only stereo doesn't work for him.
    5
    Alright, so another try is in the OP.
    Basically what is going on is described here: https://github.com/topjohnwu/Magisk/issues/2109 . 10 has new place for some binaries, both twrp & magisk have issues using them during flashing. Twrp temporary fix is in the latest update, as of the magisk - you can try downloading and flashing Q fix in recovery & then trying to flash the mod with magisk after reboot (report if that'll work).