<?xml version="1.0" encoding="utf-8"?>
<sw_selfcheck_items>
	<!-- 1、这里放工模保存的校准参数/文件 -->
	<!-- 2、模块自己产生的校准文件放在模块的xml中，由模块自己维护 -->
	<!-- ps_cali high -->
	<command name = "ps_cali">
		<item type = "backup" tag = "ps_cali_data" />
		<item type = "backup" tag = "ps_cali_data_short" />
		<item type = "backup" tag = "ps_cali_flag" />
		<item type = "backup" tag = "ps_cali_offset" />
		<item type = "backup" tag = "ps_cali_offset_data" />
		<item type = "property" tag = "persist.sys.base_threshold_prox" />
        <item type = "property" tag = "persist.sys.ps_cali_data_short" />
	</command>

	<command name = "ps_cali_back">
		<item type = "backup" tag = "ps_cali_data" />
		<item type = "backup" tag = "ps_cali_data_short" />
		<item type = "backup" tag = "ps_cali_flag" />
		<item type = "backup" tag = "ps_cali_offset" />
		<item type = "backup" tag = "ps_cali_offset_data" />
		<item type = "property" tag = "persist.sys.base_threshold_prox" />
        <item type = "property" tag = "persist.sys.ps_cali_data_short" />
	</command>

	<command name = "light_sensor_cali">
		<item type = "backup" tag = "als_cali_data" />
		<item type = "backup" tag = "als_cali_flag" />
		<item type = "backup" tag = "als_cali_ver" />
		<item type = "property" tag = "persist.sys.light_all_bright" />
	</command>

	<command name = "light_sensor_dark_screen_cali">
		<item type = "backup" tag = "als_cali_data" />
		<item type = "backup" tag = "als_cali_flag" />
		<item type = "backup" tag = "als_cali_ver" />
		<item type = "property" tag = "persist.sys.light_all_bright" />
	</command>

	<command name = "light_sensor_bright_screen_cali">
		<item type = "backup" tag = "cct_data_lux1" />
		<item type = "property" tag = "persist.sys.light_all_bright" />
	</command>

	<command name = "light_sensor_leak_cali">
		<item type = "backup" tag = "light_sensor_leak_cali_factor_k1" />
		<item type = "backup" tag = "light_sensor_leak_offset_value" />
		<item type = "backup" tag = "light_sensor_leak_cali_flag" />
	</command>

	<command name = "light_sensor_leak_cali_clean">
		<item type = "backup" tag = "light_sensor_leak_cali_factor_k1" />
		<item type = "backup" tag = "light_sensor_leak_offset_value" />
		<item type = "backup" tag = "light_sensor_leak_cali_flag" />
	</command>

	<!-- back light sensor cali -->
	<command name = "light_sensor_cali_back">
		<item type = "back_backup" tag = "als_cali_data" />
		<item type = "back_backup" tag = "als_cali_flag" />
		<item type = "back_backup" tag = "als_cali_ver" />
		<item type = "property" tag = "persist.sys.light_threshold_back" />
	</command>

	<!--back light sensor dark screen cali -->
	<command name = "bright_screen_cali_back">
		<item type = "back_backup" tag = "cct_data_lux1_back" />
		<item type = "property" tag = "persist.sys.light_all_bright_back" />
	</command>

	<command name = "light_sensor_leak_cali_back">
		<item type = "back_backup" tag = "light_sensor_leak_cali_factor_k1" />
		<item type = "back_backup" tag = "light_sensor_leak_offset_value" />
		<item type = "back_backup" tag = "light_sensor_leak_cali_flag" />
	</command>
	
	<command name = "light_sensor_top_cali">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/light_top_cali" />
		<item type = "property" tag = "persist.sys.light_top_cali" />
	</command>

	<!-- 五代光敏 暗箱亮屏校准-->
	<command name = "light_sensor_bright_screen_cali_v5">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/low_light_color_cali" />
		<item type = "file" tag = "/mnt/vendor/persist/sensor/full_light_color_cali" />
		<item type = "file" tag = "/mnt/vendor/persist/sensor/full_light_location_cali" />
	</command>
	
	<!-- 七代光敏 暗箱亮屏校准 -->
	<command name = "light_sensor_bright_screen_cali_v7">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/lightSensor_ColorCali_data" />
		<item type = "file" tag = "/mnt/vendor/persist/sensor/full_light_location_cali" />
	</command>

	<!-- 五代光敏 暗箱亮屏校准 -->
	<command name = "light_sensor_bright_screen_cali_v5_b">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/low_light_color_cali_b" />
		<item type = "file" tag = "/mnt/vendor/persist/sensor/full_light_color_cali_b" />
		<item type = "file" tag = "/mnt/vendor/persist/sensor/full_light_location_cali_b" />
	</command>
	
		<!-- 七代光敏 暗箱亮屏校准 -->
	<command name = "light_sensor_bright_screen_cali_v7_b">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/lightSensor_ColorCali_data_b" />
		<item type = "file" tag = "/mnt/vendor/persist/sensor/full_light_location_cali_b" />
	</command>

	<!-- 多光谱CCT  -->
	<command name = "multi_spectral_cct_cali">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/multi_spectral_cct_factor_data" />
	</command>

	<!-- back cct cali -->
	<command name = "back_cct_cali">
		<item type = "backup" tag = "cct_cali_factor_c" />
		<item type = "backup" tag = "cct_cali_factor_r" />
		<item type = "backup" tag = "cct_cali_factor_g" />
		<item type = "backup" tag = "cct_cali_factor_b" />
		<item type = "backup" tag = "cct_cali_factor_w" />
		<item type = "backup" tag = "cct_cali_flag" />
	</command>

	<!-- back cct cali -->
	<command name = "back_cct_cali_tsl2522">
		<item type = "backup" tag = "cct_cali_factor_c" />
		<item type = "backup" tag = "cct_cali_factor_r" />
		<item type = "backup" tag = "cct_cali_factor_g" />
		<item type = "backup" tag = "cct_cali_factor_b" />
		<item type = "backup" tag = "cct_cali_factor_w" />
		<item type = "backup" tag = "cct_cali_flag" />
	</command>

	<!-- front cct cali -->
	<command name = "front_cct_cali">
		<item type = "backup" tag = "mscct_cali_factor_c" />
		<item type = "backup" tag = "mscct_cali_factor_r" />
		<item type = "backup" tag = "mscct_cali_factor_g" />
		<item type = "backup" tag = "mscct_cali_factor_b" />
		<item type = "backup" tag = "mscct_cali_factor_w" />
		<item type = "backup" tag = "mscct_cali_flag" />
	</command>
	
	<!-- front cct cali -->
	<command name = "front_cct_cali_back">
		<item type = "back_backup" tag = "mscct_cali_factor_c" />
		<item type = "back_backup" tag = "mscct_cali_factor_r" />
		<item type = "back_backup" tag = "mscct_cali_factor_g" />
		<item type = "back_backup" tag = "mscct_cali_factor_b" />
		<item type = "back_backup" tag = "mscct_cali_factor_w" />
		<item type = "back_backup" tag = "mscct_cali_flag" />
	</command>

    <!--气压计-->
	<command name = "senor_barometer_cali">
		<item type = "backup" tag = "sns_bar_target_val" />
	</command>
	
	<!-- 重力 -->
	<command name = "gsensor_cali">
		<item type = "backup" tag = "gs_cali_dataX" />
		<item type = "backup" tag = "gs_cali_dataY" />
		<item type = "backup" tag = "gs_cali_dataZ" />
		<item type = "backup" tag = "gsensor_calibration_flag" />
	</command>
	
	<command name = "gsensor_cali_background">
		<item type = "backup" tag = "gs_cali_dataX" />
		<item type = "backup" tag = "gs_cali_dataY" />
		<item type = "backup" tag = "gs_cali_dataZ" />
		<item type = "backup" tag = "gsensor_calibration_flag" />
	</command>
	

	<command name = "gsensor_ois_cali_background">
		<item type = "backup" tag = "gs_ois_cali_dataX" />
		<item type = "backup" tag = "gs_ois_cali_dataY" />
		<item type = "backup" tag = "gs_ois_cali_dataZ" />
		<item type = "backup" tag = "gsensor_ois_calibration_flag" />
	</command>

	<command name = "gsensor_all_cali_background">
		<item type = "backup" tag = "gs_cali_dataX" />
		<item type = "backup" tag = "gs_cali_dataY" />
		<item type = "backup" tag = "gs_cali_dataZ" />
		<item type = "backup" tag = "gyr_ois_cali_dataX" />
		<item type = "backup" tag = "gyr_ois_cali_dataY" />
		<item type = "backup" tag = "gyr_ois_cali_dataZ" />
		<item type = "backup" tag = "gsensor_calibration_flag" />
		<item type = "backup" tag = "gsensor_ois_calibration_flag" />
	</command>
	
	<!-- 陀螺仪 -->
	<command name = "gyroscope_cali">
		<item type = "backup" tag = "gyr_cali_dataX" />
		<item type = "backup" tag = "gyr_cali_dataY" />
		<item type = "backup" tag = "gyr_cali_dataZ" />
		<item type = "backup" tag = "gyroscope_calibration_flag" />
	</command>

	<command name = "gyrosensor_cali_background">
		<item type = "backup" tag = "gyr_cali_dataX" />
		<item type = "backup" tag = "gyr_cali_dataY" />
		<item type = "backup" tag = "gyr_cali_dataZ" />
		<item type = "backup" tag = "gyroscope_calibration_flag" />
	</command>

	<!-- gyrosensor_ois -->
	<command name = "gyrosensor_ois_cali_background">
		<item type = "backup" tag = "gyr_ois_cali_dataX" />
		<item type = "backup" tag = "gyr_ois_cali_dataY" />
		<item type = "backup" tag = "gyr_ois_cali_dataZ" />
		<item type = "backup" tag = "gyroscope_ois_calibration_flag" />
	</command>
	<!-- gyrosensor all -->
	<command name = "gyrosensor_all_cali_background">
		<item type = "backup" tag = "gs_cali_dataX" />
		<item type = "backup" tag = "gs_cali_dataY" />
		<item type = "backup" tag = "gs_cali_dataZ" />
		<item type = "backup" tag = "gyr_ois_cali_dataX" />
		<item type = "backup" tag = "gyr_ois_cali_dataY" />
		<item type = "backup" tag = "gyr_ois_cali_dataZ" />
		<item type = "backup" tag = "gsensor_calibration_flag" />
		<item type = "backup" tag = "gyroscope_ois_calibration_flag" />
	</command>

	<!--IMU-->
	<command name = "imu_gry_cali">
	<item type = "file" tag = "/mnt/vendor/persist/sensor/imu_gyr_para.json" />
	</command>
	<command name = "imu_acc_cali">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/imu_acc_para.json" />
	</command>

	<!-- silence hall ic -->
	<command name = "up_hall_ic_zero">
		<item type = "backup" tag = "up_hall_test_singal_value_zero_angle" />
		<item type = "file" tag = "/persist/sensors/registry/registry/em_hall_top_0_bias" />
	</command>
	<command name = "up_hall_ic_flat">
		<item type = "backup" tag = "up_hall_test_singal_value_flat_angle" />
		<item type = "file" tag = "/persist/sensors/registry/registry/em_hall_bottom_0_bias" />
	</command>
	<command name = "low_hall_ic_zero">
		<item type = "backup" tag = "low_hall_test_singal_value_zero_angle" />
		<item type = "file" tag = "/persist/sensors/registry/registry/em_hall_top_180_bias" />
	</command>
	<command name = "low_hall_ic_flat">
		<item type = "backup" tag = "low_hall_test_singal_value_flat_angle" />
		<item type = "file" tag = "/persist/sensors/registry/registry/em_hall_bottom_180_bias" />
	</command>
   <!--三轴静音霍尔-->
	<command name = "trimag_up_hall_ic_zero">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/three_axis_hall_sensor_factor_data_1_0" />
	</command>
	<command name = "trimag_up_hall_ic_flat">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/three_axis_hall_sensor_factor_data_2_0" />
	</command>
	<command name = "trimag_low_hall_ic_zero">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/three_axis_hall_sensor_factor_data_1_180" />
	</command>
	<command name = "trimag_low_hall_ic_flat">
		<item type = "file" tag = "/mnt/vendor/persist/sensor/three_axis_hall_sensor_factor_data_2_180" />
	</command>

	<!--线性马达-->
	<command name = "linear_motor_cali">
		<item type = "backup" tag = "linear_motor_offset" />
		<item type = "backup" tag = "linear_motor_2_offset" />
		<item type = "property" tag = "persist.vendor.vivo.cali.f0" />
		<item type = "property" tag = "persist.vendor.vivo.cali_2.f0" />
	</command>

	<command name = "clean_backup_cali_data">
		<item type = "backup" tag = "ps_cali_flag" />
		<item type = "backup" tag = "als_cali_flag" />
		<item type = "backup" tag = "cct_cali_flag" />
		<item type = "backup" tag = "mscct_cali_flag" />
		<item type = "backup" tag = "gsensor_calibration_flag" />
		<item type = "backup" tag = "gsensor_ois_calibration_flag" />
		<item type = "backup" tag = "gyroscope_calibration_flag" />
		<item type = "backup" tag = "gyroscope_ois_calibration_flag" />
		<item type = "backup" tag = "ccm_hall1_pop_cali_data" />
		<item type = "backup" tag = "ccm_hall1_push_cali_data" />
		<item type = "backup" tag = "ccm_hall2_pop_cali_data" />
		<item type = "backup" tag = "ccm_hall2_push_cali_data" />
		<item type = "backup" tag = "up_hall_cali_value_flat_angle" />
		<item type = "backup" tag = "low_hall_cali_value_flat_angle" />
		<item type = "backup" tag = "silent_hall_cali_flag_flat_angle" />
		<item type = "backup" tag = "up_hall_cali_value_zero_angle" />
		<item type = "backup" tag = "low_hall_cali_value_zero_angle" />
		<item type = "backup" tag = "silent_hall_cali_flag_zero_angle" />
		<item type = "backup" tag = "angle_cali_90_degrees" />
		<item type = "backup" tag = "angle_cali_90_degrees_flag" />
		<item type = "backup" tag = "angle_cali_150_degrees" />
		<item type = "backup" tag = "angle_cali_150_degrees_flag" />
		<item type = "back_backup" tag = "als_cali_data_back" />
		<item type = "backup" tag = "up_hall_test_singal_value_flat_angle" />
		<item type = "backup" tag = "low_hall_test_singal_value_flat_angle" />
		<item type = "backup" tag = "up_hall_test_singal_value_zero_angle" />
		<item type = "backup" tag = "low_hall_test_singal_value_zero_angle" />
		<item type = "backup" tag = "hall_switch_cali_val" />
		<item type = "backup" tag = "hall_switch_cali_flag" />
		<item type = "backup" tag = "cali_flag_clock_TMF8801" />
		<item type = "backup" tag = "cali_flag_crosstalk_TMF8801" />
	</command>

	<command name = "software_selfcheck">
		<item type = "file" tag = "/data/engineermode/.*$" ap = "system" value = "0" />
		<item type = "file" tag = "/data/vivo-common/engineermode/.*$" ap = "system" value = "0" />
		<item type = "file" tag = "/data/media/0/factory_log" ap = "system" value = "0" />
		<item type = "file" tag = "/cache/recovery/last_self_check" ap = "system" value = "0" />
		<item type = "file" tag = "/cache/recovery/last_PCB_*" ap = "system" value = "0" />
		<item type = "backup" tag = "recovery_log_flag" value = "00000000" />
		<item type = "property" tag = "sys.factory.log" value = "" ap = "system" />
	</command>
</sw_selfcheck_items>