Giter Club home page Giter Club logo

op9_aux_cam_enabler's Introduction

IMPORTANT: DEPRECIATION NOTICE

I have written a new module https://github.com/sean6541/op9_series_camera_unlocker that is a huge update to this one. It is fully scripted and should (no guarantees) work on all versions of OOS and custom ROMS using OOS FW and continue to work with future updates. It also unlocks face detection and (optionally) 48MP full resolution. Please see the README for the new module before installing it as it contains important instructions and information.

OnePlus 9 Aux Cameras Enabler

Magisk module that unlocks all cameras for use by third party apps on the OnePlus 9.

How It Works

Using a post-fs-data.sh script, the module copies the /odm/etc/camera/CameraHWConfiguration.config file to it's (the modules) directory and then uses sed to replace the line SystemCamera = 0; 0; 1; 1; 1 with SystemCamera = 0; 0; 0; 0; 1. This un-sets all the cameras as system cameras, which means that third party apps can access and use them. It then sets the SELinux context of the edited copy of CameraHWConfiguration.config and mount --bind's it to the original (necessary because Magisk doesn't support overriding files in the odm partition).

How to install:

  1. Download latest op9_aux_cam_enabler.zip from releases page: https://github.com/sean6541/op9_aux_cam_enabler/releases
  2. Go to Magisk Manager -> Modules and click on "Install from storage". Choose Downloads/op9_aux_cam_enabler.zip
  3. Reboot

Notice: This module will ONLY work on the OnePlus 9 (non-pro). It will not work on ANY other device. If you have a OnePlus 9 Pro, use this module instead: https://github.com/sean6541/op9pro_aux_cam_enabler

op9_aux_cam_enabler's People

Contributors

sean6541 avatar

Stargazers

 avatar Jeremiah Abraham avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.