[COLLECTION] RUU Nougat & Marshmallow - HTC One A9

alray

Recognized Contributor
May 22, 2012
8,934
3,583
0
Please..can anyone upload firmware for HIA_AERO_UL usa unlock of marshmallow??
Thread has ruu not firmware..please upload it!!
I want to downgrade my phone so need to dow grade my firmware first.
you can extract it from the ruu using the ruu decryption tool. Will give you an unsigned firmware (s-off required).
 

gaurav tandel

Member
Jul 29, 2016
33
2
8
you can extract it from the ruu using the ruu decryption tool. Will give you an unsigned firmware (s-off required).
Sir,im bootloader locked no root.
And i did decrypt that exe and get firmware folder.but unexpactadly it's 675 MB.normally its about to 100-200 MB!! So sir,what to do next?
Its a folder not a zip sir!
 
Last edited:

nogloww

Senior Member
firmware ok but ruu won't flash

I am able to flash the latest firmware for the HIA_AERO_UL. When I flash the ruu or try to run the .exe file I get errors that send it into a bootloop. The first time I flashed the firmware I got this error:
FAILED (remote: 90 hboot pre-update! please flush image again immediately )

so I flashed it again and it worked fine. But the rom won't flash. It says:

C:\adb>htc_fastboot flash zip ruu.zip
htc_fastboot v3.0.9.2 (2015-05-29)
target rom version: 2.18.617.1
found large-zip header, file count: 23
processing file 1/23...
sending 'zip' (128630 KB)...
OKAY [ 6.190s]
writing 'zip'...
(bootloader) HOSD CL#861328
(bootloader) ERR CID not matched
(bootloader) ERR [SD_UPDATE_ERR] CID NOT ALLOWED
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 7
(bootloader) ERR Update zip file failed.
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 7
(bootloader) [email protected]
FAILED (remote: 7 RU_CID_FAIL cid in android-info mismatched )
finished. total time: 9.349s
htc_fastboot finished. total time: 13.366s

C:\adb>fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_hiaeul
(bootloader) version: 1.0
(bootloader) max-download-size: 1164800000
(bootloader) serialno:
(bootloader) slot-count: 0
(bootloader) current-slot:
(bootloader) imei: 352637070569184
(bootloader) version-main: 2.18.617.10
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PQ912000
(bootloader) cid: CWS__001

It just bootloops and sometimes I get the "this build for development purposes only" before it bootloops again. Sometimes it tells me my devices is encrypted then when I enter the password it tells me it has to factory reset, but then just bootloops again. What can I do to get the ruu to work too?
 

StarSage

Member
Nov 1, 2014
21
1
3
43
Palmyra
So, How Do I Update Firmware (Marshmallow to Nougat) ?

I've read the initial posts for this section.. and understand I can't just flash an RUU if my device has factory stock firmware (v 1.2 here). And I've stared at #4 on the list (until I was cross-eyed!). But how the heck do I update just firmware alone?

If I search outside of XDA the known universe refers to all ROMs as 'firmware'. I suppose if this were easy everyone would do it... I'd like to think I'm not too far behind (if I can set up dual boot with Windows 10 & Ubuntu!). But, is there simply a file I can just download and copy onto my SD card.. and load into Recovery Mode? Do I seriously need to have the periodic table of elements memorized just to get my handset to cough up another year or two of usefulness?:eek:
 

alray

Recognized Contributor
May 22, 2012
8,934
3,583
0
I've read the initial posts for this section.. and understand I can't just flash an RUU if my device has factory stock firmware (v 1.2 here).
You can flash a 1.xx.xxx.x ruu but you can't flash a 2.x.xxx.x (Nougat) RUU because of the new encryption key implemented in that version. The key is in the hosd.img part of the firmware. When flashing the firmware, the new hosd.img will be flashed to your hosd partition and your phone will have the correct key to decrypt newer RUU. Normally that process is done automatically when updating from an OTA update, but if you're here I suppose you can't update it with an OTA update for some reason... and must use a RUU.

And I've stared at #4 on the list (until I was cross-eyed!). But how the heck do I update just firmware alone?
You can update the firmware the same way you would flash a ruu.zip.

If I search outside of XDA the known universe refers to all ROMs as 'firmware'.
You can read the definition of "firmware" "software" "operating system" on google and see why it's wrong to call a rom *which is an OS" a firmware.

When speaking about htc phones:
A rom is typically only the /system partition (the OS) and the /boot partition (kernel)
A RUU = A factory image that will reset all your phone partitions back to stock
A firmware: A factory image that will reset some of your partition, excluding the /system partition. i.e: The bootloader, recovery, radio, kernel, touch drivers, hosd etc...

is there simply a file I can just download and copy onto my SD card.. and load into Recovery Mode?
The firmware is flashed using fastboot in ruu mode not from recovery. Hard to say which firmware file you need without knowing any info about your phone (S-on/S-off? version-main? CID? MID?)
 

StarSage

Member
Nov 1, 2014
21
1
3
43
Palmyra
You can flash a 1.xx.xxx.x ruu but you can't flash a 2.x.xxx.x (Nougat) RUU because of the new encryption key implemented in that version. The key is in the hosd.img part of the firmware. When flashing the firmware, the new hosd.img will be flashed to your hosd partition and your phone will have the correct key to decrypt newer RUU. Normally that process is done automatically when updating from an OTA update, but if you're here I suppose you can't update it with an OTA update for some reason... and must use a RUU.


You can update the firmware the same way you would flash a ruu.zip.


You can read the definition of "firmware" "software" "operating system" on google and see why it's wrong to call a rom *which is an OS" a firmware.

When speaking about htc phones:
A rom is typically only the /system partition (the OS) and the /boot partition (kernel)
A RUU = A factory image that will reset all your phone partitions back to stock
A firmware: A factory image that will reset some of your partition, excluding the /system partition. i.e: The bootloader, recovery, radio, kernel, touch drivers, hosd etc...


The firmware is flashed using fastboot in ruu mode not from recovery. Hard to say which firmware file you need without knowing any info about your phone (S-on/S-off? version-main? CID? MID?)
Forgive me, I was not aware the CID & MID can only be retrieved via Fastboot. I'll have to attempt to access this once I'm home tonight. I'm hoping to install Lineage OS, but how can I update the firmware using an RUU in fastboot mode.. if the RUU.exe requires a higher firmware than my handset already has? (v 1.2)
 

StarSage

Member
Nov 1, 2014
21
1
3
43
Palmyra
You will not upgrade the firmware using a ruu but using a firmware.zip file.
I have S Off and bootloader unlocked. My CID: CWS_001 My MID: 2PQ912000
The last time I tried updating my firmware using a zip was via TWRP and I received an error about Meta-Inf
I read that this refers to the updater-script file. I followed the instructions for modifying that but still could not make any progress. Is there another process I should be following?
 

alray

Recognized Contributor
May 22, 2012
8,934
3,583
0
I have S Off and bootloader unlocked. My CID: CWS_001 My MID: 2PQ912000
The last time I tried updating my firmware using a zip was via TWRP and I received an error about Meta-Inf
I read that this refers to the updater-script file. I followed the instructions for modifying that but still could not make any progress. Is there another process I should be following?
You can't flash a firmware.zip using TWRP recovery. Firmware.zip must be flashed using fastboot in RUU mode or using the sd card method (see FAQ).
CWS__001 is at&t, I don't think at&t ever updated their A9 to Nougat... Since your phone is S-OFF, you could change your CID to BS_US001 and update your firmware using the US Unlocked Nougat firmware (2.18.617.30) and then the latest US Unlocked RUU (2.18.617.30). After the conversion from at&t to US Unlocked you'll be able to install future ota updates for the US Unlocked version.

To change your CID reboot in download mode then:
Code:
fastboot oem writecid BS_US001
Then flash the firmware using instructions from the FAQ and finally flash the RUU using the same instructions.

I'll add the 2.18.617.30 RUU.exe and firmware.zip to the OP in a few minutes.
 
  • Like
Reactions: Ultramanoid

StarSage

Member
Nov 1, 2014
21
1
3
43
Palmyra
Thank you so much for your help! I know that; since at&t has discontinued sales of HTC, they likely won't be offering future OTA updates. But being unlocked I could get those from HTC? I was considering loading Lineage in order to get another year or two out of my handset
 

alray

Recognized Contributor
May 22, 2012
8,934
3,583
0
Thank you so much for your help! I know that; since at&t has discontinued sales of HTC, they likely won't be offering future OTA updates. But being unlocked I could get those from HTC? I was considering loading Lineage in order to get another year or two out of my handset
If you do the conversion from the at&t version to the US Unlocked version you'll get official updates form HTC (until they drop support for the A9).
I'll add the firmware and ruu files to the op in a moment, my main hard drive failed this morning after posting my last message and I wasn't able to upload anything... At least my RAID 1 config saved my life (all my files) :victory:

Edit: files added to post #1
 
Last edited:

StarSage

Member
Nov 1, 2014
21
1
3
43
Palmyra
Yikes! Glad you had a backup. And now my A9 is being pissy. I can issue reboot commands from terminal but once it's in boot mode I get 'old for device' from adb terminal :(
 

alray

Recognized Contributor
May 22, 2012
8,934
3,583
0
Yikes! Glad you had a backup. And now my A9 is being pissy. I can issue reboot commands from terminal but once it's in boot mode I get 'old for device' from adb terminal :(
If adb works fine when the phone is booted in the OS but you can't use fastboot command once in download mode it's a driver problem. You can check if your phone is correctly recognized by your computer when it's in download mode by going in your device manager. Make sure you have the lastest driver from HTC. You can install the latest driver by installing HTC sync manager. I would recommend to uninstall HTC Sync right after the installation but do not uninstall the HTC Driver installer nor HTC BMP driver