I have edited build.prop and now my phone cannot boot. I have pulled build.prop using adb and now I have the correct build.prop file
What I need is to push build.prop using adb.
First try: Read-only file system
when I mount system:
Second try: Permision Denied
what can I do?
The “build. prop” file is a system file that contains build properties and settings. Some of the contents are specific to your device or your device's manufacturer, others vary by version of the operating system, but some are generic to all devices running the same version of Android as you are.
prop file has been transferred to your system, you can edit it easily using the text editor you downloaded previously. To do so, simply right-click on the build. prop file and select “Edit with Notepad++” or any other text editor that you may have downloaded.
Probably because adb push
uses the shell
user, which does not have write permissions to /system/build.prop
. You can, however, push the file to a different location first (e.g. /data/local/tmp/
) and then move the file to the right place with the root user (after mounting).
Here are the commands you need to use:
adb push <Path to build.prop>/build.prop /data/local/tmp/
adb shell
su
mount -o rw,remount /system
adb push /data/local/tmp/build.prop /system/build.prop
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With