need help preventing a file from be modified
Let me explain what I am trying to do...
I am trying to get past HDMI checks that some apps contain, and I learned that they detect if an HDMI cable is detected by reading a file...
The file /sys/class/switch/hdmi/state holds a 0 or a 1 depending on if an hdmi cable is connected, is their any way to make this file permanently hold a 0 so apps won't detect it? i tried changing permissions and everything i try to do on this file won't work. If anybody has any information they might be able to share to help me figure this out or if they can confirm if its not possible it would all be helpful.
I am rooted, and also have S-OFF. Any suggestions would be appreciated.
1 penny every time you unlock your phone screen, new try this new app: http://getlocket.com/r/?5166079d