Hello; I am trying to use the Device Admin APIs to wipe the device. I have the code "working" but I hit a problem, so I went back to the original sample app in C:\android-sdk-windows\samples\android-8\ApiDemos. My target is Froyo. The problem is that the wipe only seems to work some of the time. This is true of my app, the sample above and the Settings-Privacy-Factory data reset option. Which ever I use. Sometimes I get a full reset, sometimes I get a reboot.
Is this a known issue? Are there any other requirements? I assume the code is generally right because it works some of the time. LogCat - If there is a usb cable attached, the reset does not work and gets stuck in the boot loader. But the problem seems to be that sometimes the reset does not seem to start properly. Here is what happens when it goes wrong 05-12 12:10:56.789: DEBUG/ShutdownThread(1383): Notifying thread to start radio shutdown 05-12 12:10:56.789: INFO/ShutdownThread(1383): just to make sure shutdown actually started 05-12 12:10:56.799: INFO/ActivityManager(1383): Starting activity: Intent { flg=0x10000000 cmp=com.lge.poweroff/.PowerOff } 05-12 12:10:56.879: INFO/ShutdownThread(1383): Thread: state=NEW isAlive=false 05-12 12:10:56.889: INFO/ShutdownThread(1383): Sending shutdown broadcast... 05-12 12:10:56.899: INFO/ActivityManager(1383): Start proc com.lge.poweroff for activity com.lge.poweroff/.PowerOff: pid=2227 uid=10070 gids={} 05-12 12:10:56.909: WARN/SyncManager(1383): Writing sync state before shutdown... 05-12 12:10:56.969: WARN/Flex(1770): getString FLEX_OPERATOR_CODE TMO 05-12 12:10:56.969: DEBUG/Exchange(1770): Shutdown onReceive 05-12 12:10:56.979: INFO/ShutdownThread(1383): Shutting down activity manager... 05-12 12:10:57.019: WARN/UsageStats(1383): Writing usage stats before shutdown... 05-12 12:10:57.049: WARN/BatteryStats(1383): Writing battery stats before shutdown... 05-12 12:10:57.159: DEBUG/GpsLocationProvider(1383): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305198657159 05-12 12:10:57.229: WARN/LGE_data(1383): Send to FUNC_MMI_REQ_DATA_POWEROFF from Shutdown thread 05-12 12:10:57.269: DEBUG/LGE_data(1482): handleDataFuncbyMMI(type:325) is called 05-12 12:10:57.269: DEBUG/LGE_data(1482): FUNC_MMI_REQ_DATA_POWEROFF triggered by app:-1 05-12 12:10:57.269: DEBUG/LGE_data(1482): handleDataFuncByRIL(type:205) is called 05-12 12:10:57.269: DEBUG/LGE_data(1482): RIL::handleDataFuncByRIL(type:205) is called 05-12 12:10:57.269: WARN/ShutdownThread(1383): Turning off radio... 05-12 12:10:57.269: VERBOSE/LGE_data(1482): [handleDataFuncByRIL] FUNC_RIL_REQ_DATA_POWREOFF (data = -1 05-12 12:10:57.279: DEBUG/LGE_data(1482): GSMDataConnTrack handleMessage { what=34 when=120959 arg1=1 obj=radioTurnedOff } 05-12 12:10:57.279: DEBUG/LGE_data(1482): [GsmDataConnectionTracker] Clean up connection due to radioTurnedOff 05-12 12:10:57.279: DEBUG/LGE_data(1482): [GsmDataConnectionTracker] setState: DISCONNECTING 05-12 12:10:57.279: DEBUG/LGE_data(1482): [GsmDataConnectionTracker] cleanUpConnection: teardown, call conn.disconnect 05-12 12:10:57.279: INFO/ShutdownThread(1383): Waiting for Bluetooth and Radio... 05-12 12:10:57.279: DEBUG/LGE_data(1482): [DataConnection] Stop poll NetStat 05-12 12:10:57.279: DEBUG/LGE_data(1482): GSMDataConnTrack handleMessage { what=25 when=120965 obj=android.os.AsyncResult@451dacc0 } 05-12 12:10:57.279: DEBUG/LGE_data(1482): [GsmDataConnectionTracker] EVENT_DISCONNECT_DONE 05-12 12:10:57.279: DEBUG/LGE_data(1482): [GsmDataConnectionTracker] setState: IDLE 05-12 12:10:57.289: WARN/Flex(1383): getString FLEX_COUNTRY_CODE DE 05-12 12:10:57.289: WARN/Flex(1383): getString FLEX_OPERATOR_CODE TMO 05-12 12:10:57.299: DEBUG/MobileDataStateTracker(1383): hipri skipped as new= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default 05-12 12:10:57.299: DEBUG/MobileDataStateTracker(1383): dun skipped because is not unavailable to apnTypeList(default 05-12 12:10:57.299: DEBUG/MobileDataStateTracker(1383): supl skipped because is not unavailable to apnTypeList(default 05-12 12:10:57.319: DEBUG/MobileDataStateTracker(1383): mms skipped because is not unavailable to apnTypeList(default 05-12 12:10:57.319: DEBUG/MobileDataStateTracker(1383): default Received state= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default 05-12 12:10:57.319: DEBUG/PhoneApp(1482): mReceiver: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED 05-12 12:10:57.319: DEBUG/PhoneApp(1482): - state: DISCONNECTED 05-12 12:10:57.319: DEBUG/PhoneApp(1482): - reason: radioTurnedOff 05-12 12:10:57.319: DEBUG/NotificationMgr(1482): hideDataDisconnectedRoaming()... 05-12 12:10:57.329: DEBUG/DMClientService(1627): updateNetworkState, statusWiFi : 4, statusCellularNetwork :0 05-12 12:10:57.329: DEBUG/DMClientService(1627): getNetworkStatus, serviceType : Operator 05-12 12:10:57.329: DEBUG/DMClientService(1627): updateNetworkState: NETWORK_STATE_DISCONNECTED 05-12 12:10:57.329: DEBUG/NetworkLocationProvider(1383): onDataConnectionStateChanged 1 05-12 12:10:57.419: DEBUG/PowerOff(2227): turning keyguard off, set to long timeout 05-12 12:10:58.089: DEBUG/GpsLocationProvider(1383): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305198658089 05-12 12:10:58.209: VERBOSE/MFOMADM(2010): Add [com.example.android.apis] 05-12 12:10:58.209: VERBOSE/MFOMADM(2010): App already added 05-12 12:10:58.229: ERROR/wifi(1383): [android_net_wifi_getRssiHelper] rssi -62 05-12 12:10:58.239: VERBOSE/MFOMADM(2010): Elements to be persisted, done 05-12 12:10:58.239: VERBOSE/EXTENSION_MO(2010): no exception. 05-12 12:10:58.239: VERBOSE/EXTENSION_MO(2010): DMSessionStopped done 05-12 12:10:59.099: DEBUG/GpsLocationProvider(1383): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305198659099 05-12 12:10:59.269: WARN/Flex(1482): getString FLEX_COUNTRY_CODE DE 05-12 12:11:00.079: DEBUG/GpsLocationProvider(1383): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305198660087 05-12 12:11:01.039: INFO/BroadCast(2227): PowerOFF END of Animation 05-12 12:11:01.049: INFO/PowerOFF(2227): End of PoweroffAnimation 05-12 12:11:01.049: INFO/PowerOFF(2227): PowerOff : Call Cappuccino Shutdown 05-12 12:11:01.079: DEBUG/GpsLocationProvider(1383): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305198661080 Compare it to a good log 05-12 11:52:44.640: DEBUG/ShutdownThread(1391): Notifying thread to start radio shutdown 05-12 11:52:44.640: INFO/ShutdownThread(1391): just to make sure shutdown actually started 05-12 11:52:44.640: INFO/ActivityManager(1391): Starting activity: Intent { flg=0x10000000 cmp=com.lge.poweroff/.PowerOff } 05-12 11:52:44.670: INFO/ShutdownThread(1391): Thread: state=NEW isAlive=false 05-12 11:52:44.680: INFO/ShutdownThread(1391): Sending shutdown broadcast... 05-12 11:52:44.690: WARN/SyncManager(1391): Writing sync state before shutdown... 05-12 11:52:44.710: WARN/Flex(1748): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:44.710: DEBUG/Exchange(1748): Shutdown onReceive 05-12 11:52:44.710: INFO/ShutdownThread(1391): Shutting down activity manager... 05-12 11:52:44.720: WARN/UsageStats(1391): Writing usage stats before shutdown... 05-12 11:52:44.730: WARN/BatteryStats(1391): Writing battery stats before shutdown... 05-12 11:52:44.750: WARN/LGE_data(1391): Send to FUNC_MMI_REQ_DATA_POWEROFF from Shutdown thread 05-12 11:52:44.760: DEBUG/LGE_data(1484): handleDataFuncbyMMI(type:325) is called 05-12 11:52:44.760: DEBUG/LGE_data(1484): FUNC_MMI_REQ_DATA_POWEROFF triggered by app:-1 05-12 11:52:44.760: DEBUG/LGE_data(1484): handleDataFuncByRIL(type:205) is called 05-12 11:52:44.760: DEBUG/LGE_data(1484): RIL::handleDataFuncByRIL(type:205) is called 05-12 11:52:44.760: VERBOSE/LGE_data(1484): [handleDataFuncByRIL] FUNC_RIL_REQ_DATA_POWREOFF (data = -1 05-12 11:52:44.760: WARN/ShutdownThread(1391): Turning off radio... 05-12 11:52:44.760: DEBUG/LGE_data(1484): dataEnabled[APN_DEFAULT_ID](true) 05-12 11:52:44.760: DEBUG/LGE_data(1484): dataEnabled[APN_MMS_ID](false) 05-12 11:52:44.760: DEBUG/LGE_data(1484): dataEnabled[APN_SUPL_ID](false) 05-12 11:52:44.760: DEBUG/LGE_data(1484): GSMDataConnTrack handleMessage { what=34 when=72448 arg1=1 obj=radioTurnedOff } 05-12 11:52:44.760: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] Clean up connection due to radioTurnedOff 05-12 11:52:44.760: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] setState: DISCONNECTING 05-12 11:52:44.760: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] cleanUpConnection: teardown, call conn.disconnect 05-12 11:52:44.770: DEBUG/LGE_data(1484): [DataConnection] Stop poll NetStat 05-12 11:52:44.770: DEBUG/LGE_data(1484): GSMDataConnTrack handleMessage { what=25 when=72450 obj=android.os.AsyncResult@451e6750 } 05-12 11:52:44.770: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] EVENT_DISCONNECT_DONE 05-12 11:52:44.770: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] setState: IDLE 05-12 11:52:44.770: WARN/Flex(1391): getString FLEX_COUNTRY_CODE DE 05-12 11:52:44.770: WARN/Flex(1391): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:44.770: DEBUG/MobileDataStateTracker(1391): hipri skipped as new= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default 05-12 11:52:44.780: DEBUG/MobileDataStateTracker(1391): dun skipped because is not unavailable to apnTypeList(default 05-12 11:52:44.780: DEBUG/MobileDataStateTracker(1391): supl skipped because is not unavailable to apnTypeList(default 05-12 11:52:44.780: DEBUG/MobileDataStateTracker(1391): mms skipped because is not unavailable to apnTypeList(default 05-12 11:52:44.780: DEBUG/MobileDataStateTracker(1391): default Received state= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default 05-12 11:52:44.790: INFO/ShutdownThread(1391): Waiting for Bluetooth and Radio... 05-12 11:52:44.790: DEBUG/PhoneApp(1484): mReceiver: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED 05-12 11:52:44.790: DEBUG/PhoneApp(1484): - state: DISCONNECTED 05-12 11:52:44.790: DEBUG/PhoneApp(1484): - reason: radioTurnedOff 05-12 11:52:44.790: DEBUG/NotificationMgr(1484): hideDataDisconnectedRoaming()... 05-12 11:52:44.790: DEBUG/NetworkLocationProvider(1391): onDataConnectionStateChanged 1 05-12 11:52:44.800: DEBUG/DMClientService(1611): updateNetworkState, statusWiFi : 4, statusCellularNetwork :0 05-12 11:52:44.800: DEBUG/DMClientService(1611): getNetworkStatus, serviceType : Operator 05-12 11:52:44.800: DEBUG/DMClientService(1611): updateNetworkState: NETWORK_STATE_DISCONNECTED 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_COUNTRY_CODE DE 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_COUNTRY_CODE DE 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_COUNTRY_CODE DE 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_COUNTRY_CODE DE 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_COUNTRY_CODE DE 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_COUNTRY_CODE DE 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_COUNTRY_CODE DE 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_COUNTRY_CODE DE 05-12 11:52:45.000: WARN/Flex(1484): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:45.170: WARN/ActivityManager(1391): Activity pause timeout for HistoryRecord{453ff4b0 com.example.android.apis/.app.DeviceAdminSample$Controller} 05-12 11:52:45.280: DEBUG/GpsLocationProvider(1391): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305197565288 05-12 11:52:45.902: WARN/Flex(1391): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:45.902: WARN/Flex(1391): getString FLEX_COUNTRY_CODE DE 05-12 11:52:45.902: DEBUG/ConnectivityService(1391): startUsingNetworkFeature for net 0: enableSUPL 05-12 11:52:45.902: DEBUG/ConnectivityService(1391): getMobileDataEnabled returning true 05-12 11:52:45.902: DEBUG/ConnectivityService(1391): special network not available 05-12 11:52:46.769: WARN/Flex(1484): getString FLEX_COUNTRY_CODE DE 05-12 11:52:47.170: ERROR/PowerManagerService(1391): BatteryReceiver mBatteryService.isPowered() = true 05-12 11:52:47.170: ERROR/PowerManagerService(1391): forceWake = false mIsPowered :true wasPowered :true 05-12 11:52:47.220: ERROR/Tethering(1391): active iface (usb0) reported as added, ignoring 05-12 11:52:47.282: DEBUG/GpsLocationProvider(1391): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305197567289 05-12 11:52:47.670: WARN/Flex(1391): getString FLEX_COUNTRY_CODE DE 05-12 11:52:47.670: WARN/Flex(1391): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:47.680: DEBUG/StatusBarPolicy(1391): [BRIGHTHY] curNetwork=23410 curHPLMN=23410 05-12 11:52:48.281: DEBUG/GpsLocationProvider(1391): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305197568287 05-12 11:52:49.281: DEBUG/GpsLocationProvider(1391): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305197569287 05-12 11:52:50.210: WARN/Flex(1391): getString FLEX_COUNTRY_CODE DE 05-12 11:52:50.210: WARN/Flex(1391): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:50.210: DEBUG/TMOManager(1617): [PhoneStateListener]mIsInNetwork:true 05-12 11:52:50.210: DEBUG/PhonebookManager(1617): initPhonbookManager 05-12 11:52:50.220: DEBUG/TMOManager(1617): [PhoneStateListener] update sync status.. 05-12 11:52:50.220: DEBUG/ManagerProvider(1617): ==no update sync status 05-12 11:52:50.220: INFO/ManagerProvider(1617): IN/OFF SYNC chk: isTMOServiceSim is false..off 05-12 11:52:50.250: DEBUG/[SIMRecords](1484): [Rian] SIMRecords : EVENT_RADIO_OFF_OR_NOT_AVAILABLE 05-12 11:52:50.260: DEBUG/[SIMRecords](1484): onRadioOffOrNotAvailable 05-12 11:52:50.260: DEBUG/[SIMRecords](1484): [Rian] NORMAL : START initCurrentCBMINumber() 05-12 11:52:50.310: INFO/ShutdownThread(1391): Radio and Bluetooth shutdown complete. 05-12 11:52:50.310: INFO/ShutdownThread(1391): Shutting down MountService 05-12 11:52:50.310: INFO/PackageManager(1391): Updating external media status from mounted to unmounted 05-12 11:52:50.310: INFO/MountService(1391): Shutting down 05-12 11:52:50.330: DEBUG/VoldCmdListener(1279): asec list 05-12 11:52:50.390: DEBUG/[SmsReceiverService](1556): [operatorCode]: TMO [countryCode]: DE 05-12 11:52:50.390: INFO/SmsReceiverService(1556): handleServiceStateChanged() received 05-12 11:52:50.390: VERBOSE/[MMS](1556): SmsReceiverService: handleServiceStateChanged() - STATE_POWER_OFF 05-12 11:52:50.420: DEBUG/SmsReceiverService(1556): handleServiceStateChanged()- mState: 3 05-12 11:52:50.410: INFO/PackageManager(1391): No secure containers on sdcard 05-12 11:52:50.410: DEBUG/GpsLocationProvider(1391): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305197570418 05-12 11:52:50.450: DEBUG/VoldCmdListener(1279): storage users /mnt/sdcard 05-12 11:52:50.480: DEBUG/[GSMPhone](1484): initCurrentCBMINumber()- cbInitNoInSim: -1 05-12 11:52:50.540: DEBUG/LGE_data(1484): GSMDataConnTrack handleMessage { what=12 when=77859 obj=android.os.AsyncResult@451a2be8 } 05-12 11:52:50.540: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] Radio is off and clean up all connection 05-12 11:52:50.540: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] Clean up connection due to radioTurnedOff 05-12 11:52:50.540: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] setState: DISCONNECTING 05-12 11:52:50.540: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] cleanUpConnection: !tearDown, call conn.resetSynchronously 05-12 11:52:50.550: DEBUG/LGE_data(1484): [DataConnection] Stop poll NetStat 05-12 11:52:50.550: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] cleanupConnection: !notificationDeferred 05-12 11:52:50.550: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] gotoIdleAndNotifyDataConnection: reason=radioTurnedOff 05-12 11:52:50.550: DEBUG/LGE_data(1484): [GsmDataConnectionTracker] setState: IDLE 05-12 11:52:50.560: WARN/Flex(1391): getString FLEX_COUNTRY_CODE DE 05-12 11:52:50.560: WARN/Flex(1391): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:50.580: DEBUG/MobileDataStateTracker(1391): hipri skipped as new= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default 05-12 11:52:50.580: DEBUG/MobileDataStateTracker(1391): dun skipped because is not unavailable to apnTypeList(default 05-12 11:52:50.580: DEBUG/MobileDataStateTracker(1391): supl skipped because is not unavailable to apnTypeList(default 05-12 11:52:50.600: DEBUG/MobileDataStateTracker(1391): mms skipped because is not unavailable to apnTypeList(default 05-12 11:52:50.600: DEBUG/MobileDataStateTracker(1391): default Received state= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default 05-12 11:52:50.620: DEBUG/DMClientService(1611): updateNetworkState, statusWiFi : 4, statusCellularNetwork :0 05-12 11:52:50.620: DEBUG/DMClientService(1611): getNetworkStatus, serviceType : Operator 05-12 11:52:50.620: DEBUG/DMClientService(1611): updateNetworkState: NETWORK_STATE_DISCONNECTED 05-12 11:52:50.670: DEBUG/NotificationMgr(1484): updateNetworkSelection()...state = 3 new network 05-12 11:52:50.680: DEBUG/vending(1834): [14] DeviceConfigurationReceiver$1.run(): Clearing cache in response to android.intent.action.SIM_STATE_CHANGED 05-12 11:52:50.700: INFO/ADN_CACHING_READY(1707): [] >>> ACTION_SIM_STATE_CHANGED 05-12 11:52:50.700: INFO/ADN_CACHING_READY(1707): [] >>> icc_state :NOT_READY 05-12 11:52:50.700: INFO/ADN_CACHING_READY(1707): [] INTENT_VALUE_ICC_NOT_READY 05-12 11:52:50.700: INFO/SIMContactService(1707): Intent action >>> com.lge.simcontacts.action.ADN_RESET 05-12 11:52:50.700: DEBUG/ADN_CACHING_SERVICE(1707): [] [onStart] Receive the action <ADN RESET START> 05-12 11:52:50.710: INFO/SimContactService(1707): ** Receive resetANDInDB ** 05-12 11:52:50.800: DEBUG/PhoneApp(1484): mReceiver: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED 05-12 11:52:50.800: DEBUG/PhoneApp(1484): - state: DISCONNECTED 05-12 11:52:50.800: DEBUG/PhoneApp(1484): - reason: radioTurnedOff 05-12 11:52:50.820: DEBUG/ContactsProvider(1548): removing data for removed account Account {name=sim, type=com.android.contacts.sim} 05-12 11:52:50.830: WARN/Flex(1748): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:50.860: DEBUG/NotificationMgr(1484): hideDataDisconnectedRoaming()... 05-12 11:52:50.910: DEBUG/vending(1834): [15] DeviceConfigurationReceiver$1.run(): Clearing cache in response to android.intent.action.SIM_STATE_CHANGED 05-12 11:52:50.910: DEBUG/NetworkLocationProvider(1391): onDataConnectionStateChanged -1 05-12 11:52:50.960: INFO/TMOContactsProvider(1548): ^^^^^^^^^ query: content://com.android.contacts/data 05-12 11:52:51.050: INFO/ADN_CACHING_SERVICE(1707): [] [resetADNInDB]Reset ADN in DB 05-12 11:52:51.050: INFO/ADN_CACHING_READY(1707): [] >>> ACTION_SIM_STATE_CHANGED 05-12 11:52:51.050: INFO/ADN_CACHING_READY(1707): [] >>> icc_state :ABSENT 05-12 11:52:51.110: WARN/Flex(1748): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:51.290: DEBUG/GpsLocationProvider(1391): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305197571295 05-12 11:52:51.340: WARN/ActivityManager(1391): Killing processes unmount media at adjustment 7 05-12 11:52:51.340: WARN/ActivityManager(1391): Killing ProcessRecord{454871e0 1858:com.cooliris.media/10000} (adj 8): unmount media 05-12 11:52:51.340: DEBUG/VoldCmdListener(1279): storage users /mnt/sdcard 05-12 11:52:51.380: INFO/ActivityManager(1391): Start proc com.lge.poweroff for activity com.lge.poweroff/.PowerOff: pid=1937 uid=10070 gids={} 05-12 11:52:51.590: DEBUG/PowerOff(1937): turning keyguard off, set to long timeout 05-12 11:52:51.800: WARN/Flex(1391): getString FLEX_COUNTRY_CODE DE 05-12 11:52:51.800: WARN/Flex(1391): getString FLEX_OPERATOR_CODE TMO 05-12 11:52:51.880: INFO/PackageManager(1391): Updating external media status from unmounted to unmounted 05-12 11:52:51.880: INFO/PackageManager(1391): Updating external media status from unmounted to unmounted 05-12 11:52:51.880: DEBUG/VoldCmdListener(1279): volume unmount /mnt/sdcard force 05-12 11:52:51.880: DEBUG/Vold(1279): Volume sdcard state changing 4 (Mounted) -> 5 (Unmounting) 05-12 11:52:51.880: INFO/StorageNotification(1391): Media {/mnt/sdcard} state changed from {mounted} -> {unmounted} 05-12 11:52:51.900: INFO/ActivityManager(1391): Start proc com.cooliris.media for broadcast com.cooliris.media/com.cooliris.cache.BootReceiver: pid=1945 uid=10000 gids={1015, 3003, 4002} 05-12 11:52:51.910: VERBOSE/MediaProvider(1569): Detached volume: external 05-12 11:52:51.940: VERBOSE/[notifyChange](1825): state : 1 artist : Unknown album : Unknown track : Unknown 05-12 11:52:51.970: VERBOSE/[notifyChange](1825): state : 1 artist : Unknown album : Unknown track : Unknown 05-12 11:52:52.040: INFO/ActivityThread(1945): Publishing provider com.cooliris.picasa.contentprovider: com.cooliris.picasa.PicasaContentProvider 05-12 11:52:52.150: INFO/BootReceiver(1945): Got intent with action android.intent.action.MEDIA_EJECT 05-12 11:52:52.282: DEBUG/GpsLocationProvider(1391): mNavigating:true, mStatus: 1, mLastFixTime: 0time_diff:1305197572288 05-12 11:52:52.890: INFO/Vold(1279): /mnt/secure/staging/.android_secure sucessfully unmounted 05-12 11:52:52.890: INFO/Vold(1279): /mnt/secure/asec sucessfully unmounted 05-12 11:52:52.910: INFO/Vold(1279): /mnt/secure/staging sucessfully unmounted 05-12 11:52:52.910: INFO/Vold(1279): /mnt/sdcard unmounted sucessfully 05-12 11:52:52.910: DEBUG/Vold(1279): Volume sdcard state changing 5 (Unmounting) -> 1 (Idle-Unmounted) 05-12 11:52:52.910: WARN/MountService(1391): Duplicate state transition (unmounted -> unmounted) 05-12 11:52:52.920: WARN/ShutdownThread(1391): Result code 0 from MountService.shutdown 05-12 11:52:52.920: INFO/ShutdownThread(1391): Rebooting, reason: recovery 05-12 11:52:52.920: DEBUG/VoldCmdListener(1279): volume shared /mnt/sdcard ums The main difference seems to be the lack of lines like this ADN_CACHING_SERVICE(1707): [] [onStart] Receive the action <ADN RESET START> Is this service required for the reset/wipe to happen? If so, what could be stopping it? Any help would be appreciated. Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en