Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Androguide.fr

22nd March 2014, 12:27 AM   |  #1  
Androguide.fr's Avatar
OP Recognized Contributor
Flag Lyon, France
Thanks Meter: 7,024
 
2,053 posts
Join Date:Joined: Jul 2012
Donate to Me
More

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: [ View ]
22nd March 2014, 12:31 AM   |  #2  
Androguide.fr's Avatar
OP Recognized Contributor
Flag Lyon, France
Thanks Meter: 7,024
 
2,053 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Reserved
Reserved
The Following User Says Thank You to Androguide.fr For This Useful Post: [ View ]
22nd March 2014, 12:31 AM   |  #3  
Androguide.fr's Avatar
OP Recognized Contributor
Flag Lyon, France
Thanks Meter: 7,024
 
2,053 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Reserved 2
Reserved 2
The Following User Says Thank You to Androguide.fr For This Useful Post: [ View ]
22nd March 2014, 12:33 AM   |  #4  
TheQwertiest's Avatar
Senior Member
Thanks Meter: 196
 
261 posts
Join Date:Joined: Jan 2012
Quote:
Originally Posted by Androguide.fr

custom kernel

Now that is what I was waiting for from the moment I got z1c! Thx mate! Will test it soon!
22nd March 2014, 02:04 AM   |  #5  
Senior Member
Flag Stockholm
Thanks Meter: 218
 
808 posts
Join Date:Joined: Dec 2010
More
@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
Last edited by funiewski; 22nd March 2014 at 10:47 AM.
The Following User Says Thank You to funiewski For This Useful Post: [ View ]
22nd March 2014, 12:02 PM   |  #6  
Androguide.fr's Avatar
OP Recognized Contributor
Flag Lyon, France
Thanks Meter: 7,024
 
2,053 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by funiewski

@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
The Following User Says Thank You to Androguide.fr For This Useful Post: [ View ]
22nd March 2014, 12:48 PM   |  #7  
Senior Member
Flag Stockholm
Thanks Meter: 218
 
808 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by Androguide.fr

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
The Following User Says Thank You to funiewski For This Useful Post: [ View ]
22nd March 2014, 01:57 PM   |  #8  
Androguide.fr's Avatar
OP Recognized Contributor
Flag Lyon, France
Thanks Meter: 7,024
 
2,053 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by funiewski

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.
22nd March 2014, 02:49 PM   |  #9  
Senior Member
Flag Stockholm
Thanks Meter: 218
 
808 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by Androguide.fr

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
22nd March 2014, 04:07 PM   |  #10  
Androguide.fr's Avatar
OP Recognized Contributor
Flag Lyon, France
Thanks Meter: 7,024
 
2,053 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by funiewski

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

The Following User Says Thank You to Androguide.fr For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes