Getting Started
Installation & Setup
Installation walkthrough and partition preparation guide for KuyFox.
KuyFox Installation & Flashing Guide
This document explains how to deploy and execute KuyFox on an Android device via Custom Recovery (OrangeFox, TWRP, or PBRP).
π Device Requirements
Before starting, ensure your test device meets the following criteria:
- Custom Recovery Installed:
- OrangeFox Recovery (Highly Recommended)
- TWRP (Team Win Recovery Project)
- PitchBlack Recovery (PBRP)
- Decrypted
/dataPartition:- If your test phone uses a lockscreen PIN/Pattern/Password, enter it when booting into recovery to unlock storage decryption.
- Internal Storage / USB OTG:
- At least 100 MB of free storage for profile databases and state archives.
β‘ Method 1: Flashing via ZIP Package (Recommended)
This is the fastest, cleanest, and most automated deployment method. The installer script within the ZIP configures execution permissions and sets up global shortcuts automatically.
Steps:
- Copy
KuyFox-v1.0.zipto internal storage (/sdcard/) or a USB OTG drive. - Boot into Recovery mode (power off the phone, then hold Power + Volume Up / Down depending on your phone model).
- Open the Install / Files menu in recovery.
- Select the
KuyFox-v1.0.zipfile. - Swipe the confirmation slider (Swipe to Flash).
- The installer will:
- Extract the KuyFox engine to
/sdcard/KuyFox/. - Set execution permissions (
chmod 755). - Inject auto-load aliases into OrangeFox terminal (
/sdcard/Fox/fox.bashrc) so thekuyfoxshortcut is immediately active. - Add a boot hook in
/sdcard/Fox/init.d/99kuyfoxto recreate/sbin/kuyfoxautomatically on recovery reboots. - Install persistent binary wrappers in
/system/bin/kuyfoxand/sdcard/.bashrc. - Activate directory protection so
/sdcard/Foxand/sdcard/KuyFoxare never wiped during testing cleanups.
- Extract the KuyFox engine to
- Once you see
[SUCCESS] KuyFox Installation Finished!, no reboot is required; proceed directly to terminal execution.
π οΈ Method 2: Manual Folder Extraction (Without Flash)
If you prefer not to flash the ZIP package, copy the KuyFox directory structure manually:
- Extract the ZIP archive on your PC or using a mobile file manager.
- Ensure the folder is located at:
/sdcard/KuyFox/ βββ core/ βββ database/ βββ config.cfg βββ backup_config.cfg βββ kuyfox.sh - Open Recovery Terminal and run:
Terminal
sh /sdcard/KuyFox/kuyfox.sh
π How to Launch KuyFox in Recovery
Once installed, there are 2 practical ways to launch the KuyFox terminal interface in recovery:
πΉ Method 1: Direct Execution (Fastest β No Manual Partition Mount)
- Open the Terminal in recovery:
- OrangeFox: Menu (three lines) -> Terminal
- TWRP: Advanced -> Terminal
- Type the following command and press Enter:
This method runs immediately without needing to mount any partition manually. When spoofing operations run, the KuyFox engine automatically mountsTerminal
sh /sdcard/KuyFox/kuyfox.sh/systemand/vendorin RW mode in the background.
πΉ Method 2: Use Short kuyfox Command (Via System Mount)
- In the main recovery menu (OrangeFox / TWRP), open the Mount menu and check System.
- Open the Terminal, then simply type:
Terminal
kuyfox - Press Enter.
The persistent binary wrapper is stored in the ROM partition (
/system/bin/kuyfox). Checking the System partition instantly activates thekuyfoxshortcut in$PATH.