Adapt to latest cm11 changes.
Sync with latest changes.
Set first firmware search path to /data/misc/firmware to allow access to files which are created at runtime.
This is used for the nvs modification.