revanced-manager
revanced-manager copied to clipboard
Stuck at "creating working directory"
Type
Error while running the manager
Bug description
Steps to reproduce
Open vanced manager Select youtube and any patch Wait
Android version
Idk?
Manager version
Version 0.0.39 (39)
Target package name
youtube stock
Target package version.
17.43.36
Installation type
Root
Patches selected.
First one
Device logs (exported using Manager settings).
No idea
Installer logs (exported using Installer menu option) [unneeded if issue is not during patching].
No response
Screenshots or videos
No response
Solution
No response
Additional context
No response
Acknowledgements
- [X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
- [x] I have written a short but informative title.
- [x] I filled out all of the requested information in this issue properly.
- [X] The issue is related solely to the ReVanced Manager
I have the same issue
Samsung One UI 4.1 (Android 12) Revanced manager 0.0.40
target package: youtube stock 17.43.36
Same issue, Android 13 One UI 5.
Clearing app data fixed it for me.
Clearing app data fixed it for me.
But it clears the Cert key too, that sucks. A possible workaround: https://github.com/revanced/revanced-manager/issues/563#issuecomment-1374569898 Though I can't test it now because I'm being hit by another bug: https://github.com/revanced/revanced-patches/issues/1552
Did you exit the app while it was patching?
Did you exit the app while it was patching?
Can't reproduce in this way.
Not sure what you are saying. Please explain.
Not sure what you are saying. Please explain.
I mean I tried to exit the app while patching as you said to reproduce this bug but I can't.
I asked wether you exited the app; I didn't say you should.
I asked wether you exited the app
No, I didn't.
Please attach a complete recording of the following steps to understand your issue better:
- Open and close ReVanced Manager
- Review the settings of ReVanced Manager
- Patch the app
I had the exact same issue. Out of desperation, I turned off Adguard and tried again, and it works!
So when stuck at creating work directory, it could be network issues. Try looking into that direction if you have the same problem.
The manager version mentioned in this issue is very old. But the bug is still existing till date? Are any of the solutions mentioned above are of help?
The manager version mentioned in this issue is very old. But the bug is still existing till date? Are any of the solutions mentioned above are of help?
Yes it still exists in the latest version, and I was able to fix it by turning off my VPN based adblocker(adguard).
The manager version mentioned in this issue is very old. But the bug is still existing till date? Are any of the solutions mentioned above are of help?
One workaround is reinstalling the app
Yes it still exists in the latest version, and I was able to fix it by turning off my VPN based adblocker(adguard).
Wouldn't that make it an issue of adguard and not the manager?
One workaround is reinstalling the app
Every time you're patching an app?
Every time you're patching an app?
Every time this issue occurs
Every time this issue occurs
And how often does that happen?
And how often does that happen?
i dont know
I can't reproduce it in recent releases.
Yes it still exists in the latest version, and I was able to fix it by turning off my VPN based adblocker(adguard).
Wouldn't that make it an issue of adguard and not the manager?
Yes and No. The issue with manager is that:
- It is not correctly communicating with the user. When it is stuck at "creating working directory", most normal user would not know what is happening, some advanced user would think it might be a permission issue, but as someone in the XDA forum post pointed out, the manager uses Android/data/*** directory which should not cause any permission issue. Then we as user are out of wit. But in reality the manager is downloading or connecting to the internet, when it shows "creating working directory". If it shows "downloading" or "connecting", then users would go and see if there is any problem with their connection.
- Since the manager is meant to be a user friendly GUI, I think it does not make any sense to have the progress hang forever unless the app itself crushed. In this case, the app is working, it is just unable to get the resources it needs to progress to the next step, and it is stuck there forever. A sensible thing to do is at least set a timeout, and maybe run a simple diagnostic and tell the user what to do.
There are multiple possibilities that could cause this problem, mine is just one of them. It happens in the latest version, and clearing data/cache or reinstalling app did not fix it for me.
There are multiple possibilities that could cause this problem, mine is just one of them. It happens in the latest version, and clearing data/cache or reinstalling app did not fix it for me.
Now that you know what caused issue on your side implies that this issue is clearly solved. Not everyone is having the same issue and if you've tried opening the app without internet at some point you'll know that the app requires internet to function, atleast that's how things are for now. If you want to apply what you said in the first two points that's a different case and would be a feature request and not a bug.
@oSumAtrIX or @Ushie, this bug report is no longer related to manager and can be closed right?
Are you sure this issue is solved?
Maybe the manager should stop when the connection is lost?
The app should not require any connection to begin with.
The app should not require any connection to begin with.
Is it correct? It definitely requires internet to download patches.
That shouldn't be a requirement. Choosing sources locally should be always available.
Ah yes, just checked again. Once the patch has been downloaded completely it could work without internet. So there still should be a check when patch is not available, I guess.