Skip to content

Commit

Permalink
initial RR
Browse files Browse the repository at this point in the history
Conflicts:
	BoardConfig.mk
  • Loading branch information
judas77 committed Aug 8, 2015
1 parent 6308098 commit 6cb71dd
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 17 deletions.
18 changes: 16 additions & 2 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,30 @@ TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_CPU_MEMCPY_BASE_OPT_DISABLE := true
TARGET_CPU_SMP := true
TARGET_CPU_VARIANT := krait
TARGET_CPU_VARIANT := cortex-a7

TARGET_BOOTLOADER_BOARD_NAME := w7


#My compilation flags [experimental]
TARGET_GLOBAL_CFLAGS += -march=armv7-a -mtune=cortex-a7 -mfpu=neon -mfloat-abi=softfp
TARGET_GLOBAL_CPPFLAGS += -march=armv7-a -mtune=cortex-a7 -mfpu=neon -mfloat-abi=softfp
TARGET_USE_O3 := true
SUPPRES_UNUSED_WARNING := true

# My Architecture additions [experimental]
OPT_MEMORY := true
TARGET_CPU_SMP := true
ARCH_ARM_HAVE_NEON := true
STRICT_ALIASING := true


# Kernel image
BOARD_KERNEL_SEPARATED_DT := true
BOARD_CUSTOM_BOOTIMG_MK := device/lge/w7/mkbootimg.mk
TARGET_KERNEL_SOURCE := kernel/lge/msm8226
TARGET_KERNEL_CONFIG := w7ds_cyanogenmod_defconfig
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 user_debug=31 msm_rtb.filter=0x37 androidboot.hardware=w7 androidboot.selinux=enforcing
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 user_debug=31 msm_rtb.filter=0x37 androidboot.hardware=w7 androidboot.selinux=permissive
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 2048
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
Expand Down
1 change: 1 addition & 0 deletions cm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ $(call inherit-product, vendor/cm/config/common_full_phone.mk)
# Boot animation
TARGET_SCREEN_WIDTH := 540
TARGET_SCREEN_HEIGHT := 960
TARGET_BOOTANIMATION_HALF_RES := true

# Release name
PRODUCT_RELEASE_NAME := LG L90
Expand Down
4 changes: 3 additions & 1 deletion device_w7.mk
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
audio.offload.gapless.enabled=false \
audio.offload.multiple.enabled=false \
audio.offload.pcm.16bit.enable=true \
audio.offload.pcm.24bit.enable=true
audio.offload.pcm.24bit.enable=true \
lpa.decode=false \
use.dedicated.device.for.voip=false

PRODUCT_PROPERTY_OVERRIDES += \
av.offload.enable=false \
Expand Down
14 changes: 5 additions & 9 deletions overlay/frameworks/base/core/res/res/xml/storage_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,14 @@
<storage android:storageDescription="@string/storage_internal"
android:emulated="true"
android:primary="true"
android:mtpReserve="100" />
android:mtpReserve="100"
android:allowMassStorage="true" />

<!-- external SD card storage -->
<storage android:mountPoint="/storage/sdcard1"
android:storageDescription="@string/storage_sd_card"
android:primary="false"
android:removable="true" />

<!-- external usb storage -->
<storage android:mountPoint="/storage/usbdisk"
android:storageDescription="@string/storage_usb"
android:primary="false"
android:removable="true" />

android:removable="true"
android:allowMassStorage="true" />

</StorageList>
1 change: 0 additions & 1 deletion overlay/packages/apps/Phone

This file was deleted.

1 change: 1 addition & 0 deletions overlay/packages/apps/Phone
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../services/Telephony/
6 changes: 6 additions & 0 deletions overlay/packages/services/Telephony/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,10 @@

<!-- Flag indicating if the phone is a world phone-->
<bool name="world_phone">false</bool>

<!-- Determine whether calls to mute the microphone in PhoneUtils
are routed through the android.media.AudioManager class (true) or through
the com.android.internal.telephony.Phone interface (false). -->
<bool name="send_mic_mute_to_AudioManager">true</bool>

</resources>
6 changes: 1 addition & 5 deletions rootdir/init.w7.rc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ on init
export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
export EMULATED_STORAGE_TARGET /storage/emulated
export SECONDARY_STORAGE /storage/sdcard1:/storage/usbdisk
export SECONDARY_STORAGE /storage/sdcard1

# for backwards compatibility
symlink /storage/emulated/legacy /sdcard
Expand Down Expand Up @@ -304,10 +304,6 @@ service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1
class late_start
disabled

service fuse_usbdisk /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/usbdisk /storage/usbdisk
class late_start
disabled

service irsc_util /system/bin/irsc_util "/etc/sec_config"
class main
user root
Expand Down
9 changes: 9 additions & 0 deletions system.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#
# system.prop for w7
#

# Use reference RIL for initial bringup
ro.vendor.extension_library=/vendor/lib/libqti-perfd-client.so
rild.libpath=/vendor/lib/libril-qc-qmi-1.so
Expand Down Expand Up @@ -64,3 +65,11 @@ ro.config.vc_call_vol_steps=6
persist.data.sbp.update=0
persist.radio.rat_on=legacy
ro.lge.proximity.delay=25

# Hardware info
ro.device.chipset=Qualcomm Snapdragon 400 MSM8226 (28 nm)
ro.device.cpu=ARMv7 1200MHz Quad-core ARM Cortex-A7 MPcore
ro.device.gpu=Qualcomm Adreno 305 (450 - MHz)
ro.device.rear_cam=8 Mpix (3464 x 2312)
ro.device.front_cam=VGA (640x480)
ro.device.screen_res=4,7' 960x540 pixels ( ~234 ppi)

0 comments on commit 6cb71dd

Please sign in to comment.