diff --git a/1.png b/1.png new file mode 100644 index 0000000..baba081 Binary files /dev/null and b/1.png differ diff --git a/2.png b/2.png new file mode 100644 index 0000000..fef9be3 Binary files /dev/null and b/2.png differ diff --git a/3.png b/3.png new file mode 100644 index 0000000..5a2b68c Binary files /dev/null and b/3.png differ diff --git a/4.png b/4.png new file mode 100644 index 0000000..6dab300 Binary files /dev/null and b/4.png differ diff --git a/5.png b/5.png new file mode 100644 index 0000000..8cbd2f9 Binary files /dev/null and b/5.png differ diff --git a/6.png b/6.png new file mode 100644 index 0000000..73f5976 Binary files /dev/null and b/6.png differ diff --git a/README.md b/README.md index 973b5ad..d4845a2 100644 --- a/README.md +++ b/README.md @@ -1 +1,119 @@ -# GalaxyMaxHzPub \ No newline at end of file +# Galaxy Max Hz + +For **unrooted** device, the following features of Galaxy Max Hz need **WRITE_SECURE_SETTINGS** permission in order to work: +* Resolution & Motion Smoothness Toggle +* Switch between **Adaptive** or **High** Motion Smoothness mode for supported devices + +If your device is **rooted**, install and run the following mini-app to automate granting of **WRITE_SECURE_SETTINGS** permission to Galaxy Max Hz without the need of a PC. You can uninstall the mini-app after: +* [[Root]Write Secure for Galaxy Max Hz before v6.0](https://mega.nz/file/KdRFxYzQ#kKAW9U5avxtIpENfU2gFrC5WWW7jYfDr11VoAdTSoGY) +* [[Root]Write Secure for Galaxy Max Hz v6.0 and above](https://mega.nz/file/CNZCnBDR#Ugw0vkIf281EytWDSA3lL1pyGUuIWzOR4iFnbavueGk) + +---------------------- +### TL;DR + + * Run `adb shell pm grant com.tribalfs.gmh android.permission.WRITE_SECURE_SETTINGS` + +---------------------- + +### 1. Enable developer mode + + * Go to `Settings` > `About phone` > `Software information` and tap `Build number` multiple times until the developer mode is enabled. + +![about phone](about_phone.png) + +### 2. Enable USB debugging + + * Go to `Android Settings app` > `System` > `Developer options`, scroll down a page and enable `USB debugging` option. + +![adb](adb.png) + +### 3. Download ADB on your computer + + * Check [here](https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads) and download ADB for your computer. + + * Extract the downloaded zip file. + +### 4. Connect your phone to your computer + +---------------------- + +### 5. Using command-line + +#### 5.1. Windows: Open up CMD + + * Press `Windows + R` key on your keyboard. + + * Type `cmd` and hit enter. + +![1](1.png) + +#### 5.2. macOS: Open up Terminal + + * Search `Terminal` from Launchpad and run it. + + * Run `sudo -s` and type your user password. **The terminal won't display how much characters you type, it'll remain blank.** + + * Run `export PATH=.:$PATH` + + **Without this, you will get `adb: command not found` errors.** + +### 6. Locate ADB + + * From the terminal window, type "cd ". **Notice the empty whitespace after the "cd".** + + * Locate the extracted `platform-tools` folder from Windows Explorer or Finder(macOS) and drag it over to the terminal window. It'll auto-fill the path. + +![2](2.png) + + * Press enter. + +![3](3.png) + +### 7. Allow your computer to be used for USB debugging + + * Enter the following to the CMD window, followed by an enter: + + ```adb shell echo success``` + + * You can copy the commands and paste it by **right-clicking on the CMD window**. + +![4](4.png) + + * The command may show an error, **this is normal**. Your phone will prompt `Allow USB debugging` for you. + + * If it doesn't show an error, skip this step. + +![adb prompt](adb_prompt.jpg) + + * Tap `OK`. + + * Try `adb shell echo success` again. **It must print `success`**. + +![5](5.png) + +### 8. Grant write secure settings permission + + * Enter the following to the CMD window, followed by an enter: + + ```adb shell pm grant com.tribalfs.gmh android.permission.WRITE_SECURE_SETTINGS``` + + **Note that it's ```com.tribalfs.n20umaxhz``` if you are using the app version 5.40 or lower.** + + +![6](6.png) + + * If the command executed properly, it'll return silently. + +### 9. Disable USB debugging + + * If you don't need USB debugging, it's a good practice to disable it to avoid potential unwanted access. + + * Go to `Settings` > `Developer options`, scroll down a page and **disable** `USB debugging` option. + + * Run `adb kill-server` from the terminal window. + +### 10. Done! + +**That's it!** + +You don't have to repeat this process unless you completely uninstall the app and reinstall it. diff --git a/about_phone.png b/about_phone.png new file mode 100644 index 0000000..bbb55ed Binary files /dev/null and b/about_phone.png differ diff --git a/adb.png b/adb.png new file mode 100644 index 0000000..390e48b Binary files /dev/null and b/adb.png differ diff --git a/adb_prompt.jpg b/adb_prompt.jpg new file mode 100644 index 0000000..183a387 Binary files /dev/null and b/adb_prompt.jpg differ