Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

ToxFox does not recognize camera on FF4/FF5 anymore

  • /e/OS version: 2.9-t-202503211478215-official-FP5 (on FF5)
  • Device model(s): FF4, FF5
  • Impacted Application: ToxFox

The problem

Describe precisely the problem you're facing and add screenshots to illustrate When we installed ToxFox several years ago, the camera worked without problems. At some time it stopped working, and we could not figure out the cause, nor did the usual tricks (reboot, reinstall App, remove cache) work.

The error message (translated from German) is as follows: The scanner is not ready. Please try again later. Often it helps, to close the app and reboot.

(These did not help).

Recently I read the following (for another app, which works, btw.): https://github.com/streetcomplete/StreetComplete/issues/6222 https://developer.android.com/about/versions/11/behavior-changes-11#camera https://android.stackexchange.com/a/232306/64465

I'm not sure if this is related.

Steps to reproduce

  • Install ToxFox
  • Launch ToxFox
  • Press on red scanner icon in the middle of the last row

On e.g. an iphone, now the camera opens and you can scan a barcode. On the FF4/FF5 with /e/, the above error message appears.

I'm not sure if /e/ can do anything here, so I reported this in parallel to the developers of ToxFox as well.

Technical details

Paste any relevant logs (adb logcat) in the codeblock below if you have any

05-04 12:49:55.625 32296 32306 W gs.intelligence: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~Rp1tZ5SUg2aV193aa-be3Q==/de.bund.toxfox-SlJvOH0yJafrI4g2LMfX1A==/base.apk' with 1 weak references
05-04 12:50:26.045  1662  5142 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.bund.toxfox/.ui.MainActivity bnds=[540,1285][788,1575]} with LAUNCH_SINGLE_TOP from uid 10099 (BAL_ALLOW_ALLOWLISTED_COMPONENT) result code=0
05-04 12:50:26.053  2445  2496 V WindowManagerShell: Transition requested (#2981): android.os.BinderProxy@a2e9115 TransitionRequestInfo { type = OPEN, triggerTask = TaskInfo{userId=0 taskId=31050 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.bund.toxfox/.ui.MainActivity } baseActivity=ComponentInfo{de.bund.toxfox/de.bund.toxfox.ui.MainActivity} topActivity=ComponentInfo{de.bund.toxfox/de.bund.toxfox.ui.MainActivity} origActivity=null realActivity=ComponentInfo{de.bund.toxfox/de.bund.toxfox.ui.MainActivity} numActivities=1 lastActiveTime=776882934 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@1465c2a} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 81 - 0, 0) topActivityInfo=ActivityInfo{d863a1b de.bund.toxfox.ui.MainActivity} launchCookies=[android.os.BinderProxy@3bd27b8] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=false isVisibleRequested=false isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=false appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false isLetterboxDoubleTapEnabled= false topActivityEligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=1080 topActivityLetterboxHeight=2340 isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false cameraCompatControlState=hidden}}, pipTask = null, remoteTransition = RemoteTransition { remoteTransition = android.window.IRemoteTransition$Stub$Proxy@9f42991, appThread = android.app.IApplicationThread$Stub$Proxy@8c610f6, debugName = QuickstepLaunch }, displayChange = null, flags = 0, debugId = 2981 }
05-04 12:50:26.066  1662  1836 I ActivityManager: Start proc 32443:de.bund.toxfox/u0a265 for next-top-activity {de.bund.toxfox/de.bund.toxfox.ui.MainActivity}
05-04 12:50:26.079  1662  5142 D CoreBackPreview: Window{f624b7e u0 Splash Screen de.bund.toxfox}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@aaa5c18, mPriority=0, mIsAnimationCallback=false}
05-04 12:50:26.094  1662  1781 V WindowManager: Sent Transition (#2981) createdAt=05-04 12:50:26.031 via request=TransitionRequestInfo { type = OPEN, triggerTask = TaskInfo{userId=0 taskId=31050 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.bund.toxfox/.ui.MainActivity } baseActivity=ComponentInfo{de.bund.toxfox/de.bund.toxfox.ui.MainActivity} topActivity=ComponentInfo{de.bund.toxfox/de.bund.toxfox.ui.MainActivity} origActivity=null realActivity=ComponentInfo{de.bund.toxfox/de.bund.toxfox.ui.MainActivity} numActivities=1 lastActiveTime=776882934 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{RemoteToken{4d0e4d7 Task{7d138fc #31050 type=standard A=10265:de.bund.toxfox}}} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 81 - 0, 0) topActivityInfo=ActivityInfo{76e75ef de.bund.toxfox.ui.MainActivity} launchCookies=[android.os.BinderProxy@54148ad] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=false isVisibleRequested=false isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=false appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false isLetterboxDoubleTapEnabled= false topActivityEligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=1080 topActivityLetterboxHeight=2340 isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false cameraCompatControlState=hidden}}, pipTask = null, remoteTransition = RemoteTransition { remoteTransition = android.window.IRemoteTransition$Stub$Proxy@3bed7e2, appThread = android.app.IApplicationThread$Stub$Proxy@8d4f773, debugName = QuickstepLaunch }, displayChange = null, flags = 0, debugId = 2981 }
05-04 12:50:26.094  1662  1781 V WindowManager:         {WCT{RemoteToken{4d0e4d7 Task{7d138fc #31050 type=standard A=10265:de.bund.toxfox}}} m=OPEN f=NONE leash=Surface(name=Task=31050)/@0x528b671 sb=Rect(0, 0 - 1080, 2340) eb=Rect(0, 0 - 1080, 2340) d=0},
05-04 12:50:26.094 32443 32443 I de.bund.toxfox: Using CollectorTypeCC GC.
05-04 12:50:26.100 32443 32443 E de.bund.toxfox: Not starting debugger since process cannot load the jdwp agent.
05-04 12:50:26.203 32443 32443 D nativeloader: Configuring clns-4 for other apk /data/app/~~Rp1tZ5SUg2aV193aa-be3Q==/de.bund.toxfox-SlJvOH0yJafrI4g2LMfX1A==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~Rp1tZ5SUg2aV193aa-be3Q==/de.bund.toxfox-SlJvOH0yJafrI4g2LMfX1A==/lib/arm64:/data/app/~~Rp1tZ5SUg2aV193aa-be3Q==/de.bund.toxfox-SlJvOH0yJafrI4g2LMfX1A==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/de.bund.toxfox
05-04 12:50:26.235 32443 32443 D nativeloader: Load /data/app/~~Rp1tZ5SUg2aV193aa-be3Q==/de.bund.toxfox-SlJvOH0yJafrI4g2LMfX1A==/base.apk!/lib/arm64-v8a/libsentry.so using ns clns-4 from class loader (caller=<unknown>): ok
05-04 12:50:26.236 32443 32443 D nativeloader: Load /data/app/~~Rp1tZ5SUg2aV193aa-be3Q==/de.bund.toxfox-SlJvOH0yJafrI4g2LMfX1A==/base.apk!/lib/arm64-v8a/libsentry-android.so using ns clns-4 from class loader (caller=<unknown>): ok
05-04 12:50:26.238 32443 32443 W pool-2-thread-1: type=1400 audit(0.0:17487): avc:  denied  { read } for  name="version" dev="proc" ino=4026532219 scontext=u:r:untrusted_app:s0:c9,c257,c512,c768 tcontext=u:object_r:proc_version:s0 tclass=file permissive=0 app=de.bund.toxfox
05-04 12:50:26.249  1662  2431 D ConnectivityService: requestNetwork for uid/pid:10265/32443 activeRequest: null callbackRequest: 45929 [NetworkRequest [ REQUEST id=45930, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10265 RequestorUid: 10265 RequestorPkg: de.bund.toxfox UnderlyingNetworks: Null] ]] callback flags: 0 order: 2147483647
05-04 12:50:26.265  1662  2339 D WifiNetworkFactory: got request NetworkRequest [ REQUEST id=45930, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10265 RequestorUid: 10265 RequestorPkg: de.bund.toxfox UnderlyingNetworks: Null] ]
05-04 12:50:26.266  1662  2339 D UntrustedWifiNetworkFactory: got request NetworkRequest [ REQUEST id=45930, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10265 RequestorUid: 10265 RequestorPkg: de.bund.toxfox UnderlyingNetworks: Null] ]
05-04 12:50:26.269  1662  2339 D OemPaidWifiNetworkFactory: got request NetworkRequest [ REQUEST id=45930, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10265 RequestorUid: 10265 RequestorPkg: de.bund.toxfox UnderlyingNetworks: Null] ]
05-04 12:50:26.272  1662  2339 D MultiInternetWifiNetworkFactory: got request NetworkRequest [ REQUEST id=45930, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10265 RequestorUid: 10265 RequestorPkg: de.bund.toxfox UnderlyingNetworks: Null] ]
05-04 12:50:26.274  2755  2755 D PhoneSwitcherNetworkRequstListener: got request NetworkRequest [ REQUEST id=45930, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10265 RequestorUid: 10265 RequestorPkg: de.bund.toxfox UnderlyingNetworks: Null] ]
05-04 12:50:26.354  2445  2496 V WindowManagerShell: Transition requested (#2982): android.os.BinderProxy@d684583 TransitionRequestInfo { type = OPEN, triggerTask = TaskInfo{userId=0 taskId=31050 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.bund.toxfox/.ui.MainActivity } baseActivity=ComponentInfo{de.bund.toxfox/de.bund.toxfox.ui.MainActivity} topActivity=ComponentInfo{com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.GrantPermissionsActivity} origActivity=null realActivity=ComponentInfo{de.bund.toxfox/de.bund.toxfox.ui.MainActivity} numActivities=2 lastActiveTime=776883243 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@e5b300} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 81 - 0, 0) topActivityInfo=ActivityInfo{576739 com.android.permissioncontroller.permission.ui.GrantPermissionsActivity} launchCookies=[android.os.BinderProxy@3bd27b8] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true isVisibleRequested=true isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=true appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false isLetterboxDoubleTapEnabled= false topActivityEligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=1080 topActivityLetterboxHeight=2340 isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false cameraCompatControlState=hidden}}, pipTask = null, remoteTransition = null, displayChange = null, flags = 0, debugId = 2982 }
05-04 12:50:26.397  1662  2722 D CoreBackPreview: Window{371bd8e u0 de.bund.toxfox/de.bund.toxfox.ui.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@350249a, mPriority=0, mIsAnimationCallback=false}
05-04 12:50:26.552  1662  1781 V WindowManager: Sent Transition (#2982) createdAt=05-04 12:50:26.346 via request=TransitionRequestInfo { type = OPEN, triggerTask = TaskInfo{userId=0 taskId=31050 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.bund.toxfox/.ui.MainActivity } baseActivity=ComponentInfo{de.bund.toxfox/de.bund.toxfox.ui.MainActivity} topActivity=ComponentInfo{com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.GrantPermissionsActivity} origActivity=null realActivity=ComponentInfo{de.bund.toxfox/de.bund.toxfox.ui.MainActivity} numActivities=2 lastActiveTime=776883243 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{RemoteToken{4d0e4d7 Task{7d138fc #31050 type=standard A=10265:de.bund.toxfox}}} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 81 - 0, 0) topActivityInfo=ActivityInfo{fc78c52 com.android.permissioncontroller.permission.ui.GrantPermissionsActivity} launchCookies=[android.os.BinderProxy@54148ad] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true isVisibleRequested=true isSleeping=false locusId=null displayAreaFeatureId=1 isTopActivityTransparent=true appCompatTaskInfo=AppCompatTaskInfo { topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false isLetterboxDoubleTapEnabled= false topActivityEligibleForUserAspectRatioButton= false topActivityBoundsLetterboxed= false isFromLetterboxDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=1080 topActivityLetterboxHeight=2340 isUserFullscreenOverrideEnabled=false isSystemFullscreenOverrideEnabled=false cameraCompatControlState=hidden}}, pipTask = null, remoteTransition = null, displayChange = null, flags = 0, debugId = 2982 }
05-04 12:50:26.635  1662 12275 I ImeTracker: de.bund.toxfox:f6d3fd49: onRequestHide at ORIGIN_SERVER reason HIDE_UNSPECIFIED_WINDOW fromUser false
05-04 12:50:26.635  1662 12275 I ImeTracker: de.bund.toxfox:f6d3fd49: onCancelled at PHASE_SERVER_SHOULD_HIDE
05-04 12:50:26.849  1662  2679 W InputManager-JNI: Input channel object 'f624b7e Splash Screen de.bund.toxfox (client)' was disposed without first being removed with the input manager!
05-04 12:50:26.852  1662  5146 D CoreBackPreview: Window{f624b7e u0 Splash Screen de.bund.toxfox EXITING}: Setting back callback null
05-04 12:50:39.416  3879 11620 D ClientTelemetryService: bound by: GetServiceRequest[TELEMETRY, packageName="de.bund.toxfox", gmsVersion=12451000, scopes=[], extras=Bundle[{api=mlkit:vision}], defaultFeatures=[], apiFeatures=[Feature[CLIENT_TELEMETRY,1]], supportsConnectionInfo=true]
05-04 12:50:39.417  3879 11620 D ModuleInstall: bound by: GetServiceRequest[MODULE_INSTALL, packageName="de.bund.toxfox", gmsVersion=12451000, scopes=[], extras=Bundle[{}], defaultFeatures=[], apiFeatures=[Feature[moduleinstall,7]], supportsConnectionInfo=true]
05-04 12:50:39.466  1662  5146 D CoreBackPreview: Window{fa4530e u0 de.bund.toxfox/de.bund.toxfox.ui.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@fb68c41, mPriority=0, mIsAnimationCallback=false}
05-04 12:50:39.484  1662  1786 V WindowManager: Loading animations: layout params pkg=de.bund.toxfox resId=0x1030309
05-04 12:50:39.538  1662  5146 I ImeTracker: de.bund.toxfox:2a53799: onRequestHide at ORIGIN_SERVER reason HIDE_UNSPECIFIED_WINDOW fromUser false
05-04 12:50:39.538  1662  5146 I ImeTracker: de.bund.toxfox:2a53799: onCancelled at PHASE_SERVER_SHOULD_HIDE
05-04 12:50:40.788  1662  5142 D CoreBackPreview: Window{fa4530e u0 de.bund.toxfox/de.bund.toxfox.ui.MainActivity}: Setting back callback null
05-04 12:50:40.791  1662  5142 W InputManager-JNI: Input channel object 'fa4530e de.bund.toxfox/de.bund.toxfox.ui.MainActivity (client)' was disposed without first being removed with the input manager!
05-04 12:50:40.792  1662  5142 V WindowManager: Loading animations: layout params pkg=de.bund.toxfox resId=0x1030309
05-04 12:50:40.836  1662  5142 I ImeTracker: de.bund.toxfox:66b2b4f7: onRequestHide at ORIGIN_SERVER reason HIDE_UNSPECIFIED_WINDOW fromUser false
05-04 12:50:40.836  1662  5142 I ImeTracker: de.bund.toxfox:66b2b4f7: onCancelled at PHASE_SERVER_SHOULD_HIDE