Initial commit: CB-C6s-STU GSI Fixes
TWRP flashable zip for CB-C6s-STU tablet running GSI. - build.prop: append tablet characteristics, brightness, orientation, BT offload - goodix_ts.idc: touchscreen IDC config - sensor_config.xml: camera sensor module mapping (hi846 / gc8034) - Shell-script update-binary with append-only build.prop logic
This commit is contained in:
88
vendor/etc/sensor_config.xml
vendored
Normal file
88
vendor/etc/sensor_config.xml
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
<root>
|
||||
<!-->
|
||||
sensor id 0
|
||||
<-->
|
||||
<CameraModuleCfg>
|
||||
<SlotId>0</SlotId>
|
||||
<SensorName>hi846</SensorName>
|
||||
<Facing>BACK</Facing>
|
||||
<Orientation>0</Orientation>
|
||||
<Resource_cost>0</Resource_cost>
|
||||
<VCM>
|
||||
<AfName>dw9714</AfName>
|
||||
<Mode>2</Mode>
|
||||
</VCM>
|
||||
<OTP>
|
||||
<E2prom>
|
||||
<OtpName>general</OtpName>
|
||||
<I2cAddr>0xa4</I2cAddr>
|
||||
<E2promNum>0</E2promNum>
|
||||
<E2promSize>8192</E2promSize>
|
||||
</E2prom>
|
||||
</OTP>
|
||||
<TuningParameter>
|
||||
<TuningName>hi846</TuningName>
|
||||
</TuningParameter>
|
||||
</CameraModuleCfg>
|
||||
<CameraModuleCfg>
|
||||
<SlotId>0</SlotId>
|
||||
<SensorName>gc8034_rear</SensorName>
|
||||
<Facing>BACK</Facing>
|
||||
<Orientation>0</Orientation>
|
||||
<Resource_cost>0</Resource_cost>
|
||||
<VCM>
|
||||
<AfName>dw9714</AfName>
|
||||
<Mode>2</Mode>
|
||||
</VCM>
|
||||
<OTP>
|
||||
<E2prom>
|
||||
<OtpName>general</OtpName>
|
||||
<I2cAddr>0xa4</I2cAddr>
|
||||
<E2promNum>0</E2promNum>
|
||||
<E2promSize>8192</E2promSize>
|
||||
</E2prom>
|
||||
</OTP>
|
||||
<TuningParameter>
|
||||
<TuningName>gc8034_rear</TuningName>
|
||||
</TuningParameter>
|
||||
</CameraModuleCfg>
|
||||
<!-->
|
||||
sensor id 1
|
||||
<-->
|
||||
<CameraModuleCfg>
|
||||
<SlotId>1</SlotId>
|
||||
<SensorName>hi846_front</SensorName>
|
||||
<Facing>FRONT</Facing>
|
||||
<Orientation>0</Orientation>
|
||||
<Resource_cost>0</Resource_cost>
|
||||
<OTP>
|
||||
<E2prom>
|
||||
<OtpName>general</OtpName>
|
||||
<I2cAddr>0xa6</I2cAddr>
|
||||
<E2promNum>0</E2promNum>
|
||||
<E2promSize>8192</E2promSize>
|
||||
</E2prom>
|
||||
</OTP>
|
||||
<TuningParameter>
|
||||
<TuningName>hi846_front</TuningName>
|
||||
</TuningParameter>
|
||||
</CameraModuleCfg>
|
||||
<CameraModuleCfg>
|
||||
<SlotId>1</SlotId>
|
||||
<SensorName>gc8034</SensorName>
|
||||
<Facing>FRONT</Facing>
|
||||
<Orientation>0</Orientation>
|
||||
<Resource_cost>0</Resource_cost>
|
||||
<OTP>
|
||||
<E2prom>
|
||||
<OtpName>general</OtpName>
|
||||
<I2cAddr>0xa6</I2cAddr>
|
||||
<E2promNum>0</E2promNum>
|
||||
<E2promSize>8192</E2promSize>
|
||||
</E2prom>
|
||||
</OTP>
|
||||
<TuningParameter>
|
||||
<TuningName>gc8034</TuningName>
|
||||
</TuningParameter>
|
||||
</CameraModuleCfg>
|
||||
</root>
|
||||
Reference in New Issue
Block a user