Skip to content

Commit

Permalink
Updates for 1033: use specific libril-qc-qmi-1
Browse files Browse the repository at this point in the history
Change-Id: I82b851cea083b3f1165fd44ba1c0e724d7ff69ef
  • Loading branch information
dhacker29 committed Feb 15, 2014
1 parent f7a2dfb commit 2f354a0
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
3 changes: 3 additions & 0 deletions BoardConfig.mk
Expand Up @@ -33,6 +33,9 @@ TARGET_UNIFIED_DEVICE := true
TARGET_INIT_VENDOR_LIB := libinit_msm
TARGET_LIBINIT_DEFINES_FILE := device/motorola/falcon/init/init_falcon.c

# Custom relese tools for unified devices
TARGET_RELEASETOOLS_EXTENSIONS := device/motorola/falcon

#bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth

Expand Down
1 change: 1 addition & 0 deletions device-proprietary-files.txt
@@ -1,2 +1,3 @@
# proprietary file list
# bin/filename
xt1033/vendor/lib/libril-qc-qmi-1.so
7 changes: 4 additions & 3 deletions init/init_falcon.c
Expand Up @@ -105,11 +105,12 @@ void init_msm_properties(unsigned long msm_id, unsigned long msm_ver, char *boar
/* xt1033 */
property_set("ro.product.device", "falcon_umtsds");
property_set("ro.product.model", "Moto G");
property_set("ro.build.description", "falcon_retbr_ds-user 4.3 14.10.0Q3.X-76-LCG-8 60 release-keys");
property_set("ro.build.fingerprint", "motorola/falcon_retbr_ds/falcon_umtsds:4.3/14.10.0Q3.X-76-LCG-8/60:user/release-keys");
property_set("ro.mot.build.customerid", "RETBR");
property_set("ro.build.description", "falcon_asia_ds-user 4.4.2 KXB20.25-1.31 14 release-keys");
property_set("ro.build.fingerprint", "motorola/falcon_asia_ds/falcon_umtsds:4.4.2/KXB20.25-1.31/14:user/release-keys");
property_set("ro.mot.build.customerid", "RTASIA");
property_set("persist.radio.multisim.config", "dsds");
property_set("persist.radio.dont_use_dsd", "true");
property_set("persist.radio.plmn_name_cmp", "1");
} else if (ISMATCH(radio, "0x6")) {
/* xt1034 */
property_set("ro.product.device", "falcon_umts");
Expand Down
20 changes: 20 additions & 0 deletions releasetools.py
@@ -0,0 +1,20 @@
# Copyright (C) 2012 The Android Open Source Project
# Copyright (C) 2014 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.

"""Custom OTA commands for falcon devices"""

def FullOTA_InstallEnd(info):
info.script.AppendExtra('ifelse(is_substring("0x5", getprop("ro.boot.radio")), run_program("/sbin/sh", "-c", "busybox cp -R /system/xt1033/* /system/"));')
info.script.AppendExtra('delete_recursive("/system/xt1033");')

0 comments on commit 2f354a0

Please sign in to comment.