Mode Picture-in-Picture (PiP) allows you to watch videos from YouTube in a small window on top of other applications - convenient for multitasking. But by default, the feature only works for subscribers YouTube Premium or on select supported devices. Fortunately, there are workarounds. On Android, you can implement PiP for YouTube in at least 5 ways: through system settings, third-party applications, modified versions of commands, and even manually editing configuration files (for advanced users). In this article -
On Android, you can implement PiP for YouTube in at least 5 ways: through system settings, third-party applications, modified versions YouTube, ADB-commands and even manual editing of configuration files (for advanced users). In this article - step-by-step guide for each version of Androidincluding solutions for devices without rootrights and with them. We will also look at why PiP may not work on some smartphones Xiaomi, Samsung and Huawei, and how to fix it.
โ ๏ธ Important: some methods require disabling updates YouTube via Google Play. This may affect the stability of the application. You perform all manipulations at your own peril and risk.
1. Official method: enable PiP in YouTube settings (for Premium)
If you have an active subscription YouTube Premium, the mode Picture-in-Picture is turned on automatically. But even in this case, manual configuration is sometimes required:
- Open the application YouTube and log into your account.
- Tap on the avatar in the upper right corner โ
SettingsโGeneral. - Find the option
Picture-in-Pictureand activate it. - Start any video, then press the button
Homeโthe video should be minimized to a small window.
On some devices (for example Samsung Galaxy with a shell One UI), additional PiP settings may be located in the system parameters:
- ๐ฑ Go to
Settings โ Applications โ Special access โ Picture-in-Picture. - ๐ Make sure that YouTube PiP mode is enabled.
- โ๏ธ On some firmware (for example MIUI), you need to separately enable "Display on top of other windows".
โ ๏ธ Attention: On devices with Android 10 and lower, the official PiP for YouTube may work unstable due to restrictions Google. In this case, one of the alternative methods below will help.
2. PiP without Premium: modified versions of YouTube (Vanced, ReVanced)
The most reliable way to get Picture-in-Picture without a subscription is to use modified versions YouTube. Previously, there was YouTube Vancedfor this, but after it was closed, alternatives appeared:
| Application | Does root required? | PiP support | Ad blocking |
|---|---|---|---|
| ReVanced | โ No | โ Yes | โ Yes |
| YouTube Premium (mod) | โ No | โ Yes | โ Yes |
| NewPipe | โ No | โ Yes (but not the classic PiP) | โ Yes |
For installation ReVanced:
- Download official patcher from the site ReVanced.
- Install the original YouTube from APKMirror (version not newer than 17.49.36).
- Run ReVanced Patcher, select the downloaded one APK and apply the patches:
Select:- Enable Picture-in-Picture
- Disable ads (optional)
- MicroG support (if needed) - Install the resulting modified APK.
After installation ReVanced turn off automatic updating YouTube v Google Play, otherwise the modified version will stop working.
What to do if ReVanced does not start?
If after installation ReVanced gives an error, try:
1. Delete all updates Google Play Services.
2. Install MicroG to emulate Google services.
3. Use an older version of YouTube (for example, 17.30.34).
3. Enabling PiP via ADB (without root)
If you do not want to install modified versions, you can activate Picture-in-Picture via ADB. This method works on most devices with Android 8.0+:
Install ADB on PC (download from [developer.android.com](https://developer.android.com/studio/releases/platform-tools))
Enable USB debugging in developer settings (Settings โ About phone โ Build number (7 taps) โ For developers โ USB debugging)
Connect your phone to the PC and confirm the trusted device
Open the command line in the folder with ADB-->
Run the command:
adb shell settings put global force_desktop_mode_on_external_displays 1
Then:
adb shell am start -n com.google.android.youtube/.app.honeycomb.Shell$LeanbackShellActivity
After that:
- Open YouTube and start the video.
- Press the button
Homeโthe video should be minimized to the PiP window.
โ ๏ธ Attention: on some firmware (for example, ColorOS from Oppo/Realme) this method may only work after rebooting the device. Also Google periodically blocks such bypasses - if PiP stops working, repeat the procedure or use another method.
4. Alternative applications for PiP (without YouTube modifications)
If you donโt want to mess around with ADB or modified APK, you can use third-party applications that emulate the mode Picture-in-Picture:
- ๐ฅ Floating YouTube - creates a floating window on top of other applications. Requires the "Display on top of other windows" permission.
- ๐ PiP Tool - universal solution for PiP, works with most video applications, including YouTube.
- ๐ฅ๏ธ BubbleUPnP - broadcasts video. from YouTube via UPnP/DLNA in a separate window.
To configure Floating YouTube:
- Install the application from Google Play.
- Open it and allow access to "Accessibility" (
Settings โ Accessibility โ Floating YouTube). - Start the video in YouTube, then pull down the notification panel and tap on the notification Floating YouTube.
๐ก Useful advice: If the floating window does not appear, check if the battery optimizer is blocking it. data-i="155">and Xiaomi And Huawei add Floating YouTube to the "Protected applications" list.
5. Manual editing of configuration files (for root)
On devices with root access you can manually enable Picture-in-Picture for YouTubeby editing system files. This method is suitable for advanced users:
- Install a file manager with support
root(for example, Root Explorer or FX File Explorer). - Go to the path:
/data/data/com.google.android.youtube/shared_prefs/ - Find the file
phenotype.xmland open it in a text editor. - Add or edit line:
<string name="GmsCore_pip_whitelist">com.google.android.youtube</string> - Save the file, reboot the device.
โ ๏ธ Attention: Incorrect editing of system files can lead to malfunctions YouTube or even the entire system. Before making changes, make a backup copy of the file. phenotype.xml.
An alternative way for rootusers is to use the module Magisk:
- ๐ง Install Magisk Module "YouTube PiP Enabler" via Magisk Manager.
- ๐ Reboot the device.
- ๐ฌ PiP should work without additional settings.
On devices with Magisk the "YouTube PiP Enabler" module is the most reliable way to enable PiP, as it automatically bypasses checks Google and does not require manual editing of files.
6. different firmware
Smartphone manufacturers often modify Android, which may affect the work Picture-in-Picture. Here's what you need to know:
| Firmware | Problems with PiP | Solution |
|---|---|---|
| MIUI (Xiaomi) | PiP is blocked by the battery optimizer | Add YouTube to "No restrictions" (Settings โ Battery โ Battery optimization) |
| One UI (Samsung) | PiP works only for selected applications | Use ADB-command: |
| ColorOS (Oppo/Realme) | PiP turns off after locking the screen | Enable "Background playback" in settings YouTube |
On devices Huawei s EMUI Additional settings may be required:
- Go in
Settings โ Applications โ Applications โ YouTube โ Advanced โ Display in other applications. - Enable the option
Allow display in other applications. - Start the video, then swipe up to go to Picture-in-Picture.
๐ก Tip: if PiP does not work on Samsungtry enabling developer mode and activating the option Force Desktop Mode (see section with ADB).
7. Why PiP may not work and how to fix it
Even after all the settings Picture-in-Picture sometimes it refuses to work. Here are the most common reasons and solutions:
- ๐ซ Google limitations: since 2023 YouTube actively blocks PiP for non-premium users. The solution is to use modified versions. (ReVanced) or
ADB-method. - ๐ Battery optimization: on Xiaomi, Huawei and Samsung the system can kill background processes. add YouTube to exceptions.
- ๐ฑ Incompatible version). Android: on Android 7.0 and below PiP is not supported at the system level. The solution is to update the firmware or use alternative applications (for example, NewPipe).
- ๐ Blocked by the manufacturer: some brands (for example, Meizu) disable PiP at the firmware level. The solution is to install custom software (LineageOS).
If after all the manipulations PiP still does not work:
- Check whether it is blocked by an antivirus or firewall (for example, Avast or Norton).
- Delete cache and data YouTube (
Settings โ Applications โ YouTube โ Storage โ Clear cache/data). - Try another launcher (for example Nova Launcher), as some shells conflict with PiP.
โ ๏ธ Attention: on devices with Android 14+ Google tightened control over PiP. If you use modified APKs, they may stop working after updating. Google Play Services. In this case, you will have to wait for the release of a new patch from the community ReVanced.
FAQ: Frequently asked questions about PiP in YouTube on Android
Is it possible to enable PiP on YouTube without Premium and without root?
Yes, there are three working ones method:
- Use
ADB-commands (see section 3). - Install modified YouTube via ReVanced (section 2).
- Use third-party applications like Floating YouTube (section 4).
All methods do not require rootrights, but may require disabling automatic updates YouTube.
Why does PiP only work with some videos?
This is a limitation YouTube:
- ๐ต Music videos and short videos (< 1 minute) are often blocked in PiP.
- ๐บ Live broadcasts do not support PiP by default.
- ๐ Protected content (for example, movies with age restrictions) can block the miniature window.
Modified versions (ReVanced) do not have these restrictions.
How to return standard YouTube after installation ReVanced?
If you want to return to the original YouTube:
- Delete the modified version via
Settings โ Applications. - Download the official YouTube s Google Play or APKMirror.
- If errors occur during installation, clear the data Google Play Services (
Settings โ Applications โ Google Play Services โ Storage โ Clear data).
โ ๏ธ After returning to the original YouTube mode PiP will stop working without Premium.
Will the account be banned for using ReVanced?
No, ReVanced does not violate the rules YouTubeso like:
- ๐ก๏ธ Does not change the server part (unlike hacked versions with premium functions).
- ๐ Does not affect recommendation or monetization algorithms.
- ๐ต Does not send data to third-party servers (if downloaded from the official website).
However, Google may block some functions (for example, PiP) in future updates. The risk of account ban is minimal, but theoretically possible when using unofficial patches to bypass monetization.
How to enable PiP on an Android tablet?
On tablets the process is similar, but there are nuances:
- On Samsung Tab you may need to enable
Desktop modein the developer settings. - On Lenovo Tab sometimes you need to manually enable PiP for YouTube in
Settings โ Display โ Picture-in-Picture. - If use ReVanced, select the version YouTube for tablets (marked
tabletin the APK name).
For Android 12L/13+ check whether PiP does not conflict with the multitasking mode (Split Screen).