On 2013年03月17日 23:23, Marco Chen wrote:
Hi,

Another way is to use "dd" command in adb shell,
but you need to check your image
   a. doesn't larger then system partition size.
   b. doesn't a sparse image.

1. Boot into Android.
2. adb shell
3. mount (find out your system is mounted in which partition. Ex: mmcblk0p20 or 
mtdblock5)
4. adb push system.img /sdcard
5. dd if=/sdcard/system.img of=/dev/block/XXX (depend on step 3).

Done.
Sincerely yours.

----- Original Message -----
From: "lap song" <[email protected]>
To: [email protected]
Sent: 2013年3月17日 星期日 10:19:51
Subject: [b2g] about “image too large”

hey guys,

i want to ask why my device already be rooted, but still can't not flash.
i want to know how can i solve this problem.

sincerely yours
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
Hi,

i want to know how can i make the "system.img" be smaller.

because my system partition size is only 300Mb, and the "system.img" is about 90Mb.

i think it can't be flashed in it, and if i had done what Dave had said to removed some unnecessary dictionaries from

gaia/apps/keyboard/js/imes/js*
and gaia/apps/keyboard/js/imes/latin/dictionaries

it just make the "userdata.img" be smaller. but nothing change with "system.img"
Also, i found that the VARIANT=user.

_so how can i to make the "system.img" be small, i have already re-build it._

_also, is it the same way to packagethe rom like android?_ please give me more details message, i will so glad with it.

Sincerely yours.

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to