How To Edit Build.prop Without Root Using ADB In TWRP Recovery

April 29, 2018 0 comments
How To Edit Build.prop Without Root Using ADB In TWRP Recovery

If you’ve ever customized your Android device beyond the means of apps from the Play Store, you might have come across editing build. prop file. It’s located in the /system directory of your device.

What’s build.prop file?

You might wonder what does build. prop file does, and why is it so important for the OS installed on your device. Well, build.prop file contains information about system properties. Also, it contains other critical build information which is used system-wide on an Android device.

Strings and values defined under build prop file are critical to the OS, as they define what features are to be enabled on the device. By editing build.prop file, you can create or modify system properties which are then loaded when your device reboots.

How to Edit Build.prop Without Rooting Your Device:

  1. Setup ADB and Fastboot on your PC.
  2. Boot your Android device into TWRP recovery.
  3. Select Mount » and then select System from the list of partitions to mount the system partition and then go back.
  4. Connect your device to the PC with an authentic USB cable.
  5. Open a command window on the PC and issue the following command to pull BuildProp file from the device:
    adb pull /system/build.prop
  6. The above command will download the buildprop file to your PC in the same directory where your command prompt is running from.
    └ Tip: Make a copy of the build.prop file before you edit it so that you’ve a backup of the original file.
  7. Download and install Notepad++ software on your PC.
  8. Open the build prop file on your PC using the Notepad++ program.
  9. Edit the buildprop file as per your requirement and save it on the PC after making the changes.
  10. Once you’ve saved the edits to the build prop file, push it back to the device using the following command:
    adb push build.prop /system/
  11. Now set the correct permissions for the buildprop file with following commands (issue them one-by-one):
    adb shell
    cd system
    chmod 644 build.prop
  12. Once you set the correct permission for build prop file, reboot your device to system from TWRP’s Reboot » System option.

That’s it. You’ve now successfully edited build.prop without root on your Android device.

Ashok kuikel

Ashok Kuikel is DevOps Engineer(Cloud Computing and Cyber Security), Entrepreneur working on Socio-Economic Development via Technology

He has been actively contributing as Joint Secretary of Federation of Computer Association of Nepal Kavre Chapter. Beside that, he is an official Global Peace Ambassador for Global Peace Chain, Nepal Chapter and Member of Internet Society, Nepal Chapter.

Above all, he enjoys learning about new trends and technologies and loves to share innovative ideas to contribute for the growth of the industry.

You can follow me on Social Media, GitHub, and via my Blog Channels.

Articles and Tutorials

We love writing about WordPress and latest plugins tutorials, WooCommerce stats, and much more.