The Samsung Galaxy J5 and J7 2016 editions were released early in 2016, but are still fairly powerful budget devices. This guide offers the Magisk rooting method for the J5, and the SuperSU rooting method for the J7.
Required for Either Device (or pretty much all Samsung device flashing):
Odin Flash Tool
All official stock firmware can be found here. These firmwares can be flashed via Odin in case of boot loop or other disaster, but make sure you grab the firmware for your region.
Root for Galaxy J5 2016
- Enable Developer Options and USB debugging. Go to Settings > About Phone > Tap “Build Number” 7 times until Developer Options is activated, then go into Developer Options and enable USB Debugging.
- Download 0.2_SM_J510_2016_Recovery.tar and save it on your PC.
- Download Odin on your PC and launch it.
- Download Magisk flashable .zip and drag the .zip to your phone’s SD card.
- Turn off your phone and boot into download mode (Volume Down + Home + Power) while it’s connected to your PC via USB.
- Click the AP button in Odin and choose the TWRP .tar file from your desktop, uncheck “Auto-Reboot” in Odin, and click Start.
- Wait for Odin to finish (it will say “Success!”), and pull the battery out of your Galaxy J5 for about 10 seconds.
- Put the battery back into your device and boot into TWRP recovery (Volume Up + Home + Power).
- Navigate to the Install button in TWRP, and choose the Magisk .zip file from your SD card.
- Swipe right to flash. When it’s done, wipe dalvik + cache in TWRP, and then reboot.
- Open the Magisk app on your phone, and update from the Google Play store when prompted.
- Download pHH SuperUser from Google Play Store
Root for Galaxy J7 2016
- Enable Developer Options / USB debugging as shown in the steps above for the J5, but also enable OEM Unlocking.
- Download these files: TWRP 3.0.2-0-J7Elte and UPDATE-SuperSU-v2.65-20151226141550.zip
- Turn off your Galaxy J7 and reboot into Download Mode (Volume Down + Home + Power)
- Press Volume Up to continue.
- Launch Odin on your PC and connect your phone via USB.
- Click the AP button in Odin and choose the TWRP .tar file, then click Start.
- When flashing is successful, your phone will boot into recovery. Swipe to allow modifications, then boot into System.
- Copy the SuperSU .zip file to your phone’s SD card.
- Reboot into TWRP recovery (Volume Up + Home + Power)
- Go to “Install”, and choose the SuperSU .zip from your SD card.
- When the flashing is complete, wipe your Dalvik + Cache, and then reboot into System.
How to Recover from Boot Loop
If your Galaxy J5 / J7 is experiencing boot loop or other issues with booting into the Android system, the best course of action is usually to simply flash a stock ROM via Odin.
Warning: Flashing a stock ROM will reset your device back to factory settings, and you will lose all of your user data saved on the internal memory. Make a backup of anything you need from internal storage before proceeding.