Latest Version: Android: Modify system read-only permission: remount

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.