[Q] Camera on AOSP ROMs - Xperia Z3 Q&A, Help & Troubleshooting

Hi,
I'm planning to buy Xperia Z3. I really like this phone but I've read here that camera on AOSP ROMs has this fisheye bug because Sony hasn't released sources for the camera yet.
Is there any hope that Sony will release them? And can this problem be fixed someday without relying on Sony?
Also does Z2 have this problem? If not, is it because Sony released sources for the Z2 or somebody just figured out how to solve it?
Z3 and Z2 have the same camera (almost) so if this problem is fixed for one it should be fixed for the other, right?

No one?

No one has released source code for mm-camera and no OEM ever will, because it's Qualcomm proprietary.
Unfortunately, Sony's newer blobs have had issues in the past. The end result is that the entire rhine/shinano family (Z1, Z2, Z3) are all using 4.3 rhine camera blobs. The distortion profile of the Z1 blobs is wrong for the Z3.
There are two potential solutions:
1) Some progress was made on getting newer stock blobs to work, but this was put on hold because
2) The Sony AOSP internal team are working on creating a set of blobs that can be used with AOSP proper. Although I'll personally be resuming work on item 1 in the next week or two if the Sony guys don't have any concrete news by then, as I need a working camera for Photospheres in early September

Entropy512 said:
No one has released source code for mm-camera and no OEM ever will, because it's Qualcomm proprietary.
Unfortunately, Sony's newer blobs have had issues in the past. The end result is that the entire rhine/shinano family (Z1, Z2, Z3) are all using 4.3 rhine camera blobs. The distortion profile of the Z1 blobs is wrong for the Z3.
There are two potential solutions:
1) Some progress was made on getting newer stock blobs to work, but this was put on hold because
2) The Sony AOSP internal team are working on creating a set of blobs that can be used with AOSP proper. Although I'll personally be resuming work on item 1 in the next week or two if the Sony guys don't have any concrete news by then, as I need a working camera for Photospheres in early September
Click to expand...
Click to collapse
Thanks a lot. That was very informative.
Does this mean that if it gets fixed before Sony releases the new blobs, it will be fixed for the entire Z family?

Related

Android 5.0 sourcecode? soon :)

http://www.androidauthority.com/android-5-0-lollipop-source-code-563560/
Well what do we have here, Android Lollipop being uploaded to AOSP as we speak! As you can imagine, a code dump like this takes a great deal of time, and it could be hours before everything is completed. At the moment, the branch is being referred to as “lollipop-release” and it carries a build number of LRX21M, though its official release tag should be android-5.0_r1 when it ‘fully hits’.
Even more exciting, it’s also only a matter of time before device-specific repositories for all Nexus hardware shows up, and at least a few have already surfaced including the Nexus 7 (2013) LTE ‘deb’ and Nexus 7 (2013) Wifi ‘flo’. It is worth noting that a new repository for Android TV is also available now, though it is hard to say whether or not the full code will be uploaded.
Once everything is uploaded, it’ll only be a matter of time before developers and many others begin playing around, bringing us hidden goodies and so much more. And before you ask, no the Nexus factory images are not up yet. Patience my friends, all in good time.
Click to expand...
Click to collapse
Its been published.
Sent from my Xperia L using XDA Free mobile app
The last time i checked, Lollipop source was still pushed but still it hadn't had key files to compile it for any device like manifest etc. It was giving an error. These files usually take few hours.
And the source code being published is for Nexus 7 , 5, 6 and 9.
There still wasn't anything for Nexus 4 or 10 or any other device.
However few sites cited that the manufacturers were handed the source to Lollipop and they were working on it as well.
I'm not sure how much time it would take to make their sources public.
As for Xperia L, I can't say when exactly but I'd say roughly about one to two months before any development is to be seen. The nexus 7 and 5 still haven't got OTA or Nexus Factory Images yet as I'm watching it closely.
Sony is surely not releasing lollipop for L so we would just have to wait for Aosp and Cyanogen to combine few lollipop sources to current device tree to give you somewhat of Android L which our device is capable of.
I hope this information be enough for now
Update
Source code is now complete. You can compile it for the above mentioned nexus devices. Still No official OTA or nexus factory images.
Little update :
Nexus Media Player and Nexus 9 Factory Images have been pushed. Still nothing for Nexus 7 or 5. Neither for Nexus 6.
Although source code have been pushed but I don't see any binaries yet for any Nexus devices which means that custom ROMs are still not possible. Although if you try to compile a custom ROM, you'd have glitches/problems due to missing binaries.
What this means is that unless Qualcomm doesn't release binaries for it's Snapdragon processors, we won't be able to get a ROM fully stable.
We can get some features to be merged in our device tree but I am not sure how lollipop would work perfectly without binaries/blobs.
Last time, I remember the graphics glitch was sorted partially by using Xperia Z blobs but still it didn't was as affective as it could be if it was for Xperia L itself.
What Xperia L need is binaries from Qualcomm and source code from Sony for Lollipop.
Let's hope for the best
Update 2
It is now rumored that update for the remainder of Nexus devices would come on 12th Nov as Google found some last minute bugs and wants to send of more polished and refined bug free android L.
For Xperia L, you can only wait for binaries from Qualcomm and source code from Sony.
source code published
source code published

EVERY SIGN NEEDED ! Petition to Sony to update Xperia L !

https://www.change.org/p/sony-xperia-l-update-to-android-4-4#invite
Here ! Please share this and don't say "They won't" !
jakubekw1997 said:
https://www.change.org/p/sony-xperia-l-update-to-android-4-4#invite
Here ! Please share this and don't say "They won't" !
Click to expand...
Click to collapse
Signed :fingers-crossed::highfive:
signed
Singed i hope Sony Update My XL
They won't. People you need to understand, Sony had made the mistake of releasing too much devices (which in turn made them lose a lot of money). They also need to support these new devices despite causing them financial trouble. Their dev team would not be able to handle too much, that's why they cut support for the Xperia L and other mid-range and low-end devices for last year as well. Plus the fact that our Xperia L is an ODM device, that's why it has a lot of hardware issues no software can fix, most probably why they did not give us a 4.4 or at least 4.3 because they just can't solve these with software.
itsjustJOH said:
They won't. People you need to understand, Sony had made the mistake of releasing too much devices (which in turn made them lose a lot of money). They also need to support these new devices despite causing them financial trouble. Their dev team would not be able to handle too much, that's why they cut support for the Xperia L and other mid-range and low-end devices for last year as well. Plus the fact that our Xperia L is an ODM device, that's why it has a lot of hardware issues no software can fix, most probably why they did not give us a 4.4 or at least 4.3 because they just can't solve these with software.
Click to expand...
Click to collapse
make sense. that's is why at the time Xperia L for AOSP KitKat released by Sony, is just a "death flag" for us to get 4.4 or even 4.3.
itsjustJOH said:
They won't. People you need to understand, Sony had made the mistake of releasing too much devices (which in turn made them lose a lot of money). They also need to support these new devices despite causing them financial trouble. Their dev team would not be able to handle too much, that's why they cut support for the Xperia L and other mid-range and low-end devices for last year as well. Plus the fact that our Xperia L is an ODM device, that's why it has a lot of hardware issues no software can fix, most probably why they did not give us a 4.4 or at least 4.3 because they just can't solve these with software.
Click to expand...
Click to collapse
I said , DON'T SAY THEY WON'T !!!
Stop denying the fact that this phone is discontinued. There's no Mid/Low end sony phone that have more than 2 android upgrades
Xperia L 4.1 > 4.2
Xperia M 4.1 > 4.3
Xperia M2 4.3 > 4.4
Xperia J 4.0 > 4.1
And so on
Admit it, THEY WON'T Do anything, or care about a small petition
TakuyaZ said:
Stop denying the fact that this phone is discontinued. There's no Mid/Low end sony phone that have more than 2 android upgrades
Xperia L 4.1 > 4.2
Xperia M 4.1 > 4.3
Xperia M2 4.3 > 4.4
Xperia J 4.0 > 4.1
And so on
Admit it, THEY WON'T Do anything, or care about a small petition
Click to expand...
Click to collapse
Dont forget M Dual it became 4.2.2 and 4.3 to and started with android 4.1.2 so it had 2 Software updates
XperiaAwesome2000 said:
Dont forget M Dual it became 4.2.2 and 4.3 to and started with android 4.1.2 so it had 2 Software updates
Click to expand...
Click to collapse
M dual have no 4.1.2, it came with 4.2.2 out of the box
Hate to be this guy to give you this "truth" but I don't see Sony doing anything really to update Xperia L at all.
All your efforts would not suffice to change their minds.
I remember doing that for another device and regardless of how big our community grew in efforts to persuade Sony to give us another update but it didn't happen.
Sony has a very weird system of updating devices and there's no real thought given and usually their promises of updating for a year aren't kept either. They would simply stop " updates of a mid ranger" while update an older low end device with half the ram. And if asked why you can't update the device, they'd just say that the mid ranger wasn't good enough to run the new OS due to its limited memory.
And that's it. In recent year Sony is bracing for more losses than previously expected due to selling lesser mid range and low end phones. One of the factor being, very little and slow updates.
Sony needs to learn from Motorola which is updating its phones to lollipop which are not just old but also run on 512 mb ram.
I wish you all the best and I hope that I'm proved wrong by Sony but I don't see that happening at all.
I won't sign because simply they won't..our device is discontinued.. So no matter what we do..nothing will happen
Last year we have made a petition to update our phone to kitkat or jellybean 4.3 (Sony didn't announce that our xl is discontinued that time) but Sony didn't do anything.. And now you want them to respond to us after they have announced that our xl is discontinued?? Oh please
Sent from my C2105 using XDA Premium 4 mobile app
No use
Many phones have been discountinued
For eg - xperia s with 4.1 last update

[Q] Will Custom ROMs allow the Lollipop Camera API to work?

Today was a day of bad news. I just read this article and apparently the Lollipop update does not bring the new camera API to the Xperia Z1/2/3 series. I could cry!
Now I was wondering, since Custom ROMs can alter so much for a device, whether they can enable the camera API even though Sony doesn't. It would be awesome if there's a developer who could manage to do this - if at all possible of course. I was planning on making a video of these potential new camera controls, but I was surprised to see that Sony just didn't allow the API to be used (I don't know the technical details so correct me if I'm wrong about the actual phrasing there).
Do you have any thoughts on this? Are you a developer, and do you have any experience with this or similar APIs? I for one have no idea if it can be made to work with the Xperia Z1/2/3's camera at all. I'd love to know! :highfive:
Hermantje said:
Today was a day of bad news. I just read this article and apparently the Lollipop update does not bring the new camera API to the Xperia Z1/2/3 series. I could cry!
Now I was wondering, since Custom ROMs can alter so much for a device, whether they can enable the camera API even though Sony doesn't. It would be awesome if there's a developer who could manage to do this - if at all possible of course. I was planning on making a video of these potential new camera controls, but I was surprised to see that Sony just didn't allow the API to be used (I don't know the technical details so correct me if I'm wrong about the actual phrasing there).
Do you have any thoughts on this? Are you a developer, and do you have any experience with this or similar APIs? I for one have no idea if it can be made to work with the Xperia Z1/2/3's camera at all. I'd love to know! :highfive:
Click to expand...
Click to collapse
I'm not entirely impressed with the camera either, and can't believe we have waited this long for Sony to release the lollipop update, which not only doesn't improve the camera, but its also just 5.0.. i thought the whole delay in the lollipop update was due to the initial quirks in the 5.0 build meaning they would roll out 5.1?
At this point in the game with the competition you cannot be releasing flagships marketed as the worlds best camera which is actually very mediocre. I'm truly disappointed in Sony and will likely not be holding on to my Z3 for much longer.
As it stands, have you tried the 20mp SuperiorAuto xposed module? I have seen quite a significant improvement, if you can live with the occasional crashes...

[Q] will be released lollipop for D2203?

can it be possible?
Positive signs:
Well, I cannot assure nothing, but could be possible because Sony have an active AOSP development over 2014 Xperias (included E3). The thing here is we need to get official confirmation via blogs.sonymobile.com.
Negative signs:
Keep in mind that AOSP developing is not intended as a direct confirmation of lollipop. Is just for developers and bug chasers.
Positive signs:
For E3, there´s cm12 via free xperia team (FXP, stable and usable without camera) and an AOSP 5.0.2/5.1 filled of bugs to be not used daily (nothing works)
Currently, just mid range devices like Xperia C3 and T2 Ultra are going to taste lollipop officially (previously announced from Sony).
Negative signs:
For E1, E3, M2, M2 Aqua and T3 theres no official confirmation yet. I have serious doubts about E1 and E3 because sony consider them as low end or entry devices, and M2/ M2 Aqua and T3 are considered mid range devices.
Possitive signs:
In addition, E3, M2 and T3 are all hardware capable (1.2 Ghz+ of processor and 1 Gb RAM) to afford lollipop inside. Maybe even E1 can afford it, but i have my doubts due to hardware in it (just 512 Mb RAM).
Comparing our situation with Motorola, Moto E 2014 is closer to xperia E1/E3, Moto G 2013 is closer to Xperia E3 and XperiaM2/M2 aqua is compared to Moto G 2014. So, following that basis and thinking in the fact sony is the only company updating mid range devices at this time, so, in that basis is highly probable we can have lollipop (due to hardware capabilities).
Negative signs:
Now, if you think in Sony new devices, we are in danger to get obsolete. Look at 2015 mid range Xperias confirmed at this date: Xperia E4, E4g and M4 Aqua (maybe they ship with kitkat or lollipop). So, in order to motivate people to buy them, Sony can drop off their intentions to update the E3 and M2 references. You know, programated obsolescence. But theres a temporary relief: this new models are not fully dispersed around the world, and slow distribution can give time to sony guys to release official lollipop (and us) for give shape to cm12 in case of a negative answer from the japanese company.
Also, remember the false promess of sony to update Xperia SP, a 2013 mid range device that was hardware capable to get kitkat or even lolipop inside. That is an important background to keep in mind.
Now, Sony is working "very fast" in order to bring the new android experience for their devices. Soon or later, maybe we can taste lollipop. We should wait patiently until sony announces a good or a bad new for us.
In case sony confirm us positively, remember that D2002/2212 models update first, followed by LTE models (via ota, pc companion or via xperifirm-flashtool)
My final answer for you @Fliopp3rix is: theres uncertain. The answer is not "yes", is not "not", and is not "maybe"

It's OFFICIAL! Xperia Z5 will NOT be updated to OREO

Unfortunately Sony has disappointed us as usual and shared its official list with the devices that will be updated to Android 8.0 and our device is not included.. The update starts from Xperia X and higher [emoji115]
• Xperia X
• Xperia X Performance
• Xperia XZ
• Xperia XZ Premium
• Xperia XZs
• Xperia XA1
• Xperia XA1 Ultra
• Xperia XA1 Ultra Plus
• Xperia Touch
Source : XB
Sent from my E6633 using Tapatalk
We wait for third party ROM.
Sent from my Xperia Z5 using XDA Labs
That's bad. It should be updated... :'(
Nevermind, LineageOS & crDroid will (and Carbonrom, AOSP, etc..). Honestly, since we can install most of the Sony apps on these roms, there are not much advantages to use stock roms, but there are many advantages to use the former...!!
Yesterday I asked on the Sony Chat if there is an update next Nougat 7.1.1 for the Xperia Z5 and they said me yes.
eddymjj said:
Yesterday I asked on the Sony Chat if there is an update next Nougat 7.1.1 for the Xperia Z5 and they said me yes.
Click to expand...
Click to collapse
They lie
Byt XA and XA ultra has worse specs Than the Z5 they even have only 2gb of ram and 720p screens
hoss_n2 said:
Byt XA and XA ultra has worse specs Than the Z5 they even have only 2gb of ram and 720p screens
Click to expand...
Click to collapse
XA and XA ultra will not get Oreo, check the list.
shehabskull said:
Unfortunately Sony has disappointed us as usual and shared its official list with the devices that will be updated to Android 8.0 and our device is not included.. The update starts from Xperia X and higher [emoji115]
• Xperia X
• Xperia X Performance
• Xperia XZ
• Xperia XZ Premium
• Xperia XZs
• Xperia XA1
• Xperia XA1 Ultra
• Xperia XA1 Ultra Plus
• Xperia Touch
Source : XB
Sent from my E6633 using Tapatalk
Click to expand...
Click to collapse
It's not official yet.
It doesnt matter if our z5 is capable of getting Oreo update or not.
Sony has 24 months or how much to support their devices.
I strongly believed that we were going to get Oreo update, as you all know Z5 has no problems whatsoever, and believed sony will make exception and support to our device, but i was wrong.
Oreo update with the XZ1 ui would be really really refreshing for our device.
Sent from my E6653 using Tapatalk
I guess it's not uet final. The announcement was for devices that will be updated first.
But no official announcement that Z5 update will stop. Let's wait and see..
Sony is very generous...hehehe
spaha-bih said:
It doesnt matter if our z5 is capable of getting Oreo update or not.
Sony has 24 months or how much to support their devices.
I strongly believed that we were going to get Oreo update, as you all know Z5 has no problems whatsoever, and believed sony will make exception and support to our device, but i was wrong.
Oreo update with the XZ1 ui would be really really refreshing for our device.
Sent from my E6653 using Tapatalk
Click to expand...
Click to collapse
correct :/
Are there any update?
Is it sure in your opinion that Z5 will not receive oreo?
farrokh19 said:
Are there any update?
Is it sure in your opinion that Z5 will not receive oreo?
Click to expand...
Click to collapse
Z5 might receive Oreo, just not from Sony.
It might well still be a good thing tho.
The Z5 has been out for 2 years, received 3 major OS updates (5.1.1 to 7.1.1) and timely security patches.
Honestly, I prefer well-built and stable updates to poorly-built and full of bugs ones.
Just look at how we received Nougat, the 32.3.A.2.33 update was a joke (they tried to push it out as soon as possible).
Even now the 32.4.A.0.160 (most stable of Nougat) is nowhere near as stable as 5.11 Marshmallow.
So yeah, it might be a good thing not to have half-heartedly developed builts (the XZ line is way more popular to non-Sony fans btw)
Also, we have some really devoted and dedicated developers for our device (kudos!), who revise their codes every single day and fill their ROMs with lastest Google security patches.
Oreo will come to the Z5 for sure, not just from Sony.
http://www.phonandroid.com/android-o-oreo-smartphones-compatibles.html
look this link ...
Time to buy new phone. circle of Z5's life has come to an end
parydia said:
http://www.phonandroid.com/android-o-oreo-smartphones-compatibles.html
look this link ...
Click to expand...
Click to collapse
Xperia L1, XA and E5, too? Yeah, sure. Hell would rather freeze over. It's most likely a clickbait article, that's all it is.
humm, probabely.. you're right
Keramzyt said:
Xperia L1, XA and E5, too? Yeah, sure. Hell would rather freeze over. It's most likely a clickbait article, that's all it is.
Click to expand...
Click to collapse
Nothing surprising: after 2 years vendors usually stop updating firmwares. Most of Z5 line owners already knew that Nougat would have been the last major release.
Now there's space for AOSP.

Categories

Resources