* Not needed, system treats it as a raw block device
Change-Id: Ieff8b1888c22d49974bfeb60cfc62f3bb2d424c7
(cherry picked from commit 7cf08cd4df73680ac412051e10ce00c84c794d0a)
* The creation of /data/misc/wifi and /data/misc/dhcp was moved long ago
to the core init.rc script. Moreover, /data/misc/wifi is deprecated
since wpa_supplicant now relies on /data/vendor/wifi.
Change-Id: Ic0a33af44ffe163d3dd06cebdc1e192dc9bcb11f
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.
Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
Treble compliance.
Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets
Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.
Bug: 34980020
Test: Use wifi and wifi tethering on 8937 targets
Change-Id: Ic1bade0bf3c234aff24664492b97e05d15d3e8de
This help to save ~50ms in boot time and bootanim shown time
Bug: 62957152
Test: marlin boot and swap look normal after boot
Change-Id: Icabec31aa677bd606ca8735fe9d2acb54e88bd75
1) Set zRam size to 1GB for 3GB and above targets
Increasing the swappiness and zRam size improves zRam savings and app concurrency.
2) Corrected the vmpressure_file_min value.
CRs-Fixed: 2176961
Change-Id: I4eb71110f35f67b984bea4106d6cec3c2586d024
* Move qcamerasvr to main to it restarts on decryption
* Also trigger a qcamerasvr restart when media or all services restart,
since it needs to be properly restarted with cameraservice
* Mounting /system and /vendor partitions is handled in kernel now,
however removing the entries from fstab caused issues building
the OTA. The workaround was to have a separate fstab, but turns out
that simply setting the recoveryonly flag does the trick because
those are then ignored during a normal Android boot.
Also cleanup sepolicy files that was using /data/vendor as they are not
needed and /data is not ready by the time we start time_daemon
Bug: 62184939
Test: walleye boot with correct time in airplane mode
The reason these files are moved to /vendor/etc/init/hw and
not /vendor/etc/init is because 'init' scans the /vendor/etc/init folder
for vendor service .rc fragments to import. That would either result
in duplicate imports or out-of-order imports of these hardware
specific .rc files and that *may* have unintended consequences.
In order to preserve the current import order for MTP, we move all
hardware specific .rc files to /vendor/etc/init/hw which is not
autoscanned by init BUT leave the init.${ro.hardware}.rc (i.e.
init.qcom.rc in this case) in root for 'init' to find.
Change-Id: I14531da05e2a3a256f734f8de96e1f1969c753f9
* This removes /system entry from fstab, since this partition
is now early-mounted and the fstab entry is specified in device tree.
* At the same time, also include a fully populated fstab, in order to avoid
build breakage while generating recovery updater scripts.
Change-Id: I8e558458b984e97a45a920c3751a6b7c3f2ebc5c
Add thermal send rule socket to thermal service initialization script
This change is required for SE Android so that thermal socket context
are not overridden by init.
Change-Id: I8774b62f35f72a481f9976dda5d1aee1e19d8374
As per Android-O architecture, move vendor specific file into
/data/vendor path instead of /data/misc. To address this
create the wifi directory into /data/vendor path.
CRs-Fixed: 2047794
Change-Id: I6835fb70e1777e23d0b30aa9e08de9a746638c50
Modify permissions for /data/vendor/misc to 01771
from 0770 in order to enable audio module
to access the directory.
CRs-Fixed: 2074932
Change-Id: Ibc832cd0ec7c04a99b3fa1e9a554f919e11a149a