Last active
June 22, 2019 13:30
-
-
Save T-rex2017/2c8fc7353774125cea84cb48d4abc016 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# repo sync | |
repo init -u git://github.com/omnirom/android.git -b android-9.0 && repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags | |
# clone repo's | |
git clone https://github.com/trex-p1m-clones/kt_3.18.xx_alps.git kernel/lenovo/p1m && git clone https://github.com/trex-p1m-clones/dt_3.18.xx_alps.git -b twrp device/lenovo/p1m && git clone https://github.com/trex-p1m-clones/vt_3.18.xx_alps.git vendor/lenovo/p1m | |
# compile | |
source build/envsetup.sh && lunch omni_p1m-eng && make -j$(nproc --all) recoveryimage | |
# upload | |
cd out/target/product/p1m && curl --upload-file ./recovery.img https://transfer.sh/recovery.img |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment