yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] Hellscythe:
Hey Thomas, so what benefits do end users see from the latest kernel and blobs? :)
[Xperia Z Original Android Development] deepongi:
just one small question. OP states build is compiled with linaro 4.8, but on your manifests you have linaro 4.7, and when downloaded its linaro 4.8... it was easier just edit TARGET_linux-arm.mk and replace 4.7 for 4.8, and you didn't had to "trick" build to compile with 4.8, under the name of 4.7...

just my 2 cents.. :)

regards.

edit: hmm.. build breaks. i didn’t changed anything. you need to patch some repos to build with 4.8 ... kernel code you don't have to, but rom code need patches/cherry-picks so it build straight and doesn’t break. sure that’s a full linaro build? kernel you can see with cpu spy free (xda edition), but the rom code there’s no way to find out...

build log: http://www.mediafire.com/view/zda4jajx3xdjlvq/build_log_thomas.txt

edit2: also this on manifests,

<project path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.7" name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7" groups="pdk,linux,arm" remote="aosp" revision="refs/tags/android-4.4.2_r2" />

this is the toolchain for the kernel, but is AOSP and not linaro, despite kernel is in fact compiled with 4.8.3 ... :confused:

i'll recall my last frase from previous edit, are you building ROM code with gcc 4.8? which patches/cherry-picks you used on which repos?
[Xperia Z Original Android Development] rebelos:
Thomas ,

bro that hot plugging & MP-decision issue still left ..
[Xperia Z Original Android Development] liptonace:
MHL Logs; TV - Samsung UE32F6410 - no signal on screen
[Xperia Z Original Android Development] thomas1991_12:
I used the trick because ccache didn't pick up on a new folder and to save HD space. I didnt feel like cleaning out my entire ccache for it.

Build breakage should be fixed now, just dont understand how I could have built my first build without the error :confused:

The toolchain for kernel is in the prebuilt folder under name Linaro, the repo you are referring is not used to build android afaik. This one is: arm-linux-androideabi-4.7, and that one has linaro in it.

For MHL, the logs don't show me any specific errors and I cant test myself, so atm I dont know whats causig it, does it work on CM nightlies?
[Xperia Z Original Android Development] thomas1991_12:
Mostly the new drivers from latest Stock Sony (like camera, audio etc)

Also kernel patches from stock.
[Xperia Z Original Android Development] thomas1991_12:
Yeah I know, but I first need to know if it does work in CM nightlies..
[Xperia Z Original Android Development] ZeRoWaR:
No, it only works on Stock Roms and i've seen it working on pabx aosp Roms.
[Xperia Z Original Android Development] Hellscythe:
so for users it will have the same quality camera and audio etc as stock 4.3 rom?
[Xperia Z Original Android Development] hutilicious:
nope you will never reach that quality as Sony stock uses better camera software and bravia engine.

btw, love that google drive download speed. wonder why people didnt do that before
[Xperia Z Original Android Development] deepongi:
weren't you looking to test on other fusion3 devices?

i got an odin user, that i been making a few test builds for it, despite i dont have an odin.

i can talk to him, and he would gladly try your odin build, for sure. hardware is the same, basically.
[Xperia Z Original Android Development] Aoi_sora9x:
Does the Sony kernel help with the battery life?
[Xperia Z Original Android Development] hary232:
technically yes
[Xperia Z Original Android Development] thomas1991_12:
I don't have the blobs for Odin, you could try to do a build with my repo and get the blobs from an odin dump.

BTW: Can anyone confirm if MPdecision is working in CM nightlies?
[Xperia Z Original Android Development] deepongi:
latest XZ CM 11 build using thomas1991_12 commits (i asked for permission to use them)

http://www.infectedbuilds.net/downloads/yuga/cm_11/cm-11-20140410-INFECTED-yuga.zip

compiled with custom toolchains (linaro & boosted-tc), -O3, and strict-aliasing.

regards.
[Xperia Z Original Android Development] hutilicious:
mp decision isnt working here too. What does that mean for my phone?
[Xperia Z Original Android Development] buche23:
In my perception every additional feature is another source for bugs, makes things harder to maintain or upgrade, as you add dependencies.

And just because you want to have something others can also voice their opinion and might not want to have that in the ROM for various reasons. Doesn't mean I'm right, doesn't mean you're right (though you might beg to differ on that one). Just seems we disagree, and ultimately it's up to Thomas, and that's all.
[Xperia Z Original Android Development] rlees85:
1. It doesn't bother me MUCH if this gets implemented or not. As you said I can turn it off.

2. I suggest you go away and learn how processor scaling works before posting inaccurate statements in block capitals. I think there are 10 or 15 processor speeds that the kernel can use. If you add 1.6 and 1.7 you will have to replace lower/mid speeds to make room for them. This will (slightly) affect how efficiently things will work for people who don't OC.

Again this is the last I am going to say on the matter. Its up to Thomas.
[Xperia Z Original Android Development] naitik2012:
if it cause any issues even small issue Thomas can simply remove those features from Kernel.. not a big deal ? if every one started thinking like u.. then we would have stuck on stock ROM permanently and CM , PAC , AOKP etc etc..will become only dreams for us.

Just consider it in friendly way.. No War Plz :p

yes, you are right !! i ll leave it up to Thomas :p .. he is the only one who is maintaining our device and providing us BEST CM ROMS in the whole world :D

long live KMA project , long live Thomas :D

Edit -

well , i think you are right here i haven't compare it with stock freq table as i use OC'ed kernel always.. but ill check this thing too.. may be some (1 or 2) lower/Mid speeds removed to make place for 1.6 and 1.7.... and may be it will cause 0.0000001% of more battery drain or may be not ?

well , i really dont wont to start any arguments on this thread but.....

ok now m not going to reply on any post(and kindly also avoid to reply on my post/comment). its up to Thomas.. he will decide..

Thanks
[Xperia Z Original Android Development] golfgtiedition30:
I just flashed this and....wow!!

All the kernal features are really great and everything works as it should.

This is the best cm build I have flashed on our XZ. Keep it up thomas :)
[Xperia Z Original Android Development] Tobbyax:
Battery drain due to Google Play Services

Do some of you meet problems with «Google Play Services» battery drain*?

Since the last blobs in this rom, the battery drains very fast, and in battery stats, I can see «Google Services» or «Google Play Services» are taking about 50-70% of the battery power, a lot more than screen for instance.

Doing some searches, I found that (http://blogs.sonymobile.com/2014/05...ia-z-xperia-zl-xperia-zr-and-xperia-tablet-z/)

Am I the only one here?

Edit: in fact, everything leads to think it is related to Google Services Location.
[Xperia Z Original Android Development] ghost7.me:
You're not the only one, I get it too. I initially thought it's because of me just "dirty flashing" the updates so I did a clean install with latest gapps but the drain eventually reared it's ugly head. Only work around I've worked out that temporally gets rid of it is clearing data/cache of google play services and doing so doesn't seem to cause any other adverse issues that causes things to stop working properly
[Xperia Z Original Android Development] buche23:
In general I had this behavior since ever

http://xdaforums.com/showpost.php?p=50601511&postcount=1125

Looking at it now, yeah, the play services could be taking a bit more than usual, but since unplugging and a bit of browsing / messaging / calling the google services come in 6th on the battery usage list, and BetterBatteryStats shows 3,1% per hour, so I actually have little to complain about.

Of course, I wouldn't complain about a few percentiles lower if Google can do anything bout it, either.

Buche
[Xperia Z Original Android Development] Tobbyax:
I’ve also tried clean install, deleting cache, uninstalling some google play apps such Play Books, deactivating location report, location, but nothing solved it…

The phone is quite warm during sleep, battery drains very fast, and I can see Google [Play] Services are always on top.
[Xperia Z Original Android Development] golfgtiedition30:
No such problems here...
[Xperia Z Original Android Development] Tobbyax:
Here is mine…
[Xperia Z Original Android Development] thomas1991_12:
I have had this problem myself too, only solution for me was to turn of Location. Drain is completely gone then. I guess its a bug in gapps, so just have to wait. Maybe when 4.4.3 gets merged or play services releases an update it will get fixed.

If you google the issue you will find 1000s of threads.
[Xperia Z Original Android Development] buche23:
Hmm, somhow I think you guys have it worse than me. See attached screens for battery drain and my location settings.

I have removed Google Talk/Hangouts and Some Text To Speech things, if your battery drain is worse than mine (and yes, my Google Play Services are version 4.4.52) maybe that's worth looking into. And just a general remark: The Facebook app eats battery like nobodies business. I highly recommend not using that piece of s##t at all.

Buche

UPDATE I do not have any wakelock remover or such things. Looking at better battery stats, I have PowerManagerService.WakeLocks for 28 minutes, stats are over 4 hour 53 minutes after reboot. My phone does not get warm at all when screen is off. TricksterMod shows 3 out of 4 cores offline when I'm not doing anything fancy.
[Xperia Z Original Android Development] webbimato:
This works for me. Xposed framework with wakelock terminator. Have to install xposed after every flash. You remember it when your pocket feels warm and battery is almost gone after half day of idle :p
[Xperia Z Original Android Development] nostupidthing:
just wondering, is the 2nd mic working on this rom? that you can get meaningful sound even when the main microphone (bottom of phone) is covered? afaik on official cm/fxp builds it doesn't... (not 100% sure though)

thx!
[Xperia Z Original Android Development] iKillCypher:
Only Accept Us Number ?! Follow The Guide :)

the only accept us number is caused by OpenCNAM

while it is only cause by outside us and the current cause is still unknown a bug report has been filed..

https://jira.cyanogenmod.org/browse/CYAN-4249

meanwhile you can go to dialer settings, uncheck the option "Reverse Lookup"

Battery Leakage ?! No Issue Follow The Guide :)

1) Setting -> Security -> Device Administators -> Uncheck (Android Device Manager)

2) Go To Google Play Store -> https://play.google.com/store/apps/details?id=in.andro.wlt ( Wakelock Terminator ★ root)

3) Install Run -> Install Xposed Installer ( Don't Worry It will Auto Download For you if you dont have it, upon opening the wakelock terminator)

4) Open Xposed Installer -> Install Framework -> Reboot

5) Open up Wakelock Terminator, choose to block Google Play services, and filter it with the following: NlpCollectorWakeLock NlpWakeLock CheckinService NetworkLocationLocator

:) Done +1

Download http://xdaforums.com/showthread.php?t=1179809 (BetterBatteryStats) If You Don't Believe Me :)

Credits : Sony, MstrKief

Myself For Guide
[Xperia Z Original Android Development] Tobbyax:
Ok, you’re probably right about an upcoming update, but I have to point out that with a dirty flash of official nightly CM, the battery leakage is totally gone. With all location & location reporting options activated.

It’s not a way to criticize your work I really appreciate, but to tell this bug is not only a gapps bug but a gapps + some devices blobs (including the last Sony one) bug.

Edit:

Sony acknowledged it: http://www.xperiablog.net/2014/06/0...ia-z-kitkat-battery-woes-provides-workaround/

They plan to release a new firmware very soon to solve this issue: http://www.xperiablog.net/2014/06/0...33-certified-for-xperia-z-zl-zr-and-tablet-z/
[Xperia Z Original Android Development] AngelBob:
The new firmware has nothing to do with this issue, it is a google issue.
[Xperia Z Original Android Development] golfgtiedition30:
What gapps are you guys using? I'm running pa minimal gapps and I have the best battery of any ROM I've tried!
[Xperia Z Original Android Development] nostupidthing:
very willing to test for dogo...

btw, is video recording w/sound from 2nd mic on this rom? (that's, any meaningful sound if you cover the 1st mic?)
[Xperia Z Original Android Development] golfgtiedition30:
Ref my previous post...the battery was great for a couple of days then it all changed. I noticed the phone getting really hot and the battery drain was terrible...all because of Google services.

I had to do a nandroid and restore my previous ROM. I hope this problem can get fixed because this is a really good ROM.
[Xperia Z Original Android Development] buche23:
I use the regular package from the cyanogen wiki

gapps-kk-20140105-signed.zip

I have uninstalled Google Talk/Hangouts as they always logged in and I kept getting notifications on my phone. I've had the NlpWakeLock for 28 seconds, the NlpCollectorWakeLock for 23 seconds over the last 2h33mins, according to better battery stats.

To me battery life is fantastic.
[Xperia Z Original Android Development] thomas1991_12:
If you hadn't noticed yet, a new build is up.
[Xperia Z Original Android Development] golfgtiedition30:
Is battery drain fixed?
[Xperia Z Original Android Development] thomas1991_12:
Its not up to me to fix, its a google issue i think.

BTW: I have uploaded an experimental zip with .230 blobs in it. (has -EXP behind its filename) This is probably just a one timer, to let some people test and see if there are any bugs with it. As we dont have the kernel source yet, it wont be integrated officially yet.
[Xperia Z Original Android Development] pabx:
As a workaround, you could use my google-play-services-watchdog called 'waldi' : https://github.com/adrian-bl-yuga/yuga-tools/tree/kk44/waldi

It works quite well on my own ROM - its a dirty solution but at least it gets rid of the battery drain (and makes the phone useable again)
[Xperia Z Original Android Development] thomas1991_12:
Thanks i will take a look. Should this be run as a service from init?
[Xperia Z Original Android Development] pabx:
Yes:

https://github.com/adrian-bl-yuga/device-sony-lagan/commit/d41291f592fb000c53f7f710767e2f321dd557b6
[Xperia Z Original Android Development] aidfarh:
New kernel sources are out! :D

Eagerly waiting for updated kernel.
[Xperia Z Original Android Development] Burag:
http://developer.sonymobile.com/dow...s/open-source-archive-for-build-10-5-a-0-230/

​
[Xperia Z Original Android Development] iKillCypher:
I have never seen anyone put so much work into a ROM before I honestly think what Thomas is doing is pretty way quite humble and nice of him now that kitkat source is out this ROM is going to fly :) also thanks PABX for the wali hack it seems nice after reading the source code would be updating after kk kernel and blobs are in.. Also the wali hack :) till Google fix it also since this a modified ROM of cm 11 why not remake the boot animation ;) just a suggestion... My days of developing has been falling apart... :)

I really hope fxp does something for the original cm seems to be dying off.. :) thanks Thomas
[Xperia Z Original Android Development] thomas1991_12:
Im working on the .230 source. Need to fix some 200 merge conflicts first. Then need to test the blob part. I hope it will be done this week.
[Xperia Z Original Android Development] hutilicious:
Hi thomas,

ive reached a point where i dont know what to do, so im asking you for help.

Im experiencing the following problem:

Sony Xperia Z Android 4.4

Wifi ON, wifi optimisation off => after phone enters deepsleep => getting push instantly

Wifi ON, wifi optimisation on => after phone enters deepsleep => no push at all => screen on: all notifications run in

Google Nexus 4 Android 4.4

Wifi ON, wifi optimisation off => after phone enters deepsleep => getting push instantly

Wifi ON, wifi optimisation on => after phone enters deepsleep => no push at all => screen on: all notifications run in

Motorola Moto G Android 4.4

Wifi ON, wifi optimisation off => after phone enters deepsleep => getting push instantly

Wifi ON, wifi optimisation on => after phone enters deepsleep => getting push instantly

Samsung Galaxy S Plus Android 4.4

Wifi ON, wifi optimisation off => after phone enters deepsleep => getting push instantly

Wifi ON, wifi optimisation on => after phone enters deepsleep => getting push instantly

Ive googled the **** out of me. Very well known problem. No solution. all I can say is:

Nexus 4 and Sony XZ uses the same Wifi chipset.

It doesnt happen with all routers, some routers dont bother about timeout and stuff.

So i suppose it has to do with blobs and kernel stuff.

After you updated all the blobs and kernel stuff, is there anything you can tell me about new Wifi Kernel stuff which doesnt cut the connection to a wifi after phone goes to deepsleep? Is there anything you can do about to investigate this problem and patch it in future builds of the kernel?

Are there any patches in the kitkat update?
[Xperia Z Original Android Development] iKillCypher:
I don't understand why are you asking this here it also I don't understand what is the issue you are facing it seems like some push or notification issue ? Yes we share the same chipset as nexus 4 but do take note each phone has it own variant so we can't help if you are facing something wrong which isn't a ROM issue even if it is.. You should file this in the to who develop :) Cheers
[Xperia Z Original Android Development] hutilicious:
Yes its a push notification issue. Wifi drops the connection after phone goes to deepsleep. Im posting it here because it cant be a ROM issue to the reasons i meantioned above. Same OS on 4 phones, some work in the same wifi, some dont. Im posting it here because thomas might have seen some wifi updates here and there which might adress problems like this. This problem is annoying and millions of people of the nexus 4,5 and sony family are suffering from it.
[Xperia Z Original Android Development] thomas1991_12:
Ive uploaded a test build with 4.4 kernel and blobs (13 juni) on drive. Please test it and report bugs to me. As far as I can tell everything is pretty operational, except the notification led, stays on some time for some reason.
[Xperia Z Original Android Development] diabole:
Great ? But why is there 2 13juni zips?

Skickat från min Xperia Z via Tapatalk
[Xperia Z Original Android Development] thomas1991_12:
Accidently uploaded 2 times, btw you may encounter backlight issuess; try and delete /system/vendor/lib/hw/lights.qcom.so
[Xperia Z Original Android Development] thomas1991_12:
Im uploading a new build as we speak. That one should have everything working and OK. Please report.
[Xperia Z Original Android Development] buche23:
Only did a short test. Sensors, speed, stability, all seemed good. Unfortunately Threema notifications would leave the notification light constantly on (white, which is strange, as Threema blinks orange). As I have to rely on the light to be working later today I reverted back. If you like I'll re-flash it tomorrow and make a logcat.

Thank for your work

Buche
[Xperia Z Original Android Development] hary232:
downloading right now.

quick question: are you going to include .233 sources soon since it's just released? thanks!
[Xperia Z Original Android Development] Burag:
I can also confirm notification light acting weird (stays on sometimes).

Apart from that, everything seems to be working fine and stable.
[Xperia Z Original Android Development] iKillCypher:
It is already based on 230 source :P and the latest kitkat blobs what more can you ask for and it is as close as how it works in offical sony rom other then features different since it is cyanogenmod

it is extremely fast :)

battery life is awesome * yeah google stuff is the only thing causing the battery drainage*

it contains the latest gfx driver and wireless driver :P for extremely nice smoothing p*** watching ;) well HD movies like 1080p with minimal phone getting warm for no reason

it contains the new 4.4.3 android from google

there is soundcontrol and Gamma control to enjoy rich HD colours and best sound you can ever feel

in other words he just pump our phone with the latest stuff that even a OEM would takes months to give in a matter of weeks ;) If I had a thousands dollars I would have gave it to him cause for one this guy just kicked stock rom to the lowest possible place you can imagine..

:cowboy:

I really don't know what to ask for anymore :D

what more can you ask for ?
[Xperia Z Original Android Development] golfgtiedition30:
Blowing Sony stock ROM away....you have to love it <3
[Xperia Z Original Android Development] buche23:
If everybody who spends a few hundred bucks on the phone and is using this ROM would give 10$ it would be a great thing. As far as I can see only 2 people donated to this ROM, which is vastly superior to anything else you can get for this phone.

I do not understand this. At all.
[Xperia Z Original Android Development] thomas1991_12:
Of course, agreed ;)

But on topic, still need to figure out the notification light issue. Logs dont seem to show anything, so this may be at tricky one. If anyone finds something in its logcat or kmsg, let me know.

EDIT: Ok its done. Notification led is working, full working .230 now :) I'm gonna do a few more things, expect an upload tonight/tomorrow.
[Xperia Z Original Android Development] B14ck7hund3r:
Thanks, what is your paypal address? Will donate on next wage. Finally a working version of CyanogenMOD

Gesendet von meinem Xperia Z mit Tapatalk
[Xperia Z Original Android Development] thomas1991_12:
Thanks, its thomas1991_12@hotmail.com

Also check the button on the left. Under the profile pic.
[Xperia Z Original Android Development] iKillCypher:
waiting for the new build :D
[Xperia Z Original Android Development] gothfox:
Anyone else had a problem with notification light turning on after any notification and not turning off until the phone is rebooted?

Also I was getting a steady 5.5%/h drain even though BBS reported the phone as mostly in deep sleep. Strange.
[Xperia Z Original Android Development] MattJaO3D:
yes, my notification light stays on , weird, let us know if you find a fix :)
[Xperia Z Original Android Development] aidfarh:
See Thomas's post a few posts up. He's already fixed the issue. Just waiting for him to upload a new build.
[Xperia Z Original Android Development] gothfox:
Oh. My bad, didn't notice the post. Eagerly waiting for a new build now. :good:
[Xperia Z Original Android Development] Tantawi:
It's up, it's up: https://drive.google.com/folderview?id=0B7XCSgymRoP0TjNDaGFneDRoLVE&usp=drive_web
[Xperia Z Original Android Development] diabole:
I have no service with the new build. Didnt get the the option to enter my pin code? i have no apn, and can not enter it manually either? edit: from nowhere the pin screan appeared and everything works fine☺

Skickat från min Xperia Z via Tapatalk
[Xperia Z Original Android Development] Tantawi:
Network works good (I don't use a pin code tnhough). Notification led is back to normal.

Very smooth!
[Xperia Z Original Android Development] thomas1991_12:
So you guys beat me to it. But yeah the new build is up, with full .230 kernel + source. Enjoy! If you encounter any bugs please report (afaik the google drain issue is still there)

If you appreciate my work please hit the thank button or make a small donation.
[Xperia Z Original Android Development] B14ck7hund3r:
Did you include the waldi watchdog?

Gesendet von meinem Xperia Z mit Tapatalk
[Xperia Z Original Android Development] thomas1991_12:
No not in this build, it didn't work on my previous. So no point.

BTW thanks for your donation.