Saturday 30 May 2015

Enable Multi-Window Mode on Android M Developer Preview

 https://lh3.googleusercontent.com/wA-BaPfA-2b4Ij5BZazkrp1j2RDJ1wFPnOqKqYTUJ1yacxg6h_Mm5skfBwDQsaiBEA=w300

There's a little known feature in the M developer preview that wasn't announced in the Keynote, probably because of this: 



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 we don't have proper root on M yet, here's how you do it with TWRP, a USB cable, and a PC with ADB:

INSTRUCTIONS
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:
Code:
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:
Code:
adb push build.prop /system/
10. Now open a shell doing:
Code:
adb shell
11. Now a adb shell will open, enter these commands:
Code:
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!



CREDITS : Quinny899

Powered by Blogger.