mirror of
https://github.com/LiveContainer/LiveContainer.git
synced 2026-04-25 09:05:53 +03:00
[GH-ISSUE #195] [BUG] LiveContainer broken on iOS 18.2 beta 1 #173
Labels
No labels
bug
compatibility
enhancement
multitasking
pull-request
safe area
status: broken
status: usable
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LiveContainer#173
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joshrad-dev on GitHub (Oct 23, 2024).
Original GitHub issue: https://github.com/LiveContainer/LiveContainer/issues/195
Describe the bug
I tried opening an app using JIT-less and it crashes over and over.
Instructions to reproduce
Try opening app installed with JITless on iOS 18.2 beta, app will crash
What version of LiveContainer are you using?
3.0.0
Other info
[FBSSystemService][0x85eb] Error handling open request for com.kdt.livecontainer.RCP44SHT3W: <NSError: 0xad683ea90; domain: FBSOpenApplicationServiceErrorDomain; code: 1 ("RequestDenied"); "The request was denied by service delegate (SBMainWorkspace) for reason: Security ("Application com.kdt.livecontainer.RCP44SHT3W is neither visible nor entitled, so may not perform un-trusted user actions")."> {
FBSOpenApplicationRequestID = 0x85eb;
NSLocalizedDescription = The request to open "com.kdt.livecontainer.RCP44SHT3W" failed.;
NSUnderlyingError = <NSError: 0xad683db60; domain: FBSOpenApplicationErrorDomain; code: 3 ("Security"); "Application com.kdt.livecontainer.RCP44SHT3W is neither visible nor entitled, so may not perform un-trusted user actions.">;
}
[FBSSystemService][0xc2b3] Error handling open request for com.kdt.livecontainer.RCP44SHT3W: <NSError: 0xad683e7c0; domain: FBSOpenApplicationServiceErrorDomain; code: 4 ("InvalidRequest")> {
FBSOpenApplicationRequestID = 0xc2b3;
NSLocalizedDescription = The request to open "com.kdt.livecontainer.RCP44SHT3W" failed.;
NSUnderlyingError = <NSError: 0xad683c720; domain: FBSOpenApplicationErrorDomain; code: 3 ("Security"); "Sandbox check failed for process (LiveContainer_P:377) openURL not allowed">;
}
@fruitbow1 commented on GitHub (Oct 24, 2024):
Can confirm this (same error) 16 pro max (18.2b1)
@Sid6355 commented on GitHub (Oct 24, 2024):
Yes, its gone, apps dont work anymore, just a blank screen
@khanhduytran0 commented on GitHub (Oct 24, 2024):
Does home screen shortcut work?
@DMDCR commented on GitHub (Oct 25, 2024):
i just updated, if i knew i wouldn'tve 😭😭
@Sid6355 commented on GitHub (Oct 25, 2024):
Nah bro, nothing, in fact, after opening an app, black blank screen comes up, then after a minute or two livcontainer itself starts crashing and does not open. Uninstalled and then re-installed livecontainer but no solution. Seems like 18.2 broke it somewhere.
@hugeBlack commented on GitHub (Oct 25, 2024):
Seems like some deadlock happened and LiveContainer was killed by watchdog for failing to initialize after certain amount of time.
@Sid6355 commented on GitHub (Oct 25, 2024):
Most likely, ios/macos updates like to break apps somehow
@w2wewwww commented on GitHub (Oct 26, 2024):
Now the majority of my most used Apps dead🥲
@Mspy1 commented on GitHub (Oct 29, 2024):
Any updates?
@DMDCR commented on GitHub (Nov 4, 2024):
Is it fixed on 18.2 beta 2? if so, im gonna update to that from 18.1
@hugeBlack commented on GitHub (Nov 5, 2024):
I'm currently on iPad OS 18.2 beta2, iPad 7 non-jailbroken and live container worked fine. All my apps launched successfully. Can anyone verify this?
@Sid6355 commented on GitHub (Nov 5, 2024):
Nope, iPhone 15 Pro Max, iOS 18.2 beta 2, still the same problem. As soon as an app is opened, black screen and closes, and if any other app is opened, live container itself crashes multiple times after which it does not open- and crashes, no solution even if uninstalled and re-installed.
@hugeBlack commented on GitHub (Nov 5, 2024):
Thank you for your response @Sid6355. That's so weird, since I assume all devices should share the same build and have same behavior since this has nothing to do with Apple Intelligence. Unfortunately I don't have iPhone 15 Pro / iPhone 16 so there's little I can do. Can anyone test this with older devices and iPads?
@khanhduytran0 do you have any idea?
@khanhduytran0 commented on GitHub (Nov 5, 2024):
I don’t know really, I don’t have iOS 18.2 device to try this.
I guess Apple fixed something to prevent ghost app from launching url scheme, or something else.
Perhaps check Analytics Data?
@boa-z commented on GitHub (Nov 5, 2024):
I have tested on iPad 9 iPadOS 18.2 beta 2 and encounter same problem. Following is the error report:
Translated Report (Full Report Below)
Incident Identifier: 01D8DC6D-E6B6-4FD1-9E26-BBD654ABE9C5
CrashReporter Key: ecd3cf24807beb782ac53e003479eef39c25b7c5
Hardware Model: iPad12,1
Process: LiveContainer_PleaseDoNotShortenTheExecutableNameBecauseItIsUsed [677]
Path: /private/var/containers/Bundle/Application/3FFD4D99-E24B-4681-B171-CEAF181CC5FD/App.app/LiveContainer_PleaseDoNotShortenTheExecutableNameBecauseItIsUsedToReserveSpaceForOverwritingThankYou
Identifier: com.kdt.livecontainer.RWJX4CX269
Version: 3.0.0 (3.0.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.kdt.livecontainer.RWJX4CX269 [487]
Date/Time: 2024-11-05 21:50:02.8790 +0800
Launch Time: 2024-11-05 21:50:02.8744 +0800
OS Version: iPhone OS 18.2 (22C5125e)
Release Type: Beta
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGKILL)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x00000001ed8ec0e0
Exception Codes: 0x0000000000000002, 0x00000001ed8ec0e0
VM Region Info: 0x1ed8ec0e0 is in 0x1ed8ec050-0x1ed930050; bytes after start: 144 bytes before end: 278383
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
mapped file 1ed8ec000-1ed8ec050 [ 80] r--/rw- SM=COW Object_id=a660e7d4
---> __TPRO_CONST 1ed8ec050-1ed930050 [ 272K] r--/rw- SM=COW /usr/lib/dyld
mapped file 1ed930050-1ed934000 [ 16K] r--/rw- SM=COW Object_id=a660e7d4
Termination Reason: <0x2A> 2
Triggered by Thread: 0
Thread 0 Crashed:
0 dyld 0x1ac8f9df4 lsl::PreallocatedAllocatorLayout<278528ull>::init(char const**, char const**, void*) + 436
1 dyld 0x1ac8f6aec start + 1960
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x2010003030100000 x1: 0x0000000fffffc0d0 x2: 0x0000000000000001 x3: 0x00000001ac8cadec
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x2010003030100000 x9: 0x2010003030100000 x10: 0x000000016aea7dfa x11: 0x00000001ac93ba20
x12: 0x0000000000000050 x13: 0x0000000000000044 x14: 0x0000000000052000 x15: 0x0000000000000000
x16: 0x0000000000000000 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000182dec000
x20: 0x000000016aea7a98 x21: 0x000000016aea7a48 x22: 0x00000001ed8ec050 x23: 0x000000016aea7728
x24: 0x0000000fffffc10c x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016aea77c0 lr: 0x00000001ac8f9c74
sp: 0x000000016aea7720 pc: 0x00000001ac8f9df4 cpsr: 0x60000000
far: 0x00000001ed8ec0e0 esr: 0x92000047 (Data Abort) byte write Translation fault
Binary Images:
0x1ac8c7000 - 0x1ac94a13f dyld arm64e /usr/lib/dyld
0x104f58000 - 0x104f67fff main_executable_path_missing arm64 /main_executable_path_missing
0x0 - 0xffffffffffffffff ??? unknown-arch <00000000000000000000000000000000> ???
Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
EOF
Full Report
{"app_name":"LiveContainer_PleaseDoNotShortenTheExecutableNameBecauseItIsUsed","timestamp":"2024-11-05 21:50:02.00 +0800","app_version":"3.0.0","slice_uuid":"fb6513ef-363e-31a9-b5d3-141ed4f8e3b9","build_version":"3.0.0","platform":0,"bundleID":"com.kdt.livecontainer.RWJX4CX269","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"iPhone OS 18.2 (22C5125e)","roots_installed":0,"name":"LiveContainer_PleaseDoNotShortenTheExecutableNameBecauseItIsUsed","incident_id":"01D8DC6D-E6B6-4FD1-9E26-BBD654ABE9C5"}
{
"uptime" : 1200,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "iPad12,1",
"coalitionID" : 487,
"osVersion" : {
"isEmbedded" : true,
"train" : "iPhone OS 18.2",
"releaseType" : "Beta",
"build" : "22C5125e"
},
"captureTime" : "2024-11-05 21:50:02.8790 +0800",
"codeSigningMonitor" : 1,
"incident" : "01D8DC6D-E6B6-4FD1-9E26-BBD654ABE9C5",
"pid" : 677,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-11-05 21:50:02.8744 +0800",
"procStartAbsTime" : 29856053023,
"procExitAbsTime" : 29856120937,
"procName" : "LiveContainer_PleaseDoNotShortenTheExecutableNameBecauseItIsUsed",
"procPath" : "/private/var/containers/Bundle/Application/3FFD4D99-E24B-4681-B171-CEAF181CC5FD/App.app/LiveContainer_PleaseDoNotShortenTheExecutableNameBecauseItIsUsedToReserveSpaceForOverwritingThankYou",
"bundleInfo" : {"CFBundleShortVersionString":"3.0.0","CFBundleVersion":"3.0.0","CFBundleIdentifier":"com.kdt.livecontainer.RWJX4CX269"},
"storeInfo" : {"deviceIdentifierForVendor":"334A17DA-7AC8-4A4B-B74D-E598C916D385","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.kdt.livecontainer.RWJX4CX269",
"crashReporterKey" : "ecd3cf24807beb782ac53e003479eef39c25b7c5",
"appleIntelligenceStatus" : {"state":"unavailable","reasons":["accessNotGranted","regionIneligible","deviceNotCapable","countryLocationIneligible","siriAssetIsNotReady","assetIsNotReady","notOptedIn"]},
"wasUnlockedSinceBoot" : 1,
"isLocked" : 0,
"codeSigningID" : "com.kdt.livecontainer.RWJX4CX269",
"codeSigningTeamID" : "RWJX4CX269",
"codeSigningFlags" : 570434309,
"codeSigningValidationCategory" : 3,
"codeSigningTrustLevel" : 6,
"instructionByteStream" : {"beforePC":"qAAAteADF6oBAIBSmWYAlOgOQPkIBQCR6A4A+aCDXPhFrf+XAOQAbw==","atPC":"wIIErcCCA63AggKtwIIBrcCCAK3AAoA94AMWqgEAiFKBAKBy4gMVqg=="},
"bootSessionUUID" : "A084AB88-688F-42D3-B9E5-2AE7F0D3C0E6",
"vmRegionInfo" : "0x1ed8ec0e0 is in 0x1ed8ec050-0x1ed930050; bytes after start: 144 bytes before end: 278383\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n mapped file 1ed8ec000-1ed8ec050 [ 80] r--/rw- SM=COW Object_id=a660e7d4\n---> __TPRO_CONST 1ed8ec050-1ed930050 [ 272K] r--/rw- SM=COW /usr/lib/dyld\n mapped file 1ed930050-1ed934000 [ 16K] r--/rw- SM=COW Object_id=a660e7d4",
"exception" : {"codes":"0x0000000000000002, 0x00000001ed8ec0e0","rawCodes":[2,8280522976],"type":"EXC_BAD_ACCESS","signal":"SIGKILL","subtype":"KERN_PROTECTION_FAILURE at 0x00000001ed8ec0e0"},
"termination" : {"namespace":"<0x2A>","flags":2,"code":2},
"vmregioninfo" : "0x1ed8ec0e0 is in 0x1ed8ec050-0x1ed930050; bytes after start: 144 bytes before end: 278383\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n mapped file 1ed8ec000-1ed8ec050 [ 80] r--/rw- SM=COW Object_id=a660e7d4\n---> __TPRO_CONST 1ed8ec050-1ed930050 [ 272K] r--/rw- SM=COW /usr/lib/dyld\n mapped file 1ed930050-1ed934000 [ 16K] r--/rw- SM=COW Object_id=a660e7d4",
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":20652,"threadState":{"x":[{"value":2310346815805849600},{"value":68719460560},{"value":1},{"value":7189868012},{"value":0},{"value":0},{"value":0},{"value":0},{"value":2310346815805849600},{"value":2310346815805849600},{"value":6088719866},{"value":7190329888},{"value":80},{"value":68},{"value":335872},{"value":0},{"value":0},{"value":0},{"value":0},{"value":6490603520},{"value":6088719000},{"value":6088718920},{"value":8280522832,"symbolLocation":0,"symbol":"dyld4::preallocator"},{"value":6088718120},{"value":68719460620},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7190060148},"cpsr":{"value":1610612736},"fp":{"value":6088718272},"sp":{"value":6088718112},"esr":{"value":2449473607,"description":"(Data Abort) byte write Translation fault"},"pc":{"value":7190060532,"matchesCrashFrame":1},"far":{"value":8280522976}},"frames":[{"imageOffset":208372,"symbol":"lsl::PreallocatedAllocatorLayout<278528ull>::init(char const**, char const**, void*)","symbolLocation":436,"imageIndex":0},{"imageOffset":195308,"symbol":"start","symbolLocation":1960,"imageIndex":0}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 7189852160,
"size" : 536896,
"uuid" : "f3b62990-b819-39b8-bf6f-b973b49a9a8d",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4378165248,
"size" : 65536,
"uuid" : "fb6513ef-363e-31a9-b5d3-141ed4f8e3b9",
"path" : "/main_executable_path_missing",
"name" : "main_executable_path_missing"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
}
],
"vmSummary" : "ReadOnly portion of Libraries: Total=199.9M resident=0K(0%) swapped_out_or_unallocated=199.9M(100%)\nWritable regions: Total=1056K written=48K(5%) resident=48K(5%) swapped_out=0K(0%) unallocated=1008K(95%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 16K 1 \nStack 1008K 1 \nVM_ALLOCATE 16K 1 \n__DATA 20K 2 \n__DATA_CONST 38K 2 \n__DATA_DIRTY 12K 1 \n__LINKEDIT 199.4M 2 \n__TEXT 592K 2 \n__TPRO_CONST 272K 1 \nmapped file 3.7G 85 \npage table in kernel 48K 1 \n=========== ======= ======= \nTOTAL 3.9G 99 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"logWritingSignature" : "d8346573b8359a9af56de34d1a537ba2c48b2139",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6425c75e4327780c10cc4252",
"factorPackIds" : {
"SIRI_HOME_AUTOMATION_INTENT_SELECTION_CACHE" : "642600a457e7664b1698eb32"
},
"deploymentId" : 240000004
},
{
"rolloutId" : "645eb1d0417dab722a215927",
"factorPackIds" : {
"SIRI_VALUE_INFERENCE_SIRI_REMEMBERS" : "645eb2f7417dab722a215928"
},
"deploymentId" : 240000005
}
],
"experiments" : [
{
"treatmentId" : "d52db4aa-2f75-4b77-853b-b4276900c21c",
"experimentId" : "6675f0b28f89cb0e33c9533a",
"deploymentId" : 500000058
},
{
"treatmentId" : "36ba1a3c-ac64-48a7-b0b4-5396b4bd84e3",
"experimentId" : "671bd18e7bb1535297518d0a",
"deploymentId" : 500000001
}
]
},
"reportNotes" : [
"dyld_process_snapshot_get_shared_cache failed"
]
}
@hugeBlack commented on GitHub (Nov 5, 2024):
OK, after some test, it seems this issue does still appear on devices with chip higher than A10, and the issue boils down to
overwriteExecPathfunction in main.m. It seems that calling this function will crash LiveContainer and confuse iOS so that LiveContainer will not be able to launch again until a device restart.If we skip this function, apps that don't need dynamic libraries can be launched, but apps that need dynamic libraries cannot be launched due to path issues. I will look into this soon.
@Sid6355 commented on GitHub (Nov 5, 2024):
@hugeBlack exactly, livecontainer only opened after a restart if it was uninstalled and reinstalled, if not, just crashed.
@HarukaB commented on GitHub (Nov 5, 2024):
Same issue on iPhone 16 Pro Max, iOS 18.2 Beta 2.
LiveContainer_PleaseDoNotShortenTheExecutableNameBecauseItIsUsed-2024-11-05-15172 2.txt
@HarukaB commented on GitHub (Nov 6, 2024):
github.com/hugeBlack/LiveContainer@0aacb0d225good message, it fixed the issue on my phone, now everything seems like running correctly.
@hugeBlack commented on GitHub (Nov 6, 2024):
Alright, I managed to get around this issue by skipping overwriting dyld's
config.process.mainExecutablePath. Can anyone try this build and give me some feedback?It seems that trying to change memory protection of dyld's
config.process.mainExecutablePathis the root cause of this issue and will make dyld crash even before reaching LiveContainer's main function.However, I'm uncertain whether skipping this overwriting will cause any other issues since I'm not quite familiar with the internal of dyld, but all apps I tested seems to be working correctly.
@HarukaB commented on GitHub (Nov 6, 2024):
Well, I haven't experienced bugs in all ipa i have, but there's a little problem to mention, I found there's a typo.
@boa-z commented on GitHub (Nov 6, 2024):
Thanks for your fix! I have tried latest action build on my iPad 9 iPadOS 18.2 beta2. Apps include YouTube, Spotify, YouTube Music works fine.
@joshrad-dev commented on GitHub (Nov 6, 2024):
Seems to work for me too!
@HarukaB commented on GitHub (Nov 6, 2024):
Apps with dynamic libraries still won't start, for example,when i tried to open Spark renPy, it just crash and show me this:
I can provide ipa file if you want.
@khanhduytran0 commented on GitHub (Nov 6, 2024):
Yeah, skipping
mainExecutablePathoverwrite will make dyld use LiveContainer’s executable path for@executable_path, which will break apps trying to load this way. While this can be mitigated by patching it in the main executable with@loader_path, doing it elsewhere will be a bit complex, especiallydlopen()can also accept@executable_path.@hugeBlack commented on GitHub (Nov 6, 2024):
I see. It seems that the memory
config.process.mainExecutablePathpointing to is a read-only memory, so do you have a way to modify whereconfig.process.mainExecutablePathis pointing to? I did a quick read of dyld's source code but cannot figure out a way to getconfig.process.@sizzerb commented on GitHub (Nov 6, 2024):
It seems they are a superhero YouTube and Co work.
@khanhduytran0 commented on GitHub (Nov 6, 2024):
iOS 18.2 seems to have stricter read-only region enforcement using TPRO. Based on this XNU testcase, there are some new syscalls, but there are no available source code for them:
os_thread_self_restrict_tpro_is_writable(): check whether TPRO regions can be remapped writableos_thread_self_restrict_tpro_to_rw(): remap TPRO regions writable, allow overwritingmainExecutablePathagain.If
is_writableis false, we’re screwed. Please try.@Sid6355 commented on GitHub (Nov 6, 2024):
Alright, tested some apps/games and the list of working apps is: Scanner Pro, Lightroom, pdf expert, games like angry birds, smash hit, tiny wings
Error shown in another game app like jet pack as
dlopen(/var/mobile/Containers/Data/Application/218EF436-0CEE-4BBF-A3E4-8569FF74D56B/Documents/Applications/com.halfbrick.jetpackjoyride2.app/superjetpack, 0x0109): Library not loaded: @executable_path/Frameworks/JetpackJoyride2.dylib
Referenced from: <246353A5-F76B-39EC-AF3A-936C18275F0A> /private/var/mobile/Containers/Data/Application/218EF436-0CEE-4BBF-A3E4-8569FF74D56B/Documents/Applications/com.halfbrick.jetpackjoyride2.app/superjetpack
Reason: tried: '/private/var/containers/Bundle/Application/2C9207C5-06BD-42FD-ABAE-1CD55B09BA95/App.app/Frameworks/JetpackJoyride2.dylib' (no such file)
Camscanner error log
Use of the class <INPreferences: 0x3030aeb00> from an app requires the entitlement com.apple.developer.siri. Did you enable the Siri capability in your Xcode project?
Call stack: (
0 CoreFoundation 0x000000018f637a28 994F713A-8DCB-3C97-A813-C0F89131C959 + 182824
1 libobjc.A.dylib 0x000000018cbd9244 objc_exception_throw + 88
2 Intents 0x00000001996db30c 2B4635ED-2A6C-3450-94A1-075A7DB27771 + 1274636
3 libdispatch.dylib 0x00000001973bffa8 DD9E22AA-A231-3A87-8167-DE3422C0F9B5 + 16296
4 libdispatch.dylib 0x00000001973c17f4 DD9E22AA-A231-3A87-8167-DE3422C0F9B5 + 22516
5 Intents 0x00000001995ca79c 2B4635ED-2A6C-3450-94A1-075A7DB27771 + 157596
6 Intents 0x00000001996db1a0 2B4635ED-2A6C-3450-94A1-075A7DB27771 + 1274272
7 Intents 0x00000001996db57c 2B4635ED-2A6C-3450-94A1-075A7DB27771 + 1275260
8 CamScanner_Lite 0x000000010dcbbca0 CamScanner_Lite + 25427104
9 CamScanner_Lite 0x000000010dbfa70c CamScanner_Lite + 24635148
10 CamScanner_Lite 0x000000010dbf8424 CamScanner_Lite + 24626212
11 libdispatch.dylib 0x00000001973be248 DD9E22AA-A231-3A87-8167-DE3422C0F9B5 + 8776
12 libdispatch.dylib 0x00000001973bffa8 DD9E22AA-A231-3A87-8167-DE3422C0F9B5 + 16296
13 libdispatch.dylib 0x00000001973d2094 DD9E22AA-A231-3A87-8167-DE3422C0F9B5 + 90260
14 libdispatch.dylib 0x00000001973d26c4 DD9E22AA-A231-3A87-8167-DE3422C0F9B5 + 91844
15 libsystem_pthread.dylib 0x000000021ab3f644 _pthread_wqthread + 228
16 libsystem_pthread.dylib 0x000000021ab3d474 start_wqthread + 8
)
@hugeBlack commented on GitHub (Nov 6, 2024):
These functions seem to be in a close-source file called
os/thread_self_restrict.hand there's no information on the Internet so is there any way to call them?This file seems to be only in Apple's internal sdk since I also find it in WebKit:
github.com/caitp/WebKit@5df181e38c/Source/JavaScriptCore/assembler/FastJITPermissions.h (L37)@MalcDryyy commented on GitHub (Nov 7, 2024):
Hello, u find a fix ? I'm on IPhone 13 IOS 18.2 and still not able to launch LiveContainer and Apps inside too when restarting
@naolad commented on GitHub (Nov 7, 2024):
https://github.com/hugeBlack/LiveContainer/actions/runs/11697321140
@MalcDryyy commented on GitHub (Nov 7, 2024):
Yh but how i can use this new release... i'm pretty new on this so Idk how to use it properly sorry
@naolad commented on GitHub (Nov 7, 2024):
Tap the download button below to download the zip file, tap the file to unzip it to your ipa, and then simply install it
@boa-z commented on GitHub (Nov 7, 2024):
Download the ipa in "artifacts" and install it just as before
@MalcDryyy commented on GitHub (Nov 7, 2024):
Thx bro gonna Check that ❤️
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
do I have to reinstall everything with a computer? I’ve tried refreshing in SideStore but it just keeps saying this.. this is the artifacts one.. new to this and confused 🫤
Sorry.
@naolad commented on GitHub (Nov 7, 2024):
Try to enable "Ignore ALTCertificate.p12"
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
I’ve tried that and still comes up with the same screen :(
@khanhduytran0 commented on GitHub (Nov 7, 2024):
Please try this build which attempts to bypass TPRO to make it work the same as before
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
That’s the one I’ve tried if that’s the one in the artifact and the photo I posted is the message I got :(
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
Yep still getting the same message
@Sid6355 commented on GitHub (Nov 7, 2024):
Nah bro @khanhduytran0 this one doesnt crash but as soon as app is opened, it jumps back to livecontainer, the one posted earlier by @hugeBlack, it worked 50:50, this one, not at all
@khanhduytran0 commented on GitHub (Nov 7, 2024):
Post your crash log in a code block or file.
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
How do I do that? 🥲😅😭 I’m glad your trying to help but I’m super new to this
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
The operation couldn’t be completed. AFC was unable to manage files on the device. This usually means an invalid pairing.
minimuxer.MinimuxerError 16
@hugeBlack commented on GitHub (Nov 7, 2024):
It crashed at _NSGetExecutablePath for EXC_BAD_ACCESS
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 dyld 0x1aed6b1ac dyld4::APIs::_NSGetExecutablePath(char*, unsigned int*) + 104
1 ...SpaceForOverwritingThankYou 0x100fc3458 overwriteExecPath + 520
2 ...SpaceForOverwritingThankYou 0x100fc1f5c invokeAppMain + 1632
3 ...SpaceForOverwritingThankYou 0x100fc1038 LiveContainerMain + 2264
4 dyld 0x1aed6ede8 start + 2724
At least it no longer trigger that weird bug that requires a restart to solve.
@khanhduytran0 commented on GitHub (Nov 7, 2024):
Looks like it crashed at an earlier stage. Instead of crashing, it should have hit the signal handler and perform
mainExecutablePathoverwrite instead.@DunGoofedAUS commented on GitHub (Nov 7, 2024):
Is there anything I can do? Or do I just wait 🥲😅
@hugeBlack commented on GitHub (Nov 7, 2024):
Yeah, if your version of
os_thread_self_restrict_tpro_to_rwis not called, it can proceed into that signal handler and crash. Maybe you called the wrong sys call that blocks read?@DunGoofedAUS commented on GitHub (Nov 7, 2024):
All I’ve done is, download the live container ipa, gone onto SideStore, put it on SideStore, opened live container, press the jitles and then it opens SideStore, I watch the bar go across and then go to live container and get that message. I’ve got live container 2.1.2 and 3.0.0 both give the same message.
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
Should I delete SideStore and WireGuard and try installing fresh?
@hugeBlack commented on GitHub (Nov 7, 2024):
@DunGoofedAUS your problem is not related to this issue. You can try a fresh install of both LiveContainer and SideStore. Please open another issue if this problem presists.
@Sid6355 commented on GitHub (Nov 7, 2024):
@DunGoofedAUS mate, I dont recall but this issue has been resolved in some other thread, maybe here or in reddit, just search up a bit, this thread specifically caters to ios 18.2 beta which broke the code somewhere in livecontainer and thats what is being fixed by the truly genius contributors here. Try a bit harder
@hugeBlack commented on GitHub (Nov 7, 2024):
OK, the problem seems to be solved. If we don't call
builtin_vm_protectafteros_thread_self_restrict_tpro_to_rw, crash will not happe, dyldMainExecutablePath will be successfully overwritten and app will launch. I'll make a build soon and please test it out.@hugeBlack commented on GitHub (Nov 7, 2024):
Please try this build with any app that crash on the previous build and let me know the result.
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
I’ve done a fresh install of everything even just tried the latest update and still says failed to find certificate data. I think I’m cooked :(
@naolad commented on GitHub (Nov 7, 2024):
https://github.com/khanhduytran0/LiveContainer/actions/runs/10658798325
Try installing this build and then installing the hugeBlack build
@Sid6355 commented on GitHub (Nov 7, 2024):
@hugeBlack done mate, success, all apps work flawlessly as before, thanks a lottttt✌️✌️✌️
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
@naoto0826g !!!! Thank you so much! That worked holy shit! The old build worked then just readded the new build on top of it. You’re a life saver!!! No more updating my phone for me 🥲 thank you!
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
Thank you everyone for your help as well! I appreciate you all! ❤️
@DunGoofedAUS commented on GitHub (Nov 7, 2024):
Assertion failed: (LiveContainerUIHandle), file main.m, line 513.
Call stack: (
0 CoreFoundation 0x000000018b0d3a28 994F713A-8DCB-3C97-A813-C0F89131C959 + 182824
1 libobjc.A.dylib 0x0000000188675244 objc_exception_throw + 88
2 CoreFoundation 0x000000018b220ad0 994F713A-8DCB-3C97-A813-C0F89131C959 + 1546960
3 LiveContainer 0x000000010054f668 __assert_rtn + 96
4 LiveContainer 0x000000010054913c LiveContainerMain + 2524
5 dyld 0x00000001b2066de8 F3B62990-B819-39B8-BF6F-B973B49A9A8D + 196072
)
Just got this trying to run subway surfer from kamo hacks, I assume it just doesn’t work with SideStore
@MalcDryyy commented on GitHub (Nov 7, 2024):
I just tested the last build it seems to work just fine for example whatsapp was not working with ur first build fix now it seems to work fine (aside the working aspect damn that new Ui is gorgeous 😭😭)
@w2wewwww commented on GitHub (Nov 8, 2024):
Works on iOS18.2b2 15Pro Max
@Br0des commented on GitHub (Nov 8, 2024):
On SE it’s broken too
@khanhduytran0 commented on GitHub (Nov 8, 2024):
Try hugeBlack’s build
@Br0des commented on GitHub (Nov 8, 2024):
Same thing just black screen then crashes a second later
@DunGoofedAUS commented on GitHub (Nov 9, 2024):
Try this https://github.com/khanhduytran0/LiveContainer/actions/runs/10658798325 it worked for me. Install this live container and then try and use the newer build
@hugeBlack commented on GitHub (Nov 9, 2024):
@Br0des if you can't even reach LiveContainer's main page, then restart your device. It's a problem with Apple.
@Br0des commented on GitHub (Nov 9, 2024):
k should i try your build with it
@Br0des commented on GitHub (Nov 9, 2024):
after restarting and using hugeblacks build, it works