Credit: Rupansh, ZeroInfinity, kdrag0n
MAIN DOWNLOAD FOLDER: https://androidfilehost.com/?w=files&flid=275999
TABLE OF CONTENTS
#!/usr/bin/env zsh | |
# | |
# Builds GCC and binutils for exclusively building kernels | |
# | |
# Modified by @kdrag0n for building compact toolchains. | |
# Thanks to Nathan Chancellor for the original bldgcc script: | |
# https://github.com/nathanchance/scripts/blob/master/funcs/bldgcc | |
# | |
# Example usage: |
Credit: Rupansh, ZeroInfinity, kdrag0n
MAIN DOWNLOAD FOLDER: https://androidfilehost.com/?w=files&flid=275999
TABLE OF CONTENTS
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
#!/bin/bash | |
# This script will copy the newly compiled lwjgl.so and libopenal.so | |
# from the specified directory into the correct minecraft jar file. | |
# It will then compute and update the correct sha1sum. | |
# | |
# First Arguement (Required): | |
# Path to the directory containing: | |
# lwjgl.so and libopenal.so | |
# |
To remove a submodule you need to:
| Image format (sized) | Unsized | Compr | Pixel format | Pixel type | | |
|---------------------------------------|--------------------|-------|--------------------|-----------------------------------| | |
| GL_R8 | GL_RED | False | GL_RED | GL_UNSIGNED_BYTE | | |
| GL_R8_SNORM | GL_RED | False | GL_RED | GL_BYTE | | |
| GL_R16 | GL_RED | False | GL_RED | GL_UNSIGNED_SHORT | | |
| GL_R16_SNORM | GL_RED | False | GL_RED | GL_SHORT | | |
| GL_R32F | GL_RED | False | GL_RED | GL_FLOAT | | |
| GL_R8I | GL_RED | False | GL_RED_INTEGER | GL_INT | |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |