yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] CfYz:
Sorry for newbie question, but I did some research, still can't find an answer. What does mean .454 ROM? I assume this kernel won't work on latest 14.5.A.0.270 ROM for C6833? And why not - Sony still haven't release the source for latest ROM?

Thank you in advance, again sorry if it was mentioned before. The main feature I need from this kernel is a Gamma/color control, because gamma 1.4 looks just terrible on my C6833 =(
[Xperia Z Original Android Development] Tommy-Geenexus:
You're on the wrong forum. This is for the Xperia Z.
[Xperia Z Original Android Development] CfYz:
Oh, I'm very sorry! Got stuck in this Z names of Xperia devices, duh... Thanks you :)
[Xperia Z Original Android Development] kael2404:
Could you do something with headset pilot? Sometimes it's not working, sometimes works after few seconds. If it's kernel related
[Xperia Z Original Android Development] codfx:
How about adding Intelli_plug Tommy? :rolleyes:
[Xperia Z Original Android Development] Tommy-Geenexus:
Nope, auto_hotplug is sufficient.
[Xperia Z Original Android Development] codfx:
My bad! I was referring Awake as SOT. Yep. auto_hotplug is fine. :)
[Xperia Z Original Android Development] yogeshr699:
Trying it...
[Xperia Z Original Android Development] CosmicDan:
Anybody had a slow-down (as if system is under extreme load) followed by a full system freeze with auto_hotplug kernel? This is alarming, happened twice so far - hopefully I can catch it.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] kingvortex:
Perhaps last_kmsg pulled after rebooting will have some clues.
[Xperia Z Original Android Development] FotoMichi:
I think, it is better to change the Date (Month) in the Headline ;)

Greetings from Germany
[Xperia Z Original Android Development] yogeshr699:
Battery life definitely increased...

3 hrs SOT, ful day on 2g, 4 hrs if heavy browsin on wifi,more 15 hrs using phone lik receiving calls n chatting on what's app n still ve 50 % :):)

Thanks for the awesome work but charging seems bit slow using stock charger.. Anyone else facing the same issue..?
[Xperia Z Original Android Development] codfx:
I think stock kernel settings are perfect for light weight users but not for heavy users. :confused:
[Xperia Z Original Android Development] langeveld024:
Why? This kernel is really awesome, it is smooth and it doesn't use that much power on a whole day.

What are your kernel settings which you think are good for heavy usage then?
[Xperia Z Original Android Development] gcgspain:
This last update has a rather poor performance on my setup, frequent lock screen freezes and slow response as if it was heavily loaded with open apps and it was struggling with it. I am going to roll back one step.
[Xperia Z Original Android Development] kingvortex:
Before you roll back you should pull dmesg and attach it here in case the logs show something wrong. You can easily copy dmesg to your SD card using Kernel Adiutor.
[Xperia Z Original Android Development] gcgspain:
Sure, here it is, I hope it helps.
[Xperia Z Original Android Development] Tommy-Geenexus:
To be honest i will switch back to apq_hotplug. The small battery-life gains are not worth the performance loss.
[Xperia Z Original Android Development] Tommy-Geenexus:
Yep i forgot that, Sony includes texfat, its propretary exfat module, so it will work out of the box.
[Xperia Z Original Android Development] Tommy-Geenexus:
Mainly because i don't use Recovery's often, it will come, but other things have a higher priority.
[Xperia Z Original Android Development] CosmicDan:
Well I can do it myself I guess, its not hard. I don't either but I'd hate to find a problem when away from PC and can't flash stock kernel back.

Any changes to WiFi driver? I've had dropouts and timeouts with stock kernel, pretty much the only lollipop bug I've gotten.

Seems solid so far though... Nice work!

Sent via Tapatalk on my Xperia Z
[Xperia Z Original Android Development] Avatecer:
I am sorry, but how do i use the features, because i can't find the option to switch dt2w and the others. Thank you. I am kind of new in this kind of stuff

edit, i installed kernel auditor from google play, i think it works

Thank you op
[Xperia Z Original Android Development] Tommy-Geenexus:
Yep, Prima Wlan is updated, seems a little bit more stable to me now. Thanks!
[Xperia Z Original Android Development] Tommy-Geenexus:
/sys/devices/virtual/input/clearpad/wakeup_gesture

/sys/devices/virtual/input/clearpad/wg_vib enable

are the sysfs paths. 0 for off and 1 for on.
[Xperia Z Original Android Development] CosmicDan:
You can also use Kernel Adiutor from Play Store for many things (its free). Has DT2W option and works fine, along with others like sound control and all have set on boot toggles.

Nice wakeup response too in this kernel :)

Sent via Tapatalk on my Xperia Z
[Xperia Z Original Android Development] flytomars:
Yes, you are right!

I still remember last summer my XZ's CPU was OCed to 1.8GHz and GPU was OCed to 600MHz. To avoid throttling, I disabled thermal control and started playing MC5. During one-hour playing, there was no lag but my XZ was very very hot just like a bomb. Finally it ended up with a black screen - battery damaged. At last I bought a spare battery and replaced the broken one by myself.
[Xperia Z Original Android Development] gcgspain:
Seems to be working fine so far, thanks OP
[Xperia Z Original Android Development] Tommy-Geenexus:
See, thats why theres no OC.

Our phones should at least remain functional till 5.1 arrives ;)
[Xperia Z Original Android Development] CosmicDan:
Yeah, Xperia Z isn't good for overclocking or thermal management. I realized this in advance because of its water/dust proofing, which is much more important for me. I never play games apart from basic ones that run perfectly, and I don't care about governors so I respect your choice of a lean kernel without the extra crap :D

Sent via Tapatalk on my Xperia Z
[Xperia Z Original Android Development] Tommy-Geenexus:
You know back then with the Xperia 2011 Line overclocking was cool and fun (and really needed), but things have changed quite a bit today.

About governors, a well tuned Ondemand is really enough, i see no need to put 20 useless governors in and bloat the kernel.
[Xperia Z Original Android Development] CosmicDan:
Oh yeah, the Xperia Play was so underpowered. I wish they'd make another one though, the controller was great. I know I said I don't play demanding games but that's because I'm hopeless with touch screens haha. Anyway...

Yeah exactly about ondemand. I actually tune it down a little less aggressive ramping myself, and touch boost really helps in these later kernels too.

Sent via Tapatalk on my Xperia Z
[Xperia Z Original Android Development] comax70:
after flash recovery there[emoji15]
[Xperia Z Original Android Development] kael2404:
Trickster mod and kernel adiutor ask me to install busybox. Install it?
[Xperia Z Original Android Development] codfx:
Sure!
[Xperia Z Original Android Development] TrueFriend-cz:
Dev do you can make UB build?
[Xperia Z Original Android Development] agha_jo0n:
this is just for UB!

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

great work

so far so good

bugfree!

keep working man:)
[Xperia Z Original Android Development] TrueFriend-cz:
Vol UP or vol DOWN no access to recovery.
[Xperia Z Original Android Development] CosmicDan:
What? All kernels are for UB!

Read first post, don't be a troll.

Sent via Tapatalk on my Xperia Z
[Xperia Z Original Android Development] langeveld024:
BTW for the lockscreen freeze, that is likely to happen if u have enabled dt2w. So to eliminate that, disable touch 2 wake and test.

[MENTION=5243932]Tommy-Geenexus[/MENTION] about the apq-hotplug: agreed!
[Xperia Z Original Android Development] gcgspain:
Yes, someone mentioned that about dt2w earlier in the thread, maybe it was you and so I was aware of that but in previous kernel releases the lock ups were not so frequent, I think.
[Xperia Z Original Android Development] langeveld024:
Could be, you'll have to try.

In my case I faced this issue on every kernel with dt2w for xperia Z since the very beginning dt2w was introduced.

Sometimes no problems for months and then all of a sudden the screen froze.

Disabled dt2w and had no problems at all.
[Xperia Z Original Android Development] Borias:
Does the kernel support f2fs?

Gesendet von meinem Optimus 2x mit Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
2015 and people still don't read the OP.

No and it never will.
[Xperia Z Original Android Development] kael2404:
I agree. Modern combat lags on auto hotplug on each shot
[Xperia Z Original Android Development] Borias:
I did read it, but since it didn't contain anything about it I decided to ask. Sorry, I'm not into that file system stuff yet, still so much to learn. Dealing with ROMs and kernels for almost 3 years now and still a noob. Oh well...

Gesendet von meinem Optimus 2x mit Tapatalk
[Xperia Z Original Android Development] agha_jo0n:
Hi all

Here is my battery life experience with the latest build

That was amazing!!!!

When battery arrives to 8% it suddenly goes to 4% and then 1% and it suddenly turns off

All this steps occur in one minutes

my usages was chatting to my friends all time via telegram and browsing some web

And all the time wifi was on
[Xperia Z Original Android Development] tnciw:
It may be your battery's problem

My previous phone Xperia P

when battery arrived at 50% It can suddently goes to 0%and shut down
[Xperia Z Original Android Development] agha_jo0n:
I dont think so

Many users had this problem,and i thing its common in lollipop since i think i had this problem with stock kernel too
[Xperia Z Original Android Development] Tommy-Geenexus:
Alright, here we go: A new build is up!

This build brings back apq_hotplug, and is the same as b6 only with the ramdisk improvements included.

This can be considered as a stable final 5.02 build, and i will only push an update if there are bugging bugs present.
[Xperia Z Original Android Development] Tommy-Geenexus:
[MENTION=5903312]Borias[/MENTION]

Sorry for my rough answer, i was stressed a lot of work.
[Xperia Z Original Android Development] Borias:
No problem at all :)

B8 running nicely with eXistenZ Y btw

Gesendet von meinem C6603 mit Tapatalk
[Xperia Z Original Android Development] Tabik:
Hello dev, thx for your kernel development, that's great. BTW, I face a problem, when my phone batt is 15%, the phone suddenly turn off. And when I charge, it remains only 1%, as displayed on the screen. It always happened everytime when I use my phone and the phone batt reach down to 15%..

What's the problem anyway?

PS: Currently I use B8..
[Xperia Z Original Android Development] Tommy-Geenexus:
Rom? I bet custom one.
[Xperia Z Original Android Development] Tabik:
I use Rajeev's PureXL V3.1.. Btw, I have been using your kernel since B6..
[Xperia Z Original Android Development] comax70:
B8 dtv2 not work

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
Rom issue, sorry to say but almost all issues relate to some kind of custom roms.
[Xperia Z Original Android Development] langeveld024:
Only way to test is to flash full 454 ftf and then flash this kernel.

It's a bit more work to-do but it's the only proper way.

(and I'm 99% sure any problems go away)
[Xperia Z Original Android Development] zirado:
It's working
[Xperia Z Original Android Development] comax70:
Cpu only 810?? Not work 1520

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] kingvortex:
It looks like it's throttling. What is your CPU temperature?

Also, you should really read this post as it looks to me like you're using one of those.
[Xperia Z Original Android Development] CosmicDan:
Looks like some people may have heat damaged hardware. Battery percentage jumping is a clear sign of fuel gauge safety kicking in due to unexpected current variations. Hard to believe that a hacked srock-firmware could cause this, bit I've no idea what crazy things might have been done in that firmware.

Regarding maximum CPU only at 810, this is almost definitely something hardware. Even if the CPU is throttled in userspace, the maximum clock should still actually show all frequencies. Assuming you haven't made the rediculous mistake of actually setting maximum clock to 810 like the screenshot shows, some how the higher frequencies are being completely disabled in the kernel sysfs? This doesn't make sense. Tommy might now more, but I'm guessing its a pre-userspace safety mechanism to prevent overheating. Have you ever overclocked your device?

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] kingvortex:
As far as I remember without booting my Z, when the CPU is throttled it does only show the max selectable clock speed as whatever it has been throttled to.
[Xperia Z Original Android Development] comax70:
Now is on purexl 3.1 mybe problem is on existeinz lp niaboc Now work fine

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] kingvortex:
Your CPU won't throttle at 50°C. Play a game or something to make it heat up then check again. Any temperature over 60°C and it will throttle.
[Xperia Z Original Android Development] comax70:
I do not play with the phone, but now everything is fine in the standard this rom and good do not like to install only when the first boot calculates all apps with an upgrade and the phone warms much

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] kingvortex:
I don't think you understand what I'm saying. It's normal for the maximum CPU clock speed to be reduced when the thermal throttling is activated.

The screenshot you just posted showed a temperature lower than the minimum required for thermal throttling to activate, so of course the maximum will be 1512MHz.

You should read through the thread before reporting anything else you think is a problem, because this stuff is already explained here. :)
[Xperia Z Original Android Development] comax70:
I did not say that and I just asked a question why? now cpu max stable in 1512 and not before the phone slowed me does not affect battery life or just want more speed

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] langeveld024:
Anyway, whatever rom u use (PureXL or eXistenZ) these aren't stock.

These are modified stock roms so:

Though I'm using eXistenZ also, I'm not facing any issues.

And if I had issues I would flash full stock ftf and then test again, if the issue persist (a real bug) I would report.

If the bug is gone I would facepalm myself and stay with stock.
[Xperia Z Original Android Development] comax70:
then flashing ftf pure stock and then the ROM?

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] kingvortex:
I'll explain this one final time.

CPU at 50°C means no throttling. Max frequency is 1512 MHz.

CPU at 65°C means throttling. CPU max frequency is 810 MHz.

Now, if you have any more basic questions or bug reports without logs, they should be posted in the Q&A thread. If this thread continues to be filled up with non development related stuff, then a moderator will probably clean it if they see it as it's not fair to fill it up with off topic stuff it like this. :)
[Xperia Z Original Android Development] comax70:
ok you're right, I would just like dtw2 in the stock kernel use it a lot thx of your involvement

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] gcgspain:
Any idea why this issue with dt2w? Can it not be fixed?
[Xperia Z Original Android Development] langeveld024:
If it could be fixed, it would be fixed by now. (2 years already)
[Xperia Z Original Android Development] kael2404:
Now on existenZ Y I don't have overheating issue so I don't know what was wrong on PureX. But one problem is now: when using automatic brightness and the lowest level, screen brightness is very light like on stock (during the night). When disabling automatic brightness, on the lowest level, screen is much much darker, what is included in your kernel and I appreciate. Tommy, can you make that lowest level working with automatic brightness? I know this isn't very important
[Xperia Z Original Android Development] CosmicDan:
I've investigated this, I believe its not possible in kernel as its managed in userspace (I.e. it needs firmware modification).

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] kael2404:
But if kernel could change brightness level maybe could apply this level with auto brightness too. Anyone have the same as me?
[Xperia Z Original Android Development] CosmicDan:
You misunderstand. It's nothing to do with the kernel. The ROM adaptive brightness setting uses predefined values for screen brightness based on lux values, this is part of the ROM and not the kernel. This is how it always was on older Xperia devices too. You need to modify ROM if you want to tune Adaptive Brightness levels, but I'm not clear how to do it easily. If you want to use lower brightness provided by kernel, you simply have to disable Adaptive Brightness.

Everybody has the same as you. It's not a bug, Tommy can't do anything about it.
[Xperia Z Original Android Development] langeveld024:
I've found some strings in /data/data/com.android.providers.settings/databases/settings.db

If u open with sqlite debugger and open "system" section of the database and hit "name" and scroll down you'll see:

screen_auto_brightness_adj (value is 1)

screen_brightness (value is 20)

screen_brightness_mode (value is 1)

If I set screen_brightness from 20 to 5 and reboot, nothing happens and if I set brightness slider from - to + and back to -, the database resets itself to 20.

So I think this won't work as it seems to be the current setting. But, maybe the auto brightness value are somewhere in a database..
[Xperia Z Original Android Development] Tommy-Geenexus:
New build is up!

Changelog:

* Added bi-directional sweep2sleep (works in Navigation and Status Bar)

I felt this is something useful, so i decided to release it now instead of packing it into a later release.
[Xperia Z Original Android Development] Tommy-Geenexus:
[MENTION=1844875]CosmicDan[/MENTION] have you already started working on the App / what are your current plans ?
[Xperia Z Original Android Development] langeveld024:
Guys finally I did it!

Automatic brightness at the same lowest point as kernel! (it seems a bit lower though)

I decompiled framework-res.apk and in /res/values/arrays.xml and /res/values/integers.xml I found the in-rom brightness values!

It still needs a bit fine-tuning but when I'm done I can write a little tutorial for those who are interested.
[Xperia Z Original Android Development] CosmicDan:
I have not, real life is in the way sorry :( I got replacement battery and all the gear for my heatsink mod too, haven't even made time to install all that.

Ah nice, so it *is* the same as Xperia 2011 devices. This is nice, no need to deodex stock firmware.
[Xperia Z Original Android Development] codfx:
Unable to access recovery on b9 release. :crying:
[Xperia Z Original Android Development] CosmicDan:
Tommy, I'll get a start on Zombie Adiutor. What's the sysfs path for sweep2sleep, if you don't mind? Will add it to the 2do list.

To everyone interested:

I'm at an odds about whether to include full Kernel Adiutor features or strip them out. Package will be renamed so it will work alongside Adiutor, however if I include all the features then there may be 1) Set On Boot conflicts with Adiutor in the event that a specific section in Adiutor has additions in an update that also has additions only present in Zombie Adiutor (hope that makes sense lol), and 2) Possible pressure to keep it up to date with Adiutor features for those who don't want two apps. On the other hand, if I strip all Adiutor stuff and keep it with only Zombie specific things, some might not like the need to have two apps.

What does everybody think? I'm leaning towards "keep everything Adiutor has" and just have all Zombie stuff in a separate "Zombie" section, but that is messy. Or, just do it nice and well and ignore any pressure from people to merge latest Adiutor features (which are mostly useless anyway, e.g. recent addition was entropy control).

Or, maybe, I could strip *most* things, to make it a simple and light app for only essentials. E.g. sleep/wake features, sound control, and CPU (and the other stuff Zombie adds of course like vibrator strength).
[Xperia Z Original Android Development] Tommy-Geenexus:
Look in /sys/sweep2sleep for tunables.

I would appreciate a light and clean app, but would not mind otherwise.
[Xperia Z Original Android Development] langeveld024:
[MENTION=5243932]Tommy-Geenexus[/MENTION]

What is the value for lowest possible brightness in the kernel?
[Xperia Z Original Android Development] CosmicDan:
These are the relevant commits, not sure how well the numbers translate to the framework values (if at all). From what I can see, it overrides stock value of "10" for minimum and changes it to "1".

https://github.com/Tommy-Geenexus/a...mmit/9ef2a4dd9cd9fbbb40abe4460ff2509e09f5d360

https://github.com/Tommy-Geenexus/a...mmit/13cc7b90bc01d626c313c41847b11bcc9b3aeb6b
[Xperia Z Original Android Development] Tommy-Geenexus:
Fixed. Thanks for reporting.
[Xperia Z Original Android Development] codfx:
Anytime boss! :good:
[Xperia Z Original Android Development] Tommy-Geenexus:
Fixed build up!

Changelog:

* Fixed sweep2sleep module init race which prevented entering recovery during boot

I also added a flashable TWRP 2.8.7 build to the OP. It is recommended to flash it afterwards if not using MultiRom.
[Xperia Z Original Android Development] CosmicDan:
Forgive my ignorance as I've never used MultiROM nor intend to, but why is it recommended to flash this TWRP now? Is this a FOTAKernel image or something,and you've removed the recovery ramdisk (to make kernel work with other recoveries)?
[Xperia Z Original Android Development] Tommy-Geenexus:
Because the included one is outdated, and this one is the latest (and greatest / most bugfree) TWRP available. Not forcefully needed but it works simply better, it's just a recommendation from me as i got to know some minor Bugs in the included TWRP.
[Xperia Z Original Android Development] Olivier:
That's not necessary.

A new MultiROM TWRP build can be found here: TWRP_multirom_20150714-00.img (I've been working on a MultiROM update, will release it once it's ready)
[Xperia Z Original Android Development] Tommy-Geenexus:
Thanks. Will put a link to it in the OP.
[Xperia Z Original Android Development] Mijiwo:
i found that cpu can't go offline on b8 with rom existenz y, Battery life seems ok, sot about 4.5 hours. Kernel adiutor don't show hotplug menu. Is that normal?
[Xperia Z Original Android Development] codfx:
CPU cores don't go offline: Yes, that's what APQ hotplug does.

Yeah! Everything is normal.
[Xperia Z Original Android Development] CosmicDan:
Maybe a small notice alongside APQ-Hotplug point is in order to save this question being asked.
[Xperia Z Original Android Development] CosmicDan:
How goes it?

I wonder if it's possible to make it as a framework overlay APK. This way I could code it into Adiutor, perhaps.
[Xperia Z Original Android Development] langeveld024:
okay guys i made a quick write-up for those interested in lower adaptive brightness.

its not possible to have it at exact the same brightness as kernel level, because 6 is a little bit brighter and 5 is too dark. btw, when using 5, the screen starts to flicker.

find the thread here

i dont know if its possible to make it as a overlay as im not a dev, i personally dont think it is needed since we can control brightness already from in rom. we only need it to control it to a lower point.

if you think you can, go ahead, it will be cool. but i can't do that :D
[Xperia Z Original Android Development] xdagfg:
i consider to install the zombie kernel also since with the default kernel during wifi streams the phone get really hot(existenz Y).Wasnt like that with kk rom and zombie kernel. Also CosmicDan when you succeed with your heatsink mod i would be thankful if you share it.