[One (M9) General] Flippy498:
Take me back to the Overview​

TWRP Backup Section I​

General Infos:

TWRP Backups can be used for getting back to stock if there is no RUU availabe you could use for the same purpose.

However, the TWRP Backup needs to contain the Boot Image, the Stock Recovery and a System Image that has never been mounted as read/write. If a backup only contains the needed Boot Image and the System Image you'll need to reflash the Stock Recovery manually, afterwards.

You should always check whether a RUU or a TWRP backup for your current firmware version is available

before

you start flashing.

If neither is available you need to create your own backup using the instructions in this post. (And hopefully you're going to upload it afterwards so that it can be shared with us. ;))

Important Notes:

Check whether we already have a backup for your current firmware in TWRP section II before you start uploading your own. Otherwise, you might waste your time since there is no need for more than one publicly available backup per firmware version.

Instructions:

Windows 7/8.0/8.1/10 is required.

You need an unlocked bootloader. Aside from that the M9 needs to be completely stock.

The instructions only work on firmware version 3.x or 4.x. Older firmware versions aren't able to boot to TWRP without flashing it in Download Mode.

The latest 7-zip version is needed.

The offical TWRP 3.2.2-0 version is needed.

An exfat-formatted SD card for your phone (at least 8 GB) is needed, as well. Use your PC for formatting.

A working ADB/Fastboot/HTC_Fastboot environment is mandatory.

Connect your M9 with your PC using a USB cable.

Boot to Bootloader Mode. NOT Download Mode.

That means: Power off the device, wait some seconds and turn it on again while you keep both volume buttons pressed until you see a white screen with multicoloured text. If you see a black screen with red, blue and yellow text then you're facing the download mode. In that case you can navigate to "reboot to bootloader" with the volume keys and select the option with the power button.

Open the folder that contains your ADB/fastboot/HTC_fastboot files on your PC.

Press and hold Shift on your keyboard.

Right-click into the folder.

Choose "open command window here".

If you're using the Win 10 Creator's update or any newer version then you need to choose "open powershell window here".

Type "start cmd" without the quotation marks and execute the command with pressing Enter on your keyboard.

Use the command

fastboot boot twrp-3.2.2-0-hima.img

(execute it with Enter on your keyboard).

Wait a bit. TWRP should boot on your M9 after some minutes.

DO NOT SWIPE! Choose "keep system mount read-only".

Open the Backup menu.

Backup "Boot", "System Image" and "Recovery" on the external SD card.

Copy the Backup (the whole folder - not only the files inside of the folder) to your PC.

Rename the Backup folder according to the firmware version of your phone. Example: Stock_Backup_4.14.401.7

Righ-click onto the Backup folder.

Choose "7-zip>add to an archive".

Choose "ok".

Upload the archive to a free filehoster like AFH.

AFH is recommended since it's free and states the MD5 sum of the uploaded files. This way you can check whether the file got damaged during the upload or not. In addition, others can verify whether the file got damaged during their download.

Post the download link here in this thread.

Take me back to the Overview​