Compare commits

...
4 Commits
Author SHA1 Message Date
xyzuniverse 79b16f3d46 beryl: Import Xiaomi AIDL touchfeature service
Change-Id: Icea32e3e7ba207991c69aa3118d35e1e46a5dbbf
2026-09-27 06:23:58 +02:00
xyzuniverse cab69e882e beryl: follow latest changes
Change-Id: Iacb5b0046581dcf0c375bf1dc191a394c9078052
2026-09-26 19:33:53 +02:00
naokoshoto 386678febf 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-21 17:22:55 +02:00
naokoshoto fb8c591f03 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-21 17:22:37 +02:00
9 changed files with 2955 additions and 60019 deletions

No files matched your search

+2
View File
@@ -5,3 +5,5 @@ radio 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_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
+3 -60012
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.
Binary file not shown.
+812
View File
@@ -0,0 +1,812 @@
<?xml version="1.0" encoding="utf-8"?>
<device_data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<format_version major="3" minor="7" maintenance="0" />
<tool_version major="3" minor="16" maintenance="0" />
<preset id="1" name="detailed" type="ieq">
<data>
<ieq-bands>
<band_ieq frequency="47" target="150" />
<band_ieq frequency="141" target="142" />
<band_ieq frequency="234" target="188" />
<band_ieq frequency="328" target="216" />
<band_ieq frequency="469" target="189" />
<band_ieq frequency="656" target="195" />
<band_ieq frequency="844" target="202" />
<band_ieq frequency="1031" target="199" />
<band_ieq frequency="1313" target="210" />
<band_ieq frequency="1688" target="225" />
<band_ieq frequency="2250" target="230" />
<band_ieq frequency="3000" target="236" />
<band_ieq frequency="3750" target="235" />
<band_ieq frequency="4688" target="235" />
<band_ieq frequency="5813" target="214" />
<band_ieq frequency="7125" target="165" />
<band_ieq frequency="9000" target="112" />
<band_ieq frequency="11250" target="49" />
<band_ieq frequency="13875" target="-24" />
<band_ieq frequency="19688" target="-217" />
</ieq-bands>
</data>
</preset>
<preset id="2" name="balanced" type="ieq">
<data>
<ieq-bands>
<band_ieq frequency="47" target="157" />
<band_ieq frequency="141" target="167" />
<band_ieq frequency="234" target="218" />
<band_ieq frequency="328" target="218" />
<band_ieq frequency="469" target="203" />
<band_ieq frequency="656" target="188" />
<band_ieq frequency="844" target="192" />
<band_ieq frequency="1031" target="192" />
<band_ieq frequency="1313" target="205" />
<band_ieq frequency="1688" target="213" />
<band_ieq frequency="2250" target="218" />
<band_ieq frequency="3000" target="209" />
<band_ieq frequency="3750" target="193" />
<band_ieq frequency="4688" target="159" />
<band_ieq frequency="5813" target="134" />
<band_ieq frequency="7125" target="97" />
<band_ieq frequency="9000" target="71" />
<band_ieq frequency="11250" target="22" />
<band_ieq frequency="13875" target="-90" />
<band_ieq frequency="19688" target="-283" />
</ieq-bands>
</data>
</preset>
<preset id="3" name="warm" type="ieq">
<data>
<ieq-bands>
<band_ieq frequency="47" target="114" />
<band_ieq frequency="141" target="146" />
<band_ieq frequency="234" target="183" />
<band_ieq frequency="328" target="169" />
<band_ieq frequency="469" target="170" />
<band_ieq frequency="656" target="128" />
<band_ieq frequency="844" target="103" />
<band_ieq frequency="1031" target="90" />
<band_ieq frequency="1313" target="98" />
<band_ieq frequency="1688" target="126" />
<band_ieq frequency="2250" target="127" />
<band_ieq frequency="3000" target="140" />
<band_ieq frequency="3750" target="96" />
<band_ieq frequency="4688" target="85" />
<band_ieq frequency="5813" target="80" />
<band_ieq frequency="7125" target="66" />
<band_ieq frequency="9000" target="38" />
<band_ieq frequency="11250" target="-32" />
<band_ieq frequency="13875" target="-132" />
<band_ieq frequency="19688" target="-275" />
</ieq-bands>
</data>
</preset>
<preset id="0" type="geq">
<data>
<graphic-equalizer-bands>
<band_geq frequency="47" gain="0" />
<band_geq frequency="141" gain="0" />
<band_geq frequency="234" gain="0" />
<band_geq frequency="328" gain="0" />
<band_geq frequency="469" gain="0" />
<band_geq frequency="656" gain="0" />
<band_geq frequency="844" gain="0" />
<band_geq frequency="1031" gain="0" />
<band_geq frequency="1313" gain="0" />
<band_geq frequency="1688" gain="0" />
<band_geq frequency="2250" gain="0" />
<band_geq frequency="3000" gain="0" />
<band_geq frequency="3750" gain="0" />
<band_geq frequency="4688" gain="0" />
<band_geq frequency="5813" gain="0" />
<band_geq frequency="7125" gain="0" />
<band_geq frequency="9000" gain="0" />
<band_geq frequency="11250" gain="0" />
<band_geq frequency="13875" gain="0" />
<band_geq frequency="19688" gain="0" />
</graphic-equalizer-bands>
</data>
</preset>
<preset id="1" type="geq">
<data>
<graphic-equalizer-bands>
<band_geq frequency="47" gain="0" />
<band_geq frequency="141" gain="0" />
<band_geq frequency="234" gain="0" />
<band_geq frequency="328" gain="0" />
<band_geq frequency="469" gain="0" />
<band_geq frequency="656" gain="0" />
<band_geq frequency="844" gain="0" />
<band_geq frequency="1031" gain="0" />
<band_geq frequency="1313" gain="0" />
<band_geq frequency="1688" gain="0" />
<band_geq frequency="2250" gain="0" />
<band_geq frequency="3000" gain="0" />
<band_geq frequency="3750" gain="0" />
<band_geq frequency="4688" gain="0" />
<band_geq frequency="5813" gain="0" />
<band_geq frequency="7125" gain="0" />
<band_geq frequency="9000" gain="0" />
<band_geq frequency="11250" gain="0" />
<band_geq frequency="13875" gain="0" />
<band_geq frequency="19688" gain="0" />
</graphic-equalizer-bands>
</data>
</preset>
<preset id="2" type="geq">
<data>
<graphic-equalizer-bands>
<band_geq frequency="47" gain="0" />
<band_geq frequency="141" gain="0" />
<band_geq frequency="234" gain="0" />
<band_geq frequency="328" gain="0" />
<band_geq frequency="469" gain="0" />
<band_geq frequency="656" gain="0" />
<band_geq frequency="844" gain="0" />
<band_geq frequency="1031" gain="0" />
<band_geq frequency="1313" gain="0" />
<band_geq frequency="1688" gain="0" />
<band_geq frequency="2250" gain="0" />
<band_geq frequency="3000" gain="0" />
<band_geq frequency="3750" gain="0" />
<band_geq frequency="4688" gain="0" />
<band_geq frequency="5813" gain="0" />
<band_geq frequency="7125" gain="0" />
<band_geq frequency="9000" gain="0" />
<band_geq frequency="11250" gain="0" />
<band_geq frequency="13875" gain="0" />
<band_geq frequency="19688" gain="0" />
</graphic-equalizer-bands>
</data>
</preset>
<preset id="3" type="geq">
<data>
<graphic-equalizer-bands>
<band_geq frequency="47" gain="0" />
<band_geq frequency="141" gain="0" />
<band_geq frequency="234" gain="0" />
<band_geq frequency="328" gain="0" />
<band_geq frequency="469" gain="0" />
<band_geq frequency="656" gain="0" />
<band_geq frequency="844" gain="0" />
<band_geq frequency="1031" gain="0" />
<band_geq frequency="1313" gain="0" />
<band_geq frequency="1688" gain="0" />
<band_geq frequency="2250" gain="0" />
<band_geq frequency="3000" gain="0" />
<band_geq frequency="3750" gain="0" />
<band_geq frequency="4688" gain="0" />
<band_geq frequency="5813" gain="0" />
<band_geq frequency="7125" gain="0" />
<band_geq frequency="9000" gain="0" />
<band_geq frequency="11250" gain="0" />
<band_geq frequency="13875" gain="0" />
<band_geq frequency="19688" gain="0" />
</graphic-equalizer-bands>
</data>
</preset>
<profile id="0" name="Dynamic" group="spatializer">
<data>
<mi-dv-leveler-steering-enable value="true" />
<mi-ieq-steering-enable value="true" />
<mi-surround-compressor-steering-enable value="false" />
<mi-adaptive-virtualizer-steering-enable value="false" />
<volume-modeler-enable value="false" />
<drc-metadata/>
<reverb-suppression-enable value="false" />
<reverb-suppression-amount value="0" />
<headphone-virtualizer-mode value="2" />
<advanced-headphone-virtualizer-rendering-config value="103,32568,11164,5090,0,3,3,3" />
<surround-decoder-diffuse-relocating-to-front-amount value="0"/>
<advanced-headphone-virtualizer-lr-angle value="45"/>
<endpoint_type id="speaker">
<include ieq_preset="2" />
<ieq-enable value="true" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="true" />
<dialog-enhancer-enable value="true" />
<dialog-enhancer-amount value="2" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="64" />
<volmax-boost value="64" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="0" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="true" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
<endpoint_type id="headphone">
<include ieq_preset="2" />
<ieq-enable value="true" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="true" />
<dialog-enhancer-enable value="true" />
<dialog-enhancer-amount value="2" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="0" />
<volmax-boost value="16" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="0" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="true" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
<endpoint_type id="other">
<include ieq_preset="2" />
<ieq-enable value="true" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="true" />
<dialog-enhancer-enable value="true" />
<dialog-enhancer-amount value="2" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="0" />
<volmax-boost value="16" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="0" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="false" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
</data>
</profile>
<profile id="1" name="Movie" group="spatializer">
<data>
<mi-dv-leveler-steering-enable value="false" />
<mi-ieq-steering-enable value="false" />
<mi-surround-compressor-steering-enable value="false" />
<mi-adaptive-virtualizer-steering-enable value="false" />
<volume-modeler-enable value="false" />
<drc-metadata/>
<reverb-suppression-enable value="false" />
<reverb-suppression-amount value="0" />
<headphone-virtualizer-mode value="2" />
<advanced-headphone-virtualizer-rendering-config value="103,32568,11164,5090,0,1,2,2" />
<surround-decoder-diffuse-relocating-to-front-amount value="0"/>
<advanced-headphone-virtualizer-lr-angle value="45"/>
<endpoint_type id="speaker">
<include ieq_preset="2" />
<ieq-enable value="false" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="true" />
<dialog-enhancer-enable value="true" />
<dialog-enhancer-amount value="4" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="88" />
<volmax-boost value="64" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="1" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="true" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
<endpoint_type id="headphone">
<include ieq_preset="2" />
<ieq-enable value="false" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="true" />
<dialog-enhancer-enable value="true" />
<dialog-enhancer-amount value="4" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="0" />
<volmax-boost value="16" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="1" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="true" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
<endpoint_type id="other">
<include ieq_preset="2" />
<ieq-enable value="false" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="true" />
<dialog-enhancer-enable value="true" />
<dialog-enhancer-amount value="4" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="0" />
<volmax-boost value="16" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="1" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="false" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
</data>
</profile>
<profile id="2" name="Music" group="spatializer">
<data>
<mi-dv-leveler-steering-enable value="false" />
<mi-ieq-steering-enable value="false" />
<mi-surround-compressor-steering-enable value="false" />
<mi-adaptive-virtualizer-steering-enable value="false" />
<volume-modeler-enable value="false" />
<drc-metadata/>
<reverb-suppression-enable value="false" />
<reverb-suppression-amount value="0" />
<headphone-virtualizer-mode value="2" />
<advanced-headphone-virtualizer-rendering-config value="103,32568,11164,5090,0,3,3,3" />
<surround-decoder-diffuse-relocating-to-front-amount value="0"/>
<advanced-headphone-virtualizer-lr-angle value="45"/>
<endpoint_type id="speaker">
<include ieq_preset="2" />
<ieq-enable value="true" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="false" />
<dialog-enhancer-enable value="false" />
<dialog-enhancer-amount value="0" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="64" />
<volmax-boost value="32" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="0" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="true" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
<endpoint_type id="headphone">
<include ieq_preset="2" />
<ieq-enable value="true" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="false" />
<dialog-enhancer-enable value="false" />
<dialog-enhancer-amount value="0" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="0" />
<volmax-boost value="0" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="0" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="true" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
<endpoint_type id="other">
<include ieq_preset="2" />
<ieq-enable value="true" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="false" />
<dialog-enhancer-enable value="false" />
<dialog-enhancer-amount value="0" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="0" />
<volmax-boost value="0" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="0" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="false" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
</data>
</profile>
<profile id="3" name="Voice" group="spatializer">
<data>
<mi-dv-leveler-steering-enable value="false" />
<mi-ieq-steering-enable value="false" />
<mi-surround-compressor-steering-enable value="false" />
<mi-adaptive-virtualizer-steering-enable value="false" />
<volume-modeler-enable value="false" />
<drc-metadata/>
<reverb-suppression-enable value="false" />
<reverb-suppression-amount value="0" />
<headphone-virtualizer-mode value="2" />
<advanced-headphone-virtualizer-rendering-config value="103,32568,11164,5090,0,1,1,1" />
<surround-decoder-diffuse-relocating-to-front-amount value="0"/>
<advanced-headphone-virtualizer-lr-angle value="45"/>
<endpoint_type id="speaker">
<include ieq_preset="2" />
<ieq-enable value="false" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="true" />
<dialog-enhancer-enable value="true" />
<dialog-enhancer-amount value="4" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="0" />
<volmax-boost value="64" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="1" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="true" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4" />
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
<endpoint_type id="headphone">
<include ieq_preset="2" />
<ieq-enable value="false" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="true" />
<dialog-enhancer-enable value="true" />
<dialog-enhancer-amount value="4" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="0" />
<volmax-boost value="16" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="1" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="true" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
<endpoint_type id="other">
<include ieq_preset="2" />
<ieq-enable value="false" />
<ieq-amount value="6" />
<calibration-boost value="0" />
<mi-dialog-enhancer-steering-enable value="true" />
<dialog-enhancer-enable value="true" />
<dialog-enhancer-amount value="4" />
<dialog-enhancer-ducking value="2" />
<mi-virtualizer-binaural-steering-enable value="false" />
<peak-value value="256" />
<surround-decoder-enable value="true" />
<surround-boost value="0" />
<volmax-boost value="16" />
<hearing-protection-enable value="false" />
<hearing-protection-rms-averaging-time-win-len value="6" />
<hearing-protection-rms-attenuation-target value="-256" />
<hearing-protection-attenuation-attack-time value="900" />
<hearing-protection-attenuation-release-time value="1600" />
<volume-leveler-enable value="true" />
<volume-leveler-amount value="1" />
<volume-leveler-in-target value="-256" />
<volume-leveler-out-target value="-256" />
<graphic-equalizer-enable value="true" />
<virtualizer-enable value="false" />
<virtualizer-start-band value="0" />
<headphone-virtualizer-steerer-source-distance value="4"/>
<bass-enhancer-enable value="false" />
<virtual-bass-process-enable value="false" />
</endpoint_type>
</data>
</profile>
<tuning name="speaker" endpoint_type="speaker" mono_device="false" tuned_rate="48000" orientation="1" output_channels="2">
<device_id id="default_internal_speaker" endpoint_port="internal_speaker" />
<device_id id="speaker" endpoint_port="internal_speaker" />
<data>
<audio-optimizer-bands>
<band_optimizer frequency="47" gain_left="0" gain_right="0" />
<band_optimizer frequency="141" gain_left="0" gain_right="0" />
<band_optimizer frequency="234" gain_left="0" gain_right="0" />
<band_optimizer frequency="328" gain_left="0" gain_right="0" />
<band_optimizer frequency="469" gain_left="0" gain_right="0" />
<band_optimizer frequency="656" gain_left="0" gain_right="0" />
<band_optimizer frequency="844" gain_left="0" gain_right="0" />
<band_optimizer frequency="1031" gain_left="0" gain_right="0" />
<band_optimizer frequency="1313" gain_left="0" gain_right="0" />
<band_optimizer frequency="1688" gain_left="0" gain_right="0" />
<band_optimizer frequency="2250" gain_left="0" gain_right="0" />
<band_optimizer frequency="3000" gain_left="0" gain_right="0" />
<band_optimizer frequency="3750" gain_left="0" gain_right="0" />
<band_optimizer frequency="4688" gain_left="0" gain_right="0" />
<band_optimizer frequency="5813" gain_left="0" gain_right="0" />
<band_optimizer frequency="7125" gain_left="0" gain_right="0" />
<band_optimizer frequency="9000" gain_left="0" gain_right="0" />
<band_optimizer frequency="11250" gain_left="0" gain_right="0" />
<band_optimizer frequency="13875" gain_left="0" gain_right="0" />
<band_optimizer frequency="19688" gain_left="0" gain_right="0" />
</audio-optimizer-bands>
<regulator-tuning>
<band_regulator frequency="47" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="141" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="234" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="328" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="469" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="656" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="844" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="1031" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="1313" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="1688" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="2250" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="3000" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="3750" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="4688" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="5813" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="7125" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="9000" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="11250" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="13875" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="19688" threshold_low="-192" threshold_high="0" isolated_band="false" />
</regulator-tuning>
<regulator-sibilance-suppress-amounts-left />
<regulator-sibilance-suppress-amounts-right />
<bass-enhancer-boost value="192" />
<bass-enhancer-cutoff-frequency value="200" />
<bass-enhancer-width value="16" />
<bass-extraction-cutoff-frequency value="200" />
<complex-equalizer-tuning-left value="0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0" />
<complex-equalizer-tuning-right value="0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0,32767,0" />
<height-filter-mode value="0" />
<speaker-virtualizer-mode value="2" />
<advanced-speaker-virtualizer-start-bin value="6" />
<advanced-speaker-virtualizer-rendering-config value="103,32568,6698,5090,0,3,3,3" />
<output-mode>
<mix_matrix>
<element value="10,12,16384,0,0,16384,11583,11583,8192,8192,16384,0,0,16384" />
<element value="11,16,16384,0,0,16384,11583,11583,8192,8192,16384,0,0,16384,16384,0,0,16384" />
<element value="15,24,16384,0,0,16384,11583,11583,8192,8192,16384,0,0,16384,16384,0,0,16384,16384,0,0,16384,16384,0,0,16384" />
</mix_matrix>
</output-mode>
<regulator-overdrive value="0" />
<regulator-timbre-preservation value="12" />
<regulator-stress-amount value="96,96,96,96" />
<regulator-distortion-slope value="16"/>
<virtual-bass-mode value="3" />
<virtual-bass-overall-gain value="0" />
<virtual-bass-slope-gain value="0" />
<virtual-bass-mix-freqs frequency_low="94" frequency_high="469" />
<virtual-bass-src-freqs frequency_low="35" frequency_high="160" />
<virtual-bass-subgains harmonic_2="-32" harmonic_3="-144" harmonic_4="-192" />
<virtual-bass-harmgains value="-2080,48,48,48"/>
<virtual-bass-hybgains value="0,0,0,0,0,0"/>
<virtual-bass-rolloff-gain value="0"/>
<virtual-bass-blend-linear-gain value="10"/>
<virtual-bass-mix-frequency value="100,1500"/>
<virtual-bass-compressor-tuning value="0,0,-320,96,32,50,50"/>
<bass-mbdrc-tuning value="1,-1600,0,-1120,-400,-240,0,5,10,0,1,-1600,0,-1120,-400,-240,0,5,10,0,1,-1600,0,-1120,-400,-240,0,5,10,0,1,-1600,0,-1120,-400,-240,0,5,10,0,1,-1600,0,-1120,-400,-240,0,5,10,0,1,-1600,0,-1120,-400,-240,0,5,10,0,1,-1600,0,-1120,-400,-240,0,5,10,0,1,-1600,0,-1120,-400,-240,0,5,10,0"/>
<virtualizer-front-speaker-angle value="10" />
<virtualizer-height-speaker-angle value="10" />
<virtualizer-surround-speaker-angle value="10" />
<virtualizer-rear-height-speaker-angle value="10" />
<virtualizer-rear-surround-speaker-angle value="10" />
<volume-modeler-calibration value="0" />
<audio-optimizer-enable value="true" />
<volume-leveler-compressor-enable value="false" />
<bass-extraction-enable value="false" />
<complex-equalizer-enable value="true" />
<regulator-enable value="true" />
<regulator-speaker-dist-enable value="true" />
<regulator-sibilance-suppress-enable value="false" />
<bass-mbdrc-enable value="true" />
</data>
</tuning>
<tuning name="headphone" endpoint_type="headphone" mono_device="false" tuned_rate="48000" orientation="2" output_channels="2">
<device_id id="default_headphone" endpoint_port="headphone" />
<device_id id="default_bluetooth" endpoint_port="bluetooth" />
<device_id id="default_usb" endpoint_port="usb" />
<device_id id="headphone" endpoint_port="headphone" />
<data>
<audio-optimizer-bands>
<band_optimizer frequency="47" gain_left="0" gain_right="0" />
<band_optimizer frequency="141" gain_left="0" gain_right="0" />
<band_optimizer frequency="234" gain_left="0" gain_right="0" />
<band_optimizer frequency="328" gain_left="0" gain_right="0" />
<band_optimizer frequency="469" gain_left="0" gain_right="0" />
<band_optimizer frequency="656" gain_left="0" gain_right="0" />
<band_optimizer frequency="844" gain_left="0" gain_right="0" />
<band_optimizer frequency="1031" gain_left="0" gain_right="0" />
<band_optimizer frequency="1313" gain_left="0" gain_right="0" />
<band_optimizer frequency="1688" gain_left="0" gain_right="0" />
<band_optimizer frequency="2250" gain_left="0" gain_right="0" />
<band_optimizer frequency="3000" gain_left="0" gain_right="0" />
<band_optimizer frequency="3750" gain_left="0" gain_right="0" />
<band_optimizer frequency="4688" gain_left="0" gain_right="0" />
<band_optimizer frequency="5813" gain_left="0" gain_right="0" />
<band_optimizer frequency="7125" gain_left="0" gain_right="0" />
<band_optimizer frequency="9000" gain_left="0" gain_right="0" />
<band_optimizer frequency="11250" gain_left="0" gain_right="0" />
<band_optimizer frequency="13875" gain_left="0" gain_right="0" />
<band_optimizer frequency="19688" gain_left="0" gain_right="0" />
</audio-optimizer-bands>
<regulator-tuning>
<band_regulator frequency="47" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="141" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="234" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="328" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="469" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="656" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="844" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="1031" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="1313" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="1688" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="2250" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="3000" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="3750" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="4688" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="5813" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="7125" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="9000" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="11250" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="13875" threshold_low="-192" threshold_high="0" isolated_band="false" />
<band_regulator frequency="19688" threshold_low="-192" threshold_high="0" isolated_band="false" />
</regulator-tuning>
<regulator-sibilance-suppress-amounts-left />
<regulator-sibilance-suppress-amounts-right />
<bass-enhancer-boost value="96" />
<bass-enhancer-cutoff-frequency value="160" />
<bass-enhancer-width value="16" />
<bass-extraction-cutoff-frequency value="200" />
<complex-equalizer-tuning-left />
<complex-equalizer-tuning-right />
<height-filter-mode value="0" />
<speaker-virtualizer-mode value="2" />
<advanced-speaker-virtualizer-start-bin value="6" />
<advanced-speaker-virtualizer-rendering-config value="103,32568,6698,5090,0,3,3,3" />
<output-mode>
<mix_matrix />
</output-mode>
<regulator-overdrive value="0" />
<regulator-timbre-preservation value="12" />
<regulator-stress-amount value="96,96,96,96" />
<regulator-distortion-slope value="16"/>
<virtual-bass-mode value="3" />
<virtual-bass-overall-gain value="0" />
<virtual-bass-slope-gain value="0" />
<virtual-bass-mix-freqs frequency_low="99" frequency_high="281" />
<virtual-bass-src-freqs frequency_low="30" frequency_high="90" />
<virtual-bass-subgains harmonic_2="-48" harmonic_3="-480" harmonic_4="-240" />
<virtual-bass-harmgains value="-2080,48,48,48"/>
<virtual-bass-hybgains value="0,0,0,0,0,0"/>
<virtual-bass-rolloff-gain value="0"/>
<virtual-bass-blend-linear-gain value="10"/>
<virtual-bass-mix-frequency value="100,1500"/>
<virtual-bass-compressor-tuning value="0,0,-320,96,32,50,50"/>
<bass-mbdrc-tuning />
<virtualizer-front-speaker-angle value="10" />
<virtualizer-height-speaker-angle value="10" />
<virtualizer-surround-speaker-angle value="10" />
<virtualizer-rear-height-speaker-angle value="10" />
<virtualizer-rear-surround-speaker-angle value="10" />
<volume-modeler-calibration value="160" />
<audio-optimizer-enable value="false" />
<volume-leveler-compressor-enable value="false" />
<bass-extraction-enable value="false" />
<complex-equalizer-enable value="false" />
<regulator-enable value="true" />
<regulator-speaker-dist-enable value="false" />
<regulator-sibilance-suppress-enable value="false" />
<bass-mbdrc-enable value="false" />
</data>
</tuning>
<authorized_technologies sku_name="DAX3 Android" device="dax3_android" bundle="DAP MOBILE v2.2">
<global_setting virtual_bass_process="1" />
</authorized_technologies>
</device_data>
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,145 @@
# Copyright (c) 2023 Xiaomi, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Xiaomi, Inc.
#
on post-fs-data
mkdir /data/vendor/mqsas_common 0771 system system
mkdir /data/vendor/touch 0771 system system
mkdir /data/vendor/touch_state 0771 system system
mkdir /mnt/vendor/persist/touch 0775 system system
on boot
chown system system /dev/xiaomi-touch
chmod 0666 /dev/xiaomi-touch
chown system system /dev/xiaomi-touch-knock
chmod 0664 /dev/xiaomi-touch-knock
chown system system /dev/xiaomi-thp
chmod 0664 /dev/xiaomi-thp
chown system system /sys/class/touch/tp_dev/fod_status
chmod 0664 /sys/class/touch/tp_dev/fod_status
chown system system /sys/class/touch/touch_dev/gesture_single_tap_state
chmod 0664 /sys/class/touch/touch_dev/gesture_single_tap_state
chown system system /sys/class/touch/touch_dev/fod_press_status
chmod 0664 /sys/class/touch/touch_dev/fod_press_status
chown system system /proc/tp_selftest
chmod 0664 /proc/tp_selftest
chown system system /proc/tp_selftest_1
chmod 0664 /proc/tp_selftest_1
chown system system /sys/class/touch/touch_dev/clicktouch_raw
chmod 0664 /sys/class/touch/touch_dev/clicktouch_raw
chown system system /sys/class/touch/touch_dev/update_rawdata
chmod 0664 /sys/class/touch/touch_dev/update_rawdata
chown system system /sys/class/touch/touch_dev/enable_touch_raw
chmod 0664 /sys/class/touch/touch_dev/enable_touch_raw
chown system system /sys/class/touch/touch_dev/resolution_factor
chmod 0664 /sys/class/touch/touch_dev/resolution_factor
chown system system /sys/class/touch/touch_dev/enable_touch_delta
chmod 0664 /sys/class/touch/touch_dev/enable_touch_delta
chown system system /sys/class/touch/touch_dev/touch_thp_dump
chmod 0664 /sys/class/touch/touch_dev/touch_thp_dump
chown system system /sys/class/touch/touch_dev/touch_thp_cmd
chmod 0664 /sys/class/touch/touch_dev/touch_thp_cmd
chown system system /sys/class/touch/touch_dev/suspend_state
chmod 0664 /sys/class/touch/touch_dev/suspend_state
chown system system /sys/class/touch/touch_dev/prox_sensor_data
chmod 0664 /sys/class/touch/touch_dev/prox_sensor_data
chown system system /sys/class/touch/touch_dev/prox_sensor
chmod 0664 /sys/class/touch/touch_dev/prox_sensor
chown system system /sys/class/touch/touch_dev/touch_thp_rx_num
chmod 0664 /sys/class/touch/touch_dev/touch_thp_rx_num
chown system system /sys/class/touch/touch_dev/touch_thp_tx_num
chmod 0664 /sys/class/touch/touch_dev/touch_thp_tx_num
chown system system /sys/class/touch/touch_dev/touch_thp_x_resolution
chmod 0664 /sys/class/touch/touch_dev/touch_thp_x_resolution
chown system system /sys/class/touch/touch_dev/touch_thp_y_resolution
chmod 0664 /sys/class/touch/touch_dev/touch_thp_y_resolution
chown system system /sys/class/touch/touch_dev/touch_thp_smooth
chmod 0664 /sys/class/touch/touch_dev/touch_thp_smooth
chown system system /sys/class/touch/touch_dev/touch_thp_noisefilter
chmod 0664 /sys/class/touch/touch_dev/touch_thp_noisefilter
chown system system /sys/class/touch/touch_dev/touch_thp_downthd
chmod 0664 /sys/class/touch/touch_dev/touch_thp_downthd
chown system system /sys/class/touch/touch_dev/touch_thp_upthd
chmod 0664 /sys/class/touch/touch_dev/touch_thp_upthd
chown system system /sys/class/touch/touch_dev/touch_thp_movethd
chmod 0664 /sys/class/touch/touch_dev/touch_thp_movethd
chown system system /sys/class/touch/touch_dev/touch_thp_islandthd
chmod 0664 /sys/class/touch/touch_dev/touch_thp_islandthd
chown system system /sys/class/touch/touch_dev/touch_thp_cmd_data
chmod 0664 /sys/class/touch/touch_dev/touch_thp_cmd_data
chown system system /sys/class/touch/touch_dev/palm_sensor_data
chmod 0664 /sys/class/touch/touch_dev/palm_sensor_data
chown system system /sys/class/touch/touch_dev/palm_sensor
chmod 0664 /sys/class/touch/touch_dev/palm_sensor
chown system system /sys/class/touch/touch_dev/hold_sensor
chmod 0664 /sys/class/touch/touch_dev/hold_sensor
chown system system /proc/tp_fw_version
chmod 0664 /proc/tp_fw_version
chown system system /proc/tp_lockdown_info
chmod 0664 /proc/tp_lockdown_info
chmod 0664 /sys/class/touch/touch_dev/touch_active_status
chown system system /sys/class/touch/touch_dev/touch_active_status
chmod 0664 /sys/class/touch/touch_dev/touch_finger_status
chown system system /sys/class/touch/touch_dev/touch_finger_status
chmod 0664 /sys/class/touch/touch_dev/touch_irq_no
chown system system /sys/class/touch/touch_dev/touch_irq_no
chmod 0664 /sys/class/touch/touch_dev/touch_sensor
chown system system /sys/class/touch/touch_dev/touch_sensor
chmod 0664 /sys/class/touch/touch_dev/touch_sensor_ctrl
chown system system /sys/class/touch/touch_dev/touch_sensor_ctrl
chmod 0664 /sys/class/touch/touch_dev/touch_thp_mem_notify
chown system system /sys/class/touch/touch_dev/touch_thp_mem_notify
chmod 0664 /sys/class/touch/touch_dev/touch_thp_testmode
chown system system /sys/class/touch/touch_dev/touch_thp_testmode
chmod 0664 /sys/class/touch/touch_dev/touch_thp_testresult
chown system system /sys/class/touch/touch_dev/touch_thp_testresult
chmod 0664 /sys/class/touch/touch_dev/touch_thp_preset_point
chown system system /sys/class/touch/touch_dev/touch_thp_preset_point
chmod 0664 /sys/class/touch/touch_dev/touch_doze_analysis
chown system system /sys/class/touch/touch_dev/touch_doze_analysis
chown system system /sys/class/touch/touch_dev/touch_thp_cmd_ready
chmod 0664 /sys/class/touch/touch_dev/touch_thp_cmd_ready
chmod 0664 /sys/class/touch/touch_dev/touch_ic_buffer
chown system system /sys/class/touch/touch_dev/touch_ic_buffer
chmod 0664 /sys/class/touch/touch_dev/abnormal_event
chown system system /sys/class/touch/touch_dev/abnormal_event
chown system system /sys/class/touch/touch_dev/touch_thp_ic_cmd
chmod 0664 /sys/class/touch/touch_dev/touch_thp_ic_cmd
chown system system /sys/class/touch/touch_dev/touch_thp_ic_cmd_data
chmod 0664 /sys/class/touch/touch_dev/touch_thp_ic_cmd_data
chown system system /sys/class/touch/touch_dev/touch_dfs_test
chmod 0664 /sys/class/touch/touch_dev/touch_dfs_test
on charger
write /sys/class/touch/touch_dev/touch_doze_analysis 6
service touchfeature-service /vendor/bin/hw/vendor.xiaomi.hw.touchfeature-service
interface aidl vendor.xiaomi.hw.touchfeature.ITouchFeature/default
class hal
user system
group system system input
capabilities SYS_NICE
ioprio rt 4
service toucheventcheck /odm/bin/toucheventcheck
class main
user root
group system
oneshot
service panel-info-sh /system/vendor/bin/sh /odm/etc/init.panel_info.sh
class core
user root
oneshot
group root system
seclabel u:r:vendor_touch_init_shell:s0
service touch-kmsg-init-sh /system/vendor/bin/sh /odm/etc/tp_kmsg_init.sh
class main
user root
group root system
oneshot
seclabel u:r:vendor_touch_init_shell:s0
@@ -0,0 +1,10 @@
<!--
Input:
vendor/xiaomi/proprietary/touch/touchfeature_v2/touchfeature/default/vendor.xiaomi.hw.touchfeature-service.xml
-->
<manifest version="9.0" type="device">
<hal format="aidl">
<name>vendor.xiaomi.hw.touchfeature</name>
<fqname>ITouchFeature/default</fqname>
</hal>
</manifest>