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
