UzairTechGuide

How to Connect Shizuku App with Termux To Run Adb commands

In this Tutorial, you will Be told how you can connect the Shizuku App to The Termux Terminal App On Your Android Phone so that you can Run Adb commands on your phone Locally all without a PC or Root. Let's Go!

STEP 1:

Before Starting, Make sure you have Downloaded Termux App From F-droid and Shizuku App On your Android Phone.

STEP 2:

Open the Shizuku App, And Setup it if you haven't (Shizuku Setup Tutorial). Then Click on the third Option "Use Shizuku in Terminal Apps".

Shizuku: Use in Terminal Apps
Shizuku: select "Use Shizuku in terminal apps".

STEP 3:

First, Click the "Export Files" Button, Export files to any where you want. You will find two files, rish and rish_shizuku.dex. I recommend you to save these files in a "sh" folder in the "Documents" folder in main storage of your phone.

Exported files in Documents folder
Files exported: rish + rish_shizuku.dex

STEP 4:

Then, use any text editor to open and edit rish.

STEP 5:

Now you should find and replace PKG with com.termux (com.termux is the package name of Termux).

Editing rish: replace PKG with com.termux
Replace PKG with com.termux inside rish.

STEP 5:

Now Remember the path of Files That you exported from Shizuku and Open termux app. Type the following command:

 cp -r "/sdcard/documents/sh" "/data/data/com.termux/files/home/" 

STEP 6:

Now First move to Sh Directory by cd /sh , then Finally Type this Command in termux to start the Adb via Shizuku:

sh rish
Termux running sh rish
This will copy the Shizuku Files from the Documents folder to Your Termux App. Then Run sh rish - Shizuku service must be paired and running.

Note: Shizuku Service must be Paired and Running Properly in Order to Run the Above Command Successfully.

Hope This Tutorial Was Helpful For You!

Check our other tutorials for more guides.

If the tutorial helped you, support the channel:

YouTube Channel