yashsingh1/xdaforums huggingface dataset:
[HTC One A9] pspilot:
That's another brillant explanation, I think I got it now, thanks again :). So I really don't need S-OFF for now, will keep it in mind though. BTW, I had no problems paying for Sunshine and the good work contained there.

Well I browsed all the TWRP options and couldn't find anything. Maybe formatting the data partition with TWRP 'kills' the encryption kinda automatically? Also, so far I never read about that step. Only thing I read a few times was the hint, that _formatting_ ist necessary, not (only?) _wiping_, which appearantly is a difference?

Anyway, I think I'm ready to just do it and after all, formatting data is not really a danger for the phone, just for my data which is ok for now.
[HTC One A9] CarinaPDX:
Many posts refer to "wiping" the data partition, but I would think formatting is what you really want.

I wish I could remember where the selection for encryption was - getting old is a *****!

Greg
[HTC One A9] Captain_Throwback:
There is no selection for encryption in TWRP, so I'm not sure what you're referring to :confused:.
[HTC One A9] CarinaPDX:
That would explain why I can't remember how to select it! :D
[HTC One A9] pspilot:
Thought so, thanks for nailing that. It's your scripts (UPDATE-A9_boot_image_patcher.zip) that take care of that, right? And/or SuperSU >2.52 (or so)?

I'm just still confused about the order of the actions and what does what. Should I format data right after installing TWRP, when data encryption is still enabled? Or install your patcher first, format then and SuperSU? Or just flash SuperSU 2.62 and format then? Oh, and why is encryption 'breaking' root anyway?

:laugh:
[HTC One A9] CarinaPDX:
pspilot: One of the problems with forums is that they are full of outdated info, which seems to be affecting you. So let's start over. First, before proceeding, do you have the current version of the OS? If not it is easier to update now than later. To do that the easiest thing to do is to find the appropriate RUU (look at thread beginning "[Collections"... and install back to stock, then do any OTAs, then reinstall TWRP.

In TWRP select format data and proceed. The instructions call for rebooting, but don't do that with the reboot button that appears on the display as it will boot back into /system and reformat to encrypted - instead return to home in TWRP, select reboot, then select recovery to boot into. Once back in TWRP select "Install" and then flash the current SuperSU (2.67 today) available on the SuperSU Beta thread. Then reboot into /system and you should be good to go.

I hope this is clear ... and correct :)

Greg
[HTC One A9] pspilot:
Ahh! The last part - not booting into the system after formatting data, but first changing that encryption bit - makes perfectly sense. Got it now .... so I think :angel:. Seriously, even if I'm not an expert for Android, I'm a technician (hardware developer and as such, also writing a bit firmware from time to time) and I hate it, if I don't understand the things I do.

EDIT: I just 'did it' and everything went perfect, thanks again. Sorry, forgot to mention, that I did already the latest OTA, but thanks for the hint. Generally I'm not SO wild on OTAs, once my system is working well. Like updates from 6.0 to 6.0.1 are not really bothering me :).
[HTC One A9] Bharanidharan:
Could you please help me in creating zip file for my version?

[ro.build.fingerprint]: [htc/hiaeul_00617/htc_hiaeul:6.0.1/MMB29M/680768.1:user/release-keys]

its an unlocked HTC one A9, bootloader unlocked and S-ON.

Thanks:)
[HTC One A9] mcbright80:
For those who may not know.......

So i was wondering......do these boot.imgs work even with each incremental update as well? No files indicate use with only specific version other than the carrier. I updated to 1.57.651.1 for sprint and as usual with my luck i always have the carrier or phone that has the least amount of support lol. The kernel and ramdisk are not updated drastically id expect between updates unless it is a major one like going from lollipop to marshmallow but i could be wrong. As I was typing this i flashed the sprint image and it booted fine except now it has the red statement under the HTC logo boot screen unlike before. Does it matter if that is there really? I havent known it to be an issue before.
[HTC One A9] jcase:
Each one indicates a specific build, using the fingerprint.

At this time I believe chainfire's latest supersu (systemless) works on this phone, I wont be updating this further.
[HTC One A9] nathan96:
can i gain s-off while on cm13 ?
[HTC One A9] ShiftyBob:
OK, I need help... I'm stuck. I have literally been through this entire thread twice and I can't seem to fix it. I flashed (what I believe is) the correct boot.img and now I'm stuck on the splash screen (with red writing). I can get it to reboot into download, or bootload, or even stock recovery from there, but I have been trying for 2 days and I can't find ANYWHERE to factory reset! On top of that, I'm also having problems connecting to ADB (it only does it when it wants to).

I thought I double checked and made sure I had the right boot.img, but since it's not working, it makes me wonder, and now I don't know how to double check. I am US unlocked with OS 1.10.502.3.
[HTC One A9] JochenP:
This thread is outdated! Restore your saved boot.img via twrp.

Google for systemless root...
[HTC One A9] ShiftyBob:
I don't have TWRP installed yet... can I still install it if I haven't factory reset yet?

(and honestly... if this thread is outdated then someone should put that in the OP)
[HTC One A9] ShiftyBob:
I finally figured it out. No offense to the OP but the directions are horribly laid out. Had to install TWRP before I could do a factory reset/wipe.
[HTC One A9] Bharanidharan:
My phones fingerprint not listed

[ro.build.fingerprint]: [htc/hiaeul_00617/htc_hiaeul:6.0.1/MMB29M/680768.1:user/release-keys]

This is what I can pull from CID Getter. Can I just use unlocked-639737.5.zip to flash? :confused:
[HTC One A9] ShiftyBob:
It's in the OP... You have to do it BEFORE you can do the factory reset. (it shows in the instructions that recovery install is AFTER the wipe).

HTC A9 (rooted, xposed coming soon)

GS6 Edge (Bad ESN)
[HTC One A9] ShiftyBob:
Follow the link below. That is what I ended using to gain root and install TWRP. As far as the boot.img for your phone goes, I'm not sure. Try the link provided and I believe there is a link on that page for HTC's home site where they have all of their RUU's listed. Good luck!

http://www.droidviews.com/how-to-root-htc-one-a9/
[HTC One A9] varun.gid:
Hey guys i got an A9 second hand, and it says htc_hiaeuhl PVT S-OFF CID-1111111.

So my phone is S-off? And which variant do i have? whenever i try to update my ROM, (locked bootloader) it says you may have installed a different variant software and can't update.

Please help? Since i have S-Off i can flash the 6.0.1 Dev ROM directly? Can i still unlock bootloader and install CM?
[HTC One A9] dreko2000:
Hello guys. I have my a9 installed latest updates and I will root nowadays. It's unlocked USA model with build number 1.56.617.1. Does this method work for me still?

HTC One A9 cihazımdan Tapatalk kullanılarak gönderildi
[HTC One A9] varun.gid:
So, when i do factory reset phone will restart and then again to download mode and flash twrp?
[HTC One A9] Evgenium999:
ROOT Android 6.0.1

Hi! Where i can download boot file for root HTC A9 android 6.0.1?

shell@htc_hiaeuhl:/ $ getprop ro.build.fingerprint

htc/hiaeuhl_00709/htc_hiaeuhl:6.0.1/MMB29M/684509.70:user/release-keys

Carrier - Unlocked.

With a9-unlocked-639737.5.zip do not working wi-fi.

Thank you!
[HTC One A9] JochenP:
http://xdaforums.com/showpost.php?p=64161125&postcount=3
[HTC One A9] AcidNoteZ:
Hey, can i request a boot.img for the Vodafone EU edition?

htc_hiaeuhl:6.0/MRA58K/656287.6:user/release-keys

Rom version is 1.27.161.6

CIDList=VODAP001, VODAP102,VODAP304.

Android 6.0

I want to gain root for Sunshine to get soff which is not possible without it.

Thanks a lot!
[HTC One A9] 65vdub:
After flashing twrp you can just flash systemless root to gain root.
[HTC One A9] AcidNoteZ:
Thanks

But my TWRP cant find any files on the sdcard path, what am i doing wrong?
[HTC One A9] 65vdub:
On your internal storage? Or your external SD? If it's your internal storage that's because twrp can't work with HTC's default encryption and you need to format data through twrp in order for it to be readable. If it can't read your external storage it might be your card.
[HTC One A9] JochenP:
Twrp 3.0?
[HTC One A9] AcidNoteZ:
Since there is no RUU for the vodaphone version im afraid to do that..

can you guide me a bit please?
[HTC One A9] 65vdub:
Which Vodafone version do you have? I see several links for RUU's for Vodafone in the RUU thread.
[HTC One A9] AcidNoteZ:
1.27.161.6
[HTC One A9] 65vdub:
So you have the UK version?
[HTC One A9] AcidNoteZ:
Does UK mean United Kingdom? Im from Germany.
[HTC One A9] 65vdub:
http://xdaforums.com/showthread.php?p=65164277

Check out that post to see if the RUU you need might be listed there.
[HTC One A9] AcidNoteZ:
WOW Thanks a lot! Hopefully i can flash them without s-off.

Please upload it fast, i beg you :( haha

If i have that, im finally able to try to get my phone soff and unlocked.
[HTC One A9] 65vdub:
If the RUU you need is there it'd be listed in the OP of that thread. You'd be able to download it from there.
[HTC One A9] AcidNoteZ:
Thanks, hopefully i can get it tomorrow, or near that.
[HTC One A9] 65vdub:
You're welcome.
[HTC One A9] AcidNoteZ:
But one thing tho, flashing a combined zip doesnt work on S-On devices..

I need a original signed zip.
[HTC One A9] Captain_Throwback:
You sure about that?
[HTC One A9] AcidNoteZ:
Yes, i think so.

The RUU is always too big or something like that.

I already tried that with my M7 and the same thing happened but with a RUU that matches firmware etc, so just a reset.

But i i currently try to jump from 1.27.161.7 to 1.10.161.7 on my a9.

I need a 1.27.161.7 RUU so bad right now.

sending 'zip'... (1885095 KB) FAILdata too large, 1930337344 > 939470848

FAILED (data size is too large(1885095 KB) for device to download ZIP file 'RUU.zip'

)

Thats what happened.
[HTC One A9] Captain_Throwback:
You're confusing things.

You can never downgrade to an older RUU version when you're S-ON. That error has nothing to do with the zip being "combined." Combined just means the first zip isn't encrypted. However it's still signed, which is all that's needed for it to be applied to a device that's S-ON.
[HTC One A9] AcidNoteZ:
I was able to downgrade the M7 from 7.19.401.51 to 7.19.401.22.

I had a "Combined" Zip 7.19..401.30 which was always to big.

Thats just what i experienced, and nobody could help me.
[HTC One A9] Captain_Throwback:
While S-ON? Unlikely.

Even if so, we're talking about the A9 here, not the M7. Years have separated those devices, and many things have changed.
[HTC One A9] AcidNoteZ:
Hmm, alright.

I guess i just have to wait.

rip
[HTC One A9] technopark:
hi I have htc a9 europe CID HTC__M27

I have this fail.

I cannot flash recovery.img please help me :S:S

Phone Unlocked.

s-on

C:\Users\Mehmet\Desktop\a9 root\platform tools>fastboot flash recovery recover

img

sending 'recovery' (12764 KB)...

OKAY [ 2.622s]

writing 'recovery'...

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

finished. total time: 2.659s

C:\Users\Mehmet\Desktop\a9 root\platform tools>
[HTC One A9] dreko2000:
Can i have a boot img for my unlocked htc a9 with android 6.0.1.

GT-N8000 cihazımdan Tapatalk kullanılarak gönderildi
[HTC One A9] JochenP:
question: you will flash a modified/patched boot.img?

I think, you won't.

Flash twrp from here and search on xda for systemless root.
[HTC One A9] dreko2000:
I want to root my phone. First i will unlock bootloader then flash twrp. Then systemles root . Is it ok?

GT-N8000 cihazımdan Tapatalk kullanılarak gönderildi
[HTC One A9] Dkhtc1x:
Help

Hi I have an a9 on o2 just unlocked the boot loader however my build number is 656287.5 any help with twrp?
[HTC One A9] lsun06:
Have you gotten any answer to this?
[HTC One A9] Captain_Throwback:
You don't need any modified boot.img. Go read the FAQ in the TWRP thread (or the other numerous posts in this thread that tell you how to root).

[MENTION=2376614]jcase[/MENTION] maybe you can update to OP to indicate that this method is deprecated and refer people to the TWRP thread?
[HTC One A9] -stim:
Boot into download mode and then flash it. It will give you that error if you try flashing the .img file from bootloader mode.
[HTC One A9] ly4m:
hello all,

I'm french excuse me for my English :).

I have a problem with my HTC ONE A9 . I think i do a bad flash :/.

Now my phone is blocked on starting page HTC .

I have unlock the boootloader and install the TWRP 3.0.0.0 without problem.But the root :/.

Thank you in advance .
[HTC One A9] jcase:
Format data with TWRP, if that doesnt work then flash a RUU
[HTC One A9] ly4m:
I can t format data and i don t find the good RUU.
[HTC One A9] Captain_Throwback:
What do you mean, you can't? What happens when you try?
[HTC One A9] ly4m:
In TWRP when i try to format . it s say " E:Unable to find partition size for '/system_image' ......................................................"
[HTC One A9] Captain_Throwback:
Are you using the latest official TWRP? It sounds like you're using the old broken version . . .

You should be using 3.0.0-2.
[HTC One A9] ly4m:
I have 3.0.0.O
[HTC One A9] Captain_Throwback:
Which is broken, like I just said. I also told you what version you should be using. So update TWRP and Format Data.
[HTC One A9] ly4m:
Do you have a link for TWRP 3.0.0.2.

I don t find it .
[HTC One A9] Captain_Throwback:
It is on the official TWRP site. Have you looked in the TWRP thread at all?
[HTC One A9] ly4m:
I find it . i update and i tell you .

---------- Post added at 10:59 PM ---------- Previous post was at 10:47 PM ----------

I have install it . But now it says enter password for decrypt data .

I don't know it .
[HTC One A9] Captain_Throwback:
Just Cancel. Go to Wipe Menu and choose Format Data. Then type yes. Reboot recovery, and then flash SuperSU to root.
[HTC One A9] ly4m:
i wiped and format without problem. After that the phone reboot and start normaly but no connexion celular and wifi my phone is in USA :/.

after that i tried to install super su 2.67 . And now the phone is blocked on the wallpaper without icons . : /

What can i do ?

i do a bad flash ?
[HTC One A9] JochenP:
[MENTION=243460]captain[/MENTION]: you are amazing. Always a friendly advice - thank you
[HTC One A9] Captain_Throwback:
I'd look for an RUU for your device, either on the HTC ROM Downloads website (for US devices) or the RUU Collection thread in the A9 General forum. That should get your device back in working order. Then you can re-flash TWRP, Format Data again, and root.

That's all the help I'm able to offer right now, so if you need more assistance, someone else will have to provide it.
[HTC One A9] JochenP:
Please read carefully:

1.format data

2.install SuperSu

3.reboot
[HTC One A9] ly4m:
Thank you for all.

if someone else know where i can find the RUU for my device ?

---------- Post added at 11:57 PM ---------- Previous post was at 11:41 PM ----------

i have tried but its the same .

i think i have flash with a RUU AT&T but i am in France . :/

---------- Post added 2nd March 2016 at 12:14 AM ---------- Previous post was 1st March 2016 at 11:57 PM ----------

do you know where i can find the RUU file for my device?
[HTC One A9] anthony__r:
can anyone tell me how to root the att a9? im on build number 1.56.617.1 CL680768 S-OFF and supercid, I tried the steps on the original post but dont get root
[HTC One A9] Captain_Throwback:
Did you read the OP?
[HTC One A9] anthony__r:
yes i did, i went into twrp thread, tried the supersu.zip and install supersu apk from play store after method but whenever i opened the supersu app it asked for binaries to be updated which failed to update everytime, then i tried the other method which requires to format data and never get root
[HTC One A9] anthony__r:
Got it working, had a bad download
[HTC One A9] ly4m:
hi,

After one night to search my RUU . I don't find it .

My device is HTC ONE A9 1.56.1020.70 CL684509.

Please help me .

Thanks for advance .
[HTC One A9] nenebear:
Device : S-ON ***unlocked***

Download : HTC_A9_FR_1.27.1020.15_Images_OTA.rar

adb tools : HTC Sync adb tools.rar

adb reboot download
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img

Then you can got OTA to 1.56.1020.70
[HTC One A9] ly4m:
thank you my phone rebirth. Thankssssssssssss
[HTC One A9] techlogik:
I'm going to sound like a broken record...but $25 is well spent on Sunshine/S-Off....life is good with S-Off on any HTC One phone. Do it. Save yourself a lot of grief if/when things go wrong, which they usually do...haha

1) Make sure you are S-Off and Unlocked bootloader.

2) Make sure you have a good RUU and it works...test it before you start messing with things.

3) Make sure you know how to use/ADB/Fastboot working, flashing custom recovery etc.

4) Already have SuperSU/Xposed zips, or whatever else you need copied to your external SD Card. Don't use the internal SD for anything IMHO except basic OS stuff or if you need to pq img the thing from the root of the SD card.

5) Then, after you have all the latest OTAs, updates and on the version you are happy with. Fastboot, and flash TWRP latest 3.0.0.2 recovery. It works, most of us use it, no issues here. Boot into Recovery.

5) Format Data!!! NOT wipe, format it, type YES.

6) Then install superSU zip......after done. Reboot, setup phone again.

Don't set any fingerprints/passcodes until you are done/happy with things and then ensure you make a TWRP backup sometime after it is working fairly well, you are satisfied with the basics/installation and how it is running!!!

Then run xposed etc..other tweaks...do what you want after that, have fun.

Also, even doing all this over and over 24 times. My last time, using the 1.56.617 RUU from HTC for my US Unlocked device, to get the latest OTA 1.57.617, I went back to RUU, and it kept failing over and over during the RUU process...I ended up following the Recovery steps during the RUU process, finally after about 6 times it kept going further and further and finally it kept going and completed the RUU so I could take the 1.57.617 OTA and re-root etc..

So, it can even be sketchy this process when it worked 23 times prior, then #24, uh-oh...what a pain that was...had me nervous.
[HTC One A9] jasonm253:
I have been using Samsung for a while and received this phone. I am not new to rooting phones. My version is on 1.57.617.10 now. Where can I find the ruu and root this?
[HTC One A9] CarinaPDX:
Apparently there isn't one available yet. Keep an eye on the first post of this thread for all available RUUs:

http://xdaforums.com/one-a9/general/wip-ruu-htc-one-a9-t3240344

Greg
[HTC One A9] wholigan423:
Im rooted and s-off, now what?!!
[HTC One A9] Dream232:
How to root your phone. Please help me. Thanks you
[HTC One A9] CarinaPDX:
Jasonm253: There is now a current RUU for your phone available in the collections thread.
[HTC One A9] carlbelle05:
sd card problem

hi i just want to know if i was able to use my sd card as internal if i am rooted with s- off? thanks
[HTC One A9] Evgenium999:
Hello!

modelid: 2PQ910000

cidnum: HTC__621

S-OFF

UNLOCKED

I try Relock my phone, use command - fastboot oem lock, command results below...

(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp

(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock

(bootloader) [KillSwitch] oem unlock Turn Off!

OKAY [ 0.068s]

finished. total time: 0.069s

But after reset status UNLOCKED still. Not RELOCKED. Can you help?

Thanx!
[HTC One A9] Mgon3rom3o:
My Htc _hiaewhl pvt s-off

cid spcs_001 i change it but do not know if this is the correct one and I also try to update rom but since by mistake i erase my sprint stock rom and change cid i can't restore or get any rom to work if there's any one that can help i would be glad Thanks

email me any softwares @ Delacruz.victor2@gmail.com or if some one can do this via remotely let me know to download teamviewer.
[HTC One A9] amirinda:
Hey, there's a short tutorial to root?

I did root:

- unlock with HTC Dev - OK

- flash TVRP recovery - OK, then Format - OK

- flash SuperSU - OK, then restart Phone and he stopped on the logo HTC on start.

I can not find boot.img for hiaeuhl

Thanks for advice,

---------- Post added at 11:25 PM ---------- Previous post was at 10:31 PM ----------

I hawe Problem after ROOT. Battery shows 4000 % and still green LED, and Wifi not works :(
[HTC One A9] jmanley69:
The method outlined in this thread is deprecated.

To s-off - go to http://theroot.ninja/

To root - You'll need to unlock your bootloader http://www.htcdev.com/ and find a TWRP recovery https://twrp.me/devices/htconea9.html

You will need to use your computer to unlock your bootloader and install a recovery.

---------- Post added at 08:26 PM ---------- Previous post was at 08:21 PM ----------

Have you tried running the RUU for your device? Note: this WILL delete EVERYTHING from your phone, even /sdcard

http://www.htc.com/us/support/rom-downloads.html

---------- Post added at 08:28 PM ---------- Previous post was at 08:26 PM ----------

The first boot after erasing data will take a while. If the line about the battery is accurate (and not just your signature line), then you've done something quite wrong. Simply rooting your phone should not cause that issue unless you installed a custom ROM. If you're having battery status and WiFi issues, then I highly suggest you RUU your phone http://www.htc.com/us/support/rom-downloads.html ... NOTE: This will erase EVERYTHING from your phone.
[HTC One A9] amirinda:
I hawe now flash RUU - OK, then now Unlock - OK, then TWRP - OK and then bootlop. I hawe flash boot.img (a9-att-635081.3) and again Wifi not works, Battery 4000 % :( what is wrong file boot.img?
[HTC One A9] jmanley69:
The method outlined in this thread is deprecated. You should RUU, unlock, flash TWRP, wipe data, install SuperSU from recovery and it will take care of the systemless root. Make sure you get the latest SuperSU
[HTC One A9] amirinda:
Thanks, works, i had older SU :)
[HTC One A9] marexo:
Hi!

what am I doing wrong??

I have Htc A9 version : 1.56.401.70 unlocked s-on

htc/hiaeuhl_00401/htc_hiaeuhl:6.0.1/MMB29M/684509.70:user/release-keys

I did root:

- unlock with HTC Dev - OK

- flash TVRP recovery - OK

- in recovery mode mount /dev/block/mmcblk0p62 /data o- OK

- adb push su.img /data/su.img - OK

- Flash SuperuBeta 2.46 -OK

- Format data and restart -OK

stuck in HTC Logo .

iam downloaded boot image european version called Boot_signed.

Please HELP!
[HTC One A9] jmanley69:
See my reply to amirinda on 4 October.
[HTC One A9] injuhneer:
Another method?

Is there a thread covering current methods? I have a new A9 on 1.60.651.4 and SunShine indicates it can't s-off, it is unlocked but TWRP can't be flashed, etc.

Looking for another means. Do I have to RUU backrev to do this?

-Mike O
[HTC One A9] jmanley69:
I suggest you contact the support team about your issues with Sunshine http://theroot.ninja/about.html Their product has a temporary root to get s-off and if it's not working correctly, they'll be the ones to help you.

As for rooting your phone, you'll need to unlock the bootloader (HTC Dev website will walk you through that), flash TWRP recovery, boot to recovery, wipe data, reboot to recovery, flash the zip for the latest SuperSU, and then boot your phone... It's best to do this from a stock image, so if you've tried a bunch of things, you should RUU. You do not need to have S-Off to do this.

Without S-Off, you will not be able to RUU to any version prior to the current one on the phone.
[HTC One A9] CarinaPDX:
IIUC his version of firmware is not from a Developer phone (i.e. one that HTC unlocks). In order to install any ROM he has to get TWRP installed. I don't think that can be done without first getting the bootloader unlocked. And that will require a hack. If the SunShine boys can't do it, and they don't know who can, it is probably hopeless for now.

Greg