Mounting android system partition as read/write or read-only

Android’s system partition is by default mounted as read only, but if you are looking to modify some system files or applications, then if you try as is, you will not be able to do so due to restricted user permissions, hence first thing we need to do is mount the system partition as read/write which will allow us to do necessary changes in system partiton.

Command to remount system to read,write

 $ adb shell 
 $ su 
 $ mount -o rw,remount /system 

Now, do adb any changes, and remount the system back to read only as,

 $ mount -o ro,remount /system 

You may also check “How to Install and Uninstall android application as system app / priv-app”

Android Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Commands and Packages Compilation Content Management System - CMS Core Kernel C Programs Development & Build Development Environment Setup Errors & Failures Flutter git Go Language Programs Hardware Platforms HTML JAVA Programs Kernel & Device Drivers Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Monetization / Google AdSense NDK / Middleware / HAL OS Concepts PHP Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized User Interface Userspace Utilities Web design and development Wordpress Yocto / Bitbake / Openembedded
Tags:

Leave a Reply / Ask Question