1. adb remount
2. adb shell
3. rm system/app/gallery3d.apk,退出shell
4. adb pull data/system/packages.xml
5. 打开packages.xml,在文件中找到<package name="com.android.gallery3d" ......,把这个package信息删除,保存该文件
6. adb push packages.xml /data/system
转载于:https://www.cnblogs.com/jisheng/archive/2011/11/28/2265915.html