I have been trying to set my Nexus 7 2013(flo) to permissive from enforcing, but I haven't been able to successfully keep it permanently. The reason for this is that I want viper4android to work, but from what I remember viper requires permissive. I am just coming back to a vanilla device and there's a lot I have missed. Last nexus device I used was the Galaxy Nexus.
What I am running on the tablet and required info to know:
RR-N-v5.8.5-20170925-flo-final (Resurrection Remix OS)
Viper4android was installed via magisk
Also alienoid mod was installed to apparently help viper to work
MusicFX was uninstalled via Titanium Backup
Any help appreciated and if there's another thread with the same problem I have, feel free to direct me to it!
batsup606 said:
I have been trying to set my Nexus 7 2013(flo) to permissive from enforcing, but I haven't been able to successfully keep it permanently. The reason for this is that I want viper4android to work, but from what I remember viper requires permissive. I am just coming back to a vanilla device and there's a lot I have missed. Last nexus device I used was the Galaxy Nexus.
What I am running on the tablet and required info to know:
RR-N-v5.8.5-20170925-flo-final (Resurrection Remix OS)
Viper4android was installed via magisk
Also alienoid mod was installed to apparently help viper to work
MusicFX was uninstalled via Titanium Backup
Any help appreciated and if there's another thread with the same problem I have, feel free to direct me to it!
Click to expand...
Click to collapse
Use arise 2.94 aroma installer for viper, u will find the download link at the XDA arise thread (post 4).
If u use magisk u will mostly have to stay permissive for viper.
Use the magisk permissive script module. Simply google magisk permissive, u will find the XDA download link.
U can use latest SuperSU for root instead, if you use SuperSU
your chances to run viper with selinux enforced are pretty good.
Related
Hey guys. I'm trying to get viper4android working on my Nexus 5x running the most recent stable version of Dirty Unicorns.
I tried just normally installing the apk. Changing selinux to permissive. I have the newest version of su and BusyBox installed and yet the driver refuses to install. Every time I restart my phone it says I need to install the driver.
I've been looking around online and I can't seem to find a good answer for what exactly I need to do to get it working.
The popular thread in the Nexus 6 section has way to much info and I just can't follow it to install it properly. I basically want viper4android so I can use pulse with Spotify.
Any help would be appreciated. Thank you!
Flash either of these ViperAudio or ViperAtmos (if you want Dolby Atmos too) in TWRP. It works even with systemless root and enforcing SELinux.
przemcio510 said:
Flash either of these ViperAudio or ViperAtmos (if you want Dolby Atmos too) in TWRP. It works even with systemless root and enforcing SELinux.
Click to expand...
Click to collapse
Worked great! Thank you very much for the help!
Just want to sharing some alternative to making our D6603 sounds boom... and seems can implement to other phone because all of components that i have installed are universal (wish work on all phone other than D6603), just try it but don't blame me
After fighting about 2 weeks to getting DOLBY (effect) including VIPER4 in my D6603 with latest CARBON Rom, finally i found an alternative for that.
Because when i try to install Dolby Atmos (standard/unity) always "unsuccessful", installed but no app in drawer that made me headache
My phone configuration :
- Magisk 17.1 + init.d injector
- SELinux permissive.
- AML and ACP installed. Get in here (for supersu seems AML modul not necessary because the installer will search magisk directory, so you just need ACP modul)
- Viper4 FX from here
- DOLBY DIGITAL PLUS for 8.x (i found in somewhere at XDA, thanks already make it work on OREO :good: really appreciate it)
Step: i am installing all components below via TWRP (you can try with your own way)
1. DDP.
2. VIPER4FX. (to escape from Viper4 FX asking the driver installing repeatedly, please install it after DDP or other sound mod.)
3. ACP (additional).
4. AML (essential), better doing at last because will detect and patching audio module on DDP and VIPER4 for compatibility.
On each step i do reboot then back again to TWRP (only want to making sure the components already installed).
When all done let try boot to system and open Viper4 (check the driver is installed or no), next playing the music, the lasting is open DDP to getting more bass. ENJOYING your music.
Noted: for compatibility reason i remove musicfx/audiofx from system. please do backup first.
Results :
- Phone speaker, WORK.
- Headset, WORK.
- Bluetooth speaker, WORK.
- Jack 3.5, WORK.
Playing music via Spotify and internal player all work.
If it work on different Phone than OP, please report back. Would be appreciate it.
Thanks to
- @Myself5 for Carbon Rom
- @guitardedhero @worstenbrood for DOLBY DIGITAL PLUS 8.x
- @nailyk for the TWRP
- @ahrion @Zackptg5 for Viper4 FX AML ACP
- @topjohnwu for Magisk
- @matt1313 that already provide DDP installer for 8.x
Work like a charm
Thank you
Can I somehow only get the Dolby?
RaySupreme said:
Can I somehow only get the Dolby?
Click to expand...
Click to collapse
Yes, you can.
Simply flashing the package right? No need of anything else
RaySupreme said:
Simply flashing the package right? No need of anything else
Click to expand...
Click to collapse
Correct. Just flashing all packages, and i suggest you to install Viper4 at the end (if you prefer)
If SELinux is enforcing this won't work?
vinoxflame said:
If SELinux is enforcing this won't work?
Click to expand...
Click to collapse
DDP need permissive mode, will set by dolby.sh in init.d
If your rom doesn't have init.d but you use Magisk, just copy dolby.sh to /sbin/.core/img/.core/ service.d or post-fs-data.d
Viper4 can work on enforcing mode.
alfan.y said:
DDP need permissive mode, will set by dolby.sh in init.d
If your rom doesn't have init.d but you use Magisk, just copy dolby.sh to /sbin/.core/img/.core/ service.d or post-fs-data.d
Viper4 work on enforcing mode.
Click to expand...
Click to collapse
Will this work on S7 Oreo supersu root?
COOL
slimcyril said:
Will this work on S7 Oreo supersu root?
Click to expand...
Click to collapse
Why not try it and report back
For supersu i think you just need DDP, ACP, VIPER4 and making sure your init.d and permissive are work.
Those modules can install on Magisk or System.
alexaander said:
COOL
Click to expand...
Click to collapse
it's work for you?
alfan.y said:
Why not try it and report back
For supersu i think you just need DDP, ACP, VIPER4 and making sure your init.d and permissive are work.
Those modules can install on Magisk or System.
Click to expand...
Click to collapse
Didn't work on stock S7 supersu root
slimcyril said:
Didn't work on stock S7 supersu root
Click to expand...
Click to collapse
For dolby or Viper4 that don't work? Have you set permissive mode for dolby?
alfan.y said:
For dolby or Viper4 that don't work? Have you set permissive mode for dolby?
Click to expand...
Click to collapse
Yes & was permissive, viper works but Dolby force closes
slimcyril said:
Yes & was permissive, viper works but Dolby force closes
Click to expand...
Click to collapse
your init.d work, right? Because i just try installed DDP only on 5.x firmware with supersu and work :good:. How about /system/su.d any issue or no?
In my opinion, this DPP actually can running on 5.x-8.x firmware with supersu/magisk. See this video to confirm on 5.x ...sorry, no idea probably the issue came from stock rom.
alfan.y said:
your init.d work, right? Because i just try installed DDP only on 5.x firmware with supersu and work :good:. How about /system/su.d any issue or no?
In my opinion, this DPP actually can running on 5.x-8.x firmware with supersu/magisk. See this video to confirm on 5.x ...sorry, no idea probably the issue came from stock rom.
Click to expand...
Click to collapse
DDP doesn't work on all 8.x firmware & works on older android, it might work for you but not everyone, thus it was said in Arise thread that DDP won't work on all 8.x, init.d & su.d works here.
Im using redmi 4x with latest aex oreo rom
- works on speaker
- DDP crashes sometimes
- when using headset both DDP and Viper doesnt works on spotify and music player, but in youtube or other video player it works well.
Maybe you can help me fixing this problems, thanks
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 !
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
I have had Redmi Note 8 Ginkgo since December. From then on, I am waiting patiently for the appearance of refined custom roms. Recently, roms have finally appeared where all camera lenses work! But I miss one thing very much... Since I had the RN4x I have been using the Dolby Plus mod. In the RN8 it clearly improves the sound, has more bass and is louder. I mean the sound on the built-in speaker, not on the headphones. Dolby Plus can handle bass better on the built-in speaker than the Viper4Android.
This mod however requires SeLinux to be permissive. All android 10 roms that I tried have a SeLinux Enforced kernel - for some reason switching between enforce and permissive is blocked. Even some roms do not allow flash another kernel.
How do I unlock the ability to switch Selinux enforced to perrmisive when the magisk SELinux Manager module is not working?
kaem84 said:
I have had Redmi Note 8 Ginkgo since December. From then on, I am waiting patiently for the appearance of refined custom roms. Recently, roms have finally appeared where all camera lenses work! But I miss one thing very much... Since I had the RN4x I have been using the Dolby Plus mod. In the RN8 it clearly improves the sound, has more bass and is louder. I mean the sound on the built-in speaker, not on the headphones. Dolby Plus can handle bass better on the built-in speaker than the Viper4Android.
This mod however requires SeLinux to be permissive. All android 10 roms that I tried have a SeLinux Enforced kernel - for some reason switching between enforce and permissive is blocked. Even some roms do not allow flash another kernel.
How do I unlock the ability to switch Selinux enforced to perrmisive when the magisk SELinux Manager module is not working?
Click to expand...
Click to collapse
Try the following Magisk module. Download and install it via TWRP: SELinux Switch
shadowstep said:
Try the following Magisk module. Download and install it via TWRP: SELinux Switch
Click to expand...
Click to collapse
Please read the last sentence of my post. I used two ways to change selinux, they work on miui, on
other custom android pie roms. Is this module from you unique?
kaem84 said:
Please read the last sentence of my post. I used two ways to change selinux, they work on miui, on
other custom android pie roms. Is this module from you unique?
Click to expand...
Click to collapse
I did read your entire post. I was just offering an alternative, so whether or not you want to give it a shot, is upto you. If it works for you, great. If it doesn't, get in touch with your ROM developer. Over, and out. :good:
SELinux
There's an app called SELinux mod changer, try that. I used that to change permission to permissive on my ginkgo(Android 10) and it works perfectly.
shadowstep said:
I did read your entire post. I was just offering an alternative, so whether or not you want to give it a shot, is upto you. If it works for you, great. If it doesn't, get in touch with your ROM developer. Over, and out. :good:
Click to expand...
Click to collapse
Respect man, this magisk module works!
The few modules that I was using apparently did not work properly with android 10. I thought the kernel was blocked in some way, and this is a matter of choosing the latest selinux switcher.
Here is the link to the source where this magsik SELinux Switch module comes from:
https://github.com/nipunnarang/selinux-switch
Do you know how with some magisk module or buildprop modification to:
- set the back button to close / kill the application
- the appearance of recent applications was like in android oreo?
I found scripts for it once, modules and now I can't. I prefer not to install xposed
kaem84 said:
Respect man, this magisk module works!
The few modules that I was using apparently did not work properly with android 10. I thought the kernel was blocked in some way, and this is a matter of choosing the latest selinux switcher.
Here is the link to the source where this magsik SELinux Switch module comes from:
https://github.com/nipunnarang/selinux-switch
Do you know how with some magisk module or buildprop modification to:
- set the back button to close / kill the application
- the appearance of recent applications was like in android oreo?
I found scripts for it once, modules and now I can't. I prefer not to install xposed
Click to expand...
Click to collapse
Good to know it works. I made it. The link you've provided is my GitHub. Also, no, I don't know if there's a Magisk module for those two things. For the former, you can try using Button Mapper. It requires root, but not Xposed. And for old Oreo style recents, it needs a modification to the ROM, which can't be done via a simple Magisk module.