How to Get Android N Freeform Window Feature on Your Phone

How to Get Android N Freeform Window Feature on Your Phone

How to get Freeform Feature by Yourself & How to enable it on Nexus devices.

I found it pretty awesome, and you might want to try this out in your phone. So here is the full how to or tutorial you can say to get  freeform window feature. 

1st Method : Android Studio Option : it's easiest option

What you will need to try this?

» Android Studio Installed
» Android N SDK Components.

Now after gathering all above stuffs, Open Android studio and create an Android virtual Device which should be running the Android N Developer preview. If you don't know how to create Android Virtual Device, than you don't need to be worry. Just follow below steps.
  • Open AVD Manager in Android Studio
  • Click on "Create Virtual Device"
  • Now Choose preset profile that's compatible with Android N, than click next.
  • Now Click on "Show Downloadable System images" on system image screen.
  • Now Choose the "x86" N released labeled under ABI and wait till downloading complete. Once it's done, choose the system image and click next.
  • Now Choose "Landscape" option(Next to Orientation option). We found it easier to launch into landscape mode that's why I mentioned it.
  • Click Finish now to create your AVD.

Now start your AVD. Now you need to do some tweaking to get freeform working in the emulator. You will need to use ADB. Now open a command prompt and follow below steps :
  • Enter "adb shell"
  • Enter "su"
  • Enter "setenforce 0"
  • Enter "settings put global enable_freeform_support 1"
  • Enter "cd /data/local/tmp"
  • Enter "mkdir permissions"
  • Enter "cd permissions"
  • Enter "cp -a /system/etc/permissions/* ./"
  • Enter "sed -e “s/live_wallpaper/freeform_window_management/” >freeform.xml"
  • Enter "mount --bind . /system/etc/permissions"
  • Wait for a couple seconds
  • Enter stop
  • Wait a couple more seconds
  • Enter start
Also Read : Android N Freeform Windows Option/Mode Full Hands-on : How to Get It Yourself

You are Done!!!! Now, your emulator will restart and Freeform will start working..

Method 2 : By Enabling Freeform On Your Nexus Device

First of all take a back-up of your device, If you're really sure to Enable Freeform mode.

What you will need to try this?

» Install custom recovery on your phone like : TWRP(Root your Device) 

Now just follow below steps to start it :
  • You need to boot into your custom recovery.
  • Now mount the system as read-write.
  • Open an ADB shell.
  • Enter cd /system/etc/permissions
  • Enter sed -e “s/live_wallpaper/freeform_window_management/” >freeform.xml
  • Reboot into Android and open another ADB shell.
  • Enter settings put global enable_freeform_support 1
  • Reboot your device again.
Share on Google Plus

About Mitesh Soni

I am Tech Lover and love to write and share latest updates about Android Apps, APK updates and Android tips and tricks...