佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 2164|回复: 3

[只限root用户]Android手机卫星定位超快速方法(大概30秒内定位)

[复制链接]
发表于 20-11-2012 09:06 PM | 显示全部楼层 |阅读模式
只限给root用户!

这个是重新编写了手机里gps.conf的script, 使手机卫星定位比原来了快了好多倍。

*****在我的Samsung Galaxy Ace GT-S5830试用过了。*****

注意: 记得先Backup手机里原有的gps.conf!!!

步骤如下:

1. 到google play下载ES file explorer。

2.到http://www.mediafire.com/?ntxp30qrrv4k2ae下载已重新编写的gps.conf

3.把已下载的gps.conf放入手机SD card里。

4.打开ES file explorer, 按手机上的menu button, 然后选择Settings ----> Root settings ----> 4项目都打勾(如果有弹出Yes or No, 按Yes)。

5.在ES file explorer里寻找刚放入手机SD card里的gps.conf, 然后长按, 选择cut。

6.然后到左上角的Favourite,按 "/" 符号。

7.找System, 然后再找etc, 进到etc后, 在有上角按paste(如果问说要不要overwrite, 按Yes)。




gps.conf的script:
  1. NTP_SERVER=my.pool.ntp.org

  2. NTP_SERVER=0.my.pool.ntp.org

  3. NTP_SERVER=1.my.pool.ntp.org

  4. NTP_SERVER=2.my.pool.ntp.org

  5. NTP_SERVER=3.my.pool.ntp.org

  6. NTP_SERVER=0.asia.pool.ntp.org

  7. NTP_SERVER=1.asia.pool.ntp.org

  8. NTP_SERVER=2.asia.pool.ntp.org

  9. NTP_SERVER=3.asia.pool.ntp.org

  10. XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin

  11. XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin

  12. XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin



  13. # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info

  14. # 4 - Debug, 5 - Verbose

  15. DEBUG_LEVEL = 5



  16. # Intermediate position report, 1=enable, 0=disable

  17. INTERMEDIATE_POS=1



  18. # Accuracy threshold for intermediate positions

  19. # less accurate positions are ignored, 0 for passing all positions

  20. ACCURACY_THRES=0



  21. ################################
  22. ##### AGPS server settings #####
  23. ################################


  24. # FOR SUPL SUPPORT, set the following

  25. # SUPL_HOST=supl.host.com or IP

  26. # SUPL_PORT=1234

  27. SUPL_HOST=supl.google.com

  28. SUPL_PORT=7276



  29. # FOR C2K PDE SUPPORT, set the following

  30. # C2K_HOST=c2k.pde.com or IP

  31. # C2K_PORT=1234



  32. #################################
  33. #####         EXTRA SETTINGS                #####
  34. #################################



  35. # Wiper (wifi positioning), 1=enable, 0=disable

  36. ENABLE_WIPER=1



  37. #################################
  38. ##### AGPS Carrier settings #####
  39. #################################

  40. CURRENT_CARRIER=common

  41. DEFAULT_AGPS_ENABLE=TRUE

  42. DEFAULT_SSL_ENABLE=FALSE



  43. # TRUE for "User Plane", FALSE for "Control Plane"

  44. DEFAULT_USER_PLANE=TRUE



  45. #########################################
  46. ##### GPS QUICKEST FIX V1.3 By RJLM #####
  47. #########################################
复制代码
本帖最后由 teikkhim 于 20-11-2012 09:12 PM 编辑

回复

使用道具 举报


ADVERTISEMENT

发表于 21-11-2012 02:20 AM | 显示全部楼层
谢谢分享~
回复

使用道具 举报

发表于 21-11-2012 02:41 AM | 显示全部楼层
ACE定位不到怎么回事.....
S3已经锁好了,ACE还在找
S3找着,ACE一个卫星都没
2部都已经用了这种优化方案的啊
回复

使用道具 举报

 楼主| 发表于 21-11-2012 07:35 AM | 显示全部楼层
我的ACE用了这个方案, 定位超快的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 22-12-2025 04:49 AM , Processed in 3.450594 second(s), 28 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表