account arrowhead-down arrowhead-up mobile-menu search sm-bold-x x-skinny-rounded x-skinny arrowhead-right social-facebook social-googleplus social-instagram social-linkedin social-pinterest social-qzone social-renren social-tencent social-twitter social-vkontakt social-weibo social-youku social-youtube

Please help us improve our website

Take our customer survey to evaluate your visit.

It should only take a few minutes to answer five quick questions. Just click the Launch survey button at the end of your visit to begin.

cancel
Showing results for 
Search instead for 
Did you mean: 
Welcome to the Open Devices community!

This is where we discuss open source and development related questions on our Open Devices initiative.

Xperia X Performance AOSP error Can't connect to camera

SOLVED
Adept
Message 1 of 11
1,264 Views
Message 1 of 11

Xperia X Performance AOSP error Can't connect to camera

I followed the official guide to build the AOSP,android 7.1.1.But I find that the camera doesn't work.When I start the camera,the system display  "Can't connect to camera".Please help me!

1 ACCEPTED SOLUTION

Accepted Solutions
Developer World
Message 7 of 11
1,854 Views
Message 7 of 11

Re: Xperia X Performance AOSP error Can't connect to camera

Hi,

 

both cameras are fixed in the v4 release that will come soon

 

Regards

Alin

 

10 REPLIES 10
Highlighted
Inhabitant
Message 2 of 11
1,257 Views
Message 2 of 11

Re: Xperia X Performance AOSP error Can't connect to camera

make sure that you're having proper (latest) binaries, http://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-nougat-androi...

Then clean your build directory and rebuild, maybe try to make use of my steps (I use this script for X Compact) here: https://talk.sonymobile.com/t5/General-Discussion/x-compact-can-t-connect-to-camera-aosp-6-0-1-and-7...

Adept
Message 3 of 11
1,250 Views
Message 3 of 11

Re: Xperia X Performance AOSP error Can't connect to camera

Thanks a lot!Let me have a try,because the branch of n-mr1  doesn't have the build script of dora(F8131/F8132),I think I should try the branch of master.Slightly smiling Face

Adept
Message 4 of 11
1,245 Views
Message 4 of 11

Re: Xperia X Performance AOSP error Can't connect to camera

I find that your method seems to be the same as the Office guide.The difference between them is your solution have this command.

cp external/toybox out/target/product/kugo/utilities/

What is this command's usage?

Developer World
Message 5 of 11
1,227 Views
Message 5 of 11

Re: Xperia X Performance AOSP error Can't connect to camera

Hi,

Xperia X Performance is suported only by the experimental build guide

please note that at this time the camera functionality is working but is limited to the front camera

 

Regards

Alin

 

Adept
Message 6 of 11
1,218 Views
Message 6 of 11

Re: Xperia X Performance AOSP error Can't connect to camera

Thanks a lot!I really hope that the rear camera can work fine!Hope Sony can fix this problem in future.

Developer World
Message 7 of 11
1,855 Views
Message 7 of 11

Re: Xperia X Performance AOSP error Can't connect to camera

Hi,

 

both cameras are fixed in the v4 release that will come soon

 

Regards

Alin

 

Adept
Message 8 of 11
1,150 Views
Message 8 of 11

Re: Xperia X Performance AOSP error Can't connect to camera

Hi,

 

Thanks for your hard working,this problem had been solved.But I meet another problem.The AOSP ROM can't use all of the cpu cores,especially the two big cores.The system runs not smoothly.

I have reported this problem here.

 

 

Sjll

 

Developer World
Message 9 of 11
1,087 Views
Message 9 of 11

Re: Xperia X Performance AOSP error Can't connect to camera

Hi,

 

the performance has been tweaked and now all the cores scale normal

Please sync and build the new 7.1.2_r8 update

 

Regards

Alin

 

Adept
Message 10 of 11
1,069 Views
Message 10 of 11

Re: Xperia X Performance AOSP error Can't connect to camera

My English is poor,maybe I can't describe my problem clearly.This problem has been solved.Thanks a lot!