yashsingh1/xdaforums huggingface dataset:
[Android General] kevtrysmoddin:
If your phone is rooted you could try doing it via your device
[Android General] Nacho~:
what app would you suggest? and would I just need to edit the build.prop then reboot? or is there anything else? and is what i posted to edit correct?
[Android General] kevtrysmoddin:
You could give build prop editor a try or edit the build.prop via a root explorer and theoretically yes it should be there after a reboot but bear in mind I did the mod through adb not through an app so u may be the first to try it but its ur device therefore your fault if it goes wrong so think carefully before trying
[Android General] Nacho~:
is what I said previously to change the correct change to make though? as I said, I did this through adb on my computer before and it DID NOT work.
[Android General] kevtrysmoddin:
Yeah the change was right

ro.build.user changed to ro.build.userdebug
[Android General] Nacho~:
Alright. Well that is what my build.prop contains currently, so i'm confused as to why it isnt working.
[Android General] Nacho~:
Figured out why i'm not seeing the option after editing the build.prop. After rebooting, it seems that my build.prop goes back to the previous settings and is changed back to user rather than userdebug. any idea why this is? I DO have the validation failed message pop up on boot, but I don't think that is that issue.
[Android General] Yachter99:
I have the same issue!! Has anyone found a solution to this?
[Android General] kyda75:
Same setup here, and yes

I have root and manually made the changes using root explorer under Android, it works fine.
[Android General] craig.buckie:
Are you mounting system in twrp? I edited the build.prop in root explorer, but forgot to mount and it didn't work, but once I did mount, it worked without even having to go back and edit the build.prop.
[Android General] omgkush:
Note 4 CWM 12.1 5.1.1

Hi

Tried to see if this was if was possible as well for the note 4. Im using cwm right now i got the s pen to work with a few aps and tweaks but the only thing im missing is the multi window.

Is this process OK for the note 4?

THanks in advance!
[Android General] Quinny899:
This is for Android 6.0 so it will not work at all, no
[Android General] omgkush:
lol saved me a dry flash and restore :P

Do you have any suggestions for the note 4 cm 12.1?

Thanks for the quick reply too!
[Android General] Quinny899:
No, I have no experience with that device at all
[Android General] omgkush:
Cheers thanks!
[Android General] billycar11:
has anyone tested this on the full m release?
[Android General] efan3719:
yes it works fine here on my nexus 7 2013 with official M
[Android General] marnox:
TWRP Password

Same problem here!

No one answers our questions?! :(
[Android General] Quinny899:
Is your device encrypted?
[Android General] marnox:
Unfortunately it is. Using a Nexus 9 it's standard encrypted.

Found a solution tough. We have to format our data in TWRP (this will erase everything (apps, settings etc.) on your device)

Then TWRP will start without asking for a password (TWRP -> Wipe -> Format Data)
[Android General] Quinny899:
Updated the OP with instructions on doing it with a rooted device using a build.prop editor
[Android General] spine6:
Whenever i edit mine then restart it just goes back to the default one. :( rooted using the full M rom..
[Android General] marnox:
When following my steps you can properly access system partition on the pc via adb
[Android General] spine6:
[MENTION=2561596]marnox[/MENTION] i followed the adb but the system is read only. i also try to search how to make it r/w like in adb shell but su cannot be found. I tried using built prop editor 3 software still the same. I also tried one of out mate here that created a zip build.prop but when i check still no change.
[Android General] marnox:
Which device are you using? Are you on full Android M release?
[Android General] spine6:
[MENTION=2561596]marnox[/MENTION] using nexus 6 with xtrasmooth rom.
[Android General] Arcaziel:
Tried with the app : nothing changed

Tried to edit r/w with root explorer then edit: black screen of death

Tried to pull/push/edit with adb : WORKING !

Thanks OP !
[Android General] Deeco7:
Working on Android 6.0?
[Android General] Quinny899:
It only works on 6.0
[Android General] spine6:
Guys, i found the solution. If you cannot edit system partition, download hell core b7M and flash it then you can edit system.. I hope it helps..
[Android General] apristel:
I cannot push the edited build.prop back.. says it is read-only file system.

I have hells core kernel and am rooted... is this because I am encrypted?
[Android General] Sk3tch4d:
I had the same issue, not sure why..

I ended up using the root method with the build prop editor app and it worked great :good:
[Android General] ohmimpotence:
I did this using ES File Explorer and when I went to reboot it seems to be stuck on a black screen for me. Is there anything I can do? I'm able to boot into bootloader and recovery but not sure what to do from there

trying to pull technique now but it appears when I try to edit the build.prop using notepad++ it's a bunch of garbage text so it looks like the file is corrupted

I tried the chmod commands but it's still frozen on boot up, what can I do?
[Android General] Deeco7:
I meant final build. Anyways, I've managed to enable it and it works.

Thanks
[Android General] th3xeroeagle:
same problem as you but im on xtreme smooth rom, which is unencrypted
[Android General] spine6:
Have you tried to flash the hellcore b7 then flash the new superuser 2.50? That should fix the issue..
[Android General] nolook:
will this work on my encrypted n9 stock (unlocked bl)? use nexus toolkit to boot twrp image then flash zip?
[Android General] GigaGotsiridze:
I have a problem. Enabled multi-window without any problem, but after miscellaneous battery drain I decided to revert back. Edited build.prop file back to =user and now phone doesn't boot up. Just shows black screen. PC doesn't recognize phone when It's in fastboot. Can access stock recovery but factory reset didn't help. Any ideas?
[Android General] WhiT3Kr0w:
Thanks, it works.

I've used the buildprop editor, but it didn't work when editing the value from the table. It was reverting to "user". Had to edit the file directly using the same app (pen icon) and saving it.
[Android General] xperiacle:
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.
[Android General] Quinny899:
Nice find! I'll rewrite the OP completely when I get the time, replacing all the build.type stuff if debug affects stability
[Android General] pinsl:
This did not work on my nexus 5. Changing ro.build.type worked though.

A tip for everyone: You can just edit build.prop with vi from the adb shell. This way you don't have to push/pull the file.
[Android General] TTerc:
Working great on my nexus, good job mate
[Android General] A.R.P:
i did this 10 times and it still doesn't work. Android 6.0 Nexus 7 2013 but when i do userdebug thing that one works.? would you have a step by step guide please?

---------- Post added at 10:59 PM ---------- Previous post was at 10:59 PM ----------

i did this 10 times and it still doesn't work. Android 6.0 Nexus 7 2013 but when i do userdebug thing that one works.? would you have a step by step guide please?

---------- Post added at 11:06 PM ---------- Previous post was at 10:59 PM ----------

Nevermind it works!! just that I do not see an option in Developers setting to enable and disable multi window feature fxck i did this 10 times!!
[Android General] KopiJahe:
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
[Android General] Abanoub Hani:
Thank yOU

Thank yOU :D
[Android General] as6682:
there is a small bug in your zip..

user and userdebug is swapped..

I modified the "sed line" as follows:

sed -i 's,ro.build.type=user,ro.build.type=userdebug,g' /system/build.prop
[Android General] KopiJahe:
So, do your build type changed

from

user to userdebug by using my zip?

Because I tested it more than once, and the file works as advertised.

I just followed [MENTION=4948919]xperiacle[/MENTION] post.
[Android General] CodeingBoy:
It did no effect until I modified multiwindow.sh like [MENTION=2772545]as6682[/MENTION] said.

---------- Post added at 02:37 AM ---------- Previous post was at 02:37 AM ----------

It did no effect until I modified multiwindow.sh like [MENTION=2772545]as6682[/MENTION] said.
[Android General] KopiJahe:
I see...

What happens on my phone by flashing it, is that multiwindow mode became active, but there's no toggle in the developer options.
[Android General] perseyhmj:
:fingers-crossed:i just modify the prop through root explorer and repalce the original file and then my Nexus 6 can't turn on.
[Android General] Exprince:
A very good and simple tutorial. Works great on my N5 which kinda makes me wonder my Google did not decide to go the extra mile and fully iron out the feature. Anyways thank you for this :)
[Android General] abogrhen:
using buildprop editor

i pressed the plus

1-and add (persist.sys.debug.multi_window) as property name

2-and (true ) as property value

3-The predefined property don't change it

and it works for me

you need root and r/w (use cutom kernel like elemintalX )
[Android General] slayorktc:
I use the same reddit app but was wondering how you got a large view of each post? I only have "list" and "cards" as options in appearance...
[Android General] Lordificated:
works perfect...

i edited build.prop and set userdebug to user but i didnt see the multiwindow enable option in developers section but it was active.!!!

just edit build.prop and check in recent apps for a new button on the title bar of all recent apps....

this is cool stuff!!
[Android General] Quinny899:
It's the default setting, I've not changed anything
[Android General] BeaverWalter:
not recognised in recovery

I tried it, but my for some reason my device is not recognised in recovery... I updated a few days ago with adb and that worked perfectly, anyone know why it's not recognised now?

It is recognised in bootloader, but disconnects when entering recovery (I tried the most common solutions to problems similar like mine, but none have worked so far.)
[Android General] slayorktc:
I think it is actually a different app.. I am using Relay, and yours is like reddit news? Something like that? Might give a try. :)
[Android General] ChemicalSymphony:
Sync for Reddit.
[Android General] Faridcboy:
worked on nexus 6, thanks a lot
[Android General] :
worked like a charm on nexus 7 (2013). Thanks a lot
[Android General] Noltibus:
Is there any way to do this without root and without having a custom recovery? Because I just recieved my Nexus 9 and don't want to loose warranty by unlocking bootloader.
[Android General] craig.buckie:
First did user to userdebug and in the new switch available in the settings, turned on multi window then changed userdebug back to user and added the persist line and the multi window was still there.

If anybody is not getting it.

Used a build prop editor, but went through the lines to change the user line and to add the persist line right before the other persist lines.

On Nexus 6
[Android General] Quinny899:
Nope
[Android General] ant4r3s:
i think no you cant
[Android General] PhilDX:
has anyone noticed increased batt drain after enabling multi-window? there were a lot of complaints during the preview but I found only 1 in here...
[Android General] kerryh:
Is this only for Nexus devices? No M8 support or ROM's of M out yet?
[Android General] akhi24nick:
Nexus 7 2013 deb users, can someone share build.prop that comes with stock OS? I changed the ro.buildtype and the tab wont boot now :/ and when i try to edit the build.prop fle from adb it shows up as garbled text instead of normal plain text.
[Android General] AverageLibrarian:
anything like this for android Lollipop?
[Android General] grinandbearit:
does this work on nexus 4 running 6.0 rom?

edit:

it does! there is no option at settings but it works like described some comments before.
[Android General] IbriVic:
in some way it didnt work for me, guess thats maybe due to the rom im using, its not a perfect copy from 6.0 :(
[Android General] .MoHaMaD:
for you

The backup of build.prop ( system/build.prop.bak)

For all Nexus devices

Enable-Multi-Window

cp /system/build.prop /system/build.prop.bak
sed -i 's/ro.build.type=user/ro.build.type=userdebug/g' /system/build.prop
[Android General] Quinny899:
Surely setprop is a far easier command rather than sed?
[Android General] .MoHaMaD:
setprop ro.build.type=userdebug ?

Does not work

+ >>/data/Enable-Multi-Window.log

+ setprop 'ro.build.type=userdebug'
usage: setprop NAME VALUE
Sets an Android system property.
setprop: Need 2 arguments

I think this would work

Except that an additional line

#!/sbin/sh
mount -o remount rw /system
echo "#Enable-Multi-Window" >> /system/build.prop
echo "ro.build.type=userdebug" >> /system/build.prop
[Android General] Quinny899:
setprop doesn't need the =
[Android General] .MoHaMaD:
You are right

retest not work

Setprop For lines that are not there

For example

setprop qemu.hw.mainkeys 1

It is not working for lines

For example

setprop wifi.supplicant_scan_interval 180

setprop ro.build.type userdebug
[Android General] totza:
Hello! I try everything but I don't have multi windows. I push back build.prop and after restart it just goes back to the default one.

I can't thick System in TWRP/Mount. It's possible somebody to build new system.img with edit build.prop.

Is it going to work if I use this new system.img and flash the new factory image. Any other suggestion?

My tablet is Nexus 7 2013 not rooted.
[Android General] hamada samir:
thanks
[Android General] KopiJahe:
I created a flashable zip few pages back that enables multi-windows (no toggles though), works perfectly on my nexus 5.
[Android General] totza:
I tried and this, without result. May be I am doing something wrong. Can you tell me step by step what I should do.

Thank you!
[Android General] gaaraofthesand:
Thanks for the info!

tried it on my nexus 5 and it worked.:good:
[Android General] SirAugur:
works on unofficial CM13 for LG G3 without problems :)
[Android General] notfaded1:
Must have /system mounted +rw to edit files in /system

I think a few people here have been running into similar problems... for one you need to be rooted to make these changes. Also unless you remount /system as read/write any changes to the build.prop are NEVER going to stick. Note if you are rooted some root explorer/editors will automatically remount /system read/write so you can make these edits... some others will have option to remount read/write. It all depends on what you are using using to edit build.prop with. As some have show here you can also do this all from the command line if you are rooted.
[Android General] Quinny899:
Yes, that's why the guide in the OP uses TWRP. That doesn't require root on the main system.
[Android General] lartomar2002:
I may have missed it when looking through the thread but you said in the OP that this was for people that did not want root. Can this be installed if you have root?
[Android General] Quinny899:
With TWRP, yes
[Android General] lartomar2002:
So, I only need to download the zip files and flash with TWRP. I am presently using a lollipop bootloader and running IronRom 2.5. Of course I would only do this after intalling Android 6.0.
[Android General] Quinny899:
No, you need to follow the guide in the OP
[Android General] IamAlexD:
Thanks man I am searching for this because I am currently on stock ROM.In CyanogenMod 12 and above it is already there.Just have to enable the developer option and inside the developer option you can find the Multi window option.
[Android General] ximfinity:
Is there any similar variable to re-enable the dark theme "night mode" in settings?

https://twitter.com/hernan10alvarez/status/651182873047732224/photo/1?ref_src=twsrc^tfw
[Android General] Mavz12:
will this work on any android devices with custom marshmallow rom?
[Android General] Quinny899:
Yes
[Android General] Mavz12:
Thanks [MENTION=3563640]Quinny899[/MENTION]
[Android General] Aamirx27:
tried on m8, enabled option but no button in recent menu
[Android General] hasck:
It works!

Bone stock Nexus 9 on MMB29K. Just for the record, here is what I did:

ADB full backup

Unlocked bootloader (forced reset, hence the backup beforehand)

ADB restore => this method really works well!

In fastboot, booted (not flashed) twrp 2.8.7.1-flounder (command line: fastboot boot twrp.img)

Then followed steps in OP.:good:
[Android General] totza:
strange thing

I've notice some strange thing. I try to update to 6.0.1 with OTA. I got error message about external elements in build.prop. So i decide to factory reset to 6.0 and the try to install the update and it's work. Anybody else have problem to update to 6.0.1 or successfully update with the change build.prop.
[Android General] hasck:
If I understand correctly, the entire system partition has to be 100% stock for an official OTA update package to install.

We are modifying a file on the system partition here, so it makes sense for the update to fail.

I think one could simply flash the system partition back to stock (I did that once on my Moto G), or maybe even just edit the build.prop back to stock and the update would work.
[Android General] paxonus:
If you are using systemless root, you cannot edit build.prop since /system, where build.prop resides, is read only. But it appears to be possible to make changes to build.prop that will work using a different method. This is what is being used to modify the options for tethering http://xdaforums.com/nexus-6/help/systemless-root-6-0-1-build-prop-edit-t3266107/page5. What is needed for multi-window is the correct global setting. Does anyone know what that would be?
[Android General] Quinny899:
persist.sys.debug.multi_window=true
[Android General] gadget!:
I have no issues using multi window but like the 2 above I can't figure out how to get 2 specific apps to open.

I open an app using the icon in recents just fine but when I open another window it replaces the original one that I had open with a different app.

The only way I can get it to actually open the 2 apps I want is to clear recents and then open the 2 apps that I want.

That's not really a realistic option.

sent from a Galaxy far far away.
[Android General] VanGolfer:
[MENTION=3563640]Quinny899[/MENTION]: could you make a flashable zip file for this, systemless rooted? Thanks
[Android General] drewski_1:
if you're rooted, it's super easy to modify one line in build.prop, no? :p
[Android General] electricpete1:
It's not true that you can't edit build.prop (You just have to mount system as rw...I did it in root explorer on my phone N6 running 6.0.1 with systemless root). Although it may be the case that you dont' want to edit build.prop for fear of losing ability to take OTAs as discussed above. My system is already modified by xposed so I won't be able to take ota anyway.... I'm planning on dirty-flashing the factory images, rather than taking OTA updates.

---------- Post added at 02:09 PM ---------- Previous post was at 02:02 PM ----------

You might not have to clear recents but you've got to get the apps into recents in order to activate the feature. I open them first and then find them at the most recent end (*) of my recent list. (* I hesitate to describe it as top or bottom... it's "bottom" as in near the bottom speaker but "top" as in highest depth within the stack of app cards. )

I also find it is important to clear the app from recents when I'm done... otherwise it will jump right into multi-window mode the next time I open that app.

Disappointing thing for me: if youtube is playing in one window, then it stops when I do almost anything in the other window (like tap a link in chrome). Anyone else see this?

That (doing stuff while watching youtube) was the reason I activated multi-window. What other valuable uses are you guys finding?
[Android General] Takinato:
I have the build prop updated to userdebug but there is still no option in developer options to enable multi window nor is there the little icon next to the X in my recent apps menu, is there anything else i should check to see if its enabled?
[Android General] Quinny899:
What device/ROM/Android version?
[Android General] Takinato:
Was using resurrection ROM based on cm13 on Samsung galaxy note 3. Loaded the systemless SuperSU 2.66 and then bam it was there.
[Android General] FRO$TE:
Trying to enable multi window on my Nexus 6, 6.0.1

Man i think I am in a a bit of a trouble here. I tried to enable multi window on my Nexus 6, and I am now stuck in "boot loop", is what they call it. Since I am new to this thing, I followed a vid instruction (here: Youtube vid entitled: How to Enable Multi-Window on Android M! [Nexus 5/ Nexus 6/ Nexus 9]). Written steps:

Install comstum recovery

./fastboot flash recovery twrp-2.8.7.1-shamu.img

Start up TWRP and select "Mount" > check mark "System"

Back to cmd, I entered

adb pull /system/build.prop (the filed was pulled and saved to a folder on my desktop)

I edited the build.prop file: line "ro.build.type=user" and change it to "ro.build.type=userdebug". And save the file.

Back to cmd, I entered

adb push build.prop /system/ (here it kept says no space left on device, I really didn't know what to do)

So...I went ahead and do the rest.

adb shell

cd system

chmod 644 build.prop (something happened here, I don't remember)

Now it doesn't pass the screen that says my phone is corrupt. I really need some help here. I tried some of the commands that you had here. They were quite similar to what I did. The whole modifying of the build.prop file.

I tried your zip files. I don't know if I should have. I used the custom recovery to install the stock zip file you have in linked, but I am still unsuccessful.

I would really appreciate some help here. Thanks much.
[Android General] Androidlover99:
Moto X Pure?

Will this guide work on a 2015 Moto X Pure, unrooted with the stock 6.0 rom?

I was thinking would changing the name of the disc image... twrp-2.8.6.1-hammerhead.img

To: twrp-2.8.6.1-clark.img be the same thing? Since that's the codename for the MXP? I'm just going off your video guide but I got stuck at this step, thanks for any help! :)
[Android General] drewski_1:
Your recovery version is not relevant for this mod. It's the modification of the build.prop that will alllow the Multi-Window mode.

That said, changing the name of the hammerhead TWRP to match MXP codename and then trying to install on your MXP sounds like a bad idea. You need to find the MXP TWRP image and install that.
[Android General] Androidlover99:
And I need to be rooted to do that, there's no other way?
[Android General] drewski_1:
sorry, i wasn't clear. i was meaning to say it doesn't have to be TWRP, it could be CWM recovery and then you could follow the steps for Unrooted in the top of the guide.

and also, you should be able to find TWRP for MXP
[Android General] Androidlover99:
Which one is easier to install, CWM, or TWRP?

I found the TWRP for the MXP: https://twrp.me/devices/motorolamotox2015pure.html

No luck with finding a CWM for it, though.

Is there a video tutorial on how to install TWRP?
[Android General] Castigo90:
The same thing happened to me many times, just download the factory image of the latest version of Android M from Google's developers site and flash it. ;)
[Android General] FRO$TE:
Thank man. Thats what I did.
[Android General] Castigo90:
So, what's the solution to the "no space left on device" problem?
[Android General] b1bub4bu:
I am on resurrection ROM nexus 9, already have userdebug on buildprop but there is no option for multi window in developer options.