Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does 'adb remount' do? When is it useful?

Tags:

android

adb

Should adb remount always be run before adb push? What does adb remount actually do?

like image 550
Subway Avatar asked Mar 10 '15 10:03

Subway


People also ask

What is the use of adb remount?

Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience.

What is remount in Android?

This means that advanced users can utilize a terminal interface, giving commands and instructions to Android via a command line instead of a graphical interface. Root-enabled users can set the System folder to a read/write state, just like a command line on a Linux system.

What does adb shell sync do?

adb-sync is a tool to synchronize files between a PC and an Android device using the ADB (Android Debug Bridge).

How do I run adb root?

So to enable the adb root command on your otherwise rooted device just add the ro. debuggable=1 line to /system/build. prop file. If you want adb shell to start as root by default - then add ro.


1 Answers

adb remount put /system partition in writable mode. By default /system is only readable. It could only be done on rooted device.

It must be done before pushing file on /system partition.

adb remount corresponding to:

adb shell mount -o rw,remount,rw /system 
like image 144
LaurentY Avatar answered Sep 22 '22 17:09

LaurentY