yashsingh1/xdaforums huggingface dataset:
[HTC One A9] CosminCretu:
Please tell me if I will do something wrong:

I have the following phone:

(bootloader) kernel: lk

(bootloader) product: htc_hiaeuhl

(bootloader) version: 1.0

(bootloader) imei: -----------------------

(bootloader) version-main: 1.56.206.70

(bootloader) boot-mode: download

(bootloader) version-baseband: 1.1.U00018.1@60122.4

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PQ910000

(bootloader) cid: O2___102

and I want to update to Nougat. If I flash firmware HIA_AERO_UHL: 2.16.401.3 and after that the RUU: 2PQ9IMG_HIA_AERO_UHL_N70_SENSE80GP_MR_HTC_Europe_2.16.401.3_Radio_1.1.U40062.1@61209_60.00_F_release_492789_signed_2_4 is ok?

Even if CID and radio baseband is different?
[HTC One A9] scotty2000:
This will not work without changing CID, because your CID does not match to those ones that are supported by the european nougat RUU, so you need to be S-OFF for changing CID, than it would work.

This all is explained in POST 2 of this thread, do more reading please :good:
[HTC One A9] peterzuma:
Where can I get the Nougat RUU for the Taiwanese Version
[HTC One A9] Alden_Akuma:
Help finding RUU

Hello,

Does anybody have an RUU for CID: H3G__003 and MID:2PQ910000, Version-Main: 1.56.771.70?

I'm hoping to return to stock, I had made a backup but the hard drive was wiped, I am also S-On

Please help, and thank you
[HTC One A9] alray:
http://ir-file.com/show.php?token=43000

https://easy-firmware.com/index.php?a=browse&b=file&id=45169
[HTC One A9] Alden_Akuma:
Thank you so much! I am eternally grateful!!!

---------- Post added at 02:36 PM ---------- Previous post was at 02:01 PM ----------

Sorry to bother again, but is the only option paid sites..?

(I bought a $15 Google Play Voucher and signed up for Easy-Firmware, waiting for verification now)
[HTC One A9] Alden_Akuma:
Sorry, I've waited the 24 hours and mailed support about accepting the voucher but they haven't responded, is there any chance I could give you access to my mega account and you could upload it? I'm really sorry to be a hastle, my phone is just caught in a bootloop at the moment and I really need to get it back and functioning
[HTC One A9] alray:
I don't have that file hence why I gave you the link of those 2 websites, otherwise the file would already be available for free at post #1.

I already used ir-file.com many times and everything worked fine. I had to contact them once and they replied in about 24 hours. Never tried easy-firmware but had the feedback from some members that this site also works fine. Wait a little more i'm sure they will contact you
[HTC One A9] Alden_Akuma:
I understand, thank you very much for everything! I will try them if easy-firmware doesn't work out, you're very helpful!

Edit: Subscription just came through, you were right! Thanks for all your help!
[HTC One A9] amrdiadora:
HI , Just need to confirm from you , friends

I am on

CID: HTC__621

and MID:2PQ910000,

Version-Main: 1.12.617.6

without s-off i am stuck ? Right?

available RUU with my CID&MID are

1.10.709.5

1.10.709.7

1.27.709.5

And one more thing i need to ask , Using command "fastboot getvar all" i get nothing from cidnum&version-main (nothing shown)

so i get CID from "CID Getter" app , and version-main from software information >sofware number

Is this right ??
[HTC One A9] JochenP:
This command only works in download-mode.
[HTC One A9] amrdiadora:
sorry you are right , i was not on download mode , I found them

CID: HTC__621

and MID:2PQ910000,

Version-Main: 1.58.709.1

so let us back to my first question

without s-off i am stuck ? Right? (beacause of downgrade )

available RUU with my CID&MID are

1.10.709.5

1.10.709.7

1.27.709.5
[HTC One A9] mrspeccy:
Yes, I can confirm that this approach works. I came from a European One A9 (mid: 2PQ910000, cid: HTC__034), converted it to US (mid: 2PQ912000, cid: BS_US001, using S-off) and flashed the latest US RUU (2.18.617.10 RUU). After installation, it was impossible to select German as display language despite there being listed several other smaller languages. The "Locale and Language" app from the Play Store brought back German. That is, the ROM seems to contain German but does not list it by default?
[HTC One A9] alray:
1.58.709.1 ruu here: http://ir-file.com/show.php?token=12287825

(paid website)

or you can try

adb shell
su
echo -ne "1.27.709.5\x00\x00" | dd of=/dev/block/mmcblk0p28 bs=1 seek=2208
adb reboot-bootloader

and check if your version-main is now downgraded to 1.27.709.5, if yes, you should be able to flash the 1.27.709.5 ruu.

at your own risk.
[HTC One A9] amrdiadora:
Thanks to you , It works :good::good:​

And it was a surprice !!! .. i get the nougat update after flashing the 1.27.709.5 ruu

Now i am on 2.16.709.3. :laugh:
[HTC One A9] Fm4r1n:
I have a question, what does it mean?

HIA_AERO_UL, HIA_AERO_UHL, HIA_AERO_WHL, HIA_AERO_TUHL,

Thanks
[HTC One A9] alray:
These are different variant of the A9. The same commercial name "One A9" is used all over the world but there are minor differences between each variant

HIA_AERO is the code name for the One A9

UL, UHL, WHL and TUHL are different variants of the A9 (using different radio, for example, UL is GSM/LTE and WHL is CDMA/LTE)

In most cases, this indicate a different radio but can also indicate minor hardware difference like dual sim or single sim. You want to use the variant that will work the best in your region. I.e use the UL variant in North america on GSM networks, WHL if on a CDMA network (i.e Sprint). You should have the correct variant for your region if buying from HTC or from you operator but definitively want to double check that if you're buying from an online re-seller. (I was scammed because of that when I bought my One M7, seller sent me a "U" variant instead of "UL" (no LTE variant) and wasn't able to use LTE since the modem chip wasn't capable of LTE on that variant :mad: I wasn't aware of that difference when buying...
[HTC One A9] Fm4r1n:
Ok thanks a lot, I already have my a9 with nougat in europe 2.16.401.3, I was just curious and to learn more about this wonderful brand
[HTC One A9] Kurtis3366:
I cant go back to stock!

Ive flashed a unofficial LinageOS rom so my phone thinks im on noagut so I cant downgrade to marshmellow without sunshine but sunshine reckons the LinageOs rom is not near stock so I cant even use sunshine Im in a pickle here can anyone help?
[HTC One A9] alray:
There are new RUU available. Unfortunately since they are only available on a paid website and that my subscription on that website expired, I can't download and re-upload these files. To be honest, I don't really want to renew my subscription (minimum 15$ (now 20$ as of Jan 2017) for a 30gb/30 days access) for files that I don't personally need (I don't have the A9). I used money from donations earned here on xda to download and re-upload the RUU on androidfilehost.com (HTC Desire 601, One M7, and One A9 Collections) and there is no more of that money left in my paypal account. Sorry but the only way to keep this collection up-to-date involves some money.

I see 3 options:

Members interested to help can give a small donation so I can renew the subscription when its needed and I can download/re-upload the RUU to AFH. Credit to you in the OP if you make a donation. (Like I said, 15$ is enough for the cheapest subscription) ---> Will give back everyone donation if we are unable to gather enough money.<---

Wait for someone else to upload these RUU. Might never happen...

Wait (

no ETA - Will probably take while

) until I need to access that website for my personal use. I will download and re-upload these files to a free server (androidfilehost.com) at the same time. It may take a while

To be downloaded from the paid website and uploaded to AFH: (list updated 2016-02-25)

UHL:

1.27.709.15

HTC Asia TW

1.27.708.5

HTC Asia HK

1.27.452.25

HTC VNM WWE

1.27.111.5

TMO DE

1.27.112.5

TMO AT

1.27.114.5

TMO NL

1.27.166.5

Vodafone CH-DE

1.27.163.15

Vodafone FR

1.27.161.6

Vodafone UK

1.12.425.1

HTC VNM WWE

1.12.708.3

HTC Asia HK

UL:

1.27.428.5

HTC CAN

1.27.600.5

HTC LA TELCEL

TUHL:

1.27.1405.12

HTC CN CHS

1.27.1540.25

HTC CN CHS

Done:

HIA_AERO_UHL

[*]1.10.709.5 HTC_ASIA TW signed ruu.zip 1.9Gb

[*]1.10.709.7 HTC_ASIA TW signed ruu.zip 1.9Gb

[*]1.10.73.7 Orange FR/B2B combined ruu.zip 1.8Gb

[*]1.27.91.25 EE UK signed ruu.zip

[*]1.27.771.5 H3G UK signed ruu.zip

[*]1.27.206.5 O2 UK signed ruu.zip

[*]1.27.73.5 Orange FR signed ruu.zip

HIA_AERO_UL

[*]1.12.428.1 HTC_CAN Signed ruu.zip 1.8GB

[*]1.07.598.5 HTC_LA/AMX/SPA Signed ruu.zip 1.9GB

HIA_AERO_WHL

[*]1.09.651.1 Sprint Signed ruu.zip 1.8Gb

[*]1.10.651.1 Sprint Signed ruu.zip 1.8Gb

Want to know the adresse of that website, PM me please, I don't want to make advertisement for them.
[HTC One A9] quentinHD:
Hi [MENTION=4654136]alray[/MENTION] ,

I can give you 10 euros for download this files. I need the French RUU Orange , but i want to be certain i can set this RUU on my A9.. Can you help me ? Thanks !

Sorry again for my English :laugh:
[HTC One A9] jureca:
Thanks!

Enviado desde mi HTC One A9 mediante Tapatalk
[HTC One A9] Ivanovic:
Just to let you know guys that the EU unlocked combined RUU worked fine on an S-ON phone!

Στάλθηκε από το HTC One A9 μου χρησιμοποιώντας Tapatalk
[HTC One A9] ob1111on:
Do you know if any of these RUU's work on North American (USA) Sprint A9s? With such a new launch there are barely any cases for these phones much less Marshmellow S-off roots and mods. I am sure the Android community will be eager to get access to these whilst joyously bricking their phones. I applaud your effort, sincerity, and fantastic initiative to spur development on these latest phones. Kudos to you and when my wallet gets fixed I'd be happy to lend a hand. Enjoy your week! [emoji122]
[HTC One A9] alray:
Replied to your PM

Thanks, will add this info in the OP :good:

Thanks you very much, I can't confirm anything yet but normally they should work fine as long as your actual version-main is older or same as the RUU version and that the RUU was made for your MID/CID. If your version-main is newer than the RUU version, you might need S-OFF to flash it like if was the case for other HTC phones (I do not own the A9 so I can't confirm this).
[HTC One A9] AnierinB:
Convert us att to us developer version

Is it Possible to convert the att version to developer version? The att bloat is getting annoying. Also, my device won't update for some reason which is partially why I need to convert. version is 1.10.502.3
[HTC One A9] alray:
I'm pretty sure it can be done easily since they are both the same variant and MID

Sunshine S-OFF --> change CID for BS_US001 (fastboot oem writecid BS_US001) ---> flash the dev RUU.
[HTC One A9] AnierinB:
Much appreciated

Thank you! once I'm s-off I will try the following and report back to you. Thanks for the quick response! Much appreciated :)

P.S. if this method works, which im almost certain it will, you should post a new xda entry with the steps you gave me. I'm sure it'll help a lot of fellow Android fanatics out :) (Convert AT&T HTC A9 to Developer Edition)

---------- Post added at 06:33 PM ---------- Previous post was at 05:50 PM ----------

Just noticed the version of the developer ruu starts with 1.12. Would that cause conflict considering my version starts with 1.10? I may be totally Incorrect but thought I'd ask
[HTC One A9] ayusharad:
what is the model id of devices available in US?
[HTC One A9] alray:
2PQ912000 For At&t and Unlocked. Sprint variant is probably a different MID because its not the same phone (not a UHL)
[HTC One A9] jureca:
HTC RUU need Asia ;)

Enviado desde mi HTC One A9 mediante Tapatalk
[HTC One A9] alray:
read post 61 ;)
[HTC One A9] jaypeg123:
CAn I flash the US unlocked ruu on my eu version? Do I need to change mid and cid to do it ? to get the updates earlier?
[HTC One A9] alray:
In theory yes but you'll have to change MID and CID of your phone
[HTC One A9] jaypeg123:
Is there an adb command to change mid, and do you know the mid? and cid?

I got this

C:\miniadb>fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_hiaeuhl

(bootloader) version: 1.0

(bootloader) imei:

(bootloader) version-main: 1.10.401.7

(bootloader) boot-mode: download

(bootloader) version-baseband: 1.0.U00297.1@51002.3

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PQ910000

(bootloader) cid: HTC__034
[HTC One A9] JochenP:
fastboot oem writecid {cid}

fastboot oem writemid {mid}

for changing EU to US:

fastboot oem writecid 11111111 (supercid for all roms)

fastboot oem writemid 2PQ912000
[HTC One A9] jaypeg123:
Is it possible to change mid that easy? A Google search turned up a prog from 2013 that should be flashed from recovery!

It was that easy, does 1.12.617.6 Sense 7GP Android 6.0 - Signed RUU.exe include the latest uodate? cos my pfone cant find any new updates, security patch is from 11/1
[HTC One A9] JochenP:
if you are s-off you can find it out.

You are right: internet offers suspicious progs - don't flash something you do not know

P.S. i,ve flashed, coming from 1.10.401.7, the US-ROM but missed german language so i reflashed the EU-ROM
[HTC One A9] jureca:
It works by that? so as tested?,Thanks

Enviado desde mi HTC One A9 mediante Tapatalk
[HTC One A9] alray:
what is your version-main? (fastboot getvar version-main) ?
[HTC One A9] Kurtis3366:
1.56.206.70

But I cant flash anything thats got the same version

(UPDATE) Ive managed to flash back to CM13 somehow it wasnt working earlier hopefully I will be able to flash back to RUU will keep you posted
[HTC One A9] alray:
Any error code when flashing the ruu?
[HTC One A9] Kurtis3366:
I'm currently downloading the correct RUU now and will let you now in around an hour or so. Could I ask if I S-OFF can I use an unlocked ROM on my locked o2 device and still get signal?
[HTC One A9] alray:
Yes, juste change your cid once s-off and use the .401 version.

If youre downloading the ruu now, what file were you trying to flash earlier when youve said you were not able to go back to Marshmallow?
[HTC One A9] Kurtis3366:
the same RUU but I changed the name of a few roms/RUU's so I might of got it mixed up :eek: but I dont think I did :rolleyes: what do you mean by use the .401 version?
[HTC One A9] alray:
.401 like in 2.16.401.3 . It's the WWE version and will only requires to change your CID once s-off (MID already match) to flash this one.
[HTC One A9] Kurtis3366:
Ive gotten s-off now but now when i type fastboot oem writecid HTC__001 it comes up with fail?

(UPDATE - I was meant to be in download mode its done)

do I flash the firmware first?
[HTC One A9] alray:
Since your firmware is still the Marshmallow version, yes you must update firmware first. See post #2 FAQ #4.
[HTC One A9] Kurtis3366:
after a few hours of messing around with it thinking I bricked my device all is good and now running nougat eruo version :D Thanks for your help!
[HTC One A9] marcos07r:
Run 1.56.75.6 orange Spain Marshmall

Help my htc one a9 starts do not need ruu 156.75.6 or Orange Spain .zip someone I could help please sorry for my translation:???
[HTC One A9] alray:
I don't have any RUU for Orange_ES but the one you're looking for is available on ir-file.com

http://ir-file.com/show.php?token=42997

or on easy-firmware.com

https://easy-firmware.com/index.php?a=search&b=1.56.75.2

Both website requires to register a paid account to download.
[HTC One A9] colindodds:
I'm on 02-001 do I need to unlock boot loader to change cid to HTC_001 can I just use sunshine to s off then change cid
[HTC One A9] maikwars:
Why get branded devices an older Software-Version with Security-Level 1. December 2016?!

We get 2.16.161.5 not 2.17.401.2 :(
[HTC One A9] alray:
There are much more steps involved in the process of releasing an update for a carrier branded version than for the unlocked version and this requires much more time (incorporating carrier modifications, testing those modifications, waiting for carrier technical acceptance, delay from carrier, etc...). The latest security update was released Feb 2017, at this date they (HTC and carriers) were probably almost done with the update process that started weeks/months earlier. If they were to start over to integrate that security update, they would need to start the whole process over and you, at the end, would still be waiting for Nougat. Don't worry, I'm sure your version will get the security update in the future (just like the leaked 2.16.401.3 was using Dec 2016 security patch and the new official 2.17.401.2 version is using the Feb 2017 patch).

And btw the .16 vs .17 isn't related to your version having a newer or older security patch. For example, the unlocked version got 2.18.617.1 with Dec 2016 patch and then came the update to the Feb 2017 patch with 2.18.617.10. Last digits are apparently always related to minor bug fixes and/or security updates.
[HTC One A9] alexxero:
Hello, anyone caught the OTA Zip file for 2.17.401.2?

Can maybe share it with us?
[HTC One A9] halanz:
downgrade to firmware 1.56.401.70

I need to downgrade my HTC One A9 to 1.56.401.70.

I am on 2.16.401.3 , had done an Firmware and then ruu update.I am S-ON

Do i have to flash the firmware also to 1.56.401.70 or do i only need to flash with th 1.56.401.70 ruu file.?

If i also had to downgrade the firmware can somebody help with the the firmware1.56.401.70.zip for fastboot flash? I cannot find it on the net.

Thanks
[HTC One A9] melando:
Reading post 803, for those of us who are S-ON fully stock (2.16.401.3) is there a solution to edit mmcblk0p28 to alter version to 2.17.401.2 to be able to receive future OTA updates?
[HTC One A9] Didusieq:
I wouldnt do that. You can brick the phone as it will be still 2.16.401.3 and future OTA will be for 2.17.401.2. There mey be a big difference between those ROMs,
[HTC One A9] Fm4r1n:
This would be the code for downgrade to 1.56.401.70?

eco -ne "1.10.401.1 \ x00" | dd of = / dev / bloque / mmcblk0p28 bs = 1 buscan = 2208
[HTC One A9] melando:
So basically I need to wipe phone with 2.17.401.2 RUU when available?
[HTC One A9] Didusieq:
...or find the way to downgrade to Marshmallow. :/
[HTC One A9] alray:
no no and no A lots of typo, unwanted spaces

it's echo not eco

There are no spaces in "1.10.401.1\x00\x00"

It's block not bloque (French auto-correct? lol)

There are no spaces in of=/dev/block/mmcblk0p28

There are no space in bs=1

It's seek not buscan

there are no space in seek=2208

echo -ne "1.56.401.2\x00\x00" | dd of=/dev/block/mmcblk0p28 bs=1 seek=2208

These commands can be dangerous to your phone if there is a single typo, particularly everything after of= . there are like 16 errors in your command...

You might all want to read the discussion we had, [MENTION=4879887]Didusieq[/MENTION] and me, in this thread. There might be something to try but I wouldn't recommend it (see post 14).

Otherwise, the safest would be to either go S-OFF or wait for the 2.17.401.2 RUU
[HTC One A9] Lolli26:
Hi, could someone please share the 1.56.401.7 firmware? I know there is a program to extract it from the RUU but maybe someone who already has the program and knows how to do it could share it in the thread... Thanks!
[HTC One A9] marcos07r:
recovery.img - HTC One A9

Can someone help me how can i extract recovery.img from a zip htc will not let me when it measures only 6 MB

Thank you
[HTC One A9] alray:
Extracting the firmware images from a ruu first requires to decrypt the ruu... You won't be able to flash that firmware on your phone if it's S-ON. I can share that file if you still want it.

Btw extracting files from the RUU isn't hard at all, All you need is about 5-10 minutes to read the first few posts if this thread

https://xdaforums.com/chef-central/android/tool-universal-htc-ruu-rom-decryption-t3382928
[HTC One A9] alray:
What zip exactly?
[HTC One A9] marcos07r:
recovery.img - HTC One A9

I have to reinstall recovery original but I do not know how I can do it without it becoming a brick HTC ONE A9

Sorry for the translation
[HTC One A9] alray:
I said, what zip? From what zip file are you trying to extract the recovery.img?
[HTC One A9] Lolli26:
Yes if you could you will make me a favor (I don't have a PC at the moment); I know I'm already S-OFF thanks :good:
[HTC One A9] alray:
https://www.androidfilehost.com/?fid=817550096634758247
[HTC One A9] marcos07r:
recovery.img - HTC One A9

thank you very much my friend
[HTC One A9] marcos07r:
I installed factory recovery and closed bootloader does not let me install ota when this installer is 25%

HTC ONE A9

sorry for my translation ??
[HTC One A9] Fm4r1n:
I use the decriypt-htc tool for zip 1.56.401.70 but file resulting from firmware is different size, is it okay alike ??

My file is missing dzdata 16 & 32 .hdr & .img

https://www.dropbox.com/s/g5ow99sfoe3pqhi/Captura.JPG?dl=0
[HTC One A9] alray:
Is your phone S-On or S-OFF ?

dzdata are the files that will wipe you /data partition when flashing the ruu.
[HTC One A9] alray:
Would like to help but you are refusing to answer a simple question.
[HTC One A9] Fm4r1n:
S-off , ah ok, Then my firmware is wrong, thanks
[HTC One A9] alray:
2 pages back you were asking question about the "echo -ne "1.56.401.2\x00\x00" | dd of=/dev/block/mmcblk0p28 bs=1 seek=2208" command

If you're phone is S-OFF you don't need to use this command, its a trick used on S-ON phone to kinda bypass the version-main check that occurs when flashing a RUU (because downgrading is not allowed when S-ON). When phone is S-OFF, the version-main on your phone doesn't matters (downgrading is allowed). Only the CID and MID must match the android-info.txt so there is no need to change the version-main using that command before flashing a firmware.zip or a ruu.zip/.exe if your phone is S-off

Will not harm your phone but totally useless.
[HTC One A9] alexxero:
I tried this after the command to write version i go Permission denied. Why is that?
[HTC One A9] alray:
You are using a regular shell, you need a root shell (# not $)

adb shell
su
[HTC One A9] Fm4r1n:
If thank you I knew, it was for friends of htcmania.com who have s-on. But having your firmware of 1.56.401.70 can later flash the ruu.zip 1.56.401.70?
[HTC One A9] alexxero:
The phone is S-On, unlocked and no root, full stock, SU not working, or maybe I'm doing something wrong :-s
[HTC One A9] alray:
If your rom isnt rooted, use twrp (see FAQ at post 2)
[HTC One A9] alexxero:
I can't write or boot TWRP because as I said earlier the phone has bootloader locked, s-on and no root (full stock).
[HTC One A9] Ultramanoid:
Can't unlock the bootloader ?
[HTC One A9] alexxero:
Well, that will void my warranty, so i don't want that, i'm still remaining on stock after so what will be the point?
[HTC One A9] Fm4r1n:
You only have to wait for 2.17.401.2.zip
[HTC One A9] alray:
Well youve said "unlocked" at post 828 thats why Ive suggested to use twrp.
[HTC One A9] alexxero:
Oh, my bad, wanted to say locked, sorry

Thanks for the info!
[HTC One A9] alray:
Anyway if you read the Last pages of this thread and also the other one in the q&a youll see that it's useless to change your version-main since we also need a signed firmware.zip of 1.56.401.70 (or older) to be able to downgrade a s-on phone from 2.xx.401.x to 1.xx.401.x. We only have a decrypted firmware. So atm the only way to downgrade from N to MM requires s-off. So yeah youre kinda stuck there until there is a 2.17.401.2 ruu (that shouldnt take too long) or youll have to go s-off. Sorry

And this apply to everyone in the same situation (S-ON + 2.16.401.3). Be patient everyone or go s-off. Sorry for everyone stuck there but we couldnt know that HTC was going to skip this version and go directly to 2.17 when we added the 2.16.401.3 ruu to this thread.
[HTC One A9] alexxero:
It's ok, thanks for the replies, i appreciate!
[HTC One A9] marcos07r:
HTC One A9 / Android 7 - Nougat

Someone can help me I need RUU OR ZIP 2.16.75.6 orange spain. HTC ONE A9 many thanks
[HTC One A9] Fm4r1n:
[MENTION=4654136]alray[/MENTION]

UL is GSM / LTE, WHL is CDMA / LTE

What is UHL?

My a9 is hiaeuhl, can i flash a ruu WHL by changing my cid / mid? Thank you