Remove old dhcp leases on boot to prevent 'Obtaining IP Address' loop

Change-Id: Ib602b363ce3a6f0c4181efae3751cf16dea3000c
Revert "Temp: copy ubuntu-boot to system/etc for flashing"

This reverts commit 364c89accc4e1aad29636fe406a694ad5ff3b4c1.
Remove lockscreen.rot_override, it's a user-configurable option now

Change-Id: I9ccba420c8b1eb359394eef7dd644ddea4f4fc1a
Revert "Disable Wifi Direct for now"

This reverts commit fc05430157703e9d042fa8172aaa8ed16eb3aba4.
Reduce size of wpa_supplicant.conf

If the file is big, WifiHW don't generate the config files.

Change-Id: Ic820b24d3e74ae93b5056be12958e9c667a1122c
Remove invalid p2p configuration, on boot

With p2p enabled, problems can occur if there's a invalid configuration
pointing to same socket as normal wpa_supplicant(wlan0). This script removes
the invalid configuration to avoid problems after upgrade.

Change-Id: I1ef88b67a25de4beb22c4133620972fda29053ac
Move ril to modules directory

Change-Id: If83c20f8d2746f4ccaf4e008754b53bfa669a791
Move gps hal to modules directory

Change-Id: Ib2f2d345be90ad43a57634b21f44aad9f3092e50
gps: report session begin/end on gps start/stop

Since modem does not consistently send
SESSON_END/ENGINE_OFF event, always report
SESSION_END on stop gps and SESSION_BEGIN on
start gps so that the icon is turned on/off
correctly.

CRs-fixed: 401664
Change-Id: Ib3954529056a653d7057aedb489be1ccee9eaf1d
(cherry picked from commit dc7abf9a3d621b7a744e0eaeb6d9819ffff869a5)
DevicePerformanceSettingsHelper: remove killall command

Change-Id: I714559eed58e537b8e0dae91d14e1356e5e680a1
Just in case add "xt897c" to OTA assert