Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,941 Members 38,414 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL][aw3som3]Cody Kernel ~ 08||Aug||14

Tip us?
 
thewisenerd
Old
#1  
Senior Member - OP
Thanks Meter 2,410
Posts: 1,099
Join Date: Sep 2012
Default [KERNEL][aw3som3]Cody Kernel ~ 08||Aug||14

f.a.q:
1. My device rebooted or crashed, how can I help?
A: Get me /proc/last_kmsg on pastie.org.
2. Battery sucks, my device is not entering deep sleep. FIX PLOX!
A: Get the name of kernel (parital) wakelock that's keeping your device awake
4. Do I need to wipe anything when flashing this kernel?
A: No
5. Does this kernel has X or Y mod?
A: Learn to read, everything you need to know is in the features list, changelog or public repo.

downloads: d-h.st

The zip's are named in the following fashion:
Code:
output_<date>_<month>_<year>-<revision>.zip
source:
https://github.com/thewisenerd/android_kernel_htc_pico

kernel changelog:
http://forum.xda-developers.com/show...05&postcount=3

XDA:DevDB Information
Cody Kernel, Kernel for the HTC Pico (Explorer)

Contributors
thewisenerd
Kernel Special Features:

Version Information
Status: Stable

Created 2014-01-11
Last Updated 2014-08-08
The Following 38 Users Say Thank You to thewisenerd For This Useful Post: [ Click to Expand ]
 
thewisenerd
Old
(Last edited by thewisenerd; 25th July 2014 at 08:51 PM.)
#2  
Senior Member - OP
Thanks Meter 2,410
Posts: 1,099
Join Date: Sep 2012
Info 2 features

Terminal commands for some of the options in this kernel:

vibrator voltage
echo i > /sys/devices/virtual/timed_output/vibrator/voltage
replace i with 2100-3100 of your choice

sweep2wake
echo 1 > /sys/android_touch/sweep2wake/enable - to enable
echo 0 > /sys/android_touch/sweep2wake/enable - to disable

echo i > /sys/android_touch/sweep2wake/xres_min_width - to set min width to swipe
replace i with 0(?)-924 of your choice

echo 1 > /sys/android_touch/sweep2wake/s2s_only - to enable sweep2sleep only
echo 0 > /sys/android_touch/sweep2wake/s2s_only - to disable sweep2sleep only

doubletap2wake

echo 1 > /sys/android_touch/doubletap2wake/enable - to enable doubletap2wake
echo 0 > /sys/android_touch/doubletap2wake/enable - to disable doubletap2wake

echo i > /sys/android_touch/doubletap2wake/timeout_max - to set max timeout b/w two taps
replace i with 0(?)-1000 of your choice (should be greater than timeout_min's value)

pocketmod

echo 1 > /sys/android_touch/pocket_mod/enable - to enable pocket detection before waking device, etc
echo 0 > /sys/android_touch/pocket_mod/enable - to disable pocket detection before waking device, etc

sound Control
echo i > /sys/sound_control/volume_boost

Replace i with 0-8 of your choice (0 being no boost, 4 being 1 times original, and 8 being 2 times original volume) (prolonged audio output at 8 (speakers) might blow 'em)

USB fast charge
echo 1 > /sys/kernel/fast_charge/force_fast_charge - to enable
echo 0 > /sys/kernel/fast_charge/force_fast_charge - to disable

BLN
echo 1 > /sys/class/misc/backlightnotification/enabled - to enable
echo 0 > /sys/class/misc/backlightnotification/enabled - to disable

static backlights
echo 1 > "/sys/class/misc/backlightnotification/in_kernel_static" - to enable
echo 0 > "/sys/class/misc/backlightnotification/in_kernel_static" - to disable

static backlights max time
echo i > "/sys/class/misc/backlightnotification/static_maxtime"
replace i with preferred lights timeout in seconds (from 1 to 3600 sec = 1 hour)
the default value is 60 seconds = 1 minute.

blinking backlights
echo 1 > "/sys/class/misc/backlightnotification/in_kernel_blink" - to enable
echo 0 > "/sys/class/misc/backlightnotification/in_kernel_blink" - to disable

blinking backlights max time
echo i > "/sys/class/misc/backlightnotification/blink_maxtime"
replace i with preferred lights timeout in seconds (from 1 to 3600 sec = 1 hour)
the default value is 60 seconds = 1 minute.

lights interval
echo i > "/sys/class/misc/backlightnotification/blink_interval" - sync'ed lights on/off interval
echo i > "/sys/class/misc/backlightnotification/blink_interval_on" - lights on interval
echo i > "/sys/class/misc/backlightnotification/blink_interval_off" - lights off interval
replace i with preferred interval in milliseconds for the related blink transition
the default value is 500 milliseconds.

set static lights after blink timeout
echo 1 > "/sys/class/misc/backlightnotification/status_after_blinking" - to enable
echo 0 > "/sys/class/misc/backlightnotification/status_after_blinking" - to disable

TCP Congestion Algorithm interface
To check all the available options:

sysctl net.ipv4.tcp_available_congestion_control

To change to other option:

sysctl -w net.ipv4.tcp_congestion_control=NAME_OF_THE_ALGORI THM

Detailed test of available algorithms:

Quote:
Latency - Download - Upload

cubic:
1st run: 15ms - 10,75Mbps - 7,82Mbps
2nd run: 14ms - 10,84Mbps - 8,06Mbps

reno:
1st run: 13ms - 15,51Mbps - 6,73Mbps
2nd run: 13ms - 14,73Mbps - 8,51Mbps
The Following 20 Users Say Thank You to thewisenerd For This Useful Post: [ Click to Expand ]
 
thewisenerd
Old
(Last edited by thewisenerd; 8th August 2014 at 06:28 PM.)
#3  
Senior Member - OP
Thanks Meter 2,410
Posts: 1,099
Join Date: Sep 2012
Info 2 changelog

08Aug2014
- aw3som3: rearrange and relay the partition table

 


26Jul14
  • Compiled with the gcc-arm-none-eabi-4_8-2014q2
  • dm: use vzalloc (credits to Joe Perches)
  • power: don't wait for timeout if sys_sync completes early (credits to Sachin Thomas)
  • pico: wifi: Add custom country-code table (credits to Sachin Thomas)
  • board-pico-wifi: Revert some changes to improve stability (credits to Sachin Thomas)
  • WiFi toggle fix (credits to Sachin Thomas)
  • msm: Create shadow files under /sys/kernel/ipv4 (credits to Ravi Joshi)
  • WLAN subsystem: Sysctl support for key TCP/IP parameters (credits to Mahesh A Saptasagar)
  • lowmemorykiller updates (credits to Sachin Thomas)
  • msm: kgsl: Fix spinlock recursion in destroy pagetable (credits to Prakash Kamliya)
  • msm: kgsl: prevent kgsl_get_pagetable from returning a destroyed pt (credits to Jeff Boody)
  • msm: kgsl: Look up the process struct in process_mem_open() (credits to Jordan Crouse)
  • msm: kgsl: hold a process_private refcount in process_mem_print (credits to Jeremy Gebben)
  • msm: display: Buffer sync point support (credits to Ken Zhang)
  • Revert "add mdp_display_commit struct to hackishly fix display-legacy-exp build"
  • qdsp5: Add vocpcm driver (credits to Sachin Thomas)
  • pico_defconfig: enable BLN && BLN Blinks by default
  • misc: bln: import BLNv10 with updates and changes by Christopher83
  • aw3som3: set msm_nand_data.parts later

02Jul2014
  • BLN: add a simple "count" function (thewisenerd)
  • fixup "LOAD_FREQ (4*HZ+61) avoids loadavg Moire" by Klaus (thewisenerd)

02Jul2014http://goo.gl/PhMxEA
  • msm_vibrator: fixup range checking logic && set permissions to 0777 to sysfs entry (thewisenerd)
  • update BFQ to v7r5 (thewisenerd)
  • towake.c: remove dt2w_min_timeout code (un-necessary) (thewisenerd)
    Gleixner)

01Jul2014
  • futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == uaddr2 in futex_requeue(..., requeue_pi=1) (Thomas Gleixner) (vulnerability fix)
  • n_tty: Fix n_tty_write crash when echoing in raw mode (Peter Hurley) (vulnerability fix)
  • drivers/tty: Add back htc related stuff (thewisenerd)
  • towake: remove un-needed variable in doubletap2wake_func (thewisenerd)

30Jun14
  • (thewisenerd) : towake.c: initialise && move to
  • (thewisenerd) : msm_vibrator: retain set vibrator_level if values set in sysfs are out of range
  • (thewisenerd) : aw3som3: hax the partition table!
  • (Sachin Thomas) : ion_platform_data: Enable has_outer_cache
  • (thewisenerd) : add uksm 0.1.2.2 for v3.0 .ge.84.patch
  • (thewisenerd) : volume_boost: add QDSP5_VOLUME_BOOST_HAX
  • (thewisenerd) : himax8526a: fix improper usage of printk's (there might be more) //todo: find and fix remaining printk's
  • (thewisenerd) : msm_vibrator: add a voltage toggle in sysfs
  • (Ezekeel) : Added SLQB memory allocator.
  • (thewisenerd) : set max_readahead to 256 kbytes (testing)
  • (thewisenerd) : update msm_vibrator.c from caf kk_3.5
  • (thewisenerd) : Squashed update drivers/tty to 3.0.101

07Jun14
  • Compiled with the gcc-arm-none-eabi-4_8-2014q1
  • Fix build with SM 4.8.3


04Jun14
  • Latest BCMDHD drivers from grouper (Sachin Thomas and galaxyfreak)
  • Fix missing is_screen_on declaration with s2w enabled but dt2w disabled (@Mystic-Mirage)
  • implement pocket mod hook in BLN (this will save your battery :) )

02Jun14
  • Add backlight notification support for Pico
  • cpufreq: Fix broken uevents for cpufreq governor and cpu devices
  • msm_fb: Update from protou
  • Update to KK-2.7 KGSL
  • Add PocketMod to the Capella CM3628
  • Bring in PocketMod on Himax8526A touchscreen sensor

19May14
13May14
  • msm_fb: display: clean dsi fifo during dsi_off
  • Enable nand_ecc (ECC algorithm that detects and corrects 1 bit errors in a 256 byte block of data)
  • CONFIG_HIGHMEM=y
  • Increase vmalloc reserve from 16M to 32M

9May14
  • Update BFQ to v7r3
  • block, bfq: add Early Queue Merge (EQM) to BFQ-v7r3 for 3.0.0
  • tune CFQ
  • ion: Port from sultan-kernel-pyramid-pure (CAF KitKat msm-kk_2.7_rb1.X)

8May14
  • added PMEM_CACHE_FLUSH to driver (credits to agrabren)
  • Update genlock from kk_2.7-stable (sachinthomaspj)
  • Separate DT2W and S2W (DT2W no longer dependant on S2W)
  • Remove DT2S
  • Enable ext2/3, exfat
  • msm: qdsp5: Fix logging adsp messages for 32-bit address
  • msm: acpuclock-7201: Fix table index for precomputing frequency jump
  • msm: acpuclock-7201: Add support for updating lpj in acpuclock
  • msm: acpuclock-7201: Add delay for apps cpu clock switch
  • msm-fb: display: Reducing the display wake up time
  • Fast Charge ported (szezso), hackishly /*is that even a word!?*/ fixed (thewisenerd)
  • board-pico-keypad: enable debounce_time, to fix multiple power button inputs. (galaxyfreak)
  • Build S2W, DT2W, but not enable it. (With power button fixed, not needed.)

7May14
  • Implemented USB Fastcharge In kernel
  • Fixed Power Button
  • Updated Genlock to Kitkat
  • Default Frequency Between 122 Mhz - 678 Mhz ( Dont worry Its safe OC)
  • Thermal activated
  • Tweaks here and there


21Mar14
  • Permanently turned off DT2S
  • Disabled CIFS. Of no real use

20Mar14
  • Reverted to old net subsystem, as I was experiencing some very random glitches in net connectivity
  • Added DT2W/DT2S with toggle

24Feb14
  • updated entire net subsystem (thanks to sultanxda) from Google common 3.0 kernel.

23Feb2014
  • added ntfs r/w support in kernel (note: supportive changes need to be made in fstab.pico, and/or boot.img's mount arguments)
  • added cifs as a module (remove this from zip, if you don't plan to use this)
  • overclocking added (use this script, if you want to overclock: http://forum.xda-developers.com/show...4&postcount=43)

11Jan2014
  • Initial Release

The Following 9 Users Say Thank You to thewisenerd For This Useful Post: [ Click to Expand ]
 
gauravrai
Old
#4  
gauravrai's Avatar
Senior Member
Thanks Meter 103
Posts: 553
Join Date: Jun 2013
Location: Lucknow
Good work bro....
Does it has s2w disableing feature also?

Sent from my HTC Explorer A310e using XDA Premium 4 mobile app
CM 10.2 JellyBean 4.3.1

PhilZ Touch Recovery [v5.15.0]

Guys Don't Forget To Hit Thanks If I helped U
 
Chemical47
Old
#5  
Chemical47's Avatar
Senior Member
Thanks Meter 34
Posts: 136
Join Date: Jul 2013
Location: Lahore
Fantastic bro
http://s5.postimg.org/qjoqn431j/HTC_EXPLORER_Sense5.png
The Following User Says Thank You to Chemical47 For This Useful Post: [ Click to Expand ]
 
mrchezco1995
Old
#6  
mrchezco1995's Avatar
Senior Member
Thanks Meter 316
Posts: 172
Join Date: May 2012
Location: Balagtas
Gonna install this tomorrow . Good work by the way




Sent from Ponyville
Hit the thanks button if I help
MY WORK:


Devices:
 

HTC Explorer
- CM10.2
- Aries V3.5 Kernel PLL2 OC @ 767mhz

Cherry Mobile Flare/Karbonn A9+
- My own unbloated 4.1.2 rom
- Stock 3.4.0 Kernel with init.d enabled

Huawei Ascend G510-0200
- EMUI 1.5 Rooted
- Stock 3.4.0 kernel with init.d enabled

Huawei MediaPad 10 LINK S10-201u
- Stock Rooted
- Stock 3.0.8 Kernel
The Following User Says Thank You to mrchezco1995 For This Useful Post: [ Click to Expand ]
 
v_superuser
Old
#7  
v_superuser's Avatar
Senior Member
Thanks Meter 1,356
Posts: 478
Join Date: Jan 2013
Location: Jammu

 
DONATE TO ME
Quote:
Originally Posted by gauravrai View Post
Good work bro....
Does it has s2w disableing feature also?

Sent from my HTC Explorer A310e using XDA Premium 4 mobile app
Yes. Like in all S2w kernels!



Join the HTC Desire 816 Facebook group for all Development Info and Discussion!

Code:
Select Code
<galaxyfreak> - If we had time and will to develop something, why it's so hard for you to read how to use it?
The Following User Says Thank You to v_superuser For This Useful Post: [ Click to Expand ]
 
jime1
Old
#8  
jime1's Avatar
Senior Member
Thanks Meter 50
Posts: 405
Join Date: Jul 2013
Location: Nagpur
Cool Bro!! Does it help save battery drain?? I Hope
Never Forget The ******THANKS****** Button !!
Phone:- HTC Explorer, code-named Pico
Android version: 4.4.4
Kernel version: 3.0.101 -gdbd42a7
Baseband version: 10.43.80.14U_1.18.80.18
Recovery : aw3som3 TWRP v 2.7.0.0 by thewisenerd
[ROM][KK 4.4.4][KTU84P] CyanogenMod 11 Weekly Builds [Build#6] - 14/07/2014 by kirmaniarslan
 
dhrumangajjar
Old
(Last edited by dhrumangajjar; 20th March 2014 at 09:56 AM.)
#9  
dhrumangajjar's Avatar
Senior Member
Thanks Meter 35
Posts: 169
Join Date: Feb 2013
Location: Rajkot
Cool Cody-Kernel For OmniRom

Yo Peeps,

As you know (even if you dont know ) OmniRom uses different ramdisk for booting kernel

So the default kernel wont boot in omni rom

so here is the cody-kernel v1 for OmniRom ramdisk to boot on that...
Attached Files
File Type: zip Cody-Kernel-v1-Omni.zip - [Click for QR Code] (3.59 MB, 216 views)
Hit thanks if I've Helped you.
The Following 2 Users Say Thank You to dhrumangajjar For This Useful Post: [ Click to Expand ]
 
gauravrai
Old
#10  
gauravrai's Avatar
Senior Member
Thanks Meter 103
Posts: 553
Join Date: Jun 2013
Location: Lucknow
Can any1 make one copy for jellybean 4.3.1

Sent from my HTC Explorer A310e using XDA Premium 4 mobile app
CM 10.2 JellyBean 4.3.1

PhilZ Touch Recovery [v5.15.0]

Guys Don't Forget To Hit Thanks If I helped U

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes