Approved: Fortect
In some cases, your computer may display an error message that the selected version of the Android device with a read-only file system could not be transferred. This problem can be caused by a number of reasons.
I am developing an SD card from my application to play songs. But when I add songs to the app, an error occurs
[2013-01-23 16:09:18 - ddms] Transfer error: file is write protected by the system [2013-01-23 16:09:18] Failed to force selection: read-only file system
I can adb push
to the / sdcard /
folder, but not to / system
on my android device.
sudo adb stress lib / audio.primary.gmin.so system / lib / hw /'lib / audio.primary.gmin.so' cannot be copied to 'system / lib / hw / audio.primary.gmin.so': read-only file system
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
user $ adb remountdm_verity enabled is located in the system partition.Use Disable-verity "" adb to get rid of Verity.If you don't, rebuilding might succeed, but you still won't be able to efficiently write them to volumes.rebuild / system crash: read-only file systemRebuild erroruser $ adb disable-verityVerity was recently disabled in / system
user $ adb remountdm_verity is included in the systemsmall section.Use Disable-verity "" adb to disable verity.If you don't, rebuilding might succeed, but you can still write this to volumes.Rebuild / System Error: Read-Only File SystemRebuild error
sudo mounted Remount, rw -o / systemmount: cannot access / etc / fstab or / etc / mtab via / system
which goes up / box / frameadb versionAndroid Debug Bridge version 1.0.32
user $ mountFormat / dev / sda6 to / ext3 (rw, error = remount-ro)proc in / proc type proc (rw, noexec, nosuid, nodev)sysfs to / sys of type sysfs (rw, noexec, nosuid, nodev)off topic / sys / fs / fuse / connections typefuctl (rw)not in the form / sys / kernel / debugfs (rw)not in / sys / kernel / security type securityfs (rw)udev via / dev like devtmpfs (rw, mode = 0755)Devpts in / dev / pts install Devpts (rw, noexec, nosuid, gid = 5, mode = 0620)tmpfs on startup / type tmpfs (rw, noexec, nosuid, size = 10%, mode = 0755)no via Enter / run / lock tmpfs (rw, noexec, nosuid, nodev, size = 5242880)nobody cares about / run / shm like tmpfs (rw, nosuid, nodev)binfmt_misc in the format / proc / sys / fs / binfmt_misc binfmt_misc (rw, noexec, nosuid, nodev)gvfs-fuse-daemon in /home/user/.gvfs type Fuse (rw, nosuid, nodev, user = user)/ dev / sda5 gvfs-fuse-daemon via / media / data type fuseblk (rw, nosuid,nodev, allow_other, default_permissions, blksize = 4096)/ dev / sda2 to / media / OS source code Fuseblk (rw, nosuid, nodev, allow_other, default_permissions, blksize = 4096)
As a great Android developer, you can usually use the adb push
command to copy files from your computer’s hard drive to your Android device. However, I just ran into a good problem where I couldn’t copy my own files to the “data” directory of the Android emulator, i.e. H. in its / data / data filesystem. When I tried to trace the file using this command:
Solution
The solution to this problem was to remount the emulator file system, since it is a read / write file system. I did it with a series of commands. In the following sequence, I ran command number one from my Mac / Unix operating system, and then the following commands were executed in the adb
shell:
Back at the local filesystem prompt, I was able to copy my Instigate to the Android emulator filesystem using your current adb push
command like this:
Apparently, you are ordering the file foo.jpg, which is located in my local Mac directory. The baud rate and number of bytes used indicate that the file was successfully copied to the emulator.
There may be other ways to copy files from your current local machine’s filesystem to the Android emulator’s filesystem, but I can confirm who (a) this approach works and (b) I created a “read-only filesystem” while I have followed this series of commands.
Speed up your computer's performance now with this simple download.