Did somebody manage to properly run ViperFX? I found a thread over at en.miui.com, with a flashable zip but no instructions. On my old smartphone I had to remove AudioFX and cmaudio befor flashing ViperFX, and also set selinux to permissive. I tried the same with my redmi but it didn't work. Also setting selinux to permissive causes problems with my password recognition, oddly.
Also there is a thread at 4pda with an attachment, which however I cant donwload or which is removed.
So, anybody got ViperFX running and can give a propper instruction, would be very welcome!
I use ViperFX as Magisk Module, it works fine with LOS13 by jacoghi 05.06 ROM build, just flash it after you've flash Magisk v12. It works good as well with xiaomi.eu(as i've used it on xiaomi.eu 8.1.3.0 ROM build before). And yes, i think you have to set SELinux to Permissive for it to work properly. You can download it from this link.
Hello.
I run V4A in stock 8.2.4.0 with no problem, downloaded from official site http://vipersaudio.com/blog/
I put a simple script to set selinux to permissive in tasker at device boot, and everything work´s OK.
No problem here with password or anything else.
Sorry for my english.
jmsonicbox said:
Hello.
I run V4A in stock 8.2.4.0 with no problem, downloaded from official site http://vipersaudio.com/blog/
I put a simple script to set selinux to permissive in tasker at device boot, and everything work´s OK.
No problem here with password or anything else.
Sorry for my english.
Click to expand...
Click to collapse
Upload your script to use it and others users
Thanks
Related
Hi
Xposed is here. if you are wondering it does not work for you its because the SELinux status is set as Enforcing which doesnt allow xposed framework to modify at system level. though some modules are not compatible yet
Bonus : Also if you are using Viper4Android it wont work unless the SELinux is Permissive
there is a workaround for this. 3rd being the easiest and permanent fix
1. Terminal method
Code:
Su
Setenforce permissive
soft reboot to make xposed to work
OR
2. Using SELinux Mode Changer APP
Use this app SELinux Mode Changer
change it to Permissive and soft reboot to make xposed to work
Else
3. With a modified Kernel(CM12 only) easiest method
Here is the modified Kernel which is set to permissive by default.
it is a boot.img not flashable.zip
How to flash
1. Flash this using TWRP(TWRP can flash img files now ) or apps like RASHR can be used to flash boot.img
for more info check this https://source.android.com/devices/tech/security/selinux/validate.html#switching_to_permissive
Tested with BlissPop 13th release works as intended
i have used BlissPop kernel. it is as good as CM12 Kernel
Better to have a backup(Not mandatory its upto you)
All credits to original developers
reversegear said:
Hi
Xposed is here. if you are wondering it does not work for you its because the SELinux status is set as Enforcing which doesnt allow xposed framework to modify at system level. though some modules are not compatible yet
Bonus : Also if you are using Viper4Android it wont work unless the SELinux is Permissive
there is a workaround for this. 3rd being the easiest and permanent fix
1. Terminal method
Code:
Su
Setenforce permissive
soft reboot to make xposed to work
OR
2. Using SELinux Mode Changer APP
Use this app SELinux Mode Changer
change it to Permissive and soft reboot to make xposed to work
Else
3. With a modified Kernel(CM12 only) easiest method
Here is the modified Kernel which is set to permissive by default.
it is a boot.img not flashable.zip
How to flash
1. Flash this using TWRP(TWRP can flash img files now ) or apps like RASHR can be used to flash boot.img
for more info check this https://source.android.com/devices/tech/security/selinux/validate.html#switching_to_permissive
Tested with BlissPop 13th release works as intended
i have used BlissPop kernel. it is as good as CM12 Kernel
Better to have a backup(Not mandatory its upto you)
All credits to original developers
Click to expand...
Click to collapse
Hi,
great post, thanks!
I have two questions:
- Can you provide more information about this kernel please?. Is stock cm12 kernel, only with SeLinux changed?
I don´t use cm12 because SeLinux is set to enforcing and have problems restoring nandroid backup with TWRP (no problems with philz recovery).
- I don´t have tested, but i think that if you make init.d script that change SeLinux, you would´t have to make soft reboot.
Regards.
SergioSanchezR said:
Hi,
great post, thanks!
I have two questions:
- Can you provide more information about this kernel please?. Is stock cm12 kernel, only with SeLinux changed?
I don´t use cm12 because SeLinux is set to enforcing and have problems restoring nandroid backup with TWRP (no problems with philz recovery).
- I don´t have tested, but i think that if you make init.d script that change SeLinux, you would´t have to make soft reboot.
Regards.
Click to expand...
Click to collapse
1. as i said kernel i used is from BLISSPOP rom from 13th experimental build. i dont think Bliss Team made any changes to the kernel. i guess you can flash custom kernel like optimus / Attacked on top of the modded kernel because both provide only Zimage. so that SELinux status is retained to Permissive
2. i Tried init.d script unfortunately it wont work on CM based rom so i thought of modifying in boot.img itself
Hope this helps
Cool !!
wow!, the terminal method is vv easy method. Works perfectly!!
SELinux-Status: Moderat
Hi!
I used the Terminal method.
However, the SELinux-Status is now: Moderat (see screenshot).
Can you please instruct?
THX
Hi,
sorry for my poor engl...but have a little problem with my phone/root..and because have no permission write it to RR thread. directl, so I try to use this way...
On the last build of RR rom 5.8.3.20170523 I flash SUPERsu 2.79(tried MAGISK too) all looks good but want instal viper4android and SE LINUX wrote this:
"Superuser manager doesn´t allow app to access SU or you don´t have root at all"
For your info titanumback not works (can not restore), but adway or total comander works good...
Any idea?
Thx
kraljan66 said:
Hi,
sorry for my poor engl...but have a little problem with my phone/root..and because have no permission write it to RR thread. directl, so I try to use this way...
On the last build of RR rom 5.8.3.20170523 I flash SUPERsu 2.79(tried MAGISK too) all looks good but want instal viper4android and SE LINUX wrote this:
"Superuser manager doesn´t allow app to access SU or you don´t have root at all"
For your info titanumback not works (can not restore), but adway or total comander works good...
Any idea?
Thx
Click to expand...
Click to collapse
Try this:
Install RR again, don't install SuperSU, just keep magisk. then download viper4android module from the magisk app, and try again
SELinux doesn't let V4A work. I've been using Magisk root for a long time and the only app that didn't work was a very well known, shady one...
found better/simply solution, just flash last "official" RR build, there is magisk included and it works without any problem
Thy
kraljan66 said:
found better/simply solution, just flash last "official" RR build, there is magisk included and it works without any problem
Thy
Click to expand...
Click to collapse
Hola
Just to confirm I thought official RR had removed Magisk from base installation zip. So you're using the latest RR downloaded from Sourceforge?
Thanks.
Currently I use Renovate Oreo 2.5.
I've try the install and use V4A, without success.
My precedere was this:
Install Busybox
Rename the audio_effects.conf
Install SELinux Switcher 6.0.3, but flash via TWRP, to install the apk dont work (pharsing error) and switch to permissive
Install iPER4Android_FX_v2505_A7.x_Nougat_IO_test_fix.apk
reboot, driver install, reboot...
But the V4A status is "abnormal"
But besides this way (or very similar - v4a falsh via TWRP) never works for me with nougat, also with me previous LG G4. The only way for me to get a working V4A with nougat is to flash tje AryaMod, which obviously currently dont work with oreo.
Have anyone a working solution?
I also tried everything I could find, no luck.
Returned to 7.1.1 which seems so slow after Oreo.
Viper4Android > Settings > Turn On Developer Mode > Disable SELinux
Does that work? If I remember right, that was what I had to do on another Oreo phone...(yes I had used SeLinux Switcher already).
cstark27 said:
Viper4Android > Settings > Turn On Developer Mode > Disable SELinux
Does that work? If I remember right, that was what I had to do on another Oreo phone...(yes I had used SeLinux Switcher already).
Click to expand...
Click to collapse
No, this sadly also dont work.
Have you tried to install v4a with biohazard mod?
https://androidfilehost.com/?fid=457095661767133402
acho07 said:
Have you tried to install v4a with biohazard mod?
https://androidfilehost.com/?fid=457095661767133402
Click to expand...
Click to collapse
No, but I'll try it.
Just flash? Or must I something adjust, audio_effects.conf etc.?
hannsheinz said:
No, but I'll try it.
Just flash? Or must I something adjust, audio_effects.conf etc.?
Click to expand...
Click to collapse
Just flash from recovery. Think it should overwrite everything. Let me know if it works. v4a is the only reason I have not tried to flash Oreo beta ?
The BiohazardMod also dont work.
Back to Nougat.
For me the same without V4A is Oreo uninteresting.
Hi all.
After updating to Oreo the camera is slow on starting.
I have tried other camera apps but it's the same. Even Gcam after rooting does the same.
Is it possible to speed up the startup?
Thanks.
belean_cristian said:
Hi all.
After updating to Oreo the camera is slow on starting.
I have tried other camera apps but it's the same. Even Gcam after rooting does the same.
Is it possible to speed up the startup?
Thanks.
Click to expand...
Click to collapse
If you are rooted with Magisk, you can install the Magisk SELinux Permissive Script module (this will change your SELinux mode to permissive) and the camera start-up lag will be gone.
cmk7128 said:
If you are rooted with Magisk, you can install the Magisk SELinux Permissive Script module (this will change your SELinux mode to permissive) and the camera start-up lag will be gone.
Click to expand...
Click to collapse
Confirm works great , also Viper module
I got the same problem, bro.
Saw this thread and did installed the Magisk SELinux Permissive Script module, the lag's now gone .
fantasticlord said:
I got the same problem, bro.
Saw this thread and did installed the Magisk SELinux Permissive Script module, the lag's now gone .
Click to expand...
Click to collapse
Good to hear that.
---------- Post added at 01:45 PM ---------- Previous post was at 01:39 PM ----------
euricoalex said:
Confirm works great , also Viper module
Click to expand...
Click to collapse
Yes. Personally I am waiting for the Dolby Atmos mod (by ahrion) to be compatible with Oreo.
cmk7128 said:
If you are rooted with Magisk, you can install the Magisk SELinux Permissive Script module (this will change your SELinux mode to permissive) and the camera start-up lag will be gone.
Click to expand...
Click to collapse
It worked like a charm. Thanks. I hated how slow it was opening
cmk7128 said:
If you are rooted with Magisk, you can install the Magisk SELinux Permissive Script module (this will change your SELinux mode to permissive) and the camera start-up lag will be gone.
Click to expand...
Click to collapse
Can i ask which version of magisk and Magisk SELinux Permissive Script module did u use? Coz when I'm installing, it says need magisk v4.0+. I used magisk v5.5.3
Latest.. i think, 1.1
The latest Magisk version is 15.2
mat_yan said:
Can i ask which version of magisk and Magisk SELinux Permissive Script module did u use? Coz when I'm installing, it says need magisk v4.0+. I used magisk v5.5.3
Click to expand...
Click to collapse
I installed SELinux Permissive Script v1.1 using Magisk v15.1 and Magisk Manager v5.5.2.
The trick function, but isn't there another solution without create security problems setting SElinux to permissive?
Hi, can someone please tell me how can i install Magisk SELinux Permissive Script and how to open it, i dowloand Magisk SELinux Permissive Script from xda and intall it from magisk and reboot my phone but how can i open it, please help me
Sefa142 said:
Hi, can someone please tell me how can i install Magisk SELinux Permissive Script and how to open it, i dowloand Magisk SELinux Permissive Script from xda and intall it from magisk and reboot my phone but how can i open it, please help me
Click to expand...
Click to collapse
There isn't anything to open, you'll need some app to toggle permissive/enforce, if you want to do that.
Do you people know that switching selinux to permissive TURNS OFF SECURITY FEATURES in android? Basically every software can read into every other. This is a very huge issue! Not a solution!
Same thread again and again. When are people gonna use the search function?
Ok then, please provide a link to a thread speaking about this issue. Your reply is useless, destructive, and meaningless. Why do you even write someting like that?
pr0bot said:
Ok then, please provide a link to a thread speaking about this issue. Your reply is useless, destructive, and meaningless. Why do you even write someting like that?
Click to expand...
Click to collapse
It wasn't even necessary to search, it's on the first page already, about 6 topics below this question. https://forum.xda-developers.com/mi-a1/help/properly-fixing-oreo-magisk-camera-lag-t3729709
I installed a Magisk module that's a fix for the issue of the camera, and it worked flawlessly
Can you help me how to install magisk and how to do it with steps?
Now it looks like Magisk SELinux Permissive Script is discontinued:
https://forum.xda-developers.com/apps/magisk/module-magisk-selinux-permissive-script-t3577549
and Magisk SELinux Manager should be used instead.
Has some tried it (Magisk SELinux Manager)? If so, how did s/he install it?
Hi, I am using Viper4android Fx for Magisk (created by ShadySquirrel) on Xiaomi Mi A1 which was rooted systemlessly by Magisk "patched_boot.img" method. I have installed Magisk SELinux permissive script and Busybox through Magisk Manager. Now whenever I am installing V4A Magisk module, it works for some time and then it stops working with a pop up like "Update/install driver". But when I am trying to update or install the driver, it fails with an I/O error. Reboot doesn't solve the problem. I read on Xda that SELinux permissive script needs to be enabled and storage permission needs to be given to V4A. I have both active. But still, the problem persists. If I uninstall V4A module and reinstall it, then it works, but for a few days. Then the problem starts again. Is there any workaround?
Note that, I have stock android 8.0.0 with no custom recovery and no custom kernel.
https://forum.xda-developers.com/apps/magisk/module-viper4android-fx-2-5-0-5-t3577058
I'm not using viper actually, I stay with Dolby on Oreo with my a1.
But I guess you will find working viper and answers on the link.
I guess I have the same problem here. When I try to install Viper4Android or Viper4Arise modules, phone starts crashing with "Dirac Control Services Stopped Working" showing up every few seconds. I really love Viper and I don't want to move from Stock ROM or install any kernel. Any clue on that?
Maybe Try selinux switcher and viper4android by viper520, zhuhang and others (i Click Three Times Volume Up)