yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] mitchst2:
Wake gestures baked in. As I'm sure you know xposed doesn't work on lollipop. Therefore if you are looking for m8 style gestures which open apps you won't get that. What you get is extremely reliable gestures which turn the screen on every time.

Sent from my HTC One
[One (M7) Original Android Development] dragonballz2k:
Is this normal battery life?

Does this seem like normal battery draining?
[One (M7) Original Android Development] ABQNM:
Based on your mA reading it would likely indicate a very high display brightness, so that wouldn't be too far outside the norm with 45 minutes of screen on time at high brightness.

Are you using adaptive brightness? Or fixed brightness? And in both cases, what is your brightness slider set to? Also, do you have the CPU overclocked? And are you using stock or aggressive mpdecision?

Also, show the app listing. There may be an app keeping things up. Even with high brightness, that still seems like a high mA reading...

Edit: just saw that you were streaming Spotify with the Dolby app. That means you have Project ERA and its 24-bit processing, which uses a bit more battery. So, with the screen on, 24-bit audio sampling, Spotify streaming (at what quality?) plus whatever else you were doing, that really isn't too out of line.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] tiny4579:
Correction. Google tightened it up too much. Selinux policies may be the only way to properly get this working. Check cms sepolicy trees to start. You should be able to create policies that allow sysfs to be written to by user apps.
[One (M7) Original Android Development] flar2:
No, I have four Nexus devices with lollipop and the security changes do not interfere with anything I normally do. I didn't have to change anything. HTC added something extra. You can't even push something to sdcard with adb. I can't push debug versions of my app from Android Studio, init.d scripts don't work. Apps can't read the sysfs. It's way overboard.
[One (M7) Original Android Development] gordonpn:
Quick question..

If I flash ElementalX over another custom kernel, Xceed, will I have issues? With the configuration and whatnot?
[One (M7) Original Android Development] Philips9:
I've read something about...but what I would know is:" double tap to wake and double tap in status bar to sleep, works?
[One (M7) Original Android Development] yooyo3d:
According to this:

https://android.googlesource.com/platform/external/sepolicy/+/master/adbd.te

adbd have permissions to access /data/local/tmp (create file and folders). I found HTC kernel source for 5.0.1 on htcdev site, unpack it but external/selinux folder is missing from source tree.

When you build elementalX kernel did you use any of those (google) policy scripts?

I didnt try to use adb install with stock 5.0.1 kernel.

Anyway... is it safe to extract boot.img from RUU and flash it with fastboot flash boot boot.img? I want to replace elementalX with stock kernel just to test this adb install issue, but I dont want to reinstall whole OS. :)
[One (M7) Original Android Development] Shivy17:
Having trouble with flashing v18.0 on ARHD83.1

Stuck at 0.00% installation in aroma

Should I just cancel, reinstall ARHD and try to install a previous version of the kernel?
[One (M7) Original Android Development] cyrusct82:
Read the OP. There is the solution for you. In installation section.
[One (M7) Original Android Development] petru.tomsa:
Reboot phone and try again will work

Sent from my HTC One M7... Firmware 6.09.401.11, TWRP v2.6.3.3, ViperOne 7.0.1, ElementalX 18, using Tapatalk
[One (M7) Original Android Development] Shivy17:
Thanks to you both, I guess I just forgot that bit because it hasn't happened to me previously.

All up and running now :)
[One (M7) Original Android Development] flar2:
Yes you can fastboot flash the stock image, but the modules might not work.

I haven't had time to look into this selinux stuff yet so if you find anything let me know.
[One (M7) Original Android Development] yooyo3d:
I have flashed stock kernel and its modules... and no luck.. still have issue with eclispe adb install.

Lets flash elementalX again :)
[One (M7) Original Android Development] flar2:
Yes, the selinux policy stuff is not built with the kernel. Some of it is included in the ramdisk, and I have used the same ramdisk as the stock kernel.
[One (M7) Original Android Development] ABQNM:
Double tap to wake works if you enable it in the aroma installer. Double tap to sleep is not an option, unfortunately.

There is an alternative though. If you are using a custom launcher that has a customizable double tap gesture, like Nova Launcher (there are others too), you can install an older app called "Screen Off and Lock" and then just assign this app to the double tap shortcut. It only works from the homescreen, but now you can doubletap the homescreen to lock the device as well. The status bar would require xposed, so that is a no-go right now, but this is at least an option. And if you aren't using a custom launcher, you can just add the app to your homescreen and just tap it once to lock the screen. It isn't as fancy, but it still gets the job done.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] ABQNM:
[MENTION=4684315]flar2[/MENTION] on the KK GPe kernel, I was able to use the app Automatic Call Recorder to record calls using the VOICE_CALL stream (VOICE_UPLINK AND VOICE_DOWNLINK also worked in the same manner) without incident. However on Lollipop, it seems that I can only record calls using the MIC, which results in a dramatic reduction in quality on the other end, obviously, since it is relying on my phone's microphone to pick up both sides of the conversation. If I try to use any of the internal voice links, the calls fail to record. Is that something you can do anything about?

App I'm using: https://play.google.com/store/apps/details?id=com.smsrobot.callrecorder

I know you have a lot going on with the over-restrictive SELinux, but I just noticed that my calls weren't recording and I figured I should ask before it got too far along in the development. Thanks again man!

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] Rix70:
Yesterday I have installed lollipop gpe and ex 19..today in my phone I do not hear the voice in the calling... I don't know why?! ? I have reinstalled viperone and ex 18 but never..

For the music the speaker are ok but on calling not hear the voice.
[One (M7) Original Android Development] yooyo3d:
I have same trouble with arhd 81. Clear data in google play services and google play frameworks.

Now im using lollipop gpe and everything is OK. Its RUU version. Do you have lollipop runnin on top of sense firmware or on top of gpe firmware?
[One (M7) Original Android Development] synt3k:
I think that app just needs to be updated for Lollipop. I'm using CallRecorder by skvalex and it works wonderfully on 5.0.1 GPE with ElementalX.
[One (M7) Original Android Development] ABQNM:
Can you verify what audio stream it is using to record the call audio?

Edit: never mind. I found the app. I will take a look at the trial. If it works, I will probably buy it. I didn't have time to read the whole app features list, but I hope it does what I need. I need something that will automatically record calls only from unknown callers and select calls in contacts. The app I have been using was the only one I had found that did that, so if this app can do it and works well, I will gladly pay $10 for it.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] rename_nick:
you can add long press home button to menu and remove 3 dots menu on GPE 5.0.1
[One (M7) Original Android Development] flar2:
UPDATE!!!

For GPE Android 5.0.1 Lollipop

Your settings will now be applied at boot and I added an option to set selinux to permissive (set to enforcing by default).

Download:

ElementalX-m7-19.1-GPE

Changes:

-fix settings not applied at boot

-option for permissive mode
[One (M7) Original Android Development] rahulnahar:
How?
[One (M7) Original Android Development] rename_nick:
Same as long press home on rom sense 4.4

---------- Post added at 05:12 PM ---------- Previous post was at 05:10 PM ----------

I don't want use logo2menu. Neutron MP still show 3dots menu
[One (M7) Original Android Development] mitchst2:
Do you use Tasker?

Sent from my HTC One
[One (M7) Original Android Development] xXXschokiXXx:
New Kernel Source Code is Online ( 6.09.401.11 ) Update :) ?

http://www.htcdev.com/devcenter/downloads
[One (M7) Original Android Development] Rix70:
thanks for your reply..

When i have installed Lollipop i also flashed the GPE fw...first the fw and after the GPE lollipop....

now i come back on viperone with latest sense fw..

Now I try to delete the data as you said and see if I solve the big problem :) big thanks..

I HOPE...

PS: very very thanks...i resolved with your advice!!! i see now that many guys have the same problem in all rom theard..

However...thanks man!!!
[One (M7) Original Android Development] ace-user:
GPE V19.1 damages speaker sounds. After flashing there's no sound coming from the speakers, from both notifications and also media.
[One (M7) Original Android Development] flar2:
Are you sure the problem is not with your setup?

There were no kernel changes in 19.1.
[One (M7) Original Android Development] ace-user:
Ya I'm pretty sure. On 19.1 I have no sound at all, going into settings and choosing ringtone will basically freeze my phone and I have no choice but to force close it. When playing songs in play music there's no sound at all and the play button doesn't work.

Revert back to 19.0 and everything is fine.
[One (M7) Original Android Development] rambo69:
installed 19.1 on lollipop 5.0.1

i have no issues!
[One (M7) Original Android Development] yooyo3d:
[MENTION=3949728]rambo69[/MENTION], [MENTION=4510544]ace-user[/MENTION]:

What firmware version you have on your device? Gpe or sense and did you use ruu rom or flash zip from recovery?
[One (M7) Original Android Development] flar2:
The problem is definitely on your side, as I did not make any changes to the kernel except the version number. The new release only has changes to the installer.
[One (M7) Original Android Development] c.apurv:
Hi, I'm from India and using Micromax a240 canvas doodle 2 handset, running over 4.2.1 jelly bean and the chipset is Mediatek MT6589, I came to know double tap the screen to wake up can be availed using your kernel. I appreciate your efforts, looking forward to a reply.

Thanks in advance,

Apurv
[One (M7) Original Android Development] rambo69:
I'm on 5.11.1700.3 gpe

And i used the ruu ?
[One (M7) Original Android Development] commencal661:
Hi, I saw a report about ElementalX app not working (doesn't let you in, saying there's no licence). It happened to me too. I tried uninstalling the app, clearing data, restarting the phone and reinstalling, but it didn't help. Did anyone manage to solve the issue? I'm 100% I bought the app.

EDIT: apparently I lost licenses to all apps, so it's not ElementalX... Damn...
[One (M7) Original Android Development] cyrusct82:
WTF don't quote the whole OP.

As for the answer at your question is NO. you can't use a kernel for Qualcomm device in a MTK device.
[One (M7) Original Android Development] cannondaleV2000:
first. do not quote the entire op. EVER

second. the kernel is not made for your device there for it wont work. search before asking stupid questions plox
[One (M7) Original Android Development] Mikanoshi:
There is a kernel source for 6.09.401.111, any difference from .11?
[One (M7) Original Android Development] cyrusct82:
As I know the 111 is for the M7-U (non lte).
[One (M7) Original Android Development] Mikanoshi:
Download link for .111:

dl4.htc.com/RomCode/Source_and_Binaries/m7ul-3.4.10-g40b189c.zip

and it's the same for .11 :)
[One (M7) Original Android Development] yooyo3d:
Is it possible to add flashlight on long-press power button while phone is locked? Just like in sense toolbox, but I need it on GPE. :)
[One (M7) Original Android Development] Sheythan...:
recent apps

hi friends

after i install elemental kernel with default sweep to wake settings on maximus 46 or on ARHD 83.1, recent apps is not working when i double click on home button. also home button customization option on display and gestures menu disappear. anyone having this, is it normal ?

thanks
[One (M7) Original Android Development] Osama Zabin:
Did you disable or enable 3 dot menu using trickster or any other application?

I remember it was posted here several times but can't do search now.
[One (M7) Original Android Development] Sheythan...:
no nothing. i install the ROMs as default. double tap home button and recent apps work. After installing the kernel and reboot, menu disappears and double tap-recent apps does not work .
[One (M7) Original Android Development] yooyo3d:
Im using v19 on gpe and double tap home open multitasking (or recent apps). All other tweaks is disabled except dt2w.
[One (M7) Original Android Development] xtino:
Slow charge

Hi, I can assure U that v18 charge slower than v17.2...same charger, same setup, different kernel
[One (M7) Original Android Development] flar2:
No. There was no change at all to the kernel. Any difference you see is due to your environment and setup. Maybe the charge rate was decreased due to temperature, there are many possible reasons.
[One (M7) Original Android Development] android167:
Can someone help me. I don't know how to turn off logo to sleep. I disabled it in aroma installer but it's still on.
[One (M7) Original Android Development] bdizzle1686:
Do u have the Elemental X app? Or even I think Trickster Mod? Should be under Wake Gestures.
[One (M7) Original Android Development] ironman76:
great Kernel[emoji3] [emoji3]
[One (M7) Original Android Development] remix92:
Can i use elementaxl for Liquid Rom lolipop?

If Yes which Version i need?
[One (M7) Original Android Development] kiko3:
No
[One (M7) Original Android Development] Guids:
Hi all,

I have this bug which might be kernel related.

Whenever my phone is laying flat on the table and I want to pick it up. I push the power button on top and tilt the screen towards me. Half of the instances I do this the screen immediately gets put into sleep mode again. For which I have to push the power button again. Is anyone familiar with this?

I use gpe with elementalx19.0 Only dt2w (lower inch) and pocket detection are enabled.
[One (M7) Original Android Development] ziaulh.ch:
[MENTION=4684315]flar2[/MENTION] GPU seems to be locked at the value selected on aroma. In my case, I selected 400 and I cannot change with your app or trickstar.
[One (M7) Original Android Development] blast0id:
That's because you need to choose the 409(default) in aroma to be able to change on the fly via any apps...
[One (M7) Original Android Development] ziaulh.ch:
THanks. Overlooked that on the fly change thing.
[One (M7) Original Android Development] spbhutia:
Did you do a nandroid backup b4 u flashed this kernel... If u ve done th backup then restore th nandroid from recovery.. n flash th kernel again..

Also what version on android r u on..
[One (M7) Original Android Development] chaostan:
Luckily before flash, I have done the nandroid back-up. Seem now the camera could not fix. I have to restore back from my back-up now. My version is still 1.29.707.16. So is it mean I could not flash this kernel?
[One (M7) Original Android Development] MrKudinGTO:
Your situation is same as me mate.. It seems that the camera fix is somehow "incompatible" with the .707.16 firmware.. End me up using custom rom from different base instead and camera work flawlessly with the fix..
[One (M7) Original Android Development] aamitabh28:
flar mate what's being cooled for us in the next update mate??
[One (M7) Original Android Development] spbhutia:
compatibility for 4.2.2... :o :rolleyes:
[One (M7) Original Android Development] KindaJackedForANerd:
I am sticking with 4.1.2 for a while. There is nothing worth upgrading for with the new update. I am with flar on this one. I cant wait to see what you have in store for us for 0.12. So far i am running stable and pretty cool for 2 052 a nice 1227 voltage. Battery 7 hours on screen time. Everything works as expected,. I am wondering if flar can find the bottleneck with the l2 and get more out of this puppy some benchies for you guys.

Antutu 27233 new old was 27023

Quadrant standard 15123

Proof lol

http://xdaforums.com/showthread.php?p=42179812

Fantastic work flar i cant wait to see whats next! Thank you for all your time and effort!
[One (M7) Original Android Development] godofwar424:
Won't happen soon due to HTC screwing around with the god damn Kernel Sources!! If you want to blame somebody, blame them.
[One (M7) Original Android Development] K1rja:
Hello, please im understand it right, that i cannot use your kernel with Revolution HD 10.1 as its using android v. 4.2.2? Sorry for asking probably one thing several times.

BTW how its right? I installed Revolution HD 10.1. Then i founded your Kernel. It looks really cool. I mainly wants to have HTC logo as menu button and get rid of that android ... menu button. So i installed your Kernel over Rev HD. My phone wont boot. Then installed again Rev HD 10.1 phone booted correctly. It looks like, that Rev HD, overwrite your Kernel. Im really confused, how it should be did right.

Pls can someone write me, which version of Revolution HD i can use with this kernel? Thank you, and sorry, if my questions are totally stupid
[One (M7) Original Android Development] godofwar424:
When you flash a ROM it will flash the stock kernel or whatever kernel that ROM incorporates.

The latest ROM's use 4.2.2 bases which require a 4.2.2 kernel.

HTC haven't released any 4.2.2 kernel sources so NO custom kernel will work with any 4.2.2 based ROM until HTC release the latest kernel sources for developers to build their new kernels upon.

Hope that helps.
[One (M7) Original Android Development] thejosh86:
ARHD 9.4 and downwards

Sent from my HTC One M7
[One (M7) Original Android Development] KindaJackedForANerd:
Patience my friend by law htc has to release kernel source. When? Well that is the million dollar question. You could always flash arhd 9.4 then have all of the custom kernel goodness that flar has incorporated! Cheers
[One (M7) Original Android Development] godofwar424:
By law they have to, but its of no use to us if they take years to do it! Its unacceptable to release ONE source at device release then issue around 10 updates to your ROM and Kernel yet provide no updated sources :/
[One (M7) Original Android Development] shree.cse:
Back to 4.1.2 with ordroid 6.2.0 and this beautiful kernel. Can some one tell me which governor is best for battery life, using smartmax governor with noop scheduler and my battery is draining and I see phone getting hot. Thank u.
[One (M7) Original Android Development] godofwar424:
Ondemand works pretty well tbh. Intellidemand is great also :D
[One (M7) Original Android Development] jfjava2002:
My colleague and me have the same problem. Charge is longer and battery life shorter with the same rom (Maximus 46.0) and latest kernel 18.0. I will try to reinstall the 17.2 version if it works to compare.
[One (M7) Original Android Development] ziaulh.ch:
Well, after a reboot again its getting back to 409. Cant keep it stay.
[One (M7) Original Android Development] ABQNM:
I'm confused. If you are wanting to set it at boot, why not just set the frequency you want in the aroma installer? As long as it is set to anything other than 400, you can adjust it on the fly. It is only when set to the default speed of 400 that you cannot adjust it on the fly.

So if you want it at 450 most of the time, set it to 450 in aroma, and it will always boot and run at 450, and then you can use the app to adjust it higher or lower if you need it, on the fly.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] ziaulh.ch:
I want to set it lower. at 200. Higher than 400 is possible.
[One (M7) Original Android Development] ABQNM:
What app are you using to set it at boot?

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] ziaulh.ch:
Trickster Mod.
[One (M7) Original Android Development] ABQNM:
Try setting a longer delay for the set at boot delay. It may be setting the speed before the init.d script has finished running which would cause the trickster settings to be overwritten.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] ziaulh.ch:
No, Its not that. because when I choose 200 in GPU and apply it changes to 409 within 3 secs.
[One (M7) Original Android Development] ABQNM:
Hmm... I'm not sure what to say then. I've never tried to set the gpu to the minimum speed before. I honestly can't find any noticeable difference in battery usage between 320 and 477 so I really haven't seen the need to go that low.

I would recommend posting the kernel version and what rom you are using and maybe flar2 can assist as I don't really have any more answers.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] flar2:
Pnpmgr is resetting it
[One (M7) Original Android Development] ziaulh.ch:
Thanks for the answer. :)
[One (M7) Original Android Development] eladh7:
solution for suspend back off

Hi :p

Anyone know, if there is a solution for the suspend back off (wake lock) that cause while swipe 2 wake options is on?

I have ViperOne 7.0.1 and elementalX-m7 | 18.0 installed.

Thank you guys
[One (M7) Original Android Development] blast0id:
You need to set it using venom tweaks if you're using venom rom... Otherwise you might have an init.d script or startup script that is overriding your app settings at boot.

edit : sorry, replied before I saw flar2 had answered...
[One (M7) Original Android Development] teri.nk79:
I have ARHD 83.1 and elementalX-m7 | 18.0 installed.

On Lockscreen. I can not tap tap to go to sleep M7 :(
[One (M7) Original Android Development] dxaxn:
You can try Sense 6 lockscreen mods in xposed

You were using m8 port or some theme including that before...
[One (M7) Original Android Development] ABQNM:
This is not a feature of the kernel. This would be a ROM or xposed mod. Wake is a part of the kernel; sleep is a part of the ROM.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] teri.nk79:
Many thank :) :good:

I got it :)
[One (M7) Original Android Development] fenstre:
I've been screwing around with key mappings a bit, but I can't get something to work--

Is it possible to have Logo2Sleep but not Logo2Wake? I selected the appropriate options, but it doesn't seem to work. Also, /etc/elementalx.conf doesn't have separate options for these two functions.

Note that this problem only started when I enabled Logo2Menu (which I then remapped to a multi-tasking key).
[One (M7) Original Android Development] flar2:
Logo2wake and logo2sleep are the same setting, one can't be disabled without the other. There were just getting to be too many oprions. Logo2menu is separate, however.
[One (M7) Original Android Development] fenstre:
Thanks for the quick answer. FYI, I believe they're still separate options in the kernel installer--once on the wake option list, once on the sleep option list. But this isn't a big deal, just a bit perplexing when I chose one and got the other. :)
[One (M7) Original Android Development] flar2:
Could someone remind me, what was the fix for no sound in phone calls? I've tried wiping caches to no avail. My wife was suddenly afflicted with this problem this morning.
[One (M7) Original Android Development] vlaf:
Flash in recovery https://www.copy.com/s/r1v6tfINHJpSwUoLI .
[One (M7) Original Android Development] crushalot:
HTC OTA was only pushed out in Australia so far. Team Venom grabbed the OTA and made a flashable fix here:

http://venomroms.com/venomhub-fix-no-sound-calls-htc-one-m7/