updater-script

YahsCE

Senior Member
Sep 25, 2011
159
18
0
<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
 
Last edited:

farsight73

Senior Member
Dec 29, 2010
1,080
193
93
Selangor
If you did a backup prior the update process. It might save your time recovering..
Simply pasting files or folders in system/data/ would not help as the read/write protection as well as the permission settings must be correctly set.
 

YahsCE

Senior Member
Sep 25, 2011
159
18
0
What is the error code?

Sent from my MB526 using xda premium
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?