-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-android-tools.sh
More file actions
36 lines (27 loc) · 929 Bytes
/
install-android-tools.sh
File metadata and controls
36 lines (27 loc) · 929 Bytes
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
#!/bin/zsh
source ~/.macsetup/base.sh
echo ""
print_cyan "Starting setup android tools..."
if [[ ! -e ~/Development ]]; then
mkdir ~/Development
fi
# imgtool: system.img -> Linux ext4 格式的 img, see drakeet shared
# http://newandroidbook.com/tools/imgtool.html
# SmaliEx: boot.oat -> .dex
# https://github.com/testwhat/SmaliEx
# todo
# vdexExtractor: .vdex -> .dex
# https://github.com/anestisb/vdexExtractor
git clone https://github.com/anestisb/vdexExtractor.git ~/Development/vdexExtractor
cd ~/Development/vdexExtractor && bash make.sh
brew_install_formulae zlib-devel
brew_install_formulae apktool
brew_install_formulae dex2jar
# jadx: look .dex or .jar as .java code
# https://github.com/skylot/jadx
# brew install --formulae jadx
brew_install_formulae jadx
# Bytecode Viewer: Java/Android Bytecode Viewer
# https://github.com/konloch/bytecode-viewer
# brew install --cask jclasslib-bytecode-viewer
# todo