Compare commits
14
Commits
17.0
..
e6e766260b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6e766260b | ||
|
|
7464956dd0 | ||
|
|
1acd8c225d | ||
|
|
02cf488749 | ||
|
|
5982d3d582 | ||
|
|
77673aca05 | ||
|
|
ee7409100e | ||
|
|
8ee1775948 | ||
|
|
57644d70ba | ||
|
|
3c8f67d1a0 | ||
|
|
6b3096edbf | ||
|
|
3c7e31e7ea | ||
|
|
6158fbf874 | ||
|
|
c82a3ae645 |
No files matched your search
+10324
-10652
File diff suppressed because it is too large.
Load diff
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
@@ -1,4 +0,0 @@
|
||||
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
import /system_ext/etc/qspa/qspa_${ro.boot.vendor.qspa:-default}.rc
|
||||
@@ -0,0 +1,15 @@
|
||||
#==============================================================================
|
||||
# qspmsvc.rc
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#===============================================================================
|
||||
service vendor.qspmsvc /system_ext/bin/qspmsvc
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
start vendor.qspmsvc
|
||||
+95
@@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
~ All Rights Reserved.
|
||||
~ Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
<!--
|
||||
~ Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
||||
|
||||
~ Not a Contribution.
|
||||
-->
|
||||
|
||||
<!--
|
||||
~ Copyright (C) 2016 The Android Open Source 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
|
||||
-->
|
||||
|
||||
<!--
|
||||
This XML file declares which signature|privileged permissions should be
|
||||
granted to privileged applications on QTI devices.
|
||||
It allows additional grants on top of privapp-permissions-platform.xml
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
|
||||
<privapp-permissions package="org.codeaurora.dialer">
|
||||
<permission name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/>
|
||||
<permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
|
||||
<permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
|
||||
<permission name="android.permission.MODIFY_PHONE_STATE"/>
|
||||
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
|
||||
<permission name="android.permission.STATUS_BAR"/>
|
||||
<permission name="android.permission.STOP_APP_SWITCHES"/>
|
||||
<permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
|
||||
<permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
|
||||
<permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
|
||||
<permission name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS"/>
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="org.codeaurora.ims">
|
||||
<permission name="android.permission.MODIFY_PHONE_STATE"/>
|
||||
<permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
|
||||
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
|
||||
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
|
||||
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
|
||||
<permission name="android.permission.WRITE_SECURE_SETTINGS" />
|
||||
<!-- Permissions added by Moto -->
|
||||
<permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
|
||||
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="com.android.mms">
|
||||
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
|
||||
<permission name="android.permission.WRITE_APN_SETTINGS"/>
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="com.qualcomm.qti.callenhancement">
|
||||
<permission name="android.permission.RECORD_AUDIO" />
|
||||
<permission name="android.permission.CAPTURE_AUDIO_OUTPUT" />
|
||||
<permission name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<permission name="android.permission.READ_BLOCKED_NUMBERS" />
|
||||
<permission name="android.permission.VIBRATE" />
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="com.qualcomm.qcrilmsgtunnel">
|
||||
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="org.codeaurora.qti.nrNetworkSettingApp">
|
||||
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
|
||||
</privapp-permissions>
|
||||
|
||||
<privapp-permissions package="com.qti.phone">
|
||||
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
|
||||
<permission name="android.permission.STATUS_BAR"/>
|
||||
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
|
||||
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
|
||||
<permission name="android.permission.MODIFY_PHONE_STATE"/>
|
||||
<permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
|
||||
</privapp-permissions>
|
||||
|
||||
</permissions>
|
||||
@@ -1,6 +0,0 @@
|
||||
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
on init
|
||||
setprop ro.boot.vendor.qspa.modem "enabled"
|
||||
setprop ro.boot.vendor.qspa.nav "enabled"
|
||||
@@ -0,0 +1,172 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<!--
|
||||
Copyright (c) 2021 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
|
||||
<!--
|
||||
This XML file declares which system packages should be initially installed for new users based on
|
||||
their user type. All system packages on the device should ideally have an entry in an xml file
|
||||
(keyed by its manifest name).
|
||||
|
||||
Base user-types (every user will be at least one of these types) are:
|
||||
- SYSTEM (user 0)
|
||||
- FULL (any non-profile human user)
|
||||
- PROFILE (profile human user)
|
||||
the precise meaning of which is defined in
|
||||
frameworks/base/core/java/android/content/pm/UserInfo.java.
|
||||
|
||||
Changes to the whitelist during system updates can result in installing additional system packages
|
||||
to pre-existing users, but cannot uninstall pre-existing system packages from pre-existing users.
|
||||
|
||||
Full documentation at frameworks/base/data/etc/preinstalled-packages-platform.xml
|
||||
-->
|
||||
|
||||
<config>
|
||||
|
||||
<!-- qcrilOemHook -->
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qcrilmsgtunnel">
|
||||
<install-in user-type="SYSTEM" />
|
||||
<install-in user-type="FULL" />
|
||||
</install-in-user-type>
|
||||
|
||||
<!-- uim-remote-service -->
|
||||
|
||||
<install-in-user-type package="com.qualcomm.uimremoteclient">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.uimremoteserver">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<!-- telephony-apps -->
|
||||
|
||||
<install-in-user-type package="com.qti.telephonysettings">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.atfwd">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.atfwd2">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.callfeaturessetting">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="org.codeaurora.dialer">
|
||||
<install-in user-type="SYSTEM" />
|
||||
<install-in user-type="FULL" />
|
||||
<install-in user-type="PROFILE" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.confdialer">
|
||||
<install-in user-type="SYSTEM" />
|
||||
<install-in user-type="FULL" />
|
||||
<install-in user-type="PROFILE" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qti.confuridialer">
|
||||
<install-in user-type="SYSTEM" />
|
||||
<install-in user-type="FULL" />
|
||||
<install-in user-type="PROFILE" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.ridemodeaudio">
|
||||
<install-in user-type="SYSTEM" />
|
||||
<install-in user-type="FULL" />
|
||||
<install-in user-type="PROFILE" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qti.qualcomm.datastatusnotification">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qti.qualcomm.deviceinfo">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="org.codeaurora.ims">
|
||||
<install-in user-type="SYSTEM" />
|
||||
<install-in user-type="FULL" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.telephonyservice">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.sam.service">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qti.xdivert">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qti.phone">
|
||||
<install-in user-type="SYSTEM" />
|
||||
<install-in user-type="FULL" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.modemtestmode">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.ims">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.remoteSimlockAuth">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<!-- telephony-internal -->
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.imsiprivacy.tests">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qti.qualcomm.carriertest">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.uimlpatest">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<!-- telephony-noship -->
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.devicestatisticsservice">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.euiccresource">
|
||||
<install-in user-type="SYSTEM" />
|
||||
<install-in user-type="FULL" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.android.MultiplePdpTest">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.lpa">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.uimGbaApp">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
<install-in-user-type package="com.qualcomm.qti.uim">
|
||||
<install-in user-type="SYSTEM" />
|
||||
</install-in-user-type>
|
||||
|
||||
</config>
|
||||
@@ -1,10 +0,0 @@
|
||||
<!--
|
||||
Input:
|
||||
vendor/qcom/proprietary/commonsys/qesdk-noship/qesdk_system_service/vendor.qti.qesdsys.service.xml
|
||||
-->
|
||||
<manifest version="9.0" type="framework">
|
||||
<hal format="aidl">
|
||||
<name>vendor.qti.qesdsys</name>
|
||||
<fqname>IQesdSys/default</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
-118
@@ -1,118 +0,0 @@
|
||||
#! /vendor/bin/sh
|
||||
|
||||
# Copyright (c) 2013-2014, 2019 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 BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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.
|
||||
#
|
||||
|
||||
#
|
||||
# start ril-daemon only for targets on which radio is present
|
||||
#
|
||||
baseband=`getprop ro.baseband`
|
||||
sgltecsfb=`getprop persist.vendor.radio.sglte_csfb`
|
||||
datamode=`getprop persist.vendor.data.mode`
|
||||
low_ram=`getprop ro.config.low_ram`
|
||||
|
||||
case "$baseband" in
|
||||
"apq" | "sda" | "qcs" )
|
||||
setprop ro.vendor.radio.noril yes
|
||||
stop vendor.ril-daemon
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
stop vendor.qcrild3
|
||||
esac
|
||||
|
||||
case "$baseband" in
|
||||
"msm" | "csfb" | "svlte2a" | "mdm" | "mdm2" | "sglte" | "sglte2" | "dsda2" | "unknown" | "dsda3" | "sdm" | "sdx" | "sm6")
|
||||
|
||||
# start qcrild only for targets on which modem is present
|
||||
# modemvalue 0x0 indicates Modem online
|
||||
# modemvalue 0x1 indicates Modem IP is not functional or disabled
|
||||
# modemvalue 0x2 indicates Modem offline
|
||||
modemvalue="0x0"
|
||||
if [ -f /sys/devices/soc0/modem ]; then
|
||||
modemvalue=`cat /sys/devices/soc0/modem`
|
||||
fi
|
||||
|
||||
if [ $modemvalue != "0x1" ] && [ $modemvalue != "0x2" ]; then
|
||||
start vendor.qcrild
|
||||
|
||||
case "$baseband" in
|
||||
"svlte2a" | "csfb")
|
||||
start qmiproxy
|
||||
;;
|
||||
"sglte" | "sglte2" )
|
||||
if [ "x$sgltecsfb" != "xtrue" ]; then
|
||||
start qmiproxy
|
||||
else
|
||||
setprop persist.vendor.radio.voice.modem.index 0
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
multisim=`getprop persist.radio.multisim.config`
|
||||
|
||||
if [ "$multisim" = "dsds" ] || [ "$multisim" = "dsda" ]; then
|
||||
start vendor.qcrild2
|
||||
elif [ "$multisim" = "tsts" ]; then
|
||||
start vendor.qcrild2
|
||||
start vendor.qcrild3
|
||||
fi
|
||||
|
||||
case "$datamode" in
|
||||
"tethered")
|
||||
start vendor.dataqti
|
||||
if [ "$low_ram" != "true" ]; then
|
||||
start vendor.dataadpl
|
||||
fi
|
||||
;;
|
||||
"concurrent")
|
||||
start vendor.dataqti
|
||||
if [ "$low_ram" != "true" ]; then
|
||||
start vendor.dataadpl
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
else
|
||||
setprop ro.vendor.radio.noril yes
|
||||
stop vendor.qcrild
|
||||
stop vendor.qcrild2
|
||||
stop vendor.qcrild3
|
||||
fi
|
||||
esac
|
||||
|
||||
#
|
||||
# Allow persistent faking of bms
|
||||
# User needs to set fake bms charge in persist.vendor.bms.fake_batt_capacity
|
||||
#
|
||||
fake_batt_capacity=`getprop persist.vendor.bms.fake_batt_capacity`
|
||||
case "$fake_batt_capacity" in
|
||||
"") ;; #Do nothing here
|
||||
* )
|
||||
echo "$fake_batt_capacity" > /sys/class/power_supply/battery/capacity
|
||||
;;
|
||||
esac
|
||||
Vendored
-35
@@ -1,35 +0,0 @@
|
||||
#! /vendor/bin/sh
|
||||
|
||||
# Copyright (c) 2012, 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 BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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.
|
||||
#
|
||||
|
||||
country=`getprop wlan.crda.country`
|
||||
# crda takes input in COUNTRY environment variable
|
||||
if [ $country != "" ]
|
||||
then
|
||||
COUNTRY="$country" /system/bin/crda
|
||||
fi
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
#!/vendor/bin/sh
|
||||
|
||||
debug=$(getprop ro.boot.gbdebug 2> /dev/null)
|
||||
bootmode=$(getprop ro.bootmode 2> /dev/null)
|
||||
|
||||
# If androidboot.gbdebug is set on command line, skip inserting
|
||||
# the pre-installed modules.
|
||||
if [ "$debug" == "1" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
insmod /vendor/lib/modules/greybus.ko
|
||||
|
||||
# Only support PTP and BATTERY in charge-only mode
|
||||
if [ "$bootmode" == "charger" ]; then
|
||||
insmod /vendor/lib/modules/gb-mods.ko
|
||||
insmod /vendor/lib/modules/gb-battery.ko
|
||||
insmod /vendor/lib/modules/gb-ptp.ko
|
||||
|
||||
return 0
|
||||
fi
|
||||
|
||||
gbmods="/vendor/lib/modules/gb-*"
|
||||
for mod in $gbmods
|
||||
do
|
||||
insmod $mod
|
||||
done
|
||||
|
||||
insmod /vendor/lib/modules/v4l2-hal.ko
|
||||
start vendor.mods_camd
|
||||
Loaded 100 of 934 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user