Yeah if you need root permissions is an interesting question. But if you don't have root permmissions you can't copy things to sd-card, right? So where do you copy the file(s) then? By usb-connection or wireless?
On Mon, Jul 27, 2009 at 8:27 PM, Francesco Pace <[email protected]> wrote: > Thanks Roman, > but, when I install busybox, Can I execute DD command? > Example : > > Runtime rt = Runtime.getRuntime(); > Process pr = rt.exec("busybox dd if=..... of=....."); > > With busybox, Can I execute dd command athought I don't have Root > permissions? > > > 2009/7/27 Roman <[email protected]> > > >> Francesco, >> >> You could first make sure to install dd on your system and then you >> always can execute command line tools >> >> Runtime rt = Runtime.getRuntime(); >> Process pr = rt.exec("busybox <put in what you want to do>"); >> >> -- >> Roman Baumgaertner >> Sr. SW Engineer-OSDC >> ·T· · ·Mobile· stick together >> The views, opinions and statements in this email are those of the >> author solely in their individual capacity, and do not necessarily >> represent those of T-Mobile USA, Inc. >> >> On Jul 27, 1:29 am, Francesco Pace <[email protected]> wrote: >> > Thanks Roman, but I have to execute DD command with my java application, >> Can >> > I execute DD (with busybox) from java? >> > >> > 2009/7/27 Roman <[email protected]> >> > >> > >> > >> > > You can find dd within the busybox tool kit for Android. >> > >> > >http://benno.id.au/blog/2007/11/14/android-busybox >> > >> > > -- >> > > Roman Baumgaertner >> > > Sr. SW Engineer-OSDC >> > > ·T· · ·Mobile· stick together >> > > The views, opinions and statements in this email are those of the >> > > author solely in their individual capacity, and do not necessarily >> > > represent those of T-Mobile USA, Inc. >> > >> > > On Jul 26, 6:18 am, Unrealshade <[email protected]> wrote: >> > > > nah, sorry, don't know anything about this topic... i just hope i >> find >> > > > dd for android. if i do i will write here how i did it, of course. >> > > > best luck to you! =) >> > >> > > > On Jul 26, 12:04 pm, Francesco Pace <[email protected]> wrote: >> > >> > > > > I don't know methods for implementing this schema. I also think >> that >> > > there >> > > > > are even ways to make a logical copy of the FS. >> > > > > You know if can I perform a CHMOD on directories with Android NDK? >> > >> > > > > Thanks :) >> > >> > > > > 2009/7/25 Unrealshade <[email protected]> >> > >> > > > > > i'm interested in that, too! >> > >> > > > > > On Jul 25, 2:06 pm, Francesco Pace <[email protected]> wrote: >> > > > > > > Hi guys, >> > > > > > > it's possible execute DD command from my java application? >> > > > > > > I need to "copy" internal flash memory in a sdcard. >> > > > > > > Can anyone help me? >> > >> > > > > > > PS.Sorry for my poor english. >> > >> > >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

