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 patch failure #3553

Closed
3 tasks done
ghost opened this issue Aug 16, 2024 · 9 comments
Closed
3 tasks done

bug: Google photos patch failure #3553

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

Comments

@ghost
Copy link

ghost commented Aug 16, 2024

Bug description

  • Device Info
    ReVanced Manager: 1.21.2
    Model: motorola edge 40 neo
    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/~~EvfpuadWrcieBWoZgH47-A==/app.revanced.manager.flutter-1YBuuhQOvghJtsCBY108AQ==/lib/arm64/libaapt2.so, compile, --dir, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-KLNBTR/revanced-temporary-files/apk/res, --legacy, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-KLNBTR/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/~~EvfpuadWrcieBWoZgH47-A==/app.revanced.manager.flutter-1YBuuhQOvghJtsCBY108AQ==/lib/arm64/libaapt2.so, compile, --dir, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-KLNBTR/revanced-temporary-files/apk/res, --legacy, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-KLNBTR/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-KLNBTR/out.apk' (OS Error: No such file or directory, errno = 2)

screen-20240816-062409.mp4

Error logs

No response

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.
@ghost ghost added the Bug report Something isn't working label Aug 16, 2024
@LisoUseInAIKyrios
Copy link
Contributor

#3546

@LisoUseInAIKyrios LisoUseInAIKyrios closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2024
@MustafaMemisogM

This comment has been minimized.

@pedrorj2

This comment has been minimized.

@yaayimanalien

This comment has been minimized.

@pedrorj2
Copy link

patch it on your PC instead of using your phone, worked great :)

@yaayimanalien
Copy link

i didn't face such luck. see attached screenshot

@pedrorj2
Copy link

Use this guide: https://sodawithoutsparkles.github.io/revanced-troubleshooting-guide/06-revanced-cli/

you should have something looking like this after all:

Image

@oSumAtrIX
Copy link
Member

These are invalid steps. The official documentation is present on the cli repository

@pedrorj2
Copy link

just trying to help mate :)

@oSumAtrIX oSumAtrIX marked this as a duplicate of #4170 Dec 20, 2024
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

5 participants