|
| 1 | +--- |
| 2 | +title: Debloat Any Android Device |
| 3 | +description: A guide to Debloat any Android Based OS |
| 4 | +--- |
| 5 | + |
| 6 | +import { Steps } from "@astrojs/starlight/components"; |
| 7 | + |
| 8 | +This guide will walk you through how to Debloat any android Device |
| 9 | + |
| 10 | +This Guide assumes that you have :- |
| 11 | + |
| 12 | +- A Linux PC |
| 13 | +- An Android phone to Debloat |
| 14 | +- An Usb Cable to connect the Android Phone to the Pc |
| 15 | + |
| 16 | +## Prerequisites |
| 17 | + |
| 18 | +<Steps> |
| 19 | + |
| 20 | +1. ### Turn on Developer Mode |
| 21 | + |
| 22 | + On your Android phone, Enable Developper Options by :- |
| 23 | + |
| 24 | + - go to `Setting > About > Version` |
| 25 | + - On this Page, find the `Build Number` Element |
| 26 | + - Click it 10 times |
| 27 | + - It would say that `Your are 9..8..7..6 clicks away from being a developer` |
| 28 | + - Then it would say `You are a Developer Now` Meaning Developer mode is Turned ON now |
| 29 | + |
| 30 | +2. ### Turn on USB Debugging |
| 31 | + |
| 32 | + on your Android phone, go to :- |
| 33 | + |
| 34 | + - `Setting > Additional Settings > Developper Options` |
| 35 | + - Scroll a full Page and find `USB Debugging` on the bottom of the page and turn it On |
| 36 | + |
| 37 | +3. ### Install Tools |
| 38 | + |
| 39 | + on your Linux Computer, install some Dependencies Packages |
| 40 | + |
| 41 | + ```sh |
| 42 | + sudo apt install adb curl |
| 43 | + ``` |
| 44 | + |
| 45 | + then Download the `Universal Android Debloat` Tool from |
| 46 | + |
| 47 | + - go to the [Releases Page](https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/releases). |
| 48 | + - Download the file named `uad-ng-linux` |
| 49 | + - now make it Executable |
| 50 | + |
| 51 | + ```sh |
| 52 | + chmod +x uad-ng-linux |
| 53 | + |
| 54 | + ``` |
| 55 | + |
| 56 | +</Steps> |
| 57 | + |
| 58 | +## Debloat Steps |
| 59 | + |
| 60 | +<Steps> |
| 61 | + |
| 62 | +1. ### Connect Phone to PC |
| 63 | + |
| 64 | + Connect the Usb to you Android and PC, then :- |
| 65 | + |
| 66 | + - a Popup Appears with a title `Use USB To`. Select `Charge Only`. |
| 67 | + - Now another Dialog should Appear with title `Allow USB Debugging`. |
| 68 | + - Click Allow, if no Dialog seems to appear, follow these steps to fix it [linked below](/FreqKnow/linux/debloat-android/#common-problems) |
| 69 | + |
| 70 | + - Check if the android device was detected or not |
| 71 | + |
| 72 | + ```sh |
| 73 | + adb devices |
| 74 | + ``` |
| 75 | + |
| 76 | + - if it outputs something like this , that means that the device was successfully recognized by adb. |
| 77 | + |
| 78 | + ```sh frame='none' "<Device_serial_id> device" |
| 79 | + $: adb devices |
| 80 | + List of devices attached |
| 81 | + <Device_serial_id> device |
| 82 | + ``` |
| 83 | + |
| 84 | +2. ### Run the Debloater Tool |
| 85 | + |
| 86 | + Let's run the Actuall Tool that does the Debloating. |
| 87 | + We Have Already download the executable from github, now we just run it by |
| 88 | + |
| 89 | + ```sh |
| 90 | + ~/Downloads/uad-ng-linux |
| 91 | + ``` |
| 92 | + |
| 93 | +3. ### Usage of the Debloater Tool |
| 94 | + |
| 95 | + In this tool, you will see the recommended apps to remove in a list like UI with a Checkbox next to each item. Just click the one you want to Uninstall and Click the `Review Selection` button then `Apply` button to remove the Apps |
| 96 | + |
| 97 | +</Steps> |
| 98 | + |
| 99 | +## Common Problems |
0 commit comments