Skip to content
Samsung Community
Home
Guides
Server Info
  • Home
    • Guide

      • Flashing Firmware
        • Local ADB
          • Introduction
            • Why do I need ADB?
              • Getting Started
                • Pairing Process
                  • Setting up Shizuku:
                    • Setting up Termux:
                • Server Info

                  Local ADB

                  UshieAbout 2 min

                  On This Page
                  • Introduction
                    • Why do I need ADB?
                    • Getting Started
                    • Pairing Process
                    • Setting up Shizuku:
                    • Setting up Termux:

                  # Introduction

                  If you're here, you're probably looking of ways to use certain ADB commands without the requirement of having a computer, don't worry as i'll try my best to help you in this matter.

                  # Why do I need ADB?

                  There are plenty of reasons to use ADB, I'll list a few of them here:

                  • You can disable or uninstall apps that you normally aren't allowed to delete, this allows you to uninstall unwanted bloatware and save precious battery on your device.
                  • You can use ADB to change system settings like the minimum/maximum refresh rate (be careful), the resolution, animation speeds and so on.
                  • Ability to grant certain apps even more permissions, like Hex themes and FKM or BBS for detailed battery tracking.
                  • You have the ability to get information about the device, whether it's the battery cycles, display info or more.

                  # Getting Started

                  You only need two things in order to use ADB Locally. In short, you will need:

                  • Android 11 and up
                  • Shizukuopen in new window
                  • Termuxopen in new window

                  # Pairing Process

                  After installing Shizuku from Github, you will need to enable Developer Options in settings. I'll tell you how to below:

                  1. Go to the Settings app, then press "About phone".
                  2. Press "Software Information", then press "Build number" 7 times.
                  3. Enter your pattern, PIN or password to enable the Developer options menu.
                  4. The "Developer options" menu will now appear in your Settings menu.

                  # Setting up Shizuku:

                  1. Open Shizuku and go to "Start via Wireless Debugging → Pairing", you'll receive a notification from Shizuku.
                  2. Go to Settings → Developer Options → Wireless Debugging.
                  3. Press "Pair device with pairing code", a 6 digit WiFi pairing code will appear, memorize it and then in the notification Shizuku sent press "Enter pairing code" and type the 6 digit code You should be paired now, go back to shizuku and tap "Start via Wireless Debugging → Start" and now, you should start setting up Termux, you'll have to repeat this process when you restart your phone

                  # Setting up Termux:

                  Now in Shizuku, tap "Use Shizuku in terminal apps" then tap "Export Files" and then from the side menu tap Termux and then press "Use this folder", there should be 2 files in Termux now, Open Termux and write "nano rish", at the end of the 11th line replace "PKG" with "com.termux", then tap CTRL + X, Save buffer and you're good to go!

                  Now that everything is set up, all you need to do to enter shell mode is go on termux and write "sh rish", now you're free to use the ADB commands you want!

                  Edit this pageopen in new window
                  Last update: 7/30/2022, 2:46:20 AM
                  Prev
                  Flashing Firmware
                  Not affiliated with Samsung Electronics Co., Ltd.

                  This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system.

                  Description