Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to the camera when encrypted #3

Open
thku opened this issue Aug 3, 2018 · 5 comments
Open

Can't connect to the camera when encrypted #3

thku opened this issue Aug 3, 2018 · 5 comments

Comments

@thku
Copy link

thku commented Aug 3, 2018

Hi there,
I am not sure if this is the correct place to report, but I discovered an issue with the combination of using OmniROM 8.1 (I tried at least the last 5 weeklys) on my OPO and the camera, as soon as I activate smartphone encryption.
Following all recommendations I could find to solve the "Can't connect to the camera" error (clear cache & data of camera apps; checking for hardware problems; proper flashing of Omnirom; ...), this is the final conclusion I can provide. Both cameras (and the flash light) don't work, as soon as the phone is encrypted.

I finally verified this by the following procedure:

  1. completely delete & decrypt phone using latest TWRP
  2. Flash OmniROM (and SuperSU)
  3. Start the phone & verify that the cameras work (they do)
  4. Encrypt the phone
  5. Verify that the cameras work (they don't)
@YumeMichi
Copy link

Try killing camera-provider-2-4 service via adb and then open camera again.

@thku
Copy link
Author

thku commented Aug 3, 2018

killing the camera service worked! Thanks a lot!

@thku thku closed this as completed Aug 3, 2018
@YumeMichi
Copy link

Maybe bacon camera HAL needs YumeMichi/device_oneplus_onyx@116be4f too~

@thku
Copy link
Author

thku commented Aug 3, 2018

This would help a lot. I just tried it with restarting and the problem seems to be persistent (but solvable by killing the service).

@thku
Copy link
Author

thku commented Aug 5, 2018

The kill the camera-service option doesn't work anymore with the latest WEEKLY

@thku thku reopened this Aug 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants