yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] benjmiester:
Almost certainly. In fact when using m5 kernel 1.1 on newer than 12-4 build, WiFi doesn't work so I get continuous restarting. Sometimes with power button, sometimes just does on its own after a min or two.
[Xperia Z2 Android Development] deepongi:
nightly 20141208 is up.

regards.
[Xperia Z2 Android Development] joeliomason:
The screen doesn't turn off when locked, it will turn off and then go back on but as a black screen, quite hard to explain, but just a heads up, might need to revert to 6 :)

Will there be a paste of code so we can have a look at what changed?

Keep up the great work (Y)

Edit: disable daydream, for some reason it is on by default, this should fix any issues :)
[Xperia Z2 Android Development] Karl-Johan:
Deepsleep doesn't work on todays build.
[Xperia Z2 Android Development] dkionline:
Mobile is broken ^^
[Xperia Z2 Android Development] deepongi:
working fine here, latest build. please dont report bugs that dont exist, or exist because of your fault... screen in attachment.
[Xperia Z2 Android Development] joeliomason:
TETHERING NOW WORKS! This is officially my daily driver, **** the camera, who takes pictures anyway? #selfie

Keep up the good work mate! :)
[Xperia Z2 Android Development] adyscorpius:
Please report issues only after a fresh flash. If you still have problems, report issues after a full wipe so it can be isolated to the ROM and not to a rogue app.

[MENTION=1077833]infected_[/MENTION] you might want to ask people to provide logcats so its easier to get actual issues.
[Xperia Z2 Android Development] dkionline:
OK, fullwiped now, Problem gone.
[Xperia Z2 Android Development] moman2000:
When i enable quick boot from developer options and i press power off my phone does nothing it wont turn off but when i disable quick boot it does power off, is the quick boot code not finished. I would love to have quick boot working.

Thanks,

Mohamed
[Xperia Z2 Android Development] deepongi:
not enabled yet, you need to wait a little longer..

there was a quickboot.apk that worked on kk.. try search for it, but dunno if it works on lllpp.

regards.
[Xperia Z2 Android Development] moman2000:
[MOD][CM11 ONLY] QuickBoot for CyanogenMod 11 i tried this and i enabled quick boot then pressed power off and then this popped up >>> "quick boot stopped working"

Thx anyways,

Mohamed
[Xperia Z2 Android Development] twistedddx:
Deep sleep works fine for me.

Tethering also now works as mentioned!

I had a weird thing last night where the screen brightness kept switching to way above 100%.

Eg adaptive brightness on, at random times screen would be brighter than adaptive off with manual brightness set to 100%.

This may have been related to the below 5% battery saver kicking in as battery was low, although the status bar was not turning red.

So far after charging the issue has not happened again.
[Xperia Z2 Android Development] kokesh:
I'm thinking... even if we get current 4.4.x camera blobs working, we won't get Lollipop features (exposure, raw,...), as we would have old KitKat APIs, right?
[Xperia Z2 Android Development] RedSkyRoad:
Apart from the /data partition that causes errors when not doing a full wipe, the /sdcard/Android/data/ folder is to blame as well. It is a good practice to ALWAYS wipe this folder when flashing clean OR dirty.

---------- Post added at 08:20 AM ---------- Previous post was at 08:18 AM ----------

Camera FV-5 supports RAW on Lollipop.
[Xperia Z2 Android Development] Svid:
Well i have data connection issues aswell here.

Dew developers managed to fix the routing of mobile connection and other major basic stuff, so i guess we are step closer to daily driver.

Any news about the camera?
[Xperia Z2 Android Development] benjmiester:
Yeah, mine said that too. I just ignored and hoped for the best and all any fine.
[Xperia Z2 Android Development] chesterr:
Does the new build wipe internal SDcard still or is it fixed?
[Xperia Z2 Android Development] adyscorpius:
The recovery flashable zip files dont wipe sdcard.
[Xperia Z2 Android Development] chesterr:
Oh cool, cause it was mentioned in the second page, that's why I asked to reconfirm it again. :highfive:
[Xperia Z2 Android Development] adyscorpius:
What is mentioned is that the recovery that comes stock with this ROM has a wipe data option, that shouldn't be used because it wipes the sdcard alongwith data.

infected_ has already mentioned the way out in OP.
[Xperia Z2 Android Development] deepongi:
Yeah... I am trying to fix it. i reached @cdesai and @kali on cm dev channel about it ... it's not an easy fix... Tried several commits they pushed, different patch-sets, still its a no go...

Sadly we must wait.

Its really one of the two things needs to be fixed, to remove the title of experimental builds...
[Xperia Z2 Android Development] furrypotato:
Any ideas on the no 3G data some of us are getting. The H or £g symbol appears briefly and sometimes pops back up but then goes and no data works. Switching to 2G works.

Would a logcat help as I have a couple and could email them to you ?
[Xperia Z2 Android Development] brouwerchris:
Build 20141121 has issue with mobile data connection,difficult to connect and instable once connected .

Build 20141120 does not have this issue,I have a stable 4G / LTE connection at 25 mb/s all day.

Thanks for bringing Lollipop to the Z2, :thumbup::thumbup:
[Xperia Z2 Android Development] Manya3084:
Looks like the latest commits should fix the data problem.
[Xperia Z2 Android Development] deepongi:
yes, data is ok, but incall audio is still not working.
[Xperia Z2 Android Development] adyscorpius:
There are alot of ril fixes commited.. Anyone built it to check if audio in calls is fixed? Would be a dream come true! :highfive:

Edit: Just saw your posted infected_

:P
[Xperia Z2 Android Development] benjmiester:
2 Small issues that I noticed after using for a full day. (all day at work as my DD btw, and like 95% good for it too :D:D)

1) I use an app called Talkbox to communicate with my dispatch center with the company I work for, and it has GPS enabled so they know where I am when sending a message. Anyway, I noticed after sending the first message with GPS on (all of which works perfectly fine), the location symbol in status bar stays on and never goes away. I was wondering if anyone else has this, mabye with maps or anything else. It doesn't seem like it's actually on as far as constantly locating because battery life is still pretty decent.

2) Whenever I play something via the speakers like a Talkbox message, or video, it starts loud but seems to automatically turn itself down somehow. Like an autovolume thing.

Other side note: I couldn't get the new LolliViper4Android 2.3.3 to work. Installs and installs the driver, asks for root, acts like it installed but no change in sound and driver status seems to show nothing's running. Probably way to early in the build to be messing with that, but just in case anyone else wants to know. So far, it doesn't seem to work unless there's a different process or something. It did mention some complicated stuff about permissive kernel which is a little above my paygrade.

Neither one of these is much of an issue, so no big deal. Just curious if anyone else has any issues.

All in all, it's running great and works fine as a daily driver for me already. :good: I don't mind the camera not working atm. Of course I'll probably come across a monkey juggling baby unicorns on a UFO or something since I don't have a camera to shoot it on the spot lol! Oh well. I currently don't use bluetooth either.
[Xperia Z2 Android Development] Sandzhaj:
What about your battery life?
[Xperia Z2 Android Development] zantekk:
Just flashed latest build and test it. Lollipop is so ****ing awesome <3
[Xperia Z2 Android Development] carloscarvalho:
When the mic got fixed it will be great
[Xperia Z2 Android Development] sindre2104:
how much SOT was that?

is it going into deep sleep at all?
[Xperia Z2 Android Development] FrosteezBR:
Good to ser you are brazillian too

And is testing lollipop too

But getting back to development the battery drain issue for me is fixed after 2 or 3 full charge
[Xperia Z2 Android Development] carloscarvalho:
Hi Frosteez!

Right after my previous post i turned on thr battery saver feature.

Check out the pic.
[Xperia Z2 Android Development] carloscarvalho:
Its not going into deep sleep
[Xperia Z2 Android Development] LordDacas:
Try to flash a older build. Like the 04/12 and then flash the 09/12 over it.
[Xperia Z2 Android Development] kumbangdesa:
09 working fine. Really smooth. Love it so much.
[Xperia Z2 Android Development] kokesh:
I know it does, the problem could be Sony. I guess RAW will be fine, but camera settings are not sure.
[Xperia Z2 Android Development] Myself5:
The Camera Settings are just related to the Camera App.

Sent from my Xperia Z2
[Xperia Z2 Android Development] Karl-Johan:
Did a clean install and everything is much smoother. :o
[Xperia Z2 Android Development] bluheart:
New version is awesome. Everything is working except cam!
[Xperia Z2 Android Development] Mikey94:
I don't need it anymore, but what happened with build 08? Only 377 KB?

Flasing 09 right now :)

One other question, how long does wiping cache take at your devices? Mine takes about 5 Minutes... Hadn't have this on any other device yet (HTC, Samsung, etc.)
[Xperia Z2 Android Development] benjmiester:
It takes a while for me too, I think there's a fix for that at least on cwm but I never tried. I just wait it out. Realistically it's probably only like 2 or 3 mins, but it seems like forever.
[Xperia Z2 Android Development] Mikey94:
I flashed TWRP to my recovery partition, is it possible to get CWM working there? TWRP is working without any problems and stays even after flashing, like its for every other device i had before (HTC, Samsung, etc) :p
[Xperia Z2 Android Development] Envious_Data:
no one has made CWM to be ran in the FOTAKernel or Recovery

for Z2 atleast
[Xperia Z2 Android Development] deepongi:
@championswimmer made a philz advanced CWM.

http://files.championswimmer.in/?developer=championswimmer&folder=recovery/philz/sirius

tested and working. using atm.
[Xperia Z2 Android Development] Mikey94:
Will test it :)

One bug i found: Auto Brightness does not work properly on latest build... For example when i start facebook, it is on max brightness and here and there it goes on max brightness while doing nothing...
[Xperia Z2 Android Development] Envious_Data:
i though they ment cwm and not cwm based

:/
[Xperia Z2 Android Development] :
Even with manual it bumps brightness to max here and there. Looks like it happens with screen off too.
[Xperia Z2 Android Development] Mikey94:
Yep, have this issue since build 09, on 08 everything was fine.

Also Clock time and date resets at every reboot. No big issue, but the WhatsApp notification that the time isn't correct is a little bit annoying :P
[Xperia Z2 Android Development] RedSkyRoad:
+1
[Xperia Z2 Android Development] Envious_Data:
if anyone cares you can flash from CM11 without data wipe however cache and dalvik is required to be wiped
[Xperia Z2 Android Development] Karl-Johan:
How do I wipe dalvik and cache after update using TWRP? Tried this again today and it "bricked" my phone, after flash finished I choose to wipe cache and it halts right after Sony logo on boot-up.

When I use CWM it works fine but it's a pain to flash it to boot before every flash.
[Xperia Z2 Android Development] zantekk:
I flashed TWRP 2.8.1.0 to my FOTAKernel partition and it worked just fine for every cm12-nightly. Just flashed 09/12 few hours ago, wiped cache/dalvik in twrp after flashed and booted up fine.
[Xperia Z2 Android Development] Mikey94:
Found another Issue, i made sure, its still there after a full wipe:

The stock CM browser forc closes when switching to landscape. google chrome works fine :)
[Xperia Z2 Android Development] brouwerchris:
This app downloads and installs CWM in the FOTA kernel : https://play.google.com/store/apps/details?id=in.championswimmer.twrpxperia&hl=en

at least it did for me.....
[Xperia Z2 Android Development] bluheart:
Brightness is solned after disabling the daydream.

Browser issue will be solved soon.

TWRP is fabulous and its working fine, y worry about slow format of cache. Even CWM takes time to clear cache and System partition on stock.
[Xperia Z2 Android Development] Karl-Johan:
"Wake on plug" enabled seems to to turn on screen a few seconds after screen goes black, screen is still black but I can see backlight coming. If you understand what I mean.

When disabled screen stays off.

Anyone else experiencing this?
[Xperia Z2 Android Development] Ruku1994:
I have the same thing. We just have to wait for FXP guys to fix all these little things. After official release I'm sure everything will be OK.
[Xperia Z2 Android Development] The Peterle:
u can use clocksync app.

https://play.google.com/store/apps/details?id=ru.org.amip.ClockSync

U can use lux auto brightness

https://play.google.com/store/apps/details?id=com.vito.lux

Both working perfectly!

Grüße/Regards

peterle
[Xperia Z2 Android Development] twistedddx:
I always have daydream off, brightness still freaks out and screen turns on randomly, daydream is not the problem.

---------- Post added at 10:39 PM ---------- Previous post was at 10:38 PM ----------

I have this off and the screen still freaks out and turns on randomly. Wake on plug is not the problem.

---------- Post added at 10:42 PM ---------- Previous post was at 10:39 PM ----------

What is the clock sync app for.

Does the auto brightness app fix the brightness and screen on problems?
[Xperia Z2 Android Development] The Peterle:
Yep lux works awesome on lollipop and is a temporary fix or even better.

Clock sync synchronises the clock to atomic time. Also awesome app and a temporary fix.

Grüße/Regards

peterle
[Xperia Z2 Android Development] bluheart:
Keep freaking for time being :P buddy!

SLowly and steadily this will be fixed
[Xperia Z2 Android Development] Hussainally:
I can't seem to charge phone using USB to PC...is it only me?
[Xperia Z2 Android Development] Envious_Data:
Same goes but rebooting leaving it plugged in fixes this issue
[Xperia Z2 Android Development] heorung:
http://www.xda-developers.com/android/tap2unlock-security-tap2wake/

Look interesting
[Xperia Z2 Android Development] BluZ.K.:
Xperia Z2 D6502

Does this work with the indian non let model D6502?

and can i get help with rooting my phone on the new 4.4.4 firwmare.
[Xperia Z2 Android Development] deepongi:
20141210 is up!

regards.
[Xperia Z2 Android Development] Hussainally:
Woo hoo..yippie
[Xperia Z2 Android Development] joeliomason:
The issue with the screen coming on when the phone is locked (black screen but on full brightness) is to do with lockscreen notification, I have found that whatever setting I use, every time I get a notification, the screen lights up, or if you lock the screen with notifications in the notifaction center.

this might help some of you :)

Edit: its just random :/

Could it be that the sensors are still on when the screen is locked? And its adjusting the brightness thinking the screens on?
[Xperia Z2 Android Development] jackq:
Thx, any important changes or only fresh cm base? Currently using 08.11 and everything works fine, so dont know its worth to flash or not.
[Xperia Z2 Android Development] benjmiester:
So far everything seems good on 12-10 build. I've tried everything I can think to test. Audio seems louder to me which I love, but might just be that I'm testing it at 4:30 am in my quiet apartment lol. I noticed the AudioFX app though, that's cool. Seems to work, but speaker eq makes it real quiet so I turned it off. Works great on headphones.

Edit: I was having blank screen wake issue still and random brightness adjustments. Everything else was OK. Back on 7 build for now.
[Xperia Z2 Android Development] twistedddx:
I think it is random also, some form of corruption of data.

I also get one way audio in calls randomly; in either direction, eg mic muted or no speaker.

Bluetooth sometimes flakes out also and drops out so the call continues in ear piece.

Ring tone sometimes never plays for multiple calls in a row etc.

Proximity sensor seems to not work either with screen turning on randomly during calls.

Things have been weird on 08 and 09 builds, about to flash 10 and see if anything changes. 07 and before was much more "stable" but has it's own issues like no tethering and apps hanging.

Just looking at the logcat you can see the ROM is suffering from all kinds of issues that are not always apparent to the user.

While these issues make me wonder if I should retreat to CM11; at the moment I am still powering through with CM12. I have at least a few more days worth of love left in me.
[Xperia Z2 Android Development] joeliomason:
Yeah I was tempted to move to 4.4.4 PA as there are quite a few bugs, but I'm powering through, for a ROM that technically isn't out yet, it's amazing! Very stable, especially for nightlys, and so far its been nothing but progress, maybe 12-11 will fix the brightness issues,

I haven't had any bad experiences with calls or ringtone volume though, maybe try a clean install to see if that changes anything?
[Xperia Z2 Android Development] Hussainally:
Brightness ramping up to max is more rampant on latest build
[Xperia Z2 Android Development] Hussainally:
Happening to me too...not liking it...trying to sleep and got light coming from my phone ....how to resolve this?anyone?
[Xperia Z2 Android Development] azam426:
Just disable the lockscreen notifications man, it will fix the issue.

your phone will rest in peace until u touch it. :p
[Xperia Z2 Android Development] sergio_eristoff:
Ok I tested the new version 10.12. Some random Resets are actually coming when I updated my apps with play store.

I found a new bug, bluetooth is very buggy and can´t switch into a low energy Mode or something else. I take my Smartwatch 2 as trusted device for unlock. Everything works with my Watch but the Phone sucks a lot of energy from the watch. On CM11 i have to recharge my watch every 2 - 3 day now everyday. I don´t use it more then usually
[Xperia Z2 Android Development] skitty:
Brightness issues seem a little worse on today's build
[Xperia Z2 Android Development] benjmiester:
I'm still getting the random brightness level jumps (gets bright out of nowhere). Not that terrible of an issue, just kind of weird. I saw the screen come back on once after locking, but didn't seem to do it anymore after that. I turned notifications off though so that might have fixed. Minor growing pains :D Back to my 12-7 backup for now.
[Xperia Z2 Android Development] Hussainally:
Same here back to 0712...most stable so far
[Xperia Z2 Android Development] twistedddx:
Wrong.

I disabled notifications on lockscreen and the screen still turns on by itself and brightness will randomly go to max.

The issue is more complex than a simple setting ;)
[Xperia Z2 Android Development] bbennett12:
Hi,

I am a bit new here so bear with me... After flashing your cm12 build and noticing the recovery didn't work well, I saw this post about fixing the recovery (I wanted to install the updates to the build). BUT, I am having trouble booting into fastboot mode on my xperia z2. The blue led light is present, but fastboot is not recognizing the device. I have all drivers intalled on my computer. Any ideas?
[Xperia Z2 Android Development] _RoMe:
I download the recovery infected_ uploaded and install it using Rashr https://play.google.com/store/apps/...store&pcampaignid=APPU_OhCKVJODMcSHyAStmYHYBQ from the Play Store. You need root to run it. It's much easier than using fastboot and you can do it all from your phone.
[Xperia Z2 Android Development] deepongi:
probably issues with windows drivers... remove all drivers you tried, and install latest Flashtool and the drivers that comes with it.

if i recall, to install you need to disable driver signature enforcing. theres a boot option with it.
[Xperia Z2 Android Development] MagnonTobi:
Bluetooth audio bug

I'm having problem with bluetooth audio. I have tested it with two different audio devices and it occurs on both. The problem is that my phone suddenly stops sending the audio that should actually be played and instead on sends emptiness (quiet noise in the background). I have actually managed to track the problem down to my pebble. Upon disconnecting the pebble and reconnecting the audio device, everything works just as expected. Hope you can get around to fixing this soon since it's quite annoying. Otherwise I'm in love with the ROM. Keep up the good work! <3
[Xperia Z2 Android Development] bbennett12:
Alright, so I did everything you said about the drivers and sony flashtool, but I think the problem may be on the phone? I'm not sure..... when i put the phone into fastboot mode the blue led lights up (should indicate the device is in fastboot mode), but the screen stays black. Also on a side note, Emma does not recognize the phone in fastboot mode either.
[Xperia Z2 Android Development] cheep5k8:
There is no graphical fastboot/bootloader on the Z2. You are very well in fastboot.
[Xperia Z2 Android Development] Li-polymers:
That's is what needs to happen, blue led when entering fastboot. Im quite sure Emma doesn't recognize fastboot mode (use flashtool for fastboot

http://www.flashtool.net/downloads.php).

To get Emma working you need to enter with volume down ( green led) for it to work
[Xperia Z2 Android Development] SREEPRAJAY:
Members,

I suggest all to keep their mouths in control.

Please stick to Development talk and avoid unnecessary unrelated posts in the Android Development section.

Any further violation will be dealt very strictly and now this is a general caution. I am sure any one involved will take this clue and find peace.

Thanks

THREAD CLEANED
[Xperia Z2 Android Development] adyscorpius:
http://developer.sonymobile.com/dow.../open-source-archive-for-build-23-0-1-a-3-12/

Does this help in any way? Or has it been included in the code already?
[Xperia Z2 Android Development] skitty:
Random screen brightness issues and turning on are still present in 12/12
[Xperia Z2 Android Development] Envious_Data:
What can be used should or already is used.

The getting the camera to work is the hard part because most of how it works in LP is alot different to previous android versions so there is alot of alteration to be made and many things to faulter
[Xperia Z2 Android Development] tejaswi.rohit:
[MENTION=1077833]infected_[/MENTION] I was building AOSP 4.4 from source for Z2 and tried to make the camera work. I had used the libs from a working CM11 build. Though all blobs present the camera HAL refuses to load because of missing references called by libcamera_client.so . This issue was present in Cm11 too in the initial stages and it was fixed by using the build flag

COMMON_GLOGAL_CFLAGS += -DNEEDS_VECTORIMPL_SYMBOLS in the BoardConfig.mk

Have you tried that method with Cm12 too ? Maybe the camera could work with the old libs ?
[Xperia Z2 Android Development] deepongi:
i'll make a test build to check it.
[Xperia Z2 Android Development] TheMrcool212:
The flag is already present in shinano's boardconfig.
[Xperia Z2 Android Development] tejaswi.rohit:
My bad, didn't check that already :)
[Xperia Z2 Android Development] deepongi:
+1 yep, confirmed.
[Xperia Z2 Android Development] Mikey94:
I can confirm this. But try disabling NuPlayer in Developer Settings. I have no Problems, except getting a Notification Sound while playing music. Than the sound starts scraching. Then i have to Pause Play one time and it works again.

(So one solution is, to set phone on silent mode while listening to music :P )
[Xperia Z2 Android Development] deepongi:
want to say

thanks to every single user that have donated

to me.

i needed extra memory to compile, was having some of my builds with their process id killed, due to lack of memory.

so, as an early Christmas present to myself...

these puppy's are on the way: Corsair Vengeance Pro CMY16GX3M2A1866C9R 8GB x 2 @ 1866Mhz CL9 1.5v

hopefully i will be able to lower the clock and latencys of the current ones without issues, and end up with 24GB 1866Mhz CL9 .. :cool:

once again, many thanks to all donors..! :)