Hello all,
I just started having a problem with my camera on the RazR today. I tried doing a full reset of the phone, but I still cant get it to open. I ran a logcat on the phone when I tried opening the camera again. This is what I got.
Code:
08-17 22:11:15.884 6585 6585 D MotoCamSettingBack: setCurrentAppMode CamSettingBack
08-17 22:11:15.884 6585 6585 D MotoCamSettingFront: setCurrentAppMode CamSettingFront
08-17 22:11:15.884 6585 7193 D CameraHolder: open camera 0 mCameraDevice: null mCameraId: -1
08-17 22:11:15.884 6585 7193 D CameraHolder: open camera 0
08-17 22:11:15.884 166 524 E CameraService: CameraService::connect X (pid 6585) rejected (invalid cameraId 0).
08-17 22:11:15.892 6585 7193 E CameraHolder: fail to connect Camera
08-17 22:11:15.892 6585 7193 E CameraHolder: java.lang.RuntimeException: Fail to connect to camera service
08-17 22:11:15.892 6585 7193 E CameraHolder: at android.hardware.Camera.native_setup(Native Method)
08-17 22:11:15.892 6585 7193 E CameraHolder: at android.hardware.Camera.<init>(Camera.java:317)
08-17 22:11:15.892 6585 7193 E CameraHolder: at android.hardware.Camera.open(Camera.java:274)
08-17 22:11:15.892 6585 7193 E CameraHolder: at com.motorola.Camera.CameraHolder.open(CameraHolder.java:131)
08-17 22:11:15.892 6585 7193 E CameraHolder: at com.motorola.Camera.Camera.openCamera(Camera.java:449)
08-17 22:11:15.892 6585 7193 E CameraHolder: at com.motorola.Camera.Camera.startDevice(Camera.java:411)
08-17 22:11:15.892 6585 7193 E CameraHolder: at com.motorola.Camera.Camera.access$900(Camera.java:144)
08-17 22:11:15.892 6585 7193 E CameraHolder: at com.motorola.Camera.Camera$1.run(Camera.java:1110)
08-17 22:11:15.892 6585 7193 E CameraHolder: at java.lang.Thread.run(Thread.java:856)
08-17 22:11:15.892 6585 7193 E MotoCamera: openCamera() - failed to open camera
I'm hoping that this isn't a problem with the camera itself, but it looks like it could be. Any input is appreciated.
Go
config / aplications / all apps / camera
Then clear cache / data.
Done.
Cheers
Edit.
You have probably a corrupted pic causing the issue. The above procedure will probably fix it. Let me know what you get.
Sent from my XT910 using xda premium
Thanks bro, that got it working again.
theintrepid1 said:
Thanks bro, that got it working again.
Click to expand...
Click to collapse
I have exactly the same problem.
Did you clear the cache in settings, applications, all apps and camera to make it work again ?
I have done that but my camera is still not working
I too cleared cache/data and closed camera to no avail.
here i have problem too, but with Razr i
Related
I can toggle nfc on and off but when rom first installs I get nfc service has stopped.
Here is log.
---- Aug 1, 2016 6:07:24 PM ----
08-01 18:06:02.964 628 628 I ServiceManager: service 'nfc' died
08-01 18:06:12.924 651 651 I drsd : relabeling: /data/data/com.android.nfc,com.android.nfc,platform,1027
08-01 18:06:15.864 27494 27494 I ActivityManager: Start proc com.android.nfc for added application com.android.nfc: pid=28260 uid=1027 gids={41027, 9997, 3002, 3001, 1028, 1015, 1023} abi=armeabi-v7a
08-01 18:06:15.884 2148 2148 E audit : type=1400 msg=audit(1470089175.884:5689): avc: denied { dyntransition } for pid=28260 comm="main" scontext=u:r:init:s0 tcontext=u:r:s_nfc:s0 tclass=process
08-01 18:06:15.884 2148 2148 E audit : type=1300 msg=audit(1470089175.884:5689): arch=40000028 syscall=4 per=800000 success=yes exit=13 a0=1a a1=ab69cab0 a2=d a3=b6f4225c items=0 ppid=27286 ppcomm=main pid=28260 auid=4294967295 uid=1027 gid=1027 euid=1027 suid=1027 fsuid=1027 egid=1027 sgid=1027 fsgid=1027 tty=(none) ses=4294967295 comm="main" exe="/system/bin/app_process32_xposed" subj=u:r:s_nfc:s0 key=(null)
08-01 18:06:16.134 28260 28260 W ResourcesManager: Asset path '/system/framework/com.broadcom.nfc.jar' does not exist or contains no resources.
08-01 18:06:28.030 27925 27925 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1686 android.content.ContextWrapper.sendBroadcast:391 android.content.ContextWrapper.sendBroadcast:391 com.android.settings.nfc.SBeamEnabler.updateState:-1 com.android.settings.nfc.SBeamEnabler.saveSbeamOn:-1
08-01 18:06:41.810 28260 30428 E SnepServer: at com.android.nfc.dhimpl.NativeLlcpServiceSocket.accept(NativeLlcpServiceSocket.java)
08-01 18:06:41.810 28260 30428 E SnepServer: at com.android.nfc.snep.SnepServer$ServerThread.run(SnepServer.java)
08-01 18:06:41.810 28260 30429 E NdefPushServer: at com.android.nfc.dhimpl.NativeLlcpServiceSocket.accept(NativeLlcpServiceSocket.java)
08-01 18:06:41.810 28260 30429 E NdefPushServer: at com.android.nfc.ndefpush.NdefPushServer$ServerThread.run(NdefPushServer.java)
08-01 18:06:41.810 28260 30431 E HandoverServer: at com.android.nfc.dhimpl.NativeLlcpServiceSocket.accept(NativeLlcpServiceSocket.java)
08-01 18:06:41.810 28260 30431 E HandoverServer: at com.android.nfc.handover.HandoverServer$ServerThread.run(HandoverServer.java)
08-01 18:06:45.180 31418 31495 I AMMetaDataParserService: Resource data:Loop for running activitycom.android.settings.nfc.NfcAdvancedRoutingSetting
08-01 18:06:45.240 31418 31495 I AMMetaDataParserService: Resource data:Loop for running activitycom.android.settings.nfc.PaymentDefaultDialog
08-01 18:06:46.070 27925 27925 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1686 android.content.ContextWrapper.sendBroadcast:391 android.content.ContextWrapper.sendBroadcast:391 com.android.settings.nfc.SBeamEnabler.updateState:-1 com.android.settings.nfc.SBeamStateReceiver.onReceive:-1
08-01 18:06:49.790 27925 27925 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1686 android.content.ContextWrapper.sendBroadcast:391 android.content.ContextWrapper.sendBroadcast:391 com.android.settings.nfc.SBeamEnabler.updateState:-1 com.android.settings.nfc.SBeamEnabler.saveSbeamOn:-1
---- Aug 1, 2016 6:07:24 PM ----
Hi,
a have a very strange problem with my Wifi. I cant switch it on.
When I install a new nightly build of CM via TWRP wifi is working like a charm. But after a reboot the toggle WLAN doesnt work. Hotspot creation isnt working either.
I already tried:
- setting wifi_display_on on settings.db to 1 --> no effect at all
I tried to get more info from logcat with "adb logcat". When I type "su \ svc wifi enable" the log is showing:
08-23 08:59:46.177 8067 8067 D AndroidRuntime: Calling main entry com.android.commands.svc.Svc
08-23 08:59:46.177 1982 1982 E SELinux : avc: denied { find } for service=wifi scontext=u:r:sudaemon:s0 tcontext=ubject_r:wifi_service:s0 tclass=service_manager
08-23 08:59:46.182 2374 2686 D WifiService: setWifiEnabled: true pid=8067, uid=0
08-23 08:59:46.182 2374 2686 E WifiService: Invoking mWifiStateMachine.setWifiEnabled
08-23 08:59:46.182 2374 2513 E WifiMonitor: killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
08-23 08:59:46.182 8067 8067 D AndroidRuntime: Shutting down VM
08-23 08:59:46.232 2374 2513 E WifiStateMachine: Failed to load driver
08-23 08:59:46.232 2374 2374 E WifiService: Wi-Fi state is failed
08-23 08:59:46.232 2374 2374 D WifiService: setWifiEnabled: false pid=2374, uid=1000
08-23 08:59:46.232 2374 2374 E WifiService: Invoking mWifiStateMachine.setWifiEnabled
08-23 08:59:46.237 2374 2513 E WifiMonitor: killSupplicant p2ptrue init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
08-23 08:59:46.282 2374 2513 E WifiStateMachine: Failed to load driver
08-23 08:59:46.287 2374 2374 E WifiService: Wi-Fi state is failed
08-23 08:59:46.287 2374 2374 D WifiService: setWifiEnabled: false pid=2374, uid=1000
08-23 08:59:46.287 2374 2374 E WifiService: Invoking mWifiStateMachine.setWifiEnabled
Click to expand...
Click to collapse
MOD: 13.0-20160821-NIGHTLY-i9300
Kernel: 3.0.101-CM-g6112c4d
I am pretty stuck here. Please help me getting my Wifi working again. Thx in adavance.
factory reset ?
exe98123q said:
factory reset ?
Click to expand...
Click to collapse
I would like to avoid that.
from snapshot work for you ? nightly are not stabile
backup system and test imo
Facing the same issue though in all cm based ROMs.
However it gets fixed in s6 experience ROM. It did for me at least. But after flashing cm it again gets back to the same error. Let me know if you get a solution.
Sent from my GT-I9300 using XDA-Developers mobile app
magically fixed
Hi,
2 Days ago I installed the latest Nightly on my S3 and Wifi keeps working even after Repoot. I have no idea why but I am happy.
KR
HaVonTe
I encountered the problem some months back but it was fixed automatically when I flashed a tw ROM. But it occurred again,finally changed the modem to the latest version and it works now. After changing the modem tried cm13,cm14.1,miui8,two,aosp.
In all of em it works. Though I was in cm13 only for like a day. Mostly use AOSP and wifi, hotspot,bt all works fine now.
Sent from my GT-I9300 using XDA-Developers mobile app
Comment: Edit code style
Exception in Android N code
ActivityManager: Sending non-protected broadcast while sending Broadcast from System APP
This exception is thrown in many system app along with my application
How we can resolve this issue and what exactly the root cause and it's impact.
Reference from logs:
01-16 08:58:43.943 1213 1530 E ActivityManager: java.lang.Throwable
01-16 08:58:43.943 1213 1530 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:17868)
01-16 08:58:43.943 1213 1530 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:18434)
01-16 08:58:43.943 1213 1530 E ActivityManager: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:499)
01-16 08:58:43.943 1213 1530 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2818)
01-16 08:58:43.943 1213 1530 E ActivityManager: at android.os.Binder.execTransact(Binder.java:565)
I have a tv box with s905x running android 7.1.2. When i try to use different launcher than default (droidlogic mbox launcher), it force close it.
I searce the android log and i found that the error is probably with wallpaper manager. I have found that many people with tv boxes have the same problem.
Also if i try to put a wallpaper with an wallpaper app it crashes too.
The error is that WallpaperService not running.
How can i solve that?
Code:
9-05 20:22:06.328 4371 5498 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x13200000 cmp=net.pierrox.lightning_launcher_extreme/net.pierrox.lightning_launcher.activities.Dashboard (has extras)} from uid 1000 on display 0
09-05 20:22:06.400 4371 4526 I ActivityManager: Start proc 11428:net.pierrox.lightning_launcher_extreme/u0a50 for activity net.pierrox.lightning_launcher_extreme/net.pierrox.lightning_launcher.activities.Dashboard
09-05 20:22:06.512 4371 8711 W Binder : Binder call failed.
09-05 20:22:06.512 4371 8711 W Binder : java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
09-05 20:22:06.512 4371 8711 W Binder : at android.app.ContextImpl.enforce(ContextImpl.java:1585)
09-05 20:22:06.512 4371 8711 W Binder : at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1617)
09-05 20:22:06.512 4371 8711 W Binder : at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:3453)
09-05 20:22:06.512 4371 8711 W Binder : at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:3444)
09-05 20:22:06.512 4371 8711 W Binder : at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
09-05 20:22:06.512 4371 8711 W Binder : at android.os.Binder.execTransact(Binder.java:565)
09-05 20:22:06.514 4371 4642 I WindowManager: mLongPressOnHomeBehavior = 0
09-05 20:22:06.585 11428 11428 I art : Starting a blocking GC AddRemoveAppImageSpace
09-05 20:22:06.586 4371 4380 I art : Background partial concurrent mark sweep GC freed 13995(815KB) AllocSpace objects, 0(0B) LOS objects, 33% free, 8MB/13MB, paused 2.095ms total 126.137ms
09-05 20:22:06.586 11428 11428 W System : ClassLoader referenced unknown path: /system/lib/LightningLauncher
09-05 20:22:06.742 11428 11444 E ActivityThread: Failed to find provider info for net.pierrox.lightning_launcher.lwp_key
09-05 20:22:06.880 11428 11428 I auncher_extreme: type=1400 audit(0.0:297): avc: denied { read write } for name="gsm" dev="tmpfs" ino=10303 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:gsm_device:s0 tclass=chr_file permissive=1
09-05 20:22:06.880 11428 11428 I auncher_extreme: type=1400 audit(0.0:298): avc: denied { open } for path="/dev/gsm" dev="tmpfs" ino=10303 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:gsm_device:s0 tclass=chr_file permissive=1
09-05 20:22:07.368 11428 11428 W WallpaperManager: WallpaperService not running
09-05 20:22:07.369 11428 11428 E AndroidRuntime: FATAL EXCEPTION: main
09-05 20:22:07.369 11428 11428 E AndroidRuntime: Process: net.pierrox.lightning_launcher_extreme, PID: 11428
09-05 20:22:07.369 11428 11428 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-05 20:22:07.373 4371 4920 W ActivityManager: Force finishing activity net.pierrox.lightning_launcher_extreme/net.pierrox.lightning_launcher.activities.Dashboard
I started android 8.1 treble and l also have a problem with droidlogic .
I am sort of in a pickle right now and need help. I have P3XL with Android Q Beta 6 running. For some reason I had to factory reset the phone. I used Titanium Backup to create backups for all my apps and data and then did factory reset. After factory reset and rooting, TB is not able to run properly (can't backup or restore). I get an initial screen which is all empty (it typically shows Overview) showing "All done!" and selecting Batch Actions throws me back to empty "All done!" screen instead of showing me the screen of various action scenarios to backup and restore with count of apps.
I see this in the logcat:
Code:
08-17 21:09:50.760 1353 1507 W InputDispatcher: channel 'c98d7ae com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
08-17 21:09:50.760 1353 1507 E InputDispatcher: channel 'c98d7ae com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
08-17 21:09:50.761 1353 1540 I WindowManager: WIN DEATH: Window{c98d7ae u0 com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity}
08-17 21:09:50.761 1353 1540 W InputDispatcher: Attempted to unregister already unregistered input channel 'c98d7ae com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity (server)'
08-17 21:09:51.675 1353 1540 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.keramidas.TitaniumBackup/.MainActivity bnds=[854,2457][1123,2852]} from uid 10152
08-17 21:09:51.703 1353 1381 I ActivityManager: Start proc 15741:com.keramidas.TitaniumBackup/u0a208 for activity {com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity}
08-17 21:09:51.808 15741 15741 I com.keramidas.TitaniumBackup.MainActivity: Main Activity is being created for the first time => scheduling next wake-up ...
08-17 21:09:51.849 1353 11536 W DevicePolicyManager: Package com.keramidas.TitaniumBackup (uid=10208, pid=15741) cannot access Device IDs
08-17 21:09:51.851 2078 2260 W TelephonyPermissions: reportAccessDeniedToReadIdentifiers:com.keramidas.TitaniumBackup:getDeviceId:isPreinstalled=false:isPrivApp=false
08-17 21:09:51.855 15741 15768 I o.co : [Licensing] No cache file: /storage/emulated/0/data/com.keramidas.TitaniumBackup/licensing-cache.xml
08-17 21:09:51.855 15741 15768 I o.co : [Licensing] Deleting non-valid cache file: /storage/emulated/0/data/com.keramidas.TitaniumBackup/licensing-cache.xml
08-17 21:09:51.859 15741 15768 W System.err: ERROR: Could not open license file: /data/user/0/com.keramidas.TitaniumBackup/files/license.txt
08-17 21:09:51.903 1353 1379 I ActivityTaskManager: Displayed com.keramidas.TitaniumBackup/.MainActivity: +222ms
08-17 21:09:52.025 1353 1540 I ActivityTaskManager: START u0 {act=android.intent.action.VIEW dat=file:///data/local/tmp/com.keramidas.TitaniumBackup-install.apk typ=application/vnd.android.package-archive} from uid 10208
08-17 21:09:52.025 15741 15741 W o.eu : [COLOR="Red"]android.content.ActivityNotFoundException: No Activity found to handle Intent[/COLOR] { act=android.intent.action.VIEW dat=file:///data/local/tmp/com.keramidas.TitaniumBackup-install.apk typ=application/vnd.android.package-archive }
08-17 21:09:52.025 15741 15741 W o.eu : at com.keramidas.TitaniumBackup.MainActivity.ᐧ(Source:1776)
08-17 21:09:52.025 15741 15741 W o.eu : at com.keramidas.TitaniumBackup.MainActivity.ˊ(Source:83)
08-17 21:09:52.025 15741 15741 W o.eu : at com.keramidas.TitaniumBackup.MainActivity.ˊ(Source:581)
08-17 21:09:52.039 1353 1540 I ActivityTaskManager: START u0 {act=com.keramidas.TitaniumBackupAddon.ASK_FOR_PERMISSIONS} from uid 10208
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity:[COLOR="Red"] Failed to trigger permission requests within TB add-on[/COLOR]
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.keramidas.TitaniumBackupAddon.ASK_FOR_PERMISSIONS }
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity: at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2051)
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity: at android.app.Instrumentation.execStartActivity(Instrumentation.java:1709)
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity: at android.app.Activity.startActivityForResult(Activity.java:5173)
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity: at android.app.Activity.startActivityForResult(Activity.java:5131)
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity: at android.app.Activity.startActivity(Activity.java:5502)
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity: at android.app.Activity.startActivity(Activity.java:5470)
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity: at com.keramidas.TitaniumBackup.MainActivity.ʿ(Source:48796)
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity: at o.კ.run(Source:1773)
08-17 21:09:52.040 15741 15792 E com.keramidas.TitaniumBackup.MainActivity: at o.ea.run(Source:117)
08-17 21:09:52.250 642 642 E Layer : [Surface(name=AppWindowToken{dc579fc token=Token{1771aef ActivityRecord{ee5abce u0 com.keramidas.TitaniumBackup/.MainActivity t47}}})/@0x7e61fa9 - animation-leash#0] No local sync point found
08-17 21:09:55.826 1353 5660 I ActivityTaskManager: START u0 {cmp=com.keramidas.TitaniumBackup/o.c} from uid 10208
I am using the latest Canary build of Magisk to get the root on Q Beta's. Magisk root is working fine in all the apps.
Any ideas why this could be happening?
If I hide Magisk from Titanium Backup, it does not get root but it shows initial screen as in the screenshot below.
It looks like the above logcat indicates that the TB has trouble with the Titanium Backup Addon. I manually installed the addon and it moved forward. Now I see all my backups and Batch Actions let me run scenarios. But as soon as I try to restore an app, I get a force close on the app with this in the logcat:
Code:
08-18 07:43:42.952 20726 20793 E AndroidRuntime: FATAL EXCEPTION: Thread-7
08-18 07:43:42.952 20726 20793 E AndroidRuntime: Process: com.keramidas.TitaniumBackup, PID: 20726
08-18 07:43:42.952 20726 20793 E AndroidRuntime: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=file:///data/local/tmp/com.keramidas.TitaniumBackup-install.apk typ=application/vnd.android.package-archive }
08-18 07:43:42.952 20726 20793 E AndroidRuntime: at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2051)
08-18 07:43:42.952 20726 20793 E AndroidRuntime: at android.app.Instrumentation.execStartActivity(Instrumentation.java:1709)
08-18 07:43:42.952 20726 20793 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5192)
08-18 07:43:42.952 20726 20793 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5150)
08-18 07:43:42.952 20726 20793 E AndroidRuntime: at o.dZ.ˊ(Source:236)
08-18 07:43:42.952 20726 20793 E AndroidRuntime: at o.e.ˊ(Source:462)
08-18 07:43:42.952 20726 20793 E AndroidRuntime: at o.J.run(Source:200)
08-18 07:43:42.952 20726 20793 E AndroidRuntime: at o.dD.run(Source:165)
08-18 07:43:42.952 20726 20793 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)
I still can't restore my data.