yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] stonew5082:
Click on it and try the captain version. That's the only one I can verify works
[HTC 10 Guides, News, & Discussion] razrlover:
Awesome
[HTC 10 Guides, News, & Discussion] frontlyna:
Hello, can you build another kernel with all current merges and add your custom additions? Mainly color control. That would be awesome! Captain Throwbacks current CM build is working great, just need color control.
[HTC 10 Guides, News, & Discussion] krassermensch:
I'll start building as soon as my working env is downloaded again. This may take a while...
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
If you tell me what commits need to be cherry-picked for color control, I can add them to my next CM build.
[HTC 10 Guides, News, & Discussion] frontlyna:
[MENTION=5880204]krassermensch[/MENTION] [MENTION=1162986]Captain_Throwback[/MENTION] you guys are awesome! Getting color control will be icing on the cake
[HTC 10 Guides, News, & Discussion] krassermensch:
[MENTION=1162986]Captain_Throwback[/MENTION] just use my kernel from my GitHub. I ported some awesome features. I also included upstream patches, BLN, some filesystem improvements, governors, overclocking and some more features from the elementalx kernel. Try it out. You can find a link to my GitHub in my xda profile ;)
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
I'm willing to port a single feature in, but I'm really just building the CM13 source with the existing fixes & WIP patches to test whether things are working. I'm not really interested in changing kernel source; I appreciate the offer though. Maybe you can create a flashable zip for your kernel, then, for the people that want to use it on CM. Otherwise, I'll just build the source as it is.
[HTC 10 Guides, News, & Discussion] razrlover:
Delete
[HTC 10 Guides, News, & Discussion] krassermensch:
Ok, here are the commits:

https://github.com/nico151999/andro...mmit/23b0e1db37c56c4cf1e419ff04311ab60217cd53

https://github.com/nico151999/andro...mmit/35bc1904f9bf0b10a97891a6a6dd973f166770e0

Just cherry-pick them and add CONFIG_FB_MSM_MDSS_KCAL_CTRL=y to your defconfig.
[HTC 10 Guides, News, & Discussion] frontlyna:
[MENTION=1162986]Captain_Throwback[/MENTION] will you let us know if you add in color control?
[HTC 10 Guides, News, & Discussion] stonew5082:
When you do finally build can you throw in the sound controls elementalx has?
[HTC 10 Guides, News, & Discussion] krassermensch:
They are implemented yet. My last build has already been shipped with them...
[HTC 10 Guides, News, & Discussion] stonew5082:
Oh great, thanks. If I had one left I'd thank you with it lol
[HTC 10 Guides, News, & Discussion] gmoe65:
I have the same error with a clean Flash
[HTC 10 Guides, News, & Discussion] stonew5082:
Who built your build?
[HTC 10 Guides, News, & Discussion] gmoe65:
Sadroid I think
[HTC 10 Guides, News, & Discussion] stonew5082:
Well try the other build
[HTC 10 Guides, News, & Discussion] Brainium:
For the sake of getting CM working on CDMA devices, I would be happy to test and provide logcat/bugreports of any build. I have an unlocked Verizon HTC 10 I am currently using to test builds.

By the way, amazing work getting CM working on the 10.
[HTC 10 Guides, News, & Discussion] razrlover:
Little update camera working great on Captains build, but i have bluetooth connection issues.

Happy to post a log if new issue.

Clean flash, captains plus open gaps
[HTC 10 Guides, News, & Discussion] gmoe65:
I sure will
[HTC 10 Guides, News, & Discussion] stonew5082:
anybody smarter than me tell if QC3 is actually working? On the lockscreen it says charging but not rapidly. Not sure if that's just missing the verbage or actually not charging quickly. What do you guys think? Anyone have a charging meter?
[HTC 10 Guides, News, & Discussion] gillim74:
Anyone try this on a cdma device?
[HTC 10 Guides, News, & Discussion] hemirunner426:
I don't believe CDMA works yet. I probably didn't cherry pick enough commits to get the camera working. I'd stick with captains build for now.
[HTC 10 Guides, News, & Discussion] Bobboman:
whats the link for captains's build, i really kinda want to get off of the official HTC build and onto something closer to ASOP
[HTC 10 Guides, News, & Discussion] dansavi:
Not sure if we're allowed to link it since it's not officially done, but you can search for cap on afh and it's there
[HTC 10 Guides, News, & Discussion] kewlpanda:
Can anyone give me a link of the most stable CM for HTC 10 I can't find it in thread
[HTC 10 Guides, News, & Discussion] stonew5082:
Literally the post above yours
[HTC 10 Guides, News, & Discussion] razrlover:
Search pme on Android file host. Find Captain Throwbacks build, ☺
[HTC 10 Guides, News, & Discussion] gmoe65:
What exactly is the other one?
[HTC 10 Guides, News, & Discussion] dansavi:
I've been holding off on flashing this until it was more usable, so id like to be sure I've hit this right.

To flash this:

- reformat to encrypted ext4 (since RIL doesn't yet work unencrypted)

- advanced wipe (sys/data/dalvik/cache)

- flash ROM, open gapps, kernel

That's it, right?
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Ril should work fine either way; no need to encrypt.

If you're worried about messing anything up, just flash it as a secondary in MultiROM ;).

And what do you mean by flashing kernel after Gapps?
[HTC 10 Guides, News, & Discussion] dansavi:
Not that it's necessary, I just saw that anykernel releases work, muscle memory had me add that step in. [emoji14]

RIL works unencrypted? I saw that there was a commit but didn't know it made it into this build. So just advanced wipe those 4 and flash? No need to reformat?

Edit: thanks for the tip about multi!
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Cache/System/Data wipe then flash ROM & GApps. That should be it.

Personally I have the ROM installed as a secondary in MultiROM on my SD card ext4 partition. But everyone isn't comfortable using that mod.
[HTC 10 Guides, News, & Discussion] sardroid:
My build is only mirror.
[HTC 10 Guides, News, & Discussion] danjull:
Don't think anyone besides me is looking into the Verizon model. Are you getting any logs on these builds? If so, that's a plus. On the older build, adb was a bust. Only got it working on my local builds.
[HTC 10 Guides, News, & Discussion] dansavi:
Well it would sure beat backtracking if I mess up. I like the idea of just running it off my SD until it's totally ready, but I don't see support for the 10 in the play store.

Is there a version floating around here for it, or does the play store one just work?

Edit: my mistake, found it
[HTC 10 Guides, News, & Discussion] Brainium:
I haven't been able to get any logs on the newer/current builds, but I could get them on a build of Beanstalk I tried (8/22). It seems like USB debugging is not enabled. I've heard it works with sudo on a Linux machine, but I have yet to try it.
[HTC 10 Guides, News, & Discussion] INDIAN-MAfIA:
Played around with the camera a bit on the latest build by captain,

For me, the back camera works okay but HDR seems to be broken. Front camera has slow focusing issue and ISO problems (pink tint all over). Overall, definitely adoring the speedy development for our device. Good work devs :good:
[HTC 10 Guides, News, & Discussion] a2fast:
I hope it is working fine when you release.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
What about if the user is SuperCID? Will it choose some default configuration in that case?

It seems this might be an unreliable way to filter devices based on how they may have been modified. Is there anything on the /carrier partition that could be helpful? I only see htcril.db and qcril.db there currently (so that's probably unhelpful), but there has to be a better way to pick up the proper ril configuration. At least for Sprint you could use the model ID, as it has its own, but I see the dilemma for the Europe/Int'l and Verizon/GSM variants.
[HTC 10 Guides, News, & Discussion] deadman96385:
There are three ways i know how to do it. 1 Filter by ro.boot.mid which won't work for us because there are only 3 MID variants. 2 FIlter by ro.boot.cid I picked this way because that is the way HTC does it in the customize partition only downside is SuperCID users can't use it unless we do a fallback option which we can't guarantee that ril will work or they change it back to a carrier specific one because SuperCID is useless on aosp. But it also affects the US unlocked variants because they set ril props in some other way other then the customize partition which i have yet to find out how. The 3rd and final way is to split them all into device trees, but there is 19 known cid variants so that would be to much work to maintain.

There is nothing useful on the carrier partition, if i can figure out how the us unlocked variants work i can then apply that same logic to the SuperCID variants.

If you want to take a look at the current ro.boot.cid implementation it filters it by the mid first so a few common props can be set then it filters it from there by cid for the carrier specfic ril props. https://github.com/deadman96385/android_device_htc_pme/blob/cm-13.0/init/init_pme.cpp
[HTC 10 Guides, News, & Discussion] rafyvitto:
So RIL class wont be an issue here? i remember back on the htc vivid, a custom ril class had to be done, in order to get RIL working on aosp, ancient times long gone i guess =]
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
If you're going to have to do this for the US Unlocked variants, would it make sense to follow the same approach with the others, so it's consistent?
[HTC 10 Guides, News, & Discussion] deadman96385:
In theory yes it would be be better to stay with one method but I do not know of an easy way to get the mns entires for all of the different carriers that are supported, HTC provides the US ones.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Well if you know the Carrier associated with a CID, you can look at the apns.xml from a decompiled framework-res.apk and find the MNS values for that carrier, and create a .prop file based on the values you've already identified for the custom init.
[HTC 10 Guides, News, & Discussion] deadman96385:
Wow that's great I'll start working on a implementation using it.
[HTC 10 Guides, News, & Discussion] razrlover:
Not a cm fanboy myself, however the opportunity to run it on this phone makes me very excited.

Hope this works out. This is my first HTC so not sure about prior htcs getting cm, anyone have feedback on htc and cm combo?
[HTC 10 Guides, News, & Discussion] -4ndr01d-:
oh it was night and day difference on the phone. if you're not a fan of sense, then cm was the way to go. once installed it was like a brand new device. it was lightning fast!

cm roms usually average around 250-300MB

sense roms averaged anywhere from 1GB to 1.5GB

so you can already see the difference ... plus SENSE was a big big RAM killer. however, this new slim sense that we have on the 10 is somewhat easy on the phone. i like it, but will jump to cm as soon as its ready

PS: there is sooo many customizations available via cm too
[HTC 10 Guides, News, & Discussion] sathara:
me too just waiting for it
[HTC 10 Guides, News, & Discussion] razrlover:
Awesome all great news! Thanks for the replies!

Hope OP is getting all the help me needs to work this out.

Just curious now that kernel source is out. Are we missing anything else that is needed to port cm13 to our device?
[HTC 10 Guides, News, & Discussion] mcwups1:
Sprint tester, if needed.

Keeping a close eye on this.

HTC10
[HTC 10 Guides, News, & Discussion] richii0207:
CM usually had issues with the amps on the M devices and their speakers. Other than that, it's pretty awesome.
[HTC 10 Guides, News, & Discussion] kewlpanda:
Can't wait for stable cm build
[HTC 10 Guides, News, & Discussion] mcwups1:
Curious if we will be getting MM.

Worried that MM will be skipped and N will be what we get.

HTC10
[HTC 10 Guides, News, & Discussion] rav101:
Hey buddy,

I was just wondering if you could provide an update on this list. I was having a look at your github link and can't quite figure it out. I see some work done on RIL, audio and NFC but I'm not the most tech savvy to figure out what the code changes all mean :(
[HTC 10 Guides, News, & Discussion] Ajfink:
We will be getting MM, since that's what the device ships with and what CM13 is based on and is quite mature.

We'll certainly get N-based ROMs in the future.
[HTC 10 Guides, News, & Discussion] squid2:
Status Update 3

Development over the past week has been slow, though some progress has been made. I do have a known good ramdisk in terms of being able to make the RIL work on stock, but I don't yet have RIL working on CM13. If anyone else wants to try getting the RIL running on this device, any help would be appreciated. Audio I haven't really had time to look into, but I may focus on that this weekend. Camera is still broken and I'm not entirely sure how to go about fixing it. NFC is no longer crashing continuously when I use the alternate HAL, but it still isn't working at the moment.

However, it's not all disappointing news. I've improved capacitive key functionality, with working adjustable backlight, key disabling when switching to virtual keys, and vibration when pressing the capacitive keys. I also fixed use of the fingerprint sensor as a home button. I've also set up proper display and media HALs so that these things work properly when build from source (the current CM HALs are too new to work with the blobs our device shipped with).

To summarize what works and what doesn't:

Working:

Display

Headphones (though too loud)

Bluetooth

WiFi

Capacitive Keys

Video decoding

Fingerprint sensor

LEDs

Sensors

Broken:

Cellular Radio

Camera

Audio through speakers

NFC

Polish (SELinux, performance tuning etc.)

Experimental Preview Build: http://www.mediafire.com/download/nl2zxelgepg8x07/cm-13.0-20160604-UNOFFICIAL-pme.zip

You should be able to boot it after wiping system, data, cache, and dalvik with the latest TWRP. Be sure to back up your stock ROM beforehand, as you'll surely be returning to it. As described above, this ROM is not yet usable. I'm only posting this to satisfy curiosity.
[HTC 10 Guides, News, & Discussion] stonew5082:
I'm just glad progress is being made! Woot
[HTC 10 Guides, News, & Discussion] holofractal:
OMG OMG OMG YOU GUYS WILL NOT BELIEVE THIS

So I converted my

Sprint

HTC 10 to a international version, and I downloaded the firmware package for S-OFF users on some other thread on the main HTC 10 page, and deleted the radio out of the firmware package, and changed the mid to match mine. 2PS64 instead of 2PS62.

So now my phone is a pmeuhl!!!!!!!!

I still get service in stock sense, but

CM 13 BOOTS BABY!!!!!!!!!

I get service in CM13, although no data, and if I make a phone call, I go on roaming mode. Maybe I need to tweak some settings, but I mean, I absolutely did not expect this to work.

Now, this means there is a firmware issue with the Verizon and Sprint models, maybe not so much a modem issue.

If any dev needs logs, testing, or want me to share the file I used to convert my phone, just ask.

Check my radio version.

---------- Post added at 11:47 PM ---------- Previous post was at 11:36 PM ----------

@krassermensch [MENTION=1162986]Captain_Throwback[/MENTION]

What do you think?
[HTC 10 Guides, News, & Discussion] krassermensch:
I also don't think it works yet. However, OnePlus' QuickCharge solution is different so we won't be able to copy the code of it. It'll be quite hard to figure out how to make QuickCharge work...
[HTC 10 Guides, News, & Discussion] kewlpanda:
found captain throwbacks cm13 if anyone wants it https://www.androidfilehost.com/?w=files&flid=113237
[HTC 10 Guides, News, & Discussion] INDIAN-MAfIA:
Most people downloaded it maybe even before he himself flashed it :p
[HTC 10 Guides, News, & Discussion] samisax:
That's what she said.
[HTC 10 Guides, News, & Discussion] rav101:
For those running CM builds from yesterday. Any updates:

1) How is it performing batterywise?

2) Any other issues noticed?

3) How is the camera? I saw that the front camera might still have issues?
[HTC 10 Guides, News, & Discussion] danjull:
That is good stuff indeed. Does stock rom data with that firmware?

Don't think the current device tree includes CDMA apns, so you shouldn't get data.
[HTC 10 Guides, News, & Discussion] 3's&7's:
Context: S-Off, SUPERCID 11111111, 1.90.617.1 (US Dev firmware), & T-Mobile USA carrier

Rocks battery...I don't even really care that QC 3.0 will not ever be supported. I use the phone for voice, sms/mms, exchange, gmail, casting, music, vids, camera for fam/etc...not a mobile gamer really so this is my usage model. One charge can get me through the day usually anyways; I can tell there is ALOT less going on this ROM vs. HTC stock ROM's.

I notice my Plantronics M165 earpiece was disconnected after 2 min of non-usage. This will REALLY need to work for me as I am on the phone constantly for my business and need to be hands free alot. No haptic feedback from the physical home button, but had no issues with it doing its job. (after using on screen navigation again after migrating to this rom tho, kind of miss it lol).

Rear camera is functional, but no HDR...results in FC for me. Front camera tries to focus and FC for me. I noticed there is a commit being kicked around this AM over on the cm gerrit thread for camera so stoked to see those changes coming (I used HDR often).

IMO she is pretty close to prime time folks; the sd 820 ROCKS CM 13 and any stupid memory issues I had with stock roms are vanished. I had a chance to use a OnePlus 3 and I can tell you with confidence, the HTC 10 can totally hang with it using CM 13 even in its current state. :good:
[HTC 10 Guides, News, & Discussion] stonew5082:
I've noticed notifications don't change volume except when on vibrate/silent. Anyone else notice that?
[HTC 10 Guides, News, & Discussion] razrlover:
Battery surprising great-

Smooth experience, today i flashed with Elite 8/26 and was good.

Other issues

Home button has been hit or mis, sometimes works sometimes not, on different clean installs

Call audio was pretty poor. Captains build was really great other than while i was trying to talk on the phone, both i couldn't really hear the other persons words, nor could she hear me. She said it sounded like i was on a speaker phone.

So funny that using a phone for a phone is almost something you can do without.

If we can work out Call Mic/Speaker audio, then we have a rom i can run daily.

Thanks again to everyone here that's working hard to help. Whether hosting, building, coding, or whatever
[HTC 10 Guides, News, & Discussion] rav101:
Hey buddy, thanks for the feedback. It's great to see how well the rom is running without any proper focus on polish given that the guys are working on getting core features working. I can't wait to have all core features working and we have more people focusing on chipping away at performance tweaks here and there!!

For reference,

The second patch of that commit was used to make the builds yesterday. The early AM timestamp today was purely a comment. There wasn't any further changes made to the commit to make the camera work any differently.
[HTC 10 Guides, News, & Discussion] morpheus620:
Home button only works with the original kernel.
[HTC 10 Guides, News, & Discussion] sardroid:
NFC works very well:)
[HTC 10 Guides, News, & Discussion] gillim74:
Can you use sprint firmware and it still work im on verizon and thinking about trying this.any info you can give me that would help will be greatly appreciated.
[HTC 10 Guides, News, & Discussion] holofractal:
I have a pmewhl device, running the 1.95.403.1 firmware, using a Sprint radio. All service works fine, including LTE.

I verified that I still had the same service bands in CDMA Tool.

Honestly, I was expecting a brick, I guess the hardware may be more similar than we thought.
[HTC 10 Guides, News, & Discussion] morpheus620:
new Build https://www.androidfilehost.com/?fid=24728673521238166

Changelog ?
[HTC 10 Guides, News, & Discussion] holofractal:
I can go back any time. All I have to do is flash the respective firmware package and go back to stock.

When you download your new firmware.zip, open the android-info.txt and change the modelid to yours, like it'll say something like 2PS620000, just change the 2 to a 4. Make sure you have supercid 11111111, and delete the radio.img!!!
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
There haven't been any changes to the device files, so functionality should be the same. Only difference was I built that one with [MENTION=5880204]krassermensch[/MENTION]'s kernel source instead of the CM source (I didn't feel like cherry-picking and squashing, etc.). I have no idea if it boots or if the Home button works or anything. I assume everything still functions as it did on yesterday's build.
[HTC 10 Guides, News, & Discussion] rav101:
If it works I think that means it will also include pulsing led, double tap fp to sleep and maybe gradient led charging. I think he included a few different improvements from clean slate and ElementalX!!!
[HTC 10 Guides, News, & Discussion] Brainium:
I have a Verizon HTC 10 and I'm going to try this method. Where did you get the firmware package?
[HTC 10 Guides, News, & Discussion] morpheus620:
SIM not detected and home button does not work.
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Well, I guess that answers that, lol.

I guess I need to cherry-pick after all :/.
[HTC 10 Guides, News, & Discussion] danjull:
Well, [MENTION=2376614]jcase[/MENTION] said they are basically identical besides radio.
[HTC 10 Guides, News, & Discussion] gillim74:
Sorry to be a pain but what guide did you use to supercid?one more thing if i wanted to go back to verizon do i have to un supercid it or once its suoercid its good to go
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
fastboot oem writecid <8-digits-go-here>

I'd actually recommend using 22222222 as SuperCID, as all 1's is usually disallowed from unlocking with HTC Dev. So if you happen to be Locked S-OFF, you wouldn't be able to go unlocked easily (not that you'd ever need to, but personally I like to have options).
[HTC 10 Guides, News, & Discussion] gillim74:
Thanks for the advice captain

---------- Post added at 06:25 PM ---------- Previous post was at 06:21 PM ----------

Hey captain i edited my post but you answered first.once i supercid if i wanted to go back to verizon firmware do i have to unsepercid or will i be good to go with supercid.just dont wanna brick my phone
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
The point of SuperCID is so you don't ever have to change it ;). As long as your model ID matches, you *should* be able to flash any firmware you want (if you're S-OFF). However if that doesn't work, changing CID back is just as easy, so no worries.
[HTC 10 Guides, News, & Discussion] holofractal:
https://www.androidfilehost.com/?fid=24591000424963818

Delete the radio out of it, and open the Android-info.txt and edit the modelid to match yours.

Like this

From modelid: 2PS620000

To modelid: 2PS640000

Make sure you have supercid, and delete the radio.img out of the firmware package. You have to unpack the zip file, edit the Android-info.txt then repack it.

Warning! If your device is encrypted your encryption key will change and you will not be able to boot your device, so back up your things.
[HTC 10 Guides, News, & Discussion] gillim74:
Never

Sorry for the dumb question do i have to change my model id ?nevermind just read the above post
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
Do you have to change it for what? You should never change your model ID, imo.
[HTC 10 Guides, News, & Discussion] holofractal:
No, only in the firmware package.
[HTC 10 Guides, News, & Discussion] gillim74:
Last question and again sorry to be a pain where do i find my midel id#
[HTC 10 Guides, News, & Discussion] holofractal:
In download mode.

If you have a Sprint device it should be 2PS640000.

Verizon is 2PS650000
[HTC 10 Guides, News, & Discussion] Captain_Throwback:
That's not the Verizon model ID. Verizon is the same as Unlocked - 2PS650000. Please correct your post.