Commit Graph

19 Commits

Author SHA1 Message Date
johnmart19
adab7e9510 MiuiCamera: Import 32bit misys prebuilts & append _system suffix
- Import all missing 32bit prebuilts which are required by sybsystem libs
- Append _system to conflicting system libs

Inspired from sm8250-common: Append _vendor to conflicting vendor libs [a2d1f54ae9]

Co-authored-by: Sebastiano Barezzi <seba@sebaubuntu.dev>
2024-10-08 01:48:48 +03:00
johnmart19
c203475214 MiuiCamera: Add vendor soong imports to extract
Inspired from sm8250-common: Add vendor soong imports to extract [c8096b98e8]

- Also includes Alioth and sm8250-common repos

Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
2024-10-08 01:21:00 +03:00
johnmart19
588f5f5b42 MiuiCamera: Prebuilts: Regenerate with ELF Checks 2024-10-08 01:20:24 +03:00
johnmart19
d64a3c06cc MiuiCamera: scripts: Enable ELF Checks
Inspired from sm8250-common: Enable elf checks [b31a797317]

Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
2024-10-08 01:18:39 +03:00
johnmart19
fa38eef530 MiuiCamera: Import Camera Fonts and effects 2024-10-08 01:17:02 +03:00
johnmart19
85b10c4964 MiuiCamera: Allow skipping of nativeDetachImage 2024-10-08 01:17:00 +03:00
johnmart19
419f90f8fd MiuiCamera: Sepolicy: Drop labels of Data folders
The following types on /data/ /odm/ /product/ /vendor/ must not be associated with the "app_data_file_type" attribute.
Violator types and corresponding paths:
('app_data_file', '/data/user/0/com.android.camera(/.*)?')
('app_data_file', '/data/user/0/com.miui.extraphoto(/.*)?')
('app_data_file', '/data/user/0/com.miui.gallery(/.*)?')
('app_data_file', '/data/user/0/com.miui.mediaeditor(/.*)?')
2024-05-11 20:57:16 +03:00
johnmart19
1b2082c207 MiuiCamera: Configs: Update from HyperOS Alioth 1.0.2.0.TKHMIXM 2024-04-23 19:29:13 +03:00
johnmart19
16760dbf3c MiuiCamera: Update prebuilts from HyperOS Alioth 1.0.2.0.TKHMIXM 2024-04-23 19:10:44 +03:00
johnmart19
a98fb92a11 MiuiCamera: Update to 7.3 version
Leica Camera 5.0 Universal Beta 7.3, changelog:

— Reverted front parallel processing switch logic
- Fixed duplicate in lab settings

Co-authored-by: ItzDFPlayer <deniskovalevskiy91@gmail.com>
2024-04-16 12:37:43 +03:00
johnmart19
c7821cdcda MiuiCamera: Sepolicy: Remove duplicated property
host_init_verifier: Unable to serialize property contexts: Duplicate prefix match detected for 'vendor.camera.skip_unconfigure.packagelist'
2024-04-05 23:22:24 +03:00
johnmart19
76a905c4cb MiuiCamera: Drop OpenCL overwrite
- Keep only missing deps
2024-03-26 01:49:48 +02:00
johnmart19
382326afe7 MiuiCamera: Reorder proprietary-files
- Automatically by reorder-libs.py
2024-03-14 12:48:08 +02:00
johnmart19
3d1c7fc7bc MiuiCamera: Import Device-specific f2player
Following lib is used by qualcomm camera
2024-03-14 12:48:08 +02:00
Sebastiano Barezzi
52584faaf1 MiuiCamera: Add a script to reorder blobs list 2024-03-14 12:48:08 +02:00
johnmart19
8c13e7ca66 MiuiCamera: Update to 7.2 version
Leica Camera 5.0 Universal Beta 7.2 hotfix, changelog:

[Added]
— Standalone Macro lens in Pro mode doesn't work, Xiaomi broke it, enabled Supermacro in Photo mode
— Zoom override is now available in Lab settings

[Fixes]
— Parallel processing for Front switch is now properly working
— Photo mode crash from Beta 7.2 is possibly fixed

[Current bugs on Poco F3]
- 4k30fps video recording not saving
- Front camera Portrait mode

Co-authored-by: default avatarItzDFPlayer <deniskovalevskiy91@gmail.com>
2024-03-14 12:47:58 +02:00
johnmart19
05d1d47db4 MiuiCamera: Update to latest version
Beta 7.1

[Added]
— Front AI, Video filters, HDR video and Night mode video can be forcefully enabled in Lab/Univ. settings
— Enabled Dolby Vision video (may not work)
— Return of Default HDR setting (set to Auto by default)
— Unlocked some more photo/video filters(?)
— When Parallel processing is disabled, all Leica and Film filters will be gone (due to bugs), you can forcefully restore all filters (including Leica Authentic) in all possible photo modes through Lab/Univ. settings, do not report bugs with it!

[Fixes]
— Changed logic behind Leica Authentic availability, now it won't appear if Parallel processing for mode is not available
— Added various Night mode fixes to Lab/Univ. settings (try different combinations)

Co-authored-by: ItzDFPlayer <deniskovalevskiy91@gmail.com>
2024-03-07 07:49:14 +02:00
johnmart19
6f9b565471 MiuiCamera: Readme: Update FCM Appropriately 2024-02-29 22:51:50 +02:00
johnmart19
f369a00f69 MiuiCamera: Initial Poco F3 Repository
- Includes following changes:
* Import Xiaomi MiSys Hal and Sepolicy
* Import needed camera permissions
* Import Camera Postprocessing
* Import Poco F3 / Mi 11x Device Features [For Miui Deps]
* Import camxoverride settings & tune down CameraX logging
* Import needed camera prebuilts for Poco F3 AOSP Device trees
* Import Leica/Miui Camera mod 5.x by https://t.me/itzdfplayer & HollyBear
* Create device-specific config overlay for following Camera to enable appropriate features
* Import device-specific OpenCL
* Import AOSP and LOS aux camera overlays
* Import appropriate sepolicy for Poco F3 / Mi11x

- Repo requires:
* Have device-side hides in libinit for .mod_device and .name
* Import MiSys entries to FCM [Example: 47e3f385a6 ]
* Enable newer HIDL overrideFormat [4d9f9a23e9 ]
* Build camera for Jemalloc [c5d5ea6706 ]
* Set TARGET_CAMERA_PACKAGE_NAME for vendor tags [60ad521bf1 ] -> [c4fbccafa0 ]

Used changes from following authors:
Co-authored-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Co-authored-by: ItzDFPlayer <deniskovalevskiy91@gmail.com>
Co-authored-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2024-02-22 21:31:16 +02:00