Disclaimer: you accept responsibility by flashing this magisk module to your device at your own risk. If you experience any issues with Magisk, please refer to https://github.com/topjohnwu/Magisk/issues
This magisk module was created by isolating the diff between the full payload.bin of OOS 10.5.8 and the delta payload.bin of OOS 10.5.9 which had entirely disabled the Photochrom camera.
- Tested on OOS 10.5.10 IN2025.
- Currently not working on OOS 10.5.11 IN2025 due to additional changes that were made, I am working on fixing this. Please do not ask me for an ETA or complain about my internet uploads speeds.
Please advise: this has not tested on Indian or European models, and I cannot guarantee compatibility.
Download link (compatible with OOS 10.5.10) for IN2025: https://www.androidfilehost.com/?fid=8889791610682885705
I identified the following changes:
/system/priv-app/OnePlusCamera.apk: removal of the photochrom filter selection, confirmed via changes in smali bytcode
/vendor/lib/camera/: various camera firmware binaries were recompiled, including changes to what I presume to be the 5MP camera with the built-in infrared lens filter (gc5035)
/vendor/lib/camera/components/: various camera component feature stubs/wrappers for the camera apk
/vendor/lib/hw/: changes to camera.qcom.so, which is compiled against the previously mentioned binaries, statically linked
/vendor/lib64/camera/: same as above
/vendor/lib64/camera/components/: same as above
/vendor/lib64/hw/: same as above
This magisk module will restore these changed files, including the stock camera application, camera firmware binaries/drivers and dependencies systemlessly. If you would like to revert the changes, simply disable or remove the magisk module via magisk manager.
Enjoy!
This magisk module was created by isolating the diff between the full payload.bin of OOS 10.5.8 and the delta payload.bin of OOS 10.5.9 which had entirely disabled the Photochrom camera.
- Tested on OOS 10.5.10 IN2025.
- Currently not working on OOS 10.5.11 IN2025 due to additional changes that were made, I am working on fixing this. Please do not ask me for an ETA or complain about my internet uploads speeds.
Please advise: this has not tested on Indian or European models, and I cannot guarantee compatibility.
Download link (compatible with OOS 10.5.10) for IN2025: https://www.androidfilehost.com/?fid=8889791610682885705
I identified the following changes:
/system/priv-app/OnePlusCamera.apk: removal of the photochrom filter selection, confirmed via changes in smali bytcode
/vendor/lib/camera/: various camera firmware binaries were recompiled, including changes to what I presume to be the 5MP camera with the built-in infrared lens filter (gc5035)
/vendor/lib/camera/components/: various camera component feature stubs/wrappers for the camera apk
/vendor/lib/hw/: changes to camera.qcom.so, which is compiled against the previously mentioned binaries, statically linked
/vendor/lib64/camera/: same as above
/vendor/lib64/camera/components/: same as above
/vendor/lib64/hw/: same as above
This magisk module will restore these changed files, including the stock camera application, camera firmware binaries/drivers and dependencies systemlessly. If you would like to revert the changes, simply disable or remove the magisk module via magisk manager.
Enjoy!
Last edited: