ubuntu 12.04 14.04
Reference http://stackoverflow.com/a/18490935/2037928
Login as root
Install needed packages
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev| ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json" |
| function sleep(milliseconds) { | |
| var startTime = new Date().getTime(); | |
| while (new Date().getTime() < startTime + milliseconds); | |
| } | |
| sleep(10000); |
ubuntu 12.04 14.04
Reference http://stackoverflow.com/a/18490935/2037928
Login as root
Install needed packages
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev| $ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
| rem Written for buggy audio drivers that need to be restarted | |
| rem In my case, the Claro 8.18 drivers bug out every once in a while on Windows 10, and need restarting to not sound poppy | |
| @echo off | |
| goto check_Permissions | |
| :check_Permissions | |
| echo Administrative permissions required to run this script. Checking... | |
| net session >nul 2>&1 |
| @ECHO OFF&PUSHD %~DP0 | |
| TITLE title KMS_Activation for Windows 10 | |
| Rd "%WinDir%\system32\test_permissions" >NUL 2>NUL | |
| Md "%WinDir%\System32\test_permissions" 2>NUL||(Echo 请使用右键管理员身份运行!&&Pause >nul&&Exit) | |
| Rd "%WinDir%\System32\test_permissions" 2>NUL | |
| SetLocal EnableDelayedExpansion | |
| ::修改下面的内容,定义选择想使用的KMS服务器。如果定义了多次,最后的有效 | |
| ::set KMS_Sev=192.168.2.8 | |
| ::set KMS_Sev=1.2.7.0 |
Migrated with additional information to my blog: https://msfjarvis.dev/posts/understanding-and-resolving-selinux-denials-on-android/
Denial in question
avc: denied { read write } for pid=29059 comm="i.tetherservice" name="ipa" dev="tmpfs" ino=11991 scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0
sepolicy fix