Android ADB read-write mode mount file system

Source: Internet
Author: User

Mount the/system/app/directory as read-write:>adb ShellShell @android:/$suSU Shell @android:/#mount-o rw,remount yassf2/system/Shell @android:/#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 xxxxxx
Commonly 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/dat A/APP/COM.QYLK.EXPRESS-2.APK showing process and CPU usage in progress Top Display Memory usage Free 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/. Logo Camera 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 service Am Startservice-n cn.qylk/.service. LocalService Viewing log information logcat-s [tag name] "Log to File:-F [filename]" Viewing device ADB devices into shell Adb-s emulator-5554 Shell Device serial number ADB Get-serialno Shortcuts Ln-s <target> <name> Restart Reboot [-n] [-P] [Rebootcommand] -N: Do not write the memory data back to the hard drive before rebooting. ADB reboot restart ADB reboot recovery reboot to recovery ADB reboot bootloader reboot to bootloader mount system ADB remount Loading File system Mount-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/system common File command: RM, CP, MKDIR, MV, chmod, grep (Text Search), find, kill process: Kill comparison File diff (Show detailed differences), CMP (show conclusion) check the disk footprint of the file system DF Display file Contents Cat [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.