[MOD][OPTIMIZED][MIUI/Custom][Pie and Q] Viper4Android for Xiaomi MI9SE - Xiaomi Mi 9 SE Themes, Apps, and Mods

Hello again!
I'm here to present you my latest work in audio mods.
This solution requires only to have Magisk and root installed.
So,let's get started:
WHAT YOU NEED TO KNOW
This is the official procedure to install Viper4Android for both Pie and Q, and it's recommended to use in conjunction with my other mod (You'll find the thread in this section of the XDA Forum)
INSTALLATION (for both custom rom and MIUI)
- Download the APK of Viper4Android from here: https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
- Install it but DON'T OPEN IT YET.
- Install the zip via magisk and reboot again
- Open Viper4Android app
- Install Drivers
- Reboot
- Enjoy
Thanks to @Team_DeWitt for the audio mod and to all of the testers that helped me write all of the DDC's, Kernels and presets.
Enjoy!

I got loop, is not opening and every time it asks for driver installation, i am doing everything properly.

Octainebg said:
I got loop, is not opening and every time it asks for driver installation, i am doing everything properly.
Click to expand...
Click to collapse
I updated the guide.
Please, uninstall and follow It First. Then, tell me if everything Is working.
Thank you!

deleted

deleted

Related

Viper4Audio issues

I'm having some issues getting Viper to work on my N5X running 0409 CM13 nightly.
I have busybox (the recommended one from the material Viper thread), SELinux is Permissive (set through SELinuxModeChanger) and the app has root access (just CM root though, not SuperSU, as installing that got me in a bootloop).
Whenever I try to install it takes a long while and the app stops responding but after ~2 minutes I get the "instalation successful" message and prompted to reboot. Upon reboot I get the initial prompt to install/update driver, as if it wasn't installed.
What's going on? Thanks!
standard installation of v4a doesnt work anymore with nexus 6p/5x bec of the vendor file so dirty flash your rom + gapps + whatever mod you have except for any audio mods then go to http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137
and flash ViPERAtmos 4.8 Sony Beats Edition.zip then follow http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137/post66295480#post66295480 to make soundcloud and other apps get processed with viper/pulse (if your rom has pulse)
Abaddon said:
standard installation of v4a doesnt work anymore with nexus 6p/5x bec of the vendor file so dirty flash your rom + gapps + whatever mod you have except for any audio mods then go to http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137
and flash ViPERAtmos 4.8 Sony Beats Edition.zip then follow http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137/post66295480#post66295480 to make soundcloud and other apps get processed with viper/pulse (if your rom has pulse)
Click to expand...
Click to collapse
Thanks! Does CM13 have pulse? And what is it?

[x Force] Installing Magisk Root & Universal Systemless Interface

Had issues installing the latest SuperSU, turns out an old version needs to be installed then updated
Found no mention of Magisk and the x Force so gave it a try. Works beautifully and just wanted to share
This is what I did for reference
Download:
Latest Magisk zip from here
Latest Clark TWRP from here
Have a clean boot, bootloader and system image see this guide here - Also follow this guide for obtaining adb/fastboot if you don't already have it
Copy the Magisk zip to your SDcard
reboot into fastboot either by holding the power button and volume down when booting or via adb
Code:
adb reboot fastboot
Temporarily boot into into TWRP
Code:
fastboot boot C:\twrp-3.0.2-0-clark.img
Select the install option, then navigate to the Magisk zip file. Swipe to install. Wait
Reboot
Install the Magisk app from the play store - official guide said there would be a stub app but i didn't encounter
Reboot again to get Super user access - Note: you can install modules like xposed at this point through the app.
Thankfully my banking app tap to pay works when used with Magisk Hide enabled on it so I am very pleased
JimyKK said:
Had issues installing the latest SuperSU, turns out an old version needs to be installed then updated
Found no mention of Magisk and the x Force so gave it a try. Works beautifully and just wanted to share
This is what I did for reference
Download:
Latest Magisk zip from here
Latest Clark TWRP from here
Have a clean boot, bootloader and system image see this guide here - Also follow this guide for obtaining adb/fastboot if you don't already have it
Copy the Magisk zip to your SDcard
reboot into fastboot either by holding the power button and volume down when booting or via adb
Temporarily boot into into TWRP
Select the install option, then navigate to the Magisk zip file. Swipe to install. Wait
Reboot
Install the Magisk app from the play store - official guide said there would be a stub app but i didn't encounter
Reboot again to get Super user access - Note: you can install modules like xposed at this point through the app.
Thankfully my banking app tap to pay works when used with Magisk Hide enabled on it so I am very pleased
Click to expand...
Click to collapse
Hi can I ask if using magisk to root will android pay then work because I have rooted in the normal way and root is detected on android pay app.
sam00561 said:
Hi can I ask if using magisk to root will android pay then work because I have rooted in the normal way and root is detected on android pay app.
Click to expand...
Click to collapse
Maybe™
My banking app uses google's inbuilt SafteyNet library to detect root and from my understanding that is also how android pay works as well. Magisk's hide function seams to bypass this detection even though on the main screen of Magisk management app the SafetyNet check fails.
For this procedure is necesary unlock the bootloader?
Cameronbrujah said:
For this procedure is necesary unlock the bootloader?
Click to expand...
Click to collapse
Absolutely it is !!!
You are rooting your phone.
BTW, I've been running Magisk on CrashXXLs ROMs since they first appeared last summer. There is a Magisk module available to allow the ROM to pass SafetyNET.
Yemble said:
Absolutely it is !!!
You are rooting your phone.
BTW, I've been running Magisk on CrashXXLs ROMs since they first appeared last summer. There is a Magisk module available to allow the ROM to pass SafetyNET.
Click to expand...
Click to collapse
Thanks a lot for your prompt response!!!
I'll do it.
Cameronbrujah said:
Thanks a lot for your prompt response!!!
I'll do it.
Click to expand...
Click to collapse
With the very latest CrashXXL ROM from a few days ago, Magisk 14.0 passes SafetyNET without the need for any additional modules, or at least it does on my EU xt1580 :good:
If you are coming from stock MM-6.01 on the X-Force, I can strongly recommend the CrashXXL 7.0 ROM as it is rock solid, works with TWRP and has auto-updating disabled (which is a good thing if you don't want to accidentally brick your rooted phone). Moto are not really supporting the X-Force, so there is absolutely no reason to stick with stock as there will be no official Oreo update.
Your other option is (unofficial) LineageOS, however, when I tried it a few weeks ago, I found it extremely unstable, particularly when running TomTom! Therefore, I cannot recommend LineageOS for the X-Force.
Yemble said:
With the very latest CrashXXL ROM from a few days ago, Magisk 14.0 passes SafetyNET without the need for any additional modules, or at least it does on my EU xt1580 :good:
If you are coming from stock MM-6.01 on the X-Force, I can strongly recommend the CrashXXL 7.0 ROM as it is rock solid, works with TWRP and has auto-updating disabled (which is a good thing if you don't want to accidentally brick your rooted phone). Moto are not really supporting the X-Force, so there is absolutely no reason to stick with stock as there will be no official Oreo update.
Your other option is (unofficial) LineageOS, however, when I tried it a few weeks ago, I found it extremely unstable, particularly when running TomTom! Therefore, I cannot recommend LineageOS for the X-Force.
Click to expand...
Click to collapse
actually I have Nougat 7.0 Official and only for the moment I will to root the phone. In a near future, of course I will change the ROM to the CrashXXL
Thanks a lot for all your help.
Regards from Mexico!
And how are we gonna unlock the bootloader?
Is there a way to do that?

root, custom kernel and custom rom

Hi , i'm a little lost about installing a custom . I know i have to root my phone and install TWRP to flash the custom ROM but what about the custom kernel ?
Thanks
well u must know that if u just backed up drm keys and unlocked bootloader, after installing twrp and reading the log u can see that it says "Kernel does not have support for reading SELinux context" this means that kernel does not support selinux so u must change the kernel i recommend to get the kernel from this thread: https://forum.xda-developers.com/z5-premium/development/safetynet-stock-kernel-twrp-magisk-t3621404
then u must choose the google drive link then depending on ur model choose single or dual then flash the kernel via fastboot then boot into recovery and install the ROM and Open GApps (ARM64) u like in my case i installed Mokee because it is the only one with official support and always updated with latest security patches the only problem is that it include xposed and u wont be able to bypass SafetyNet and if u open online games the phone crashes and reboots
if u want to install mokee go this link (even if it says dual it supports all Z5P models): https://download.mokeedev.com/?device=satsuki
LastDarkWarlord said:
well u must know that if u just backed up drm keys and unlocked bootloader, after installing twrp and reading the log u can see that it says "Kernel does not have support for reading SELinux context" this means that kernel does not support selinux so u must change the kernel i recommend to get the kernel from this thread: https://forum.xda-developers.com/z5-premium/development/safetynet-stock-kernel-twrp-magisk-t3621404
then u must choose the google drive link then depending on ur model choose single or dual then flash the kernel via fastboot then boot into recovery and install the ROM and Open GApps (ARM64) u like in my case i installed Mokee because it is the only one with official support and always updated with latest security patches the only problem is that it include xposed and u wont be able to bypass SafetyNet and if u open online games the phone crashes and reboots
if u want to install mokee go this link (even if it says dual it supports all Z5P models): https://download.mokeedev.com/?device=satsuki
Click to expand...
Click to collapse
I installed successfully Mokee thanks.
Did you manage to install Sony apps or restore drm functionality like x-reality ? Thanks
typhon0 said:
I installed successfully Mokee thanks.
Did you manage to install Sony apps or restore drm functionality like x-reality ? Thanks
Click to expand...
Click to collapse
well u can install sony apps with a Magisk module called "Sony Apps Enabler" install the module, reboot phone and delete Playstore data
about the DRM functionality u can flash Zach's kernel but its only available for Unlocked Stock 32.3.A.0.376 even tho in the post it says the dev is making this kernel to work with custom ROMS comming soon: https://forum.xda-developers.com/xp...ernel-zachs-kernel-playground-z5-wip-t3340725
but u can recover good audio functions by installing this mod: https://www.mediafire.com/file/1jwsked0y4853td/Z5-6.0.1-ALL+In+One+Mod+V3.0.zip
and Viper4Android: http://www.mediafire.com/file/xonl4jha2e4vez1/ViPER4Android_FX_v2505.zip
flash the mod via recovery then reboot phone and install Viper4Android apk once u open it a window of installing the driver will appear, press Yes, the app will freeze but dont close it beacuse the installation is in progress, once driver is installed reboot phone and configure in the app, i recommend to enable everything except reverberation and speaker optimization (this one is bc if u enable speaker optimization audio loses some volume power)
LastDarkWarlord said:
well u can install sony apps with a Magisk module called "Sony Apps Enabler" install the module, reboot phone and delete Playstore data
about the DRM functionality u can flash Zach's kernel but its only available for Unlocked Stock 32.3.A.0.376 even tho in the post it says the dev is making this kernel to work with custom ROMS comming soon: https://forum.xda-developers.com/xp...ernel-zachs-kernel-playground-z5-wip-t3340725
but u can recover good audio functions by installing this mod: https://www.mediafire.com/file/1jwsked0y4853td/Z5-6.0.1-ALL+In+One+Mod+V3.0.zip
and Viper4Android: http://www.mediafire.com/file/xonl4jha2e4vez1/ViPER4Android_FX_v2505.zip
flash the mod via recovery then reboot phone and install Viper4Android apk once u open it a window of installing the driver will appear, press Yes, the app will freeze but dont close it beacuse the installation is in progress, once driver is installed reboot phone and configure in the app, i recommend to enable everything except reverberation and speaker optimization (this one is bc if u enable speaker optimization audio loses some volume power)
Click to expand...
Click to collapse
To restore audio processing I found this if your are interested : https://forum.xda-developers.com/cr...t-sony-xperia-xz2-sound-enhancements-t3772758
And for the camera are you using something specific or the base one from mokee.?
typhon0 said:
To restore audio processing I found this if your are interested : https://forum.xda-developers.com/cr...t-sony-xperia-xz2-sound-enhancements-t3772758
And for the camera are you using something specific or the base one from mokee.?
Click to expand...
Click to collapse
for the camera im using mokee one, i tried using google camera but when i tried to record vids i couldnt while in base camera u can record vids with no problems however an alternative u can use is to use OpenCamera: https://play.google.com/store/apps/details?id=net.sourceforge.opencamera
btw the XZ2 audio is good but there is a problem and its when u put music on, it doesnt let u to lower the volume and audio its at max volume even if u mute it so im staying with my current audio mod since its ore stable

Anyone get Viper4Android to Work on Q?

Before I go back to 9.0.0, i figured i would ask....
Anyone get Viper4Android to install properly on Q?
I tried the latest Viper Magisk Module v1.4.2 i think... Magisk completed the installation but after reboot, Viper is requiring Drivers to be installed. So i install the Drivers, which took longer then normal, reboot and BAM! Viper needs to install Drivers on your device.
So Q doesnt seem to wanna play well with the Viper drivers.
And i tried installing Busybox for ****s and giggles and install fails in Magisk....
Thanks in advance for any assistance and/or **** head comments,
T
HACK3DANDR0ID said:
Before I go back to 9.0.0, i figured i would ask....
Anyone get Viper4Android to install properly on Q?
I tried the latest Viper Magisk Module v1.4.2 i think... Magisk completed the installation but after reboot, Viper is requiring Drivers to be installed. So i install the Drivers, which took longer then normal, reboot and BAM! Viper needs to install Drivers on your device.
So Q doesnt seem to wanna play well with the Viper drivers.
And i tried installing Busybox for ****s and giggles and install fails in Magisk....
Thanks in advance for any assistance and/or **** head comments,
T
Click to expand...
Click to collapse
Try using this viper apk, it generates a magisk module when you reboot the phone. In the latest update post, OP says:
The compatibility mode switch has been added back. This seems to be mandatory for car mode and some android q builds.
Click to expand...
Click to collapse
Worth a try
TENN3R said:
Try using this viper apk, it generates a magisk module when you reboot the phone. In the latest update post, OP says:
Worth a try
Click to expand...
Click to collapse
Yea thanks for trying but no go. The apk did install the Magisk Module, Drivers took 2-3 times but finally took. Driver Status is all NOs and Unsupported Sometime soon i'm sure...

Question V4A working yet?

Has anyone gotten viper4android to work on 9pro global yet? I've tried several versions with no luck.
Yes, you just need to install the "Ainur Narsil" and "Audio Mod Library" modules in magisk first. Reboot, then install viper. Good luck!
hllywd said:
Has anyone gotten viper4android to work on 9pro global yet? I've tried several versions with no luck.
Click to expand...
Click to collapse
There is a thread in here in reference to this very topic. You have to install more than just Viper to get the drivers to install. The thread I referred to says to install JamesDSP, reboot, install the DeWitt version on the Viper app (2.7.2.1 I think) it'll prompt you to install the drivers, reboot and done. I had mixed results with this method, sometimes the processing would just stop, start, stop....
I install AML v4.0 first, install Ainur Sauron, reboot, install Viper apk, the drivers, reboot, Dolby Digital Plus reboot and done. You can remove the Ainur Sauron module after all that if your so inclined, the Dolby Digital Plus isn't necessary either but it all works flawlessly.
Install in order
Viper4androidFX via Magisk
Reboot
Audio Modification Library via magisk
Reboot
Push the file (extract from the zip) to data/adb/modules/ViPER4Android/ that i have uploaded and set permission 644
(it should now be data/adb/modules/ViPER4Android/post-fs-data.sh)
Reboot
Open viper, set to legacy mode, then check if status is now normal
Amazingly this has been working on all my phones with A11
This is the process that worked for me:
Uninstall any previous versions of Viper and other audio mods
Install SELinuxModeChanger or use another method to change your SELinux to permissive
Install Audio Modification Library from Magisk > Reboot
Install Audio Compatibility Patch from Magisk > Reboot
Install Viper4Android 2.7.2.1 from Magisk > DONT REBOOT
Open the newly installed Viper app and download the drivers > Reboot
Open Viper and hit the Settings in the top right
Turn on Legacy Mode
Good Luck
stryver said:
Yes, you just need to install the "Ainur Narsil" and "Audio Mod Library" modules in magisk first. Reboot, then install viper. Good luck!
Click to expand...
Click to collapse
This worked for me! I had to disable AML, reboot, re-enable, reboot as additional steps but got it working at the end of the day. Thank you a ton for this, I've been trying to get V4A to work ever since I got this phone. JamesDSP works and has been fine but I much prefer the UI of V4A.
Seems like the EQ isn't doing anything but the master limiter seems to increase the overall volume so that's a good sign.
Thanks again!
How about full dolby atmos (not talking about dolby digital Plus). Has somebody managed to get it work finally ?
Is it possible to install V4A with SELinux enforcing?
ahh123 said:
Is it possible to install V4A with SELinux enforcing?
Click to expand...
Click to collapse
Pretty sure you need it set to permissive to install but then you can reset it back to enforcing after install is complete. That's what I did anyway
ahh123 said:
Is it possible to install V4A with SELinux enforcing?
Click to expand...
Click to collapse
Yep. It certainly is. A lot of what people are recommending to do are extraneous and unnecessary.
stryver said:
Yes, you just need to install the "Ainur Narsil" and "Audio Mod Library" modules in magisk first. Reboot, then install viper. Good luck!
Click to expand...
Click to collapse
This one worked for me thanks
HessNL said:
This one worked for me thanks
Click to expand...
Click to collapse
Would you be so kind and post a link what version on v4a did you install?
One more question z before I screw up something
To install v4a:
1. Install Ainur Narsil in magisk,
2. reboot.
3. Install Audio Mod Library
3. Reboot
4. Install v4a
is it correct?
bamemanxxa3416 said:
This is the process that worked for me:
Uninstall any previous versions of Viper and other audio mods
Install SELinuxModeChanger or use another method to change your SELinux to permissive
Install Audio Modification Library from Magisk > Reboot
Install Audio Compatibility Patch from Magisk > Reboot
Install Viper4Android 2.7.2.1 from Magisk > DONT REBOOT
Open the newly installed Viper app and download the drivers > Reboot
Open Viper and hit the Settings in the top right
Turn on Legacy Mode
Good Luck
Click to expand...
Click to collapse
How I did it but still needed to modify the data/adb/modules/ViPER4Android/post-fs-data.sh upon subsequent tries after removing magisk and reinstalling.
stryver said:
Yes, you just need to install the "Ainur Narsil" and "Audio Mod Library" modules in magisk first. Reboot, then install viper. Good luck!
Click to expand...
Click to collapse
Thx, working perfect thanks to your info
Flying Fox said:
Thx, working perfect thanks to your info
Click to expand...
Click to collapse
Nada... Can't make it to work.
Installed everything in your post. Need help guys.
netgar said:
Nada... Can't make it to work.
Installed everything in your post. Need help guys.
Click to expand...
Click to collapse
Switch to legacy mode in settings
Flying Fox said:
Switch to legacy mode in settings
Click to expand...
Click to collapse
Ok, made it work.
Thank you
Now I have another problem.
For some reason v4a doesn't see my presets in viper4android.
Any suggestions?
netgar said:
Ok, made it work.
Thank you
Now I have another problem.
For some reason v4a doesn't see my presets in viper4android.
Any suggestions?
Click to expand...
Click to collapse
Anyone was able to run presets ?
For some reason my v4a can not see
presets
I copied presets to android/data folder and nothing. I noticed that v4a is not detecting my presets folders. Tried everything.
netgar said:
Anyone was able to run presets ?
For some reason my v4a can not see
presets
I copied presets to android/data folder and nothing. I noticed that v4a is not detecting my presets folders. Tried everything.
Click to expand...
Click to collapse
I have the same issue. Looks like viper has no permission to read data in the folder.
DeanR97 said:
I have the same issue. Looks like viper has no permission to read data in the folder.
Click to expand...
Click to collapse
Yeap.... I have the same problem. V4a just doesn't see presets folders at all.
Hopefully someone smart will figure it out what is wrong.

Categories

Resources