Compare commits

..
8 Commits
Author SHA1 Message Date
naokoshoto dd23f8ae6b beryl: Drop duplicate audio playback parameters
PlaybackVolAna_AudioParam.xml and PlaybackVolDigi_AudioParam.xml are
now provided by configs/audio/audio_param/ in device/xiaomi/beryl.

Remove their PRODUCT_COPY_FILES entries to prevent duplicate copy
rule conflicts during the build.

Change-Id: I0ff33d8e2d6906935542e59697c2edece376aa9c
Signed-off-by: Naoko Shoto <me@naokoshoto.my.id>
2026-11-14 02:33:58 +01:00
naokoshoto 53fcf32c27 beryl: camera: Unclamp 60fps auto-exposure in ae_mgr and customae
Update proprietary auto-exposure blobs:
- libcamera.customae.so: map getAEManualPline to authentic Table 3 at
  0xc3a4, and rewrite decideAEManualPline at 0xc84c to handle milli-Hz
  framerate scaling and protect manual pline selection
- libcam.hal3a.v3.ae.so: NOP out preview index limit at 0x5e580
  and pline scan shutter clamp at 0x60918

Allows continuous auto-exposure to scale past index 76 up to 167
during 1080p 60fps video recording under low-light conditions.

Change-Id: I66847527e816e52b57b45a81aaba5da1b62f9ea4
Signed-off-by: Naoko Shoto <me@naokoshoto.my.id>
2026-11-13 18:01:27 +01:00
naokoshoto 16b48856ab beryl: camera: Allow 60fps target ranges and map video ISP profile
Update proprietary camera HAL blobs:
- libcam.halsensor.so & libmtkcam.logicalmodule.so: advertise [15, 60]
  and [60, 60] in CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES
- libmtkcam_metastore.so: unblock availableHfpsMaxResolutions to 60fps
- libcameracustom.camera.isp.so: map non-MIUI streaming sessions to
  Profile 27 and stub GetAECustomTransform to prevent gain division

Change-Id: I215f58e2a8e384b0e1d9d37c288c6325ad50d702
Signed-off-by: Naoko Shoto <me@naokoshoto.my.id>
2026-11-13 17:58:15 +01:00
naokoshoto fbbc4f92c0 beryl: camera: Update camera HAL blobs with 60fps streaming fixups
- libmtkcam_pipelinepolicy: Unlock 60fps video streaming configuration for rear 4-cell sensor
- libmtkcam_featurepolicy: Default request fps to 60 for high-framerate video
- libmtkcam_metastore: Add 60fps to AE target FPS range capabilities
- libcameracustom.camera.isp: Map third-party camera apps to calibrated MIUI ISP profiles

Change-Id: I30ac68cedd793d802d000a14317024d71f14997f
2026-11-11 15:29:56 +01:00
naokoshoto 49cfcac1b7 beryl: Import display device config XML from stock dump
Extract primary display configuration XML for display ID
4627039422300187648 to install into the product partition.

Change-Id: Ib1b3568cf0281ee5bd4ce943fc2aac2ed769208b
Signed-off-by: Naoko Shoto <me@naokoshoto.my.id>
2026-11-01 13:48:01 +01:00
naokoshoto 0d1067f0da beryl: Update proprietary blobs for Halcyon 17.0 and restore prebuilt IMS
- Restore prebuilt IMS stack under system_ext (ImsService, MtkGbaService,
  MtkTelephonyAssist, vtservice, IMS bootjars, and supporting libs).
- Extract vendor libwifi-hal-mtk.so for libwifi-hal-wrapper.
- Drop proprietary blobs now built from source in Halcyon 17.0:
  wlan_assistant, libion_mtk, libladder, netdagent@1.0, lbs@1.0,
  and mtkpower-V1-ndk.
- Update bluetooth and audio blobs with vendor.mediatek.hardware.bluetooth.audio-V4-ndk
  fixup to resolve AIDL diamond dependencies.
- Update generated Android.bp and beryl-vendor.mk.

Change-Id: I2eb5af4f58359c4c5aaa908f90a6dc6157f7dfb6
2026-10-26 05:53:32 +01:00
naokoshoto 8012c902f3 beryl: Route audio, soundfx, and soundtrigger blobs to prebuilt conversion library
Change-Id: I3b8e00f7aabe28273d31e430d4de158e5a935d0f
Signed-off-by: Naoko Shoto <me@naokoshoto.my.id>
2026-09-09 16:43:22 +02:00
naokoshoto 2ee4e6787f beryl: Update blobs and restore original AIDL dependencies for audio and bluetooth
Change-Id: Idbd02e91aa5dd6b0e6dddb9c9c391a0fe49288a1
Signed-off-by: Naoko Shoto <me@naokoshoto.my.id>
2026-09-08 19:25:19 +02:00
67 changed files with 60530 additions and 14 deletions

No files matched your search

-2
View File
@@ -5,5 +5,3 @@ radio filter=lfs diff=lfs merge=lfs -text
*.img filter=lfs diff=lfs merge=lfs -text *.img filter=lfs diff=lfs merge=lfs -text
proprietary/vendor/lib64/libmvpu_clc_14_cl_compiler_25.so filter=lfs diff=lfs merge=lfs -text proprietary/vendor/lib64/libmvpu_clc_14_cl_compiler_25.so filter=lfs diff=lfs merge=lfs -text
proprietary/vendor/lib64/libmvpu_clc_cl_compiler.so filter=lfs diff=lfs merge=lfs -text proprietary/vendor/lib64/libmvpu_clc_cl_compiler.so filter=lfs diff=lfs merge=lfs -text
Android.bp filter=lfs diff=lfs merge=lfs -text
Android.mk filter=lfs diff=lfs merge=lfs -text
BIN
View File
File diff suppressed because it is too large. Load diff
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
@@ -0,0 +1,59 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!-- MIUI ADD: Adapt_MIUIAdaptFrame -->
<displayConfiguration>
<!-- Global Brightness-Nit mapping -->
<screenBrightnessMap>
<point>
<value>0.001709819</value>
<nits>2.0</nits>
</point>
<point>
<value>0.49975574</value>
<nits>500.0</nits>
</point>
<point>
<value>0.99975574</value>
<nits>1200.0</nits>
</point>
<point>
<value>1</value>
<nits>1201.0</nits>
</point>
</screenBrightnessMap>
<!-- root node for HBM-->
<highBrightnessMode enabled="true">
<!-- Transition point brightness from normal to HBM mode -->
<transitionPoint>0.49975574</transitionPoint>
<!-- Minimum lux to enter HBM -->
<minimumLux>6000</minimumLux>
<!-- Time limitation for HBM-->
<timing>
<timeWindowSecs>0</timeWindowSecs>
<timeMaxSecs>0</timeMaxSecs>
<timeMinSecs>0</timeMinSecs>
</timing>
<!--Refresh rate limitation when the device is in HBM -->
<!-- <refreshRate>
<minimum>0</minimum>
<maximum>0</maximum>
</refreshRate> -->
<!-- Thermal limitation for HBM -->
<thermalStatusLimit>critical</thermalStatusLimit>
<!-- Low power mode limitation for HBM -->
<allowInLowPowerMode>true</allowInLowPowerMode>
<minimumHdrPercentOfScreen>0</minimumHdrPercentOfScreen>
<sdrHdrRatioMap>
<point>
<sdrNits>2.0</sdrNits>
<hdrRatio>2.4</hdrRatio>
</point>
<point>
<sdrNits>1200.0</sdrNits>
<hdrRatio>2.4</hdrRatio>
</point>
</sdrHdrRatioMap>
</highBrightnessMode>
<ambientLightHorizonLong>1500</ambientLightHorizonLong>
<ambientLightHorizonShort>1000</ambientLightHorizonShort>
</displayConfiguration>
<!-- END Adapt_MIUIAdaptFrame -->
@@ -0,0 +1,15 @@
# VTService .rc configure
service vtservice /system_ext/bin/vtservice
class main
user system
group system camera graphics inet net_admin net_raw media sdcard_rw radio sdcard_r media_rw
capabilities NET_ADMIN NET_RAW
ioprio rt 4
disabled
on property:persist.vendor.vilte_support=1
start vtservice
on property:persist.vendor.viwifi_support=1
start vtservice
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
-4
View File
@@ -1,4 +0,0 @@
service wlan_assistant /vendor/bin/wlan_assistant
class main
user wifi
group system gps inet
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.