diff --git a/extract-files.py b/extract-files.py index 2e9ec96..79a8d0a 100755 --- a/extract-files.py +++ b/extract-files.py @@ -78,7 +78,8 @@ blob_fixups: blob_fixups_user_type = { .replace_needed('android.hardware.biometrics.common-V1-ndk_platform.so', 'android.hardware.biometrics.common-V1-ndk.so') .replace_needed('android.hardware.biometrics.fingerprint-V1-ndk_platform.so', 'android.hardware.biometrics.fingerprint-V1-ndk.so'), 'odm/etc/camera/CameraHWConfiguration.config': blob_fixup() - .regex_replace('SystemCamera = 0; 0; 1; 1; 1', 'SystemCamera = 0; 0; 0; 0; 1'), + .regex_replace('SystemCamera = 0; 0; 1; 1; 1', 'SystemCamera = 0; 0; 0; 0; 1') + .regex_replace('SystemCamera = com.oplus.camera', 'SystemCamera = org.lineageos.aperture'), 'odm/lib64/libAlgoProcess.so': blob_fixup() .replace_needed('android.hardware.graphics.common-V2-ndk_platform.so', 'android.hardware.graphics.common-V7-ndk.so'), ('odm/lib64/libCOppLceTonemapAPI.so', 'odm/lib64/libSuperRaw.so', 'odm/lib64/libYTCommon.so', 'odm/lib64/libaps_frame_registration.so'): blob_fixup()