yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] deagleone:
sure, testbitch is here ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
update - please test it

2.2.0

updated to kernel sources for 2.50 - US unlocked

https://www.androidfilehost.com/?fid=673368273298975177
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] johnnyman25:
I have viper 10 rom and elementalx kernel!TO use your kernel i just flash it via twrp?

Thank you!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
yes, make a backup of your boot partition, just to make sure you can go back easily.

This kernel installer doesnt modifiy any other partitions.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] johnnyman25:
Appreciate fast answer!I wiil flash it right away!!

Do i need to wipe dalvin and cache too?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
No
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] deagleone:
booted fine, testing atm, thanks chef ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] johnnyman25:
So far all good!!I will test it tommorow!Thx again for the help!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhakjhuk1853:
Working good since last 4 hours on viper10 rom
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Update 2.2.0

Changes:

updated to kernel sources for 2.50 - US unlocked

Download:

https://www.androidfilehost.com/?fid=673368273298975177
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] johnnyman25:
It's the same version we flashed yesterday?

Black Leather Htc 10 Power
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yes, after the tests shown that it's OK, I just updated the thread.

It's the same as yesterday
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Rijul30:
Will this kernel work on tabp0le's Resurrection remix ROM (EAS) ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mitchst2:
Nope
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Now it's [MENTION=4388232]ZeroInfinity[/MENTION]'s helix kernel thread turn
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Rijul30:
Haha. :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] johnnyman25:
So far the kernel is very good, battery life too. I post more impressions next days.

Thank you very much.

Black Leather Htc 10 Power
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JohnCorleone:
Man, PLEASE continue to build kernels for the HTC 10..the new source code was just released a little while back and it seems like everyone stopped and went to the U11 which is unusual for HTC devs.. They usually stay with the previous model until the updates stop. Thanks for your work!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I'll try my best. I still have the HTC ten, and plan to keep updating.

I also need to find a good repair service for the USB connection stopped to work, and I can't flash the phone.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nighthawk696969:
I use airdroid to transfer files from an to android wirelessly.You will miss ADB though, something really important when developing a kernel i guess :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chidi_duru:
To OP, thanks for updating this wonderful kernel. I am currently running 2.2.0 on stock VZ rom with magisk root. Is there a way to disable vibration whenever I press the home button? I don't see it in my kernel manager. Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Is it possible to add custom paths in the manager?

This should be the path to use and set to 0 :

/sys/fpf/vib_strength -- set it to 0 to have no vibration, set about 20 for normal

Hope this helps
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chidi_duru:
I have EX Kernel Manager, but don't know if it allows for that. My normal use of the app doesn't normally go beyond toggling pre-set features.

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

I think I found it under the advanced settings for gestures. set home button to 0. Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
OK. Nice, I was a bit unsure, but I had a vague memory that probably exkm handles this path as well. Great!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] casmelad:
is this kernel for stock rom? if yes, does it have any minimal rom version to working?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kisakuku:
The OP states in big red letters: "2.2.0 -- For Bases 2.28/2.38/2.41/2.48/2.50".
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] johnnyman25:
Today the kernel eats much battery juice when I checked with gsam battery.

It's 13.4% from morning till now and my battery life is bad.. Why?

Black Leather Htc 10 Power
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Update 2.2.1

Changes:

- fixing Fastcharge accidental removal

Download:

https://www.androidfilehost.com/?fid=745425885120753013
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
Good to see you back [MENTION=3088420]tbalden[/MENTION] :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks!

I wasn't too far away, been waiting for htc to release sources, but it's good to bring some updates to this kernel. :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gsw5700:
Many Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] X46X:
I still getting only about 300 mAh over USB from computer..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Ouch, I need to check if I missed something else during the merge. I still can't test as my USBc is faulty on the phone
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] X46X:
Now I did another test on 20% battery left (test before I did when I have only 5%), and now I getting around 500-600 mAh.. So it's maybe "battery left" related?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Is that 500mA charging over consumption? That sounds OK.

What was the value before the new version?

I remember it was about 0mA charge while screen on if fast charge was not applied and around 500-600 when applied
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yeah, the maximum was 700mA, here I found a photo...

It's awful that I need to look it up, with usbC acting up on my 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stathis95194:
Hey mate, sorry for the out of topic but which battery manager is that?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I think it was 3C battery monitor.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] thanhnvt194:
So far so good. Improved battery with smoothie...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for the feedback. Hope it stayed so. Here it's good good
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shiyuliou1997:
There was a bug of the cleanslate kernels since the version 2.2.0.

When I using WiFi to access the internet,I found that the bonding wasn't be turn on,but only using version 2.1.0 could turn on the 2.4GHz/5GHz bonding function.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shiyuliou1997:
I thought is the source code from HTC had problem.

Because EX kernel 1.07 had the same problem.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] choppy80:
Has anyone Problems with 2 wakelocks (NETLINK and HVDCPD_WL), because they go crazy with Viper 5.11.0 and 2.2.0 or 2.2.1.

Anyone knows what to do? I tried to reflash clean Rom and Kernel, it´s a bit better, but too massive....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jamerst:
Just flashed this, and I don't seem to be able to get the notification LED to work. I'm running LineageOS, so is this an incompatibility issue? I've tried using kernel managers other than EX, but they just seem to crash when I try and access the kernel menu.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] azZA_09:
This is a sense kernel. :/
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jamerst:
I searched in the thread and nothing said that it was outright incompatible with AOSP, everything seems to work fine apart from the notification LED. I would use a kernel specifically compatible with AOSP ROMs, but I haven't found one that is both stable and has the features I want.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] shiyuliou1997:
I found the Wi-Fi Bonding function problem.For example,2.4 GHz only 72Mbps,but in version 2.1.0,it could up to 300Mbps.

Perhaps it related with this file.

https://github.com/tbalden/htc-kernel-pmewlvzw/commit/7b762ad71deb26d2012c942c46e2bbd04fbaea74?diff=split#diff-f6b975435d4697ecaa4527d0cee90f56
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kaedin:
Is this kernel compatible with latest US Developer build 2.51.617.1 ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
Yes
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] talon_dgnr8:
I've been noticing wifi issues with the latest update to the Sprint HTC 10. This may be what it is...I haven't seen anyone else confirm the behavior. I hope this is it and can be corrected. Fingers crossed
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chidi_duru:
Any way to make the system vibration stay off? It keeps coming back on when I turn it off. Currently running Leedroid 3.9.0.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Aftab_khatri:
How to setup kernel profiles like hawktail and many other , comes in leedroid rom after choosing cleanslate kernel
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
if you selected one of those profiles there is nopthing you have to do, just use the phone
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Aftab_khatri:
I am on previous version of leedroid and it has old cleanslate and i want to update kernel and while installing kernel there was no profiles
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kisakuku:
US Unlocked 2.51.617.11 source is up.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Nice. Good news, I finally fixed my m10 USB c it just needed a thorough cleaning with a small piece of metal.

I'm back in the business. Gonna start updating and I'll start looking at what I can port back from my u11 cleanslate features
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- Update 2.2.2 stable -​

Notification Booster feature for Vibration:

1. notifications vibrations when screen is off, or Call or Alarm, will be boosted to max voltage (ON by DEFAULT)

2. normal haptic feedback stays at normal voltage

3. default vibrator voltage was downed to ~1800 mV from ~2600 - sparing some battery while typing and giving a less intrusive in-hand phone experience. Notification still will buzz strongly when screen is off.

Ported back from my CleanSlate U11 kernel.

sysfs path: /sys/fpf/notification_booster : 0 off, 1-100 value by which voltage will be multiplied (default 2 = normal voltage x (2+1)) (maximum voltage ~3300mV)

Update to 2.51 htcdev sources

Changes:

- Security fixes

- Camera v2 updates

Fingerprint unlock vibration now connected with home button vibration strength.

The set fpf/vibration_strength will be used for fingerprint unlocking.

BlueBorne kernel patch

The vulnerability on Framework/app side is still present, so test programs will say, still vulnerable...

Download:

https://www.androidfilehost.com/?fid=817906626617935989
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nighthawk696969:
Good to see someone still developing for us with a 10!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] romixer:
Can I use your kernel with RR rom?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
No, this is a sense only kernel at the moment.

I never tested with aosp bases
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I love my 10 still, it's a really solid metal device with a form factor that is very very comfortable.

I never thought gathering dust could form such a mess that I cannot plug USB C in.

Never had this with micro USB... but now after realizing this and cleaning it out, it's all well and I can test stuff again, and leverage my experience with the new HTC U11 feature set I've created, and bring back stuff to this excellent device.

Next I plan to look at Flashlight notification and Low light/low vibration switch with VolUp/VolDown press.

:good::good::victory:

some info about Low light switch https://xdaforums.com/showpost.php?p=73968746&postcount=777

and a video about flashlight notification on u11:

[youtube]wcpdhuQF9fI[/youtube]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Is there anything that's not working fine?

I'm planning to look at that too at some point
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Have not noticed any bug yet...except not working Qcharging i think
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hmm is quick charge working with the rom's original kernel?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Yep!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Benchmarking: 138k on stock kernel(RR Rom)

145k with cleanslate v2.2.1
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
[MENTION=3088420]tbalden[/MENTION] Qcharge seems to work although device doesn't show "charging rapidly"...my phone charged 60% for about 40mins
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Great, that's reassuring. Probably something HTC specific was replaced with caf/qcom while [MENTION=3857343]crpalmer[/MENTION] or [MENTION=5471195]tabp0le[/MENTION] worked on it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Yeah probably...because tabpole told that working fastcharging in aosp roms needs some separate commits like HTC's
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] INDIAN-MAfIA:
Does USB work fine?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for all the testing. After finishing with porting remaining cleanslate features, I'll try aosp. It's really gotten far into development, looks rather polished
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
[MENTION=3088420]tbalden[/MENTION] i have to say thank you dude :) thank you for keeping 10 and continuing developing this awesome kernel and keeping this phone alive...we really appreciate all your efforts...the thing which i did is nothing versus what you have done;) we will wait for more good news from you:D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
which rom do you want to try? thought of switching to aosp too, but don't know which rom
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
At first I'd go with los to see how that goes
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
Yeah, it needs a commit in the kernel, and the ROM to get the charging rapidly to display on AOSP ROMs. It's basically a commit lowering the threshold for what is detected as "Rapid Charging".
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
you know, I know how to make it charge even faster then it does and safely.. Got the code from [MENTION=2376110]dorimanx[/MENTION] before he went to the dark side.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
today started to work on porting stuff... Namely

- Low lights mode switching (when switching to it with pressing VolUp/Down at the same time, it's halving the lights of the phone, disabling BLN and flashlight) (unfortunately here again some problem: on M10 it starts to deepsleep while screen off, and vol buttons won't trigger unlike on u11)

- Flashlight notification (unfortunately bumped into some issue with how M10 flash LEDs are working a bit differently, cannot yet dimly flash them...)

- optional Notification vibration reminder / repeater (repeats a short vibration after a missed notification every once in a while, until you switch on screen)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mesarabi:
Is it possible to flash 2.2.2 on 41 firmware?or i must flash 2.2.1?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yes, should be fine
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Continuing progress...

- flashlight notification --- with using a much shorter delay is somewhat closing on how it look on htc u11, it's becoming dim enough, although somewhat limited in this respect

- Notification vibration reminder --- fixed an issue with vibration remaining on for 5 seconds...now it's ok

Will have to find a solution for Low lights switch yet...

also added an older wlan wakelock patch from franciscofranco to test it with wifi, for reduced wakelock with certain faulty access point firmwares.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sbattosai:
Thanks for keeping on developing kernels! My biggest issue with the 10 is the poor Wi-Fi performance. At work where there are tons of AP and a few dead zones, the 10 has a really hard time with switching from AP to AP or going from dead zone to AP. Is it possible to do some magic about this on the kernel side?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I feel that, I have the same issues, m10 weak point is Wi-Fi signal.

Unfortunately there's no way, I'm not that much pro to even suspect what could help.

I'm afraid the Wi-Fi antenna's placement design flaw inside the metal body is not something that can be fixed in kernel. There were always some tries with updating the Wi-Fi driver, but really nothing changed so far in efficiency
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Interesting. Yeah, must be some incompatibility with the ROM. Guess a warning needs to be added to the OP for LeeDroid users.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
I removed the permissive script so the Rom is enforcing and Signal is lost. Even without my script. I'll ask Lee. Maybe he knows.

Edit i added a permissive script back to system/su.d and it's working again:eek:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Strangely enough it worked for some users on LeeDroid... would be nice to know what exactly goes on...

[MENTION=3428502]Freak07[/MENTION]

is this script jumbo happening when installing with this AnyKernel installer?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
OP updated

0.2 - 23-may-2016

- added all proprietary and non-proprietary kernel modules to installer to make sure it works on 1.19 VZW base as well (NOW MODIFIES SYSTEM image as well to push modules, mounting it as RW once!)

(exfat issues, encryption issues should be gone on that older base, please report)

- NTFS/RW support

- TCP Congestion - advanced settings enabled
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
One User seemed to get the issue with Stock leedroid kernel so I think not.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LeeDroid:
Confirmed and haven't yet gotten my head around why enforcing appears to kill the radio as yet
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Strange. Currently I'm on stock with kernel mod, and selinux is reporting it's set to "Enforcing" like it's stock (obvious). And radio works.

Don't know if it's related to some changed policy files or special scripts that may be blocked by enforcing selinux policy? Just wild guessing. SeLinux inspection is never easy to say the least
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Besides that why kills my script in su/su.d the permissive script in system/su.d which gets pasted to su/su.d and not working after it gets transferred
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for the heads-up about this [MENTION=398245]LeeDroid[/MENTION] & [MENTION=3428502]Freak07[/MENTION]. I'm sure it will be sorted out soon. It must be some policy blocking there. Mind boggling to track it down tho, but logs generally contain hints. ( sometimes not)

I'll keep an eye on leedroid thread to be in the loop with this
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] buckmarble:
I am just getting around to being able to test. Family day yesterday. Did anyone confirm on vzw for you yet?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ripv2:
Will this kernel work on unlocked variant?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Not yet
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
On 1.5x firmware for USA unlocked device and respective ROM? No idea, sincerely. Haven't tried it, as I have the EU specific device (radio etc...).

If you happen to test it, let me know.

Just backup boot and system before, so no surprises :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ripv2:
Thanks, ill give it a shot. Why not!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] buckmarble:
just confirmed. All is well with sdcard on vzw 1.19.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks mate, much appreciating your feedback. Now it looks like a common ground for at least a few more cycles of htc kernel releases, till they break camera kernel driver (like on m7 many times, ouch ouch :))
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
[MENTION=3088420]tbalden[/MENTION]

Flashed your kernel

1) Samsung evo+ 128gb micro sd card works on exfat file format (never had issues even on stock)

2) Leedroid r46 build - Selinux - Permissive

3) Radio works fine

4) Button light notification works fine

5)No wipe done after flashing kernel.

will try it viper rom now and see if all the above works...

would we be getting kexec patched kernels in future for multiroms?

​
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Shouldn't be needed, as there's a workaround for MultiROM that doesn't require a patched kernel, ala [MENTION=2605798]nkk71[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
thank you...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nkk71:
well guess we have work to do then..... did i mention "my feelings" about encryption :p :silly:

haven't even tried a "normal" (whatever that means) build yet :angel:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chrisftlse:
Hi

Does the Camera 2 api updates is coming from original HTC kernel sources ?

In other words, I have managed to install and make run the Sony s 3d generator (ported from their latest XZ1).

This only with stock kernel.

Running Lee's latest version I have tried embedded cleanslate kernel with no success, then reinstalled using stock kernel from aroma and success.

Regards
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hmm, it's from official htc source but for the unlocked dev device... Maybe there's some difference between that and the European / Wwe sources... I'll have a look at that and compare
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chrisftlse:
Thanks

Maybe I can try to flash it and if issue just reflash Lee's rom and select back stock kernel if encountering issue with Sony s app.

I will give you a feedback by tomorrow.

Thanks for your hard work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Ok, so now I get that you may be using an older version of clean slate. Could you please check which one is installed in software version/ detailed info?

Also you can backup just the boot partition before flashing this kernel and if something goes wrong just restore boot partition backup