A dozen applications can run simultaneously on Android smartphones - from instant messengers in the background to games with active windows. But how can you quickly find out which apps are open right now, especially if they are minimized or running in hidden mode? This task seems simple until you encounter the limitations of manufacturers: Samsung, Xiaomi and Huawei actively modify the standard interface multitasking, and some system windows (for example, from Google Play Services) are not displayed at all in the list of running applications.

In this article we will look at all available ways to view open windows on Android from basic gestures to commands for developers, including methods for devices with root access and without it. We will pay special attention to hidden system processes that are not visible in the standard menu, but consume smartphone resources. If you need not just to close the application, but to understand which windows are currently active (for example, for debugging or performance optimization), you will find here current solutions for Android 10โ€“14.

1. Standard multitasking: gestures and buttons

The most obvious way is to use the built-in menu recent apps. However, its capabilities are highly dependent on the version of Android and the manufacturer's shell. Here's how it works on different devices:

  • ๐Ÿ“ฑ Stock Android (Pixel, Motorola, Nokia): Swipe up from the bottom edge of the screen and hold for 0.5 seconds. A list of cards with open windows will open. Android 12+ here also displays pop-up windows (for example, chats in Telegram or WhatsApp).
  • ๐Ÿค– Samsung One UI: click on the button Multitasking (three vertical lines to the left of the "Home" button) or swipe up with a delay. One UI 5.0+ there is a separate tab for pop-up windows (click on the three dots in the upper right corner).
  • โšก Xiaomi MIUI/HyperOS: swipe up with a delay or double-click on the button Menu (if it is activated). There is no division into windows and applications - everything is displayed in one. list. MIUI 14 there is no division into windows and applications - everything is displayed in one list.
  • ๐ŸŽ Huawei EMUI: swipe left or right on the bottom navigation bar (if you use gestures) or click on the square button. EMUI 13 are also shown here floating windows (for example, from Petal Maps).

Restrictions method:

  • โŒ Does not show system processes (for example, windows from Google Play Services or Android System WebView).
  • โŒ Does not display hidden windows some applications (for example Facebook can mask active sessions).
  • โŒ On some devices (for example Oppo ColorOS) the list is cleared automatically when the screen is locked.
๐Ÿ“Š Which Android shell are you do you use?
Stock Android (Pixel, Motorola)
Samsung One UI
Xiaomi MIUI/HyperOS
Huawei EMUI
Other
โš ๏ธ Attention: On Android 14 smartphones with gesture controls (without hardware buttons) may not show the multitasking menu when swiping if the mode is activated in the settings Full screen gestures. To return to standard behavior, go to Settings โ†’ System โ†’ Gestures โ†’ System navigation and select 2-button navigation.

2. System monitor: hidden Android tools

Android has built-in tools for displaying active processes, but they are hidden in the menu for developersTo activate them:

  1. Go to Settings โ†’ About phone.
  2. Find the item Build number and click on it 7 times until a notification appears You have become developer!.
  3. Go back to the main settings and open a new section For developers.
  4. Find options:
    • Do not turn off the screen while charging (for ease of monitoring).
    • USB debugging (needed for the next section).
    • Show CPU load โ€”enable to see load from active windows.

Now you can use:

  • ๐Ÿ“Š Process Monitor: in the menu For Developers find Services or Processes. Here are displayed all active windows, including system ones (for example, com.android.systemui โ€”Android interface).
  • ๐Ÿ” Error log: in the same menu select Error logs โ€”here you can see which windows were causing crashes (useful for debugging).

Activate developer mode (7 clicks on "Build number")

Enable "USB Debugging" in the developer settings

Enable CPU usage display (optional)

Reboot the device to apply the changes-->

Example of what the list of processes in the menu looks like For developers:

Process type Example (package name) Description
Custom application com.whatsapp Active chat or background service WhatsApp.
System window com.android.systemui Android interface (notification bar, navigation).
Hidden window com.google.android.gms.persistent Background process Google Play Services (can consume up to 10% CPU).
Pop-up window com.facebook.orca:chatheads Chat heads Messenger (floating message icons).
โš ๏ธ Attention: Some manufacturers (for example, Xiaomi and Huawei) restrict access to menu For developers on your devices. If after 7 clicks on Build number nothing happens, try:
  1. Connect the device to the PC and use the command adb shell settings put global development_settings_enabled 1.
  2. Install a third-party application like QuickShortcutMaker and manually launch the activity com.android.settings.DevelopmentSettings.

3. ADB commands: advanced window monitoring

If you need to see all open windows, including those that are not displayed in multitasking, use Android Debug Bridge (ADB). This method works without root access, but requires connection to a PC.

Instructions:

  1. Install ADB on your computer (download Platform Tools from Google).
  2. Connect your smartphone via USB and activate USB Debugging in the settings for developers.
  3. Open a command line (Windows) or terminal (macOS/Linux) and enter:
adb devices

(Your device should appear in the list.)

adb shell dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'

This command will show current active window and the application that opened it. For example:

mCurrentFocus=Window{1a3d4e5 u0 com.whatsapp/com.whatsapp.HomeActivity}

mFocusedApp=AppWindowToken{2b5c6d7 token=HistoryRecord{1a3d4e5 com.whatsapp/com.whatsapp.HomeActivity}}

To see all open windows, including background ones, use:

adb shell dumpsys window | grep "Window #"

Result will look like this:

Window #0 Window{1a3d4e5 u0 com.whatsapp/com.whatsapp.HomeActivity}

Window #1 Window{2b5c6d7 u0 com.android.systemui.ImageWallpaper}

Window #2 Window{3c7d8e9 u0 com.google.android.gms/.persistent.PersistentActivity}

๐Ÿ’ก

If the command grep does not work on Windows, download Git Bash or use PowerShell with a filter: adb shell dumpsys window windows | Select-String "mCurrentFocus".

Field decoding:

  • u0 โ€” user ID (usually 0 for the main user).
  • com.whatsapp/com.whatsapp.HomeActivity โ€” name of the package and activity (window).
  • Window #1 โ€” window sequence number on the stack.
โš ๏ธ Attention: Some applications (for example, banking or DRM-protected) may block the output of information through ADB. In this case, you will see the line instead of the package name [hidden].

4. Third-party window monitoring apps

If you don't feel like using ADB or digging through the developer settings, install one of these apps:

  • ๐Ÿ” Simple Task Manager (free, no root):
    • Shows all running processesincluding system.
    • Can force close applications (Force Stop).
    • Displays CPU and RAM consumption.
  • ๐Ÿ“Š OS Monitor (requires root for full functionality):
    • Monitor active windows in real time.
    • Shows network activity for each process.
    • Can record system event logs.
  • ๐Ÿ› ๏ธ Developer Assistant (for debugging):
    • Provides access to hidden Android settings.
    • Shows window hierarchy (useful for developers).
    • Can emulate clicks and gestures.

Interface example OS Monitor:

Tab Processes shows all active processes indicating:

  • PID โ€” process identifier.
  • PPID โ€” identifier of the parent process.
  • State โ€” status (Foreground, Background, Empty).
How to hide system processes in OS Monitor?

To avoid clogging the list with unnecessary processes, open the application settings and activate the filter Hide system processes. You can also add specific packages to the blacklist (for example, for telephone services). Applications for monitoring processes can themselves consume significant resources. For example, in the background they consume up to data-i="229">. After use, close them through multitasking. com.android.phone for telephone services).

โš ๏ธ Attention: Process monitoring applications can themselves consume significant resources. For example, OS Monitor in the background consumes up to 5% CPU And 100 MB RAM. After use, close them via multitasking.

5. Root access: full control over windows. data-i="234">If your device has

If your device has root accessyou can use powerful tools like Xposed Framework or Tasker for in-depth analysis of windows. For example, the module Xposed Additions allows:

  • See hidden windows (for example, from Google Play Services).
  • Block the launch of certain windows (useful for fighting advertising).
  • Log all changes in the window stack.

Instructions for Tasker:

  1. Install Tasker and plugin AutoInput.
  2. Create a task with an action AutoInput โ†’ UI Query.
  3. In field Text enter .* (this will find all windows).
  4. Add an action Flashto display the list on the screen.

Example code for Tasker (export as XML):

<TaskerData sr="" dvi="1" tv="6.0.11-Beta">

<Task sr="task1">

<cdate>1700000000000</cdate>

<edate>1700000000001</edate>

<Action sr="act0" ve="7">

<code>541</code>

<Str sr="arg0" ve="3">.*</Str>

<Int sr="arg1" val="0"/>

<Int sr="arg2" val="0"/>

<Int sr="arg3" val="0"/>

<Int sr="arg4" val="0"/>

<Int sr="arg5" val="0"/>

</Action>

</Task>

</TaskerData>

This profile will show all open windows when the task starts, including:

  • System dialogs (for example, com.android.packageinstaller - installer APK).
  • Hidden windows from Facebook, TikTok and other applications.
  • Pop-up notifications.
โš ๏ธ Attention: Use of root access may disrupt the operation of some applications (for example, banking or Netflix), since they check the integrity of the system through SafetyNet. Before use, make a backup copy of your data.

6. Hidden windows and how to detect them

Some applications (especially social networks and games) create invisible windowswhich:

  • Consume resources in the background.
  • Can monitor user activity.
  • Does not appear in standard multitasking.

How to find them:

  1. Through ADB: run the command:
    adb shell dumpsys activity activities | grep "hist"

    This will show the history of recent windows, including hidden ones.

  2. Via Logcat: connect the device to the PC and run:
    adb logcat | grep "WindowManager"

    Here there will be logs of all changes in the window stack.

  3. Through Android Studio: open Layout Inspector (in the menu Tools โ†’ Layout Inspector) and connect the device. This will show hierarchy of all windows, including hidden ones.

Examples of hidden windows:

  • ๐Ÿ‘ป Facebook: creates a window com.facebook.katana:.NewsFeedStreamActivity even when the application is closed.
  • ๐ŸŽฎ PUBG Mobile: keeps the window active com.tencent.ig:.SplashActivity for quick launch.
  • ๐Ÿ“Š Google Play Services: keeps the window com.google.android.gms:.persistent.PersistentActivity for geolocation.
๐Ÿ’ก

Hidden windows are often disguised as system windows processes. If you see an unfamiliar package with the name com.android. or com.google.in the list, check it through VirusTotal - it could be an advertising module.

7. Automation: scripts for tracking windows

If you need to regularly check open windows. (for example, for debugging or parental control), you can write a simple script using Python using ADB.

An example script for outputting a list of windows to a file:

import os

import time

Connecting to the device

os.system("adb devices")

Creating a log file

with open("windows_log.txt", "w") as f:

while True:

# Get a list of windows

result = os.popen("adb shell dumpsys window windows | grep -E 'mCurrentFocus|Window #'").read()

f.write(f"--- {time.strftime('%Y-%m-%d %H:%M:%S')} ---\n{result}\n")

f.flush()

time.sleep(5) # Check every 5 seconds

How to use:

  1. Save the code to a file window_monitor.py.
  2. Install Python and ADB on a PC.
  3. Run the script with the command:
    python window_monitor.py
  4. Logs will be saved to a file windows_log.txt.

To stop the script, click Ctrl+C.

Advanced features:

  • Add filtering by keywords (for example, to track only WhatsApp or Chrome).
  • Set up email notifications if a certain window appears.
  • Integrate with Tasker to automatically close unnecessary ones windows.
โš ๏ธ Attention: Long logging of window activity can lead to memory overflow on your PC. Limit the size of the log file or configure log rotation (for example, create a new file every hour).

FAQ: Frequently asked questions

Is it possible to see open windows on Android without connecting to a PC?

Yes, the following are suitable for this:

  • Standard multitasking menu (shows only user windows).
  • Applications like Simple Task Manager or OS Monitor (without root, not all processes will be shown).
  • Menu For developers (section Services or Processes).

For a complete list (including system windows) without a PC, you need root access.

Why are some windows not displayed in multitasking?

This happens for several reasons:

  • The application uses a flag FLAG_SECURE (for example, banking applications or Netflix), which blocks screenshots and display in multitasking.
  • The window runs in background as a service (for example, Google Play Services).
  • The smartphone manufacturer modified Android and hid system windows (often found on Xiaomi and Huawei).

To see such windows, use ADB or applications with root access.

How to close a window that does not close through multitasking?

If the window is frozen or does not respond to standard closing:

  1. Use the command ADB:
    adb shell am force-stop package name

    For example, for WhatsApp:

    adb shell am force-stop com.whatsapp
  2. In the menu For developers find the process and click Stop.
  3. Install OS Monitor (with root) and forcefully terminate the process.

If the window is a system one (for example com.android.systemui), closing it may lead to rebooting the interface.

Is it possible to monitor windows on Android remotely (for example, for parental controls)?

Yes, but with limitations:

  • Use applications like Kids Place or Family Link (show only running applications, not windows).
  • Set up Tasker + AutoRemote to send window logs to another phone.
  • Install Cerberus (requires root) - it can take screenshots of active windows and send them by email.

Without root, remote window tracking impossible due to Android security restrictions.

How find out which window consumes the most resources?

To do this:

  1. Open Settings โ†’ Battery โ†’ Battery usage (on some devices you need to click on the graph).
  2. Use ADB:
    adb shell top -m 10 -t

    This will show the top 10 processes by CPU consumption.

  3. Install OS Monitor and sort processes by CPU or Memory.

Pay attention to processes with high %CPU (more than 20%) or high memory consumption (more than 300 MB).