USB GPS Working.

Discussion in 'Android' started by idorel77, Sep 27, 2015.

  1. idorel77

    idorel77 Member

    Joined:
    Jul 25, 2014
    Messages:
    131
    Likes Received:
    2
    Hi, efter a long search i found it a way to use Gps without any program (you are here gps...)
    My GPS model is: BU-353S4

    Get sounce code android 4.4.2
    Modify files: Source/device/fsl/udoo
    BoardConfig.mk
    BOARD_HAVE_HARDWARE_GPS := true
    USE_ATHR_GPS_HARDWARE := false
    USE_QEMU_GPS_HARDWARE := false

    init.rc
    # Set GPS serial and reset GPIO pin - delete all is under gps section(next 4-5 lines), in case you don't use that .
    and add this 2 lines.
    setprop ro.kernel.android.gps ttyUSB0
    symlink /dev/ttyUSB0 /dev/gpsdevice

    Source/device/fsl/imx6/etc
    ueventd.freescale.rc
    add - /dev/ttyUSB0 0660 system gps

    Modify Kernel:
    make -C kernel_imx menuconfig
    and check : <*> USB Prolific 2303 Single Port Serial Driver

    Build Android and put on sd card.
    Go to : https://github.com/dipcore/gps-glonass-android-driver
    download ''gps.default.so'' and copy in /system/lib/hw/
    Modify /system/build.prop and add :
    ro.kernel.android.gps=ttyUSB0
    ro.kernel.android.gps.speed=4800
    ro.kernel.android.gps.max_rate=1

    4800 (in my case)
    Reboot.

    Have Fun!
    Maybe some steps is not needed but this i done .





     
    Last edited by a moderator: Sep 28, 2015
  2. iddqd

    iddqd Member

    Joined:
    Mar 24, 2014
    Messages:
    56
    Likes Received:
    11
    Thank you.
    I'll try it.
     

Share This Page