forked from tommytomatoe/Android-Utility
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathINSTRUCTIONS
More file actions
126 lines (83 loc) · 5.01 KB
/
INSTRUCTIONS
File metadata and controls
126 lines (83 loc) · 5.01 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
### Welcome to Android Utility
# Instructions
# Author: Tommy Nguyen [tommytoamtoe]
# Version: b-1.0.0
# Date: July 13, 2011
Please follow these INSTRUCTIONS Carefully. The usefulness of AU depends on your attention of these instructions. Thank you.
### Installation ###
*** MAC ***
Prerequisite: JAVA (standard on Mac OS X)
1. Download from Github.com link or direct link or mirror.
2. Unpack the archive (tar.gx or zip) to your HOME folder.
HOME folder is located in /Users/username. To determine HOME folder, open Terminal in Applications Drawer and type:
open $HOME
3. Place the unzipped folder in the finder window that opens.
4. Rename the folder to "android-utility" - ATTENTION! CASE SENSITIVE (ie. Android-utility android-utility).
5. Double check and make sure name of folder is "android-utility".
6 From here, you have two options (A or B).
# Option A
Open in Finder the android-utility
Look for the file "andutil"
Double click on "andutil"
A Terminal Window will open up with Welcome Screen (Which you will see only on initial install)
Continue through the installation
# Option B
Open a Terminal Window
Type these lines followed by ENTER key:
cd $HOME/android-utility
./andutil
Continue through the installation
From now on, to run AU, you can either double click on the andutil icon, or simply type "andutil" in Terminal from any directory. AU adds necessary files to your PATH.
*** Linux ***
Prerequisite: JAVA
If you have Java, continue. If not, run these commands (pressing ENTER key after each one) in Terminal to install Java:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-bin sun-java6-jre
sudo apt-get -f install
sudo apt-get install sun-java6-bin sun-java6-jre
1. Download from Github.com link or direct link or mirror.
2. Unpack the archive (tar.gx or zip) to your HOME folder.
HOME folder is located in /home/username. To determine HOME folder, open Terminal in Applications Drawer and type (for Gnome Environment):
nautilus $HOME
3. Place the unzipped folder in the window that opens.
4. Rename the folder to "android-utility" - ATTENTION! CASE SENSITIVE (ie. Android-utility android-utility).
5. Double check and make sure name of folder is "android-utility".
6 From here, you have two options (A or B).
# Option A
Open in Finder the android-utility
Look for the file "andutil"
Double click on "andutil"
A Terminal Window will open up with Welcome Screen (Which you will see only on initial install)
Continue through the installation
# Option B
Open a Terminal Window
Type these lines followed by ENTER key:
cd $HOME/android-utility
./andutil
Continue through the installation
From now on, to run AU, you can either double click on the andutil icon, or simply type "andutil" in Terminal from any directory. AU adds necessary files to your PATH.
*** Windows ***
Coming Later.
### Usage and Explanation of Options ###
To use AU, you utilize the "working-folder". In the "working-folder" after the installation guide are four more directories:
framework-here - to be used with framework files when decompiling and building apks (ie. com.htc.resources.apk and framework-res.apk)
mod-here-multi - to be used when modifying multiple apks or files
mod-here-solo - to be used when modifying single apks or files
ninepatch - to be used strictly for draw9patch images
These are the options available:
1. adb tools - A suite for all your basic and advance Android Debug Bridge (adb) tools. Includes functions such as: adb push, adb pull, adb restart, adb shell, adb remount, adb install, adb devices, and also has a useful adb guide (Option I).
2. keystore manager - A suite for creating and storing all your private keys. Also can be used to sign apks with private keys.
3. sign apk and update.zip - Does what it says. Signs apks with test or private keys and signs update.zips with test keys.
4. zipalign - A suite to allow the user to zipalign apks. Also has information on the zipalign process.
5. CREDITS - Runs the Credits Screen. Big thanks to all those who have given me sound advice and whose tools I've used.
6. apk Re-Engineering - A suite to utilize the goodness of Brut.all's apktool. Allows fast access to versions 1.3.1, 1.3.2, and 1.4.1 and also fast access to different versions of aapt.
7. smali and baksmali - Feature will come in a future release. Stay tuned.
8. PNG optimize - Feature will come in a future release. Stay tuned.
9. draw9patch utilities - A suite to allow the user to recompile RAW or SOURCE 9.png. Also has the option to decompile already compiled 9.png.
10. apk compression method - A suite to allow the user to set a different compression level for apks. Pro = faster access and easier on RAM. Con = larger file size
x. Run Installation Guide - Opens up the installation Guide. Good for installing the working-folder and additional add-ons.
i. Install Android SDK - Feature will come in a future release. Stay tuned.
e. Extras - Opens up options for updates, donations, and contact information.
q. Quit - Quit.
Enjoy!