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

How to build it for Moto Z2 Force? #1

Open
opensourcemattress opened this issue May 20, 2018 · 5 comments
Open

How to build it for Moto Z2 Force? #1

opensourcemattress opened this issue May 20, 2018 · 5 comments

Comments

@opensourcemattress
Copy link

Hello!
For which phones are these apks?

Is there way to build this project for Moto Z2 Force? Is there way to use it without root? I installed 'rootless' apk from your release but it doesn't start.

Which tools do you use for building?

I tried to import project in Android Studio but it messed up everything.

@amirzaidi
Copy link
Owner

You need an entire AOSP-CAF build script on your PC, which is currently only possible on Linux and requires ~100GB of space

@opensourcemattress
Copy link
Author

opensourcemattress commented Jun 2, 2018

Thanks, I built it.
Am I understand correctly that it requires CameraMetadataCallback in framework set of libraries? My device doesn't have it and app crashes just after start.

@amirzaidi
Copy link
Owner

Moto might be basing on AOSP, while the CameraMetadataCallback is a CAF feature: https://source.codeaurora.org/quic/la/platform/frameworks/base/tree/core/java/android/hardware/Camera.java?h=LA.UM.6.6.r1-08600-89xx.0#n191

@opensourcemattress
Copy link
Author

Thanks!
Seems like I need to reinstall whole OS or at least change framework files.

@axaror
Copy link

axaror commented Apr 25, 2019

Hello!
For which phones are these apks?

Is there way to build this project for Moto Z2 Force? Is there way to use it without root? I installed 'rootless' apk from your release but it doesn't start.

Which tools do you use for building?

I tried to import project in Android Studio but it messed up everything.

Any luck with building it with Android Studio?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants