A utility designed to easily toggle root access and enable read/write (R/W) permissions for BlueStacks 5 instances. Provides a graphical interface for the process described in Root BlueStacks with Kitsune Mask.
Warning
BlueStacks 5.22+ users: See Version Compatibility for known issues with recent updates.
- Auto-Detection - Discovers BlueStacks installation paths via Windows Registry
- Instance Listing - Reads
bluestacks.confto display all configured instances - Root Toggle - Modifies
bst.instance.<name>.enable_root_accessandbst.feature.rooting - Read/Write Toggle - Changes disk file attributes (
fastboot.vdi,Root.vhd) betweenNormalandReadonly - Process Handling - Detects and gracefully terminates BlueStacks processes before applying changes
- Status Display - Shows current Root and R/W status for each instance
- Responsive UI - Uses background threads (
QThread) to keep the interface responsive - Internationalization - Includes English and Japanese translations
- Operating System: Windows 10 or later
- BlueStacks Version: BlueStacks 5 or MSI App Player (5.21 or earlier recommended)
- Administrator Rights: Required for registry access and process termination
- Python (development only): Python 3.7+
- Download the latest
.exefrom Releases - Right-click the executable and select "Run as administrator"
Before first use:
- Uninstall previous BlueStacks versions using the official BlueStacks Cleaner tool
- Install BlueStacks 5.21 or earlier (see Version Compatibility)
git clone https://github.com/RobThePCGuy/BlueStacks-Root-GUI.git
cd BlueStacks-Root-GUI
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
python main.pyNote: Run your terminal as administrator.
pip install pyinstaller
pyinstaller --onefile --windowed --icon="favicon.ico" --add-data "favicon.ico;." --name BlueStacksRootGUI main.pyOutput will be in the dist/ folder.
- Launch the GUI as administrator
- The app will auto-detect your BlueStacks installation and list available instances
- Select the instance(s) you want to modify
-
Enable Root & R/W
- Select your target instance
- Click "Toggle Root" (turn ON)
- Click "Toggle R/W" (turn ON)
-
Install Kitsune Mask
- Download Kitsune Mask APK
- Launch the instance via BlueStacks Multi-Instance Manager
- Install the APK (drag-and-drop)
- Open Kitsune Mask app
-
Direct Install to System
- Tap Install -> Next
- Select "Direct Install to /system"
- If this option is missing, close and reopen the Kitsune Mask app
- Let installation complete and reboot when prompted
-
Final Configuration
- Return to BlueStacks Root GUI
- Click "Toggle Root" to turn it OFF
- Leave "Toggle R/W" ON
-
Verify
- Launch instance and open Kitsune Mask
- Should show as installed and active
| BlueStacks Version | Root Working? | Notes |
|---|---|---|
| 5.20.x | Yes | Fully compatible |
| 5.21.x | Yes | Last confirmed working version |
| 5.22.0.1102+ | No | Play Integrity enforcement blocks root |
Issue: BlueStacks 5.22+ (October 2025) shows "Android system doesn't meet security" popup when root/R/W is enabled.
Cause: Google replaced SafetyNet with Play Integrity API in January 2025. BlueStacks 5.22 now enforces integrity checks that detect system modifications.
Solution: Downgrade to BlueStacks 5.21
How to Downgrade to 5.21
-
Backup your data - Export important app data/saves
-
Complete uninstall
- Download BSTCleaner
- Run to remove all BlueStacks files
-
Install BlueStacks 5.21
- Download from Uptodown Archive
- Look for version 5.21.x.xxxx (January 2025)
-
Disable auto-updates
- Edit
C:\ProgramData\BlueStacks_nxt\bluestacks.conf - Add or modify:
bst.auto_update="0"
- Edit
-
Apply rooting guide - Follow normal steps above
Tracking: See Issue #11 for updates.
No instances listed / "Path Not Found"
- Run GUI as Administrator
- Verify registry keys exist:
HKLM\SOFTWARE\BlueStacks_nxtorHKLM\SOFTWARE\BlueStacks_msi5 - Perform clean reinstall using official cleaner tool
Permission errors during toggle
- Must run as Administrator
R/W toggle doesn't persist
- Ensure BlueStacks processes were fully terminated
- Manually kill processes via Task Manager if needed
- Keep R/W ON after installing Kitsune Mask
"Direct Install to /system" option missing
- Verify both Root and R/W are ON before launching instance
- Close and reopen Kitsune Mask app within BlueStacks
Toggle operation errors
- Check status bar in GUI for error messages
- Review console logs if running from source
main.py- PyQt5 GUI, application logic, threadingconfig_handler.py- Reads/writesbluestacks.confinstance_handler.py- Modifies.bstkfiles, handles processesregistry_handler.py- Reads BlueStacks paths from Windows Registryconstants.py- Shared constants (keys, filenames, modes)
See requirements.txt. Key dependencies:
- PyQt5
- pywin32
- psutil
Contributions are welcome! Please:
- Maintain existing code style and structure
- Use the
loggingmodule for debugging output - Add/update docstrings for new or modified code
- Use background threads for blocking operations to keep UI responsive
- Update
constants.pyfor new configurable values - Submit pull requests with clear descriptions
- Open an issue to discuss significant changes before implementing
Related Project: Root BlueStacks with Kitsune Mask
