android
Android is a mobile operating system from google. Currently all three smart devices i.e Note6Pro , Motorola E32 and samsung Tab A8 are running stock Android. All these devices form the computing environment we have at home.
One Plus 7 has been shelved due to display problem since 19 July 2023.
A week back i.e around mid-jul 2026, the display for One Plus has been fixed.
Motorola E32 screen got damaged a month back. I have started using it from 2026-07-24 instead of Note6Pro . Undecided whether and when to fix the screen for Motorola E32.
Developer options
Some indian banking applications expect Developer options to be disabled. mParivahan could not be used with this option enabled.
Wireless debugging
To connect through adb wirelessly wireless debugging needs to be enabled in Developer options.
- Go to Settings > About Phone and tap Build Number 7 times to enable Developer Options.
- Go to Settings > System > Developer Options.
- Toggle on Wireless Debugging (and select “Always allow on this network”).
- Tap directly on the text Wireless Debugging to enter its menu.
Pairing the computer
The following has to be done once for each computer.
On your phone, tap Pair device with pairing code. A popup will display a 6-digit pairing code, an IP address, and a Port number.
On your computer, open Terminal or Command Prompt and run:
adb pair <IP_ADDRESS>:<PORT>
When prompted in the terminal, enter the 6-digit pairing code.
Connecting to the phone
Close the pairing popup on your phone. Look at the main Wireless Debugging page for your phone’s main IP address & Port
(Note: this port is usually different from the pairing port).
On your terminal, run:
adb connect <IP_ADDRESS>:<PORT>
Verify if the phone is connected and visible
adb devices
Launch adb shell to issue commands without prepending adb shell
adb shell
memory usage
dumpsys meminfo | grep -E "Total RAM:|Free RAM:|Used RAM:"
top memory offenders
dumpsys meminfo | grep -B1 "kB:"
dumpsys meminfo -a | grep -A 50 "Total PSS by process"
top 10 in one shot:
dumpsys meminfo | sed -n '/Total PSS by process/,/Total PSS by OOM/p' | head -12
Debloat
Many of the inbuilt applications can be disabled. Here’s brief summary of commands to be entered from within adb shell, otherwise append adb shell to every command. Refer to motorola E32 page for a sample debloating list.
List all installed packages:
pm list packages
List only system apps:
pm list packages -s
Filter packages by keyword e.g., replace keyword with google, motorola, or samsung :
pm list packages | grep 'keyword'
To uninstall a package:
pm uninstall --user 0 <package_name>
Many system packages cannot be uninstalled. So disable them instead:
pm disable-user --user 0 <package_name>
To install or enable back a package:
pm enable <package_name>
Factory reset
Performing a standard factory reset from your phone’s settings will instantly restore all original pre-installed bloatware.
© Prabu Anand K 2020-2026