diff options
author | sbrissen <sbrissen@hotmail.com> | 2013-10-14 08:44:26 -0400 |
---|---|---|
committer | sbrissen <sbrissen@hotmail.com> | 2013-10-14 08:46:55 -0400 |
commit | 9b8accc6df8a8b036ad2924f1f59e9419b6c6883 (patch) | |
tree | c71f97f6f43fa6bd28e7d50c92da3da65c9f20ce | |
parent | e1d7786c00f4ef965fd0271d3ee3149c7e14bca9 (diff) | |
download | device_samsung_n5110-9b8accc6df8a8b036ad2924f1f59e9419b6c6883.zip device_samsung_n5110-9b8accc6df8a8b036ad2924f1f59e9419b6c6883.tar.gz device_samsung_n5110-9b8accc6df8a8b036ad2924f1f59e9419b6c6883.tar.bz2 |
fix lpm mode, remove aosp charger and use the samsung one
This fixes the screen not turning off while charging when tablet is off
-rw-r--r-- | n5110.mk | 9 | ||||
-rw-r--r-- | res/charger/battery_0.png | bin | 5515 -> 0 bytes | |||
-rw-r--r-- | res/charger/battery_1.png | bin | 5549 -> 0 bytes | |||
-rw-r--r-- | res/charger/battery_2.png | bin | 5548 -> 0 bytes | |||
-rw-r--r-- | res/charger/battery_3.png | bin | 5548 -> 0 bytes | |||
-rw-r--r-- | res/charger/battery_4.png | bin | 5548 -> 0 bytes | |||
-rw-r--r-- | res/charger/battery_5.png | bin | 5522 -> 0 bytes | |||
-rw-r--r-- | res/charger/battery_charge.png | bin | 7126 -> 0 bytes | |||
-rw-r--r-- | res/charger/battery_fail.png | bin | 7051 -> 0 bytes | |||
-rw-r--r-- | rootdir/lpm.rc | 14 |
10 files changed, 10 insertions, 13 deletions
@@ -64,11 +64,6 @@ PRODUCT_PACKAGES += \ PRODUCT_PROPERTY_OVERRIDES += \ mobiledata.interfaces=wlan0 -# Charger -PRODUCT_PACKAGES += \ - charger \ - charger_res_images - # These are the hardware-specific features PRODUCT_COPY_FILES += \ frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml @@ -78,6 +73,6 @@ PRODUCT_CHARACTERISTICS := tablet $(call inherit-product, frameworks/native/build/tablet-7in-xhdpi-2048-dalvik-heap.mk) -$(call inherit-product, device/samsung/smdk4412-common/common.mk) +$(call inherit-product, vendor/samsung/n5110/n5110-vendor.mk) -$(call inherit-product-if-exists, vendor/samsung/n5110/n5110-vendor.mk)
\ No newline at end of file +$(call inherit-product, device/samsung/smdk4412-common/common.mk)
\ No newline at end of file diff --git a/res/charger/battery_0.png b/res/charger/battery_0.png Binary files differdeleted file mode 100644 index 38b888c..0000000 --- a/res/charger/battery_0.png +++ /dev/null diff --git a/res/charger/battery_1.png b/res/charger/battery_1.png Binary files differdeleted file mode 100644 index 03f4226..0000000 --- a/res/charger/battery_1.png +++ /dev/null diff --git a/res/charger/battery_2.png b/res/charger/battery_2.png Binary files differdeleted file mode 100644 index 296959e..0000000 --- a/res/charger/battery_2.png +++ /dev/null diff --git a/res/charger/battery_3.png b/res/charger/battery_3.png Binary files differdeleted file mode 100644 index 97a5dfd..0000000 --- a/res/charger/battery_3.png +++ /dev/null diff --git a/res/charger/battery_4.png b/res/charger/battery_4.png Binary files differdeleted file mode 100644 index 63865c2..0000000 --- a/res/charger/battery_4.png +++ /dev/null diff --git a/res/charger/battery_5.png b/res/charger/battery_5.png Binary files differdeleted file mode 100644 index eec62b0..0000000 --- a/res/charger/battery_5.png +++ /dev/null diff --git a/res/charger/battery_charge.png b/res/charger/battery_charge.png Binary files differdeleted file mode 100644 index c1d2856..0000000 --- a/res/charger/battery_charge.png +++ /dev/null diff --git a/res/charger/battery_fail.png b/res/charger/battery_fail.png Binary files differdeleted file mode 100644 index 9099d02..0000000 --- a/res/charger/battery_fail.png +++ /dev/null diff --git a/rootdir/lpm.rc b/rootdir/lpm.rc index 7e5d382..5f4bb14 100644 --- a/rootdir/lpm.rc +++ b/rootdir/lpm.rc @@ -23,7 +23,7 @@ on init #mount /tmp /tmp tmpfs on early-fs - insmod /lib/modules/vibrator.ko +# insmod /lib/modules/vibrator.ko mount ext4 /dev/block/mmcblk0p9 /system ro wait noatime @@ -50,19 +50,21 @@ on boot service debuggerd /system/bin/debuggerd - service ueventd /sbin/ueventd +service ueventd /sbin/ueventd critical #service console /bin/sh service console /system/bin/sh console + +service playlpm /system/bin/playlpm + user root service immvibed /system/bin/immvibed oneshot - -service charger /charger - class default - user root + +service lpmkey /system/bin/lpmkey + user root # adbd is controlled by the persist.service.adb.enable system property service adbd /sbin/adbd |