How To Guide [AOSP][How To]Viper4android on OnePlus 9 Pro (tested on AOSP 13) - OnePlus 9 Pro

Hello everyone,
After a bit of research, I found out that many people with a OnePlus 9 Pro, myself included, struggled with installing viper4android.
Luckily and accidentally I discovered this GitHub repository!
It all works only with a magisk module installation.
After a reboot you're good to go.
I've tested it on Nameless AOSP 13 with SELinux enforcing.
Users have reported incompatibility with OxygenOS.
Nonetheless you can try and see if it works for you.
Cheers!

WOW
It actually worked, what a godsend. Thank you for this kind sir. I've tried so many methods and this is the solution.

I couldn't get it to work on oos13 ...

ffejy462 said:
I couldn't get it to work on oos13 ...
Click to expand...
Click to collapse
Thank you for the info!!

Just switched to nameless from extended. No worky on nameless

bbortel93 said:
Just switched to nameless from extended. No worky on nameless
Click to expand...
Click to collapse
Try with JamesDSP, it usually has fewer compatibility issues and works just as well as V4A.

bbortel93 said:
Just switched to nameless from extended. No worky on nameless
Click to expand...
Click to collapse
Naah... I'm still on Nameless latest version and it's still working. You must be doing something wrong.
Check the repository's instructions again, although I don't think they are difficult to follow, it's just one module to flash... Also make sure you don't have any other audio mods installed. It's okay if you have the built-in Dolby Atmos.

Installation fails with the following message:
----------------------------------------------------
- Copying zip to temp directory
- Installing ViPER4AndroidFX-repackagedhoch25-1b03ff9.zip
- Current boot slot: _b
- Device is system-as-root
unzip: can't open /data/user/0/vaet.gunkqwa/cache/flash/install.zip[.zip]
! Unable to extract zip file!
! Installation failed
----------------------------------------------------
Anyone tell me what's going on?

tathagatab said:
Installation fails with the following message:
----------------------------------------------------
- Copying zip to temp directory
- Installing ViPER4AndroidFX-repackagedhoch25-1b03ff9.zip
- Current boot slot: _b
- Device is system-as-root
unzip: can't open /data/user/0/vaet.gunkqwa/cache/flash/install.zip[.zip]
! Unable to extract zip file!
! Installation failed
----------------------------------------------------
Anyone tell me what's going on?
Click to expand...
Click to collapse
Do you have SELinux enforcing?
Do you have the latest magisk installed?
Did you flash it through magisk manager?
If the answer is yes, then try again after a reboot,
Else if the error insists, then idk, try reading the repository's instructions carefully.
It also might be that your ROM or ro your Android version is incompatible.
I hope this helps!

David_#27 said:
Do you have SELinux enforcing?
Do you have the latest magisk installed?
Did you flash it through magisk manager?
If the answer is yes, then try again after a reboot,
Else if the error insists, then idk, try reading the repository's instructions carefully.
It also might be that your ROM or ro your Android version is incompatible.
I hope this helps!
Click to expand...
Click to collapse
Yes, turned out that setting selinux to 0 solved it. Thanks for the suggestion. I didn't try it before because the repo instructions said it didn't matter.
Running stock OOS 13 with Magisk 25.2. Let's see if V4A works after the reboot.
[Edit after reboot]
No go, it's the same old "Do you wish to install the driver now" loop

tathagatab said:
Yes, turned out that setting selinux to 0 solved it. Thanks for the suggestion. I didn't try it before because the repo instructions said it didn't matter.
Running stock OOS 13 with Magisk 25.2. Let's see if V4A works after the reboot.
[Edit after reboot]
No go, it's the same old "Do you wish to install the driver now" loop
Click to expand...
Click to collapse
Good to know that it works with SELinux enforcing.
As for OOS, I don't see it working as one user above said it doesn't.

David_#27 said:
Good to know that it works with SELinux enforcing.
As for OOS, I don't see it working as one user above said it doesn't.
Click to expand...
Click to collapse
As I learned, it doesn't work on OOS 13, irrespective of selinux setting. Or at least I couldn't make it work.

For me it works perfectly, using the Pixel Ex rom. Thank you very much!

Related

Is there Dolby Atmos for March security patch updated ROMs

I've read that Dolby Atmos crashes on March security patched ROMs and even I faced on RR OS. I'm back on LOS, but I'm afraid to flash this module. Will it crash or there's updated module?
EpicPrashant said:
I've read that Dolby Atmos crashes on March security patched ROMs and even I faced on RR OS. I'm back on LOS, but I'm afraid to flash this module. Will it crash or there's updated module?
Click to expand...
Click to collapse
?? works fine Dolby Atmos standard version on march update stock rom
For RR i don't test
laugeek57 said:
?? works fine Dolby Atmos standard version on march update stock rom
For RR i don't test
Click to expand...
Click to collapse
Didn't worked for me on march update
Tried with latest magisk 16.0 and even tried with 15.3
Have common modules installed such as ARstickers one, camera2api and eis enabler, google lens , selinux enabler v1.2
AlwaysWin said:
Didn't worked for me on march update
Tried with latest magisk 16.0 and even tried with 15.3
Have common modules installed such as ARstickers one, camera2api and eis enabler, google lens , selinux enabler v1.2
Click to expand...
Click to collapse
What version standard or unity?
laugeek57 said:
What version standard or unity?
Click to expand...
Click to collapse
Standard.
AlwaysWin said:
Standard.
Click to expand...
Click to collapse
This : https://androidfilehost.com/?fid=746010030569955178
I can assure you that this version works perfectly on rom stock I installed it a good dozen times before switching to Pixel Experience rom ...
If you have permissive selinux v1.2 to install correctly I do not see what can disturb the proper functioning ...
laugeek57 said:
This : https://androidfilehost.com/?fid=746010030569955178
I can assure you that this version works perfectly on rom stock I installed it a good dozen times before switching to Pixel Experience rom ...
If you have permissive selinux v1.2 to install correctly I do not see what can disturb the proper functioning ...
Click to expand...
Click to collapse
It is flashed successfully in twrp (3.2.1) and can be seen in the app drawer but when I open it, it keeps stopping even though the other apps like google camera is also working so probably selinux is fine, but I've faced issues with selinux before too and that time i had to restart my phone 3-4 times to fix the issue.
Any solutions?
AlwaysWin said:
It is flashed successfully in twrp (3.2.1) and can be seen in the app drawer but when I open it, it keeps stopping even though the other apps like google camera is also working so probably selinux is fine, but I've faced issues with selinux before too and that time i had to restart my phone 3-4 times to fix the issue.
Any solutions?
Click to expand...
Click to collapse
My advice would be that you make a clean installation of your rom and install only permissive selinux v1.2 magisk before of course and flash DA standard version ...:good:

v4A on magisk16.4 may update?

Has anyone been able to get a v4a module working on 16.4 and the may update? I tried installing the module by viper50 and ahirion that has worked so well in the past... Doesn't seem to be enabling for me this time around for some reason. Any ideas?
Or other mods to recommend?
V4a v2.5.05 working fine with magisk 16.4 and may update here.
EnIXmA said:
V4a v2.5.05 working fine with magisk 16.4 and may update here.
Click to expand...
Click to collapse
Same here, everything working smoothly with v4afx_v1.6.9.zip and magisk 16.4. Viper also works on P dp2.
Taebom said:
Same here, everything working smoothly with v4afx_v1.6.9.zip and magisk 16.4. Viper also works on P dp2.
Click to expand...
Click to collapse
Are you flashing in magisk or twrp? Which module are you using? Thanks!
I'm neither of the other posters, but flash V4A via Magisk using the module authored by Viper520, ZhuHang, Ahrion, and Zackptg5. Be certain that you select the new driver and the materialized version of the app for V4A to work properly.
Strephon Alkhalikoi said:
I'm neither of the other posters, but flash V4A via Magisk using the module authored by Viper520, ZhuHang, Ahrion, and Zackptg5. Be certain that you select the new driver and the materialized version of the app for V4A to work properly.
Click to expand...
Click to collapse
This ^^ : point upwards: ! Especially the underlined part; it took me a whole lot of trial and error to figure this last part out...
In any case, I used the latest Magisk module (if you check the details of the modules, it'll show when it was last updated). If anything, supposedly you could just install straight away, but V4A gave me errors. I had to uninstall the existing V4A, reboot, install via Magisk module, and reboot before it worked. You (@Cowbell_Guy) might, at the very least, have to walk through the same steps for whatever reason...
Hope this helps...

[REQ]Need Viper4Android for Oreo(CRLI) Rom

Hello guys. I need viper4android for CRLI based roms.
I tried magisk's viper but it has driver issue.
I think our new kernel is different. Im not found any selinux permissive custom kernel. I think that driver issue is becouse of selinux enforcing. Can you help me please? Thank you.
ramone01 said:
Hello guys. I need viper4android for CRLI based roms.
I tried magisk's viper but it has driver issue.
I think our new kernel is different. Im not found any selinux permissive custom kernel. I think that driver issue is becouse of selinux enforcing. Can you help me please? Thank you.
Click to expand...
Click to collapse
Go to xda labs search viper4android install the app as normal open it and grant it root then click install driver then reboot. Done works perfectly on my pie rom
Hi, I can not manage to activate viper4android either.
Please help!
I tried giving it root permission but it does not work either.
Check out install driver.
alarcon.gmo said:
Hi, I can not manage to activate viper4android either.
Please help!
I tried giving it root permission but it does not work either.
Check out install driver.
Click to expand...
Click to collapse
Flash Magisk 17.4 in twrp and reboot. Install 2.5 driver, reboot and test it.
If it works go back to twrp and flash Magisk 18, reboot and it should work.
Version 2.6.0.5 is working without any problems. I'm using Magisk v18 and selected Driver version 2.3.4.0
afcaajax said:
Version 2.6.0.5 is working without any problems. I'm using Magisk v18 and selected Driver version 2.3.4.0
Click to expand...
Click to collapse
Thanks, that worke fine !

Viper4android for Redmi_Note_8_Pro

V4A Fx installation (Rooted with magisk required)
Download following modules:
https://drive.google.com/folderview?id=10Q_4QsFAe8cW63GH3VrM0jtuIOAPP8t1
1.Install magisk_selinux_manager_v1.0.zip magisk module in magisk manager and set selinux to permissive.
2.install ViPER4Android_FX-v2.7.1.0(2710).zip magisk module in magisk manager.(requires internet)
3.Reboot and open V4A it will ask for driver installation .Allow it
4.After installation of driver it will automatically reboot .
5.Enjoy V4A
Credits to @santoshhh000
If you like this post press thanks
No
Did you install from magisk? Not twrp. Follow the instructions as mentioned above
ariber14 said:
Did you install from magisk? Not twrp. Follow the instructions as mentioned above
Click to expand...
Click to collapse
Yes, from magisk.
I will try again when reinstall miui eu.
omerhodzic1 said:
Yes, from magisk.
I will try again when reinstall miui eu.
Click to expand...
Click to collapse
Hey, miui eu is working?
---------- Post added at 11:10 PM ---------- Previous post was at 11:08 PM ----------
[/COLOR]
Linkonlk said:
Hey, miui eu is working?
Click to expand...
Click to collapse
Found it on the telegram group.
Redmi Note 8 Pro | OFFICIAL
Redmi Note 8 Pro - Official Telegram Group
t.me/RedmiNote8ProOfficial
ariber14 said:
V4A Fx installation (Rooted with magisk required)
Download following modules:
https://drive.google.com/folderview?id=10Q_4QsFAe8cW63GH3VrM0jtuIOAPP8t1
1.Install magisk_selinux_manager_v1.0.zip magisk module in magisk manager and set selinux to permissive.
2.install ViPER4Android_FX-v2.7.1.0(2710).zip magisk module in magisk manager.(requires internet)
3.Reboot and open V4A it will ask for driver installation .Allow it
4.After installation of driver it will automatically reboot .
5.Enjoy V4A
Credits to @santoshhh000
If you like this post press thanks
Click to expand...
Click to collapse
Which miui you install?
omerhodzic1 said:
Which miui you install?
Click to expand...
Click to collapse
On miui 11.0.2.0 eu
ariber14 said:
On miui 11.0.2.0 eu
Click to expand...
Click to collapse
I tried multiple times, miui eu 11.0.2.0, with a clean install at the end, without an account and any backup, different versions of magisk, ect. 1 or 2 sim card.
With one, one sim card work, when I installed the Viper with 2 sim, stop working both.
Maybe I'll be lucky with some new version. The Viper is my favorite.
Search for a zip called clean+soundmod.zip.it will remove any audio mod that might create conflict.flash it ftom twrp then repeat the procedure again as mentioned
ariber14 said:
Search for a zip called clean+soundmod.zip.it will remove any audio mod that might create conflict.flash it ftom twrp then repeat the procedure again as mentioned
Click to expand...
Click to collapse
Can you post it here. I could not find it.
Here it is. Flash it from twrp then restart
ariber14 said:
Here it is. Flash it from twrp then restart
Click to expand...
Click to collapse
Thank you!!
Your phone is using xiaomi.eu rom, but Is it China version or Global version?
I have China one with same xiaomi.eu rom, but cant seem to make viper work
MarkLev said:
Thank you!!
Your phone is using xiaomi.eu rom, but Is it China version or Global version?
I have China one with same xiaomi.eu rom, but cant seem to make viper work
Click to expand...
Click to collapse
M1906G7G - Global 64mb - not working for now.
omerhodzic1 said:
M1906G7G - Global 64mb - not working for now.
Click to expand...
Click to collapse
Problem with magisk_selinux_manager_v1.0.zip
If use 2 SIM they stop working.
Viper working with setenforce 0 in terminal.
Found this on telegram group:
t.me/RedmiNote8ProOfficial
I have noticed . Selinux manager module when flashed through latest magisk .It Doesn't work ,so if possible flash it through older version magisk 20.0 or earlier version .After that you can update your magisk to latest.
santoshhh000 said:
I have noticed . Selinux manager module when flashed through latest magisk .It Doesn't work ,so if possible flash it through older version magisk 20.0 or earlier version .After that you can update your magisk to latest.
Click to expand...
Click to collapse
I tried with magisk 19 and the problem is the same.
I also have a problem with SIM cards, when install magisk_selinux_manager_v1.0.zip with permissive, only when I take out one SIM card GSM works, when two are not working, no registered cards in mob, if install with enforceing is ok, that's weird. It is no problem for me to use the terminal, it is also safer for the system, it may be safer not to be in permissive mode all the time.
Thank you for your help.
And most importantly, I have ViPER4A!
All the best,
omerhodzic1 said:
I tried with magisk 19 and the problem is the same.
I also have a problem with SIM cards, when install magisk_selinux_manager_v1.0.zip with permissive, only when I take out one SIM card GSM works, when two are not working, no registered cards in mob, if install with enforceing is ok, that's weird. It is no problem for me to use the terminal, it is also safer for the system, it may be safer not to be in permissive mode all the time.
Thank you for your help.
And most importantly, I have ViPER4A!
All the best,
Click to expand...
Click to collapse
1. Install SELinux Mode Changer app from here
2. Install lates viper4android app
3. Start SELinux Mode Changer and set to "permissive" then start viper4android and Enjoy!
you can set autostart for SELinux Mode Changer
MarkLev said:
1. Install SELinux Mode Changer app from here
2. Install lates viper4android app
3. Start SELinux Mode Changer and set to "permissive" then start viper4android and Enjoy!
you can set autostart for SELinux Mode Changer
Click to expand...
Click to collapse
That's it.
Thnx
I totally forgot Tasker.

[GUIDE] How to install Viper4Android and Dolby Digital Plus.

I have successfully put together a method to get Dolby Digital Plus and Viper4Android running on Redmi Note 8 Pro. Firstly I am rooted on 11.0.6 Global and using LR-TWRP as recovery. On another note I have tried nearly every recovery on this Forum but the only one that doesn't give me a black screen the LR-TWRP.
1. First you need to get the Android running in Permissive mode. For me the Magisk module DID NOT work. To get permissive I found a file on another forum that someone was using on other Redmi devices. It works perfectly with no flaws. Boot into TWRP flash Permissiver_v4_2.zip. And boot back into the device.
***Note.. If you upgrade rom using TWRP as I did from 11.0.2 to 11.0.6. You will have to reflash this file to get everything running properly.
2. Open Magisk and flash ViPER4Android_FX-v2.7.1.0(2710).zip. Reboot device and the open V4A. You should be prompted to install driver. Do so and reboot if prompted to, I don't remember for sure if it makes you or not.
3. Open Magisk and flash 2.1Audio_Modification_Library-v2.4.zip and then reboot.
***NOTE.. Only this version of Audio Modification I have had luck with getting this to run. I updated this file after having everything completely setup and working and it broke V4A and Dolby. Had to uninstall and reinstall this version..
4. Boot into TWRP, NOT Magisk and flash Dolby_Digital_Plus_v.6.5.zip
5. On reboot confirm everything is working. For me it is working flawlessly. Below is a link to the files you will need.
DOWNLOAD
Gonna try this now because the previous tutorial about v4a does work but the moment I plug in my earphones, the status changes to "abnormal"
djgilquirino said:
Gonna try this now because the previous tutorial about v4a does work but the moment I plug in my earphones, the status changes to "abnormal"
Click to expand...
Click to collapse
That is likely due to your phone not being in permissive mode. I've seen that guide as well. I took my past knowledge of getting Viper + Dolby to work and came up with this solution. Being in permissive mode is required for both apps to function
I just found out the reason why my V4A doesn't work when I plug in my headset/earphones. To all those who use poweramp and set your output to "Hi-Res Output", make sure your sample rate is set to 48khz. Setting it to 96khz and up changes the status on V4A to abormal and won't work.
Thanks bro. It is working for me as well you made my day..
rraghava10 said:
Thanks bro. It is working for me as well you made my day..
Click to expand...
Click to collapse
Awesome my dude!! Glad I could help. I'm new to writing guides but love this device and would like to encourage its development as much as I can.
When I flash V4A it functions properly however my SIM card is no longer recognize. When I uninstall V4A my sim is restored. What's up with that?
chugs said:
When I flash V4A it functions properly however my SIM card is no longer recognize. When I uninstall V4A my sim is restored. What's up with that?
Click to expand...
Click to collapse
That is extremely weird. Never heard of anything like that before. Just a couple thoughts but do you have BusyBox installed through Magisk and have your phone set to permissive already?? Also what MIUI version are you running. I have tested this successfully on 11.0.2 and 11.0.6 Global.
I'm still down on 10.4. I haven't been convinced to move to 11
Worked perfectly from EEU (EU) rom moved to 11.0.6 (Global)!
Thank you very much!
alejandromujica.rsm said:
Worked perfectly from EEU (EU) rom moved to 11.0.6 (Global)!
Thank you very much!
Click to expand...
Click to collapse
Your welcome and that's awesome.. Glad I could help bro!
https://ibb.co/YLt7r7s result miui global 11.0.2 err
anasfanani said:
https://ibb.co/YLt7r7s result miui global 11.0.2 err
Click to expand...
Click to collapse
You are not permissive. That is the exact error I got before I found the file I reference to flash to get 'permissive'. To check your status go to terminal and first 'su' to get root. Then type 'getenforce'. Make sure your device is showing permissive. If this is notthe problem I would be surprised. Let me know and I will help you work the problem..
bpawnz said:
You are not permissive. That is the exact error I got before I found the file I reference to flash to get 'permissive'. To check your status go to terminal and first 'su' to get root. Then type 'getenforce'. Make sure your device is showing permissive. If this is notthe problem I would be surprised. Let me know and I will help you work the problem..
Click to expand...
Click to collapse
Thanks. The problem is in selinux magisk module. I uninstalled and install other selinux app from https://github.com/MrBIMC/SELinuxModeChanger and its works
anasfanani said:
Thanks. The problem is in selinux magisk module. I uninstalled and install other selinux app from https://github.com/MrBIMC/SELinuxModeChanger and its works
Click to expand...
Click to collapse
Awesome. The file I reference will change se status from boot. That app I think you have to set it after every reboot if I remember correctly. Regardless I'm glad you got it working. FYI.. Dolby won't show up as an installed app if your not running permissive as well. I know that from trial and error. Glad you got it working!
Steps work. Will confirm if this is any better than standalone V4A
[Update]
Yup. Definitely way better sound quality comparing to the previous methods i used. Also thanks for sharing permissiver.. The previous way i used to change SELinux was a massive pain in my neck. (Global phone on 11.0.2 Global ROM) Looking to see how v4a will fare in upcoming custom ROMs.
Do we have any dual speaker audio sound mod for our note 8 pro global?
+1 to dual speaker mod!
bpawnz said:
Awesome. The file I reference will change se status from boot. That app I think you have to set it after every reboot if I remember correctly. Regardless I'm glad you got it working. FYI.. Dolby won't show up as an installed app if your not running permissive as well. I know that from trial and error. Glad you got it working!
Click to expand...
Click to collapse
Dolby digital is not working after android 10 update... need the version update
Dear all, please note and be aware, this mod will not work on android 10 because
1. dolby digital version is not supported as i stated earlier..
2. when we change SE linux to permissive, phone becomes laggy and many secured application will not work... i have personally tried that may be because of high security of android 10.. i think we will need a custom rom

Categories

Resources