-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
56 lines (48 loc) · 1.34 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Android Debloat Script Generator</title>
<link rel="stylesheet" href="basscss.min.css">
<style>
div table tbody tr:hover {
background: #afecef;
}
table tbody tr:nth-child(odd) {
background: #efefef;
}
</style>
</head>
<body>
<p class="h1">Android Debloat Script Generator</p>
<p>
This tool will generate a script to debloat your phone based on the output of the PM command.
</p>
<p>
The resulting script will probably require root. I did this on a Sony Xperia XZ1 compact without
unlocking the bootloader, so any temporary root will do the trick.
</p>
<p class="h2">Prerequisites</p>
<div>
<ul>
<li>A computer with ADB and relevant drivers installed</li>
<li>USB debugging enabled on the device</li>
</ul>
</div>
<p class="h2 ">Tool</p>
<ol>
<li>Run <code>adb shell pm list packages -f</code> and paste the output into the text are below.
</li>
<li>Press the button.</li>
<li>Select the packages you want to disable.</li>
<li>Copy the output into a shell and run it.</li>
</ol>
<label for="input"></label><textarea cols="90" rows="10" class="fit" id="input"></textarea>
<div class="clearfix mt1">
<button id="button">Generate table</button>
</div>
<hr/>
<div id="output"></div>
<script src="tool.js"></script>
</body>
</html>