1, do not sleep frameworks/base/packages/settingsprovider/res/values/defaults.xml inside 60000 change to 1, is not into hibernation. This file also holds other default settings, such as: "Def_location_providers_allowed" translatable= "true" >gps "def_location_providers_allowed_ Network "translatable=" true ">network" assisted_gps_enabled ">true" def_netstats_enabled ">true" def_ bluetooth_on ">true" def_wifi_display_on ">false" Def_install_non_market_apps ">false" Def_package_verifier _enable ">true" Def_dim_screen ">false but this method is only suitable for versions older than 4.2, and the 4.4 version also modifies the following: Modify/frameworks/base/services/java/com/ Android/server/power/powermanagerservice.java file getscreenofftimeoutlocked () function: if ( Museractivitytimeoutoverridefromwindowmanager >= 0) {timeout = (int) math.min (timeout, Museractivitytimeouto Verridefromwindowmanager); }+ if (mscreenofftimeoutsetting < 0)+ return mmaximumscreenofftimeoutfromdeviceadmin;Return Math.max (timeout, minimum_screen_off_timeout), 2, remove the lock screen function./frameworks/base/packages/keyguard/src/com/android /keyguard/keyguardviewmediator.javaprivate Boolean mexternallyenabled = True to change the mexternallyenabled to false. But this just changed the boot default value, the user can still use Disablekeyguard/enablekeyguard to start. To ensure that the 3rd app cannot be modified,/frameworks/base/packages/keyguard/src/com/android/keyguard/keyguradviewmediator.java:private void dokeyguardlocked (Bundle options) {... if (DEBUG) log.d (TAG, "dokeyguard:showing the lock Screen");+//showlocked (options);}3, modify the default language/build/target/product/core_base.mkproduct_property_overrides: = \ ro.config.notification_sound= Onthehunt.ogg \ Ro.config.alarm_alert=alarm_classic.ogg \+ persist.sys.language=zh \+ PERSIST.SYS.COUNTRY=CN4. Remove the navigation bar \frameworks\base\core\res\res\values\config.xmlbool name= "Config_shownavigationbar" >true------------ >true and false control switches. Reference http://m.blog.csdn.net/blog/lcpajj/8850152
Android 4.4 does not hibernate + do not lock screen + default Chinese + remove navigation bar