Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 632 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 632 Bytes

ADF - Android (SELinux) Denial Fixer

This script essentially just scrapes avc denials from logcat, and forms sepolicy rules to fix them.

Use through PC

If you don't have python3 on your android device you can use your PC. Clone the repo to your computer, connect your phone to it, and run form_rules.sh. Install python3 and adb beforehand. Then just do what the script says.

Use through phone

If you use something like Termux and can get python3 on your device, you can use form_rules_phone.sh for direct usage. All you have to do is clone the repo and execute it.

git clone https://github.com/uditkarode/ADF.git