finamp icon indicating copy to clipboard operation
finamp copied to clipboard

App launches to a black screen since upgrade to Android 14.

Open 66mkiqdv opened this issue 1 year ago • 23 comments

I'm not necessarily requesting a fix but just raising awareness of this condition.

Beta version 0.9.7 was working very well on the previous Android version that was installed on my tablet until I installed the system update...

The tablet I'm using is a Lenovo Tab P12, model number TB370FU and is now running software version Lenovo ZUI 16.0.081.

I rolled back to the previous beta, this would open, could access the library but could not play tracks. Rolling back to version 0.6.23 has restored functionality.

Maybe I need to change a developer option on the tablet as the latest beta version is working well on my Pixel 6, but I wouldn't know what I would need to change.

Anyway, thank you for the app, I appreciate all the hard work and time that has gone into developing it.

66mkiqdv avatar Jun 08 '24 05:06 66mkiqdv

hmm, interesting. I'm guessing you already tried clearing app data / re-installing the app? And if there's a black screen, you really don't see anything (errors, etc.) at all?

Chaphasilor avatar Jun 10 '24 20:06 Chaphasilor

Clearing the storage & cache does not improve the situation, nor does a reinstall. When the app opens, the tablet display remains black until the app is terminated, but the same apk works a treat on my phone.

If there is additional information I can provide, please let me know.

66mkiqdv avatar Jun 11 '24 15:06 66mkiqdv

Grabbing logs via ADB might help. That's probably the only way to get any insights into what is going wrong. That requires installing the Android SDK tools on a computer, enabling USB debugging on your phone, and then using the logcat tool.

You could also try checking if previous versions of the beta work on your tablet. Maybe try the first released beta version, 0.9.2, by downloading it from GitHub. You'll have to uninstall any other version of Finamp first. If that works, update to the subsequent versions to find out which version broke things.

Do any other of your apps also not work properly after the update?

Chaphasilor avatar Jun 11 '24 16:06 Chaphasilor

I will look into using the logcat tool as suggested and feedback what I find. I have just uninstalled the stable version of Finamp and installed v0.9.2 beta as suggested. This beta can access my library but cannot direct play from it, no stream is started. I have noticed that when I select a track to play, my touch was only recognised on the second press, each subsequent press thereafter would try to play the previous track I touched. This was common throughout the library and across many different albums.

I haven't noticed any other issues with other apps installed on the tablet.

I stream flac from TrueNAS if it is of any relevance.

66mkiqdv avatar Jun 11 '24 19:06 66mkiqdv

OK, so I ran this command:

sudo adb shell
logcat | grep finamp

Launched Finamp 0.9.7 beta and the terminal wrote out this:

06-12 19:45:21.481  1903  1903 D Animator: start call startActivity.WorkspaceItemInfo(id=-1 type=APP container=-201 targetComponent=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} screen=-1 cell(0,-1) span(1,1) minSpan(1,1) rank=0 user=UserHandle{0} subItemType=0 title=Finamp intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity } limitTime: 1718217799751 limitState: 59 marketUrl=nullisActiveIconApp =false status =0  isPromise: false)
06-12 19:45:21.487  1298  1351 I ActivityTaskManager: setOptions mPendingRemoteTransition RemoteTransition { remoteTransition = android.window.IRemoteTransition$Stub$Proxy@1d1dcd5, appThread = android.app.IApplicationThread$Stub$Proxy@9621cea, debugName = QuickstepLaunch } for ActivityRecord{a91cbdb u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity
06-12 19:45:21.489  1298  1351 D ActivityTaskManager: TaskLaunchParamsModifier:task=null activity=ActivityRecord{a91cbdb u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity t-1, isEmbedded=false} display-from-option=0 display-id=0 task-display-area-windowing-mode=1 suggested-display-area=DefaultTaskDisplayArea@231321982(displayId=0)
06-12 19:45:21.489  1298  1351 D ActivityTaskManager: TaskLaunchParamsModifier:task=null activity=ActivityRecord{a91cbdb u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity t-1, isEmbedded=false} display-from-option=0 display-id=0 task-display-area-windowing-mode=1 suggested-display-area=DefaultTaskDisplayArea@231321982(displayId=0) inherit-from-source=fullscreen non-freeform-task-display-area display-area=DefaultTaskDisplayArea@231321982(displayId=0) default-portrait
06-12 19:45:21.490  1298  1351 D ActivityTaskManager: for OneVision debug. startActivityInner(2): r = ActivityRecord{a91cbdb u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity t-1, isEmbedded=false} targetTask = null newTask = true. reusedTask = null, mTargetTask = null, sourceRecord = ActivityRecord{ba2c63a u0 com.zui.launcher/.drawer.DrawerLauncher t8, isEmbedded=false}, options = ActivityOptions(81817937), mPackageName=null, mAnimationType=13, mStartX=0, mStartY=0, mWidth=0, mHeight=0, mLaunchDisplayId=0
06-12 19:45:21.490  1298  1351 D ActivityTaskManager: for OneVision debug. startActivityInner(3) targetPkgName:com.unicornsonlsd.finamp sourcePkgName:com.zui.launcher permission:
06-12 19:45:21.490  1298  1351 D ActivityTaskManager: for OneVision debug. startActivityInner(4): r = ActivityRecord{a91cbdb u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity t-1, isEmbedded=false} targetTaskTop = null
06-12 19:45:21.494  1298  1351 D ActivityTaskManager: TaskLaunchParamsModifier:task=Task{bbd1db6 #37 type=standard A=10284:com.unicornsonlsd.finamp} activity=ActivityRecord{a91cbdb u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity t-1, isEmbedded=false} display-from-option=0 display-id=0 task-display-area-windowing-mode=1 suggested-display-area=DefaultTaskDisplayArea@231321982(displayId=0) inherit-from-source=fullscreen non-freeform-task-display-area display-area=DefaultTaskDisplayArea@231321982(displayId=0) default-portrait
06-12 19:45:21.496   843  2280 E BufferQueueDebug: [ActivityRecord{a91cbdb u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity t37, isEmbedded=false}#4001](this:0xb400007167282f18,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'ActivityRecord{a91cbdb u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity t37, isEmbedded=false}#4001'
06-12 19:45:21.496   843  2280 I BufferQueueDebug: [ActivityRecord{a91cbdb u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity t37, isEmbedded=false}#4001](this:0xb400007167282f18,id:-1,api:0,p:-1,c:-1) BufferQueue core=(843:/system/bin/surfaceflinger)
06-12 19:45:21.498  1298  1351 D ActivityTaskManager: showStartingWindow: com.unicornsonlsd.finamp mSplashScreenStyleSolidColor=true mLaunchSourceType=2
06-12 19:45:21.501  1298  1351 I PowerHalWrapper: amsBoostNotify pid:1903,activity:com.zui.launcher.drawer.DrawerLauncher, package:com.zui.launcher, mProcessCreatePackcom.unicornsonlsd.finamp 
06-12 19:45:21.503  1298  1351 I PowerHalWrapper: <amsBoostResume> last:com.zui.launcher, next:com.unicornsonlsd.finamp 
06-12 19:45:21.504  1637  1637 D DesktopTasksController: taskInfo: TaskInfo{userId=0 taskId=37 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity } baseActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} topActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} origActivity=null realActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} numActivities=1 lastActiveTime=36448992 supportsMultiWindow=true resizeMode=1 isResizeable=true canKillAndRestart=false isShowDecorCaptionWindowRequest=false minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@11074bd} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=null topActivityInfo=ActivityInfo{ec17ab2 com.ryanheise.audioservice.AudioServiceActivity} launchCookies=[android.os.BinderProxy@36faa03] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=false isVisibleRequested=false isHasResumedActivity=false ifUltraWideField=false layoutFlags=0 layoutSystemUiVisibility=0 layoutSubtreeSystemUiVisibility=0 isSleeping=false topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false topActivityLetterboxed= false isFromDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 locusId=null displayAreaFeatureId=1 cameraCompatControlState=hidden}
06-12 19:45:21.505  1298  1351 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity bnds=[1108,2617][1287,2821]} with LAUNCH_SINGLE_TOP from uid 10064 (BAL_ALLOW_ALLOWLISTED_COMPONENT) result code=0
06-12 19:45:21.508  1637  1748 D VRI[finamp]: hardware acceleration = true, forceHwAccelerated = false
06-12 19:45:21.509  1298  1399 I PowerHalWrapper: amsBoostProcessCreate package:com.unicornsonlsd.finamp 
06-12 19:45:21.511   843  2280 E BufferQueueDebug: [b8bdb53 Splash Screen com.unicornsonlsd.finamp#4002](this:0xb400007167296f18,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'b8bdb53 Splash Screen com.unicornsonlsd.finamp#4002'
06-12 19:45:21.511   843  2280 I BufferQueueDebug: [b8bdb53 Splash Screen com.unicornsonlsd.finamp#4002](this:0xb400007167296f18,id:-1,api:0,p:-1,c:-1) BufferQueue core=(843:/system/bin/surfaceflinger)
06-12 19:45:21.519  1298  1421 I ActivityManager: Start proc 4574:com.unicornsonlsd.finamp/u0a284 for next-top-activity {com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity}
06-12 19:45:21.524  1298  1924 D CoreBackPreview: Window{b8bdb53 u0 Splash Screen com.unicornsonlsd.finamp}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@3e031bc, mPriority=0, mIsAnimationCallback=false}
06-12 19:45:21.525  1298  1351 I WindowManager: Window{b8bdb53 u0 Splash Screen com.unicornsonlsd.finamp} state from NO_SURFACE to DRAW_PENDING; reason: resetDrawState
06-12 19:45:21.525  4574  4574 I rnsonlsd.finamp: Using CollectorTypeCC GC.
06-12 19:45:21.525  1298  1595 D ZuiInputManager: updateTopTaskPackageStatus mTopTaskPackageName = com.unicornsonlsd.finamp
06-12 19:45:21.526   843  1231 E BufferQueueDebug: [Splash Screen com.unicornsonlsd.finamp#4003](this:0xb4000071672c3f18,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'Splash Screen com.unicornsonlsd.finamp#4003'
06-12 19:45:21.526  1298  1595 D BluetoothPenInputPolicy: updateTopTaskPackageStatus: topPackageName = com.unicornsonlsd.finampmRemountControlState = 0
06-12 19:45:21.526  1298  1595 D BigPalmInputPolicy: updateBigPalmInfoStatus: topPackageName com.unicornsonlsd.finamp
06-12 19:45:21.526   843  1231 I BufferQueueDebug: [Splash Screen com.unicornsonlsd.finamp#4003](this:0xb4000071672c3f18,id:-1,api:0,p:-1,c:-1) BufferQueue core=(843:/system/bin/surfaceflinger)
06-12 19:45:21.526  1298  1595 D BigPalmInputPolicy: isGameAppPackage: mUiType = ZUI, packageName = com.unicornsonlsd.finamp
06-12 19:45:21.526  1298  1595 I ZuiModeService: com.unicornsonlsd.finamp not managed app.
06-12 19:45:21.526  1298  1595 D BigPalmInputPolicy: boostStyluspen: mTopPackageName = com.unicornsonlsd.finamp
06-12 19:45:21.526  1298  1595 D BoostUtils: isBoostTargetPackage packageName = com.unicornsonlsd.finamp
06-12 19:45:21.527  4574  4574 E rnsonlsd.finamp: Not starting debugger since process cannot load the jdwp agent.
06-12 19:45:21.536  1298  1351 I WindowManager: setFocusedAppLw : ActivityRecord{a91cbdb u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity t37, isEmbedded=false},display Id:0
06-12 19:45:21.536  1298  1351 I PowerHalWrapper: amsBoostNotify pid:4574,activity:com.ryanheise.audioservice.AudioServiceActivity, package:com.unicornsonlsd.finamp, mProcessCreatePackcom.unicornsonlsd.finamp 
06-12 19:45:21.537  1298  1351 I mtkpower_client: [Legacy][PowerHal_Wrap_notifyAppState] com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity pid=4574 state:1
06-12 19:45:21.537   822   909 I libPowerHal: [perfNotifyAppState] pack:com.unicornsonlsd.finamp, act:com.ryanheise.audioservice.AudioServiceActivity, state:1, pid:4574, uid:10284, fps:-1
06-12 19:45:21.537   822   909 I libPowerHal: [perfNotifyAppState] foreground:com.unicornsonlsd.finamp, pid:4574, uid:10284
06-12 19:45:21.538   822   850 I mtkpower@impl: [notifyAppState] pc:1, com.zui.launcher => com.unicornsonlsd.finamp
06-12 19:45:21.543  1298  1595 D ZuiInputManager: updateTopTaskPackageStatus mTopTaskPackageName = com.unicornsonlsd.finamp
06-12 19:45:21.544  1298  1595 D BluetoothPenInputPolicy: updateTopTaskPackageStatus: topPackageName = com.unicornsonlsd.finampmRemountControlState = 0
06-12 19:45:21.546  1298  1595 D BigPalmInputPolicy: updateBigPalmInfoStatus: topPackageName com.unicornsonlsd.finamp
06-12 19:45:21.546  1298  1595 D BigPalmInputPolicy: isGameAppPackage: mUiType = ZUI, packageName = com.unicornsonlsd.finamp
06-12 19:45:21.546  1298  1595 I ZuiModeService: com.unicornsonlsd.finamp not managed app.
06-12 19:45:21.546  1298  1595 D BigPalmInputPolicy: boostStyluspen: mTopPackageName = com.unicornsonlsd.finamp
06-12 19:45:21.546  1298  1595 D BoostUtils: isBoostTargetPackage packageName = com.unicornsonlsd.finamp
06-12 19:45:21.547  4574  4574 D nativeloader: Configuring clns-6 for other apk /data/app/~~wBqGWtS6UtVP2aTIGgy8ww==/com.unicornsonlsd.finamp-Yq9Q0v0PYfHRbC-8aJWh_g==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~wBqGWtS6UtVP2aTIGgy8ww==/com.unicornsonlsd.finamp-Yq9Q0v0PYfHRbC-8aJWh_g==/lib/arm64:/data/app/~~wBqGWtS6UtVP2aTIGgy8ww==/com.unicornsonlsd.finamp-Yq9Q0v0PYfHRbC-8aJWh_g==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.unicornsonlsd.finamp
06-12 19:45:21.555  1637  1824 D BLASTBufferQueue: [VRI[finamp]#366](f:0,a:1) acquireNextBufferLocked size=1840x2944 mFrameNumber=1 applyTransaction=true mTimestamp=10394425265926(auto) mPendingTransactions.size=0 graphicBufferId=7030861465528 transform=4
06-12 19:45:21.556  1298  3724 W WindowManager: finishDrawingWindow: Window{b8bdb53 u0 Splash Screen com.unicornsonlsd.finamp} mDrawState=DRAW_PENDING
06-12 19:45:21.556  1298  3724 I WindowManager: Window{b8bdb53 u0 Splash Screen com.unicornsonlsd.finamp} state from DRAW_PENDING to COMMIT_DRAW_PENDING; reason: finishDrawingLocked
06-12 19:45:21.556  4574  4574 V GraphicsEnvironment: ANGLE GameManagerService for com.unicornsonlsd.finamp: false
06-12 19:45:21.556  4574  4574 V GraphicsEnvironment: com.unicornsonlsd.finamp is not listed in per-application setting
06-12 19:45:21.557  1298  1402 I WindowManager: Window{b8bdb53 u0 Splash Screen com.unicornsonlsd.finamp} state from COMMIT_DRAW_PENDING to READY_TO_SHOW; reason: commitFinishDrawingLocked
06-12 19:45:21.561  1298  1402 I WindowManager: Window{b8bdb53 u0 Splash Screen com.unicornsonlsd.finamp} state from READY_TO_SHOW to HAS_DRAWN; reason: performShowLocked
06-12 19:45:21.561  1298  1402 W WindowManager: real show surface:Surface(name=Splash Screen com.unicornsonlsd.finamp)/@0x21a4fa7
06-12 19:45:21.565  1298  1396 V WindowManager: Sent Transition #213 createdAt=06-12 19:45:21.488 via request=TransitionRequestInfo { type = OPEN, triggerTask = TaskInfo{userId=0 taskId=37 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity } baseActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} topActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} origActivity=null realActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} numActivities=1 lastActiveTime=36448992 supportsMultiWindow=true resizeMode=1 isResizeable=true canKillAndRestart=true isShowDecorCaptionWindowRequest=false minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{RemoteToken{aa81cf2 Task{bbd1db6 #37 type=standard A=10284:com.unicornsonlsd.finamp}}} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=null topActivityInfo=ActivityInfo{7923f43 com.ryanheise.audioservice.AudioServiceActivity} launchCookies=[android.os.BinderProxy@95d89c0] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=false isVisibleRequested=false isHasResumedActivity=false ifUltraWideField=false layoutFlags=0 layoutSystemUiVisibility=0 layoutSubtreeSystemUiVisibility=0 isSleeping=false topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false topActivityLetterboxed= false isFromDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 locusId=null displayAreaFeatureId=1 cameraCompatControlState=hidden}, remoteTransition = RemoteTransition { remoteTransition = android.window.IRemoteTransition$Stub$Proxy@1d1dcd5, appThread = android.app.IApplicationThread$Stub$Proxy@9621cea, debugName = QuickstepLaunch }, displayChange = null }
06-12 19:45:21.566  1298  1396 V WindowManager:     info={id=213 t=OPEN f=0x0 trk=0 r=[0@Point(0, 0)] c=[{WCT{RemoteToken{aa81cf2 Task{bbd1db6 #37 type=standard A=10284:com.unicornsonlsd.finamp}}} m=OPEN f=NONE leash=Surface(name=Task=37)/@0xba2fc54 sb=Rect(0, 0 - 1840, 2944) eb=Rect(0, 0 - 1840, 2944) d=0 windowingMode=1},{WCT{RemoteToken{682dc74 Task{1807256 #1 type=home}}} m=TO_BACK f=SHOW_WALLPAPER leash=Surface(name=Task=1)/@0xe3b5073 sb=Rect(0, 0 - 1840, 2944) eb=Rect(0, 0 - 1840, 2944) d=0 windowingMode=1}]}
06-12 19:45:21.566  1298  1396 D TransitionController: for OneVision debug. Transition info:{id=213 t=OPEN f=0x0 trk=0 r=[0@Point(0, 0)] c=[{WCT{RemoteToken{aa81cf2 Task{bbd1db6 #37 type=standard A=10284:com.unicornsonlsd.finamp}}} m=OPEN f=NONE leash=Surface(name=Task=37)/@0xba2fc54 sb=Rect(0, 0 - 1840, 2944) eb=Rect(0, 0 - 1840, 2944) d=0 windowingMode=1},{WCT{RemoteToken{682dc74 Task{1807256 #1 type=home}}} m=TO_BACK f=SHOW_WALLPAPER leash=Surface(name=Task=1)/@0xe3b5073 sb=Rect(0, 0 - 1840, 2944) eb=Rect(0, 0 - 1840, 2944) d=0 windowingMode=1}]}
06-12 19:45:21.567   843  2280 E BufferQueueDebug: [292b678 ActivityRecordInputSink com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4005](this:0xb400007167541718,id:-1,api:0,p:-1,c:-1) id info cannot be read from '292b678 ActivityRecordInputSink com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4005'
06-12 19:45:21.567   843  2280 I BufferQueueDebug: [292b678 ActivityRecordInputSink com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4005](this:0xb400007167541718,id:-1,api:0,p:-1,c:-1) BufferQueue core=(843:/system/bin/surfaceflinger)
06-12 19:45:21.578  4574  4596 D libMEOW : applied 0 plugin for [com.unicornsonlsd.finamp].
06-12 19:45:21.607  4574  4574 D libMEOW : applied 0 plugin for [com.unicornsonlsd.finamp].
06-12 19:45:21.613  1298  1594 I ZuiModeService: judgeGameMode: has Visible FULLSCREEN non game pkg com.unicornsonlsd.finamp
06-12 19:45:21.613  1298  1594 I ZuiModeService: requestAALMode: pkgName=com.unicornsonlsd.finamp, isVisible=true, focused=true, WindowingMode=FULLSCREEN
06-12 19:45:21.628  1637  1637 D RecentTasksController: getMultiGroupRecentTasks_OV : rawMapping : 0: TaskInfo{userId=0 taskId=37 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity } baseActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} topActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} origActivity=null realActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} numActivities=1 lastActiveTime=36449025 supportsMultiWindow=true resizeMode=1 isResizeable=true canKillAndRestart=true isShowDecorCaptionWindowRequest=false minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@6be620e} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=null topActivityInfo=ActivityInfo{5c4342f com.ryanheise.audioservice.AudioServiceActivity} launchCookies=[android.os.BinderProxy@36faa03] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true isVisibleRequested=true isHasResumedActivity=true ifUltraWideField=false layoutFlags=81030118 layoutSystemUiVisibility=0 layoutSubtreeSystemUiVisibility=0 isSleeping=false topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false topActivityLetterboxed= false isFromDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 locusId=null displayAreaFeatureId=1 cameraCompatControlState=hidden}
06-12 19:45:21.629  4574  4602 D libMEOW : applied 0 plugin for [com.unicornsonlsd.finamp].
06-12 19:45:21.629  1637  1637 D RecentTasksController: getMultiGroupRecentTasks_OV : current taskInfo : TaskInfo{userId=0 taskId=37 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity } baseActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} topActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} origActivity=null realActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} numActivities=1 lastActiveTime=36449025 supportsMultiWindow=true resizeMode=1 isResizeable=true canKillAndRestart=true isShowDecorCaptionWindowRequest=false minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@6be620e} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=null topActivityInfo=ActivityInfo{5c4342f com.ryanheise.audioservice.AudioServiceActivity} launchCookies=[android.os.BinderProxy@36faa03] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true isVisibleRequested=true isHasResumedActivity=true ifUltraWideField=false layoutFlags=81030118 layoutSystemUiVisibility=0 layoutSubtreeSystemUiVisibility=0 isSleeping=false topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false topActivityLetterboxed= false isFromDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 locusId=null displayAreaFeatureId=1 cameraCompatControlState=hidden}
06-12 19:45:21.629  1637  1637 D RecentTasksController: getMultiGroupRecentTasks_OV return single(1) : task = TaskInfo{userId=0 taskId=37 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity } baseActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} topActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} origActivity=null realActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} numActivities=1 lastActiveTime=36449025 supportsMultiWindow=true resizeMode=1 isResizeable=true canKillAndRestart=true isShowDecorCaptionWindowRequest=false minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@6be620e} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=null topActivityInfo=ActivityInfo{5c4342f com.ryanheise.audioservice.AudioServiceActivity} launchCookies=[android.os.BinderProxy@36faa03] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true isVisibleRequested=true isHasResumedActivity=true ifUltraWideField=false layoutFlags=81030118 layoutSystemUiVisibility=0 layoutSubtreeSystemUiVisibility=0 isSleeping=false topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false topActivityLetterboxed= false isFromDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 locusId=null displayAreaFeatureId=1 cameraCompatControlState=hidden}
06-12 19:45:21.630  1903  2007 I RecentTasksList: taskInfo1:TaskInfo{userId=0 taskId=37 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity } baseActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} topActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} origActivity=null realActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} numActivities=1 lastActiveTime=36449025 supportsMultiWindow=true resizeMode=1 isResizeable=true canKillAndRestart=true isShowDecorCaptionWindowRequest=false minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@dec449e} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=null topActivityInfo=ActivityInfo{ab58b7f com.ryanheise.audioservice.AudioServiceActivity} launchCookies=[com.zui.launcher.util.ObjectWrapper@307474c] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=true isVisible=true isVisibleRequested=true isHasResumedActivity=true ifUltraWideField=false layoutFlags=81030118 layoutSystemUiVisibility=0 layoutSubtreeSystemUiVisibility=0 isSleeping=false topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false topActivityLetterboxed= false isFromDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 locusId=null displayAreaFeatureId=1 cameraCompatControlState=hidden}
06-12 19:45:21.659   843  1231 D SurfaceFlinger: [SF client] NEW(0xb400007168830880) for (4574:com.unicornsonlsd.finamp)
06-12 19:45:21.687   843  1231 D SurfaceFlinger: [SF client] NEW(0xb400007168830500) for (4574:com.unicornsonlsd.finamp)
06-12 19:45:21.696  4574  4574 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.696  4574  4574 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.697  4574  4574 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.697  4574  4574 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.698  4574  4574 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.698  4574  4574 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.698  4574  4574 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.699  4574  4574 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.702  4574  4574 I OvCommonUtils: setFlagsForSplit topActivityComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity},  windowMode:1, hasFullScreenFlag:false, isFlagsChanged:false
06-12 19:45:21.706   843  2282 E BufferQueueDebug: [4de09c6 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4015](this:0xb400007167289f18,id:-1,api:0,p:-1,c:-1) id info cannot be read from '4de09c6 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4015'
06-12 19:45:21.706   843  2282 I BufferQueueDebug: [4de09c6 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4015](this:0xb400007167289f18,id:-1,api:0,p:-1,c:-1) BufferQueue core=(843:/system/bin/surfaceflinger)
06-12 19:45:21.718  1298  3724 D CoreBackPreview: Window{4de09c6 u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@eec664c, mPriority=0, mIsAnimationCallback=false}
06-12 19:45:21.719  4574  4574 I OvCommonUtils: setFlagsForSplit topActivityComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity},  windowMode:1, hasFullScreenFlag:false, isFlagsChanged:false
06-12 19:45:21.720  1298  2042 I WindowManager: Window{4de09c6 u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} state from NO_SURFACE to DRAW_PENDING; reason: resetDrawState
06-12 19:45:21.720   843  2282 E BufferQueueDebug: [com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4016](this:0xb4000071672a5718,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4016'
06-12 19:45:21.721   843  2282 I BufferQueueDebug: [com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4016](this:0xb4000071672a5718,id:-1,api:0,p:-1,c:-1) BufferQueue core=(843:/system/bin/surfaceflinger)
06-12 19:45:21.725  1298  2042 D WindowManager: Changing focus from null to Window{4de09c6 u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:491 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6431 com.android.server.wm.WindowManagerService.relayoutWindow:2660 com.android.server.wm.Session.relayout:266 
06-12 19:45:21.727  1298  2042 I WindowManager: setInputFocusLw : Window{4de09c6 u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity},display Id:0
06-12 19:45:21.728  1298  2042 I WindowManager: Relayout Window{4de09c6 u0 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity}: oldVis=4 newVis=0 focusMayChange = true requestedWidth = 1840 requestedHeight = 2944 outFrames = ClientWindowFrames{frame=[0,0][1840,2944] display=[0,0][1840,2944] parentFrame=[0,0][0,0]} outSurfaceControl = Surface(name=com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity)/@0x3b69313
06-12 19:45:21.731  1298  1402 D SurfaceComposerClient: Transaction::apply InputWindowCommands.focusRequests timestamp=10394600228772, windowName=4de09c6 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity
06-12 19:45:21.736  4574  4574 I OvCommonUtils: setFlagsForSplit topActivityComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity},  windowMode:1, hasFullScreenFlag:false, isFlagsChanged:false
06-12 19:45:21.736  4574  4594 D libMEOW : applied 0 plugin for [com.unicornsonlsd.finamp].
06-12 19:45:21.740   843  2282 E BufferQueueDebug: [Bounds for - com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4021](this:0xb400007167322f18,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'Bounds for - com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4021'
06-12 19:45:21.740   843  2282 I BufferQueueDebug: [Bounds for - com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4021](this:0xb400007167322f18,id:-1,api:0,p:-1,c:-1) BufferQueue core=(843:/system/bin/surfaceflinger)
06-12 19:45:21.741   843   912 E BufferQueueDebug: [SurfaceView[com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity]#4022](this:0xb400007167341f18,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'SurfaceView[com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity]#4022'
06-12 19:45:21.741   843   912 I BufferQueueDebug: [SurfaceView[com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity]#4022](this:0xb400007167341f18,id:-1,api:0,p:-1,c:-1) BufferQueue core=(843:/system/bin/surfaceflinger)
06-12 19:45:21.742   843   912 E BufferQueueDebug: [SurfaceView[com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity](BLAST)#4023](this:0xb40000716732a718,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'SurfaceView[com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity](BLAST)#4023'
06-12 19:45:21.742   843   912 I BufferQueueDebug: [SurfaceView[com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity](BLAST)#4023](this:0xb40000716732a718,id:-1,api:0,p:-1,c:-1) BufferQueue core=(843:/system/bin/surfaceflinger)
06-12 19:45:21.742   843  2282 E BufferQueueDebug: [Background for SurfaceView[com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity]#4024](this:0xb40000716732cf18,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'Background for SurfaceView[com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity]#4024'
06-12 19:45:21.742   843  2282 I BufferQueueDebug: [Background for SurfaceView[com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity]#4024](this:0xb40000716732cf18,id:-1,api:0,p:-1,c:-1) BufferQueue core=(843:/system/bin/surfaceflinger)
06-12 19:45:21.743  4574  4601 D libMEOW : applied 0 plugin for [com.unicornsonlsd.finamp].
06-12 19:45:21.746   843   843 D SurfaceFlinger: Focus addInputWindowCommands timestamp=10394600228772, windowName=4de09c6 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity
06-12 19:45:21.749   843   843 D SurfaceFlinger: Find Focus windowName=4de09c6 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity, notVisible=1
06-12 19:45:21.749   843   843 D Layer   : Focus: com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity#4016 isHiddenByPolicy s.flags&layer_state_t::eLayerHidden=1
06-12 19:45:21.749  1298  9000 I MediaSessionStack: addSession to bottom of stack | record: com.unicornsonlsd.finamp/media-session (userId=0)
06-12 19:45:21.750   843  1145 D SurfaceFlinger: updateWinowInfo=1, setFocusedWindow timestamp=10394600228772, windowName=4de09c6 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity
06-12 19:45:21.750  1298  3724 D InputManager: setFocusedWindow windowName 4de09c6 com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity
06-12 19:45:21.759  1298  3163 W TelephonyPermissions: reportAccessDeniedToReadIdentifiers:com.unicornsonlsd.finamp:getSerial:-1
06-12 19:45:21.771  1298  3724 W TelephonyPermissions: reportAccessDeniedToReadIdentifiers:com.unicornsonlsd.finamp:getSerial:-1
06-12 19:45:21.794  4574  4653 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.795  4574  4653 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.796  4574  4653 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.797  4574  4653 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.797  4574  4653 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.799  4574  4653 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.799  4574  4653 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.800  4574  4653 D Choreographer: commvalue: rnsonlsd.finamp
06-12 19:45:21.808  4574  4574 I AudioEffect-JAVA: AudioEffect audioSession = 1457 callingPkgName = com.unicornsonlsd.finamp
06-12 19:45:21.822  1298  8499 I MediaSessionStack: onPlaybackStateChanged - Pushing session to top | record: com.unicornsonlsd.finamp/media-session (userId=0)
06-12 19:45:22.044  1903  1903 I TaskbarUIController:   taskId=37: com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity bounds=[0,0][1840,2944] userId=0 visible=true topActivity=ComponentInfo{com.unicornsonlsd.finamp/com.ryanheise.audioservice.AudioServiceActivity}
06-12 19:45:22.098  1298  1594 I ZuiModeService: judgeGameMode: has Visible FULLSCREEN non game pkg com.unicornsonlsd.finamp
06-12 19:45:22.099  1298  1594 I ZuiModeService: requestAALMode: pkgName=com.unicornsonlsd.finamp, isVisible=true, focused=true, WindowingMode=FULLSCREEN
06-12 19:45:22.447  1298  1594 I ZuiModeService: judgeGameMode: has Visible FULLSCREEN non game pkg com.unicornsonlsd.finamp
06-12 19:45:27.304  1298  1399 I PowerHalWrapper: amsBoostNotify pid:1903,activity:com.zui.launcher.drawer.DrawerLauncher, package:com.zui.launcher, mProcessCreatePackcom.unicornsonlsd.finamp 
06-12 19:45:31.538  1298  1399 I PowerHalWrapper: amsBoostNotify pid:3899,activity:com.android.settings.homepage.DeepLinkHomepageActivity, package:com.android.settings, mProcessCreatePackcom.unicornsonlsd.finamp 
06-12 19:45:31.538  1298  1399 I PowerHalWrapper: amsBoostNotify pid:3899,activity:com.android.settings.Settings$UsbDetailsActivity, package:com.android.settings, mProcessCreatePackcom.unicornsonlsd.finamp 
06-12 19:45:31.540  1298  1595 D ZuiInputManager: updateTopTaskPackageStatus mTopTaskPackageName = com.unicornsonlsd.finamp
06-12 19:45:31.540  1298  1595 D BluetoothPenInputPolicy: updateTopTaskPackageStatus: topPackageName = com.unicornsonlsd.finampmRemountControlState = 0
06-12 19:45:31.541  1298  1595 D BigPalmInputPolicy: updateBigPalmInfoStatus: topPackageName com.unicornsonlsd.finamp
06-12 19:45:31.541  1298  1595 D BigPalmInputPolicy: isGameAppPackage: mUiType = ZUI, packageName = com.unicornsonlsd.finamp
06-12 19:45:31.541  1298  1595 I ZuiModeService: com.unicornsonlsd.finamp not managed app.
06-12 19:45:31.541  1298  1595 D BigPalmInputPolicy: boostStyluspen: mTopPackageName = com.unicornsonlsd.finamp
06-12 19:45:31.541  1298  1595 D BoostUtils: isBoostTargetPackage packageName = com.unicornsonlsd.finamp
06-12 19:45:31.673  1298  1594 I ZuiModeService: judgeGameMode: has Visible FULLSCREEN non game pkg com.unicornsonlsd.finamp
06-12 19:45:31.675  1298  1594 I ZuiModeService: requestAALMode: pkgName=com.unicornsonlsd.finamp, isVisible=true, focused=true, WindowingMode=FULLSCREEN
06-12 19:45:31.993  1298  1594 I ZuiModeService: judgeGameMode: has Visible FULLSCREEN non game pkg com.unicornsonlsd.finamp

I guess this is too much info? is there an alternative command you would like me to run to provide better information?

Edit: logcat output from Android Studio attached. LENOVO-TB370FU-Android-14_2024-06-12_202901.zip

66mkiqdv avatar Jun 12 '24 19:06 66mkiqdv

Ahh, well if you can interact with the app you can extract logs from Finamp directly. Just click the "share" button on the logs screen in Finamp after the problem occured.
Also, can you try the latest beta (0.9.8)?

You were direct playing FLACs using the stable version on your tablet, and that worked? But the same direct playing doesn't work with the beta?

Chaphasilor avatar Jun 13 '24 20:06 Chaphasilor

beta 0.9.8 & 0.9.7 launches to a black screen, no interaction is possible, It remains like this until the app is closed. beta 0.9.6, 0.9.5, 0.9.4, 0.9.3, 0.9.2 launches to the welcome screen, allows me to connect to the server but does not play tracks when they are pressed (I only pressed the track once).

Stable 0.6.23 works without issue.

I can confirm the stable version can direct play FLAC but the beta versions cannot.

I have attached both pre (before setting the server and user details) and post configuration logs from Finamp, except for 0.9.7 & 0.9.8 as these versions cannot be interacted with. The logs were capture at the same point relative to one another to provide some continuity in reporting.

0.9.6 pre config.txt 0.9.6 post config.txt 0.9.5 pre config.txt 0.9.5 post config.txt 0.9.4 pre config.txt 0.9.4 post config.txt 0.9.3 pre config.txt 0.9.3 post config.txt 0.9.2 pre config.txt 0.9.2 post config.txt

Did the previous logs from 0.9.7 help? did they provide any useful information for you?

66mkiqdv avatar Jun 14 '24 08:06 66mkiqdv

I couldn't find any obvious errors related to playback in the logcat logs you sent before, sorry for not mentioning that.

If it broke from 0.9.6 to 0.9.7 it could be one of two things, I can send you a test version tonight to determine which one is the cause.

Could you try alternative playback methods aside from pressing a track? That starts an instant mix and might be a different issue. Try using the play or shuffle buttons on an album.
Also, have you tried downloading (untranscoded) FLACs and checking if they can be played?
And do you have any non-FLAC media to test?

Thanks for the extensive logs, I'll take a look later!

Chaphasilor avatar Jun 14 '24 11:06 Chaphasilor

From a quick glance at the logs, it seems like the metadata of the track you added to the queue isn't there. At least the track title is shown as null.

Which server version are you using? And could you also attach logs from the stable version?

Chaphasilor avatar Jun 14 '24 11:06 Chaphasilor

Which server version are you using?

I'm running this on TrueNAS Scale Dragonfish-24.04.0

Name: jellyfin App Version: 10.9.3 Chart Version: 19.1.11 Last Updated: N/A Source: ghcr.io/jellyfin/jellyfingithub.com/jellyfin/jellyfingithub.com/truecharts/charts/tree/master/charts/stable/jellyfinhub.docker.com/r/alpine/socat Developer: N/A Catalog: Truecharts Train: stable

Could you try alternative playback methods aside from pressing a track? That starts an instant mix and might be a different issue. Try using the play or shuffle buttons on an album.

Alternative playback methods deliver the same results and exhibit the same behaviour as my previous comment below:

I have noticed that when I select a track to play, my touch was only recognised on the second press, each subsequent press thereafter would try to play the previous track I touched. This was common throughout the library and across many different albums.

You asked...

Also, have you tried downloading (untranscoded) FLACs and checking if they can be played?

I have just tried this and it makes no difference, the tracks download fine, I switch to offline mode and unfortunately they behave the same as the hosted tracks.

And do you have any non-FLAC media to test?

I have tried this with both OGG and MP3, both of which react the same as FLAC.

I've just noticed that when I initiate a direct play from Finamp beta 0.9.2, nothing happens on the tablet but the Jellyfin server shows the tablet as being an active device that is being streamed to, I can see the track time increasing. I am also able to stop the stream (as reported by the server).

66mkiqdv avatar Jun 14 '24 17:06 66mkiqdv

Thanks for the info. From your description it really sound to be more of a problem with the queue management than with media playback itself. It probably fails before actually loading up the player with the audio file, otherwise I can't imagine why no combination of playback modes would work at all.

Could you please try the app posted by James in a different issue (link)? That might solve the black screen problem.

Chaphasilor avatar Jun 15 '24 20:06 Chaphasilor

Thanks for the continued help. I've just tried the apk in the link you've provided

MD5 checksum: 85362345550516d833d9639d75864bf2

and this also launches to a black screen.

I will continue to use the last stable version on my tablet but I'm more than happy to keep testing as required.

66mkiqdv avatar Jun 16 '24 10:06 66mkiqdv

Just wanted to point out that 0.9.9 was released, depending on if James recently updated their Flutter version, the issue might be fixed. Not super likely, but if you got two minutes to try it out, that would be much appreciated, just so I know if this is still an issue!

Chaphasilor avatar Jul 29 '24 14:07 Chaphasilor

I have just tried 0.9.9 and as you expected, there has been no change and Finamp still launches to a black screen.

66mkiqdv avatar Jul 29 '24 17:07 66mkiqdv

Alright, thanks for giving it a try!

Chaphasilor avatar Jul 29 '24 17:07 Chaphasilor

Also Lenovo Tablet (T700 2023), was no issues in ZUI 15 (Android 13), black screen after upgraded to ZUI 16 (Android 14).

Maybe I can look into the problem.

louislam avatar Sep 12 '24 09:09 louislam

Same issue here with LineageOS21 (Android 14) and the Beta Release

YourSandwich avatar Sep 20 '24 22:09 YourSandwich

Okay interesting, so the issue seems to not be limited to Lenovo's ZUI...
@YourSandwich are you using a phone, or a tablet? 🤔

Chaphasilor avatar Sep 22 '24 15:09 Chaphasilor

Just found some clues. First of all, as op said, there are two issues on my tablet with ZUI 16:

  • Black Screen Issue
  • Playback issue

1. Black Screen Issue

It should be related to #720.

I just checkout commits one by one somewhere between 0.9.6-beta and 0.9.7-beta.

PS: Flutter must be downgraded to 3.19.6.

https://github.com/jmshrv/finamp/pull/720/commits/43cec4ca920b188f8cfdc817d32d1e96612c8e61 is fine. And then the next commit https://github.com/jmshrv/finamp/pull/720/commits/2f287351ee347017fbabd5e6321d09d609250671 causes the black screen issue.

2. Playback Issue

Not sure caused by which commit yet. To be confirmed. Should be early than 0.9.6-beta.

I saw an exception in the logcat:

error.log

louislam avatar Sep 22 '24 19:09 louislam

Okay interesting, so the issue seems to not be limited to Lenovo's ZUI... @YourSandwich are you using a phone, or a tablet? 🤔

I am using a Phone, specifically Galaxy S10+ (Exynos) with the latest LineageOS 21 nightly build.

YourSandwich avatar Sep 22 '24 21:09 YourSandwich

I too have this problem (Pixel 5, ProtonAOSP 12.1, rooted). Non-beta works fine. 0.9.11 - 0.9.7 fail to load at all. On app start, just black screen or the finamp logo and hangs indefinitely. 0.9.6 loads but cannot play music, says it is but no time movement or audio (Edit: FIXED 0.9.6 by disabling Audio Misc Mods by zyhk Magisk Module) Also, I have logs for 0.9.7 iirc:

--------- beginning of main 10-02 19:17:08.982 13949 13949 E rnsonlsd.finam: Not starting debugger since process cannot load the jdwp agent. 10-02 19:17:09.000 13949 13949 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument 10-02 19:17:09.010 13949 13949 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10425; state: ENABLED 10-02 19:17:09.020 13949 13949 V GraphicsEnvironment: ANGLE Developer option for 'com.unicornsonlsd.finamp' set to: 'default' 10-02 19:17:09.021 13949 13949 V GraphicsEnvironment: ANGLE GameManagerService for com.unicornsonlsd.finamp: false 10-02 19:17:09.021 13949 13949 V GraphicsEnvironment: Updatable production driver is not supported on the device. 10-02 19:17:09.023 13949 13949 D NetworkSecurityConfig: No Network Security Config specified, using platform default 10-02 19:17:09.023 13949 13949 D NetworkSecurityConfig: No Network Security Config specified, using platform default 10-02 19:17:09.027 13949 13949 D WM-WrkMgrInitializer: Initializing WorkManager with default configuration. 10-02 19:17:09.031 13949 13949 D WM-PackageManagerHelper: Skipping component enablement for androidx.work.impl.background.systemjob.SystemJobService 10-02 19:17:09.031 13949 13949 D WM-Schedulers: Created SystemJobScheduler and enabled SystemJobService 10-02 19:17:09.039 13949 13968 D vulkan : searching for layers in '/data/app/~~7e0b9yk4P500_WqAZvIJuQ==/com.unicornsonlsd.finamp-YjFiisQfkIgPyzIZMGkUcw==/lib/arm64' 10-02 19:17:09.039 13949 13968 D vulkan : searching for layers in '/data/app/~~7e0b9yk4P500_WqAZvIJuQ==/com.unicornsonlsd.finamp-YjFiisQfkIgPyzIZMGkUcw==/base.apk!/lib/arm64-v8a' 10-02 19:17:09.040 13949 13968 D hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument 10-02 19:17:09.051 13949 13968 I AdrenoVK-0: ===== BEGIN DUMP OF OVERRIDDEN SETTINGS ===== 10-02 19:17:09.051 13949 13968 I AdrenoVK-0: ===== END DUMP OF OVERRIDDEN SETTINGS ===== 10-02 19:17:09.051 13949 13967 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10425; state: ENABLED 10-02 19:17:09.051 13949 13968 I AdrenoVK-0: QUALCOMM build : 4783c89, I46ff5fc46f 10-02 19:17:09.051 13949 13968 I AdrenoVK-0: Build Date : 11/30/20 10-02 19:17:09.051 13949 13968 I AdrenoVK-0: Shader Compiler Version : EV031.31.04.01 10-02 19:17:09.051 13949 13968 I AdrenoVK-0: Local Branch : QPR2 10-02 19:17:09.051 13949 13968 I AdrenoVK-0: Remote Branch : 10-02 19:17:09.051 13949 13968 I AdrenoVK-0: Remote Branch : 10-02 19:17:09.051 13949 13968 I AdrenoVK-0: Reconstruct Branch : 10-02 19:17:09.051 13949 13968 I AdrenoVK-0: Build Config : S P 10.0.4 AArch64 10-02 19:17:09.053 13949 13968 I AdrenoVK-0: Driver Path : /vendor/lib64/hw/vulkan.adreno.so 10-02 19:17:09.061 13949 13949 W rnsonlsd.finamp: type=1400 audit(0.0:3706): avc: denied { read } for name="max_map_count" dev="proc" ino=976948 scontext=u:r:untrusted_app:s0:c169,c257,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=com.unicornsonlsd.finamp 10-02 19:17:09.068 13949 13949 D libEGL : loaded /vendor/lib64/egl/libEGL_adreno.so 10-02 19:17:09.073 13949 13949 D libEGL : loaded /vendor/lib64/egl/libGLESv1_CM_adreno.so 10-02 19:17:09.078 13949 13949 D libEGL : loaded /vendor/lib64/egl/libGLESv2_adreno.so 10-02 19:17:09.100 13949 13949 I AdrenoGLES-0: QUALCOMM build : 4783c89, I46ff5fc46f 10-02 19:17:09.100 13949 13949 I AdrenoGLES-0: Build Date : 11/30/20 10-02 19:17:09.100 13949 13949 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV031.31.04.01 10-02 19:17:09.100 13949 13949 I AdrenoGLES-0: Local Branch : QPR2 10-02 19:17:09.100 13949 13949 I AdrenoGLES-0: Remote Branch : 10-02 19:17:09.100 13949 13949 I AdrenoGLES-0: Remote Branch : 10-02 19:17:09.100 13949 13949 I AdrenoGLES-0: Reconstruct Branch : 10-02 19:17:09.100 13949 13949 I AdrenoGLES-0: Build Config : S P 10.0.4 AArch64 10-02 19:17:09.100 13949 13949 I AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so 10-02 19:17:09.101 13949 13949 I AdrenoGLES-0: PFP: 0x016dd093, ME: 0x00000000 10-02 19:17:09.106 13949 13949 W AdrenoUtils: <ReadGpuID_from_sysfs:197>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model 10-02 19:17:09.106 13949 13949 W AdrenoUtils: ReadGpuID:221: Failed to read chip ID from gpu_model. Fallback to use the GSL path 10-02 19:17:09.116 13949 13949 D MediaBrowserCompat: Connecting to a MediaBrowserService. 10-02 19:17:09.172 13949 13968 D hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument 10-02 19:17:09.171 13949 13949 W isarworker: type=1400 audit(0.0:3707): avc: denied { search } for name="vendor" dev="tmpfs" ino=7965 scontext=u:r:untrusted_app:s0:c169,c257,c512,c768 tcontext=u:object_r:mnt_vendor_file:s0 tclass=dir permissive=0 app=com.unicornsonlsd.finamp 10-02 19:17:09.171 13949 13949 W isarworker: type=1400 audit(0.0:3708): avc: denied { getattr } for path="/metadata" dev="sda15" ino=2 scontext=u:r:untrusted_app:s0:c169,c257,c512,c768 tcontext=u:object_r:metadata_file:s0 tclass=dir permissive=0 app=com.unicornsonlsd.finamp 10-02 19:17:09.171 13949 13949 W isarworker: type=1400 audit(0.0:3709): avc: denied { getattr } for path="/vendor/firmware_mnt" dev="sda12" ino=1 scontext=u:r:untrusted_app:s0:c169,c257,c512,c768 tcontext=u:object_r:firmware_file:s0 tclass=dir permissive=0 app=com.unicornsonlsd.finamp 10-02 19:17:09.171 13949 13949 W isarworker: type=1400 audit(0.0:3710): avc: denied { getattr } for path="/vendor/dsp" dev="overlay" ino=20147 scontext=u:r:untrusted_app:s0:c169,c257,c512,c768 tcontext=u:object_r:adsprpcd_file:s0 tclass=dir permissive=0 app=com.unicornsonlsd.finamp 10-02 19:17:09.174 13949 13949 W isarworker: type=1400 audit(0.0:3711): avc: denied { search } for name="vendor" dev="tmpfs" ino=7965 scontext=u:r:untrusted_app:s0:c169,c257,c512,c768 tcontext=u:object_r:mnt_vendor_file:s0 tclass=dir permissive=0 app=com.unicornsonlsd.finamp 10-02 19:17:09.174 13949 13949 W isarworker: type=1400 audit(0.0:3712): avc: denied { getattr } for path="/metadata" dev="sda15" ino=2 scontext=u:r:untrusted_app:s0:c169,c257,c512,c768 tcontext=u:object_r:metadata_file:s0 tclass=dir permissive=0 app=com.unicornsonlsd.finamp 10-02 19:17:09.202 13949 13949 I System.out: flutterEngine warmed up 10-02 19:17:09.286 13949 13949 D BackgroundDownloader: RequireWiFi=forNoTasks and rescheduleRunning=true 10-02 19:17:09.288 13949 13949 D BackgroundDownloader: Setting preference key com.bbflight.background_downloader.config.checkAvailableSpace to 1024 10-02 19:17:09.297 13949 13949 V BackgroundDownloader: Returning 0 unfinished tasks in group default 10-02 19:17:09.313 13949 13949 I ExoPlayerImpl: Init a369742 [ExoPlayerLib/2.18.7] [redfin, Pixel 5, Google, 32] 10-02 19:17:09.333 13949 13949 E AudioEffect: set(): AudioFlinger could not create effect fe3199be-aed0-413f-87bb-11260eb63cf1 / ec7178ec-e5e1-4432-a3f4-4657e6795210, status: -2 10-02 19:17:09.333 13949 13949 E AudioEffects-JNI: AudioEffect initCheck failed -3 10-02 19:17:09.334 13949 13949 E AudioEffect-JAVA: Error code -3 when initializing AudioEffect. 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: Failed to handle method call 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: java.lang.RuntimeException: Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at android.media.audiofx.AudioEffect.(AudioEffect.java:538) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at android.media.audiofx.AudioEffect.(AudioEffect.java:501) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at android.media.audiofx.AudioEffect.(AudioEffect.java:475) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at android.media.audiofx.LoudnessEnhancer.(LoudnessEnhancer.java:80) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at w4.d.x0(Unknown Source:55) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at w4.d.Y0(Unknown Source:42) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at w4.d.C0(Unknown Source:61) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at w4.d.I(Unknown Source:6) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at v5.k$a.a(Unknown Source:17) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at j5.c.l(Unknown Source:18) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at j5.c.m(Unknown Source:41) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at j5.c.i(Unknown Source:0) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at j5.b.run(Unknown Source:12) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at android.os.Handler.handleCallback(Handler.java:938) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at android.os.Handler.dispatchMessage(Handler.java:99) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at android.os.Looper.loopOnce(Looper.java:201) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at android.os.Looper.loop(Looper.java:288) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at android.app.ActivityThread.main(ActivityThread.java:7876) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at java.lang.reflect.Method.invoke(Native Method) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 10-02 19:17:09.334 13949 13949 E MethodChannel#com.ryanheise.just_audio.methods.e1791848-9ac6-45eb-a0c9-8310f386e76c: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) 10-02 19:17:09.334 13949 13973 E flutter : [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3, null, java.lang.RuntimeException: Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.AudioEffect.(AudioEffect.java:538) 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.AudioEffect.(AudioEffect.java:501) 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.AudioEffect.(AudioEffect.java:475) 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.LoudnessEnhancer.(LoudnessEnhancer.java:80) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.x0(Unknown Source:55) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.Y0(Unknown Source:42) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.C0(Unknown Source:61) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.I(Unknown Source:6) 10-02 19:17:09.334 13949 13973 E flutter : at v5.k$a.a(Unknown Source:17) 10-02 19:17:09.334 13949 13973 E flutter : at j5.c.l(Unknown Source:18) 10-02 19:17:09.334 13949 13973 E flutter : at j5.c.m(Unknown Source:41) 10-02 19:17:09.334 13949 13973 E flutter : at j5.c.i(Unknown Source:0) 10-02 19:17:09.334 13949 13973 E flutter : at j5.b.run(Unknown Source:12) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Handler.handleCallback(Handler.java:938) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Handler.dispatchMessage(Handler.java:99) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Looper.loopOnce(Looper.java:201) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Looper.loop(Looper.java:288) 10-02 19:17:09.334 13949 13973 E flutter : at android.app.ActivityThread.main(ActivityThread.java:7876) 10-02 19:17:09.334 13949 13973 E flutter : at java.lang.reflect.Method.invoke(Native Method) 10-02 19:17:09.334 13949 13973 E flutter : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 10-02 19:17:09.334 13949 13973 E flutter : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) 10-02 19:17:09.334 13949 13973 E flutter : ) 10-02 19:17:09.334 13949 13973 E flutter : #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648) 10-02 19:17:09.334 13949 13973 E flutter : #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #2 MethodChannelAudioPlayer.setAndroidAudioAttributes (package:just_audio_platform_interface/method_channel_just_audio.dart:168) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #3 AudioPlayer._internalSetAndroidAudioAttributes (package:just_audio/just_audio.dart:1201) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #4 AudioPlayer._setPlatformActive.setPlatform (package:just_audio/just_audio.dart:1443) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #5 AudioEffect.setEnabled (package:just_audio/just_audio.dart:3785) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3, null, java.lang.RuntimeException: Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.AudioEffect.(AudioEffect.java:538) 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.AudioEffect.(AudioEffect.java:501) 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.AudioEffect.(AudioEffect.java:475) 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.LoudnessEnhancer.(LoudnessEnhancer.java:80) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.x0(Unknown Source:55) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.Y0(Unknown Source:42) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.C0(Unknown Source:61) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.I(Unknown Source:6) 10-02 19:17:09.334 13949 13973 E flutter : at v5.k$a.a(Unknown Source:17) 10-02 19:17:09.334 13949 13973 E flutter : at j5.c.l(Unknown Source:18) 10-02 19:17:09.334 13949 13973 E flutter : at j5.c.m(Unknown Source:41) 10-02 19:17:09.334 13949 13973 E flutter : at j5.c.i(Unknown Source:0) 10-02 19:17:09.334 13949 13973 E flutter : at j5.b.run(Unknown Source:12) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Handler.handleCallback(Handler.java:938) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Handler.dispatchMessage(Handler.java:99) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Looper.loopOnce(Looper.java:201) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Looper.loop(Looper.java:288) 10-02 19:17:09.334 13949 13973 E flutter : at android.app.ActivityThread.main(ActivityThread.java:7876) 10-02 19:17:09.334 13949 13973 E flutter : at java.lang.reflect.Method.invoke(Native Method) 10-02 19:17:09.334 13949 13973 E flutter : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 10-02 19:17:09.334 13949 13973 E flutter : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) 10-02 19:17:09.334 13949 13973 E flutter : ) 10-02 19:17:09.334 13949 13973 E flutter : #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648) 10-02 19:17:09.334 13949 13973 E flutter : #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #2 MethodChannelAudioPlayer.setAndroidAudioAttributes (package:just_audio_platform_interface/method_channel_just_audio.dart:168) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #3 AudioPlayer._internalSetAndroidAudioAttributes (package:just_audio/just_audio.dart:1201) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #4 AudioPlayer._setPlatformActive.setPlatform (package:just_audio/just_audio.dart:1443) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #5 AudioEffect.setEnabled (package:just_audio/just_audio.dart:3785) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3, null, java.lang.RuntimeException: Cannot initialize effect engine for type: fe3199be-aed0-413f-87bb-11260eb63cf1 Error: -3 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.AudioEffect.(AudioEffect.java:538) 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.AudioEffect.(AudioEffect.java:501) 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.AudioEffect.(AudioEffect.java:475) 10-02 19:17:09.334 13949 13973 E flutter : at android.media.audiofx.LoudnessEnhancer.(LoudnessEnhancer.java:80) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.x0(Unknown Source:55) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.Y0(Unknown Source:42) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.C0(Unknown Source:61) 10-02 19:17:09.334 13949 13973 E flutter : at w4.d.I(Unknown Source:6) 10-02 19:17:09.334 13949 13973 E flutter : at v5.k$a.a(Unknown Source:17) 10-02 19:17:09.334 13949 13973 E flutter : at j5.c.l(Unknown Source:18) 10-02 19:17:09.334 13949 13973 E flutter : at j5.c.m(Unknown Source:41) 10-02 19:17:09.334 13949 13973 E flutter : at j5.c.i(Unknown Source:0) 10-02 19:17:09.334 13949 13973 E flutter : at j5.b.run(Unknown Source:12) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Handler.handleCallback(Handler.java:938) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Handler.dispatchMessage(Handler.java:99) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Looper.loopOnce(Looper.java:201) 10-02 19:17:09.334 13949 13973 E flutter : at android.os.Looper.loop(Looper.java:288) 10-02 19:17:09.334 13949 13973 E flutter : at android.app.ActivityThread.main(ActivityThread.java:7876) 10-02 19:17:09.334 13949 13973 E flutter : at java.lang.reflect.Method.invoke(Native Method) 10-02 19:17:09.334 13949 13973 E flutter : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 10-02 19:17:09.334 13949 13973 E flutter : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) 10-02 19:17:09.334 13949 13973 E flutter : ) 10-02 19:17:09.334 13949 13973 E flutter : #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648) 10-02 19:17:09.334 13949 13973 E flutter : #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #2 MethodChannelAudioPlayer.setAndroidAudioAttributes (package:just_audio_platform_interface/method_channel_just_audio.dart:168) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #3 AudioPlayer._internalSetAndroidAudioAttributes (package:just_audio/just_audio.dart:1201) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #4 AudioPlayer._setPlatformActive.setPlatform (package:just_audio/just_audio.dart:1443) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : #5 AudioEffect.setEnabled (package:just_audio/just_audio.dart:3785) 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:09.334 13949 13973 E flutter : 10-02 19:17:14.648 13949 14018 D ProfileInstaller: Skipping profile installation for com.unicornsonlsd.finamp

DethByte64 avatar Oct 05 '24 19:10 DethByte64

UPDATE: Fixed 0.9.6 and 0.9.11, (im sure that the versions in between will also work) after disabling Magisk Module Audio misc mods by zyhk.

This may be of help to others with the same issue.

DethByte64 avatar Oct 05 '24 20:10 DethByte64

UPDATE: Fixed 0.9.6 and 0.9.11, (im sure that the versions in between will also work) after disabling Magisk Module Audio misc mods by zyhk.

This may be of help to others with the same issue.

Thanks, this fixed it for me as well.

Maybe there is some kind of inbuilt equalizer in the latest beta builds that interfered with these tweaks.

YourSandwich avatar Oct 08 '24 01:10 YourSandwich

Given what @louislam found out, it could be that the issue is related to the queue being pre-loaded now in some cases. Seems like the magisk module doesn't handle that correctly. Is anyone without additional audio mods affected by this?

Also, we updated some dependencies, maybe it works in the latest beta?

Chaphasilor avatar Nov 13 '24 08:11 Chaphasilor

No change for me with 0.9.12, still launches to a black screen.

66mkiqdv avatar Nov 16 '24 18:11 66mkiqdv

0.9.12 here, problem confirmed. If I clear the data, it is launching and works ok (apart from the fact that I need to setup server again). Then in some time it stops opening. Will try getting more info.

formatBCE avatar Dec 14 '24 23:12 formatBCE

@formatBCE are you sure it's the same issue? Are you seeing the Finamp logo?
If yes, try force-closing the app instead of wiping data next time, that should be enough.

Chaphasilor avatar Dec 15 '24 07:12 Chaphasilor

@formatBCE are you sure it's the same issue? Are you seeing the Finamp logo?
If yes, try force-closing the app instead of wiping data next time, that should be enough.

Sometimes it's there, sometimes not. I tried force-closing both from resents and from app system settings. Also tried deleting the cache. Only wiping the data helps.

formatBCE avatar Dec 15 '24 07:12 formatBCE

That is interesting. @66mkiqdv have you every tried wiping the data? Probably not, since you got the black screen issue right after install...

Chaphasilor avatar Dec 15 '24 07:12 Chaphasilor

I haven't tried that as the app did not successfully launch. There has been another system update to the tablet since this issue was raised but it has unfortunately had no positive impact.

66mkiqdv avatar Dec 15 '24 16:12 66mkiqdv