Skip to content

bug: fix youtube bug #2524

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

Open
3 of 4 tasks
Gokou-Ruri opened this issue May 5, 2025 · 3 comments
Open
3 of 4 tasks

bug: fix youtube bug #2524

Gokou-Ruri opened this issue May 5, 2025 · 3 comments
Labels
Bug report Something isn't working

Comments

@Gokou-Ruri
Copy link

Gokou-Ruri commented May 5, 2025

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

  • 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.
@Gokou-Ruri Gokou-Ruri added the Bug report Something isn't working label May 5, 2025
@Ushie
Copy link
Member

Ushie commented May 5, 2025

Disable save last patched app and try again

Closing as a duplicate (don't have time to find the issue number to reference)

@Ushie Ushie closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2025
@oSumAtrIX
Copy link
Member

This is a different issue. The toggle doesn't cause any issues.

open failed: EACCES (Permission denied)

@oSumAtrIX oSumAtrIX reopened this May 5, 2025
@yuhouyanran

This comment has been minimized.

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
Projects
None yet
Development

No branches or pull requests

4 participants