Commit Graph

648 Commits

Author SHA1 Message Date
Erfan Abdi
a79b4d3efd sanders: update to versionized vndk-sp
Change-Id: I6cd784cc3e4ee6fcbd4f446120a3b656823c8461
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-23 21:13:21 -03:00
Yifan Hong
75743d20d6 sanders: Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
Replace it with FCM Version = 1, specified explicitly
in device manifest.

Test: builds
Bug: 69636193

Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-23 21:13:21 -03:00
rahulsnair
9533952f17 sanders: remove fstab context
Change-Id: I48c14bca953cc85ad838eb3de3709400eb599322
2018-09-23 21:13:21 -03:00
therootlord
35872ba975 sanders: cleanup and reorganize 2018-09-23 21:13:21 -03:00
therootlord
606735ab9e sanders: move display panel calib files to vendor tree [1/2] 2018-09-23 21:13:21 -03:00
therootlord
ed0dd32ab5 sanders: update fingerprint configs to match vendor changes
* Remove custom fp hal/service

* Build android.hardware.biometrics.fingerprint@2.1

* Update init related configs and props
2018-09-23 21:13:21 -03:00
Harikrishnan Hariharan
3437531910 sanders: 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-09-23 21:13:06 -03:00
therootlord
ab63f76163 sanders: don't build android.hardware.bluetooth@1.0-impl and service
* We're using qcom's ones
2018-09-23 21:06:04 -03:00
Wang Han
7672efc8da sanders: ueventd: Don't modify permissions of /dev/hw_random
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:

W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)

AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.

c78a463e87

Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
2018-09-23 21:06:04 -03:00
Erfan Abdi
072d844924 sanders: Uprev GNSS HAL to 1.1
* Introduced in 9.0.

Change-Id: I326bf5063b5fb4e962e2a6fffcae2704c8c49e46
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2018-09-23 21:06:04 -03:00
therootlord
0a41b9dc1a sanders: gps: update to LA.UM.7.6.r1-02000-89xx.0 tag 2018-09-23 21:06:04 -03:00
Himanshu Agrawal
8a6b5c05e7 sanders: Changing healthd version to 2.0
Change-Id: I13ddaa133bb9edcca200d5fe7320cf5fa9f66f0f
2018-09-23 21:06:04 -03:00
Han Wang
247d9b0e98 sanders: Remove creation of /data/misc/wifi and
/data/misc/dhcp

* 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
2018-09-23 21:06:04 -03:00
Jeff Vander Stoep
b60b481227 sanders: wpa_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
2018-09-23 21:06:04 -03:00
therootlord
6cf5bace92 sanders: build libgui_vendor
* Needed for libmot_gpu_mapper

* Requires this: c80908a652
2018-09-23 21:06:04 -03:00
therootlord
8fd8b6873f sanders: cleanup device.mk 2018-09-23 21:06:04 -03:00
Hari Veerubhotla
fe2447737b sanders: manifest: Cleaning up Impl tag
Change-Id: I006eeaef9b685c756c45f7eb16564066048f351f
2018-09-23 21:06:04 -03:00
therootlord
c6ddaab82b sanders: update some props for P 2018-09-23 21:06:04 -03:00
therootlord
ffee6c1572 sanders: update sensors props and service name 2018-09-23 21:06:04 -03:00
Alberto97
5ca26577c3 bluetooth: Fix build by removing unused includes 2018-09-23 21:06:04 -03:00
Alberto97
6fb9666cf8 bluetooth: Fix force disable sco enhanced sync for new logic 2018-09-23 21:06:04 -03:00
therootlord
5ed8c5e43f sanders: update display props/manifest for P 2018-09-23 21:06:04 -03:00
therootlord
fe92bebb33 sanders: MotoActions: make icon color match others for Pie 2018-09-23 21:06:04 -03:00
therootlord
84a1137a91 sanders: overlay: update 2018-09-23 21:06:04 -03:00
Hung-ying Tyan
d50722ae24 configstore: uprev configstore (1.0 -> 1.1)
Bug: 69691076
Test: built and tested on sailfish
Change-Id: Ieb4b329ccf2f56e304cd2b62ba12183e514aaff1
2018-09-23 21:06:04 -03:00
Alberto97
7c17c7d7fc Move to NFC 1.1 Implementation 2018-09-23 21:06:04 -03:00
Alberto97
cfa0f46b2e Update configs for NFC 1.1 2018-09-23 21:06:04 -03:00
Andre Eisenbach
69a37182f8 Rename libnfc-brcm.conf -> libnfc-nci.conf
Test: manual
Merged-In: I213034b54724b1ed0f43b32bc757ea7d8873ee74
Change-Id: I213034b54724b1ed0f43b32bc757ea7d8873ee74
2018-09-23 21:06:04 -03:00
Anton Hansson
378ac397d7 MotoActions: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant package
Bug: 73535841
Change-Id: I5196e8c7277ff86280782e7b479a499add2e8f9f
2018-09-23 21:06:04 -03:00
Alberto97
9fd73a0aeb MotoActions: Build with AAPT2
Change-Id: Ic1287412680509f87dab806b8745cc1c04b8df04
2018-09-23 21:06:04 -03:00
Lucas Dupin
486e4d8b80 Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58

Signed-off-by: Alberto97 <albertop2197@gmail.com>
2018-09-23 21:06:04 -03:00
Roshan Pius
51065bd797 manifest: Add hostapd HIDL interface
Bug: 36646171
Test: Manual softap toggle
Change-Id: If3c9ea38317b1fee66a383ad88cabf695748853a

Signed-off-by: Alberto97 <albertop2197@gmail.com>
2018-09-23 21:06:04 -03:00
therootlord
52af608f03 sanders: config.fs: add missing AID_VENDOR_QCOM_DIAG 2018-09-23 21:06:04 -03:00
rahulsnair
8ef903b381 sanders: config.fs system/vendor -> vendor
Change-Id: I6862b6a509f5116d6eefb29765445e02900ee1c1
2018-09-23 21:05:56 -03:00
Tom Cherry
8bad0865ea Move mkdir /data/nfc/... to rootdir init.rc
These are directories used by the system so they should be created by
the system.

Test: treehugger
Change-Id: I4c2d381423e002705f4de09d34a63a49ec473688

Signed-off-by: Alberto97 <albertop2197@gmail.com>
2018-09-23 20:27:23 -03:00
Jaekyun Seok
d5d0276021 Add 'vendor.' prefix to a vendor HAL service name
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.

Test: succeeded building and tested on a sailfish device.
Bug: 36796459
Change-Id: I48e6ee0ae3fe401e39efb273256d991fac676357
Signed-off-by: Alberto97 <albertop2197@gmail.com>
2018-09-23 20:27:23 -03:00
therootlord
c6c3e249ed sanders: remove 32b sensorservice/hal from build
* Switched to 64b sensors
2018-09-23 20:27:23 -03:00
Erfan Abdi
b11faddcb2 sanders: Migrate to vendor_prop.mk
Change-Id: Id6ad39dccd5152b3dc6347e36119818a7fda2286
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>

Signed-off-by: therootlord <igor_cestari@hotmail.com>
2018-09-23 20:27:16 -03:00
therootlord
4e98a22d84 sanders: BoardConfig: specify kernel clang version instead of path 2018-09-23 15:24:20 -03:00
Isaac Chen
6eea1ccd47 sanders: Set TARGET_2ND_ARCH_VARIANT to armv8-a
Sanders is armv8 device. Setting TARGET_2ND_ARCH_VARIANT to armv8-a,
instead of armv7-a-neon, can silence the related warning during build.

Bug: 68012286
Test: lunch aosp_bullhead; make -j
Change-Id: I0989c3d4185334dbfe0a3d79d3595d8dff8abd2b
2018-09-20 22:20:34 -03:00
therootlord
e591adb423 sanders: update nfc configs from OPS28.65-14 2018-09-20 22:20:34 -03:00
Jerry Zhang
aba46b72f2 sanders: Set sys.usb.ffs.aio_compat
The kernel does not support aio with ffs.
Set the property so adb/mtp know to use the compatible
functions, and the same while in recovery.

Bug: 37916658
Test: Use adb / use adb in recovery
Change-Id: Id35a05fcb9952dcf7239bd15a61cc620537419bc
2018-09-20 22:19:01 -03:00
Mathieu Chartier
1202a38355 sanders: Fix shared vdex name
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.

Bug: 73990433
Test: manual
Change-Id: I313e1f53487c0a21b615f65dc64c21a1ecb4b7d5
2018-09-20 22:19:01 -03:00
LuK1337
f639ff65b5 sanders: Add vendor_ prefix for our custom AIDs
Change-Id: Ie1dd9c1f6a79d04b42e12e0fd9dabdc22b2f6927
2018-09-20 22:19:01 -03:00
Roshan Pius
736519d8c9 sanders: 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-09-20 22:15:50 -03:00
Roshan Pius
90c6b2d95d sanders: 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-09-20 22:15:50 -03:00
Roshan Pius
76486bf705 sanders: Uprev to supplicant 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3
2018-09-20 22:15:50 -03:00
Jeff Vander Stoep
61803ca1ae sanders: 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-09-20 22:15:50 -03:00
Etan Cohen
d899d7adfc sanders: Uprev Wi-Fi HAL to 1.2
New HAL APIs are planned. This requires a HAL uprev.

Bug: 65647646
Test: builds and Wi-Fi runs
Change-Id: Ib7efd3d5263e73d1ad40e1a5a687bdb6c133c812
2018-09-20 22:15:50 -03:00
therootlord
2a1c394e17 sanders: reorder manifest.xml 2018-09-20 22:12:37 -03:00