Small tweaks

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2022-02-09 00:22:02 -05:00
parent 65584e96ce
commit bc3a9cddba
6 changed files with 58 additions and 22 deletions

View file

@ -320,6 +320,10 @@ if enterAndClear "device/htc/m8-common"; then
awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #broken releasetools
fi;
if enterAndClear "device/htc/msm8974-common"; then
applyPatch "$DOS_PATCHES/android_device_htc_msm8974-common/295147.patch"; #Enable ZRAM
fi;
if enterAndClear "device/lge/g2-common"; then
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
echo "allow hwaddrs self:capability { fowner };" >> sepolicy/hwaddrs.te;