Hi Vladimir, I just tried /system/dd.... where "dd" is defined in init.rc file but didn't work :-( Am i missing something here? Thank you for your help!!!
On Thu, Jan 12, 2012 at 8:39 AM, Vladimir Murzin <[email protected]> wrote: > ** > Hi! > I meant something like "/bin/dd" instead of "dd". It seems $PATH has not > defined yet, so just "dd" can't be located properly. > I'm sorry if I was unclear. > Best wishes, > Vladimir Murzin > ------------------------------ > *From: * Jason Shim <[email protected]> > *Sender: * [email protected] > *Date: *Thu, 12 Jan 2012 08:16:23 -0800 > *To: *<[email protected]> > *ReplyTo: * [email protected] > *Subject: *Re: [android-kernel] copy data in emmc partition to > data/dontpanic directory > > Hi Vladimir, > > Yes I have tried in init.rc file under rootdir, but didn't work...I used > > dd if=/dev/block/mmc1 of=/data/dontpanic/a.bin skip=2048 count=40960 > > Is "dd" command supposed to work in init.rc file? > > thank you a lot > > On Wed, Jan 11, 2012 at 6:26 PM, Vladimir Murzin <[email protected]>wrote: > >> Hi! >> Have you tried using full path to "dd" command? >> Best wishes, >> Vladimir Murzin >> >> -----Original Message----- >> From: ngujason <[email protected]> >> Sender: [email protected] >> Date: Wed, 11 Jan 2012 18:19:39 >> To: Android Linux Kernel Development<[email protected]> >> Reply-To: [email protected] >> Subject: [android-kernel] copy data in emmc partition to data/dontpanic >> directory >> >> Hi, >> >> I am looking for a way to save data in emmc partition into /data/ >> dontpanic directory after reset. >> I tried using "dd if=...." command in init.rc file, but it didn't copy >> contents to data/dontpanic directory. >> is there anyway to do so in one of the init*.rc file? Does "dd" >> command work in init.rc file? >> >> Thank you >> >> -- >> unsubscribe: [email protected] >> website: http://groups.google.com/group/android-kernel >> >> -- >> unsubscribe: [email protected] >> website: http://groups.google.com/group/android-kernel >> > > > > -- > Jason Shim > Software Engineer, Motorola, Inc > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel > -- Jason Shim Software Engineer, Motorola, Inc -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
