Adaptations/libhybris/sfdroid

= sfdroid - Android-in-a-Window =

Status: Alpha, yet stable for basic daily needs

Contact: krnlyng and nh1402 on #sfdroid @ IRC Freenode.net

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

Demo video of early unstable release: https://www.youtube.com/watch?v=--OtwvH4ARU

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 2.0.0.10 anymore though)

Changelog
v0.9-alpha - 28 February 2016 v0.8-1-alpha - 10 February 2016 v0.8-alpha
 * 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
 * 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 v0.6-alpha - 13 December 2015 v0.5-alpha - 12 December 2015 v0.4-alpha - 10 December 2015 v0.3-alpha - 10 December 2015 v0.2-alpha - 9 December 2015 v0.1-alpha - 8 December 2015 v0.0-alpha - 5 December 2015
 * Fix resolution
 * Other changes which you won't notice
 * Moved fix_input to /usr/bin/sfdroid_fix_input and sfdroid to /usr/bin/sfdroid
 * Implement a silly workaround for input: Android will not read input anymore if sfdroid is not maximized/has focus.
 * Hardcode Nexus 5 buffer sizes
 * Fix texcoords
 * Screen contens are now correctly drawn
 * Source code released. WORKS!
 * Add missing socket close if renderer is not running
 * Fix send_native_handle/recv_native_handle functions (typo)
 * Bootloader check adjusted
 * Initial upload: First version with fast(er) buffer handle sharing
 * Test version (for nh1402), based on thp's harmattandroid: (slow) copy of SurfaceFlinger buffer. WORKS!