简记·思行-SiNZeRo

Sunshine and Imagination

Modify Files Under the /System Directory on Android

| Comments


I was trying to modify the build.prop file under /system directory. But this file is protected by system, we cannot directly edit it. I have tried several solutions listed below:

  • To utilize RE(Root Explorer) to modify the permission of /system, however this method is failed on my G6 legend with CM version android 2.3.7, modified by Devil. 2.I got some Tips from http://forum.xda-developers.com/showthread.php?t=664532&page=18. In this post, they argued that modifying /system is only granted in the recovery mode.
  • So I did it in the following steps:

    1. Connect my phone to PC and test whether ADB is available.
    2. Turn off the phone.
    3. Hold on the back button and press the turn-on button. Thus, the phone will go into the bootloader.
    4. Enter the recovery menu, and find the advance option. ( WARNING: if you don’t know how to enter the recovery mode, please find related articles and read it carefully. )
    5. Select Mount /system and press on it. The option will become Unmount /system, which is successful result.
    6. On PC, run command adb remount. (This step maybe optional, I haven’t attempt to ignore it yet :)
    7. And then, run adb push build.prop /system/build.prop. so far, your file must has been push into /system
    8. Select Unmount /system and press on it. Restart yout phone to check the changes.

Comments