Difference between revisions of "Template:RK3399-Android-4G-EC20"

From FriendlyELEC WiKi
Jump to: navigation, search
Line 1: Line 1:
 
===Work with 4G Module EC20 under Android===
 
===Work with 4G Module EC20 under Android===
 
====Hardware Setup====
 
====Hardware Setup====
连接时,需要通过USB to miniPCIe转接板转接EC20,再连接到主板的USB Host端口,如下图所示:<br />   
+
Connect an EC20 module to a USB to miniPCIe board and connect the board to an ARM board's USB Host. Here is a hardware setup:<br />   
 
{{#switch: {{{1}}}
 
{{#switch: {{{1}}}
 
  | NanoPC-T4 =
 
  | NanoPC-T4 =

Revision as of 12:57, 22 November 2018

1 Work with 4G Module EC20 under Android

1.1 Hardware Setup

Connect an EC20 module to a USB to miniPCIe board and connect the board to an ARM board's USB Host. Here is a hardware setup:

连接后无需额外的配置,启动Android后就可以使用4G上网了,跟Android手机类拟。

1.2 启用EC20的GPS功能

默认情况下,Android的GPS功能是关闭的 (原因是Android在没有找到任何GPS模块的情况下,会不停的打印LOG信息),在你连接了EC20模块后,就可以开启GPS了。
开启方法是修改Android源代码下的 vendor/quectel/ec20/BoardConfigPartial.mk 文件,将下面这行:

BOARD_HAS_GPS := false

改为

BOARD_HAS_GPS := true

然后重新编译 Android。