yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] orhon:
hey there,

i need quick help...after flashing this kernel the device does not boot up...was using the latest viperrom... any solutions?

pff it's back working on its own...for a minute i was going mad..lol...didn't really understood why but screen turned off after installing during swipe to unlock part in twrp...then it came back after 5 mins...
[One (M8) Original Android Development] kennypow3rs:
Awesome work on my M7 now awesome work on my M8. Thanks man!
[One (M8) Original Android Development] flar2:
If it's good enough for Kenny Powers, my work is done, lol.

I was going to suggest trickster. You could also make an init.d script that applies the colour settings to avoid using any apps.

I haven't added touchboost myself. HTC doesn't exactly have touchboost on this device either, though the CPU seems to be at 900 or higher most of the time during use. Mpdecision does bring the fourth core online most of the time when you touch the screen also. I haven't check to see if the behaviour is different on Sense and GPE, but I'm pretty sure it's the same.

Are you using TWRP? This is the screen timeout in TWRP, if the screen timeout comes on while you are still in Aroma, when the install finishes, the screen will be black and you'll have to force a reboot. However, the kernel will be successfully installed.
[One (M8) Original Android Development] GSLEON3:
Switch to Philz CWM until TWRP fixes the issues, or remove the screen timeout from TWRP screen settings. This is not a kernel issue, but a TWRP issue, that causes the device to fail to wake beyond the first sleep period.

---------- Post added at 09:57 AM ---------- Previous post was at 09:54 AM ----------

NONSENSE. I have run Flar2's Ex on every device I've had, including Viper devices, from the OneX on & never had an issue. Well, maybe a bug or two, but they've ALWAYS been patched & running superbly almost as quickly as they were reported.

At any rate, runs EXCELLENTLY on Viper One M8.
[One (M8) Original Android Development] v-b-n:
[MENTION=4684315]flar2[/MENTION] - thanks for the init.d idea... Feel so dumb :(... All set now!
[One (M8) Original Android Development] bpdev:
The reason I asked is because on stock sense I noticed some scrolling lag in apps like google+, but when I converted to gpe the lag seemed to be much better. I thought input boost may have been the culprit.
[One (M8) Original Android Development] flar2:
I'll have to compare mpdecision and pnpmgr on Sense and GPE. I'm pretty sure the kernel parts (pnpmgr and ondemand) are the same. Could also be that GPE is just a bit lighter than Sense.
[One (M8) Original Android Development] tibere86:
Where do the color settings reside on the system? I too would love to migrate away from Fauxclock, I too find it a bit resource heavy.
[One (M8) Original Android Development] flar2:
echo 255 255 255 > /sys/devices/platform/kcal_ctrl.0/kcal

Just replace 255 255 255 with whatever your custom RGB values are.
[One (M8) Original Android Development] ErasZhou:
Would this kernel work for the Verizon variant?
[One (M8) Original Android Development] flar2:
No, sorry
[One (M8) Original Android Development] ErasZhou:
Would it be supported in the future?
[One (M8) Original Android Development] coupetastic-droid:
So everything is all good now. I just let the phone die. It took about 2 days. I was surprised it took so long.

Anyways, I left it to charge and when completely full I turned it on and it would just get stuck at the splash screen.

I booted into recovery and reflashed the rom I had installed before, reflashed elemental and every thing is good now.
[One (M8) Original Android Development] kuailan:
Strange issue

Hi, I just flash the kernel but I just find the following a little bit strange:

when I first start flashing the kernel I was still charging my phone which is still at around 30% (still plugging to the charger when I enter the recovery mode). Not long after I flashed (maybe around 1-2 minutes later), the next thing I know it's been full charged to 100%, with the LED green indicating full charged! WOW....that is really quick (from 30%-100%) in just 1-2 minutes?? unbelievable??? :confused:

After that 100% I just unplugged the charger and started playing with it. (with power saving off) Running the Antutu for at least 3x, browsing the net, etc and at least a good 2 hours, and I am surprised it still stay at 100%??? Wow....I just thought as much as I want to be impressed, I was expecting it to at least go down by 1%??? anyway..I decided to go to sleep...

When I woke up 6 hours later, I found the phone at 86%....WOW?? That is a bid drop??? from 100% to 86% in 6 hours in sleep mode?? it's just unbelievable ...when I stressed the phone heavily it stay 100%, but when I leave the phone to sleep suddenly it drop so much?? Even with the stock kernel (with power saver mode off), when the phone in sleep mode for 7-8 hours, I will only loose 2-3% at most.

Now it has been at least 1/2 hour of recharging as I typed...but my phone still stay at 86%???

I think my phone has an issue of indicating the real (or true) battery power?? Can anyone advice on how to fix the issue???
[One (M8) Original Android Development] c5satellite2:
1.56 source up on htcdev.
[One (M8) Original Android Development] flar2:
Probably just a random thing, give it another charge cycle and I'm sure it will be fine.

That's weird, I don't think there is even a 1.56 base out yet.
[One (M8) Original Android Development] ravish_919:
[MENTION=4684315]flar2[/MENTION] can we expect a kernel from you for LineageOS (Based ROMs like RR 5.8.0) since there won't be any further updates from HTC for Sense or Android? So as a request could we ask for a Nougat based kernel?
[One (M8) Original Android Development] flar2:
It's true, I only develop for Sense on HTC devices.
[One (M8) Original Android Development] ravish_919:
Well it was worth a try asking! ?
[One (M8) Original Android Development] justsomeguy007:
Is there anyway for me to flash this on Verizon if I have s off?
[One (M8) Original Android Development] Kristian2018:
Has anyone tried this with the new s.rom release
[One (M8) Original Android Development] haamza21:
Yeah, works fine with SL or jw Version

Gesendet von meinem HTC M8 mit Tapatalk
[One (M8) Original Android Development] Woozyclown:
Thanks very mutch. Works great for me in combination with EX Kernel manager.
[One (M8) Original Android Development] ravish_919:
Yes you can. Currently it's working on all the custom Sense based ROMs like ViperOneM8, LeeDroid, ICE etc.
[One (M8) Original Android Development] LuCeiFeR:
Sorry guys, but there is something that is a little bit hard for me to understand.

While device is in deep sleep, is it low memory killer that kills some apps? Or it is the CPU frequency that change forcing some apps to close? Or neither :) and it is another issue.

Another one, how to make an exception for certain app to stay alive and not to get closed while device is in deep sleep?
[One (M8) Original Android Development] flar2:
Apps usually only close if memory is low. Apps recently used or in the foreground will be last to close normally.
[One (M8) Original Android Development] LuCeiFeR:
OK, then I have this issue with Elementalx .. Just got the zui app, it is a nicely fit screen lock application that requires system lock to be removed, which means that if I got zui closed this means that my device is accessible in every way.

The problem is when the device goes to deep sleep, zui closes and mobile is left without protection. However, the device wakes up for about 3 minutes and then reboot. I flashed Elementalx with every custom settings that it can provide and the issue still persist. Moreover, battery temperature went to 67° and discharging status even while connected to cable and that is normal to avoid explosion I think.

Definitely, there is something wrong that I'm doing but I can't figure it out. I had to power off the device for approximately half an hour then plugged the charger back for only 35% in three hours of charging while device is powered off. I just flashed GPe stock RUU to get mobile charging back.
[One (M8) Original Android Development] Prvrt:
Can I flash on Android 7.1.2? Resurrection remix OS?
[One (M8) Original Android Development] ahmed.ismael:
no this kernel for sense and gpe roms only
[One (M8) Original Android Development] Prvrt:
Any suggestions sir what kernel can I use?
[One (M8) Original Android Development] ahmed.ismael:
RR come by default with team m8 kernel which is the only custom kernel for aosp roms

and it's pretty good kernel with a lot of option,you just need to know how to make the best of it

here this thread about kernel discussion take a look https://xdaforums.com/htc-one-m8/general/leedroid-rom-kernel-discussion-t3103465

specially this post https://xdaforums.com/showpost.php?p=70791418&postcount=2048
[One (M8) Original Android Development] MrKapper:
I know it may be a little late to ask this, but can I know your reasoning for using fiops/row over others?

I used your kernel when I was trying both the stock and GPE ROMs, but now I am on Nougat. I have to switched to FIOPS assuming that it had something to do with AOSP.

I would love to know your preference for Nougat ROMS for this device if you are able to give one!
[One (M8) Original Android Development] Astora Knight:
I use official sense 7 with 6.0but it just reboot to boot mode ,what's wrong,help please
[One (M8) Original Android Development] Cipőkanál:
Hi,

I'm using this (7.01) kernel under (european) stock Sense 7, Marshmallow ROM.

I've bought the EX kernel manager app.

My problem is the next: I set the max clock speed at 1574 Mhz, but app shows my CPU can run on 2265 Mhz. Is it ok?

Now i can't underclock my CPU. :(
[One (M8) Original Android Development] flar2:
To underclock, you should choose the max frequency during kernel installation.

Frequencies are controlled by system processes, which is why I provide the hard limit.
[One (M8) Original Android Development] Xs1999:
Can you add support for v/s?:confused:
[One (M8) Original Android Development] theobjr:
Hi, I am using ex kernel 3.4.0 m8 6.03 sense and I was wondering if there was any way to set the kernel to selinux permissive permanently.

Also, I am not sure if the usb fast charge makes much of a difference. Should there be a noticeable difference in charging speed for the htc one m8 when this option is used? (I am using a samsung quickcharger by the way, maybe I need the htc model)
[One (M8) Original Android Development] high_voltage:
That kernel even caped on lower cpu freq is overheating the phone in games in about 10m (45 degrees, I stoped there... don't want to check where it will go). For example the same game going on sense based kernel/rom for 2h, maxed at 42 degrees on the battery and a lot less heat on the back. Sadly it looks like there is no way to play any heavy game on 7.1.2 ROM.
[One (M8) Original Android Development] ahmed.ismael:
i think That's too much on aosp rom for this device ( playing heavy games )

Sense and gpe is superb for this device ( nothing can compare it )
[One (M8) Original Android Development] i'mrunningoutofusernames:
The fast charge feature of the kernel is for connecting the phone with a usb cable to another device (a laptop for example).
[One (M8) Original Android Development] theobjr:
You mean you can only fast charge from another device and not a fast charge ac plug? I am not sure now, but I do think my phone is charging faster with fast charge enabled in the kernel settings. I was using a battery case to charge through before and when I charge directly to the phone it is quicker.
[One (M8) Original Android Development] i'mrunningoutofusernames:
This is from the op of this thread:

USB fastcharge is optional. This will allow you to charge at a faster rate when connected to a USB port. The default limit for USB ports is 500ma, this increases it to 1100ma. Be sure that the computer/laptop/whatever you are plugged into can handle it. Some will automatically cap it at 500ma. Please note that this does not force AC charge mode like previous implementations of force fastcharge. Your battery setting will still say USB mode. You can edit /etc/elementalx.conf to change the setting on boot.
[One (M8) Original Android Development] dhrjbhtt0:
Hi guys.

I'm getting a weird issue while installing this kernel through the aroma installer.

I don't know why but the touch just does not work on the aroma installer, and thus can't install it.

What could be the culprit?

I have a Sprint M8 with the latest firmware, latest TWRP and have done a full wipe prior to installing it(ofcourse I'm flashing it after having flashed the ROM)

The issue is with the 7.01 version.

Thank u..
[One (M8) Original Android Development] ckpv5:
Read OP (post #1).. it's clearly stated this kernel not for Sprint & Verizon device.
[One (M8) Original Android Development] dhrjbhtt0:
Sorry didn't read that.

Even if it isn't for the Sprint version on paper, I actually got it installed anyways eventually, by using power and volume buttons to select options. The kernel does get installed.

Thank u:)
[One (M8) Original Android Development] ckpv5:
Yeah .. the kernel can get installed but may not boot the ROM - https://xdaforums.com/showpost.php?p=73087161&postcount=1255
[One (M8) Original Android Development] dhrjbhtt0:
Yeah that's exactly what is happening:)

Thank u mate.

Does the Team M8 kernel work with Sprint?
[One (M8) Original Android Development] ckpv5:
Yes but only for 7.1.x ROMs not any Sense/GPE based ROM.
[One (M8) Original Android Development] dhrjbhtt0:
So what's the best custom kernel for the HTC m8 which is sense based(sprint compatible:) ) ??

Thanx for ur reply
[One (M8) Original Android Development] ckpv5:
Sorry, can't answer this as I have no idea.
[One (M8) Original Android Development] old.splatterhand:
There is a repack version of this kernel for all versions: https://xdaforums.com/htc-one-m8/orig-development/elementalx-repack-t3477120

But not for Android 7 roms!
[One (M8) Original Android Development] dhrjbhtt0:
Thanx a lot mate:)
[One (M8) Original Android Development] andyr0413:
I'm running the up-to-date ElementalX kernel on my One M8 (AT&T), with stock/OTA 6.0 Android rom, rooted (obviously). I flashed the kernel about 2 months ago. Worked splendidly (fixing some bugs from stock kernel) until a couple weeks ago. Having problems with serious lag time due to kswapd0 (I've seen others with similar problems on various devices/kernels/OS-versions). Any thoughts/suggestions?

This member described my problem very well in this thread:

xdaforums.com/android/help/issue-kswapd0-huge-lag-crashes-t3509737
[One (M8) Original Android Development] flar2:
Does this happen all the time? The best thing to do if you have strange problems with a phone is clean flash. If you don't want to do that, try turning off zram.
[One (M8) Original Android Development] andyr0413:
Thanks for your reply, Dev. I haven't had time to plug into my home desktop to re-flash. I did disable ROM Toolbox Lite which had some ram usage settings. This seemed to resolve my issue for now. Appreciate your development skills! Your kernel is a great improvement over the stock.
[One (M8) Original Android Development] dawoodk786:
Is there going to be an update for Android 7.1 or 8.0 for the HTC One M8
[One (M8) Original Android Development] DeeZZ_NuuZZ:
NEVER QUOTE THE WHOLE OP AGAIN!!!

and no there won't be because the m8 doesn't has 7.1 and 8.0... Flar never does a kernel for aosp
[One (M8) Original Android Development] Developer0fTruth:
Would be nice if this was ported to the beta lineage os 15.1 would love to be able to overclock the CPU and GPU and see what geekbench scores I could get currently I'm getting around 1200 on single and and 2900 on multi with tweaks and some overclocking love I'm sure I can get higher :laugh: anyway would love if you could port it to this version
[One (M8) Original Android Development] c5satellite2:
Grab it before they pull it!
[One (M8) Original Android Development] Raptylos:
You're more than welcome!

You've added so much to my M7 and M8 and spend so much of your pecious freetime for the community.
[One (M8) Original Android Development] GSLEON3:
The 1.56 source is a CHS Rom that uses the same 3.4.0 kernel. No update as far as the kernel goes.
[One (M8) Original Android Development] petiha1:
So, I was installing the kernel and right after it finished installing in aroma, the phone went back to recovery (twrp) and it shut down. I was trying to turn on the phone every way possible. Nothing happened. I kind of got frightened a bit, and by the time I came to the forums (about 10 mins) the phone just turned itself on and is running fine now.

Did this happen to anyone else or just me?
[One (M8) Original Android Development] Ravenmtx:
It's a bug with TWRP. Best workaround is to turn the screen timeout in TWRP off till they fix it.
[One (M8) Original Android Development] petiha1:
Oh thanks, I should have searched but I thought it was a really unusual bug. :)
[One (M8) Original Android Development] the show stopper:
Do i need s-off?
[One (M8) Original Android Development] Quadrider10:
Ignore
[One (M8) Original Android Development] NJGSII:
Yes, it should.
[One (M8) Original Android Development] flar2:
no
[One (M8) Original Android Development] orochi9999:
HI, Could u tell me how to fix exfat on sense? I made a kernel with exfat(ver1.2.8) and combiled a exfat,ko,but I dont know how to make it support with sense.I use HTC J Butterfly(DNA in Japan,but support microSD card)

Thank you!!!!
[One (M8) Original Android Development] kbello:
This kernel works in Chinese HTC One M8 (HTC M8x) 2,5 Ghz??
[One (M8) Original Android Development] flar2:
Two options:

-keep the kernel close to stock so the stock texfat module loads

-modify the exfat driver to work with HTC, as faux123 did. Basically it needs to be named texfat instead of exfat, and an extra mount option hardcoded into the HTC software has to be accommodated in the driver.

Yes
[One (M8) Original Android Development] phidung3721:
[MENTION=4684315]flar2[/MENTION] did you include logger.ko in your kernel?
[One (M8) Original Android Development] bigcid10:
I just fired this up on my htc m8(att)

running MaximusHD 3.0 and I have no issues

thank you !
[One (M8) Original Android Development] flar2:
It's built into the kernel
[One (M8) Original Android Development] marcoxx626:
Getting awesome battery life with great performance flar, looking forward to the development of this kernel!
[One (M8) Original Android Development] jdubya45:
Anyone know why since installing this I would get a android system stopped message?
[One (M8) Original Android Development] marcoxx626:
That's a rom issue not kernel issue
[One (M8) Original Android Development] tiho5:
Sometimes the min CPU frequency changes from 300 up to a different value. And it stays there for quite some time. Then it changes to some other value. Higher or lower and stays there again. Seems that it is doing it regardless of the phone use at that time. Sometimes I check it after a long period of sleep and it is still high.

I know/think it was the same on stock kernel.

Seems that this doesn't reflect the power consumption too.

So it doesn't bother me. I just want to know why is it doing it without apparent reason (why does it keep it high, during a period when the phone wasn't used much?). For instance right now I am at 1958 Mhz min CPU frequency for a long time and I'm only using XDA app.

Or is trickster not updating well? I'm not using any app to set/change kernel profile. Just use trickster to watch it.

This kernel is great. Very stable (as always), quite happy with the battery life and everything works smooth. Cheers and thanks for the work, Flar!
[One (M8) Original Android Development] marcoxx626:
Sometimes when kernels do that I wipe both caches in recovery and then it fixes itself. Think it's just some app running in the background but the wipes take care of it
[One (M8) Original Android Development] tiho5:
Did that... A few times last week or so.

After some use I came to the conclusion that it's normal. I'm not sure.

It just came down at 1000 Mhz. Stayed there for may be 15 min, but now its up again staying at 1958.
[One (M8) Original Android Development] marcoxx626:
Happened to me a couple days ago, but then I updated my rom and reflashed the kernel and it stopped doing that. Not sure what else to tell you lol
[One (M8) Original Android Development] flar2:
I haven't seen the min frequency change, but I don't doubt it does. We don't know exactly what pnpmgr and mpdecision do, that's the biggest criticism against them and why some devs make their own hotplugging. I still prefer to keep them, as I trust HTC is generally trying to improve the user experience, and I am more than happy with smoothness, performance and battery life.

I will try to observe them more and try to understand what pnpmgr and mpdecision do on this device.
[One (M8) Original Android Development] HolyAngel:
Are you going to eventually be looking at incorporating your own wake functions into the kernel sometime in the future? Would be nice to turn off the built in one's and just use dt2w or something.. or in cases of desensing the Rom the current ones no longer function. Just wondering ^^
[One (M8) Original Android Development] BrandonPrice31:
What is the M8's default max CPU clock freq?

Also: what is the best I/O Scheduler and Governer in your opinion?
[One (M8) Original Android Development] flar2:
Yes. It should have been simple, but for some reason I haven't got it working properly yet.

for this device: ROW and Ondemand
[One (M8) Original Android Development] BrandonPrice31:
What is the M8's default max CPU clock freq
[One (M8) Original Android Development] smknutson:
2.3
[One (M8) Original Android Development] waz675:
Depends on model. My international m8 was 2.54GHZ.
[One (M8) Original Android Development] BrandonPrice31:
If I uninstall SETcpu and or other cpu tuners, will my kernel take over and set back my default min and max settings?

Or do these apps permanently change them?
[One (M8) Original Android Development] Prod1702:
If u uninstall your cpu apps and reboot kernel defaults take over
[One (M8) Original Android Development] BrandonPrice31:
Reboot kernel meaning rebooting phone?
[One (M8) Original Android Development] kfasheldon:
Hi

Just got m8 and wow impressed , installed twrp and rooted with supersu on stock UK 3 Rom after update to 1.54 all good. Installed busybox via busybox on rails through twrp .. all good. Now to install nice custom Kernal..

All going well until I tryed to flash this baby.. aroma goes through the motions phone 're boots and then at HTC screen phone 're boots , does this twice then dumps me at bootloader screen. Luck has it I had faux kernal on sd card and that has installed fine .. so any clue how I get this kernal to work.

Thanks Karl
[One (M8) Original Android Development] p50kombi:
Maybe bad download?

None of us have any problems :)

**********

Sent from a tin of baked beans using some chewing gum, tinfoil, a piece of string and a manual written by MacGyver
[One (M8) Original Android Development] flar2:
Did you install with stock frequencies and voltages?

if it still won't boot, could you send me /proc/last_kmsg so I can see what is happening?
[One (M8) Original Android Development] dietime:
I'm having this issue with 0.9. After restoring a backup, I installed busy box again but cannot get past the htc one screen after kernel flash. Stock performance settings, but enabling fast charge, reduce vibration, s2s, and disable gboost. Latest venom rom. Any ideas?
[One (M8) Original Android Development] BrandonPrice31:
I'm having the same problem, just updated my ROM and now stuck on HTC boot screen with this kernel.
[One (M8) Original Android Development] guyd:
If you updated the ROM, it probably overwrote the Boot.img with the stock kernel.

Reboot your device and hold the Volume Down key until you get into the Boot Loader. Pick Recovery and reflash ElementalX with all the default settings. Wipe cache and dalvik after kernel flash.

You can always change the kernel settings later with Trickster or another app if everything seems to be working.