[KERNEL][STOCK][CM12.1][LP][32/64] Kernel TeLo for Lenovo A6000 Plus

Search This thread

Mr. AW

Senior Member
Sep 2, 2015
253
372
Jember
Glad to help...yes, adreno is the best..just pointing out the bugs :) ..can you check fsync too?? It didn't stick when reboot even with apply in boot..want to make sure if its the ROM or not

Bugs also appear in stock kernel (Not compiled by me, but from the original stock). I have difficulties in getting debug or error message. it will take a while.

I think its kernel adiutor's problem because the same thing happens in 64bit version . For enabling/disabling fsync use trickster mod or any other app

thanks for your information
 
  • Like
Reactions: Ztsanga

Mr. AW

Senior Member
Sep 2, 2015
253
372
Jember
I just tested it on CM12.1 by ED300 and seems like WiFi doesn't works. (Turing on the WiFi, but nothing happeneds.) Any help please?
Unable to enable Wi-Fi in ED300 CM 12.1(32bit)
The rest looks OK. Haven`t tested much.

It should work on ED300 version, because he's using ported ROM by stuepD.
Are you using update4 with optimization?

Please check if there is file wlan.ko in /system/lib/modules/ folder.
If yes, please send me your logcat.
How to get logcat?
1. install terminal emulator.
2. Open terminal emulator and type "su" (without quotes). grant permission
3. type "logcat > /sdcard/logcat.txt" (without quotes)
4. send file logcat.txt from your sdcard
 
Last edited:

iamceph

Senior Member
Jan 17, 2016
297
89
Vsetín
cephvfx.com
It should work on ED300 version, because he's using ported ROM by stuepD.
Are you using update4 with optimization?

Please check if there is file wlan.ko in /system/lib/modules/ folder.
If yes, please send me your logcat.
How to get logcat?
1. install terminal emulator.
2. Open terminal emulator and type "su" (without quotes). grant permission
3. type "logcat > /sdcard/logcat.txt" (without quotes)
4. send file logcat.txt from your sdcard

Yes, wlan.ko exist.
Including logcat in Attached files.

EDIT: Yes, I'm using update 4. Now using optimized version, but with noOptimized version same problem.
 

Attachments

  • logcat2.zip
    56.7 KB · Views: 18
Last edited:

Ztsanga

Senior Member
Jan 17, 2015
143
17
I think its kernel adiutor's problem because the same thing happens in 64bit version . For enabling/disabling fsync use trickster mod or any other app

Thanks...confirmed it, its not the kernel...am running miui 7 with this kernel..it is stable for now...thanks again to Mr.AW for this awesome kernel

---------- Post added at 04:32 AM ---------- Previous post was at 04:21 AM ----------

The wlan won't turn on when using the 32bit version of this kernel.
Right now, I use RR 5.5.9 32bit ROM.
I tested again confirm that WiFi was not working with rrremix 5.5.9(32bit)...I checked it again saw that the WiFi modules were not there..I will try using stock modules and report again
 

Mr. AW

Senior Member
Sep 2, 2015
253
372
Jember
I tested again confirm that WiFi was not working with rrremix 5.5.9(32bit)...I checked it again saw that the WiFi modules were not there..I will try using stock modules and report again

If there is no /system/lib/modules/ folder that means that ROM doesn't support external kernel module (CMIW). You still can use WiFi, but you have to load wlan.ko module manually.
1. Place wlan.ko to someplace. Ex, to /system/lib/modules/wlan.ko
2. open terminal emulator
3. type "su" (without quotes). grant permission
4. type "svc wifi disable"
5. type "insmod /system/lib/modules/wlan.ko"
6. Done. Your WiFi should work
 

iamceph

Senior Member
Jan 17, 2016
297
89
Vsetín
cephvfx.com
If there is no /system/lib/modules/ folder that means that ROM doesn't support external kernel module (CMIW). You still can use WiFi, but you have to load wlan.ko module manually.
1. Place wlan.ko to someplace. Ex, to /system/lib/modules/wlan.ko
2. open terminal emulator
3. type "su" (without quotes). grant permission
4. type "svc wifi disable"
5. type "insmod /system/lib/modules/wlan.ko"
6. Done. Your WiFi should work

Tried this too on CM12.1 by ED300, but terminal just saying "insmod: can't open '/system/lib/modules/wlan.ko' "
 

iamceph

Senior Member
Jan 17, 2016
297
89
Vsetín
cephvfx.com

Attachments

  • Screenshot_2016-02-13-12-22-13.png
    Screenshot_2016-02-13-12-22-13.png
    86.8 KB · Views: 108

K4sh

Senior Member
Feb 17, 2013
102
99
30
Maybe figured out the problem, tried to give permissions, but it saying, that file doesn't exist.

system/lib/modules/pronto/pronto_wlan.ko is symlinked to system/lib/modules that's why you are not able to change permission
just rename pronto_wlan.ko file to wlan.ko and move to system/lib/modules


in any ROM just put wifi module .ko file to system/lib/modules
since these kernels load WiFi module from this directory
 
Last edited:

iamceph

Senior Member
Jan 17, 2016
297
89
Vsetín
cephvfx.com
system/lib/modules/pronto/pronto_wlan.ko is symlinked to system/lib/modules that's why you are not able to change permission
just rename pronto_wlan.ko file to wlan.ko and move to system/lib/modules


in any ROM just put wifi module .ko file to system/lib/modules
since these kernels load WiFi module from this directory

Because this file don't exist. Seems like there is a empty link to file, that don't exist.. :X
 

wujke

Senior Member
If there is no /system/lib/modules/ folder that means that ROM doesn't support external kernel module (CMIW). You still can use WiFi, but you have to load wlan.ko module manually.

1. Place wlan.ko to someplace. Ex, to /system/lib/modules/wlan.ko
1+--> wlan.ko from stock LP
2. open terminal emulator
3. type "su" (without quotes). grant permission
4. type "svc wifi disable"
5. type "insmod /system/lib/modules/wlan.ko"
5+ type "svc wifi enable"
6. Done. Your WiFi should work[/QUOTE]

Working ; ^ )
 

Attachments

  • pronto_wlan.zip
    1.2 MB · Views: 873
Last edited:

iamceph

Senior Member
Jan 17, 2016
297
89
Vsetín
cephvfx.com
1. Place wlan.ko to someplace. Ex, to /system/lib/modules/wlan.ko
1+--> wlan.ko from stock LP
2. open terminal emulator
3. type "su" (without quotes). grant permission
4. type "svc wifi disable"
5. type "insmod /system/lib/modules/wlan.ko"
5+ type "svc wifi enable"
6. Done. Your WiFi should work

Working ; ^ )

Thank you for sharing wlan.ko file <3
Works as well.
Another question, are you using Snapchat? Because I can't record video with this kernel.

EDIT: So, at this Kernel, video camera in Snapchat don't work and any HW audio can't be played.
Ussing CM 12.1 by ED300 with Update4 -noOptimization.
 
Last edited:

Ztsanga

Senior Member
Jan 17, 2015
143
17
If there is no /system/lib/modules/ folder that means that ROM doesn't support external kernel module (CMIW). You still can use WiFi, but you have to load wlan.ko module manually.
1. Place wlan.ko to someplace. Ex, to /system/lib/modules/wlan.ko
2. open terminal emulator
3. type "su" (without quotes). grant permission
4. type "svc wifi disable"
5. type "insmod /system/lib/modules/wlan.ko"
6. Done. Your WiFi should work
Thanks...will test it...am back at miui again trying to figure out the min freq at max freq all the time :) ..
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    Hi guys,
    I decided to make custom kernel because our friend @chhapil has stopped his work on MoStock and every LP ROM have performance and battery issue. I knew nothing about developing kernel, so I learn about it. And finally, I managed to build my first custom kernel for LP.
    In first release, I will adopt some features from MoStock (I'm still learning :D). Of course I will add some features apart from MoStock.




    DISCLAIMER:
    This is the FIRST custom kernel for Lenovo A6000/Plus Lollipop ROM (64bit and 32bit). Not tested on Lenovo A6000 (32bit ROM). Don't flash it to 32-bit ROM.
    Tested on CM12.1 based ROM (CM12.1 and MOKEE with wt86518 code), stock LP ROM (32 bit)
    I'm not responsible for bricked devices or flashing wrong version
    You are using this kernel at your own responsibility


    HOW TO REPORT BUG:
    http://xdaforums.com/showpost.php?p=62979327&postcount=3

    DOWNLOAD:

    KERNEL SOURCE:


    How to Flash kernel:
    http://xdaforums.com/android/development/tutorial-how-flash-kernel-easy-method-t3307131. Thanks to @vardhan21
    How to Port for Custom ROM:
    http://xdaforums.com/showpost.php?p=65287496&postcount=85


    CREDITS:
    • @chhapil for Kernel source MoStock.
      [*]Flour_mo for kernel source
      [*]Alucard_24 for Alucard Governor
      [*]osm0sis for AIK
      [*]Satgass for CM12.1
      [*]faux123 for FauxSound
      [*]You tell me

    WORKING ROM:
    32Bit
    • Stock LP 5.0.2
    • MIUI 7 5.1.1
    • Resturection Remix 5.1.1
    • Infinite OS 5.1.1 by Herman Koeman
    • Mokee 5.1.1 by Herman Koeman and StuepD
    • CM12.1 by ED300 (WiFi Problem, Use manual fix (thanks to wujke) or automatic fix (thanks to opswiz)
    64Bit
    • CM12.1 by satgass
      [*]Mokee 5.1.1 by JAV-Team*
      [*]CM12.1 ENE by techolaty
    * You must unpack first and replace ramdisk and dt.img file from ROM kernel


    Guys, I'm still learning so don't be rush. OK :good:

    SS:
    picture.php

    picture.php

    picture.php

    picture.php

    picture.php
    7
    Changelog: 32 Bit
    v5.54:
    • Update Kernel Version: 3.10.94
    • Support exFat by Dorimax
    • Thermal Driver: Custom Thermal and Intelli thermal by Faux123
    • Add Hotplug: MSM, AutoSMP, and Mako
    • Fix hotplug conflict
    • Add Governor: Hellsactive and Smartmax
    • Kernel and zRAM compression
    • Fix FauxSound and update to 3.4
    v5.33:
    • FauxSound
    • KCAL Control
    • LCD Notify
    • Adreno Idler
    • Optimization using -Ofast Flag
    • Minor optimization
    v5.21:
    • Linaro 4.8 with cortex a53 optimization
    • Governor: alucard, HYPER, darkness, nightmare, ondemandplus, elementalX, impulse, yankactive, zzmoove
    • I/O Scheduler: Zen, Fiops
    • Enable: TCP Congestion Control Scheduler
    • Disable: MMC CRC
    • Load: WiFi and FM Modules
    • Add: FSync Control
    • Add: frandom
    • Add: Alucard Hotplug + Intelli-plug + Powersuspend Driver
    • UC/OC GPU 100-465 MHz
    • Add: Fast Charge
    • O3 Optimization
    • Some optimization

    Changelog: 64 Bit
    v5.23:
    • Linaro 4.9 with cortex a53 optimization
    • Governor: alucard, HYPER, darkness, nightmare, ondemandplus
    • I/O Scheduler: Zen, Fiops
    • Enable: TCP Congestion Control Scheduler
    • Disable: MMC CRC
    • Load: WiFi and FM Modules
    • Add: FSync Control
    • Add: frandom
    • Add: Alucard Hotplug + Powersuspend Driver
    • Some optimization
    v5.30:
    • LCD Notify
    • KCAL
    • FauxSound
    • UC/OC GPU 100-465 MHz
    • O3 Optimization

    v5.37:
    • Custom Thermal
    • Intelli-plug
    • Kernel version 3.10.65
    • New Governors: Impulse, zzmoove, ElementalX
    Configuration (use Kernel Adiutor):
    • CPU: Alucard Governor. Max freq: 1209 MHz, Min freq: 200 MHz
    • CPU Hotplug: Intelli-plug, default config. Profile: Eco Performance (You can try other profile). Disable Alucard hotplug.
    • I/O Scheduler: Internal and external: fiops for scheduler, 1024kB for Read-ahead.
    • Battery: check USB Fast Charge (If you want to use USB fast charge)
    6
    Thanks again...want to see if performance is better than custom on 32 bit

    I'm using stock LP 32bit now after try a lot of custom ROM.
    I think stock LP is the most stable ROM (but I don't like the interface :D)

    Spoiler:
    I have compiled new kernel. add new hotplug driver, playing with the configuration, add some tweak. the result is smooth,better battery life and temp is decreased.
    I think it's more stable and best for daily use.
    5
    I will try to reinstall ROM again with this kernel and try all of your ideas. Thanks! :D
    don't forget to :rolleyes: replace ramdisk and dt.img by these steps :
    1.Download bootimg.exe. thanks to cofface
    2. Make 2 folder, sourceKernel and sourceRamdisk
    3. Copy bootimg.exe to both folders.
    4. Copy TeLo kernel to sourceKernel folder and rename it to boot.img
    5. Copy your boot.img file from your custom rom to sourceRamdisk and make sure it has boot.img name
    6. Open CMD and enter to sourceKernel folder. type "bootimg --unpack-bootimg" (without quotes). Close CMD
    7. Open CMD and enter to sourceRamdisk folder. type "bootimg --unpack-bootimg" (without quotes). Close CMD
    8. Copy file kernel and dt_image from sourceKernel. Paste both files to sourceRamdisk folder (overwrite).
    9. Open CMD and enter to sourceRamdisk folder. type "bootimg --repack-bootimg" (without quotes). close CMD
    10. Flash boot-new.img
    thanx Ms.AW :good:
    Wifi enabler follow this way
    1.replace pronto_wlan.ko from stock rom to /system/lib/modules/ and rename to wlan.ko
    2.for automatically load wifi module download extract and replace file *01wlanon* to /system/etc/init.d/
    3.reboot and will be work :cool:
    5
    Thank you. I haven't find how to change the RAMdisk. Could you provide some instructions, please? I am going to test the kernel on ED300's pure CM12.1. 32 bit ROM. Thanx in advance.

    How do I get boot.img having zImage? Should I use mkbootimg, and if so, how should look this command?

    1. Download bootimg.exe. thanks to cofface
    2. Make 2 folder, sourceKernel and sourceRamdisk
    3. Copy bootimg.exe to both folders.
    4. Copy TeLo kernel to sourceKernel folder and rename it to boot.img
    5. Copy your boot.img file from your custom rom to sourceRamdisk and make sure it has boot.img name
    6. Open CMD and enter to sourceKernel folder. type "bootimg --unpack-bootimg" (without quotes). Close CMD
    7. Open CMD and enter to sourceRamdisk folder. type "bootimg --unpack-bootimg" (without quotes). Close CMD
    8. Copy file kernel and dt_image from sourceKernel. Paste both files to sourceRamdisk folder (overwrite).
    9. Open CMD and enter to sourceRamdisk folder. type "bootimg --repack-bootimg" (without quotes). close CMD
    10. Flash boot-new.img

    I'm developing easy tool for these steps. It called ERASER (Easy RAmdisk SwitchER).