yashsingh1/xdaforums huggingface dataset:
[HTC One A9] niikkoo:
for best understanding

i was on 1.27 firmware :

- i did the update after 09/04

i had encrypt issue

*********************************

what i did

i copied all my sdcard data on computer

reset HIAEUHL to official firm 1.27

did ota update ( just connect top wifi and it came fast )then i was on 1.56.1024 firm (the last for france i think )

then classicaly /

flash new recovery twp 3.2.0

modify the updater script and remove /

assert(hiae.verify_sbl1("0.0.020.1.50") == "1");

assert(hiae.verify_trustzone("TZ.BF.3.0-00624") == "1");

all was setup welll

the only thing i realize now is

WTF i have to del theses 2 lines on each future updates

Why CM13 ?? why ?? so ennoying to do 1 thing more to stay up to date

hard to be on Hiaeuhl !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[HTC One A9] Ultramanoid:
A solution for those who can't update their firmware could be a flashable zip just with the old kernel, that way they could still keep updating to the latest CM nightly.

If nothing else, to get the security updates, because vulnerabilities in Android keep popping up left and right, and I consider one of the biggest advantages of running an up to date CM precisely the security updates that they make sure are in place every month.

Edit : ... for the rest of us who are on 1.5x firmware, there's no reason why the updater script shouldn't do its job properly, hopefully Ethan Chen will check these recent posts and tweak it so it works for all.
[HTC One A9] scott8281:
Has anyone made a flashable zip with the older kernel ? I haven't seen one personally
[HTC One A9] loner.:
I don't think so. It would be a great help for some of us I think.
[HTC One A9] RomyRodriguez:
i wouldn't say each time, but until the script gets the proper verification code for correct kernel and firmware verification.
[HTC One A9] loner.:
I looked for a custom RUU to convert my at&t HTC one a9 from 127.502.5 to sprint? 1.57.617.41 and can't find anything close. Any help appreciated.
[HTC One A9] Ultramanoid:
There's 1.57.617.20 ( USA Unlocked ) in the RUU thread, direct link :

https://www.androidfilehost.com/?fid=24459283995314374

The recent CM builds with the new kernel should work on all 1.5x firmware anyway, 1.56, 1.55...
[HTC One A9] loner.:
Thank you.

I think I looked at this one but couldn't decide if it was a (USA unlocked) of one I could use.

Appreciate it.

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

Question. Do I unzip the file first then side load it or is this custom a twrp flashable?
[HTC One A9] loner.:
Unfortunately it failed, CID did not match.

The CID-CWS__001 on my HTC one a9, whatever was on that RUU was a mismatch.
[HTC One A9] loner.:
Anyone want to put together a flashable zip with the old kernel, so we that have 127.xx can keep using the nightlies. I know I would use it.

I would do it myself if I had the knowledge.
[HTC One A9] niikkoo:
i dont know if there is another way to flash kernel than official RUU , for now i never saw
[HTC One A9] loner.:
If the kernel was in a flashable zip, all you do is flash it with twrp after you flash the Rom. It's easy if you have the kernel in a flashable zip.
[HTC One A9] niikkoo:
agree with you , but just wanted to mean that i never see someone compil kernel in simple zip pecially for this A9 , so we need someone to get kernel but even in htc dev sources are unvailable now

only kernel in 3.10.73 and 3.10.84 versions
[HTC One A9] Ultramanoid:
The RUU zip should be renamed to the short form, "2PQ9IMG.zip" for instance, placed in an SD card, and then just follow the menu for installation after booting in download mode. That works for me, there are more extensive explanations in other threads, I think.

That makes sense unfortunately. For firmware from carriers like Sprint or ATT, you'd need to change CID and maybe something more, being S-off, before applying a different kind of firmware, such as the USA unlocked one. I read you were S-off before, that's why I mentioned that firmware for a 1.57* download.

I am S-on and trying to avoid changing to S-off, I wish I didn't have to mess with firmware even, to be honest. But I believe there are threads explaining S-off procedures too.

( Edit : I found this one ... http://xdaforums.com/one-a9/development/s-off-convert-to-htc-usa-unlocked-1-12-t3271861 )

It seems the next build has some changes regarding TZ, SBL1, and recovery firmware detection, hopefully that means it can be applied to 1.5x firmware without editing the updater script...

https://www.cmxlog.com/13/hiaeuhl/
[HTC One A9] loner.:
You know this nightly was basically for the at&t branded phone at first then switched to the sprint branded. Can the script be made to identify what your firmware is and then apply the correct kernel? Some way to have the correct kernel flashed. I was enjoying the nightlies until the kernel was changed......
[HTC One A9] Ultramanoid:
The problem is, using the old firmware or the old kernel will not be supported, so it's not really a good solution in the long term.

Since you are S-off, I'd say your best option is to read around and check how to switch to unlocked firmware ( stay away from carriers and their stuff, any and all ), make your CID "super" as they call it ( so you can flash anything you want from then on ) and enjoy CM builds for as long as they support this device, which at least seems to be CM 13 and the next CM 14, probably further if Google doesn't make crazy changes in the next Android version.
[HTC One A9] loner.:
Now I have to figure out how to make my CID "super".
[HTC One A9] loner.:
Funny thing is that if AT&T comes out with a update, they will switch to that, and later on Sprint releases their update we go back to that. So supercid is probably the way to go... I know that if I want to go back to s-on all I have to do is flash the latest stock firmware and the device will be locked with s-on again.
[HTC One A9] MGfusion:
Pfft.. I doubt AT&T will ever give this device an update
[HTC One A9] loner.:
You never know, AT&T did not participate in the HTC 10 release, so the HTC One a9 is still their flagship afaik
[HTC One A9] Ultramanoid:
The last build ( September 12th ) is fixed for 1.5x firmware, no more messing with the updater script. Installs fine on 1.56 and 1.57, I don't have 1.55 but I'd assume it works there too.

I double checked downgrading to 1.27 and that's definitely not supported anymore. For anyone stuck with it, S-off and superCID seem to be the only way forward.
[HTC One A9] djsubtronic:
Is the encryption reverted?
[HTC One A9] Ultramanoid:
There was a commit to revert it, but hasn't been merged yet, so no. Keep using the boot patcher for now I guess.
[HTC One A9] EVOuser94:
Is there any CM support for the Sprint Model, I'm not seeing it anywhere. I'd be willing to help if not?
[HTC One A9] loner.:
Has the "Revert Encryption" merged in the nightlies yet or do I still need to run the patch?
[HTC One A9] loner.:
Now it says the revert forced encryption was abandoned.

I guess I will keep using the patcher to stay "not encrypted". I can't even get twrp to backup the phone encrypted.
[HTC One A9] jupppo:
Is there any up to date RUU for the european hiaeuhl modell? I unlocked via htc, but somehow I am unable to find the rigth firnware as upgrade base.
[HTC One A9] Ultramanoid:
There are several 1.56 depending on the model you have, check if one matches yours. No 1.57 that I could see, but no need, 1.56 will work for the latest CM builds.
[HTC One A9] scott8281:
I'm using an HTC A9 US GSM. Is anyone having a problem receiving text messages? It doesn't happen consistently but there have been four or five occasions with different people it's occurred. On each occasion they've sent me a screenshot of the text that they sent me but I never get it on my end. I've been using signal private messenger for a while so I'm trying to rule out whether it's a phone problem or a ROM problem or a network problem or a message app problem.
[HTC One A9] malikadnanm:
Is there any fix for the skipping audio when you're listening to music and using other apps
[HTC One A9] loner.:
This is for the next nightly.

https://www.cmxlog.com/13/hiaeul
[HTC One A9] Ultramanoid:
I never had this problem. But I do run a barebones CM, both the AudioFX apk and CM audio service are removed. So that would be a workaround if you don't need or use those.

I leave the libraries to use the equalizer with my preferred players.
[HTC One A9] malikadnanm:
weird..i tried that as well as the newest nightly and still have the skipping audio issue..back to stock ROM I guess.
[HTC One A9] motoelliot:
Is sprint support available yet?
[HTC One A9] Ultramanoid:
CM for this device now requires 1.5x+ firmware, anything older has been abandoned, so if Sprint has firmware older than 1.5x not much to do except wait for an update from Sprint or S-off the device and update firmware yourself.
[HTC One A9] motoelliot:
I am s-off. I then a way to get cyan 13? Just point me in the right direction... thanks!

---------- Post added at 12:18 AM ---------- Previous post was at 12:08 AM ----------

I am s-off. Running firmware 1.60.651.4 what should I do flash an att OT tmo firmware. I'm also superCID... Little help? Thanks...

---------- Post added at 12:21 AM ---------- Previous post was at 12:18 AM ----------

Please help, really want CM on this phone...
[HTC One A9] Ultramanoid:
Well, I don't think you have to do anything but install TWRP recovery and flash the latest nightly.

https://wiki.cyanogenmod.org/w/Install_CM_for_hiaeul

If for some reason you want to change your firmware or return to a stock version, there's another thread for the A9 with all the RUU / firmware files available.

Edit : is the Sprint model a GSM device, though ?
[HTC One A9] motoelliot:
Thanks for responding, I Guess I'll try. At worst it'll boot loop. Wish me luck.

---------- Post added at 12:57 AM ---------- Previous post was at 12:52 AM ----------

All the builds I see are GSM. I need CDMA. Will It still work?

I don't remember how to build from source. Even if I did I'm OT sure I could make it work....

---------- Post added at 01:08 AM ---------- Previous post was at 12:57 AM ----------

No sprint is CDMA..
[HTC One A9] EVOuser94:
Sprint is on 1.60, I'm more than willing to help port for sprint model, I just currently have no PC, I can provide anything on phone and test for stable Release Candidates.
[HTC One A9] djsubtronic:
Turn off Google Now hotword detection.
[HTC One A9] Ultramanoid:
Well, for CDMA support you should contact CM maintainers, directly by mail or in GitHub. It usually comes down to a maintainer owning the device for development.
[HTC One A9] malikadnanm:
I guess I'll install CM again and try that. is the google hotword thing enabled by default? Because I never enabled it
[HTC One A9] intervigil:
If someone wants to buy me a Sprint A9, I'd be willing to do the work to get it supported. It should just be a matter of making sure the modem firmware/libraries are there, and the partition layout is correct.
[HTC One A9] thorium666:
Hi,

since some time (2 months) i tried to update first to 19/09 then 18/09 but both failed with "blacklisted SLB1". Any idea what i can do ?
[HTC One A9] Ultramanoid:
Read the last few pages of this thread. You have to update your firmware to a 1.5x version at least, maybe you can find a RUU that matches your device in the RUU thread. If no firmware matches your device model, you will need S-off to change your old firmware to the minimum newer one.
[HTC One A9] djsubtronic:
I'm not sure but it was enabled on mine and I turned it off ("from any screen") to fix the skipping audio. Another thing to note is that you might still get it after disabling this if you use Nova launcher. If so, go into Nova settings -> gestures & inputs -> disable "Ok Google" hotword.
[HTC One A9] thorium666:
Hi,

doest it mean that i for sure have to start from scratch? If yes, i will stop here. The Phone has already a broken display (below the visible area) and i will replace it by next nexus one. This just makes no fun. Better stpend the free time on gaming or larger Linux systems then phones.
[HTC One A9] jfmurph:
Is anyone having issues with USB connection? I'm running CM13 20160919 and I can't access files on my phone from the computer but I have no issues with ADB
[HTC One A9] scott8281:
Yes. It's been an issue since day one. The phone must be booted into recovery to access the files in internal storage (photos music etc). And unless you flashed the boot patcher when you flashed the ROM encryption is enabled by default and the phones storage isnt accessible in recovery mode either.
[HTC One A9] Ultramanoid:
Well, only you know if it's worth it for you and that device. However, if you make a backup with TWRP recovery it should be a matter of a bit of time, but not a complete start over.

Back up, update firmware ( use corresponding RUU if there is one available or get S-off ), reinstall TWRP, restore backup, flash latest CM over it before booting again ( the old kernel in the backup won't boot on newer firmware ) and it's ｄｏｎｅ. To me this took a few minutes, less than half an hour, just with a RUU file ( S-on ) and no encryption. Remember to flash the boot patcher to avoid encryption if you don't want it.
[HTC One A9] Fischfuss:
You can solf this issue by selecting "MTP-Device" in "Developer options/USB configuration" BEVOR you connect yourPhone to the Computer.

For me it works
[HTC One A9] thorium666:
Phone is already encrypted. I think i'm the first one from this thread enabled it with the 1st encryption enabled CM release for this device. To be honest, i think i really keep it as it is and continue with CM on one of these new Pixel Nexus phones. At the end it is more effort then you describe, TWRP is not working for me, i could not make it working with the encryption so i have the simple recovery from CM which was working fine at least for ADB image updates. :)
[HTC One A9] scott8281:
I couldn't get it to boot into recovery either on the earlier encrypted builds. 3.0.1 will boot on the encrypted builds but it doesn't matter because you can't write to system memory. So I wiped data and reflashed the ROM and the boot patcher and set the phone up again. Then upgrade to 3.0.2 twrp and all is fine now. But yea it can be a hassle to set it up as new. If you have a backup that's not encrypted you can drag it off onto your desktop wipe the phone's data reboot recovery and drag the backup back into the twrp folder on your phone and restore to it. But once it's encrypted you can't even restore backed-up until you wipe data and removed the encryption. It's a huge pain in the ass.
[HTC One A9] loner.:
Does anyone know why they decided to force encryption in this ROM?
[HTC One A9] Ultramanoid:
I'd like to know as well. Particularly now that it looks like the possibility of TWRP supporting it for this device is gone :

http://xdaforums.com/showpost.php?p=68852234&postcount=241
[HTC One A9] scott8281:
That's a damn shame. But I don't think it's just TWRP. Correct me if I'm wrong, because I haven't flashed a CM recovery in a while, but I don't think even their own recovery will allow anyone to Flash an update since this whole encryption thing. I've just been using the boot Patcher.
[HTC One A9] Ultramanoid:
Same here. I only try the CM recovery when I make some mistake flashing and it shows up, otherwise never. It's not a useful recovery at all, and unless one has a laptop and wants to use adb, TWRP is the only feasible option.

It's a pity, ideally both encryption and a fully working TWRP would be the way to go, instead of having to choose between one or the other.
[HTC One A9] scott8281:
Is Koush no longer actively developing clockworkmod recovery? Until the a9 I've been out of the Android loop for a while.
[HTC One A9] Ultramanoid:
No, that was phased out quite a while ago. I never really saw the point of the new CM recovery that came after it, I don't think anybody even uses it. And as has been mentioned many times in many places, TWRP is just two or three core developers working ( a lot ) on their spare time to support a whole bunch of devices with help from some contributors that maintain some of them.

To be honest, anything like the A9, which is not a flagship, not a best seller, and not a developer's device, is lucky to get support at all, I'd say.
[HTC One A9] scott8281:
I agree. We're lucky to have cm and the twrp support we've had up to this point. I've used cm on every Android I've owned since the Nexus One. Honestly if their were 10 different Roms available for this device I'd still use cm. But I am baffled by the forced encryption. On the bright side , it's stable enough to keep as is for the time being and light years better than what the phone shipped with so I'll take it.
[HTC One A9] loner.:
Any developers can decide to develop for this device, it's a newer than most supported devices. Time will tell...
[HTC One A9] loner.:
Actually the HTC One A9 was the HTC flagship device until the HTC 10 came out. One thing about HTC, is they are trying to be competitive in the middle high end as well as the high end market.
[HTC One A9] intervigil:
If anyone is interested in building cm-14.0 for themselves, most things are working, but a lot of polish is still missing.
[HTC One A9] loner.:
If someone ports cm14 for this device, I think they will find some volunteers to test it in here.
[HTC One A9] MGfusion:
How would I go about this, I'm not too good at building my own, is there like, an easy guide or something, lol
[HTC One A9] djsubtronic:
Anyone tried building CM14?
[HTC One A9] twingo_man:
Hello,

I have a problem to backup my apps with mybackup pro. It seems I can't access to the data partition

My root access is ok.

Is there a solution ?

Thank you

Envoyé de mon HTC One A9 en utilisant Tapatalk
[HTC One A9] MGfusion:
This could be due to the fact that encryption is enabled, flash the latest nightly and the A9 boot image patcher found in the TWRP thread to remove encryption and this may solve your problem
[HTC One A9] twingo_man:
Hello,

Thank you for your help.

I installed A9 boot image patcher but same problem :(

Do I have to format data partition after that? Or reinstall the rom?

Envoyé de mon HTC One A9 en utilisant Tapatalk
[HTC One A9] twingo_man:
I did more test.

I formated data partition and same problem

I tried to backup the datas of the apps with mybackup and same problem

But when I use my old phone to import, still with mybackup, the datas, it's ok...

Envoyé de mon HTC One A9 en utilisant Tapatalk
[HTC One A9] intervigil:
I take no responsibility. Also, this is off my Google Drive, so if it exceeds the traffic limit, sorry.

https://drive.google.com/file/d/0B5OyOyJgugwQTlZ2TFJpNlpfVzA
[HTC One A9] Ultramanoid:
Thank you for this -- whatever it is, CM 14 build I'm guessing ?

(^_^.)

Can't download it or even get to a file listing, which may be the traffic issue. Will check again later on.
[HTC One A9] megatomic:
Have you been running this on your device? What do you think so far? Also, can this CM14 or the latest CM13 nightly be flashed to AT&T A9s with older firmwares still since AT&T hasn't sent out any updates since last November?
[HTC One A9] Ultramanoid:
The recent CM 13 nightlies won't boot on firmware older than 1.5x, because the kernel is newer and won't work with old firmware, so it depends on how old AT&T's firmware is. If they are still using 1.27 or 1.10, etc, no luck.
[HTC One A9] megatomic:
Yup, still on 1.27. So without S-Offing it and flashing the latest unlocked ROM I am dead in the water?
[HTC One A9] Ultramanoid:
Firmware can be updated being S-on ( I did, from 1.10 to 1.56 ), the thing is you need a RUU for your device. If there isn't one in the RUU thread for the A9 here in XDA, then yes, S-off is the only way forward, unfortunately. Or wait until AT&T releases that update, if they do....
[HTC One A9] scott8281:
I flashed it on mine and set it up and messed around with it for a while. I ended up making a back up of it and restoring cm13. It's rough around the edges but aside from the front facing camera not working I didn't find much broken.
[HTC One A9] MGfusion:
Yes Basically, you will not really to be able to install any ROMs, trust me I was s-on until about 2 weeks ago and going s-off was my best decision yet

---------- Post added at 09:36 PM ---------- Previous post was at 09:35 PM ----------

Working like a charm so far, I thought I would never see CM14 for this device
[HTC One A9] megatomic:
So what am I looking at here.? How do I get S-Off now if I can't flash any recent version of CM? I did have CM13 on this thing months ago I guess when CM13 was compatible with firmware 1.27 but have since reverted back to stock. What I thought I might do is get CM13 back on here. Root the phone. Install Sunshine and S-Off the device. Change the SID and MID. Install the newest RUU for my A9 to get the newest firmware. And then get to testing CM14.

Can I do this or did I miss a step in there somewhere?
[HTC One A9] MGfusion:
You have to use sunshine and s-off first, as cyanogenmod is now incompatible with 1.27. So on the stock sense ROM, run and buy sunshine, and it will s-off your device. Then you can change SID and MID, install the latest RUU, then flash CM14 and the android 7.0 Gapps
[HTC One A9] megatomic:
All right, that sounds like a plan. But I have one thing that I need to clarify. The last time I contemplated using Sunshine I think I remember reading that it needs to have root access to work. Can I root my phone with the stock ROM installed (AT&T)?
[HTC One A9] MGfusion:
Yes, root is fully functional when flashing superSU through TWRP on the stock ROM, Good luck
[HTC One A9] megatomic:
I got it. I just flashed the latest unlocked RUU to get the new firmware. I may wait for a few versions of CM14 to try it out but now I'm on the right track. Thanks for the help guys.
[HTC One A9] MGfusion:
NP, I'm just letting you know that the CM14 zip that we have now is fully functional and ready already as a daily driver
[HTC One A9] megatomic:
The last time I had CM on my A9 I was unable to browse the storage from Windows like I can with other Android devices and also there were numerous sound related issues. Are you seeing any of that on the build of CM14 you have now?
[HTC One A9] MGfusion:
Sound is fine, you just might need to edit the mixer paths to give it a bit more of a boost. I haven't tested trying to browse the storage on windows yet, but ive done it on CM13 so I'm pretty sure it will work on this CM14
[HTC One A9] megatomic:
Nice, it sounds like a lot of work has been done on CM for the A9 then. Thank you for all your helpful information.
[HTC One A9] MGfusion:
No problem :good:
[HTC One A9] scott8281:
The sound is back to were it was on the earlier cm13 builds for this device (low volume). This can fixed by going into lib/hw and deleting the amplifiermsm8952.so file (it forces the audio to default settings). This problem was fixed or at least improved on later cm13 builds.

The mounting problem is still present on Windows as well as with Android file transfer on my Mac. It's present in cm13 and cm14. I wouldn't hold my breath on a fix for it. The solution is to boot the phone into recovery and then plug the phone up and it mounts fine.
[HTC One A9] MGfusion:
Really? I've never had problems connecting my phone to my windows computer while using cm13... Strange
[HTC One A9] scott8281:
Yea. I've been flashing CM builds since January and I've never once been able to access the internal storage without having to boot into recovery. My computer sees the phone and adb works fine but I can't see the storage unless it's in recovery
[HTC One A9] megatomic:
Thanks. I think I'm going to wait to see what HTC's version of Nougat looks like before I chance it again on CM. I love CM on my OPO but I was so disappointed with it on my A9. :(