Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,290 Members 46,326 Now Online
XDA Developers Android and Mobile Development Forum

[Kernel][Unofficial]Pimped Kernel - Z1 port [2014-07-09]

Tip us?
 
blueether
Old
#1  
blueether's Avatar
Senior Member - OP
Thanks Meter 1,158
Posts: 2,666
Join Date: Jan 2011
Location: Te Awamutu, New Zealand

 
DONATE TO ME
Default [Kernel][Unofficial]Pimped Kernel - Z1 port [2014-07-09]

Ladies and Gentlemen,

It gives me great pleasure to introduce to you an unofficial port of the Z1

Pimped Kernel

This is a kernel for CM11 based ROMs and uses -caf. If your ROM isn't faily new and doesn't use -caf then don't expect this kernel to boot. It was built inside Carbon and I have tested in there, it should boot CM/FXF, SlimKat, LiquidSmooth, Carbon, Omni, etc. I don't know how well it will boot PA/PAC/etc that are further away from this codebase but you are welcome to try. As this is a first build so expect some FCs and reboots, and and not all features will work. Please read the OP to see what is on offer. Things that won't work are LCD/Touchscreen/DT2W, and others may be prone to bugs.

This has kernel is built with Linaro SaberMod Toolchain 4.7 and -O2 etc optimisations (not as many as the slimkat kernel). Performance seems good, and the ability to underclock/volt and turn off cores should give extra battery life.

Please don't use this unless you know how to get out of trouble/bootloops/non-boot/lost recovery/etc. I nor Androguide.fr take any responsibility for dead or undead Z-Ultras

Kernel features are controllable through Androguide.fr's Pimp My Z1 app, (thread here).


Download:

togari-BluePimp-4.4.4-dt2w-ext4-20140810_1122.zip

Very minor change to LEDs, and boot splash http://forum.xda-developers.com/devd...ct/dl/?id=7497

test v0.3 for new 4.4.4 AOSP/cm-11 ROMs
togari-BluePimp-108-dt2w-ext4-20140709_1741.zip

old 4.4.4 and 4.4.2/3 ROMs
30/6/2014 4.4.4 build with dt2w
Build 4 31-05-2014
Build 4 31-05-2014 dt2w

Features (C&P from OP):
Quote:
  • Sound Control: Faux123's GPL Sound Control 3
  • Color Calibration Control: LCD_KCAL interface ported to the Z1 by @DooMLoRD, gives full control over the RGB channels of the display
  • GPU OC: 200MHz / 320MHz / 389MHz / 487.5MHz / 533MHz / 600MHz frequency scaling steps
  • CPU OC: up to 2.26GHz
  • CPU Voltage Control: use TricksterMod for the moment
  • DoubleTap2Wake: double-tap the screen to wake-up the device
  • 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
  • Fast Charge: Faux123's fast_charge driver, allowing to set the amperage of the charger or USB port your device is plugged-in to
  • 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
  • F2FS Support: Samsung's F2FS nand-optimized file system support
  • exFAT Support: Samsung's open-source exFAT driver
  • zRam Support: support for zRam memory compression
  • CPUPower: Linaro's cpupower PM driver
  • Async Fsync: Asynchronous file sync
  • MSM_Sleeper: Support for setting the max CPU frequency when screen is off through sysfs
  • 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
  • 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
    • Pegasusq
    • Nightmare
    • Hyper
    • Alucard
    • InteractiveX2
    • SmartassV2
    • Lagfree
    • Wheatley
    • Lionheart
    • Badass
  • Additional I/O Schedulers:
    • SIO (SImple Ondemand)
    • FIOPS (Fair Input/Output Per Second)
    • BFQ (Budget Fair Queueing)
    • VR
  • Additional TCP Congestion Algorithms:
    • BIC
    • Westwood
    • HSTCP
    • Hybla
    • HTCP
    • Vegas
    • Veno
    • Scalable
    • LP
    • YeAH
    • Illinois
Change Log:
http://forum.xda-developers.com/show...86&postcount=2

Sources:
Androguide.fr kernel sources: PimpedKernel
My additions for the ZU (see BluePimp branch): BlueEther

Credits:
Quote:
Thanks to Androguide.fr fro bringing all of the together
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

Disclaimer:
Quote:
# Neither I nor any contributors to this kernel can nor will be held
# responsible for any damage or any kind of problem related to its use.
# You are using this piece of software AT YOUR OWN RISK.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
Disclaimer #3, I'm not responsible for dead or undead Z-Ultras from using this ROM and kernel, OC at you own peril

XDA:DevDB Information
Unofficial Pimped Kernel, Kernel for the Sony Xperia Z Ultra

Contributors
blueether, Androguide.fr, DooMLord, faux123, krabapel2458, FXP/CM, Kali-, reaper61616 (dt2w)
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-04-25
Last Updated 2014-08-09
The Following 15 Users Say Thank You to blueether For This Useful Post: [ Click to Expand ]
 
blueether
Old
(Last edited by blueether; 13th July 2014 at 09:58 PM.) Reason: Update Test List
#2  
blueether's Avatar
Senior Member - OP
Thanks Meter 1,158
Posts: 2,666
Join Date: Jan 2011
Location: Te Awamutu, New Zealand

 
DONATE TO ME
Default What's working and not

Kernel Bugs:
Camera FCs - maybe more of a CM issue than this kernel

Tested ROMs:
Carbon - (non public test build): Working
Carbon - Build 8: Working
SlimKat: Working
LiquidSmooth: Working
FXF CM11: Working
CM11: Working
AOSP: Not tested yet
AOKP: Not tested yet
AICP: Not tested yet
Lungo: Not tested yet
PAC-man: Not tested yet
PA: Working
Chameleon OS: Not tested yet
GPe: Won't boot

Quick run down using Pimp my Z1:
  • CPU
    • Min/Max works after a save (pressing 'Done' does nothing?)
    • Per core Looks to work
    • Interactive/performance/ondemand and conservative all seem to work as expected
    • TCP not tested
  • GPU
    • Min/Max (200/450) Looks to work
    • Performance/msm_cpufreq/msm_adreno-tz/powersave/etc all seem to work as expected
    • cpubw_hwmon reboots the ZU
  • Power Managerment
    • Multi-Core Moderate hard to tell if working
    • Multi-Core Aggresive Looks to work as expected
    • Intelli plug and eco mode - Look to work well except Pimp my Z1 FCs when trying to change # of cores and gets stuck on 1
    • Power suspend not tested
  • LCD Colour
  • Voltage controle - looks to be working
  • I/O, Memory and Misc. not tested but options look to work
  • Sound Control
    • Speeker Gain works
    • not tested the others
  • Touchscreen
    • None are active - as expected
The Following 10 Users Say Thank You to blueether For This Useful Post: [ Click to Expand ]
 
joluke
Old
#3  
Senior Member
Thanks Meter 213
Posts: 453
Join Date: Jan 2014
And i am subscribed to this

Keep it up mate xD
 
blueether
Old
(Last edited by blueether; 25th April 2014 at 04:40 AM.)
#4  
blueether's Avatar
Senior Member - OP
Thanks Meter 1,158
Posts: 2,666
Join Date: Jan 2011
Location: Te Awamutu, New Zealand

 
DONATE TO ME
Quote:
Originally Posted by joluke View Post
And i am subscribed to this

Keep it up mate xD
Build 2 Uploaded.
  • 2014-04-24
    • Updated to Linux kernel version 3.4.86
    • Re-added GPU OC up to 600MHz and hopefully fixed the issues some people had with it
    • Added zRam support (thanks to DooMLoRD)
    • Added msm_sleeper (thanks to DooMLoRD), controls coming to Pimp My Z1 soon
    • Added memutils optimizations (thanks to DooMLoRD)
    • Merged a lot of slimbus/slim-ngd/slim_msm/qdsp6v2/wcd9xxx & other audio-related optimizations from franciscofranco's nexus 5 kernel
    • Merged some OOM, ocmem & other memory-management-related optimizations from franciscofranco's nexus 5 kernel
    • Merged a fix for msm_z180 memory leak from franciscofranco's kernel
    • Some other random cherry-picks
Use caution when OCing the CPU/GPU
Charles
Alcatel One Touch "easy" -> Nokia 1110i -> Alcatel ame-408 -> Motorola Razr v3 -> Huawei u8100 -> Sony Xperia Z-Ultra

ROM:- Carbon
Kernel:- Pimped Kernel

Thankyou to all those that have donated to me over 2014.
The Following 6 Users Say Thank You to blueether For This Useful Post: [ Click to Expand ]
 
Feodorus 4PDA
Old
#5  
Feodorus 4PDA's Avatar
Senior Member
Thanks Meter 35
Posts: 122
Join Date: Jan 2013
Location: Khabarovsk
Quote:
Originally Posted by blueether View Post
Ladies and Gentlemen,
It gives me great pleasure to introduce to you an unofficial port of the Z1
Pimped Kernel
Thanks, we will test. Good modifications.
My Phone: SONY Xperia Z Ultra
Firmware: LB STOCK 4.4.4 14.4.A.0.108
 
t0pstar
Old
(Last edited by t0pstar; 25th April 2014 at 07:40 AM.)
#6  
t0pstar's Avatar
Senior Member
Thanks Meter 186
Posts: 579
Join Date: Feb 2013
Location: deutschland

 
DONATE TO ME
Kernel v2 boots and works with slim kat ,thanks bro [emoji106]
 
blueether
Old
(Last edited by blueether; 25th April 2014 at 07:29 AM.)
#7  
blueether's Avatar
Senior Member - OP
Thanks Meter 1,158
Posts: 2,666
Join Date: Jan 2011
Location: Te Awamutu, New Zealand

 
DONATE TO ME
Quote:
Originally Posted by t0pstar View Post
Kernel v2 boots and works with slim kat ,thanks bro [emoji106]
Only display settings from the pimp my app don't work (dt2w,s2w ...)
Does the camera work? Just had a FC than couldn't connect

DT2W/S2W/etc all use a different touch-screen driver than we use on the ZU
Charles
Alcatel One Touch "easy" -> Nokia 1110i -> Alcatel ame-408 -> Motorola Razr v3 -> Huawei u8100 -> Sony Xperia Z-Ultra

ROM:- Carbon
Kernel:- Pimped Kernel

Thankyou to all those that have donated to me over 2014.
 
t0pstar
Old
#8  
t0pstar's Avatar
Senior Member
Thanks Meter 186
Posts: 579
Join Date: Feb 2013
Location: deutschland

 
DONATE TO ME
Quote:
Originally Posted by blueether View Post
Does the camera work? Just had a FC than couldn't connect
When I open camera directly after boot it works fine ,
when not I have also FC
 
ch3mn3y
Old
(Last edited by ch3mn3y; 25th April 2014 at 09:36 AM.)
#9  
ch3mn3y's Avatar
Senior Member
Thanks Meter 174
Posts: 977
Join Date: Sep 2011
Location: Gdansk / Walcz (near Pila)
Im using camera kk app and it works fine. Just first time camera is not moving (it stops on first "seen" frame), but it is on every kernel (maybe rom's, maybe app's bug) and after killing it in recent apps and starting again everything works fine

Strange for me is that this kernel has more governors etc, and i always thought that coz it we should have less ram, and there is more than ie unofficial slimkat kernel

Edot: Is there any chance for f2fs version in the future? Its a lot better than ext4, so it can make our ZUs fly even better than now

Sent using C6833 - Carbon KitKat/Pimped Z1 Kernel
SE Xperia Play (R800i) | DiXperia 3 'Enormous' | LuPuS_GB
SONY Xperia Z Ultra LTE (C6833) | Carbon KitKat | Pimped Z1 Kernel
ASUS Eee Pad Transformer (TF300T) | CyanogenMod 11.0 | GEASS (F2FS)
PENTAGRAM Eon Prose 2 (P 5336-2) | stock 4.2.2 (rooted)
LG Optimus L7 (P700) | CyanogenMod 10.2
 
blueether
Old
#10  
blueether's Avatar
Senior Member - OP
Thanks Meter 1,158
Posts: 2,666
Join Date: Jan 2011
Location: Te Awamutu, New Zealand

 
DONATE TO ME
Quote:
Originally Posted by ch3mn3y View Post
Im using camera kk app and it works fine. Just first time camera is not moving (it stops on first "seen" frame), but it is on every kernel (maybe rom's, maybe app's bug) and after killing it in recent apps and starting again everything works fine

Strange for me is that this kernel has more governors etc, and i always thought that coz it we should have less ram, and there is more than ie unofficial slimkat kernel

Edot: Is there any chance for f2fs version in the future? Its a lot better than ext4, so it can make our ZUs fly even better than now

Sent using C6833 - Carbon KitKat/Pimped Z1 Kernel
after a bit of flashing and testing the no outgoing calls is a bug in the test build of Carbon not this kernel so all is good on this front.

This kernel boots the last couple of Carbon builds, back to at least the 19/4 so that's another plus.

I'd not really had the camera issue that many people had had in the last few weeks on the CM based ROMs so it's sort of new for me.
Charles
Alcatel One Touch "easy" -> Nokia 1110i -> Alcatel ame-408 -> Motorola Razr v3 -> Huawei u8100 -> Sony Xperia Z-Ultra

ROM:- Carbon
Kernel:- Pimped Kernel

Thankyou to all those that have donated to me over 2014.

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

Advanced Search
Display Modes