yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] Tommy-Geenexus:
Obviously the "developer" couldn't port it, because there was nothing to cherry-pick from.

Besides the fact that apq8064 display driver is too old to support contrast etc.. control.

To answer your question, it enables rgb + gamma control. Kcal enables more advanced controls (contrast, hue, saturation, etc..).

Its not the same, but better than nothing, and will satisfy most people, although i don't recommend using it.

Sent using XDA One
[Xperia Z Original Android Development] Tommy-Geenexus:
Kernel Status Update

Hi all,

today i decided to give away my Z to a family member as he was in need to replace his 4+ years old IPhone.

This means: Feature development has come to an end for now.

I will most likely not be able to test further updates.

I suppose Sony will release at least another bugfix update for fusion3 devices.

If there will be a new firmware i'll do a blind build. My build environment makes it easy for me to keep the Kernel up-to-date.
[Xperia Z Original Android Development] langeveld024:
That's very generous of you, see u soon in Z5 forums bro!
[Xperia Z Original Android Development] St.Jimmy90:
Thanks for your work Tommy!
[Xperia Z Original Android Development] Tommy-Geenexus:
Which device are you considering? Z5, Z5P or Z5C? (I suppose the Z5 right?)
[Xperia Z Original Android Development] langeveld024:
I think the regular Z5. (Still have to go to the shop to have the three of them in my hands and see how they feel)

But I read there are still some problems with the Z5 range so I think I will wait and see how that goes, and if the problems get fixed I might get one in the beginning of 2016 (when price drops after Christmas etc)
[Xperia Z Original Android Development] xdagfg:
Thanks for your work for the Z.
[Xperia Z Original Android Development] mirsaeed.namdar:
I have also the same problem,

But I am using hodor kernel,and this usb connection issue started from when I updated multirom to v.32.

There is no problem with zombie kernel,all the issue is from multirom.
[Xperia Z Original Android Development] Patybello:
hello thank you for the work. I have a xperia ZL C6503 kitkat 4.4.4 and 78kernel, use double tap to wake, it is a feature that I can not give up. now I want to upgrade to 5.1 Lollopop, but I want to keep double tap to wake ... give me the certainty that this kernel works with xperia ZL C6503? thank you
[Xperia Z Original Android Development] masteriori:
I want to install this kernel but don't want to lose Image Enhancements (X-Reality and Super-vivid modes) and my bootloader is locked at the minute, what is the best solution for me?
[Xperia Z Original Android Development] Tommy-Geenexus:
It works.

Sent using XDA One
[Xperia Z Original Android Development] Tommy-Geenexus:
The solution is to not unlock bl and flash this Kernel

Sent using XDA One
[Xperia Z Original Android Development] masteriori:
Don't custom kernels require you to unlock your bootloader first?

Do I simply flash Zombie-b21.zip through Phil'sTouch recovery? I have root and XZDualRecovery.

Thanks
[Xperia Z Original Android Development] tetsuo55:
What he meant was to not install this kernel at all.
[Xperia Z Original Android Development] masteriori:
I have already backed up my TA partition and intend to unlock my bootloader for this kernel but is there no way to keep X-Reality/Super-vivid working after the bootloader is unlocked?

Thanks
[Xperia Z Original Android Development] tetsuo55:
You can follow this procedure to restore those features

http://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
[Xperia Z Original Android Development] dxacaniest:
how to edit /sys/devices/virtual/input/input1/wakeup_gesture permanenly to 1. On my root explorer, I can't edit its. after restart it back to 0.
[Xperia Z Original Android Development] CosmicDan:
With a startup script, basically.

Someone needs to make a barebones sysfs writer-on-boot root app, surprised one doesn't exist yet (I've looked a lot). If I had the time I'd make one, but I've been saying such things for a long time.... :(

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
Init.d doesn't work that well at all on newer Android versions. You can use something like script manager to create scripts and set them on boot.

Sent using XDA One
[Xperia Z Original Android Development] CosmicDan:
Yeah Script Manager, that's the one I was thinking of (init.d is difficult to manage).

I am going to make this app I just mentioned, if Kernel Adiutor's plugin system can't handle it. Something akin to SysFS Explorer on play store, only with set-on-boot capabilities like Adiutor. Would be easier/quicker than manually writing scripts - just type/browse for path, enter desired value, and save - done, will apply on boot.

I would also try to do more for Zombie like I once said, but I'm on Kamarush's AOSP ROM now, you may have noticed (which is great). However, I am thinking of making a kernel for it (or make pull requests to his kernel, if he accept) based on some of your changes too.

I am unemployed at the moment so I have some time, hopefully :)

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
That would be awesome!

I really regret that i gave away my Z tho, now that i am better at C i'd have had some more plans like writing my own rgb/gamma control and more.

Hopefully i can get my hands on the Z somewhen to realize this.

Sent using XDA One
[Xperia Z Original Android Development] CosmicDan:
Eh, you shouldn't regret it - truth is I wouldn't [emoji14] if I could afford a new device I'd be gone in an instant, at least you're sticking around!

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
I don't know why but i'm in love with the Z. Altough the Z5C is not that bad at all, actually i really like it :D
[Xperia Z Original Android Development] CosmicDan:
I had a similar feeling about the X10, as it was Sony's first Android flagship and difficult to let go of (even though it was horribly dated long before I finally let it go). The Z was similarly the initial flagship of the Xperia 2013 series. Don't ask me to explain the feeling though, but I do feel it :p Maybe it's some kind of respect or historical significance, both the devices are somewhat of an archetype.

I didn't feel the same for the Xperia Play. I liked it sure, but I could easily let go of it.
[Xperia Z Original Android Development] roxedion:
would u make kernel for stock 5.1.1 xperia zr please
[Xperia Z Original Android Development] langeveld024:
[MENTION=5243932]Tommy-Geenexus[/MENTION]

Ordered an aluminium Devilcase bumper last week (the graphite one) and just ordered my Z5. It's gonna be the black one, as I was in a store last week to check it out and I saw it isn't that black at all.

I think it's more anthracite or graphite "black" and I decided that the nice green colour may get me bored after some time.

It will most likely arrive tomorrow. Just letting u know.
[Xperia Z Original Android Development] Tommy-Geenexus:
Nice. Good to hear. I got anthracite too, it looks pretty nice plus no visible fingerprints.

If you decide to unlock the bl, drop me a message and i'll send you a test kernel.
[Xperia Z Original Android Development] langeveld024:
I'll do, but I think I won't unlock it for a while.

[Edit] [MENTION=5243932]Tommy-Geenexus[/MENTION] I really love the color now, it matches perfectly with the bumper.
[Xperia Z Original Android Development] Tommy-Geenexus:
Thats the right decision. Honestly unlocking is not worth it currently, if you don't plan to hack some stuff yourself.
[Xperia Z Original Android Development] tetsuo55:
Hi Tommy would you consider accepting a donated XZ to continue your work?
[Xperia Z Original Android Development] Tommy-Geenexus:
Wow, looks great. Might get one myself too.
[Xperia Z Original Android Development] Tommy-Geenexus:
Thanks for the kind offer, but i can't accept that. I'll continue regardless and will find a way to get my hands on the Z, a new update is actually scheduled as soon as i'm free.
[Xperia Z Original Android Development] Tommy-Geenexus:
New Build is up!

Changelog:

* Source cleanup - went through all my patches and fixed some minor things here and there

If anybody got better than default settings for e.g. cpu-boost or other stuff feel free to post them here.
[Xperia Z Original Android Development] Kanzhelier:
I used this kernel zombie b22 but every im play game online, my gadget off in 15s without warning anything. Any solution?
[Xperia Z Original Android Development] nkirk:
That's probably a thermal shutdown. Try configuring msm thermal. If you are playing coc you are out of luck unless you manually downclock to very low speeds.
[Xperia Z Original Android Development] Kanzhelier:
How do that?? Where i can changes?
[Xperia Z Original Android Development] yeyi01:
Even offline games I experience before the gameplay my device will shut
[Xperia Z Original Android Development] Tommy-Geenexus:
I tested the thermal behaviour in various games (no online games though), and did not experience a shutdown in most cases (sometimes after playing for an longer amount of time shutdowns happened).

Remember, this is for the sake of hardware protection. I do not recommend to raise any thermal limits. The SoC is fine with higher temps, the battery-pack not really, and is going to get damaged at temps higher than 40°C.
[Xperia Z Original Android Development] masteriori:
How do I enable DoubleTap2Wake feature? I don't see any option anywhere. I am able to do Sweep2Sleep, no problem.

If I understand this properly, by default, Gamma values are set (for Shap panel) as soon as this kernel is flashed, correct? I definitely saw some change in my display as colours appear to be more deeper/saturated. Also, do you suggest messing about further with White Balance and Faux123 Gamma Controls?

Thank you very much.
[Xperia Z Original Android Development] Tommy-Geenexus:
Check 2nd post [MENTION=225651]op[/MENTION] for sysfs-paths.

I honestly don't recommend using Faux' Apps at all, because he coded checksum functions in his drivers to force people to buy his Apps, which is in my eyes totally wrong.

When i have time i'll rewrite some drivers and remove as much from Faux' work as possible.

Using white-balance is up to you, i wouldn't use it though.
[Xperia Z Original Android Development] nkirk:
Use synapse if you unfamiliar with manually configuring. I advise not to change the shut down temp but lower the throttle temps and clocks so that the phone will not reach 75c or whatever the shut down temp is.
[Xperia Z Original Android Development] masteriori:
Excellent work on the kernel, [MENTION=5243932]Tommy-Geenexus[/MENTION]

My XZ is definitely more snappier than before and the display is much better too with deeper/saturated feel. Will see how the battery life goes but so far very happy with the decision to unlock the bootloader just for this kernel.

Thank you very much for your time and efforts. :good:

BTW, does this kernel only has one (TWRP) recovery?
[Xperia Z Original Android Development] Tommy-Geenexus:
Yep, TWRP only.
[Xperia Z Original Android Development] yeyi01:
I think my Z become more easily hot when playing games
[Xperia Z Original Android Development] CosmicDan:
Agreed. I think if the Android kernel were upgraded to GPLv3, shifty stuff like this would be not allowed. I could be wrong though, either way that's definitely an abuse of the FOSS ideology that Linux/Android kernels are all about. Meh, nothing new (glares at Chinese OEM's)

Well, yeah. Not a problem with this kernel, but the design of the Z itself. Nothing can be done about it.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] masteriori:
How can I try some of these Sysfs paths for kernel tuning? Do I need to download a specific app?
[Xperia Z Original Android Development] masteriori:
Thank you very much for your answer. I feel there's a slight yellow/green-ish tint to my display after flashing this kernel so I wanted to change the display settings ever so slightly.

[MENTION=5243932]Tommy-Geenexus[/MENTION]

Enabling DoubleTap2Wake will have impact on the battery life? Also, is it advisable to enable Fast Charge? I am worried, my battery will die quicker than normal if I enable Fast Charge.

Many thanks
[Xperia Z Original Android Development] langeveld024:
In my opinion, dt2w doesn't affect battery life that much. If you're worried about your battery u should probably get it replaced (best interval is every 6 - 12 months).

Enabling fast charge depends on what u want, data transfer or charging your phone via USB.

It opens USB current and closes data bandwidth when connected to PC. So with fastcharge enabled you might have problems transferring pictures and files etc.

Fastcharge has nothing to do with charging via A/C wall charger.
[Xperia Z Original Android Development] masteriori:
[MENTION=5243932]Tommy-Geenexus[/MENTION]

After flashing this kernel, I am noticing a yellow/green-ish(warmer) tint on my display, particularly in place of White. I was wondering if you could help me out with RGB values to attain more purer whites?

Many thanks
[Xperia Z Original Android Development] Tommy-Geenexus:
Leave it as it is. The panel is infact still too cool calibrated. Stock calibration is way off.
[Xperia Z Original Android Development] basty95:
What about xposed? It works?
[Xperia Z Original Android Development] edi194:
Xposed is'nt kernel related.
[Xperia Z Original Android Development] tetsuo55:
[MENTION=5243932]Tommy-Geenexus[/MENTION] would you consider updating the prima wlan to the latest version again?

There are a couple of changes available compared to the last sync.
[Xperia Z Original Android Development] Tommy-Geenexus:
When i get my hands on the Z again, sure. Till then expect no major changes.
[Xperia Z Original Android Development] tetsuo55:
What if i send you the pull request and you compile a build for testing?
[Xperia Z Original Android Development] Tommy-Geenexus:
That would be great. Go ahead.
[Xperia Z Original Android Development] tetsuo55:
I sent you the pull request, i assume you made no changes to the sourcecode other than the 1 patch you merged for the mac adress.

Now lets hope it compiles without issue. Skimming the code its clear most of the work done is bugfixes and enabling new hardware. In theory it should work fine.
[Xperia Z Original Android Development] Tommy-Geenexus:
Bad news. Prima does not compile properly, and i don't have the time to research this issue, thus i'll leave it as it is. Thanks anyway.
[Xperia Z Original Android Development] Tommy-Geenexus:
New Build is up!

Changelog:

* Updated Ramdisk from .228 firmware

Merry Christmas to everyone!

Edit: Yuga only for now, if someone provides me a ramdisk from the Odin firmware, i'll compile a new Version for Odin too.
[Xperia Z Original Android Development] comax70:
Thx tom merry christmas

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] CR4SH_eR:
Hi I tried enabling DT2W by changing 0 to 1 and it works really well but After rebooting it resets to 0 :( How to make it permant? thx
[Xperia Z Original Android Development] Borias:
Use kernel adiutor app, you can activate set on boot
[Xperia Z Original Android Development] CR4SH_eR:
any other way without apps?
[Xperia Z Original Android Development] arunsreekumar:
freezing problem when using wifi

Thanks for the kernal. But when using wifi or wifi tethering phone is freezing sometimes. .then need to restart .pls fix it ..is it fixed in b23 ???
[Xperia Z Original Android Development] Tommy-Geenexus:
This "kernal" has none of the issues you mentioned. These freezes are unrelated. And without logs i won't bother at all.
[Xperia Z Original Android Development] comax70:
Don t have freeze v23 deodex rom stock

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] arunsreekumar:
I dont know about b23. I have used till b22. And it had freezing issue In both purexz and exestenz rom. How can i provide logs ..now i came back to kitkat woth zombie kernal kitkat version
[Xperia Z Original Android Development] Tommy-Geenexus:
Maybe these Roms are the issue? Wouldn't wonder with all this useless unstable stuff added.

The OP says: No bug report on non-stock Rom. If you want a stable system, return to Stock, or deal with the issues.
[Xperia Z Original Android Development] shoey63:
You could have at least tried latest b23 on a fresh install of stock 5.1.1, instead of reverting to an outdated rom and an unmaintained kernel.
[Xperia Z Original Android Development] I-Immortal:
Could someone confirm v23 is working with latest ExistenZ ROM (3.1) please ?
[Xperia Z Original Android Development] edi194:
.222 and .228 have same kernel, so it'll work correctly
[Xperia Z Original Android Development] CR4SH_eR:
using that app now

but its doesn't have shutdown_temp

so I still have to set some things manually cuz 75 is pretty low when playing games phone get pretty hot and that value is low so I have to edit it to 90 or something...

yes it works, im using it now
[Xperia Z Original Android Development] arunsreekumar:
It will work fine

---------- Post added at 05:39 PM ---------- Previous post was at 05:37 PM ----------

Well i think kitkat is more better than lp .i want to use xposed framework and in lollipop xposed is draining battery .thats the main reason
[Xperia Z Original Android Development] langeveld024:
Use init.d script in su.d folder. Search this thread, kingvortex wrote how to do it.
[Xperia Z Original Android Development] CR4SH_eR:
Thanks!

Do you know which file controls these values?

Also I thought kcal is supported by this kernel "(
[Xperia Z Original Android Development] langeveld024:
You have to create an init.d script.

For example, create an empty file on your SD card, name it 99dt2w or something.

Open the file and write the script like this:

#!/system/bin/sh

echo 1 > /sys/devices/virtual/input/input1/wakeup_gesture

Save the file.

Create folder in /system/ and name it su.d so you'll have /system/su.d/

Move the script u created to that folder and set both the file and the folders permission to 777. Reboot, done.

For kcal, there's no kcal ever on this device.

You can use gamma control instead, it is supported by this kernel.

Only fauxclock works with it, it's not free so you'll have to purchase it.
[Xperia Z Original Android Development] CR4SH_eR:
Already did the scripts ;)

I meant to ask you which file controls the screen colors like in Kernel Auditor app?
[Xperia Z Original Android Development] langeveld024:
Kernel adiutor can't control gamma.

BTW, if u search any sysfs path: they are all in OP.
[Xperia Z Original Android Development] langeveld024:
If you have read the thread you would've known: http://xdaforums.com/showthread.php?p=63926112
[Xperia Z Original Android Development] arunsreekumar:
I am using multirom v31 .it is working fine
[Xperia Z Original Android Development] yeyi01:
I hope someone will continue this excellent kernel
[Xperia Z Original Android Development] CR4SH_eR:
Device gets really hot after using FauxClock to control gamma HOT LIKE 90-100 C WHY?? I haven;t touched other settings just the color/gamma
[Xperia Z Original Android Development] Tommy-Geenexus:
Have you modified thermal settings?

Besides, FauxClock is buggy. I'd recommend anyone to uninstall this App.
[Xperia Z Original Android Development] masteriori:
Thanks for your help. How should I write UV values because there are so many lines in UV_mV_table for cpu0, cpu1, cpu2, and cpu3.
[Xperia Z Original Android Development] CR4SH_eR:
Yes only the shutdown_temp via init.d script

But I can't live with the old display colors they looks so bad man :crying:
[Xperia Z Original Android Development] langeveld024:
It was like this previously :

#!/system/bin/sh

echo 384000 700000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 432000 700000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 486000 725000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 540000 725000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 594000 750000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 648000 750000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 702000 750000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 756000 750000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 810000 775000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 864000 775000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 918000 800000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 972000 800000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 1026000 850000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 1080000 850000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 1134000 900000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 1188000 900000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

echo 1242000 925000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/#vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#!/system/bin/sh

#echo > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

#

#

But maybe some paths are changed, you'll have to check that yourself.

Every line with # in front of it is not active.

there is a possibility your phone will crash sooner or later and you might not be able to boot in system. (you can use aroma filemanager to delete the file in that case)
[Xperia Z Original Android Development] shoey63:
Hi Tom. I know most non fusion3 devices have native dt2w, but I was just wondering if sweep2sleep can be implemented. Have you tried it on your Z5c?
[Xperia Z Original Android Development] langeveld024:
Probably, look here, last section: http://xdaforums.com/showthread.php?p=61142713

It shows core 0-3, happy scripting :p
[Xperia Z Original Android Development] masteriori:
How do I actually test and see if these UV values/scripts are working or not?
[Xperia Z Original Android Development] BaDKaRmA:
I am on .228fw on b23 kernel,Having unknown game crashes...How can i turn on mpdesicion as the device gets warm in jst a minute of usage...and how do i turn of cpu boost ,as all cores are scaling on 810mhz or 1242mhz due to heating...kernel auditor is nt showng any optn for mpdesicision and cpu boost...
[Xperia Z Original Android Development] Tommy-Geenexus:
If you are a gamer, shut down 2 Cores via apq_hotplug.

The phone heats extremely fast, no matter if mpd is enabled or not.

Besides, what games do crash? I bet some poorly coded stuff.
[Xperia Z Original Android Development] danishaznita:
In my case . it is dead trigger 2 . it crashes . then digitizer unresponsive and lastly went black . may i know. This heating problem is due poor cooling design or just cpu flaw ?
[Xperia Z Original Android Development] Tommy-Geenexus:
Both. The SoC is really flawed, the GPU is overwhelmed pushing 1080p Panel, and there is pretty much no proper heat management (like heatpipes, etc..). On top of that everything is packed in a waterproof body, this makes it even worse.