yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] ~clumsy~:
I formatted my SD card to exFAT and I had no problem accessing files. Although NTFS I could not, but I will add support for that now.

If exFAT is not supported you will get the following error (shown in screen shot)
[One (M8) Android Development] Mr Hofs:
Nice theme you got there matey ! :)
[One (M8) Android Development] ~clumsy~:
Thanks, I got it from some guy. Not sure on his name. He does a ok job, not great but ok :p.
[One (M8) Android Development] Mr Hofs:
Yea i've seen him around.......not the brightest guy but he tries !
[One (M8) Android Development] ausaras:
Tried, again, but it still could not mount my SD Card. Thank you for trying.

Maybe the problem is the difference between InsertCoin and Leedroid.
[One (M8) Android Development] edios123:
What's this GPL Sound Control?
[One (M8) Android Development] exSD:
Does this kernel have aroma options for clocking?
[One (M8) Android Development] ~clumsy~:
https://play.google.com/store/apps/details?id=com.teamkang.fauxsound

Total control on your audio amplifier.
[One (M8) Android Development] ~clumsy~:
I'll try look into it on the weekend.
[One (M8) Android Development] ~clumsy~:
No, not really a kernel for clocking. It's stock kernel with some tweaks. I may look to it in the future to have a option in an Aroma installer, its currently just a flashable zip. I am currently focusing on the App at the moment.
[One (M8) Android Development] cool_dhamz:
Is system write protection disabled by default? It seems Adaway doesnt work or cannot update host files. Or do i need to do something else to disable it? I see add even with Stock kernel on Leedroid's rom, tried this too, no luck.
[One (M8) Android Development] ~clumsy~:
System write protection is nothing to do with adaway not applying correctly.

Are you S-On as adaway can not apply if you are S-On. I think there is a workaround. But this isn't a kernel issue.
[One (M8) Android Development] oscarolim:
Do you flash this the same way you flash a ROM?
[One (M8) Android Development] cool_dhamz:
Yes the same way. I am s-on, but adaway worked on other roms like SD. I assume it is something to do with write protection as the host files are updated under systems folder. Im not sure though.
[One (M8) Android Development] ~clumsy~:
Yes it's flashable zip.

A word of warning. You don't seem to have much knowledge on this. Only flash what you understand! You don't want to damage your device. I would recommend if you have to ask a question like that you shouldn't flash a custom kernel. Hope this doesn't come across rude, but it's generally a word of warning.
[One (M8) Android Development] ~clumsy~:
I'm not sure what SD do, this kernel has system write protection removed. Something must different in your end. I am s-off LeeDroid rom and this kernel and I have no problem.

Edit:

The workaround for adaway:

1. Boot into recovery

2. Mount /System, /SDCard and /Data

3.

adb shell

4.

ln -s /data/hosts /system/etc/hosts

5. reboot

SD may create this link in there ROM.
[One (M8) Android Development] oscarolim:
Of course not. Indeed I've never flashed a custom kernel, only the ROMs (as I prefer AllInOne solutions). But I'll read a bit about this to make sure nothing bad happens.

Worst comes to worst I reckon I can just restore a nandroid backup and have everything as it was before attempting this.
[One (M8) Android Development] ~clumsy~:
Cool I'm glad :), and welcome to XDA.
[One (M8) Android Development] cool_dhamz:
Ah got it. Thanks ill try it soon.
[One (M8) Android Development] ~clumsy~:
Did you change to Lee's ROM as well? I just spoke with him and he doesn't put that link in for adaway for S-On user so you have to follow those steps or S-Off (totally worth it, especially when the new 5.1 update comes for HTC one M8 )
[One (M8) Android Development] edios123:
Do we have control on the speaker output yet?
[One (M8) Android Development] ~clumsy~:
No, Headset only. SoundControl does support speak gain but I don't think you can on the M8. I use SoundControl for my headset and I have HK mod for speakers and header.

This thread has a fair amount of info on sound Mods.

http://xdaforums.com/showthread.php?t=2853745
[One (M8) Android Development] djpeterdj:
[MENTION=3989587]clumsy1991[/MENTION]

Thank you for the excellent kernel. First one I ever flashed, often just doing AIO's. LeeDroid ROM as well.

Question about fast charge. Maybe I just never paid attention, but it seems that charging is slower now. Is there something I have to tweak or do I need a higher powered charger. i am currently using a 5V 2.1A output AC charger....

Thanks again for all your hard work....
[One (M8) Android Development] ~clumsy~:
It is called USB Fast Charge, it will allow the current to increase to 1100 ma when connected to a USB port on a computer/laptop (if the computer and laptop can support that current), usually it will be limited to 500 ma. This mod does not directly affect AC chargers, so to get the best AC charging performance it is best to stick to stock charger.

This USB fast charge does definitely work as I have noticed a difference while using my phone when I am connected to the computer as I use it alot.
[One (M8) Android Development] djpeterdj:
Ahhhh. That makes sense. Now I must check my laptop specs to make sure I will not damage the USB port by trying to draw too much current.

Excellent work, and thank you for the quick reply!!
[One (M8) Android Development] ~clumsy~:
Cheers, it's a quite day at work.

The Laptop, should limit the current if doesn't support that high current.
[One (M8) Android Development] mw2fan:
F2FS support in this kernel would be lovely!

Is that possible?
[One (M8) Android Development] ~clumsy~:
I'll look into adding some more tweaks to the kernel later on. Just working on getting the app finished off at the moment.

Cheers, I Have it noted down.

Edit: Preview of the KCAL fragments, which is now done (that was the biggest chunk)
[One (M8) Android Development] beartiger:
[MENTION=3989587]clumsy1991[/MENTION] & [MENTION=398245]LeeDroid[/MENTION] does the /dev/frandom negate the need to run Seeder for a larger entropy pool?
[One (M8) Android Development] ~clumsy~:
/dev/frandom is about 10 times faster and will help when generating session keys.

Seeder is just a assistant to the entropy pool.

So basically, /dev/frandom and this kernel will not give functionality of what you get from Seeder. So if you need assistant with the entropy pool you should probably run seeder.

To be honest I never run seeder. I never seem to get a benefit from it in my eyes.
[One (M8) Android Development] beartiger:
Thanks for the quick reply. I already have seeder so I'll wait and see how they play together and then without seeder, then I'll compare.
[One (M8) Android Development] ~clumsy~:
Cool, let me know you findings as well please.

I may look into it more when I get chance, because it is something I have added but forgotten about it.
[One (M8) Android Development] aidinvm_ultimate:
Thanks mate for your great kernel

overall battery consumption is really awesome & also daily performance is great, but i notice one little ( can not say ) issue, there are some lags especially when scrolling in nearly every where. I mean for instance in chrome or even setting. Do you have any idea about this bro?

again thanks

good job :good:
[One (M8) Android Development] ~clumsy~:
Thanks for letting me know, but I haven't experienced anything like this or even have my testers. I'll keep an eye on it and see if it does develop into a bug.

One thing I would recomend is a full wipe and re install the ROM and kernel.
[One (M8) Android Development] beartiger:
any plans to add KEXEC to enable multirom support?
[One (M8) Android Development] aidinvm_ultimate:
I forget to mention I use Lee's ROM,

but any way mate, thank you so much:)
[One (M8) Android Development] ~clumsy~:
Yes. Currently working on the app. Production is slow at the moment, busy at work.

I assumed you were. If you have any other MODs as well install them one by one. Just to see. It could be combination of things. I would recommend that full wipe though.
[One (M8) Android Development] Schlicki:
Just install zip via TWRP?
[One (M8) Android Development] ~clumsy~:
Yes! Be careful what you are doing and make back ups. Make sure you know what you are flashing before you do.

All standard rules.

Only saying this because you asked a very noob question.
[One (M8) Android Development] Schlicki:
Yes, Nandroid backup before every flash of course.

Was just asking because never flashed Kernel before. Only complete custom roms.
[One (M8) Android Development] ~clumsy~:
Cool. Just want to make sure. Just flash in recovery and reboot.
[One (M8) Android Development] wasim9283:
S-on can flash?
[One (M8) Android Development] ~clumsy~:
Yes, you can.

Although, just to make it clear this kernel doesn't have anything to do with HK and to use HK files you need s-off.
[One (M8) Android Development] Sckank:
Hi Clumsy =D Nice kernel =) Have you done anything with the kernel to make it more battery friendly?
[One (M8) Android Development] ~clumsy~:
Kept it close to stock. I find stock kernel's are the best battery life. It is early stages in the kernel so I may add things later on but I need to research and decide if it is best. What I like and use I usually add lol.
[One (M8) Android Development] Sckank:
Thank mate. I agree with you, I also find the same thing about stock vs modified kernels and battery life. That's also why I'm going to try it; you have added the cool stuff without messing with the stability and performance. Thanks again Clumsy!
[One (M8) Android Development] JellyKitkatLoli:
Nice glad to see it being updated even though it's small :D , the true achievements are the small things , how does your compiled dt.img differ from the one in 1.10?
[One (M8) Android Development] ~clumsy~:
Basically the same. I just had trouble creating my own image even though I compiled the DTBs. So I got the DT.IMG from captain throwbacks sources.

But now I have solved it.
[One (M8) Android Development] enerGy:
[MENTION=3989587]clumsy1991[/MENTION] nice work on the update dude :) new app looking sweet :good:
[One (M8) Android Development] ~clumsy~:
Cheers. Early days so far.
[One (M8) Android Development] xtcislove:
Nice one.

Do we have to stay with max 2290 mhz? I think 1190 is enough or?

Can we use Kernel Adiutor?

Or have you adjusted the covernor on your own?

have you changed the frequencies? or i above 2200 normal?
[One (M8) Android Development] ~clumsy~:
I haven't touched the frequencies and I haven't modified the governor.

You can use whatever app you like.
[One (M8) Android Development] beartiger:
[MENTION=3989587]clumsy1991[/MENTION] the kernel has been rock solid, no lagging and good battery life with average usage. Also nice job so far on the app, easy interface and it does what it says on the tin.

I look forward to your next installment with new features such as multirom compatibility.
[One (M8) Android Development] ~clumsy~:
Funny you should say that .............

I just added MultiRom support, if you want to test it out for me.

Here is the kernel download.
[One (M8) Android Development] beartiger:
Going to have to wait until the weekend to try it but thanks
[One (M8) Android Development] sane82:
I have sprint and the latest firmware and have leedroid as my second rom installed on internal sd card and tried to flash the 1.13 version and it got stuck at the boot screen. I had to switch to a different rom for now. Hope this helps
[One (M8) Android Development] ~clumsy~:
Cheers for the information. I will have a look into it.

I have tested it my self.

This is my setup:

I have LeeDroid 7.4.3 Installed as my primary rom with my Kernel.

Then as a secondary rom I have MIUI.

So do you have LeeDroid as your secondary rom. What did you do to get stuck in boot loop?

Was it just when you installed the kernel to LeeDrOiD, your secondary rom?

Explain everything.
[One (M8) Android Development] sane82:
I have Viper as my primary and LeeDroid 7.4.3 as my second which is installed on internal not my ext-SD and I installed the kernel just like I would any other kernel and tried booting it from there it got stuck at the boot screen So I tried reinstalling everything first I started out with LeeDroid 7.4.2 then I used his patch LeeDroid 7.4.3 then I installed the kernel and tried booting from there it made it past the boot screen and all the way to the set up but then I got stuck at hands free activation and couldn't get past it I will give it a try as my primary and see if it has a different result. If you need any other information I will try to get it to you thanks in advance.
[One (M8) Android Development] ~clumsy~:
Cool, thanks for the information. I will give it a try with Leedroid on my internal storage as well.

Edit:

I have installed Lee's ROM on internal storage with no problem.

1. I installed 7.4.2 first followed by 7.4.3 patch

2. Reboot into that ROM

3. Then installed the kernel and reboot into both ROMs fine.
[One (M8) Android Development] golf12:
Great Kernel, getting no lag and good battery. That's not an easy task to achieve but you did a great job with this kernel Clumsy. I did want to know the effects of turning Htc power management off are there improvements?
[One (M8) Android Development] ~clumsy~:
Thanks.

HTC's pnpmgr regulates the CPU frequencies and often under clocks and causes extra battery drain or lag. Some people disable it when overclocking or underclocking as this manager can stop users doing that.

I just disable my self. Not too sure if I have notice much difference.
[One (M8) Android Development] sane82:
Well I tried installing on internal and still a no go from what it looks like it's installing fine through recovery but it's not putting the boot image in place so I tried it through flashify under zips and when I reboot to finish the install process it told me failed restoring mounts. Is there any way you can send me an image file of the kernel and I will try it through flashify again under img. This time and see what happens.
[One (M8) Android Development] ~clumsy~:
Thanks for letting me know. You need the modules as well. The kernel is nothing without the modules. It is all in the flashable zip. I will have a play again tonight, but it all seems to fine on my end.

So after you install my kernel in your secondary ROM you get a bootloop? Do you get this if you install my kernel on your primary ROM?
[One (M8) Android Development] sane82:
Yes it has happened on my primary ROM along with my secondaries on my internal sd card I have tried installing it right after I installed the ROM from a fresh start and I have tried installing the ROM booting into it and then back into recovery and then installing the kernel and then reboot and then I end up stuck at boot screen again. This is only a problem with your 1.13 kernel all the other ones load fine. I have even redownloaded the zip multiple times to make sure it was not a bad zip. And when I loaded LeeDroid 7.4.2 and then the 7.4.3 patch along with the kernel at the same time it will make it past the boot screen but then gets stuck at the hands free activation.
[One (M8) Android Development] ~clumsy~:
Ah, totally weird .... Not sure what can be causing it. I have tried to replicate it my end and there has been no problem. I have compiled a new kernel, just in-case there was problem on my end. I have attached it to this post, also i have created the MD5 file. Put the .zip and .md5 file with no name changes in the same directory on your phone and flash it using TWRP. TWRP will check the MD5 sum for you. Hopefully this will be fine.

Download here​
[One (M8) Android Development] sane82:
So I've tried the new kernel you posted on the reply and still a no go I tried it on my internal sdcard and as my primary rom and still nothing and when I add it to my current running rom it bootloops and when I start from scratch with a fresh install it boots but gets stuck at the hand free activation. So I guess I'll just have to wait for the next release and give it a try. Thanks for all your help and if you come up with anything new for me to try let me know.
[One (M8) Android Development] ~clumsy~:
Cheers to letting me know. Certainly a odd one considering it worked on a older versions. I will go through all my last changes with fine tooth comb.

It would be easier if I could replicate it my self.
[One (M8) Android Development] Poine001:
Everything is fine. Nice battery life beautiful performance but there is only one problem that kills me, when I press the power button opening the display takes 1.5 seconds. Don't understand why..I would be grateful if you help me. I'm on the LeeDroid 7.4.3 version with clean flash. I had no problems other than this..

Thanks in advance.
[One (M8) Android Development] ~clumsy~:
Never came across this before. I don't think it is kernel related, haven't touched anything related to this. It maybe something else conflicting with the device.

Is it the first time you have experienced this on the device? If so I would recommend a clean install again.

Do you have anything like xposed installed?

One final question, what carrier are you on? Is it standard GSM? Sprint? Verizon?
[One (M8) Android Development] Poine001:
No xposed. International M8
[One (M8) Android Development] ~clumsy~:
Cool, always happened on this kernel? Every version? Or the latest version?
[One (M8) Android Development] ~clumsy~:
Hi [MENTION=2398686]sane82[/MENTION]. Just to let you know, because not everyone checks. I sent you a PM to hopefully solve this bootloop issue.
[One (M8) Android Development] enerGy:
Dunno why some people having problems, best kernel I've used and never had a problem :) are yous wiping cache after flashing it?
[One (M8) Android Development] Poine001:
It's 1st try for me..
[One (M8) Android Development] ~clumsy~:
OK, I have looked into it. I am pretty sure it isn't a kernel bug. Something else that is giving you that issue, it could be anything. That's why a clean install again will be best.
[One (M8) Android Development] sane82:
Thanks for the PM I just checked it out and as for the question about wiping the cache I do and I've even tried not wiping it and I do agree it is one of the best kernels I have ever had but I am just having trouble with this version.
[One (M8) Android Development] enerGy:
[MENTION=3989587]clumsy1991[/MENTION] Hey mate I tried the updated kernel there but got stuck at the boot screen after flashing it. Just a heads up ;) I chose your dtb too if it helps not that i know what that is haha!
[One (M8) Android Development] ~clumsy~:
Able to give more detail?

Did you save the aroma log? Just so I can check a few things.

You shouldn't get stuck at all as your were fine and previous versions. Did you select international carrier?
[One (M8) Android Development] enerGy:
I didnt mate sorry Im and idiot lol International yes, what is dtb (lol) want me to try stock see if any difference?
[One (M8) Android Development] ~clumsy~:
Yeah, try again and save the log at the end of install if you can.
[One (M8) Android Development] enerGy:
Its working here mate I forgot to wipe cache before rebooting last time (dont know if that makes a difference) but i usually do that everytime. Im gona try again with your dtb and Ill let you know. Also i meant dtb not dts :P
[One (M8) Android Development] ~clumsy~:
Caches shouldn't make difference. A error probably happened with the install. The method has changed the boot image is packed on your mobile. Before I used to pack it on my computer before disturbing it.

There is bound to be some errors as I whipped up the installer over the weekend, there will be a few things to iron out. So that's why it is important for the feedback, cheers.

The aroma logs are really helpful.
[One (M8) Android Development] enerGy:
Np. I tried a second time choosing your dtb and wiping cache and its working. It could have just been 1 of those random (up yours i dont wana work this time lol)
[One (M8) Android Development] ~clumsy~:
Certainly seems it. Cheers for letting me know :) and testing it again.

Right, I'm out. The weekend is officially over.
[One (M8) Android Development] skinbis:
Will this work on Sprint m8? Insert coin rom
[One (M8) Android Development] ~clumsy~:
Yeah Sprint M8 is M8WHL device. So I believe it will.

Just follow the aroma installer, select "Sprint" as carrier and you will have a choice to use my unified dtb that should work with all devices, or stock Sprint dtb. Probably best to stick with stock as there no advantage of using my dtb yet. It will all make sense when you follow the installer.
[One (M8) Android Development] alpha42:
this is kernel work vipers 4.5.1 rom ?
[One (M8) Android Development] ~clumsy~:
Yes my friend, As it says in the OP it will work on any sense 6/7 lollipop rom.
[One (M8) Android Development] Voklav:
Can i use this kernel with multirom v32 AND DriveDroid (too boot OS from SD card :? )
[One (M8) Android Development] enerGy:
It works with it and very well ;) this kernel gives probably best battery life (in my opinion anyway)
[One (M8) Android Development] alpha42:
I installed but stayed at boot, my phone s-off
[One (M8) Android Development] enerGy:
Wipe cache after flashing it then reboot, that might work did for me. (I wipe it after every flash of a kernel)
[One (M8) Android Development] ~clumsy~:
Yeah it should work. I think there is a bug in the Aroma. That I can't seem to replicate. Flash it again and save log at the end of the Aroma. If it doesn't work send me the log so I can help solve the problem.
[One (M8) Android Development] ~clumsy~:
Haven't heard of DriveDroid, but if it required KEXEC-hardboot patch then the kernel has that.

I have used MultiRom v32.
[One (M8) Android Development] tagme:
This Kernel has definitely improved my battery life! Everything runs smoothly!

Awesome job!!
[One (M8) Android Development] ~clumsy~:
Thanks, that's what I do it for. Stock stability and battery life. Hence why it isn't super modded.
[One (M8) Android Development] remix92:
Installed this Kernel on Viper 4.5.0 and ticked "install app in Aroma" but dont install it..

Second How can i deactivate "swipe over navbar to sleep"? With Kernel auditor i cant find the settings...
[One (M8) Android Development] tagme:
You have to download the app from Play Store: KernelTweaks
[One (M8) Android Development] ~clumsy~:
The app should install with the Aroma installer, although it didgot install for one my testers. I am not sure why. I will look to fix that in the next version. In the mean time if you want it, it is possible to download from the play store.

This kernel works for any sense ROM, but it is made for LeeDrOiD's ROM and this MOD works with LeeDrOiD's Tweaks as he includes it in his ROM. The s2s is enabled with the kernel to sleep in both directions. It might not be picked up with Kernel Auditor because that app my look different module name. I will look to include my own gestures in the kernel in the future. I was holding off because Android 5.1 was around the corner. Doesn't look like that is going to happen now.

To disable it you can do the following:

Use Root Explorer and delete the following file

/etc/init.d/40s2s

Or on the computer with adb

adb shell

rm /etc/init.d/40s2s

Edit:

You will need to reboot for it to take affect.

You may need to set the partition to "rw" , So best to use root Explorer.

Edit number 2:

I will add it to kernel installer in another version remove s2s
[One (M8) Android Development] gelo01:
Do you guys with M9 know the proper combo in KCal inside Clumsy kernel app to mimic the more vivid display on the M8? I think it's more vibrant on the M8 than the M9. some pictures and games look dull..
[One (M8) Android Development] Poine001:
Guys, where can I download the stagefright fix Update?
[One (M8) Android Development] ~clumsy~:
Here, but isn't a full fix. It is only a fix based on 4.16.401.13 release a few weeks ago. Have to wait for HTC to release it.

Edit. Look at this post.

http://xdaforums.com/showthread.php?p=62721341 it's a better fix.
[One (M8) Android Development] Poine001:
Thanks dude! [emoji106]