adb remount && adb shell stop && adb sync system && adb shell start

On Wed, Mar 17, 2010 at 4:43 PM, Tomei <[email protected]> wrote:

> Hi,
>
> I found that this works to some extent. It will save a few minutes for
> rebuilding the system image and rebooting the emulator:
>
> adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
> adb push out/target/product/generic/system/framework/framework.jar /
> data
> adb shell rm /system/framework/framework.jar
> adb shell rm /data/dalvik-cache/
> sys...@framework@[email protected]
> adb shell ln -s  /data/framework.jar /system/framework/framework.jar
> adb shell kill `adb shell ps | grep system_server | cut -b 10- | cut -
> b -7`
>
>
> However, if I keep doing this, after a while the system server would
> fail to boot and I get stuck with "ANDROID" on the screen.
>
> What could be wrong? What do the Google engineers do to avoid
> rebuilding system image while modifying the framework?
>
> Thanks!
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Reply via email to