Dianne Hackborn hack...@android.com编写:
Sorry, applications can't do this.
On Mon, Jul 27, 2009 at 3:32 PM, Francesco Pace paxa...@gmail.com wrote:
Sorry Dianne, so it's impossibile execute dump of (total) internal
memory...
Doesn't exist some methods?
2009/7/27 Dianne Hackborn
Ok, thanks of all Dianne...
2009/7/28 Dianne Hackborn hack...@android.com
Sorry, applications can't do this.
On Mon, Jul 27, 2009 at 3:32 PM, Francesco Pace paxa...@gmail.com wrote:
Sorry Dianne, so it's impossibile execute dump of (total) internal
memory...
Doesn't exist some methods?
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 roman.baumgaert...@t-mobile.com
You can find dd within the busybox tool kit for Android.
http://benno.id.au/blog/2007/11/14/android-busybox
--
Roman
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,
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 roman.baumgaert...@t-mobile.com
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 paxa...@gmail.com wrote:
Thanks
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
To run busybox, you have to run it as root or at least you have to be
able to change the permissions that you can execute the command as a
normal user.
What you could do is to include the busybox in your Android build. You
should be able to set the permissions for busybox somewhere in a
startup
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 paxa...@gmail.com wrote:
I push file
Sorry Dianne, so it's impossibile execute dump of (total) internal memory...
Doesn't exist some methods?
2009/7/27 Dianne Hackborn hack...@android.com
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,
Sorry, applications can't do this.
On Mon, Jul 27, 2009 at 3:32 PM, Francesco Pace paxa...@gmail.com wrote:
Sorry Dianne, so it's impossibile execute dump of (total) internal
memory...
Doesn't exist some methods?
2009/7/27 Dianne Hackborn hack...@android.com
You can't do this,
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 sche...@googlemail.com
i'm interested in that, too!
On Jul 25, 2:06
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 paxa...@gmail.com wrote:
I don't know methods for implementing this schema. I also think that there
Date: Sat, 25 Jul 2009 06:49:39 -0700
Subject: [android-developers] Re: DD command
From: sche...@googlemail.com
To: android-developers@googlegroups.com
i'm interested in that, too!
On Jul 25, 2:06 pm, Francesco Pace paxa...@gmail.com wrote:
Hi guys,
it's possible execute DD
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
i'm interested in that, too!
On Jul 25, 2:06 pm, Francesco Pace paxa...@gmail.com 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.
16 matches
Mail list logo