| enable-internal-settings.sh | Note about exploit simplicity | |
| LICENSE | Add everything but the script itself | |
| README.md | Note that deleting overrides will disable UI | |
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.