[Xperia Z Android Development] Hagar76:
Still having issues. Could I please get some help in sorting these out...

Brightness automatically adjusting itself...

I always set it to 100% as all of my usage is day time. Often when I pull it out of my pocket it has reduced to a lower setting. I installed a brightness widget so that i could at least quickly change it back. This is hard to do in full sunlight at a low brightness setting! See in the picture that the widget still shows what I last set it to, but the popup shows what it actually is...

[IMG="Brightness auto adjust"]https://drive.google.com/file/d/0B7OGcalUJSgHRnItTmVnNWE0UjA/view?usp=sharing[/IMG]

Screen coming on in pocket...

Often I feel the phone getting hot or vibrating in my pocket. When I pull it out it has been doing some strange things. If locked with a pattern, it may have gone into Emergency and actually dialed numbers and sent. Sometimes I become aware of this because I can hear sound coming from my bluetooth headset in my shirt pocket. When I listen to it, its a recorded message from aincorrectly dialed emergency services number. Of course it doesn't show a log of what was dialed. It has even dialed a correct number once and I had to apologise for the pocket dial.

Phone Frozen...

The phone freezes/locks up, sometimes several times a day. Sometimes this prevents me from answering a call and if its a private number, I have to hope they leave a message. The Power menu will show but mostly is inoperable as well and my only option is to hard reset. Sometimes it seems partially frozen where I can unlock by slowly doing the pattern. Once unlocked, the phone is really not usable - Doesn't respond to presses. On occasion though, it will suddenly execute a **** load of seemingly random screen touches (and vibrations), as if the command buffer was finally unfrozen and its doing every touch I had done up to that point, in quick succession.

Random Happenings...

Because of the phone lockup issue, I tried disabling the pattern lock to see if it was that. After a day or so, it had not locked up but instead of dialing emergency numbers I would find that it has unlocked, then moved or removed items, opened programs, drafted multiple text messages with random letters, dialed numbers, some random, some in the phone book. Unfortunately, removing the pattern did not solve the lockup anyway, so, I had to re-enable the pattern lock.

What I have done to try and solve...

I have gone through the list of installed programs multiple times and disabled unnecessary ones, to no avail.

I have changed from pattern lock to slide. Seemed to help but a day later, same lockup and random touch issues.

Tried to select 'Bug Report' from the power menu but as stated, its frozen to so I can't.

Check frequently to see what its been doing in my pocket to try and avoid unwanted calls and untimely lockups.

Checked every setting for auto brightness adjust - found nothing that is enabled

Is there a diagnostic or log program I can run that will identify what is causing this and send it someone for analyses.

What do I have to do to fix these issues? I like the capabilities that rooting and a ROM gives me but I cannot continue with a phone in this condition. Do I just give up and go back to stock?

---------- Post added at 10:22 AM ---------- Previous post was at 10:07 AM ----------

Notes:

The battery level does not seem to have an effect on this. It happens at any level.

The phone does not seem to lock up when its not in my pocket.

Add...

Per issue previously queried - Screen does not come alive when i pull it away from my face, and sometimes there is a delay on incoming call before I can answer. Sometimes, I have to press power to bring screen on. I do not know how to adjust the proximity sensor.