Does anybody know a way to make Viper4Android work on roms with new firmware like XXUHPF1. I'm using MBP V5 by melekbarca on the i9500. I already have try unchecking the mount separate option in super su but didn't work. Also tried this in other roms like albe95 and inferno but no luck.
I apologize for my English and my lack of experience.
Because, most probably, the selinux is set to enforcing. Viper4Android needs to to be permissive.
GDReaper said:
Because, most probably, the selinux is set to enforcing. Viper4Android needs to to be permissive.
Click to expand...
Click to collapse
Thank you for your answer but I don't think that's the problem cause I have try using Setlinux mode changer and also had try with versions of viper that don't require permissive kernell and nothing works.
GDReaper said:
Because, most probably, the selinux is set to enforcing. Viper4Android needs to to be permissive.
Click to expand...
Click to collapse
Well actually it seems you were right. I try installing different kernels but had no luck; till I installed stock Permissive Kernel By @AL_IRAQI (http://forum.xda-developers.com/showpost.php?p=59507846&postcount=4860) and untick the separate mount option in super su. Now it works :laugh: . Thanks for the answer
Good to know you solved your problem.
To be noted that stock Samsung kernel is always enforcing, even after you use SELinux mode changer to change your SELinux status.
Sent from my ASUS_Z00AD using XDA Labs
Related
So i need a SELinux Permissive KERNEL for the Galaxy Note III SM-N9005, that doesnt have bugs like that WiFi isnt working, or Camera isnt working, or Force Close of Apps or so. The best i found was the WonderChild Kernel, only problem was that the Camera wasnt working at all, and it ran hot like a baked pizza after some time. Else it was great, the other that i found also set my SELinux to Permissive, but has WiFi and Force Closing issue. Is there ANY kernel out there that is almost problem free? Cause i NEED SELinux on Permissive. I found a way to set SELinux to Permissive without any KERNEL, but the STOCK ROM doesnt support init.d afaik, so it resets everytime i reboot. (Now the problem is im stuck at the same problem as the other guy, i get when i i try to run the script: chmod /sys/fs/selinux/enforce "Permission Denied") Here: http://forum.xda-developers.com/showthread.php?t=2471416&page=7
If anyone knows a way, how to set SELinux to Permissive, that works on reboot (best is just having a KERNEL that does that), please tell me. Thanks
yanniclord said:
So i need a SELinux Permissive KERNEL for the Galaxy Note III SM-N9005, that doesnt have bugs like that WiFi isnt working, or Camera isnt working, or Force Close of Apps or so. The best i found was the WonderChild Kernel, only problem was that the Camera wasnt working at all, and it ran hot like a baked pizza after some time. Else it was great, the other that i found also set my SELinux to Permissive, but has WiFi and Force Closing issue. Is there ANY kernel out there that is almost problem free? Cause i NEED SELinux on Permissive. I found a way to set SELinux to Permissive without any KERNEL, but the STOCK ROM doesnt support init.d afaik, so it resets everytime i reboot. (Now the problem is im stuck at the same problem as the other guy, i get when i i try to run the script: chmod /sys/fs/selinux/enforce "Permission Denied") Here: http://forum.xda-developers.com/showthread.php?t=2471416&page=7
If anyone knows a way, how to set SELinux to Permissive, that works on reboot (best is just having a KERNEL that does that), please tell me. Thanks
Click to expand...
Click to collapse
CivZ Rev 3.2
radicalisto said:
CivZ Rev 3.2
Click to expand...
Click to collapse
Perhaps you missunderstood, Note 3 not Note 8.0 Tablet. Please give me a link to the mod/kernel if its for Note 3. Thanks
yanniclord said:
Perhaps you missunderstood, Note 3 not Note 8.0 Tablet. Please give me a link to the mod/kernel if its for Note 3. Thanks
Click to expand...
Click to collapse
I use it on my note 3 have done for a while, Here it is and for future reference and updates go HERE it's in his custom ROM thread..
radicalisto said:
I use it on my note 3 have done for a while, Here it is and for future reference and updates go HERE it's in his custom ROM thread..
Click to expand...
Click to collapse
Sorry, havent mentioned it, i try to STAY at STOCK. NO Custom ROM, only KERNEL or Mods. But i like the ROM, i may try it some time.
Edit: ok the ROM seems awesome, thanks, i just hope it doesnt remove the Boot Sound, thats one of the features i like at the Note 3
Known that most of Galaxy S5 SM-G900H Exynos users has come to Lollipop. But due to some reason I need a custom kernel to set SElinux mode from Enforcing to Permissive.
I wrote this thread is to ask a favor, if anyone has or want to do a similar thing, please share your work, experiences for everyone who has same demand/needed.
Million Thanks
I too need the Permissive mode. I tried SELinuxModeChanger, as suggested by others and also Synapse but they don't do anything. You can change it in the app from Enforcing to Permissive but as soon as you close the app or click on the apply it jumps back to Enforce mode.....
Me too...
Frann7824 said:
Me too...
Click to expand...
Click to collapse
Have you tried one of these kernels?
https://forum.xda-developers.com/ga...opment-exynos/kernel-crazyaquakernel-t3668606
https://forum.xda-developers.com/ga...lopment-exynos/kernel-duki994-kernel-t3427167
They are for android MM.
is it there a rom based on aosp for i9500 where i can do screen mirroing by using chromecast's app?
I can screen mirroing on aosp roms but the mirror screen is with negative/inverse colors on TV.
This problem (negative/inverse colors) doesnt happen on other tvs using the same chromecast dongle or using another cellphone (lg g2 stock and note 2 stock) and tablet (tab pro 8.4 5.1.1 aosp).
Also it doesnt happen if i use a stock rom based on 5.0.1 touchwiz.
PD: I have tried 2 different gapps and 3 different aosp rom based on 5.1.1. and all of them screen mirror with negative/inverse colors.
No it's a aosp/cm bug.
Lennyz1988 said:
No it's a aosp/cm bug.
Click to expand...
Click to collapse
Thanks for the reply . It should be a bug on aosp on i9500 because im using a galaxy tab pro using resurrection remix with aosp 5.1.1 and screen mirroing doesnt give negative / inverse colors .
Bruno_Tec said:
Thanks for the reply . It should be a bug on aosp on i9500 because im using a galaxy tab pro using resurrection remix with aosp 5.1.1 and screen mirroing doesnt give negative / inverse colors .
Click to expand...
Click to collapse
That is correct. Different device > Different drivers.
Hi,
I used Chromecast screen mirroring fine with PhoenixROM, but it's Touchwiz based. I don't know about Lollipop AOSP/CM based ROMs as I don't own a Chromecast yet.
~Lord
Lennyz1988 said:
That is correct. Different device > Different drivers.
Click to expand...
Click to collapse
Thanks for your answer.
do you know if there is a way to enable selinux in a cm based rom ?
i read in another forum that the problem with screen mirroing is because there is no selinux in cm for i9500.
i havent found a kernel with permissive selinux or a way to enable selinux on cm12.
do you know a way get selinux enabled? thanks.
Bruno_Tec said:
Thanks for your answer.
do you know if there is a way to enable selinux in a cm based rom ?
i read in another forum that the problem with screen mirroing is because there is no selinux in cm for i9500.
i havent found a kernel with permissive selinux or a way to enable selinux on cm12.
do you know a way get selinux enabled? thanks.
Click to expand...
Click to collapse
Hi,
You can't get "SELinux enabled". You can however change it from Enforced to Permissive. To do that try this app out.
All the best,
~Lord
XxLordxX said:
Hi,
You can't get "SELinux enabled". You can however change it from Enforced to Permissive. To do that try this app out.
All the best,
~Lord
Click to expand...
Click to collapse
Thanks for answering . I know that app . My problem is that on a s4 running aosp when i use apps like selinux changer the app says that there is no selinux to change .
Bruno_Tec said:
Thanks for answering . I know that app . My problem is that on a s4 running aosp when i use apps like selinux changer the app says that there is no selinux to change .
Click to expand...
Click to collapse
I have used this on many ROMs whos screen mirroring doesn't seem to work properly, It always seems to ... Well just WORK ! lol - Give this a shot and see if its helps any
http://forum.xda-developers.com/har...experimental-enable-mirroring-device-t2812193
I'm on Pure nexus 7. Latest version. I'm using magisk and phh super user. Anyways I flashed the Deuteronomy 2.3.1. When I boot it up and go to viper4arise. The drivers aren't installed, and says abnormal when I check driver status. I then restored a back up, tried 2.2.3 and the same issue. My music doesnt get changed, shows abnormal in the driver status.
Can anyone help me out? I just want arise to work and if possible to get dolby. I'd be happy with anything
Thanks in advance
Your selinux has to be permissive for it to work
xringo said:
I'm on Pure nexus 7. Latest version. I'm using magisk and phh super user. Anyways I flashed the Deuteronomy 2.3.1. When I boot it up and go to viper4arise. The drivers aren't installed, and says abnormal when I check driver status. I then restored a back up, tried 2.2.3 and the same issue. My music doesnt get changed, shows abnormal in the driver status.
Can anyone help me out? I just want arise to work and if possible to get dolby. I'd be happy with anything
Thanks in advance
Click to expand...
Click to collapse
ArminasAnarion said:
Your selinux has to be permissive for it to work
Click to expand...
Click to collapse
This isn't true - mine works fine on enforcing. The only time I had the exact same issue was when I was also installing the Atmos add-on. Otherwise flashing Deut. 2.1 (I use EX kernel) works flawlessley.
ohlin5 said:
This isn't true - mine works fine on enforcing. The only time I had the exact same issue was when I was also installing the Atmos add-on. Otherwise flashing Deut. 2.1 (I use EX kernel) works flawlessley.
Click to expand...
Click to collapse
I have no idea how you got it to work then? Mine would only process with my selinux as permissive on Deuteronomy. If I was enforcing the driver status was "unknown" and it wouldnt change anything
ArminasAnarion said:
Your selinux has to be permissive for it to work
Click to expand...
Click to collapse
I've tried both still nothing
ohlin5 said:
This isn't true - mine works fine on enforcing. The only time I had the exact same issue was when I was also installing the Atmos add-on. Otherwise flashing Deut. 2.1 (I use EX kernel) works flawlessley.
Click to expand...
Click to collapse
I'll try flashing deut 2.1 and see if it works. I got arise working on 7.0 stock (Used SU) but no clue why its not working now.
I'm thinking this has to do something magisk/phh. Maybe it only works with SU
You need to rename vendor/etc/audio_effects.conf to audio_effects.conf.bak (or whatever extension)
Enviado desde mi Nexus 7 mediante Tapatalk
DorianX said:
You need to rename vendor/etc/audio_effects.conf to audio_effects.conf.bak (or whatever extension)
Enviado desde mi Nexus 7 mediante Tapatalk
Click to expand...
Click to collapse
After flashing or before?
After, then reboot
Enviado desde mi Nexus 7 mediante Tapatalk
DorianX said:
After, then reboot
Enviado desde mi Nexus 7 mediante Tapatalk
Click to expand...
Click to collapse
Yeah got it to work. Not sure which one worked. But I changed my selinux and flashed and renamed the audio file and its working. Thank you
The issue is PHhh Su. I have been in the exact situtation here is what happens with PhhSu.
1.)You get an i/o error when installing driver, even if Viper4A has Root,and SeLinux set to permissive.
2.)Error/abnormal not supported.
If you want to use phh, you need to switch to permissive using some kind of app OR kernal setting,then go into app,then developer mode,disable selinux,toggle on/off, and then it works.
or
switch to SuperuserSu, has no issue at all.
I perosnally dont like superuserSu because they put some of the busybox features behind a paywall, and also the phh is opensource no paywall for features.
I switched to using the Arise SoundSystem, they released a new update today and i said whta the heck,i did this enough let me give it one more shot. Nope didnt work. Current settings set to permissive,disable selinux via app, and working. But going to switch back to supersu. I have having it to permissive and having to switch everytime i want to play audio.
SOME people said they set to permissive,installed,then set back to enforcing and it works..but ive had no luck.
My suggestion, switch root, install, and forget about it and go post in the phh thread maybe they can fix it.
The issue with the i/o i think is when viper is trying to install the driver.
You can also try installing a zip with the driver installed,but again when you try to use it , youll get an neon not enable,not supported,abnormal.
ATM i cant find a fix myself, if you find a permenant fix that will be using phh ,selinux =enforcing please update me.
---------- Post added at 06:58 PM ---------- Previous post was at 06:54 PM ----------
Just saw your using magisk,systemless right? This was normal root,have not tried systemless,might not be supported at all, this would be asked in the Soundsystem thread?
Drops77 said:
The issue is PHhh Su. I have been in the exact situtation here is what happens with PhhSu.
1.)You get an i/o error when installing driver, even if Viper4A has Root,and SeLinux set to permissive.
2.)Error/abnormal not supported.
If you want to use phh, you need to switch to permissive using some kind of app OR kernal setting,then go into app,then developer mode,disable selinux,toggle on/off, and then it works.
or
switch to SuperuserSu, has no issue at all.
I perosnally dont like superuserSu because they put some of the busybox features behind a paywall, and also the phh is opensource no paywall for features.
I switched to using the Arise SoundSystem, they released a new update today and i said whta the heck,i did this enough let me give it one more shot. Nope didnt work. Current settings set to permissive,disable selinux via app, and working. But going to switch back to supersu. I have having it to permissive and having to switch everytime i want to play audio.
SOME people said they set to permissive,installed,then set back to enforcing and it works..but ive had no luck.
My suggestion, switch root, install, and forget about it and go post in the phh thread maybe they can fix it.
The issue with the i/o i think is when viper is trying to install the driver.
You can also try installing a zip with the driver installed,but again when you try to use it , youll get an neon not enable,not supported,abnormal.
ATM i cant find a fix myself, if you find a permenant fix that will be using phh ,selinux =enforcing please update me.
---------- Post added at 06:58 PM ---------- Previous post was at 06:54 PM ----------
Just saw your using magisk,systemless right? This was normal root,have not tried systemless,might not be supported at all, this would be asked in the Soundsystem thread?
Click to expand...
Click to collapse
I think I got it work with phh su by renaming the audio.conf file that was stated above and then changing the selinux using Kernel Adiutor-Mod. Working fine now.
xringo said:
I think I got it work with phh su by renaming the audio.conf file that was stated above and then changing the selinux using Kernel Adiutor-Mod. Working fine now.
Click to expand...
Click to collapse
Yes changing the seLinux to permissive will make it work, but now youve compromised security. I don't think editing the file was the solution.
Solution should be viper working on phh set to permissive, but yeah no go
DorianX said:
You need to rename vendor/etc/audio_effects.conf to audio_effects.conf.bak (or whatever extension)
Enviado desde mi Nexus 7 mediante Tapatalk
Click to expand...
Click to collapse
Not here. Never have with Deut and it works flawlessly systemwide. My understanding is that the install takes care of that. However, as others have reported, I have to flash the permissive zip for it to work so ...
Sent from my Nexus 6P using Tapatalk
Most of us using custom roms, it will be helpful for me if anyone can suggest me some roms which has Permissive selinux status.
Having some problems with enforcing and problems still remains even after changing selinux.
that's why I'm stucked in a rom and can't shift because most roms comes with enforcing selinux.
tested so many roms but can't solve audio problem that's why need some rom that comes with permissive selinux by default.
any one facing same problem?
Everything working fine with enforcing selinux for me. Perhaps a complete clean flash with latest firmware might fix your problem. Otherwise you can use permissive selinux module.
farhanshaikh671 said:
Everything working fine with enforcing selinux for me. Perhaps a complete clean flash with latest firmware might fix your problem. Otherwise you can use permissive selinux module.
Click to expand...
Click to collapse
as i told tried every single solutions I got from here and there, also this solution but not worked. now I'm kind of hopeless and searching for roms that comes with permissive.
DinIslamJoy said:
as i told tried every single solutions I got from here and there, also this solution but not worked. now I'm kind of hopeless and searching for roms that comes with permissive.
Click to expand...
Click to collapse
you can try borets rom. It has an option to manually enable/disable enforcing selinux.
farhanshaikh671 said:
you can try borets rom. It has an option to manually enable/disable enforcing selinux.
Click to expand...
Click to collapse
thanks a lot
Which custom will better then stock rom for my XOOTD device.
pls suggest me.
Official Lineage OS 16 released for our device. It theoretically should give better performance than stock.
You may consider installing latest colt rom. Not only it meets your requirements but also can be used as a daily driver.
Use nxp.zip and get audio problem fixed