yashsingh1/xdaforums huggingface dataset:
[HTC One A9] Captain_Throwback:
Welcome to my stock rooted ROM thread!

These ROMs are built from either the official HTC RUUs posted here, or stock boot & system backups posted in the forum.

[CENTER][SIZE="3"]*** DISCLAIMER ***
Anything you flash from this thread is done AT YOUR OWN RISK!!
I will not be held responsible if something from this thread breaks your device![/SIZE][/CENTER]

Now that that's out of the way, here are the details:

ROM Features:

- Recovery-Flashable (TWRP Recommended)

- Rooted (SuperSU 2.65)

- Forced encryption disabled

- dm-verity disabled

Instructions:

- Unlock Bootloader

- Flash TWRP

- Format Data in TWRP to remove encryption (Wipe -> Format Data -> type "yes")

- Reboot Recovery

- Copy ROM of your choice to device over USB

- Flash ROM zip

- Reboot device (device will reboot once automatically at the beginning of the boot animation to install SuperSU)

- Profit!

IMPORTANT NOTES:

- You cannot use the external SD card as internal storage, because that would require dm-verity to be enabled, which isn't possible on a custom ROM.

Available ROMs:

Unlocked/Developer Edition (GSM compatible):

1.57.617.20 Dev Edition - Android 6.0.1 - thanks @Wonders_Never_Cease

1.55.617.4 Dev Edition - Android 6.0.1 | Mirror (BasketBuild) - thanks @Frago for posting the stock images

1.12.617.6 Dev Edition - Android 6.0 | Mirror (BasketBuild)

Carrier-specific versions:

AT&T

1.57.502.20 AT&T - Android 6.0.1 - thanks @Wonders_Never_Cease

1.27.502.5 AT&T - Android 6.0 | Mirror (BasketBuild)

Sprint

1.60.651.4 Sprint - Android 6.0.1 (thanks @holofractal)

1.57.651.1 Sprint - Android 6.0.1 (thanks @holofractal)

1.10.651.1 Sprint - Android 6.0 | Mirror (BasketBuild) - thanks @entrpn for posting the stock images

All Downloads (includes firmware from RUUs)

Thanks:

@kmdm for unruu , bruutveal & ruuveal for RUU extraction and decryption

@nkk71 for his help with RUU decryption

@SuperR. for SuperR's Kitchen, which is how all the ROMs were built

XDA:DevDB Information

A9 Base ROMs, ROM for the HTC One A9

Contributors

Captain_Throwback

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

Based On: Sense

Version Information

Status: Stable

Created 2015-12-30

Last Updated 2016-06-25
[HTC One A9] nkk71:
First :D:D

Congratulations, Nice job :good::good:
[HTC One A9] lsun06:
Stupid question probably, is this for Sprint only or will my att unlocked work with this ?
[HTC One A9] Captain_Throwback:
Is what for Sprint only? There are two ROMs.

Sprint Edition is for Sprint (obviously). Dev Edition is for GSM. There's also an AT&T RUU on the HTC site, but I haven't downloaded it. Hopefully someone else can do that and build their own ROM (one of the points of this thread).
[HTC One A9] lsun06:
That's what I needed to know. I still can't get it to go bast first boot image. It reboots after 6-10 seconds then never comes back on. I'm unlocked, supercid, on 1.12.617.6. Followed directions about wipe and format, flashed. Still nothing. I'll backup and punt for now. I tried numerous times.
[HTC One A9] AnierinB:
My bad, just realized there is a deodexed version. Works great!
[HTC One A9] SpeziesTR:
I've the same issue as Isun06.

Tryed the HIAE_DEV_EDITION_1.55.617.4_ROOTED_CPTB-deodex.zip and also HIAE_DEV_EDITION_1.55.617.4_ROOTED_CPTB-odex.zip on a European model (2PQ910000). It's S-Off and bootloader unlocked, Super-CID. MID changed to 2PQ912000.

I followed also the directions, but unfortunately it didn't work. I restored my backup which is working.
[HTC One A9] nkk71:
my previous reply, was luckily deleted, by me fortunately pressing f5,

"it didn't work", "it doesnt work", are not the most useful of statements, so 2 choices

start logging, from the recovery flash, the kmsg/ramoops (whatever this device uses), etc

you should also include what firmware you are running and so on and so forth,

seriously, people, the OP just released this a few hours ago, and he get's, yet another "it doesnt work" post?? -__-

what device do you have (specific, not vague)

getvar all (excluding IMEI, MEID, serial number)

what firmware are you running

has the ROM flashed properly in recovery

is the kernel in place

logcat, kmsg, etc

etc

if YOU want to help, i'm sure it would be appreciated, but the OP need specifics and exact details
[HTC One A9] lsun06:
I'm not trying to be one of those people, just simply stating I can't seem to get past the first boot . It reboots and is dead. I stated I'm on a fresh install of the dev unlocked 1.12.617.6. I went through the wipe format etc. I supercid. Mid is same as 2PQ912000.

In recovery it said completed and no issues. I'm sure its me. I was just stating I can't seem to move past that first boot.

Thank you for the work, I do appreciate the folks that work on these. Without you this site would be useless and, frankly, I would have stayed w apple years and years ago.
[HTC One A9] Captain_Throwback:
Have you tried installing the 6.0.1 Dev Edition firmware to see if that helps? Typically the ROM and firmware should correspond.
[HTC One A9] lsun06:
I flashed the img from the other topic that listed the convert from what I'm on now to the 6.0.1. I'm assuming it was the img as it stated it was to be flashed after the ROM backup. The 2PQxxx img. I'm assuming it's the firmware ? This phone is a different animal from the m8 and back. I've done numerous HTC phones and this one is confusing the hell out of me. It's my fault. Not yours.
[HTC One A9] Captain_Throwback:
fastboot getvar all from Download mode might help us see what situation your device is currently in. It sounds like you need to RUU and start over, tbh. A clean slate always helps.

You also need to be more specific with the information you provide. You're referring to vague files, so without knowing exactly what you flashed, it's difficult to help.

To be fair, the purpose of this topic is not to help people figure out why they can't flash a ROM; I already know the ROMs work. This is a Development thread to aggregate the stock rooted bases. As such, the spurious discussion really belongs in Q&A.
[HTC One A9] AnierinB:
Is there anyway you could make a debloated version? Not trying to push it as I greatly appreciate your work done here!
[HTC One A9] tharwatq:
[MENTION=1162986]Captain_Throwback[/MENTION]

Thank you for sharing your work.

I read the thread about rooting the A9 but it seems not all devices can be rooted (I am not sure), so I asked the OP there and waiting for his reply.

The one I have is 16GB/2GB model with Build number: 1.27.401.5 CL656287 release-keys, so would the method you mentioned work?

I also have another question but it is off topic, it is regarding the 2GB vs 3GB variants, where can I ask you regarding that? As someone was trying to help me and he told me that you can help.

Thank you so much
[HTC One A9] Captain_Throwback:
Your entire post is off-topic for this thread. As I just stated:

I don't know what the "method you mentioned" refers to, but I do know that the FAQ in the TWRP thread answers several root questions. The root method in [MENTION=2376614]jcase[/MENTION]'s Root thread is largely deprecated with the advent of [MENTION=631273]Chainfire[/MENTION]'s latest Beta zips, which automatically patch the boot image. It seems to me that you're making it more complicated than necessary.

And all questions belong in the Q&A forum. If you have a question that you need my feedback on, just mention me and I'll see it.

Now please, let's get this thread back on topic.
[HTC One A9] Captain_Throwback:
I'm going to also upload the firmware extracted from these RUUs to the Downloads tab of the DevDB project. That may help with some of the compatibility issues people are having with the ROMs. Note, however, that the firmware is for people with S-OFF ONLY, and you may need to add your MID and/or CID to the android-info.txt included in the zip for it to flash on your variant. Before you do that, MAKE SURE THE FIRMWARE YOU'RE FLASHING IS FULLY COMPATIBLE WITH YOUR VARIANT!!!! That means - don't flash GSM firmware on your CDMA device and vice versa - the radios are incompatible and will undoubtedly break data for you.

I'm uploading the AT&T firmware now (from the HTC-posted RUU), as I'm about to build a stock rooted for that and upload.
[HTC One A9] scott8281:
Great to hear you uploading an att version. I'm stock rooted with s-on. I'll gladly be the lab rat for the rom
[HTC One A9] Captain_Throwback:
AT&T version is up.
[HTC One A9] scott8281:
Awesome. Downloading now
[HTC One A9] scott8281:
I can confirm the At&t rom is working fine. I did a clean install and set up everything like new. Runs great.
[HTC One A9] pixel989:
Download mode/

Doownload Mode!
[HTC One A9] Laximus:
Hi Guys!

Sorry if I am off, but I didnt find any related topics.

I am on totaly stock, 6.0.1.

The Sense Launcher restart many times if I quit from an app, like Whatsapp, Viber, or any other app. Not always but very often. Redraw the icons, widgets, Blinkfeed, and its like stuck for few seconds, so its a bit annoying. Does anyone have any idea about that?

P.S.: I think I found the cause and the solution: in the BOOST+ app was switched ON the Background Apps Optimazition. I switched it off, and the Sense launcher is comes up immediatel again, without any lag or redraw. =D
[HTC One A9] loner.:
___
[HTC One A9] mcbright80:
Any luck...

...finding out the answer to this? I never could find a definitive and/or complete answer to that as well....had a Note 4 that charged but wouldnt be recognized via USB regardless of how many different cords i tried, drivers or programs used etc...recovery was disabled somehow too IDK.
[HTC One A9] leonardojt:
I need boot.img of this rom for sprint
[HTC One A9] JohnRogers23:
Use the RUU decrypt tool to extract it from an RUU.
[HTC One A9] amrdiadora:
could you upload this ROM again , the link is not available any more

1.57.617.20 Dev Edition - Android 6.0.1
[HTC One A9] Captain_Throwback:
That's not my ROM. That's a link to another thread, which is where you should ask that question.
[HTC One A9] Wonders_Never_Cease:
That series is no longer supported and is no longer available... current rom is Nougat
[HTC One A9] peterzuma:
The HTC One A9 Taiwanese Model got updated to Nougat some weeks ago

Do you have the Rooted Nougat RUU for it or where can I find it?
[HTC One A9] Captain_Throwback:
There's no such thing as a rooted RUU (at least not a stock one).

This thread isn't for RUUs, but for stock-based ROMs. And this thread is no longer actively maintained. I'm sure there's a thread with RUU links somewhere, and rooting only requires flashing TWRP and a root zip.
[HTC One A9] peterzuma:
Many thanks.

All I really need is the RUU for Taiwan mostly
[HTC One A9] Captain_Throwback:
Just ask in the RUU thread. Maybe they'll have a link. I'm sure that the RUU exists.
[HTC One A9] Sunnyallizzwell:
Hey Greetings from india bro!

Recently my device got nougat update, i was so excited to download it, but after every download when I try to install it installation goes to an unknown error on 25%, at 25% device shows a red exclamation mark same as when we enter in recovery mode. Please help. My update is 2.18.707.1 my current FW is 1.56.707.1 please help bro. If you can share the stock rom zip or if there is any solution to this unknown error I'd be very grateful.

Thanks & Regards,

Sunny
[HTC One A9] Bob hemmek:
How to unlock HTC one a9 sprint simlock
[HTC One A9] Captain_Throwback:
Wrong thread.
[HTC One A9] samweli benjamin:
I received an error text (SIGNARURE ERROR)when i was trying to update my htc one a9 by using RUU side load. please help me with this or if there is another way i can update my device
[HTC One A9] DakshFella:
I have the same Sprint A9 with super cid 11111111 and mid 2PQ930000 and I'm finding a ROM file running Nougat without any any network problems, I live in Sri Lanka and using a Dialog SIM.

Could you please help?

---------- Post added at 05:20 AM ---------- Previous post was at 05:19 AM ----------

I have the same issue, could you please help?
[HTC One A9] Captain_Throwback:
Wrong thread. Please take it to Q&A or PM.
[HTC One A9] samweli benjamin:
guys i really need help, is it possible to install stock rooted ROM in a9 and replace stock ROM running Nougat? please i need to know about this
[HTC One A9] Jay_Nz:
Hello everyone. I have at and t htc a9. This phone was a mission to root. At every single step I got hiccups be it device not recognizing to all the way to actual root. Unfortunately the instructions on other websites I was following earlier wasn't great or links didn't work. Finally came across this and managed to root device easy..!

If anyone is stuck or needs help, instructions let me know and I'll be happy to help. This is exactly what I wanted stock rom without bloatware as I like sense.

My phone is S-on

Att 1. 27.502.5

Android 6 marshmallow

I do have couple of questions though -

1). If I just factory reset this phone will it maintain the root etc and just wipe data..?

2) Is backing up in titanium back up better or back up image, boot, data in twrp better option.?

3) Not happy with battery life on a9, are there better optimized battery, performance wise android 7 or 8 roms.?

Thank you
[HTC One A9] smokeandkill:
So what did you achieve root with?
[HTC One A9] Jay_Nz:
Managed with both TWRP then su flash and also with magisk... Prefer magisk as it would make android pay and snapchat run..
[HTC One A9] gnanava:
i unlocked bootloader, installed last official TWRP, Formated Data, rebooted recovery but, i can not copy any file to phones storage...

any ideas?
[HTC One A9] Jahangiralambd:
Any Htc one a9 supported rom

How to understand my device sprint,AT&T

Please give this deodex twrp flashable rom
[HTC One A9] Wonders_Never_Cease:
Format data partition from recovery
[HTC One A9] Jahangiralambd:
hi, can this rom use for Sprint (2PQ93) with s-off and cid-111111?

thanks.
[HTC One A9] Wonders_Never_Cease:
Need to convert via guide in forum...IF wanting to use another Sense rom...
[HTC One A9] insigniared:
Error 7 with a Sprint A9

Please, can anyone help me, I have a Sprint HTC A9, with the following descriptions:

kernel: lk

product: htc_hiaewhl

version: 1.0

imei: ___________

version-main: 2.18.651.2

boot-mode: download

version-baseband: 1.0.C00004.1@51008

version-bootloader: 1.0.0.0000

mid: 2PQ930000

cid: SPCS_001

Unlocked bootloader using HTC DEV

S-ON

Whenever I try to flash any of the Sprint Roms posted here, in the TWRP (version 2.8.7.0_CPTB-B7, is the only one that could boot in this sprint phone) I get the message saying:

E: Updater process ended with ERROR=7

please any help will be appreciate.
[HTC One A9] JohnRogers23:
You're trying to downgrade, which isn't possible like that. If you want to root then just flash Magisk.
[HTC One A9] Batman's Cousin:
anyone have a deodex 7.0 sprint zip

---------- Post added at 04:01 AM ---------- Previous post was at 03:58 AM ----------

Any chance you have a zip for 7.0 ? lol
[HTC One A9] insigniared:
no system

I'm stuck in a bootloop, is there any chance to flash this MAGISK .zip file or the SUNSHINE S-OFF paid program since I've got no system installed nor operative? would it be capable of booting the magisk program and do the correspondant hardware and software tests prior to confirm it's S-OFF capabilities?
[HTC One A9] holofractal:
I'll make a debloated and deodexed ROM for the a9 Sprint later on, probably this weekend.
[HTC One A9] JohnRogers23:
This needs to be a sticky, but then people wouldn't read it then either.

Did you start TWRP and didn't go in advanced settings to set /system read-only before you did anything? Find the RUU tool and the RUU that matches your phone. Extract the system.img from the RUU, and flash it in recovery. Then you should be good to flash Magisk
[HTC One A9] insigniared:
will try that option thank you, will let you know my results.
[HTC One A9] Moskopia:
Hi guys! Please I have HTC One A9 (I think HTC sense) I tried rooting it by I wasn't able to get S-off but I unlocked the boot loader. As I couldn't go further it re-locked it back. I installed the twrp recovery. My problem is that I want to remove the twrp because it doesn't allow me to upgrade my phone... I get an error saying file is corrupt. Please I need to install back my custom rum and remove the twrp recovery. I've been in this situation for a year and some months I really need help. Especially where to download the custom rom for my phone and how to remove twrp and install the custom rom... :crying::crying::crying::crying:

Please help!

Thank you for helping me out!
[HTC One A9] Fener_1907:
hello Xda devloopers

I do not know where to go with me I post this here because in my head here is full of chaos fight me now already 3 days with it

and now my problem I have a htc one a9 htc__001

so i installed the device undocked cm 13 so far so good

before that, of course, the twrp flashed stupidly I have not made a backup of my phone with my htc one a9 background image is discovery more or so I would like to get rid of that and I can only if I remove the demo mode for that, but I must be s-off but I am s-on and do not know how to proceed please ask for advice and help thank you for any help in advance
[HTC One A9] solved:
what exactly you mean oO?
[HTC One A9] techlogik:
Downloaded and tried the 1.55.614 6.0.1 Unlocked/US version. Everything works fine until I try to pair my BT to my car. BT keeps crashing/restarting.

I've taken the OTA to the latest and rooted previously and had no issues with anything.

Anybody else have BT issues with the 1.55.614 US/Unlocked deodexed posted?
[HTC One A9] Captain_Throwback:
I wouldn't trust the deodexed versions, personally . . . the odex versions are closest to stock, so if you have an issue on the odex, I'd say it's valid. If you only have that issue on the deodex, then it's likely because the ROM didn't get deodexed cleanly/properly, which is unfortunately out of my control.

That's the reason I didn't even upload the deodex versions to XDA.
[HTC One A9] lsun06:
Just a update, I did get the dev edition and it's perfect. It's been a learning curve with this phone but worth it . Great work Captain !
[HTC One A9] techlogik:
Ok, thanks for that. I don't care for the 1.55 security stuff anyway, so just RUU back to 6.0.0

B
[HTC One A9] Captain_Throwback:
Look at my other post in the forum about decrypting (guess you missed it?). Everything you need is there.

There are no posts in the Kitchen thread about decrypting - those are all about deodexing, which works on the 6.0.1 ROM (which I uploaded to BasketBuild).
[HTC One A9] Atze001:
I try to update some apps in the odex Rom but after install my phone automatically reboots to recovery. Can someone explay how to update the apps in rom.zip?
[HTC One A9] jureca:
Mobile EU can install this rom?,Thanks

Enviado desde mi HTC One A9 mediante Tapatalk
[HTC One A9] ouioui01:
You can if you're:

- s-off

- twrp installed

- change cid to BS_US001

- change mid to and mid to 2PQ912000

then you could flash rom and firmware.

if you're not, you can't.

Cheers
[HTC One A9] Captain_Throwback:
You don't need to do all that to flash a ROM . . . you certainly don't need to be S-OFF. Firmware is a different story, but the user didn't ask about that.
[HTC One A9] ouioui01:
Hi Captain,

You need to do that if you have an europeen A9 ;)

Cheers
[HTC One A9] Captain_Throwback:
Why's that? The ROM zip doesn't care whether you're S-OFF or what your MID or CID are.
[HTC One A9] ouioui01:
Hi,

flashing a rom does not care if the device is s-off or s-on. but the for the firmware it must be for a model (that's what i understand since i have android devices...

Need to go to bed :)
[HTC One A9] Captain_Throwback:
And we agree about firmware, but no one asked about that, thus my confusion at your response.
[HTC One A9] crowsnestitsupport:
Thanks a million!! Works perfectly!! Love it!
[HTC One A9] jureca:
Thank you for your answer!

Enviado desde mi HTC One A9 mediante Tapatalk
[HTC One A9] gamingforfact:
I've been running the odex for the past couple of days. I converted my AT&T device to dev edition. No issues with 6.0.1 as of yet. Thank you for your hard work.
[HTC One A9] techlogik:
Yeah, too bad 6.0.0 1.12 can't be deodex successfully. Tried the suggestion about the superr kitchen meta type in the other thread, builds/installs properly now.

A suggestion, maybe change the tether options and turn the tethering_guard to <false> and the policy to '0' instead of 9 further down the config file by default.xml config.

I've tested those two changes with mine, I'm on cricket and tethering works fine after making those changes.

Thanks
[HTC One A9] Captain_Throwback:
The ROMs I posted are intended to serve as base ROMs for people that want to make modified stock versions. If you'd like to use one of these as a base and post a custom version, be my guest. I won't be posting any further modified versions here - that's not the purpose of this thread. Or, if you'd like to post a mods thread, that would also be fine.
[HTC One A9] danifilth4king:
Had anyone tried flashing firmware the ext-sd card way? By getting supercid and renaming firmware to 0P6BIMG.zip placing it in the root of the SD card and updating through bootloader? Or did this only work on the M8?
[HTC One A9] CarinaPDX:
I see that v2.66 is out for supersu. Should we install the zip over the current firmware using TWRP? Or is another procedure needed? Or is it something to skip for now?

Thanks,

Greg
[HTC One A9] techlogik:
I installed it via TWRP over top of 2.65 last night, all is good in the World still with 2.66. I'm on 1.55, xposed also.
[HTC One A9] mytohn:
Successfully flashed with "HIAE_DEV_EDITION_1.55.617.4_ROOTED_CPTB-odex.zip"

but boot looping at HTC Logo welcome screen

HTC 9Aw
[HTC One A9] Captain_Throwback:
Added firmware from official 1.55.617.4 Dev Edition RUU.
[HTC One A9] joshzdad2013:
I believe you have to flash the 1.55.617.4 firmware too. same happened to me.
[HTC One A9] Mudgle:
I flashed the "HIAE_DEV_EDITION_1.55.617.4_ROOTED_CPTB-odex.zip" too. tried to flash the firmware since got stuck on bootloop. got errors flashing firmware and now im stuck on bootloop
[HTC One A9] Captain_Throwback:
I see no logs, or even a question in your post, so I'm not sure if you want something or are just informing us of your current situation.
[HTC One A9] Mudgle:
Well did manage to get the phone to boot with "HIAE_DEV_EDITION_1.12.617.6_ROOTED_CPTB-odex.zip". now, how should i go about flashing "HIAE_DEV_EDITION_1.55.617.4_ROOTED_CPTB-odex.zip"? i guess i need the firmware too to go with it? got error E:Could not find 'META-INF/com/google/android/update-binary' in the zip file. when in try with TWRP, and when i tried with download mode and rename the file to 2PQ9IMG.zip, i got error with ID. so do i need to do changes to cid and mid like i read in another forum post?
[HTC One A9] Captain_Throwback:
Just add yours to the android-info.txt in the firmware zip.
[HTC One A9] Mudgle:
Did that, got still an error about missing info or malformed. Now cant boot into recovery or download mode. what went wrong?

"Failed to boot to recovery mode

Press volume up or down to back to menu"

This is my android-info:

modelid: 2PQ910000

cidnum: HTC__034

cidnum: HTC__034

mainver: 1.55.617.4

aareport:1

btype:1
[HTC One A9] Captain_Throwback:
You didn't edit it in Notepad, did you? You have to use an editor that won't break the line endings, like Notepad++.
[HTC One A9] Mudgle:
i did use notepad++. is there a way to revert back to "HIAE_DEV_EDITION_1.12.617.6_ROOTED_CPTB-odex.zip". since im stuck on bootloader screen

i tried to flash recovery and get this "C:\adb>fastboot flash recovery twrp.img

target reported max download size of 536870912 bytes

sending 'recovery' (43774 KB)...

OKAY [ 9.408s]

writing 'recovery'...

FAILED (remote: cannot flash this partition in s-on state)

finished. total time: 9.419s"
[HTC One A9] Captain_Throwback:
Hold Power+Volume Up for 10 seconds or so (until the device starts to reboot) and then release those buttons and immediately hold Volume Down until the device boots back into download mode. Then you can do whatever you need to do.