Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,812 Members 50,344 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] Pimped Kernel (For CM-based 4.4.x Roms) [SoundControl/GPU OC/IntelliPlug/PowerSuspend...]

Tip us?
 
Androguide.fr
Old
#1  
Androguide.fr's Avatar
Recognized Contributor - OP
Thanks Meter 6,972
Posts: 2,053
Join Date: Jul 2012
Location: Lyon, France

 
DONATE TO ME
Default [KERNEL] Pimped Kernel (For CM-based 4.4.x Roms) [SoundControl/GPU OC/IntelliPlug/PowerSuspend...]


I do not own the Z1 Compact, but as it's very similar to the Z1 I will be supporting it as well.
Please report whether this initial release works as expected or not


All the kernel features are controllable through my Pimp My Z1 app, (thread here).

Features
Quote:
  • Sound Control: Faux123's GPL Sound Control 3
  • GPU OC : 200MHz / 320MHz / 389MHz / 487.5MHz / 533MHz / 600MHz frequency scaling steps (use Pimp My Z1)
  • Intelliplug: Faux123's latest intelliplug hotplugging driver with eco mode (v5.0)
  • MPDecision: showp1984's open-source & customizable msm_mpdecision hotplugging driver
  • Dynamic Fsync: Faux123's Dynamic File Sync v1.5
  • PowerSuspend: Faux123's power_suspend driver (replacing early_suspend)
  • Snake Charmer: Faux123's msm_cpufreq_limit CPU frequency limiter driver
  • CPU Boost: Faux123's CPU Input Boost module (will soon add controls for it in Pimp My Z1)
  • GPU Wake-on-touch: allows touch events to wake the GPU if it was previously in slumber
  • KSM: Kernel Same-page Merging enabled
  • exFAT: Samsung's open-source exFAT driver
  • F2FS: Samsung's F2FS nand-optimized file system support
  • CPUPower: Linaro's cpupower PM driver
  • Kernel mode NEON: NEON-accelerated XOR framework & support for NEON instructions in kernel mode
  • Overall Stats: CPU overall stats on a per-core basis
  • Compression: XZ Compressed & LZ4 compression algorithm support
  • Sched MC: Multi-Core Power Savings support
  • Sched SMT: Multi-Thread Power Savings support
  • Arch_Power: arch-specific power sched features enabled
  • Workqueue: backported from kernel 3.7, allows CPU hotplug to keep idle workers (learn more)
  • Toolchain: Built with Linaro GCC 4.8.3 toolchain from 14.02 release
  • Optimizations: Built with -O2 and many optimization flags
  • Kexec-hardboot ?: attempted to port @Tassadar's kexec-hardboot patches from the nexus 5, needs testing and confirmation that it works

  • Additional Governors:
    • Intellidemand
    • Intelliactive
    • InteractiveX2
    • SmartassV2
    • Lagfree
    • Wheatley
    • Lionheart
    • Badass

  • Additional I/O Schedulers:
    • SIO (SImple Ondemand)
    • FIOPS (Fair Input/Output Per Second)
    • BFQ (Budget Fair Queueing)

  • Additional TCP Congestion Algorithms:


Download
Quote:
Initial Release: 2014-03-22

Flashable Zip: http://d-h.st/0qt
This is a test build, and hasn't been tested prior to release, please provide feedback if you flash it


Sources
Quote:
The sources are obviously covered by the General Public License, and are available on my github at: https://github.com/PimpedKernel/andr.../pimped-kernel


Credits
Quote:
  • Thanks to faux123 for all his contributions to the android kernel community, many of which are implemented here
  • Thanks to showp1984 for his msm_mpdecision hotplug driver
  • Thanks to DooMLoRD for all the cherry-picked features from his DoomKernel
  • Thanks to krabapel2458 for the inital port from DoomKernel of features like GPU OC, some governors and more.
  • And of course, thanks to FreeXperia and Kali- in particular, for the device bring-up
XDA:DevDB Information
Pimped Kernel, a Kernel for the Sony Xperia Z1 Compact

Contributors
Androguide.fr
Kernel Special Features: Sound Control, GPU OC, Intelliplug, PowerSuspend, Dynamic Fsync, exFAT, F2FS, KSM, Intellidemand, Intelliactive, SmartassV2, InteractiveX2, Lionheart, Wheatley, Badass, Lagfree, BFQ, SIO, FIOPS, Westwood, Hybla, HSTCP, HTCP, Veno, Illinois, LP, BIC...

Version Information
Status: Testing

Created 2014-03-21
Last Updated 2014-03-22
The Following 16 Users Say Thank You to Androguide.fr For This Useful Post: [ Click to Expand ]
 
Androguide.fr
Old
#2  
Androguide.fr's Avatar
Recognized Contributor - OP
Thanks Meter 6,972
Posts: 2,053
Join Date: Jul 2012
Location: Lyon, France

 
DONATE TO ME
Default Reserved

Reserved

Quote:
My Contributions
(Apps, Librairies, Roms & Guides)
 

Pimp My Rom: Website / App / Thread

dSploit: Website / Github

Flash Gordon (Flash zips without a recovery): Thread

Universal init.d: App

PlayView/CardsUI Library: Portal / Github

HoloGraph Library: Portal / Github

Ubuntu Touch for i9300: Thread

Omni nightlies for Xperia Z1: Thread

Paranoid Android builds: Thread

Revive your bricked p68xx : Guide
Follow me on Github
The Following User Says Thank You to Androguide.fr For This Useful Post: [ Click to Expand ]
 
Androguide.fr
Old
#3  
Androguide.fr's Avatar
Recognized Contributor - OP
Thanks Meter 6,972
Posts: 2,053
Join Date: Jul 2012
Location: Lyon, France

 
DONATE TO ME
Default Reserved 2

Reserved 2

Quote:
My Contributions
(Apps, Librairies, Roms & Guides)
 

Pimp My Rom: Website / App / Thread

dSploit: Website / Github

Flash Gordon (Flash zips without a recovery): Thread

Universal init.d: App

PlayView/CardsUI Library: Portal / Github

HoloGraph Library: Portal / Github

Ubuntu Touch for i9300: Thread

Omni nightlies for Xperia Z1: Thread

Paranoid Android builds: Thread

Revive your bricked p68xx : Guide
Follow me on Github
The Following User Says Thank You to Androguide.fr For This Useful Post: [ Click to Expand ]
 
TheQwertiest
Old
#4  
TheQwertiest's Avatar
Senior Member
Thanks Meter 142
Posts: 237
Join Date: Jan 2012
Quote:
Originally Posted by Androguide.fr View Post
custom kernel
Now that is what I was waiting for from the moment I got z1c! Thx mate! Will test it soon!
The qwertiest man in the world!
Feeling slightly superior...
 
funiewski
Old
(Last edited by funiewski; 22nd March 2014 at 09:47 AM.)
#5  
Senior Member
Thanks Meter 172
Posts: 739
Join Date: Dec 2010
Location: Stockholm
@Androguide.fr
Installation aborted, wrong device name :'(

edited: updater script, but after flash gives no changes, recovery problem?

edit 2: sorry if iīm ignorant, is there really any kernel inside .zip?

Sent from my Xperia Z1 Compact using XDA Premium 4 mobile app
hit thanks button if i helped you
The Following User Says Thank You to funiewski For This Useful Post: [ Click to Expand ]
 
Androguide.fr
Old
#6  
Androguide.fr's Avatar
Recognized Contributor - OP
Thanks Meter 6,972
Posts: 2,053
Join Date: Jul 2012
Location: Lyon, France

 
DONATE TO ME
Quote:
Originally Posted by funiewski View Post
@Androguide.fr
Installation aborted, wrong device name :'(

edited: updater script, but after flash gives no changes, recovery problem?

edit 2: sorry if iīm ignorant, is there really any kernel inside .zip?

Sent from my Xperia Z1 Compact using XDA Premium 4 mobile app
My bad, I was tired yesterday night I apparently forgot to add the boot.img to the flashable zip...
I reuploaded it, the updater-script error should be fixed too: http://d-h.st/0qt

Quote:
My Contributions
(Apps, Librairies, Roms & Guides)
 

Pimp My Rom: Website / App / Thread

dSploit: Website / Github

Flash Gordon (Flash zips without a recovery): Thread

Universal init.d: App

PlayView/CardsUI Library: Portal / Github

HoloGraph Library: Portal / Github

Ubuntu Touch for i9300: Thread

Omni nightlies for Xperia Z1: Thread

Paranoid Android builds: Thread

Revive your bricked p68xx : Guide
Follow me on Github
The Following User Says Thank You to Androguide.fr For This Useful Post: [ Click to Expand ]
 
funiewski
Old
#7  
Senior Member
Thanks Meter 172
Posts: 739
Join Date: Dec 2010
Location: Stockholm
Quote:
Originally Posted by Androguide.fr View Post
My bad, I was tired yesterday night I apparently forgot to add the boot.img to the flashable zip...
I reuploaded it, the updater-script error should be fixed too: http://d-h.st/0qt
now first i got error status 6, edited updater script - deleted all get prop lines, flashed succesfully, but i (donīt know if that is a problem) forget to wipe cash and dalvik, phone boots upp but freezed after a minut, reboots, now i tried to wipe cash but no go bcs you have twrp for z1 (wrong resolution), after reboot better but very often not responsive

thx for you work and keep up
hit thanks button if i helped you
The Following User Says Thank You to funiewski For This Useful Post: [ Click to Expand ]
 
Androguide.fr
Old
#8  
Androguide.fr's Avatar
Recognized Contributor - OP
Thanks Meter 6,972
Posts: 2,053
Join Date: Jul 2012
Location: Lyon, France

 
DONATE TO ME
Quote:
Originally Posted by funiewski View Post
now first i got error status 6, edited updater script - deleted all get prop lines, flashed succesfully, but i (donīt know if that is a problem) forget to wipe cash and dalvik, phone boots upp but freezed after a minut, reboots, now i tried to wipe cash but no go bcs you have twrp for z1 (wrong resolution), after reboot better but very often not responsive

thx for you work and keep up
Thanks a lot for testing
You don't need to wipe cache/dalvik when installing a kernel, no problems there.
Could you (or someone else) please provide me with a kmsg or the freeze/reboot ?
Hook your device up to your pc and make sure adb is enabled, when the device freezes, run this command:
Code:
adb shell cat /proc/kmsg > kmsg.txt
If it doesn't work, wait for the device to freeze and reboot, and after the reboot run:
Code:
adb shell cat /proc/last_kmsg > last_kmsg.txt
Then please post the resulting kmsg.txt and/or last_kmsg.txt files here.

Quote:
My Contributions
(Apps, Librairies, Roms & Guides)
 

Pimp My Rom: Website / App / Thread

dSploit: Website / Github

Flash Gordon (Flash zips without a recovery): Thread

Universal init.d: App

PlayView/CardsUI Library: Portal / Github

HoloGraph Library: Portal / Github

Ubuntu Touch for i9300: Thread

Omni nightlies for Xperia Z1: Thread

Paranoid Android builds: Thread

Revive your bricked p68xx : Guide
Follow me on Github
 
funiewski
Old
#9  
Senior Member
Thanks Meter 172
Posts: 739
Join Date: Dec 2010
Location: Stockholm
Quote:
Originally Posted by Androguide.fr View Post
Thanks a lot for testing
You don't need to wipe cache/dalvik when installing a kernel, no problems there.
Could you (or someone else) please provide me with a kmsg or the freeze/reboot ?
Hook your device up to your pc and make sure adb is enabled, when the device freezes, run this command:
Code:
adb shell cat /proc/kmsg > kmsg.txt
If it doesn't work, wait for the device to freeze and reboot, and after the reboot run:
Code:
adb shell cat /proc/last_kmsg > last_kmsg.txt
Then please post the resulting kmsg.txt and/or last_kmsg.txt files here.
got some interseting problems here: tmp-mksh: can't create kmsg.txt: Read-only file system

same when i try to get last_ksmg
hit thanks button if i helped you
 
Androguide.fr
Old
#10  
Androguide.fr's Avatar
Recognized Contributor - OP
Thanks Meter 6,972
Posts: 2,053
Join Date: Jul 2012
Location: Lyon, France

 
DONATE TO ME
Quote:
Originally Posted by funiewski View Post
got some interseting problems here: tmp-mksh: can't create kmsg.txt: Read-only file system

same when i try to get last_ksmg
Make sure you cd to your home directory (or any directory you have write access to) on your pc before running these commands, for example:
Code:
cd ~
adb root
adb shell cat /proc/kmsg > kmsg.txt
adb shell cat /proc/last_kmsg > last_kmsg.txt

Quote:
My Contributions
(Apps, Librairies, Roms & Guides)
 

Pimp My Rom: Website / App / Thread

dSploit: Website / Github

Flash Gordon (Flash zips without a recovery): Thread

Universal init.d: App

PlayView/CardsUI Library: Portal / Github

HoloGraph Library: Portal / Github

Ubuntu Touch for i9300: Thread

Omni nightlies for Xperia Z1: Thread

Paranoid Android builds: Thread

Revive your bricked p68xx : Guide
Follow me on Github

The Following User Says Thank You to Androguide.fr For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes