Android safe mode

來源:互聯網
上載者:User

作者: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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.