yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Android Development] mischa_martin:
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/latest-updates/

Can we get an update? :angel:
[Xperia Z2 Android Development] rcstar6696:
Yes i will update the rom if i'm back at home

There are some more fixes then the new blobs boot Animation error is fixed too for example

Atm i'm on holidays
[Xperia Z2 Android Development] rcstar6696:
New Update will come today

All who downloaded V25 before my announcment need to update it

there was a wrong commit active now its solved

i currently rebuild for release i think it should be up in 3 hours

Changelog:

New Sony blobs V4

Heavy camera improvement

Sensor cleanup

Google Release R30 (published yesterday and no nexus device got it before now :D)

Focus is now working sometimes

bootanimation error is solved
[Xperia Z2 Android Development] _heisenberg:
What does "focus workes **sometimes**" mean? Is a functional focus reproducible? Or does it appear randomly?
[Xperia Z2 Android Development] rcstar6696:
Sometimes means if you want to take a photo and tap on the display it will try to focus but it will not focus everytime

Btw the build is up now:o
[Xperia Z2 Android Development] rcstar6696:
V25 removed

Sorry i uploaded the wrong files

For all who installed it turn on the phone and press volume down and then after some time it boots into recovery

I will rebuild later
[Xperia Z2 Android Development] shaowd:
I flashed V25 today (via fastboot), and then I flashed the gapps (from opengapps.org), I,m sure I chose the,right pack (arm 6.0) and granted all the permissions google related apps request. But Google Play Service keep force closing. It doesn't work correctly. Is this a general problem? Is there anything I can do to fix it? Thank you very much.
[Xperia Z2 Android Development] rcstar6696:
V25. 1

Changelog:

Same as V25 + use of pure aosp audio (no sony blobs needed anymore)

Now the build should work

enjoy it
[Xperia Z2 Android Development] itsnie:
What about charging issue dude ?
[Xperia Z2 Android Development] rcstar6696:
Which issue do you mean?

Charging is okay for me!
[Xperia Z2 Android Development] itsnie:
Charging become very slow when battry have at last 80%+
[Xperia Z2 Android Development] rcstar6696:
okay i will test it tommrow
[Xperia Z2 Android Development] RyTekk:
Charge rate will be downed to keep the battery's life as well as cycle charge.
[Xperia Z2 Android Development] Ab.Shaheen:
What about camera in build 25?

Previously builds does nor support front camera in video calling. Also it shows only 1.2MP camera resolution in aosp camera.. ?
[Xperia Z2 Android Development] rcstar6696:
Sorry no idea please test it and report back

The Resolution issue comes from the camera version we use the newest ons and the most apps aren't up to date and can't handle the newset version correctly
[Xperia Z2 Android Development] rcstar6696:
Anyone have Problems with v25. 1 build?

I need to know if someone got blackscreen after installing the rom!!!
[Xperia Z2 Android Development] arsenicas:
Thanks [MENTION=5621191]rcstar6696[/MENTION] I didn't get black screen and boot animation bug gone. But everything I flash on top of the ROM is getting force closes like gapps and SU. There is also a little lag generally I think when just going around even when I shortened animations. Huge improvement on Cam. Focus working with a little patience
[Xperia Z2 Android Development] rcstar6696:
Thank you for the good review :D gapps fc can solved if you set permission for alle gapps including all System prozesses of google. What super su do you use i use currently 2.71 and it works without problems

This little lag comes due the broken nfc and some of them are generally in mm

Yes cam is a huge improvement and focus is okay now i currently test new vendor files and focus is okay
[Xperia Z2 Android Development] Ab.Shaheen:
Thanks dude for help. You are awesome. now I have found another marshmallow thread that have also Sony official camera.???

And also working fine without any problem.

You can also use camera API from that firmware.
[Xperia Z2 Android Development] rcstar6696:
Can you share the thread link with us ?
[Xperia Z2 Android Development] peddarson:
I bet he is talking about the official firmware :D
[Xperia Z2 Android Development] skitty:
Battery life isn't brilliant. Haven't done much with my phone yesterday and it ran out of battery at the end of the day. Normally I'm at around 50% by that time
[Xperia Z2 Android Development] chesterr:
Oh yea Camera Api2 :p fingers crossed though. :fingers-crossed:
[Xperia Z2 Android Development] peddarson:
When did you flash the rom?it takes approximately two days until android settles itself...
[Xperia Z2 Android Development] itsnie:
I never hear any news about that from google ??
[Xperia Z2 Android Development] dean.lev:
As soon as you get the camera at least half-working, this ROM will be my daily driver. Thank you so much for bringing 6.0 to our precious Z2! :)
[Xperia Z2 Android Development] sandman01:
After 3 days now I face some issues I remember from the first lollopob builds

- audio bug when making or receiving calls. The participant on the other headset weíll hear him/her selfe talking (extremely anoying)

- volume control do not work on phone calls

- bluetooth connection to my SmartWatch 3 do not reconnect when the connection is lost (need to re-enable bluetooth to force a reconnect to the watch)

- didn't get the camera to work

- kalender wan't work out of th box (need to delete and reinstall google calender to make it working)

- gpu rendering is not optimized so we will have some random rendering delays (on my side when I play games)

[Edit]

Youtube videos are displayed in green color :)

for information only

Battery live is about 50%-75% of original roms on my side (similar usage compared to my old lollipop rom)

conclusion:

the rom is great so far, no showstopper for me at the moment.

However a few optimisations and we are an an similar level than current roms. (my personal opinion)
[Xperia Z2 Android Development] sh4d1t0:
So.. camera is not working yet.. thats right?
[Xperia Z2 Android Development] rcstar6696:
Yes battery drain is to heavy atm i think its caused by some drivers which not work 100% on android 6

Thank you great review sound problems should solved in the next build but i build at the moment :fingers-crossed:

Bluetooth issue could solved too we change the bluetooth config and seriel config. We are currently working on video and gpu issue both seems big problems the blobs from sony causing the problem and the video driver

No camera is not working
[Xperia Z2 Android Development] itsnie:
[MENTION=5621191]rcstar6696[/MENTION] good work, keep up :D
[Xperia Z2 Android Development] RyTekk:
How can I use recovery which was included in AOSP M from Sony?
[Xperia Z2 Android Development] atoyu:
hi rcstar6696, i found an update v4 in mega drive, any change log or update note for us??? thank you!!
[Xperia Z2 Android Development] Haldi4803:
Do I hear that right? At 8:00 "the whole reason that we are publishing this early is so that developer's can adapt" so its available? Open source Camera?
[Xperia Z2 Android Development] Neo0:
As it is a image i guess you have to flash it through fastboot with "fastboot flash recovery recovery.img"

Gesendet von meinem Xperia Z2 mit Tapatalk
[Xperia Z2 Android Development] rcstar6696:
I uploded it over night changelog will come in 5 min :D

Yes you are right;)
[Xperia Z2 Android Development] rcstar6696:
V4 Update

V4 is available!!!! Please make a factory reset before flashing !!!!

Update to Google 6.0.0 r26

Updated media driver

Seriel and Bluetooth re write config

Better batterystats ( pulled files from hammerhead )

Update Audio driver

No gapps included for now !

Gapps link: https://mega.nz/#F!HEZVUJSA!ygPX6pORH0XAC1sArHrdSA
[Xperia Z2 Android Development] RyTekk:
Update to #2, please. And how about voice call mic? Is it fixed? In your download folder, have 1 zip file and 3 img files, I can choose between two ways to flash ROM, right? Flash zip or fastboot 3 img files.
[Xperia Z2 Android Development] rcstar6696:
I haven't test the mic in v4 sorry

Yes i upload both you can choose if you have installed aosp m before but if this your first install use IMG the ZIP cause problems
[Xperia Z2 Android Development] atoyu:
hi, i try flash boot.img (12mb) but can't get in recovery and won't boot. but when i flash V4 all .img file, it boot without problems. but also can't get in recovery.

so, anyone can tell me how to make recovery work and let me flash gapps?? many thanks!!!!
[Xperia Z2 Android Development] stayawake:
The kernel of this rom doesn't have recovery, you must flash an different kernel only to boot recovery and flash your zips then reflash the rom kernel to boot properly

Enviado de meu D6503 usando Tapatalk
[Xperia Z2 Android Development] rcstar6696:
V4 killed audio while Call

After i updates to Google release r26 audio stops working on call and microphone is totaly dead

I hope we can fix it in the Next time
[Xperia Z2 Android Development] Ab.Shaheen:
http://xdaforums.com/xperia-z2/development/rom-official-6-0-1-23-5-0-486-beta-t3336770

pleASE FIND IT ON THIS THREAD. :)
[Xperia Z2 Android Development] rcstar6696:
V26 is available

Changelog:

Aosp Audio improvment

Newset sony blobs

Wifi update to newer firmware

Camera Focus fix

Hot reboots are fixed (emmc access failed before)

Bluetooth fix for deep sleep
[Xperia Z2 Android Development] mischa_martin:
Is camera actually usable now?

I know, I know I should try myself

But I would have to give up my perfect configuration of locked bootloader stock to try it. :o

Thanks in advance,

mischa_martin
[Xperia Z2 Android Development] rcstar6696:
Yes camera is usable now and the device works nice here
[Xperia Z2 Android Development] Austin.gonzo:
Does this mean wifi will work for the people that couldn't turn on their wifi ?
[Xperia Z2 Android Development] rcstar6696:
I hope so but turn on should work before to only connection was (is?) broken
[Xperia Z2 Android Development] mischa_martin:
I can confirm that the camera is a little bit better now.

But there is still a pretty major issue with it.

It can't really take photos with flash :(
[Xperia Z2 Android Development] rcstar6696:
Yes but the flash issues is not a major issue in my mind

I would say its a heavy improvment to the first camera implementation
[Xperia Z2 Android Development] mischa_martin:
Yes thats right.

I still remember that first camera :rolleyes:

One question

Do you or someone else actually work on camera or are we just waiting for sony to release blobs to improve it?

Regards,

mischa_martin
[Xperia Z2 Android Development] rcstar6696:
Focus is working due our work the other improvment is due alin and sony blobs
[Xperia Z2 Android Development] tomemon:
Hey in the newest build camera doesnt appear to be working anymore. everytime i try to open it it says cant connect to camera after loading a while and thats it
[Xperia Z2 Android Development] rcstar6696:
Reboot the device and cam will work again :)
[Xperia Z2 Android Development] tomemon:
tried that already :/

---------- Post added at 12:12 PM ---------- Previous post was at 12:10 PM ----------

I think i will try flashing the OTA on top of the install and see if that works
[Xperia Z2 Android Development] mischa_martin:
Those who have gapps fc's.

Follow rcstar6696's instructions. (Grant permissons from settings to all gapps)

AND if google webview is being installed by the gapps package you have chosen

http://repo.xposed.info/module/net.typeblog.webview

This xposed module to actually use google webview as AOSP webview gets removed and therefore causes crashes.

Regards,

mischa_martin
[Xperia Z2 Android Development] s.hossein:
WiFi problem is still in v26.
[Xperia Z2 Android Development] Austin.gonzo:
Damn ?
[Xperia Z2 Android Development] rcstar6696:
Thank you for mention it here it will help some people

Make a clean install

please format system, wipe cache and factory reset

Then use the images to reflash rom
[Xperia Z2 Android Development] rcstar6696:
I have no idea why wifi is still not working sorry i'm out of ideas we Double checked all and we couldn't find anything

I was hopeing new firmware will solve it but seems not

Very bad sorry

Please send me a logcat and dmesg :)
[Xperia Z2 Android Development] Kevin.Silbstedt:
Just tried v26:

I was using it with xposed gravity box and had no problems with it. Wifi btw. was working just fine on my D6503.

I flashed the system.img and the boot.img via fastboot and installed the newest micro opengapps, Super Su 2.68 and Xposed v82 via championswimmers TWRP.

Just the stupid google app kept crashing (I uninstalled it from system partiton (with Titanium Backup) and after getting a bootloop had to flash the open gapps package again, didn't matter, still kept crashing when I started it) I had similiar problems with system apps on marshmallow on the Nexus 5, thanks google.

Anyway, my issues were the following:

1. For some reason my phone charges way slower, than the battery discharges (using the original cable and an anker QC3.0 charger, also tried the charger of my Nexus 5). I had to go back to my previous rom because of this.

2. Camera is still not ready for prime time. It seems to me, that the exposure level stays at the lowest level.

Also 1080 Video seems to be not working (yeah, also no 4k of course), but I only testet a few camera apps.

I didn't test flashlight with camera, because I never use it.

But overall I think camera is getting there.

3. Man, I missed the option to undervolt, the phone just doesn't get as warm with it as without. Also missed Kcal color calibration, but that may be possible via KPPD (which I didn't test). F2FS would also be quite nice. Hopefully there will be a custom kernel for this rom in the future.

4. The Rom is not as smooth as stock based roms. It's not that noticable, but according to GPU-rendering in profile in developer setting the gpu is quite on the edge and misses many frames when there are animations.

Anyway, if the 1. problem gets fixed, I'm tempted to completly switch to this rom, since I miss the clean AOSP of my Nexus 5. Thx for your great efforts with this rom. If you need a log or something, I will gladly provide them.
[Xperia Z2 Android Development] rcstar6696:
To your chargeing Problems i use the sony charger and i tested my htc charger it works without problems try this sony one

Camera is still work in progess and the actual camera is better then the first version :) but yes there are some problems with the resolution expeciall on video recording

Undervolt makes no sense it will break more then make things better :) cm switches too to the aosp device and kernel trees for sony devices but it will take some time to get a custom kernel

Vanilla android is the best in my mind too :)
[Xperia Z2 Android Development] treff89:
I'm sorry rcstar, but you're objectively wrong.

Undervolting, when properly tuned (which is simple), saves battery and heat with no negative consequences. This is a well-known fact.
[Xperia Z2 Android Development] rcstar6696:
I have tested it some time before and wifi is goes down and the device got so much hot reboots with kernel panic which are caused due the undervoltage
[Xperia Z2 Android Development] treff89:
Well mate, that just means you had the voltages adjusted too low for your CPU.
[Xperia Z2 Android Development] Kevin.Silbstedt:
As someone already said, this is due to low voltage. I can undervolt my Z2 about -100 mV, if I go lower, I get the problems you describe. On my Nexus 5 on the other hand, which uses a similiar S800 I can only go to about -65mV, every chip is different.

Well, I wouldn't say, that it is simple, since throttling keeps you from doing reliable stress tests. Also the battery savings are only noticable, when using CPU heavy apps, like games or navigationssoftware.

What you however notice, is a cooler device and less throttling.

The problem with implementing UV in the kernel of this rom would be different one: morons, who report crashes with this rom because their UV is too low.

Of course I never complained about a kernel or rom, when I was the dumb ass for too much undervolting. :D

Well speaking of morons, I seem to be one too. I bought a used Z2, but I'm certain I got the original charger, with which I seem to have the same problem. So if you don't have the problem, but I do, I seem to have done something wrong.

Now I restored my backup from yesterday, tweaked it little bit (I got the google app working again by reflashing the OTA and the gapps), but the phone still charges slowly, no matter, what charger I use.

I also noticed a pretty heavy battery drain. I lost 11% in the last hour with only 6 min screen on time on lowest brightness. Maybe it isn't so much, that my chargers are to slow, but that the drain is to high (which is weird, Device doesn't get insanely hot, Battery Battery stats doesn't report anything unusual, only the battery info in the setting menu reports 12% on "sonstige" [sorry, german guy here, don't know, what it is called in the english version of the rom]).

I will further test this, and also reinstall everything with different gapps (I just intalled the newest open gapps nano, let's see how that one goes). What gapps did you use rcstar6696?

If I can't get rid of this problem(s), which log (last.ksmg?) should I post for you to have a look at it?
[Xperia Z2 Android Development] rcstar6696:
I use open gapps full without problems

Ehm logcat and dmesg (last. Ksmg is not used anymore)

The heavy battery drain is only in the first 15% from 100 to 85 then its normal for me
[Xperia Z2 Android Development] Kevin.Silbstedt:
After a factory reset I flashed the rom again with Open Gapps pico, this time without Xposed and Better Battery Stats (had to make sure).

I got the same slow charging and battery drain in the beginning. But now it seems to be normal. I may have an idea why I had that problem. I got a HUGE amount of music on my 128 GB SD card and maybe the drain came from the media scanner scanning for all these files. I will further test this rom (also with KPPD and Xposed later, maybe tomorrow) and will report any bugs I encounter. So far I love this rom, it deserves to be stable.

Also just found this for kernel problems.

That is weird. Maybe you should write this in the OP under bugs before more people think of this as battery drain and dismiss the rom for that issue.
[Xperia Z2 Android Development] rcstar6696:
okay sound good :D you can use xposed and betterbatterystates i use both too :D

yes i already know the console ramoops log and i my mind its better then last kmsg

but i was not sure how good are your experience with android and thats the cause why i don't wrote it here

already done added under notworking things :D
[Xperia Z2 Android Development] Austin.gonzo:
Do you get the Sony blobs from here ? If so...then does this mean the camera will have a better functionality on your rom? & also the wifi will work for us( the guys that have a bad luck :D ) ??

http://developer.sonymobile.com/know.../open-devices/

2016-04-22: AOSP Marshmallow binaries for Android 6.0 and AOSP Lollipop binaries for Android 5.1 updated with improved connectivity, stability and camera functionality. We’ve also added the second camera actuators for Xperia Z3 and Xperia Z4 tablet. In addition, we’ve added the camera actuator for the Xperia Z5 family for Android 6.0.
[Xperia Z2 Android Development] Kevin.Silbstedt:
Well my experience is limited to posting a last.kmsg some years ago, so practically I got no experience. :good::)

Speaking of no experience: I just had to get three logs directly after my phone went crazy, hopefully I didn't **** it up (otherwise, please let me know, what I did wrong). They are attached to the post. Since I didn't know, if it was kernel, radio or whatever related I pulled all three.

To give you an idea, what just went wrong:

I was just called by someone, after a few minutes I heard the person on the other side broken up (no distortion, but pieces of silence in between the audio) and the caller couldn't hear me anymore. My phone then hard reseted (I got to see the Sony Logo) and the phone rebooted.

Then I was called again (I was pulling the logs during the call, if my memory serves me right) and the other caller complained to me, that he could hear his own voice.

Yesterday I also had a call (but without the crash) and the caller also complained about hearing his own voice. Hopefully this description and the logs help you fixing this.

Aside from this: Do you have any idea, what could cause this -15% battery bug? Yesterday I charged my phone to 96% and it didn't drain to 85% after that, but to 81%, maybe the phone assumes 15% to much battery charge and corrects it after charging.

I also noticed in MX Player, that when I pull down the notification bar and quick settings, it stutters noticably. (Yeah, I know, small problem.) I also ran 3D Mark trying to find out, if the GPU gets limited, but I got around 1100 points (before I got about 1200, not much of a difference), so I really don't know, why the UI isn't as smooth as with stock.
[Xperia Z2 Android Development] rcstar6696:
Hey

Yes i use them but v26 contains the binärys already :) i builded exactly after the release

So it means it does not solve it

So the call issue with the voice is a know bug and seems not possible to solve it in mm because of the aosp audio trees but lets hope for n or we will find another way to solve it

Hmm okay i will look into the logs :) it hears a little bit like an iommu bug

The notification bar has an issue with the open Animation but its googles fault i can't do something but try to use nova launcher it includes a fix for it

Yes gpu and cpu works like in all cm roms

The battery Problem yeah i know this but you can't find something in logs for battery

Currently i have no idea how to solve it without a starting point
[Xperia Z2 Android Development] rcstar6696:
[MENTION=4474051]Kevin.Silbstedt[/MENTION]

Your logs are clean

I need the console ramops logs after the hot reboot not while the device is running this will not help

Its easy to do if the device is rebooted from hot reboot use a file mangaer go to Sys/fs/pstore and copy the file console ramops file to internal storage and then share it with us :)
[Xperia Z2 Android Development] Kevin.Silbstedt:
Hopefully this one documents the crash, I cannot remember if i restarted the phone again after the hard crash. Maybe I can get it to crash again.

I already use Nova Launcher. It's not a big issue, but since Android 4.1 you kinda expect a smooth device.

Maybe you should put the caller hearing himself bug in the OP.
[Xperia Z2 Android Development] rcstar6696:
No you don't restart it was right iommu goes down and then kernel panic
[Xperia Z2 Android Development] Kevin.Silbstedt:
Just found another bug:

As you can see in the attached picture, HTML5 videos in Chrome are ... pinkish and greenish. In fullscreen on the other hand they're just fine.

I now had multiple dropped calls with the same behavior I described (except without the crash, which is weird). I guess I can surely say, calls over 10-15 min are impossible at this stage. What I don't know is, if the newest Sony firmware maybe comes with a new modem, which fixes this problem. Sadly I probably got no time to test that til the weekend.
[Xperia Z2 Android Development] rcstar6696:
Okay the html 5 bug can easily fixed i will do it on the next build ardeno blobs needs to be updated

Modem is okay its only a audio problem which cause the silence we need to log in it i had some calls too but not longer then 5min and all was okay except that the other side hears itself

Btw i will include the new modem files from stock m in v27
[Xperia Z2 Android Development] Austin.gonzo:
Well then I guess update v27 is going to be one those key updates of this ROM :D
[Xperia Z2 Android Development] CrazyIt2016:
v26 flash problem

i was flashed the v26 rom,but my phone is staying sony logo when my phone is reboot after i flashed the rom.my phone is not using any more.i uses "select system to flash " option to flash the recovery img file by flash boot mode. is there any thing wrong with it?please help me,thanks.