[Kernel][Stock][KK] Lenovo A6000 MoStock-v1.48 [EOL]

Search This thread
The Background:
I got this phone as a replacement to Galaxy Grand and soon I realised it's not sufficient to be on the stock kernel for all obvious reasons.
I'm used to great kernels like Dorimanx on SII.
So I searched on the Lenovo and XDA forums and soon realised that Lenovo was releasing incomplete sources for their devices(Specially A6000). Soon they released LP build for A6000 along with complete kernel source. The LP source builds well but KK source was still incomplete. But the wait was over and they release complete source for Kitkat release.
I'm still using KK on this device because their LP builds are not yet mature and couple of features like Encryption are still missing on LP (I need them)
DISCLAIMER:
ONLY FOR KK 4.4.4 Stock ROM
I'm not responsible for bricked devices or flashing wrong version
You are using this kernel at your own responsibility
NO Lollipop Support, Don't ask for it



——— !!!!!!!! YOU HAVE BEEN WARNED !!!!!!!! ———

FEATURES:
This kernel include the following additional features:
* Built on Linaro 4.9.4, (Stock kernel is on 4.7)
* Cortex-A53 Optimizations
* Additional Governors, Alucard, Hyper, darkness, OnDemandPlus and others.


CREDITS:
Dorimanx (for all his kernel sources, SII, LG)
Alucard_24(for Alucard Governor)
Torvalds (Kernel 3.6.Y maintainer)
Stelistcristi (Contents of this post)
osm0sis (For Android Image Kitchen)
Kiran Anto (for his Razor kernel sources)

Download
http://chhapil.github.io

KERNEL SOURCE:
Source code of the kernel can be found here:
https://github.com/chhapil/Kernel-Lenovo-A6000-KK


TO Do List:
I'm planning to add following features, but NOT ETA
1. Create flashable zip instead of boot.img
2. Add SuperSU and busybox to the build
3. Add additional IO schedulers
4. Add Synapse Support
5. Overclocking
6. Other mods that I see fit


Steps:
1. adb reboot bootloader
2. For temporary flash, fastboot boot boot.img
3. For permanent flash, fastboot flash boot boot.img
4. The phone will reboot automatically.
5. The Stock Rom doesn't show Kernel version on about page, here is the command to verify the kernel.
PHP:
adb shell cat /proc/version
Linux version 3.10.28-Kernel-MoStock-V1.1-A6000+ (root@ubuntu) (gcc version 4.9.4 20150629 (prerelease) (crosstool-NG 1.20.0 - Linaro GCC 2015.06) ) #1 SMP PREEMPT Fri Nov 20 18:53:31 IST 2015

 
Last edited:
Changelog

ChangeLog
1.48
Added FauxSound
Added KCAL control

1.45
1. Now I'll be compiling and publishing modules also, flashable zip in to-do list
2. Latest prima wlan driver module in modules.zip
3. Fixed FM crashing issue.

1.44
kernel updated to mainline linux 3.10.94
lz4 compression on zram, ramdisk and kernel
Toolchain updated to UBERTC 5.3.x

1.25
This is GPU centric release

Added GPU frequency range from 100Mhz to 465Mhz.
Updated Adreno governor and Idler
Other tweaks related to build files.
Fixed FM Issue
This will result in longer standby time and less power usage during use.
I have been testing this kernel for a while now


1.22

1. Vibration control added
2. PowerSuspend Drivers updated
3. Some debuggers turned off
4. Logger size reduced
5. Some other optimizations

Thanks to @Kiran Anto I have been cherry picking is his commits recently.

1.18
Fsync option added to controls
Alucard hotplug + Power Suspend driver
Disabled MMC CRC check for faster performance
USB Fast charging support

1.12
Uber 6.0 Toolchain
Updated to 3.10.31
Other changes related to builds
1.7
This is a test build, I have updated the toolchain from Linaro 4.9.4 to Uber 5.2.

1.6
1. Busybox reverted, was causing issue with battery status,
2. recovery perms fixed, adb should work fine now
3 .Flashable script pulled from Dorimanx's LG G2 build, thanks for all his work till date
4 .I/O schedulers added, zen, fiops
5. Build script and tools updated
Currently recovery flashable zip also add Stweaks, but it won't work


1.3
busybox added
TCP congestion controls enabled
init.d support
more changes to build files
 
Last edited:
FAQs

1. Can I use it with MIUI ROM?
Honestly I don't know, people of reported that it works, better search the thread of relevant details

2. I bricked my phone!
Safest procedure to check whether your phone works with this kernel is not flash it in first attempt.
just put command "fastboot boot boot.img"
This temporarily boots phone with new kernel,
If phone fails to start with newer kernel it automatically falls back to older kernel.
If it works well, then you can permanently flash it with "fastboot flash boot boot.img"

3. My Wifi/FM not working
This is the issue with the kernel modules.
This issue has been laying around, here is the cause,
FM, Wifi drivers are loaded as modules by the kernel as per need. It has its own advantages in terms of kernel size and memory utilizations.
On stock ROM these modules are loaded from /system/lib/modules
My efforts had been till date to minimise the changes on the ROM to keep it working with existing modules. But it seems with optimizations and newer toolchains the hack wont work anymore and hence is FM crashes while loading the FM driver. (WLAN driver is still working though with the hack)

So I'm publishing the latest compiled modules. (Find them in attached zip) They would resolve this FM issue. Also the wifi modules

Here are the steps,
1. Download and extract the modules zip on your phone.
2. Backup existing radio-iris-transport.ko from /system/lib/modules
3. Copy and replace radio-iris-transport.ko from the modules folder in /system/lib/modules
4. Alternatively you can replace all the existing .ko files with the one i have provided. Make sure you backup them before replacing.
5. You can Use Es Explorer or ADB to follow these steps.
6. Set correct permissions 644 (either chmod 644 or ES Explorer-> file ->Properties->permissions)
 
Last edited:

Rahulraj943472

Senior Member
Jan 4, 2015
248
54
Bhagalpur
Please don't stop making I will post your kernel in whatsapp

---------- Post added at 10:23 AM ---------- Previous post was at 10:20 AM ----------

Please post this on main thread of lenovo a6000

---------- Post added at 10:25 AM ---------- Previous post was at 10:23 AM ----------

Also please make this kernel for the cm11 compatible
 

Jun_ao

Member
Sep 22, 2015
30
1
let me test on my k30t with miui7.
Screenshot_2015-11-25-20-36-23_com.grarak.kerneladiutor.pngScreenshot_2015-11-25-20-39-03_com.grarak.kerneladiutor.pngScreenshot_2015-11-25-20-45-56_com.android.settings.png
 
  • Like
Reactions: vignesh las

Rahulraj943472

Senior Member
Jan 4, 2015
248
54
Bhagalpur
'It supports fast charging upto 1380 mah and this kernel is suitable for miui 7.I experienced it in stock kitkat rom and a user posted ss of this kernel in Miui 7 as above.please mention it in your page or on github page so that users can attract with this incredible kernel made by you.!!
 
  • Like
Reactions: vignesh las

Iqbal Ansari

Senior Member
Jun 6, 2012
932
194
Bhopal
'It supports fast charging upto 1380 mah and this kernel is suitable for miui 7.I experienced it in stock kitkat rom and a user posted ss of this kernel in Miui 7 as above.please mention it in your page or on github page so that users can attract with this incredible kernel made by you.!!

What is max charging current in stock lollipop kernel? I find charging to be slow. And when I checked it shows 600 mA while charging and thats a bit slow.
 

ManthanRB

Senior Member
Mar 23, 2012
913
101
London
Finally some developer is doing work on this device, goo to see!:eek:

Yes, we will test your LP kernel & if possible please add OC support.;)
 

Mr. AW

Senior Member
Sep 2, 2015
253
372
Jember
Thanks for creating this great custom kernel for our device.
your custom kernel works on MIUI 7. Great. It gives long battery life (about 25-30 hours on normal usage). Performance is good too.
Please add more custom governor and hotplug.
And please Lollipop build

Thanks

---------- Post added at 10:25 AM ---------- Previous post was at 10:21 AM ----------

Can I install this kernel on CM11.??

I've tested on CM11. Yes you can use it on CM11 (but you must create your own boot.img file, using CM11 ramdisk and MoStock kernel). But I found one bug (for now), WiFi will stuck on turning on. I don't know about other bugs.
I hope chhapil can fix wifi bug on CM11.

This kernel works like a charm on MIUI 7. No bug
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    The Background:
    I got this phone as a replacement to Galaxy Grand and soon I realised it's not sufficient to be on the stock kernel for all obvious reasons.
    I'm used to great kernels like Dorimanx on SII.
    So I searched on the Lenovo and XDA forums and soon realised that Lenovo was releasing incomplete sources for their devices(Specially A6000). Soon they released LP build for A6000 along with complete kernel source. The LP source builds well but KK source was still incomplete. But the wait was over and they release complete source for Kitkat release.
    I'm still using KK on this device because their LP builds are not yet mature and couple of features like Encryption are still missing on LP (I need them)
    DISCLAIMER:
    ONLY FOR KK 4.4.4 Stock ROM
    I'm not responsible for bricked devices or flashing wrong version
    You are using this kernel at your own responsibility
    NO Lollipop Support, Don't ask for it



    ——— !!!!!!!! YOU HAVE BEEN WARNED !!!!!!!! ———

    FEATURES:
    This kernel include the following additional features:
    * Built on Linaro 4.9.4, (Stock kernel is on 4.7)
    * Cortex-A53 Optimizations
    * Additional Governors, Alucard, Hyper, darkness, OnDemandPlus and others.


    CREDITS:
    Dorimanx (for all his kernel sources, SII, LG)
    Alucard_24(for Alucard Governor)
    Torvalds (Kernel 3.6.Y maintainer)
    Stelistcristi (Contents of this post)
    osm0sis (For Android Image Kitchen)
    Kiran Anto (for his Razor kernel sources)

    Download
    http://chhapil.github.io

    KERNEL SOURCE:
    Source code of the kernel can be found here:
    https://github.com/chhapil/Kernel-Lenovo-A6000-KK


    TO Do List:
    I'm planning to add following features, but NOT ETA
    1. Create flashable zip instead of boot.img
    2. Add SuperSU and busybox to the build
    3. Add additional IO schedulers
    4. Add Synapse Support
    5. Overclocking
    6. Other mods that I see fit


    Steps:
    1. adb reboot bootloader
    2. For temporary flash, fastboot boot boot.img
    3. For permanent flash, fastboot flash boot boot.img
    4. The phone will reboot automatically.
    5. The Stock Rom doesn't show Kernel version on about page, here is the command to verify the kernel.
    PHP:
    adb shell cat /proc/version
    Linux version 3.10.28-Kernel-MoStock-V1.1-A6000+ (root@ubuntu) (gcc version 4.9.4 20150629 (prerelease) (crosstool-NG 1.20.0 - Linaro GCC 2015.06) ) #1 SMP PREEMPT Fri Nov 20 18:53:31 IST 2015

    4
    Guys no more features request!
    I say it loud n BOLD now!
    3
    FM & Other Modules

    Hi All,
    Here is the fix for FM crash issue.
    This issue has been laying around, here is the cause,
    FM, Wifi drivers are loaded as modules by the kernel as per need. It has its own advantages in terms of kernel size and memory utilizations.
    On stock ROM these modules are loaded from /system/lib/modules
    My efforts had been till date to minimise the changes on the ROM to keep it working with existing modules. But it seems with optimizations and newer toolchains the hack wont work anymore and hence is FM crashes while loading the FM driver. (WLAN driver is still working though with the hack)

    So I'm publishing the latest compiled modules. (Find them in attached zip) They would resolve this FM issue.

    Here are the steps,
    1. Download and extract the modules zip on your phone.
    2. Backup existing radio-iris-transport.ko from /system/lib/modules
    3. Copy and replace radio-iris-transport.ko from the modules folder in /system/lib/modules
    4. Alternatively you can replace all the existing .ko files with the one i have provided. Make sure you backup them before replacing.
    5. You can Use Es Explorer or ADB to follow these steps.
    6. Set correct permissions 644 (either chmod 644 or ES Explorer-> file ->Properties->permissions)

    I'm working on publishing latest WIFI driver module also. But it would take some time.
    2
    Changelog

    ChangeLog
    1.48
    Added FauxSound
    Added KCAL control

    1.45
    1. Now I'll be compiling and publishing modules also, flashable zip in to-do list
    2. Latest prima wlan driver module in modules.zip
    3. Fixed FM crashing issue.

    1.44
    kernel updated to mainline linux 3.10.94
    lz4 compression on zram, ramdisk and kernel
    Toolchain updated to UBERTC 5.3.x

    1.25
    This is GPU centric release

    Added GPU frequency range from 100Mhz to 465Mhz.
    Updated Adreno governor and Idler
    Other tweaks related to build files.
    Fixed FM Issue
    This will result in longer standby time and less power usage during use.
    I have been testing this kernel for a while now


    1.22

    1. Vibration control added
    2. PowerSuspend Drivers updated
    3. Some debuggers turned off
    4. Logger size reduced
    5. Some other optimizations

    Thanks to @Kiran Anto I have been cherry picking is his commits recently.

    1.18
    Fsync option added to controls
    Alucard hotplug + Power Suspend driver
    Disabled MMC CRC check for faster performance
    USB Fast charging support

    1.12
    Uber 6.0 Toolchain
    Updated to 3.10.31
    Other changes related to builds
    1.7
    This is a test build, I have updated the toolchain from Linaro 4.9.4 to Uber 5.2.

    1.6
    1. Busybox reverted, was causing issue with battery status,
    2. recovery perms fixed, adb should work fine now
    3 .Flashable script pulled from Dorimanx's LG G2 build, thanks for all his work till date
    4 .I/O schedulers added, zen, fiops
    5. Build script and tools updated
    Currently recovery flashable zip also add Stweaks, but it won't work


    1.3
    busybox added
    TCP congestion controls enabled
    init.d support
    more changes to build files
    2
    I'm not using lollipop build yet. But I can build it for you guys, but you will have to test and report