yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 Guides, News, & Discussion] Jonas G. Morsch:
BenParz, i can't thank you enough for this! the choppy audio after installing Viper was making me crazy.

I'm running Lineage OS 05/18/2019 + nano gaaps

After mess around with this modules i got other way:

1 . Install Audio Compatibility Patch. It now comes with a multi-option installer, so you want to Select NO to the first option then choose Vol + (Patch New Logic). Select NO to the second option and then use Vol - (remove Volume Listener Library). This is done so that your audio won't crackle. You can skip USB Dac if you're not using it and you should choose NO at the last option (library workaround).

2. Download and install Viper4Android 2.7.1 Magisk Module here: https://zackptg5.com/downloads/v4afx_v2.7.1.0.zip .

More info : https://xdaforums.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651

3. Fix BT:

a. Rename "audio_policy_configuration.xml" in "/sbin/.magisk/img/acp/system/vendor/etc/audio" to "audio_policy_configuration.xml.bak".

b. Copy the audio policy configuration xml file from "/sbin/.magisk/img/acp/system/etc" to "/sbin/.magisk/img/acp/system/vendor/etc/audio".

4. Go to ViperFx and install drivers, Viper will auto Reboot!

I'm probably cutting some corners here, but i got no problems at all this far.
[Xiaomi Poco F1 Guides, News, & Discussion] slimshouki:
Have you tried whatsapp voice notes?

Are they making crackling sound when app is minimized or screen is off while playing voice note?
[Xiaomi Poco F1 Guides, News, & Discussion] Forever Alone:
Thanks a lot for such an easy guide.
[Xiaomi Poco F1 Guides, News, & Discussion] BenParz:
Well, you can actually change the Bluetooth bitrate setting in developer options. Doing that allows me to use V4a on my sony BT speaker (which uses LDAC).
[Xiaomi Poco F1 Guides, News, & Discussion] Jonas G. Morsch:
Yeah, Whatsapp on Lineage crackles no matter what.

I'm dealing with this problem since my Zenfone 2 with Lineage 14 and no audio mod whatsoever, but never cared too much, because when i rarely listen Whatsapp audio files i do in foreground, and using the earpiece, . I also use telegram for 95+% off my conversations this days.
[Xiaomi Poco F1 Guides, News, & Discussion] Jonas G. Morsch:
Hi Again!

After some time of testing, i think i got it how to use Audio Compatibility Patch (1.7.3+) with Lineage OS properly on our device:

Skip audio_policy patching?

- No

Patch flags or remove selections?

- Remove (old logic)

If patched the audio gets worse/lower on speaker/jack.

Would you like to skip notification helper?

- No

Remove notification helper effect or volume listener library?

- Remove volume listener library

Would you like to skip usb policy patching for usb dacs?

- Whatever

Use library workaround?

- No

If used causes bluetooth routing problems.

No Audio Modification Library needed.

After this sequence, my earphones,bluetooth and speaker worked fine with ViperFX 2.7.1, especially the jack, witch was really quieter and muffed before.

Can you guys try it out?
[Xiaomi Poco F1 Guides, News, & Discussion] Nemuritor01:
AudioModificationLibrary (AML) has been updated to 2.4. we've also updated unity modules. Everything should work now. Viper, James, Sauron and DTS.

At least on latest MIUI pie betas there should be no Bluetooth bug or anything.

There was a question regarding viper and above 48k.

Viper can just process up to 48. We've released yesterday the new module with DTSultra port. This is capable of up to 96k.
[Xiaomi Poco F1 Guides, News, & Discussion] unikum111:
What about bluetooth on PE and other custom ROMs?
[Xiaomi Poco F1 Guides, News, & Discussion] Nemuritor01:
Maybe the bug was related to an older firmware. I have no clue, which firmware guys are using and on what the pe and other guys have based their ROMs on. But the failure is not from AML or something.

If you have the problem, you can delete the sbin/.magisk/modules/aml/system/vendor/etc/audio folder in AML magisk module. Then it should work.
[Xiaomi Poco F1 Guides, News, & Discussion] BenParz:
Post edited (added some additional notes).
[Xiaomi Poco F1 Guides, News, & Discussion] BenParz:
Have you guys tried clean flashing your ROM? It really helps if you do.
[Xiaomi Poco F1 Guides, News, & Discussion] timbuctoo:
These steps worked

Many thanks for your tip. Am confirming that these steps work like a charm without breaking Bluetooth (of course Viper randomly doesn't process audio, which is a well known bug without any known fixes yet). I didn't even have to copy the configuration files. Also, there is no need to install Audio Modification Library as well. I installed Ainur Sauron III, and it broke all audio (BT, speaker, headset and USB DAC) cribbing AML needs to be installed; so I uninstalled Ainur Sauron itself and things work well now.

---------- Post added at 01:43 AM ---------- Previous post was at 01:38 AM ----------

Do you have any other effect apart from Viper installed/enabled in parallel (Ainur Sauron etc.)? I'd recommend freezing (I use the SD Maid app for this), or completely uninstalling AudioFX. Also, if you're using Dirac Audio under Android Settings -> Sound menu, disable that as well (it's anyway effective only while processing wired audio).

Just have Viper (from XDA Labs) and Audio Modification Patch (from the Magisk Downloads section) installed and you should be good.
[Xiaomi Poco F1 Guides, News, & Discussion] Dorian57600:
:good:
[Xiaomi Poco F1 Guides, News, & Discussion] Mafioso:
Followed all the steps on clean install crDroid, its working fine without any issues. Thanks a lot :good:

On a side note, the new Viper app doesn't seem to support audio profiles like old one used to do. Is there any way to enable it ?
[Xiaomi Poco F1 Guides, News, & Discussion] BenParz:
Attached is the profile converter for the new material v4a 2.7.:)
[Xiaomi Poco F1 Guides, News, & Discussion] Dezqo:
Trying with ainur narsil
[Xiaomi Poco F1 Guides, News, & Discussion] :
ainur narsil link pls
[Xiaomi Poco F1 Guides, News, & Discussion] meistr91:
Hello! First of all I want to thank you for these wonderful tips! I have been struggling with getting viper to work via bluetooth since pie release and now it working in full power with combination of ainur sauron! Huge thanks mate!

Just as you stated and posted a viper profile converter, is it flashable via TWRP ? And how does it work? What other steps to convert a profile? Or this one of those flash and forget because all work will be done in the background without user interaction?

I have download some profiles from V4a profile updater TG chat, I have placed them in preset folder of v4a all of them shows up in speaker and headphones sections but not in bluetooth section. So i need to use this converter right?

And also if Im not asking to much could you provide tg chat link for viper support group? If only u dont mind, it would be really appreciated!
[Xiaomi Poco F1 Guides, News, & Discussion] mostafa asal:
Thank you soooooo much , i've been trying to figure out a fix for the mixture between ainur and dolby and i gave up.

But now , it works fine. Thanks again bro.
[Xiaomi Poco F1 Guides, News, & Discussion] efakkawy98:
Still not working

I don't know why this isn't working for me.

I retry this methods today 11/07/2019 but still I'm getting Viper Driver installation loop.

Please how do I get this to work????

I'm on latest MIUI.eu and Franco Kernel
[Xiaomi Poco F1 Guides, News, & Discussion] mostafa asal:
Try to remove all modules and follow the same steps exactly, i followed it and got dolby working on latest resurrection remix rom.
[Xiaomi Poco F1 Guides, News, & Discussion] efakkawy98:
I tried everything exactly, but whenever i opened viper it would say drivers not installed, if tap yes it will install and reboot and the same thing will happen whenever I opened viper
[Xiaomi Poco F1 Guides, News, & Discussion] ahdeean:
You can try this if u have root.

If it doesn't work, try set sauron/narsil useroption to default.

I am on aosip and optimus drunk kernel. Here is what i did:

Set Useroption (narsil) to default

Remove all audio mod on magisk

Reboot

Uninstall viper (because it doesnt work before)

Go to /system/priv-app/MusicFX/ and rename MusicFX.apk to MusicFX.apk.bak

Follow OP steps..

Reboot..

It is work for me..
[Xiaomi Poco F1 Guides, News, & Discussion] Echbryo:
Where can I find a dolby version that works?
[Xiaomi Poco F1 Guides, News, & Discussion] cattz86:
Any mirror for viper4android apk.i cant download it
[Xiaomi Poco F1 Guides, News, & Discussion] efakkawy98:
I tried everything still driver loop.................

MIUI.EU latest
[Xiaomi Poco F1 Guides, News, & Discussion] paarthkhatri:
So I tried this but i cannot find the img folder in the .magisk folder. Any help?
[Xiaomi Poco F1 Guides, News, & Discussion] Jonas G. Morsch:
Try this, you won't need to mess with files and the jack/speaker sounds a lot better:

https://xdaforums.com/showpost.php?p=79580854&postcount=18
[Xiaomi Poco F1 Guides, News, & Discussion] Mafioso:
Does anyone face that v4a stops working suddenly. v4a status says processing no and stays the same on enabling/disabling it, only fix is to restart the phone which also doesn't work sometime. Then it starts working again after a while. Earlier this thing rarely used to happen, but its happening lot frequently now especially on wired earphones. BT most of the times is fine.

Is there a fix for it or a better solution than restarting the phone?

I'm on crdroid BTW with ainur sauron ,audio modification library and audio compatibility patch applied along with v4a (as per guide) and use musicxmatch as music player..
[Xiaomi Poco F1 Guides, News, & Discussion] Mattari:
Fantastic!!!

The step 3 has been also useless, since my BTR3 works silky fine even without it!!!!

Thank you!!! :good::D
[Xiaomi Poco F1 Guides, News, & Discussion] Amstro:
Hi, thanks for the guide, followed all of the steps and installed Viper4Android, but when i get notifications the sound gets crackled. Music and video playback has no problems at all though, so i was wondering if there's a solution for it?
[Xiaomi Poco F1 Guides, News, & Discussion] paarthkhatri:
Yes, there is a solution to it. Just read the post above. There is a heading named "Bluetooth fix"
[Xiaomi Poco F1 Guides, News, & Discussion] Amstro:
These are all the steps that you did to remove the cracking sounds? You didn't install BusyBox?
[Xiaomi Poco F1 Guides, News, & Discussion] Jonas G. Morsch:
No BusyBox needed.

There is also another way that is working for me till now:
[Xiaomi Poco F1 Guides, News, & Discussion] mostafa asal:
A magisk module will do all the work
[Xiaomi Poco F1 Guides, News, & Discussion] YasuHamed:
is there a way to alter MIXER PATH file(s) in modified VENDOR images? to produce LOUD LOUDER music on earphone?

i used to do that on REDMI N5P but not on Poco and really miss that!
[Xiaomi Poco F1 Guides, News, & Discussion] tj65:
Hello, i'm searching for a way to enable V4A for my USB DAC (GGMM A1). I'm on 7.1.2 AOSP (AXON 7) and everything works fine except USB. Has someone a working solution?
[Xiaomi Poco F1 Guides, News, & Discussion] tj65:
Finally it works with JamesDSP! I tried different Roms. On 8.1 AOSP Extended ! without TREBLE ! it finally works! I can use the Headset preset and it works through my DAC. JamesDSP has much potential but in the moment V4A works better. Now i can hear with 192000Hz 24bit on my 1More Treble Driver Over ear.

I think V4A will never support DAC but it's good to have both V4A and JamesDSP
[Xiaomi Poco F1 Guides, News, & Discussion] Antidote03:
hello there

i hope someone answer my question

i wanna ask if here anyway or any trick to enable HD Audio driver (apt x/ SBC) for custom roms aosp based like " Havoc"

i have Bluetooth headset with viper 2.7.1.0

when i run viper in miui whatever beta 9.6.27 or stable 10.3.4.5 the sound is amazing and so much bass

but in AOSP based rom like havoc ,the sound is terrible specially the bass completely bad

is there i can fix this

i hope you got what i mean

thanks in advance

Sorry for my bad language
[Xiaomi Poco F1 Guides, News, & Discussion] Damoedge:
I'm interested in you setup mate as I have the 1more triple drivers too...so what Rom, kernel and audio mods do you have running to get this good base sound?

I've just read the post after yours that MIUI has the best sound but I don't want that Rom...

Thanks!

?
[Xiaomi Poco F1 Guides, News, & Discussion] buhanita:
I did all of that... Still the same problem... ViperFX works perfectly.. but camera don't. I have 2 camera apps, the stock one and Gcam. None of them works after installing viperfx.
[Xiaomi Poco F1 Guides, News, & Discussion] mogamycool:
Installing dolby atmos is ways better than Viper4Android. and It will not make distortion in Bluetooth earphones.
[Xiaomi Poco F1 Guides, News, & Discussion] caolan:
Is there any guide to install Dolby Atmos on Poco F1?

Enviado desde mi POCOPHONE F1 mediante Tapatalk
[Xiaomi Poco F1 Guides, News, & Discussion] mogamycool:
I did the same steps of the main thread but replaces dolby atmos with Viper4Android.
[Xiaomi Poco F1 Guides, News, & Discussion] vibrantliker:
Where did you find Dolby Atmos for Pie?

---------- Post added at 10:02 AM ---------- Previous post was at 09:47 AM ----------

Will the ACP mod help to stop random pops and other impurities I hear with streaming apps?

I use more high end headphones and good headphone amps. It feels when I listen through the headphone amp, I'll hear random crackles and pops.
[Xiaomi Poco F1 Guides, News, & Discussion] LJKz:
I have followed all the steps mentioned but my v4a doesnt seems like working. Does anyone have solution to solve it?
[Xiaomi Poco F1 Guides, News, & Discussion] marcdw:
Turn on Master Limiter and see if it works.

Moto G5s Plus XT1806, OmniROM 8.1.0, NanoDroid, MultiROM, XDA Legacy
[Xiaomi Poco F1 Guides, News, & Discussion] LJKz:
It works now after i have turned on n reboot, thank you
[Xiaomi Poco F1 Guides, News, & Discussion] euro_s-b:
Thanks for your helpful guide. I had some issues with boosted bass configuration in viper4android which dropped the volume on each audio sequence with more bass. It sounded very unnatural. For guys facing the same issue, my solution was to get rid of (uninstall in Magisk) Audio Compatibility Patch which caused my bass-boosted configuration to limit volume when more bass came in.
[Xiaomi Poco F1 Guides, News, & Discussion] TheKerevas:
Is the guide still valid? I still have problems with WhatsApp voice messages in the background that feel distorted :/
[Xiaomi Poco F1 Guides, News, & Discussion] Jongla:
I am having the same problem of dropped volume when the bass goes high.

I tried your solve, but no avail.

Right now I only have the V4A module installed and nothing else, but the volume throttle still happens.
[Xiaomi Poco F1 Guides, News, & Discussion] aarunsen:
Any possibilities without root?
[Xiaomi Poco F1 Guides, News, & Discussion] mostafa asal:
Yup still vaild
[Xiaomi Poco F1 Guides, News, & Discussion] euro_s-b:
I have Ainur Sauron, Audio Modification Library and V4A modules installed. Steps 3 - 5 from the OP. No idea whether Ainur Sauron has any effect at all, but with those modules the volume throttle has gone.
[Xiaomi Poco F1 Guides, News, & Discussion] TheKerevas:
Is there no way to solve my problem?
[Xiaomi Poco F1 Guides, News, & Discussion] Amstro:
This guide is amazing, thank you.

I do have a question though, V4A won't start processing when my phone is connected via Android Auto. Is there a way around this?
[Xiaomi Poco F1 Guides, News, & Discussion] nandakalyan:
Thanks for this guide, it helped me a lot! There is a catch though, after disconnecting a bluetooth device, V4a driver status shows 'unsupported' - kill V4a and restart fixes it though.

Question - with many ROMs including vendor firmware now, do I still need to do this procedure? Or is it moot? I know I can test and try but thought of asking before to of a wipe/flash/restore process. (I always clean flash)
[Xiaomi Poco F1 Guides, News, & Discussion] topbasework:
Any1 have good profile preset for v4a.

I want more bass
[Xiaomi Poco F1 Guides, News, & Discussion] Mafioso:
I think its something related to live display. For the last 2 months I was using crdroid v5.8 0919 build which had some issues with live display rendering it not to work. Interestingly on this build I had zero issues with viper. It was working flawlessly for past 2 months.

Now i flashed crdroid v5.10 and the same issue came back. I normally use digital wellbeing windown to turn on grayscale display at scheduled times. When it is turned on v4a stops working. To make it working again you have to have to restart phone back.

Turning live display off also isn't a sure shot fix, this issue comes back occasionaly although much less frequently.
[Xiaomi Poco F1 Guides, News, & Discussion] nitinvaid:
Hi there

i was using viper4audio from long time and now i got USB Type C DAC Meizu Hifi pro for my oneplus 7 Pro

I tried james DSP and its working but not the default viper4audio please suggest what needs to be done as i tried installing ACP also its not helping
[Xiaomi Poco F1 Guides, News, & Discussion] udtul:
Anyone can confirm android Q ROM with working JDSP.
[Xiaomi Poco F1 Guides, News, & Discussion] Performante:
Yes, I am running havoc Q with jdsp,seems fine
[Xiaomi Poco F1 Guides, News, & Discussion] :
but not working with q firmware
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
Will work. What rom you are on?
[Xiaomi Poco F1 Guides, News, & Discussion] hyper21:
Stuck on boot, bootloop, below steps 3 and beyond. Tested on Pixel Experience ROM 10 Poco F1
[Xiaomi Poco F1 Guides, News, & Discussion] rudolph323:
Thanks. This was very useful and everything is working.

On Nexus 7 2013 running LineageOS 17, Android 10.
[Xiaomi Poco F1 Guides, News, & Discussion] schubeir:
Hi All,

I am on Stock POCO F1, MIUI 11.0.6.0 STABLE. ANDROID 10.

How can I have better sound through headphones, wired or Bluetooth?

Please help with links, instructions (which can be easily followed by a noob).

thanks

schubeir
[Xiaomi Poco F1 Guides, News, & Discussion] Amstro:
I can’t seem to get Ainur Sauron to install. I’m running the latest PE10 which has the included firmware.
[Xiaomi Poco F1 Guides, News, & Discussion] Amstro:
How can you make ViPer work for Android 10?
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
I'm using miui eu 11.0.6.0. The method now is easier.

Just install the latest viper 2.7 1.6 and voila.
[Xiaomi Poco F1 Guides, News, & Discussion] Amstro:
No magisk modules?
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
With magisk of course.
[Xiaomi Poco F1 Guides, News, & Discussion] Amstro:
What modules did you use?
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
For viper module, it's viper4android fx v2.7.1.6.

It came after I choose to install the driver in viper app.
[Xiaomi Poco F1 Guides, News, & Discussion] Amstro:
Does it work consistently or does it need the Master Power a little toggling to make it work?
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
Ya. It work consistently, just that I tweak phone speaker, headset, bluetooth setting in the viper to make sure they reach my expectation. Once done, then everything is easy. Lol
[Xiaomi Poco F1 Guides, News, & Discussion] Amstro:
I need to toggle the Master Power everytime sadly, i'm using PE10+, i just installed ViPer no other modules, i don't know what's wrong.
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
What do you mean every time?

Every time when you reboot phone? Probably can try to lock the app, whitelist viper from auto start, auto clean, greenify or any apps what will close apps automatically?
[Xiaomi Poco F1 Guides, News, & Discussion] Amstro:
I mean when i try to listen to Spotify for example. First i need to open Spotify and play a song, pause it, open ViPer, toggle the Master Power off and on under Headphones, then play the song on Spotify again to make the mod work.

ViPer isn't restricted by any app what so ever though.
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
Hmm, not sure what's the issue though. I never use Spotify before. Lol
[Xiaomi Poco F1 Guides, News, & Discussion] Cbro0345:
I've managed to complete (a.) and rename the file.

(b.) When i try and find the APC xml file from "/sbin/.magisk/img/aml/system/etc" the only file listed is audio_effects.conf. There are no APC files in this folder for me even when i enable "show hidden files"

what should i do?

Thanks
[Xiaomi Poco F1 Guides, News, & Discussion] nandakalyan:
I used this guide to install ACP and JamesDSP and it worked before. But with ROMs that have 11.0.9 blobs, no audio mod works anymore. Neither V4A nor JamesDSP. It all works on the earlier (June) versions of the very same ROMs. Tried on Lineage based ROMs, CAF and AOSP, same result
[Xiaomi Poco F1 Guides, News, & Discussion] adam8976:
I only satisfy with this if the someone is provided me the best music from youtube that I converted it in to audio like https://convertidor.live/ did.
[Moto M Questions & Answers] Tahirasif31:
after factory reset xt1662 lost his imei number baseband is ok i check with all supported professional devices avenger, sigma, gc pro but still on invalid imei.. i know it can be repair with maui tool but i dont have dabase file of xt1662 nor available on google... google have only xt1663 database file.. need help please
[Huawei Mate 20 Pro Questions & Answers] drmspidi:
I saw on the internet that Mate 20 Pro staring version 195 can take AI Color in still pictures. I'm on 210 but can't find this opinion for the still pictures, have any one the same issue ??
[Huawei Mate 20 Pro Questions & Answers] chewdaniel:
you need to be on a firmware with Camera version .309 or .312
[Huawei Mate 20 Pro Questions & Answers] jizang:
Is there a apk for the camera version you posted?
[Huawei Mate 20 Pro Questions & Answers] sille:
where can i do that for normal photos? i just see it for videos
[Huawei Mate 20 Pro Questions & Answers] agamahendra:
use video ai color filter then take the picture there while recording..
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
Android Open Source illusion Project

/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/

"AOSiP stands for Android Open Source illusion Project. We are an AOSP based custom ROM, twisted with the latest features from all over the Android development community. Quality and stability is our first priority as we are dedicated to bringing you the best Android has to offer.

AOSiP brings you the most wanted features, while keeping speed and stability our top priority.

AOSiP features multiple customization options, so your phone can look the way you want it."

Instructions :

Follow guide by davidrocher: https://github.com/tkchn/daisyinstall

This ROM now supports OTA!

Please follow these steps to set it up:

Go to Settings --> System --> AOSiP Updater

Tap the 3 dots on the top right, go to presets and tap on update channel

Enter the following URL:

https://raw.githubusercontent.com/opal06/api/master/daisy.json

Tap ok and go back. Now you should get future updates over OTA.

Note: Please refer to this to retain TWRP and Magisk during OTA process.

Downloads :

Download from Sourceforge

Old versions on MEGA

Open GApps

Kernel Source

Device Tree

Have fun!

XDA:DevDB Information

AOSiP, ROM for the Xiaomi Mi A2 Lite

Contributors

opal06, 33bca

ROM OS Version: 9.x Pie

ROM Kernel: Linux 3.x

ROM Firmware Required: >10.0.3.0

Based On: AOSP

Version Information

Status: Stable

Stable Release Date: 2019-05-12

Created 2019-05-12

Last Updated 2019-08-19