Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matisse
android_device_samsung_msm8226-common
Commits
051aaa2d
Commit
051aaa2d
authored
9 years ago
by
sub77
Browse files
Options
Download
Email Patches
Plain Diff
error
parent
706159be
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
102 additions
and
4 deletions
+102
-4
BoardConfigCommon.mk
BoardConfigCommon.mk
+22
-4
msm8226.mk
msm8226.mk
+18
-0
overlay/packages/apps/Settings/res/values/bools.xml
overlay/packages/apps/Settings/res/values/bools.xml
+2
-0
patch/system_vold/0005-vold-nocommas.patch
patch/system_vold/0005-vold-nocommas.patch
+59
-0
system.prop
system.prop
+1
-0
No files found.
BoardConfigCommon.mk
View file @
051aaa2d
...
...
@@ -41,16 +41,34 @@ USE_DEVICE_SPECIFIC_CAMERA := true
TARGET_USE_COMPAT_GRALLOC_ALIGN
:=
true
# Charger
BOARD_BATTERY_DEVICE_NAME
:=
"battery"
BOARD_CHARGING_CMDLINE_NAME
:=
"androidboot.bootchg"
BOARD_CHARGING_CMDLINE_VALUE
:=
"true"
#BOARD_BATTERY_DEVICE_NAME := "battery"
#BOARD_CHARGING_CMDLINE_NAME := "androidboot.bootchg"
#BOARD_CHARGING_CMDLINE_VALUE := "true"
#BOARD_CHARGER_ENABLE_SUSPEND := true
#BOARD_CHARGER_SHOW_PERCENTAGE := true
#CHARGING_ENABLED_PATH := "/sys/class/power_supply/battery/batt_lp_charging"
# Charger/Healthd
BOARD_CHARGING_MODE_BOOTING_LPM
:=
/sys/class/power_supply/battery/batt_lp_charging
BOARD_CHARGER_ENABLE_SUSPEND
:=
true
BOARD_CHARGER_DISABLE_INIT_BLANK
:=
true
BOARD_CHARGER_SHOW_PERCENTAGE
:=
true
CHARGING_ENABLED_PATH
:=
"/sys/class/power_supply/battery/batt_lp_charging"
BACKLIGHT_PATH
:=
"/sys/class/backlight/panel/brightness"
CHARGING_ENABLED_PATH
:=
/sys/class/power_supply/battery/batt_lp_charging
# Power HAL
#TARGET_POWERHAL_VARIANT := qcom
#TARGET_USES_CPU_BOOST_HINT := true
#TARGET_POWERHAL_SET_INTERACTIVE_EXT := device/samsung/msm8226-common/power/power.c
# CMHW
BOARD_HARDWARE_CLASS
+=
$(VENDOR_PATH)
/cmhw
# RIL
#BOARD_PROVIDES_LIBRIL := true
#TARGET_IGNORE_RO_BOOT_REVISION := true
BOARD_USES_LEGACY_MMAP
:=
true
# Custom RIL class
BOARD_RIL_CLASS
:=
../../../
$(VENDOR_PATH)
/ril
...
...
This diff is collapsed.
Click to expand it.
msm8226.mk
View file @
051aaa2d
...
...
@@ -130,6 +130,7 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml
\
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml
\
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
\
frameworks/native/data/etc/android.software.sip.xml:system/etc/permissions/android.software.sip.xml
\
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml
\
frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml
...
...
@@ -166,6 +167,12 @@ PRODUCT_PACKAGES += \
libwcnss_qmi
\
wcnss_service
PRODUCT_PACKAGES
+=
\
SamsungServiceMode
#PRODUCT_PACKAGES += \
# libsamsung_symbols
# Audio
PRODUCT_PROPERTY_OVERRIDES
+=
\
mm.enable.smoothstreaming
=
true
\
...
...
@@ -183,5 +190,16 @@ PRODUCT_PROPERTY_OVERRIDES += \
media.aac_51_output_enabled
=
true
\
media.aaccodectype
=
1
PRODUCT_PROPERTY_OVERRIDES
+=
\
persist.rild.nitz_plmn
=
""
\
persist.rild.nitz_long_ons_0
=
""
\
persist.rild.nitz_long_ons_1
=
""
\
persist.rild.nitz_long_ons_2
=
""
\
persist.rild.nitz_long_ons_3
=
""
\
persist.rild.nitz_short_ons_0
=
""
\
persist.rild.nitz_short_ons_1
=
""
\
persist.rild.nitz_short_ons_2
=
""
\
persist.rild.nitz_short_ons_3
=
""
# Inherit from qcom-common
$(call
inherit-product,
device/samsung/qcom-common/qcom-common.mk)
This diff is collapsed.
Click to expand it.
overlay/packages/apps/Settings/res/values/bools.xml
View file @
051aaa2d
...
...
@@ -19,4 +19,6 @@
<resources>
<!-- Whether or not the dock settings are to be displayed for this device when docked -->
<bool
name=
"has_dock_settings"
>
true
</bool>
<!-- Whether the power control widget is enabled for this device. -->
<bool
name=
"has_powercontrol_widget"
>
true
</bool>
</resources>
This diff is collapsed.
Click to expand it.
patch/system_vold/0005-vold-nocommas.patch
0 → 100644
View file @
051aaa2d
From 9b288437058df5ebd335c2788c26113967b852b6 Mon Sep 17 00:00:00 2001
From: morckx <morckx@gmail.com>
Date: Tue, 24 Nov 2015 22:45:01 +0100
Subject: [PATCH] vold: dont't use commas in device names
Fuse supports commas escaped by '\' in fs names, but exfat and ntfs-3g
currently don't support the escaping.
This fixes mounting of exFAT and NTFS public volumes.
Change-Id: I72005489956e59e7f889267114fee3921d289984
---
Disk.cpp | 2 +-
PrivateVolume.cpp | 2 +-
PublicVolume.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Disk.cpp b/Disk.cpp
index 482cf8f..057637f 100644
--- a/Disk.cpp
+++ b/Disk.cpp
@@ -80,7 +80,7 @@
Disk::Disk(const std::string& eventPath, dev_t device,
const std::string& nickname, int flags) :
mDevice(device), mSize(-1), mNickname(nickname), mFlags(flags), mCreated(
false), mJustPartitioned(false) {
- mId = StringPrintf("disk:%u,%u", major(device), minor(device));
+ mId = StringPrintf("disk:%u_%u", major(device), minor(device));
mEventPath = eventPath;
mSysPath = StringPrintf("/sys/%s", eventPath.c_str());
mDevPath = StringPrintf("/dev/block/vold/%s", mId.c_str());
diff --git a/PrivateVolume.cpp b/PrivateVolume.cpp
index 6ddef3f..9dac376 100644
--- a/PrivateVolume.cpp
+++ b/PrivateVolume.cpp
@@ -45,7 +45,7 @@
static const unsigned int kMajorBlockMmc = 179;
PrivateVolume::PrivateVolume(dev_t device, const std::string& keyRaw) :
VolumeBase(Type::kPrivate), mRawDevice(device), mKeyRaw(keyRaw) {
- setId(StringPrintf("private:%u,%u", major(device), minor(device)));
+ setId(StringPrintf("private:%u_%u", major(device), minor(device)));
mRawDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str());
}
diff --git a/PublicVolume.cpp b/PublicVolume.cpp
index cd76483..b9984b5 100644
--- a/PublicVolume.cpp
+++ b/PublicVolume.cpp
@@ -50,7 +50,7 @@
PublicVolume::PublicVolume(dev_t device,
const std::string& mntopts /* = "" */) :
VolumeBase(Type::kPublic), mDevice(device), mFusePid(0),
mFsType(fstype), mMntOpts(mntopts) {
- setId(StringPrintf("public:%u,%u", major(device), minor(device)));
+ setId(StringPrintf("public:%u_%u", major(device), minor(device)));
mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str());
}
--
1.9.1
This diff is collapsed.
Click to expand it.
system.prop
View file @
051aaa2d
# Art
dalvik.vm.dex2oat-swap=false
ro.sys.fw.dex2oat_thread_count=4
# Audio
media.aac_51_output_enabled=true
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment