[KERNEL][3.4.5][S2W][D2W]Kash Kernel V2.7 | Performance++ [NO BATTERY DROP]

Search This thread

kashifmin

Senior Member
Oct 25, 2012
281
1,356
Mangalore
tip2tricks.com
The cam issue is due to the kernel sources only same thing happened to our device canvas2 but when the kernel gets compiled for the second time with diff sources cam got working,nothing to do with libs and other files,so true building with some other available sources.

I have tried everything and I think you're right. But, I have already tried other sources, none seems to work other than this. :(

Buddy can u solve the sudden battery drop issue?

Once all the bugs are solved, my first priority would be to solve battery drop issue. :D
 
  • Like
Reactions: Mohit0144 and ovme

showstopper1

Senior Member
I have tried everything and I think you're right. But, I have already tried other sources, none seems to work other than this. :(



Once all the bugs are solved, my first priority would be to solve battery drop issue. :D

What did the logcat shows? Take logcat while opening the camera app and post it.

Sent from my A250 LegoIce™_Turbo using xda app-developers app
 
  • Like
Reactions: kashifmin

kashifmin

Senior Member
Oct 25, 2012
281
1,356
Mangalore
tip2tricks.com
What did the logcat shows? Take logcat while opening the camera app and post it.

Sent from my A250 LegoIce™_Turbo using xda app-developers app

You can find logcat here. Camera shows 1.9 MP in 4.2 so I think it has something to do with setting correct drivers in kernel.

Does your github (https://github.com/kashifmin/a116_kernel) have the complete kernel source, will it build if I try ?

i'm asking this because of our internet speeds :D :p

Nope. I don't have a good connection to upload the whole sources. I have already said it before, I will upload only the changes made.


I think overclocking is not possible for our device. (MTK)
 
  • Like
Reactions: Mohit0144 and ovme

showstopper1

Senior Member
You can find logcat here. Camera shows 1.9 MP in 4.2 so I think it has something to do with setting correct drivers in kernel.

Yes you are correct,the source you used for compiling this kernel has some issues regarding the cam drivers try merging some other mtk6589 device sources and compile it.



Sent from my A250 LegoIce™_Turbo using xda app-developers app
 

Dr-Shadow

Inactive Recognized Developer
Sep 15, 2013
454
560
NANTES
Hi,

Please update your github according to GPL & xda rules.

I know you did a github repo with full patch but...

You have to provide complete & ready-to-build source (with commits - changes history from the full source if you understand what I mean).
 
Last edited:

kashifmin

Senior Member
Oct 25, 2012
281
1,356
Mangalore
tip2tricks.com
Hi,

Please update your github according to GPL & xda rules.

I know you did a github repo with full patch but...

You have to provide complete & ready-to-build source (with commits - changes history from the full source if you understand what I mean).

Sorry, but that is impossible for me with 30KB/s connection. I do understand the GPL rules, my github contains all the modification that I have done, if you merge it with the original source then you can build easily! Please understand.
 

userprince

Senior Member
Mar 12, 2012
734
181
Request

I request you to add CIFS support to this kernel. Please if you can add it do it.

Waiting for your reply..........................................
 

sendhiloo7

Senior Member
Sep 28, 2008
1,297
387
Chennai
OnePlus 9 Pro
Sorry, but that is impossible for me with 30KB/s connection. I do understand the GPL rules, my github contains all the modification that I have done, if you merge it with the original source then you can build easily! Please understand.

Yes your right. Full source with 30kbps , it's really impossible.


I am requesting to you and as you said can you provide what are the changes you did and which source you used..

Better you can create a separate thread for this, so that this thread we will only discuss about kernel bugs.

I think this is the first mtk6589 custom kernel , we are really proud of this
 

Dr-Shadow

Inactive Recognized Developer
Sep 15, 2013
454
560
NANTES
Sorry, but that is impossible for me with 30KB/s connection. I do understand the GPL rules, my github contains all the modification that I have done, if you merge it with the original source then you can build easily! Please understand.

Ok I understand then I can upload base source if you want (all objects from your base kernel) in your github

Just contact me on QQ (2605649251) or irc at http://webchat.freenode.net/?channels=omnirom
 
  • Like
Reactions: kashifmin

Top Liked Posts

  • There are no posts matching your filters.
  • 113
    Introducing you to the first ever Custom Kernel for Micromax A116 Canvas HD!

    WARNING:
    I or xda is not responsible for any kind of damage to your device. Please use it at your own risk!

    FEATURES:
    • Based on MyPhone Agua Iceberg source. (4.2)
    • Swap Support Added
    • Added config.gz support
    • Clean Cache Enabled
    • CIFS network file system support
    • LZMA Compression for zImage and Gzip for ramdisk.
    • 1080p video recording support.
    • Enhanced hw composer.
    • Sweep2wake
    • Doubletap2wake
    • NTFS support.
    • Optimized imgsensor drivers
    • New LCM drivers for Vivid display colors.
    • VM Dirty ratio tweaks.
    • Battery drop fixed. Works perfectly :)
    • Added frandom driver.
    • Added Ramzswap support.
    • Optimized apply_slack() for size and speed
    • Faster NOATIME and NODIRATIME mounting flags
    • Enabled Dynamic Filesync Control 2.0
    • Lock the initial TCP window size to 64K
    • Asynchronous I/O latency to a solid-state disk greatly increased
    • Enabled ARCH_POWER
    • Added cdrom option to UMS-lun-devices (you can now use this app: Link)
    • Enabled SELinux and Full support for Android 4.4
    • GPU overlock @476MHz (not enabled by default)
    • Compile vfp with neon
    • MTK Vermagic Hack
    • Various ext4 patches
    • ACPI sysfs.c strlen fix
    • Fixed memory leak on extending regions
    • Random: Entropy tweaks
    • Tune conservative for performance
      New governors added:
    • Smartass2
    • LulzactiveQ
    • PegasusQ
    • ZZMOOVE
    • NIGHTMARE
    • SAKURACTIVE
    • InteractiveX
    • Intellidemand
      New IO Schedulers added
    • ROW
    • ZEN
    • FIOPS
    • FIFO
    • VR

    Bugs:
    • None! :)
      Please report bugs in the Bugs Report section!


    Install Instructions:
    Make a full backup of your current ROM.
    Place the kernel zip in sdcard and reboot to recovery.
    Mount /system.
    Install kernel zip and reboot!

    Changelog:
    Alpha builds:
    VERSION 0.1:
    • First build from 4.1 source
    • Boots on JB4.2

    VERSION 0.2
    • Added 7 CPU Governors
    • SWAP support enabled
    • Enabled access to config.gz

    VERSION 0.3
    • XZ Compression for zImage
    • Clean Cache Enabled
    • Added 4 new IO Schedulers

    Stable builds:

    VERSION 1.0
    • Fixed Camera FC
    • CIFS network file system support
    • Enabled 1080p Video Recording and Playback (not tested)
    • Optimized zImage for size


    VERSION 1.1
    • Fixed Charging issue.
    • USB OTG fixed.
    • NTFS support enabled. (Not tested. Lol)
    • Built CIFS as module.
    • zImage size reduced by using LZMA compression.
    • Enhanced hw composer.


    VERSION 2.0
    • MERGED SOURCE WITH 4.2 (MyPhone Agua Iceberg)
    • Overclocked GPU @ 403MHz
    • CAMERA FIXED!!
    • Optimized Imgsensor drivers (better camera colors).
    • New LCM drivers (vivid display colors).
    • Overclocked CPU @1.5GHz (only visual, lags a lot)

    VERSION 2.1
    • Added new battery drivers from Kogan Agora HD+ (might fix battery drop, not tested).
    • Removed CPU overclock.
    • VM dirty ratio tweaks
    • Set VM_MAX_READAHEAD= 512KB
    • FIXED VOLUME KEYS! :D

    VERSION 2.2
    • Battery drop fixed. Works perfectly :) Thanks to @banjo0917
    • Added frandom driver. (Faster random variable generation)
    • Added Ramzswap support.
    • Optimized apply_slack() for size and speed
    • Faster NOATIME and NODIRATIME mounting flags
    • Enabled Dynamic Filesync Control 2.0
    • Lock the initial TCP window size to 64K
    • Asynchronous I/O latency to a solid-state disk greatly increased
    • Enabled ARCH_POWER


    VERSION 2.3
    • Fixed Graphics glitch (enabled sync)
    • Patched binder.c for Android 4.4 support
    • Added Intellidemand governor.
    • Added cdrom option to UMS-lun-devices (you can now use this app: Link)
    • Reduced modules size. Now kernel zip only 5mb :p (credits to @Dr-Shadow )

    VERSION 2.4
    • Updated to Linux Kernel 3.4.16 (WIP updating to latest upstream 3.4.82)
    • Enabled SELinux and Full support for Android 4.4
    • GPU overlock @476MHz (not enabled by default)
    • Compile vfp with neon
    • MTK Vermagic Hack
    • Various ext4 patches
    • ACPI sysfs.c strlen fix
    • Fixed memory leak on extending regions
    • Random: Entropy tweaks
    • Tune conservative for performance
    • WIP, added support for A110Q (not this kernel though, will make a separate thread).
    • Many more patches, check github


    VERSION 2.5
    • Camera works both on new and old hardware!
    • Optimized camera drivers for better colors
    • GPU overlock back to 403MHz (not enabled by default)
    • Added battery drop fix again (it was missing in V2.4)
    • Fixes for CIFS
    • af_unix: speedup /proc/net/unix
    • ext4: speed up truncate/unlink by not using bforget() unless needed
    • Optimize jbd2_journal_force_commit
    • fs: switch do_fsync() to fget_light()
    • Optimized ARM RWSEM algorithm(by @faux123)
    • Delayed stripe fix
    • Added tweak for more responsiveness
    • Add Ultra Kernel Samepage Merging feature
    • Fixed Fast battery drain

    VERSION 2.6
    • Reverted back all changes after V2.3
    • Fixed Deep sleep and frequency scaling
    • Fixed CIFS
    • Added tweaks for more responsiveness
    • Camera works both on new as well as old hardwares
    • SELinux enabled
    • No battery drop. Expected to give the best battery backup like V2.3
    • Optimized camera colors
    • Fixed SOD.

    VERSION 2.7
    • Added Sweep2wake feature
    • Added Doubletap2wake (big thanks to @bindassdost for s2w and dt2w )
    • Restore fixed battery drivers


    If you want to include this kernel on your rom, please include a link to this thread in the OP.
    Thanks.


    Download Links:
    Please read instructions before flashing!

    Patches:
    Camera Fix(only for V1.x)
    Stock Kernel
    GPU FIX (ONLY FOR V2.3)
    GPU Overclock 476MHz (ONLY FOR V2.4)
    GPU Overclock 476MHz (ONLY FOR V2.6)
    GPU Overclock 476MHz (ONLY FOR V2.7)




    CREDITS:
    • @banjo0917
    • @varun.chitre15
    • @darshan dazzGeek
    • @Dr-Shadow
    • @karandpr
    • @nikbbnik (for gpu overclock and camera drivers).
    • @is0l4ted
    • @princechandela
    • @GuneetAtwal (for patches)
    • @bindassdost (for porting s2w and dt2w to mtk)
    • And all others who help me by testing kernel and providing tips :D


    XDA:DevDB Information
    Kash KERNEL, a Kernel for the Micromax A116

    Contributors
    kashifmin
    Kernel Special Features:

    Version Information
    Status: Stable

    Created 2014-01-03
    Last Updated 2014-01-07
    27
    Reserved

    FAQ:

    GPU overclock reduces performance on my phone. Why? OR I'm getting low scores on benchmark? OR I get low fps? (Don't be dumb to ask this question again and again).
    A: I really don't know the reason. But if it doesn't work for you, download this and flash it using CWM/TWRP without wipe.

    What is a kernel? Why should I install it?
    A: Click here to know the answer.

    How to Change RAMDISK ?
    A: http://xdaforums.com/showpost.php?p=52449925&postcount=525

    Will this work on all MT6589 Phones?
    A: NO!

    Is this kernel compatible with all ROMs?
    A: Yes. But for ROMs not based on stock, (like MiUi and ColoOS) you have to replace ramdisk.

    Will this work on other clones like MyPhone A919i, Wiko Cink 5, Fly IQ451 ?
    A: YES. It will work :)

    Is this kernel recommended for daily use?
    A: Yes!

    My phone lags a lot on V2.0. Why?
    A:Because you are on 1.5GHz by default. Download Set CPU from playstore and set max frequency to 1.2GHz.

    What are the best governor+io combinations?
    A: Hotplug+cfq, Smartassv2+cfd, Sakuractive+cfq. You can try others and report! :D

    How to use doubletap2wake and sweep2wake?
    A: Download trickster mod app from playstore, Open "specific" tab in that app and enable s2w, d2w. Also tick on kernel settings to make your settings stay after a reboot. Also Refer this post : http://xdaforums.com/showpost.php?p=51893190&postcount=420

    SCREENSHOTS: (credits to @princechandela and @Dhogai vannan )
    13
    Update V2.7

    I'm sorry if you faced battery drop on v2.6. I don't know why I forgot to replace fixed battery drivers on the main part of kernel source (after reverting many changes). I have added them again and no battery drop now. See attached screenshot :)

    KashKernel V2.7 also has doubletap2wake and sleep2wake . To enable it, go to sys/android_touch and edit values in files doubletap2wake and sweep2wake. (0 for disable, 1 for enable, 2 to enable both s2w and sweep2sleep). Or simply download trickster mod app from playstore and enable them.

    Download link: http://d-h.st/1Ko

    Enjoy :)
    9
    Hello, guys test the new version 2.4. GPU is overclocked to 476MHz, disabled by default, you must flash GPU overclock modules to enable it.
    And There are lots of patches, check OP.

    Major Update: Now the source is upgraded to Linux 3.4.16 (WIP, will be updated to 3.4.82 soon).

    Regards :)
    8
    Hello guys,
    I have updated OP with latest kernel v2.0. Camera and all small bugs are fixed. Now, I recommend it for daily use :)
    After installing please change the max frequency to 1.2GHz otherwise your phone will lag(strange :/ ).
    This should work on all clones of our device.
    Please try it and post reviews.

    Don't forget to hit thanks! :D

    Regards.

    Sent from my Micromax A116 using Tapatalk