forked from dsixda/Android-Kitchen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu
executable file
·71 lines (61 loc) · 1.62 KB
/
menu
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/bin/bash
version=0.144
chmod 755 scripts/*
scripts/check_install_dir
if [ "$?" == "1" ]
then
exit 0
fi
scripts/init_kitchen
scripts/check_binaries
if [ "$?" == "1" ]
then
exit 0
fi
while :
do
clear
echo
echo "============================================================"
echo " HTC Android Kitchen $version - by dsixda (xda-developers.com)"
echo "============================================================"
echo
echo " 1 - Set up working folder from ROM"
echo " 2 - Add root permissions"
echo " 3 - Add BusyBox"
echo " 4 - Disable boot screen sounds"
echo " 5 - Add wireless tethering"
echo " 6 - Zipalign all *.apk files to optimize RAM usage"
echo " 7 - Change wipe status of ROM"
echo " 8 - Change name of ROM"
echo " 9 - Check update-script for errors"
echo " 10 - Show working folder information"
echo
echo " 0 - ADVANCED OPTIONS"
echo " 99 - Build ROM from working folder"
echo
echo " u - Update/About kitchen"
echo " x - Exit"
echo
echo
echo -n "Enter option: "
read opt
case $opt in
1) clear; scripts/check_rom; continue;;
2) scripts/do_root; continue;;
3) scripts/add_busybox show_help;;
4) scripts/disable_sounds;;
5) scripts/add_tether;;
6) scripts/do_zipalign;;
7) scripts/change_wipe;;
8) scripts/change_rom_name;;
9) scripts/verify_update_script; continue;;
10) scripts/show_rom_info;;
0) scripts/menu_advanced $version; continue;;
99) scripts/build_rom;;
u) scripts/about $version; continue;;
x) scripts/init_kitchen; clear; echo; echo "Goodbye."; echo; exit 1;;
*) echo "Invalid option"; continue;;
esac
scripts/press_enter
done