Android无法启动修复一例

本人使用中国移动M812C型号的4G手机,刷了适配的MIUI V5 4.4版本。

最近安装了许多软件,包括淘宝WIFI。

前几天电量用到百分之十几,接一个电话后,手机死机重启,无法进入桌面。

进入桌面后,零点几秒到几秒后会显示“正在加载桌面”,然后就会显示小米LOGO界面,无法启动。


鉴于本人的手机经常挂掉,这次决定进行系统修复。


注:原来的手机是小米1青春版,768M内存,刷系统无数,没一个好用的。


自己刷的Recovery是CWM修改版,按音量键+和开机键,进入recovery界面。

下载adb程序,键入adb devices后,会显示连接的手机。


修复的整体思路是获取系统挂掉的错误日志。

系统只有两种启动方式:Recovery和正常启动。

每次启动后,原来的错误日志会全部重置,因此必须获得正常启动时的错误日志。

Recovery下有root权限的adb。

正常启动时运行adb devices,无设备。

现在的问题就是怎样在正常启动时运行adbd服务。


这里走了一个弯路,原来以为adbd服务是在某项配置中启动的,结果好像不是。


Recovery下adb root修改根目录下的default.prop,结果每次重启后都会被重置。

话说这适配版ROM的配置文件写的非常凌乱,很多重复项,这对细节控来说不可接受,手动改之,结果历次被重置。

还好/system/build.prop可以保存修改,不过貌似没用。

历经折磨后,在Recovery下adb shell->getprop总是显示persist.service.adb.enable=0。


死机前禁用了开发者选项和USB调试,再试试启动这些选项后能否启动adbd。

Recovery下:

adb push adbkey.pub到指定目录,授权允许本台电脑进行调试。

找遍各个目录没有sqlite3,600-700多M的MIUI rom竟然没有这些基本工具。

下载200多M的魔趣系统,提取出sqlite3,adb push到/bin目录,可以在任何时间运行sqlite3,修改数据库数据。

sqlite3 /data/data/com.android.providers.settings/databases/settings.db

update global set value = 1 where name = 'adb_enabled';

重启,无幸。


历经各种失败与折磨。


用腾讯应用宝连接,当然连不上,但是发现adb devices能找到手机了。


运行基于adb的getlog.bat

@echo off
set folder=log\%date:~0,4%%date:~5,2%%date:~8,2%_%time:~0,2%%time:~3,2%%time:~6,2%
if "%time:~0,1%" == " " (
set folder=log\%date:~0,4%%date:~5,2%%date:~8,2%_%time:~1,1%%time:~3,2%%time:~6,2%
)
md %folder%
md %folder%\tombstones
adb logcat -t 10000 -v time > %folder%\logcat.log
adb logcat -b radio -t 10000 -v time > %folder%\radio.log
adb shell dmesg > %folder%\dmesg.log
adb shell cat /proc/last_kmsg > %folder%\last_kmsg.log
adb pull /data/anr/traces.txt %folder%\traces.log
adb pull /data/tombstones %folder%\tombstones

能够抓取正常启动流程时的log。


下面是logcat.log开始出现EXCEPTION的地方。


03-06 20:42:47.837 E/AndroidRuntime(12489): *** FATAL EXCEPTION IN SYSTEM PROCESS: WifiStateMachine
03-06 20:42:47.837 E/AndroidRuntime(12489): java.util.ConcurrentModificationException
03-06 20:42:47.837 E/AndroidRuntime(12489): at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
03-06 20:42:47.837 E/AndroidRuntime(12489): at java.util.HashMap$ValueIterator.next(HashMap.java:838)
03-06 20:42:47.837 E/AndroidRuntime(12489): at android.net.wifi.WifiConfigStore.enableAllNetworks(WifiConfigStore.java:345)
03-06 20:42:47.837 E/AndroidRuntime(12489): at android.net.wifi.WifiConfigStore.loadAndEnableAllNetworks(WifiConfigStore.java:237)
03-06 20:42:47.837 E/AndroidRuntime(12489): at android.net.wifi.WifiStateMachine$SupplicantStartingState.processMessage(WifiStateMachine.java:2862)
03-06 20:42:47.837 E/AndroidRuntime(12489): at com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:966)
03-06 20:42:47.837 E/AndroidRuntime(12489): at com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:789)
03-06 20:42:47.837 E/AndroidRuntime(12489): at android.os.Handler.dispatchMessage(Handler.java:102)
03-06 20:42:47.837 E/AndroidRuntime(12489): at android.os.Looper.loop(Looper.java:136)
03-06 20:42:47.837 E/AndroidRuntime(12489): at android.os.HandlerThread.run(HandlerThread.java:61)
03-06 20:42:47.897 D/PowerManagerService(12489): acquireWakeLockInternal: lock=1101413376, flags=0x1, tag="NetworkStats", ws=null, uid=1000, pid=12489
03-06 20:42:47.897 D/PowerManagerService(12489): updateWakeLockSummaryLocked: mWakefulness=Awake, mWakeLockSummary=0x1
03-06 20:42:47.897 D/DisplayPowerController(12489): requestPowerState: screenState=2, useProximitySensor=false, screenBrightness=113, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=false, blockScreenOn=false, waitForNegativeProximity=false
03-06 20:42:47.897 D/PowerManagerService(12489): updateScreenStateLocked: mDisplayReady=true, newScreenState=2, mWakefulness=1, mWakeLockSummary=0x1, mUserActivitySummary=0x0, mBootCompleted=false
03-06 20:42:47.897 D/PowerManagerService(12489): handleSandman: canDream=false, mWakefulness=Awake
03-06 20:42:47.917 D/PowerManagerService(12489): releaseWakeLockInternal: lock=1101413376 [NetworkStats], flags=0x0
03-06 20:42:47.917 D/PowerManagerService(12489): updateWakeLockSummaryLocked: mWakefulness=Awake, mWakeLockSummary=0x1
03-06 20:42:47.917 D/DisplayPowerController(12489): requestPowerState: screenState=2, useProximitySensor=false, screenBrightness=113, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=false, blockScreenOn=false, waitForNegativeProximity=false
03-06 20:42:47.917 D/PowerManagerService(12489): updateScreenStateLocked: mDisplayReady=true, newScreenState=2, mWakefulness=1, mWakeLockSummary=0x1, mUserActivitySummary=0x0, mBootCompleted=false
03-06 20:42:47.917 D/PowerManagerService(12489): handleSandman: canDream=false, mWakefulness=Awake
03-06 20:42:48.097 E/AndroidRuntime(13052): FATAL EXCEPTION: main
03-06 20:42:48.097 E/AndroidRuntime(13052): Process: com.android.settings, PID: 13052
03-06 20:42:48.097 E/AndroidRuntime(13052): java.lang.RuntimeException: Unable to create application com.miui.securitycenter.SecurityCenterApplication: java.lang.SecurityException: Requires READ_PHONE_STATE: Neither user 1000 nor current process has android.permission.READ_PHONE_STATE.
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4470)
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.app.ActivityThread.access$1500(ActivityThread.java:167)
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1288)
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.os.Handler.dispatchMessage(Handler.java:102)
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.os.Looper.loop(Looper.java:136)
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.app.ActivityThread.main(ActivityThread.java:5140)
03-06 20:42:48.097 E/AndroidRuntime(13052): at java.lang.reflect.Method.invokeNative(Native Method)
03-06 20:42:48.097 E/AndroidRuntime(13052): at java.lang.reflect.Method.invoke(Method.java:515)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
03-06 20:42:48.097 E/AndroidRuntime(13052): at dalvik.system.NativeStart.main(Native Method)
03-06 20:42:48.097 E/AndroidRuntime(13052): Caused by: java.lang.SecurityException: Requires READ_PHONE_STATE: Neither user 1000 nor current process has android.permission.READ_PHONE_STATE.
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.os.Parcel.readException(Parcel.java:1465)
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.os.Parcel.readException(Parcel.java:1419)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.android.internal.telephony.IPhoneSubInfo$Stub$Proxy.getDeviceId(IPhoneSubInfo.java:190)
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.telephony.TelephonyManager.getDeviceId(TelephonyManager.java:252)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.xiaomi.miui.pushads.sdk.NetUtils.getIMEI(NetUtils.java:132)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.xiaomi.miui.pushads.sdk.NotifyAdsManagerNew.getAccountInfo(NotifyAdsManagerNew.java:996)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.xiaomi.miui.pushads.sdk.NotifyAdsManagerNew.initMembers(NotifyAdsManagerNew.java:182)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.xiaomi.miui.pushads.sdk.NotifyAdsManagerNew.(NotifyAdsManagerNew.java:138)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.xiaomi.miui.pushads.sdk.NotifyAdsManagerNew.(NotifyAdsManagerNew.java:152)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.xiaomi.miui.pushads.sdk.NotifyAdsManagerNew.open2(NotifyAdsManagerNew.java:569)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.miui.securitycenter.SecurityCenterApplication.onCreate(SecurityCenterApplication.java:113)
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4467)
03-06 20:42:48.097 E/AndroidRuntime(13052): ... 10 more
03-06 20:42:48.097 E/AndroidRuntime(13052): Error reporting crash
03-06 20:42:48.097 E/AndroidRuntime(13052): android.os.DeadObjectException
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.os.BinderProxy.transact(Native Method)
03-06 20:42:48.097 E/AndroidRuntime(13052): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3715)
03-06 20:42:48.097 E/AndroidRuntime(13052): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:84)
03-06 20:42:48.097 E/AndroidRuntime(13052): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
03-06 20:42:48.097 E/AndroidRuntime(13052): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
03-06 20:42:48.097 E/AndroidRuntime(13052): at dalvik.system.NativeStart.main(Native Method)
03-06 20:42:48.117 E/AndroidRuntime(12592): FATAL EXCEPTION: main
03-06 20:42:48.117 E/AndroidRuntime(12592): Process: com.android.systemui, PID: 12592
03-06 20:42:48.117 E/AndroidRuntime(12592): java.lang.NullPointerException
03-06 20:42:48.117 E/AndroidRuntime(12592): at android.accounts.AccountManager.getAccountsByTypeAsUser(AccountManager.java:447)
03-06 20:42:48.117 E/AndroidRuntime(12592): at android.accounts.AccountManager.getAccountsByType(AccountManager.java:441)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.keyguard.MiuiLockPatternKeyguardView$AccountAnalyzer.(MiuiLockPatternKeyguardView.java:679)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.keyguard.MiuiLockPatternKeyguardView$AccountAnalyzer.(MiuiLockPatternKeyguardView.java:671)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.keyguard.MiuiLockPatternKeyguardView.maybeEnableFallback(MiuiLockPatternKeyguardView.java:729)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.keyguard.MiuiLockPatternKeyguardView.(MiuiLockPatternKeyguardView.java:651)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.keyguard.MiuiLockPatternKeyguardViewProperties.createKeyguardView(MiuiLockPatternKeyguardViewProperties.java:23)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.keyguard.AbstractKeyguardViewManager.show(AbstractKeyguardViewManager.java:152)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.keyguard.MiuiKeyguardViewMediator.handleShow(MiuiKeyguardViewMediator.java:1602)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.keyguard.MiuiKeyguardViewMediator.access$2600(MiuiKeyguardViewMediator.java:141)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.keyguard.MiuiKeyguardViewMediator$9.handleMessage(MiuiKeyguardViewMediator.java:1410)
03-06 20:42:48.117 E/AndroidRuntime(12592): at android.os.Handler.dispatchMessage(Handler.java:102)
03-06 20:42:48.117 E/AndroidRuntime(12592): at android.os.Looper.loop(Looper.java:136)
03-06 20:42:48.117 E/AndroidRuntime(12592): at android.app.ActivityThread.main(ActivityThread.java:5140)
03-06 20:42:48.117 E/AndroidRuntime(12592): at java.lang.reflect.Method.invokeNative(Native Method)
03-06 20:42:48.117 E/AndroidRuntime(12592): at java.lang.reflect.Method.invoke(Method.java:515)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
03-06 20:42:48.117 E/AndroidRuntime(12592): at dalvik.system.NativeStart.main(Native Method)
03-06 20:42:48.117 E/AndroidRuntime(12592): Error reporting crash
03-06 20:42:48.117 E/AndroidRuntime(12592): android.os.DeadObjectException
03-06 20:42:48.117 E/AndroidRuntime(12592): at android.os.BinderProxy.transact(Native Method)
03-06 20:42:48.117 E/AndroidRuntime(12592): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3715)
03-06 20:42:48.117 E/AndroidRuntime(12592): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:84)
03-06 20:42:48.117 E/AndroidRuntime(12592): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
03-06 20:42:48.117 E/AndroidRuntime(12592): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
03-06 20:42:48.117 E/AndroidRuntime(12592): at dalvik.system.NativeStart.main(Native Method)
03-06 20:42:48.207 E/AndroidRuntime(12990): FATAL EXCEPTION: ContactsProviderWorker
03-06 20:42:48.207 E/AndroidRuntime(12990): Process: android.process.acore, PID: 12990
03-06 20:42:48.207 E/AndroidRuntime(12990): java.lang.RuntimeException: android.os.DeadObjectException
03-06 20:42:48.207 E/AndroidRuntime(12990): at android.accounts.AccountManager.getAccounts(AccountManager.java:386)
03-06 20:42:48.207 E/AndroidRuntime(12990): at com.android.providers.contacts.ContactsProvider2.performBackgroundTask(ContactsProvider2.java:1741)
03-06 20:42:48.207 E/AndroidRuntime(12990): at com.android.providers.contacts.ContactsProvider2$1.handleMessage(ContactsProvider2.java:1580)
03-06 20:42:48.207 E/AndroidRuntime(12990): at android.os.Handler.dispatchMessage(Handler.java:102)
03-06 20:42:48.207 E/AndroidRuntime(12990): at android.os.Looper.loop(Looper.java:136)
03-06 20:42:48.207 E/AndroidRuntime(12990): at android.os.HandlerThread.run(HandlerThread.java:61)
03-06 20:42:48.207 E/AndroidRuntime(12990): Caused by: android.os.DeadObjectException
03-06 20:42:48.207 E/AndroidRuntime(12990): at android.os.BinderProxy.transact(Native Method)
03-06 20:42:48.207 E/AndroidRuntime(12990): at android.accounts.IAccountManager$Stub$Proxy.getAccounts(IAccountManager.java:589)
03-06 20:42:48.207 E/AndroidRuntime(12990): at android.accounts.AccountManager.getAccounts(AccountManager.java:383)
03-06 20:42:48.207 E/AndroidRuntime(12990): ... 5 more
03-06 20:42:48.217 E/AndroidRuntime(12990): Error reporting crash
03-06 20:42:48.217 E/AndroidRuntime(12990): android.os.DeadObjectException
03-06 20:42:48.217 E/AndroidRuntime(12990): at android.os.BinderProxy.transact(Native Method)
03-06 20:42:48.217 E/AndroidRuntime(12990): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3715)
03-06 20:42:48.217 E/AndroidRuntime(12990): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:84)
03-06 20:42:48.217 E/AndroidRuntime(12990): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
03-06 20:42:48.217 E/AndroidRuntime(12990): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
03-06 20:42:48.217 I/ActivityThread(12757): Removing dead content provider:android.content.ContentProviderProxy@41ab2128
03-06 20:42:48.217 I/ActivityThread(12757): Removing dead content provider:android.content.ContentProviderProxy@41ab2128
03-06 20:42:48.227 E/ActivityThread(12757): Failed to find provider info for com.android.contacts
03-06 20:42:48.277 E/AndroidRuntime(12836): FATAL EXCEPTION: launcher-loader
03-06 20:42:48.277 E/AndroidRuntime(12836): Process: com.miui.home, PID: 12836
03-06 20:42:48.277 E/AndroidRuntime(12836): java.lang.RuntimeException: Package manager has died
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.app.ApplicationPackageManager.queryIntentActivitiesAsUser(ApplicationPackageManager.java:499)
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.app.ApplicationPackageManager.queryIntentActivities(ApplicationPackageManager.java:485)
03-06 20:42:48.277 E/AndroidRuntime(12836): at com.miui.home.launcher.ScreenUtils.findActivitiesForPackage(ScreenUtils.java:453)
03-06 20:42:48.277 E/AndroidRuntime(12836): at com.miui.home.launcher.ScreenUtils.updateHomeScreen(ScreenUtils.java:63)
03-06 20:42:48.277 E/AndroidRuntime(12836): at com.miui.home.launcher.LauncherProvider.update(LauncherProvider.java:264)
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.content.ContentProvider$Transport.update(ContentProvider.java:287)
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.content.ContentResolver.update(ContentResolver.java:1323)
03-06 20:42:48.277 E/AndroidRuntime(12836): at com.miui.home.launcher.LauncherSettings.updateHomeScreen(LauncherSettings.java:405)
03-06 20:42:48.277 E/AndroidRuntime(12836): at com.miui.home.launcher.LauncherModel$LoaderTask.loadAndBindMissingIcons(LauncherModel.java:898)
03-06 20:42:48.277 E/AndroidRuntime(12836): at com.miui.home.launcher.LauncherModel$LoaderTask.run(LauncherModel.java:1023)
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.os.Handler.handleCallback(Handler.java:733)
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.os.Handler.dispatchMessage(Handler.java:95)
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.os.Looper.loop(Looper.java:136)
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.os.HandlerThread.run(HandlerThread.java:61)
03-06 20:42:48.277 E/AndroidRuntime(12836): Caused by: android.os.DeadObjectException
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.os.BinderProxy.transact(Native Method)
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.content.pm.IPackageManager$Stub$Proxy.queryIntentActivities(IPackageManager.java:2165)
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.app.ApplicationPackageManager.queryIntentActivitiesAsUser(ApplicationPackageManager.java:493)
03-06 20:42:48.277 E/AndroidRuntime(12836): ... 13 more
03-06 20:42:48.277 E/AndroidRuntime(12836): Error reporting crash
03-06 20:42:48.277 E/AndroidRuntime(12836): android.os.DeadObjectException
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.os.BinderProxy.transact(Native Method)
03-06 20:42:48.277 E/AndroidRuntime(12836): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3715)
03-06 20:42:48.277 E/AndroidRuntime(12836): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:84)
03-06 20:42:48.277 E/AndroidRuntime(12836): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
03-06 20:42:48.277 E/AndroidRuntime(12836): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
03-06 20:42:54.377 I/SystemServer(13465): Entered the Android system server!
03-06 20:42:54.767 I/SystemServer(13465): Waiting for installd to be ready.
03-06 20:42:54.767 I/Installer(13465): connecting...
03-06 20:42:54.767 I/SystemServer(13465): Power Manager
03-06 20:42:54.767 D/PowerManagerService(13465): Acquiring suspend blocker "PowerManagerService.Display".
03-06 20:42:54.767 I/SystemServer(13465): Activity Manager
03-06 20:42:54.777 I/ActivityManager(13465): Memory class: 96
03-06 20:42:54.797 W/UsageStats(13465): Usage stats version changed; dropping

原来以为*** FATAL EXCEPTION IN SYSTEM PROCESS: WifiStateMachine不会出现问题,注意力跑到Package manager has died上面。

Recovery adb root下pm uninstall某个apk,显示找不到libvdvm.so,

正常启动adb下pm卸载,也无法运行。

卸载apk重新整理apk权限的方法行不通。



最后直接Recovery下adb root修改,禁用所有的wifi设置:

sqlite3 /data/data/com.android.providers.settings/databases/settings.db

sqlite> update global set value = 0 where name = 'wifi_on';
update global set value = 0 where name = 'wifi_on';
sqlite> select * from global where name like '%wifi%';
select * from global where name like '%wifi%';
8|wifi_sleep_policy|2
12|wifi_networks_available_notification_on|1
22|wifi_max_dhcp_retry_count|9
23|wifi_display_on|0
42|wifi_watchdog_on|1
58|wifi_country_code|cn
450|wifi_on|0
sqlite> update global set value = 0 where name = 'wifi_watchdog_on';
update global set value = 0 where name = 'wifi_watchdog_on';
sqlite> update global set value = 0 where name = 'wifi_networks_available_notification_on';
update global set value = 0 where name = 'wifi_networks_available_notification_on';


重启后竟然能进桌面了,赞一个!修复基本完成,告一个段落,看看后面的结果如何。


自己刷的Recovery是CWM修改版,按音量键+和开机键,进入recovery界面。

下载adb程序,键入adb devices后,会显示连接的手机。

你可能感兴趣的:(android,手机系统修复)