TWRP or TeamWin Recovery Project is the best call of custom recovery for anyone who is willing to enter the Android custom world. A custom recovery is a modified recovery subsystem to an Android device. It allows a user to perform selected actions on the device without needing to enter the OS, moreover the name itself matches the functions that it offers. A custom recovery could be life saver if you’ve accidently messed up your OS, in turn preventing you to boot into it. It allows you to wipe various device partitions, zip installation, mounting partitions, and a few more features to assist you whenever you’re in need.
Lately, TWRP has released its update to version 188.8.131.52, bringing in the following set of changes and new additions, of which the first one is where we’re going to put our focus on. Visit the TWRP website for more detailed information.
- Flash IMG files directly via the TWRP GUI
- Fixed MTP related crashes and bugs for some devices
- Eliminate TWRP toggling USB IDs during boot if MTP is enabled
- Fixed ADB sideload issues
- Improved threading of actions
- Eliminated separate thread for screen timeout
- Updated libblkid to 2.25.0
- Use power button as back button on watch themes for easier navigation
- Added mutex locking to data manager
- Improved custom theme handling on encrypted devices
- Allowed the stock theme to be offset by build flags so we can centre a lower res theme on a higher res screen especially for watches with round screens
Above is quite a changelog but is not clearly understood by an average Android user (like me), so we will put some light on what interests us – Flash Image files using TWRP Recovery. Since a long time, we have been using fastboot commands or third party apps to flash an IMG file, which maybe a recovery, or kernel image files. But today, TWRP has bought another unique feature, making it the first of its kind to support flashing IMG files directly via recovery.
How to Flash Image (.img) Files using TWRP
- Boot into TWRP recovery mode, either by following the hardware button combo or by typing in the following command:
adb reboot recovery
- It is necessary to have your image file already placed on your device’s storage (Internal or external).
- Tap on Install in the TWRP main screen.
- Now, the default mode is to flash zip files, you will need to toggle the mode to images.
- To do so, tap on the Images… button on the bottom-right of the screen.
- The recovery will now only see the image files, select the one you desire to flash, this could either be a kernel or recovery image file.
- Once you select, you will be prompted to select the type of image it is, select Boot or Recovery corresponding to the image file you selected.
- Finally, swipe the button on the bottom of the screen to start the flashing process.
- Once complete, you can go to Reboot > System.
You have just experienced the latest and unique feature that has been introduced in TWRP very recently. This will now allow you to flash image files using TWRP 184.108.40.206 on your supported Android device. If you still haven’t installed TWRP recovery on your device, click here and find the respective guide for your Android smartphone. Latest TWRP recovery for your supported device can be found here. Support us and help us build a better community by providing us feedback via comments.