FORUMS

[KERNEL][Ninja 3][A57][A56]Guneet.Kernel-1.0★Lightning Fast★ for Micromax A57&A56

2,419 posts
Thanks Meter: 5,341
 
Post Reply Email Thread
Code:
#include /*
 * I am not responsible for bricked devices, dead SD cards, thermonuclear
 * war, or the current economic crisis caused by you following these
 * directions. YOU are choosing to make these modificiations, and
 * if you point your finger at me for messing up your device, I will
 * laugh at you.
 */

Hello Ninjas! After Continuous Work for 3 Weeks, I am here with my First Ever Kernel for Micromax A57

Moving down to the most awaiting thing, features!. Here goes the list!



General Features
  • Compiled using Optimized Linaro NDK!
  • Insecured
  • Compiled vfp with neon
  • LZMA compression for kernel. Size 3.2MB ==> 2.4 MB
  • -O2 Optimizations
  • Neon optimizations
  • A big bunch ofoptimization in makefile
  • USB Force Fast Charging [WIP]
  • Timer Slack Controller

CPU
  • Overclocked upto 1.26 Ghz [Experimental and still a WIP]
  • Lowered the Min. freq from 245-> 122 Mhz for more Battery
  • Tweaked Ondemand Governor
  • Added 15 New Governors. Total 21 Now

Database
  • Added 4 new IO schedulers. Total 7 now
  • Dynamic Fsync control
  • Asynchronous I/O latency to a solid-state disk greatly increased.
  • Disabled GENTLE_FAIR_SLEEPERS

Memory Management
  • Lowered Android logger size
  • Optimized LMK
  • SWAP support
  • Lowered vfs cache pressure size to 20
  • Optimized VM parameters
  • Optimized memcopy and memmove algorithm
  • Tweaked SLAB allocator
  • Dynamic management of dirty page writebacks

Algorithms
  • Optimized CRC32 Algorithm
  • Optimized RWSEM Algorithm
  • Removed old SHA1 routines
  • Optimized git implementation for SHA1
  • Optimized glibc version of string
  • Optimized RCU Tiny

Network
  • Proportional Rate Reduction for TCP by Google.
  • Enabled 6 new TCP Congestion controls viz. Westwood, Vegas, BIC, HSTCP, HTCP,Illinois,Reno.
  • Set westood as default from cubic.

Miscellaneous features
  • CIFS support added
  • Removed Framepointer.
  • Increase READ_AHEAD size to 1024kb
  • Fine tuned CFS parameters
  • Enabled Autogrouping of Schedulers
  • Added frandom (Fast kernel number generator) driver
  • NOATIME and NODIRATIME by default
  • Patch for depleting Entropy pool
  • Disabled frame pointer
  • Optimized apply_slack() method for size and speed
  • Autogroup patch group by current user android UID instead of task ID
  • New 'Simple' GPU Governor by faux123


Screenshots


Known Issues
No for A56 and Proximity Sensor won't work for A57 users

Thanks to Maruti Gagan for intensive Testing
Thanks to Faux123, VarunChitr15,Doomlord,Ezekeel,Dhinesh Kumar,Adhithya Rajagopal for Contributions
Thanks to Everyother Person who was involved in the Project Directly or Indirectly
The Following 7 Users Say Thank You to GuneetAtwal For This Useful Post: [ View ] Gift GuneetAtwal Ad-Free
21st September 2013, 04:49 PM |#3  
GuneetAtwal's Avatar
OP Senior Member
Flag Mohali
Thanks Meter: 5,341
 
Donate to Me
More
Controllers

CPU
You can use any CPU controlling app to overclock.
It has been reported that OC is doing nothing in some ROMS
This is still a work in progress and is not completely effective yet.


FSYNC

Fsync stands for file sync. Disabling it boosts the performance, responsiveness and database.
You can see increase in database score in AnTuTu and IO in quadrant
Warning: Disabling has a side effect of a possible data loss whose chances are 1/1000. So disable it and enjoy the snappy phone

How to disable

Code:
echo "0" > /sys/class/misc/fsynccontrol/fsync_enabled

Use 1 to enable it. In this kernel its enabled by default
Network tuning

I have enabled good amount of TCP congestion controls. You can use them according to your need

How to use
Code:
echo "NAME_OF_CONTROL_IN_LOWER_CASE" > /proc/sys/net/ipv4/tcp_congestion_control

e.g echo "bic" > /proc/sys/net/ipv4/tcp_congestion_control
Check this chart to see what suits you best

Quote:

Latency - Download - Upload

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

reno:
1st run: 13ms - 15,51Mbps - 6,73Mbps
2nd run: 13ms - 14,73Mbps - 8,51Mbps

bic:
1st run: 12ms - 10,38Mbps - 8,61Mbps
2nd run: 13ms - 10,78Mbps - 8,62Mbps

westwood:
1st run: 11ms - 17,65Mbps - 8,30Mbps
2nd run: 13ms - 13,28Mbps - 8,29Mbps

highspeed:
1st run: 13ms - 10,76Mbps - 7,94Mbps
2nd run: 16ms - 14,42Mbps - 8,52Mbps

hybla:
1st run: 14ms - 11,19Mbps - 7,44Mbps
2nd run: 14ms - 13,47Mbps - 7,56Mbps

htcp:
1st run: 14ms - 13,24Mbps - 7,03Mbps
2nd run: 15ms - 10,85Mbps - 8,00Mbps

vegas:
1st run: 14ms - 8,49Mbps - 6,62Mbps
2nd run: 14ms - 12,00Mbps - 7,07Mbps

veno:
1st run: 13ms - 9,58Mbps - 8,13Mbps
2nd run: 13ms - 8,50Mbps - 7,64Mbps

scalable:
1st run: 18ms - 12,01Mbps - 8,73Mbps
2nd run: 14ms - 13,96Mbps - 8,23Mbps

lp:
1st run: 14ms - 14,90Mbps - 8,68Mbps
2nd run: 14ms - 13,44Mbps - 8,72Mbps

yeah:
1st run: 14ms - 13,37Mbps - 8,28Mbps
2nd run: 17ms - 13,89Mbps - 8,14Mbps

illinois:
1st run: 13ms - 12,93Mbps - 8,24Mbps
2nd run: 16ms - 13,97Mbps - 6,46Mbps


Governors and IO Scheduler


Refer below thread to know everything about governors & IO Schedulers and which governor does what.

[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs

SWAP

SWAP compromises a part of external memory and uses it as a RAM. This is very useful when phone is running RAM hogging tasks as you get relatively more RAM with this feature.

Type
Code:
free
, SWAP value should be greater than 0 which means its activated

And at last, a warning, too much use of SWAP degrades life of sdcard

All above controls will get reset after reboot. So as to make them persistent, you can create a init.d script

Here is how
Create an empty text file and add this to the top of it
Code:
#!/system/bin/sh
Then on next line add whatever controls you want
e.g If I want Fsync disabled + vegas as TCP congestion control

Code:
#!/system/bin/sh
# Fsync
echo "0" > /sys/class/misc/fsynccontrol/fsync_enabled
# TCP
echo "vegas" > /proc/sys/net/ipv4/tcp_congestion_control
You can name it anything, like 01kernel etc

If in problem you can post on the thread.
The Following User Says Thank You to GuneetAtwal For This Useful Post: [ View ] Gift GuneetAtwal Ad-Free
21st September 2013, 04:50 PM |#4  
GuneetAtwal's Avatar
OP Senior Member
Flag Mohali
Thanks Meter: 5,341
 
Donate to Me
More
GPL and Kanging

I do support open source and comply with GPL terms
Here is my kernel source in compliance with GPL

https://github.com/GuneetAtwal/Ninja3

Now if any upcoming kernel merges any of the commits authored by me, show humanity of giving credits on what you used with git authorization. Open source does not mean out of respect!

And regarding inclusion of this kernel in your ROMS is NOT allowed.
Instead add a link to this thread as a recommendation on your thread.
The Following User Says Thank You to GuneetAtwal For This Useful Post: [ View ] Gift GuneetAtwal Ad-Free
21st September 2013, 05:40 PM |#6  
Adhi1419's Avatar
Member
Flag Bangalore
Thanks Meter: 522
 
Donate to Me
More
Thumbs up Wow!
In the Era where Indian Origin phones barely have Kernels, here we have a budget phones with two Kernels!
Great Job, keep it up!
The Following 2 Users Say Thank You to Adhi1419 For This Useful Post: [ View ] Gift Adhi1419 Ad-Free
21st September 2013, 06:10 PM |#7  
GuneetAtwal's Avatar
OP Senior Member
Flag Mohali
Thanks Meter: 5,341
 
Donate to Me
More
Quote:
Originally Posted by Adhi1419

In the Era where Indian Origin phones barely have Kernels, here we have a budget phones with two Kernels!
Great Job, keep it up!

I can see the Future

And it is saying we will have Forums on XDA , SOurces,Original Development
21st September 2013, 06:37 PM |#8  
GeekyDroid's Avatar
Senior Member
Flag Burgenland
Thanks Meter: 895
 
More
Finally you did it bro and I'm very amazed of it!
Just keep that good work up and ATB for further developments!
22nd September 2013, 09:48 AM |#9  
Senior Member
Flag vadodara
Thanks Meter: 135
 
More
I am on tipoice. Can I use this kernel?
As a layman, what difference I'll be able to notice after flashing this kernel?
22nd September 2013, 10:39 AM |#10  
GuneetAtwal's Avatar
OP Senior Member
Flag Mohali
Thanks Meter: 5,341
 
Donate to Me
More
Quote:
Originally Posted by RmatriX1218

I am on tipoice. Can I use this kernel?
As a layman, what difference I'll be able to notice after flashing this kernel?

Well you can use Tipoice as the Screenshots were also of that ROM only and by flashing this Kernel you will get all the features which are mentioned in the Post #1
Post Reply Subscribe to Thread

Tags
a57, custom kernel, guneet.kernel, guneetatwal, ninja3

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

Advanced Search
Display Modes