Skip to content

Instantly share code, notes, and snippets.

View frozenbits's full-sized avatar
💀
Squashing bugs

Adji frozenbits

💀
Squashing bugs
  • Jakarta, Indonesia
View GitHub Profile
@frozenbits
frozenbits / ADB: Connecting remotely from another machine.md
Last active July 14, 2024 19:54
ADB: Connecting remotely from another machine

If anything makes its way here, it means that I have scratched my head for hours to find the correct keywords to search for these.

These are assuming you have done port forwarding correctly. On local networks, no port forwarding is necessary.

(Yes, I have wasted hours playing around with netsh with its netsh interface portproxy add v4tov4)

How to start adb server on all interfaces on port 5038 (custom port)

adb -a -P 5038 nodaemon server start
@frozenbits
frozenbits / Personal Note - Samsung Debloating without root.md
Last active July 25, 2022 19:19
Samsung Debloating without root

I created this gist to make remembering codes easier because of my ever increasing use for things like this.
Phone space is at an ever increasing premium for older phones.

Start with:

adb shell

To check whether you have the package or not:

$ pm list packages | grep -i $package_name // The -i makes the search case-insensitive

EXAMPLE: