Skip to content

Commit

Permalink
smba1002: sleep hack
Browse files Browse the repository at this point in the history
For some reason with 4.2.1 android and AVP are not playing nice. On boot of the tablet AVP is initialized but it does not shut down properly. This causes the tablet to wake immediately after entering LP1. On boot of the tablet a 1sec video is played causing AVP to start up and shut down properly. After this has happened sleep works normally.
  • Loading branch information
fosser2 committed Feb 6, 2013
1 parent f1505f0 commit 571e2a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions device-smba1002.mk
Expand Up @@ -41,6 +41,8 @@ PRODUCT_COPY_FILES += \
device/malata/smba1002/prebuilt/vold.fstab:system/etc/vold.fstab \
device/malata/smba1002/prebuilt/ramdisk/fstab.harmony:root/fstab.harmony \
device/malata/smba1002/prebuilt/03sysctl:system/etc/init.d/03sysctl \
device/malata/smba1002/prebuilt/test.mp4:system/etc/test.mp4 \
device/malata/smba1002/prebuilt/99avp_hack:system/etc/init.d/99avp_hack \
device/malata/smba1002/prebuilt/ntfs-3g:system/xbin/ntfs-3g

# Harmony Hardware
Expand Down
2 changes: 2 additions & 0 deletions prebuilt/99avp_hack
@@ -0,0 +1,2 @@
#!/system/bin/sh
stagefright /etc/test.mp4
Binary file added prebuilt/test.mp4
Binary file not shown.

0 comments on commit 571e2a0

Please sign in to comment.