1
0
Fork
You've already forked portal-toolkit
0
Tools to interact with and unlock functionality on Meta Portal devices
  • Shell 100%
2026年06月06日 11:59:37 -04:00
enable-internal-settings.sh Note about exploit simplicity 2026年06月06日 11:59:37 -04:00
LICENSE Add everything but the script itself 2026年06月06日 11:50:12 -04:00
README.md Note that deleting overrides will disable UI 2026年06月06日 11:55:32 -04:00

Tools to interact with and unlock functionality on Meta Portal devices, now that Meta has enabled ADB access:

enable-internal-settings.sh

Uses CVE-2024-31317 to install MobileConfig (Meta's remote configuration framework) overrides to show the "Debug (Internal)" settings pane and enable the "MobileConfig Settings" UI for setting additional overrides. This should allow you to retain the ADB toggle even if Meta disables it server-side, although it does not block OTAs.

This script should be run on the device. To run the latest version, use

adb shell "curl -sSf https://codeberg.org/tchebb/portal-toolkit/raw/branch/main/enable-internal-settings.sh | sh"

The overrides do not persist across factory resets. Additionally, if you press "Delete local overrides" in MobileConfig settings, it will disable MobileConfig settings for that app until you run the exploit again. Rerunning the exploit will erase your overrides.