作者:YiLi Xie(yili.xie@gmail.com)
日期:2010/04/07

欢迎转载,请注明出处

Android safe mode
• Enter safe mode
1.) Turn phone off ... remove battery .. WAIT for at least two minutes.
2.) Power On Phone while Holding MENU key ... Until ALL actions finish from Powering on phone ...
....... At the bottom left corner of the display in transparent text will be the words "Safe Mode"
3.) Power off phone again ... battery out ... wait two minutes
4.) do a normal power on ...

• Explanation - This starts only the core Android processes. This is best used for diagnosing if a 3rd party application is causing your phone to malfunction or if you cannot uninstall if when in regular mode.

• TRY THIS FIRST if you are having any problems with your phone acting up, especially with the built-in Android apps (example - Messaging app is crashing. Boot in Safe Mode. If app doesn't crash when doing what you were doing in regular mode, it's most likely going to be a 3rd party app with access to messaging that is causing a problem.)

• BE AWARE that after coming out of Safe Mode, 3rd party widgets might not display properly on the home screen. Press and hold on the widget and drag it down into the trash can, then readd it to the home screen. This will fix the "problem loading widget" error.


When in safe mode, a query on the package manager will not return any third party apps, either when booting or any time later.You can only get to them by explicitly providing a particular ComponentName.

In safe mode, 3rd party application wont appear in the launcher, hey are listed under the Setting -> Applications -> Manage Applications, so that the user can un-install the trouble causing one.

由上可知safe mode就是一个测试模式,用来删除那些可能导致系统出错或者崩溃的3rd APK。他这个区别3rd APK和core process应该是根据打在APK上的key来决定的(不确定,没测试过),APK在安装的时候会被打上各种类型的KEY,具体参照 build/target/product/security; KEY是根据makefile的LOCAL_CERTIFICATE来设定的。

ref

http://cellphoneforums.net/motorola-droid/t306443-how-safe-mode-motorola-droid.html

http://www.mailinglistarchive.com/html/android-platform@googlegroups.com/2009-03/msg00634.html


转自:http://blog.csdn.net/yili_xie/article/details/5381121

更多相关文章

  1. 利用drozer进行Android渗透测试
  2. 根据Android架构分层推荐开发书籍
  3. Android(安卓)CTS 测试研究之二
  4. 关于android真机测试(linux系统下)
  5. android表格布局
  6. 利用drozer进行Android渗透测试
  7. java第四次实验
  8. android 自定义适配器Adapter基类BaseAdapter
  9. Android(安卓)Service待机/睡眠时运行

随机推荐

  1. Android培训班(46)
  2. Android如何通过https协议下载自己的http
  3. Android:手机扫描局域网所有ip,并进行sock
  4. Android中使用Gson解析JSON数据
  5. Cocos2d-x for android 使用Box2d报错解
  6. Android: 绘制的文本如何排版
  7. Android(安卓)ImageView图片自适应
  8. Android(安卓)Studio主要目录及文件简介
  9. 在Android模拟机上跑javaeye android 客
  10. android开发环境