Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cm 14.1 stockcam #11

Open
wants to merge 103 commits into
base: cm-14.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
8eb88ac
gohan: Fix SN
Kra1o5 Dec 10, 2016
c2ad94a
keylayout: Fix tap to wake feature
Kra1o5 Dec 8, 2016
4b9c416
overlay: Update config
Kra1o5 Dec 9, 2016
44a08ac
Delete /mnt/sdcard symlink
nickkral Apr 12, 2016
7fff1fd
Remove references to deleted dhcpcd.conf
Mar 2, 2016
8a1e79e
Delete dhcpcd init entries, since dhcpcd is no more.
lcolitti Feb 25, 2016
6f30020
Cleanup after making tty_enabled = true by default.
Mar 30, 2016
6c3207c
Remove dmalloc flag
eloimuns Sep 15, 2016
19793c8
CMHW: Switch to device specific
Kra1o5 Dec 30, 2016
5690d46
Enable sdcardfs
eloimuns Sep 18, 2016
bda8083
Use GID wakelock to control access to kernel wakelock
Sep 19, 2016
675f372
overlay: Define LED capabilities with the unified overlay
eloimuns Dec 4, 2016
08194d3
rootdir: Add 'misc' entry in fstab.qcom
boedhack Oct 9, 2016
52b2211
Specify we have a cache partition
eloimuns Dec 7, 2016
7d0938d
recovery: Use correct PixelFormat
eloimuns Dec 7, 2016
6206bea
overlay: Enable proximity check on screen wake
cmorlok Dec 22, 2016
307272b
charger: disable backlight on offline charger
cmorlok Dec 22, 2016
4269321
overlay: Remove doze power saving mode
fefifofum Dec 12, 2016
cf031d8
gohan: Update audio config
Kra1o5 Dec 31, 2016
64a0399
gohan: Update data-ipa-cfg-mgr
cmorlok Mar 14, 2017
1e640ae
overlay: Remove missing configs
Kra1o5 Dec 31, 2016
4aebc12
Fix mkbootimg offsets
Kra1o5 Dec 31, 2016
ef2447c
audio: Update flags
Kra1o5 Dec 31, 2016
dc2be26
gohan: Update gps
cmorlok Mar 14, 2017
7302d7e
gohan: Update gps config from 2.0.0 release
cmorlok Mar 14, 2017
ba918cd
msm8956: Update mediacodec performance values for 8956/76 v1.
nadinsylaa Oct 4, 2016
7643189
msm8956: Disable support for lpcm and rename h265
nadinsylaa Apr 19, 2016
a619456
audio: remove startOffsetMs from media_profile
Aug 18, 2016
c93daf8
bluetooth: Set Qualcomm Bluetooth SOC ID
cmorlok Oct 5, 2016
7d14844
gohan: Rebrand to LineageOS
cmorlok Jan 13, 2017
da210f3
fm: Use BOARD_HAVE_QCOM_FM flag
cmorlok Jan 17, 2017
13ff8f3
gohan: Update proprietary list from 2.0.0 release
cmorlok Mar 14, 2017
57b9a42
data-ipa-cfg-mgr: Delete dhcpcd includes, since dhcpcd is no more.
cmorlok Mar 14, 2017
de1d498
selinux: fix fingerprint
cmorlok Jan 26, 2017
65f776c
gps: Fix OSS build
Nov 16, 2015
40810e5
gohan: Update wlan config
Kra1o5 Apr 13, 2017
97d5677
gohan: Update kernel cmdline
Kra1o5 Apr 13, 2017
f09abe6
rootdir: cnd: update cnd class
Feb 3, 2016
adda0c3
rootdir: DPM: add readproc to supplementary group for dpmd
Jun 22, 2016
bb3f02e
rootdir: init.qcom: create /persist/time needed by time_services
Sep 16, 2016
30c67cf
rootdir: init.qcom.rc: Start cnss-daemon with system privilege
Jun 23, 2016
57b9b8d
rootdir: init.qcom.rc: groups of charger must be in the same line
Jul 5, 2016
905715a
rootdir: init : start time_daemon when trigger_restart_min_framework
Sep 23, 2016
c078840
rootdir: init: qcom: remove unnecessary code to avoid SE Linux violation
Jun 24, 2016
5bc8cc8
gohan: removing non-existent libraries
Jul 19, 2016
bc243e8
gohan: rootdir: add further init service dependencies on ppd
Jan 8, 2016
570e1fe
gohan: rootdir: Start up pm-proxy service at boot
Aug 29, 2016
2990bec
audio: Update mixer_paths
Kra1o5 Apr 13, 2017
2d86dc3
nfc: Update config
Kra1o5 Apr 13, 2017
9c61360
gohan: Add 8956/76 v1 hardware media_codecs_8956_v1.xml
Oct 7, 2015
0b3d1a5
gohan: media_codecs: Advertise encoder intra-refresh support
nadinsylaa Jun 13, 2016
ce84d0f
gohan: Use gcc-4.8 for kernel
Kra1o5 Apr 14, 2017
aa02165
gohan: Fix FP
Kra1o5 Apr 14, 2017
2b878f4
gohan: Update firmware symlink
Kra1o5 Apr 14, 2017
f5c7327
gohan: Add Vulkan support
Kra1o5 Apr 14, 2017
65ebc47
gohan: system.prop: Change the GLES version string to 3.2
Feb 2, 2017
57c589a
overlay: Update power_profile.xml
Kra1o5 Apr 14, 2017
1b3a0b4
prop: Update properties
Kra1o5 Apr 14, 2017
2758151
gohan: Add missing blobs
cmorlok Apr 16, 2017
c40b9ad
use 7.1.1 fingerprint
cyclon1978 May 2, 2017
093f1da
add syspart_fixup (a.t.m. only to create wifi module link for msm8976…
cyclon1978 May 2, 2017
715e209
Hack to include prebuild libraries to fix audio and camera
cyclon1978 May 2, 2017
415592a
add syspart_fixup (a.t.m. only to create wifi module link for msm8976…
cyclon1978 May 2, 2017
c384d4d
added camera configs and misssing firmware to proprietaries
cyclon1978 May 2, 2017
c7bfe8c
commit of experiment AOSP-CAF-camera
cyclon1978 May 5, 2017
110f8ef
add includes for camera build - not correct, dirty hack
cyclon1978 May 5, 2017
f10ba5e
added aosp-caf camera to device tree
cyclon1978 May 5, 2017
ba14134
removed header files, direct reference the correct ones
cyclon1978 May 5, 2017
2aad7c4
fixed init script for support of wlan module to allow speed optimized…
cyclon1978 May 5, 2017
a8914de
ugly commit to share...
cyclon1978 May 5, 2017
100407e
gohan: rootdir: Fix FM radio
Kra1o5 May 30, 2016
542ef15
cleanup: removed caf audio
cyclon1978 May 9, 2017
e6b55d9
Nfc overlay for extended length feature
cyclon1978 May 9, 2017
a89233c
reverted audio configs
cyclon1978 May 9, 2017
3afbf09
cleanup (sorted the prop files)
cyclon1978 May 10, 2017
bc5cf2d
switch to Jelly browser
cyclon1978 May 10, 2017
676419c
added sound trigger header and enable it
cyclon1978 May 10, 2017
925a7f9
bluetooth: fix bt address
cmorlok Apr 27, 2017
11039c7
gohan: init: Add 3GB RAM / 32GB storage support
luk1337 Aug 15, 2016
362208d
audio: flags and headers reverse-engineered
cyclon1978 May 11, 2017
e5c34bc
audio fix: caf audio taken and differences reverse-engineered from st…
cyclon1978 May 11, 2017
946cc0b
fixed audio caf more to bq stock
cyclon1978 May 12, 2017
4c2ba71
lights: add liblight
cmorlok Nov 21, 2016
ffbbc26
re-enable liblight
cyclon1978 May 15, 2017
e03c71b
cleanup: removed implicit packages
cyclon1978 May 15, 2017
28633af
removed perfd for custom kernel - do not upstream
cyclon1978 May 15, 2017
64281f2
sepolicy: update goodix (fingerprint)
cmorlok May 12, 2017
b6810cb
audio: update config
cmorlok May 6, 2017
1ab8298
Fingerprint: match to lastest patch in review
cyclon1978 May 15, 2017
0d8ae68
fixed include path of caf-camera
cyclon1978 May 17, 2017
0eae3a7
added media extensions for camera
cyclon1978 May 17, 2017
934f39b
updated fingerprint to merged version
cyclon1978 May 17, 2017
f7c6f39
location: Update services to drop net_raw and net_admin
bgcngm Nov 21, 2016
2546957
sepolicy: fix SELinux denials
cmorlok May 15, 2017
b8d94e0
fix snap camera: support api v2 and restart preview
cyclon1978 May 18, 2017
2dbd046
Revert "fixed init script for support of wlan module to allow speed o…
cyclon1978 May 18, 2017
06f879a
Revert "add syspart_fixup (a.t.m. only to create wifi module link for…
cyclon1978 May 18, 2017
5813657
Update VibratorHW.java
cyclon1978 May 18, 2017
d53627f
Revert "add syspart_fixup (a.t.m. only to create wifi module link for…
cyclon1978 May 18, 2017
36ff683
removed aosp camera, replaced with stock camera
cyclon1978 Jun 23, 2017
211df2c
nfc: update extended length implementation to new propery based version
cyclon1978 Jun 23, 2017
5f69a36
reverted camera to stock
cyclon1978 Jun 26, 2017
91e29c4
configpanel for setup of custom kernel
cyclon1978 Jun 26, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -32,7 +32,7 @@ include $(CLEAR_VARS)

ADSP_IMAGES := \
adsp.b00 adsp.b01 adsp.b02 adsp.b03 adsp.b04 adsp.b05 adsp.b06 adsp.b07 \
adsp.b08 adsp.b09 adsp.b10 adsp.b11 adsp.b12 adsp.mbn adsp.mdt
adsp.b08 adsp.b09 adsp.b10 adsp.b11 adsp.b12 adsp.b13 adsp.mdt

ADSP_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/firmware/,$(notdir $(ADSP_IMAGES)))
$(ADSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
Expand Down
99 changes: 76 additions & 23 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -16,6 +16,7 @@

LOCAL_PATH := device/bq/gohan

# Headers
TARGET_SPECIFIC_HEADER_PATH := $(LOCAL_PATH)/include

# Architecture
Expand All @@ -34,32 +35,71 @@ TARGET_BOOTLOADER_BOARD_NAME := msm8952
TARGET_NO_BOOTLOADER := true

# Kernel
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 androidboot.selinux=permissive
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk buildvariant=userdebug
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
BOARD_KERNEL_BASE := 0x80000000
BOARD_KERNEL_IMAGE_NAME := zImage-dtb
BOARD_KERNEL_PAGESIZE := 2048
BOARD_KERNEL_TAGS_OFFSET := 0x00000100
BOARD_RAMDISK_OFFSET := 0x01000000
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset BOARD_RAMDISK_OFFSET --tags_offset BOARD_KERNEL_TAGS_OFFSET

BOARD_RAMDISK_OFFSET := 0x02000000

BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
TARGET_KERNEL_ARCH := arm
TARGET_KERNEL_APPEND_DTB := true
TARGET_KERNEL_CONFIG := cyanogenmod_gohan_defconfig
TARGET_KERNEL_CROSS_COMPILE_PREFIX := $(PWD)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-
TARGET_KERNEL_CONFIG := gohan_defconfig
TARGET_KERNEL_SOURCE := kernel/bq/msm8976
TARGET_KERNEL_HAVE_EXFAT := true

# Assert
TARGET_OTA_ASSERT_DEVICE := Aquaris_X5_Plus,gohan

# Audio
AUDIO_FEATURE_ENABLED_AAC_ADTS_OFFLOAD := true
AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true
AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true
AUDIO_FEATURE_ENABLED_ANC_HEADSET := true
AUDIO_FEATURE_ENABLED_APE_OFFLOAD := true
AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true
AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP := true
AUDIO_FEATURE_ENABLED_EXT_HDMI := true
AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER := true
AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true
AUDIO_FEATURE_ENABLED_EXTN_RESAMPLER := true
AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD := true
AUDIO_FEATURE_ENABLED_FLUENCE := true
AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true
AUDIO_FEATURE_ENABLED_HDMI_EDID := true
AUDIO_FEATURE_ENABLED_HDMI_SPK := true
AUDIO_FEATURE_ENABLED_HFP := true
AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true
AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true

# flags assumed from log analysis: gives log errors if false, but stock is same -> keep false to stay near stock or true to get rid of errors because config defines these
AUDIO_FEATURE_ENABLED_MULTIPLE_TUNNEL := true

AUDIO_FEATURE_ENABLED_NT_PAUSE_TIMEOUT := true
AUDIO_FEATURE_ENABLED_PCM_OFFLOAD := true
AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24 := true
AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true
AUDIO_FEATURE_ENABLED_SOURCE_TRACKING := true
AUDIO_FEATURE_ENABLED_SPKR_PROTECTION := true
AUDIO_FEATURE_ENABLED_SSR := true
AUDIO_FEATURE_ENABLED_VBAT_MONITOR := true
AUDIO_FEATURE_ENABLED_VOICE_CONCURRENCY := true
AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true
AUDIO_FEATURE_ENABLED_WMA_OFFLOAD := true
AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true
BOARD_USES_ALSA_AUDIO := true
BOARD_USES_SRS_TRUEMEDIA := false
DTS_CODEC_M_ := true
BOARD_SUPPORTS_SOUND_TRIGGER := true
MM_AUDIO_ENABLED_FTM := true
MM_AUDIO_ENABLED_SAFX := true
USE_CUSTOM_AUDIO_POLICY := 1
USE_XML_AUDIO_POLICY_CONF := 1
TARGET_USES_QCOM_MM_AUDIO := true

# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth
Expand All @@ -70,19 +110,30 @@ QCOM_BT_USE_BTNV := true
QCOM_BT_USE_SMD_TTY := true

# Camera
# USE_DEVICE_SPECIFIC_CAMERA := true | USE_CAMERA_STUB := true for stock camera.msm8952.so, otherwise both false
USE_DEVICE_SPECIFIC_CAMERA := true
USE_CAMERA_STUB := true
BOARD_QTI_CAMERA_32BIT_ONLY := true
TARGET_CAMERA_APP := Snap
USE_PREFERRED_CAMERA_FORMAT := true
# HAL1 is not working properly, stops after one picture
# but test it again...
TARGET_SUPPORT_HAL1 := true

# refactored from stock:
TARGET_USES_MEDIA_EXTENSIONS := true
TARGET_TS_MAKEUP := true

# Charger
BOARD_CHARGER_ENABLE_SUSPEND := true
BACKLIGHT_PATH := /sys/class/leds/lcd-backlight/brightness

# CMHW
BOARD_USES_CYANOGEN_HARDWARE := true
BOARD_HARDWARE_CLASS += hardware/cyanogen/cmhw
BOARD_HARDWARE_CLASS := device/bq/gohan/cmhw/src
TARGET_TAP_TO_WAKE_NODE := "/sys/devices/soc.0/7af6000.i2c/i2c-6/6-0020/input/input0/wake_gesture"

# CNE
BOARD_USES_QCNE := true
TARGET_LDPRELOAD := libNimsWrap.so

# Dex pre-opt to speed up initial boot
ifeq ($(HOST_OS),linux)
Expand All @@ -101,7 +152,7 @@ TARGET_USES_C2D_COMPOSITION := true
TARGET_USES_ION := true
TARGET_USES_OVERLAY := true
USE_OPENGL_RENDERER := true

TARGET_USES_QCOM_BSP := true

# Shader cache config options
# Maximum size of the GLES Shaders that can be cached for reuse.
Expand All @@ -113,6 +164,7 @@ MAX_EGL_CACHE_KEY_SIZE := 12*1024
# of the device.
MAX_EGL_CACHE_SIZE := 2048*1024

# Adreno
OVERRIDE_RS_DRIVER:= libRSDriver_adreno.so

# Encryption
Expand All @@ -126,8 +178,10 @@ BOARD_PERSISTIMAGE_PARTITION_SIZE := 28311552
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2576980377
BOARD_USERDATAIMAGE_PARTITION_SIZE := 11424596623 # (11424613007 - 16384)
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4

# FM
BOARD_HAVE_QCOM_FM := true
TARGET_QCOM_NO_FM_FIRMWARE := true

# GPS
Expand All @@ -136,20 +190,18 @@ USE_DEVICE_SPECIFIC_LOC_API := true
TARGET_NO_RPC := true

# Init
TARGET_INIT_VENDOR_LIB := libinit_gohan
TARGET_PLATFORM_DEVICE_BASE := /devices/soc.0/
TARGET_RECOVERY_DEVICE_MODULES := libinit_gohan

# Keymaster
TARGET_PROVIDES_KEYMASTER := true

# Lights
TARGET_PROVIDES_LIBLIGHT := true

# Malloc
MALLOC_IMPL := dlmalloc

# NFC
BOARD_NFC_CHIPSET := pn547
BOARD_NFC_DEVICE := "/dev/pn547"

# Peripheral manager
TARGET_PER_MGR_ENABLED := true
Expand All @@ -163,7 +215,9 @@ BOARD_USES_QC_TIME_SERVICES := true

# Recovery
TARGET_RECOVERY_FSTAB := $(LOCAL_PATH)/rootdir/etc/fstab.qcom
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true

# RIL
TARGET_RIL_VARIANT := caf
Expand All @@ -173,17 +227,16 @@ include device/qcom/sepolicy/sepolicy.mk
BOARD_SEPOLICY_DIRS += $(LOCAL_PATH)/sepolicy

# Wifi
WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_HAS_QCOM_WLAN := true
BOARD_HAS_QCOM_WLAN_SDK := true
BOARD_WLAN_DEVICE := qcwcn
BOARD_HAS_QCOM_WLAN := true
BOARD_HAS_QCOM_WLAN_SDK := true
BOARD_WLAN_DEVICE := qcwcn
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_qcwcn
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
TARGET_USES_QCOM_WCNSS_QMI := true
WIFI_DRIVER_FW_PATH_AP := "ap"
WIFI_DRIVER_FW_PATH_STA := "sta"
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_qcwcn
WIFI_DRIVER_FW_PATH_STA := "sta"
WIFI_DRIVER_FW_PATH_AP := "ap"
WPA_SUPPLICANT_VERSION := VER_0_8_X
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko"
WIFI_DRIVER_MODULE_NAME := "wlan"

Expand Down
6 changes: 3 additions & 3 deletions README.mkdn
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ Basic | Spec Sheet
CPU | Quad-core 1.4 GHz Cortex-A53 & Quad-core 1.8 GHz Cortex-A72
Chipset | Qualcomm MSM8976 Snapdragon 650
GPU | Adreno 510
Memory | 2 GB RAM
Memory | 2GB/3GB RAM
Shipped Android Version | 6.0.1
Storage | 16GB
Storage | 16GB/32GB
MicroSD | Up to 32GB
Battery | Non-removable Li-Po 3100 mAh battery
Display | 1920x1080 pixels, 5.0 inches (~442 ppi pixel density)
Camera | Primary: 16 MP, f/2.0, phase detection autofocus, dual-LED (dual tone) flash
| Secondary: 8 MP, f/2.0, 1080p

Copyright 2016 - The CyanogenMod Project.
Copyright (C) 2017 The LineageOS Project.

![Aquaris X5 Plus](https://it-bqcom15-media.s3.amazonaws.com/prod/images/200_200/6/7/a/d/67ad2f4be52cca13f3830f6793d466bbdf2fa3a5.jpg "BQ Aquaris X5 Plus")
39 changes: 39 additions & 0 deletions android_filesystem_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
# Copyright (c) 2016, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include <private/android_filesystem_config.h>

#define NO_ANDROID_FILESYSTEM_CONFIG_DEVICE_DIRS
static const struct fs_path_config android_device_files[] = {
// { 00755, AID_UID, AID_GID, (1ULL << CAPABILITY), "PATH_TO_BINARY" },
{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/bin/pm-service"},
#ifdef NO_ANDROID_FILESYSTEM_CONFIG_DEVICE_DIRS
{ 00000, AID_ROOT, AID_ROOT, 0, "system/etc/fs_config_dirs" },
#endif
};
Loading