Unsetting persistent system properties

后端 未结 5 1610
渐次进展
渐次进展 2020-12-23 21:43

I can set a persistent system property on an Android phone (with appropriate permissions) using setprop command:

$ adb         


        
5条回答
  •  Happy的楠姐
    2020-12-23 21:53

    adb shell setprop persist.this.is.my.property \"\"
    adb shell reboot
    

    Changed the property value so it wouldn't be using it's previous value.
    Empty quotes("") wouldnt work for me, I had to escape them(this is in bash).

提交回复
热议问题