[T-Mobile HTC One (M9)] Rydah:
How To Restore System For OTA's/Restore TWRP Backups

How To Restore TWRP Backups Downloaded Online
​

Download The TWRP Backup Zip of Choice From OP.

Once Download Is Complete, Unzip The Backup and Place It In Your TWRP Folder (/sdcard/TWRP/BACKUPS/YOURSERIAL#/BackupFolderGoesHere or /storage/ext_sd/TWRP/BACKUPS/YOURSERIAL#/BackupFolderGoesHere)

Reboot To TWRP

Select The Restore Option

Check Mark The Partitions You Are Going To Restore

Start Restore

Once Restore Is Complete, Reboot To System. (TWRP May Say "No OS Installed," Ignore That.)

How To Run RUU ".exe" Files

***This Method Is Windows ONLY. If You Are Running Any Other OS, Please Use The ".zip" File Method.***
​

Download The RUU ".exe" File From O.P.

Once Downloaded, Run The RUU Like You Would Any Other Windows Installer

Follow The Directions and Prompts

How To Run RUU ".zip" Files

***Before attempting to run an RUU ".zip" file, make sure you download and use the fastboot file attached to this post.***

Method 1: Fastboot
​

Boot into download mode. (Vol-DWN+PWR)

Place the RUU ".zip" file in the same location as the htc_fastboot.exe file that is provided.

Rename the downloaded RUU to "0PJAIMG.zip"

Run the following command:

htc_fastboot.exe flash zip 0PJAIMG.zip

Output Should Look Like:

C:\Users\ThisIzRydah\Downloads>htc_fastboot.exe flash zip 0PJAIMG.zip
< waiting for device >
sending 'zip'... (108758 KB) OKAY
sending time = 4.913 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
FAILFAIL90 hboot pre-update! please flush image again immediate
FAILED (remote: FAIL90 hboot pre-update! please flush image again immediate)
For "hboot-preupdate" response, restart the same procedure for device FA53KYJ103
52...
sending 'zip'... (108758 KB) OKAY
sending time = 4.916 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) GPT is up-to-dated. [17408]
(bootloader) Perform pre-update
(bootloader) start@21
(bootloader) rcdata.img@BYPASS
(bootloader) splash1.nb0@BYPASS
(bootloader) adsp.img@BYPASS
(bootloader) modem_st1.img@BYPASS
(bootloader) modem_st2.img@BYPASS
(bootloader) aboot_signed.img@100%
(bootloader) hosd_signed.img@100%
(bootloader) recovery_signed.img@BYPASS
(bootloader) sensor_hub.img@BYPASS
(bootloader) tp_MXM11876.img@BYPASS
(bootloader) sdi.img@100%
(bootloader) sbl1-8994-1.img@100%
(bootloader) tp_SYN3351.img@BYPASS
(bootloader) pmic-8994-1.img@100%
(bootloader) cpe.img@BYPASS
(bootloader) pg2fs_ship_signkey.img@BYPASS
(bootloader) apppreload.img@BYPASS
(bootloader) rpm-8994-1.img@100%
(bootloader) tz-8994-1.img@100%
(bootloader) hyp-8994-1.img@100%
(bootloader) radio.img@BYPASS
FAILFAIL90 hboot pre-update! please flush image again immediate
FAILED (remote: FAIL90 hboot pre-update! please flush image again immediate)
For "hboot-preupdate" response, restart the same procedure for device FA53KYJ103
52...
sending 'zip'... (108758 KB) OKAY
sending time = 4.908 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) GPT is up-to-dated. [17408]
FAILFAIL90 hboot pre-update! please flush image again immediate
FAILED (remote: FAIL90 hboot pre-update! please flush image again immediate)
For "hboot-preupdate" response, restart the same procedure for device FA53KYJ103
52...
sending 'zip'... (108758 KB) OKAY
sending time = 4.918 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) GPT is up-to-dated. [17408]
(bootloader) start@21
(bootloader) rcdata.img@100%
(bootloader) splash1.nb0@100%
(bootloader) adsp.img@100%
(bootloader) modem_st1.img@100%
(bootloader) modem_st2.img@100%
(bootloader) aboot_signed.img@100%
(bootloader) hosd_signed.img@100%
(bootloader) recovery_signed.img@100%
(bootloader) sdi.img@100%
(bootloader) sbl1-8994-1.img@100%
(bootloader) pmic-8994-1.img@100%
(bootloader) cpe.img@100%
(bootloader) pg2fs_ship_signkey.img@100%
(bootloader) sensor_hub.img@BYPASS
(bootloader) apppreload.img@33%
(bootloader) tp_MXM11876.img@BYPASS
(bootloader) apppreload.img@66%
(bootloader) tp_SYN3351.img@BYPASS
(bootloader) apppreload.img@99%
(bootloader) apppreload.img@100%
(bootloader) rpm-8994-1.img@100%
(bootloader) tz-8994-1.img@100%
(bootloader) hyp-8994-1.img@100%
(bootloader) radio.img@100%
(bootloader) Update zip file OK
(bootloader) end@Done
OKAY
sending 'zip'... (403796 KB) OKAY
sending time = 27.798 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) start@1
(bootloader) system.img_00@13%
(bootloader) system.img_00@26%
(bootloader) system.img_00@40%
(bootloader) system.img_00@53%
(bootloader) system.img_00@67%
(bootloader) system.img_00@80%
(bootloader) system.img_00@93%
(bootloader) system.img_00@100%
(bootloader) Update zip file OK
(bootloader) end@Done
OKAY
sending 'zip'... (433609 KB) OKAY
sending time = 29.656 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) start@1
(bootloader) system.img_01@12%
(bootloader) system.img_01@24%
(bootloader) system.img_01@36%
(bootloader) system.img_01@48%
(bootloader) system.img_01@60%
(bootloader) system.img_01@72%
(bootloader) system.img_01@84%
(bootloader) system.img_01@96%
(bootloader) system.img_01@100%
(bootloader) Update zip file OK
(bootloader) end@Done
OKAY
sending 'zip'... (494516 KB) OKAY
sending time = 33.973 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) start@1
(bootloader) system.img_02@11%
(bootloader) system.img_02@23%
(bootloader) system.img_02@35%
(bootloader) system.img_02@47%
(bootloader) system.img_02@59%
(bootloader) system.img_02@71%
(bootloader) system.img_02@83%
(bootloader) system.img_02@95%
(bootloader) system.img_02@100%
(bootloader) Update zip file OK
(bootloader) end@Done
OKAY
sending 'zip'... (403257 KB) OKAY
sending time = 29.234 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) start@1
(bootloader) system.img_03@12%
(bootloader) system.img_03@24%
(bootloader) system.img_03@36%
(bootloader) system.img_03@48%
(bootloader) system.img_03@60%
(bootloader) system.img_03@72%
(bootloader) system.img_03@84%
(bootloader) system.img_03@96%
(bootloader) system.img_03@100%
(bootloader) Update zip file OK
(bootloader) end@Done
OKAY
sending 'zip'... (249903 KB) OKAY
sending time = 18.592 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) start@1
(bootloader) system.img_04@18%
(bootloader) system.img_04@37%
(bootloader) system.img_04@56%
(bootloader) system.img_04@75%
(bootloader) system.img_04@94%
(bootloader) system.img_04@100%
(bootloader) Update zip file OK
(bootloader) end@Done
OKAY
sending 'zip'... (10849 KB) OKAY
sending time = 1.731 secs
writing 'zip'... (bootloader) HOSD CL#505029
(bootloader) start@2
(bootloader) dzdata_32g.img@100%
(bootloader) boot_signed.img@100%
(bootloader) Update zip file OK
(bootloader) end@Done
OKAY
Flash Zip Complete
Execution time is 271(s)

Sit back and let it do it's thing. Once done, reboot and enjoy.

Method 2: On Device
​

Format Micro SD Card In FAT32 Format

Download An RUU.zip From O.P.

Rename The Downloaded RUU.zip To "0PJAIMG.zip"

Place The "0PJAIMG.zip" File On Root Of Micro SD Card

Reboot Into Download Mode (With The Device Off, Press: Vol. DWN + PWR)

The Device Will Scan For "0PJAIMG.zip"

Once Found, Confirm On The Device To Run The RUU

Sit Back While It Does It's Thing

* If The Process Didn't Work For You, Remember The SD Card Has To Be In FAT32 Format To Be Read In Download Mode

* The Device Will Automatically Reboot and May Appear To Be Frozen, Do Not Panic, It'll Work Out Just Fine.

How To Return System To "Untouched" Status For OTA Updates

​

Prerequisites:

Knowledge on how to use Fastboot

Latest android platform-tools (fastboot/adb and all that good stuff.)

Knowledge on how to use TWRP

Running TWRP 2.8.6.4 (preferably the latest

beta

version made by [MENTION=1162986]Captain_Throwback[/MENTION])

System Partition From A TWRP Backup (Download From OP)

Start Here:

Turn off your device

Boot into download mode (down+pwr)

Run The Following Command In Fastboot

fastboot flash system system.emmc.win

(place the system.emmc.win in the same folder as your fastboot.) Once it's completed the flash via fastboot, with the device still being in download mode, it'll say complete, press power to continue. Press power to continue.

Output Should Look Like:

FIXING CODE

Boot to TWRP.

Check the "Mount" menu in TWRP to verify that system is NOT listed.

Restore the nand backup from OP and only select Boot & System.

Sit and wait for restore to complete...

Reboot recovery.

Check the "Mount" menu in TWRP to verify that system is NOT listed.

Reboot to system. (TWRP may say no is is installed. Ignore that.)