Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
56 changes: 45 additions & 11 deletions device-proprietary-files.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,51 @@
# Device-specific proprietary files

# GPS
lib/hw/gps.default.so
lib/libgps.utils.so
lib/libloc_api_v02.so
lib/libloc_core.so
lib/libloc_ds_api.so
lib/libloc_eng.so
vendor/lib/hw/flp.default.so
vendor/lib/libflp.so
vendor/lib/libgeofence.so
vendor/lib/libizat_core.so
vendor/lib/liblbs_core.so
blobs/gsm/etc/flp.conf
blobs/gsm/etc/gps.conf
blobs/gsm/etc/izat.conf
blobs/gsm/etc/sap.conf
blobs/gsm/lib/hw/gps.default.so
blobs/gsm/lib/libgps.utils.so
blobs/gsm/lib/libloc_api_v02.so
blobs/gsm/lib/libloc_core.so
blobs/gsm/lib/libloc_ds_api.so
blobs/gsm/lib/libloc_eng.so
blobs/gsm/vendor/lib/hw/flp.default.so
blobs/gsm/vendor/lib/libflp.so
blobs/gsm/vendor/lib/libgeofence.so
blobs/gsm/vendor/lib/libizat_core.so
blobs/gsm/vendor/lib/liblbs_core.so
blobs/spr/etc/flp.conf
blobs/spr/etc/gps.conf
blobs/spr/etc/izat.conf
blobs/spr/etc/sap.conf
blobs/spr/lib/hw/gps.default.so
blobs/spr/lib/libgps.utils.so
blobs/spr/lib/libloc_api_v02.so
blobs/spr/lib/libloc_core.so
blobs/spr/lib/libloc_ds_api.so
blobs/spr/lib/libloc_eng.so
blobs/spr/vendor/lib/hw/flp.default.so
blobs/spr/vendor/lib/libflp.so
blobs/spr/vendor/lib/libgeofence.so
blobs/spr/vendor/lib/libizat_core.so
blobs/spr/vendor/lib/liblbs_core.so
blobs/vzw/etc/flp.conf
blobs/vzw/etc/gps.conf
blobs/vzw/etc/izat.conf
blobs/vzw/etc/sap.conf
blobs/vzw/lib/hw/gps.default.so
blobs/vzw/lib/libgps.utils.so
blobs/vzw/lib/libloc_api_v02.so
blobs/vzw/lib/libloc_core.so
blobs/vzw/lib/libloc_ds_api.so
blobs/vzw/lib/libloc_eng.so
blobs/vzw/vendor/lib/hw/flp.default.so
blobs/vzw/vendor/lib/libflp.so
blobs/vzw/vendor/lib/libgeofence.so
blobs/vzw/vendor/lib/libizat_core.so
blobs/vzw/vendor/lib/liblbs_core.so

# QMI
bin/irsc_util
Expand Down
4 changes: 4 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ DEVICE_PACKAGE_OVERLAYS += device/htc/m8/overlay

# Inherit from m8-common
$(call inherit-product, device/htc/m8-common/m8-common.mk)

# Init
PRODUCT_PACKAGES += \
init.variant.rc
18 changes: 17 additions & 1 deletion extract-files.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
#!/bin/bash
#
# Copyright (C) 2016 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

set -e

export DEVICE=m8
export DEVICE_COMMON=m8-common
export VENDOR=htc

./../m8-common/extract-files.sh $@
./../$DEVICE_COMMON/extract-files.sh $@
10 changes: 10 additions & 0 deletions rootdir/Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

include $(CLEAR_VARS)
LOCAL_MODULE := init.variant.rc
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.variant.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
11 changes: 11 additions & 0 deletions rootdir/etc/init.variant.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
service_redefine ril-daemon /system/bin/rild
class main
socket rild stream 660 root radio
socket sap_uim_socket1 stream 660 bluetooth bluetooth
socket rild-debug stream 660 radio system
user root
group radio cache inet misc audio log qcom_diag
disabled

on property:sys.boot_completed=1
start ril-daemon
18 changes: 17 additions & 1 deletion setup-makefiles.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
#!/bin/bash
#
# Copyright (C) 2016 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

set -e

export DEVICE=m8
export DEVICE_COMMON=m8-common
export VENDOR=htc

./../m8-common/setup-makefiles.sh $@
./../$DEVICE_COMMON/setup-makefiles.sh $@