yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] RohitBopnna:
Installed 0422 build and the recovery is back to CM recovery. Had to use Android Kitchen to repack boot.img to boot recovery from FotaKernel on My Yuga C6602.

wondering if i'll have to do this every time or is the TWRP script implemented into this ROM.
[Xperia Z Original Android Development] Zenns:
you could do the following RohitBopnna

http://twrp.me/devices/sonyxperiaz.html

so pretty much you can keep TWRP without losing it

anyone using this rom has any issue of : random reboot or call bug.
[Xperia Z Original Android Development] MinedSafe:
Here is the possible solution - For battery drain

http://xdaforums.com/oneplus-one/general/guide-google-play-services-battery-t2832525

Take a look at yours and let everyone know of Allowed times play services was Allowed.

My data:

Wake Up - Allowed 256 Times denied 1 since last 2-3 minutes

Keep Awake - every 2 minutes Allowed 242 Times and already 4 Denied since I disallowed it
[Xperia Z Original Android Development] andyvdsteen:
Wake up 220769, Keep awake 421793, Auto start 1370.

But I don't think it is the solution to the issue I described.

My issue is that battery drains fast and device getting warm, when screen turned on. With screen off, everything is okay.

I don't believe that Play Services wakes 220769 times in the 20 minutes I had the screen on. :) Play Services does this behaviour also when screen turned off.

But besided that, thanks for the tip! I did the changes as suggested. Let's see if it will save battery during the day.
[Xperia Z Original Android Development] Yndi:
I'm still getting random reboots, ever since 5.1.x

Clean Install.

Added a last_kmsg
[Xperia Z Original Android Development] Neo.Geek:
Anyone having this issue?

I started getting this only when I switched to CM12.1 22-4 build from pabx's AOSP build. Earlier I never had this issue on cm12 nor pabx ROM. I get this USSD pop up even though I'm constantly connected to wifi. Can you guys help me out with which logs to provide for it?

Edit: I do not get these pop ups if I have turned off mobile data
[Xperia Z Original Android Development] MinedSafe:
Take a look at ur mobile provider access points see if they ok. Turn of data roaming and maybe disable push msgs from operator. Disable data warnings in settings.Tunrn off 4g. Flash different baseband, baseband only. Nothing elese comes into my mind.
[Xperia Z Original Android Development] andyvdsteen:
Couldn't reproduce, and it doesn't seem to occur anymore.

Don't know if [MENTION=4472599]MinedSafe[/MENTION] 's tips solved it, but let's see now how battery usage is after his tips.
[Xperia Z Original Android Development] BrateloSlava:
Is it possible to edit auto brightness level in this ROM?
[Xperia Z Original Android Development] zakitheracer:
AFAIK CM12/12.1 havent added that feature as yet..
[Xperia Z Original Android Development] BrateloSlava:
Strange. I'm try to install TWRP or Philz via Rashr... But only internal CM recovery is loading. What is my mistake?
[Xperia Z Original Android Development] MinedSafe:
Developer option, change to update cm recovery to ON. This should do the job.
[Xperia Z Original Android Development] hutilicious:
no I dont think this will help in this situation., you should leave that option in off state.

I had the same problem, Ive downloaded official twrp 2.8.5 from twrp site and flashed it, now twrp booted.
[Xperia Z Original Android Development] MinedSafe:
OK I couldn't flash it until Ive put that option to on but maybe I did something else as well It was late at night I wasn't thinking clearly.
[Xperia Z Original Android Development] BrateloSlava:
Not helped
[Xperia Z Original Android Development] Zenns:
Is there anyone else getting random reboots? It seems like the last_kernel does not help much over here.
[Xperia Z Original Android Development] TrueFriend-cz:
Bug. If screen off after 4 mins disconecting WiFi. Reconnect after screen on
[Xperia Z Original Android Development] Neo.Geek:
Thanks a lot for the reply, I tried another baseband and the issue still persists. And I have constant msm_hsic_host wakelock which is killing my battery life.
[Xperia Z Original Android Development] swatchfb:
i can confirm random reboots after full wipe with latest build
[Xperia Z Original Android Development] MinedSafe:
Something is killing my battery as well as u can see. I had my WiFi of since the morning and its seams its on all the time. 32% up till 2:30pm is a no go for me as I use my phone for work and need it to last till 8 with no fuss and 3g on.
[Xperia Z Original Android Development] BrateloSlava:
[MENTION=4472599]MinedSafe[/MENTION]

Why such a "small" size of the screenshot? :D More you could not do? ;)
[Xperia Z Original Android Development] MinedSafe:
Sorry it looks small in taptalk. Didn't edited it.
[Xperia Z Original Android Development] TheAvngrZ:
a screenshot doesnt help... grab a log to help to identify the problem and then qsnc can try to fix it
[Xperia Z Original Android Development] BrateloSlava:
This ROM have not spontaneously reboot if manualy not change anything. Neither the CPU governor, nor the i/o scheduler, nor the multicore power saving.

EDIT:

"Another" unofficial CM build ???
[Xperia Z Original Android Development] TheAvngrZ:
Read this post and your question will be answered
[Xperia Z Original Android Development] RohitBopnna:
If you check Olivier's post on the TWRP Nightly 2.8.6, and check the 2nd post, its an issue with the boot.img in this rom, not having enough buffer size. He has the solution there as well
[Xperia Z Original Android Development] TheAvngrZ:
Calls still have issues...

When loud speaker is off:

I cant hear the one who phones me but he can hear me

When loud speaker is on:

Both things work but sometimes the voice of the caller ends in a wave of same louds

LOGS ARE ATTACHED
[Xperia Z Original Android Development] Jay_B:
Same thing happening to me. Didn't happen on infected build.
[Xperia Z Original Android Development] TheAvngrZ:
Logs help qsnc... ;)

Grap looogs man ;)
[Xperia Z Original Android Development] Yndi:
You cannot say this, only because you don't have reboots. As I mentioned, for me it haapend right while restoring apps. I did not switch anything until then. I went through the setup, downloaded TB via Playstore, enabled Developer options because I needed root and started to restore apps. Reboot happend after around ten apps.

However, since yesterday noon I got not one reboot I'm aware of, which is good, I'd say.

With your logic I could also say there are no phone bugs in this ROM. I myself get none and I'm phoning pretty much.

And because we got a real CM dev here: How come data roaming is on by default? Is it normal in many countrys to have it set this way? Because if I don't get a package for that from my provider the first setup can be pretty expensive.

Regards
[Xperia Z Original Android Development] golfgtiedition30:
And you should not mention reboots while restoring apps with TB.

Restore via play store , not via TB...
[Xperia Z Original Android Development] TheAvngrZ:
As far as I can say theres some things in this ROM:

- Phone calls are not possible for daily usage

- I dont know if this is ROM specific, but my phone gets extreamly warm on "updating apps" screen after flash

+ After a clean install, without some govenor changes e. g. I have no reboots at all

_______________________________

So as far as I can say so I see only this little issues
[Xperia Z Original Android Development] andyvdsteen:
I had the callbug some time ago, but none so far with the latest build (fingers crossed). Still not convinced that it is a ROM-issue, because also none CM-users, non-Sony users, and even some KitKat-users reported this issue. Some topics point to Play Services (mentioning several workarounds). Wish I could find a way to reproduce this annoying bug.

My phone always got hot when updated apps. Also on KitKat, also on my i9100. Has never been different for me.

Good to see some new active testers here.

Please know that official nightlies are still an option for this device. :)
[Xperia Z Original Android Development] Zenns:
Sorry mate, I had the callbug some time ago too and It was never cause by ANY Play Services, this is due to blobs issue that should be fixed in offical Sony L Release.
[Xperia Z Original Android Development] BrateloSlava:
Where have you seen "official nightlies"?
[Xperia Z Original Android Development] TheAvngrZ:
He says that its still an option to get them! Im not the best in english, but this little translation and understanding is not so hard

---------- Post added at 08:52 AM ---------- Previous post was at 08:52 AM ----------

Is youre device glewing? I mean mine gets extreamly hot! :D
[Xperia Z Original Android Development] Zenns:
Hello Guys

<cdesai> yeah but we brought in a new maintainer. and he's supporting it quite well I would say

<Zenns> who is it?

<cdesai> Georg

<Zenns> qsnc, uh yeah saw some changes in the kernel

Please respect him :) :angel:

[MENTION=5145127]qsnc[/MENTION]

thanks for bringing CM12.1 to our beloved yuga/Xperia Z will wait for the day when Nightly hits.

Thanks once again.
[Xperia Z Original Android Development] andyvdsteen:
My device gets very warm, but does not start to glow. :)
[Xperia Z Original Android Development] TheAvngrZ:
Yea ok so I'm not alone... Thank you :)
[Xperia Z Original Android Development] BrateloSlava:
Judging by the patches, the next build promises to be "interesting". :good: I'm wait for test it. :o
[Xperia Z Original Android Development] ux50jp:
Same with me but battery drains much faster than normal. :confused:
[Xperia Z Original Android Development] Zenns:
I will wait for the next Build to Test, anyone tested the AudioFX, you cant really adjust the Equalization over here, It will decrease the volume instead, someone may want to test and let me know.
[Xperia Z Original Android Development] qsnc:
new build up - give it a good spin...

however: please dont post "X isnt working" or "random reboots" - provide LOGS for each report you post here. this thread is actually meant for users who are capable of gathering and providing logs, so after a reboot, provide last_kmsg, and for all other problems, dmesg and logcat at the very least. i will have to ignore all other "problem reports" as they are essentially useless.
[Xperia Z Original Android Development] RohitBopnna:
Looks good.

I have Google Play services has stooped error on boot, but play services are working.

have not seen any issues so far, will be checking but any ways here are the Logs after first boot just in case.
[Xperia Z Original Android Development] redlee:
Try to flash 5.1 gapps

I had no problem with google play services at all
[Xperia Z Original Android Development] TheAvngrZ:
So far, so good.

No bugs found so far :)

Great work - everything works :)

When I find a bug, I'll provide a log.
[Xperia Z Original Android Development] BrateloSlava:
Someone in idle mode have the GPU frequency below 320 MHz?
[Xperia Z Original Android Development] TheAvngrZ:
Had a problem:

Had a black screen and after the reboot all apps had to optize again... No data lost I think

Logs attached
[Xperia Z Original Android Development] TheAvngrZ:
idle mode?
[Xperia Z Original Android Development] BrateloSlava:
What is not clear in my question?

Phone is idle:

- CPU - running a single core at 384 MHz

- flight mode enabled

- no "heavy" applications is running

...
[Xperia Z Original Android Development] TheAvngrZ:
you mean deepsleep :) sorry, never heared idle before
[Xperia Z Original Android Development] diemadedrei:
What are you doing in a development thread if you never heard idle? ? deepsleep and idle are not necessarily the same thing. The phone can be idling with the screen on, whereas deepsleep is usually considered the screen being off and no significant cpu time used.
[Xperia Z Original Android Development] TheAvngrZ:
Ok sorry man... haha my english is a bit worse :victory: to dont knwo a word isnt a case to say somebody has nothing to do in dev thread... we are both no android experts. pls dont start a "personal attack" like little kids! really! little kids argue and say it like that - this is my last word about you and your mind ;)

sorry OP to be off topic.
[Xperia Z Original Android Development] andyvdsteen:
I would say that 384 MHz is the lowest frequency before deep sleep. So if you don't mean deep sleep, than what exactly is your question/problem?

Do note that you first asked a question about GPU lower then 320, but in your response talking about CPU 384.

And before you start:

No, I am not a developer. Yes, I am in a development thread. :)

Just trying to understand your problem, just trying to help.
[Xperia Z Original Android Development] swatchfb:
Random reboot with 04-27 build aftet full wipe. This time with log. Hope it will help.

Please tell me if I did something wrong while providing my first log. I would really like to help keeping yuga with cyanogenmod alive.
[Xperia Z Original Android Development] TheAvngrZ:
https://play.google.com/store/apps/details?id=com.tortel.syslog&hl=de is a good app to grap all lags... atantion, "all logs" grabs all.

And I think this random reboots are a CM all problem, it also happens on other devices... But yea we'll see :highfive:
[Xperia Z Original Android Development] qsnc:
the log you provided is fine... the only trouble is that it doesn't really give a clear hint as to why your device rebooted... well, keep em' coming, maybe the culprit will be revealed in the next one(s).

you're pretty much the reason why this thread is still alive... that makes you partly a developer ;)

relax guys. yes, this is a dev thread, but still, let's try not to attack the less experienced :)

i'll be on a business trip in stuttgart, so i might not monitor my threads... please tag me if you post logs, that'll appear in my control center.
[Xperia Z Original Android Development] TheAvngrZ:
have fun in this cool city :D ;)
[Xperia Z Original Android Development] BrateloSlava:
Problem? Why GPU frequency never drops below 320.
[Xperia Z Original Android Development] SuperHanss:
Just a case of the GPU freq not being reported correctly:

https://github.com/SuperHanss/android_kernel_sony_apq8064/commit/e5db790e8210434c9bd26ea3ac285848941f1b99
[Xperia Z Original Android Development] BrateloSlava:
Thank you. I know the cause of this problem and how to fix it. But I do not do the kernel for this ROM.
[Xperia Z Original Android Development] SuperHanss:
Pushed it to gerrit.
[Xperia Z Original Android Development] swatchfb:
Another two logs after random reboots.

Edit: and a third one
[Xperia Z Original Android Development] qsnc:
did you have any usb connected while these happened?
[Xperia Z Original Android Development] swatchfb:
I think at least there wasn't a connection during the second and the third log. I'm not that sure about the first one.

But here's a log after charging this morning!

edit: For comparison: a second log 10 minutes ago after a reboot out of the blue. No usb-connection.

edit2: A third one after a reboot while being connected to PC via USB.

Thus we now have three different cases.
[Xperia Z Original Android Development] redlee:
I didn't have any reboots, call bugs, or anything

It seems to be stable with my Xperia Z :D
[Xperia Z Original Android Development] TheAvngrZ:
I had only the one reboot a few days ago where I prvided logs... and the rest feels stable :)
[Xperia Z Original Android Development] andyvdsteen:
Me neither.

Maybe he can explain what he did before the crash, so we can try to reproduce? What was he doing on the phone before it was crashing, which apps was he using?

Maybe we can at least figure out if it is the ROM or an app causing his reboots.

Or are more people having random reboots?
[Xperia Z Original Android Development] swatchfb:
I don't use GAPPS. What I use which is not stock: AdAway, AFWall+, Avira, DAVdroid, F-Droid, Firefox, K-9 Mail, OpenVPN for Android, Whatsapp.

I myself can't reproduce the random reboots as they don't follow a specific pattern. What I can say is that they mostly happen a few minutes (or at night a few hours) after not-using the phone (screen is off). On average it maybe happens three to five times a day.

Never had reboot-issues with Android 4.4.4 with CM 11 ( by [MENTION=1077833]infected_[/MENTION]) with the same apps.
[Xperia Z Original Android Development] TheAvngrZ:
Seems as there is no specific reason for the reboots which we can make sure with that way...

But I think that no GApps isn't the reason for random reboots...
[Xperia Z Original Android Development] __raptor__:
I also got random reboots. Mostly while listening to music via spotify. They mostly occur at a battery capacity of 30% to 40% and

something between 95% and 98%. No idea if it matters or not.
[Xperia Z Original Android Development] swatchfb:
I'd also say that it's not the reason but i wanted to state this out as I heard of problems due to GAPPS ;)

Interesting point but I definitely can't confirm it. Happens randomly to me.
[Xperia Z Original Android Development] andyvdsteen:
Can you provide logs when it happens again?
[Xperia Z Original Android Development] Cr33D OrB:
Few Questions

In this searched forum ,but nothing found :

Some Questions :

So USB OTG,screen mirroring and GPS Working (properly) ???

Yeah i know that this is a dev thread..

However i just wanted to ask,

i will flash and try..

Regards.

;)

EDIT : Just saw that there is a Q&A thread (im in mobile)

Sry for that :fingerscrossed:
[Xperia Z Original Android Development] andyvdsteen:
Flashed 0501

Screen goes black directly after booting, not responding to any of the buttons.

All I could do was Power + Volume up to force a reboot. Then it restarts optimizing apps, and again returning a black screen after booting.

Not able to grab any logs.

Restoring to the previous version.

edit:

If you leave the device for a few minutes, it will crash and reboot by itself. This time booting normally.

First impression: UI is more smooth.
[Xperia Z Original Android Development] buche23:
No GPS FIX and network lost

Hi, I'm on 20150501 version, ugraded from th 20150427. Minimal GAPPS installed. ROM working very nice, but two things I noticed:

1. My GPS will see plenty of sattelites, but won't get a fix. I found the following line in the log "no GPS configuration interface in configuraiton_update" which I could only trace back to people in emulator not being able to use GPS. I also started GPS Test Plus, hope this helps.

2. When switching WiFi on and Off (as I did shortly before starting GPSTest to ensure everything is going through the proper mobile network and I have no Wifi sideeffects for any reason) I lose the network signal completly, and it takes a while to come back up

I used Syslog to capture everything, hope this is helpful.

Cheers,

Buche
[Xperia Z Original Android Development] Cr33D OrB:
For GPS :

Try 'FasterGPS" from PS Store
[Xperia Z Original Android Development] buche23:
I tried that (well, actually I set the time server etc myself in the GPS conf) and it didn't work. So this log was made with the original files from the ROM.

However I found that this is somehow not uncommon among Sony devices, see here for example

http://talk.sonymobile.com/t5/Xperia-Z-ZL-ZR/GPS-Problem/td-p/336736

And I assume that with GPS test this is the same as "Clear AGPS Data" but it's not working neither.
[Xperia Z Original Android Development] Yndi:
Hi again,

a new build so I'm a little late with reporting from 27th of april, but anyway:
[MENTION=5145127]qsnc[/MENTION]

Thanks for the WiFi updates, for me it's notably better, let's see about the new build.

I had three random reboots I'm aware of yesterday. The first one without anything connected, the latter ones while charging(wall plug)

Also, the phone gets hot now, every now and then, or maybe every x. restart. I don't know for sure. Right now while writing this it is more then just warm on the backside around the camera, but it does not happen on every screen-on (even if I only count those with more then 10 minutes screen on).
[Xperia Z Original Android Development] ux50jp:
Flashed cm-12.1-20150501.

No boot problems, no heating problem.

So far all works fine!!!
[Xperia Z Original Android Development] __raptor__:
Last reboot occur today at about 60% battery capacity. So no proof for my theory. The reboot took place

in a short time period. I attached the last_kernel.log
[Xperia Z Original Android Development] Yndi:
[MENTION=5145127]qsnc[/MENTION]

ok, another round of reports:

I had the call/no sound bug and it's reproducable pretty easy for me now. I already had it one time, the original music player had some kind of problem and wouldn't let me stop the music so I had to forcefully close it, afterwards a phonecall had no sound, you don't even get the ringing. And with the 'One Piece Treasure Cruise' App there seems to be a sound problem, triggering this. When I play the game - media volume of my phone is mnimum- sometimes you though get a sound, like a messed up clash. After this happend, I've no sound while calling. Took a log after I quit the call. A reboot solves the problem. I will take a log after the sound in the game appears at the next chance.

And maybe you can forward this: I've still several issues with the trebuchet launcher(notable settings may be: size 5x4, big symbols, no caption, no searchbar(nowhere), adv. desktop(everywhere, hide status bar) :

-with only one homescreen I don't get an emty homscreen from time to time, with two it appears

-(one homescreen) : creating a folder with two apps, folder appears to be empty if opened; add another app, still the same; remove one of them, the remaining apps are shown.

-cannot create a new homescreen with an app from the app drawer, with an app from the first homescreen it's working.

-if I choose to add a new widget (small player) and drop it on the full first homescreen, the homescreen looks like zoomed out.
[Xperia Z Original Android Development] Yndi:
First log, as promised, right after the messed up sound appeared.

The two other logs are two reboots I got, nothing connected to the phone.
[Xperia Z Original Android Development] Zenns:
for those encountering reboot issue, Pabx (developer of first AOSP Yuga ) and Oliver (OmniROM Developer) has tackle the issue

http://xdaforums.com/xperia-z/orig-development/rom-omni-yuga-t3067440/page8
[Xperia Z Original Android Development] pyramid:
No they have not. commits that pabx suggested are already used by Oli, but it did not stop random reboots.
[Xperia Z Original Android Development] TheAvngrZ:
Had the error, that I cant connect to camera after I made a few pictures using the volume buttons to make "knips" :)

I grabed the logs after a reboot

Logs are attached... ;)

I hope this helps
[Xperia Z Original Android Development] Zenns:
issues seem to have pinpointed to sensors for the reboot issue, look at the logs in Omni Thread.
[Xperia Z Original Android Development] TheAvngrZ:
I hope that next build fixes some issues... :)
[Xperia Z Original Android Development] qsnc:
new build up with lots of changes. read carefully!

the logs here show no indication of a sensors issue. please dial up logging and try reproducing the problem(s).
[Xperia Z Original Android Development] Yndi:
upgrading from previous build did not work here. After the Sony logo the device seemed to be turned off, only a hard reboot helped. I restored my backup and will flash clean if someone reports that it is working.
[Xperia Z Original Android Development] andyvdsteen:
Sounds like what I already had with the 0501-build.

What if you leave the device for a few minutes?

I'll try this evening. (On my way to work now.)
[Xperia Z Original Android Development] TheAvngrZ:
I had also a problem with the new build.

I installed it (with a cache and davlik wipe) and after I pressed reboot, the phone booted up to SONY logo and then it doesnt go into CM-Boot screen.

But after a hard shutdown I tried again to boot the phone and it worked as it should be.

For now I dont see new bugs or something like that.

Thanks for this build! :good: :highfive:

Logs are attached.