8 Commits
Author SHA1 Message Date
Raya Mahardika e55975b0dc sepolicy: Drop vendor_fp_prop access for platform_app
vendor_fp_prop is declared as a vendor_internal_prop on surya,
which violates Treble sepolicy neverallow rules when accessed
by coredomain/platform_app:

  neverallow { coredomain -init -dumpstate } {
    vendor_property_type
    vendor_internal_property_type
    -vendor_restricted_property_type
    -vendor_public_property_type
  }:file no_rw_file_perms;

MiuiCamera does not require fingerprint property access.

Change-Id: Ia900a8e74dac400656dd79659a0c265bc3134e1b
2026-10-27 22:47:15 +00:00
Raya Mahardika f5792b7ed6 miuicamera-surya: Update Leica launcher icon assets
Change-Id: Ica3c16096568492b69130abf3ea896acbc1e7cd4
2026-10-27 18:43:14 +00:00
Raya Mahardika 4504ed5b75 miuicamera-surya: Assume that mod_device is global and drop CTA props
By patching MiuiCamera's Device.isGlobal() and Build.IS_INTERNATIONAL_BUILD
to unconditionally return true, the app always assumes it is running on a
global device. This prevents attempts to launch the custom permission
dialog from HyperOS Security Center, allowing the app to run seamlessly
on AOSP ROMs without requiring ro.product.mod_device=surya_global or CTA
spoofing properties.

Reference: https://github.com/kardebayan/Leica_Universal_5.0_Beta_8.3/commit/a36c2a77fb6753a119d77be0aee186031318556c
Change-Id: I3ffce0136d6777dc72c4ea01bb5b7c41d89af73f
2026-10-27 18:40:43 +00:00
Raya Mahardika 0c6761ce9a miuicamera-surya: Configure MIUI properties and bypass CTA checks
Change-Id: I9c2cc45646a2e93ccd30f8f40afc3519154db3c0
2026-09-29 16:47:20 +00:00
Raya Mahardika 9e84dd0435 miuicamera-surya: Grant default runtime and privileged permissions
Change-Id: I5d0df76ce416e87f55f3bbcf6798191aa15ea5fe
2026-09-29 15:52:40 +00:00
Raya Mahardika 0946b6a942 sepolicy: Drop platform_app_36 compatibility rules
Change-Id: I8c360a3c74bc5f951c594f35493ea4ceb88302e1
2026-09-29 14:09:44 +00:00
Raya Mahardika dcc07289e2 miuicamera-surya: Drop facedet blobs
Change-Id: Ibee425133632d5815f1a8d2970b5905e6f331a6c
2026-09-29 13:02:02 +00:00
Raya Mahardika 06447efcd2 miuicamera-surya: Initial commit
Change-Id: Ice15663a6672e74f365c61f436e10c16a736c4a6
2026-09-29 09:12:12 +00:00