Android ADB read-write mode mount file system

Source: Internet
Author: User

android ADB read-write mode mount file system

2013-01-09 02:05:49|  Category: Android | Tags:android adb file system Mount | Report | Font size Big medium small subscription

Mount the/system/app/directory as read and write:>adb Shell[Email protected]:/$suSu[email protected]:/#mount-o rw,remount yassf2/system/[Email protected]:/#chmod 777/system/app/Files that are usually push into the phone's memory also need to be set to read R write W to perform the X attribute:chmod 644 xxxxxxCommonly used ADB command: ADB default does not support Chinese characters, need to re-source compilation, see another log:http://www.qylk.blog.163.com/blog/static/134687356201307177822/Uninstall: Uninstall [-K] [package] K means retention profile installation: Install-r [[Package] upload: adb push text.txt/sdcard/txt.txt download: adb pull/data/a PP/COM.QYLK.EXPRESS-2.APK showing process and CPU usage in progressTopShow Memory usage FreeTo change the owner and owner group of one or more files or directories chown start activity:am START-N Package name/class name such as AM Start-n cn.qylk/. Logocamera am start-n com.android.camera/com.android.camera.camera browser am start-n com.android.browser/com.android.browser.browseractivity positioning am start-a android.intent.action.VIEW geo:0,0?q=beijing Start Web page am start-a android.intent.action.view-d http://www.aizheke.com Call am start-a android.intent.action.call-d tel:88888888 Start Serviceam Startservice-n cn.qylk/.service. LocalServiceView log Informationlogcat-s [tag name] "Log to File:-F [filename]"View DeviceADB devicesEnter the shelladb-s emulator-5554 ShellDevice Serial Numberadb Get-serialnoShortcutln-s <target> <name>Restartreboot [-n] [-P] [Rebootcommand]-N: Do not write the memory data back to the hard drive before rebooting. adb reboot Restartadb reboot recovery reboot to recoveryadb reboot bootloader reboot to bootloaderMount Systemadb remountLoading the file systemMount-a [-R] [-t type] [-O options] [-RW] Device dir. -T type: Displays the type of file system being loaded. -N: In general, Mount hangs on the/etc/mtab to write a piece of information, in the system does not have a writable file system, you can use this option to cancel this action.    such as: Mount-o Remount,rw/dev/block/mtdblock3/systemCommon file Commands:RM, CP, MKDIR, MV, chmod, grep (Text Search), find,Kill Process:KillCompare filesdiff (Show detailed differences), CMP (show conclusion)Check the disk footprint of the file systemDFShow file contentsCat [name]

Android ADB read-write mode mount file system

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.