Android更改或增加手机默认属性

由于前段时间在实现视频通话功能涉及到系统属性的设置,那么现在就记录一下通过adb来设置系统属性。

a. Set the special prop for CSVT, adb shell setprop: 
i. adb wait-for-devices root 
ii. adb wait-for-devices remount 
iii. adb wait-for-devices shell setprop persist.radio.calls.on.ims true 
iv. adb shell setprop persist.radio.jbims 1 
v. adb shell setprop persist.radio.VT_ENABLE 1 
vi. adb shell setprop persist.radio.VT_HYBRID_ENABLE 1 
vii. adb shell setprop persist.radio.csvt.enabled true 

b. copy VideoCall.apk from /system/vendor/ChinaUnicom/system/app to /system/app 
i. adb shell cp system/vendor/ChinaUnicom/system/app/VideoCall.apk /system/app 
c. reboot the device 

展开阅读全文

没有更多推荐了,返回首页