Hi

      The command working fine with little moderation
   
      *# busybox dd bs=4k if=/dev/mtd/mtd4 of=/sdcard/boot.img conv=sync*
*
*
      but the boot.img still showing the error as its a not boot image, 
where the problem happened 
      Is there any other procedure to edit init.rc* *

On Thursday, November 29, 2012 11:15:12 AM UTC+5:30, chainz wrote:
>
> Hello 
>    Thanks for your reply.
>    I tried your idea, but its showing error as " *conv option disabled " *how 
> to enable the conv option or is there any other way.?
>
> On Thursday, November 29, 2012 9:56:47 AM UTC+5:30, m-ric wrote:
>>
>> try:
>> # dd if=/dev/mtd/mtd4 of=/sdcard/boot.img conv=sync
>> (or)
>> # dd bs=4k if=/dev/mtd/mtd4 of=/sdcard/boot.img conv=sync
>> http://en.wikipedia.org/wiki/Dd_(Unix)#Data_transfer
>>
>> NB: watch out with long "dd", because "dd" is uninterruptible (ctrl+c). 
>> Processes currently doing IO are not kill'able.
>>
>> http://stackoverflow.com/questions/767551/how-to-stop-uninterruptible-process-on-linux
>> To check its progress: 
>> http://enhancedlinux.com/2010/07/11/check-the-status-of-dd-command/
>>
>> Emeric
>>
>>
>> On Wed, Nov 28, 2012 at 10:08 AM, Jeremy Morales <ajaxx...@gmail.com>wrote:
>>
>>> In order to edit the init.rc script you need to first dump the image, as 
>>> Jonathan Clavin already said to do.
>>> Once you dump it, you will then be able to unpack it, edit the init.rc 
>>> script, and then be able to repack it.
>>>
>>>
>>>
>>> On Wed, Nov 28, 2012 at 4:47 AM, chainz 
>>> <sangilikuma...@marudham.co.in>wrote:
>>>
>>>> Hello Jonathan Clavin
>>>>
>>>>                Some hardware problem in that tablet so its not booting. 
>>>> But i have another tablet. Here i've mentioned the details of this tablet
>>>>
>>>> dev:    size   erasesize  name
>>>> mtd0: 00800000 00200000 "bootloader"
>>>> mtd1: 00800000 00400000 "logo"
>>>> mtd2: 00800000 00400000 "aml_logo"
>>>> mtd3: 00800000 00400000 "recovery"
>>>> mtd4: 00800000 00400000 "boot"
>>>> mtd5: 20000000 00400000 "system"
>>>> mtd6: 08000000 00400000 "factory"
>>>> mtd7: 08000000 00400000 "cache"
>>>> mtd8: 69000000 00400000 "userdata"
>>>> mtd9: 164000000 00400000 "NFTL_Part"
>>>>
>>>> Mainly i need to edit the init.rc so i tried to get boot image from 
>>>> tablet by *cat /dev/mtd/mtd4 > /sdcard/boot.img*
>>>> *
>>>> *
>>>> While i trying to unpack the image by script (unmkbootimg/ 
>>>> unpack-bootimg.pl/ split_bootimg.pl) its stuck and showing the error 
>>>> as its invalid boot image. so i tried in all partitions but no use.
>>>>
>>>> Whats the way to edit my init.rc, kindly give me solution to edit my 
>>>> init.rc
>>>>
>>>>
>>>>
>>>> On Thursday, November 22, 2012 8:44:27 AM UTC+5:30, Jonathan Clavin 
>>>> wrote:
>>>>>
>>>>> You have to "dd if, of" the block and try splitting it with a boot.img 
>>>>> split tool. My guess would be either 3 or 4.
>>>>
>>>>  -- 
>>>> unsubscribe: android-kerne...@googlegroups.com
>>>> website: http://groups.google.com/group/android-kernel
>>>
>>>
>>>  -- 
>>> unsubscribe: android-kerne...@googlegroups.com
>>> website: http://groups.google.com/group/android-kernel
>>>
>>
>>

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to