revanced-manager
revanced-manager copied to clipboard
bug: fix youtube bug
Bug description
When patching youtube using default patch options, the patching fails.
Version of ReVanced Manager and version & name of app you are patching
ReVanced Manager 1.24.0(101800055) YouTube 20.12.46-1553610176_minAPI26
Installation method
None
ReVanced Manager logs
none
Patch logs
- Device Info
ReVanced Manager: 1.24.0
Model: RMX5010
Android version: 15
Supported architectures: arm64-v8a, armeabi-v7a, armeabi
Root permissions: No
- Patch Info
App: com.google.android.youtube v20.12.46 (Suggested: 20.12.46)
Patches version: v5.22.0
Patches added: Default
Patches removed: None
Default patch options changed: None
- Settings
Allow changing patch selection: true
Version compatibility check: true
Show universal patches: false
Patches source: revanced/revanced-patches
- Logs
Reading APK
Decoding app manifest
Loading patches
Deleting existing temporary files directory
Decoding resources
Initializing lookup maps
Executing patches
Applied 53 patches
Compiling modified resources
Aligning APK
An error occurred:
java.io.FileNotFoundException: /storage/emulated/0/Android/data/app.revanced.manager.flutter/files/revanced-manager.keystore: open failed: EACCES (Permission denied)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileInputStream.<init>(FileInputStream.java:179)
at app.revanced.library.ApkUtils.readPrivateKeyCertificatePairFromKeyStore(Unknown Source:8)
at app.revanced.library.ApkUtils.signApk(Unknown Source:32)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$34(Unknown Source:452)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$_NYn7P0Ss3RCL0-SqEFL-opMsQw(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(Unknown Source:18)
at java.lang.Thread.run(Thread.java:1012)
Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:9361)
at libcore.io.IoBridge.open(IoBridge.java:560)
... 7 more
Something went wrong:
PathNotFoundException: Cannot copy file to '/data/user/0/app.revanced.manager.flutter/files/lastPatchedApp.apk', path = '/data/user/0/app.revanced.manager.flutter/files/patcher/tmp-YVUYOF/out.apk' (OS Error: No such file or directory, errno = 2)
Acknowledgements
- [x] I have checked all open and closed bug reports and this is not a duplicate.
- [ ] I have chosen an appropriate title.
- [x] All requested information has been provided properly.
- [x] The bug is only related to ReVanced Manager.