Having issues mounting data on TWRP recovery? Well, the most likely reason for that is encrypted data on your device. Manufacturers have been selling Android devices lately with forced encryption enabled (for safety of your data). This makes certain versions of TWRP not able to mount data partition on the device, and hence unable to flash a zip file (like SuperSU) from TWRP.

Generally, flashing SuperSU zip using TWRP’s install menu is the easiest thing in the world. But if you’re having issues mounting data partition of device on TWRP recovery, then it’s impossible to use the Install button on TWRP to flash a zip file. In that case, you can use the ADB sideload option.

While stock recovery only allows flashing signed zips from ADB sideload, you can install/flash an unsigned zip as well in TWRP recovery via ADB sideload command. And that’s how we’ll flash the SuperSU zip via ADB sideload.

Download SuperSU v2.78 SR4 (latest)

How to ADB Sideload SuperSU zip from TWRP Recovery

  1. Download and save the SuperSU zip file from the download link above to your PC in a separate folder.
  2. Setup ADB and Fastboot on your PC.
  3. Enable USB debugging on your device:
    1. Go to your phone’s settings » About phone » and tap “Build number” Seven times. This will enable Developer options on your phone.
    2. Now go to Settings » Developer options » and tick the USB debugging check box.
  • Now open the folder where you downloaded the SuperSU .zip file and then open a command window inside the folder. To do that, do a Shift + Right click on any empty white space inside the folder and select Open command window here from the context menu.
  • Connect your device to the PC and issue the following command in the command window:
    adb reboot recovery
  • Once your phone boots into TWRP recovery, do the following:
    1. Select Advanced from TWRP recovery main menu.
    2. Select ADB Sideload from advanced options.
    3. Check the Wipe Dalvik Cache and Wipe Cache check boxes.
    4. Finally Swipe to Start Sideload from the bottom bar.
  • Now issue the following command in the command window to flash SuperSU zip:
    adb sideload SuperSU-v2.78-201609011115.zip
  • Once SuperSU zip is flashed successfully, you’ll get Reboot system option, select it.
  • Before rebooting, if TWRP asks you to install SuperSU, make sure you select “Do NOT install SuperSU”.
  • That’s all. Enjoy root access on your Android device. Happy Androiding!