There are two ways to replace launcher on Android: one is to input the launcher when the IMG is burned to the device, or try to replace the launcher. Test the second type.
You want to modify and replace the following Android launcher, but the directory/system/app where the laucher is located is read-only.
You need to set it to RW through remount first.
Specific operations:
Lixinso @ lixinso-desktop :~ $ ADB Devices
List of devices attached
Emulator-5554 Device
Lixinso @ lixinso-desktop :~ $ ADB Shell
# Mount
Rootfs/rootfs Ro 0 0
Tmpfs/dev tmpfs RW, mode = 755 0 0
Devpts/dev/PTS devpts RW, pattern = 600 0 0
Proc/proc RW 0 0
Sysfs/sys sysfs RW 0 0
Tmpfs/sqlite_stmt_journals tmpfs RW, size = 4096 K 0 0
None/dev/cpuctl cgroup RW, CPU 0 0
/Dev/block/mtdblock0/system yaffs2 Ro 0 0
/Dev/block/mtdblock1/Data yaffs2 RW, nosuid, nodev 0 0
/Dev/block/mtdblock2/cache yaffs2 RW, nosuid, nodev 0 0
/Dev/block // vold/179: 0/sdcard vfat RW, dirsync, nosuid, nodev, noexec, uid = 1000, gid = 1015, fmask = 0702, dmask = 0702, allow_utime = 0020, codePage = cp437, iocharset = iso8859-1, shortname = mixed, utf8, errors = remount-ro 0
# Mount-O remount/dev/block/mtdblock0/System
# Mount
Rootfs/rootfs Ro 0 0
Tmpfs/dev tmpfs RW, mode = 755 0 0
Devpts/dev/PTS devpts RW, pattern = 600 0 0
Proc/proc RW 0 0
Sysfs/sys sysfs RW 0 0
Tmpfs/sqlite_stmt_journals tmpfs RW, size = 4096 K 0 0
None/dev/cpuctl cgroup RW, CPU 0 0
/Dev/block/mtdblock0/system yaffs2 RW 0 0
/Dev/block/mtdblock1/Data yaffs2 RW, nosuid, nodev 0 0
/Dev/block/mtdblock2/cache yaffs2 RW, nosuid, nodev 0 0
/Dev/block // vold/179: 0/sdcard vfat RW, dirsync, nosuid, nodev, noexec, uid = 1000, gid = 1015, fmask = 0702, dmask = 0702, allow_utime = 0020, codePage = cp437, iocharset = iso8859-1, shortname = mixed, utf8, errors = remount-ro 0
#
After mounting, you can modify and delete the file ~~~~
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/lixinso/archive/2010/08/24/5835598.aspx