i want debug a game on Samsung GT-N7100 Galaxy Note II (gpu is Mali 400).
Mali Graphics Debugger version is 1.2.2.5b0519ce.
i run the Installation Instructions
adb shell su -c mount -o remount /system
adb push libGLES_mgd.so /sdcard/
adb push mgddaemon /sdcard/
adb shell
# The following commands run on the target
su
cd /sdcard/
cp mgddaemon /system/bin/mgddaemon
chmod 777 /system/bin/mgddaemon
cp libGLES_mgd.so /system/lib/egl/libGLES_mgd.so
chmod 777 /system/lib/egl/libGLES_mgd.so
cp /system/lib/egl/egl.cfg /system/lib/egl/egl.cfg.bak
echo "0 0 mgd" > /system/lib/egl/egl.cfg
but i found every application will crash.
if i revert the egl.cfg file,
cp /system/lib/egl/egl.cfg.bak /system/lib/egl/egl.cfg
every thing will be ok.
do i need some other config?
Could anyone help me on this problem?
Thank you in advance!