ThisCalculator

Everyday

How to Root Galaxy Avant SM-G386T & Install TWRP

Updated · Standard formula, shown below

How to Root Galaxy Avant SM-G386T & Install TWRP

This guide walks you through rooting the Samsung Galaxy Avant (SM-G386T) and installing TWRP custom recovery. Rooting gives you full administrative access to the Android system, allowing you to remove bloatware, install custom ROMs, and use root-only apps. TWRP (Team Win Recovery Project) is a custom recovery that lets you create full backups, flash custom software, and perform advanced system maintenance. Before you begin, back up all important data, ensure your device has at least 70% battery, and enable USB debugging and OEM unlock in Developer Options.

What You’ll Need

  • A Windows PC (drivers and tools are Windows-based).
  • The original USB cable for your Galaxy Avant.
  • Odin3 (version 3.14 or similar) – download from a trusted source.
  • TWRP recovery image for the SM-G386T (twrp-3.x.x-x-ancora.img.tar).
  • SuperSU or Magisk ZIP file for rooting (e.g., BETA-SuperSU-v2.82-201705271743.zip or Magisk-v20.x.zip).
  • Latest Samsung USB drivers installed on your PC.
  • Enable USB debugging and OEM unlock on the phone: go to Settings > About Phone > tap Build Number 7 times, then go to Settings > Developer Options and enable both.

Step-by-Step

  1. Back up your data. Rooting and flashing recovery will wipe your device. Use Samsung Smart Switch or copy files to your PC.
  2. Prepare the files. Download Odin3, the TWRP tar file, and the SuperSU/Magisk ZIP. Place them in an easily accessible folder on your PC.
  3. Boot into Download Mode. Power off the phone. Press and hold Volume Down + Home + Power simultaneously. When the warning screen appears, press Volume Up to continue.
  4. Connect to PC. Open Odin3 on your PC. Connect your phone via USB. Odin should show a blue or yellow box in the “ID:COM” section indicating the device is recognized. If not, reinstall drivers or try another USB port.
  5. Add TWRP to Odin. In Odin, click the “AP” button (or “PDA” in older versions) and select the TWRP tar file. Do not touch other options like BL, CP, or CSC.
  6. Disable auto-reboot. Uncheck the “Auto Reboot” option in Odin. This is crucial – you need to boot directly into recovery after flashing to avoid the stock recovery overwriting TWRP.
  7. Flash TWRP. Click “Start” in Odin. Wait for the process to complete – a green “PASS!” message will appear. Do not unplug yet.
  8. Boot into recovery. After the flash, unplug the phone. Remove the battery, wait 5 seconds, reinsert it. Press and hold Volume Up + Home + Power to boot into TWRP recovery. If you get a warning about “Custom OS”, that’s normal.
  9. Flash the root package. In TWRP, tap “Install”, navigate to the SuperSU or Magisk ZIP you transferred earlier (you can copy it to the phone’s internal storage before starting). Select it and swipe to confirm the flash.
  10. Wipe cache/dalvik. After flashing, go to “Wipe” > “Advanced Wipe”, select Dalvik Cache and Cache, and swipe to wipe.
  11. Reboot. Tap “Reboot” > “System”. The first boot may take longer than usual. Once booted, install an app like “Root Checker” to verify root access.

Common Mistakes

  • Not disabling Auto Reboot. If the phone reboots normally, the stock recovery will overwrite TWRP. Always uncheck it.
  • Using wrong files. Ensure the TWRP and root ZIP are specifically for the SM-G386T (codename ‘ancora’). Using another model’s files will brick your device.
  • Forgetting to enable OEM unlock. If not enabled, the bootloader may reject the flash.
  • Insufficient battery. A low battery during flashing can cause a hard brick. Keep it above 70%.
  • Incorrect key combination. Pressing the wrong buttons may boot into normal mode or Download mode instead of recovery.

Tips

  • Use the original USB cable and a rear USB port on your PC for a stable connection.
  • After rooting, consider making a Nandroid backup in TWRP – it’s a full system backup that can restore your phone if something goes wrong later.
  • If you plan to install custom ROMs, Magisk is generally more compatible with newer Android versions than SuperSU.
  • Keep the TWRP and root files on your PC in a safe place – you may need them again.
  • After root, you can use apps like Titanium Backup to freeze bloatware, or Greenify to improve battery life.

Troubleshooting

  • Odin does not recognize the phone. Reinstall Samsung USB drivers, try a different USB port, or use a different cable. Ensure the phone is in Download Mode and the screen shows the warning.
  • Odin fails with “FAIL!”. This usually means the TWRP file is incorrect or the bootloader is locked. Re-download the correct TWRP for SM-G386T. If you have a locked bootloader, you may need to unlock it first via Samsung’s official method (if available).
  • Phone boots to stock recovery after flashing TWRP. This means Auto Reboot was not disabled. Repeat the process with Auto Reboot unchecked, and then boot directly into recovery.
  • Stuck in boot loop after rooting. Boot into TWRP (Volume Up + Home + Power), go to Wipe > Advanced Wipe, select Dalvik Cache and Cache, and wipe. If that doesn’t work, reflash the root ZIP or restore a backup if you made one.
  • Root not working after flashing. The root ZIP may not have flashed correctly. Reboot into TWRP and reflash the ZIP. Verify with Root Checker.
  • Phone is bricked (no response). Try to re-enter Download Mode (Volume Down + Home + Power). If that works, reflash the stock firmware using Odin to restore the phone to factory state, then start over.

Frequently Asked Questions

  1. Will rooting void my warranty? Yes, rooting typically voids the manufacturer warranty. However, you can often restore the stock firmware using Odin to unroot and re-lock the bootloader, which may reinstate the warranty depending on the carrier.
  2. Can I unroot later? Yes, you can unroot by flashing the stock firmware via Odin. This will remove TWRP and root, returning the phone to factory state.
  3. Will I still receive OTA updates after rooting? Usually not, as OTA updates require a stock recovery and unmodified system. You’ll need to manually flash updates or use custom ROMs.
  4. Is it safe to root the Galaxy Avant? If you follow the steps carefully and use the correct files, the risk is low. However, there is always a small chance of bricking, so back up everything.
  5. What is the difference between SuperSU and Magisk? SuperSU is a traditional root manager that modifies the system partition. Magisk is systemless, meaning it keeps the system partition intact, allowing you to hide root from apps that detect it (like banking apps).
  6. Can I install a custom ROM after this? Yes, with TWRP installed, you can flash custom ROMs like LineageOS or Resurrection Remix. Make sure to download a ROM compatible with the SM-G386T.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.