Oh well..

I already said I am using windows on my PC, so using scripts/android shell commands isn't kinda my part of developing...
Sadly I am not as experienced in coding/adb shell, just mounting, rebooting of setting permissions..
I have searched for it, but it seems like it isn't possible to do it.
Isn't there an alternative way to do it?!
Thank you for looking for it anyways!

Basically an italian user from androidiani.com (papao) found out that deleting manually three system files related to gps increases connection speed to gps satellites (as far as the phone has an internet connection) because those gps data get old quite fast (a couple of hours) and the phone seems to update them too rarely producing an increase in gps connection times with respect to when they've just been downloaded.
The idea of the script is to automatize this gps data update deleting those three gps files each X hours (let's say 3-5h) only if an internet connection is available in that moment so that they can be restored. This way, the next time the user launches gps, the phone would be forced to download new fresh data.
This is what the script does so far, but it's not enough because it just checks for an internet connection, deletes data even if the user is not going to download new data in that moment, but maybe in another one when no internet connection is available. That's why it would be good to have a command which downlads new data just after deleting the old ones (so that the user has always working gps data to use and a good gps fix).
This can be done manually launching LocationEM, enabling gps and scanning satellites. If this cannot be done through command line (this script would almost act as an android virus), it would be necessary to undestand what does that apk really do when I enable gps and scan satellites (how are those gps files created?) and do the same through command line. I tried to do this reading a bit of the smali code behind LocationEM.apk but I sincerely couldn't get it (smali code is quite cryptic, I don't even know java

). Probably for some app developer all this would be a really easy task, but I'm definetely not...
Anyways, right now I'm using the script as it is just to test it and see whether I really get an improvement.
If you want to take a look, check
this link.
By patching gps antenna you meant something like
that? I never had gps problems, I got fix in less then 30sec with data on. I only did
this tutorial and of course apply proper gps.conf. Is gps antenna connected some how with the wifi antenna?
Yeah I patched my antenna trying many different mods, that in the video included! I'm able to get a quite fast fix, the problem is that it has a too low precision in movement sometimes, so it's quite difficult for me to use it.
Ok, I got my little wifi test comparing iocean with newman n1. In my room ( 2 room away from access point) got signal about -75dbm and connection speed aproximately 0,5mb/s while newman has about -67dbm and speed about 2mb/s. I went to another room (one room away from ap) and suprisingly both phones had signal about -58 dbm, but iocean has very different results, it's download speed is very vulnerable but got about 2mb/s. newman on the other hand got more stable signal with speed conection around 5-6mb/s. Newman signal is much more stable as I have seen. In conclusion you can take a look on switching the drivers from newman to iocean and see how it goes.
-edit-
I don't know if it helps but ours iocean has mt6628 wifi chip. I checked and got 1.8 fw version while
HERE is wifi drivers for mt6628 with fw version of 2.0.1.1.
Great work, well done! It's very interesting, but I've never done anything similar before, but we are an Iocean developing team, right?

Talking about Newmann, does it mount the same wifi chip as Iocean? I'm afraid it has a completely different motherboard and chips and this makes its driver unusable for us I think.

For what concerns mt6628 drivers, I'm absolutely not an expert, but that file doesn't seem somehow usable. The real core of the wifi driver is missing (do you know where to find it?). Anyways that idea may be useful in the next weeks/months if some company releases missing parts of kernel source code!
Let me know if I was wrong, I'm quite new to this stuff, I've too much too learn still!