Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[KERNEL][3.4.5 -> 3.4.67] Newman N1 (MT6577) | (Freelander i10 / Digma iDxD4)

OP lingfude

29th April 2014, 11:40 PM   |  #1  
lingfude's Avatar
OP Senior Member
Flag Aveiro
Thanks Meter: 398
 
436 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Hello everyone.

In this project you will find my custom Kernel for Newman N1.


Custom Kernel for JB Rom.

CHANGELOGS
Changelog v2 (2014-10-30)
  • Big update to Linux 3.4.67
  • Better performance
  • Compiled with new Linaro Toolchain 4.9.1 (2014-06) Optimized Cortex a9
  • All improvements and features from previous versions

Changelog v1.4.1 (2014-07-02)
  • Default Governor set as: HotPlug
  • Default IO Sheduler set as: SIO
  • Dynamic management of dirty page writebacks (fully controled on Performace Control app)
  • Completely Fair Scheduler: Responsiveness Tweeks
  • Add new CPU Governor SmartAssV2


Changelog v1.4 (2014-07-01)
  • Kernel Updated to Linux 3.4.11
    (check my github for fully commit history)
  • Compiled with new Linaro Toolchain 4.9.1 (2014-06) Optimized Cortex a9
  • Compiled with optimized -O2 Flags with MODFLAGS
  • Dynamic management of dirty page writebacks (fully controled on Performace Control app)
  • Completely Fair Scheduler: Responsiveness Tweeks
  • Add new CPU Governor SmartAssV2


Changelog v1.3 (2014-05-25)
  • Compiled with new Linaro Toolchain 4.7.4 Optimized Cortex a9
  • Battery temperature now gives the right values
  • Add MTK SmartOverclocking by bindassdost


Changelog v1.2 (2014-05-10)
  • Notifications LEDs now working on both JB 4.1.x and 4.2.x
  • Better proximity sensor when the call ends


Changelog v1.1 (2014-05-02)
  • Front Camera working in Auto mode
  • Persistent ADB Shell Root
  • New I/O Schedulers enabled
  • New CPU Governors enabled


Changelog v1.0 (2014-04-24)
  • Kernel Sources Updated from 3.4.0 to 3.4.5 (common)
  • Updated kernel with varun.chitre15 ThunderZap 2.0 Kernel features:
  • Cortex A9 optimizations
  • Neon optimizations
  • Increased the kernel timer from 100==>300
  • Removed old SHA1 routines
  • Dynamic Filesync Control 2.0
  • Dynamic Management of Dirty page writeback
  • Undervolted complete chipset by 66.66mV[Milli-Volts]
  • Lock initial TCP window size to 64k (Improves network ping and output)
  • Faster NOATIME and NODIRATIME mounting flags
  • Disabled Gentle Fair Sleepers
  • Enabled ARCH_POWER
  • Asynchronous I/O latency to a solid-state disk greatly increased
  • Patches to prevent depleting Entropies
  • Reduced Android Logger size
  • Optimized AES and SHA1 routines
  • Lowered Log Buffer shift
  • Various EXT4 Filesystem patches from android_kernel_common
  • Plugged memory leaks to cpufreq driver from upstream
  • Optimizations to SLUB memory allocator
  • Decreased CPU transition latency
  • Removed all debugging shi**
  • Proportional Rate Reduction for TCP - Google
  • Optimized swahb32() byteswap helpers
  • Compiled vfp with neon
  • Tuned CFS parameters
  • Reduced vfs cache pressure size
  • Optimized VM dirty ratios
  • Optimizations to Android Low Memory Killer
  • Optimized CFQ scheduler
  • Updated kernel with bindassdost Unified BindassBoost Kernel IO schedulers and Governors:
  • Governors: Sakuractive ; Nightmare; Interactivex; Zzmoove; Hotplug; Lulzactiveq; SmartassH3; Hybrid; Ondemand; Userspace; Powersave; Pegasusq; Performance
  • IO Schedulers: Noop; Deadline; Cfq; Sio; Fifo; Fiops; Row; Vr; Zen; SioPlus
  • Other Features:
  • Fixed Compass orientation
  • Fixed Gyroscope orientation
  • hrtimer: Introduce effective timer slack
  • mm: pmd_read_atomic: fix 32bit PAE pmd walk vs pmd_populate SMP race
  • raid5: delayed stripe fix
  • Optimized ARM RWSEM algorithm - Thanks to faux123
  • fs: switch do_fsync() to fget_light()
  • jbd2: optimize jbd2_journal
  • ext4: speed up truncate/unlink by not using bforget() unless needed
  • af_unix: speedup /proc/net/unix
  • binder.c Patch for (future) Android KitKat support
  • entropy tweaks
  • VM_MAX_READAHEAD is now set to 1024kbytes
  • Tweak vm dirty ratios (thanks to varun.chitre15)
  • Compile vfp with neon (thanks to varun.chitre15)
  • Insecured
  • Persistent ADB
  • Compiled using GCC 4.6 ToolChain
  • zImage Compression changed from GZIP to LZMA
  • VM MAX READAHEAD changed from 128 to 512 Kb
  • Removed debug Sh##

- For Overclocking / IO Schedulers and Governors check FAQ on post #2

- Download performance tweaks on post #2
KNOWN BUGS
  • You tell me. ;)

GPL COMPLIANCE

Source Code Link for Kernel 3.4.67
Source Code Link for Kernel 3.4.11
Source Code Link for Kernel 3.4.5

And regarding inclusion of this kernel in your ROMS is NOT allowed.
Instead add a link to this project as a recommendation on your thread/page.


CREDITS
  • Me for my patience and many hours without sleep. ;)
  • Special thanks to superdragonpt for his patience and for always being available to help. ;)
  • varun.chitre15 for his Awesome work on ThunderZAP kernel (added his features).
  • bindassdost for his Awesome work on Unified BindassBoost kernel (added Patched IO/ Govs/ SmartOC).
  • benoitm974 for discovering the PLL's to Overclock the MT6577.
  • Christopher83 for his optimized ToolChains.
  • dr-shadow for his tips on how to compile and patch the kernel.
  • bgcngm for the MTK Unpack/Repack kernel scripts.
  • chainfire for the insecure adbd.
  • adibadro for the photos of disassembled Newman N1. It was a great help to fix the sensors direction.
  • qus1 for his tips on how to compile the new kernel.
XDA:DevDB Information
[KERNEL][3.4.5 -> 3.4.67] Newman N1 (MT6577) | (Freelander i10 / Digma iDxD4), Kernel for the Android General

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

Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: 2
Stable Release Date: 2014-10-30

Created 2014-04-29
Last Updated 2014-12-23
Last edited by lingfude; 23rd December 2014 at 12:53 PM.
The Following 14 Users Say Thank You to lingfude For This Useful Post: [ View ]
29th April 2014, 11:40 PM   |  #2  
lingfude's Avatar
OP Senior Member
Flag Aveiro
Thanks Meter: 398
 
436 posts
Join Date:Joined: Jun 2011
Donate to Me
More
How to Flash
On recovery: (No need to wipe anything)

Just Flash the desired Kernel version.

It wont afect the rom, or your userdata.

But Just in case, make an full backup before flash

Download
Kernel Download is now available in the XDA: DEVDB "Download" Section.

FAQ

How can I change I/O Schedulers and Governors?
You can use the No-frills CPU Control APP from the PlayStore to switch bettwen then.

What's the Best Governor / I/O Scheduler?
Depends on your needs (Performance; Powersaving; etc)
An good resource, check this This Thread or Just Google it ...

How to Overclock my Device?
Download the attached app (THANKS bindassdost):
1: Add BBoost Game Mode widget to homescreen
2: The app widget behaves as toggle button to switch between stock and overclock (Overclock don't survive reboot)
Don't open the BBoostManager app, what you will be using its his WIDGET.
Attached Files
File Type: apk BBoostManager.apk - [Click for QR Code] (297.6 KB, 234 views)
File Type: zip Initd performance tweaks.zip - [Click for QR Code] (240.3 KB, 288 views)
Last edited by lingfude; 25th June 2014 at 11:53 AM.
The Following 3 Users Say Thank You to lingfude For This Useful Post: [ View ]
29th April 2014, 11:40 PM   |  #3  
lingfude's Avatar
OP Senior Member
Flag Aveiro
Thanks Meter: 398
 
436 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Reserved
30th April 2014, 01:53 PM   |  #4  
superdragonpt's Avatar
Recognized Contributor
Flag Lisbon
Thanks Meter: 5,812
 
1,937 posts
Join Date:Joined: Apr 2013
Donate to Me
More
Nice to see that you finally release it !

Regards
2nd May 2014, 12:40 AM   |  #5  
lingfude's Avatar
OP Senior Member
Flag Aveiro
Thanks Meter: 398
 
436 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Quote:
Originally Posted by superdragonpt

Nice to see that you finally release it !

Regards

5th May 2014, 10:32 AM   |  #6  
-ReaL-'s Avatar
Senior Member
Flag Yoshkar-Ola
Thanks Meter: 114
 
362 posts
Join Date:Joined: Nov 2009
Donate to Me
More
I hope you will fix LEDs soon)
5th May 2014, 11:42 AM   |  #7  
lingfude's Avatar
OP Senior Member
Flag Aveiro
Thanks Meter: 398
 
436 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Quote:
Originally Posted by -ReaL-

I hope you will fix LEDs soon)

With JB 4.2.2 the LEDs work just fine, the problem is only on JB 4.1.1.
5th May 2014, 01:15 PM   |  #8  
-ReaL-'s Avatar
Senior Member
Flag Yoshkar-Ola
Thanks Meter: 114
 
362 posts
Join Date:Joined: Nov 2009
Donate to Me
More
Smile
Quote:
Originally Posted by lingfude

With JB 4.2.2 the LEDs work just fine, the problem is only on JB 4.1.1.

But I am using 4.1.1 version and do not really want to reinstall whole system...It would be great if you fix it!
Last edited by -ReaL-; 5th May 2014 at 05:23 PM.
6th May 2014, 03:09 PM   |  #9  
lingfude's Avatar
OP Senior Member
Flag Aveiro
Thanks Meter: 398
 
436 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Question Three questions about my new kernel
Three questions for those who are using my kernel 3.4.5:

What do you have to say about battery life with this new kernel 3.4.5?

What is your general opinion about this kernel?

It was worth build this kernel?

I will appreciate your feedback.
6th May 2014, 03:25 PM   |  #10  
Member
Flag Lisboa
Thanks Meter: 3
 
74 posts
Join Date:Joined: Nov 2012
Quote:
Originally Posted by lingfude

Three questions for those who are using my kernel 3.4.5:

What do you have to say about battery life with this new kernel 3.4.5?

What is your general opinion about this kernel?

It was worth build this kernel?

I will appreciate your feedback.

I'm using Kernel 3.4.5 v_1.0 and Battery life is very good, in general i love this Kernel! Off Course it worth! Now i will install v_1.1

Post Reply Subscribe to Thread

Tags
3.4.5, 3.4.67, kernel, newman n1
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes