yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] _Garry_:
Higher PVS is better because they run with lower voltage.

But the lower bin can under volt to reach the same voltage as the higher bin. Except for booting there the lower bin have to run with "default" voltage, after the boot you can start undervolting.

Gesendet von meinem Xperia Z1 mit Tapatalk
[Xperia Z1 Original Android Development] Androguide.fr:
As [MENTION=4260536]_Garry_[/MENTION] said, higher pvs CPUs can run lower voltage for the same frequency, but I don't really agree on the fact that a PVS 0 can handle PVS 6 voltage levels and remain stable.

Even if it were true, the PVS 6 would still be able to go lower than the PVS 0.

Smartphone or not, buying a CPU is always like playing the lottery on the binning front.

Unless of course you know the right people allowing you to hand-pick your CPU, like some OC world champions.
[Xperia Z1 Original Android Development] guddu2011:
LCD Color Control added in DooMKerneL

http://xdaforums.com/showpost.php?p=51556369&postcount=815

any possibility of adding this in your Pimped?
[Xperia Z1 Original Android Development] Androguide.fr:
Awesome :)

He hasn't committed his changes yet, so I can't take a look but it will most likely be easy to merge.
[Xperia Z1 Original Android Development] _Garry_:
OK here is some info about the GPU clocking problem.

As you already thought Androguide.fr it is indeed the CPU bin.

The lowest CPU/GPU bin - my z1 - can only reach "officially" 2.2ghz/450mhz.

With high bin the "official" max value of 2.3ghz/600mhz is possible.

Where the low values end and the high values start I don't know.

Well I'm still reading and looking for some better info, and my post is more a research based conclusion. So in the end I still might be wrong!!

Someone with better understanding might want to look into that stuff?!?

Gesendet von meinem Xperia Z1 mit Tapatalk
[Xperia Z1 Original Android Development] Androguide.fr:
It's definitely not the PVS bin, I have a pvs of 4 and my GPU OC is working, while someone with a PVS 5 reported his GPU OC wasn"t working (same with people on PVS 0 & 2).

One question: I've seen people who have this issue reporting the min GPU freq is 27MHz.

Does the GPU actually runs at 27MHz (I doubt it but worth asking) on min freq or does it sit at 200MHz ?
[Xperia Z1 Original Android Development] _Garry_:
My GPU clock is set 200-450mhz and its more sitting on 320mhz

Gesendet von meinem Xperia Z1 mit Tapatalk
[Xperia Z1 Original Android Development] ilia1985:
It does actually show 27mz
[Xperia Z1 Original Android Development] gallardo5:
Sure, that's the only way to have everything bug-free, just wanted to make sure as I'm planning to fully wipe my phone and start everything from scratch with cm and your kernel :)
[Xperia Z1 Original Android Development] Androguide.fr:
App released

The kernel control app is now released, under the name "Pimp My Z1", here is the thread: http://xdaforums.com/showthread.php?t=2663224

The source-code is available on my github: https://github.com/Androguide/Pimp_my_Z1

Let me know what you guys think and make sure to report any bugs. Enjoy ;)
[Xperia Z1 Original Android Development] Juzman:
It's an amazing application. Great to see such good developers!
[Xperia Z1 Original Android Development] Juzman:
Use fastboot and flash cm boot.img.
[Xperia Z1 Original Android Development] Juzman:
Cant wait for the CM ramdisk flashable zip. Seems so much was fixed in latest nightly. This will just top it off! :D

This, and undervolting.
[Xperia Z1 Original Android Development] kurtfhouse:
Thanks so much for the work on this so far. It's the best looking kernel control app I've used and very intuitive as well.

I have a suggestion for a feature that I've seen elsewhere. Would it be possible to add a section to download the latest kernel build and then provide a prompt to allow you to automatically boot into recovery and flash it?

Hope to see a pro version when your happy with the app :)
[Xperia Z1 Original Android Development] Androguide.fr:
Thanks for your nice words.

That's a very good idea, I added it to the todo list in the OP, will implement asap.
[Xperia Z1 Original Android Development] juicio90:
I lost root access

Edit: when I flashed a Supersu.zip, have again root access... But the phone constantly crashed and get reboot
[Xperia Z1 Original Android Development] omegahanggara:
Confirmed..
[Xperia Z1 Original Android Development] ChrisFirerabbit:
I was unable to get this to work on my Mokee Rom.
[Xperia Z1 Original Android Development] BLK900:
i'm noticing that a lot of users have issues with the kernel

i'm having 0 issue till now , i did clean install of omni rom with wiping everything

then i flashed the kernel file , it booted up with no problems

then i installed the supersu file by recovery and the app provided by the developer ..

everything works as it should ,
[Xperia Z1 Original Android Development] Androguide.fr:
CM Ramdisk

Here's a build with the CM ramdisk, it should fix the issues people have been experiencing when using the kernel with roms other than omni.

[MENTION=4049833]Juzman[/MENTION] can you please test it and provide some feedback? I know you were waiting for this.
[Xperia Z1 Original Android Development] Wolfbreak:
I really would like to test this Kernel. I used Doomkernel before but now on latest Sony Stock it doesnt work. Once i have a PC i will test it with OmniRom. Are you planning to release this Kernel for Stock Sony too once Sony releases 4.4? Just asking :)
[Xperia Z1 Original Android Development] gallardo5:
Could you make a flashable zip? It will be useful for people that are using cm nightlies and uodating their rom every day
[Xperia Z1 Original Android Development] Androguide.fr:
I think I'll just stick to CM-based kernels.

I personally don't use stock, and we have a much more talented and experimented kernel dev than I am working on the stock kernel.

Without DooMLoRD this kernel would basically be a stock CM kernel, most if not all the features were cherry-picked from his kernel.

Mostly all I did was fixing the conflicts to adapt the commits to the CM kernel.

Sure, here you go: http://d-h.st/Oex

I just need a confirmation that this build works properly with CM so I can add it to the OP.
[Xperia Z1 Original Android Development] gallardo5:
Give me 5 minutes :)

It works, im just typing from my xperia runing it with latest cm nightly :) thanka for your work

After testing it for longer I noticed few bugs. The first one is that camera started to freeze sometimes again and screen flickers sometimes after going to recent apps or to homescreen because of hw overlay issues as it used to do some time ago with cm kernel but was fixed recently. I think you didnt merge all fixes from cm kernel. Another one is that using your app pen and glove mode dont stick at boot. Also faux13's sound control doesnt stick. Your app says that intelliplug is not supported and either is dynamic fsync. Sorry for this long list, I tried to do my best to test it :p but even with those bugs your kernel is still better than cm one :) and if you accept requests, could you implement init.d and UV to your kernel? I hope I didnt write to much bad things about your kernel, it is first build with cm ramdisk so bugs are nothing strange :p

Still testing, I tried to make sound control sticking at boot using init.d emulation app and init.d script and checked that the script is working by setting cpu speed with it, but even with script sound control settings cannot be changed.
[Xperia Z1 Original Android Development] juicio90:
I will try too!
[Xperia Z1 Original Android Development] Juzman:
Isn't this kernel part of OmniRom? Theres no need to flash Omni, then flash kernel.

---------- Post added at 07:33 AM ---------- Previous post was at 07:31 AM ----------

Yes! Remove all the stuff that is needed for stock based ROM's. Make the kernel a pure aosp kernel. :)

I will test the kernel you compiled with the CM ram disk.
[Xperia Z1 Original Android Development] gallardo5:
I updated my last post with bugs and feedback, just wanted to make sure you notice it :)

And btw, could you tell me what is the path to gpu max speed? I would like to change it with init.d script but cant find it anywhere
[Xperia Z1 Original Android Development] juicio90:
I just flash the zip and had crashed
[Xperia Z1 Original Android Development] Androguide.fr:
Wow, that's pretty bad. Does the device feel as unresponsive as if the GPU is really running at 27MHz ?
[Xperia Z1 Original Android Development] ilia1985:
Nope it feels the same... But ill try now by forcing gpu render in developer settings..... On stock governor even if I force it to 27mz it still shows 200mz minimum...

Edit : even when forcing gpu render the fine feels the same... But when I set gpu governor to 1st 1 on the list with min/max at 27mz phone rebooted... Other governors run the same can't really feel any difference
[Xperia Z1 Original Android Development] dettofatto:
For me it is ok...
[Xperia Z1 Original Android Development] ilia1985:
Try simple_ondemand gpu governor
[Xperia Z1 Original Android Development] Poesini:
Actually it feels the same, although I havent benchmarked with anything below 450, I play Dungeon Keeper and it feels just the same (with simple_ondemand)
[Xperia Z1 Original Android Development] mo3553:
my wifi don't work after installing this kernel.. what can i do to fix this?
[Xperia Z1 Original Android Development] Androguide.fr:
Did you flash it via recovery or fastboot ?

If you flashed through fastboot then copy the included /system/lib/modules/wlan.ko to your device's same location, chmod 644 it and reboot.
[Xperia Z1 Original Android Development] abbychauhan:
Ok thanks.. i was testing PA and recovery was broken so i flashed ur Kernel but it broke my WIFI as i flashed it via Fastboot but now got the answer. Also what do u mean by "chmod 644 it"?
[Xperia Z1 Original Android Development] Androguide.fr:
chmod 644 means either run chmod 644 /system/lib/modules/wlan.ko in terminal/adb or make sure the permissions are -rw-r--r-- by whichever way you prefer.

But honestly if you have a working recovery I recommend you flash the zip as it includes all the kernel modules and the libexfat required for exFAT support.
[Xperia Z1 Original Android Development] abbychauhan:
Cool Thanks
[Xperia Z1 Original Android Development] Poesini:
I got BBQLinux and I am trying to build your kernel...

So I go with:

repo init -u https://github.com/PimpedKernel/android_kernel_sony_msm8974.git -b pimped-kernel

repo sync -j4 -f --no-clone-bundle

And it gives me an error:

IOError: [Errno 2] No such file or directory: '/home/mauricio/android/pimped_kernel/.repo/manifest.xml'

What should I do? (I am following OmniROM's guidelines)
[Xperia Z1 Original Android Development] mo3553:
Thanks that did the trick :laugh::laugh::good::good:
[Xperia Z1 Original Android Development] Androguide.fr:
You are following the steps to sync and build a ROM, not a kernel.

I recommend you build in the CM tree instead of the Omni tree.

Here are step by step instructions to sync the CM tree & my kernel and then to build the kernel:

repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0

Add the following to .repo/local_manifests/roomservice.xml:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_sony" path="vendor/sony" remote="github" revision="cm-11.0" />
<project name="PimpedKernel/android_device_sony_common" path="device/sony/common" remote="github" revision="pimped-kernel" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_device_sony_qcom-common" path="device/sony/qcom-common" remote="github" revision="cm-11.0" />
<project name="PimpedKernel/android_device_sony_honami" path="device/sony/honami" remote="github" revision="pimped-kernel" />
<project name="PimpedKernel/android_device_sony_rhine-common" path="device/sony/rhine-common" remote="github" revision="pimped-kernel" />
<project name="PimpedKernel/android_kernel_sony_msm8974" path="kernel/sony/msm8974" remote="github" revision="pimped-kernel" />
</manifest>

repo sync -j4 (this will take a while depending on your connection, about 2 ~ 3 hours)

Run the following to define the folder where your finished builds will be (needed by my build script)

echo "export OUT_DIR_COMMON_BASE=~/the/path/you/want" > ~/.bashrc && source ~/.bashrc

cd kernel/sony/msm8974

Finally use my build-script to build the kernel and generate the flashable zip.

Replace the X in the -jX parameter with the amount of CPU threads you want to use for the build (cores x 2 + 1 for the best results if your cpu supports hyperthreading)

If you want to build an ext4 kernel:

./build-kernel.sh --honami --ext4 -j[COLOR="DarkRed"]X[/COLOR]

If you want to build an f2fs kernel:

./build-kernel.sh --honami --f2fs -j[COLOR="DarkRed"]X[/COLOR]
[Xperia Z1 Original Android Development] shteren:
has anyone tried fast charging yet?
[Xperia Z1 Original Android Development] Androguide.fr:
You gotta wait for Android to broadcast the BOOT_COMPLETED event, sometimes it takes about a minute after the reboot.

You'll see the Superuser toast when it's applied.

EDIT: Oh, my bad, after checking my code I didn't update the boot stuff for SnakeCharmer so the max freq is still SnakeCharmer's boot frequency.

Thanks for reporting, it'll be fixed next build.

I did test fast charge with the original (EP880) charger through usb as well as through the dock.

The original charger has a 1500 milliamps output, but I set fast charge at 1200 just to be safe, it still does make a visible difference.

I'll try 1500 over a short period of time.
[Xperia Z1 Original Android Development] Poesini:
I have my Kindle Fire HDX which outputs 2200 and I set it to 2000 and it went well no problems so far
[Xperia Z1 Original Android Development] Juzman:
I turned tap2wake off in pimped, yet it defaults to on when rebooted.
[Xperia Z1 Original Android Development] Destroyedbeauty:
Use init.d script with 0777 permissions then to disable it for good!

THIS:

# Disabling of doubletap2wake module..

echo 0 > /sys/devices/virtual/input/clearpad/wakeup_gesture
[Xperia Z1 Original Android Development] Juzman:
I will just wait for Pimp My Z1 update. ;)
[Xperia Z1 Original Android Development] Abomb:
Is there any chance for this kernel to support PAC rom in the future?
[Xperia Z1 Original Android Development] Destroyedbeauty:
Then PAC-Rom needs an 4.4.2 update first, and that ROM is very dead for Z1 it seems..
[Xperia Z1 Original Android Development] Abomb:
The PAC rom thread seems to be no longer maintained, but the development stilll continues and there are actually new nightlies that are 4.4.2 and work very well on the Z1.
[Xperia Z1 Original Android Development] abbychauhan:
Read the last few pages of PAC Rom thread, checked myself, all nightly working fine
[Xperia Z1 Original Android Development] BunkerBert:
With the latest build, i became Random reboots on ASOB Rom. Any ideas?

Gesendet von meinem Xperia Z1 mit Tapatalk 2
[Xperia Z1 Original Android Development] Wolfbreak:
Theres a Pimp my Z1 Thread on Themes & Apps Section. No offense, but if you post the bugs to the according Thread its easier for the Developer to have a Overview :)
[Xperia Z1 Original Android Development] shteren:
Any chance to Make DT2W less sensitive? Just lifting it off the table makes the screen turn on
[Xperia Z1 Original Android Development] Poesini:
I am getting this:

/home/mauricio/pimped_kernel/prebuilt/linux-x86/toolchain/linaro-arm-eabi-4.8/bin/arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
HOSTCC scripts/genksyms/lex.lex.o
/home/mauricio/pimped_kernel/kernel/sony/msm8974/scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[4]: *** [scripts/mod/empty.o] Error 2
make[4]: *** Waiting for unfinished jobs....
HOSTCC scripts/dtc/dtc-parser.tab.o
target asm: libc_common <= bionic/libc/arch-arm/syscalls/pwrite64.S
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/selinux/genheaders/genheaders
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__open.S
CHK include/generated/utsrelease.h
Using /home/mauricio/pimped_kernel/kernel/sony/msm8974 as source for kernel
UPD include/generated/utsrelease.h
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__openat.S
/home/mauricio/pimped_kernel/kernel/sony/msm8974/scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[3]: *** [scripts/mod] Error 2
make[3]: *** Waiting for unfinished jobs....
target asm: libc_common <= bionic/libc/arch-arm/syscalls/close.S
Generating include/generated/mach-types.h
target asm: libc_common <= bionic/libc/arch-arm/syscalls/lseek.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__llseek.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getpid.S
CC kernel/bounds.s
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__mmap2.S
HOSTLD scripts/dtc/dtc
/home/mauricio/pimped_kernel/prebuilt/linux-x86/toolchain/linaro-arm-eabi-4.8/bin/arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
target asm: libc_common <= bionic/libc/arch-arm/syscalls/munmap.S
/home/mauricio/pimped_kernel/kernel/sony/msm8974/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[3]: *** [kernel/bounds.s] Error 2
/home/mauricio/pimped_kernel/kernel/sony/msm8974/Makefile:1000: recipe for target 'prepare0' failed
make[2]: *** [prepare0] Error 2
make[2]: *** Waiting for unfinished jobs....
HOSTLD scripts/genksyms/genksyms
/home/mauricio/pimped_kernel/kernel/sony/msm8974/Makefile:513: recipe for target 'scripts' failed
make[2]: *** [scripts] Error 2
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/mauricio/pimped_kernel/kernel/sony/msm8974'
build/core/tasks/kernel.mk:175: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
target asm: libc_common <= bionic/libc/arch-arm/syscalls/mremap.S

What can it be? Do I have to install linaro? I dont think so, it seems to be prebuilt there or do I have to symlink or copy some files?
[Xperia Z1 Original Android Development] Androguide.fr:
Toolchains are prebuilt binaries, they go in the prebuilts/prebuilt folders.

You need to either:

Download the linaro 4.8 toolchain (from here) and drop it in your CM tree at prebuilts/gcc/linux-x86/arm/linaro-arm-eabi-4.8 AND prebuilt/linux-x86/toolchain/linaro-arm-eabi-4.8

Or remove the following flag from device/sony/honami/BoardConfig.mk if you want to build using the stock gcc toolchain:

TARGET_KERNEL_CUSTOM_TOOLCHAIN := linaro-arm-eabi-4.8
[Xperia Z1 Original Android Development] Androguide.fr:
Yeah, it's fixed in the new version of DT2Wake (thanks to [MENTION=2011359]MohammadAG[/MENTION]), however it holds a wakelock so there's no deep sleep (the battery drain doesn't seem that bad though, I'm testing it since yesterday night).

New build coming tonight most likely, with some new governors (Pegasusq, Nightmare & HYPER) and a modified intelli_plug with many new tuneables, a major one being the ability to set the max amount of online cores when eco mode is enabled.

Hopefully DooMLoRD finds some time to push his gamma control commits before tonight so I can merge it in the new build.

I pushed a new update to Pimp My Z1, it fixes the DT2Wake & FastCharge settings not sticking on boot, and adds support for the modified intelli_plug I mentionned above.
[Xperia Z1 Original Android Development] Abomb:
I don't want to be annoying, but could we see support for PAC rom in the future since it's 4.4.2?
[Xperia Z1 Original Android Development] Androguide.fr:
There's no reason it shouldn't be compatible, unless they're doing some funky stuff with their ramdisk, in which case you can probably pack a boot.img with my zImage and their ramdisk.
[Xperia Z1 Original Android Development] Abomb:
I tried pimped kernel with a current PAC nightly but it hangs at the boot animation with the following logcat: http://pastebin.com/fdfWJXR5

Also I asked in the pac thread about using other kernels and got the following answer:
[Xperia Z1 Original Android Development] Destroyedbeauty:
[MENTION=4752917]Androguide.fr[/MENTION]

Any possibility to add support for user control of the various C-sleep states for the CPU? (C0, C1, C2, C3 etc etc..)

EDIT: For battery saving and deep sleep state reasons, I mean! :)
[Xperia Z1 Original Android Development] Androguide.fr:
Not that I know of.

Why do you want to do that btw? Do you have some cores never going to C0 state or just out of curiosity?
[Xperia Z1 Original Android Development] Destroyedbeauty:
Just for testing / doing some modifications and research to how the CPU behaving in different states.

One C-state config that works for one, maybe causes WWIII to one another if you get my point? That is why modifying those should be included :) Xperia Z / Tablet Z Snapdragon circuit had those included in every kernel, either for disabling or enabling by the user in Fauxclock and same thing should exist on Z1 :)
[Xperia Z1 Original Android Development] DonSebbo:
Cant wait for the d2w fix :D you do an awesome job!

Gesendet von meinem Xperia Z1 mit Tapatalk
[Xperia Z1 Original Android Development] Androguide.fr:
2014-04-03 Build

Here's the new build :)

Changelog

Downloads
[Xperia Z1 Original Android Development] Poesini:
If one disables D2TW can the phone enter to Deep Sleep again?
[Xperia Z1 Original Android Development] Androguide.fr:
Yes, of course, it's just that dt2wake holds a wakelock when enabled currently.
[Xperia Z1 Original Android Development] gallardo5:
Does it have big impact on battery life?
[Xperia Z1 Original Android Development] Poesini:
I dont know if its because of latest Pimped Kernel or Omni but when I try to make a phone call it loses the signal so I cant make calls
[Xperia Z1 Original Android Development] guddu2011:
similar problem was there when i was using doomkernel with dt2w but yesterday as i disabled dt2w from pimped kernel, issue was resolved. you can try it too.
[Xperia Z1 Original Android Development] Androguide.fr:
It's indeed a bug in the new omni build, thanks for reporting.

I know I already fixed that very same issue in a previous build but I can't seem to remember how right now.
[Xperia Z1 Original Android Development] shteren:
any chance you will get dual recovery for TWRP and CWM? it's quite confusing switching between them, my stock rom backups are on TWRP, and i was happy your kernel also uses TWRP, now you switch and it starts getting messy...
[Xperia Z1 Original Android Development] Destroyedbeauty:
It this something that can be fixed with a patch or does it require flashing a whole new build? Newest OmniROM is rock solid as it is already.
[Xperia Z1 Original Android Development] Michealtbh:
Or include the patch to use external recovery in FOTAKernel partition, then users can have whatever recovery they want as default
[Xperia Z1 Original Android Development] Androguide.fr:
You can already flash the recovery you want to your FOTAKernel partition using dd.

dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
[Xperia Z1 Original Android Development] Ame123:
Hey frnd can u help us here nobody seems to notice the thread

http://xdaforums.com/showthread.php?p=51551170
[Xperia Z1 Original Android Development] Poesini:
This is AOSP ROM... In no rush to bash you, this is a thread for other things and if you want you can send a private message to Androguide.fr
[Xperia Z1 Original Android Development] Ame123:
Thanks
[Xperia Z1 Original Android Development] ->---:
No WLAN with the new kernel. App crashes when selecting 'Intelliplug Eco Cores Enabled'.
[Xperia Z1 Original Android Development] Androguide.fr:
Wlan is fine, just use the flashable zip or manually copy the wlan.ko module.

For the app bug, please keep the reports in the app thread (this one is already fixed, will publish new update soon).