Hello friends I am Asad . In this tutorial I  am going to tell you how to enable GREENIFY ADB permission required features with command prompt

                              Steps

1.Install ADB driver for your device on your PC .
2. Go to your phone setting and find developer option and enable USB debugging
Note: If you don't find developer option then go to about phone and tap on build number 10 times and then you will get developer option
3. Connect your phone to the pc using usb cable
4. Open the shell/terminal/command-prompt on the computer, run "adb devices" (without quotes). If everything is properly configured, there should be at least one device in the output. If not, recheck the physical usb connection, "USB debugging" option on the Android device and the device driver installed on the computer.
A sample of the expected output of "adb devices"
List of devices attached
example: 07273a2d251c75ab device
5. A permission request dialog "Allow USB debugging?" may appear on the Android device, asking for authorization for the USB debugging connected computer. Please accept it.
     
6. For different features, you need to run slightly different commands (without quotes) in the shell/terminal/command-prompt to grant the corresponding permission:

Feature name  "Accessibility service run-on-demand"
                     Command
adb -d shell pm grant com.oasisfeng.greenify android.permission.WRITE_SECURE_SETTINGS
Feature name "Aggressive Doze on Android 7.0+ (non-root) "
                   Command
adb -d shell pm grant com.oasisfeng.greenify android.permission.WRITE_SECURE_SETTINGS
Feature name "Doze on the Go"
                 Command
adb -d shell pm grant com.oasisfeng.greenify android.permission.DUMP
Feature name "Aggressive Doze (on device/ROM with Doze disabled)"
                Command
adb -d shell pm grant com.oasisfeng.greenify android.permission.DUMP
Feature name "Wake-up Tracker"
                 Command
adb -d shell pm grant com.oasisfeng.greenify android.permission.READ_LOGS
Feature name "Wake-up Cut-off (Android 4.4~5.x) "
                      Command
adb -d shell pm grant com.oasisfeng.greenify android.permission.READ_LOGS
adb -d shell pm grant com.oasisfeng.greenify android.permission.WRITE_SECURE_SETTINGS
Feature name "Background-free enforcement on Android 8+ (non-root)"
K
                   Command
adb -d shell pm grant com.oasisfeng.greenify android.permission.GET_APP_OPS_STATS


Thanks for visiting our site . If you face any problem then comment down below . I will try to solve your problem .
Don't forget to follow me .

Facebook Link
Instagram Link
Twitter Link
GitHub Link
YouTube Link





Post a Comment

Previous Post Next Post