Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Froyo #9

Open
wants to merge 8 commits into
base: gingerbread
Choose a base branch
from
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
4 changes: 3 additions & 1 deletion BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ BOARD_USES_GENERIC_AUDIO := false
#BOARD_USES_ECLAIR_LIBCAMERA := true
#BOARD_USES_ECLAIR_LIBAUDIO := true

#HARDWARE_OMX := true
HARDWARE_OMX := true
BUILD_WITH_TI_AUDIO := 1
BUILD_PV_VIDEO_ENCODERS := 1

BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
Expand Down
Binary file modified prebuilt/app/Usb.apk
100644 → 100755
Binary file not shown.
10 changes: 5 additions & 5 deletions prebuilt/etc/init.d/10overclock
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/overclock.ko

echo 60 > /proc/overclock/max_vsel
echo 62 > /proc/overclock/max_vsel
echo 900000 > /proc/overclock/max_rate

#echo "5 900000000 60" > /proc/overclock/mpu_opps
echo "4 700000000 49" > /proc/overclock/mpu_opps
echo "3 500000000 44" > /proc/overclock/mpu_opps
echo "2 250000000 33" > /proc/overclock/mpu_opps
#echo "5 900000000 62" > /proc/overclock/mpu_opps
echo "4 700000000 54" > /proc/overclock/mpu_opps
echo "3 500000000 47" > /proc/overclock/mpu_opps
echo "2 250000000 34" > /proc/overclock/mpu_opps
#echo "1 125000000 32" > /proc/overclock/mpu_opps

#echo "0 900000" > /proc/overclock/freq_table
Expand Down
7 changes: 7 additions & 0 deletions prebuilt/etc/rootfs/init.mapphone_umts.rc
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ mount rootfs rootfs / ro remount
# Enable panic on softlockup
write /proc/sys/kernel/softlockup_panic 1

# Set OMAP DSS update_mode to 1 (auto) to get rid of the DSI errors
write /sys/devices/omapdss/display0/update_mode 1

# Install kernel modules

# Install BP related kernel modules
Expand All @@ -254,6 +257,10 @@ mount rootfs rootfs / ro remount
insmod /system/lib/modules/modem_pm_driver.ko
insmod /system/lib/modules/sec.ko

insmod /system/lib/modules/mbcache.ko
insmod /system/lib/modules/jbd2.ko
insmod /system/lib/modules/ext4.ko

# Start services
exec /system/bin/mot_boot_mode

Expand Down
Binary file added prebuilt/lib/modules/ext4.ko
Binary file not shown.
Binary file added prebuilt/lib/modules/jbd2.ko
Binary file not shown.
Binary file added prebuilt/lib/modules/mbcache.ko
Binary file not shown.
20 changes: 18 additions & 2 deletions system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,27 @@ mot.proximity.delay=450
#proximit sensor disable touch distance
mot.proximity.distance=100

#set to 0 if you don't use a dock but a case with a magentic closure

## Specific properties available only in CM6 for Milestone

# set to 0 if you don't use a dock but a case with a magentic closure
ro.config.dockobserver=1

#swap volume keys in landscape mode
# swap volume keys in landscape mode
ro.config.volume_keys_rotation=1

# By default, the dalvik-cache of apps in /system is stored in /cache,
# of apps in /data and sdcard in /data. When set to 1, dalvik-cache of
# all apps will be stored in /cache.
# Use with caution, a lot of free space in /data and almost full /cache
# is not a good thing...
dalvik.vm.dexopt-cache-only=0

# set to 1 if you don't want the screen to turn on when the phone is plugged
# useful when using a solar power adapter (fluctuating power)
ro.config.no_action_on_plug=0

##

windowsmgr.max_events_per_sec=60

7 changes: 5 additions & 2 deletions umts_sholes.mk
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dexopt-flags=m=y \
ro.product.multi_touch_enabled=true \
ro.product.max_num_touch=4 \
ro.com.google.gmsversion=2.2_r6
ro.com.google.gmsversion=2.2_r8

DEVICE_PACKAGE_OVERLAYS += device/motorola/umts_sholes/overlay

Expand Down Expand Up @@ -103,7 +103,10 @@ PRODUCT_COPY_FILES += \
device/motorola/umts_sholes/prebuilt/lib/modules/cpufreq_smartass.ko:/system/lib/modules/cpufreq_smartass.ko \
device/motorola/umts_sholes/prebuilt/lib/modules/cpufreq_stats.ko:/system/lib/modules/cpufreq_stats.ko \
device/motorola/umts_sholes/prebuilt/lib/modules/cpufreq_conservative.ko:/system/lib/modules/cpufreq_conservative.ko \
device/motorola/umts_sholes/prebuilt/lib/modules/overclock.ko:/system/lib/modules/overclock.ko
device/motorola/umts_sholes/prebuilt/lib/modules/overclock.ko:/system/lib/modules/overclock.ko \
device/motorola/umts_sholes/prebuilt/lib/modules/ext4.ko:/system/lib/modules/ext4.ko \
device/motorola/umts_sholes/prebuilt/lib/modules/jbd2.ko:/system/lib/modules/jbd2.ko \
device/motorola/umts_sholes/prebuilt/lib/modules/mbcache.ko:/system/lib/modules/mbcache.ko

$(call inherit-product-if-exists, vendor/motorola/umts_sholes/umts_sholes-vendor.mk)

Expand Down