[One (M9) Q&A, Help & Troubleshooting] cjkbarnett:
Hi, i am unable to flash the latest android n ruu that is currently listed on htc's website. Any help is appreciated

I have been able to run older RUU's before, with no issue

I also get error 22 ru errror when i try to flash the extracted .zip using the OPJIMG.zip method

Here is the log from the ruu update utility

<LOG>

<T103325><INFO><VERSION>3.0.4.2015</VERSION></INFO></T103325>

<T103325><INFO>start read zip</INFO></T103325>

<T103325><INFO>T

</INFO></T103325>

<T103325><INFO>Finish read zip.</INFO></T103325>

<T103325><DEBUG><PAGE>====== WelcomeDlg ======</PAGE>

</DEBUG></T103325>

<T103333><DEBUG><PAGE>====== VerifyingMobileDlg ======</PAGE>

</DEBUG></T103333>

<T103333><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103333>

<T103333><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103333>

<T103333><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103333>

<T103336><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.322s</OUT>

</DEBUG></T103336>

<T103336><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103336>

<T103336><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103336>

<T103336><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103336>

<T103338><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.263s</OUT>

</DEBUG></T103338>

<T103338><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 getvar boot-mode</CMD>

</DEBUG></T103338>

<T103340><DEBUG><OUT>boot-mode: downloadfinished. total time: -0.000shtc_fastboot finished. total time: 0.350s</OUT>

</DEBUG></T103340>

<T103340><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103340>

<T103341><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103341>

<T103341><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103341>

<T103343><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.269s</OUT>

</DEBUG></T103343>

<T103343><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 getvar boot-mode</CMD>

</DEBUG></T103343>

<T103344><DEBUG><OUT>boot-mode: downloadfinished. total time: 0.000shtc_fastboot finished. total time: 0.363s</OUT>

</DEBUG></T103344>

<T103344><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 getvar battery-status</CMD>

</DEBUG></T103344>

<T103346><DEBUG><OUT>battery-status: goodfinished. total time: 0.016shtc_fastboot finished. total time: 0.344s</OUT>

</DEBUG></T103346>

<T103346><DEBUG><PAGE>====== VerificationDlg ======</PAGE>

</DEBUG></T103346>

<T103346><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103346>

<T103347><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103347>

<T103347><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103347>

<T103348><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.284s</OUT>

</DEBUG></T103348>

<T103348><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103348>

<T103349><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103349>

<T103349><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103349>

<T103351><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.285s</OUT>

</DEBUG></T103351>

<T103351><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 getvar boot-mode</CMD>

</DEBUG></T103351>

<T103353><DEBUG><OUT>boot-mode: downloadfinished. total time: -0.000shtc_fastboot finished. total time: 0.362s</OUT>

</DEBUG></T103353>

<T103353><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 getvar version-main</CMD>

</DEBUG></T103353>

<T103355><DEBUG><OUT>version-main: 3.35.617.21finished. total time: -0.000shtc_fastboot finished. total time: 0.370s</OUT>

</DEBUG></T103355>

<T103358><DEBUG><PAGE>====== ComparisonDlg ======</PAGE>

</DEBUG></T103358>

<T103358><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103358>

<T103359><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103359>

<T103359><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103359>

<T103400><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.285s</OUT>

</DEBUG></T103400>

<T103400><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103400>

<T103401><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103401>

<T103401><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103401>

<T103402><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.284s</OUT>

</DEBUG></T103402>

<T103402><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 getvar boot-mode</CMD>

</DEBUG></T103402>

<T103404><DEBUG><OUT>boot-mode: downloadfinished. total time: -0.000shtc_fastboot finished. total time: 0.363s</OUT>

</DEBUG></T103404>

<T103404><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 getvar version-main</CMD>

</DEBUG></T103404>

<T103406><DEBUG><OUT>version-main: 3.35.617.21finished. total time: 0.000shtc_fastboot finished. total time: 0.338s</OUT>

</DEBUG></T103406>

<T103406><DEBUG>[ComparisonDlg][_initData()]get rom version

</DEBUG></T103406>

<T103406><DEBUG>[getRomVersion] +++

</DEBUG></T103406>

<T103406><DEBUG>[_getRomVersion] +++

</DEBUG></T103406>

<T103406><DEBUG>[_getRomVersion] The rom is not encrypted and MainVer: 4.19.617.1

</DEBUG></T103406>

<T103406><DEBUG>[getRomVersion] ROM Ver: 4.19.617.1

</DEBUG></T103406>

<T103406><DEBUG>[getRomVersion] ---

</DEBUG></T103406>

<T103411><DEBUG><PAGE>====== UpdatingDlg ======</PAGE>

</DEBUG></T103411>

<T103411><DEBUG>Try to read image count from android-info.txt in rom.zip

</DEBUG></T103411>

<T103411><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103411>

<T103411><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103411>

<T103411><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103411>

<T103413><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.315s</OUT>

</DEBUG></T103413>

<T103413><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103413>

<T103414><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103414>

<T103414><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103414>

<T103416><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.352s</OUT>

</DEBUG></T103416>

<T103416><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 getvar boot-mode</CMD>

</DEBUG></T103416>

<T103418><DEBUG><OUT>boot-mode: downloadfinished. total time: 0.000shtc_fastboot finished. total time: 0.400s</OUT>

</DEBUG></T103418>

<T103418><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 oem rebootRUU</CMD>

</DEBUG></T103418>

<T103421><DEBUG><OUT>...OKAY [ 0.069s]finished. total time: 0.069shtc_fastboot finished. total time: 0.424s</OUT>

</DEBUG></T103421>

<T103421><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103421>

<T103421><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103421>

<T103421><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103421>

<T103423><DEBUG><OUT>htc_fastboot finished. total time: 0.270s</OUT>

</DEBUG></T103423>

<T103424><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103424>

<T103425><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103425>

<T103425><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103425>

<T103426><DEBUG><OUT>htc_fastboot finished. total time: 0.300s</OUT>

</DEBUG></T103426>

<T103427><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103427>

<T103428><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103428>

<T103428><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103428>

<T103430><DEBUG><OUT>htc_fastboot finished. total time: 0.285s</OUT>

</DEBUG></T103430>

<T103430><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103430>

<T103431><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103431>

<T103431><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103431>

<T103433><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.389s</OUT>

</DEBUG></T103433>

<T103433><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 getvar boot-mode</CMD>

</DEBUG></T103433>

<T103435><DEBUG><OUT>boot-mode: RUUfinished. total time: -0.000shtc_fastboot finished. total time: 0.344s</OUT>

</DEBUG></T103435>

<T103435><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 erase cache</CMD>

</DEBUG></T103435>

<T103437><DEBUG><OUT>htc_fastboot v3.0.9.2 (2015-05-29)******** Did you mean to fastboot format this partition?erasing 'cache'...OKAY [ 0.031s]finished. total time: 0.031shtc_fastboot finished. total time: 0.384s</OUT>

</DEBUG></T103437>

<T103437><DEBUG>Try to read image count from android-info.txt in rom.zip

</DEBUG></T103437>

<T103437><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 -d flash zip C:\Users\camer\AppData\Local\Temp\{0D6C6E2A-62CC-4430-A4C3-C55D57934D7A}\{50F2F878-636A-496F-A7CB-544C067E0C4B}\rom.zip</CMD>

</DEBUG></T103437>

<T103438><DEBUG><OUT>htc_fastboot v3.0.9.2 (2015-05-29)</OUT>

</DEBUG></T103438>

<T103438><DEBUG><OUT>target rom version: 4.19.617.1</OUT>

</DEBUG></T103438>

<T103438><DEBUG><OUT>found large-zip header, file count: 7</OUT>

</DEBUG></T103438>

<T103438><DEBUG><OUT>processing file 1/7...</OUT>

</DEBUG></T103438>

<T103443><DEBUG><OUT>sending 'zip' (134641 KB)...</OUT>

</DEBUG></T103443>

<T103452><DEBUG><OUT>OKAY [ 9.375s]</OUT>

</DEBUG></T103452>

<T103452><DEBUG>=====flashing image OK=====

</DEBUG></T103452>

<T103452><DEBUG><OUT>writing 'zip'...</OUT>

</DEBUG></T103452>

<T103452><DEBUG><OUT>(bootloader) HOSD CL#669696</OUT>

</DEBUG></T103452>

<T103452><DEBUG><OUT>(bootloader) ERR check AES encrypted magic string failed.</OUT>

</DEBUG></T103452>

<T103452><DEBUG><OUT>(bootloader) end@Done</OUT>

</DEBUG></T103452>

<T103454><DEBUG><OUT>FAILED (remote: 12 RU_ZIP_ERROR )</OUT>

</DEBUG></T103454>

<T103454><DEBUG>[_parseStatus]strErrCode = 12

</DEBUG></T103454>

<T103500><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103500>

<T103501><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103501>

<T103501><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103501>

<T103503><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.398s</OUT>

</DEBUG></T103503>

<T103503><DEBUG><CMD>adb devices</CMD>

</DEBUG></T103503>

<T103504><DEBUG><OUT>List of devices attached

</OUT>

</DEBUG></T103504>

<T103504><DEBUG><CMD>htc_fastboot devices</CMD>

</DEBUG></T103504>

<T103506><DEBUG><OUT>FA53SYJ00084	fastboothtc_fastboot finished. total time: 0.284s</OUT>

</DEBUG></T103506>

<T103506><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 getvar boot-mode</CMD>

</DEBUG></T103506>

<T103508><DEBUG><OUT>boot-mode: RUUfinished. total time: 0.000shtc_fastboot finished. total time: 0.370s</OUT>

</DEBUG></T103508>

<T103508><DEBUG><CMD>htc_fastboot -s FA53SYJ00084 reboot</CMD>

</DEBUG></T103508>

<T103509><DEBUG><OUT>htc_fastboot v3.0.9.2 (2015-05-29)rebooting...finished. total time: 0.002shtc_fastboot finished. total time: 0.497s</OUT>

</DEBUG></T103509>

<T103510><DEBUG><CMD>adb kill-server</CMD>

</DEBUG></T103510>

<T103510><DEBUG><OUT />

</DEBUG></T103510>

</LOG>