[GUIDE] Enable Multi-Window Mode on Android 6.0 Marshmallow

Search This thread

Quinny899

Recognized Developer / Recognized Contributor
Jan 26, 2011
8,428
7,694
23
Salford, Greater Manchester, UK
quinny898.co.uk
There's a hidden feature in Android 6.0, multi window. It has its warnings:
LTBQgdy.png

So decide if this is actually for you before following these steps

It's not shown in user builds, so we have to do some messing. You'll either need root or a custom recovery to do this, but as not everyone wants root, here's how you do it with TWRP, a USB cable, and a PC with ADB:

1. Boot your device into recovery
2. Mount your system by going to Mounts > Tick System
3. On your PC open a command line, somewhere like your desktop is useful
4. Type the following command:
HTML:
adb pull /system/build.prop
5. Open the build.prop file with your favourite (decent) editor, I recommend using Notepad++ on Windows
6. Find the "ro.build.type" line
7. Change the text after = to "userdebug" from "user"
BONUS: If you want a nicer DPI here, change the line "ro.sf.lcd_density" to your preferred DPI
8. Save the file
9. Go back to the command line and enter the following command:
HTML:
adb push build.prop /system/
10. Now open a shell doing:
HTML:
adb shell
11. Now a adb shell will open, enter these commands:
HTML:
cd system
chmod 644 build.prop
12. Reboot the device as normal
13. When the device has booted, go to the developer options
14. Scroll down to the bottom of the "Drawing" category
15. Enable multi-window and have some fun!

If you're rooted...
1. Download "Build.prop editor"
DpAmcMy.png

2. Find "ro.build.type"
zmWQy4K.png

3. Edit it to have the value "userdebug" from "user"
zmWQy4K.png

4. Reboot when prompted
5. When the device has booted, go to the developer options
6. Scroll down to the bottom of the "Drawing" category
7. Enable multi-window and have some fun!

 
Last edited:

prwnd

Senior Member
Sep 11, 2011
95
14
I flashed the latest hammerhead twrp with fastboot command, it was successful, but when I reboot bootloader and choose recovery, it keeps loads forever and sometimes the screen flashes black. I tried CWM after that, it said root needed. How do you guys got recovery on M?
 

elreydenj

Senior Member
Aug 12, 2012
956
183
How do you use it after enabling?

I get how to use it, but how do you consistently pick the two apps that you want to appear?

---------- Post added at 11:28 AM ---------- Previous post was at 11:26 AM ----------

I get how to use it, but how do you consistently pick the two apps that you want to appear?


It seems to be all over the place. I cant figure out how to always get the two apps that i want in multiwindow to show....
 
  • Like
Reactions: psychomaniac189

hsay

Senior Member
May 18, 2012
1,605
567
pune
I flashed the latest hammerhead twrp with fastboot command, it was successful, but when I reboot bootloader and choose recovery, it keeps loads forever and sometimes the screen flashes black. I tried CWM after that, it said root needed. How do you guys got recovery on M?

This is the wrong place to ask this question . Check your pm i have given you the solution and please ask your questions in the right thread next time onwards :)
 

Adr990

Senior Member
Jul 12, 2012
251
116
I got this message from ADB:

failed to copy 'build.prop' to '/system//build.prop': Read-only file system

Anything?

Edit:
I tried flashed TWRP as recovery via adb, then in TWRP I pushed the build.prop back. (And did the chmod, following the tutorial from OP)
It doesn't work. :( (Doesn't seem to change/push the build.prop that way at all, the DPI hasn't changed either.)
 
Last edited:

Adr990

Senior Member
Jul 12, 2012
251
116
Can you send your build.prop to me via pm. I can flashable zip for you :)

Ah yes! Thanks man.

I can do this myself, luckily. I just totally forgot about that for a sec. :)

Here I share my flash-able zip. (At own risk, of course. But it works for me.)
It contains a 430 DPI Mod, adblocking hosts file (10 fed 2015, more info see my Personal Settings site in my sig), & of course the userdebug Mod. :) (Also, I removed the commented lines from the build.prop to make it smaller)

Edit:
Also made one to revert back to the Stock stuff. (Unmodified Android M build.prop/hosts)

Edit2:
The Multi window feature works fine so far. Really cool! :D Thanks OP.
 

Attachments

  • userdebug_MOD_430DPI_MOD_hosts_MOD.zip
    9 MB · Views: 1,030
  • AndroidM_MODs_Revert_Stock.zip
    123.9 KB · Views: 399
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 104
    There's a hidden feature in Android 6.0, multi window. It has its warnings:
    LTBQgdy.png

    So decide if this is actually for you before following these steps

    It's not shown in user builds, so we have to do some messing. You'll either need root or a custom recovery to do this, but as not everyone wants root, here's how you do it with TWRP, a USB cable, and a PC with ADB:

    1. Boot your device into recovery
    2. Mount your system by going to Mounts > Tick System
    3. On your PC open a command line, somewhere like your desktop is useful
    4. Type the following command:
    HTML:
    adb pull /system/build.prop
    5. Open the build.prop file with your favourite (decent) editor, I recommend using Notepad++ on Windows
    6. Find the "ro.build.type" line
    7. Change the text after = to "userdebug" from "user"
    BONUS: If you want a nicer DPI here, change the line "ro.sf.lcd_density" to your preferred DPI
    8. Save the file
    9. Go back to the command line and enter the following command:
    HTML:
    adb push build.prop /system/
    10. Now open a shell doing:
    HTML:
    adb shell
    11. Now a adb shell will open, enter these commands:
    HTML:
    cd system
    chmod 644 build.prop
    12. Reboot the device as normal
    13. When the device has booted, go to the developer options
    14. Scroll down to the bottom of the "Drawing" category
    15. Enable multi-window and have some fun!

    If you're rooted...
    1. Download "Build.prop editor"
    DpAmcMy.png

    2. Find "ro.build.type"
    zmWQy4K.png

    3. Edit it to have the value "userdebug" from "user"
    zmWQy4K.png

    4. Reboot when prompted
    5. When the device has booted, go to the developer options
    6. Scroll down to the bottom of the "Drawing" category
    7. Enable multi-window and have some fun!

    69
    Just to share how I enabled multi window on a Nexus 7 2013. Instead of changing ro.build.type to userdebug which may have the system-wide effect of enabling all hidden experimental code/features which may cause instability, I discovered a more specific property to enable multi window - just adding persist.sys.debug.multi_window=true in build.prop and restarting device will only enable multi window feature.
    7
    Just to share how I enabled multi window on a Nexus 7 2013. Instead of changing ro.build.type to userdebug which may have the system-wide effect of enabling all hidden experimental code/features which may cause instability, I discovered a more specific property to enable multi window - just adding persist.sys.debug.multi_window=true in build.prop and restarting device will only enable multi window feature.

    I've created a flashable zip for this. I know probably this is a "hack-y" way.

    What this zip do:
    a) Change ro.build.type from userdebug to user (if found)
    b) add persist.sys.debug.multi_window=true
    6
    same question....how to do it for secondary M review in


    Use any file explorer with root permissions (I used es explorer). Boot into your lollipop rom. Navigate to /data/media/multirom/roms/ and locate the build prop file for that android M ROM. edit as per op. Reboot into the android M ROM. Profit!!! I did not even need to use a pc for this.
    6
    @Quinny899 I made a video on how to get multi-window on Android M. You can add it to the OP if you'd like. :)

Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone