/opt/mydroid/out/host/linux-x86/bin/mkyaffs2image -f /opt/mydroid/out/target/product/dream-open/system /opt/mydroid/out/target/product/dream-open/system.img

/opt/mydroid/out/host/linux-x86/bin/mkyaffs2image -f /opt/mydroid/out/target/product/generic/system /opt/mydroid/out/target/product/generic/system.img

framework special case(bug)

Browser:

下列部分去掉插code
base/core/java/android/provider/Settings.java
base/core/java/android/database/DataSetObserver.java  acore會crash

frameworks/base/core/java/android/app/ActivityManagerNative.java 1450
	->android.app.ActivityManagerProxy
frameworks/base/core/java/android/content/ContentProviderNative.java 260
	->android.content.ContentProviderProxy
frameworks/base/core/java/android/os/ServiceManagerNative.java 136
	->android.os.ServiceManagerProxy

Music:
/content/ContentResolver.java:251
frameworks/base/media/java/android/media/RingtoneManager.java 62
frameworks/base/core/java/android/os/Looper.java:145: unreachable statement
frameworks/base/core/java/android/os/MessageQueue.java:171:
frameworks/base/media/java/android/media/MediaPlayer.java:649:

frameworks/base/tools/layoutlib/bridge/src/android/graphics/Bitmap.java:116
frameworks/base/tools/layoutlib/bridge/src/android/graphics/Canvas.java:411

Webview
Canvas
Paint

--------------------------

ctags.exe --java-kinds=-fegil --languages=java -x -R * > tags

Code format in Jindent:
1. close sorting & line wrapping
2. delete comment 
3. Left brace to the next line 

---------------------------------------
JNIEXPORT void JNICALL Java_com_demo_android_test_Test_closelib(JNIEnv *env, jobject obj) 
{
	closeProbeSys();
	LOGI("JNI_Close");
}

---------------------------------------
static public native void closelib();
--onPause呼叫this.finish(), 將closelib放於onDestroy()
