yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] FrosteezBR:
You deserve for your effort ;)
[Xperia Z2 Android Development] Li-polymers:
got a weird bug, phone keeps restarting when screen turns off, also i provided two logcats (in same txt file) and its looks interesting.

i am on build 2014-12-11
[Xperia Z2 Android Development] deepongi:
connect to a wifi network after phone finish booting.. its a known bug.

regards.
[Xperia Z2 Android Development] KuroTheBang:
I have a little question: why is it such a big deal to fix the cam?
[Xperia Z2 Android Development] Myself5:
Cause the issue why it is not working needs to get found and then to get fixed...

P.S. It's not appreciated to ask things like this, it is considered rude...

Sent from my Xperia Z2
[Xperia Z2 Android Development] Ruku1994:
It is a really complicated thing to fix bugs without proper documentation and on top of that camera code is pretty complicated. Imagine you have to fix a car without any knowledge about its engine.
[Xperia Z2 Android Development] KuroTheBang:
I know, my intention wasn't to ask WHEN the camera gets fixed, I was just a little bit puzzled because everything else got fixed faster, you know^^
[Xperia Z2 Android Development] Myself5:
Cause everything was more important to fix and also easier to fix ;)
[Xperia Z2 Android Development] adyscorpius:
From my past experience with aosp, it could be something as little as a spelling mistake. Or maybe just one reference gone wrong.. But like Myself5 said, without documentation, its like searching a cave with a night lamp...
[Xperia Z2 Android Development] skitty:
Brightness issues appear to be fixed in the 13/12 build
[Xperia Z2 Android Development] manu44:
I am on existence 3.1.5 can i flash this via recovery? Or do i need to fastboot cm11 recovery and go that way?
[Xperia Z2 Android Development] Envious_Data:
You can flash via recovery but your bootloader needs to be unlocked
[Xperia Z2 Android Development] deepongi:
not, they are not fixed.. try adjust brightness levels...

i am working on it.
[Xperia Z2 Android Development] skitty:
Ah. I didn't check that. At least its not randomly going super bright anymore.
[Xperia Z2 Android Development] rcstar6696:
You need to change the thermalmanager.xml

I fixed the issue

I'm not sure witch line but in the cm thermalmanager stands wled:backlight and you need to change it to lcd-backlight and i have change the min brightness in the devices trees under include sony lights.h

I ve found a new bug the cpu frequenz never reach 2.2ghz after booting only some seconds on boot ( i think its a bug in thermanager ,too before the thermanager was include it was working like a charme :D )
[Xperia Z2 Android Development] deepongi:
thats an old hack and and doesnt solves the issue. been there already...

i am missing a commit, related to thermanager, thats why you cant adjust brightness in latest build.

and like i said to [MENTION=3816568]Myself5[/MENTION] on hangouts, i dont experience that brightness issues "almost" everyone is talking... my brightness is normal, and i can adjust it manually, and it auto-adjusts.. the only thing not working is adaptive backlight.
[Xperia Z2 Android Development] TheMrcool212:
According to David this is the auto brightness fix: https://github.com/sonyxperiadev/de...master/rootdir/system/etc/thermanager.xml#L35

It works for me after that.
[Xperia Z2 Android Development] Myself5:
Working like a charm here with my kernel and my own build which has the same cherry-picks as infected_s newest build.

Sent from my Xperia Z2
[Xperia Z2 Android Development] rcstar6696:
Okay i will test it but could you build your kernel for Z2 tablet lte and wifi ?? This would be great
[Xperia Z2 Android Development] Myself5:
Works fine for me too, nice find. Is it commited to CM gerrit yet? If not david should do so.

First this does belong in the kernel thread and shouldn't highjack infected_s thread, second I'm sorry but no. Blind kernel devving is risky, mostly riskier than blind devving a rom, as the rom mostly contains an already tested kernel. Worst case it that I could brick your entire device (which you don't want, do you) and I don't want to risk devices of my users just because I couldn't test the kernel ;) If you want you could buy me one, I will promise to release my kernel for it then ;P I hope you understand my point ;)

Sent from my Xperia Z2
[Xperia Z2 Android Development] Myself5:
Public Announcement from infected_:

No Build for today as his ISP is having DNS issues so he has no internet and can't repo sync.

Sent from my Xperia Z2
[Xperia Z2 Android Development] skitty:
[MENTION=3816568]Myself5[/MENTION] any chance of getting your build with the brightness fix?
[Xperia Z2 Android Development] Envious_Data:
Actualy im quite sure Myself5's CM12 doesnt have the bug to begin with..

:D
[Xperia Z2 Android Development] TheMrcool212:
Edit /system/etc/thermanager.xml with any root explorer.

Search for resource called "backlight".

Replace the whole line with:

<resource name="backlight" type="echo" />

Reboot.
[Xperia Z2 Android Development] deepongi:
used on 20141213, its finishing the upload .. brightness issue seems ok.

thanks for the hint :)

ps: i think what cdesai tried to do with the thermanager commit, was trying to make adaptive back light work. with the current fix its not working, but its wasn’t also before, so ...
[Xperia Z2 Android Development] Manya3084:
Bluetooth sound working for everyone?
[Xperia Z2 Android Development] Hussainally:
Yeah..brightness solved ..Bluetooth sound gone
[Xperia Z2 Android Development] Manya3084:
OK, it's not just me. Its all good, I'll just use my g watch r when I'm walking. I
[Xperia Z2 Android Development] deepongi:
20141214 is up.

regards.
[Xperia Z2 Android Development] Manya3084:
Did you forget the backlight fix in this build? [emoji14]
[Xperia Z2 Android Development] jackq:
from Xperia Z lollipop thread

thomas1991_12 https://github.com/daeiron

pabx https://github.com/adrian-bl-yuga

i just want to help. ;)
[Xperia Z2 Android Development] deepongi:
thank you for that, but i already know their work, and their githubs. i also compile for yuga .. :)

i got the camera working on yuga, matter of fact, only thing not working is calls/data .. you got an EXP build on my server.

camera on z1+ is pretty hard to get it working (said from whom is inside CM dev's that are working on sony devices, and i completely agree with him..), and obviously is different from yuga camera.

if it was an easy thing, it would be done already.. ;)

regards.
[Xperia Z2 Android Development] jackq:
I understand that, just want to share what i found.

Btw. did You forgot to patch thermanager.xml on latest build? For me autobrightness is again bugged. Fixed it manually and it works as it should.

Regards and thanks for Your hard work.
[Xperia Z2 Android Development] gamer649:
Sorry to hijack your conversation with someone else but I do have a question or two about the camera situation. I'm assuming that to get the camera working on this device you wouldn't be able to use fixes from other devices (Xperia or not) as it would have to be the same board configuration with the same camera set up? If that is the case I am going to assume (again) that there won't be a proper fix available until Sony release Lollipop themselves and we can use all of the camera binaries and what not from there?

I do deeply, deeply apologise if this sounds noobie. I haven't ever looked into/questioned this sort of stuff before.
[Xperia Z2 Android Development] vertex_nk:
Working, but sometimes need to reboot for normal working poweramp with bt headset...
[Xperia Z2 Android Development] MagnonTobi:
Permissions

I seem to be having a little bit of a problem with permissions to the internal sd card. That is, I am unable to even access it from the file manager. Is this a know issue? If not, how should I go about fixing it? Thanks!
[Xperia Z2 Android Development] deepongi:
If you are using CM file manager, you'll need chainfire superSU .. CM superuser isn't working properly yet with it.
[Xperia Z2 Android Development] bbennett12:
So I finally got the computer to recognize the phone in fastboot... I flashed a cm11 boot.img but the phone will no longer power on, just stuck on sony logo..?

UPDATE: fixed.. I flashed twrp recovery and just installed the zip
[Xperia Z2 Android Development] leonchm:
my phone restarted aft optimizing apps then got stuck at bootanimation when upgrading to the 15122014 build, gg back to the 14122014 build
[Xperia Z2 Android Development] Karl-Johan:
Same here 13 and 14 working fine.
[Xperia Z2 Android Development] joeliomason:
Goes into a bootloop after optimising apps, 14 works perfect though (Y)
[Xperia Z2 Android Development] MagnonTobi:
Sorry, that didn't work either. I am using superSU and not CM superuser. The problem is basically that not even a single app can access the data partition (not entirely sure if it's a separate partiton or not, but I think you get what I mean). This includes chrome when trying to download a file and the CM filemanager as I mentioned earlier. I have done a full factory reset (with data) and tried the fix permissions option in TWRP, but didn't work either.
[Xperia Z2 Android Development] adyscorpius:
Its the partition issue... You need to access /data/media/0/ using root explorer, backup your internal sd and then format data(note: not wipe, only format) using TWRP to get back your internal sd. Its some kind of chown error where the owner/group of the internal sd gets messed up and no app can access or write to internal sd.
[Xperia Z2 Android Development] deepongi:
+1

yep, we discussed this previously. didnt came to my mint how we solved it back them att of the post.

ps: compiling 20141215 v2 .. wanna see what went wrong with todays build.

also, i talked to [MENTION=3506409]cdesai[/MENTION] about the max brightness issue, and the "fix" on xperiadev git:

we will use that temp fix, until he has some free time to debug i properly.

regards.
[Xperia Z2 Android Development] Reb0rn:
Science build 13 i noticed that .GIF and some 3d became a bit glitchy.
[Xperia Z2 Android Development] deepongi:
try new 20141215. its uploaded. i deleted the "v1" ..
[Xperia Z2 Android Development] Karl-Johan:
Working fine now, thanks for the update.
[Xperia Z2 Android Development] Reb0rn:
Awesome build. But .gif still doesn't play on a loop. It freezes for a second then replays. Facebook video also behaves a bit glitchy. Takes a second or two before it plays the video. Wasn't like that in 1213 build.
[Xperia Z2 Android Development] deepongi:
i notice it when opening app drawer, the circle animation. none of my commits (device specific) could cause that, so its something new on general CM code.

solution for the glitchy app drawer anim for the time being, is using another launcher, like nova for ex. haven’t tried the rest.
[Xperia Z2 Android Development] Reb0rn:
Phone is really hot... Seems like CPU settings are bad. Min 1497 max 1958.

Doesn't deep sleep. Is it only here?
[Xperia Z2 Android Development] adyscorpius:
Did you reboot? Happens cuz of first boot sometimes...
[Xperia Z2 Android Development] leonchm:
Re: [ROM][SIRIUS][LP][5.0.1][SM-4.9] CyanogenMod 12 Unofficial [NIGHTLY BUILDS]

There seems to be a problem with NFC on the latest build, I can't turn it on/off.. May be just me.

There's also battery drain by the app mm-qcamera-daemon too

Edit: there were overheating problems too. However I went to the camera app via lockscreen(Obviously didn't work) and the overheating problem seems to have been solved.

Sent from my Xperia Z2
[Xperia Z2 Android Development] Reb0rn:
Even did clean install. Still CPU draining and odd behaviour. Reverting...
[Xperia Z2 Android Development] jackq:
i have this issue to.

1. reboot into TWRP recovery

2. backup your ROM

3. format DATA (in WIPE section, press FORMAT DATA button then type "yes" and confirm)

3. boot system, after quick setup reboot into TWRP recovery

4. restore your rom backup

done.

if you already have your rom backup just skip step no2.
[Xperia Z2 Android Development] solidturk:
No CPU issues for me on V2 of today's build 15/12 - all CPU Temps ok including Deep Sleep so might be something on your end. BTW I've been Dirty Flashing all the way since initial CM12 build and all is fine :)
[Xperia Z2 Android Development] deepongi:
i wasnt suffering from brightness issues like you guys, until i did a clean install... now it happened me today the issue thats been talked about, max brightness rampage, with 20141214

something is really wrong with 20141215 .. 300Mhz havent been used in hours.

i reverted also to 20141214, and manually fix thermanager.xml.

all fine for now.

regards.
[Xperia Z2 Android Development] adyscorpius:
Can you share the fixed thermmanager.xml? Thanks..
[Xperia Z2 Android Development] bullemina:
infected_: You are fantastic that bring us CM12 for our phone. I will give you a christmas present for your efforts, that not much but I hope you can buy a couple of beers. Best regards. 99P2737234343584F
[Xperia Z2 Android Development] deepongi:
https://github.com/sonyxperiadev/de...master/rootdir/system/etc/thermanager.xml#L35

edit:

[MENTION=1455717]bullemina[/MENTION]

4XR417712M946200S

many thanks! :)
[Xperia Z2 Android Development] Reb0rn:
I clean installed twice haha :D well now we know its borked anyways ?

Let's hope 1216 fixes the issues.
[Xperia Z2 Android Development] Hussainally:
Sorry guys if I am asking help wrong thread..please guide me ..if I want to go back to stock rooted KitKat latest build from this cm based ROM...what's the best way so I Dont loose root and all..tks..my cwm backup md5 has mismatch and cant restore
[Xperia Z2 Android Development] Envious_Data:
Flash a 167 FTF(or stock based rom)

Flash desperado's 167 repack kernel (end pages in twrp thread)

-Wipe data and cache

Flash root

Thats how i would do it
[Xperia Z2 Android Development] Hussainally:
I can't find desperados repack kernel...is it doomlords advance stock kernel?
[Xperia Z2 Android Development] Envious_Data:
Its near the last pages in the TWRP thread

You can use any other stock based kernel but i recomend this one because its just a stock kernel with a bundled recovery
[Xperia Z2 Android Development] Hussainally:
Thanks bro..very sad to leave this ROM...going on a holiday and need a cam:(
[Xperia Z2 Android Development] Envious_Data:
Have fun :D
[Xperia Z2 Android Development] Manya3084:
Bluetooth dead on both 15 and 16
[Xperia Z2 Android Development] adyscorpius:
Anyone else have loudspeaker in calls not working on 14-12?
[Xperia Z2 Android Development] deepongi:
speaker works, but mic wasn’t working last time i checked.
[Xperia Z2 Android Development] AndroidInsanity:
I know it says not working YET. But will camera ever be working. I know Sony is really weird when it comes to the camera and ROMs together
[Xperia Z2 Android Development] EnormoDerClown:
When the developers would know the problem, they would know how to fix it. So basically we don´t know i think ;)
[Xperia Z2 Android Development] jackq:
any changelog for today build?

please [MENTION=1077833]infected_[/MENTION] if you can write what is fixed or not (loudmic, BT, brightness etc). I'm still on 07.12.

thanks in advance
[Xperia Z2 Android Development] adyscorpius:
7/12 is still the most stable! Stick to it! :)
[Xperia Z2 Android Development] Myself5:
unless he says it's fixed, it's not [emoji14]

Sent from my Xperia Z2
[Xperia Z2 Android Development] MattJaO3D:
Sony have released all AOSP sources for qualcomm devices to github :)

http://developer.sonymobile.com/201...ased-2014-xperia-devices-now-supported-video/
[Xperia Z2 Android Development] adyscorpius:
And sadly they all have the same limitations of camera and radio!
[Xperia Z2 Android Development] jackq:
if you dont have something smart to write please dont do it.

one private req to you, please do not reply to any of my post, ok. finally added to ignored list. bye.

sorry for OT.
[Xperia Z2 Android Development] Reb0rn:
Well today's build is borked too. CPU seems locked to way to high clocks.
[Xperia Z2 Android Development] deepongi:
did you do a clean install? seems fine here. nahh... high clocks also.. but look on the bright side, deep sleep is working .. :D

btw... good news. BT and NFC should be fixed on next nightly. mic not working while using loudspeaker is under investigation .. :)
[Xperia Z2 Android Development] Reb0rn:
You said the same with 15 build and that one really had CPU issues. Can you check that your using 300mhz and deepsleep?
[Xperia Z2 Android Development] deepongi:
^^ above your post.

edit: new supersu is out - http://download.chainfire.eu/641/SuperSU/UPDATE-SuperSU-v2.40.zip
[Xperia Z2 Android Development] t0pstar:
360 DPI flash zip

*script that changes the screen density after update

https://www.dropbox.com/s/rlbxxvnbde7nuq2/360dpi.zip?dl=0

Maybe someon can need it
[Xperia Z2 Android Development] SaSa1983:
deep sleep doesn't work

Deep sleep doesn't work in 2014-12-16 and the device gets hot

https://drive.google.com/file/d/0B-gr0idEVdzxNDR3MEZXYmp3cnM/view?usp=sharing
[Xperia Z2 Android Development] deepongi:
its working but, cpu speeds are all messed up.
[Xperia Z2 Android Development] deezid:
Tried another governor?
[Xperia Z2 Android Development] deepongi:
nope.. been watching fauxclock.. 4th core is always at 2.3Ghz no matter which gov you choose.

i am going to compile 20141217 in a bit, lets hope its fixed.
[Xperia Z2 Android Development] Hussainally:
Oh man I had no clue how to flash desperanto's kernel using flashtool so went back to 4.4.2 and rooted .Had so much issue to get into recovery ..maybe recovery was never flashed at all..a real noob here..well at least got my cam back

Thank you
[Xperia Z2 Android Development] Envious_Data:
Im going to ask a mod to pin a thread ill create

(some time soon)

But ill make a Full round guide to flashing, i can even explain how to flash a img file without recovery or PC using root :D

(use in flashtool fastboot mode to flash kernel images)
[Xperia Z2 Android Development] RedSkyRoad:
I really doubt we'll see any camera blobs before they release the official Stock Lollipop... My bet is in late Feb only...
[Xperia Z2 Android Development] nEUTRon666:
Sad, but true, maybe...which makes the complete project unuseable for me :(
[Xperia Z2 Android Development] deepongi:
cpu speed issue is being analysed, fix will soon emerge.
[Xperia Z2 Android Development] Hessi93:
Running 7/12 and everything seems to be working fine. All love to you! :)
[Xperia Z2 Android Development] Envious_Data:
Core 0 and 3 seem to sit at 100% used

Its almost like a loop process eating up resources

Edit- its regardless of what cores are online

Seems to be less under normal use
[Xperia Z2 Android Development] guhvanoh:
Your camera seems to have gone wild. See cpu% for pid 300.
[Xperia Z2 Android Development] Envious_Data:
i didnt see that at all

anyhoo this is a fresh flash, data wipe n all

17d/12m/2014y
[Xperia Z2 Android Development] DJspy109:
Storage access bug

I'm getting a weird bug to do with storage. Sorry if you've already answered this, I dont have time to read all 74 pages :/

Basically, I can't download anything. Through chrome, the cm updater, nothing. Play store works, though. I open ES file explorer, and it can't find the emulated/0 folder. Neither can the stock file manager. Plugging the device into my PC gives me access to two folders: pictures (Not DCIM) and ringtones. Now, upon reflashing, I get the same bug. I can't update, because I can't download a new ROM file. Any ideas? I'm currently on 8/12.

Cheers in advance.
[Xperia Z2 Android Development] deepongi:
try formatting it (internal memory) in the recovery you are using.
[Xperia Z2 Android Development] jackq:
http://xdaforums.com/showpost.php?p=57518452&postcount=699
[Xperia Z2 Android Development] wwallace1979:
What does it mean that the camera not work?

Can I take a picture or make a video. What of this functions doesn´t work?

I think a Rom without a functionaly camera like waste.
[Xperia Z2 Android Development] TheMrcool212:
The ROM itself can't connect to the camera, giving an error or a crash when opening a camera app. We might need to wait for sony to release their lollipop update so we can use their camera modules in order to make it work on LP.

This happens on all sony msm8974 devices (Z1, Z2, Z3)
[Xperia Z2 Android Development] EnormoDerClown:
A not working camera means basically what it says. You can not take pictures or videos at all.

Nobody said it is a daily driver.... look in the 1 post: THESE ARE EARLY NIGHTLY BUILDS.
[Xperia Z2 Android Development] Myself5:
All Camera Features are not working. Camera App is not appearing in app drawer, and when you try launching it per Lockscreen it will just forceclose. Same happens with any other 3rdParty Camera App.

Everything else is working well, and as I am barely using my Cam, I use this Rom as a Dayly driver since nearly a month now.
[Xperia Z2 Android Development] deepongi:
temporary fix until cpu issue is solved:

- change cpu governor, from "interactive" to "ondemand"

all steps seem to work, at least in 20m ive been watching.
[Xperia Z2 Android Development] moman2000:
Can wait for the final, so excited. Any good news for now?
[Xperia Z2 Android Development] kokesh:
What question is this? How can it be final, when we are waiting for ollipop camera from Sony, which will be released sometime in the beginning of 2015?
[Xperia Z2 Android Development] bawng:
Would getting some sort of dump from a Z3 stock lollipop rom help investigating the camera issue?

Sony is running a beta program for some Z3 devices. XDA won't let me post links since I'm a new user, but check the Sony blog from nov 6.
[Xperia Z2 Android Development] deepongi:
woooooooooooot! :cowboy:

thank you all that have donated, once again!!
[Xperia Z2 Android Development] moman2000:
If i could i would but i am soo sorry
[Xperia Z2 Android Development] dkionline:
Waiting for 5.0.2 now.
[Xperia Z2 Android Development] adyscorpius:
Sony just updated the lollipop binaries... Guess we can have some working cam soon! :)
[Xperia Z2 Android Development] moman2000:
Link for lollipop binaries :http://dl-developer.sonymobile.com/eula/restricted/SW_binaries_for_Xperia_AOSP_L_MR0_v3.zip
[Xperia Z2 Android Development] deepongi:
20141220 is up.

have a nice weekend everybody! :)
[Xperia Z2 Android Development] twistedddx:
Just flicking through CM commits.

Appears front camera is functional now:

http://review.cyanogenmod.org/#/c/82465/

Screen/backlight should be sorted also.

http://review.cyanogenmod.org/#/c/82477/

http://review.cyanogenmod.org/#/c/82476/

http://review.cyanogenmod.org/#/c/82479/
[Xperia Z2 Android Development] deezid:
Brightness is still ramping up to 100% sometimes...
[Xperia Z2 Android Development] deepongi:
seen them. they are all merged, so they are on todays nightly.
[Xperia Z2 Android Development] deepongi:
try a clean install. i am using 20141220 and brightness is ok.
[Xperia Z2 Android Development] Myself5:
Nice find. Doesn't help tho as it does not include any Camera blobs. Same as with the KK Blobs. Seems like we either need to wait till it Full LP Rom get's released or find a different solution.

[MENTION=3090635]twistedddx[/MENTION]: Cam still won't work on todays build as the lib isn't included in the vendor folder yet. (Exept [MENTION=1077833]infected_[/MENTION] put it up there manually :P ?)
[Xperia Z2 Android Development] deepongi:
nope.. :o

i made a test build.

its uploaded, cpu issues are fixed. wifi hotspot is malfunctioning. if you find any more issues, please let me know.

regards.
[Xperia Z2 Android Development] moman2000:
Good point, Hope we get a bypass-able solution.
[Xperia Z2 Android Development] rcstar6696:
Hello

How do you fix the CPU issue?? I have the Problem in my PAC rom and haven't fixed it because i don't now how??

Rcstar6696