复制系统文件没有shell cp命令

时间:2014-05-06 17:34:45

标签: android shell root cp

我需要读取第三方数据库文件,到目前为止我使用shell su cp将文件复制到SD卡,将文件复制到SD卡并使用SQLiteDatabase从那里读取

但是在android 4.1.2上我收到一条消息说cp命令丢失,/ system / bin没有该文件。

我如何阅读第3个patry应用程序db?

我不想使用忙碌的盒子,它会驱使很多用户离开

我有这些命令: adb,am,app_process,applypatch,atrace,bcm4334.hcd,bcm4334_murata.hcd,bcm4334_semco.hcd,bcm_dut,bintvoutservice,bluetoothd,bmgr,bootanimation,brcm_patchram_plus,brcm_poke_helper,bu,bugreport,cat,chmod,chown,cmp,connfwexe, content,dalvikvm,date,dbus-daemon,dd,ddexe,ddexe_real,debuggerd,dexopt,df,dhcpcd,dmesg,dnsmasq,drmserver,dttexe,dumpstate,dumpsys,e2fsck,fsck.exfat,fsck_msdos,gbias,getevent,getprop, gps.cer,gpsd,gzip,hciattach,hd,hostapd,icd,id,ifconfig,iftop,ime,immvibed,input,insmod,installd,insthk,ioctl,ionice,ip,ip6tables,iptables,keystore,kiesexe,kill, linker,ln,log,logcat,logwrapper,lpmkey,ls,lsmod,lsof,macloader,make_ext4fs,mcDriverDaemon,md5,mdnsd,mediaserver,mfgloader,mkdir,mkfs.exfat,mksh,monkey,mount,mtpd,mv,nandread, ndc,netcfg,netd,netstat,newfs_msdos,notify,npsmobex,p2p_supplicant,pand,ping,playback,playlpm,pm,pppd,printenv,ps,racoon,reboot,renice,requestsync,rild, rm,rmdir,rmmod,route,run-as,samsungani,samsungpowersoundplay,schedtest,schedtop,scranton_RD,screencap,screenshot,sdcard,sdptool,sendevent,sensorservice,service,servicemanager,setconsole,setprop,setup_fs,sh,sleep,smd, smdexe,start,stop,surfaceflinger,svc,sync,system_server,tc,toolbox,top,touch,touchinput,uiautomator,umount,uptime,vdc,vmstat,vold,watchprops,wipe,wlandutservice,wpa_supplicant

谢谢

1 个答案:

答案 0 :(得分:3)

试试这个

cat infile > outfile

或者

dd if=infile of=outfile