AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 691468
Accepted
eDeviser
eDeviser
Asked: 2015-10-30 03:01:50 +0800 CST2015-10-30 03:01:50 +0800 CST 2015-10-30 03:01:50 +0800 CST

如何在 Nexus 4 上使用 GPS?

  • 772

我在 Nexus 4 上运行 Ubuntu Touch 15.04,但 GPS 不工作。

当然,我在顶部菜单中启用了“位置检测”和“GPS”。此外,我在“设置”菜单中启用了“手机数据”,并授予了相应应用程序的权限。

Unav、GoogleMaps 和 Sensorstatus,它们都无法找到我。

我用稳定通道 (15.04 r5) 和 RC 通道 (15.04 23 (Ie OTA7)) 试了一下

任何人有成功使用 GPS 的想法吗?


这里有一些截图。我想知道,因为可能性比 costales 链接少。

设置[1]

设置[2]

我什至在关闭 WIFI 的情况下在窗户附近试了几个小时。

我现在闪现了 rc-proposed/BQchannel。我的设置菜单现在看起来不一样了,但 GPS 仍然无法正常工作。

设置[3]

设置[4]

最后我找到了这个Bug-Report,也许它是一个已知的错误。

ubuntu-touch
  • 4 4 个回答
  • 2038 Views

4 个回答

  • Voted
  1. Best Answer
    Mindaugas
    2016-04-22T08:19:06+08:002016-04-22T08:19:06+08:00

    在 Nexus 4 上,您可以通过两种方式使用 GPS。

    1. 使用普通GPS。
    2. With A-GPS (Assisted GPS with anonymized Wi-Fi and cellular network info; it can be named as Nokia HERE service).

    1. 使用 GPS

    转到位置设置并选择“仅使用 GPS”。

    在此处输入图像描述

    这是选项的问题,第一次获得位置可能需要很长时间。所以把你的手机放在窗户附近,打开 uNav 应用程序(Ubuntu 导航应用程序),点击一个按钮找到你的位置,并在 uNav 应用程序打开的情况下放置一个小时,直到它找到你的位置。如果找不到位置,请查看 GPS 设置(也要检查电池设置底部),尝试启用/禁用。如果一切正常,请尝试重新启动设备。然后转到 uNav 应用程序并重试,直到它找到您的位置。

    Then it finds your position, then navigation works very well. But if you experience any issues using navigation (navigation stops, is choppy or does not the direction), close other apps that might be using navigation as well at the same time (if it does not help, remove GPS permissions from other apps) (this is a known bug, bug report here)

    2. Usage with A-GPS

    Benefit of this way is that it immediately finds your position and you don't have to wait.

    Main Ubuntu channel does not use third-party services, so this option is only available if you flash bq-aquaris.en channel to your device. This channel is adapted for use of several devices, including mako (Nexus 4).

    Instruction how to change channel:

    1. Install developer tools on your computer (more info here)
    2. Enable developer mode on your phone (Settings > About > Developer mode > Enable)
    3. Connect the phone to the computer.
    4. In terminal write "adb reboot recovery"
    5. Phone restarts automatically and enters screen with android picture.
    6. In terminal write "ubuntu-device-flash touch --channel=ubuntu-touch/stable/bq-aquaris.en"
    7. Wait untill ubuntu flash the image and boots up. Finish.

    Now you will find A-GPS setting on your device, select it.

    在此处输入图像描述

    If it does not find your position immediately, restart your phone and try again.

    If after finding the position navigation does not work well, then again, close other apps that might be using navigation as well at the same time for it to work well (see https://bugs.launchpad.net/ubuntu/+source/location-service/+bug/1468020)

    Other notes:

    1. A-GPS 独立于无线电版本工作,它可以是旧的也可以是新的,没关系。
    2. Compass 尚未在 Ubuntu Touch 上实现,但它会在你开车时计算出你的正确方向,所以它很好。
    • 3
  2. Tom Rhodes
    2016-01-20T08:10:40+08:002016-01-20T08:10:40+08:00

    经过几个月的破坏,终于有了一些东西可以工作。我闪现了谷歌提供的最新收音机。转到此处,链接,向下滚动到 Nexus 4 部分,底部是最新的。下载,解压,cd到解压目录,然后执行:

    adb reboot bootloader

    fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1701.07.img

    然后我刷了rc bq-aquaris.en频道:

    ubuntu-device-flash touch --channel=ubuntu-touch/rc/ubuntu/bq-aquaris.en
    

    现在 HERE 地图和 uNav 可以按预期工作,谷歌地图和天气应用程序也是如此。

    • 1
  3. mrm
    2016-02-19T11:56:53+08:002016-02-19T11:56:53+08:00

    我发现切换到 bq-aquaris.en 稳定频道可以解决问题。我在 ubuntu-touch/stable/ubuntu 上使用最新的 Nexus 4 收音机 (radio-mako-m​​9615a-cefwmazm-2.0.1701.07.img) 并且 GPS 不工作。

    将手机插入我的电脑后,运行以下命令:

    ubuntu-device-flash touch --channel=ubuntu-touch/stable/bq-aquaris.en
    

    手机切换到 bq-aquaris.en 频道,保留了我的所有数据和设置,还有工作中的 GPS!

    • 1
  4. Costales
    2015-11-01T12:50:51+08:002015-11-01T12:50:51+08:00

    这里有一位 uNav 开发人员 |o/ 也许我可以帮到你一点。

    检查电话配置就像这些屏幕截图:

    • https://goo.gl/ztIXcI
    • https://goo.gl/4j4oQu
    • https://goo.gl/7vHPrF

    • 在 WIFI 关闭的情况下尝试应用程序;)有一个关于那个的错误(为下一个 OTA 修复)。

    • 我想你还没有 HERE 地图?在稳定版本中,您需要允许访问。
    • 你能把手机放在靠近窗户的地方 ~1 小时吗?

    一个拥抱!

    • 0

相关问题

  • 可以在华硕变压器上安装 Ubuntu 吗?

  • 是否会专注于为 Unity 创建可停靠的屏幕键盘?

  • 适用于 Ubuntu/Linux 的平板电脑硬件?

  • 是否有可用于 Ubuntu 的以平板电脑为中心的桌面?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve