Fix OEM P2P bootstrap failures and release OpenADB 3.0.2#10
Merged
Conversation
communism420
marked this pull request as ready for review
July 15, 2026 11:13
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.
What changed
run-as/private-file P2P bootstrap with a request-scoped abstractLocalServerSocketreached through a temporary local-only ADB forward;android.permission.DUMP, and verifies the shell/root peer UID;ACCEPTEDhandshake, API 23–25 service startup fallback, bounded bootstrap reads, deterministic request-scoped cancellation, and exact forward cleanup;versionCode 30201, rebuilds signed APK aliases, release metadata, screenshots, documentation, and changelog.Root cause and impact
Some OEM Android builds expose
/datawith mode0755. AOSPrun-asrejects that layout before ACBridge can start, producingrun-as: /data readable or writable by others: 40755. The new bootstrap no longer depends onrun-asor OEM/datapermissions, so P2P can proceed to the existing SAF/LAN flow.Validation
OpenADB-3.0.2.exepassed a clean-profile title/start/normal-close smoke and bundled Platform Tools/ACBridge archive inspection.Remaining physical validation
No physical OEM Android 17 device or removable MicroSD/USB target was connected during this run. Direct-LAN speed/routing and the original handset firmware still require a physical confirmation.