[Android Software/Hacking General [Developers Only]] anryl:
SD CARD ERROR log

19:10:27.829 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:27.841 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:29.060 Warning MountService 1363 Duplicate state transition (unmounted -> unmounted)
19:10:29.124 Warning ApplicationContext 1363 Unable to create files directory
19:10:30.336 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:30.343 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:31.214 Warning logwrapper 2402 Unable to background process (No such file or directory)
19:10:35.641 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.642 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.642 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.642 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.642 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.642 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.643 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.643 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.643 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.643 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.644 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.644 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.644 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.644 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.645 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.645 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.645 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.645 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.645 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.645 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.646 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.646 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.646 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.646 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.647 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.647 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.647 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.647 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.648 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.648 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.648 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.648 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.649 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.649 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.649 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.650 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.650 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.650 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.650 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.650 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.650 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.651 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.651 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.651 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.651 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.651 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.652 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.652 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.652 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.655 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.656 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.656 Warning KeyCharacterMap 2104 No keyboard for id 0
19:10:35.656 Warning KeyCharacterMap 2104 Using default keymap: /system/usr/keychars/qwerty.kcm.bin
19:10:35.656 Warning InputManagerService 1363 Got RemoteException sending setActive(false) notification to pid 2104 uid 10059
19:10:35.656 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.657 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.657 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.657 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.657 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.657 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.657 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.658 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.658 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.658 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.658 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.658 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.658 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.659 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.659 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.659 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.659 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.659 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.659 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.722 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.722 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.722 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.722 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.723 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.723 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.723 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.723 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.723 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.724 Warning MountService 1363 Duplicate state transition (unmounted -> unmounted)
19:10:35.724 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.724 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.725 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.725 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.725 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.725 Warning logwrapper 2293 Unable to background process (No such file or directory)
19:10:35.726 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.726 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.726 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.726 Warning PackageManager 1363 Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
19:10:35.726 Warning PackageManager 1363 Unknown permission com.google.android.apps.googlevoice.permission.AUTO_SEND in package com.google.android.voicesearch
19:10:35.726 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.727 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.727 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.727 Warning PackageManager 1363 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45)
19:10:35.727 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.727 Warning PackageManager 1363 Unknown permission android.permission.LOCATION in package com.navigon.navigator_select
19:10:35.727 Warning PackageManager 1363 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.vending (protectionLevel=2 flags=0x2be85)
19:10:35.727 Warning PackageManager 1363 Unknown permission android.permission.SEND in package com.android.vending
19:10:35.727 Warning PackageManager 1363 Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0xbe45)
19:10:35.727 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.728 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.728 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.728 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.728 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.732 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.733 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.733 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.733 Warning MountService 1363 Duplicate state transition (unmounted -> unmounted)
19:10:35.734 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.734 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.734 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.734 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.734 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.736 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.736 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.736 Warning InputManagerService 1363 Window already focused, ignoring focus gain of: android.view.inputmethod.InputMethodManager$1@436e7630
19:10:35.736 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.737 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.737 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.737 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.738 Warning logwrapper 2335 Unable to background process (No such file or directory)
19:10:35.738 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.738 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.816 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.816 Warning PackageManager 1363 Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
19:10:35.816 Warning PackageManager 1363 Unknown permission com.google.android.apps.googlevoice.permission.AUTO_SEND in package com.google.android.voicesearch
19:10:35.817 Warning PackageManager 1363 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45)
19:10:35.817 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.817 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.817 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.817 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.817 Warning PackageManager 1363 Unknown permission android.permission.LOCATION in package com.navigon.navigator_select
19:10:35.817 Warning PackageManager 1363 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.vending (protectionLevel=2 flags=0x2be85)
19:10:35.817 Warning PackageManager 1363 Unknown permission android.permission.SEND in package com.android.vending
19:10:35.817 Warning PackageManager 1363 Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0xbe45)
19:10:35.817 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.818 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.818 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.818 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.819 Warning MountService 1363 Duplicate state transition (unmounted -> unmounted)
19:10:35.819 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.819 Warning logwrapper 2364 Unable to background process (No such file or directory)
19:10:35.819 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.820 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.820 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.820 Warning PackageManager 1363 Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
19:10:35.820 Warning PackageManager 1363 Unknown permission com.google.android.apps.googlevoice.permission.AUTO_SEND in package com.google.android.voicesearch
19:10:35.820 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.820 Warning PackageManager 1363 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45)
19:10:35.821 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.821 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.821 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.821 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.821 Warning PackageManager 1363 Unknown permission android.permission.LOCATION in package com.navigon.navigator_select
19:10:35.821 Warning PackageManager 1363 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.vending (protectionLevel=2 flags=0x2be85)
19:10:35.821 Warning PackageManager 1363 Unknown permission android.permission.SEND in package com.android.vending
19:10:35.821 Warning PackageManager 1363 Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0xbe45)
19:10:35.821 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.821 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.821 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.822 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.822 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.822 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.822 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.823 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.824 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.824 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.824 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.824 Warning InputManagerService 1363 Window already focused, ignoring focus gain of: android.view.inputmethod.InputMethodManager$1@436e7630
19:10:35.824 Error copybit 1363 copyBits failed (Invalid argument)
19:10:35.825 Error libagl 1363 copybit failed (Unknown error: -22)
19:10:35.825 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.825 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.825 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.826 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.826 Warning MountService 1363 Duplicate state transition (unmounted -> unmounted)
19:10:35.826 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.826 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.827 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:35.827 Warning logwrapper 2402 Unable to background process (No such file or directory)
19:10:35.827 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.827 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.828 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.828 Warning PackageManager 1363 Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
19:10:35.828 Warning PackageManager 1363 Unknown permission com.google.android.apps.googlevoice.permission.AUTO_SEND in package com.google.android.voicesearch
19:10:35.828 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.828 Warning PackageManager 1363 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45)
19:10:35.828 Warning PackageManager 1363 Unknown permission android.permission.LOCATION in package com.navigon.navigator_select
19:10:35.828 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.829 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.829 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.829 Warning PackageManager 1363 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.vending (protectionLevel=2 flags=0x2be85)
19:10:35.829 Warning PackageManager 1363 Unknown permission android.permission.SEND in package com.android.vending
19:10:35.829 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.829 Warning PackageManager 1363 Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0xbe45)
19:10:35.829 Warning Vold 1272 Ignoring unknown switch 'msm_hsusb_peripheral'
19:10:35.829 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.829 Warning ApplicationContext 1363 Unable to create files directory
19:10:35.829 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:35.830 Error libagl 1363 copybit failed (Unknown error: -1)
19:10:46.774 Error copybit 1363 copyBits failed (Operation not permitted)
19:10:46.804 Error libagl 1363 copybit failed (Unknown error: -1)

init.qcom.rc

# Permission for ril
chown radio /dev/oncrpc
chown radio system /dev/oncrpc/*
chown radio /dev/smd*
chown radio /dev/akm*
chown radio /dev/accel
mkdir /data/local
chmod 0777 /data/local
chown radio shell /data/local
mkdir /data/local/tmp
chmod 0777 /data/local/tmp
chown radio shell /data/local/tmp

#START HUAWEI COMPASS SERVICE
service akmd /system/bin/akmd2
disabled
oneshot
compass/accelerometer daemon
#service akmd /system/bin/akmd2
# user compass
# group compass misc input

sensor working