-
Notifications
You must be signed in to change notification settings - Fork 67
Home
peyo-hd edited this page Jan 4, 2016
·
35 revisions
Screen resolution : 1280x720 : Any monitor/TV which support this resolution could be connected.
Keymap with generic PC keyboard
- F1 : Home
- F2 : Back
- F3 : Menu
- F11 : Volume Down
- F12 : Volume Up
ADB connection
- Boot the android image with ethernet connected.
- Check IP address of the board at Settings->About->Status
- At host do 'adb connect '
Apply following patch under frameworks/base, to avoid logcat flood by mouse event.
core/java/android/view/GestureDetector.java
@@ line 490 @@ public class GestureDetector {
public boolean onTouchEvent(MotionEvent ev) {
+ switch(ev.getAction() & MotionEvent.ACTION_MASK) {
+ case MotionEvent.ACTION_HOVER_MOVE:
+ case MotionEvent.ACTION_HOVER_ENTER:
+ case MotionEvent.ACTION_HOVER_EXIT:
+ case MotionEvent.ACTION_BUTTON_PRESS:
+ case MotionEvent.ACTION_BUTTON_RELEASE:
+ case MotionEvent.ACTION_SCROLL:
+ return false;
+ }
if (mInputEventConsistencyVerifier != null) {
On eng build, Strict mode behavior - flash screen when apps do long operations on main thread - is enabled by default. We can avoid it by applying following patch under frameworks/base. This option could be turned on via Settings -> Developer options -> Strict mode enabled.
core/java/android/os/StrictMode.java
@@ line 1068 @@ public final class StrictMode {
if (IS_ENG_BUILD) {
- doFlashes = true;
}
HW video decoder is not ready yet. SW mode could be used by applying following patch under frameworks/av - with limited size & performance.
media/libstagefright/colorconversion/SoftwareRenderer.cpp
@@ line 113 @@ void SoftwareRenderer::resetFormatIfChanged(const sp<AMessage> &format) {
case OMX_TI_COLOR_FormatYUV420PackedSemiPlanar:
{
- halFormat = HAL_PIXEL_FORMAT_YV12;
- bufWidth = (mCropWidth + 1) & ~1;
- bufHeight = (mCropHeight + 1) & ~1;
break;
}