[COLLECTION] RUU Nougat & Marshmallow - HTC One A9

alray

Recognized Contributor
May 22, 2012
8,934
3,583
0
Hi guys I got a locked A9 with o2 (UK) device and I was wondering if I unlocked it with an unlock code could I upgrade the firmware given by HTC unlocked. Basically if I unlock my o2 device can I use unlocked ROMS?
Sim unlock will only give you the possibility to register on foreign networks (as long as you have a valid sim card for that network and the bands are compatible). You need s-off to convert your phone using a ruu and at least an unlocked bootloader to flash custom roms.
 

DuoDex

Member
Feb 25, 2017
11
0
0
Hello. How would I go about updating this?
Code:
fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_hiaeul
(bootloader) version: 1.0
(bootloader) imei: 
(bootloader) version-main: 1.12.617.6
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PQ912000
(bootloader) cid: BS_US001
 
Last edited:

alray

Recognized Contributor
May 22, 2012
8,934
3,583
0
Hello. How would I go about updating this?
Code:
fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_hiaeul
(bootloader) version: 1.0
(bootloader) imei: 
(bootloader) version-main: 1.12.617.6
(bootloader) boot-mode: download
(bootloader) version-baseband: [email protected]
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 2PQ912000
(bootloader) cid: BS_US001
update firmware first then flash ruu, instructions at post #2.

btw don't share your IMEI !!
 
  • Like
Reactions: DuoDex

etoy

Senior Member
Dec 21, 2009
1,814
862
0
i am about to update my wife's A9 to Nougat with a clean install, it's already S-OFF and has unlocked BL.

I am in italy, should i use the HTC Europe 2.16.401.3 RUU or HTC USA Unlocked 2.18.617.1 RUU?

Any noticeable differences or optimizations between those versions?
I mean, should i prefer european one because of a different baseband or whatever? Thanks in advance
 
Last edited:

Lolli26

Member
Dec 8, 2016
44
8
0
Genova
i am about to update my wife's A9 to Nougat with a clean install, it's already S-OFF and has unlocked BL.

I am in italy, should i use the HTC Europe 2.16.401.3 RUU or HTC USA Unlocked 2.18.617.1 RUU?

Any noticeable differences or optimizations between those versions?
I mean, should i prefer european one because of a different baseband or whatever? Thanks in advance
Hi! I'm in Italy too, i have installed and use the European RUU for about five days and so far the phone is much much better. I have tried all Rom for this device (Mokee CM 13 CM 14.1) but this one is super optimized, far better than the official RUU based on marshmallow too. However I don't know if there are differences with the US RUU
 
  • Like
Reactions: etoy

etoy

Senior Member
Dec 21, 2009
1,814
862
0
Hi! I'm in Italy too, i have installed and use the European RUU for about five days and so far the phone is much much better. I have tried all Rom for this device (Mokee CM 13 CM 14.1) but this one is super optimized, far better than the official RUU based on marshmallow too. However I don't know if there are differences with the US RUU
thanks a lot for the reply, i'll proceed with EU too then :) was tempted by US unlocked just because it gets updates earlier than EU but no matter, hope i've made the right choice.
 

alray

Recognized Contributor
May 22, 2012
8,934
3,583
0
Hi I am on Marshmallow, I do not understand how to save my firmware before upgrading to Nougat if I want to downgrade it, could you help me?
It can be extracted from a marshmallow RUU. Your marhsmallow firmware version might already be available somewhere, what version are you running?
 

HarryCustom

Senior Member
Dec 26, 2007
178
7
0
It can be extracted from a marshmallow RUU. Your marhsmallow firmware version might already be available somewhere, what version are you running?
I am very sorry :), I've made a mistake, I am on Lollipop, the version is 1.56.401.70.
Anyway I searched a lot but I cannot understand how to extract the firmware...

EDIT: Finally I've found Universal HTC RUU/ROM Decryption Tool 3.1.0 and I've extracted 2 files. Is boot.img the firmware?
Or it is in the folder named "firmware" but all the files are.img and I do not understand how to flash them...
 
Last edited:

alray

Recognized Contributor
May 22, 2012
8,934
3,583
0
I am very sorry :), I've made a mistake, I am on Lollipop, the version is 1.56.401.70.
That is not even possible. The A9 shipped with Marshmallow. You version number also confirm that it is running marshmallow.

Finally I've found Universal HTC RUU/ROM Decryption Tool 3.1.0 and I've extracted 2 files.
Good job, that's exactly what you needed.

Is boot.img the firmware?
Or it is in the folder named "firmware" but all the files are.img and I do not understand how to flash them...
Boot.img is the kernel. The folder named "firmware" is the complete firmware and that's what you want to flash if you want to downgrade back to marshmallow, before flashing the marshmallow ruu. Btw you'll need s-off to downgrade. How to flash the firmware, see at the end of post #2. The content of the firmware folder must be zipped before flashing (make sure you do not zip the folder itself, just the content, you don't want to have the folder itself inside your firmware.zip file, just the .img files)
 

HarryCustom

Senior Member
Dec 26, 2007
178
7
0
Maybe he is confused because first post lists 1.xx firmwares as Lollipop.
This is the problem!
I was thinking to be on Marshmellow, then I've checked on first post and found my version on wrong Lollipop section... :)

---------- Post added at 12:38 PM ---------- Previous post was at 12:35 PM ----------

Boot.img is the kernel. The folder named "firmware" is the complete firmware and that's what you want to flash if you want to downgrade back to marshmallow, before flashing the marshmallow ruu. Btw you'll need s-off to downgrade. How to flash the firmware, see at the end of post #2. The content of the firmware folder must be zipped before flashing (make sure you do not zip the folder itself, just the content, you don't want to have the folder itself inside your firmware.zip file, just the .img files)
My phone is s-off, I'll zip every file, not the folder and flash!
Ok everything is clear! :)
Thank you very much.
 

alray

Recognized Contributor
May 22, 2012
8,934
3,583
0
This is the problem!
I was thinking to be on Marshmellow, then I've checked on first post and found my version on wrong Lollipop section... :)

---------- Post added at 12:38 PM ---------- Previous post was at 12:35 PM ----------



My phone is s-off, I'll zip every file, not the folder and flash!
Ok everything is clear! :)
Thank you very much.
Sorry for the confusion, don't know what I was thinking when I wrote lollipop there :silly::eek:
 

cowboy_ea

Member
Aug 12, 2008
31
1
0
FREQUENTLY ASKED QUESTIONS:

  1. Do I need S-OFF ? If your phone is S-ON, you can't downgrade (flashing an older RUU version than you version-main). If you don't have any choice other than flashing a RUU older than your actual version-main, you'll need S-OFF
  2. UPDATING from Marshmallow to Nougat RUU (2.xx.xxx.x)? READ THIS !!!

    EXPECT THIS:
    bootloader reporting these errors:
    • (bootloader) ERR check AES encrypted magic string failed.
    • FAILED (remote: 12 RU_ZIP_ERROR )
    • Signature verify fail
    and ruu will not flash

    WHY:
    HTC is now signing Nougat RUUs with a different signature than Marshmallow RUUs. The Key to read that signature is embedded in your phone firmware, more precisely in the HOSD (hosd.img).
    That mean, if your phone is still running a Marshmallow firmware (version starting with 1.) your phone firmware (and so your hosd.img) had not been updated yet with the new signature key which will result in your phone not being able to verify the Nougat ruu signature.

    HOW TO SOLVE:
    You can't flash a Nougat RUU if your phone isn't already running the Nougat firmware ---> You must update your firmware to 2.xx.xxx.x before flashing a 2.xx.xxx.x RUU / You can't update from 1.xx.xxx.x to 2.xx.xxx.x without updating your firmware to 2.xx.xxx.x first.
  3. DOWNGRADING from Nougat to Marshmallow READ THIS !!!
    Read FAQ #2, same thing apply when downgrading, you need the old marshmallow decryption key on your phone for the marshmallow RUU to pass signature verification. Downgrade your firmware to 1.xx.xxx.x before flashing a 1.xx.xxx.x RUU.
How to flash (RUU.ZIP):

  • SD Card Method:
    Rename the RUU zip file "2PQ9IMG.zip", save it at the root of your external sd card (FAT32) (exfat should also work, to be confirmed). Reboot the phone in download mode and wait for the magic...
  • Using fastboot commands Method (MS Windows, Linux, MacOS):
    Save the ruu zip file in your adb/fastboot folder along with htc_fastboot.exe(see post 43). Open a command window from that folder then type:
    Code:
    fastboot oem rebootRUU
    htc_fastboot flash zip <file_name>.zip
    Wait for the "finished. Total time: xx sec" before doing anything. Then:
    Code:
    fastboot reboot
    Make sure you have the latest HTC drivers installed on your computer and that you are using htc_fastboot.exe for the flash zip command.

How to flash RUU.EXE (For MS Windows Only)
  • Make sure you have the latest HTC drivers installed and MS Visual C++ 2008 Redistributable Package (If you launch the RUU and nothing happens, then you don't have the MS Visual C++ installed). Connect your phone to your computer and launch the ruu.exe file. Follow instruction from the RUU program.

How to flash firmware.zip
  • It can be done the same way as flashing a RUU.zip, see above SDcard & fastboot methods.
I want 1.57.617-1 firmware to downgrade my device to Marshmellow :confused::confused::confused::confused:
 
  • Like
Reactions: Kutaiba Hilani