Commit 4ca0aa2d authored by Xponential31's avatar Xponential31
Browse files

vendor:patches: Include shell script for applying and removing patches!

parent d4809d37
Loading
Loading
Loading
Loading

patches/install.sh

0 → 100644
+14 −0
Original line number Diff line number Diff line
#!/bin/bash
cd ../../..
cd system/core
patch -p1 < ../../vendor/mediatek/patches/system_core.patch
cd ../..
cd frameworks/native
patch -p1 < ../../vendor/mediatek/patches/frameworks_native-fence.patch
cd ../..
cd frameworks/base
patch -p1 <../../vendor/mediatek/patches/frameworks_base.patch
cd ../..
cd frameworks/opt/telephony
patch -p1 <../../vendor/mediatek/patches/frameworks_opt_telephony.patch
cd ../..

patches/uninstall.sh

0 → 100644
+14 −0
Original line number Diff line number Diff line
#!/bin/bash
cd ../../..
cd system/core
git reset --hard && git clean -fd
cd ../..
cd frameworks/native
git reset --hard && git clean -fd
cd ../..
cd frameworks/base
git reset --hard && git clean -fd
cd ../..
cd frameworks/opt/telephony
git reset --hard && git clean -fd
cd ../..