Repository navigation
Bump core to Vector c4a701a to stop the launch crash on Android 17 - #133
Open
hyowonbernabe wants to merge 1 commit into
Open
hyowonbernabe wants to merge 1 commit into
hyowonbernabe wants to merge 1 commit into
Conversation
A patched app dies at launch on Android 17 with SIGSEGV in
liblspatch.so, right after "Modules initialized". The crash is in
HookBridge.makeFieldWritable: Android 17 marks a direct field pointer
in the high bits of the jfieldID (bit 55), and the pinned core
dereferences it as-is.
Vector fixed this in c4a701a ("Decode a jfieldID before dereferencing
it as an ArtField"). The pinned core (e00c5c5) is four commits before
it, so every LSPatch build so far still crashes.
Moves core from e00c5c5 to c4a701a. Nothing else changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A patched app dies at launch on Android 17 with a SIGSEGV in
liblspatch.so, right afterModules initialized.Cause. The crash is in
HookBridge.makeFieldWritable. Android 17 marks a direct field pointer in the high bits of the jfieldID (bit 55). The pinned core (e00c5c5, 2026-08-22) dereferences that id as anArtFieldwithout clearing the tag, so it reads a bad address. Vector fixed it inc4a701a("Decode a jfieldID before dereferencing it as an ArtField", 2026-09-02). The pinned core is four commits before that, so every LSPatch build so far, including canary 492, still crashes.Change. Moves
corefrome00c5c5toc4a701a. Nothing else changes.Verified. I built this branch and patched Messenger (
com.facebook.orca587.0.0.54.96) with it:vivo/V2562/V2562:17/CP2A.260605.016_T1_V000L1): before, the app dies about one second after launch; after, it stays up and runs normally.Stock canary 492, before:
0x0080000000000000is the stray tag bit; disassembly shows the faulting load is theaccess_flags_read that precedes clearingkAccFinal.Signature bypass level 1 and 2 both crash, so it is not the bypass code.