-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcrdroid.sh
47 lines (36 loc) · 1.06 KB
/
crdroid.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
42
43
44
45
46
47
#!/bin/bash
rm -rf .repo/local_manifests/
# Local TimeZone
sudo rm -rf /etc/localtime
sudo ln -s /usr/share/zoneinfo/Asia/India /etc/localtime
# repo init rom
repo init -u https://github.com/crdroidandroid/android.git -b 15.0 --git-lfs
echo "=================="
echo "Repo init success"
echo "=================="
# Local manifests
git clone -b Crd-15 https://github.com/Sachinpawar86/local_manifests .repo/local_manifests
echo "============================"
echo "Local manifest clone success"
echo "============================"
# Custom Source
wget https://raw.githubusercontent.com/custom-crdroid/custom_cr_setup/refs/heads/15.0/vendorsetup.sh
bash vendorsetup.sh
# Sync the repositories
/opt/crave/resync.sh
echo "============================"
# Export
export BUILD_USERNAME=Sachin
export BUILD_HOSTNAME=crave
echo "======= Export Done ======"
# Set up build environment
source build/envsetup.sh
echo "====== Envsetup Done ======="
# Lunch
lunch lineage_mojito-ap3a-user
echo "============="
# Make cleaninstall
make installclean
echo "============="
# Build rom
mka bacon