View Poll Results: Rate BIndass-Boost Kernel
Awesome 54 62.79%
Good 21 24.42%
Okay 6 6.98%
Tried & Revert 1 1.16%
Not good 4 4.65%
Voters: 86. You may not vote on this poll

Post Reply

[Kernel][2.7][S2W][DT2W] Unified BindassBoost™ [O/C][UV] [performance + battery]

OP bindassdost

16th March 2014, 06:17 AM   |  #1  
bindassdost's Avatar
OP Senior Member
Flag delhi
Thanks Meter: 1,081
 
377 posts
Join Date:Joined: Jul 2011
More


NOTE : as usual im not resposible for anything you did with your phone
See Faq in next post before posting something


For DOWNLOAD links see post 3
before posting anything read FAQ in 2nd post

change log v2.5
Quote:

nothing more in this release just lz4 support all over read FAQ

  • kernel compressed with lz4 for faster boot up
  • cypto lz4 support
  • zram with lz4 too
modules (M4U/Zram) stripped to reduce size means low ram usage

change log v2.4[/B]
Quote:

Added Zram WIth snappy compression thankx to @cyclon1978 for config
zram enable by default with 64mb size
compiled with linaro 4.8.3 latest toolchain
cortex a9 optimizated toolchain
battery drox fix binder (nightmare by default for balanced performance)
4.1 init.d fix

kitkat support beta version for develeoper only to help porting
selinux config , security hooks , binder patched neccesary for kitkat implemented now you can try porting see instruction in post 3 for instruction


change log v2.3
Quote:

Added Sweep2wake ,Sweep2Sleep and DoubleTap2Wake
s2w working on all devices
added bindassboost script to easy modify kernel setting on boot (dont edit on windows use linux or edit on phone)

default s2w/s2s enabled on soft keys only and dt2w enable on full screen
read 2nd post for more information
(module borrowed from sky-A830L kernel)
default setting will work like below


if you want like below then edit /sys/android_touch/s2w_height_adjust from 854 to 0

change log v2.2
Quote:

  • FIx PLL reseting issue
  • Added SMART OVERCLOCKING Authorized by me !!
    Code:
    if (overclocking enabled) {
               if(screen on){
                    overclock processor ;
               } else { 
                   stock clock processor ;}
    } else { 
    stock clock processor ;}
  • added smartassH3 GOV
  • added Sioplus I/O




change log v2.00
Quote:

Overclockable By Boosting ARMPLL,MAINPLL,MEMPLL (read faq) thanx to @benoitm974
NOW Support jb out of box
complete support for 4.2 CAM WORKING
cleancache enabled
Added intelligent fsync control 50% IO BOOST check antutu io score (read faq)
readahead increases to 1024KB
ARM-OPTIMIZED sha1 and aes routines
added RWSEM algorith
notification led BRIGHTNESS increases
tcp algo added WESTWOOD by default
SWAP ENABLE SCRIPT Added by habir (ses post 2 how to change)
ALL CUSTOM GOV'S ARE PATCHED FOR DUAL CORE BOTH CORE ACTIVE ALL THE TIME
Dual Core Optimization on All GOVs
NTFS support added
CIFS support added
init.d Support
compiled using optimized 4.6.2 linaro toolchain
used best in class compression technique (kernel size reduced by 33%)
USB OTG Support
6 IO SCHEDULER added total 9 NOW (ROW default)
vr, sio, fiops, fifo, zen, row
14 GOVERNORS NOW (PEGASUSQ default)
pegasusq, lulzactiveq, interactivex, sakuractive , hotplug, zzmove, nightmare
Sources merged with @varun.chitre15 so all feature implemented by him are supported
Undervolted complete chipset by 66.66mV[Milli-Volts]

  • Insecured
  • Persistent ADB
  • Cortex A9 optimizations
  • Neon optimizations
  • Increased the kernel timer from 100==>300
  • Dynamic Management of Dirty page writeback
  • 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
  • Frandom driver - Fast Kernel Number Generator
  • Reduced Android Logger size
  • Upgraded sources to Upstream 3.4.5 sources
  • Lowered Log Buffer shift
  • Optimized apply_slack() method for size and speed
  • Various EXT4 Filesystem patches from android_kernel_common
  • Plugged memory leaks to cpufreq driver from upstream
  • Ability to change IO-Schedulers without need of root
  • Optimizations to SLUB memory allocator
  • Decreased CPU transition latency
  • Enabled 7 new TCP congestion controls - Westwood, Bic, Vegas, HTCP, HSTCP
  • 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



Kernel Sources
credits
@varun.chitre15 for his sources
@tri_zet for solving config error
@brunomars for pack unpack scripts
@stopa46 and @edisile for logo design
@cyclon1978 for zram config
Last edited by bindassdost; 30th May 2014 at 10:17 AM.
The Following 103 Users Say Thank You to bindassdost For This Useful Post: [ View ]
16th March 2014, 06:17 AM   |  #2  
bindassdost's Avatar
OP Senior Member
Flag delhi
Thanks Meter: 1,081
 
377 posts
Join Date:Joined: Jul 2011
More
S2W/S2S/DT2W Information
Quote:

sweep from left to right to wake / double tap on screen to wake
sweep from right to left to sleep

settings inside /sys/android_touch folder

  1. doubletap2wake
    • 0 = disable
    • 1 = enable
  2. sweep2wake
    • 0 = disable
    • 1 = only sweep2wake enabled
    • 2 = sweep2wake and sweep2sleep enable
  3. s2w_height_adjust (pixel from top)
    • 854 = sweep on soft key only
    • x in (0-854) = sweep on region defined by 854 - x from bottom +soft keys will be detected


use echo command to change values
Code:
echo "value" > /sys/android_touch/"filename"




FAQ's
Quote:

Q why all scripts are empty/blank
Ans
download scripts.zip and use the way you want to (folder name is the size of swap created ). just replace the way you want

Q still only 1ghz is maximum freq/ how to overclock?
Ans
use following command to overclock ARMPLL and MAINPLL (CAUTION MAINPLL BOOST CAN STUCK SOMETIME )

Code:
echo 0 0x000051e0 > /proc/clkmgr/pll_fsel
echo 1 0x00002840 > /proc/clkmgr/pll_fsel
and following to restore original value
Code:
echo 0 0x00004ca0 > /proc/clkmgr/pll_fsel
echo 1 0x00002760 > /proc/clkmgr/pll_fsel
Q overclocking resets at boot
Ans
It isnt a bug ,i want it that way .Edit bindassboost script in init.d to auto overclock

Q Screen doesnt wake up sometimes
Ans
problem caused by some script that tries to wake/sleep core as my kernel does it auto so conflict is created which prevents screen wakeup
delete all init.d script that has echo 0/1 > **cpux/online comand and check whether problem solved or not (my kernel isnt compatible with suvi script)

Q battery draining faster in v2.3
Ans
s2w/s2s/dt2w features come at cost of little battery drain as now touchpannel doent went off during sleep to report touch event and interrupt processor is some conditions are met
athough it may be battery stats prob too try charge till 100 and full discharge 1-2 time to calibrate battery

Q DT2W doesnt work sometime
Ans
double tap detects time diffrence b/w odd and even touches at even no. of touch try tapping 3 times in row cause there may be a touch reported earlier and time crieteria doesnt met

Q phone take sometime to wake up little long
Ans
s2w feature schedule power on button emulation to prevent synchronization thus if something heavy or power saving is on then processor takes time to service interrupt caused by s2w

Q what is Zram
Ans
Zram is compressed swap block created in ram itself thus has higher speed and reduce i/o
high usage of zram has impact on battery life although marginally at usage > 75%

Q what is Snappy (in v2.4)
Ans
snappy is compression algorithm from google to speed up compression/decompression .snaapy provide 39% compression ratio ant speed of arround 300mbps thus
64mb zram can accomodate 164 mb data so in total you have 512-64+164 = 612 ram

Q what is LZ4 (in v2.5)
Ans
lz4 is currently fastest algorith with speed of more than 400 mbps that is 33% higher than snappy with compression ratio of about 44% (worst case) but higher speed produces less lag 0.25s to compress 100mb data

HOW TO OVERCLOCK
instruction
1. download BBoostManager App (xposed module isnt working now will fix it later)
2. add BBoost Game Mode widget to homescreen
3. this app behave as toggle button click to switch b/w stock and overclock
Attached Thumbnails
Click image for larger version

Name:	20140312121930458.png
Views:	1625
Size:	54.3 KB
ID:	2633363   Click image for larger version

Name:	1397703533533.jpg
Views:	1161
Size:	41.7 KB
ID:	2694037  
Last edited by bindassdost; 18th April 2014 at 01:35 PM.
The Following 62 Users Say Thank You to bindassdost For This Useful Post: [ View ]
16th March 2014, 06:18 AM   |  #3  
bindassdost's Avatar
OP Senior Member
Flag delhi
Thanks Meter: 1,081
 
377 posts
Join Date:Joined: Jul 2011
More
TO-DO List
Quote:

  • Sweep2Wake with pocket detection
  • smartUV

Making Download Easy
Go To my DevHost A110 directory
And Download Required Version
Last edited by bindassdost; 17th May 2014 at 03:13 PM.
The Following 60 Users Say Thank You to bindassdost For This Useful Post: [ View ]
16th March 2014, 06:34 AM   |  #4  
Recognized Noob's Avatar
Senior Member
Flag ON YOUR BED
Thanks Meter: 304
 
745 posts
Join Date:Joined: Aug 2013
More
downloading on ics out of the box. will report soon. btw do i need to clear init.d?

EDIT: just downloaded 2.4 and it works real smooth. hats off to dev.
Last edited by Recognized Noob; 13th April 2014 at 06:13 PM.
The Following 4 Users Say Thank You to Recognized Noob For This Useful Post: [ View ]
16th March 2014, 06:44 AM   |  #5  
bindassdost's Avatar
OP Senior Member
Flag delhi
Thanks Meter: 1,081
 
377 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by Recognized Noob

downloading on non jb out of the box. will report soon. btw do i need to clear init.d?

im using it and mine is also ics out of box one it is working fine
The Following 18 Users Say Thank You to bindassdost For This Useful Post: [ View ]
16th March 2014, 06:50 AM   |  #6  
Recognized Noob's Avatar
Senior Member
Flag ON YOUR BED
Thanks Meter: 304
 
745 posts
Join Date:Joined: Aug 2013
More
init.d? wt to do?

and if i over clock does battery drainage increase significantly? how much is final speed?

just tried kerel. cam not working. originally ics now jb 4.2.2
Last edited by Recognized Noob; 16th March 2014 at 07:14 AM.
The Following 4 Users Say Thank You to Recognized Noob For This Useful Post: [ View ]
16th March 2014, 07:38 AM   |  #7  
GuneetAtwal's Avatar
Recognized Contributor
Flag Punjab
Thanks Meter: 6,576
 
1,981 posts
Join Date:Joined: Oct 2012
More
Bro you should also show the commit/difference on Github for adding Overclocking ! This will help other Devs for implementing in their kernel
The Following 2 Users Say Thank You to GuneetAtwal For This Useful Post: [ View ]
16th March 2014, 07:41 AM   |  #8  
bindassdost's Avatar
OP Senior Member
Flag delhi
Thanks Meter: 1,081
 
377 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by GuneetAtwal

Bro you should also show the commit/difference on Github for adding Overclocking ! This will help other Devs for implementing in their kernel

i am synching my repo right now youll see the differen by today
i will comply with gpl always just wait

Quote:
Originally Posted by Recognized Noob

init.d? wt to do?
and if i over clock does battery drainage increase significantly? how much is final speed?
just tried kerel. cam not working. originally ics now jb 4.2.2

no need to delete init.d
if my calculation is right then overclock works till 1.1 ghz only through armpll it doesnt affecting battery as varun has implemented undervolt on it
kernel is working fine for me im a ics out of box user im using http://forum.xda-developers.com/show....php?t=2644535 ROM try it else ill have to release seperate kernels
Last edited by bindassdost; 16th March 2014 at 07:48 AM.
The Following 12 Users Say Thank You to bindassdost For This Useful Post: [ View ]
16th March 2014, 07:55 AM   |  #9  
Senior Member
Flag ▂ ▃ ▅ ▆ █ C:/India/Chen
Thanks Meter: 598
 
455 posts
Join Date:Joined: Oct 2013
Donate to Me
More
Thumbs up
Review :

1) Camera is working bro.No issues...
2) The game which i said was not working earlier is working now but moves like picture frames ( lagging ) and hence unable to play. It is just a 80mb data game. Problem with the kernel or MTK6577 max power is only that ! I dunno ? But the same game works well in A110Q.
3) Free RAM is very fine.
4) Battery backup. Need to check and will give review soon

Overall thanks for your brilliant work again !

( Any gaming kernel without eating battery would be nice )
The Following 2 Users Say Thank You to Santhosh M For This Useful Post: [ View ]
16th March 2014, 08:25 AM   |  #10  
bindassdost's Avatar
OP Senior Member
Flag delhi
Thanks Meter: 1,081
 
377 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by sansans90

Review :

1) Camera is working bro.No issues...
2) The game which i said was not working earlier is working now but moves like picture frames ( lagging ) and hence unable to play. It is just a 80mb data game. Problem with the kernel or MTK6577 max power is only that ! I dunno ? But the same game works well in A110Q.
3) Free RAM is very fine.
4) Battery backup. Need to check and will give review soon

Overall thanks for your brilliant work again !

( Any gaming kernel without eating battery would be nice )

A110Q is mt6589 quad core phone with gsx544 gpu you cant compare it with mt6577 (gpu is weak)
try gltools if it uses gpu or overclocking if it uses cpu

The Following 10 Users Say Thank You to bindassdost For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in A110 Original Android Development by ThreadRank