Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Unable to use selected keystore file #2274

Open
4 tasks done
MarcaDian opened this issue Oct 26, 2024 · 3 comments
Open
4 tasks done

bug: Unable to use selected keystore file #2274

MarcaDian opened this issue Oct 26, 2024 · 3 comments
Labels
Bug report Something isn't working Waiting on author Further information is requested

Comments

@MarcaDian
Copy link

MarcaDian commented Oct 26, 2024

Bug description

How to reproduse for example:

Go to Manager 1.22.0
Export keystore file
Go to Manager 1.23.0-dev.4
Import this keystore file
Got an error Unable to use selected keystore file


1.22.0 Keystore imported successfully

Screenrecorder-2024-10-26-21-34-47-763.mp4

1.23.0-dev.3 or dev.4

Screenrecorder-2024-10-26-21-34-23-448.mp4

Logs revanced-manager_logcat_20241026213809273977.log

Version of ReVanced Manager and version & name of app you are patching

1.23.0-dev.3 and 1.23.0-dev.4, maybe older versions

Installation method

None

ReVanced Manager logs

10-26 21:38:02.287 20875 20875 D FlutterFileDialogPlugin: onMethodCall - IN , method=pickFile
10-26 21:38:02.287 20875 20875 D FlutterFileDialogPlugin: createFileDialog - IN
10-26 21:38:02.287 20875 20875 D FlutterFileDialogPlugin: createFileDialog - OUT
10-26 21:38:02.287 20875 20875 D FileDialog: pickFile - IN, fileExtensionsFilter=null, mimeTypesFilter=null, localOnly=false, copyFileToCacheDir=true
10-26 21:38:02.308 20875 20875 D FileDialog: pickFile - OUT
10-26 21:38:02.340 20875 20875 D DecorView[]: onWindowFocusChanged hasWindowFocus false
10-26 21:38:02.906 20875 20905 I GED     : ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 29, oppidx_max 29, oppidx_min 0
10-26 21:38:02.909 20875 20904 I BufferQueueProducer: [SurfaceView[app.revanced.manager.flutter.debug/app.revanced.manager.flutter.MainActivity]#1(BLAST Consumer)1](id:518b00000001,api:1,p:20875,c:20875) disconnect: api 1
10-26 21:38:02.909 20875 20875 I BufferQueueProducer: [SurfaceView[app.revanced.manager.flutter.debug/app.revanced.manager.flutter.MainActivity]#1(BLAST Consumer)1](id:518b00000001,api:0,p:-1,c:20875) disconnect: api -1
10-26 21:38:02.913 20875 20898 I BufferQueueProducer: [ViewRootImpl[MainActivity]#0(BLAST Consumer)0](id:518b00000000,api:1,p:20875,c:20875) disconnect: api 1
10-26 21:38:02.919 20875 20875 I BLASTBufferQueue: [ViewRootImpl[MainActivity]#0] destructor()
10-26 21:38:02.919 20875 20875 I BufferQueueConsumer: [ViewRootImpl[MainActivity]#0(BLAST Consumer)0](id:518b00000000,api:0,p:-1,c:20875) disconnect
10-26 21:38:03.203 20875 21582 I BLASTBufferQueue: releaseBufferCallbackThunk bufferId:89657442304005 framenumber:2 blastBufferQueue is dead
10-26 21:38:03.215 20875 20898 I GED     : ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 29, oppidx_max 29, oppidx_min 0
10-26 21:38:04.315 20875 21693 D AppScoutStateMachine: 20875-ScoutStateMachinecreated
10-26 21:38:04.319 20875 20875 D FileDialog: Picked file: content://com.android.externalstorage.documents/document/primary%3ADownload%2FReVanced_Manager_keystore_2024-08-16_00_45_17.keystore
10-26 21:38:04.330 20875 20875 D FileDialog: Launch...
10-26 21:38:04.330 20875 20875 D FileDialog: Copy on background...
10-26 21:38:04.333 20875 21943 D FileDialog: Deleting existing destination file '/data/user/0/app.revanced.manager.flutter.debug/cache/ReVanced_Manager_keystore_2024-08-16_00_45_17.keystore'
10-26 21:38:04.334 20875 21943 D FileDialog: Copying 'content://com.android.externalstorage.documents/document/primary%3ADownload%2FReVanced_Manager_keystore_2024-08-16_00_45_17.keystore' to '/data/user/0/app.revanced.manager.flutter.debug/cache/ReVanced_Manager_keystore_2024-08-16_00_45_17.keystore'
10-26 21:38:04.339 20875 20875 I BufferQueueConsumer: [](id:518b00000002,api:0,p:-1,c:20875) connect: controlledByApp=false
10-26 21:38:04.339 20875 20875 I BLASTBufferQueue: [ViewRootImpl[MainActivity]#2] constructor()
10-26 21:38:04.340 20875 20898 I BufferQueueProducer: [ViewRootImpl[MainActivity]#2(BLAST Consumer)2](id:518b00000002,api:1,p:20875,c:20875) connect: api=1 producerControlledByApp=true
10-26 21:38:04.342 20875 20875 I BufferQueueConsumer: [](id:518b00000003,api:0,p:-1,c:20875) connect: controlledByApp=false
10-26 21:38:04.342 20875 20875 I BLASTBufferQueue: [SurfaceView[app.revanced.manager.flutter.debug/app.revanced.manager.flutter.MainActivity]#3] constructor()
10-26 21:38:04.343 20875 20904 I BLASTBufferQueue: [SurfaceView[app.revanced.manager.flutter.debug/app.revanced.manager.flutter.MainActivity]#1] destructor()
10-26 21:38:04.343 20875 20904 I BufferQueueConsumer: [SurfaceView[app.revanced.manager.flutter.debug/app.revanced.manager.flutter.MainActivity]#1(BLAST Consumer)1](id:518b00000001,api:0,p:-1,c:20875) disconnect
10-26 21:38:04.343 20875 20904 I BufferQueueProducer: [SurfaceView[app.revanced.manager.flutter.debug/app.revanced.manager.flutter.MainActivity]#3(BLAST Consumer)3](id:518b00000003,api:1,p:20875,c:20875) connect: api=1 producerControlledByApp=true
10-26 21:38:04.345 20875 20875 D SurfaceView: UPDATE Surface(name=SurfaceView[app.revanced.manager.flutter.debug/app.revanced.manager.flutter.MainActivity])/@0x10d7ac6, mIsProjectionMode = false
10-26 21:38:04.349 20875 20894 I BLASTBufferQueue: releaseBufferCallbackThunk bufferId:89657442304008 framenumber:249 blastBufferQueue is dead
10-26 21:38:04.368 20875 20875 D DecorView[]: onWindowFocusChanged hasWindowFocus true
10-26 21:38:04.378 20875 21582 I OpenGLRenderer: Davey! duration=8488ms; Flags=1, FrameTimelineVsyncId=99136471, IntendedVsync=2365885278073611, Vsync=2365885811406955, InputEventId=0, HandleInputStart=2365885813648685, AnimationStart=2365885813651147, PerformTraversalsStart=2365885813652070, DrawStart=2365885814222609, FrameDeadline=2365885314740278, FrameInterval=2365885813471839, FrameStartTime=16666667, SyncQueued=2365885816405609, SyncStart=2365885816533685, IssueDrawCommandsStart=2365885817073916, SwapBuffers=2365885827085378, FrameCompleted=2365893766870917, DequeueBufferDuration=5434077, QueueBufferDuration=1014769, GpuCompleted=2365893766870917, SwapBuffersCompleted=2365885830338224, DisplayPresentTime=481163673364, 
10-26 21:38:04.383 20875 21943 D FileDialog: Successfully copied file to '/data/user/0/app.revanced.manager.flutter.debug/cache/ReVanced_Manager_keystore_2024-08-16_00_45_17.keystore, bytes=3704'
10-26 21:38:04.383 20875 20875 D FileDialog: ...copied on background, result: /data/user/0/app.revanced.manager.flutter.debug/cache/ReVanced_Manager_keystore_2024-08-16_00_45_17.keystore
10-26 21:38:04.383 20875 20875 D FileDialog: ...launch
10-26 21:38:04.396 20875 20875 D CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10454; state: ENABLED
10-26 21:38:04.430 20875 20875 D ViewRootImpl[Toast]: hardware acceleration = true, sRendererEnabled = true, forceHwAccelerated = false
10-26 21:38:04.453 20875 20875 I BufferQueueConsumer: [](id:518b00000004,api:0,p:-1,c:20875) connect: controlledByApp=false
10-26 21:38:04.454 20875 20875 I BLASTBufferQueue: [ViewRootImpl[Toast]#4] constructor()
10-26 21:38:04.455 20875 20898 I BufferQueueProducer: [ViewRootImpl[Toast]#4(BLAST Consumer)4](id:518b00000004,api:1,p:20875,c:20875) connect: api=1 producerControlledByApp=true
10-26 21:38:07.904 20875 20898 I BufferQueueProducer: [ViewRootImpl[Toast]#4(BLAST Consumer)4](id:518b00000004,api:1,p:20875,c:20875) disconnect: api 1
10-26 21:38:07.904 20875 20875 D View    : [Warning] assignParent to null: this = android.widget.FrameLayout{49fa438 V.E...... ......ID 0,0-702,109}
10-26 21:38:07.904 20875 20875 I BLASTBufferQueue: [ViewRootImpl[Toast]#4] destructor()
10-26 21:38:07.905 20875 20875 I BufferQueueConsumer: [ViewRootImpl[Toast]#4(BLAST Consumer)4](id:518b00000004,api:0,p:-1,c:20875) disconnect
10-26 21:38:08.271 20875 21693 I BLASTBufferQueue: releaseBufferCallbackThunk bufferId:89657442304015 framenumber:1 blastBufferQueue is dead

Patch logs

No response

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • The bug is only related to ReVanced Manager.
@MarcaDian MarcaDian added the Bug report Something isn't working label Oct 26, 2024
@oSumAtrIX
Copy link
Member

Logs don't contain anything useful. Is this a keystore generated by ReVanced Manager

@oSumAtrIX oSumAtrIX added the Waiting on author Further information is requested label Oct 26, 2024
@MarcaDian
Copy link
Author

MarcaDian commented Oct 26, 2024

Is this a question?
Yes, for example, I generate a new keystore, export it, try to re-import, and get this error.
Edit: When I do the same with 1.22.0 everything ok, keystore imported without problems.

Screenrecorder-2024-10-26-22-39-35-511.mp4

@MarcaDian
Copy link
Author

MarcaDian commented Oct 27, 2024

During testing, I found if remove the word .debug from the package name app.revanced.manager.flutter.debug, then everything works as it should, keystore will import successfully.
I don't understand why, but it really works 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working Waiting on author Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants