Tylko mnie nie zależy na widgecie a na restarcie z terminala. Wymyśliłem sobie, że za pomocą Locale i wtyczki Execute będę sobie automatycznie restartował telefon raz na 3 dni w nocy.
Może z LogCata ktoś wyczyta co jest nie tak (dla mnie to czarna magia):
D/LocationManagerService( 765): Acquired wakelock
D/LocationManagerService( 765): Released wakelock
I/ActivityManager( 765): Process com.google.android.gm (pid 3590) has died.
D/dalvikvm( 3621): GC freed 1867 objects / 147712 bytes in 86ms
I/ActivityManager( 765): Process com.android.vending (pid 3497) has died.
D/dalvikvm( 3621): GC freed 2689 objects / 185696 bytes in 108ms
D/su ( 3628): 10120 /system/bin/sh executing 0 /system/bin/sh using shell /system/bin/sh : sh
I/ActivityManager( 765): Start proc com.noshufou.android.su for broadcast com.noshufou.android.su/.SuNotificationReceiver: pid=3631 uid=10015 gids={1015, 3003}
I/NotificationService( 765): enqueueToast pkg=com.noshufou.android.su callback=android.app.ITransientNotification$Stub$Proxy@450d4c08 duration=0
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
D/WifiService( 765): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@45080990}
D/WifiService( 765): enable and start wifi due to updateWifiState
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
D/dalvikvm( 1637): GC freed 4260 objects / 231680 bytes in 97ms
W/Settings( 1050): Setting location_providers_allowed has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
W/dalvikvm( 765): disableGcForExternalAlloc: true
I/ActivityManager( 765): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10100000 cmp=org.jtb.alogcat/.LogActivity }
W/dalvikvm( 765): disableGcForExternalAlloc: false
I/NotificationService( 765): enqueueToast pkg=org.jtb.alogcat callback=android.app.ITransientNotification$Stub$Proxy@4503b218 duration=1
D/alogcat ( 3574): stopping ...
D/alogcat ( 3574): resumed
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
W/InputManagerService( 765): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@4552b5a8 (uid=10120 pid=3612)
W/IInputConnectionWrapper( 3612): showStatusIcon on inactive InputConnection
D/dalvikvm( 3574): GC freed 2431 objects / 264960 bytes in 142ms
I/ActivityManager( 765): Process com.google.android.apps.maps:LocationFriendService (pid 3621) has died.
W/InputConnectionWrapper.ICC( 833): Timed out waiting on IInputContextCallback
D/dalvikvm( 3574): GC freed 11710 objects / 1372504 bytes in 99ms
D/dalvikvm( 3574): GC freed 2169 objects / 377944 bytes in 84ms
D/dalvikvm( 3574): GC freed 3806 objects / 374512 bytes in 96ms
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
E/libagl ( 765): uses alphaPlaneWorkaround
D/NetworkLocationProvider( 765): onCellLocationChanged [17,864646]
D/LocationCondition( 1630): cell location changed: 17:864646
E/libagl ( 765): uses alphaPlaneWorkaround
I/NotificationService( 765): enqueueToast pkg=org.jtb.alogcat callback=android.app.ITransientNotification$Stub$Proxy@44f94758 duration=1