Android中判断手机是不是已经Root
Android中判断手机是否已经Root
本人博客原文
- 2楼hudashi昨天 17:10
- 非常感谢你的建议。你说的这个知识方法,我以前还并不知道。n但是我并不建议使用你的方法。首先你那个方法要去执行shell脚本,而且返回值各个手机也许还不一样。
- Re: hudashi昨天 17:12
- 回复hudashin而且也许手机根本就没返回,造成读输出流阻塞。
- 1楼su1216昨天 12:45
- 为什么不使用type sun如果有,则返回su is /system/bin/sun比如没有df,执行type dvn返回dv not found