From 3e5c024dd15745a1e3b3deb1763439ceae76d514 Mon Sep 17 00:00:00 2001 From: pjgowtham Date: Wed, 21 Feb 2024 19:36:18 +0530 Subject: [PATCH] Add README --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 README.md diff --git a/README.md b/README.md new file mode 100755 index 0000000..e7d44df --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# proprietary_vendor_oplus_camera + +Prebuilt stock oplus Camera to include in custom ROM builds. + +### How to use? + +1. Clone this repo to `vendor/oplus/camera` + +2. Inherit it from `device.mk` in device tree: + +``` +# Camera +$(call inherit-product-if-exists, vendor/oplus/camera/opluscamera.mk) +``` + +3. Ensure that the PRODUCT_BRAND is either oneplus or oppo or realme and that it is not overriden by any of the safetynet hacks.