Repository navigation
Expand file tree
/
Copy pathAndroidBuilder.plugin
More file actions
executable file
·67 lines (57 loc) · 1.99 KB
/
Copy pathAndroidBuilder.plugin
File metadata and controls
executable file
·67 lines (57 loc) · 1.99 KB
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
#!/bin/bash
# Thanks to dsixa from XDA for the kitchen. This is really awesome work.
# I totally used these scripts as a template. No credit for orignal work for me.
# I just think it's a good fit to add the kernel building scripts from Coralic.nl
# to this kitchen. It seems to make it more complete.
#
# I requested and received permission from dsixda and Armin Coralic on 6/3/10 to use
# their code.
#
# I've tried not to use the same option numbers as the kitchen, just in case someone
# wants to just integrate the two menus on their own. I'm not doing it because of
# split support issues that might result.
#
# No one takes resposibility (especially me), if you do something that bricks your phone.
#
export KITCHEN_ROOT=`pwd`
chmod a+x $KITCHEN_ROOT/scripts/plugins/AB/*
$KITCHEN_ROOT/scripts/plugins/AB/ab_setup
export AOSP_VERSION=
export KERNEL_DIR=
clear
clear_screen=yes
echo
echo "==================================================================="
echo " Android Builder 0.6 - by gnarlyc & kiel123 (xda-developers.com)"
# echo " Android Builder $version - by gnarlyc (xda-developers.com)"
echo " (This would not be possible without code and help from dsixda,"
echo " cteneyck, and Armin Coralic.)"
echo ""
echo " This plugin currently only works on Linux and has only"
echo " been tested on Ubuntu & Debian"
echo "==================================================================="
echo
echo " Select the device that you would like to build for."
echo ""
echo " 1) Generic AOSP"
echo " a) About Builder"
# echo " u) Check Update"
echo ""
echo " 0. Exit"
echo ""
echo -n "Please enter your option: "
read opt
case $opt in
1) clear; $KITCHEN_ROOT/scripts/plugins/AB/ab_pick_version_aosp;;
a) clear; $KITCHEN_ROOT/scripts/plugins/AB/ab_about;;
# u) clear; $KITCHEN_ROOT/scripts/plugins/AB/ab_update;;
0) exit 1;;
*) echo "Invalid option"; clear_screen=no;;
esac
if [ "$clear_screen" == "yes" ]
then
echo
echo "Press Enter to continue"
read enterKey
fi
exit 1