yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] c4460256:
Hi,

I noticed the maximum TTL for epo.mediatek.com is 30 second.

Then I've put the next script running for a day:

while true;
do host epo.mediatek.com | tee -a -i epo.mediatek.com.log ;
sleep 15;
done

After that I've filtered resulting file:

cat epo.mediatek.com.log | grep epo.mediatek.com | awk '{print $4}' | sort | uniq

And finally I got the list of all the current IPs for the host.

124.219.30.162

124.219.30.163

124.219.30.164

124.219.30.165

124.219.30.166

124.219.30.167

124.219.30.168

124.219.30.169

124.219.30.170

124.219.30.171

54.193.53.205

54.200.6.244

54.201.46.179

54.213.119.11

54.213.12.103

54.213.135.230

54.213.21.35

Looping through the list I was able to download EPO files and then put them on my device by hand.
[Android Q&A, Help & Troubleshooting] herc2k:
new epo 17_01_2014 here

http://www.adrive.com/public/xGHFMD/data epo17_01_2014.rar

you will need winrar to unzip
[Android Q&A, Help & Troubleshooting] muckelmaus:
Best time for me to download from Germany is between 8.pm till 6.am MEZ.

MTK Engineering Mode Start from the play store is equal to mobileuncle to enter the Engineer Mode. The best tip I used is to edit gps.conf in system/etc to use the nearest ntp sever and some other tweaks that you can find here with the help of the search key.

You have to play around a bit, to figure out the best settings for your devices, but it is worth to do the work. About 2- 25sec to fix and 7-11 sats locked, that's fine with me.

OK, the accuracy could be better (approx.20m) and the hight above see level isn't correct, not mind blowing, but there isn't much desert or jungle around here. Good luck to you all.
[Android Q&A, Help & Troubleshooting] darko150:
Well,

does anyone know Is Epo necessary and how much if is? :confused:

Has anyone used Gps without Epo and with what results?

I wonder ... :angel:
[Android Q&A, Help & Troubleshooting] simsalonaut:
Welcome to the Forum Bill - well I'm a noob myself, but this place allows for one hell of a steep learning curve :) You're right, it seems to be two problems, both of which we seem to be able to fix ourselves, but which we can also contact MediaTek about. Like I said, I don't know whether it will make any difference at all, but I'm sure it wouldn't be too much of a burden for them to fix a lonely FTP server - especially now that they're seemingly listening to customers.

Before EPO: Min. 90 seconds to first fix.

After EPO: Max. 30 seconds to first fix.

After FasterGPS: Max. 10 seconds to first fix. :)

So if you haven't already set your NTP servers, check out play.google.com/store/apps/details?id=org.fastergps - it improved my GPS signal by order of magnitude ;)
[Android Q&A, Help & Troubleshooting] darko150:
For earlier versions of Android was gps.conf file in my phone and I was trying a different configuration gps.conf, and found the most suitable.

But my cell phone with Android 4.2 has no gps.conf file!

Gps.conf file must be in cell phone?

Sorry my english...
[Android Q&A, Help & Troubleshooting] simsalonaut:
Mine didn't exist either; I created one myself, but either I made mistakes or there was a bug - the system never accepted my gps.conf.

So I took the easy way out:

I installed FasterGPS: In the app, I set my region and country, and it simply created all necessary files - that solved everything.

I also just posted a tutorial on how to generally improve your GPS signal on MediaTek devices. I took information from this thread as well, so if you're looking for a comprehensive how-to, here you go.

If anyone knows any other tips on how to get better GPS reception, please let me know, and I'll add them to the list.

Hope this helps!
[Android Q&A, Help & Troubleshooting] muckelmaus:
Nice! Thanx, I couldn't have done it better! Well done, exactly the way I meant to figure out to improve gps. BTW, there is no problem to insert a missing gps.conf in /system/etc, the only thing that could happen is, that it is ignored.

FasterFix messes up the text of my self-edited configfile, but afterwards it worked well.
[Android Q&A, Help & Troubleshooting] darko150:
New Epo

Is there someone new Epo?

I'm trying to download it 2 days, but do not go
[Android Q&A, Help & Troubleshooting] ghosr1408:
EPO 22.1.2014.
[Android Q&A, Help & Troubleshooting] petesimon:
download

http://ge.tt/4kklvs81/v/12

and see other posts in this forum thread...
[Android Q&A, Help & Troubleshooting] mstdzw:
https://www.dropbox.com/s/64ezbxr7tujgul6/epo230114.zip
[Android Q&A, Help & Troubleshooting] darko150:
25.01.2014.

https://www.dropbox.com/s/uv3esgwpsa7j13s/EPO_Files_25-1-2014_21-40-58.zip

Finally, I managed to download :)
[Android Q&A, Help & Troubleshooting] mstdzw:
2701 on first shoot :cyclops:

https://dl.dropboxusercontent.com/u/158361/a830/epo_2701.zip
[Android Q&A, Help & Troubleshooting] towmmyzd:
Hey Buddies，I found a better way to update your epo files.Just find out "EPO.DAT" in "date/misc"(be sure your device had been root),and delete it.Then turn to EPO download page,push"Download" button,It will download epo.dat successfully,and you don't have to worry about the MD5 file's check.

Also sorry about my English.
[Android Q&A, Help & Troubleshooting] darko150:
If it proves it's true, it would be best :victory::good::fingers-crossed:
[Android Q&A, Help & Troubleshooting] towmmyzd:
I've tried 4 times,they're all successful,but I'm not sure it can works in every device.T~T
[Android Q&A, Help & Troubleshooting] darko150:
Well, and I try 2 times with success. :laugh:

It seems that the server allows download if cell phone have not Epo.dat file ... :good:
[Android Q&A, Help & Troubleshooting] simsalonaut:
Can confirm, it works! Looks like MediaTek have finally fixed their EPO server. :)

Here is an update method that is very easy:

Open EngineerMode: Dial *#*#3646633#*#*. Swipe to Location → Location Based Service → EPO. Here you can download new EPO files: tap EPO (IDLE)

You don't have to delete the old EPO-files before downloading the new ones. You can also set how often you want your phone to download the new files under update period setting; since MediaTek updates them once every 24 hours, I've set mine to 1440 minutes.

Looks like the problem is solved! Maybe writing to MediaTek helped a little :laugh:
[Android Q&A, Help & Troubleshooting] mstdzw:
On my lenovo they are default set to: 21600 = 15 days. EPO is working for 30 days, so You not need update this every day.

If You realy need fresh EPO just set 10080 =1440x7= 7 days, and battery will life longer.
[Android Q&A, Help & Troubleshooting] simsalonaut:
True, but I the server does not seem to be 100% stable, so I'd rather try a few more times; with a update period setting of 10 minutes, I currently have a success rate of 90%. Still not perfect, but good enough; the update process consumes very little energy, because the files are small.
[Android Q&A, Help & Troubleshooting] towmmyzd:
At least,we won't worry about Epo's downloading
[Android Q&A, Help & Troubleshooting] darko150:
Or the server is not loaded because the Chinese New Year began? :confused:
[Android Q&A, Help & Troubleshooting] towmmyzd:
Yeah,perhaps the Spring Festival is also suit for EPO system,haha~~~:laugh:

---------- Post added at 01:12 PM ---------- Previous post was at 12:50 PM ----------

Sometimes,I think the MD5's check is wrong.Maybe System will check the new file's MD5,and compare it with the old one...Then,system will find they're not the same one,and stop downloading EPO.DAT(Cause I've tried to put the DAT and MD5 files into my device at the sametime,then I turned to EPO page,the system showed the file's date successfully.I tried about 5 times).

And if we delete the file,the system can't find the last one to get MD5 to check,so we can download it successfully.

It just what I think..o(>_<)o ~~
[Android Q&A, Help & Troubleshooting] darko150:
I've explained for me it this way: when their server realizes that there Epo file that is valid, does not allow the download, when this Epo file is not valid (or does not exist), immediately permit download.

Important to me is that I can now download Epo when I want.

Thank You
[Android Q&A, Help & Troubleshooting] mstdzw:
On lenovo a830 epo download EPOHAL.DAT instead of EPO.DAT.

epo0202.zip
[Android Q&A, Help & Troubleshooting] bennlucky7:
I get both, do u know whats the different between EPOHAL.DAT and EPO.DAT.
[Android Q&A, Help & Troubleshooting] mstdzw:
EPO.DAT 270K

EPOHAL.DAT 270K

I can't diff bin files, maybe only different names only. My lenovo update EPOHAL.DAT only.
[Android Q&A, Help & Troubleshooting] c_dos_vtr_110:
Solution for download the files:

Create a backup of deleted files initially.

I deleted all files epo and legal.txt file and It returned download the epo conventionally without any problems.

I don´t know the reason.

Just create one epo.dat file and for update it, you have to delete it again and again give download.
[Android Q&A, Help & Troubleshooting] towmmyzd:
I did't get EPOHAL.DAT all the time.
[Android Q&A, Help & Troubleshooting] bennlucky7:
I download from link in here. Because im always failed to download the file.
[Android Q&A, Help & Troubleshooting] dreaman26:
actual files do you have that?
[Android Q&A, Help & Troubleshooting] mstdzw:
EPO+EPOHAL.DAT 20.02

On my lenovo EPO was downloading very fast.

EPO.DAT 19.02

EPOHAL.DAT 20.02

Maybe EPO & EPOCHAL are the same, only different name and downloads from different servers.
[Android Q&A, Help & Troubleshooting] dreaman26:
Thank you my friend.
[Android Q&A, Help & Troubleshooting] simsalonaut:
Since I've just had to try the FTP server over twenty times before finally getting the files, I think it's safe to assume that the servers are experiencing a case of the hiccups again. A very serious case.

Anyways - if you're having trouble, here are the EPO files from March 13th 2014. Enjoy.
[Android Q&A, Help & Troubleshooting] simsalonaut:
Final solution?

Thanks to a tip from [MENTION=5662491]ultrasound191[/MENTION], we now have a different source: the current EPO files can be found at

epodownload.mediatek.com/EPO.DAT

epodownload.mediatek.com/EPO.MD5

Just tried it, and it works perfectly - no delays, and files are always up to date. Cheers!
[Android Q&A, Help & Troubleshooting] shoosh84:
Does anyone know how to change download URLs in location engineer mode? Is it reasonable to contact Mobile Uncle Tool's developers?

Is there anyone who can implement standalone application to automatically update EPO.DAT?

####

UPD already asked one comrade to write a simple app
[Android Q&A, Help & Troubleshooting] cddf:
The download server is hardcoded in the file:

/system/framework/mediatek-framework.odex

But it's a binary file, so I tried to simply change the server with a binar editor.

It didn't work, when I restarted my phone it hung up. That's typically for Android, refuses to work but without any message...

Maybe it's necessary to change a checksum located somewhere. I don't really know the mechanisms working with Android, Java and these odex files.

I hope that can help somebody to have more success...

Edit: Oh it's a HTTP server, not FTP. It can't work to connect, what I tried. But there must also be another problem, connecting is not possible with both entries...
[Android Q&A, Help & Troubleshooting] Chaosz-X:
This app from the Play Store downloads the EPO files, stores them at the right location and provides instructions to get GPS working. Did a fine job for me :)

https://play.google.com/store/apps/details?id=com.chxdev.mtgps
[Android Q&A, Help & Troubleshooting] BlaY0:
Success

I managed to change the download URL by tweaking ftpDownload method a little but for that I had to deodex everything and disassemble/reassemble mediatek-framework. Attached is a patch for MtkEpoClientManagerService.smali which can be applied after baksmaling mediatek-framework.

There is also another way which is proven to work. You can setup your own ftp server hosting epo files which are periodically updated from mediatek sites. All you have to do is use epo_alps as username/password and edit /etc/hosts on you phone adding:

<YOUR FTP SERVER IP> epo.mediatek.com

...and your phone should download from your ftp server instead of real mediatek servers.
[Android Q&A, Help & Troubleshooting] speedieeCK:
Finally my GPS start working but... I can't use it with my Sygic :|

Loosing road, spinning on crossroads... madness.

Any ideas guys?

Sorry for my English :)
[Android Q&A, Help & Troubleshooting] ghosr1408:
Servers started to f*** up aggain.

Here is the latest epo downloaded from official servers:

EPO 26.4.2014.
[Android Q&A, Help & Troubleshooting] herc2k:
:( epo.dat is 0 , anyone has latest working?
[Android Q&A, Help & Troubleshooting] ghosr1408:
Yep, its broken, but the ones from this posts are working 100%.
[Android Q&A, Help & Troubleshooting] darko150:
Simplest

https://play.google.com/store/apps/details?id=com.chxdev.mtgps
[Android Q&A, Help & Troubleshooting] simsalonaut:
Never worked for me. Downloading from epodownload.mediatek.com (EPO.DAT & EPO.MD5) has been my only solution. Maybe it only works on certain phones/chipsets?
[Android Q&A, Help & Troubleshooting] darko150:
They say: Only for phones with MT6577/MT6589(T)/MT6592 chipset!

Works and on my MT6572 chipset.
[Android Q&A, Help & Troubleshooting] bennlucky7:
Reboot after finished downloading
[Android Q&A, Help & Troubleshooting] simsalonaut:
That didn't work either - it's just my MT6589M chipset / odd Fairphone OS, so don't worry.
[Android Q&A, Help & Troubleshooting] sgsI9003:
That works it downloaded those while in 5 sec which I could not download from phone last 2 days.
[Android Q&A, Help & Troubleshooting] zizolec:
1. From the MediaTek website

MediaTek seems to have heard the users, because you can now get the current EPO files at these locations:

epodownload.mediatek.com/EPO.DAT

epodownload.mediatek.com/EPO.MD5

Put the files EPO.DAT and EPO.MD5 into /data/misc.

Reboot.
[Android Q&A, Help & Troubleshooting] TziMmysGr:
That is perfect, but can we change it somehow at our devises, so we download these directly at our phones and not our pc's?
[Android Q&A, Help & Troubleshooting] Jeewan Deep:
Epo network unavailable

bro..!! i have Mmx a114 and even without epo phone gps is ok..! buy the thing is i want it to be fixed..!! in epo download.. even after pressing it.. it nt even showing % nd no. of how much hv been download.. so.. i went to engineer mode.an saw that.... its says network. unavailable.... everything i press download. !! i never faced this kinda issue before... nd i tried to fo factory. reset 2-3 ties no use..!! i now use MT GPS fix... but still i want a fix for it..!! is it a hardware prob or smtng.. "! How does our phone use epo though..???? plz help..frnds....
[Android Q&A, Help & Troubleshooting] sgsI9003:
Why & what are you trying to fix with EPO files when the GPS is working?
[Android Q&A, Help & Troubleshooting] nirmalabhi2611:
where is Data/Misc folder ?

hello,

Can you please tell me where is the DATA/MISC folder?

Is it under internal storage or SD card?

I can only see data folder under internal storage but there is no MISC folder.

DO I need to create one ?

thanks in advance
[Android Q&A, Help & Troubleshooting] cshadow:
It should be under root/data/misc/.

What you see is probably mounted somewhere like /storage/sdcardx/data or /storage/data.

You need a rooted phone and a file manager that supports browsing the whole folder tree.

Try installing x-plore or something like that.
[Android Q&A, Help & Troubleshooting] nirmalabhi2611:
Sorry could not reply you early as didn't get notification.

anyways, I downloaded xplore as you said. I can see root folder there, and inside there is data folder, but there is no misc folder.

I think my phone is not properly rooted. noe suppose even if I root my phone , and then connect my phone to the PC, will I be able to see the root folder on my PC. right now i can only see microsd card and internal storage - both as different drives.

thanks a lot.
[Android Q&A, Help & Troubleshooting] cshadow:
Download root checker. In x-plore go to confuguration and enable root access. Then check if you see misc folder.
[Android Q&A, Help & Troubleshooting] alexpu1u:
Thank you very much, your post was very usefull beca use i tryed with MT gps epo downloader or some app named like that and it made my files 0kb, the links you gave worked like a charm :)
[Android Q&A, Help & Troubleshooting] nirmalabhi2611:
Hello. I downloaded root checker it says "Sorry! this device does not have proper root access".

in X-plore i can see root as main drive and inside there is data folder, but there is no subfolder for misc.

As I can see the "root" drive does that mean my device is rooted but may be not completely rooted?

thanks
[Android Q&A, Help & Troubleshooting] doongoo:
You re wrong, try to root at first.

Tapatalked from a MIUI powered phone
[Android Q&A, Help & Troubleshooting] nirmalabhi2611:
HI,

I have now rooted my phone.

Yes, i can see the root/misc/folder on my phone (only) with the xlporer app .

But I cannot see these folders on PC?

Currently, when i look into the misc folder on my phone it has epo.dat and eop.md5 but still gps doesn't work.

Any solution please?
[Android Q&A, Help & Troubleshooting] nirmalabhi2611:
HI,

How can I download these EPO files direct on my phone ?

If I connect my phone to the PC it does not show the data/misc folder..

But I can view this folder on the phone via the ROOT BROWSER app.

Please let me know as I want to copy these epo files on to the misc folder.

thanks in advance!!
[Android Q&A, Help & Troubleshooting] alexpu1u:
Download http://epodownload.mediatek.com/EPO.DAT

And http://epodownload.mediatek.com/EPO.MD5

Then overwrite them to your data/misc folder via root explorer.

Open settings-location access-gps satellites-epo settings- an if at the download time you see curent date and time, you did it right, and you have the latest epo files.

If not you probably need to reboot.
[Android Q&A, Help & Troubleshooting] tuguitah:
This Play Store app fix it:

https://play.google.com/store/apps/details?id=com.chxdev.mtgps
[Android Q&A, Help & Troubleshooting] cshadow:
That app failed to do anything on my phone and you have no indication it downloaded epo files. Better get fixed epodownloader.
[Android Q&A, Help & Troubleshooting] emfox:
Hello, thanks for the method to solve the problem, I tried to serve EPO.* files via my own ftp server, and add the ip to /etc/hosts, now while I click download in setting --> gps --> epo setting, it responsed fast, with a "File not found(remote or local file)" error.

Is there any other file I should serve on my ftp, beside epo.dat and epo.md5?
[Android Q&A, Help & Troubleshooting] hdaackda:
Thank you SO much!!

I get the RED satellites in YGPS immediately now (after updating EPO files), but they dont turn GREEN!! (dont catch satellite)

Mobile data is ON, AGPS is ON etc (i've tried GOOGLE and NOKIA profiles in AGPS).. dont seem to work. Warm/Full/Agps restart, tried everything :(

Any other suggestions?
[Android Q&A, Help & Troubleshooting] Desmanto:
Thanks for the alternate download server.

The original server at epo.mediatek.com is a FTP server, and doesn't have enough resource to handle all mediatek devices from all around the world. When I shark the connection, it shows error 421 There are too many connected users, please try later.. Seems they need to raise the ftp server limit. The alternate epodownload.mediatek.com is a HTTP server, and seems to have more resources (or still less people access it), it always success to download at first try.

Can you ping to your ftp server? Do you set the ftp to have username/password as epo_alps?

Since u r rooted, you can also download the EPO.dat at certain folder at sdcard, and use server ultimate to host FTP at port 21, with the username/password as epo_alps. Then redirect the hosts to 127.0.0.1. It will then download the EPO from the local FTP, which doesn't need extra server beside the phone itself.

R u rooted? It needs root for 3rd party app to access the /data/misc, in order to replace the EPO.dat manually.

The app seems not optimized, 2,1 MB for a one-trick-pony app?

VTS tell me, it embedded too much google library (for ads) inside the apk.

I don't know much with the built-in YGPS, but I always try it outdoor using Androits. More information and detail. Remember that mediatek GPS is not as powerful as qualcomm GPS.

=========================================

After I know this, I come out with the idea to download the EPO.dat manually from the alternate server at epodownload.mediatek.com using tasker. And it works using the tasker http GET. So we can actually download it using tasker, and copy it through the task to /data/misc. We can even set the schedule to automate the download every week or trigger manually every time we use a GPS map. Of course, root is still needed.
[Android Q&A, Help & Troubleshooting] cshadow:
Yes. rooted miui rom android 4.2.2. As i said, epodownloader works fine.
[Android Q&A, Help & Troubleshooting] Desmanto:
The app have too much bloat inside. And both the app dan epodownloader don't check for the MD5. And they delete the previous EPO before downloading the new one. So in case of failure, we lose our previous EPO too.

Using tasker and a little knowledge of bash script (from googling result), It can check for the last modified (download time) of the EPO and trigger the download automatically (for example every weeek). Then it will calculate the checksum of the EPO.DAT, matches it with the EPO.MD5. Only if they match, then copy the EPO.DAT to the /data/misc/ replacing the current EPO.DAT. Much safer since we keep our previous EPO, until we are sure that the new EPO is properly downloaded.
[Android Q&A, Help & Troubleshooting] eben80:
I'm going to try and create a tasker app.
[Android Q&A, Help & Troubleshooting] TziMmysGr:
Ok, that would be great. Try to keep it as clean as possible, asking only for needed permissions.
[Android Q&A, Help & Troubleshooting] eben80:
Try this and tell me what you think.

Needs root..

It has no GUI, it basically just downloads the files from epodownload.mediatek.com and copies them to /data/misc and tells you when done.
[Android Q&A, Help & Troubleshooting] TziMmysGr:
I can not use the app now, because I am now on kitkat. But, what I think, is that it is a rather big app, installed it is about 4mbs, for an app with no gui. And also, there is also a app that does what yours, it is "MT GPS EPO Fix" ad works as it should. What is needed, imo, is a small app that does this, but also has a schedule capability. Only my opinions my friend! :)
[Android Q&A, Help & Troubleshooting] eben80:
Of course you have some points. As it's made with tasker I'm not able to take out anything to make it smaller.

One reason I'd use this is because of the speed and lack of ads... think minimal design :P

I've moved the temp download location from the SDCARD to the /data/data folder so you might be able to use it in KitKat if you want to give it a try.
[Android Q&A, Help & Troubleshooting] eben80:
I can't do anything about the size... but now you can schedule ;)

EPO Tools
[Android Q&A, Help & Troubleshooting] TziMmysGr:
Nice try mate. Is there an option for weekly or monthly, or just daily? You know, epo files are valid for one month. It is not necessary for daily updates.
[Android Q&A, Help & Troubleshooting] eben80:
Thanks. I'll add some additional options soon. Have you got some good reference sites about the EPO files, their frequency and what they contain?
[Android Q&A, Help & Troubleshooting] TziMmysGr:
No man, I really dot. Keep up the good work!
[Android Q&A, Help & Troubleshooting] eben80:
I've done quite a bit of work on this...

I've added a "One-Click" functionality that does the most common fixes automatically as well as a EPO scheduler...

You can download the app on PLAY Store
[Android Q&A, Help & Troubleshooting] TziMmysGr:
Well done eben80, excellent! Thank you for this.
[Android Q&A, Help & Troubleshooting] eben80:
Thanks, this is my first attempt of an app of any kind. I only tested it on my screen size, fHD, so I'm quite Curious if it displays properly elsewhere...