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 <
[email protected]> 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: [email protected]
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to