<code>
ui_print(" FIX DEL GPS ");
ui_print("----------------------");
ui_print(" ");
ui_print(" Eliminando archivos anteriores ");
delete("/system/etc/gps.conf");
delete("/system/etc/gpsconfig.xml");
delete("/system/etc/location.cfg");
delete("/data/location/location.cfg");
mount("MTD", "system", "/system");
mount("MTD", "data", "/data");
show_progress(0.100000, 40);
ui_print(" ");
ui_print(" Desempacando archivos ");
show_progress(0.100000, 40);
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
ui_print(" ");
ui_print(" Remplazando archivos de GPS ");
unmount("/system");
unmount("/data");
show_progress(1.000000, 10);
ui_print(" ");
ui_print(" www.motoroladefymx.blogspot.com ");
ui_print(" Autor: Yahs CE ");
ui_print(" ");
ui_print(" Listo ");</code>
what i´m trying to do is the next:
Delete from folder system/etc:
1.gps.conf
2.gpsconf.xml
3.location.cfg
Delete from folder data/location:
1.location.cfg
well i flashed this and flashed good, i got some changes in the code,
the stuff is that the folder "data" is empty after i flashed the .zip, but then i reboot normally the phone and the folder "data" i get all the folders it has.
why in the first time i flash this .zip the "data" folder is empty? what do i need to avoid the "data" folder is empty just right after i flashed the .zip?
any help please!
ps. here is the link you can download the .zip http://dl.dropbox.com/u/6179858/Patch/GPS_Mexico.zip
ui_print(" FIX DEL GPS ");
ui_print("----------------------");
ui_print(" ");
ui_print(" Eliminando archivos anteriores ");
delete("/system/etc/gps.conf");
delete("/system/etc/gpsconfig.xml");
delete("/system/etc/location.cfg");
delete("/data/location/location.cfg");
mount("MTD", "system", "/system");
mount("MTD", "data", "/data");
show_progress(0.100000, 40);
ui_print(" ");
ui_print(" Desempacando archivos ");
show_progress(0.100000, 40);
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
ui_print(" ");
ui_print(" Remplazando archivos de GPS ");
unmount("/system");
unmount("/data");
show_progress(1.000000, 10);
ui_print(" ");
ui_print(" www.motoroladefymx.blogspot.com ");
ui_print(" Autor: Yahs CE ");
ui_print(" ");
ui_print(" Listo ");</code>
what i´m trying to do is the next:
Delete from folder system/etc:
1.gps.conf
2.gpsconf.xml
3.location.cfg
Delete from folder data/location:
1.location.cfg
well i flashed this and flashed good, i got some changes in the code,
the stuff is that the folder "data" is empty after i flashed the .zip, but then i reboot normally the phone and the folder "data" i get all the folders it has.
why in the first time i flash this .zip the "data" folder is empty? what do i need to avoid the "data" folder is empty just right after i flashed the .zip?
any help please!
ps. here is the link you can download the .zip http://dl.dropbox.com/u/6179858/Patch/GPS_Mexico.zip
Last edited: