forked from Sachinpawar86/Script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyaap.sh
41 lines (32 loc) · 1002 Bytes
/
yaap.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
rm -rf .repo/local_manifests/
# Rom source repo
repo init -u https://github.com/yaap/manifest.git -b fifteen --git-lfs
echo "=================="
echo "Repo init success"
echo "=================="
# Clone local_manifests repository
git clone -b yaap-15 https://github.com/Mayuresh2543/local_manifests.git .repo/local_manifests
echo "============================"
echo "Local manifest clone success"
echo "============================"
# Sync the repositories
/opt/crave/resync.sh
echo "============================"
# Cloning custom apps
#rm -rf packages/apps/Settings
#git clone https://github.com/Mayuresh2543/yaap_packages_apps_Settings.git packages/apps/Settings
#echo "Clone success"
# Export
export BUILD_USERNAME=Mayuresh
export BUILD_HOSTNAME=crave
export TZ="Asia/India"
echo "======= Export Done ======"
# Set up build environment
source build/envsetup.sh
echo "====== Envsetup Done ======="
# Lunch
lunch yaap_stone-ap4a-userdebug
echo "============="
# Build rom
m yaap