[KERNEL] [Nov 26] ElementalX-m8 (7.01 Sense) (6.04 GPE)

Search This thread

mobileman88

Senior Member
Oct 27, 2008
2,293
427
Thanks all.


I'm on base 2.22. Power saver disables vibration and downclocks cpu. Colour and vibration adjustments work fine. Battery life is excellent. Vibration with the gestures is enabled/disabled separately and not controlled by power saver.

what rom are you using? using 2.12 fw with 2.12 based maximus 6.0.1 is ok but after installing 1.00 of ex kernel, i am getting 10%/hr battery drain which was only 1-2%/hr before. reverting to maximus 6.0.1 with a dirty flash stops the drain, reflashing ex 1.00 again brings it right back..

I really miss S2S from your kernel @flar2
 

flar2

Recognized Developer
Jun 11, 2012
18,897
87,868
Southwestern Ontario
elementalx.org
what rom are you using? using 2.12 fw with 2.12 based maximus 6.0.1 is ok but after installing 1.00 of ex kernel, i am getting 10%/hr battery drain which was only 1-2%/hr before. reverting to maximus 6.0.1 with a dirty flash stops the drain, reflashing ex 1.00 again brings it right back..

I really miss S2S from your kernel @flar2

I didn't try it on 2.12 base. Anyone else?

I can't find any problems on 2.22 base.
 

Stanimir Komitov

Senior Member
Apr 24, 2008
177
14
Which issues do you have exactly?
Everything works fine on my side with HTC music player, arhd 10.1, latest hk mod with v4a

Sent from my HTC One_M8 using XDA Premium 4 mobile app

Same configuration as yours... Strange, the music player was working with the stock kernel...

Sent from my HTC One_M8 using Tapatalk
 
If you like intelliplug you should use faux's kernel.

I used to use fauxs kernel and I use to also use kernels with intelliplig support while I had a Xperia Z1 , just liked the change, so I thought you could add support to your amazing kernel too, anyway, amazing kernel man. Thanks :)

Sent from my HTC One_M8 using XDA Premium 4 mobile app
 

ivicask

Recognized Developer / Inactive RC
May 25, 2009
5,091
16,416
35
Zagreb
I used to use fauxs kernel and I use to also use kernels with intelliplig support while I had a Xperia Z1 , just liked the change, so I thought you could add support to your amazing kernel too, anyway, amazing kernel man. Thanks :)

Sent from my HTC One_M8 using XDA Premium 4 mobile app

In order to use intelliplug first HTC's PnP management would need to be shut down, and you would loose all its benefits, as it automatically adjust CPU and other system parameters dependable on which app your running or what your doing in order to give you best balance of performance and battery life.

So using intelliplug would be actually a big downgrade..
 
Last edited:

flar2

Recognized Developer
Jun 11, 2012
18,897
87,868
Southwestern Ontario
elementalx.org
I order to use intelliplug first HTC's PnP management would need to be shut down, and you would loose all its benefits, as it automatically adjust CPU and other system parameters dependable on which app your running or what your doing in order to give you best balance of performance and battery life.

So using intelliplug would be actually a big downgrade..

Indeed, it's best not to mess with all that stuff, as it works with the system to provide contextual performance and battery optimization. You also lose stuff like power saving mode. That's also why I recommend against using apps to mess with the frequencies.
 
  • Like
Reactions: Ashray_Vk

BrandonPrice31

Senior Member
Jan 12, 2012
1,069
132
Indeed, it's best not to mess with all that stuff, as it works with the system to provide contextual performance and battery optimization. You also lose stuff like power saving mode. That's also why I recommend against using apps to mess with the frequencies.
Your kernel is the best.. I chose stock gestures over yours. Is that a bad idea? What's the difference?
 

flar2

Recognized Developer
Jun 11, 2012
18,897
87,868
Southwestern Ontario
elementalx.org
Your kernel is the best.. I chose stock gestures over yours. Is that a bad idea? What's the difference?

Stock gestures are fine. In fact, I recommend them for most people so they are the installer default. A few people still seem to have trouble with the custom gestures. The only reason I made custom gestures is because I don't like having to move the phone for them to work. I like to doubletap my phone when it's sitting on my desk. I don't want to have to pick it up.
 

BrandonPrice31

Senior Member
Jan 12, 2012
1,069
132
Stock gestures are fine. In fact, I recommend them for most people so they are the installer default. A few people still seem to have trouble with the custom gestures. The only reason I made custom gestures is because I don't like having to move the phone for them to work. I like to doubletap my phone when it's sitting on my desk. I don't want to have to pick it up.
My stock gestures work with phone on table. Weird eh? Or is there a timeout period
 

MassStash

Senior Member
Sep 26, 2008
3,838
2,446
36
Chicago
My stock gestures work with phone on table. Weird eh? Or is there a timeout period
There's a time out, and you have to double tap pretty central. My fix for having that enabled is just hit like 3-4 times, more towards an edge. This way the first tap or two rocks the phone a little left and right activating the accelerometer, so the 3-4 taps wake the device laying down at a desktop or somethin
 

mattman83

Senior Member
Jan 19, 2011
2,982
1,104
Brisbane
Stock gestures are fine. In fact, I recommend them for most people so they are the installer default. A few people still seem to have trouble with the custom gestures. The only reason I made custom gestures is because I don't like having to move the phone for them to work. I like to doubletap my phone when it's sitting on my desk. I don't want to have to pick it up.

Love your custom gestures too :D pocket detection is better IMO, like having the movement t requirements gone, and I can disable anything I don't use.

Every once in a while it might not wake first go, but that's still leagues ahead of the rampant pocket wakes I get with stock.

M.

Sent from my HTC One_M8 using XDA Premium 4 mobile app
 

fallenangel408

Retired Forum Moderator
Nov 21, 2008
2,872
842
killagreens, CA
tap to wake

if your having tap to wake trouble on 4.4.3 go into kernel tuner wake settings and 0 is not active 1 SHOULD be active but i had prob it was on 1 and even after reset it didnt work...so all you have to do is set wake to 2 save and reset phone. double tap to wake works perfect on mine when i restarted the setting went back to 1 but was working and working fine :)

*hope this helps
**bought the app as well thanks @flar2
 
  • Like
Reactions: flar2

nysoprano

Senior Member
Nov 5, 2009
205
12
I'm using ARHD 10.1 and my customer gestures are not working. I'm using sense toolbox to set launch app and when I do it, the app doesn't launch and the phone doesn't wake. I'm using elemental 1.0 and I even reinstalled it

Sent from my HTC One_M8 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 296
    p2214177205-11.jpg

    Kernel for HTC One (m8) Sense and Google Play Edition
    (Not for Sprint or Verizon)



    FEATURES
    • Easy installation with Aroma installer
    • overclocking
    • gboost for enhanced gaming performance
    • choose voltage profile in installer
    • full user voltage control
    • underclock CPU or GPU
    • i/o schedulers: FIOPS, SIO, CFQ, NOOP, ROW, BFQ, deadline, zen
    • optional sweep2sleep
    • optional custom wake gestures (no motion required!)
    • optional pocket detection (with custom wake gestures)
    • option to disable volume button wakes camera (with custom wake gestures)
    • High Definition Audio capability
    • optional USB fastcharge
    • option to reduce vibration strength
    • remove /system write protection
    • NTFS r/w, CIFS, exFAT support
    • option to disable fsync
    • option to disable magnetic cover
    • /dev/frandom support
    • multirom support
    • color and gamma control
    • DriveDroid support
    • optimized -O3 linaro 4.9.1


    Google+ Community



    INSTALLATION

    1. Install zip from recovery
    2. Follow the instructions, if you don't know what to do, use the preselected options
    3. Reboot

    It is recommended to disable or increase the screen timeout in TWRP recovery. If the screen timeout is enabled in TWRP, there may be a black screen after exiting the Aroma installer. This is nothing to worry about. Simply hold power and volume down until it reboots. The installation will be fine.






    Please consider a donation to support ongoing development
    Many thanks to those who have donated!






    DOWNLOADS


    Sense (Android 6.0)
    ElementalX-m8-7.01-Sense

    GPE (Android 6.0)
    ElementalX-m8-6.04-GPE

    Sense (Android 5.0.1/5.0.2)
    ElementalX-m8-4.05-Sense







    NOTES

    ElementalX Configuration File
    Your choices in the Aroma installer are used to build a configuration file. The config file is located at /etc/elementalx.conf. You can edit this file to change kernel settings. Whatever is set in this file will take effect when the device is booted (unless other scripts or apps interfere!)

    If settings are not sticking:[*]Make sure you have busybox installed correctly and updated to the latest version[*]Make sure the file permissions for /etc/init.d/99elementalx are set to execute. [*]Check to see if any /etc/init.d scripts or apps (such as Kernel Tuner or TricksterMod) are interfering with your settings.


    ElementalX Log File
    Every boot, a log file is created at /data/local/tmp/elementalx-kernel.log. This file shows the date and time and all settings that have been applied. Use this to verify and troubleshoot configuration options.


    Overclocking
    Overclocking is optional. The installer lets you choose the maximum frequency. Whatever frequencies you chose in the installer will be set at boot for each CPU. Not all devices can handle overclocking. I don't recommend overclocking, this device is fast enough. If you overclock, the CPU frequency will likely be throttled due to heat. I recommend the stock frequencies, as this device is plenty fast.


    CPU voltages
    The installer allows you to choose from several undervolting options: stock, -15mV, -30mV, or -45mV. This only undervolts the lowest frequency, which happens to be the frequency used the most, and this is safer. Be careful, lowering voltages can cause instability.


    gboost
    gboost enhances gaming performance by giving a slight boost to cpu frequencies when the graphics load is high (e.g. while gaming). It should have no effect on battery life during regular usage, so it's safe to leave it enabled all the time.


    fsync
    fsync can be disabled if you're looking for the last ounce of performance. I recommend leaving it enabled as there is a slight risk of data loss if your phone shuts off unexpectedly before filesystems are synced.


    Installing a new ROM
    If you install a new ROM, it will probably replace this with the stock kernel and will definitely overwrite /etc/init.d/99elementalx and /etc/elementalx.conf so you will lose your settings and certain features. So always reinstall the kernel after installing a ROM.


    Sweep2sleep
    Sweep2sleep allows you to put your device to sleep by swiping right to left across the bottom of the screen where the back, home, recent buttons are. I find this useful since the stock motion gestures do not provide a good way to turn off the screen.

    /sys/android_touch/sweep2sleep

    0= disabled
    1= sweep2sleep right enabled
    2= sweep2sleep left enabled
    3= sweep2sleep left and right enabled


    USB fastcharge
    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.


    Wake Gestures

    There are three modes
    • Mode 1: Stock Motion Launch Gestures
      For stock motion launch gestures, /sys/android_touch/wake_gestures, /sys/android_touch/sweep2wake and /sys/android_touch/doubletap2wake must all be set to 0. Enabling any of these overrides the stock gestures. Obviously Motion Launch Gestures must be enabled in the system settings.

    • Mode 2: Remove motion requirement
      For this, you must set /sys/android_touch/wake_gestures to 1 and enable at least one gesture in /sys/android_touch/sweep2wake or /sys/android_touch/doubletap2wake and Motion Launch Gestures must be enabled in system settings. In this mode, when you sweep or doubletap, the appropriate input events are generated and acted upon the EasyAccessService (i.e., the system app that handles gesture actions).

    • Mode 3: Traditional S2W/DT2W
      In this mode, wake gestures and actions are handled entirely by the kernel. The gestures will turn on the screen and that's it. For this, you must set /sys/android_touch/wake_gestures to 0 and enable at least one gesture in /sys/android_touch/sweep2wake or /sys/android_touch/doubletap2wake. It doesn't matter if Motion Launch Gestures is enabled or disabled in system settings, the gestures don't interact with it in this mode.


    Options

    For modes 2 and 3, there are several options.

    • Sweep2Wake

      Gesture........Value
      Sweep right......1
      Sweep left........2
      Sweep up.........4
      Sweep down....8

      Add up the values for each gesture you want to enable and put the total in /sys/android_touch/sweep2wake. For example, to enable all gestures, the value is 15 (1+2+4+8). To enable sweep right, sweep left and sweep up, the value is 7 (1+2+4)

    • DoubleTap2wake

      Set /sys/android_touch/doubletap2wake to 1 to enable DT2W, and set to 0 to disable it.

    • Pocket Detection

      Set /sys/android_touch/pocket_detect to 1 to enable pocket detection, and set to 0 to disable it. Pocket detection is experimental right now, I'd say it's about 90% functional, but there is an occasional bug where it either doesn't work or works too well.

    • Vibration Strength

      Haptic feedback can be enabled for the wake gestures in /sys/android_touch/vib_strength. This setting takes a number between 0 and 60. Default is 20, which is the same vibration as the stock gestures. Setting this to 0 disables haptic feedback.





    SOURCE
    https://github.com/flar2/m8_Sense
    https://github.com/flar2/m8-Sense-5.0.1
    https://github.com/flar2/m8-GPE-5.0.1
    https://github.com/flar2/m8-Sense-4.4.4
    https://github.com/flar2/m8-GPE-4.4.3
    https://github.com/flar2/m8-Sense-4.4.3


    .....................................................


    XDA:DevDB Information
    ElementalX-m8, Kernel for the HTC One (M8)

    Contributors
    flar2
    Source Code: https://github.com/flar2/

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: 7.01
    Stable Release Date: 2016-11-26

    Created 2014-04-04
    Last Updated 2017-03-29
    99
    Update!!!

    Let's see how this works.


    Download (Sense Android 4.4.4):
    ElementalX-m8-2.00-Sense



    Changes:
    -update to Android 4.4.4
    81
    CHANGELOG

    Oct 7, 2014: ElementalX-m8-1.08
    -fix backlight setting in installer


    Oct 6, 2014: ElementalX-m8-1.07
    -update backlight dimmer
    -lyapota's sound tweaks
    -fix pocket detection


    September 14, 2014: ElementalX-m8-1.06
    -fix backlight dimmer setting in installer


    September 14, 2014: ElementalX-m8-1.04
    -add backlight dimmer option
    -update to fauxsound 3.6


    September 10, 2014: ElementalX-m8-1.04
    -kexec-hardboot
    -update msm-sleeper


    Aug 25, 2014: ElementalX-m8-1.03
    --update latest HTC source code
    --various optimizations


    Aug 8, 2014: ElementalX-m8-1.02
    -update fauxsound drivers


    Aug 3, 2014: ElementalX-m8-1.01-Sense
    -update installer


    Aug 3, 2014: ElementalX-m8-1.01-GPE
    -update HTC source code for GPE 4.4.4
    -update installer
    -fix touch driver not loading


    July 27, 2014: ElementalX-m8-1.00-Sense
    -update to latest HTC source code
    -fix CIFS support
    -compatibility with ElementalX Kernel app
    -add vibration setting to elementalx.conf


    June 20, 2014: ElementalX-m8-0.19
    -lz4 compression
    -stereo call recording support
    -security updates
    -various tweaks and optimizations
    -custom Venom Tweaks support
    -wake gestures: compatibility with Dot View Case


    June 3, 2014: ElementalX-m8-1.00-GPE
    -update for GPE Android 4.4.3


    May 25, 2014: ElementalX-m8-0.18
    -add proximity enabled flag
    -adjust sensor initialization


    May 24, 2014: ElementalX-m8-0.17
    -O3 optimization
    -allow more time for sensor initialization
    -adjust gesture algorithm to better prevent accidental sweeps
    -added some debugging messages for proximity detector (Sense version only)


    May 19, 2014: ElementalX-m8-0.16
    -build with Linaro GCC 4.9.1 toolchain (@Christopher83)
    -boot delay for custom wake gestures
    -GPE version added


    May 13, 2014: ElementalX-m8-0.15
    -option to disable volume buttons launch camera in landscape


    May 12, 2014: ElementalX-m8-0.14
    -fix custom gestures in dot view mode
    -improvements to pocket detection
    -fix startup of mcu
    -update installer


    May 9, 2014: ElementalX-m8-0.13
    -fix vibrations during phone calls when wake gestures enabled
    -fix proximity sensor not working properly during calls
    -fix wake gestures not working with certain firmware
    -update installer


    May 7, 2014: ElementalX-m8-0.12
    -update slimbus oc (poondog/zeroinfinity)
    -fix installer (incorrect vibration setting)


    May 7, 2014: ElementalX-m8-0.11
    -add wake gestures
    -add sweep2sleep options
    -update installer


    April 29, 2014: ElementalX-m8-0.10
    -enable high definition audio
    -remove hardfloat flag
    -add GPU governor option
    -add GPU underclocking
    -update installer (thanks @jonas2295 for the new splash!)


    April 20, 2014: ElementalX-m8-0.9
    -update installer
    -adjust voltages
    -add underclocking
    -add option to disable magnetic cover sensor
    -reduce logspam
    -fix pvs readout


    April 14, 2014: ElementalX-m8-0.8
    -update installer
    -adjust oc voltages
    -change undervolting
    -add voltage control (thanks @myfluxi)


    April 13, 2014: ElementalX-m8-0.7
    -update installer
    -add gboost
    -bump oc voltages


    April 12, 2014: ElementalX-m8-0.6
    -update to HTC 1.54 kernel source
    -add option for reduced button vibration
    -add faux123 sound support
    -use custom dt.img


    April 10, 2014: ElementalX-m8-0.5
    -add max screen off frequency (default 1090MHz)
    -fix overclocking and adjust voltages
    -add more overclocking steps
    -add thermal options


    April 6, 2014: ElementalX-m8-0.4
    -update ramdisk
    -update installer
    -revert some changes so stock modules will load
    -show pvs bin in sysfs
    -exfat working (uses stock texfat module)
    -remove F2FS support
    -use stock wifi module
    -add CIFS and NTFS support
    -add PS3 controller support
    -tcp congestion control options
    -add DriveDroid support


    April 5, 2014: ElementalX-m8-0.3
    -add Aroma installer
    -overclocking
    -undervolting options


    April 4, 2014: ElementalX-m8-0.2
    -Fastcharge for HTC One m8
    -LCD_KCAL Colour Control for m8
    -exFAT support
    -FS: import F2FS
    -fix for app-mounted directories
    -DRIVERS: SLIMBUS: initial overclocking


    April 4, 2014: ElementalX-m8-0.1
    -Add fsync disable option
    -Add pronto wlan driver
    -Add sweep2sleep
    -usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
    -ARM CPU Topology and cpu_power driver
    -allow moc-crypto modules to load
    -Add SIO and FIOPS i/o schedulers
    -Add /dev/frandom support
    -Initial Commit: HTC Source g278eae8
    67
    Update on the modifications to motion launch gestures:

    The news is good, lots of options are coming for wake gestures, and they don't cause battery drain.

    You'll be able to choose from stock motion launch gestures, motion launch gestures that work without moving the phone, and traditional s2w/dt2w. Should have pocket detection as well.

    I still have lots of work to do to make everything work seamlessly.

    Should be ready sometime this week.
    55
    UPDATE!


    -better compatibility of custom gestures with Dot View Case. Let me know if there are still issues.
    -updates to proximity and motion sensor code from GPE 4.4.3 kernel
    -stereo call recording support
    -security updates
    -faster boot time
    -custom Venom Tweaks options. Many kernel options can now be set in Venom Tweaks if you are using the latest ViperOneM8.




    Download:
    ElementalX-m8-0.19-Sense




    Changes:
    -lz4 compression
    -stereo call recording support
    -security updates
    -various tweaks and optimizations
    -custom Venom Tweaks support
    -wake gestures: compatibility with Dot View Case