11
[GUIDE][COS13] Enable multi window

  1. KarelOne
    Jelly Bean Apr 16, 2016

    KarelOne , Apr 16, 2016 :
    Code:
    #Warning: This will enable multi window, a feature that is still considered experimental. So keep in mind that it might not be 100% stable
    #This will also work on CM13 stable/Roms based on CM13 stable
    Code:
    #I've created flashable zips to enable and disable multi window for the ease of use.
    #You can use them or follow my guide to enable or disable multi window yourself.
    Zips:
    Enable multi window
    Disable multi window

    First method:

    Requirements:
    • Root access
    • File manager with root explorer (ES File Explorer for example)
    Steps:

    Code:
    #navigate to /system (make sure your file manager has root access before you proceed)
    #open build.prop
    #add the following line to your build.prop:
    persist.sys.debug.multi_window=true
    #save the file
    #reboot the phone
    
    To disable multi window again, simply follow the steps again, but remove the line:
    Code:
     persist.sys.debug.multi_window=true
    from build.prop instead of adding it.

    Alternative method without root access:
    This method doesn't require your to flash SuperSU in TWRP. Ideal for people who can't have root access because of certain reasons.

    Requirements:
    • TWRP recovery
    • Android SDK with platform tools (I'm not going to explain how to set everything up, there's plenty of guides out there)
    • A PC
    Steps:

    Code:
    #boot into TWRP recovery
    #tap on mount and check the system partition
    #connect your phone to your pc
    #open CMD as admin on your PC
    #navigate to platform tools in your android-sdk folder. An example with SDK on desktop:
    cd C:\Users\<username>\Desktop\android-sdk-windows\platform-tools
    #check if your pc recognizes your device
    adb devices
    #if your device is listed, continue. Otherwise you'll have to fix your drivers (plenty of guides out there for that)
    #execute the following commands:
    adb shell
    echo "persist.sys.debug.multi_window=true" >> /system/build.prop
    exit
    adb reboot
    
    To disable multi window again using this method, simply follow the steps again, but use the command:
    Code:
    sed -i 's/persist.sys.debug.multi_window=true//g' /system/build.prop
    instead of:
    Code:
    echo "persist.sys.debug.multi_window=true" >> /system/build.prop
    mwss1.png mwss2.png
     
    Last edited: Apr 17, 2016

    #1
  2. jstepa
    KitKat Apr 16, 2016


    #2
    KarelOne and Slatter191 like this.
  3. KarelOne
    Jelly Bean Apr 16, 2016

    KarelOne , Apr 16, 2016 :
    Yep, I messed up. Can a mod change multirom to multi window in the title?
     

    #3
  4. mickcost
    Honeycomb Apr 16, 2016


    #4
  5. jstepa
    KitKat Apr 16, 2016

    jstepa , Apr 16, 2016 :
    Just report your own OP, somebody will change it...
     
    Last edited: Apr 16, 2016

    #5
    Ceasedd and KarelOne like this.
  6. KarelOne
    Jelly Bean Apr 16, 2016


    #6
  7. KarelOne
    Jelly Bean Apr 16, 2016

    KarelOne , Apr 16, 2016 :
    Yeah, I've done that.
     

    #7
    jstepa likes this.
  8. gusuraman
    Global Head Moderator Apr 16, 2016

    gusuraman , Apr 16, 2016 :
    Fixed:)
     

    #8
  9. KarelOne
    Jelly Bean Apr 16, 2016


    #9
    gusuraman likes this.
  10. johmss
    Honeycomb Apr 16, 2016

    johmss , Apr 16, 2016 :
    Excelent post.

    I still don't understand why it doesn't exist a full Zip with those changes already in it.

    Is it possible?

    Could mean that flashing that zip wouldn't work?
     

    #10
  11. BlueMargarita
    Apr 16, 2016

    BlueMargarita , Apr 16, 2016 :
    Thanks for the thread. Sounds very clear and concise! Same questions about multiwindow I've tried asking today.:)
     

    #11
    KarelOne and Ceasedd like this.
  12. KarelOne
    Jelly Bean Apr 17, 2016

    KarelOne , Apr 17, 2016 :
    Glad you found it helpful and it's definitely possible, yes.

    No problem, I thought I'd be helpful for other people who are interested in this feature.
     

    #12
    Deactivated User likes this.
  13. raaomoka
    Honeycomb Apr 17, 2016

    raaomoka , Apr 17, 2016 :
    Awesome! Working great on my OnePlus One :D

    Screenshot_20160417-045224.png
     

    #13
  14. KarelOne
    Jelly Bean Apr 17, 2016

    KarelOne , Apr 17, 2016 :
    For some reason, this multi window seems even more responsive than the one included in the CM13 nightlies. Though COS13 overall is more responsive than the CM13 nigthlies, at least it feels like that for me.
     

    #14
  15. KarelOne
    Jelly Bean Apr 17, 2016

    KarelOne , Apr 17, 2016 :
    I've created flashable zips to enable and disable multi window, I'll upload them and add them to this thread.

    Edit:
    Here are the zips:
    Enable multi window
    Disable multi window
     

    #15
    Tricksodave, raaomoka and gusuraman like this.
  16. prthathi
    Eclair Apr 17, 2016

    prthathi , Apr 17, 2016 :
    The flashable zips work on an unrooted device??

    And does flashing them need twrp or they can be flashed via the stock recovery too.??
     

    #16
  17. KarelOne
    Jelly Bean Apr 17, 2016

    KarelOne , Apr 17, 2016 :
    They work on an unrooted device but require TWRP recovery. I'm sorry, stock recovery just doesn't support other zips than official ROM's and updates.
     

    #17
    prthathi likes this.
  18. johmss
    Honeycomb Apr 17, 2016


    #18
    KarelOne likes this.
  19. BlueMargarita
    Apr 18, 2016


    #19
    johmss, KarelOne and raaomoka like this.
  20. KarelOne
    Jelly Bean Apr 18, 2016

    KarelOne , Apr 18, 2016 :
    yeah it's amazing in landscape!
     

    #20
    Deactivated User likes this.