-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (26 loc) · 990 Bytes
/
Makefile
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
cm_dl_link:
scripts/cyanogenmod_download_link.sh
download_apks:
mkdir -p pkg/data/app
mkdir -p pkg/system/priv-app
scripts/download_apks.sh
clean:
rm -f build/mission-impossible-update.zip
rm -f pkg/*/*app/*
package: download_apks
mkdir -p build
(cd pkg; zip -r ../build/mission-impossible-update.zip *)
push_emulator:
adb -e push build/mission-impossible-update.zip /sdcard/
push_update_zip:
adb push -p build/mission-impossible-update.zip /sdcard/
push_cm_zip:
adb push -p assets/cm-11-20141112-SNAPSHOT-M12-grouper.zip /sdcard/cm-11.zip
set_openrecoveryscript:
adb push -p assets/openrecoveryscript /sdcard/
adb shell "su root cp /sdcard/openrecoveryscript /cache/recovery/"
update_orwall_init:
rm pkg/system/etc/init.d/*
(cd pkg/system/etc/init.d && wget https://raw.githubusercontent.com/EthACKdotOrg/orWall/master/app/src/main/res/raw/userinit.sh ---output-document=91firewall)
build_deploy: package push_update_zip set_openrecoveryscript
adb reboot recovery