My WIFI Tethering stopped working on my 2.3.3 stock and rooted Samsung Galaxy S2. I believe the culprit to be that SD Maid had deleted a file it thought was unnecessary or a duplicate. And since I have my wife's identical S2, I should be able to restore the files missing but have no idea what file and/or folder.
PS - 3rd party tethering apps don't work either.
Thanks.
Nobody? Really?
SD Maid dev here.
If it was a file you deleted through the duplicate finder, you should have one copy left.
But the duplicate finder does not look in system folders and one would think that WIFI tethering related files would be stored in a system folder.
That leaves us with app cleaner, system cleaner and corpse finder.
- removing caches is nothing that would cause this to fail, so the app cleaner is out
- unless the wifi tethering has some really f'up file type and naming practices, it would not have been touched by the system cleaner either
- this leaves us with the corpse finder, if the wifi tethering app ( is it even an app?) does not follow naming rules, its settings folder could have been deleted.
But i don't think this happened either and it should be no problem for the settings to get recreated.
I think it is highly unlikely that this has been caused by SD Maid (unless you manually deleted a file with the explorer, and in that case ... ;p)
There are a few thousand SGS2 users using SD Maid (according to Google) and i have not had any reports regarding this.
Guessing is always bad, lets approach this differently.
How exactly does the WIFI tethering fail?
Can you upload an android system log of the tethering process failing?
If you are still convinced that this is caused by a deleted file, you could generate a list of all files on your device and your wifes and compare them.
The lists would be huge but that can be narrowed down alot to specific folders (/system, /data, etc.)
I recommend getting a log first though.
Thanks for the reply!
The reason I suspect it was this app that was the culprit is because I'm confident (or at least was) that it's the only new app I've ran since it stopped working. I also ran Optimize DBs if that would have any effect.
Here's the log from alogcat filtered with "tether".
[ 11-17 11:39:30.460 2707:0xadb D/Tethering ]
pdp0 is not a tetherable iface, ignoring
[ 11-17 11:39:31.240 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=3
[ 11-17 11:39:31.240 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.240 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.245 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.245 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.245 2707:0xadf D/Tethering ]
notifying tethered with iface =pdp0
[ 11-17 11:39:31.310 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=3
[ 11-17 11:39:31.315 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.315 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.315 2707:0xadf D/Tethering ]
notifying tethered with iface =null
[ 11-17 11:39:31.375 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=3
[ 11-17 11:39:31.380 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.385 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.385 2707:0xadf D/Tethering ]
notifying tethered with iface =null
[ 11-17 11:39:31.405 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=3
[ 11-17 11:39:31.410 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.410 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.415 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.415 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.420 2707:0xadf D/Tethering ]
[ 11-17 11:39:31.425 2707:0xadf D/Tethering ]
notifying tethered with iface =pdp0
[ 11-17 11:39:35.110 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=5
[ 11-17 11:39:35.115 2707:0xadf D/Tethering ]
[ 11-17 11:39:35.115 2707:0xadf D/Tethering ]
[ 11-17 11:39:35.120 2707:0xadf D/Tethering ]
[ 11-17 11:39:35.120 2707:0xadf D/Tethering ]
[ 11-17 11:39:35.120 2707:0xadf D/Tethering ]
[ 11-17 11:39:35.125 2707:0xadf D/Tethering ]
notifying tethered with iface =pdp0
[ 11-17 11:39:36.040 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=5
[ 11-17 11:39:36.040 2707:0xadf D/Tethering ]
[ 11-17 11:39:36.040 2707:0xadf D/Tethering ]
[ 11-17 11:39:36.050 2707:0xadf D/Tethering ]
[ 11-17 11:39:36.050 2707:0xadf D/Tethering ]
[ 11-17 11:39:36.050 2707:0xadf D/Tethering ]
[ 11-17 11:39:36.050 2707:0xadf D/Tethering ]
notifying tethered with iface =pdp0
[ 11-17 11:39:41.325 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=5
[ 11-17 11:39:41.325 2707:0xadf D/Tethering ]
[ 11-17 11:39:41.325 2707:0xadf D/Tethering ]
[ 11-17 11:39:41.330 2707:0xadf D/Tethering ]
[ 11-17 11:39:41.330 2707:0xadf D/Tethering ]
[ 11-17 11:39:41.330 2707:0xadf D/Tethering ]
[ 11-17 11:39:41.330 2707:0xadf D/Tethering ]
notifying tethered with iface =pdp0
[ 11-17 11:39:41.385 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=5
[ 11-17 11:39:41.390 2707:0xadf D/Tethering ]
[ 11-17 11:39:41.390 2707:0xadf D/Tethering ]
[ 11-17 11:39:41.390 2707:0xadf D/Tethering ]
[ 11-17 11:39:41.390 2707:0xadf D/Tethering ]
[ 11-17 11:39:41.390 2707:0xadf D/Tethering ]
[ 11-17 11:39:41.395 2707:0xadf D/Tethering ]
notifying tethered with iface =pdp0
[ 11-17 11:40:05.130 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=4
[ 11-17 11:40:05.130 2707:0xadf D/Tethering ]
[ 11-17 11:40:06.250 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=4
[ 11-17 11:40:06.250 2707:0xadf D/Tethering ]
[ 11-17 11:40:11.430 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=4
[ 11-17 11:40:11.430 2707:0xadf D/Tethering ]
[ 11-17 11:40:15.129 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=4
[ 11-17 11:40:15.129 2707:0xadf D/Tethering ]
[ 11-17 11:40:16.054 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=4
[ 11-17 11:40:16.054 2707:0xadf D/Tethering ]
[ 11-17 11:40:21.340 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=4
[ 11-17 11:40:21.340 2707:0xadf D/Tethering ]
[ 11-17 11:40:21.400 2707:0xadf D/Tethering ]
TetherModeAliveState.processMessage what=4
[ 11-17 11:40:21.400 2707:0xadf D/Tethering ]
Hm nah Optimize DBs is really safe as it starts sqlite with the command VACUUM on the databases. SQLite itself then makes sure that the db consitency is kept.
Nothing that really stands out in the error log.
Though this seems weird:
First it says pdp0 is not a tetherable iface, ignoring
Then it still tries to tether with it? notifying tethered with iface =pdp0
Switches to notifying tethered with iface =null
and back to notifying tethered with iface =pdp0
There is also that number what=4 that keeps changing.
Unfortunately i have not found any information on the meaning of those messages yet.
Related
Soo trying to port Paranoid Android 1.6a rom and keep getting loads of errors logcat below please help if you can ............ :
Full log in attachments
--------- beginning of /dev/log/system
[ 01-01 00:09:06.853 7531:0x1dc4 D/MountService ]
volume state changed for /mnt/usbdisk (null -> removed)
[ 01-01 00:09:06.903 7531:0x1d89 I/SystemServer ]
Notification Manager
[ 01-01 00:09:06.913 7531:0x1d89 I/SystemServer ]
Device Storage Monitor
[ 01-01 00:09:06.913 7531:0x1d89 I/SystemServer ]
Location Manager
[ 01-01 00:09:06.913 7531:0x1d89 I/SystemServer ]
Country Detector
[ 01-01 00:09:06.913 7531:0x1d89 I/SystemServer ]
Search Service
[ 01-01 00:09:06.913 7531:0x1d89 I/SystemServer ]
DropBox Service
[ 01-01 00:09:06.913 7531:0x1d89 I/SystemServer ]
Wallpaper Service
[ 01-01 00:09:06.913 7531:0x1d89 I/SystemServer ]
Audio Service
[ 01-01 00:09:06.933 7531:0x1d89 I/SystemServer ]
Dock Observer
[ 01-01 00:09:06.933 7531:0x1d89 W/DockObserver ]
This kernel does not have dock station support
[ 01-01 00:09:06.933 7531:0x1d89 I/SystemServer ]
Wired Accessory Observer
[ 01-01 00:09:06.933 7531:0x1d89 I/SystemServer ]
USB Service
[ 01-01 00:09:06.943 7531:0x1d89 I/SystemServer ]
UI Mode Manager Service
[ 01-01 00:09:06.953 7531:0x1d89 I/SystemServer ]
Backup Service
[ 01-01 00:09:06.953 7531:0x1d89 V/BackupManagerService ]
Initializing package tracking
[ 01-01 00:09:06.953 7531:0x1d89 V/BackupManagerService ]
No ancestral data
[ 01-01 00:09:06.963 7531:0x1d89 V/BackupManagerService ]
addPackageParticipantsLocked: all
[ 01-01 00:09:06.963 7531:0x1d89 I/BackupManagerService ]
New app android never backed up; scheduling
[ 01-01 00:09:06.973 7531:0x1d89 I/BackupManagerService ]
New app com.android.browser never backed up; scheduling
[ 01-01 00:09:06.983 7531:0x1d89 I/BackupManagerService ]
New app com.android.calendar never backed up; scheduling
[ 01-01 00:09:06.993 7531:0x1d89 I/BackupManagerService ]
New app com.android.inputmethod.latin never backed up; scheduling
[ 01-01 00:09:07.003 7531:0x1d89 I/BackupManagerService ]
New app com.android.providers.settings never backed up; scheduling
[ 01-01 00:09:07.013 7531:0x1d89 I/BackupManagerService ]
New app com.android.providers.userdictionary never backed up; scheduling
[ 01-01 00:09:07.013 7531:0x1d89 I/BackupManagerService ]
New app com.android.sharedstoragebackup never backed up; scheduling
[ 01-01 00:09:07.023 7531:0x1d89 V/BackupManagerService ]
Registering transport android/com.android.internal.backup.LocalTransport = [email protected]
[ 01-01 00:09:07.023 7531:0x1d89 V/BackupManagerService ]
Starting with transport com.google.android.backup/.BackupTransportService
[ 01-01 00:09:07.023 7531:0x1d89 V/BackupManagerService ]
Google transport not present
[ 01-01 00:09:07.023 7531:0x1d89 I/BackupManagerService ]
Found stale backup journal, scheduling
[ 01-01 00:09:07.023 7531:0x1d89 I/BackupManagerService ]
android
[ 01-01 00:09:07.023 7531:0x1d89 I/BackupManagerService ]
com.android.browser
[ 01-01 00:09:07.023 7531:0x1d89 I/BackupManagerService ]
com.android.calendar
[ 01-01 00:09:07.023 7531:0x1d89 I/BackupManagerService ]
com.android.inputmethod.latin
[ 01-01 00:09:07.023 7531:0x1d89 I/BackupManagerService ]
com.android.providers.settings
[ 01-01 00:09:07.023 7531:0x1d89 I/BackupManagerService ]
com.android.providers.userdictionary
[ 01-01 00:09:07.023 7531:0x1d89 I/BackupManagerService ]
com.android.sharedstoragebackup
[ 01-01 00:09:07.023 7531:0x1d89 I/BackupManagerService ]
Backup enabled => false
[ 01-01 00:09:07.023 7531:0x1d89 I/BackupManagerService ]
Opting out of backup
[ 01-01 00:09:07.023 7531:0x1d89 I/SystemServer ]
AppWidget Service
[ 01-01 00:09:07.023 7531:0x1d89 I/SystemServer ]
Recognition Service
[ 01-01 00:09:07.023 7531:0x1d89 I/SystemServer ]
DiskStats Service
[ 01-01 00:09:07.023 7531:0x1d89 I/SystemServer ]
SamplingProfiler Service
[ 01-01 00:09:07.033 7531:0x1d89 I/SystemServer ]
NetworkTimeUpdateService
[ 01-01 00:09:07.033 7531:0x1d89 I/SystemServer ]
AssetRedirectionManager Service
[ 01-01 00:09:07.134 7531:0x1da8 I/ActivityManager ]
Config changed: {1.0 0mcc0mnc en_UK layoutdir=0 sw320dp w320dp h544dp nrml long port ?uimode ?night finger -keyb/v/h -nav/h s.3 themeResource=null}
[ 01-01 00:09:07.154 7531:0x1d89 D/PowerManagerService ]
system ready!
[ 01-01 00:09:07.154 7531:0x1d89 I/ActivityManager ]
System now ready
[ 01-01 00:09:07.164 7531:0x1d89 I/SystemServer ]
Making services ready
[ 01-01 00:09:07.164 7531:0x1d89 D/SystemServer ]
Starting service: Intent { cmp=com.android.systemui/.SystemUIService }
[ 01-01 00:09:07.224 7531:0x1d89 I/ActivityManager ]
Start proc com.android.systemui for service com.android.systemui/.SystemUIService: pid=7625 uid=1000 gids={1015, 3002, 3001, 3003}
[ 01-01 00:09:07.224 7531:0x1d89 D/NetworkManagementService ]
enabling bandwidth control
[ 01-01 00:09:07.434 7625:0x1dc9 D/SystemUIService ]
loading: class com.android.systemui.statusbar.phone.PhoneStatusBar
[ 01-01 00:09:07.444 7625:0x1dc9 D/SystemUIService ]
running: [email protected]
[ 01-01 00:09:07.464 7531:0x1d89 D/NetworkManagementService ]
Registering observer
[ 01-01 00:09:07.494 7531:0x1d89 D/NetworkManagementService ]
Registering observer
[ 01-01 00:09:07.494 7531:0x1d89 I/ActivityManager ]
Config changed: {1.0 0mcc0mnc en_UK layoutdir=0 sw320dp w320dp h544dp nrml long port finger -keyb/v/h -nav/h s.4 themeResource=null}
[ 01-01 00:09:07.504 7531:0x1d89 W/RecognitionManagerService ]
no available voice recognition services found
[ 01-01 00:09:07.574 7531:0x1d8a I/ActivityManager ]
Start proc android.process.media for broadcast com.android.providers.media/.UsbReceiver: pid=7674 uid=10015 gids={1015, 1023, 1024, 2001, 3003, 3007}
[ 01-01 00:09:07.814 7531:0x1d6b I/StatusBarManagerService ]
registerStatusBar [email protected]0
[ 01-01 00:09:07.814 7625:0x1dc9 D/PhoneStatusBar ]
disable: < expand icons alerts ticker system_info BACK* HOME* RECENT* CLOCK* >
[ 01-01 00:09:07.884 7625:0x1dc9 D/StorageNotification ]
Startup with UMS connection false (media state unmounted)
[ 01-01 00:09:07.904 7625:0x1e0c I/StorageNotification ]
UMS connection changed to false (media state unmounted)
[ 01-01 00:09:07.914 7625:0x1dc9 D/SystemUIService ]
loading: class com.android.systemui.power.PowerUI
[ 01-01 00:09:07.914 7625:0x1dc9 D/SystemUIService ]
running: [email protected]
[ 01-01 00:09:07.944 7531:0x1d89 W/InputManagerService ]
Ignoring setImeWindowStatus of uid 1000 token: null
[ 01-01 00:09:07.984 7531:0x1d89 I/ActivityManager ]
Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=7694 uid=10022 gids={}
[ 01-01 00:09:07.984 7531:0x1e13 I/LocationManagerService ]
Setting GPS Source to: 0
[ 01-01 00:09:07.984 7531:0x1dbd D/WifiService ]
New client listening to asynchronous messages
[ 01-01 00:09:07.984 7531:0x1d89 D/NetworkManagementService ]
Registering observer
[ 01-01 00:09:07.994 7531:0x1e17 E/ThrottleService ]
Error reading data file
[ 01-01 00:09:08.044 7531:0x1d89 I/ActivityManager ]
Start proc com.android.phone for added application com.android.phone: pid=7712 uid=1001 gids={3002, 3001, 3003, 1015}
[ 01-01 00:09:08.044 7531:0x1d89 I/ActivityManager ]
START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.cyanogenmod.trebuchet/.Launcher} from pid 0
[ 01-01 00:09:08.084 7531:0x1d89 I/ActivityManager ]
Start proc com.cyanogenmod.trebuchet for activity com.cyanogenmod.trebuchet/.Launcher: pid=7728 uid=10041 gids={}
[ 01-01 00:09:08.094 7531:0x1d89 I/SystemServer ]
Enabled StrictMode for system server main thread.
[ 01-01 00:09:08.295 7531:0x1d8a I/ActivityManager ]
Start proc com.android.settings for broadcast com.android.settings/.widget.SettingsAppWidgetProvider: pid=7746 uid=1000 gids={1015, 3002, 3001, 3003}
[ 01-01 00:09:08.325 7531:0x1d89 W/MountService ]
getVolumeState(/mnt/emmc): Unknown volume
[ 01-01 00:09:08.325 7531:0x1d89 E/AndroidRuntime ]
*** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.hardware.usb.action.USB_STATE flg=0x20000010 (has extras) } in [email protected]
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:737)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at com.android.server.ServerThread.run(SystemServer.java:840)
Caused by: java.lang.IllegalArgumentException
at com.android.server.MountService.getVolumeState(MountService.java:1459)
at com.android.server.MountService.notifyShareAvailabilityChange(MountService.java:1026)
at com.android.server.MountService.access$1300(MountService.java:92)
at com.android.server.MountService$1.onReceive(MountService.java:546)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728)
... 4 more
[ 01-01 00:09:08.405 7625:0x1dd7 I/ActivityThread ]
Removing dead content provider: settings
[ 01-01 00:09:08.415 7625:0x1dc9 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Package manager has died
at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:205)
at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java:710)
at com.android.systemui.statusbar.StatusBarIconView.getIcon(StatusBarIconView.java:186)
at com.android.systemui.statusbar.StatusBarIconView.getIcon(StatusBarIconView.java:170)
at com.android.systemui.statusbar.StatusBarIconView.set(StatusBarIconView.java:139)
at com.android.systemui.statusbar.StatusBarIconView.set(StatusBarIconView.java:123)
at com.android.systemui.statusbar.phone.PhoneStatusBar.addIcon(PhoneStatusBar.java:650)
at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:212)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4579)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.content.pm.IPackageManager$Stub$Proxy.getApplicationInfo(IPackageManager.java:1396)
at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:200)
... 15 more
[ 01-01 00:09:08.415 7728:0x1e30 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.AssertionError: android.os.DeadObjectException
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:348)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:305)
at android.app.LoadedApk.makeApplication(LoadedApk.java:474)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4091)
at android.app.ActivityThread.access$1300(ActivityThread.java:133)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4579)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java:1215)
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:346)
... 13 more
[ 01-01 00:09:08.415 7625:0x1dc9 E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2867)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:72)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
[ 01-01 00:09:08.425 7728:0x1e30 E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2867)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:72)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
[ 01-01 00:09:08.425 7712:0x1e20 W/ActivityThread ]
Unable to get context for package com.android.providers.telephony while loading content provider com.android.providers.telephony.MmsProvider
[ 01-01 00:09:08.435 7712:0x1e20 W/ActivityThread ]
Unable to get context for package com.android.providers.telephony while loading content provider com.android.providers.telephony.SmsProvider
[ 01-01 00:09:08.435 7712:0x1e20 W/ActivityThread ]
Unable to get context for package com.android.providers.telephony while loading content provider com.android.providers.telephony.TelephonyProvider
[ 01-01 00:09:08.435 7712:0x1e20 W/ActivityThread ]
Unable to get context for package com.android.providers.telephony while loading content provider com.android.providers.telephony.MmsSmsProvider
[ 01-01 00:09:08.445 7694:0x1e0e E/ActivityThread ]
Failed to find provider info for settings
[ 01-01 00:09:08.445 7694:0x1e0e E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create service com.android.inputmethod.latin.LatinIME: java.lang.NullPointerException
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2389)
at android.app.ActivityThread.access$1600(ActivityThread.java:133)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4579)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at android.provider.Settings$NameValueCache.getString(Settings.java:719)
at android.provider.Settings$System.getString(Settings.java:827)
at android.provider.Settings$System.getInt(Settings.java:876)
at android.inputmethodservice.InputMethodService.initViews(InputMethodService.java:661)
at android.inputmethodservice.InputMethodService.onCreate(InputMethodService.java:629)
at com.android.inputmethod.compat.InputMethodServiceCompatWrapper.onCreate(InputMethodServiceCompatWrapper.java:65)
at com.android.inputmethod.latin.LatinIME.onCreate(LatinIME.java:497)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2379)
... 10 more
[ 01-01 00:09:08.455 7694:0x1e0e E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2867)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:72)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
I am running GBX0*+3.4.26.1 Full on RHOD100 fresh install only added gapps. Booted up first time without a SIM-card and let android "settle" for a while. Tried some things with WIFI and that worked without any problems. Turned off the phone and placed a SIM card for testing purposes. Booted the phone and switched of wifi. But after this the data connection will not initiate.
What I've tried so far:
- Leave it be for a while ---> No 3G or even GPRS after 10 minutes
- Switch to airplane mode and back --> no result
- Scan for networks, get an error --> put it on atomatic and it registers
- Added a APN manualy --> makes no difference
What I can do:
- Make and recieve calls
- SMS
- Utilize WIFI
Logcat:
Code:
[ 01-28 21:54:14.063 1618:0x652 D/dalvikvm ]
GC_EXPLICIT freed 7K, 49% free 2752K/5379K, external 1625K/2137K, paused 103ms
[ 01-28 21:54:19.113 1484:0x5cc D/dalvikvm ]
GC_EXPLICIT freed 2K, 52% free 3439K/7111K, external 5993K/7484K, paused 147ms
[ 01-28 21:54:24.802 1611:0x64b D/dalvikvm ]
GC_EXPLICIT freed 30K, 46% free 3698K/6791K, external 1625K/2137K, paused 161ms
[ 01-28 21:54:41.263 1384:0x5d7 I/TelephonyRegistry ]
notifyDataConnection: state=0 isDataConnectivityPossible=false reason=gprsAttached interfaceName=null networkType=3
[ 01-28 21:54:41.323 1384:0x5fa I/TelephonyRegistry ]
notifyDataConnection: state=1 isDataConnectivityPossible=true reason=null interfaceName=null networkType=3
[ 01-28 21:54:41.413 1492:0x5d4 D/GTalkService ]
##### Network broadcast (connected=false) type=mobile, state=DISCONNECTED
[ 01-28 21:54:41.413 1492:0x5d4 D/GTalkService ]
[GTalkConnection.1] setInternalNetworkState: type=0, state=DISCONNECTED
[ 01-28 21:54:41.442 1384:0x58f D/Tethering ]
MasterInitialState.processMessage what=3
[ 01-28 21:54:41.492 2083:0x823 D/pppd ]
using channel 33
[ 01-28 21:54:41.502 2083:0x823 I/pppd ]
Using interface ppp0
[ 01-28 21:54:41.502 2083:0x823 I/pppd ]
Connect: ppp0 <--> /dev/smd7
[ 01-28 21:54:41.512 2083:0x823 I/pppd ]
PAP authentication succeeded
[ 01-28 21:54:41.532 1384:0x58b D/Tethering ]
ppp0 is not a tetherable iface, ignoring
[ 01-28 21:54:41.622 1854:0x73e I/MediaUploader ]
No need to wake up
[ 01-28 21:54:45.522 2083:0x823 W/pppd ]
IPCP: timeout sending Config-Requests
[ 01-28 21:54:46.553 1384:0x56a D/dalvikvm ]
GC_CONCURRENT freed 1938K, 44% free 5695K/10119K, external 6015K/6078K, paused 15ms+24ms
[ 01-28 21:54:47.533 2083:0x823 I/pppd ]
Connection terminated.
[ 01-28 21:54:47.533 2083:0x823 I/pppd ]
Modem hangup
[ 01-28 21:54:47.533 1384:0x58b E/Tethering ]
attempting to remove unknown iface (ppp0), ignoring
[ 01-28 21:54:47.863 1566:0x61e D/dalvikvm ]
GC_EXPLICIT freed 8K, 49% free 2807K/5447K, external 1625K/2137K, paused 118ms
[ 01-28 21:54:57.883 1845:0x735 D/dalvikvm ]
GC_EXPLICIT freed 7K, 48% free 2810K/5379K, external 1625K/2137K, paused 107ms
[ 01-28 21:55:48.263 1384:0x5e9 I/TelephonyRegistry ]
notifyDataConnection: state=0 isDataConnectivityPossible=false reason=gprsAttached interfaceName=null networkType=3
[ 01-28 21:55:48.313 1384:0x5de I/TelephonyRegistry ]
notifyDataConnection: state=1 isDataConnectivityPossible=true reason=null interfaceName=null networkType=3
[ 01-28 21:55:48.423 1492:0x5d4 D/GTalkService ]
##### Network broadcast (connected=false) type=mobile, state=DISCONNECTED
[ 01-28 21:55:48.423 1492:0x5d4 D/GTalkService ]
[GTalkConnection.1] setInternalNetworkState: type=0, state=DISCONNECTED
[ 01-28 21:55:48.462 1384:0x58f D/Tethering ]
MasterInitialState.processMessage what=3
[ 01-28 21:55:48.533 2084:0x824 D/pppd ]
using channel 34
[ 01-28 21:55:48.533 1384:0x58b D/Tethering ]
ppp0 is not a tetherable iface, ignoring
[ 01-28 21:55:48.552 2084:0x824 I/pppd ]
Using interface ppp0
[ 01-28 21:55:48.552 2084:0x824 I/pppd ]
Connect: ppp0 <--> /dev/smd7
[ 01-28 21:55:48.552 2084:0x824 I/pppd ]
PAP authentication succeeded
[ 01-28 21:55:48.622 1854:0x73e I/MediaUploader ]
No need to wake up
[ 01-28 21:55:52.572 2084:0x824 W/pppd ]
IPCP: timeout sending Config-Requests
[ 01-28 21:55:54.573 2084:0x824 I/pppd ]
Connection terminated.
[ 01-28 21:55:54.573 1384:0x58b E/Tethering ]
attempting to remove unknown iface (ppp0), ignoring
[ 01-28 21:55:54.663 2084:0x824 I/pppd ]
Modem hangup
[ 01-28 21:55:57.933 1854:0x73e D/dalvikvm ]
GC_EXPLICIT freed 12K, 49% free 2744K/5379K, external 1625K/2137K, paused 102ms
[ 01-28 21:56:07.963 1566:0x61e D/dalvikvm ]
GC_EXPLICIT freed 4K, 49% free 2807K/5447K, external 1625K/2137K, paused 117ms
I'd really like to know why it is not making a data connection (works fine on a SGS2). And what further steps I can take to try and make it work. Will try a factory reset as "quick fix" as a last resort right now.
Operator:
Vodafone NL
As noted in the first post of GBX0*+3.4.26.1.... and I will say it again we do not have RHOD100s. We can not support RHOD100s. If you would like to provide patches for RHOD100s we are happy to consider including them.
Perhaps someone else can answer your questions, but odds are you will have to do the troubleshooting yourself.
Thank you.
Holy logcat batman, what is with that thing?
Can you attach it as a text file? I don't know what's going on with the spacing, but it's really difficult to read on here - doesn't help that I'm not very good at reading logcats...
For GSM, I know it's really quite picky for the APN. Make sure you are setting this up correctly for your carrier.
Thanks for your replies. I tried a different radio, to no effect. After reading your post I took a critical look at the APN settings and took the data from: androidworld.nl/forum/showwiki.php?title=Tutorial:APN+lijst+Nederland instead of the official vodafone website.
And presto it worked!
Recaptcha is getting harder and harder to read nowadays
Anyone have any idea what is causing this crash? Here is the pertinent part of the logcat.
Code:
[ 04-17 11:39:04.962 8084: 8084 E/AndroidRuntime ]
FATAL EXCEPTION: main
Process: com.bungieinc.bungiemobile, PID: 8084
java.lang.NullPointerException
at com.bungieinc.bungiemobile.experiences.navdrawer.accountview.NavDrawerDestinyAccountListItem.onItemSelected(NavDrawerDestinyA
at android.widget.AdapterView.fireOnSelected(AdapterView.java:933)
at android.widget.AdapterView.selectionChanged(AdapterView.java:920)
at android.widget.AdapterView.onWindowVisibilityChanged(AdapterView.java:896)
at android.view.View.dispatchAttachedToWindow(View.java:13106)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2491)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2498)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2498)
at android.view.ViewGroup.addViewInner(ViewGroup.java:3656)
at android.view.ViewGroup.addView(ViewGroup.java:3466)
at android.view.ViewGroup.addView(ViewGroup.java:3411)
at android.support.v7.widget.RecyclerView$4.addView(RecyclerView.java:334)
at android.support.v7.widget.ChildHelper.addView(ChildHelper.java:79)
at android.support.v7.widget.RecyclerView$LayoutManager.addViewInt(RecyclerView.java:4955)
at android.support.v7.widget.RecyclerView$LayoutManager.addView(RecyclerView.java:4913)
at android.support.v7.widget.RecyclerView$LayoutManager.addView(RecyclerView.java:4901)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1320)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1269)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:523)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:1988)
at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:2237)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:914)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:15346)
at android.view.ViewGroup.layout(ViewGroup.java:4686)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2075)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1832)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1057)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5857)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:815)
at android.view.Choreographer.doCallbacks(Choreographer.java:628)
at android.view.Choreographer.doFrame(
[ 04-17 11:39:04.962 8084: 8084 I/AndroidRuntime ]
To Report FATAL to activityManagerService
[ 04-17 11:39:04.972 931: 1478 I/ActivityManager ]
handleApplicationCrash
[ 04-17 11:39:05.002 931: 1478 W/ActivityManager ]
Force finishing activity com.bungieinc.bungiemobile/.experiences.root.RootActivity
[ 04-17 11:39:05.012 931: 8154 I/ActivityManager ]
addErrorToDropBox inserted hashcode=54b01b36e8c1610968de29744a9d843a595cb67f.
[ 04-17 11:39:05.092 8084: 8084 I/Process ]
Sending signal. PID: 8084 SIG: 9
[ 04-17 11:39:05.092 8084: 8084 I/AndroidRuntime ]
Finished reporting FATAL to activityManagerService
[ 04-17 11:39:05.102 931: 1683 I/WindowState ]
WIN DEATH: Window{428e92b8 u0 com.bungieinc.bungiemobile/com.bungieinc.bungiemobile.experiences.root.RootActivity}
[ 04-17 11:39:05.102 931: 1685 I/ActivityManager ]
Process com.bungieinc.bungiemobile (pid 8084) has died.
[ 04-17 11:39:05.122 931: 1685 D/AmazonTransitionManager ]
openingActivityName = com.amazon.kindle.otter.activities.AppsLibraryActivity, animationType = FADE
[ 04-17 11:39:05.162 931: 1686 W/InputMethodManagerService ]
Got RemoteException sending setActive(false) notification to pid 8084 uid 10068
So i have a simple but frustrating when i try to open camera app it says can't connect to camera now i know the exact cause of this but don't know how to fix it
the cause is i installed a zip file which was supposed to have the xperia z2 camera app and some different apps from a tutorial on matrudev i cant post the link cause i'm a new user
i have tried uninstalling every package this edited / reinstalling the zip / rebooting the phone multiple times / clearing cache and dalvik / installing different camera apps / installing camera fix magisk modules and none of these work
the phone's model is : Lenovo a6000
Android security patch level : September 5, 2017
baseband version : MPSS.DPM.1.0.1.C1.00093
Kernel version : 3.10.107-Oreo+ [email protected] #1 Mon Oct 18:45:59 IST 2017
Build Number : aosp_6000-userdebug 8.0.0 OPR6. 170623.021 17e6583dde
SELinux status ermissive
Its System-lessly Rooted Using Magisk
I have TWRP Installed
here is a logcat
Code:
[ 10-03 21:25:40.044 14651:14697 E/CAM_CameraDataAdapter ]
Error loading data:/storage/4AC7-1C03/DCIM/Camera/VID_20180919_143234.mp4
[ 10-03 21:25:40.066 14651:14701 W/Adreno-EGL ]
<qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
[ 10-03 21:25:40.142 214: 214 W//system/bin/hwservicemanager ]
getTransportFromManifest: Cannot find entry [email protected]::IMapper in either framework or device manifest, using default transport.
[ 10-03 21:25:40.244 4243: 4291 I/ActivityManager ]
Displayed org.cyanogenmod.snap/com.android.camera.CameraLauncher: +1s732ms
[ 10-03 21:25:40.313 311: 311 I/surfaceflinger ]
type=1400 audit(0.0:1112): avc: denied { read write } for path="/dev/kgsl-3d0" dev="tmpfs" ino=7433 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
[ 10-03 21:25:40.542 11691:14721 I/vfp ]
Launching job OfflineSearchIndexingJob
[ 10-03 21:25:40.542 11691:14721 I/vfc ]
Starting Job(OfflineSearchIndexingJob#1.35) (priority=0)
[ 10-03 21:25:40.547 11691:14722 I/vsr ]
Job(OfflineSearchIndexingJob#1.35) Started new READ_ONLY transaction readtx68 [readDatabaseResultsToIndex]
[ 10-03 21:25:40.554 11691:11809 I/vsr ]
Closing transaction readtx68 [readDatabaseResultsToIndex]: Stats[1 Reads (rows: 1)]
[ 10-03 21:25:40.555 11691:14722 I/mjn ]
Job(OfflineSearchIndexingJob#1.35) Already caught up to the current max write_sequence_id
[ 10-03 21:25:40.556 11691:14722 I/mjn ]
Job(OfflineSearchIndexingJob#1.35) Scheduling next offline search indexing in 60000 ms
[ 10-03 21:25:40.557 11691:14722 I/vfc ]
Job(OfflineSearchIndexingJob#1.35) Finished Job(OfflineSearchIndexingJob#1.35) (14 ms)
[ 10-03 21:25:41.592 320: 1121 D/audio_hw_primary ]
out_standby: enter: stream (0xb0a45980) usecase(1: low-latency-playback)
[ 10-03 21:25:41.764 320: 1121 D/audio_hw_primary ]
disable_audio_route: reset and update mixer path: low-latency-playback
[ 10-03 21:25:41.765 320: 1121 D/hardware_info ]
hw_info_append_hw_type : device_name = speaker
[ 10-03 21:25:41.765 320: 1121 D/audio_hw_primary ]
disable_snd_device: snd_device(2: speaker)
[ 10-03 21:25:41.769 4243: 8864 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.releaseWakeLock(PowerManagerService.java:4159)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:94)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.536 5798: 5798 I/HwDetectorWithState ]
#performNextHotwordAction action: 0
[ 10-03 21:25:43.537 320: 320 D/audio_hw_primary ]
adev_open_input_stream: enter: sample_rate(16000) channel_mask(0x10) devices(0x80000004) stream_handle(0xb0a30ac0) io_handle(1190)
[ 10-03 21:25:43.539 320:14729 I/AudioFlinger ]
AudioFlinger's thread 0xaee031c0 tid=14729 ready to run
[ 10-03 21:25:43.539 320:14729 D/audio_hw_primary ]
in_standby: enter: stream (0xb0a30ac0) usecase(7: audio-record)
[ 10-03 21:25:43.540 320:14729 D/audio_hw_primary ]
in_standby: enter: stream (0xb0a30ac0) usecase(7: audio-record)
[ 10-03 21:25:43.540 4243: 8865 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.acquireWakeLock(PowerManagerService.java:4131)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:66)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.541 4243: 8865 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:4190)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:4181)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.541 320: 6580 E/ ]
Request denied by app op OP_RECORD_AUDIO
[ 10-03 21:25:43.541 320: 6580 E/AudioFlinger ]
openRecord() permission denied: recording not allowed
[ 10-03 21:25:43.541 5798: 5798 E/AudioRecord ]
AudioFlinger could not create record track, status: -1
[ 10-03 21:25:43.541 4243: 8865 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.releaseWakeLock(PowerManagerService.java:4159)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:94)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.544 4243: 8228 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.acquireWakeLock(PowerManagerService.java:4131)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:66)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.544 4243: 8228 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:4190)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:4181)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.545 320: 510 D/audio_hw_primary ]
adev_close_input_stream: enter:stream_handle(0xb0a30ac0)
[ 10-03 21:25:43.545 4243: 8228 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.releaseWakeLock(PowerManagerService.java:4159)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:94)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.545 320: 510 D/audio_hw_primary ]
in_standby: enter: stream (0xb0a30ac0) usecase(7: audio-record)
[ 10-03 21:25:43.545 5798: 5798 E/AudioRecord-JNI ]
Error creating AudioRecord instance: initialization check failed with status -1.
[ 10-03 21:25:43.545 5798: 5798 E/android.media.AudioRecord ]
Error code -20 when initializing native AudioRecord object.
[ 10-03 21:25:43.545 5798: 5798 E/AudioProvider ]
Failed to initialize AudioRecord
[ 10-03 21:25:43.546 5798: 5798 E/AudioProvider ]
Unable to create audio record
[ 10-03 21:25:43.546 5798: 5798 E/HotwordDetector ]
Unable to create parcel file descriptor
[ 10-03 21:25:43.622 320: 1121 D/audio_hw_primary ]
out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
[ 10-03 21:25:43.623 4243: 8883 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.acquireWakeLock(PowerManagerService.java:4131)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:66)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.624 320: 5994 D/audio_hw_primary ]
start_output_stream: enter: stream(0xb0a45980)usecase(1: low-latency-playback) devices(0x2)
[ 10-03 21:25:43.624 320: 5994 D/audio_hw_primary ]
select_devices: out_snd_device(2: speaker) in_snd_device(0: )
[ 10-03 21:25:43.624 320: 5994 W/msm8916_platform ]
Codec backend bitwidth 16, samplerate 48000
[ 10-03 21:25:43.625 320: 5994 D/hardware_info ]
hw_info_append_hw_type : device_name = speaker
[ 10-03 21:25:43.625 320: 5994 D/audio_hw_primary ]
enable_snd_device: snd_device(2: speaker)
[ 10-03 21:25:43.627 4243: 8883 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:4190)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:4181)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.628 4243: 8883 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:4190)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:4181)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:43.632 320: 5994 W/audio_hw_utils ]
audio_extn_utils_update_stream_app_type_cfg: App type could not be selected. Falling back to default
[ 10-03 21:25:43.632 320: 5994 I/audio_hw_primary ]
select_devices Selected apptype: 69936
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_audio_cal, acdb_id = 15, path = 0
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_asm_topology
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_adm_topology
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_audtable
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> AUDIO_SET_AUDPROC_CAL
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_audvoltable
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_afe_cal
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> AUDIO_SET_AFE_CAL
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> send_hw_delay : acdb_id = 15 path = 0
[ 10-03 21:25:43.632 320: 5994 D/ACDB-LOADER ]
ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
[ 10-03 21:25:43.633 320: 5994 I/audio_hw_utils ]
audio_extn_utils_send_app_type_cfg: PLAYBACK app_type 69936, acdb_dev_id 15, sample_rate 48000
[ 10-03 21:25:43.633 320: 5994 D/audio_hw_primary ]
enable_audio_route: apply mixer and update path: low-latency-playback
[ 10-03 21:25:43.633 320: 5994 D/audio_hw_primary ]
select_devices: done
[ 10-03 21:25:43.675 320: 5994 D/msm8916_platform ]
platform_set_channel_map mixer_ctl_name:Playback Channel Map12
[ 10-03 21:25:43.675 320: 5994 D/msm8916_platform ]
platform_set_channel_map: set mapping(1 2 3 0 0 0 0 0) for channel:2
[ 10-03 21:25:43.675 320: 5994 D/audio_hw_primary ]
start_output_stream: exit
[ 10-03 21:25:43.675 320: 1120 E/FastThread ]
did not receive expected priority boost on time
[ 10-03 21:25:43.679 320: 5994 W/StreamHAL ]
Error from HAL stream in function get_presentation_position: Operation not permitted
[ 10-03 21:25:43.679 320: 5994 W/StreamHAL ]
Error from HAL stream in function get_presentation_position: Operation not permitted
[ 10-03 21:25:43.700 4243: 8879 D/Sensors ]
batch called handle:3 sample_ns:200000000 latency_ns:0
[ 10-03 21:25:43.700 4243: 8879 D/Sensors ]
kxtj9-accel calling driver setDelay 200 ms
[ 10-03 21:25:43.703 14651:14651 V/CAM_UI ]
surfaceDestroyed
[ 10-03 21:25:43.703 311: 5087 E/SurfaceFlinger ]
Failed to find layer (SurfaceView - org.cyanogenmod.snap/com.android.camera.CameraLauncher#0) in layer parent (no-parent).
[ 10-03 21:25:43.704 311: 466 E/SurfaceFlinger ]
Failed to find layer (Background for - SurfaceView - org.cyanogenmod.snap/com.android.camera.CameraLauncher#0) in layer parent (no-parent).
[ 10-03 21:25:43.704 4243: 4324 I/Sensors ]
kxtj9-accel: activate: 0
[ 10-03 21:25:43.704 4243: 4324 D/Sensors ]
activate called handle:3 enable:0
[ 10-03 21:25:43.704 4243: 4324 D/Sensors ]
kxtj9-accel calling driver disable
[ 10-03 21:25:43.706 14651:14651 D/CAM_PhotoModule ]
remove idle handleer in onPause
[ 10-03 21:25:43.707 14651:14651 V/CAM_PhotoModule ]
On pause.
[ 10-03 21:25:43.710 14651:14651 D/LocationManager ]
stopReceivingLocationUpdates
[ 10-03 21:25:43.710 14651:14651 V/CAM_PhotoModule ]
Close camera device.
[ 10-03 21:25:43.799 5853: 5999 W/Adreno-EGL ]
<qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
[ 10-03 21:25:43.860 4243: 8860 W/Binder ]
Binder call failed.
java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
at android.app.ContextImpl.enforce(ContextImpl.java:1735)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1767)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:4190)
at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:4181)
at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
at android.os.Binder.execTransact(Binder.java:674)
[ 10-03 21:25:44.136 4243: 4283 I/ActivityManager ]
Killing 11521:com.whatsapp/u0a95 (adj 904): empty #17
[ 10-03 21:25:44.139 4243: 4283 I/ActivityManager ]
Killing 11034:com.android.chrome/u0a85 (adj 906): empty #18
[ 10-03 21:25:44.176 14651:14651 E/WindowManager ]
android.view.WindowLeaked: Activity com.android.camera.CameraActivity has leaked window [email protected][] that was originally added here
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:485)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:346)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:92)
at android.app.Dialog.show(Dialog.java:330)
at android.app.AlertDialog$Builder.show(AlertDialog.java:1114)
at com.android.camera.util.CameraUtil.showErrorAndFinish(CameraUtil.java:456)
at com.android.camera.CameraActivity.showOpenCameraErrorDialog(CameraActivity.java:2440)
at com.android.camera.CameraActivity.access$300(CameraActivity.java:127)
at com.android.camera.CameraActivity$2.onDeviceOpenFailure(CameraActivity.java:324)
at com.android.camera.AndroidCameraManagerImpl$CameraOpenErrorCallbackForward$2.run(AndroidCameraManagerImpl.java:1018)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
[ 10-03 21:25:44.225 311: 311 D/SurfaceFlinger ]
Backpressure trigger, skipping transaction & refresh!
[ 10-03 21:25:44.343 4991: 4991 I/RenderThread ]
type=1400 audit(0.0:1114): avc: denied { read write } for path="/dev/kgsl-3d0" dev="tmpfs" ino=7433 scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
[ 10-03 21:25:44.354 4243: 4991 I/OpenGLRenderer ]
Initialized EGL, version 1.4
[ 10-03 21:25:44.354 4243: 4991 D/OpenGLRenderer ]
Swap behavior 1
i couldn't post the whole thing because of limitations
Consider an Android (5.1.1) phone with battery removed and powered by external power. The external power replaces the battery, so the phone thinks it still has its original battery.
This works fine 100%, but I have an issue. The phone can get direct sunshine and on hot summer days it usually shuts down due to thermal alarm of battery.
Here is the Logcat:
Code:
[ 07-26 11:59:16.191 521: 1067 I/system_monitor ]
alarm_callback - Received MAX alarm: batt_therm at Level:1
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
handle_notification - Called
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
handle_notification - Dumping notification
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
name: batt_therm
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
current_level: 0
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
prev_level: 1
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
shutdown_in: 20
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
Adding action: SHUTDOWN
[ 07-26 11:59:16.195 968: 6013 I/libsysmon ]
handle_notification - Going to callback function
[ 07-26 11:59:16.196 968: 6013 I/libsysmon ]
[ 07-26 11:59:16.196 968: 6013 I/libsysmon ]
[ 07-26 11:59:16.276 521: 1067 E/system_monitor ]
write_miscta_sysmon_log - read error[10022].
[ 07-26 11:59:16.284 186: 186 I/tad ]
MiscTA Unit 10022:
[ 07-26 11:59:16.284 186: 186 I/tad ]
NOT WRITTEN (Identical)
[ 07-26 11:59:16.284 186: 186 I/tad ]
MiscTA: Write of unit 10022 completed - OK
[ 07-26 11:59:16.311 186: 186 I/tad ]
MiscTA Unit 10025:
[ 07-26 11:59:16.312 186: 186 I/tad ]
WRITTEN (Size 50)
[ 07-26 11:59:16.409 186: 186 I/tad ]
Actual erase/write to flash done (count 1, time 1564135156).
[ 07-26 11:59:16.409 186: 186 I/tad ]
MiscTA: Write of unit 10025 completed - OK
[ 07-26 11:59:16.431 186: 186 I/tad ]
MiscTA Unit 10024:
[ 07-26 11:59:16.431 186: 186 I/tad ]
WRITTEN (Size 50)
[ 07-26 11:59:16.494 186: 186 I/tad ]
Actual erase/write to flash done (count 2, time 1564135156).
[ 07-26 11:59:16.494 186: 186 I/tad ]
MiscTA: Write of unit 10024 completed - OK
[ 07-26 11:59:16.501 186: 186 I/tad ]
MiscTA Unit 10023:
[ 07-26 11:59:16.501 186: 186 I/tad ]
WRITTEN (Size 50)
[ 07-26 11:59:16.574 186: 186 I/tad ]
Actual erase/write to flash done (count 3, time 1564135156).
[ 07-26 11:59:16.574 186: 186 I/tad ]
MiscTA: Write of unit 10023 completed - OK
[ 07-26 11:59:16.576 521: 1067 I/system_monitor ]
Shutting down
[ 07-26 11:59:16.996 1930: 1930 I/GPSManager ]
location.getAccuracy() 4.0
[ 07-26 11:59:16.996 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:18.009 1930: 1930 I/GPSManager ]
location.getAccuracy() 4.0
[ 07-26 11:59:18.009 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:18.221 2217: 2231 I/art ]
Background sticky concurrent mark sweep GC freed 64885(3MB) AllocSpace objects, 0(0B) LOS objects, 10% free, 27MB/30MB, paused 9.626ms total 105.405ms
[ 07-26 11:59:18.336 968: 1034 W/PackageManager ]
Invalid verification token 0 received
[ 07-26 11:59:18.993 1930: 1930 I/GPSManager ]
location.getAccuracy() 4.0
[ 07-26 11:59:18.993 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:19.984 1930: 1930 I/GPSManager ]
location.getAccuracy() 4.0
[ 07-26 11:59:19.984 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:20.983 1930: 1930 I/GPSManager ]
location.getAccuracy() 4.0
[ 07-26 11:59:20.983 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:21.666 968: 1572 W/InputMethodManagerService ]
Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
[ 07-26 11:59:21.727 968: 1028 I/MediaFocusControl ]
AudioFocus requestAudioFocus() from [email protected] req=1flags=0x0
[ 07-26 11:59:22.064 968: 5233 W/ShutdownThread ]
Disabling Bluetooth...
[ 07-26 11:59:22.069 968: 5232 I/ShutdownThread ]
Sending shutdown broadcast...
[ 07-26 11:59:22.078 968: 5232 I/ShutdownThread ]
Shutting down activity manager...
[ 07-26 11:59:22.084 968: 968 W/SyncManager ]
Writing sync state before shutdown...
[ 07-26 11:59:22.097 1930: 1930 I/GPSManager ]
location.getAccuracy() 5.0
[ 07-26 11:59:22.097 1930: 1930 I/AdressUpdate ]
AdressUpdate
[ 07-26 11:59:22.240 4674: 4750 I/BluetoothAdapterState ]
Bluetooth adapter state changed: 12-> 13
[ 07-26 11:59:22.274 968: 5233 W/ShutdownThread ]
Turning off cellular radios...
[
Now, of course high temperature is wrong for battery, but this particular case the phone has no battery at all.
(How) is it possible to increase the battery thermal alarm value? Based on my measurements it seems firing around 65 °C. I would raise it a bit, to 75 or maybe 85 °C, but not more.