yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] Kocane:
AlNikki, you're saying this system_server thing happens with 4.3 stock etc etc, but I'm seeing it atleast once a day. Only a reboot helps. Isn't there some way to analyze what is causing this? Sometimes it stays bad (35%+ cpu usage). Yesterday it kept my clock at 1500 mhz, but only when the screen was off? When I unlocked the phone the clock went down but systemserver was still hogging the performance.
[Xperia Z Original Android Development] banny7000:
I had the same problem with gamma on latest kernel with xz dual recovery, installing advanced recovery fixes it.(did for me anyway)
[Xperia Z Original Android Development] reyunami:
Yeah you right installing the advance recovery fix the gamma control..:)
[Xperia Z Original Android Development] sea2605:
ALL settings revert back to kernel-standard frequently... very annoying... especially because tap2wake etc. is ON by default: my XZ turns itself on in my pockets, starts some apps, gets hot... no joke: happens at least once a day... living with this since 1 month, since I had no time to reflash everything and find the exact culprit.

Sure its not the kernel?
[Xperia Z Original Android Development] demon2112:
Do you have the. Zip on your phone? Choose in aroma installer that you want back to stock

Verstuurd vanaf mijn C6603 met Tapatalk
[Xperia Z Original Android Development] alnikki25k:
I mean everyone else atleast does not seem to have that problem. I am not sure why the settings aren't sticking for you. Have you checked your init scripts or any other app that seems to be changing things?
[Xperia Z Original Android Development] alnikki25k:
I'll be releasing XzAOSP in a day or two. All testing seems OK. But you'll need a ROM that has the newest blobs.
[Xperia Z Original Android Development] Kocane:
Well they arent too realiable here either. But Im not sure if thats more because of incorrect shut downs once in a while.

On another note:

Is anyone else having problems with tethering? USB tethering says "error", I can enable it with an alternative application though (I guess it uses a different method than the built in one?)

When I try portable hotspot, it just instantly turns off again, then turns itself on and off on and off and keeps doing so. Sometimes it also just says "error".

:( What can be causing this?
[Xperia Z Original Android Development] Tommy-Geenexus:
I don't have these problems mate, also no battery drain.

Gesendet von meinem Nexus 5 mit Tapatalk
[Xperia Z Original Android Development] Kocane:
Might just be me.. If anyone has a tip on how to go about debugging/fixing this (no "do a factory reset plz") then feel free to lemme know...
[Xperia Z Original Android Development] crazymister:
What was the last time you fresh installed your phone? I know you don't like the answer but there is a chance it is the only way.

Anyway, try clearing dalvik cache from recovery, also try clearing all other caches.
[Xperia Z Original Android Development] Kocane:
Im personally under the impression that it's never the only way. It's always fixable, sometimes harder than other times. MAYBE the system is sometimes too borked to fix but thats only when it cant even get past the boot screen.

But since the release of Existenz 4.3 I havent formatted my phone.... was that in december 2013?
[Xperia Z Original Android Development] spida_singh:
Id really recommend a wipe of the lot, i was having similar issues, the system wasn't just performing right, and your better backing up your apps and home screen with Titanium Backup, performing a fresh clean install, and restoring back, it doesn't take as long as you think depending on how many apps you have, i never had such issues.
[Xperia Z Original Android Development] airlessproject:
This is just a wild guess, since I don't know to do it myself: have you tried reading logs and/or auditing app behavior based on logs or some auditing software, to see when and which app actually changes the settings?
[Xperia Z Original Android Development] Kocane:
Well the logcat seems a bit useless. But USB tethering is ok with pdanet which I probably have available the times I wanna do tethering.

More annoyingly, and I definitely believe this is a kernel issue that is yet to be solved, is the occasional kernel panics (or something) that happens when using the camera. I'm not really seeing the increased readahead helping very much.

Am I alone with this as well? :P
[Xperia Z Original Android Development] airlessproject:
Sorry mate, I misunderstood your question thinking that you asked about the impermanent settings...

Really wouldn't know what maybe causing tethering errors.. Have you tried to dirty rom reflash?
[Xperia Z Original Android Development] golfgtiedition30:
The answer to your problem is right in front of you lol :D
[Xperia Z Original Android Development] xPoiled:
[MENTION=4645070]alnikki25k[/MENTION]

Bro,i have been a fan of your work since day 1.love the dt2w and gamma control on my xz.but ive decided to sell my xz and bought an xperia z ultra due to a larger screen.

With this gigantic device,xzu owners would be happy if you can port your DT2W feature and gamma control in zu.i'd be happy to be your number 1 testers of your zu kernel if ever.thanks dude! Hope I will see you on zu forums! :)
[Xperia Z Original Android Development] broke23:
somehow I can no longer seem to get into recovery, not through button mode, titanium, reboot into recovery, apps to do so, none ... :(
[Xperia Z Original Android Development] deepongi:
fastboot a boot.img from one of official CM builds, for example.
[Xperia Z Original Android Development] broke23:
Thx. Dang I hate fastboot (always need a pc) :P
[Xperia Z Original Android Development] zytres:
port

can you please port this awesome kernel to the xperia zr?
[Xperia Z Original Android Development] sebastianlow:
Are you gonna release the update anytime soon? Can't wait!
[Xperia Z Original Android Development] Alex Tan Hao Nam:
Combine

Can I combine with NUT's XZDualRecovery+NUT's Rooted ROM?
[Xperia Z Original Android Development] tchzhy:
I found that only double tap to wake work. Sweep2wake does not work. I use trickster mod to enable it but no luck.

What should I do to enable it? Thanks a lot.
[Xperia Z Original Android Development] CambaStorm:
Is it a way to remove the Double Tap/Sweep2Wake feature? It is making my phone being unresponsive specially when it is in my pocket. Disable it from Trickster Mod didn't work. :(
[Xperia Z Original Android Development] elias234:
u need to sweep with 2 fingers at the same time
[Xperia Z Original Android Development] tchzhy:
Thanks a lot. It works.
[Xperia Z Original Android Development] Kocane:
Great.. Another camera-related (most likely, happened when I opened Snapchat) kernel panic. After the reboot all my freezed apps had been unfreezed -.-
[Xperia Z Original Android Development] Tommy-Geenexus:
last_kmsg would be quite helpful

Gesendet von meinem Nexus 5 mit Tapatalk
[Xperia Z Original Android Development] Kocane:
I reckon I've shared last_kmsg twice from that issue. Gonna post it next time it happens.
[Xperia Z Original Android Development] cosminnn:
I have the same issue to disable double tap 2 wake . Also use the method described in the op. Any fix? Thanks
[Xperia Z Original Android Development] airlessproject:
Hi,

Attached are logs taken after a reboot which happened during Skype call..

Kind regards
[Xperia Z Original Android Development] Kocane:
The zip is damaged it seems, mate.

A skype call.. that's with video, isn't it? Atleast, Skype is quite related to the camera.

There's definitely something wrong with the camera... those reboots are the only problems Im having with the kernel, tbh.
[Xperia Z Original Android Development] airlessproject:
Sorry, the zip was damaged because I used the 'upload from url' option on a secured url.. I'm re-uploading it in this post's attachments
[Xperia Z Original Android Development] Kocane:
Yeah, that one works. I dont know where AlNikke is nowadays, tho.
[Xperia Z Original Android Development] airlessproject:
Here's another logs zip file for a reboot which happened during boot.. Might be related to (existenz) rom but also it might be related to xzk..

Hope it will help Alnikki..
[Xperia Z Original Android Development] alnikki25k:
Sorry for the delay. Have been busy with my university reviews. I am not sure what's causing all these camera related errors. Anyway, I'll continue to try. I might have to put off kernel development for a while. With KitKat I'll be scrutinizing all the patches and figure out a solution for this issue.

Thanks for all the logs :good: and sticking with my kernel :p
[Xperia Z Original Android Development] airlessproject:
Thank you for everything you have done, I'll continue sticking with xzk regardless of some minor bugs which are very small compared to what the kernel gives to me. :)
[Xperia Z Original Android Development] Kocane:
I hope you can squish these issues before moving on to 4.4 (camera reboot the only issue I can think of)

As I might be sticking with 4.3 for a while.
[Xperia Z Original Android Development] shaanyt:
The camera reboot happens on all governors (both cpu and gpu) and all schedulers or just specific ones? I used to get these camera reboots, but only when the CPU is using Interactive... weird isnt it.. i switch to interactive, take a pic, reboot. -_- So now i just stick with Intelliactive. :p
[Xperia Z Original Android Development] Kocane:
It hasnt happened at all with Intelliactive? You sure it's not just pure coincidence O_o? I like interactive though :( I dont see how it could be causing the kernel panics :/
[Xperia Z Original Android Development] -totonio-:
I have Skype And camera issues with ondemand
[Xperia Z Original Android Development] shaanyt:
Not sure if just coincidence/dumb luck, but i havent had a camera reboot since intelliactive came out. Before that, i was using intellidemant, ondemand, interactive, all gave me random reboots. If i wanted it "ensure" a reboot, all i needed was to set read ahead to 4096, then boot, reboots every time i use camera, so i tried setting to below 3072, which helps a bit, but still crashes randomly. Intelliactive however seems to have "cured" it for me, read ahead at 4096, using sio blah blah, no crashes til now. :silly::laugh::p
[Xperia Z Original Android Development] Kocane:
It's a coincidence of some sort. Tried Intelliactive and it happened as well. I think it's unrelated to I/O scheduler and governor. Even if it wasn't, it's not like it would be "OK" for it to happen with all other governors but Intelliactive, heh.

Today, I launched the Camera from the lockscreen. The phone froze, I pressed the power button etc and the screen eventually turned off with animation and everything. Then I received a msg in some chat program and the LED was blinking. All I could do was to force reboot the phone as screen wouldn't come on.... God damn camera :(
[Xperia Z Original Android Development] xXWeresXx:
i flash it yesterday.

Double Tap works perfekt.

Kernel is fast and smooth ;)

i test today the akku dran.

Great work ;)
[Xperia Z Original Android Development] Thepho3nix:
It is Just me or is a battery drain issue present in this kernel?

Enviado desde mi C6603 mediante Tapatalk
[Xperia Z Original Android Development] crazymister:
Then Download BBS and see if you have drain and where it comes from, you're the first on to say it, so it's probably something else
[Xperia Z Original Android Development] xXWeresXx:
Android 4.4.2 is the latest Update for the Xperia Z.
[MENTION=4645070]alnikki25k[/MENTION]

Do you make for the latest Xperia Z version your Greate Kernel?

Greate Work ;)
[Xperia Z Original Android Development] Moesappel:
Maybe a stupid question but do i need a unlocked bootloader? Because the title says 'stock kernel'
[Xperia Z Original Android Development] Rzr92:
Yup you need to unlock your bootloader for flashing the kernel

The kernel is based on stock sony sources but some things are modified
[Xperia Z Original Android Development] alnikki25k:
I need kernel sources for 4.4.2. That might take a long time.
[Xperia Z Original Android Development] xXWeresXx:
i know that you need the sources.

This whas a question for your work.

not time or whatever :D
[Xperia Z Original Android Development] Kocane:
[MENTION=4645070]alnikki25k[/MENTION] - could you please do your best to get the camera reboot issue solved before moving onto 4.4? :fingers-crossed:

I'm not sure I'll be upgrading to 4.4 right away, since 4.3 is doing well by me and I like how it looks, but this regular camera-related reboot is the only issue I've got :(
[Xperia Z Original Android Development] mankent7:
am i the only one still waiting the wifi mac address to be fix?

hope before moving to 4.4 u can final the 4.3 kernel.
[Xperia Z Original Android Development] deepongi:
my builds use .569/.101 blobs. i can try it if you want.
[Xperia Z Original Android Development] airlessproject:
:)

Hey [MENTION=4645070]alnikki25k[/MENTION], whenever you get your majestic hands on those sources, hit me up in PM, I'm humbly willing to help you in building/testing your newest kernel version.

Always here for a collab!

Kind regards,

Vladimir aka Airless Project
[Xperia Z Original Android Development] cybershock:
Only thing I expect from this kernel is disabled touch 2 wake functions:rolleyes:
[Xperia Z Original Android Development] airlessproject:
Hey mate, have you tried disabling dt2w / s2w in Trickster or Android Tuner? That used to work for me...

Regards
[Xperia Z Original Android Development] syahazu:
OP, do your kernel have the dualshock controller driver , bcoz after i flashed ur kernel alongside existanZ R0M, only when usb onthego plugged in can detect the controller, when i disconnect the cable, it should be connected via bluetooth but justs disconnect and no controller devices are available in the bluetooth search list.. or maybe this somekind a bluetooth driver problem, sorry coz i dont hav time to put the logcat here... hope u try to take a look at it
[Xperia Z Original Android Development] cybershock:
It causes frozen screen even after disabled on trickster, but no problem with doomkernel on which I tried an init.d for opting out.
[Xperia Z Original Android Development] airlessproject:
may be a problem specific to your device/setup, since the option disabling works on XzK on my device with no problems... have you taken a look at your logs when a freeze happens?
[Xperia Z Original Android Development] CambaStorm:
I also have the frozen screen with double tap to wake (disabled or enabled doesn't make a difference) it's very random, more common when you have phone in your pocket. For this problem had to come back to stock kernel :(

Enviado desde mi C6602 mediante Tapatalk
[Xperia Z Original Android Development] cybershock:
It doesnt happen with doomkernel.
[Xperia Z Original Android Development] Kocane:
Nothing in regards to the camera reboots, AlNikki? Please attempt to fix before moving onto 4.4 or something like that :( It's seriously the only issue.
[Xperia Z Original Android Development] yeyi01:
Kitkat firwis now rolling :D
[Xperia Z Original Android Development] shaanyt:
Oh my, need v24 ! LOLL save me from the unsmoothness that is 4.4.2. That settings screen lags like nobody's business, anyone who wants to flash should backup first though, it has a weird tendency of suddenly wiping internal
[Xperia Z Original Android Development] Diatomix98:
Enable gpu rendering in developer options to get rid of the lag in settings.
[Xperia Z Original Android Development] shaanyt:
Thanks! But I still feel that this kernel makes 4.3 smoother than 4.4.2 hahaha can't wait!
[Xperia Z Original Android Development] Tommy-Geenexus:
This is because 4.4.2 is laggy and not even a custom kernel can fix it, we must wait for Sony.

It's a Nexus
[Xperia Z Original Android Development] shaanyt:
That's a judgement to be made after I try the kernel.
[Xperia Z Original Android Development] Tommy-Geenexus:
No, not with the new firmware.

The lag isn't caused by the kernel, but something on the rom side.

It's a Nexus
[Xperia Z Original Android Development] shaanyt:
i think i'll pass judgement after i actually try it with a new kernel, right now let's just agree on one thing, kitkat sucks balls.
[Xperia Z Original Android Development] Tommy-Geenexus:
Let's wait for [MENTION=4645070]alnikki25k[/MENTION] 's statement, but you're right kitkat sucks.

It's a Nexus
[Xperia Z Original Android Development] shaanyt:
this is interesting, i tried flashing bionic optimizations for Android 4.4. Everything seems very much better now. :laugh: I'm still gonna need that kernel though ! :p:p
[Xperia Z Original Android Development] venky716:
Which bionic patches did you flash ?

Z2,Moto x or CM11.

Also just the bionic or did you flash dalvik as well.

Link pls :D

PS: I've reached my 8 thanks limit will thank you tom for letting know patches work with XZ 4.4.2. :D
[Xperia Z Original Android Development] shaanyt:
Bionic patches are general, it's from Qualcomm, the dalvik optimizations I used are from Motorola x
[Xperia Z Original Android Development] stanlin salu:
Guys sorry for asking this stupid question??

Just wanna know, are there any bugs in this kernel?
[Xperia Z Original Android Development] shaanyt:
Generally, i would say no, but there are some small issues with screen freeze (happens rarely and randomly) and camera (snapping a picture causes phone to crash, then reboot itself, also happens very rarely and not to everyone)
[Xperia Z Original Android Development] Kocane:
This makes me feel good about staying on 4.3 :P
[Xperia Z Original Android Development] shaanyt:
Back on 4.3 :laugh: Sony screwed up big time on KitKat... audio stuttering (the one people are complaining about on CM11 and Omni) is in 4.4 stock Rom too. And the camera is now officially uber slow.

Looks like sony is implementing "Operation Make Xperia Z Users Buy Z2".

They took 1.5 months longer than HTC and Samsung, yet they gave us more bugs. Speechless.....:rolleyes:
[Xperia Z Original Android Development] Kocane:
Brings me back to the times of my mothers iPhone 3 which got the newer iOS version that it couldn't handle AT ALL. Basically forced her to get a new phone. Very smart for all those people who don't know better. :silly:
[Xperia Z Original Android Development] shaanyt:
HAHAHA, i think sony will be releasing updates in a few weeks. They just love to release a lot of updates.... they released 3 times for jellybean i remember. LOL
[Xperia Z Original Android Development] Kocane:
Maybe. But to be honest, I've little faith in Sony fixing many issues that I have myself. I mean, the battery life is still heavily affected by wakelocks caused by the kernel. It might be Qualcomm's fault (like msm_hsic_host) but seemingly Sony cant do anything to fix it.
[Xperia Z Original Android Development] shaanyt:
Funnily enough, Sony did fix that wakelock. In kitkat if you put your phone down and go to bed the next morning you don't lose even 1% hahaha now only jellybean I lose 10% every night
[Xperia Z Original Android Development] xXWeresXx:
kit kat is very cool,

simple and another look but i wait of a greate kernel ;)

my favourite Kernel is the xZKernel i wait of it :P

my own Custom ROM is finish and run very fast!

http://customworkz.de/criskelo/phpBB3/viewtopic.php?f=50&t=128
[Xperia Z Original Android Development] alnikki25k:
Sorry for the inactivity. I will fix 4.3 issues before starting with 4.4. Also, 4.4 has better battery because Stamina mode actually works in 4.4. The lags in 4.4 is just poorly coded work.
[Xperia Z Original Android Development] xXWeresXx:
i have 2 Xperia Z

1. My

2. My Girlfriend

my is Unlocked and have install the stock kernel from Doomlord. My need some seconds and then is all smooth. but if i swipe to unlock my phone than my phone laggt.

that from my girlfirend is locked Bootloader und have the stock Stripped tft and this phone runs without laggs. Very very smooth.

Kir kat have a Greate performance boost
[Xperia Z Original Android Development] alnikki25k:
In general, KitKat is a very good upgrade. To be honest, a stock-to-stock comparison between 4.3 and 4.4 shows 4.4 is less laggy (except the settings scroll of course). But 4.4 has brought with it a slew of Audio bugs. Stuttering, glitching, etc. In my newest kernel, I have switched to an upgraded version of SlimBus control. I need the 4.4 sources to see if this will have any fix on the stuttering.
[Xperia Z Original Android Development] shaanyt:
For me it's more than just settings, actually for me the settings doesnt lag, at all... LOL fancy that. But the notifications shade, lags like nobodys business whenever something is "moving" inside the shade, like installing progress bar or download progress bar.

I've read somewhere (not sure where, cuz i browse the web endlessly when i am bored) that Android's new DSP audio tunneling is the reason this is happening. Any truth in that? If so, can it be disabled? Just curious, ahahah not trying to tell you how to do your thing. :laugh:
[Xperia Z Original Android Development] Kocane:
Are you sure about that? Judging from Haali's post in the battery thread, the wakelock is as alive as it ever was in 4.4 too:

http://xdaforums.com/xperia-z/help/xperia-z-battery-issues-discussion-t2150786/page151

Sounds good man.. I hope you have what you need to maybe crush the camera reboot bug. It's been a while since I've had the issue (and I've used the camera alot) but I dont imagine it being gone.. and it's a bit annoying with such unrealiability :(... some of us did post our logs when it happened, some time ago, I hope they're of use.

Kitkat might be an aight upgrade but I've had my 4.3 tailored completely to suit me over the last 5 months (still on the same install!) and I'm just too lazy and not much in mood lately to migrate to a completely new android install :/
[Xperia Z Original Android Development] crazymister:
I also heard the audio stutter stops when you freeze walkman 2.0.a.0.54. Haven't tested this myself yet to since i haven't even tested the stutter problems since I'm quite busy
[Xperia Z Original Android Development] shaanyt:
interesting, i'll test it out :)

edit 1: Tested it, still stutters, i do realize that most of the stuttering happens to FLAC and other higher bit rate files, lower bit rates like MP3 and M4A seem to suffer less, but still stutter, perhaps audio tunneling is a bad idea on google's part... :(

edit 2: Re-enabled that walkman thing, seems to have same random amount of stutter. i'll give more feedback after i test some more LOL
[Xperia Z Original Android Development] crazymister:
Has anyone tried it with different audio players (like poweramp for example), i would test it myself but i can't find my headset... Probably left it at work
[Xperia Z Original Android Development] shaanyt:
:confused: Well this is funny..... audio stuttering goes away (very minimum) when you set CPU governor to MSM-DCVS..... And this governor also minimizes the stuttering in the "movies" app, yes that app stutters too, video stuttering.
[Xperia Z Original Android Development] syahazu:
hope the new kernel update for kitkat suits well.... still waiting... this one of the best kernel i'd used that guarantees full satisfaction to xperia z users.. hope the best dev ;)
[Xperia Z Original Android Development] Tommy-Geenexus:
yes he does. But we need sources for 4.4.

Sent from my Bricked™ Nexus
[Xperia Z Original Android Development] stanlin salu:
The performance on this kernel is great, but battery drain is really bad, overnight 7% drained, on other kernels its just 1%, i checked wakelock detector it shows 0% wake sats, can you plz look into battery drain issue??
[Xperia Z Original Android Development] alnikki25k:
This stems from many 4.3 wakelocks as well. A bunch of my tweaks and changes in the kernel didn't go well with 4.3, sadly. This should get better with kitkat, much better.
[Xperia Z Original Android Development] Kocane:
Had a reboot when I turned on the flashlight. Outside of a camera app, that is...
[Xperia Z Original Android Development] syahazu:
my dualshock ps3 controller doesnt connect to my phone via usb... seems like it doesnt recognizes it... may you fix it upon the next update?