Skip to content

Instantly share code, notes, and snippets.

View PIPIPIG233666's full-sized avatar
🐖
Michigan Engineering

Pig PIPIPIG233666

🐖
Michigan Engineering
View GitHub Profile
@PIPIPIG233666
PIPIPIG233666 / gist:986d2675de7abcff0c5f6407de7bdff8
Last active July 27, 2019 00:38 — forked from DD3Boh/gist:6c51fd3c5f91b1042e956771483714de
How to merge a newer CAF tag in an android kernel (For msm kernel)
For msm
Go into your kernel folder with a terminal and do
git fetch https://source.codeaurora.org/quic/la/kernel/msm-xxx/ LA.UM.x.x.rx-0XXXX-xxxxxx.x
Then to do the merge you just have to do
git merge FETCH_HEAD
Now just fix the conflicts if there and then do
@PIPIPIG233666
PIPIPIG233666 / gist:c1c421b2e35ec9ea097ecee474e0a8f7
Created May 18, 2019 22:22 — forked from msfjarvis/sepolicy.md
How to write sepolicy to fix a denial

Denial in question

*scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0

sepolicy fix

allow system_app ipa_dev:chr_file {read write};