yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] threetwentyfizzle:
Hey flar, just wanted to report that I've been experiencing some random reboots periodically. Its occurred just about daily the last few days. At first I thought it was an undervolt issue, and have raised my global voltage to where at the min frequency, its set at 775 mV. I checked my PVS bin and its 13, so from my understanding, it's a stronger chip and should be able to hold up a little better at lower voltages.

Anyway, back on track, 2 of my reboots have been during a phone call, and one random reboot occurred where the device couldn't wake up from deep sleep when I opened the dot view flip cover. The screen responded to double tap and had haptic feedback but it eventually rebooted itself. I've steadily raised the global voltage by 10 MV each time and now I'm sitting at 780 being my min voltage for my min frequency.

Would a kmsg help you figure out what's causing these problems on my end? And would I be able to pull an accurate kmsg if the reboot occurred about a half hour ago?

Thanks flar
[One (M8) Original Android Development] flar2:
/proc/last_kmsg

But, i think you should start over, full wipe and reinstall. The reason is, I don't make a lot of changes to HTC kernels, and all of the changes are the same in each version. None of the changes should cause instability. I use this as my main phone and have never had a random reboot.
[One (M8) Original Android Development] threetwentyfizzle:
I think I probably will. I've never had a reboot before either since the OneXL which couldn't take any undervolting. However on my M7 and especially this phone, I've been able to UV to at least 650mV with no issues on Sense. I am running the latest Sense Firmware, for GPE, but don't think that should cause reboot issues. I'll pull the last_kmsg for you. What's the exact adb command for that, I've never had to do pull one before
[One (M8) Original Android Development] zebidybob:
Just go to /proc then find last_kmsg copy to sd card and upload :)
[One (M8) Original Android Development] threetwentyfizzle:
https://docs.google.com/file/d/0B9cL0y4f7O42UDJiNFZpbFVONVU/edit?usp=docslist_api

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

Hopefully it uploaded to my drive correctly. Let me know if it helps flar, I pulled last_kmsg.txt
[One (M8) Original Android Development] flar2:
Got it, there is a deadlock. How often does it happen? And can you reproduce it?

Try using the interactive governor for a few days and see if it happens.
[One (M8) Original Android Development] Martini3001:
Hello, at first I want to thank you for your nice work. :)

I got a strange issue when I'm testing my app... AndroidStudio says "INSTALL_FAILED_INVALID_APK". I cant install the apk via adb, too. Do you know what causes this error? It came up since I switched to the kernel. The same apk works fine at other devices. My adb is working correctly on other phones too...

Thanks in advance :)
[One (M8) Original Android Development] flar2:
If this is on Sense, it's not a kernel issue.

If you're talking about lollipop, I had the same problem, its also not a kernel issue, but you can fix it by making selinux permissive.
[One (M8) Original Android Development] Martini3001:
Thanks dude, very informative.

Cheers

Martin

Great, worked perfect! You are awesome. ;)

PS: Do you have an advice how to make the kernel config persistent? After flashing the kernel elementalx.config is empty, and every boot resets the values I set up in the "touch-files", so the switch to permissive sellinux isn't persistent, too..

I checked every step in the #1 post, but it doesn't help...

Btw: there is little mistake in the instuctions [...] Simply hold power and volume down until it reboots. [...] -> to simulate a battery pull: "Simply hold power and volume up until it reboots." (not a big deal, but maybe somebody get's in panic, when he holds power and Vol- and the phone will not boot) :D

Thanks in advance. :)
[One (M8) Original Android Development] threetwentyfizzle:
No it's not something that can be reproduced specifically. It's just happened at random times just two of the times happened to be while I was on a phone call. So is it not a voltage issue then? I will try the interactive governor that you suggested thanks flar. I full wiped and reflashed my ROM too.
[One (M8) Original Android Development] flar2:
If you did the full wipe, stay with ondenand to see if that fixed it. If it reboots again, use interactive to see if that fixes it.
[One (M8) Original Android Development] flar2:
Maybe try reinstalling the kernel. Make sure you have root and busybox set up.
[One (M8) Original Android Development] Martini3001:
Hmm, which version / app of BusyBox do you use? I tried Busybox by Stephen (Stericson).. it sais "busybox is installed." but a few lines below it says "0mb - no space at /system"... is this causing the issue?
[One (M8) Original Android Development] Hades8x:
Hi [MENTION=4684315]flar2[/MENTION], i'm using rom viper with dot view. when i flash sense 2.0, choose stock or undervolt in cpu voltages, my phone is always random reboot.
[One (M8) Original Android Development] flar2:
Probably the dot view conflicting with wake gestures. Could you send me /proc/last_kmsg after a reboot?

Then I would suggest using the stock gestures(ie: don't select remove motion requirement)
[One (M8) Original Android Development] ThatKawaiiGuy:
Is the download link not working for anyone? It gives me some error on the download link.

Sent from my HTC One_M8
[One (M8) Original Android Development] Hades8x:
Tks for your reply and your hard work. I'm reflash kernel and choose stock all things. Work perfect for me
[One (M8) Original Android Development] pali250:
Does have pocket detection impact to battery ???

Proximity is always turn on ?
[One (M8) Original Android Development] flar2:
No, it only checks proximity when necessary. It's enabled in stock kernel too ( a little feature HTC borrowed from me)
[One (M8) Original Android Development] threetwentyfizzle:
Anyone care to share some stable UV values they are running on a higher PVS 13 chip? I'm currently sitting at 700mV at 300MHZ, no reboots just yet, just wondering if anyone has been able to go a little lower with no stability issues. I've ruled in that I can't have a max CPU frequency 2457MHZ lower than 1025mV without stability issues, so now just trying to dial in some optimal values.

Hope I'm not taking anything too off topic, let me know if it is flar, and I'll gladly remove this post.
[One (M8) Original Android Development] badbwoydes:
I too would like the option of lowering the max CPU frequency. I am loking for the best possible battery life. I've ran ViperOne @ 1.2GH and it runs smooth for me.
[One (M8) Original Android Development] threetwentyfizzle:
Via Elemental App, Trickster, or even Venom Tweaks?
[One (M8) Original Android Development] Viper4713:
DT2W does not work and neither does Sweep2sleep, installed the kernel twice to see and its all set correctly in config file, worked fine in Skydragon rom and kernel but now I switched to stock 5.0.1 gpe rom with ElementalX.

Anyone else experiencing this?

EDIT: Switched back to Skydragon because V4A would not work at all, phone audio would be mute and phone would freeze, however ElementalX is still having the same issues on Skydragon Rom.
[One (M8) Original Android Development] pro4ever:
Sense (4.4.4):

ElementalX-m8-2.00-Sense

whats the best settings for battery im using viperom with ElementalX-m8-2.00-Sense and trickster mod tnx
[One (M8) Original Android Development] flar2:
Dt2w works on any ROM, the problem is with configuration. V4a should work regardless of the kernel. I suspect selinux issues, try going permissive.
[One (M8) Original Android Development] Viper4713:
I did try permissive and for some reason the config is not working on both roms, and yes you are very correct V4A works regardless of the rom, I switched back to Skydragon, and V4A works regardless of any kernel, but for some reason V4A was not working and freezing the phone on Stock rom, doesn't matter off topic... I decided to stick with Skydragon ROM but regardless currently on Skydragon Rom ElementalX config is not working of anything I change, Skydragon Kernel, tested and not having such issues.
[One (M8) Original Android Development] ben999_:
sweep to sleep not working on rooted stock GPE 5.0.1. Double tap to wake is working properly for me. Running genuine HTC One M8 GPE hardware.
[One (M8) Original Android Development] hopeshadow:
Hi,

Does this kernel support M8 Dual SIM (4.4.4) ?

Thanks in advance
[One (M8) Original Android Development] Roadrunner100:
[MENTION=4684315]flar2[/MENTION]

Does ElementalX 2.00 support 2 way call recording? Is the feature enabled/disabled at the Kernel level? -

Since the 5.01 OTA my Original M8 GPE has lost the ability to record calls no matter which App I try.
[One (M8) Original Android Development] lukes91:
Merry X-Mas!!!!
[One (M8) Original Android Development] elsworth1983:
Merry Christmas to you to & everyone else
[One (M8) Original Android Development] flar2:
Probably selinux permissions. HTC made the phone useless with the update.

Try installing with permissive mode.
[One (M8) Original Android Development] flar2:
Merry Christmas to all and thanks for a great year!
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Thanks flar and merry Christmas to all of you :)
[One (M8) Original Android Development] zebidybob:
All the thanks should go to you!

Merry Christmas hope you have a good one.

I've got nothing to do but get drunk with my brother for 4 days :) so probably going to do a fresh install, may even try GPE, with your kernel (obviously).
[One (M8) Original Android Development] smeejaytee:
Happy holidays people have a great one
[One (M8) Original Android Development] grega_slo:
Hi!

I wish to use ElementalX with Skydragon GPE as my secondary... Can someone please explaint how to midify updater-script that it would work?

I flashed default zip and I came no further than android dots (4 colored dots) flying around...

Thanks!
[One (M8) Original Android Development] bamboosensei:
Merry Christmas guys. Thanks Flar for all your work on every kernel. Thanks to everyone else who frequents the boards and helps out as well. Hope you guys have some quality time off
[One (M8) Original Android Development] Roadrunner100:
Merry Xmas!

Thanks for your prompt reply. Agree with you - my device is rendered useless after the 5.01 OTA.

I've no experience with selinux permissions, permissive mode, so out of options for now....
[One (M8) Original Android Development] Thermaltake868:
To you too dude, and everyone else here :)
[One (M8) Original Android Development] richii0207:
Just wanted to add that this kernel installs and works flawlessly on stock 5.0.1 GPE rom (captain version) using VZW.
[One (M8) Original Android Development] mido.fayad:
It's not [emoji2]

Just the kernel is flashed to different partition so in real you are still using the stock kernel

Just look at about in settings and u will find that u are still using the stock kernel

And if u modified the updater script to flash to the right partiton, the device will go into boot loop and won't even pass bootloader screen

And the only way is to use the right dtb in the kernel then modify the updater script

Or just use the flarport kernel in Sprint forums .. I know that flarport kernel is saying not for Verizon in the first page but it will work
[One (M8) Original Android Development] richii0207:
In settings, it shows elementalx and fauxclock allows me to change CPU and GPU governors to his included ones like simple_ondemand.

Weird.
[One (M8) Original Android Development] donmarkoni:
It is. ;)

He mentioned that he is using [MENTION=1162986]Captain_Throwback[/MENTION]'s version, which is universal.
[One (M8) Original Android Development] mido.fayad:
are you using the kernel from this thread or what ?

---------- Post added at 01:33 AM ---------- Previous post was at 01:31 AM ----------

i thought he was saying rom from captain not the kernel as i can't find flarport of captain
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Somehow you are completely mixing all things so that even I'm getting confused wtf
[One (M8) Original Android Development] richii0207:
Installed this kernel on gpe ROM from cpt. I am on Verizon and it works.
[One (M8) Original Android Development] mido.fayad:
So u can simply re read my post and read the post just under your comment and hope u will get it

I'm not mixing any thing at all .. but simply u haven't even tried to understand and read the quoted posts
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Nope just nope just nope just nope
[One (M8) Original Android Development] mido.fayad:
He is using captain gpe Rom not kernel

So he can't use the kernel in this thread and there is no captain version of the kernel so it's not universal

Also it's just impossible that he is using this kernel and it works for him as the updater script in this kernel is flashing it to mmcblk0p42 while Verizon devices have boot partition at mmcblk0p43

So my first post was right and the kernel just flashed to differnet partition

And if this kernel is flashed to the right partiton, the device won't boot

---------- Post added at 05:13 PM ---------- Previous post was at 05:06 PM ----------

So if you can't read this thread and don't have a Verizon device , I hope u won't quote my posts

And this is my last comment to you :

I have 3 m8's

International, Sprint and Verizon

Partition table is the same for international and Sprint

While Verizon has boot at different partition

So just download the kernel from the first post and look at the updater script and u will find that it flashes the kernel to mmcblk0p42 while Verizon devices have boot at mmcblk0p43

So how can this kernel be flashed to Verizon device ??

Just learn to reply when you read carefully

I read and read again to avoid problems but you just want to reply without even knowing what are you talking about and don't even have Verizon m8 [emoji33]
[One (M8) Original Android Development] DeeZZ_NuuZZ:
I don't need a Verizon device to know that it has a different partition layout...I knew that even before this device was released because of the m7. So be so upset and talk like you were the one who knows everything...Maybe in Verizon forum there is a modified kernel?

I already don't want to read carefully your post . But okay to avoid any further problems like cleaning thread and maybe even closing it or so I won't stop to quote you and reply to you...have a good day...
[One (M8) Original Android Development] donmarkoni:
OK man, I see you are holding for every exact word... Doesn't really matter, cause there is Flarport, which is universal, but this time made by [MENTION=1238555]MassStash[/MENTION], unlike the previous that was made by [MENTION=1162986]Captain_Throwback[/MENTION].

Anyway, I'm pulling myself out of this conversation...

Have a good holidays.
[One (M8) Original Android Development] Captain_Throwback:
Try booting into recovery....

Also, post a screenshot of your kernel name from Settings.

Because, as was stated previously and is stated in the OP, this kernel doesn't work on Verizon.
[One (M8) Original Android Development] mido.fayad:
There is a modified one in the Sprint forums and will work with Verizon with out any problems but the problem that he is saying that he used the kernel from this thread [emoji6]

Just I was trying to help him because I already using this kernel on Verizon but modified it to work on Verizon not directly flashing it

And my reply was because he said that he is using the kernel in this thread not flarport

And I know that there is flarport by capatain and masstash now so I was trying to tell him that he should use the kernel for his device not this one to make sure that it's working

Any way merry christmas [MENTION=4684315]flar2[/MENTION] and To you all [MENTION=2977387]donmarkoni[/MENTION] [MENTION=4645599]One-M8-Master[/MENTION]
[One (M8) Original Android Development] Xorok:
Backlight dimmer

How do I access/use the additional backlight dim after I enabled it? Do I have to download a Kernel Management App or does the default brightness slider in the settings do the job? :confused:
[One (M8) Original Android Development] DeeZZ_NuuZZ:
No the brightness slider is a different thing, the very best is if you get his app or edit the elementalx.config in system/etc ;)
[One (M8) Original Android Development] The3File:
I'm getting some weird touch behavior on gpe 5.0.1. There's like a "gap" between touch and drag recognition. When I drag my finger over the screen, it doesn't register it as a drag before I've moved my finger about one centimeter, meaning it registers the start position as a press and hold. Weird. Behaves like that on multiple roms.
[One (M8) Original Android Development] Roadrunner100:
Seems as though its not HTC. My N5 has also lost the ability to record calls, also after the Lollipop update, which worked perfectly before. So seemingly the culprit... must be Google.

Which again leaves me wondering whether disabling the ability of third party apps access to voice is at the Kernel or elsewhere? Would appreciate your thoughts.
[One (M8) Original Android Development] flar2:
Most likely firmware. I can't stand GPE so I developed using the latest sense firmware.

Maybe the app needs to be updated for lollipop? I've personally never tried recording a call.
[One (M8) Original Android Development] The3File:
Ah, yeah probably
[One (M8) Original Android Development] 3lMghraby:
proximity sensor

covering the proximity sensor with finger blocks the upper speaker from ringing for does anyone have this if so is there a fix
[One (M8) Original Android Development] flar2:
I'm not sure what you mean?
[One (M8) Original Android Development] Forsaked:
Check your sounds menu in the settings, there is an option that there is no ringing while you hold your phone!
[One (M8) Original Android Development] 3lMghraby:
when the phone is face down or in my pocket (the proximity sensor is covered) the upper speaker doesn't ring this I have noticed in my phone and my friend's
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Lol
[One (M8) Original Android Development] flar2:
Please check the settings as suggested, because I think that is the problem. Mine rings in my pocket or face down.
[One (M8) Original Android Development] zebidybob:
I think he means only one speaker works when in his pocket thus lowering the max volume, haven't had a chance to test.
[One (M8) Original Android Development] 3lMghraby:
yes that is what I mean

I have two speaker upper and lower

when playing music both work

when ringing the upper doesn't

I read about it found some xperia z2 users complain of the same thing for a safety precaution if you are holding the phone on your ear after I converted to gpe The upper speaker doesn't ring at all but sometimes it rings then if I restarted the phone it doesn't ring again

I am not sure what to do now
[One (M8) Original Android Development] Xorok:
I also have similar touchscreen problems. I thought I had imagined it .-.

EDIT: I cannot drag the sliders in the "Data Use"-Tab for example, or sliders in general :/ -HTC One M8: Latest Android 4.4.4

Second Edit: Solved. Don't know what caused the problem, but now it's gone :)
[One (M8) Original Android Development] mido.fayad:
Reboot to boot loader then choose turn off to make sure that device is completely off .. then wait 15 seconds and start your device again

Then try to see if there is any touch problems
[One (M8) Original Android Development] Thermaltake868:
[MENTION=4684315]flar2[/MENTION] read my PM.
[One (M8) Original Android Development] ben999_:
I'm running 5.0.1 on my official GPE and it's working great thus far. Only feature I'd like to see is system partition RW support. I'd like to be able to write to the system like I was able to with Kitkat. Any possibility of integrating the module from the thread here - http://xdaforums.com/showthread.php?t=2701816 ?

Thanks for the hard work.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
es file manager should do that job, or try to get an app from playstore which could fix that
[One (M8) Original Android Development] flar2:
The module is not needed on custom kernels. All you need to do is mount /system and its writable.

I actually created the module you linked, so if it were necessary, I would already have included it.
[One (M8) Original Android Development] ben999_:
That's interesting. I've been using ES with no issues on kitkat. I've changed the permissions on build.prop and then edited to changed lcd density and whenever I save it, it says that there is not enough space. Not sure what would cause that. I sort of assumed it was system writability. Any suggestions? Im using stock rooted GPE rom.

Thanks
[One (M8) Original Android Development] flar2:
Gpe won't let you do anything. Selinux is way too strict.

You can set it permissive when you need to change /system

setenforce 0

Then change it back like this:

setenforce 1
[One (M8) Original Android Development] ben999_:
Well just for the record that caused my stock rooted GPE ROM to fail to boot. Had to restore from a backup. Tried setting it back in recovery but it didn't make a difference. Didn't even make it to the boot animation.
[One (M8) Original Android Development] mw2fan:
[MENTION=4684315]flar2[/MENTION]

Could you please compile any version of your kernel with usb accesory detect/dock detect disabled in the defconfig?

I'd love you forever if you did :)
[One (M8) Original Android Development] Captain_Throwback:
Any reason you can't do it? The source is posted in the OP, so anyone could do it . . .
[One (M8) Original Android Development] oRAirwolf:
This tool works well for me

https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=en
[One (M8) Original Android Development] hl2modrift:
Bulding Problems

[MENTION=4684315]flar2[/MENTION]

I'm having problems building your GPE 5.0.1 kernel from source.

For various reasons I need to enable devtmpfs.

I'm using the latest linaro toolchain optimized for cortex a15.

I also used the elementalx_defconfig that's provided, before making the necessary changes. Is this the correct defconfig?

It seems to compile fine, but when I pack it into a bootimage using mkbootimg, the result is smaller than the original by around 1.3MB. (11.0MB vs 12.3MB)

This is odd, since my zImage is larger than the one originally in your boot.img.

After flash it will load to the Google splash and then kicks me to fastboot.

I have also tried hex-editing in the zImage rather than using mkbootimg. This results in a file that's 12.4MB, as it should be, but that still kicks me to fastboot.

Just a note, I'm not a novice to building Linux kernels, but I'm rather new to Android kernels -- this is the first device I've had that the kernel could be changed so easily (my others have been motorola and required kexec.)

I have also tried using only the elementalx_defconfig but the resulting zImage still doesn't work.

Do you use an alternate method to build the boot.img? Or am I doing something incorrectly?

Thanks for the help!

-FC
[One (M8) Original Android Development] badbwoydes:
Loving the Kernel, as I did when I had my One X. I didn't even realise you had your own app for it. It's awesome! I just had to purchase it. I love having a bunch of settings to tinker with.

I'm curious though:

1. Is it possible to limit the screen area for S2W? I'd prefer sweeping across the bottom of the screen only as I find that my phone accidentally wakes very very easily when i'm simply holding it.

2. Does the digitizer extend down to where the HTC logo is?
[One (M8) Original Android Development] Jediritter:
Can I use your kernel on my htc sense 6 stock rom with android 4.4.4 to get that stupid system write protection deactivated?

can't use ad-block with the write protection.
[One (M8) Original Android Development] Captain_Throwback:
Are you including the dtb image from this kernel as well?
[One (M8) Original Android Development] smeejaytee:
There's no elemental kernel for hox.