device/qcom/msm8937_64/system.prop
# System property for cabl
ro.qualcomm.cabl=2
zproject/lxf_p3590_b01/LCTPreConfig_lxf_p3590_b01.mk
#add by xuelixiang for cabl parameter xml file
PRODUCT_COPY_FILES += \
device/qcom/msm8953_64/cabl/CablConfig.xml:system/etc/CablConfig.xml
PRODUCT_PROPERTY_OVERRIDES += \
config.cabl.xml=1 \
config.cabl.path=</system/etc/CablConfig.xml>
device/qcom/msm8953_64/cabl/CablConfig.xml
<?xml version='1.0' encoding='utf-8'?>
<Group id='CABLConfiguration'>
<CABLBackLightMaxValue units='uint'>255</CABLBackLightMaxValue>
<CABLBackLightMinValue units='uint'>1</CABLBackLightMinValue>
<CABLBackLightThreshold units='uint'>124</CABLBackLightThreshold>
<CABLBackLightMinRatio units='uint'>512 665 768</CABLBackLightMinRatio>
<CABLBackLightMaxRatio units='uint'>950 950 950</CABLBackLightMaxRatio>
<CABLPixelDistortion units='uint'>100 100 100</CABLPixelDistortion>
<CABLBackLightStepSize units='uint'>6 6 6</CABLBackLightStepSize>
<GammaResponseTableLength units='uint'>33</GammaResponseTableLength>
<GammaResponseTableGrayScale units='uint'>
0 32 64 96 129 161 193 225
257 289 321 353 386 418 450 482
514 546 578 610 643 675 707 739
771 803 835 867 900 932 964 996
1024
</GammaResponseTableGrayScale>
<GammaResponseTableLuminance units='uint'>
0 1 2 6 11 17 26 36
49 63 79 98 118 141 166 193
223 255 289 325 364 405 449 495
544 595 649 705 763 825 888 955
1024
</GammaResponseTableLuminance>
<BackLightResponseTableLength units='uint'>11</BackLightResponseTableLength>
<BackLightResponseValueTable units='uint'>
0 100 200 300 400 500 600 700
800 900 1024
</BackLightResponseValueTable>
<BackLightResponseLumaValues units='uint'>
0 100 200 300 400 500 600 700
800 900 1024
</BackLightResponseLumaValues>
<CABLSoftClippingSlope units='double'>0.32 0.28 0.25</CABLSoftClippingSlope>
<CABLLutType units='int'>3 3 3</CABLLutType>
<CABLWindowSizeThreshold units='uint'>8 6 4</CABLWindowSizeThreshold>
<CABLFilterCoefficientThreshold units='uint'>820 750 600</CABLFilterCoefficientThreshold>
<CABLBackLightReductionFactor units='uint'>1 1 1</CABLBackLightReductionFactor>
<CABLBackLightStepSizeHighCorrelation units='uint'>6 6 6</CABLBackLightStepSizeHighCorrelation>
<CABLSceneCorrelationThreshold units='uint'>1020 1024 1024</CABLSceneCorrelationThreshold>
<CABLSceneChangeThreshold units='uint'>800 800 800</CABLSceneChangeThreshold>
<LuxEndPoint units='uint'>0</LuxEndPoint>
</Group>
#adb shell cd /system/vendor/app/CABLService/CABLService.apk
wuchengbing@ubuntu:~/gaotong/L2800/arm11/zprojects/sny_l2800_a01$ grep CABL -r .
./env_sny_l2800_a01.ini:LCT_MODULES_UNNEEDED="LatinIME.apk SnapdragonGallery.apk Csm.apk QuickSearchBox.apk SnapdragonMusic.apk Email.apk Calendar.apk Browser2.apk Camera2.apk Gallery.apk MusicFX.apk Music.apk Gallery2.apk CMFileManager.apk hid.apk Logkit.apk qti-logkit.apk HiddTestApp.apk QSSEP11EncryptorDecryptor.apk NativeAudioLatency.apk com.quicinc.wipoweragent.apk imstestrunner.apk imstests.apk QtiMmsTestApp.apk BtTest.apk FccTest.apk RIDLClient.apk WfdClient.apk CABLService.apk PPPreference.apk SVIService.apk CTRoamingSettings.apk VoiceDialer.apk QualcommSettings.apk QVTester.apk QRDTools.apk QRDUpdate.apk QSensorTest.apk SnapdragonSDKTest.apk UCam.apk Development.apk FactoryKit.apk MultiplePdpTest.apk SpeechRecorder.apk MultiplePdpTest.apk MobileUpdateClient.apk PinyinIME.apk OpenWnn.apk ProfileMgr.apk CTCustomerService.apk BrowserQuick.apk ctWallpaper.apk WeatherForecast.apk DataMonitor.apk SignalTestWidget.apk LEDFlashlight.apk xtra_t_app.apk EmbmsTestApp.apk com.qualcomm.qlogcat.apk com.qualcomm.msapu.apk VideoEditor.apk ODLT.apk StopTimer.apk Protips.apk WhipForPhone.apk Perfect365.apk CameraHawk.apk BTTestApp.apk CNESettings.apk CustomerService.apk RoamingSettings.apk QRDFeatureSettings.apk WorldClock.apk CalendarWidget.apk Launcher2LayoutRes.apk Talk.apk Logd ModemTestMode.apk CtUniversalDownload.apk PlayreadyDrmTesting.apk TouchPal_Global.apk CarrierConfigure.apk CarrierLoadService.apk AntiTheftDemo.apk DisplaySDKSample.apk WoRead.apk CuBrowserQuick.apk Launcher2.apk BatteryGuruSystemApp.apk QDCMMobileApp.apk MSDC_UI.apk QNfc.apk VideoCall.apk OmaDrmEngineDemo.apk ConfigurationClientDemo.apk MdtpDemo.apk SnapdragonLauncher.apk FM.apk FMRecord.apk NotePad2.apk"
wuchengbing@ubuntu:~/gaotong/L2800/arm11/zprojects/sny_l2800_a01$
wuchengbing@ubuntu:~/gaotong/P3590/arm11/zprojects/lxf_p3590_b01$ grep CABL -r .
./replace_files/vendor/qcom/proprietary/prebuilt_HY11/target/product/msm8953_64/Android.mk:LOCAL_MODULE := CABLService
./replace_files/vendor/qcom/proprietary/prebuilt_HY11/target/product/msm8953_64/Android.mk:LOCAL_SRC_FILES := ../../.././target/product/msm8953_64/system/vendor/app/CABLService/CABLService.apk
./replace_files/vendor/qcom/proprietary/common/config/device-vendor.mk:MM_CORE := CABLService
wuchengbing@ubuntu:~/gaotong/P3590/arm11/zprojects/lxf_p3590_b01$ grep CABL -rn .
./replace_files/vendor/qcom/proprietary/prebuilt_HY11/target/product/msm8953_64/Android.mk:2353:LOCAL_MODULE := CABLService
./replace_files/vendor/qcom/proprietary/prebuilt_HY11/target/product/msm8953_64/Android.mk:2359:LOCAL_SRC_FILES := ../../.././target/product/msm8953_64/system/vendor/app/CABLService/CABLService.apk
./replace_files/vendor/qcom/proprietary/common/config/device-vendor.mk:2848:MM_CORE := CABLService
wuchengbing@ubuntu:~/gaotong/P3590/arm11/zprojects/lxf_p3590_b01$
Wu_Being博客声明:本人博客欢迎转载,请标明博客原文和原链接!谢谢!
《[lcm] qualcomm cabl 配置相关代码》: http://blog.csdn.net/u014134180/article/details/78125194
如果你看完这篇博文,觉得对你有帮助,并且愿意付赞助费,那么我会更有动力写下去。
时间: 2024-10-03 11:01:13