add BOARD_NEEDS_OLD_MMAP flag
s4-common: usb-init: unify usb pids and add diag and PTP modes

HTC unified the msm8960 devices' USB ProductIDs in Jellybean 4.1. UMS and
MTP pids have been pulled from arch/arm/mach-msm/include/mach/htc_usb.h
which is identical for all of evita (3.18.502.6), jewel (3.15.651.16),
and ville (3.14.531.17) kernels.

Following mako as an example, PTP is introduced. The PTP pids are
copied from MTP.

Following m7 as an example, diag is introduced. acm transport is set to
tty since our msm8960 kernel does not (currently) have hsic-tty enabled.

bDeviceClass, bDeviceSubClass, and bDeviceProtocol are defined for all
connection types. The device class of rndis has been changed from Wireless
Controller to Miscellaneous Device, as mako defines it.

Change-Id: Ie3a48b0702f050bcf85cd0182cf26ba59a362347
Revert "TWRPify"

This reverts commit aab27dc33057e0a3fc2f8b8e2b29f5850866ff7a.
s4-common: cpu performance profiles for recovery

Use separate cpu performance profiles for supported operations in
recovery. This commit also removes setting the usb function at boot
which is unnecessary since init.rc listens for sys.storage.ums_enabled.

Change-Id: I02b0b536786e0baf9c825a368c54779f41f58c93
s4-common: SELinux enforcing

Change-Id: Ieffee695bd314541fbabb37e9dc9854628638ff1
add back overlay for wireless tether