• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Cant edit system files (CM7)

zigackly

Member
Sep 6, 2010
50
0
Ive been trying to edit my system/etc/gps.conf file to change the NTP server from europe to asia as ive been facing GPS problems. Im running Cyanogenmod 7.0.3 RC1 on an HTC Desire GSM rooted via unrevoked.

I have tried using ADB and root explorer to edit the file, but once i reboot, the file still shows only the original.

1. via ADB

The steps i used were (taken from here)-

Code:
Prerequisites have...
A:android-sdk-windows installed
B: (on your phone) go to menu>settings>applications>developement and make sure usb debugging is checked.
C: the file you are pushing must be placed in the tools folder of adb so if you are pushing file "build.prop.txt" this needs to be downloaded/copy and pasted in C:\android-sdk-windows\tools
1: go to run and type cmd (or just open your command prompt)
2: cd C:\android-sdk-windows\tools
3: adb remount
4: adb devices *if everything is set up right this should output a serial number*
5: adb push FFFFFFF.FFF /#####/###### *i hope my notes help here you need to put the file name in for the F(s) and in the pound signs you put the destination on the devices example adb push build.prop.txt /system/bin
6. repeat step 3 for multiple files
7. adb reboot this is how you finish

Everything went smooth, except that one i reboot, the file still is the original

2. Using Root Explorer

Tried using Root Explorer 2.16. Navigated to the system/etc directory, Mounted as R/W, edited in Text Editor, Save and Exit.

Once i reboot, the file again has reverted.

Im quite stuck, and would appreciate any help here. Thanks in advance!
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones