risporce / Supercell-jailbreak

A script to automatically remove the protection in Supercell games
201 stars 9 forks source link

Clash royale crashing on iOS 14.6 #14

Closed shahmirk99 closed 1 year ago

shahmirk99 commented 1 year ago

Hi, on my iPhone X 14.6, clash royale crashes after the intro screen. I see the supercell logo, the loading bar says 50% and it crashes

risporce commented 1 year ago

hi, can you contact me via discord or telegram with the crash logs ? if you don't have any of these you can also send it here and i will take a look at it to see what is the issue.

The first idea that comes to my mind when i hear you crash at 50% is exactly like the old clash royale jailbreak detection which happened to be at 50%, so did you delete the original Clash Royale app before installing this patched one ?

if you are certain that the crash is not caused by old application that may still be present in the system, clear app data with Apps Manager. A crash can happen when old cache is present and that it sends incorrect data to client which will not know how to handle it and crash

If all of this doesn't work, delete and re-install the patched clash royale and disable tweak injection with choicy, i've seen cases that some bad tweak crash the app.

shahmirk99 commented 1 year ago

Hello, so sorry for replying late! This email was in my spam. I can contact you on either place, but I’ve also attached the crash log in this email.

1) I did delete the original before installing the patched one, and I installed it using Troll Store on my jailbroken iOS 14.6.

2) To make sure all data is gone from the original app, I deleted your patched app, installed the one from app store, wiped all data with apps manager, then went to the folder and deleted the Clash Royale folder and then redownloaded your ipa.

3) Also tried both with and without “disable tweak injection” for CR through Choicy.

If you need the crash report from a different app, let me know and I’ll use that (cr4shed doesnt work on my phone, it crashes, ironically enough).

Also a huge thank you for taking the time to reply to the bug report and trying to fix this issue!

On Aug 10, 2023, at 12:18 PM, risporce @.***> wrote:

hi, can you contact me via discord or telegram with the crash logs ? if you don't have any of these you can also send it here and i will take a look at it to see what is the issue.

The first idea that comes to my mind when i hear you crash at 50% is exactly like the old clash royale jailbreak detection which happened to be at 50%, so did you delete the original Clash Royale app before installing this patched one ?

if you are certain that the crash is not caused by old application that may still be present in the system, clear app data with Apps Manager. A crash can happen when old cache is present and that it sends incorrect data to client which will not know how to handle it and crash

If all of this doesn't work, delete and re-install the patched clash royale and disable tweak injection with choicy, i've seen cases that some bad tweak crash the app.

— Reply to this email directly, view it on GitHub https://github.com/risporce/Supercell-jailbreak/issues/14#issuecomment-1673529464, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB25YDCO7H7LUWGARZXFGFTXUUCV3ANCNFSM6AAAAAA3LVBXSE. You are receiving this because you authored the thread.

risporce commented 1 year ago

I can't seem to be able to access your crash logs, both in email and github, it doesn't show the attachment and since you're telling me that all my suggestions didn't work, this is pretty much the last option for me to be able to know what's the crash reason

shahmirk99 commented 1 year ago

Does this link work? This is the text from the crash log, copy pasted into pastern:

https://pastebin.com/8uYDJmuW

On Aug 15, 2023, at 7:33 AM, risporce @.***> wrote:

I can't seem to be able to access your crash logs, both in email and github, it doesn't show the attachment and since you're telling me that all my suggestions didn't work, this is pretty much the last option for me to be able to know what's the crash reason

— Reply to this email directly, view it on GitHub https://github.com/risporce/Supercell-jailbreak/issues/14#issuecomment-1678786733, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB25YDCK62QV76NOMEYY4B3XVNNCLANCNFSM6AAAAAA3LVBXSE. You are receiving this because you authored the thread.

risporce commented 1 year ago

Perfect, thanks, I've look at it and it's really crashing at trying to load some textures/files it cannot process, but idk the reason as of right now. I can only tell you to try wipe all data with apps manager of the patched app even tho you probably tried already I've tried to reproduce the bug, I installed CR on my device with TrollStore but I have no issue.

Does this link work? This is the text from the crash log, copy pasted into pastern: https://pastebin.com/8uYDJmuW On Aug 15, 2023, at 7:33 AM, risporce @.***> wrote: I can't seem to be able to access your crash logs, both in email and github, it doesn't show the attachment and since you're telling me that all my suggestions didn't work, this is pretty much the last option for me to be able to know what's the crash reason — Reply to this email directly, view it on GitHub <#14 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB25YDCK62QV76NOMEYY4B3XVNNCLANCNFSM6AAAAAA3LVBXSE. You are receiving this because you authored the thread.

moxrow commented 1 year ago

I have very similar problem. Something about resolution not the same/not verified, and also definitely something happening about textures and notes on core foundation

it was working before, even after I did an iOS update. i7, 15.7.8 —> 15.7.9. I have plenty of free space.

but since I —restorefs, DFU and restore my iOS firmware to stock, this crash is happening now. Never happened before.

I even did another Restore, and this time tried clash from the AppStore and it worked, and I removed it. Then, but this ipa still resulted in the same errors. Nothing different.

Am I missing something important? Clash hasn’t been updated in a couple of weeks from the appstore, but ios dropped minor revisions.

Edit: I tried the usuals, cache, purge, remove, clean leftovers

moxrow commented 1 year ago

[warning] LogicStringUtil::convertToInt empty String [warning] read json from file: file not found /var/mobile/Containers/Data/Application/1FAE7811-DC02-4E2A-891F-F58F4D2D0010/Library/Caches/loading/info [warning] Messaging: expecting ServerHelloMessage during state 3 STATE_HANDSHAKE, received 20103 [warning] Login failed (error code = 7)

Edit: new log has this [ERROR] Trying to load too many textures from sc/ui.sc

risporce commented 1 year ago

I have very similar problem. Something about resolution not the same/not verified, and also definitely something happening about textures and notes on core foundation

it was working before, even after I did an iOS update. i7, 15.7.8 —> 15.7.9. I have plenty of free space.

but since I —restorefs, DFU and restore my iOS firmware to stock, this crash is happening now. Never happened before.

I even did another Restore, and this time tried clash from the AppStore and it worked, and I removed it. Then, but this ipa still resulted in the same errors. Nothing different.

Am I missing something important? Clash hasn’t been updated in a couple of weeks from the appstore, but ios dropped minor revisions.

Edit: I tried the usuals, cache, purge, remove, clean leftovers

I Assume you did re-jailbreak, you will have to first: delete all the patched Clash Royale app data with Apps Manager then install normal Clash Royale from App Store but never open it, only delete the data also with Apps Manager

Apps Manager also wipe the Keychain data of the app which is very important for Supercell's games so try this and if the error persist send, me full crash log and we'll investigate further

risporce commented 1 year ago

[warning] LogicStringUtil::convertToInt empty String [warning] read json from file: file not found /var/mobile/Containers/Data/Application/1FAE7811-DC02-4E2A-891F-F58F4D2D0010/Library/Caches/loading/info [warning] Messaging: expecting ServerHelloMessage during state 3 STATE_HANDSHAKE, received 20103 [warning] Login failed (error code = 7)

Edit: new log has this [ERROR] Trying to load too many textures from sc/ui.sc

check issue #15 for a fix

moxrow commented 1 year ago

Issue #15 helped me, thanks