01/04/2013, 11:37 PM
Lurking and Googling I came to this file on the /data/data/com.android.phone/shared_prefs subdirectory: com.android.phone_preferences.xml
/data/data/com.android.phone/shared_prefs # cat com.android.phone_preferences.xml
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
As you can see, it already has the network and its MCC/MNC (or whatever it is called).
1. Is it possible to write directly into this place ? It is a -rw-rw---- file, so I figure it should be writable unless the file system is mounted ro. Actually, checking out the mount command, it says that it is rw, nosuid, nodev, noatime, barrier=1,data =ordered,noauto_da_alloc. I guess it means it is writable.
2. If I can backup and restore that file after a reboot, When com.android.phone stops, and restarts, will it pickup that file and connect to the network or will it erase it and try to connect and then write a new one? What is the behavior of com.android.phone supposed to be?
I wonder and I'd rather find out a little more from those ahead of me before really bricking the 4G
I am in the middle of com.android.phone has stopped
I just SSHd to that file and it is there with the correct info. Why doesn't CM9 pick up that info and just log into the network?