FORUMS
Remove All Ads from XDA

[KERNEL][Sep14] ElementalX-1.3 | Universal | S2W | DT2W | Android 4.3

13,669 posts
Thanks Meter: 68,822
 
Post Reply Email Thread

Custom kernel for the Motorola Xoom


LATEST RELEASE: ElementalX-Xoom-2.1 (December 10, 2013)


Code:
* Standard disclaimer: 
* Your warranty is now void.  Use at your own risk.
* In other words: It is your choice to use this software,
* I am not responsible for any damage or problems!

Quote:

FEATURES:

  • compatible with all ROMs, including Android 4.3
  • sweep2wake
  • doubletap2wake
  • Overclock to 1.7GHz
  • user voltage interface
  • GPU overclock
  • OTG support
  • ROW scheduler
  • zRam with Google's snappy compression
  • governors: interactiveX2, smartassv2, intellidemand, lagfree, lionheart
  • NTFS read/write support
  • optional exFAT support
  • battery saving tweaks




DOWNLOAD


Latest version (requires big part mod):

ElementalX-Xoom-2.1

ElementalX-Xoom-2.1-vanilla (no GPU overclock)




Previous version (for those without the bigpart mod)

ElementalX-Xoom-v1.3

ElementalX-Xoom-v1.3_vanilla (no GPU overclock)




Previous versions:
ElementalX-Xoom-v1.2
ElementalX-Xoom-v1.2_vanilla (no GPU overclock)
ElementalX-Xoom-v0.8

ElementalX-Xoom-v0.7:
Wingray
Stingray
Everest
CM10.1-Wingray
CM10.1-Stingray
CM10.1-Everest

ElementalX-Xoom-v0.5-Wingray
ElementalX-Xoom-v0.5-Stingray
ElementalX-v0.4: http://goo.gl/fdKEE
ElementalX-v0.2: http://goo.gl/PD1sx
ElementalX-v0.1: http://goo.gl/kXvRW






INSTALLATION

Install zip from recovery.

You must have an existing working kernel for the ROM you are using, and you must reflash this kernel whenever you change to a different ROM. The reason is that the universal installer injects the ElementalX kernel into whatever boot.img that is currently installed.




Please hit the Thanks button if you download this

If you really like it, please consider buying me a beer


Actually, I won't spend it on beer. I'm saving it up for my next device




Thanks:

dreamcwli for initial kernel source
TDR, kcrudup, bigrushdog and everyone else who came before me




NOTES:

Compatibility
Works on all Xoom models: wingray, stingray and everest. As of version 1.0, it should work on any ROM. I have tested it on EOS4, My Android, CM10.1, CM10, Baked BB8 and Orca. It should work on others, including Android 4.3


Versions
The vanilla version does not overclock the graphics. I recommend using the regular version unless you are specifically having issues due to the overclocked graphics.


Configuration
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. A log file is stored at /data/local/tmp/elementalx.log


Sweep2Wake
I totally revamped sweep2wake. To put the screen to sleep, you now have to swipe along the edges. You can swipe anywhere to turn the screen on. There is a new option for sweep2sleep only.

0=disabled
1=sweep2wake/sweep2sleep (default)
2=sweep2sleep only

/sys/android_touch/sweep2wake


There is also an option called shortsweep (enabled by default) so you don't have to sweep all the way across the screen. You can turn the shortsweep option off.

0=disabled
1=enabled (default)

/sys/android_touch/shortsweep


Doubletap2wake
Doubletap2wake is another new feature. You can turn the screen on by double tapping anywhere on the screen.

0=disabled
1=enabled (default)

/sys/android_touch/doubletap2wake

If you are one of those with sleep of death from sweep2wake, you might want to try sweep2sleep only and doubletap2wake disabled. Then you can still sweep your screen to sleep, but the touch driver acts completely as stock during suspend.

All these options can be changed in /etc/elementalx.conf so they are automatically set at boot.


zRam
zRam creates a compressed block device in RAM that is used as swap. Although it claims some of your RAM as swap, everything written to swap is compressed. This increases the apparent memory available to the system and helps with multitasking. Swap files on disk are very slow, but with zRam the swap is on RAM so it can be read as quickly as regular memory. Even though the data need to be decompressed, modern CPUs can decompress quicker than if it had to be to read from disk. The penalty is cpu usage, which could drain battery; however, this is likely negligable in daily use. I didn't enable this by default because not everyone will want it. This is for heavy multitaskers and will allow you to quickly switch between more apps and have more tabs open in your browser without refreshes.

zRam is disabled by default. If you want to enable it, edit /etc/elementalx.conf
change ZRAM=0 to ZRAM=1 and reboot.

You can check if zRam is working by typing the command "free" into the terminal. You should see the total used and free swap. If these are all 0, then zRam is not enabled.


Governors
Intellidemand is the recommended governor, but there are several to choose from. If your ROM has performance settings, check that your desired governor selected.


Max Screen Off Frequency
You can toggle max screen off and change the max screen off frequency by editing /etc/elementalx.conf.

If you want to edit the settings directly, the sysfs entries are at /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_enabled and /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq
Editing those files doesn't persist after a reboot, if you want the setting to persist, edit /etc/elementalx.conf

If you have instability or reboots while the screen is off, disable max screen off frequency.


exFAT support
There is also optional support for the exFAT filesystem. A module has to be loaded for it to work, it is not loaded by default. The option to load it at boot is in /etc/elementalx.conf




Quote:


CHANGELOG:

December 10, 2013 - ElementalX-Xoom-2.1
-fix power button


December 9, 2013 - ElementalX-Xoom-2.0
-compatible with bigpart mod
-adjust doubletap2wake
-numerous other changes that hopefully make it snappier


September 14, 2013 - ElementalX-Xoom-v1.3
-redo sweep2wake
-add doubletap2wake
-enable selinux
-optional exFAT support
-disable max screen off frequency by default


April 11, 2013 - ElementalX-Xoom-v1.2
-disable MMC deferred resume (thx cyanogenmod team)


April 7, 2013 - ElementalX-Xoom-v1.1
-fix: boot frequency is max 1000MHz
-add toggle for max screen off
-add adjustable max screen off frequency


April 5, 2013 - ElementalX-Xoom-v1.0
-vanilla version does not overclock graphics (oc version is recommended unless you have problems)
-s2w: choose 1 or 2 finger sweep
-s2w: fixed to ensure only single motion is detected
-add ROW scheduler
-ROW is now default scheduler
-automatic process group scheduling
-added Joe's RCU
-screen off max frequency of 486MHz
-cpu1 off when screen is off
-enable extra CIFS stuff
-avoid loadavg moire
-add arm cpu topology
-universal installer is now fully universal


March 18, 2013 - ElementalX-Xoom-v0.8
-optimized build -O3 Linaro 4.7.3
-universal installer


March 11, 2013 - ElementalX-Xoom-v0.7
-fix nvmap.c warning
-fix init script (was stalling during boot)


March 10, 2013 - ElementalX-Xoom-v0.6
-add kernels for all Xoom subtypes
-add kernels for Cyanogenmod 10.1
-dual zram
-add sweep2wake options in /etc/elementalx.conf
-disable gentle fair sleepers
-speed up framebuffer copy
-use glibc memcpy
-use glibc string
-optimized ARM rwsem algorithm
-Makefile optimizations
-lower transition latency:
-readahead set to 2048
-noatime, nodiratime by default
-switch do_fsync() to fget_light()
-add /dev/frandom
-disable preemption in machine_shutdown
-remove clock sleepable warning
-Drop GFP_COMP for DMA memory allocations
-use memory compaction
-correct check in dev_addr_del()
-fix 32-bit overflow in get_monotonic_boottime
-Fix L2X0_AUX_CTRL_WAY_SIZE_MASK
-enable l2 cache data prefetch
-update tegra i2c
-disable preemption when reading CCSIDR
-use kzalloc instead of kmalloc
-switch to kzalloc/vzalloc


February 16, 2013 - ElementalX-Xoom-v0.5
-patched up to dreamwcli's latest source (wifi tether support)
-added dancedance (credit snuzzo and The Captain)
-Makefile optimizations


February 12, 2013 - ElementalX-Xoom-v0.4
-sysfs interface for sweep2wake
-added governors: interactiveX2, smartassv2, intellidemand, lagfree, lionheart
-added zRam with Google snappy compression
-fix init.d support
-add init script and config file


February 12, 2013 - ElementalX-Xoom-v0.2
-tweak overclocking and cpufreq driver
-add GPU overclock
-add installer
-increase readahead to 1024MB
-allow CPU-supported unaligned accesses
-add NTFS write support


February 11, 2013 - ElementalX-Xoom-v0.1
-Initial release (beta)
-based on dreamcwli kernel http://forum.xda-developers.com/show....php?t=1997434
-add sweep2wake


Source:
ElementalX-Xoom
sweep2wake patch: http://goo.gl/ImX9v

.
The Following 89 Users Say Thank You to flar2 For This Useful Post: [ View ]
 
 
12th February 2013, 04:33 AM |#2  
I hate the power button on the Xoom, so I decided to implement Sweep2wake. I just started working on this last night, so I haven't done any changes other than sweep2wake. Once sweep2wake is working well, I will add a bunch of other features.

I'll update the OP properly later this week.
The Following 5 Users Say Thank You to flar2 For This Useful Post: [ View ]
12th February 2013, 04:03 PM |#3  
Senior Member
Flag Tucson, AZ
Thanks Meter: 376
 
More
Awesome stuff, gonna try it tonight. Should this work on CM10.1? what about Stingray?

There are many governors available for other devices, any chance you can include them in this one?

Thanks for the effort, we've been starving for new kernels for a long time now...
12th February 2013, 04:11 PM |#4  
Quote:
Originally Posted by shpitz461

Awesome stuff, gonna try it tonight. Should this work on CM10.1? what about Stingray?

There are many governors available for other devices, any chance you can include them in this one?

Thanks for the effort, we've been starving for new kernels for a long time now...

I will be adding more features and an installer sometime this week.

I think CM10 needs a different kernel, but I'm not sure. If you try it, let me know if it works. I've only tested on My Android and EOS4.

If someone could let me know what needs to be added for Stingray, I could give it a shot but I wouldn't be able to test it since I have the wifi only xoom. Is the modem the only difference between Stingray and Wingray?
12th February 2013, 04:27 PM |#5  
Senior Member
Flag Tucson, AZ
Thanks Meter: 376
 
More
I don't have a clue, but will try tonight
12th February 2013, 11:43 PM |#6  
grey.ghost's Avatar
Senior Member
Flag North Carolina
Thanks Meter: 118
 
More
Re: [KERNEL] [Xoom WiFi] [Feb11] ElementalX-Xoom-v0.1 | OC | UV | SWEEP2WAKE
Dude, thanks for another option!

Sent from my Xoom using Tapatalk 2
13th February 2013, 01:26 AM |#7  
Senior Member
Flag Tucson, AZ
Thanks Meter: 376
 
More
OK, tried it just now and it won't boot, stuck at the boot animation of CM10.1 nightly 02112013 (Stingray).

Any logs I can pull? Followed the steps in the OP.

EDIT: Flashed boot.img from the cm-10.1-20130211-NIGHTLY-stingray.zip, booted fine.

EDIT2: I wonder if i need to flash radios after the kernel?
13th February 2013, 01:42 AM |#8  
Quote:
Originally Posted by shpitz461

OK, tried it just now and it won't boot, stuck at the boot animation of CM10.1 nightly 02112013 (Stingray).

Any logs I can pull? Followed the steps in the OP.

EDIT: Flashed boot.img from the cm-10.1-20130211-NIGHTLY-stingray.zip, booted fine.

EDIT2: I wonder if i need to flash radios after the kernel?

I don't think your mobile will work, this is based on dreamcwli's kernel, which currently only has full support for wingray and everest. This will work on stringray except the mobile data connection.

It appears this does not work with CM10 (I'm not surprised)
13th February 2013, 02:10 AM |#9  
Senior Member
Flag Tucson, AZ
Thanks Meter: 376
 
More
Installed it on the other Stingray tablet running My Android (don't have data activated on it) and it works fine.

What do you use to control the kernel? freqs, voltages, gpu, etc...?
13th February 2013, 04:14 AM |#10  
Quote:
Originally Posted by shpitz461

Installed it on the other Stingray tablet running My Android (don't have data activated on it) and it works fine.

What do you use to control the kernel? freqs, voltages, gpu, etc...?

Haven't used my xoom much lately, but CPU Master seems to work.







______________________________________



so, anyone try sweep2wake yet?









.
13th February 2013, 04:16 AM |#11  
mcarrion78's Avatar
Senior Member
Fayetteville NC
Thanks Meter: 25
 
More
Re: [KERNEL] [Xoom WiFi] [Feb12] ElementalX-Xoom-v0.2 | OC | UV | SWEEP2WAKE
Nice vid. Kinda pissed i didnt bring my xoom ti my girls so i could flssh this right now. Keep up the good work

Sent from my Galaxy Nexus using Tapatalk 2
Post Reply Subscribe to Thread

Tags
kernel, sweep2wake, xoom

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes