-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (74 loc) · 3.78 KB
/
index.html
File metadata and controls
76 lines (74 loc) · 3.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Android ADB Toolkit</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: #0a0e27; color: #e0e0e0; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
h1 { color: #4CAF50; margin: 20px 0; font-size: 2.5em; }
h2 { color: #66BB6A; margin: 20px 0 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 20px 0; }
.card { background: #1a1f3a; border-left: 4px solid #4CAF50; padding: 20px; border-radius: 8px; }
.card h3 { color: #66BB6A; margin-bottom: 10px; }
.card code { background: #0a0e27; padding: 2px 6px; border-radius: 3px; }
.command { background: #0a0e27; padding: 15px; margin: 10px 0; border-radius: 5px; overflow-x: auto; }
.command code { color: #81C784; }
button { background: #4CAF50; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 1em; }
button:hover { background: #45a049; }
</style>
</head>
<body>
<div class="container">
<h1>🤖 Android ADB Toolkit</h1>
<p>Web-based Android debugging and control via ADB.</p>
<h2>Quick Commands</h2>
<div class="grid">
<div class="card">
<h3>Device Info</h3>
<div class="command"><code>adb shell getprop ro.product.model</code></div>
<button onclick="copyToClipboard('adb shell getprop ro.product.model')">Copy</button>
</div>
<div class="card">
<h3>Install APK</h3>
<div class="command"><code>adb install app.apk</code></div>
<button onclick="copyToClipboard('adb install app.apk')">Copy</button>
</div>
<div class="card">
<h3>Screen Capture</h3>
<div class="command"><code>adb exec-out screencap -p > screen.png</code></div>
<button onclick="copyToClipboard('adb exec-out screencap -p > screen.png')">Copy</button>
</div>
<div class="card">
<h3>Reboot to Recovery</h3>
<div class="command"><code>adb reboot recovery</code></div>
<button onclick="copyToClipboard('adb reboot recovery')">Copy</button>
</div>
<div class="card">
<h3>List Packages</h3>
<div class="command"><code>adb shell pm list packages</code></div>
<button onclick="copyToClipboard('adb shell pm list packages')">Copy</button>
</div>
<div class="card">
<h3>Grant Permission</h3>
<div class="command"><code>adb shell pm grant com.app permission.NAME</code></div>
<button onclick="copyToClipboard('adb shell pm grant com.app permission.NAME')">Copy</button>
</div>
</div>
<h2>Resources</h2>
<ul style="margin-left: 20px; margin-top: 10px;">
<li><a href="https://github.com/OutrageousStorm/android-adb-cheatsheet" style="color: #4CAF50;">ADB Cheatsheet (150+ commands)</a></li>
<li><a href="https://github.com/OutrageousStorm/android-toolkit-scripts" style="color: #4CAF50;">Toolkit Scripts (Python + Bash)</a></li>
<li><a href="https://github.com/OutrageousStorm/android-rom-guide" style="color: #4CAF50;">Custom ROM Guide</a></li>
</ul>
</div>
<script>
function copyToClipboard(text) {
navigator.clipboard.writeText(text);
alert('Copied: ' + text);
}
</script>
</body>
</html>