yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] panbambaryla:
Your tip seems to be ok!

I've reflashed kernel with default, not undervolted, values for CPU and GPU. It's working stable since a few hours. Keep my fingers crossed :)

Thanks!
[One (M7) Original Android Development] ultrasound1991:
Can you add support for USB Keyboard app?
[One (M7) Original Android Development] sankarth:
In my HTC One m7 I can only use 2g network now...There is no signal when I switch to 3g mode...

But 3g working if I insert simcard in nexus 4..

Tried many custom roms..still can't fix it...

Anybody please help me to fix the issue....
[One (M7) Original Android Development] foefur:
This is the dev tread of ElementalX Kernel.

I suggest you try to get an answer for your question in the Q&A section of the M7...

Verstuurd van mijn HTC One
[One (M7) Original Android Development] tornido067:
Please confirm

Can anyone confirm if this kernel works on insertcoin rom version 7.1.3?i got a bootloop
[One (M7) Original Android Development] deeevan:
Working for me
[One (M7) Original Android Development] zaibatsu:
Cpu temp error

Hi!

After I recently updated the EX Kernel Manager to 2.18 from the Play Store, the CPU temp value disappeared and an error popped up on the apps dashboard (see attached screenshot)

Tried to restart the phone, cleared app data, to no avail. I installed EX kernel with default settings months ago on top of Insertcoin rom.

Any suggestion?
[One (M7) Original Android Development] bdizzle1686:
[MENTION=4684315]flar2[/MENTION] , I as well have this bug/glitch since last nights update.... However I LOVE that your adding new themes!
[One (M7) Original Android Development] bdizzle1686:
Hug, my last post doesn't seem to be showing attached pic... Anyway, it's the same green string of Text as the poster before me
[One (M7) Original Android Development] 93zx7:
I too have this issue after the update to the kernel manager. I have attached my screenshot as well.
[One (M7) Original Android Development] flar2:
I pushed an update to fix that. You should see it soon.

It caused a crash if you have temperature set to Fahrenheit, and weird output for Celsius
[One (M7) Original Android Development] gokudre:
How do I see "pushed" updates? Or do u mean it will simply be 20.3.. sorry for the noob question
[One (M7) Original Android Development] bdizzle1686:
[MENTION=4684315]flar2[/MENTION] , now that bug shows in the CPU temp notification
[One (M7) Original Android Development] KindaJackedForANerd:
Works great thanks for your hard work
[One (M7) Original Android Development] MasterThiefGarrett:
And of course I can't seem to find a stock rom... preferably Dutch 4.1.2... anyone? :(

Never mind I threw a custom rom on and all is well, thanks for the awesome kernel, works fine now :)
[One (M7) Original Android Development] chrisrj28:
This works great on ARHD 9.2, I noticed button response has improved. Thanks for the update
[One (M7) Original Android Development] Shadow Samurai:
Camera isn't working for me

On trickdroid 5.6

Sent from the one and only HTC One
[One (M7) Original Android Development] __:
Good evening flar2,

Thank you very much!

Especially for respecting my suggestion.

I appreciate you work very much!

Regards
[One (M7) Original Android Development] flar2:
This kernel now has the most up to date camera drivers. It should work without modifications on the major custom ROMs including Trickdroid.

I am not supporting camera issues, but others can feel free to help out by posting solutions and suggestions for those who run into problems.
[One (M7) Original Android Development] Pointlol:
It does in fact work on TD 5.6, I'm guessing he did not reflash the rom before applying the new kernel.
[One (M7) Original Android Development] Tabtoub:
delete please
[One (M7) Original Android Development] Shadow Samurai:
So I reflash to get rid of the old kernel then flash the new kernel on top?

I'll try that

Edit: it worked thanks

Sent from the one and only HTC One
[One (M7) Original Android Development] gatoradeboy:
Camera and 5GHz wifi doesn't work with stock developer edition .16 firmware 4.1.2
[One (M7) Original Android Development] casperr:
I hope this fixed the bluetooth issue I am having
[One (M7) Original Android Development] Shadow Samurai:
If you already had a custom kernel you must flash the Rom again to get rid of the kernel then flash the new one. This fixed my issues

Sent from the one and only HTC One
[One (M7) Original Android Development] flar2:
People have been having camera trouble with the developer and at&t stock roms all along. I think there is a fix posted somewhere in this thread, but I don't know the details. You could search around for the fix, or use one of the many awesome custom ROMs posted in the development section (eg: Renovate, Trickdroid, ARHD, Insert Coin, etc)
[One (M7) Original Android Development] Magpir:
i am now on the bulletproof kernel, can i flash this on top of bulletproof?
[One (M7) Original Android Development] Wolf:
Yes you can. It will overwrite and replace your previous kernel. This kernel is currently not meant to be flashed on any of the newer Sense 4.2.2 roms, only the previous Sense version. He is waiting for kernel source to be released before updating the kernel.
[One (M7) Original Android Development] Blue1k:
Doesn't work on Revolution Rom 8.1 (4.1.2) coming from elemental 0.11

Is there any way you could add the camera fix option again. Seems it's needed. :(

Thanks again!
[One (M7) Original Android Development] Magpir:
anyone tested if its working in trickdroid 5.56 ?

i am running this rom now, and bulletproof kernel by the same author is working fine on trickdroid 5.56
[One (M7) Original Android Development] nashshafrulrezza:
Have you reflash the Rom before flash this kernel?
[One (M7) Original Android Development] poondog:
Reflash the rom without any camera fixes. No need to wipe

The canera fixes that were previously needed (not with new source) cause problems on new kernel versions.

Because the camera fixes of old are on the rom side, reflashing the kernel won't help. Reflash the ROM to get the stick camera files, then the kernel and then you'll have camera files and the kernel made for each other (so to speak)

Should be no problem but re flash the ROM first
[One (M7) Original Android Development] dantruong460:
Downgrade to android 4.1 for using ur kernel, battery is so good. Thanks
[One (M7) Original Android Development] houston_:
More likely ex kernel manager 2.19...

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Original Android Development] dgene:
Dude..what rom and tweaks are those.They really look nice.
[One (M7) Original Android Development] Sheetzie03:
Would like to know also
[One (M7) Original Android Development] flar2:
Alright, I'll do another update tonight.
[One (M7) Original Android Development] ulxerker:
the mentioned update hits the kernel related app, not the kernel itself.
[One (M7) Original Android Development] flar2:
Yes these updates are for the EX Kernel Manager app. Only about 1.2% of users of this kernel have the app, so I should be more clear when I'm talking about updates for the app vs. the kernel.
[One (M7) Original Android Development] bdizzle1686:
Most of the tweaks are from the Xposed module Xtended Settings , (it's in play store, not on Xposed repo because the app size is bigger than the limit allowed to be on the repo), the beats audio notification is from an app I found that is all about beats , it has an Equalizer that specifically tweaks the Beats audio eq parameters, plus it comes with beats wallpapers, and even a beats live wallpaper, and the HTC BoomSound w/ Dolby Audio notification is something I made myself because I'm running [MENTION=4388232]ZeroInfinity[/MENTION] S amazing Dragon-Fi Audio (the older HTC Style Dolby Digital Plus), as well as Dolby Atmos . And this is all on my Vzw M7 on NuSense7
[One (M7) Original Android Development] ulxerker:
Thats sad as users only get full advantage of the kernel features in combination with the EX Kernel App ... so come on guys and give it a try - its really worth it!
[One (M7) Original Android Development] IcyAgitator:
where can I find this "all about Beats" app you speak of?
[One (M7) Original Android Development] bdizzle1686:
It's not on Google Play, had to find it on a "different Market" I'll pm u the info...
[One (M7) Original Android Development] jaykay1984:
What is the name of the app beats with the equalizer that you showed?
[One (M7) Original Android Development] ulxerker:
Guys, please stop talking off-topic. Open a new thread in an appropriate sub forum or write PMs, thanks :)
[One (M7) Original Android Development] RedWave31:
Impossible to flash with latest GPE

Hello guys,

I cannot flash the 21.1 GPE witht the latest LMY47O.H9 (stagefright update). The app also gives me a "no connexion" error, whereas other apps and browsing works just fine :(

Any clue? It hangs while launching the aroma installer, but my TWRP is the same and it went just fine on LMY47O.H6 (so it's the same kernel).

Thanks!
[One (M7) Original Android Development] blackmore89:
it does not work for me:crying:
[One (M7) Original Android Development] androidfr33k:
The older versions link is broke. Any way of getting version 3.4 from anyone for Nexus 7 2013. Thanks
[One (M7) Original Android Development] its the peanut:
This is for htc one.....
[One (M7) Original Android Development] Fureeze:
Have I understood correctly that "ui_sampling_rate" is the sampling rate when the screen is on, while "sampling_rate" is for when the screen is off? If not, is there any way to set the sampling rate for when the screen is off?
[One (M7) Original Android Development] tornido067:
i understand the OP but..

i know what is Sense stock Rom and what us Gpe Roms..but can u flash this kernel on 5.1.1 Xenon HD Rom ?(AOSP ROM).would appreciate any answer : D .

sorry for any inconvenience.
[One (M7) Original Android Development] its the peanut:
If your romis based on sense, it would work

If your rom is based on google play edition firmware it should work

If your rom is based on anything other then those two (like cyanogenmod or whatever custom aosp rom) then no, it will not work

Also, think its stated in the op.
[One (M7) Original Android Development] G00fY2:
Hi flar2, I'm a big fan of your work and especially your GPE M7 kernel. I also recommended your M8 kernel to some friends of mine.:D I think along with your EX Kernel Manager it's some of the highest-quality in general.

Because I also follow the kernels of other devices, I sometimes face some features that would make your kernels even better imo. Maybe you already know them and you dont see much sense in implementing them? Here are just some small options I would love to have on my M7:

- possibility to disable Android and kernel Logger

- some wiser Ext4 tweaks. Not like completly disable journaling and write barriers, but at least mounting partitions with noatime and higher commit value if Ext4 tweaks is enabled in your app. :)

Also I'd like to ask, if your kernel is using asynchronous Fsync or dynamic Fsync and if there would be any preference?
[One (M7) Original Android Development] flar2:
EX mounts with noatime by default, not sure if it's a good idea to tweak other filesystem stuff. It's not really kernel. I believe HTC uses async fsync (can't remember for sure) but I give the option to disable fsync. I feel it doesn't make much difference in real world use, same with android and kernel logs. I actually look at those logs all the time, so wouldn't want them disabled.
[One (M7) Original Android Development] G00fY2:
flar2: Thanks for your response! Your explanation makes sense to me.:good:

I'm using an init script to remount system and data with rw (its from SkyDragon rom). Do I need this with your kernel and can this cause problems, so that the noatime options get lost?:)
[One (M7) Original Android Development] flar2:
It's probably okay
[One (M7) Original Android Development] b-jack:
Whenever I flash this kernel on my M7 with ViperOne ROM on it, the "Dolby Audio Has Stopped" message came out, why is that ?
[One (M7) Original Android Development] DeeZZ_NuuZZ:
blame the rom, the thing is that dolby doesn't work which came with it, so just disable it , or delete the apk in system. you can flash zeroinfinity mod to get real dolby audio
[One (M7) Original Android Development] b-jack:
I think I found the workaround , the Dolby Audio needs time to initialized, so after flashing the ROM just need to wait for few minutes and then install the kernel :)
[One (M7) Original Android Development] ultrasound1991:
Hi, in kernel source, which is defconfig filename for our device?
[One (M7) Original Android Development] flar2:
m7_defconfig
[One (M7) Original Android Development] Ernoz:
The screen turns on when I adjust the volume using the volume keys on the side, I seem to recall there were options for this at the kernel installation but maybe it was something else like a on/off gesture? Either way it seems that the music player or lollipop itself overrides these gestures so I should just disable them entirely.

Do I have to reinstall or can the EX Kernel App be used to edit these settings? It's the Sense 7 kernel for ViperOne 9 on M7.
[One (M7) Original Android Development] mitchst2:
Volume rocker wake isn't part of this kernel. Must be backed into the ROM.

mitchst2
[One (M7) Original Android Development] gokudre:
Hi I recently installed the viper 9.0 rom. I used the EX kernel with my other roms with no issue. With this rom I simply cannot get the cpu overclock settings to stick. No matter what I try they revert back to the bottom most values (all the way to the left) I have to disable png mgr in venom tweaks and manually set them after every reboot ? Why ? And I have "apply settings on boot checked.
[One (M7) Original Android Development] Xhemal1325:
Hi

this kernel comes with selected 450 Mhz GPU (Overclocked), does that not break gpu ?

and if i keep like that, does it drain more battery ? or i need to get it down to 400 Mhz ? :D
[One (M7) Original Android Development] flar2:
Choose the max frequency in AROMA installer and forget it. HTC has all kinds of thing trying to control the frequency.

It's fine, mines been running like that for years and there is no noticeable battery penalty.
[One (M7) Original Android Development] ultrasound1991:
Hi, where is kernel source for GPE version?
[One (M7) Original Android Development] flar2:
https://github.com/flar2/m7-GPE-5.0.1
[One (M7) Original Android Development] ultrasound1991:
How to change action for long press home button?

I want to open menu.

I have GPE version.
[One (M7) Original Android Development] mitchst2:
Not part of kernel. It's a ROM setting if available.

mitchst2
[One (M7) Original Android Development] gokudre:
Confused ... Max frequency ?
[One (M7) Original Android Development] flar2:
Choose the frequency you would like to be the maximum during installation.

After that, don't mess with it unless you understand how pnpmgr, thermal management and HTC's powersave options work.
[One (M7) Original Android Development] gokudre:
I leave pmg alone. I don't touch the other s but yet on a reboot it goes back down to 384 mhz.... All 3 lines
[One (M7) Original Android Development] G00fY2:
Hi flar2, atm I'm very happy with my HTC One. Only thing that I really dont like from the start, was the notification led brightness. I looked into kernel sources, but im not sure if I can modify the brightness without kernel changes? I read about config files in /sys/class/leds/amber/pwm_coefficient and /sys/class/leds/green/pwm_coefficient. But those files are missing. Do you know anything about increasing led brightness?
[One (M7) Original Android Development] flar2:
I don't know much about it. I'll have a look sometime, but I don't think it can be much brighter. It's very small
[One (M7) Original Android Development] jojobanin:
Reflash?

Can i reflash the kernel to change some settings that i previously set?
[One (M7) Original Android Development] flar2:
Yes. Or you can use EX Kernel Manager or /etc/elementalx.conf
[One (M7) Original Android Development] devsk:
I have few questions :

1. about sweep2wake, double tap to wake and logo2wake, do all of these drain battery compared to stock sense? Since M7 does not have the hardware, how are these implemented? Also, is one option better than the other two?

2. does this ZIP come bundled with tools which can help me adjust settings after the Aroma installation or do I change settings always through Aroma installation in recovery?

Thanks for your help.
[One (M7) Original Android Development] flar2:
1. no battery drain from the wake gestures. The phone sleeps normally, the touchscreen irq can wake the phone

2. get EX Kernel Manager on the play store, or edit /etc/elementalx.conf
[One (M7) Original Android Development] devsk:
Awesome! Thank you so much for this kernel!! Its given the M7 another lease of life.
[One (M7) Original Android Development] ultrasound1991:
I'm happy to use ElementalX in all my smartphone.
[One (M7) Original Android Development] ulxerker:
Same here + in combination with EX Kernel App to get the most out of it.
[One (M7) Original Android Development] G00fY2:
[MENTION=1416236]devsk[/MENTION]; [MENTION=3393258]jojobanin[/MENTION]: Go get the EX Kernel Manager from Play Store. Like ulxerker says it's worth buying and you support the developer.:good::)

It gives you way more settings and has some goodies like update checker and configurable performance/power safe mode.
[One (M7) Original Android Development] devsk:
This kernel definitely drains faster than the stock kernel, idle almost twice as fast. Particularly, at night. The stock kernel eats close to 0.3 or 0.4% per hour but this kernel eats close to 1%. Overall, the usage is close to 2% per hour for my usage patterns when the stock was close to 1%.

Moreover, the phone seems to be very aggressive in getting rid of the apps compared to the stock kernel. e.g. I could easily make 12 of my apps to stay in memory for a very long time (even though this is 5.0.2 and still riddled with memory leaks) but now with this kernel, it seems to be getting rid of random apps. So, some LMK and Linux VM tuning is in order.

Talking of tuning,

root@m7:/sdcard # echo 20 > /proc/sys/vm/swappiness
/system/bin/sh: can't create /proc/sys/vm/swappiness: Permission denied

why is that? The stock kernel did not have that kind of restriction and I do not see a setting that controls this.

Similarly, /cache is not writable.

I selected mostly stock settings except for GPU overclock which I chose to set at 410Mhz (close to stock). I also selected graphics boost. What does this do? Is this the cause of higher battery drain?
[One (M7) Original Android Development] G00fY2:
Here you go.

BBS tells me I have ~ 0.5% over night with this kernel. So I guess your the reason is somewere else. I'm also not aware flar2 tweaked stuff about ram handling.

Afaik gboost can increase battery drain in GPU heavy tasks, since it denies the CPU from clocking down when GPU load is at a specific threshold.
[One (M7) Original Android Development] flar2:
The problem is definitely on your end. Ive always had excellent idle drain on this phone. Currently about 0.35%/ hr

The other stuff is likely due to selinux. If you need to change it, type setenforce 0 and then setenforce 1 after
[One (M7) Original Android Development] devsk:
I figured what the issue was...:) When I do 'adb shell', it seems to drop me in root shell with a prompt which is for root users typically but its not root shell.

I haven't changed anything other than the kernel and enabled the gestures for waking and sleeping the phone using Logo, d2tw, pocket detection etc. Can you please attach your elementalx.conf here?
[One (M7) Original Android Development] flar2:
Mine is the installer default.

But I don't think it's a matter of settings. There aren't any current leakages from the kernel settings on this device. Drain is caused by apps and services doing things.
[One (M7) Original Android Development] devsk:
Like I said, I did not change anything. All the same apps and services before and after.

Can you please remind me what the installer default for undervolt was? I remember I set that to stock instead of the installer default.

The other thing non-default was the Logo2Wake I think.
[One (M7) Original Android Development] flar2:
I don't remember.

How long did you check the battery stats? Have you used something like better battery stats that can show more details?

It's very easy for the drain to happen to be higher one night than another. Maybe the battery percentage just ticked one percent right before you checked it. Maybe there were a bunch of updates in the background. Maybe your cell signal was weak. Maybe the weather was interfering with your router. There are a million things that can make a difference.
[One (M7) Original Android Development] ultrasound1991:
Can i flash this kernel by fastboot in encrypted phone?
[One (M7) Original Android Development] Coolgoly:
[MENTION=1416236]devsk[/MENTION], try with "fastboot erase cache"
[One (M7) Original Android Development] ultrasound1991:
Is possible static button light on notifications?
[One (M7) Original Android Development] devsk:
I disabled the swipe2wake in the elementalx.conf and the battery life has improved quite a bit. Its little erratic but very close to what it was with stock. So, I am happy with this kernel overall.
[One (M7) Original Android Development] maxpaynezm:
I have problem with the battery drain this kernel too, i use viperone m7 rom with stock kernel 7days no problem,install this kernel with default setting battery drain fast, use this kernel now 2weeks
[One (M7) Original Android Development] ultrasound1991:
Which toolchain is been used to build elementalx 21.1 gpe?
[One (M7) Original Android Development] ultrasound1991:
I have successfully built kernel today with Linaro GCC 4.9.4-2015.06 Toolchains optimized for ARMv15.
[One (M7) Original Android Development] ultrasound1991:
The best kernel for Android.
[One (M7) Original Android Development] !n!t6:
USB debugging broken

After flashing Elementalx on my GPE device my USB debugging stopped working. I keep getting the error message: device offline. After reverting to stock kernel via fastboot, my USB debugging worked again as expected :(
[One (M7) Original Android Development] flar2:
No idea.maybe wipe caches.

I know USB debugging works because I use it all the time. If it didn't work it would be the first thing I fix.
[One (M7) Original Android Development] !n!t6:
Tried wiping cache, nu luck. I just found something in my logcat:

W/adbd ( 6703): type=1400 audit(0.0:69): avc: denied { setcurrent } for scontext=u:r:adbd:s0 tcontext=u:r:adbd:s0 tclass=process permissive=0

I set selinux to permissive and restarted adbd but no change. Is there a way to start adbd in the foreground to check if it throws any errors?

Thanks!
[One (M7) Original Android Development] flar2:
Try something like this (I'm at work and can't look up exactly)

supolicy --live "allow adbd adbd process setcurrent"

If it works, add it to a txt file in /system/su.d
[One (M7) Original Android Development] tornido067:
is there any possible way to have more governors ? am using your official app ( i know that has nothing to do with governors ).but can you tell me at least how to tweak a governor for better cores management ? btw man my cores keep loading heavy REALLY HEAVY ,and even on powersave governor they do .
[One (M7) Original Android Development] !n!t6:
The supolicy command was accepted, but it didn't change much. I did not have /system/su.d on my phone so I created it and added the command above. After reboot I still got the audit message again so I guess anything residing in this path does not get picked up. I am also missing /etc/init.d/99elementalx that is mentioned in the config. It does not look as the installation was incomplete, I can still configure all settings by the app.
[One (M7) Original Android Development] flar2:
You may have to make additional supolicy statements, have a look in the dmesg log.

You can create /system/su.d directory and it will work.

I don't use init.d any more, the script is now included in the ramdisk and runs automatically.