[Galaxy S III Android Development] MattBooth:
Reboot button crash:

E/AndroidRuntime( 3923): FATAL EXCEPTION: main

E/AndroidRuntime( 3923): java.lang.SecurityException: Neither user 10064 nor current process has android.permission.REBOOT.

E/AndroidRuntime( 3923):	at android.os.Parcel.readException(Parcel.java:1425)

E/AndroidRuntime( 3923):	at android.os.Parcel.readException(Parcel.java:1379)

E/AndroidRuntime( 3923):	at android.os.IPowerManager$Stub$Proxy.reboot(IPowerManager.java:624)

E/AndroidRuntime( 3923):	at android.os.PowerManager.reboot(PowerManager.java:594)

E/AndroidRuntime( 3923):	at com.wanam.systemui.quickpanel.RebootButton$2.onClick(RebootButton.java:56)

E/AndroidRuntime( 3923):	at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)

E/AndroidRuntime( 3923):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 3923):	at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 3923):	at android.app.ActivityThread.main(ActivityThread.java:4898)

E/AndroidRuntime( 3923):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 3923):	at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime( 3923):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)

E/AndroidRuntime( 3923):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)

E/AndroidRuntime( 3923):	at dalvik.system.NativeStart.main(Native Method)

Flash light crash:

E/AndroidRuntime( 3922): FATAL EXCEPTION: main

E/AndroidRuntime( 3922): java.lang.RuntimeException: Fail to connect to camera service

E/AndroidRuntime( 3922):	at android.hardware.Camera.native_setup(Native Method)

E/AndroidRuntime( 3922):	at android.hardware.Camera.<init>(Camera.java:348)

E/AndroidRuntime( 3922):	at android.hardware.Camera.open(Camera.java:325)

E/AndroidRuntime( 3922):	at com.wanam.util.LedController.openCamera(LedController.java)

E/AndroidRuntime( 3922):	at com.wanam.util.LedController.isFlashSupported(LedController.java)

E/AndroidRuntime( 3922):	at com.wanam.systemui.quickpanel.FlashlightButton.toggleState(FlashlightButton.java)

E/AndroidRuntime( 3922):	at com.wanam.systemui.quickpanel.PowerButton$2.onClick(PowerButton.java:181)

E/AndroidRuntime( 3922):	at android.view.View.performClick(View.java:4211)

E/AndroidRuntime( 3922):	at android.view.View$PerformClick.run(View.java:17267)

E/AndroidRuntime( 3922):	at android.os.Handler.handleCallback(Handler.java:615)

E/AndroidRuntime( 3922):	at android.os.Handler.dispatchMessage(Handler.java:92)

E/AndroidRuntime( 3922):	at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 3922):	at android.app.ActivityThread.main(ActivityThread.java:4898)

E/AndroidRuntime( 3922):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 3922):	at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime( 3922):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)

E/AndroidRuntime( 3922):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)

E/AndroidRuntime( 3922):	at dalvik.system.NativeStart.main(Native Method)

E/android.os.Debug( 2536): !@Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error

Seems some stuff is broken for XXEMR2