Created
August 18, 2017 08:39
-
-
Save murano500k/5cb3c5622c81ac85024abfb6b935b785 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Following parameter has to be added to kernel if you need to enable Android KLOG. | |
printk.devkmsg=on | |
Enable OMX full logs: | |
stop media | |
setprop debug.omxr.mc 0x33333300 | |
setprop debug.omxr.adapter 0xffffffff | |
start media | |
or | |
adb root && adb shell stop media && adb shell setprop debug.omxr.mc 0x33333300 && adb shell setprop debug.omxr.adapter 0xffffffff && adb shell start media | |
Increase verbosity of camera stack | |
dumpsys media.camera -v 2 | |
Build local project and know what will product of build | |
mm -j3 -B 2> /dev/null | grep Install | |
setprop media.stagefright.use-awesome true | |
FD leakage test | |
cat /proc/sys/fs/file-nr | |
Set resolution for Display | |
example: video=HDMI-A-1:1920x1080-32@60 | |
HDMI-A-1 - display type (can be HDMI-A-2, VGA-1, LVDS-1) | |
1920x1080 - resolution (should be presented in EDID) | |
-32 - bit per pixel (always use 32) | |
@60 - frame rate | |
Overcoming JACK | |
http://stackoverflow.com/questions/34940793/increasing-heap-size-while-building-the-android-source-code-on-ubuntu-15-10 | |
for i in $(find -name \*); do strings ${i} 2> /dev/null | grep -q __cfi_slowpath_diag && echo ${i}; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment