Commit graph

24 commits

Author SHA1 Message Date
Max Weffers
65b9cc0354
clover: Add script to extract mac from /persist/wlan_mac.bin 2018-12-06 20:19:42 +01:00
Max Weffers
f1a50f3598
clover: commonize init.rc and init.sh files and move them to sdm660-common 2018-12-03 16:39:27 +01:00
Rohit Rangwani
4b5bb89d4f
clover: Remove NFC data directory creation
Removed NFC data directory creation to fix
vendor_init access denial issue.

NFC data directoty is already being created
by system core init.rc.

Change-Id: I7ebb88dc7b2df988a8af477baa81fe9253030ffb
2018-12-03 13:07:42 +01:00
Sridhar Parasuram
0314f89167
clover: Address dac_override and dac_read_search issues in init.qcom.sh
init.qcom.sh accesses files owned by groups radio, system and hence
the groups have been added.

Change-Id: I535eeaf42f38532ec6de46eb57f3cc0e1d959a47
2018-12-03 13:07:00 +01:00
RAJATH R
c448ab21c9
clover: Create new directory for Bluetooth SoC dump
Create new directory for Bluetooth SoC dump/logs
collection for new Android P dump format

Change-Id: I1257518fa12420a6d8d5bb66f15782ab97582f36
2018-12-03 13:06:15 +01:00
Karthik Gopalan
7e98e89967
clover: Swap disk creation
Create swap disks

CRs-Fixed: 2264866

Change-Id: Id57a4e8d413c7dafb49d073980f10010003f616e
2018-12-03 13:05:14 +01:00
himta ram
ef1d158500
clover: Change /data/misc/fm to /data/vendor/fm
Change-Id: I369e0a858c8fddb4574dad5b54b2a3e0980ea3a6
2018-12-03 13:04:08 +01:00
Zhen Kong
92908f747b
clover: ueventd.qcom.rc: set permissions of /dev/qce device
To support end-to-end DRM content playback with SG List feature,
android.hardware.drm@1.0-service needs to have access permission
to /dev/qce to map & unmap ION buffer virtual address with HW Crypto
Engine. So, set /dev/qce device permission 0660 and let it be
accessible by user "system" and group "drmrpc".

Change-Id: If9c0ed70acc2bb063344692374f51441fe84eff6
2018-12-03 13:00:54 +01:00
Harikrishnan Hariharan
760dc35328
clover: Start loc_launcher as gps user
Start loc_launcher as gps user and set uid/gid of loc_launcher
to gps and enable SETUID and SETGID caps for loc_launcher, so
that we can start loc_launcher as gps user instead of root and
still have capabilities for SETUID and SETGID. Also remove not
required permissions groups for loc_launcher.

Change-Id: Ie9f1506874b3c3148f9170c8d5db9afd1e70025c
CRs-Fixed: 2192881
2018-12-03 12:54:26 +01:00
Abhimanyu Garg
cca912b85e
clover: Changing iop directory permission
Changing permission for IOP from 0770 to 0700. This is to restrict the
access for iop database file.

Change-Id: Ic3325595521d4e433d0ce9bada564fc599cf858c
2018-12-03 12:43:49 +01:00
Mao Jinlong
ff8a4d7393
clover: Change /data/time to /data/vendor/time
Time folder is for time_daemon which is in vendor partition. Vendor
module can't access data in /data for treble limit. So change
/data/time to /data/vendor/time.

Change-Id: If3420ec92fa79f8d7c98a1e20c12f148b0fd7894
2018-12-03 12:29:26 +01:00
GuaiYiHu
b7df175ea3
clover: libinit: Set device specific changes via libinit
Change-Id: I9a2dea3291b76d185d9ecda524a4234b6ed25412
2018-11-29 19:43:42 +01:00
dianlujitao
ce4e46cfab
clover: Create data directory for thermal-engine
Change-Id: I4c9f6f67c38379329b393e39a7d5a6e88b0c8195
2018-11-26 11:48:29 +01:00
GuaiYiHu
dd9d51d40a
clover: Configurate for dt2w
Change-Id: I2396c1a37cb016b583e087585acb0bc070d1e5a0
2018-11-26 10:48:23 +01:00
GuaiYiHu
a492558bc9
clover: Switch to xiaomi oss kernel source
Change-Id: I29c34cd1c313093fa60137da76572e242cbc9023
2018-11-26 10:30:50 +01:00
Max Weffers
2722932a93
clover: start miui charger animations for offline charging 2018-11-12 13:13:55 +01:00
Max Weffers
c0d9ecae96
clover: wifi: Move qca_cld3_wlan module to system 2018-11-08 19:01:05 +01:00
Tim Murray
f35f4d8a08
clover: rootdir: add restricted cpuset
bug: 78197570
Test: CTS

Change-Id: I6aaac2f3ce9ba886143e3667df2ca044c7f3d3f0
2018-10-19 11:52:30 +02:00
Jeff Vander Stoep
b0888ee43d
clover: wifi_supplicant: Deprecate entropy.bin
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 8996 targets
Change-Id: Ib5caf362bc939911b357db186a274957d3fbf186
(cherry picked from commit 1f2b2f3a780bb7a6ed489bf86e18e77382f37514)
2018-10-19 10:18:26 +02:00
Roshan Pius
51bb83a4c5
clover: Don't start supplicant with interfaces
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
2018-10-19 10:17:44 +02:00
Roshan Pius
1085886de4
clover: wpa_supplicant(hidl): Add support for starting HAL lazily
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
2018-10-19 10:16:44 +02:00
Jeff Vander Stoep
d623e91b4e
clover: wpa_supplicant: Move control sockets to /data/vendor
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
2018-10-19 10:15:18 +02:00
Max Weffers
9f3626aba1
clover: rootdir: Update to MIUI 8.9.20 stock ramdisk 2018-10-18 15:42:58 +02:00
Max Weffers
ee32277c0e
clover: init: Import Ramdisk from MIUI 2018-09-27 12:29:50 +02:00