diff --git a/Using-PMT-via-Termux-or-ADB.md b/Using-PMT-via-Termux-or-ADB.md index 9e627d5..7031cab 100644 --- a/Using-PMT-via-Termux-or-ADB.md +++ b/Using-PMT-via-Termux-or-ADB.md @@ -6,22 +6,22 @@ This part of the guide explains how to download and install PMT with **Termux**. --- -### 📋 Requirements +### Requirements - Termux app from [F-Droid](https://f-droid.org/packages/com.termux) or [GitHub](https://github.com/termux/termux-app/releases). - DO NOT INSTALL TERMUX FROM PLAY STORE! --- -### 🚀 Step-by-Step Usage +### Step-by-Step Usage -#### 1️⃣ Prepare Termux +#### Prepare Termux If you haven't already, it's highly recommended that you allow internal storage usage. After all, I'm sure you'll want to keep your backups/flashbacks, etc., there. ```bash termux-setup-storage ``` -#### 2️⃣ Install PMT +#### Install PMT You can easily install PMT with the ready-made script! ```bash @@ -53,14 +53,14 @@ It’s written for beginners — no advanced knowledge needed. --- -### 📦 Why Static Version? +### Why Static Version? The **static** build of PMT contains everything it needs inside one single file. This means you can run it directly on your Android device **without** installing extra libraries. Perfect for quick tasks via ADB. --- -### 📋 Requirements +### Requirements - **ADB installed** on your computer (Part of the Android SDK Platform Tools — [Download here](https://developer.android.com/studio/releases/platform-tools)) - **USB Debugging enabled** on your phone @@ -69,9 +69,9 @@ Perfect for quick tasks via ADB. --- -### 🚀 Step-by-Step Usage +### Step-by-Step Usage -#### 1️⃣ Get the Correct Binary +#### Get the Correct Binary Download the **`pmt-static`** file that matches your device’s architecture: - **`pmt-static-arm64-v8a`** → For 64-bit devices - **`pmt-static-armeabi-v7a`** → For 32-bit devices @@ -80,7 +80,7 @@ Unzip the downloaded `.zip` file — you should now have a `pmt` binary. --- -#### 2️⃣ Push the Binary to Your Device +#### Push the Binary to Your Device Use ADB to copy the `pmt` file to your phone’s temporary folder: ```bash # Rename for more easily usage @@ -89,25 +89,25 @@ mv pmt_static pmt adb push pmt /data/local/tmp/pmt ``` -#### 3️⃣ Open an ADB Shell +#### Open an ADB Shell Access your device shell: ```bash adb shell ``` -#### 4️⃣ Change to the Directory +#### Change to the Directory Move into the temporary directory where pmt is stored: ```bash cd /data/local/tmp ``` -#### 5️⃣ Give Execute Permission +#### Give Execute Permission Allow the binary to be executed: ```bash chmod 755 pmt ``` -#### 6️⃣ Run PMT +#### Run PMT You can now run PMT directly from this directory: ```bash @@ -122,7 +122,7 @@ Example — Back up the boot partition: ./pmt backup boot ``` -#### 💡 Tips +#### Tips Commands must be run from /data/local/tmp unless you move pmt elsewhere.\ The /data/local/tmp folder is cleared when you reboot your device.\ Static builds are completely standalone — no missing library issues.