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(Google Photos): Patching fails with an error #3555

Closed
3 tasks done
Subbarao6338 opened this issue Aug 16, 2024 · 2 comments
Closed
3 tasks done

bug(Google Photos): Patching fails with an error #3555

Subbarao6338 opened this issue Aug 16, 2024 · 2 comments
Labels
Bug report Something isn't working

Comments

@Subbarao6338
Copy link

Bug description

When I try to patch Google photos app via Revanced manager android, I am getting error mentioned in the error logs.
Poco F5, Android 14, Hyper os 1.10.
App version tested: 6.89, 6.95

Error logs

- Device Info
ReVanced Manager: 1.21.2
Model: 23049PCD8I
Android version: 14
Supported architectures: arm64-v8a, armeabi-v7a, armeabi
Root permissions: No

- Patch Info
App: com.google.android.apps.photos v6.95.0.663027175 (Suggested: Any)
Patches version: v4.13.3
Patches added: Default
Patches removed: None
Default patch options changed: None

- Settings
Allow changing patch selection: false
Version compatibility check: true
Show universal patches: false
Patches source: revanced/revanced-patches
Integration source: revanced/revanced-integrations

- Logs
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing temporary files directory
Decoding resources
Executing patches
Applied 3 patches
Compiling patched dex files
Compiled 8 dex files
Compiling modified resources
An error occurred:
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~I65PwLWuPinyEu0t1TsfZA==/app.revanced.manager.flutter--DKGHUlxzCfWU9tgnfTAqA==/lib/arm64/libaapt2.so, compile, --dir, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-DKVZHF/revanced-temporary-files/apk/res, --legacy, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-DKVZHF/revanced-temporary-files/apk/build/resources.zip]
	at brut.androlib.AaptInvoker.invokeAapt2(Unknown Source:144)
	at brut.androlib.AaptInvoker.invokeAapt(Unknown Source:106)
	at app.revanced.patcher.data.ResourceContext.get(SourceFile:0)
	at app.revanced.patcher.Patcher.get(SourceFile:0)
	at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:462)
	at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
	at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
	at java.lang.Thread.run(Thread.java:1012)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~I65PwLWuPinyEu0t1TsfZA==/app.revanced.manager.flutter--DKGHUlxzCfWU9tgnfTAqA==/lib/arm64/libaapt2.so, compile, --dir, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-DKVZHF/revanced-temporary-files/apk/res, --legacy, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-DKVZHF/revanced-temporary-files/apk/build/resources.zip]
	at brut.util.OS.exec(Unknown Source:75)
	at brut.androlib.AaptInvoker.invokeAapt2(Unknown Source:122)
	... 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/cache/patcher/tmp-DKVZHF/out.apk' (OS Error: No such file or directory, errno = 2)

Solution

No response

Additional context

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.
@Subbarao6338 Subbarao6338 added the Bug report Something isn't working label Aug 16, 2024
@LisoUseInAIKyrios LisoUseInAIKyrios changed the title Bug report (Google Photos) bug(Google photos): Patching fails with an error Aug 16, 2024
@LisoUseInAIKyrios
Copy link
Contributor

LisoUseInAIKyrios commented Aug 16, 2024

It's a bug with Manager.

ReVanced/revanced-manager#2142

For now you can patch using a computer and CLI tools and it will work.

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title bug(Google photos): Patching fails with an error bug(Google Photos): Patching fails with an error Aug 16, 2024
@oSumAtrIX oSumAtrIX closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2024
@Subbarao6338
Copy link
Author

Subbarao6338 commented Aug 16, 2024

Currently revanced photos app is not working. When I enable backup, it doesn't show any thing and not uploading any files, not showing things like percentage of storage space, unlimited storage etc.
Any solution for this?

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

3 participants