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 #3546

Closed
3 tasks done
ghost opened this issue Aug 15, 2024 · 6 comments
Closed
3 tasks done

bug: Google photos patch failure #3546

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

Comments

@ghost
Copy link

ghost commented Aug 15, 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.2
    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
    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-ZJZLFC/revanced-temporary-files/apk/res, --legacy, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-ZJZLFC/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-ZJZLFC/revanced-temporary-files/apk/res, --legacy, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-ZJZLFC/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-ZJZLFC/out.apk' (OS Error: No such file or directory, errno = 2)

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 15, 2024
@ghost ghost closed this as completed Aug 15, 2024
@oSumAtrIX oSumAtrIX reopened this Aug 15, 2024
@mehapps

This comment was marked as duplicate.

@oSumAtrIX
Copy link
Member

Why does it say "applied 3 patches"? Theres only two. Please send a full video recording of these steps:

image

@oSumAtrIX oSumAtrIX added the Waiting on author Further information is requested label Aug 15, 2024
@n1cKz1
Copy link

n1cKz1 commented Aug 15, 2024

The 3rd is "Change package name" and it applies automatically even though I don't even have universal patches enabled. I get this exact same error.

@oSumAtrIX
Copy link
Member

Moving to ReVanced/revanced-manager#2142

@oSumAtrIX oSumAtrIX closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2024
@ghost
Copy link
Author

ghost commented Aug 16, 2024

screen-20240816-062409.mp4

@LisoUseInAIKyrios LisoUseInAIKyrios removed the Waiting on author Further information is requested label Aug 16, 2024
@bohranooru17

This comment was marked as spam.

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