How to flash a custom recovery (like CWM or TWRP) on Android

flash a custom recovery

If you have decided to take a trip to the land of custom ROMs and Android hacking in general, you’d need to take one first step – flash (install) a custom recovery. In this article, we explain what exactly is a ‘custom recovery’, how you install it, and what are some popular solutions.

Let’s start with the fact that every phone ships with stock recovery software. Stock recoveries vary slightly between phone makers, but they are identical in their essence – they allow you to manually flash official updates and clear your phone’s cache. Sounds limited? It is, and that’s why custom recoveries exist.

Custom recoveries that we’ll flash here replace the limited stock ones, adding all sorts of functionality to your phone. Flashing a custom recovery is often a key part of the rooting process, but that is not its only use. Here is a short summary of all that you can do with a custom recovery:

Create and restore a backup image – A backup image makes a copy of all your phone settings, application and app data. Such a backup copy is crucial if your hacking experiments fail – in such cases, you can use the created backup image to restore your phone to a fully functional earlier state without losing any data.

Flash custom ROMs – custom ROMs can completely overhaul the looks and functionality of an Android smartphone, and usually they are the main reason for first flashing a custom recovery.

Important: You have to unlock the boot-loader on your phone before flashing a custom recovery! Be careful!

How to flash a custom recovery:

Now that you know what a custom recovery is and what it does, it’s time to go through some popular names of recovery software. Clockwork Mod (shortened to CWM) and Team Win’s Recovery Project (commonly referred to as TWRP) are the two most popular solutions, and while the two differ slightly, they both have the essential features you need.

Pre-requisites:

USB drivers for your phone must be installed on a computer. You can grab them from the official website of the company that made the phone.

Your phone must be connected to your computer via USB. If you get stuck at some point in the tutorial, a common fix is to try disconnecting the phone and re-connecting it again.

1. Enable USB debugging on your Android device (here’s how to do it). Connect your phone to a computer via USB.

2. Now, it’s time to open Command Prompt (terminal) and get serious. Don’t worry, all you’d need to do is copy and paste some code in it, it’s not hard at all. To open the terminal in Windows 7, hit the ‘Windows’ key, type ‘cmd’, and hit Enter; in Windows 8, you’d need to navigate to the new Modern UI home panel, and just type in ‘cmd’ there.

Once you open the terminal, you need to change the folder to Platform Tools in the Android SDK. Typically, it looks something like this, but you have to find the exact path where you installed the Android SDK on your computer:

C:/AndroidSDK/adt-bundle-windows-x86_6420131030/sdk/platform-tools/

To change the folder you just copy the above path (as it is on your computer) and put ‘cd’ in front of it, so the whole command would look like so:

cd C:/Android SDK/adt-bundle-windows-x86_64-20131030/sdk/platform-tools/

3. In the terminal, enter the following:adb devicesMake sure your device is listed.

Next, type in:adb reboot bootloaderWait for the phone to reboot in bootloader mode.4. Now, go to the platform-tools directory (a sub-directory of the Android SDK), and open Command Prompt there (you can do so by Shift + Right-click > Open Command Prompt).

In the command line, enter the following:fastboot devicesMake sure that your device is listed.

Finally, type in:fastboot flash recovery FILE.IMGReplace ‘FILE.IMG’ with the recovery you want to flash. We have given you links for CWM and TWRP at the beginning of the article, but if you’ve missed them, you would need to download them now from the following links:

Here’s how that recovery file name typically looks (this is the image for a Moto G):cwm-6.0.4.6-MotoG4.4.imgcwm-6.0.4.7-MotoG-GPE-4.4.imgtwrp-2.6.3.1-MotoG4.4.img

5. IMPORTANT! After you have flashed the recovery, it is crucial that you you don’t just reboot your device. Go to ‘Recovery’ by using volume down to scroll. Don’t scroll using the Volume Up button! In this case, Volume Up serves as the ‘Select’ button. Once you have gone to ‘Recovery’, only then press the Volume Up to boot in recovery mode.

If you don’t follow these instructions, your device will simply re-flash the stock recovery, and you’d have to start all over with the custom recovery flash process.

And voila, that’s it! You now have custom recovery flashed on your phone, congrats!

Note: You can use this how-to tutorial guide to install custom recovery on phones like the Samsung Galaxy S5, Galaxy S4, Galaxy S III, Galaxy Note 3, Galaxy Note 2, HTC One (M8), LG G3, LG G2, Moto X, Moto G, Sony Xperia Z2, Xperia Z1, etc.

How To Display A Photo Slideshow On Your Android Lock Screen

Photo Slideshow

Most lock screens are boring. Sure, you may see the time, temperature, battery percentage, and a camera icon, but that’s it. Why not make it a little more interesting? Thanks to a member of the XDA Developers Forum named wangxing, you can make your lock screen more interesting than ever with a photo slide-show. Wangxing’s new app is called Galaxy Photo Screen Lock. That app lets you “dress up your mobile lock screen and give your fun and love” – according to wangxing himself. I don’t know what “Give your fun and love means” but it sounds interesting. After installing Galaxy Photo Screen Lock, you can customize your lock screen in a number of different ways, including:

  • Add date/time/weekday
  • Add real-time weather forecast
  • Add notification alerts for missed calls and unread messages
  • Add camera shortcut
  • Add flexible backgrounds and choose from 10+ pretty built-in backgrounds
  • Add photos and photo slide-shows to your lockscreen

Obviously, many of these features are similar to the features you see on other Android lock screen apps. The main exception is the photo slide-show feature, which lets you add as many photos as you like to your device. The photos will cycle through one another on your lock screen and appear as a circle in the middle of the screen

As the name suggest, the Galaxy Photo Screen Lock is designed for use on Galaxy devices. It has specifically been tested on the Galaxy S3, S4, and S5.

However, wangxing explains that the app will likely work on other devices and encourages users to download the app and try it out.

BUT WHAT ABOUT SECURITY?

Of course, the problem with this app is security. Some people are extremely concerned about Android security. In the unlikely event that someone steals your phone, they could view your photos on your lock screen.

If that’s not a concern to you – and you have a remote wipe feature enabled – then a lock screen photo slide-show shouldn’t matter.

Additionally, since you specifically choose which photos can appear on your lock screen, this shouldn’t be a problem – don’t add any photos that include compromising personal details.

You can download Galaxy Photo Screen Lock from the Google Play Store for free.