Minor changes

This commit is contained in:
Tad 2018-10-20 13:13:32 -04:00
parent 95959a0d89
commit 4f488269ff
2 changed files with 2 additions and 4 deletions

View File

@ -199,10 +199,6 @@ sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.t
enterAndClear "device/lge/mako"; enterAndClear "device/lge/mako";
echo "allow kickstart usbfs:dir search;" >> sepolicy/kickstart.te; #Fix forceencrypt on first boot echo "allow kickstart usbfs:dir search;" >> sepolicy/kickstart.te; #Fix forceencrypt on first boot
echo "allow install_recovery unlabeled:dir search;" >> sepolicy/install_recovery.te; #Update recovery on boot
echo "allow vold persist_file:dir read;" >> sepolicy/vold.te; #Fix Updater
echo "allow priv_app unlabeled:dir search;" >> priv_app.te;
echo "allow platform_app system_app_data_file:dir getattr;" >> sepolicy/platform_app.te;
patch -p1 < "$DOS_PATCHES/android_device_lge_mako/0001-Enable_LTE.patch"; patch -p1 < "$DOS_PATCHES/android_device_lge_mako/0001-Enable_LTE.patch";
enterAndClear "device/motorola/clark"; enterAndClear "device/motorola/clark";

View File

@ -125,7 +125,9 @@ export KBUILD_BUILD_HOST="dosbm";
export ANDROID_JACK_VM_ARGS="-Xmx6144m -Xms512m -Dfile.encoding=UTF-8 -XX:+TieredCompilation"; export ANDROID_JACK_VM_ARGS="-Xmx6144m -Xms512m -Dfile.encoding=UTF-8 -XX:+TieredCompilation";
export JACK_SERVER_VM_ARGUMENTS="${ANDROID_JACK_VM_ARGS}"; export JACK_SERVER_VM_ARGUMENTS="${ANDROID_JACK_VM_ARGS}";
export EXPERIMENTAL_USE_JAVA8=true;
export GRADLE_OPTS="-Xmx2048m"; export GRADLE_OPTS="-Xmx2048m";
export TZ=:/etc/localtime;
export LC_ALL=C; export LC_ALL=C;
alias patch='patch --no-backup-if-mismatch'; alias patch='patch --no-backup-if-mismatch';