yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] BrateloSlava:
In the project tree, there is an interesting folder - drivers/devfreq. If you compare it with this - you can see that it we have not been updated.

Patches, including (Jun 22, 2013), easily transferred to us by copying files. With newer - problem. Can someone try to update our project? Very interesting are some patches there.
[Xperia Z Original Android Development] bnm15:
anyone experiencing broken navigation buttons at landscape mode? cant figure out a solution to this.

[edited] problem solved after a reboot. anyway :)
[Xperia Z Original Android Development] B14ck7hund3r:
Anyone got WiFi drop issues? Logs don't show something useful, also we got a new router from Telekom (worse than one for fifteen bucks and they want a lot money for them) maybe it's an network issue, but I need some verification before I buy a new router
[Xperia Z Original Android Development] Irseq:
For me Wi-Fi seems to be working fine on PA.
[Xperia Z Original Android Development] lonixlon:
My WiFi is stable on a billion 7800n router
[Xperia Z Original Android Development] thomas1991_12:
Was on holiday for a couple of days. New CM build is up, bit experimental with the new toolchain.

Im planning on rebasing my kernel on the new cm-11.0-new branch, so that could take a while.
[Xperia Z Original Android Development] iKillCypher:
will wait for bugs for the 07/08 and reviews before flashing :D

currently on 08/07 build ;)

Hello Thomas :)
[Xperia Z Original Android Development] Tantawi:
I flashed it last night but couldn't boot, just the Sony logo and then black screen for a minute then automatic reboot, had to fastboot the boot.img from 30.07 build to be able to boot.

Is it only me or anybody else facing the issue?

Thanks for the great work Thomas, always :)
[Xperia Z Original Android Development] BrateloSlava:
I'm on 21/07 build. Besides, I did not understand why this was added:

Revert to open source sensors :confused:
[Xperia Z Original Android Development] fards:
Read back through the thread. PABX found that the change away from dash sensor system was causing the battery drain with Google location services.

Switching back to dash fixes it.
[Xperia Z Original Android Development] BrateloSlava:
Obviously, this does not always occur. I do not have this problem without the use of these patches. It is possible that I do not perform any actions that lead to this problem.
[Xperia Z Original Android Development] iKillCypher:
Yeah it does not affect me at all and Im very happy with my current build... unless it is some emergency fix or something then I will choose to update but other then that I wont.
[Xperia Z Original Android Development] AngelBob:
Some older build's use PABX's Waldi service to help prevent the battery drain, if you have "/system/bin/waldi" try removing (renaming) that, reboot and see if you still don't suffer the drain?
[Xperia Z Original Android Development] BrateloSlava:
I'm remove from ramdisk all lines, contains waldi and qrngd. I'm use binary from Seeder instead qrngd.

### Activate rngd and entro binaries

rngd -t 2 -T 1 -s 256 --fill-watermark=80%
sleep 2
echo -8 > /proc/$(pgrep rngd)/oom_adj
renice 5 `pidof rngd`

sleep 3

##
[Xperia Z Original Android Development] ari197:
the battery drain got triggered by sensor request overload.. usually having Google Now + location reporting and history.

Waldi sort of provided a work around, but sometimes I found some applications not getting my latest location.
[Xperia Z Original Android Development] Supersaiyan.IV:
Similarily, black screen after SONY logo and no apparent CPU activity, as device runs cool. Tried fastboot oem dmesg to get logs without success.

Kernel fault lamp never lights red, and there's no way to enter recovery.

Unrelated: 21.07 build still has google services drainage with latest google services. (EDIT: Yes iKillCypher there's drainage and we all know it, but if Google fixes the drainage bug we all might want to go back to .230 blobs?)

EDIT: Dirty flashing 07-08-2014 as Aka91 does below gave me a boot-loop.
[Xperia Z Original Android Development] Aka91:
Entered recovery with advanced reboot to recovery,dirty flashed over 30-07..

And voila..booted sweetly.

Google services has been denied permission for wake up,location,keep awake in privacy guard.

And i achieve the epic-est battery life on my Z.

Way too happy with this.

Thanks Thomas.

:D
[Xperia Z Original Android Development] iKillCypher:
Im confused so the latest build has bootloop if not clean build ? aka dirty flashing so does the build works prefectly

also lol the battery drainage is long gone please stop bring it up :( let it die please.
[Xperia Z Original Android Development] Tantawi:
I dirty flashed, clearing cache only, no boot.
[Xperia Z Original Android Development] B14ck7hund3r:
Dirty flash the update. Almost everything works. Only the pictures in the play store are messed up.
[Xperia Z Original Android Development] aidfarh:
I'm getting weird colours in Play Store too on the latest build.
[Xperia Z Original Android Development] BrateloSlava:
I always update the application as soon as the new version will appear here. As for me - no battery drain at the 21.07 build.
[Xperia Z Original Android Development] fofo00o:
???

after flashing the rom no recovery !! please help

solved
[Xperia Z Original Android Development] Supersaiyan.IV:
Follow these procedures.

Do you have any issues after doing this?
[Xperia Z Original Android Development] BrateloSlava:
Thanks, now I understand the current situation.
[Xperia Z Original Android Development] BrateloSlava:
I just made a fully clean installation from scratch. WiFi, GPS navigation, camera works fine.
[Xperia Z Original Android Development] naitik2012:
Hi [MENTION=535343]all[/MENTION]

can any one please test this kernel > http://xdaforums.com/showpost.php?p=54711028&postcount=158

right now i am infected's ROM so cant test.. please some 1 test it and report is everything working perfectly or not

i have tested old kernel but i was facing graphic tearing issue and camera not working.. please confirm if this issues are still there or not

Thanks :)
[Xperia Z Original Android Development] veryjo:
GPU undervolt

i have install Version 29.jul.

the Rom run very goog. i use trickster for undervolt the cpu.

but i miss the Option for undervolt the gpu. i can not find in trickster?

i look in: cat /sys/devices/system/cpu/cpu0/cpufreq/

but i not find the "gpu_mv_table"...?

what can i do?
[Xperia Z Original Android Development] nostupidthing:
hi guys, when you record video with this rom, is the sound coming out normal?

thx in advance.
[Xperia Z Original Android Development] thomas1991_12:
Play store thing is a bug in GCC 4.9, should be a fix for it soon.

Im still rebuilding the kernel, gonna take a couple of days.
[Xperia Z Original Android Development] macia10:
And what will be changed in this new cm11 brunch? Did CM added something new there?
[Xperia Z Original Android Development] BrateloSlava:
Someone has problems with the smartphone, when CPU heated above 50 degrees Celsius?
[Xperia Z Original Android Development] Irseq:
It's often above 50°C and it's fine.
[Xperia Z Original Android Development] B14ck7hund3r:
No problem with recording audio or video over here.
[Xperia Z Original Android Development] Supersaiyan.IV:
It's a bug that was fixed in 4.8.3 but resurfaced in 4.9 and 4.9.1.

The actual gcc bug report.
[Xperia Z Original Android Development] thomas1991_12:
Yeah GCC 4.9 has its problems, still not sure which toolchain I should use. 4.9 seemed good for kernel, but 4.8 may be better for ROM. I think ill stick with linaro.

What do you guys think?
[Xperia Z Original Android Development] BrateloSlava:
Try to use this toolchain and look at the size of the result.
[Xperia Z Original Android Development] hadramos:
Yes me too. I did not check the temperature but it's very very hot.

My Xperia Z is very very slow and I have great difficulty has unlocked by the scheme...
[Xperia Z Original Android Development] Tommy-Geenexus:
Stick with Linaro.

I've tested Sabermod a while ago and didn't got as good results as with Linaro.
[Xperia Z Original Android Development] B14ck7hund3r:
+1. Battery life is insane on this build. Never had above fifty percent after twelve hours with three hours screen on, google location enabled, browsing, listening to music, etc before.. Even WiFi and Bluetooth are always on.
[Xperia Z Original Android Development] Aka91:
+1 on that

Getting 4.5 hrs screen time with location and wifi on..all time

3g usage too.

Couple of vids,half an hr gaming

This is insane.

But i like it . :D
[Xperia Z Original Android Development] aidfarh:
Updated Adreno binaries

I was browsing the forums and stumbled onto this:

http://xdaforums.com/nexus-4/general/qualcomm-adreno-gpu-binaries-t2667759

I wonder if applying this will benefit our phones. Maybe I'll test it myself when I have the time.
[Xperia Z Original Android Development] fards:
I've been using them since qualmcomm pushed them out the other day. Few more points in antutu 3d tests, couple more fps in some games.

Not seen any downsides yet.
[Xperia Z Original Android Development] aidfarh:
Are you using them with this rom (KMA) or with another rom? I just tried them with KMA, but my phone won't boot.
[Xperia Z Original Android Development] fards:
Both. Was using them on another rom, then installed them with this one when I clean installed it.
[Xperia Z Original Android Development] BrateloSlava:
+1. I'm try a300 & a330 variant from this page - phone won't boot.
[Xperia Z Original Android Development] Irseq:
Flashing "UPDATE-adreno-drivers-deb-flo-mako.zip" works :)
[Xperia Z Original Android Development] BrateloSlava:
Just installation path - different from ours.
[Xperia Z Original Android Development] :
Confirmed. Crashes for me too. Running dalvik.
[Xperia Z Original Android Development] Tobbyax:
Thanks! It’s not just me. :)

Running Dalvik too.
[Xperia Z Original Android Development] thomas1991_12:
Yeah confirmed. Spotify crashes, dunno why atm. Something with the libs I guess.

Here is a new build with some improvements in ramdisk and mpdecision: https://drive.google.com/file/d/0B7XCSgymRoP0R0F4Vkppd3l3eDQ/edit?usp=sharing

BTW: Does anyone know if spotify fc's in nightlies too?
[Xperia Z Original Android Development] Tobbyax:
Just tested and it works fine with cm11 2014-04-20 official.

The last working versions with latest Sony blobs is the one made by Infected with your git repo (2014-04-10), and the ones you published before this one.
[Xperia Z Original Android Development] hutilicious:
had audio stuttering on custom mp3 notification sound today..someone expirienced this too?
[Xperia Z Original Android Development] Tobbyax:
I confirm I have audio stuttering frequently with the two (or three?) last builds. Listening to music, podcasts, notifications…
[Xperia Z Original Android Development] :
Which performance profile do you have set?

I've noticed that if you have it set to "balanced" or "power save", audio does stutter every now and again. But when set to "performance", I don't have any problems.. That's both with this rom. and the official nightlies.
[Xperia Z Original Android Development] Tobbyax:
I’ve let it by default: “balanced”.

But it was working fine without audio issues some builds ago! :)
[Xperia Z Original Android Development] buche23:
Stuttering

Same here. On 06042014 no audio stuttering (I do have infected's MPdecision file on top, but that shouldn't help but make it worse afaik), on 21042014 there is the audio stuttering. Haven't tried on 2004 as I coudln't make a call ...

And now I'm on the wrong system to take a log.... amateur move. If nobody else get's around to do it I'll revert back tomorrow evening.

[MENTION=3358925]0skyler0[/MENTION]: If you do anything that raises the minimum frequency of the CPU fixes the stuttering, but of course raises the power consumption.
[Xperia Z Original Android Development] thomas1991_12:
No idea what causes that spotify FC, seems to be something with the liborbit library in spotify and with the libc in my build.

As for audio, I havent noticed it myself yet.. Only thing I can think of is MP Decision, other then that there were no relevant changes on my part..

EDIT: [MENTION=1077833]infected_[/MENTION] hinted me that it could be the linaro toolchain thats causing issuess.
[Xperia Z Original Android Development] buche23:
To make things worse, I just happened to repeat the stuttering on the 06042014 build. Seems that before the phone was not in deep sleep for some reason.

So scratch my comment about it not showing up at all. Seem to me like short notifications like Whatsapp work fine. First second of my ringtone is also fine, then I have the distortion, then it's back to fine again.

So, to provide as log I restarted my phone, tried calling twice ... both times it was just fine ..... log is attached I assume it's as worthless as a log can be.
[Xperia Z Original Android Development] :
Thomas found any relevant thing causing mp-Dec error I was searching on your commit there is nothing major changed that can cause this error...:confused:
[Xperia Z Original Android Development] rlees85:
Do we need all the Linaro stuff? Can't say I have ever noticed a difference in performance with or without it.

I guess there has still not been any luck with other devices? As much as I appreciate the hard work that has gone into this, it would still be great to see it merged into mainline Cyanogenmod. It seems FXP don't really support these devices anymore and when Thomas buys a new phone the Xperia Z's days are pretty much over...

I am still wanting to squeeze another 18 months life out of mine yet! ;)
[Xperia Z Original Android Development] thomas1991_12:
No worries, I don't switch phones fast :)

As to the mainline thing, I have no control over that. Of course CM wants to see all devices tested and I can't do that as I only own a Z.

I have been experimenting with toolchains (together with [MENTION=1077833]infected_[/MENTION]), it seems that only the stock toolchain works with spotify.

I'm now working on a highly optimized version of my kernel with 4.10 toolchain. (O3, Graphite, Sabermod and some kernel improvements) Im hoping to keep that as default. Rom will be built with Sabermod 4.8. Expect an upload today or tomorrow.
[Xperia Z Original Android Development] deepongi:
well... thomas did it ... :)

new build 20140425 with improved kernel 3.4.87, compiled with linaro 4.10 (arm+graphite) is uploading...! (but very, very slow... 60kB/s :rolleyes:)

having issues with my internet provider.

50m and its online..

http://infectedbuilds.net/downloads/yuga/infected_thomas_builds

regards.
[Xperia Z Original Android Development] thomas1991_12:
Dunno when you synced, but im now redoing some of the commits on my git because of the bug in graphite. Should be done this evening, ill then upload a build myself too.
[Xperia Z Original Android Development] Aka91:
Is there any way to get the walkman working on this,so far the rom is good..

I managed to install album but walkman installation says app not installed! :(
[Xperia Z Original Android Development] deepongi:
I synced yesterday when I told you, 21:49, after you said you pushed to github the changes to the kernel..

---------- Post added at 10:56 AM ---------- Previous post was at 10:56 AM ----------

Well there's no point on this build then... I'll cancel the upload.
[Xperia Z Original Android Development] iKillCypher:
Thomas if you are reading this once kit Kat is out for the official stock Sony merge the blobs and kernel... That should fix everything and also noticeable difference :)
[Xperia Z Original Android Development] Aka91:
Headed here to post this!

Great news huh?

Yay!

Celebrations
[Xperia Z Original Android Development] Irseq:
Oh I see now. For Xperia Z this is /system/vendor/lib/ instead of /system/lib/.
[Xperia Z Original Android Development] Aka91:
How does it help our device exactly?

And simple flashing this file will do what?
[Xperia Z Original Android Development] aidfarh:
Simply flashing the file will copy the blobs to the wrong path for our phone, so it won't actually do anything. You need to either manually copy the blobs to the right path, or modify the zip so that it copies the blobs to the right path. I did this, but my phone wouldn't boot. I guess the KMA kernel is not compatible with Qualcomm's blobs.
[Xperia Z Original Android Development] BrateloSlava:
+1. I'm create two installation script with correct path. Phone not boot after any of them. For this ROM we need other blob.
[Xperia Z Original Android Development] bnm15:
for those who gets above 3hours screen on time...can you share your undervolt setting? what governors do you use?

I undervolted my cpu and i use interactive. i usually get around 3hr screen on time (wifi on, location off, greenifiied some system apps, phone booted for 18hours) and then battery dies..drains pretty fast actually, not enough for daily use. how could you guys possibly achieve such battery feat with over 3hours screen on time?
[Xperia Z Original Android Development] Aka91:
No undervolting

Using as is

All i did was...privacy guard options..denied wake,keep awake,location permissions to google play services.
[Xperia Z Original Android Development] B14ck7hund3r:
Governor: Pegasusq (based on ondemand but better battery life and almost equal performance to interactive), intelliplug, 100mV undervolted.

Normally I'm not a big fan of custom settings, but interactive seems a bit slower than it used to be (Google play music over bluetooth is lagging every few seconds)

Edit: also set auto screen brightness to 'very fast'
[Xperia Z Original Android Development] naitik2012:
Hi [MENTION=2228255]thomas1991_12[/MENTION]

i need just a small help..

how can i use updated adreno blobs/libs/binaries which are available in ur ROM in official CM11 or infected's CM11 ?

please help me
[Xperia Z Original Android Development] bnm15:
thank you ! :) i will try your settings and see how my phone will react
[Xperia Z Original Android Development] BrateloSlava:
Have you read this?
[Xperia Z Original Android Development] naitik2012:
i dont want to use those binaries/libs.. i want to use the updated binaries/libs/blobs which are available in Thomas's ROM... is there any method to use Thomas's updated adreno libs in official/infected's CM11... i dont want any other things just want updated .233 adreno libs/binaries/blobs...

please help me Thomas

Thanks :)
[Xperia Z Original Android Development] yogeshr699:
Wow nice ROM... Works nice...

Thank u for the efforts...

Can some help me how I can change DPI ....?
[Xperia Z Original Android Development] hadramos:
Change this in the file /system/build.prop or use System Tuner Pro and change ro.sf.lcd.density

For me I put 420 ;)
[Xperia Z Original Android Development] yogeshr699:
Bro where exactly in System Tuner Pro I need to enter those values

Could give me the path..!

Sorry for the noon question I couldn't find it...!! :confused:
[Xperia Z Original Android Development] hadramos:
In System Tuner Pro, you use System manager and tab Build and edit this line.

You need Reboot for it to take effect
[Xperia Z Original Android Development] yogeshr699:
Thanks aton...mob looks cooler...!!
[Xperia Z Original Android Development] yogeshr699:
Wow this the best Rom I have used for my Z in terms of battery life and in terms of performance...

Sent from my Xperia Z
[Xperia Z Original Android Development] thomas1991_12:
I think im ready for a new release with the rebuild kernel (much improved stability). Expect it tonight or tomorrow.

BTW I also have a Xperia Z in parts for sale (except LCD+Digitizer+back cover), send me a pm if your interested.
[Xperia Z Original Android Development] Tantawi:
Cannot wait!!
[Xperia Z Original Android Development] thomas1991_12:
New release is up, small changelog in OP.

AOSPA will follow tonight.
[Xperia Z Original Android Development] Tantawi:
With today build, same happens like with August 7th, and July 30th builds, Sony logo appears then black screen... (clean installed after formatting all partitions), the only way to boot for me is to fastboot boot.img from July 29th build which boots fine.

How can I help you diagnose this problem?
[Xperia Z Original Android Development] zakitheracer:
Finally I can have .233 blobs and USB otg together [emoji16]

Thanks alot for the new kernel :)
[Xperia Z Original Android Development] deepongi:
@thomas1991_12, why are you using cm-11.0-next on the new build?

last commit on that branch (338831 commits) was 5 months ago.. latest commit on cm-11.0 (340910 commits) branch was 19 days ago.. thats a 2079 commits difference.

if you wanted a more stable branch, imo why didn't you use the same than M builds, stable/cm-11.0 branch? still you would be very far behind..
[Xperia Z Original Android Development] lonixlon:
18th build not showing in your g drive Thomas.
[Xperia Z Original Android Development] sekac55:
Look here is it :)
[Xperia Z Original Android Development] iKillCypher:
guess I have to do another clean build ? will wait for good response before flashing :\
[Xperia Z Original Android Development] Supersaiyan.IV:
Identical behaviour, and same remedy procedure here.
[Xperia Z Original Android Development] thomas1991_12:
Dont know why you think its 5 months ago, its july 10 2014. (https://github.com/CyanogenMod/android_kernel_sony_apq8064/commits/cm-11.0-new). Cm 11 new branch is started by CM team based on official sony 4.4 kernel. So im not behind, but the opposite.

For the guys with not booting, is this a clean install or a dirty flash? Because with both i cant reproduce it.
[Xperia Z Original Android Development] deepongi:
lol... my bad... i mixed the phones up... was looking at Z1 kernel.. :p

https://github.com/CyanogenMod/android_kernel_sony_msm8974/commits/cm-11.0-next

sorry about that.
[Xperia Z Original Android Development] Tantawi:
I can produce it on both actually. If it makes any difference I'd like to add that I had the official Sony 4.4.2 installed at one point, may be this updated some firmware that's having an issue with the current kernel? The kernel started not to boot since the July 30th build, everything before that was perfectly fine.
[Xperia Z Original Android Development] jpacho89:
Has anyone made a dirty flash? Because I am on 21st July build and I don't want to reinstall all apps again... Thanks thomas always great job ;)
[Xperia Z Original Android Development] SuperHanss:
[MENTION=2228255]thomas1991_12[/MENTION] Did you come across this error?

../../../../../../kernel/sony/apq8064/include/linux/swab.h:49:31: warning: 'dport' may be used uninitialized in this function [-Wmaybe-uninitialized]
../../../../../../kernel/sony/apq8064/net/netfilter/xt_socket.c:277:9: note: 'dport' was declared here
In file included from ../../../../../../kernel/sony/apq8064/net/netfilter/xt_socket.c:22:0:
../../../../../../kernel/sony/apq8064/include/net/netfilter/nf_tproxy_core.h:175:6: warning: 'saddr' may be used uninitialized in this function [-Wmaybe-uninitialized]
error, forbidden warning: nf_tproxy_core.h:175
make[4]: *** [net/netfilter/xt_socket.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CC drivers/pci/pci-driver.o
make[3]: *** [net/netfilter] Error 2
make[2]: *** [net] Error 2
make[2]: *** Waiting for unfinished jobs....

I'm building your new kernel (cm-11.0-new) without a custom toolchain. I know the simplest thing to do is to treat it as a warning but I'd rather fix it properly.

Any ideas?
[Xperia Z Original Android Development] AngelBob:
I resolved that by removing gcc-wrapper - https://github.com/HydraCarbon/andr...mmit/823a620ce70b682559616a8d028389dd05965546
[Xperia Z Original Android Development] thomas1991_12:
Warning is pretty clear; You need to initialize the uninitialized variable, for example in xt_socket.c;

__be16 dport -> __be16 dport = 0 or __be16 uninitialized_var(dport)

Could someone with a non booting kernel do this;

Flash my kernel, try to boot. Then boot in fastboot, flash a working kernel of my builds. And then get a last_kmsg.
[Xperia Z Original Android Development] Tommy-Geenexus:
Look at my github.

Fix is one of the first commits.

https://github.com/Tommy-Geenexus/a...mmit/ea77b52c87b45c456bb47d8dea43cc093aa62376