[2012.Feb.14][DEV][KERNEL AOSP] fikret HD2: 2.6.35.14 - r2.16 - HD2 Android NAND Development

fikret HD2: 2.6.35.14 - r2.16
This kernel is based on the HTC Desire 2.6.35.14 kernel source code ported by warrenb213 and Marc1706 with help from Markinus' CyanogenMod kernel source.
THIS IS A CM and AOSP KERNEL, based on NON-SENSE branch
Please be respectful of others and please do not flood this thread with support questions if you are a normal user. Instead, as a user, if you encounter a bug please see if it is on the current bug list. If it is not, then please post a reply to this thread with your bug.
If you have a question about how to install this kernel or how to compile it, this thread is NOT FOR YOU.
Most importantly, this is a development thread. Please DO NOT EXPECT SUPPORT HERE.
Primary features:
• Default CPU governor: ONDEMAND
• Available CPU governors: interactive, conservative, userspace, powersave, ondemand, performance, smartassV2, InteractiveX, Smartass, Smoothass, Savagedzen, Virtuous, Scary, Superbad, Lagfree, Skywalker and HYPER
• Default CPU frequency: 245-998 MHz
• Support underclocking to 96MHz (via NoFrills CPU or shell script, PLEASE DO NOT USE SetCPU)
• Support overclocking to 1.5GHz. (via NoFrills CPU or shell script, PLEASE DO NOT USE SetCPU)
• Default I/O Scheduling: deadline
• Available I/O schedulers: no-op, deadline, CFQ
• Full cLK bootloader support (Credits: cedesmith)
• Wi-Fi IEEE 802.1x/EAP authentication (Credits: tytung)
• Unique Wi-Fi MAC address (for MAGLDR and cLK) (Credits: markinus)
• Unique Bluetooth MAC address (Credits: markinus and tytung)
• Official HTC extended battery support (HTC EB 2300mAh) (Credits: arne)
• File systems support: Yaffs, Ext2/3/4, CIFS, FUSE
• ALSA sound driver as kernel modules (alsa-pcm-htc-leo.ko and alsa-mix-htc-leo.ko) (Credits: Cotulla)
• G-Sensor freeze fix (Credits: mdebeljuh and jdivic)
• Wakeup lag fix for AUO panels (Credits: mdebeljuh and jdivic)
• Added Headset Fix (by CM Team and Marc1706)
• Overclocked Camera to 83mhz
• Added HTC Auto White Balance
• Use PM_FAST (fast sleep) in standby for WIFI (by Marc1706)
• audio: add proc file interface /proc/mic_level and fix mic gain (Credits to mdebeljuh and jdivic)
• Compressed in-memory swap device (zram)
• Tweak camera (better picks in dark, less greeny) (by Marc1706)
• Working wireless hotspot
Credits: Cotulla, DFT, markinus, hastarin, tytung, marc1706, copenhagen, warrenb213, rafpigna, pongster
Currently working:
• Data
• Wifi
• Bluetooth
• LED Notifications
• G-Sensor
• Camera
• Camcorder
• Auto-Backlight
• CPU scaling
• Working wireless hotspot
• native usb tethering? use wired tether
Currently known bugs:
- None? (Please test usb tethering)
Source code is here: http://github.com/fhasovic/desire_kernel_35
cLK and MAGLDR versions both includes hyperdroid's initrd.
SOME HELP NEEDED!
My TMOUS HD2 have several bad blocks, and I am struggling to make it work at times. I would like to continue developing for HD2, but I need to buy new HD2...
DOWNLOAD:
CALLREC is default now! See this for more info!
Hyperdroid
r2.16-cLK-HD
r2.16-MAGLDR-HD
IceCreamTosti
r2.16-cLK-ICS
r2.16-MAGLDR-ICS
STANDARD for Hyperdroid
r2.14-cLK-HD
r2.14-MAGLDR-HD
STANDARD for ICS
r2.14-cLK-ICS
r2.14-MAGLDR-ICS
STANDARD for Hyperdroid
r2.13-cLK-HD
r2.13-MAGLDR-HD
STANDARD for ICS
r2.13-cLK-ICS
r2.13-MAGLDR-ICS
STANDARD for Hyperdroid
r2.11-cLK-HD
r2.11-MAGLDR-HD
STANDARD for Hyperdroid
cLK r2.03 for Hyperdroid
MAGLDR r2.03 for Hyperdroid
STANDARD for ICS (tytung)
cLK r2.03 for ICS
MAGLDR r2.03 for ICS
CALLREC for Hyperdroid
cLK r2.01 CALLREC for Hyperdroid
MAGLDRr2.01 CALLREC for Hyperdroid
STANDARD for Hyperdroid
cLK r2.00 for Hyperdroid
MAGLDR r2.00 for Hyperdroid
STANDARD for Hyperdroid
cLK r1.36 for Hyperdroid
MAGLDR r1.36 for Hyperdroid
STANDARD for ICS (tytung)
cLK r1.36 for ICS (tytung)
MAGLDR r1.36 for ICS (tytung)
STANDARD
cLK r1.35
MAGLDR r1.35
STANDARD
cLK r1.33
MAGLDR r1.33
CALLREC
cLK r1.33 CALLREC
MAGLDR r1.33 CALLREC
STANDARD
cLK r1.20
MAGLDR r1.20
CALLREC
cLK r1.20 CALLREC
MAGLDR r1.20 CALLREC

Changelog:
r2.16 CALLREC is default now! INFO
drivers: base: squashed commit: Updated generic cross-process locking API
Kbuild: Export ashmem header file to user space
mm: ashmem: get/put file and flush/clean/inv range support
lib: bitmap/genalloc: backport from cafs 3.0
lib: backport memory_alloc from cafs 3.0
Tweaked default sampling rate multiplier of hyper cpufreq governor
ARM: improve compiler's ability to optimize page tables
wakelocks: Allow independent debugging of wake_lock_destroy()
r2.15
rcutorture: add random preemption
rcu: call __rcu_read_unlock() in exit_rcu for tiny RCU
synaptics added CONFIG_TOUCHSCREEN_DUPLICATED_FILTER
ipv4: Save nexthop address of LSRR/SSRR option to IPCB. + FIX
ksm: drain pagevecs to lru
tweak for hyper (thanks dorimanx) and re-added lagfree
r2.14
Set CONFIG_MSM7X00A_SLEEP_MODE=1 (marc)
Disabled SunRPC (ACA)
Improve the performance of memcpy and memmove of the general version (bananacakes)
rmnet compiling as a module (big thanks to ACA)
[ARM] msm8k: fixes for audio_ctl and pcm_out
Removed useless rc from q6audio_set_tx_mute()
Ported new aac code from Code Aurora
r2.13
Fixed headset on ICS (Thanks to zivan56)
r2.12
Made a bunch of mods, disabling what we don't need etc (ACA)
Fixed Prox Sensor location permissions to 666. (ACA)
May have now allowed knock off chargers to fast charge (ACA)
Added suspend mod to hyper (Thanks to Imoseyon)
nohz: Fix update_ts_time_stat idle accounting
Remove set_need_resched from rcutree.c (Thanks to drod2169)
Added Stochastic Fair Blue Net Scheduler (SFB)
r2.11
Added back AVS, fixed OC'ing up-to 1.5GHz.
Fixed camcorder feezing
r2.03
Disabled a few of the new defconfigs related to video (ACA)
RMNET is disabled now. Lets get data arrows working. (ACA)
Slight mod to CPU table. 1E is classically the peak value (ACA)
Disabled Packet Filtering (ACA)
Various changes including regulator: tps65023: clear the client data in i2c (from 2.6.34) (ACA)
Updated the built-in wakelock (ACA)
Updated EarlySuspend and WakeLock (ACA)
drivers: mmc: msm: Change max frequency to 49152000 (ACA)
Added and introduced SLQB Allocator, but disabled due some issues
r2.01
mm-video:8k:vdec: fixing a potential memory corruption.
ARM: msm: qdsp6: convert audio ioctl to unlocked_ioctl
Added missing pmem settings
block: introduce the BFQ-v3r1 I/O sched for 2.6.38
block: cgroups, kconfig, build bits for BFQ-v3r1-2.6.38
Backport BFQ-V3-R1 to 2.6.35
r2.00
Removed AVS
Add a TINY_PREEMPT_RCU (ACA)
msm: Increase the DMA consistent memory zone to 14MB (ACA)
Switched to CFQ (ACA)
Tweak to allow safer overcharge of battery (ACA)
Enabled wifi N (ACA)
Lowered AXI sleep level (ACA)
Added 96mhz to the ACA undervolt table (ACA)
Reduced the board's expected power collapse etc to 96mhz (ACA)
Finish corrupted frame patch (ACA)
Added N Way SMD (ACA)
[ARM] msm: scorpion: Disable predecode repair cache for qsd8x50 (ACA)
Disabled Config_Serial_Msm - Could be an extra source of drain (ACA)
net: New iface_stat module to monitor persistent network stats (ACA)
Enabled iface_stat in defconfig (ACA)
msm_serial_hs: Fix issue related to sleeping in invalid context (ACA)
r1.36
Reverted KGSL change
mm: Avoid livelocking of WB_SYNC_ALL writeback (bananacakes)
Fix a race during freezing of TASK_STOPPED task (bananacakes)
Increase write data timeout value for bad SDHC cards (bananacakes)
ADD: Frontswap
Add: cleancache (dorimanx)
TWEAK: sched - lower granularity (bananacakes)
Tweaked the min battery presentage before flush will not work.
penalise fork depth account threads (dorimanx)
Added: support for custom rr_interval value
nohz/sched: delay going tickless when CPU is loaded (bananacakes)
cpufreq and omap transition latency tweaks (bananacakes)
activated xt_qtaguid and xt_quota2 to support data usage (for ICS).
r1.35
Ported new aac code from Code Aurora
Add kineto gan module
Switched to venc driver code from .35 desire qdsp6
Fix no sound bug when using bluetooth
removed autogroup
KGSL change
Readahead upped to 512kb
OC up to 1.5GHz is back
r1.33
Add Wifi MAC changes from tytung's kernel
qdsp6: Fix audio levels
Sched: fix skip_clock_update optimization
sched: Fix the irqtime code to deal with u64 wraps
sched: Fix the irqtime code for 32bit
fix warning: msm_clock_get_nth defined but not used
Added QTAGUID, changes for ICS compatibility (netfilters), probably a lot more
ext4: add cleancache support
init/calibrate.c backport from 3.0
Fixed: ext4 disk write performance regression
mm: Tweak Pagewriteback
ARM: Stop irqsoff trace on return to user
wait Add wait_io_event_interruptible and friends
revert to bcm4329 and fixed wifi hotspot
bcm4329: expose firmware_path to userland, backported from bcmdhd
fixed native usb tethering (hopefully)
r1.20
-ARM: Move leds idle start/stop calls to idle notifiers
-Switch to bcm4329_204 in order to have working wireless hotspot
-Backport qdsp6 venc driver from .38 kernel
-Update msm_q6venc.h to .38 version from codeaurora
-msm: rpc: free the buffer if read fails.(In do_read_data(), while reading a data fragment, if read() fails to read all the required bytes, free the fragment buffer. Also correct the allocation size for fragment buffer.)
-msm: cpufreq: Do not call a cpu transition if selecting the same speed.
-INIT_COMPLETION should be used for repeated reset of completion(object after init_completion has been done once. init_completion reinitalizes the head of the list which could be bad if there are completion objects already waiting.)
-msm: Add sysfs interface for mfreq (Add mfreq interface in sysfs. This forces the system to use the maximum CPU clock on all CPU cores.
(mfreq=1 enables, mfreq=0 disables))
-fixed: WIFI PM=FAST in standby (bananacakes)
-lowered wifi to connect a low signal -108 (bananacakes)
-PM: Wait for completion of the parent resume before resuming.
-Put eMMC in sleep (cmd5) mode before suspend.
-Bluetooth: Fix crash with quirky BT dongles with sound
-ARM: Optimize swahb32() byteswap helper for v6 and above
-sched: Add 'autogroup' scheduling feature
-Enabled call recording and fixed compile errors (thanks to marc)
-Add Wifi MAC changes from tytung's kernel
-fix usb tethering (note: rndis and adb will not work together on windows)
-removed extreme OC
r1.15
Removed obsolete code for msm_clocks(Switched to .35 desire msm_clocks[])
Modified qdsp6 for htc leo
Fixed remaining issues after getting rid of obsolete msm_clocks
Fixed hardcoded setting of REG_PLL_MULTIPLIER_LSB (This is set to 65.5 MHz in the HTC version of s5k3e2fx.c while the up-to-date codeaurora file sets this to REG_PLL_MULTIPLIER_LSB_VALUE (83 MHz))
backported kgsl drivers from msm-3.0
port genlock from ca msm-3.0
sched: refactor task_group() (move cgroup-related task group finding to cgroup_task_group(). No function change.)
sched: Don't call task_group() too many times in set_task_rq() (It improves perfomance. The size of set_task_rq() was 0x180 and now it is 0xa0.)
Move x86_64 idle notifiers to generic
cpufreq: use system_wq instead of dedicated workqueues (With cmwq, there's no reason for cpufreq drivers to use separate workqueues. Remove the dedicated workqueues from cpufreq_conservative and cpufreq_ondemand and use system_wq instead. The work items are already sync canceled on stop, so it's already guaranteed that no work is running on module exit.)
[CPUFREQ] calculate delay after dbs_check_cpu (calculate ondemand delay after dbs_check_cpu call because it can modify rate_mult value, use freq_lo_jiffies value for the sub sample period of powersave_bias mode)
[CPUFREQ] Remove deprecated sysfs file sampling_rate_max
[CPUFREQ] Remove old, deprecated per cpu ondemand/conservative sysfs files
[CPUFREQ] Remove unneeded locks (There cannot be any concurrent access to these through different cpu sysfs files anymore, because these tunables are now all global (not per cpu).)
ARM: Call idle notifiers
ARM: Move leds idle start/stop calls to idle notifiers
ARM: idle: update idle ticks before call idle end notifier (Such that interactive cpufreq governor uses up-to-date idle time information.)
ARM: idle: call idle notifiers before stopping nohz tick (If an idle notifier modifies a timer, calling the notifier after the sched tick has been stopped may leave the sched tick set too early. Move teh idle notifier call before the call to tick_nohz_stop_sched_tick.)
drivers: cpufreq: adjust ondemand thresholds
removed lazy governor
r1.11
Reduce min voltage to 925mV
Tweaked Battery.
Disabled BFS and BFQ, this fixes root problems (also switching data/wifi)
r1.10
Added Ezekeel's lazy governor with all default parameters.
Update to lulzactive V2 Thanks to tegrak (Thanks to gokhanmoral for this updated version of Tegrak's lulzactive governor that fixes the "permanent sleep when screen is off" bug)
changed default governor to ONDEMAND
implemented support for CyanogenMod Performance settings to change the max CPU and min CPU frequency
Compile zram as module (zram needs to be a module in order to be able to work)
Backported vzalloc to better support zram (faux123)
Update compile script and fix typo
Enable OC up to 1536 MHz (Highly experimental, 1536 MHz doesn't work on my phone)
r1.06
audio: added Two-way call recording (Credit to avs333)
htcleo: audio: add proc file interface /proc/mic_level and fix mic gain (Credits to mdebeljuh and jdivic)
Added zram from 2.6.38 kernel and used faux123's files (marc1706)
late_initcall has to be right after the function definition (marc1706)
Cleanup in AVS files
wifi undervolting
Updated defconfig to .35 settings (marc1706)
Raised HZ to 300 (marc1706)
Ext4 Patches from 3.x.x Kernel (Sar Castillo)
Minor cleanup of some typo errors in suspend.c code
Kernel changed to GZIP compression
Small tweak for ondemand governor
r1.05
Tweaked BFS (bananacakes)
Some more cleanup in htcleo files (marc1706)
r1.04
Some cleanups from marc
fix scaling_cur_freq bananacakes
Another nikantonelli fix
Jhash3 (by jan-willem3)
r1.03
Some tweaks suggested by jan-willem3
r1.02
Added max_control_command_size for data in camera (Thanks to Marc1706)
Added missing AVS initialization & regulator changes (Thanks to Marc1706)
Fixed and activated ondemandx governor (Thanks to Marc1706)
Use a realtime priority thread for AVS
Tweaked AVS code
Tweak camera -- bananacakes
Raise VOLTAGE_MIN_START of AVS to 950

Extras:
zram Static Activation (by Dorimanx, modified for .35 by marc1706)

reserved for future use

Awesome kernel! fast and smooth!
Keep up the good work!

Ok I installed MGLDR kernel and now when I get a call it shows the black screen for about 4 or 5 seconds before showing the caller id. I have it set up on no lag setting. It wasn't doing this on Tytung kernel. Other than that everything its going pretty smooth
Sent from my HD2 using xda premium

MAGLDR Kernel
Installed the MAGLDR Kernel and she's running smooth and fast. No issues with making calls so far.
Camera runs very nice. I turned my 5 year old daughter loose with it and she managed to take quite a few pics without it crashing once. Big improvement over the prior kernel from another Dev.

Mooncalled said:
Installed the MAGLDR Kernel and she's running smooth and fast. No issues with making calls so far.
Camera runs very nice. I turned my 5 year old daughter loose with it and she managed to take quite a few pics without it crashing once. Big improvement over the prior kernel from another Dev.
Click to expand...
Click to collapse
wich your rom? and what abaut camcorder
thanks...

ceylin45 said:
wich your rom? and what abaut camcorder
thanks...
Click to expand...
Click to collapse
Running HyperDroid that's in Beta Testing. I haven't tried the Camcorder as of yet.

Mooncalled said:
Running HyperDroid that's in Beta Testing. I haven't tried the Camcorder as of yet.
Click to expand...
Click to collapse
thanks alot..
ill try now

Currently testing on Oxygen Rom.
Feels very smooth.
Good Job

Hi,
Big thanks for great work. I flashed this kernel yesterday and I have a problem with sdcard. After booting up system does not see it, so I took sdcard out, put it back in and mounted sdcard in the system. After few mins Im getting FC all the time and sdcard is unmounted from the system again. Does anyone know where is the problem? Much appreciated for any suggestions.

I flashed the MAGLDR version on Typhoon ROM, after removing initrd.gz. Camera recording is better. Everything seems to be in order, battery drain is as it should be (I get about 3 mAh, just like with Tytung's r14). Finally, a .35 kernel that functions as it should. I am going to use it from now on

tmihai20 said:
I flashed the MAGLDR version on Typhoon ROM, after removing initrd.gz. Camera recording is better. Everything seems to be in order, battery drain is as it should be (I get about 3 mAh, just like with Tytung's r14). Finally, a .35 kernel that functions as it should. I am going to use it from now on
Click to expand...
Click to collapse
Thanks for feedback ;-)

I removed the initrd.gz file from the zip and flashed this kernel on latest NDT CM7.2, I'm really happy with it. no usb or sdcard issue. great choice of governors (I recommend InteractiveX) . Thank you fhasovic !

being a fan of kernels, i will give this a go too
from seader s9 to dorimanx 2.2 to 3.1, to now your version 1.0
hope this impresses me since i have some decent reviews from hyperdroid thread

Nice kernel I got an suggestion for you:
arch/arm/mach-msm/board-htcleo-microp.c
Line 559
Code:
goto err_cdata;
Change to
Code:
goto err_exit; //If there is no cdata, then there is no pdata
For the rest remove line 648
Code:
err_cdata:
Source of the tweak can be found here the rest in this commit is useless btw.
Edit and in:
arch/arm/configs/htcleo_defconfig
CONFIG_MSM_CPU_FREQ_MAX=1113600
is not changed to 1190400

jan-willem3 said:
Nice kernel I got an suggestion for you:
...
Click to expand...
Click to collapse
Thanks! Building r1.03 now!
If you have any other suggestion, please post here or give a link.

fhasovic said:
Thanks! Building r1.03 now!
If you have any other suggestion, please post here or give a link.
Click to expand...
Click to collapse
You miss the avs files in the arch/arm/mach-msm folder I just noticed it.
For the rest I will push changes to:
https://github.com/jan-willem3/desire_kernel_35/commits/nonsense

oh , i am so that .

Related

[24.July.12][Kernel] marc1706's 2.6.35.14 Sense Kernel[v0.2.3]

marc1706's 2.6.35.14 Sense Kernel​
This kernel is based on the HTC Desire 2.6.35.10 kernel source code ported by warrenb213 and me with help from Markinus' CyanogenMod kernel source.
This kernel is only for GB Sense builds and shouldn't be used on any CyanogenMod, AOSP, MIUI or ICS builds.
Features:
Default CPU governor: ondemand
Default CPU speed: 245 MHz - 998 MHz
Available CPU speeds: 96 MHz - 1536 MHz (if speeds above 1190 MHz are not stable for you, stick to lower frequencies)
Available CPU governors: interactive, conservative, userspace, powersave, ondemand, performance, smartassV2, Lagfree, Lazy, SavagedZen, scary, smartass, smoothass, superbad, virtuous, interactiveX, ondemandX
Default I/O scheduler: Deadline
Available I/O schedulers: no-op, deadline, CFQ, BFQ, simple IO
G-Sensor freeze fix (Credits: mdebeljuh and jdivic)
Wakeup lag fix for AUO panels (Credits: mdebeljuh and jdivic)
cLK support
Unique Wi-Fi MAC address
Unique bluetooth MAC address (Credits: tytung & me)
Extended battery support (still needs some testing, I don't have an EB)
BFS CPU scheduler
ALSA sound drivers
Simple IO Scheduler
HTC Auto-White Balance
Two-way call recording (Credit to avs333, snq-, tytung)
add proc file interface /proc/mic_level and fix mic gain (Credits to mdebeljuh and jdivic, tytung)
zRam (Credits: me, faux123): Activation script can be found here
Real MAC address (credits to Franck78, Rick_1995, me)
Working:
Data
Wifi
Bluetooth
LED notifications
G-Sensor
Camera
Camcorder
Auto-Backlight
Headset
HTC FM Radio
Wifi Hotspot (use 3rd party app)
Internet pass-through (phone uses PC's internet -- select via sense USB setting menu, not via normal settings)
Not working:
Wired Tether
HTC Hotspot
You tell me
Current version: 0.2.3
Download:
marc1706_desire_0_2_3.zip
Note: The cLK package for versions below 0.1.7 contain the initrd.gz from sbryan's RCMix Runnymede ROM. The cLK package of version 0.1.7 contains the initrd.gz for the TBD Runnymede Rom. These might not work on other Sense ROMs.
Version 0.1.9 and above doesn't contain a kernel ramdisk but rather creates the boot.img itself (credits to e334 & koush).
Outdated versions:
marc1706_desire_0_1_5_cLK.zip
marc1706_desire_0_1_5_magldr.zip
marc1706_desire_0_1_7_cLK.zip
marc1706_desire_0_1_7_magldr.zip
marc1706_desire_0_1_8_cLK.zip
marc1706_desire_0_1_8_magldr.zip
marc1706_desire_0_1_9.zip
marc1706_desire_0_2_0.zip(Mirror:marc1706_desire_0_2_0.zip)
marc1706_desire_0_2_1.zip(Mirror:View attachment marc1706_desire_0_2_1.zip)
marc1706_desire_0_2_2.zip​
Credits to:
Markinus, warrenb213, sbryan12144, tytung, hastarin, rafpigna, Cotulla, mdebeljuh, jdivic, faux123, Rick_1995, Franck78, ... (if I forgot you, just send me a PM)
Changelog:
0.2.2 to 0.2.3:
msm: htcleo: Add sysfs interface for forcing the gsensor mode
block: add v/r io scheduler
Revert "Ported new aac code from Code Aurora"
mtd: htcleo_nand: small clean-up
mtd: mtdchar: increase MAX_KMALLOC_SIZE back to 0x20000
net/rfkill/core.c: Avoid leaving freed data in a list
rfkill: remove dead code
rfkill: add missing llseek
net: return operator cleanup
power: fix lcd resume taking long time with an ongoing file copy
power: fix suspend_sys_sync_wait()
PM: Back off suspend if repeated attempts fail
PM: wakelocks: Replace variable and constants names with CAF version
kernel: sched: Add wait_for_completion_io to BFS
mmc: Attribute the IO wait time properly in mmc_wait_for_req()
msm: dma: Track waiting for requests as io_wait time
ashmem: fix deadlock when system is low on memory
vmscan: move referenced VM_EXEC pages to active list
fs: mark_inode_dirty barrier fix
fs: add sync_inode_metadata
sync_inode_metadata: fix comment
fs: simple fsync race fix
fs: ext2 inode sync fix
lib/sha1: use the git implementation of SHA-1
arm: remove "optimized" SHA1 routines
arm: remove stale export of 'sha_transform'
ondemand: Make the iowait-is-busy time a sysfs tunable
cpufreq: Make down_differential parameter configurable.
[CPUFREQ] ondemand: don't synchronize sample rate unless multiple cpus present
cpufreq: fix incorrect tabbing
iosched: tweak deadline for flash usage
binder: Quiet binder
android: logger: bump up the logger buffer sizes
0.2.1 to 0.2.2:
ARM: zImage: make sure the stack is 64-bit aligned
Increase max battery voltage
Allow high current charging on china chargers
msm: htcleo: implement real unique MAC address patch (replaced by next commit)
msm: htcleo: Add real mac addresses
0.2.0 to 0.2.1:
Finish corrupted frames patch
Fix broken MPEG4 video recording
0.1.9 to 0.2.0:
msm: camera: Free buffers from frame queue at open
Cpufreq: Added input event hook to ramp up cpu frequency
cpufreq: Fixed input event handler code
cpufreq: Make sure input handler always runs on cpu0
Add newer RMNET driver from Code Aurora
msm: rmnet: Add modem loading support for rmnet driver
msm_rmnet: increase SKB headroom for QOS header
msm: rmnet: Add 5 more rmnet smd ports
msm: rmnet: Fix incorrect channel names in new RMNET driver
msm: rmnet: prevent transmissions when device open fails
msm_rmnet: Adjust RmNET driver logging to comply with dmesg etiquette
rmnet: Accept packets larger than MTU
msm: rmnet: reschedule read tasklet in low memory conditions
net: wireless: bcm4329: convert sempahore mutexes to real mutexes
net: wireless: bcm4329: Update to version 4.218.248-20
net: wireless: bcm4329: Turn off CONFIG_US_NON_DFS_CHANNELS_ONLY
arm: Allow CPU-supported unaligned accesses
0.1.8 to 0.1.9:
Revert: Penalise fork depth account threads
Lowered ideal sleep freq to 128MHz
[ARM] msm8k: fixes for audio_ctl and pcm_out
Removed useless rc from q6audio_set_tx_mute()
net: New iface_stat module to monitor persistent network stats
nohz/sched: delay going tickless when CPU is loaded (bananacakes)
Improve the performance of memcpy and memmove of the general version
rcutorture: add random preemption
rcu: call __rcu_read_unlock() in exit_rcu for tiny RCU
synaptics added CONFIG_TOUCHSCREEN_DUPLICATED_FILTER
Compile RMNET as module
Updated g-sensor driver to up-to-date bravo version
Added missing module descriptors to rmnet module
0.1.7 to 0.1.8:
Penalise fork depth account threads
Lowered AXI sleep level (AmeriCanAndroid)
Added 96MHz to acpuclock table (AmeriCanAndroid)
Add 96 MHz to avs table
Reduce expected power collapse kHz to 128000
Increase DMA consistent memory size
Disabled hacks in mdp files of video driver
mm-video:8k:vdec: fixing a potential memory corruption.
ARM: msm: qdsp6: convert audio ioctl to unlocked_ioctl
Added missing pmem settings
Added overclock up to 1.53 GHz
0.1.6 to 0.1.7:
Revert to bcm4329 for now
Enable AXI screen policy
Add above_background_load function to allow stuff to happen only when important stuff aint (ck)
Revert "Swappiness the tunable lies [...]"
Add a TINY_PREEMPT_RCU
0.1.5 to 0.1.6:
Removed obsolete code for msm_clocks
Modified qdsp6 for htc leo
Fixed remaining issues after getting rid of obsolete msm_clocks
Fixed hardcoded setting of REG_PLL_MULTIPLIER_LSB
Backport qdsp6 venc driver from .38 kernel
Update msm_q6venc.h to .38 version from codeaurora
msm: rpc: free the buffer if read fails.
msm: cpufreq: Do not call a cpu transition if selecting the same speed.
INIT_COMPLETION should be used for repeated reset of completion
msm: Add sysfs interface for mfreq
Switch to bcm4329_204 in order to have working wireless hotspot
Edit: WIFI PM=FAST in standby (bananacakes)
lowered wifi to connect a low signal -108 (bananacakes)
Add Wifi MAC changes from tytung's kernel
Enabled call recording and fixed compile errors
Ported new aac code from Code Aurora
Add kineto gan module
ext4 performance patch from Eric Sandeen
Switched to venc driver code from .35 desire qdsp6
Fix no sound bug when using bluetooth (cyanogenmod fix)
Stop kernel from spamming dmesg log while it vibrates
Disabled unneeded parts in defconfig
Enable preempt by default and make people steer away from voluntary. (ck)
Swappiness the tunable lies. It doesn't respect swappiness because it alters the value when we're more than lightly loaded in the vm. Change it to -really- mean swappiness unless we're about to go out of memory. (ck)
0.1.4 to 0.1.5:
Compile zram as module
Backported vzalloc to better support zram (faux123)
Add back scaling_available_frequencies (adrynalyne)
Reduce min voltage to 925mV
0.1.3 to 0.1.4:
Tweak camera -- bananacakes
Add simple IO scheduler by Miguel Boton
Updated BFS to v0.413
Added a few netfilter settings from .32 kernel
Use PM_FAST in standby
Add interactiveX governor
Added tweaks for interactiveX from bananacakes' kernel
Add governors and governor tweaks from bananacakes' kernel
Added governors: Lagfree, Lazy, SavagedZen, scary, smartass, smoothass, superbad, virtuous
Assume we might need the max VDD when overclocking
Added max_control_command_size for data in camera (was 50 and is 150 now)
Added missing AVS initialization & regulator changes
Add ondemandx governor from lordClockn kernel
Some more cleanup in htcleo files
fix scaling_cur_freq (bananacakes)
Tweaked BFS (bananacakes)
Add auto-white-balance
audio: added Two-way call recording (Credit to avs333, snq-, tytung) -- will post a 2wcr compile soon
htcleo: audio: add proc file interface /proc/mic_level and fix mic gain (Credits to mdebeljuh and jdivic, tytung)
late_initcall has to be right after the function definition (clock-wince.c)
Cleanup in AVS files
Updated defconfig to .35 settings
Raised HZ to 300
Added zram from 2.6.38 kernel and removed old ramzswap
Replace zram with faux123's files
Enabled 998MHz for ondemand in defconfig
0.1.2 to 0.1.3:
Fixed unique BT mac address in sense ROMs
Use a realtime priority thread for AVS.
Raise VOLTAGE_MIN_START of AVS to 950
Revert "Increased VM_MAX_READAHEAD to 2048"
Tweaked AVS code for HTC Leo
Add: Vdd_havs
Extended CPU Vdd levels sysfs iface (bananacakes)
Modified OC/UV in order to fit bananacakes' kernel
Add: sysfs VDD levels interface
Switched to deadline I/O scheduler which is the default scheduler for the desire
0.1.1 to 0.1.2:
Switched to BFQ I/O scheduler
0.1.0 to 0.1.1:
Added BFQ I/O scheduler
Lowered wifi voltage
Added unique bluetooth MAC fix
Switched to no-op I/O scheduler
Increased VM_MAX_READAHEAD to 2048
Added ext2 & ext3 settings from .32 kernel
RCMIX3D v5 to 0.1.1:
Tweaked smartassV2 for Snapdragon
Added extended battery support
Fixed headset and FM radio
Added BFQ scheduler
Switched to no-op I/O scheduler as default
Lowered wifi voltage
Added unique bluetooth MAC fix
Increased VM_MAX_READAHEAD to 2048
Extras:
zram Static Activation (by Dorimanx, modified for .35 by me, fixed disksize): View attachment marc1706_zram_100MB.zip
FAQs:
My phone sometimes lags when I unlook it. After 1-2 seconds the lag is gone. Is there a way to fix this?
Yes, just set the minimum cpu speed to 245 MHz. The snapdragon cpu is not able to scale from 128 MHz to any given frequency. From 128 MHz it can only scale to 245 MHz and then it'll scale to higher frequencies.
Can we have ZSL (= zero shutter lag) on the HD2?
No. ZSL was created for newer smartphones that have camera sensors that support ZSL.
moin,
ehm hat dein neuer kernel iwie auch die rcmix tweaks oda sind die in der rcmix3d rom schon enthalten?? und läuft die rom mit diesem kernel dann ohne laggs ? oda sind da noch welch enthalten?
Hi...any possibility of adding a cyanogen mod version? Or non-sense version on Warren and yours desire port is the thread to follow?
Sent from my HTC HD2 using XDA App
As I can change the CLK intrg for another rom?
Thanks marc1706 for Dev Kernel Senes
I would like to ask ...
hastarin , what he did to support the Kernel for run android via haret.exe from wm6.5 ??? (SD build)
Is 2-way call recording disabled by default?
vivebatu said:
Hi...any possibility of adding a cyanogen mod version? Or non-sense version on Warren and yours desire port is the thread to follow?
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
For a non-sense version please refer to warren's kernel thread.
Thank you for this work...
YE, very good, FM working...Boot also soon...
Note: Kernel for dungphp RUNNYMEDE 1.11.1113.1 - Sense 3.5 [v2.2] Rom.
boxmax said:
Thanks marc1706 for Dev Kernel Senes
I would like to ask ...
hastarin , what he did to support the Kernel for run android via haret.exe from wm6.5 ??? (SD build)
Click to expand...
Click to collapse
Good question, next question.
I haven't looked much into the whole SD issue yet but I'll try to see if I can find something.
seanyuan62 said:
Is 2-way call recording disabled by default?
Click to expand...
Click to collapse
2-way call recording hasn't been added yet. I'll try to add the features the kernel is still missing as soon as possible.
Thanks Marc for you're work here. It is very much appreciated.
Keep up the good work.
marc1706 said:
Good question, next question.
I haven't looked much into the whole SD issue yet but I'll try to see if I can find something.
.
Click to expand...
Click to collapse
See this info maybe can help you ...
Add support for machine-specific jump to kernel code :
http://git.linuxtogo.org/?p=groups/haret/haret.git;a=summary
+
Booting Linux via haret.exe
http://htc-linux.org/wiki/index.php?title=HaRET_Documentation
if use new kernel for haret.exe it Rom Stop & say : (jumping to kernel (custom)
boxmax said:
See this info maybe can help you ...
Add support for machine-specific jump to kernel code :
http://git.linuxtogo.org/?p=groups/haret/haret.git;a=summary
+
Booting Linux via haret.exe
http://htc-linux.org/wiki/index.php?title=HaRET_Documentation
if use new kernel for haret.exe it Rom Stop & say : (jumping to kernel (custom)
Click to expand...
Click to collapse
the source you gave me was for compiling the haret.exe. Jumping to kernel was a line in the haret itself. In all honesty, it should be working but its not. are you using haret.exe v0.5.3?
sbryan12144 said:
the source you gave me was for compiling the haret.exe. Jumping to kernel was a line in the haret itself. In all honesty, it should be working but its not. are you using haret.exe v0.5.3?
Click to expand...
Click to collapse
ya i use haret.exe 0.5.3-20100914 also i try 0.5.3-20101214 same one ...
See here for haret patch for leo ...
http://www.netripper.com/leo/
Is this the kernel continued from RCMix3D LEO v5?
seanyuan62 said:
Is this the kernel continued from RCMix3D LEO v5?
Click to expand...
Click to collapse
Yes it is......
seanyuan62 said:
Is this the kernel continued from RCMix3D LEO v5?
Click to expand...
Click to collapse
yes but with marc1706's work/tweaks & this will be the new kernel used in RCmix3D Runny rom
Dizzle said:
Yes it is......
Click to expand...
Click to collapse
...which started out as a fork from this kernel in the first place...
BTW, I am seeing a massive slowdown after flashing 0.1.1 cLK with boot.img recompiled for latest TBD test ROM. Has improved a but after a couple of reboots but still really slow... (SetCPU - Smartass max 1113)
Hey Marc,
Are you working on the EGL libs at all? This is now the only thing outstanding for me eg wallpaper preview and lock screen preview. If these could be fixed it would be awome

[KERNEL]Tinykernel 5.5(4.3/4.4)[JB/KK] Updated 2/27/14

This is my first kernel on the Galaxy Nexus. I came from working on two previous kernels on the Droid Incredible.
The kernel will only work on JB and is carrier independent as all Galaxy Nexus kernels are from 4.0.3 onwards. It uses the AnyKernel updater method so it's compatible with ANY ROM.
Code:
/* NON-STANDARD DISCLAIMER:
I understand that if I disable fsync I am liable for any possible data corruption that could result. While dynamic fsync has been added, there is still the risk of data corruption.
*/
IMPORTANT: On 3.3.0/1.12.0 and higher, the WiFi drivers from the Linux 3.4 kernel branch breaks WEP functionality. Also, to ROM devs that want to bake in this kernel into their ROM, they will need to pull the hostapd file included into their /system/bin or WiFi tethering will not work.
*NOTE* starting with 4.0.1 there is now a Jellybean 4.1 version as well as a Jellybean 4.2 build with the old WiFi driver
Please pay attention to the zip you're downloading
*NOTE* 5.0 and higher are based on Android 4.3. It is not recommended to be flashed on Android 4.2.2 or older ROMs.
*NOTE* 5.5 has both ASRAM and non ASRAM versions
Changelog:
JB 4.3/KK 4.4
5.5
optimized LPDDR RAM timings (~10% throughput increase)
ASRAM: Reduce the Additional Safe RAM to 40MB.
split into ASRAM and NO-ASRAM configs
Revert "defconfig: Update with android recommended config"
5.4
built with SaberMod 4.7 toolchain
defconfig: Update with android recommended config
allow older fast charge (set force_fast_charge to 2)
config: enable additional TCP congestion schedulers as well as kernel support for PPP widget
5.3.1
Switched to Linaro 4.7 toolchain 2013.09 for stability
5.3
built with latest Linaro 4.8 toolchain 2013.09
removed BIGMEM and replaced it with ASRAM (Additional Safe RAM) ~50MB of reserved RAM - no known negative effects - this takes away 50MB from the tiler but it doesn't seem to be causing problems
increased GPU voltage of the 512MHz slot slightly for stability
5.2
built with latest Linaro 4.7 toolchain 2013.08
added and enabled BIGMEM to reclaim ~66MB of reserved RAM - disadvantage is that this breaks 1080p video recording
5.1.1
fix timer_slack - it needed to be enabled in ramdisk and tweaked via init.d - thanks zoomy942 for finding that and boype for the actual configuration steps
5.1
CM10.2 powerHAL
config: enable ZRAM support
config: enable dynamic_interactive CPU governor and switch to LZO compression
cpufreq: dynamic_interactive - rename sysfs group to interactive for powerHAL support
cpufreq: dynamic_interactive - don't remove sysfs nodes
Added Dynamic Interactive Governor
USB: f_mass_storage: Added cdrom option to UMS-lun-devices (DriveDroid patch)
USB: f_mass_storage: 2048 block size for cdrom devices (DriveDroid patch)
cpufreq: interactive: don't remove sysfs nodes
cpufreq: interactiveX: don't remove sysfs nodes
interactiveX: do not hotplug during earlysuspend registration
interactiveX: the main bits (suspend/wake)
interactiveX: prep for rebase against current interactive governor
interactiveX V2 - cpu hotplug support
5.0
cgroup/timer_slack: fix cgroup permission errors
defconfig: enable TIMER_SLACK
[PATCH, v9] cgroups: introduce timer slack controller
allow overclocking to 1350/1440/1520 MHz and underclocking to 230 MHz
user voltage control (imoseyon)
color control/temp control/vibration/sound control (Ezekeel)
contrast control (morfic)
add wheatley governor (Ezekeel)
dynamic sync control (faux123)
config: enable Open Switch Retention in the C4 State (Ezekeel)
random/entropy tweaks from older builds
frandom character device support
Added optimized CRC32 algorithm.
Added optimized ARM RWSEM algorithm.
ROW and SIO I/O schedulers
OTG Host Mode On Charge: Version 3 - Thanks Caioketo
Added Battery Life eXtender (BLX) version 1 (Ezekeel)
USB fast charge from joshua_
tuna-wifi: do not randomize MAC if bootloader doesn't pass it
Added improved glibc memcpy and memmove functions
deadline: Allow 0ms deadline latency, increase the read speed
enable CIFS and read-only NTFS support
re-enable module support (for PGM, etc)
Linaro 13.06 toolchain
based on official Google kernel (Linux 3.0.72)
JB 4.2.x/4.1.x
4.3.0
config: switch to gzip kernel compression for faster decompression
Staging: android: binder: Fix memory leak on thread/process exit
cgroup/timer_slack: fix cgroup permission errors
defconfig: enable TIMER_SLACK
[PATCH, v9] cgroups: introduce timer slack controller
backport interactive patches to interactiveX
misc: uidstat: avoid create_stat() race and blockage.
cpufreq: interactive: avoid underflow on active time calculation
cpufreq: interactive: reduce chance of zero time delta on load eval
cpufreq: interactive: handle errors from cpufreq_frequency_table_target
ashmem: avoid deadlock between read and mmap calls
ARM: Allow SoCs to enable scatterlist chaining
4.2.0
mm: compaction: introduce sync-light migration for use by compaction
mm: migration: clean up unmap_and_move()
mm: compaction: determine if dirty pages can be migrated without blockin
OTG Host Mode On Charge: Version 3 - Thanks Caioketo
Added Battery Life eXtender (BLX) version 1.
applied previous WiFi updates to bring the JB 4.1 version up to date.
updated to Linux 3.0.83
compiled with Linaro 13.06 toolchain
4.1.0
featuring new kernel fast charge patch from joshua_ @ xda - this allows fast charge while using adb/mtp (note: it will still say charging USB but will charge at A/C rate limited to what your charger or USB port can output - let me know if this isn't working as intended)
patched to Linux 3.0.81
compiled with Linaro 13.05 toolchain
deadline: Allow 0ms deadline latency, increase the read speed
ashmem: avoid deadlock between read and mmap calls
other misc patches
net: wireless: bcmdhd: Update to version 1.88.21 (New WiFi only)
net: wireless: bcmdhd: Close p2p0 device in wl_down (New WiFi only)
4.0.1
reverted bluetooth fix to support 4.1.x as well as it was preventing deep sleep for many
4.0.0
Linux 3.0.73
net: wireless: bcmdhd: Update to version 1.88.10
bluetooth fix to support Android 4.1.x as well
net: wireless: bcmdhd: Fix WEP-104 authentication (doesn't seem to fix WEP though)
ext4 bugfixes
netfilter qtaguid update
watchdog update
a few deadline tweaks
enable dynamic fsync control to replace fsync control (default off for normal operation)
cpufreq: interactive: Fix uninitialized spinlock
JB 4.2.x
3.4.1
net: wireless: bcmdhd: Update to version 1.88.7
cpufreq: ktoonservative screen off race condition fix hand patched by tiny
3.4.0
compiled using 2013.03 Linaro toolchain
numerous interactive/interactiveX governor patches including io_is_busy
powerHAL updates
Linux 3.0.71
ktoonservative governor
net: wireless: bcmdhd: Update to version 1.88.6
3.3.0
I/O performance patch for solid state devices
New WiFi driver from the Android Linux 3.4 branch (this breaks WEP)
reverted enable KSM, cleancache, and zcache
reverted add 525 and 1060 CPU frequencies
reverted all intellidemand patches
3.2.2
All changes from 3.3.0 above except for the new WiFi driver
3.2.0 -- Kernel pulled due to performance issues
Linux 3.0.68
slub: fix a possible memory leak
Add FIFO I/O scheduler
enable KSM, FIFO I/O scheduler, cleancache, and zcache
add 525 and 1060 CPU frequencies
patches to prepare for intellidemand - proven instable for me so far
3.1.0
compiled using 2013.02 Linaro toolchain
powerHAL updates to support ondemand governor
Linux 3.0.67
net: bluetooth: Remove the AID_NET_BT* gid numbers
sync: fix timeout = 0 wait behavior
cpufreq: ondemand: add boostpulse interface and set default boostfreq to 700 MHz
ext4: prevent kernel panic in case of uninitialized jinode
3.0.1
Revert "cpufreq_wheatley.c: Fix update_ts_time_stat idle accounting"
3.0.0
config: use optimized CRC32 and RWSEM algorithms, enable ROW I/O scheduler
Added optimized CRC32 algorithm.
Added optimized ARM RWSEM algorithm.
Add ROW I/O Scheduler by Qualcomm - removed and re-added with support for CFQ as well
gpu: pvr: bypass compat check if version is same but build # is different (this is what allows compatibility with 4.2.1)
Linux 3.0.64
merged jb-mr1.1 kernel changes from AOSP (Android 4.2.2 kernel)
tweaked nightmare governor for Tinykernel (use 350 MHz min as 230 MHz is glitchy with nightmare)
nightmare governor ported to Galaxy Nexus and other updates (r_data)
Add Nightmare governor (Thanks to Alucard24)
omap: set default screen_of_max_freq to 700 MHz
added the frandom character device http://www.billauer.co.il/frandom.html
pegasusq governor removed
JB 4.2.1
2.7.0
Linux 3.0.61
WiFi patches and update to version 5.90.195.114
Revert patch that doesn't remove sysfs nodes - reason below
powerHAL patched to allow interactive boostpulse node to reopen when switching back to interactive from another governor - this powerHAL also prevents CPU max from being reset to 1200.
Wheatley (Ezekeel) and PegasusQ (Zenkernel) governors
interactive/interactiveX: fix race condition on governor start/stop - this is why I reverted above patch and thus had to add my own powerHAL
netfilter qtaguid patches
increased MPU voltages for stability
added improved glibc memcpy and memmove functions (Ezekeel)
frandom kernel module installed to /system/lib/modules - by default it just sits there and doesn't load on it's own so it's safe to leave there - let me know if you have questions
built with 01/2013 Linaro toolchain
2.6.0
Linux 3.0.58
WiFi driver updates
ROW I/O scheduler enabled and default
disabled CFQ scheduler (necessary to build ROW for now)
OC frequencies change from 1400/1600/1800/2000 to 1350/1520
supports 230Mhz min frequency and lower voltages are set on the lower frequencies
default readahead increased to 256KB
2.5.1
add Vegas, Veno, and H-TCP TCP congestion schedulers
2.5.0
update kernel to 3.0.57
numerous interactive governor updates
interactiveX support with butter (imoseyon)
various patches to help reduce lag (various)
2.4.2
rebuild with latest 2012.12 Linaro toolchain - no code changes
2.4.1
fix for ZRAM not getting enabled
2.4.0
add support for CPU temperature control (imoseyon)
2.3.1
rebuild 2.3.0 with latest 2012.11 Linaro toolchain - no code changes
2.3.0
rebuild kernel to fix deep sleep (appears to have been a bad build)
removed extra governors (conservative, powersave, hotplug,userspace,performance)
removed BFQ I/O scheduler
added vibration control (Ezekeel)
2.2.1
don't randomize MAC address (imoseyon) - deep sleep issue - workaround is to cycle bluetooth (switch between off and on and then back)
2.2.0
enable fsync control (Ezekeel)
add BFQ I/O scheduler
add ffc script
2.1.0
allow CPU overclocking to 1.6ghz
changed default I/O scheduler to CIFS
changed default TCP congestion scheduler to cubic
2.0.1
add CIFS and NTFS support
linaro CFLAGS tweaks
build with 10/2012 Linaro GCC 4.7 toolchain
2.0.0
reworked from Android 4.2 kernel source - changelog from this branch can be considered from stock
GPU OC interface to allow GPU OC to 384Mhz or 512Mhz (imoseyon)
WiFi sysfs interface for speeding up WiFi on screen off (imoseyon)
Sound Control (Ezekeel)
ZRAM support
zram script from leankernel
Westwood+ TCP congestion scheduler
SIO I/O scheduler
Glados color control (Ezekeel)
Trinity color contrast with default contrast at 0 (morfic)
Fast charge USB with sysfs (chad0989)
add support for cm9/10 style color control (imoseyon)
JB 4.1.x
1.13.0
compiled using 2013.03 Linaro toolchain
net: wireless: bcmdhd: Update to version 1.88.7
cpufreq: ktoonservative screen off race condition fix hand patched by ti
cpufreq: interactive(X): sync with 3.x branch
numerous interactive/interactiveX governor patches including io_is_busy
powerHAL updates
Linux 3.0.71
ktoonservative governor
1.12.0
I/O performance patch for solid state devices
slub: fix a possible memory leak (forgot to add it to the 1.11.0 build)
New WiFi driver from the Android Linux 3.4 branch (this breaks WEP)
reverted enable KSM, cleancache, and zcache
reverted add 525 and 1060 CPU frequencies
reverted all intellidemand patches
1.11.2
All changes from 1.12.0 above except for the new WiFi driver
1.11.0 -- Kernel pulled due to performance issues
numerous changes, most of the changes from 2.5.1 to 3.1.0 except for the GPU pvr patch
Linux 3.0.68
Add FIFO I/O scheduler
enable FIFO I/O scheduler, cleancache, and zcache (KSM should be enabled here already)
add 525 and 1060 CPU frequencies
patches to prepare for intellidemand - proven instable for me so far
1.10.0
add Vegas, Veno, and H-TCP TCP congestion schedulers
update kernel to 3.0.57
numerous interactive governor updates
interactiveX support with butter (imoseyon)
various patches to help reduce lag (various)
1.9.1
rebuild with latest 2012.12 Linaro toolchain - no code changes
1.9.0
add support for CPU temperature control (imoseyon)
1.8.7
rebuild 1.8.6 with latest 2012.11 Linaro toolchain - no code changes
1.8.6
don't randomize MAC address (imoseyon)
1.8.5
enable fsync control (Ezekeel)
add ffc script
1.8.0
allow CPU overclocking to 1.6ghz
changed default I/O scheduler to CIFS
changed default TCP congestion scheduler to cubic
SD readahead defaults to 128
1.7.1
linaro CFLAGS tweaks
build with 10/2012 Linaro GCC 4.7 toolchain
1.7
add zram script from leankernel
numerous interactive tweaks (see github for details)
net: wireless: bcmdhd: Avoid suspend on watchdog
send uevent on governor change for better CM compatibility
add boostpulse to ondemand (still will not work properly without a modified powerHAL)
1.6
add BFQ I/O scheduler (V5)
add a few WiFi tweaks from google (check https://github.com/tiny4579/tinykernel-gnex/commits/tinykernel for details)
1.5
add support for cm9/10 style color control (imoseyon)
set default contrast (trinity setting) to 0
add support for vibrator control (Ezekeel)
1.4
up-to-date with Android 4.1.2 kernel source released today - 10/10/12
new WiFi patch which supposedly supports 802.11-only mode
support for ZRAM and KSM (off by default)
1.3
merge latest patches from android_kernel_common including updated WiFi drivers
interactive governor tweak which should hopefully help battery
WiFi sysfs interface for speeding up WiFi on screen off (imoseyon)
Sound Control (Ezekeel)
removed some debugging for a slightly smaller build
1.2
Add wheatley governor (Ezekeel)
Increase SD readahead to 1024kb (Ezekeel)
CPU latency tweak (Ezekeel)
enable OSWR for C4-state - less power in C4 state (Ezekeel)
1.1
Revert SLQB commit and switched to SLUB allocator - PGM works now
1.0
GPU OC interface to allow GPU OC to 384Mhz or 512Mhz (imoseyon)
Kernel will boot now at 1.2Ghz for stability (imoseyon)
0.9
Lowered voltage of GPU to stock to save power
0.8
Added CPU OC to 1.35Ghz
GPU OC to 384Mhz
Removed performance, userspace, powersave, and hotplug governors
0.5
Initial Release
Added SIO scheduler and made it default
SLQB allocator
Glados color control (Ezekeel)
Trinity color contrast (morfic)
Fast charge USB with sysfs (chad0989)
CIFS support
NTFS read only
Added Westwood+ TCP Congestion scheduler and set as default
Improved glibc memcpy and memmove functions (Ezekeel)
Downloads:
All releases available on goo.im - Link below:
http://goo.im/devs/tiny4579/gnex/kernels
Mirror (thanks MBQ_ for hosting space):
http://mbqonxda.net/tiny4579/gnex/kernels
You can help MBQ_ with hosting costs by donating to him.
Source:
https://github.com/tiny4579/tinykernel-gnex
tiny-jb-mr2 branch for Android 4.3.x/4.4.x
tiny-jb-mr1.1 branch for Android 4.2.x
tiny-jb-mr0 branch for Android 4.1.x
Installation Instructions:
1. (Optional) wipe dalvik+cache.
2. Flash in recovery
Reserved
fwiw here's the proper link to your goo.im kernels : http://goo.im/devs/tiny4579/kernels/gnex
Fixed. I didn't realize my links copied over bad.
Hey Tiny!
Glad to see you're getting into the game for the Gnex as well! Downloading now!
nschiwy said:
Hey Tiny!
Glad to see you're getting into the game for the Gnex as well! Downloading now!
Click to expand...
Click to collapse
I've actually been posting this kernel on rootz since September but today decided to mirror it on xda.
Thanks for sharing your work here as well.
DEFINITELY downloading this I loved ur kernels on droid inc
Sent from my Galaxy Nexus using xda premium
Alton (Halo 2) said:
DEFINITELY downloading this I loved ur kernels on droid inc
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks. Just a word of advice. I've heard reports that the 4.2 kernel (2.0) breaks bluetooth on 4.1 ROMs. For now stick with 1.7 if you want to use a Jellybean 4.1 ROM.
Tiny, thank you for your great work. I used your kernels all the time on the Droid Inc and look forward to trying this out!
Tiny! Bless you my long last friend. You're BACK!!! Now we're talking!
2.0.0 has gone stable. No changes from the 2.0.0-exp1 release but since it's good enough to be stable I wanted the build to reflect that.
I didn't add NTFS or CIFS support but I can if there's a request for it.
I am unable to enable bluetooth after I loaded up 2.0.0. Now I don't know if the kernel affects bluetooth or not. Anybody experiencing this issue?
bubbayang said:
I am unable to enable bluetooth after I loaded up 2.0.0. Now I don't know if the kernel affects bluetooth or not. Anybody experiencing this issue?
Click to expand...
Click to collapse
You probably don't want to be running 2.0.0 unless you're on a 4.2 ROM. Just my guess. No problems enabling bluetooth on 2.0.0 on a 4.2 ROM.
tiny4579 said:
You probably don't want to be running 2.0.0 unless you're on a 4.2 ROM. Just my guess. No problems enabling bluetooth on 2.0.0 on a 4.2 ROM.
Click to expand...
Click to collapse
Yeah, i'm on CNA 3.8 4.1.2 I guess I'll just roll back to the older kernel. Thanks
2.0.0 is running fine with mmuzzy's 11/16 4.2 build. Thanks for the great work.
Sent from my Galaxy Nexus using Tapatalk 2
What are you guys using to ramp up the GPU? Franco kernel app is showing 2Mhz. Any help?
It uses LeanKernel's interface so the app TricksterMod should work.
Ok thank you
I just had an oddity using trickster's mod with the kernel. After applying settings when I tweaked the GPU OC to 387MHz, the screen got a blue tint/hue. Did I do something wrong or is the mod buggy with 4.2? I'm running Muzzy's AOSP 4.2 ROM. I had Franco's r313 before trying tinykernel, but I wasn't getting any deep sleep. Still not deep sleeping even on this kernel. Did I bad flash or could there be something else happening? Thx in advance for the help.
Sent from my Amazon Kindle Fire using Tapatalk 2

[KK 4.4][KERNEL] Neo-Kernel TWRP Linaro 4.9

At first i have to say that i am not a developer.
I only pick comments from other devs and add them into my kernel.
This kernel is based on didhiy sources with some additions.
Thanks a lot to didhiy who helped me to get this working.
Sry for my bad english
And thx to kasper_h for his Mackay-TWRP
Differts to didhiy:
- Build using the Cortax-A8 optimized Linaro 4.9 toolchain of Christopher83: http://forum.xda-developers.com/showthread.php?t=2098133
- O3 optimization
- hard float + neon
- ROW tweaks from francisfranco
- CPU boost driver
- Lowered swappiness 60->45
- fifo + zen scheduler
- sry no own kernel logo till now
Source + Changelog:
https://github.com/DerRomtester/android_kernel_samsung_aries/commits/stable2
Bigmem libs for any kernel:
http://rootaxbox.no-ip.org/kasper_h/kernels/KK/bigmem/
Credits:
-didhiy
-pawtip
-DerTeufel1980
-Alberto96
-Christopher83
-faux123
-TK-glitch
-neobuddy89
-kasper_h
-stratosk
Changelog:
09.03 Changelog
- Now working with latest nightly
- one version with and one without zram
- 144 mb zram available
- ramdisk: from cm-11-20140307-NIGHTLY
- 1100 mhz step
- dma-contiguous: do not retry other addresses
without zram
with zram
13.03 Chagelog
- samsung bootsplash
- completly removed zram (causing lags)
- kernel: Prevent unnecessary rfkill event generation. (maybe increases battery life)
- AIO: Don't plug the I/O queue in do_io_submit() Asynchronous I/O latency to a solid-state disk greatly increased between the 2.6.32 and 3.0 kernels. By removing the plug from do_io_submit(), we observed a 34% improvement in the I/O latency
Download
15.03 Changelog
- Entropy Tweaks
- tmpfs: fix mempolicy object leaks
- switch the protection of percpu_counter list to spinlock
- timer slack controler
- optimized AES and SH1 routines
- backport CPUIDLE from 3.5
- backport AIO (Asyncronous IO) from linux 3.5
- mm: Dont use CMA pages for page cache
- irq: Set CPU affinity right on thread creation
- sync: allow async waits to be canceled
- powerpc: Align p_dyn, p_rela and p_st symbols
Download
16.03 Changelog
- latest toolchain from Christopher83 4.8.3 for cortex a8
Download
26.03 Changelog
- Many Entropy tweaks (cherry-picked from faux123)
- some Mutex changes
- some vmalloc changes
- ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above
- ARM: dcache: select DCACHE_WORD_ACCESS for little-endian ARMv6+ CPUs
Download
31.03 Changelog
- gcc 4.9 linaro toolchain from Cl3Kener
- enabled graphite
Download
7.04 Changelog
- ramdisk: update from cm-11-20140331-NIGHTLY
- latest bfq v7r2 added
- mm: vmscan: If kswapd has been running too long, allow it to sleep
- net: loopback: set default mtu to 64K
- ksm: check and skip page, if it is already scanned
- defconfig: Enable Advanced TCP Congestion Control
- defconfig: Enable KSM_CHECK_PAGE
Download
Changelog 14.04.2014
- mm/readahead.c: fix readahead failure for memoryless NUMA nodes and limit readahead pages
- ARM: s5pv210: enable IDE support in MACH_TORBRECK
- ARM: msm: add missing include of linux/module.h
- ARM: msm: export legacy DMA interfaces
- cma: Remove potential deadlock situation
- cpufreq: interactive: Remove unnecessary cpu_online() check
- reverted to christophers83 toolchain lets wait for his optimized cortexA8 toolchain
Changelog 23.04.2014
- sry i am too lazy now look at my github account
Changelog 12.05.2014
-defconfig: bfq default
-cpufreq: interactive: turn boost_pulse off on boost off
-ARM: be strict about FP exceptions in kernel mode
-ARM: add support for kernel mode NEON
-ARM: crypto: add NEON accelerated XOR implementation
--sysfs: Removed dup_name entirely in sysfs_rename
-mm/swapfile.c: do not skip lowest_bit in scan_swap_map() scan loop
-defconfig: CONFIG_KERNEL_MODE_NEON=y
-CRYPTO: Fix more AES build errors
-ARM: add .gitignore entry for aesbs-core.S
-ARM: add support for bit sliced AES using NEON instructions
-ARM: move AES typedefs and function prototypes to separate header
-ARM: pull in <asm/simd.h> from asm-genericcrypto: create generic version of ablk_helper
-ARM: 7837/3: fix Thumb-2 bug in AES assembler code
-ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling
-ARM: 7626/1: arm/crypto: Make asm SHA-1 and AES code Thumb-2 compatible
-ARM: only allow kernel mode neon with AEABI
-ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled
Changelog 4.06.2014
Changelog:
- removed cma
- added bigmem support so flash bigmem libs look op
- no problems with latest nightly
- latest mackay twrp 2.7
- bfq update v7r4
- for more details check github
nice work :thumbup:
imo -O3 + christoper toolchain should make a better optimizing like on mackay
Just installed.
Seems good.
The few mb less seems to solve front camera problems (no freeze on video recording or screenshot).
Will see for stability with the use.
I just miss one thing: Fast charge.
darckengel said:
Just installed.
Seems good.
The few mb less seems to solve front camera problems (no freeze on video recording or screenshot).
Will see for stability with the use.
I just miss one thing: Fast charge.
Click to expand...
Click to collapse
I try to include fast charge in the next version.
Sent from my GT-I9000 using xda app-developers app
Looks good :thumbup:
Sent from my GT-I9000 using xda app-developers app
liveOC ?
-Tex- said:
liveOC ?
Click to expand...
Click to collapse
I think i do not include it because of instability problems.
Sent from my GT-I9000 using xda app-developers app
My feedback after 1 day use:
I have some freeze issues for many seconds with some apps (games/browser), i didn't face it with other kernels, sounds like memory issues..
darckengel said:
My feedback after 1 day use:
I have some freeze issues for many seconds with some apps (games/browser), i didn't face it with other kernels, sounds like memory issues..
Click to expand...
Click to collapse
I know this problem .
Do not tick ksm and the other thing. Maybe it solves the problem.
Sent from my GT-I9000 using xda app-developers app
If the problem still exist pls test this version.
The problem could be this comment : backport SLUB from Linux 3.3 (thanks to faux123)
DerRomtester said:
If the problem still exist pls test this version.
The problem could be this comment : backport SLUB from Linux 3.3 (thanks to faux123)
Click to expand...
Click to collapse
Thx i will give a try.
Is the kernel i posted above without heavy lags?
Sent from my GT-I9000 using xda app-developers app
Test Kernel:
Changelog check github 1.March
Little Changelog:
- fast charge
- 512 readahead
- zcache cherry-picked from didhiy
- backport slub from linux 3.3
How much ram with this kernel? does it affect front camera?
LiveOC on Semaphore is quire stable, when you say it's unstable this is caused by user.
pacc said:
How much ram with this kernel? does it affect front camera?
LiveOC on Semaphore is quire stable, when you say it's unstable this is caused by user.
Click to expand...
Click to collapse
415 mb, no issues on front camera.
I tried it, but it's unstable on my phone, got many freezes (tried to uncheck memory options but i still have freezes).
darckengel said:
415 mb, no issues on front camera.
I tried it, but it's unstable on my phone, got many freezes (tried to uncheck memory options but i still have freezes).
Click to expand...
Click to collapse
Great, 415MB of ram without any issues, this is a winner.
Please add overclocking to 1100 which is quite stable on most devices.
pacc said:
Great, 415MB of ram without any issues, this is a winner.
Please add overclocking to 1100 which is quite stable on most devices.
Click to expand...
Click to collapse
I try it.
Sent from my GT-I9000 using xda app-developers app
You guys want a version without CMA ? This will solve the freezes
Or a version without zram ?
Sent from my GT-I9000 using xda app-developers app
Changelog:
- 1100 mhz oc step added
- disabled zram and zram for android
- many cherry-picks from startosk and from faux123: https://github.com/DerRomtester/android_kernel_samsung_aries/commits/stable

[TW/CM][Emotion Kernel r26][SM-N910F-G][9-SEP-2016][6.0.1]Emotroid Team

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Emotion nightly Kernel Note 4 -
-SM-N910F SM-N910G -​
Developed by Placiano and Pafcholini
More stable, more performance, more of everything!​
Introduction
Introducing the Emotion Revolution Roms & Kernels for Android Devices.
Emotion Rom/Kernel is a modified, aftermarket firmware/Kernel distribution few Android devices (Note 2, Note 4, HTC M7, Newman N2). Based on the Android Open Source Project , Emotion Rom & Kernel is intended to increase performance and stability over Android-based Devices released by sellers, for example, Samsung, HTC and so forth. Emotroid additionally offers a mixed bag of features & improvements that are not presently found in stock variants of Android.​​
*** Disclamer***
Your warranty is now void.
We are not responsible for any damage or problems you may have!
YOU are choosing to make these modifications.
Click to expand...
Click to collapse
Thread IndeX
POST 1: Kernel Information, Changelog, Credits,Screenshots
POST 2: Synapse, Recommended settings, FAQ, etc.
POST 3: Know/Reported issues
Request new features here
Features:
Kernel compatible with SM-N910F SM-N910G
Based on Samsung Open Source Code
Kernel compatible with TW and CM
Compiled with Toolchain Linaro GCC 5.1.2 Stable
Linux version 3.10.40
GPU OC/UC -> 800MHz / 166MHz
PowerSuspend Driver
KSM enabled
Wake Gestures (DT2W, DT2S, S2W, S2S)
Adreno idler Algorithm
Simple GPU Algorithm
Voltage Control
KCAL - Advanced color control
Led Control / Fading
CRC Settings
Advanced TCP control
Selinux Permissive
CIFS Support
NTFS Support
LZ4 compression algorithm
Reduced wakelocks
Kernel Adiutor
Governors: Barry-Allen, interactive_pro, intelliactive, bluactive, conservativex, alucard,darkness, nightmare, smartassV2, ondemandplus, umbrella_core, yankactive, dancedance, bioshock, lionhearth, conservative, interactive, ondemand,powersave, userspace, performance, impulse, zzmoove
I/O Scheldures: bfq, vr, fiops, zen, fifo, sio, test-ioshed, cfq, row, deadline, noop
Click to expand...
Click to collapse
LZ4 compression algorithm
LZ4 is a lossless data compression algorithm that is focused on compression and decompression speed.
The algorithm gives a slightly worse compression ratio than algorithms like gzip. However, compression speeds are several times faster than gzip while decompression speeds can be significantly faster than LZO.
The LZ4 algorithm represents the data as a series of sequences. Each sequence begins with a one byte token that is broken into two 4 bit fields. The first field represents the number of literal bytes that are to be copied to the output. The second field represents the number of bytes to copy from the already decoded output buffer (with 0 representing the minimum match length of 4 bytes). A value of 15 in either of the bitfields indicates that the length is larger and there is an extra byte of data that is to be added to the length. A value of 255 in these extra bytes indicates that yet another byte to be added. Hence arbitrary lengths are represented by a series of extra bytes containing the value 255. The string of literals comes after the token and any extra bytes needed to indicate string length. This is followed by an offset that indicates how far back in the output buffer to begin copying. The extra bytes (if any) of the match-length come at the end of the sequence.
Compression can be carried out in a stream or in blocks. Higher compression ratios can be achieved by investing more effort in finding the best matches. This results in both a smaller file and a faster decompression.
Click to expand...
Click to collapse
Sep- 9 -2016 r26
-Fixed semi-bootloops
Sep- 9 -2016 r25.1
-Fixed CVE-2016-2504
Sep- 8 -2016 r25
-Thermal improvements
-More fixes
June- 24 -2016 beta r25 rc7
-Fixed wifi issues for G variant and probably P,T and W
-Fixed GPU freq
-Fixed root issue
-Updated the topology masks before calling CPU_STARTING notifiers
June- 24 -2016 beta r25
-Initial Marhsmallow release
-all the features from LP
January- 1 -2016 nightly r23
-Kernel reworked
-Kernel works for F, G, P, T and probably W8 variants. (Note 4 and Note edge)
-Linux 3.10.94
-Based on DOK2 source code
-No more Synapse support, we moved to Kernel Adiutor (KA)
-Interactive governor improved
-mdss updates
-timer fixes
-Added touchboost (thanks to franco for the code) for Interactive (probably we'll add it for more governors)
-Fixed mpdecision issue (mpdecision has to keep 2 cores online always)
-Selinux updates
-Enabled pstore/ramoops dump for kernel panics (/sys/fs/pstore/console-ramoops)
-Added f2fs support (You need a recovery that support full f2fs)
-Net updates
-Ram managment improved
-Sched updates
-and a lot of CAF patches,etc.
-Checkout our github for more information
September- 23 -2015 nightly r21
-Linux 3.10.89
-Enabled HMP (Only for CM kernel)
-dt2w: prevent touches during phone calls
-Fixed fast charger
-Probably fixed random reboots while charging (need more feedbacks)
-Zzmoove back to beta7 (looks the best for the Note 4)
-Makefile: added optimizations
-Kcal updates and fixex (thanks to fflokes)
-Fixed some thermal issues
-Added option to disable ipv6 (seems to cause wake ups while wifi is connected,just for some routers)
-Another small changes and fixes, check out our github
September- 6 -2015 nightly r20
-Kernel based on COG5 (Android 5.1.1)
-Kernel 5.1.1 compatible with SM-N910F, SM-N910P and SM-N910T
-Compiled with Christopher83 Toolchain Linaro GCC 4.9.4 Cortex A15
-Kernel rebased from beginning and revised all the changes
-Cleaned unnecessary code and patches
-All the features from r19 are present
-Reverted UKSM (Caused some memory issue)
-Reverted Wifi PM (Caused issues)
-Swap set to stock (1280mb)
-Small fixes, etc.
August- 24 -2015 nightly r19
-Linux 3.10.87
-Kernel compatible with CM
-Makefile optimizations
-Wake Gestures:
"Double tap 2 wake
Double tap 2 sleep ( Control to allowed the width and height)
Sweep 2 wake
Sweep 2 sleep
Wake Gestures
Vibration Strength
Wake timeout"
-Wifi Calling fixed (T-Mobile variant)
-Proximity sensor during calls fixed (Sprint variant)
-LZ4 patches
-workqueue improvements and fixes
-Introduced new flag WQ_POWER_EFFICIENT for power oriented workqueues
-ext4 improvements and fixes
-PM QoS: Add GPU frequency limits to PM QoS and another patches
-Added UKSM
-mm/rmap made rmap_walk to get the rmap_walk_control argument
-cpufreq: Disable light-weight init/teardown during suspend/resume
-Added MSM Hotplug driver (neobuddy89)
-Added Bricked Hotplug Driver
-Intelli-plug updated (neobuddy89)
-cpu-boost: Several optimizations
-Added Sioplus & tripndroid
-msm: mdss fixes and patches
-mach-msm: DEFAULT_REDUCTION_PERCENTAGE to 65
-Added option to change the SELinux status
-cpufreq: added darnkess, nightmare and pegasusq governor updated the newer cpufreq driver to support "older" governors credits for the 3 -governors: Alucard24
-bcmdhd4358: WIFI PM support for KitKat driver [halaszk]
-bcmdhd: reduce rx wakelock timeout via sysfs node
-qcom: Update clock vote for improved performance
-Reworked voltage tables to reduce overload
-qcom:apq8084: reduced the maximum current for each frequency
-arm/dt: 8084: Drop retention voltages/Drop min allowable voltage (Thanks to XileForce)
-Reduced lower constraint for GPU (Flar2)
-frandom updates
-Synapse: changes, fixes, new tabs, etc. (thanks to UpInTheAir for some nice codes)
-For more info and changes check out our GITHUB
Jule- 28 -2015 nightly r18
-Linux 3.10.84
-Compiled with UBERTC Toolchain 5.2
-Source and ramfs updated to POF2
-Speed up console framebuffer imageblit function
-Fixed ZeroLemon Fuel Gauge (Thanks to TheLoneWolf20)
-Reverted some commits from r17
-Fix stuck CPU frequencies (Thanks to gekkehenkie11)
-qseecom: updates
-msm_hsic_host: reduce wakelock
-Crypto: updates and fixes
-dm: updates and fixes
-Added PFT (Per-File-Encryption)
-inr_sqrt: improved 3x faster integer sqrt and correction square root algo with naming
-mhi: fixed building of mhi driver
-Reverted Kali NetHunter (For now)
-Interactive: updates
-Added impulse governor and changed part of the code by neobuddy89
-Added zzmoove governor
-Added lcd_notify
-Sweep2wake: added s2s_only and sweep from left to right
-Row I/O: added magic values by Franco
-Synapse: updates, fixes and added Adreno idler
-For more info and changes check out our github
June- 28 -2015 nightly r17
-Linux 3.10.81
-Kernel compiled with Linaro Toolchain 5.1
-Added adreno idler algorithm by Arter97
-Sweep2wake works (Now we have sweep2wake and sweep2sleep)
-Hardlimit 2.2 Emotion Edition for Note 4 (Cleaned to be pure hardlimit)
-Google play services wakelock fixed
-bluesleep: reduced wakelock
-pinctrl: msm: Enabled irqs on resume
-wireless: dhd: Enable standby ARP and multicast packet filters
-Allow untrusted apps to read from debugfs
-input: keyboard: qpnp-keypad: register private data in SPMI dev
-mhi: core: Fix double increment on event counter and removed useless atomic variables
-Swap up to 1.5GB
-Add some tweaks for performance from LSpeed Mod
-net: wireless: bcmdhd4358: Fixed failure to enter PS
-frandom: Dynamically allocate the char device numbers and clear up checkpatch conflicts
-msm: mdss: update and fixes from codeaurora patches
-binder: Quiet Binder and Ratelimit binder debug messages
-ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+
-block: BFQ updated to V7r8 for 3.10.X
-USB: android: Fix memory leak in mass_storage_function_init()
-cpuidle: updates and fixes from Linaro patches
-Fast charge adapted and fixed for Note 4 (Thanks to yank555.lu and ktoonsez for the initial code)
-cpufreq: Prevent mpdecision changing scaling freq
-qcom-cpufreq: updates and fixes
-Barry Allen updated to 1.0
-PM: devfreq: Fix show available freqs
-msm:kgsl: fixes
-msm: vidc: updates and fixes from codeaurora patches
-Added msm zen decision (replacement for MPDecision)
-force -Os -std=gnu89 and don't use GCC wrapper for GCC 5.1+
-Makefile: Additional Optimizations
-gpio_keys: force sync on KEY_POWER, KEY_HOME press (This should help in situations when the device or the OS is stalled but the kernel is alive and running.)
-arm: added arm optimized memcmp and Krait optimized strcmp
-readahead: make context readahead more conservative
-dtsi: fixed 268MHz frequency
-mm: zswap: fixes
-Synapse: clean up and fixes
-For more details check out our source code
June- 2 -2015 nightly r16
-Linux updated to 3.10.79
-Added LED Control/fading available in Synapse (Thanks to @UpInTheAir and halaszk)
-SM-N910F kernel is compatible with SM-N910G variant (BOE1+ firmware)
-SM-N915P (Note edge sprint variant) compatible
-Fix screen brightness issues: workaround for KK bootloaders not reporting the panel name (SM-N910V kernel)
-arm: vfpmodule: Fixed warning procfs vfp_bounce reporting failed
-dts: msm: disabled support of 50MHz for i2c for apq8084
-GPU Overclock and Underclock to 800MHz/166MHz
-GPU reduced frequency on boot from 300MHz to 266MHz
-msm: kgsl: show current power level
-suspend: Return error when pending wakeup source is found
-Barry Allen governor updated to 0.7
-mmc: sdhci-msm: Added Samsung 64G search after tune quirk
-Compile with -O3 flag
-KCAL updated (Fixed some issues)
-kernel/smp.c: fixed memory leak
-Default to NOATIME and NODIRATIME for FS performance improvement
-Optimized copy_page for modern ARM platforms
-cpufreq: Added stop CPU callback to cpufreq_driver interface
-PM: Introduce suspend state PM_SUSPEND_FREEZE
-PM / suspend: Make cpuidle work in the "freeze" state
-power: Adds functionality to log the last suspend abort reason
-ACPI / PM: Hold ACPI scan lock over the "freeze" sleep state
-power: catch wake-up requests in suspend_again
-PM / sleep: fix freeze_ops NULL pointer dereferences
-dm-req-crypt: Free resources in destructor
-qce50: Update clock vote for improved performance
-Optimized kernel size
-scheduler: update to BFQ-v7r7 for 3.10.8+
-Interactive: changed CPUFREQ_RELATION_C to CPUFREQ_RELATION_L
-DEFAULT_GO_HISPEED_LOAD to 90
-DEFAULT_TARGET_LOAD to 90
-DEFAULT_MIN_SAMPLE_TIME to 40
-suspend: Return error when pending wakeup source is found
-msm: kgsl: Add check to protect against operating on NULL pointer
-msm: kgsl: Avoid a possible NULL reference in kgsl_ioctl_helper
-futex: Add another early deadlock detection check
-Synapse added in the zip
May- 18 -2015 nightly r15
-Linux updated to 3.10.78
-Added compatibility to SM-N915-F-G-T (Note Edge)
-Added SWAP to 1.4gb
-Added support to Kali NetHunter (Thanks to FutureBSD and thehacker911)
-cpufreq: Added if cpu is online check in show
-cpufreq: Protect against hotplug in cpufreq_register_driver()
-cpufreq: Fixed timer/workqueue corruption by protecting reading governor_enabled
-Revert "cpufreq: make the "scaling_cur_freq" sysfs entry pollable"
-cpufreq: Use correct locking for cpufreq_cpu_data
-cpufreq: Return directly in __cpufreq_get if policy is NULL
-cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
-cpufreq: governor: removed copy_prev_load from 'struct cpu_dbs_common_info'
-cpufreq: removed race while accessing cur_policy
-DriveDroid support (DEFAULT, MTP, PTP, UMS)
-Increased swappiness from 60 to 70
-Improved performance
-NTFS fixed
-Updated Ramfs to BOD2
-Added USB mode in Synapse
-Profiles updated in Synapse
-Fixed gamma and lmk profiles
-Added stock profile in Synapse
-Another minor changes and fixes
May- 11 -2015 nightly r14
-Linux updated to 3.10.77
-Selinux back to full permissive (Fixed gear vr compatibility, etc.)
-WIFI optimized (Thanks to @javilonas)
-Fixed T-Mobile Synapse compatibility
-Crypto: Updated to armv7-a Neon
-Busybox updated to 1.23.2 to fix some issues with Synapse
-Fixed all known bugs from r12+1
-Fixed some minor bugs in the ramfs
-Another minor fixes
May- 8 -2015 nightly r13
-Linux updated to 3.10.76
-Kernel compatible with SM-N910T
-Reverted "power: make sync on suspend optional"
-KCAL updated
-The kernel boot on Selinux enforcing but you can change the status from Synapse
-qcom-cpufreq: Removed save/restore of scheduling policy
-cpufreq_interactive: updated again from Shamu source
-cpufreq: stats: Don't update cpufreq_stats_table if it's NULL
-cpufreq: Break out early when frequency equals target_freq
-msm: lpm-levels: add suspend_again handler
-msm: Fix high load average from uninterruptible waits
-qcom: mpm-of: fix bug in finding the pending interrupts
-Added new governor Barry-Allen by Javilonas
-CIFS and NTFS built in the kernel
-Ramfs optimized (New tweaks,etc. thanks to Javilonas for some scripts)
-Synapse support KCAL control
-Added profiles in Synapse
-Added profiles for LMK in Synapse
-Added global voltage control in Synapse
-Change Selinux status from Synapse>MISC
-Fixed some bugs in Synapse
April- 23 -2015 nightly r12
-Kernel compatible with SM-N910F SM-N910G SM-N910P SM-N910V
-Based on BOC3
-Linux updated to 3.10.75
-Fixed random reboots for some users
-Added crypto optimized SHA-256/224
-percpu: implemented generic percpu refcounting
-mm: disabled zone_reclaim_mode by default
-mm: reordered can_do_mlock to fix audit denial
-Enabled Zram with lz4 compression by default (Synapse>Kernel Tweaks)
April- 18 -2015 nightly r11
-binfmt_elf.c: use get_random_int() to fix entropy depleting
-Reverted "sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire" (Thanks to andip71 to report the lag)
-arm/kernel/irq.c: removed irq affinity warnings
-Restored CPU frequency during resume
-Silenced some annoying last_kmsg
-futexes: Increase hash table size for better performance
-Improved/fixed some typos in the ramfs
April- 15 -2015 nightly r10
-Compiled with Linaro GCC 4.9 2015.03 Cortex A15
-Linux updated from 3.10.40 to 3.10.74
-Compression changed to LZ4
-Power: made sync on suspend optional
April- 12 -2015 nightly r9
-Back to Linux 3.10.40 (For now, we are working to bring stable 3.10.73)
-Added Intelli-thermal v3.0
-bcmdhd4358: filter multicast packages while suspended
-fs/namei.c: fix potential memory leak in path_lookupat
-pinctrl: msm: fixed potential NULL pointer dereference
-usb: ks_bridge: by default debugging is disabled
-slub: fix kmem_cache_shrink return value
-mm: slub: fixed format mismatches in slab_err() callers
-power:Enable/Disable power collapse after camera open
-Implemented CPU Core Control by andip71
-tick: don't update idle time if cpu offline
-msm: kgsl: Only wake GPU on multitouch events
-Interactive: don't boost cpu if already boosted
-rtc: qpnp-rtc: Sets RTC time correctly
-rtc: qpnp-rtc: Set alarm control register properly
-Added Mobile Storage Analyzer
-soc: mbhc: Fix ID Tech card reader detection
-power: catch wake-up requests in suspend_again
-pinctrl: msm: prevent bogus wake up from suspend
-asoc: wcd9xxx: Improved headset detection
-Implemented Motorola MSM memcpy enhancements "memutils" (Faster memcpy performance for Krait)
-Improved Memutils
-Added CIFS as module
-Adde NTFS as module
-ASoC: msm: qdp6v2: handle proxy read failure
-ASoC: msm: qdsp6v2: Fix timestamp query during gapless transition
-mmc: core: Update PON (Power Off Notification) based on the system state
-mm: Fix NULL pointer dereference in madvise(MADV_WILLNEED) support
-netfilter: IDLETIMER: fix invalid deference of timer
-Fixes and improvements in Synapse
-Added CPU Binning (pvs information) Synapse> CPU VOLTAGE
-Added CPU core control in Synapse> CPU DRIVERS
-For more info check our Github
March- 27 -2015 nightly r8
-Linux update to 3.10.71
-Powesuspend updated to 1.7
-Intelli-plug updated to 4.0
-OC/UC -> 3072MHz / 268MHz
-Added Hardlimit Control
-Added new governors
-Addeded new scheldures
-Added memcopy & string use glibc version
-Added quickwakeup driver (improve battery life)
-Optimized Kernel Samepage Merging (KSM)
-deadline: Optimized for non-rotational
-mm: Clear page active before releasing pages
-ARM: 8119/1: crypto: sha1: add ARM NEON implementation
-ARM: 8120/1: crypto: sha512: add ARM NEON implementation
-ARM: crypto: add NEON accelerated XOR implementation
-ARM: add support for kernel mode NEON and only allow kernel mode neon with AEABI
-Fixed failure to enter PS mode while roaming
-Sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
-Disabled add_random for more performance on SSD's
-tcp: enabled tcp fast open functionality (franciscofranco)
-For more info check our Github
March- 5 -2015 nightly r7
-Added KCAL - Advanced color control (Thanks to @savoca for his great job) check this thread for more info
March- 3 -2015 nightly r6
-Based on XXU1ANK4 (KitKat version) and compatible with "F,G,T,V,W8"
-Based on XXU1BOB4 (Lollipop version) and compatible with "F"
-Lollipop version has all the features except mdnie control and S-View hack
-Kernel compiled with Linaro Toolchain 4.9.3 2015-02
-FauxSound updated to 3.6
-Fixed some issues in FauxSound and Synapse
-cpufreq: Introduced new relation for freq selection Introduce CPUFREQ_RELATION_C
-Interactive Governor: Use CPUFREQ_RELATION_C
-Added Gentle fair sleepers (Synapse -> KERNEL TWEAKS)
-Enabled Kernel SamePage Merging (KSM) (Synapse -> KSM)
-Added key disabler (Synapse-> SCREEN/MISC)
-Added userspace vibration strength control (Synapse-> SCREEN/MISC)
-Changed some stuff in Synapse
-Reverted some commits
-Another minor changes
January- 27 -2015 nightly beta r5
-FauxSound implemented
-FauxSound in Synapse
-Added high performance mode in Synapse->Sound
-Fixed battery drain on wifi (My fault)
-Reverted another commits
January- 16 -2015 nightly r4
-Fixed cpu voltage control (No more 0MHz frequency in cpu voltage table)
-ASoC: wcd9xxx: use hwdep node for codec calibration
-ASoC: wcd9320: use hwdep nodes to get calibration
-ASoC: wcd9xxx: Changes for High performance mode
-ASoC: wcd9xxx: Change PA on and VDDIO switch sequence
-ASoC: wcd9xxx: Avoid micbias glitches during audio playback
-In conclusion better quality sound on headsets
-Sched/fair: reduced latency
-Decreased DHD_PACKET_TIMEOUT_MS to 250 ms (Before 500ms)
-Drecreased time to enter sleep
-Net: wireless: Increased scan entry expiration to fit new scan time
-PM: devfreq: Use high priority workqueue
-Msm: kgsl: Report correct GPU frequency in sysfs
-Some minor changes
January- 11 -2015 nightly r3
-Added Frandom as module and set by default (Synapse>I/O>Frandom) "For more info check this"
-Network speed tweak
-Reduced wakelocks "wlan_rx_wake" and "wlan_ctrl_wake"
-dtsi: realigned voltages with userspace values (Thanks to twistedumbrella)
-cpu-boost more performance (Thanks to franciscofranco)
-sched: LOAD_FREQ (4*HZ+61) "For more info check this"
-Interactive governor imported from the Nexus 6 (No more lag on interactive)
-Added bluactive and interactive_pro governors
-Reverted some changes that made the kernel laggy in some cases.
-Selinux set to permissive by default
-Gpu: msm: for higher priority you want to use nice level of -7
-Now you can change the governor tunables from Synapse (Issue fixed) (Thanks for the tip to AndreiLux)
-Synapse shows all the available gpu governors (Thanks to my friend Friedrich!)
-Cleaned some things in Synapse
-Other minor changes
January- 4 -2015 nightly r2
-Fixed Ondemand governor
-mm: slub: Default slub_max_order to 0 (Improved performance)
-Increased io performance
-writeback: fix occasional slow sync
-Fixed min frequency (Finally!)
-msm: Fix high load average from uninterruptible waits
-Cpu boost sysfs to enable/disable it (Synapse>cpu drivers)
-S-View hack (Twistedumbrella) enable/disable (Synapse>miscellaneous)
-Minor fixes
January- 1 -2015 nightly r1
-Based on Samsung Open Source N910FXXU1ANIE
-Compiled with Toolchain Linaro GCC 4.9.3 2014.12 Cortex A15
-PowerSuspend Driver
-Intelli-Plug V3.9
-Stereo Call Recording Support
-cpufreq_limit: don't override cpu min frequency
-Fast Charge V1.2
-Sweep2wake
-Simple GPU Algorithm
-Sysfs interface to Enable/Disable Logger Android (Default disable)
-Voltage Control
-Intelli-Thermal V1
-mDNIe Hijack control
-Advanced TCP control (westwood default)
-Sysfs interface to Enable/Disable CRC
-Dynamic Fsync Control V1.5
-Added Intelliactive, Smartmax and SmartassV2 governors
-Led Control
-Panel Color Control
-mDnie mode adapter for Synapse
-Selinux Enforcing/Permissive
-Synapse Support
Click to expand...
Click to collapse
Installation instructions
You need to have TWPR, CWM o Philz Recovery.
Download the last kernel
Reboot in recovery mode
Make backup (recommended)
Flash the zip
Don't be shy / lazy leave your feedback!​
Click to expand...
Click to collapse
Downloads
Strictly No Mirrors Please. In the event that you need to make one ask us first with purpose behind what valid reason.
Current Version
Emotion TW Kernel SM-N910F/G Downloads
Emotion CM Kernel SM-N910F/G Downloads
As you can see there are 2 version for every variant. 1 variant it's for Zerolemon batteries and the another for stock batteries.
Click to expand...
Click to collapse
Source code:
Emotion kernel Github
Wake Gestures:​
Thanks To/Credits
Thanks to @hsbadr for contribute on the SM-N910V source code
Andip71, AndreiLux, apb_axel, Arter97, Civato, Christopher83, Codeaurora, DerTeufel, Faux123, Ffolkes, Flar2, Franciscofranco, Franlov, Friedrich420, Gokhanmoral, Imoseyon, Infernum, Javilonas, ktoonsez, Linaro, LoungeKatt (TwistedUmbrella), myfluxi, neobuddy89, savoca, UpInTheAir, Yank555.lu, ZaneZam.
Testers: @myaslioglu @Jdidtht @aloom @moe67er @anthony92170 @ronnie498 @blacklabel2020 @ravenseb @TheGrandFinale2001 @coolfire @monleylord @_Sofos_ @Rsroms @masterchif92 @piretia @nymikey @vanito @Teknodad1974 @JoeBear1975 and @Flashvetrin (R.I.P.)
And all users that support the thread and the kernel!
I hope I have not forgotten anyone!
Hit the "thanks" button if you like our work.
You can follow new updates here (Spanish)
XDA:DevDB Information
Emotion Kernel, Kernel for the Samsung Galaxy Note 4
Contributors
Pafcholini, aukhan, placiano
Source Code: https://github.com/Pafcholini/emotion_kernel_note4_mm
Kernel Special Features:
Version Information
Status: Nightly
Current Stable Version: Emotion nightly r25.
Stable Release Date: 2016-09-09
Created 2015-01-01
Last Updated 2016-09-09
Recommended settings & FAQ
Synapse Profiles
Go to Synapse
Profile
Choice the profile that you want
Apply it
Then Reset Selected Profile
Synapse will get FC (Don't worry)
Just reboot your device. DONE
How to backup profiles
Synapse and all available options:
- LIVE STATISTICS: Time in states, Uptime,etc.
- CPU - GOV: cpu scaling, cpu governor and governor tunables.
- CPU voltage: separate frequency voltage.
- GPU: GPU scaling min/max frequency, GPU governor, Simple GPU Algorithm.
- I/O: schedulers, internal storage read-ahead, externalSD read-ahead, Frandom Module, Scheldure Tunables Internal/External
- CPU DRIVERS: PowerSuspend and Intelli-Plug
- THERMAL: Intelli-Thermal Control
- MISCELLANEOUS: Dynamic FSYNC Driver, Logger Mode, CRC Settings, S-View bypass, Selinux Status, Optimize Database.
- BATTERY: Live Statistics and Fast Charge
- MDNIE/SCREEN: Panel Control, mDNIe Mode and mDNIe Mode Hijack
- LED: Led Control
- SCREEN WAKE CONTROL: Sweep2Wake Control
- KERNEL TWEAKS: low memory killer, kernel entropy, panic and panic on oops.
- NETWORK: tcp congestion control, hardering the TCP/IP stack to SYN attack,ignore pings,etc.
- VM-FS: dirty radio, swappiness,etc.
- BUILD.PROP: Build.prop Tweaks
- LOGS: Clearn Synapse, Logcat and Dmseg
- INFO-REBOOT: info about the kernel, reboots,etc.
Click to expand...
Click to collapse
Balance between performance and battery
Above is what I use personally. MAY NOT be optimal for all. Share your settings.
CPU frequency: 2649MHz/268MHz
Hardlimit Max Screen ON: 2649MHz
CPU governor: Interactive or Umbrella_core
CPU voltage: -25mV
GPU: msm_adreno or simple_ondemand
I/O schedulers: row or zen
I/O Readahead: 1024 for both
PowerSuspend: DisplayPanel_hook
KSM: disabled
MPDECISION: enabled
Intelli-Thermal: enabled
MISCELLANEOUS: fsync enabled, logger mode disabled, crc disabled
TCP: westwood
Click to expand...
Click to collapse
Performance configuration
CPU frequency: 2918MHz/268MHz
Hardlimit Max Screen ON: 2918MHz
CPU governor: Interactive_pro or Bluactive
CPU voltage: ----
GPU: performance or simple_ondemand
I/O schedulers: deadline
I/O Readahead: 1024 for both
PowerSuspend: DisplayPanel_hook
KSM: enabled
MPDECISION: enabled
Intelli-Thermal: enabled
MISCELLANEOUS: fsync enabled, logger mode disabled, crc disabled
TCP: westwood
Click to expand...
Click to collapse
Aukhan recommended settings
F.A.Q
Can I flash this kernel on Note 4 SM-N910C or other variant?
No, you can not. This kernel is only for SM-N910F, SM-N910G, SM-N910P and SM-N910V.
When I switch to Ondemand governor I noticed that cpu-boost is disabled.
Exactly, Ondemand and cpu-boost doesn't work well together. When you switch to Ondemand governor cpu-boost will be disabled automatically. Don't re-enable cpu-boost if you are using Ondemand governor. (Synapse>CPU DRIVERS)
Which app can control this kernel?
By default, the kernel is controlled by Synapse, but you can use the app that you like (Trickster Mod, Kernel Tweaker, etc.).
I flashed the kernel and Synapse says: "No support UCI detected".
Reflash the kernel, since it was a bad installation and Synapse does not detect the scripts.
After flashing the kernel lost root what to do?
In case you loose root just flash SuperSU
Any recommended settings to follow using Synapse?
At the beginning of the second post.
After flash the kernel some apks give me FC.
Go to Google Play Store and reinstall those apks.
From where can I remove int.d script?
Go to /system/etc/init.d using any root based file manager and delete.
Note: There is an important one related to superSU and if you remove it by mistake you're gonna have trouble with root permissions.
My device doesn't show any reaction to undervolting (battery life is same as before) or gets unstable even on light undervolting?
Use DVFS disabler Module(standalone) (dynamic voltage and frequency scaling), this feature was kept in touchwiz for benchmark boosting purposes and will conflict with any undervolting and custom governors because it scales the voltages and frequency on regular intervals and is framework integrated, so gets a higher priority than kernel based voltage and scaling controls.
For people who don't know what is DVFS please refer Wikipedia.
Min/Max frequency don't stick?
If your frequency settings don’t stick, it's because on certain Qualcomm devices, there are certain system services (thermald/mpdecision/project butter) or kernel service that rewrite frequency settings based on current thermal status and/or touch input.
I made a logcat but my file is empty. How I can "fix" it?
By default Android logger is disable. Go to Synapse > MISCELLANEOUS and enable Logger Mode.
What is it PowerSuspend?
This new powersuspend PM kernel driver is a replacement for it and existing early_suspend drivers. It should give better battery life.
What is it Intelli-Plug?
Intelliplug is a replacement for mp decision. Intelli-Plug is Faux123 open source solution to Qualcomm's closed source mpdecision. Intelli-Plug is disable by default. It conflicts with mpdecsion, so is HIGHLY recommend turning off mpdecision when using intelli-plug! (If you use Synapse the change is automatic. If you enable Intelli-plug mpdecision will turn off).
What is it Intelli-Thermal?
an intelligent MSM thermal throttling kernel driver designed to replace the
closed sourced thermald(aemon) from Qualcomm.
What is it Frandom?
Frandom is a kernel random number generator, which is 10-50 times faster than what you get from /dev/urandom. And it uses very little (/dev/frandom) or none (/dev/erandom) of the kernel's entropy pool, so it is very useful for applications that require a handy source for lots of random data.
What is it CRC?
CRC is a mechanism aiming to prevent data corruption when is enabled (reduce the performance around 30%). So if you disable it improve the performance but your data can be corrupted. Use it at your risk.
/sys/module/mmc_core/parameters/crc
Do you have issues in Synapse?
Go to the Play store and install busybox on rails.
Ve a la play store e instala busybox on rails, eso arreglará cualquier fallo en Synapse.
Shealt doesn't work (FC's)
Clear data of Shealt
How to use NTFS OTG?
Install USB OTG Helper . Connect your ntfs otg then open USB OTG Helper apk click on "mount". That's it. Use your favorite xplorer to open the OTG.
Know/Reported/Fixed issues
Know issues
1. Synapse doesn't show CPU governor tunables.
I'm trying to fix it. FIXED
2. Sometimes Synapse (and others kernel control apks) show that the min frequency is 1190MHz (or other frequency).
Just cancel it. FIXED
3. Ondemand doesn't work well. FIXED
Thanks for the report @Vangelis13
4. The OTG doesn't work in r8. FIXED
First!
Thanks man i try it now.
Looks good, lots of stuff to play with in synapse. Thanks.
The kernel is real fast. Atm im playing the settings. Only 1 thing what i cant get work is sweep2wake i dont know im wrong or it dont work atm.
Anyway thank you for this kernel
yussuf007 said:
The kernel is real fast. Atm im playing the settings. Only 1 thing what i cant get work is sweep2wake i dont know im wrong or it dont work atm.
Anyway thank you for this kernel
Click to expand...
Click to collapse
Slide your finger from right to left until half the screen. try it a couple of times until you find the the right movement.
Wow One More Dev Is Here For Showing Love To Our Monster Device..
Sent from my SM-N910G
---------- Post added at 05:20 AM ---------- Previous post was at 05:19 AM ----------
Downloading.. Will Give Response Soon
Wait A Min..
Sent from my SM-N910G using XDA Free mobile app
sh*t just got real!
will test this bad boy out... Thanks!
Very nice kernel. No issues as yet
sent from Dan's galaxy
Well Done my friend!!
Im very happy to see this baby live :good::good:
just reporting that I get stuck at the samsung logo at the start after flashing
wiped cache and dalvic cache
rico13 said:
just reporting that I get stuck at the samsung logo at the start after flashing
wiped cache and dalvic cache
Click to expand...
Click to collapse
Can you give some details of your configuration? ROM, recovery, phone model?
albireox said:
Can you give some details of your configuration? ROM, recovery, phone model?
Click to expand...
Click to collapse
echo rom
twrp 2.8.1.0
and on the G model
rico13 said:
echo rom
twrp 2.8.1.0
and on the G model
Click to expand...
Click to collapse
You should try with Phil's recovery. I've had problems with TWRP.
friedrich420 said:
Well Done my friend!!
Im very happy to see this baby live :good::good:
Click to expand...
Click to collapse
You're not alone anymore..
Nice kernel! Ondemand freezes & reboots under quite small load, has anyone seen the same? I can probably reproduce & send a last_kmsg if the dev needs it.
Here is a few recommended settings as a lot of members would ask share you setting for the extended battery life.
So here are few basic setting epically for them.
Watch "Nadia Kernel Note 4 Recommended settings" on YouTube - Nadia Kernel Note 4 Recommended settings: http://youtu.be/Vtuz0dT1qkk
---------- Post added at 04:05 PM ---------- Previous post was at 04:01 PM ----------
albireox said:
You should try with Phil's recovery. I've had problems with TWRP.
Click to expand...
Click to collapse
It works well with TWRP I've tried it multiple times. Try to place the zip in internal storage if still doesn't work then install Philz.
rico13 said:
echo rom
twrp 2.8.1.0
and on the G model
Click to expand...
Click to collapse
---------- Post added at 04:07 PM ---------- Previous post was at 04:05 PM ----------
Vangelis13 said:
You're not alone anymore..
Nice kernel! Ondemand freezes & reboots under quite small load, has anyone seen the same? I can probably reproduce & send a last_kmsg if the dev needs it.
Click to expand...
Click to collapse
We will try to reproduce this issue could u please submit catlogs.
i think any other kernel for note 4 have the same problem whit OnDemand
with your raccomended settings the camera lag a lot and doesn't work :-/
aukhan said:
It works well with TWRP I've tried it multiple times. Try to place the zip in internal storage if still doesn't work then install Philz.
Click to expand...
Click to collapse
installed philz and tired flashing the kernel from the internal storage and still stuck at the samsung logo
ill send you a logcat when I get a chance

[LinOS] Private Kernel r16

Hello guys i hate long OPs. So lets keep it small.
Current features:
* francos thermal driver tuned to work with the VADC sensor (more accurate throttling results)
* tuned the BFQ I/O scheduler
* powerd my cpuquiet hotplug
* fast charge support
* synced with googles android 3.4 branch
* KCAL
* CPU undervolt feature
* added the 268mhz CPU frequency
* some small various tweaks etc....
Tested on cm14.1 nightlys. I dont support any weird combinations of camera hal's blobs and drivers.
If you like my work press the thx button or consider a small donation
XDA:DevDB Information
Private Kernel, Kernel for the OnePlus One
Contributors
DerRomtester, DerRomtester
Source Code: https://github.com/DerRomtester/android_kernel_oneplus_msm8974/tree/cm-13.0-nightly
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r15
Stable Release Date: 2017-02-24
Created 2016-10-02
Last Updated 2017-03-18
Download:
goo.gl/f6ankG
Q: Can you add this feature ?
A: Maybe. Just sent me some info or a link which kernel has it and than i am gonna take a look at it.
Q: How do i report a bug?
A:
Infos that i need:
What rom are you currently running ?
What kernel version are you currently running?
When did the bug happen?
What settings were you running?
How can i reproduce your bug or is it reproducable?
Take a log and post the last_kmsg on http://pastebin.com/.
No support for users that are running xposed.
Q: Will you support different combinations of camera blobs / hals and drivers?
A: No
Q: Does the kernel work on xy-Rom?
A: This kernel is desinged for cm nightlys. It may work on different roms because of the anykernel ramdisk but i cant guarantee it.
Thanks @DerRomtester your kernel is working nice and stable with the latest cm13 nightly. Good to see, that you made a new thread for this kernel project. :good:
Sent from my OnePlus One using XDA Labs
Tnx dudeeeeeeee ;D
Testing with Legend N Rom
Câmera pics and record vídeo work
HW buttons work fine
@DerRomtester Thank you for your work, can you advise me for good setting for MSM-hotplug to save more battery , good to see you add new hotplug (in your next build)..
Hello guys just uploaded an experimental r2 build:
* added adreno-idler
http://forum.xda-developers.com/and...dreno-idler-idling-algorithm-devfreq-t3134872
Now you guys have to test if adreno idler makes a difference on the power consumption. At the end we can compare the results.
In my opinion the device feels a little bit smoother with adreno-idler disabled.
* added cpuquiet hotplug
* added francos sound control
* added power efficient workqueue
* added some magic from franciscofrancos COS kernel to my CM kernel
* added fsync on/off support
* updated to cpu boost driver
* updated the interactive governor
etc.
Full Log:
Code:
cpuquiet: fix missing reference to cpq_min_cpus and cpq_max_cpus
prima: fix compilation warnig caused by vos_mem_compare
cpuquiet: fixes and alignments for racer
Revert "msm_hotplug: introduce"
cpuquiet: fix some build errors and also remove the iowait check that is not present anymore on our kernel
cpuquiet: remove earlysuspend and update the defconfig and also disable msm_hotplug
cpuquiet: load_stats: call get_rq_info only if required
msm8974: cpuquiet: relax defaults
[1/2] find7: cpuquiet: initial bringup
msm: smp2p2: Fix kernel address leak
SPS: allow modem driver to sleep when no data traffic.
adreno_idler: merge from oxygen os kernel
devfreq: adreno_idler: Introduce Adreno idler for devfreq-based devices
bl: lm3630: Disable PWM mode outside of init
bl: lm3630: Always disable PWM mode
cpufreq: cpu-boost: don't boost over user set max freq
cpufreq: cpu-boost: export input_boost_enable to userspace
cpufreq: cpu-boost: Use one work to remove input boost for all CPUs
cpufreq: cpu-boost: Support separate input_boost_freq for different CPUs
cpufreq: cpu-boost: Make the code 64 bit compatible
drivers: mmc: according to the comment left by the original author disabling a cyclic redundancy check on data blocks by yield a a performance improvement hovering ~30%
backport https://lists.linuxfoundation.org/pipermail/ltsi-dev/2013-December/002683.html from Kernel 3.10 workqueue: use a higher bit to give more space to actual non-internal flags
cpu: Handle smpboot_unpark_threads() uniformly
cpu: Defer smpboot kthread unparking until CPU known to scheduler
smpboot: use kmemleak_not_leak for smpboot_thread_data
mm: improve migration heuristic
arm: smp: Update the topology masks before calling CPU_STARTING notifiers
mm: slub: Default slub_max_order to 0
cpufreq: interactive: squash latest governor commits
msm: vidc: making qos_request variable per instance
sound: add sound control to increase headphones, speaker and mic gain.
PM: Introduce suspend state PM_SUSPEND_FREEZE
fs/buffer.c: increase the buffer-head per-CPU LRU size
msm: vidc: disable debug logs
PM / QoS: Fix workqueue deadlock when using pm_qos_update_request_timeout()
msm: vidc: Check for active handle before updating the QoS request
soc: qcom: smd: Fix SMD packet sync loss issue
msm: vidc: Initialize kernel space stack variables
msm: vidc: disable CPU L2 cache PC during video sessions
tcp_cubic: better follow cubic curve after idle period
mm, vmalloc: remove useless variable in vmap_block
mm, vmalloc: use well-defined find_last_bit() func
block: Reserve only one queue tag for sync IO if only 3 tags are available
readahead: make context readahead more conservative
binfmt_elf.c: use get_random_int() to fix entropy depleting
writeback: fix writeback cache thrashing
mm: vmscan: If kswapd has been running too long, allow it to sleep
CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
sched, smp: Correctly deal with nested sleeps
driver: soc: bam_dmux: Fix spinlock lock-up
msm: bam_dmux: Reduce debug logs to avoid watchdog bite
tty: fix memleak in alloc_pid
ARM: make kernel oops easier to read
msm: kgsl: Report GPU frequency correctly in sysfs
Added fsync on/off support.
Remove '+' symbol from kernel version string
Revert "cpufreq: make the "scaling_cur_freq" sysfs entry pollable"
Input: Send events one packet at a time
kthread_work: wake up worker only when the worker is idle
cpuidle: remove cross-cpu IPI by new latency request.
sched/fair: Implement fast idling of CPUs when the system is partially loaded
msm: mpm: use an interruptible wait to reduce loadavg
msm: slimbus: use interruptible wait to reduce system's load average
@DerRomtester how download dude?
KenjiHannya said:
@DerRomtester how download dude?
Click to expand...
Click to collapse
You tried this ? (testkernel folder)
DerRomtester said:
Download:
https://drive.google.com/open?id=0B4NfU3dQXHeiQzhWZHNUVjQxblE
Click to expand...
Click to collapse
DerRomtester said:
You tried this ? (testkernel folder)
Click to expand...
Click to collapse
Yes, show r1 and not r2
---------- Post added at 10:43 AM ---------- Previous post was at 10:41 AM ----------
Got it
Tnx ;D
This update it's stable too much not experimental , this my opinion.
Thanks for update. I like cpu quiet...
Sent from my A0001 using Tapatalk
Wow. Using r1 with CM13 nightly. Much much less heat while online streaming or watching videos. Thank you so much for your great work.
The experimental r2 is working great with the default settings.
I was wondering: is there a particular advantage of TCP Cubic over Westwood? I keep seeing that Cubic is supposedly very stable and it's the default on most flavors of Linux, but anything else noteworthy for it to remain the default on your kernel?
Will it support synapse for fast charging?
r2 with TugaPower. It is just right like clockwork. no issues. Developer fixes the title to r2. Thank you for your work.
@DerRomtester why are you not using sultanxda his rom anymore or a rom with his cam mods?
AAB4K said:
Will it support synapse for fast charging?
Click to expand...
Click to collapse
Synapse will not be supported. Fast Charging maybe not sure yet. I prefer stock charging logic.
joefso said:
@DerRomtester why are you not using sultanxda his rom anymore or a rom with his cam mods?
Click to expand...
Click to collapse
I wanted full cm feature support like high Bitrate music etc.
JJohnson1988 said:
The experimental r2 is working great with the default settings.
I was wondering: is there a particular advantage of TCP Cubic over Westwood? I keep seeing that Cubic is supposedly very stable and it's the default on most flavors of Linux, but anything else noteworthy for it to remain the default on your kernel?
Click to expand...
Click to collapse
I just let it the default settings and it seems working fine on cm kernel so why not?
Sent from my A0001 using XDA-Developers mobile app
r3 Changelog:
* removed adreno idler (it is not necessary on our device)
* removed latest interactive patches i picked up from franciscofranco
* compiled with linaro toolchain
all in all this kernel should provide a smoother experience than the kernel before.
Private r3, deleting some my gapps core
Using du archi,.with bankgapps
Any workaround?

Categories

Resources