Ubuntu系统将TaintDroid刷到Android4.3模拟器中并测试其功能
2014-04-22 14:36
447 查看
由于工作需要 TaintDroid 自己就编译了一下 介绍一下少走一些弯路吧!
http://appanalysis.org/tdro1d.html 前面的配置环境编译都按照官方的文档进行
注意的几点是 :
1.下载源代码的时候
完成这步后给
然后 repo sync
加快下载源代码的速度 自己可以写个脚本下载,防止下载中断
2.按照官网,一直执行完Step4 由于是要运行在模拟中 然后直接执行Step7
3.在完成上面操作后
中执行
启动模拟器 按官方的完成是没有sdcard.img的 直接网上搜索模拟器使用sdcard就行 http://blog.sina.com.cn/s/blog_66afc67b0100pu6j.html 把sdcard.img拷贝到上面命令使用的文件中就可以了
4.当模拟器启动完成后 启动TaintDroidNotify程序 安装360手机助手 就可以看到结果了
http://appanalysis.org/tdro1d.html 前面的配置环境编译都按照官方的文档进行
注意的几点是 :
1.下载源代码的时候
% repo init -u https://android.googlesource.com/platform/manifest -b android-4.3_r1
完成这步后给
~/tdroid/tdroid-4.3_r1/.repo/mainfest.xml 中更改 fetch=https://android.googlesource.com/"
然后 repo sync
加快下载源代码的速度 自己可以写个脚本下载,防止下载中断
2.按照官网,一直执行完Step4 由于是要运行在模拟中 然后直接执行Step7
3.在完成上面操作后
% cd ~
中执行
% emulator -kernel kernel-goldfish-xattr-2.6.29 -sysdir ~/tdroid/tdroid-4.3_r1/out/target/product/generic/ -system system.img -data userdata.img -ramdisk ~/tdroid/tdroid-4.3_r1/out/target/product/generic/ramdisk.img -sdcard ~/tdroid/tdroid-4.3_r1/out/target/product/generic/sdcard.img -skindir /home/rootkey/java/adt-bundle-linux-x86_64-20140321/sdk/platforms/android-19/skins -skin WVGA800 -scale 0.7 -memory 2048 -partition-size 1024
启动模拟器 按官方的完成是没有sdcard.img的 直接网上搜索模拟器使用sdcard就行 http://blog.sina.com.cn/s/blog_66afc67b0100pu6j.html 把sdcard.img拷贝到上面命令使用的文件中就可以了
4.当模拟器启动完成后 启动TaintDroidNotify程序 安装360手机助手 就可以看到结果了
相关文章推荐
- Ubuntu 默认壁纸历代记
- 关于Ubuntu 11.10启动提示waiting for the network configuration的问题
- 在 Ubuntu 桌面中使用文件和文件夹
- android 代码实现控件之间的间距
- android FragmentPagerAdapter的“标准”配置
- Android"解决"onTouch和onClick的冲突问题
- android:installLocation简析
- 解決Linux下Android开发真机调试设备不被识别问题
- ubuntu下chrome无法同步问题解决
- Ubuntu Linux使用体验
- [Android]在代码里运行另一个程序的方法
- 使用 GNOME 优化工具自定义 Linux 桌面的 10 种方法
- 以Ubuntu 9.04为例 将工作环境迁移到 Linux
- Android多窗口的实现
- VirtualBox虚拟机XP与宿主机Ubuntu互访共享文件夹
- 从USB安装Ubuntu Server 10.04.3 图文详解
- Linux-Ubuntu 10.04安装Cadence-ic610 方法总结图解
- Ubuntu 12.04和Windows 7双系统安装图解
- 你应该选择 Ubuntu 还是 Fedora?
- 100 个最佳 Ubuntu 应用(中)