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

Snapchat keeps crashing/won't open #1215

Open
4 tasks done
nandish-jha opened this issue Aug 21, 2024 · 47 comments
Open
4 tasks done

Snapchat keeps crashing/won't open #1215

nandish-jha opened this issue Aug 21, 2024 · 47 comments
Labels
bug Something isn't working

Comments

@nandish-jha
Copy link

Description

I am stuck at Snapchat opening logo screen. I have tried installing various versions of Snapchat and the whole process again and again with LSPatch and SnapEnhance. Still the same issue.

Reproduction steps

  1. Installing the APK for SnapEnhance, LSPatch and tried using APK and play store application for Snapchat.
  2. Get Shizuku ready and running. Give LSPatch Shizuku permission.
  3. Open LSPatch and do the procedure.
  4. Once the integrated moded Snapchat is installed, open Snapchat.
  5. Getting stuck at the opening logo screen.

Logs

No response

Snapchat Version

13.3.0.42 and 12.93.0.43 and 12.81.0.44

SnapEnhance Version

2.0.1

Agreement

  • This is not a bug regarding Snapchat+.
  • I have provided a detailed description of the issue.
  • I have attached a log if deemed necessary.
  • This issue is not a duplicate.
@nandish-jha nandish-jha added the bug Something isn't working label Aug 21, 2024
@kUltraduce
Copy link

I'm having the same problem

@Fishman456
Copy link

Same

@Beingzain
Copy link

Disable Security Features In SE Setting ✓
Used the latest Lspatch fork ✓

@nandish-jha
Copy link
Author

nandish-jha commented Aug 24, 2024

What do you exactly mean by "Disable Security Features In SE Setting" ??? @Beingzain

@nandish-jha
Copy link
Author

Still not working.

@Beingzain
Copy link

What's your android version

@nandish-jha
Copy link
Author

nandish-jha commented Aug 25, 2024 via email

@shadowking1443
Copy link

Also having this issue. Pixel 7 Pro running Android 14.

@rhunk
Copy link
Owner

rhunk commented Aug 28, 2024

Can someone try the latest ci build? https://github.com/rhunk/SnapEnhance/actions/runs/10585181221

@nandish-jha
Copy link
Author

Can someone try the latest ci build? https://github.com/rhunk/SnapEnhance/actions/runs/10585181221

Not sure how to do that.

@shadowking1443
Copy link

Can someone try the latest ci build? https://github.com/rhunk/SnapEnhance/actions/runs/10585181221

Just tried it, and the issue persists still. Not sure if this is a SnapEnhance issue, or a failure in how LSPatch is patching since it hasn't been updated.

@MatisAgr
Copy link

MatisAgr commented Aug 30, 2024

I managed to fix the problem by deleting the app's cache and data (I think there were traces of the old version left)

• S23u - Android 14
• LSPatch 0.6
• Snapenhance 2.0.1
• Snapchat 12.81.0.44 on APKPure

@kUltraduce
Copy link

I managed to fix the problem by deleting the app's cache and data (I think there were traces of the old version left)

• S23u - Android 14
• LSPatch 0.6
• Snapenhance 2.0.1
• Snapchat 12.81.0.44 on APKPure

how did you delete the old version's cache?

@MatisAgr
Copy link

MatisAgr commented Aug 30, 2024

Screen_Recording_20240830_155151_Settings.mp4

It's like you want to do on any application via the application manager.
Since both applications have the same package name, the cache and data are shared between them.

@nandish-jha
Copy link
Author

Screen_Recording_20240830_155151_Settings.mp4

It's like you want to do on any application via the application manager.
Since both applications have the same package name, the cache and data are shared between them.

I think this issue is only occurring on pixel phones. I have a Samsung device. If I do the steps on that, I don't even need to clear the cache. Or works fine on that. Just the pixel devices.

@MatisAgr
Copy link

Screen_Recording_20240830_155151_Settings.mp4

It's like you want to do on any application via the application manager.
Since both applications have the same package name, the cache and data are shared between them.

I think this issue is only occurring on pixel phones. I have a Samsung device. If I do the steps on that, I don't even need to clear the cache. Or works fine on that. Just the pixel devices.

For my part I was blocked on the connection page (with my identifiers already identified) the application told me that my connection was fraudulent or that my account was blocked .
I was afraid of the ban 🙃

@shadowking1443
Copy link

Screen_Recording_20240830_155151_Settings.mp4

It's like you want to do on any application via the application manager.
Since both applications have the same package name, the cache and data are shared between them.

Unfortunately, this didn't work for me either. It may be isolated to Pixel phones... I'm on a Pixel 7 Pro running Android 14

🤞for a fix

@god-speed47
Copy link

I'm running a Google Pixel 8 Pro and I'm having the same issue

Screen_Recording_20240830_155151_Settings.mp4

It's like you want to do on any application via the application manager.
Since both applications have the same package name, the cache and data are shared between them.

Unfortunately, this didn't work for me either. It may be isolated to Pixel phones... I'm on a Pixel 7 Pro running Android 14

🤞for a fix

@htocqueville
Copy link

Same here with a pixel 7 on android 14 stable. I've tried every methods shown on the internet but nothing seems to be working...

@saugatshakya
Copy link

Same here with pixel 6

@GIT-Radeth
Copy link

GIT-Radeth commented Sep 4, 2024

I have the same issue on a OnePlus Nord 3. Tried reinstall and activate via lsposed. Stuck at opening the app.

@kamharry
Copy link

kamharry commented Sep 8, 2024

https://nightly.link/JingMatrix/LSPatch/actions/runs/10714678100

Use debug build

Patch with this and optimize in lspatch, whoever is facing any crash or login issue

@shadowking1443
Copy link

shadowking1443 commented Sep 8, 2024

https://nightly.link/JingMatrix/LSPatch/actions/runs/10714678100

Use debug build

Patch with this and optimize in lspatch, whoever is facing any crash or login issue

Thanks for this, I was able to patch! As a side note, it doesn't seem to let me log in if the security features for SnapEnhance are enabled. Is that an issue? SE V2.1.0

Additionally, the menu cog wheel in the Snapchat app for SE does not appear to work

@nandish-jha

This comment was marked as off-topic.

@kamharry
Copy link

@shadowking1443 try this updated build

https://nightly.link/JingMatrix/LSPatch/actions/runs/10835509931

Use debug version

@iGamerrr
Copy link

hey so i have same problem i tried updated build but it still keeps crashing

@htocqueville

This comment has been minimized.

@kamharry

This comment has been minimized.

@kamharry
Copy link

@iGamerrr try the build that is released yesterday

https://github.com/JingMatrix/LSPatch/actions/runs/10888848425

@iGamerrr
Copy link

also i uninstalled snapchat and now i cant install it again is there any solution?

@kamharry
Copy link

@iGamerrr uninstall with adb

@TheSirTigerr
Copy link

I get the error that the account is locked.
And when I try it with the official Snapchat app it works.

Can someone Please Help me?

@MatisAgr
Copy link

MatisAgr commented Sep 23, 2024

Screen_Recording_20240830_155151_Settings.mp4

It's like you want to do on any application via the application manager.
Since both applications have the same package name, the cache and data are shared between them.

For my part I was blocked on the connection page (with my identifiers already identified) the application told me that my connection was fraudulent or that my account was blocked . I was afraid of the ban 🙃

I get the error that the account is locked. And when I try it with the official Snapchat app it works.

Can someone Please Help me?

Look at my comment up

@TheSirTigerr
Copy link

Screen_Recording_20240830_155151_Settings.mp4
It's like you want to do on any application via the application manager.
Since both applications have the same package name, the cache and data are shared between them.

For my part I was blocked on the connection page (with my identifiers already identified) the application told me that my connection was fraudulent or that my account was blocked . I was afraid of the ban 🙃

I get the error that the account is locked. And when I try it with the official Snapchat app it works.
Can someone Please Help me?

Look at my comment up

I did read it but i didn't find a solution.

@TheSirTigerr
Copy link

Screen_Recording_20240830_155151_Settings.mp4
It's like you want to do on any application via the application manager.
Since both applications have the same package name, the cache and data are shared between them.

For my part I was blocked on the connection page (with my identifiers already identified) the application told me that my connection was fraudulent or that my account was blocked . I was afraid of the ban 🙃

I get the error that the account is locked. And when I try it with the official Snapchat app it works.
Can someone Please Help me?

Look at my comment up

I did read it but i didn't find a solution.

I found a solution:

Here's the fix for non root users
When using Shizuku / LSPatch
After selecting which app you want to modify (in this case Snapchat)

Choose Local not Integrated mode
Disable (uncheck) SnapEnhance from the modules
Login to Snapchat
Back to LSPatch, enable the SnapEnhance module
Force Stop Snapchat
Open Snapchat, and you'll see it working.
Enjoy.

This was referenced Sep 26, 2024
@sirzento
Copy link

sirzento commented Oct 1, 2024

Is there also a solution for rooted users?

@rhunk rhunk changed the title Stuck at Snapchat opening logo screen. Snapchat keeps crashing/won't open Oct 6, 2024
@suryadip2008
Copy link
Contributor

Is there also a solution for rooted users?

Check this comment: #1265 (comment)

@zax4r0
Copy link

zax4r0 commented Oct 8, 2024

same steps #1215 (comment)

Android 14

AndroidRuntime: usap64                               E  FATAL EXCEPTION: main
Process: com.snapchat.android, PID: 4700

java.lang.RuntimeException: Unable to instantiate application com.snap.mushroom.app.MushroomApplication package com.snapchat.android: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1475)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
    
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:637)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
    at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76)
    at android.app.Instrumentation.newApplication(Instrumentation.java:1356)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1468)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

@suryadip2008
Copy link
Contributor

same steps #1215 (comment)

Android 14

AndroidRuntime: usap64                               E  FATAL EXCEPTION: main
Process: com.snapchat.android, PID: 4700

java.lang.RuntimeException: Unable to instantiate application com.snap.mushroom.app.MushroomApplication package com.snapchat.android: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1475)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
    
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:637)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
    at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76)
    at android.app.Instrumentation.newApplication(Instrumentation.java:1356)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1468)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

Try this: #1265 (comment)

@zax4r0
Copy link

zax4r0 commented Oct 8, 2024

same steps #1215 (comment)
Android 14

AndroidRuntime: usap64                               E  FATAL EXCEPTION: main
Process: com.snapchat.android, PID: 4700

java.lang.RuntimeException: Unable to instantiate application com.snap.mushroom.app.MushroomApplication package com.snapchat.android: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1475)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
    
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:637)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
    at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76)
    at android.app.Instrumentation.newApplication(Instrumentation.java:1356)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1468)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

Try this: #1265 (comment)


It worked, thanks 👍. However, now I can't log in using the patched app. I receive the following error:
"Due to repeated failed attempts or other unusual activity, your access to Snapchat is temporarily disabled. Learn more."
The original app works fine, though.

I also noticed this message in logs while trying to log in: 👇

version 12.81.0.37 Beta
com.snapchat.android

E  Package [com.snapchat.android] reported as REPLACED, but missing application info. Assuming REMOVED.

I was able to restore the old Snapchat data from SwiftBackup, enabled "Prevent Force Logout," logged out manually, and then logging in again worked.

@MatisAgr
Copy link

MatisAgr commented Oct 9, 2024

same steps #1215 (comment)
Android 14

AndroidRuntime: usap64                               E  FATAL EXCEPTION: main
Process: com.snapchat.android, PID: 4700

java.lang.RuntimeException: Unable to instantiate application com.snap.mushroom.app.MushroomApplication package com.snapchat.android: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1475)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
    
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:637)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
    at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76)
    at android.app.Instrumentation.newApplication(Instrumentation.java:1356)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1468)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

Try this: #1265 (comment)

It worked, thanks 👍. However, now I can't log in using the patched app. I receive the following error: "Due to repeated failed attempts or other unusual activity, your access to Snapchat is temporarily disabled. Learn more." The original app works fine, though.

I also noticed this message in logs while trying to log in: 👇

version 12.81.0.37 Beta com.snapchat.android

E  Package [com.snapchat.android] reported as REPLACED, but missing application info. Assuming REMOVED.

I was able to restore the old Snapchat data from SwiftBackup, enabled "Prevent Force Logout," logged out manually, and then logging in again worked.

For the logging you just need to delete data and cache and it's done :)

@Hemant881
Copy link

same steps #1215 (comment)

Android 14

AndroidRuntime: usap64                               E  FATAL EXCEPTION: main
Process: com.snapchat.android, PID: 4700

java.lang.RuntimeException: Unable to instantiate application com.snap.mushroom.app.MushroomApplication package com.snapchat.android: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1475)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
    
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:637)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
    at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76)
    at android.app.Instrumentation.newApplication(Instrumentation.java:1356)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1468)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

Where to use this and how?

@TakenMC
Copy link

TakenMC commented Oct 23, 2024

I got it working

LSPatch: Latest CI build from actions https://github.com/JingMatrix/LSPatch
SE: Latest debug version from actions
SC: Recommend version from readme

I also cleared the data from SE and optimized app in LSPatch

Device: S24 Ultra

Just the only issue is that the snapenhance menu button doesn't show up so you gotta configure from the SE app

@FishAndFire
Copy link

FishAndFire commented Oct 27, 2024

same steps #1215 (comment)
Android 14

AndroidRuntime: usap64                               E  FATAL EXCEPTION: main
Process: com.snapchat.android, PID: 4700

java.lang.RuntimeException: Unable to instantiate application com.snap.mushroom.app.MushroomApplication package com.snapchat.android: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1475)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
    
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.snap.mushroom.app.MushroomApplication" on path: DexPathList[[zip file "/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk"], nativeLibraryDirectories=[/data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/lib/arm64, /data/app/~~G50MvjnFFNzNH2ijPSmTZQ==/com.snapchat.android-RMDQSVa9BjNJF41EXqkVqw==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:637)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
    at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76)
    at android.app.Instrumentation.newApplication(Instrumentation.java:1356)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1468)
    at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1400)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7362)
    at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2379)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8595)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

Try this: #1265 (comment)

It worked, thanks 👍. However, now I can't log in using the patched app. I receive the following error: "Due to repeated failed attempts or other unusual activity, your access to Snapchat is temporarily disabled. Learn more." The original app works fine, though.
I also noticed this message in logs while trying to log in: 👇
version 12.81.0.37 Beta com.snapchat.android

E  Package [com.snapchat.android] reported as REPLACED, but missing application info. Assuming REMOVED.

I was able to restore the old Snapchat data from SwiftBackup, enabled "Prevent Force Logout," logged out manually, and then logging in again worked.

For the logging you just need to delete data and cache and it's done :)

Nope it doesn't work out for my friend. He uses a Realme GT 5G running Realme UI 5.0 A14.

Project_10-27_HD.720p_MEDIUM_FR25.mp4

@Patient6038
Copy link

to modify (in this case Snapchat)

Choose Local not Integrated mode

still crashes to me with pixel 8 pro.

@ktran-1
Copy link

ktran-1 commented Dec 22, 2024

i finally got it working on pixel 6 pro, android 15
SE v2.0.1
Snap 12.81.0.44

in settings -> apps -> se
press the 3 dot menu and allow restricted permissions
and then enable display over other apps

@Patient6038
Copy link

i finally got it working on pixel 6 pro, android 15 SE v2.0.1 Snap 12.81.0.44

in settings -> apps -> se press the 3 dot menu and allow restricted permissions and then enable display over other apps

I wonder if im installing it the right way or not. I use the non-root method, made sure to do that even tho snapchat with the module was installed, and It still crashed as soon as I opened snapchat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests