The Mer Wiki now uses your Mer user account and password (create account on


From Mer Wiki
Jump to: navigation, search

sfdroid - Android-in-a-Window

Status: Alpha, yet stable for basic daily needs

Contact: krnlyng and nh1402 on #sfdroid @ IRC

For installation instructions refer to specific device's wiki page. Currently supported: Nexus 4 and Nexus 5.

Demo video of early unstable release:

Things not yet working inside Android-in-a-Window:

  • NFC
  • bluetooth
  • GPS
  • sensors (accelerometer works!)
  • USB (for apps/services that use it)
  • GSM calls/SMSs (mobile data works!)

Known issues

Written out here instead of bugzilla for now:

  • after updates input (when android dexopts) does sometimes refuse to work (solution: restart renderer when android is up)
  • if the camera is active in android sfos will not be able to take over (close it first in android)
  • vibration motor stops working in both, after an unknown amount of time
  • running a browser in Sailfish and Android, at the same time and switching between them as they both run in the background crashes lipstick I think
  • it's a bit difficult to access the notification bar, or get out of immersive mode (clicking on notification bar does the trick)
  • updating Sailfish OS via OTA breaks sfdroid
  • sfdroid seems to get unresponsive after going to sleep for an excessive amount of time (over night) (not reproducible in anymore though)


v0.9-alpha - 28 February 2016

  • accelerometer (rotation) support
  • reduce cpu usage
  • fix multitouch
  • use dbus to query wifi/mobile data information
  • some bug fixes (input, crashes, ...)
  • hammerhead: runs more smoothly
  • hammerhead: fixed cocovina's system_server startup problem
  • mako: mobile data icon fix

v0.8-1-alpha - 10 February 2016

  • fix high cpu usage of the renderer
  • hack: get out of full screen apps easier (start swipe inside the screen)


  • uinput
  • mako support
  • camera support
  • less cpu usage by system_server
  • fake wifi
  • disabled most HAL modules
  • ...

v0.7-alpha - 24 December 2015

  • Fix resolution
  • Other changes which you won't notice

v0.6-alpha - 13 December 2015

  • Moved fix_input to /usr/bin/sfdroid_fix_input and sfdroid to /usr/bin/sfdroid

v0.5-alpha - 12 December 2015

  • Implement a silly workaround for input: Android will not read input anymore if sfdroid is not maximized/has focus.

v0.4-alpha - 10 December 2015

  • Hardcode Nexus 5 buffer sizes
  • Fix texcoords
  • Screen contens are now correctly drawn
  • Source code released. WORKS!

v0.3-alpha - 10 December 2015

  • Add missing socket close if renderer is not running
  • Fix send_native_handle/recv_native_handle functions (typo)

v0.2-alpha - 9 December 2015

  • Bootloader check adjusted

v0.1-alpha - 8 December 2015

  • Initial upload: First version with fast(er) buffer handle sharing

v0.0-alpha - 5 December 2015

  • Test version (for nh1402), based on thp's harmattandroid: (slow) copy of SurfaceFlinger buffer. WORKS!
Personal tools