[Bug] Issue with Snapenhance feature
Steps to reproduce/复现步骤
- Patch snapchat with Snapenhance module
- Go to user interface > message indicator > enable adds a lock icon next to the messages that have been sent only to you
- Open snapchat, send a snap only to a single friend and ask them to send a snap only to you
- Lock icon will not appear or will appear for the snap which you have sent but not for the snap u have received
Expected behaviour/预期行为
Lock icon appears for the snap which you have received i.e the person have send snap only to you
Actual behaviour/实际行为
But lock icon is not appearing
It was working on official lspatch but suddenly it stopped working because lspatch started crashing and switched to forked version What i believe is patching conflicts or messing up with encryption keys ?
The se dev responded this but it is not working "When you log in, it generates an encryption key pair and this is sent to Snapchat servers, so other users receive your public key and then they can send you encrypted snaps. Their encryption is slightly different, but the concept remains the same." "The lock icon means that the Snap has been encrypted with fidelius encryption (usually between two users). If your friend has recently been added, the keys may not have been exchanged. Unfortunately I can't fix this, you can try reconnecting to your account that should regenerate those keys."
So can you take a look at it maybe lspatch is messing up with encryption?
Xposed Module List/Xposed 模块列表
SnapEnhance
LSPatch version/LSPatch 版本
0.6-421
Android version/Android 版本
14
Shizuku version/Shizuku 版本
13.5.4
Version requirement/版本要求
- [X] I am using latest debug CI version of LSPatch and enable verbose log/我正在使用最新 CI 调试版本且启用详细日志
Apk file/Apk 文件
No response
Logs/日志
# Replace this line with the log / 将此行用日志替换
Are you able to take logs using adb? Please first try the latest debug CI build, and then post your logs using
adb logcat -s AndroidRuntime LSPatch LSPosed LSPatch-MetaLoader LSPatch-SigBypass LSPosed-Bridge LSPlant LSPosedContext zygisk64 LSPlt Dobby LSPosedService '*:E' > lspatch.log
Remember to keep catching your logs till that your issue appears.
I ll check and post
Which method to use when patching Snapchat with Snapenhance? Loader dex enabled ?
I suggest not to check the option Inject loader dex.
Where are logs saved ? I am finding nothing
The command here https://github.com/JingMatrix/LSPatch/issues/15#issuecomment-2489317025
will save logs to a file lspatch.log.
Thats what i am saying there is no lspatch.log file i am finding !? Otherwise it usually saves log files in my platform tools folder but i am not finding it anywhere!
Could you please test if adb devices shows your device?
If that is correctly setup, then adb logcat will print your logs on screen.
Please provide screenshot so that I can see the errors or problems.
Provide the screenshots of your command so that I can help.
Does this print anything on your screen:
adb logcat -s AndroidRuntime LSPatch LSPosed LSPatch-MetaLoader LSPatch-SigBypass LSPosed-Bridge LSPlant LSPosedContext zygisk64 LSPlt Dobby LSPosedService '*:E'
Once again, provide your screenshot.
Does this print anything on your screen:
adb logcat -s AndroidRuntime LSPatch LSPosed LSPatch-MetaLoader LSPatch-SigBypass LSPosed-Bridge LSPlant LSPosedContext zygisk64 LSPlt Dobby LSPosedService '*:E'Once again, provide your screenshot.
yes alot of things.. but i found out that when i unplug the device with command on after that lspatch log file is saved.. i am uploading it
Instead of unpluging, you press Ctrl + C to terminate the recording of logs, which will then give you the log file.
The uploaded log is not completed, please record sufficient time to capture the problem of current issue.
wait
lspatch.log Log in which encrypted snap lock icon is showing
Log in which encrypted snap lock icon is showing You meant the issue is solved or what?
Log in which encrypted snap lock icon is showing You meant the issue is solved or what?
Encryption works if the other person logs in og lspatch and send snap Now i m not understanding how the key is getting exchanged?
If I understand correctly, for the encryption icon of recevied messages on A that are sent from B, we have different cases
- A no patch, B no patch, icon is shown;
- A patched with JingMatrix/LSPatch, B (unkown status ???), no icon is shown;
- A patched with JingMatrix/LSPatch, B patched with LSPosed/LSPatch, icon is shown;
Are these what happening currently?
I suggest you both to use latest JingMatrix/LSPatch from GitHub CI and tell me the result.
1 is incorrect because that icon is a feature of Snapenhance 2. True 3. True 4. Icon works if the other person first logged in lspatch then shifted to jingmatrix
Okay, it is not a problem of JingMatrix/LSPatch, which should better be used by both users.
Hey jingmatrix as for this problem i found a solution.. if i use npatch(based on jingmatrix lsposed) latest ci build lock icon works but not with jingmatrix lspatch.. how ? After a long time lock icon solution i found which used to work on stock lspatch.. look into this also !! What is the reason of this issue ?
Okay, it is not a problem of JingMatrix/LSPatch, which should better be used by both users.
It is the problem of jingmatrix lspatch.. which npatch latest update based on ur fork fixed .. don't know how !!