• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[KERNEL][LP][MM][N][x32] SEMAR for Lenovo A6000/Plus

Search This thread

Mr. AW

Senior Member
Sep 2, 2015
253
372
Jember
SEMAR KERNEL for LENOVO A6000/PLUS (x32)



Features:
  • Wake Gesture (DoubleTap2Wake + Sweep2Wake) + MusiqMod
    - MusiqMod only enable if jack input detected.
    - MusiqMod controls: prev track, play/pause, next track.
    - MusiqMod controls position 500px from top (about 1/3 of screen).
  • Pocket Detection.
  • CPU Clock 200 MHz - 1.4 GHz
  • GPU Clock 100-465MHz.
  • Undervolted to save battery and reduce heat issue.
  • Lot of Governors: alucard, authority, barry_allen, blu_active, electrodemand, impulse, intel, interactive_pro, lionfish, pegasusq, smartmax, wheatley, yankactive, zzmoove (Please disable all hotplugs), interactive, bioshock.
  • Hotplugs: IntelliPlug, MSM Hotplug, Mako, MSM MPDecision, Alucard.
  • Intellithermal
  • Adreno Idler
  • KCAL
  • Faux Sound 3.4
  • Fast Charge.
  • frandom.
  • exFat.
  • Some native crypto algorithm.
  • USB keyboard/mouse for your PC. Use this app
  • Wakelock bypasser option. Support 4 kind of wakelocks:
    1. wlan -> /sys/module/wakeup/parameters/enable_wlan_ws
    2. qcom_rx_wakelock -> /sys/module/wakeup/parameters/enable_qcom_rx_wakelock_ws
    3. wlan_extscan_wl -> /sys/module/wakeup/parameters/enable_wlan_extscan_wl_ws
    4. IPA_WS -> /sys/module/wakeup/parameters/enable_ipa_ws
  • many more...


Compatibility:
  1. Lollipop (WORKS)
  2. Marshmallow (WORKS)
  3. Nougat (WORKS)


Instruction:
  1. Download Semar Kernel and save to sdcard
  2. Enter recovery mode
  3. Install/Flash Semar Kernel
  4. Reboot
  5. Tweak Semar Parameters using Kernel Manager App like Kernel Adiutor.


Credits:
Code:
* Flour_Mo - Silentlys
* showp1984
* Vineeth Raj
* premaca
* franco
* sultanqasim
* faux123
* myfluxi
* arter97
* savoca
* many more...


Download:


XDA:DevDB Information
SEMAR KERNEL, Kernel for the Lenovo A6000/Plus

Contributors
Mr. AW, Mr. AW
Source Code: https://github.com/Mr-AW/kernel_SEMAR_LenovoA6000

Kernel Special Features: Wake Gesture + MusiqMod, Pocket Detection, CPU+GPU OC, Undervolted,

Version Information
Status: Stable

Created 2017-01-09
Last Updated 2017-01-18
 
Last edited:

Mr. AW

Senior Member
Sep 2, 2015
253
372
Jember
Changelog & Bug

Changelog:
  • 30/12/2016:
    - Fix: FauxSound
    - Fix: Lockscreen freeze
    - Better Pocket Detection
    - Add: exFat
    - Add: USB keyboard/mouse for your PC. Use this app
    - bypass wakelocks related to WiFi.
    - Add: Sweep2Wake (only left to right)
  • 07/01/2017 (Release 2):
    - better read proximity function for wake gesture
    - fix frandom
    - OC CPU up to 1.4 GHz
    - undervolted to reduce heat and power consumption
    - enable ARCH_POWER
    - Add some crypto algorithm
    - Add some wakelock enabler option. ( PATH: /sys/module/wakeup/parameter/ )
    - fix crackle sound notification
  • 08/01/2017 (Release 3):
    - N Compatible
    - Fix Hotspot bug on Android N 7.1.1. Thanks to @mshoaib7
    - Disable OTG (Lenovo A6000/Plus doesn't support OTG)
  • 11/01/2017 (Release 4):
    - Update prima wlan driver 3.8.22.14
    - O3 Optimization
    - Add schedulers: sio, sioplus, fifo, vr, and tripndroid
    - Add UKSM
    - Memory Management backport from Linux 4.1
    - zRam backport from Linux 4.9
    - Fix screen flickering (Need confirmation)


Bugs:
- Common bug: screen flickering
 
Last edited:

Mr. AW

Senior Member
Sep 2, 2015
253
372
Jember
Q/A

Q/A:
  1. How to bypass wakelock?
    - Open file /etc/init.d/81SEMAR_WAKELOCK using explorer which support root. Change value after "echo" to $DISABLE (to disable/bypass wakelock), $ENABLE (to enable wakelock)
  2. What is musiqmod? and how to enable it?
    - Musiqmod is a additional feature to DT2W to control music player only when jack input connected. Just enable DT2W and insert your headphone, double tap about 1/3 of screen from top. You will get play/pause, next, and prev control.
  3. What is Pocket Detection?
    - Pocket Detection is used for preventing device wakeup when wake control enabled. So if you put your phone in your pocket, you don't have to worry your device will wakeup accidently.
 
Last edited:

sumit1190

Senior Member
Jun 6, 2016
88
11
Faridabad
About Release 3

@Mr.AW ...i want to ask a thing about release 3

is it necessary to update it in your mm rom or it is only for nougat roms because im using candy six with release2
Is release 3 is also for candysix mm rom ... should i update it or not..??? :confused:
 

jack50

Senior Member
Mar 5, 2015
166
28
hello Mr AW,
my device is lenovo A6000 with 1giga of ram , and i'm using nexus experience marshmallow custom rom on my device , after flashing "SEMAR KERNEL" (Release 3) , i got some issues ,
1- sound control , after setting my value and close kernel adiutor, if i get run kernel adiutor again i got the sound control value that i set it before got changed , and also screen control , after changed the value from custom screen to stock screen and get run kernel adiutor again also i got it changed back to custom screen .
2- and there's some another parameters also get changed with it self such as "maxmum cores to allowed , vdd restriction.
3-the most important thing, every day at morning and when i turn on the wifi or 4g data for a first time the device should hanging and freezing for a minute until i got my notifications from whats app or my gmail. and fyi , i didn't have a lot of applications installed on my phone, it's only face book ,whats app , gmail , beside bullit in applications and i don't have any games.
thank you & good luck
 

Gueztar

Senior Member
Feb 19, 2016
475
183
Martapura
Just flashed into Mokee 7.1.1, hotspot working. Battery does very good till now.

Issue :
- i can't turning on Sweep2Wake, it always " disbale " after i close KernelAdiutor. Any suggest?

Btw, Thanks @Mr. AW
 
Last edited:

Vignesh_K

Senior Member
May 25, 2016
185
43
Alappuzha
hello Mr AW,
my device is lenovo A6000 with 1giga of ram , and i'm using nexus experience marshmallow custom rom on my device , after flashing "SEMAR KERNEL" (Release 3) , i got some issues ,
1- sound control , after setting my value and close kernel adiutor, if i get run kernel adiutor again i got the sound control value that i set it before got changed , and also screen control , after changed the value from custom screen to stock screen and get run kernel adiutor again also i got it changed back to custom screen .
2- and there's some another parameters also get changed with it self such as "maxmum cores to allowed , vdd restriction.
3-the most important thing, every day at morning and when i turn on the wifi or 4g data for a first time the device should hanging and freezing for a minute until i got my notifications from whats app or my gmail. and fyi , i didn't have a lot of applications installed on my phone, it's only face book ,whats app , gmail , beside bullit in applications and i don't have any games.
thank you & good luck

No matter what ROM I try i face this issue. I don't face this issue on more powerful phones. I guess we've got to live with it.
 

m4gaikwad

Senior Member
Aug 12, 2016
102
37
Pune
Changelog:
  • 30/12/2016:
    - Fix: FauxSound
    - Fix: Lockscreen freeze
    - Better Pocket Detection
    - Add: exFat
    - Add: USB keyboard/mouse for your PC. Use this app
    - bypass wakelocks related to WiFi.
    - Add: Sweep2Wake (only left to right)
  • 07/01/2017 (Release 2):
    - better read proximity function for wake gesture
    - fix frandom
    - OC CPU up to 1.4 GHz
    - undervolted to reduce heat and power consumption
    - enable ARCH_POWER
    - Add some crypto algorithm
    - Add some wakelock enabler option. ( PATH: /sys/module/wakeup/parameter/ )
    - fix crackle sound notification
  • 08/01/2017 (Release 3):
    - N Compatible
    - Fix Hotspot bug on Android N 7.1.1. Thanks to @mshoaib7
    - Disable OTG (Lenovo A6000/Plus doesn't support OTG)


Bugs:

Thanks @Mr. AW .. Working good on Resurrection Remix of mshoaib7 .. No lag till now .. Hotspot working good.. Will quote on battery backup after two days.....

---------- Post added at 04:28 PM ---------- Previous post was at 04:25 PM ----------

Can you guys share your kernel auditor setting with this kernel..

CPU Governor - smartmax
Hotplug - Intelliplug
I/O scheduler - Noop for Internal and External
Thermal is ON
Gives me excellent Battery Backup.......
 
  • Like
Reactions: Mr. AW

Gueztar

Senior Member
Feb 19, 2016
475
183
Martapura
Can you guys share your kernel auditor setting with this kernel..

My Setting :
- CPU : MAX 1.2Ghz - MIN 400Mhz or 533Mhz
* Governors =
1. Smartmax
2. Alucard
Freq Responsiveness = 988400

- HotPlug (choose one) :
* MSM (Smoothness)
Min Cpu Online = 2
Cpu Boosted = 1
Update Rate = 10
Fast Lane Load = 120
* Bricked HotPlug > [ Prefer to this if u facing Lags ]
Min Cpu Online = 1-2
Idle Frequencies = 533Mhz
- Runque Threshold per CPU
For "hotplugged" raise 10-15%
For "unplugged" raise 10-30% (Acumulative)
- Time Threshold per CPU
For "unplugged" raise 10-20ms
* Mako or Alucard (Battery)

- Thermal
* IntelliThermal : on
* Frequency Throttle Temp : 80-90 degree
(More you increase it, more time the CpuCores not going to shutingdown because of Heating)

- GPU : MIN 100Mhz - MAX 400Mhz
- Wake Controls : up to you
- FastCharge : ON
- I/O Scheduller : Noop 512Kb
- Virtual Memory :
Dirty Expire Centisecs : 200
Dirty Writeback Centisecs : 3000
Swapiness = 70
VFS Cache Pressure = 80
- TCP Congestion Algorithm = westwood

# i dont use IntelliPlug in Semar Kernel, because all the cores are always on and draining battery. When compared to PhantomReborn IntelliPlug, it has better optimization (its like @dev_harsh1998 tunning it, am i right??). The same IntelliPlug profile " Conservative " with different cpu runque and different BatteryBackup.

# Combining Gov and HP for the best result
- Alucard + MSM (Balanced)
- Smartmax + MSM (Balanced Perfomance)
- Bioshock + Bricked (Perfomance)
 
Last edited:

JovanSijacki

Senior Member
Oct 14, 2014
334
91
Beograd
hello Mr AW,
my device is lenovo A6000 with 1giga of ram , and i'm using nexus experience marshmallow custom rom on my device , after flashing "SEMAR KERNEL" (Release 3) , i got some issues ,
1- sound control , after setting my value and close kernel adiutor, if i get run kernel adiutor again i got the sound control value that i set it before got changed , and also screen control , after changed the value from custom screen to stock screen and get run kernel adiutor again also i got it changed back to custom screen .
2- and there's some another parameters also get changed with it self such as "maxmum cores to allowed , vdd restriction.
3-the most important thing, every day at morning and when i turn on the wifi or 4g data for a first time the device should hanging and freezing for a minute until i got my notifications from whats app or my gmail. and fyi , i didn't have a lot of applications installed on my phone, it's only face book ,whats app , gmail , beside bullit in applications and i don't have any games.
thank you & good luck
Clean flash and try wipping dalvik and cash
 

Mr. AW

Senior Member
Sep 2, 2015
253
372
Jember
Works very nicely! One thing that I miss is tripndroid i/o scheduler. I hope you can add it in next release
I'll what I can do :)

@Mr. AW I Already installed on stock Lollipop S061. No bootloop
Bugs:
WLAN stop worked.
Thanks for your feedback. So Semar Kernel compatible with Stock Lollipop x32.
Stock ROM need wlan module to load. So next release I will make Semar support module.

@Mr.AW ...i want to ask a thing about release 3

is it necessary to update it in your mm rom or it is only for nougat roms because im using candy six with release2
Is release 3 is also for candysix mm rom ... should i update it or not..??? :confused:
I suggest flash it on CandySix. Actually I add some tweak also. Now I'm using Semar Release 3 on my CandySix. :good:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    SEMAR KERNEL for LENOVO A6000/PLUS (x32)



    Features:
    • Wake Gesture (DoubleTap2Wake + Sweep2Wake) + MusiqMod
      - MusiqMod only enable if jack input detected.
      - MusiqMod controls: prev track, play/pause, next track.
      - MusiqMod controls position 500px from top (about 1/3 of screen).
    • Pocket Detection.
    • CPU Clock 200 MHz - 1.4 GHz
    • GPU Clock 100-465MHz.
    • Undervolted to save battery and reduce heat issue.
    • Lot of Governors: alucard, authority, barry_allen, blu_active, electrodemand, impulse, intel, interactive_pro, lionfish, pegasusq, smartmax, wheatley, yankactive, zzmoove (Please disable all hotplugs), interactive, bioshock.
    • Hotplugs: IntelliPlug, MSM Hotplug, Mako, MSM MPDecision, Alucard.
    • Intellithermal
    • Adreno Idler
    • KCAL
    • Faux Sound 3.4
    • Fast Charge.
    • frandom.
    • exFat.
    • Some native crypto algorithm.
    • USB keyboard/mouse for your PC. Use this app
    • Wakelock bypasser option. Support 4 kind of wakelocks:
      1. wlan -> /sys/module/wakeup/parameters/enable_wlan_ws
      2. qcom_rx_wakelock -> /sys/module/wakeup/parameters/enable_qcom_rx_wakelock_ws
      3. wlan_extscan_wl -> /sys/module/wakeup/parameters/enable_wlan_extscan_wl_ws
      4. IPA_WS -> /sys/module/wakeup/parameters/enable_ipa_ws
    • many more...


    Compatibility:
    1. Lollipop (WORKS)
    2. Marshmallow (WORKS)
    3. Nougat (WORKS)


    Instruction:
    1. Download Semar Kernel and save to sdcard
    2. Enter recovery mode
    3. Install/Flash Semar Kernel
    4. Reboot
    5. Tweak Semar Parameters using Kernel Manager App like Kernel Adiutor.


    Credits:
    Code:
    * Flour_Mo - Silentlys
    * showp1984
    * Vineeth Raj
    * premaca
    * franco
    * sultanqasim
    * faux123
    * myfluxi
    * arter97
    * savoca
    * many more...


    Download:


    XDA:DevDB Information
    SEMAR KERNEL, Kernel for the Lenovo A6000/Plus

    Contributors
    Mr. AW, Mr. AW
    Source Code: https://github.com/Mr-AW/kernel_SEMAR_LenovoA6000

    Kernel Special Features: Wake Gesture + MusiqMod, Pocket Detection, CPU+GPU OC, Undervolted,

    Version Information
    Status: Stable

    Created 2017-01-09
    Last Updated 2017-01-18
    17
    Release 5

    hi guys,
    Semar release 5 is out.

    In this release I've tried to fix in call volume low issue. I hope it has been fixed in release 5. Please give some feedback.
    Some users says that this issue is caused by faux sound control. So in this release I've removed faux sound. But I still don't get it why faux sound caused in call volume low. I'll keep analyze it, and will bring back faux sound control feature.
    Call detection for wake gesture also has been fixed. But please leave feedback too.
    Not only faux sound removed, I've removed sdcardfs feature too, I think this feature is good. e.g. you can move your app to external card without any app (only for Nougat, 7.1.1). But not all ROMs support sdcardfs. you will have random reboot issue.
    Some improvement to make semar stable and battery friendly.

    If you face battery drain issue, please give me SS of BBS(Better Battery Stats). I'll help you out figuring what is the caused of battery drain. If it comes to kernel, I'll try my best to fix it.
    But sometimes It's not come from kernel, It comes from apps and services (I'm using Tesla N and the caused of battery drain is from google services). So, please use battery saver app like greenify.

    I think that's all,
    Please don't be shy to leave your feedback to get semar kernel more stable.
    As always...

    Have a great day guysss :cowboy:
    12
    Changelog & Bug

    Changelog:
    • 30/12/2016:
      - Fix: FauxSound
      - Fix: Lockscreen freeze
      - Better Pocket Detection
      - Add: exFat
      - Add: USB keyboard/mouse for your PC. Use this app
      - bypass wakelocks related to WiFi.
      - Add: Sweep2Wake (only left to right)
    • 07/01/2017 (Release 2):
      - better read proximity function for wake gesture
      - fix frandom
      - OC CPU up to 1.4 GHz
      - undervolted to reduce heat and power consumption
      - enable ARCH_POWER
      - Add some crypto algorithm
      - Add some wakelock enabler option. ( PATH: /sys/module/wakeup/parameter/ )
      - fix crackle sound notification
    • 08/01/2017 (Release 3):
      - N Compatible
      - Fix Hotspot bug on Android N 7.1.1. Thanks to @mshoaib7
      - Disable OTG (Lenovo A6000/Plus doesn't support OTG)
    • 11/01/2017 (Release 4):
      - Update prima wlan driver 3.8.22.14
      - O3 Optimization
      - Add schedulers: sio, sioplus, fifo, vr, and tripndroid
      - Add UKSM
      - Memory Management backport from Linux 4.1
      - zRam backport from Linux 4.9
      - Fix screen flickering (Need confirmation)


    Bugs:
    - Common bug: screen flickering
    10
    Q/A

    Q/A:
    1. How to bypass wakelock?
      - Open file /etc/init.d/81SEMAR_WAKELOCK using explorer which support root. Change value after "echo" to $DISABLE (to disable/bypass wakelock), $ENABLE (to enable wakelock)
    2. What is musiqmod? and how to enable it?
      - Musiqmod is a additional feature to DT2W to control music player only when jack input connected. Just enable DT2W and insert your headphone, double tap about 1/3 of screen from top. You will get play/pause, next, and prev control.
    3. What is Pocket Detection?
      - Pocket Detection is used for preventing device wakeup when wake control enabled. So if you put your phone in your pocket, you don't have to worry your device will wakeup accidently.
    9
    Well done @Mr.Aw Finally i can get a leave... merge in https://github.com/dev-harsh1998/kernel_wt86518 for fully fledged nougat support and Latest Prima