Before you start

On Xiaomi / Redmi, allow VPhoneOS to use background data and battery, then follow the relevant recent-app or background settings. Test after switching apps and turning off the screen. These settings do not guarantee uninterrupted operation.

The screenshots use a REDMI K80 Pro (24122RKC7C) with HyperOS 3 (Android 16). Save your progress and check that the app or game inside your virtual machine works before you begin.

Background running means an app or game inside your virtual machine keeps running after you switch to the phone’s Home screen or another app. For screen-off running, this guide uses Turn off screen in Gaming tools. This is different from locking the phone with the power button.

Set up background running

Allow background data and battery use, then lock the app card. Change the nighttime battery setting only if you need an overnight connection.

  1. Allow background data

    Recent apps → press and hold the VPhoneOS card → gear icon → App info → Network access

    Open VPhoneOS, then open Recent apps. Press and hold the VPhoneOS card and tap the gear icon to open App info, then tap Network access. Allow the Mobile data or WLAN connection you use, and turn on Background data. Leave already allowed items unchanged.

    Check the result Your chosen connection and Background data are allowed.

    App info contains Network access and Power.
    App info contains Network access and Power.
    Mobile data, WLAN and Background data are allowed. Select the connections your task actually needs.
    Mobile data, WLAN and Background data are allowed. Select the connections your task actually needs.
  2. Choose No restrictions

    VPhoneOS App info → Power → Battery details

    Return to App info, tap Power and select No restrictions. Leave it selected if already enabled, then go back and reopen the page to check the choice.

    Check the result A check mark appears beside No restrictions.

    This may use more battery. Restore your previous battery setting when you no longer need background running.

    No restrictions is selected in Battery details.
    No restrictions is selected in Battery details.
  3. Turn off Nighttime mode if needed

    Phone Settings → Battery → Additional features

    Open Settings → Battery → Additional features. If your task needs an overnight connection, turn off Nighttime mode. Leave it unchanged if already off.

    Check the result Nighttime mode is off when your task requires it.

    This affects the whole phone. Change it only when needed; leave the other options as they are.

    Additional features in the phone’s Battery settings.
    Additional features in the phone’s Battery settings.
    Nighttime mode is off. The other options do not need to be changed with it.
    Nighttime mode is off. The other options do not need to be changed with it.
  4. Lock VPhoneOS in Recent apps

    Phone Recent apps → press and hold the VPhoneOS card → lock icon

    Open Recent apps, press and hold the VPhoneOS card and tap the closed-padlock icon. Press and hold it again: an open-padlock action confirms that the card is locked. Leave an already locked card unchanged.

    Check the result The long-press menu offers the open-padlock action, indicating that the card is locked.

    Locking the card does not guarantee that the app keeps running. Return to your virtual machine later and check progress and the connection.

    Pressing and holding the VPhoneOS card in Recent apps shows the lock and app-information icons.
    Pressing and holding the VPhoneOS card in Recent apps shows the lock and app-information icons.
    The card is locked; its long-press menu now shows the open-padlock action for unlocking it.
    The card is locked; its long-press menu now shows the open-padlock action for unlocking it.

Start screen-off mode and return to the app

Add VPhoneOS to the game toolbox, then start screen-off mode from the app screen. Check your app or game when you return.

  1. Enable the game toolbox

    Phone Settings → Additional settings → Floating windows → Side toolbox

    Open Settings → Additional settings → Floating windows → Side toolbox and check that In-game shortcuts is on. Leave it unchanged if already enabled.

    Check the result In-game shortcuts is enabled.

    Side toolbox in Floating windows.
    Side toolbox in Floating windows.
    In-game shortcuts is enabled in Side toolbox.
    In-game shortcuts is enabled in Side toolbox.
  2. Add VPhoneOS to the game toolbox

    Side toolbox → Other settings → Manage gaming apps

    In Side toolbox, scroll to Other settings if needed and open Manage gaming apps. Find VPhoneOS in the Add game list, using search if needed, and turn on its switch. Leave it unchanged if already included.

    Check the result VPhoneOS is included in the game-app list with its switch on.

    Manage gaming apps under Other settings in Side toolbox.
    Manage gaming apps under Other settings in Side toolbox.
    Searching for VPhoneOS shows its switch on in the game-app list.
    Searching for VPhoneOS shows its switch on in the game-app list.
  3. Enter screen-off mode

    VPhoneOS → Gaming tools side panel → Turn off screen

    Start your app or game inside the virtual machine and check that it works. Swipe inward from the side handle to open Gaming tools, then tap Turn off screen.

    Check the result The screen turns off. Wake and unlock the phone later, then check whether your app kept running. A dark screen alone does not confirm this.

    Swipe inward from the slim handle on the left edge to open Gaming tools.
    Swipe inward from the slim handle on the left edge to open Gaming tools.
  4. Wake, unlock and check the task

    Wake the phone → use your normal unlock method → VPhoneOS

    Wake the screen and unlock your phone as usual. Return to your virtual machine and check the app’s progress, connection and whether it restarted. Save your progress and restore phone-wide settings you no longer need.

    Check the result The mode closes and you can inspect and control the original task.

    The app’s Settings page after waking and unlocking the phone. Check task progress inside your own virtual machine.
    The app’s Settings page after waking and unlocking the phone. Check task progress inside your own virtual machine.

Frequently asked questions

Must mobile data and Wi-Fi both be allowed?

Allow the network you use and background data. You do not need to enable an unused connection just for this task.

Is pressing the power button the same as this mode?

No. Screen-off mode starts from the game tools. A normal lock may apply different background limits. Try each separately and check your virtual machine afterward.

Will it keep running without disconnecting?

There is no guarantee. Memory, battery settings, the network and the app itself can affect running. Return to your virtual machine and check the app’s progress; a lock icon or dark screen is not enough.

What if the game toolbox or screen-off option is missing?

Check that VPhoneOS is included in the game-app list, then inspect its side panel. Menus can vary by phone and system version. If the option is missing, ordinary screen locking is not the same feature.

Is the child-process restriction switch part of these settings?

No. It is a separate switch in the phone’s developer options. See the related guide, and do not use Background process limit instead.