Sorry Dianne, so it's impossibile execute dump of (total) internal memory...
Doesn't exist some methods? 2009/7/27 Dianne Hackborn <[email protected]> > You can't do this, applications don't have access to all of /data. Heck, > the system doesn't even have access to it. Only root can do that, and very > very few things (certainly not applications) run as root. > > > On Mon, Jul 27, 2009 at 12:37 PM, Francesco Pace <[email protected]>wrote: > >> I push file in my sdcard with my computer. >> In my project I need to copy total internal memory (with physical copy >> with command DD or Logical with Open-Read-Write API) from java application >> directly, I haven't to use adb. >> With Logical copy is impossibile because /data directory has this >> permission : drwxrwx-wx. >> With Physical copy I have to use busybox. >> Can you help me? >> >> Sorry for my english >> >> 2009/7/27 Lexi Kern <[email protected]> >> >> 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. >>>>> > >>>>> > >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

