You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,14 @@ This script generates a removal script to clean unnecessary packages from your A
7
7
- Alternatively, manually edit `stock_rom_packages` to create `debloated_rom_packages` (refer to step 3 for the adb command to dump the list).
8
8
- Use `SPG=1` to regenerate `stock_rom_packages` if needed.
9
9
- You might need to format `/data` to make the ROM boot after debloating if you ran it in TWRP.
10
+
- If your stock has uses erofs or any read-only fs, just use the list from `packages_to_replace` in a module to systemlessly debloat (module generation coming soon™).
10
11
11
12
### Prerequisites
12
13
- Root access with Magisk or Custom recovery like TWRP.
13
14
- A package list from a debloated ROM.
14
15
- Backup your data before running the generated script.
15
16
- Devices need to have `avb` disabled.
17
+
- Basic knowledge of bash and Android.
16
18
17
19
### Usage
18
20
@@ -36,17 +38,17 @@ This script generates a removal script to clean unnecessary packages from your A
36
38
37
39
4. **Edit `blacklist.sh`:**
38
40
39
-
You can add **APKs** and **directories** that are to be ignored and run gen.sh again. By default, it blacklists `/apex`, `/data`, and `/vendor`.
41
+
You can add **APKs** and **directories** that are to be ignored and run `gen.sh` again. By default, it blacklists `/apex`, `/data`, and `/vendor`.
40
42
41
-
6. **Flash the ZIP in TWRP/Execute nuke.sh in TERMUX:**
43
+
5. **Flash the ZIP in TWRP/Execute nuke.sh in TERMUX:**
42
44
43
-
After running `gen.sh`, a TWRP flashable ZIP will be generated in the `package` directory and `nuke.sh`in repo dir
45
+
After running `gen.sh`, a TWRP flashable ZIP will be generated in the `package` directory and `nuke.sh`inthe repo directory.
44
46
45
47
Transfer the generated ZIP to your device and flash it in TWRP. This will automatically handle mounting and removing the packages.
46
48
47
49
**OR**
48
50
49
-
Execute nuke.sh in Termux
51
+
Execute `nuke.sh`in Termux.
50
52
51
53
### Warnings
52
54
- This script will remove packages from your device. The author is not responsible for any damage.
0 commit comments