sodcalculator

10 Tech How-To

Install Custom Recovery on Sony Xperia TL

Guide 10-45317 · Updated · Step by step

This guide walks you through installing a custom recovery (like TWRP or ClockworkMod) on the Sony Xperia TL (LT30at) running Android. A custom recovery lets you flash custom ROMs, create full system backups, and perform advanced maintenance. Before starting, you must unlock your bootloader (Sony’s official method) and have the Android SDK or Fastboot tools installed on your PC.

What You’ll Need

  • Sony Xperia TL with bootloader unlocked (check via dialer code *#*#7378423#*#* → Service info → Configuration → Rooting status)
  • A Windows PC (or Linux/macOS with equivalent tools)
  • USB cable (preferably the original)
  • Fastboot and ADB tools (from Android SDK Platform Tools)
  • A custom recovery image file (e.g., TWRP .img) compatible with the Xperia TL (LT30at)
  • Backup of your personal data (flashing recovery wipes nothing, but unlocking bootloader earlier did)

Step-by-Step

  1. Install ADB and Fastboot on your PC. Download the official Android SDK Platform Tools, extract the folder, and note the path (e.g., C:\platform-tools). Open a command prompt in that folder (Shift+Right-click → “Open command window here” or use cd in terminal).
  2. Enable Developer Options and USB Debugging on the phone. Go to Settings → About phone → Tap “Build number” 7 times. Then Settings → Developer options → Enable “USB debugging”.
  3. Connect the phone to the PC via USB. When prompted on the phone, allow USB debugging. Verify the connection by typing adb devices in the command prompt. Your device serial should appear with “device” status.
  4. Reboot into Fastboot mode. Type adb reboot bootloader. The phone will restart into fastboot mode (blue LED or “Fastboot” text).
  5. Verify fastboot connection. Type fastboot devices. You should see your device serial with “fastboot” status.
  6. Place the recovery image in the same folder. Rename it to something simple like recovery.img for ease.
  7. Flash the recovery image. Type fastboot flash recovery recovery.img. Wait for the process to complete (a few seconds). You should see “OKAY” messages.
  8. Reboot the phone. Type fastboot reboot. The phone will restart normally.
  9. Boot into recovery to verify. Turn off the phone. Then hold Volume Down + Power button simultaneously for about 5 seconds. The phone should boot into the custom recovery (e.g., TWRP menu).

Common Mistakes

  • Not unlocking the bootloader first: Flashing recovery will fail with “remote: command not allowed” if the bootloader is locked. Check your status before starting.
  • Using the wrong recovery image: The Xperia TL (LT30at) has a specific variant. Using an image meant for the international Xperia T (LT30p) may cause touch or display issues. Always download the correct .img for your exact model.
  • USB driver issues: If fastboot doesn’t see the device, install the proper Sony USB drivers or use the generic Google USB driver from SDK Manager.
  • Not renaming the file: Long or spaced filenames can cause typos in the command. Keep it simple.
  • Booting into recovery with wrong key combo: Some guides say Volume Up, but on the Xperia TL it’s Volume Down. Check your device’s manual.

Tips

  • Always keep a backup of your stock recovery image. You can extract it from a stock FTF firmware using tools like Flashtool, so you can restore it later if needed.
  • After flashing recovery, do a full backup (Nandroid) from within recovery before flashing any ROMs.
  • Use a USB port directly on the motherboard (not a hub) to avoid connection drops during flashing.
  • If the touchscreen doesn’t respond in recovery, try reflashing with a different recovery version (e.g., an older TWRP).
  • Keep the phone charged above 70% to avoid power loss during flashing.

Troubleshooting

  • “remote: command not allowed” error: This means the bootloader is locked. Unlock it via Sony’s official website (requires creating an account and using the unlock code).
  • Fastboot doesn’t detect the device: Reinstall USB drivers, try a different cable, or manually set the device to fastboot mode by holding Volume Up while connecting to PC (with phone off).
  • Recovery boots but touchscreen doesn’t work: The recovery image may be incompatible. Try a different version (e.g., TWRP 2.8 instead of 3.x).
  • Phone boots to black screen after flashing: Don’t panic. Hold Power + Volume Up to force reboot. If it persists, reflash the stock kernel via fastboot (fastboot flash boot boot.img from your stock FTF).
  • Recovery doesn’t stick after reboot: Some devices overwrite recovery on boot. You may need to boot directly into recovery after flashing (don’t let it boot normally first) or use a “permanent recovery” method like installing a custom kernel that includes recovery.
  • Phone stuck in bootloop: Boot into recovery (Volume Down + Power), wipe cache and dalvik, then reboot. If that fails, restore your Nandroid backup or flash the stock firmware via Flashtool.

Frequently Asked Questions

Will installing custom recovery void my warranty?

Yes, unlocking the bootloader and flashing custom recovery voids the Sony warranty. It’s a permanent change, though you can relock the bootloader (but it may not restore warranty in all regions).

Do I need root access to install custom recovery?

No, you don’t need root. Unlocking the bootloader is sufficient. Custom recovery itself can be used to root the phone later by flashing a zip like SuperSU.

Can I install custom recovery without a PC?

No, the standard method requires a PC with fastboot. There are no reliable on-device methods for the Xperia TL.

Will custom recovery let me install any Android version?

Custom recovery allows flashing custom ROMs, but they must be built for the Xperia TL. You can’t install a ROM meant for a different device.

How do I go back to stock recovery?

Flash a stock FTF firmware using Flashtool, which includes the original recovery. Alternatively, extract the stock recovery.img from the FTF and flash it via fastboot.

Is it safe to remove the battery while in recovery?

No, never remove the battery during any flashing operation. It can corrupt the system. Always use the reboot option in recovery.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →