Installation of the device in the car
Began to cook the piece of iron to work in the car as a carpc - screwed GPS
The economy was lying on Chinese GPS receiver clone BU-353.
Something like that.
I tried to pick up the driver for a long time, but it turned out that in the firmware on today's day - WETEK 1.1.4 - PL2303.ko is already present.
When connecting the USB device, the device / dev / ttyusb0 appears
Using the advice of the forum
http://www.pccar.ru/showThread.php?t=18871Add a library.
GPS.DEFAULT.SO file throw in / System / LIB / HW and exhibit right 644
GPS.DEFAULT.ZIP.(6.25 KB)
Using Root Explorer
1. Create the /System/etc/init.d folder
2. Assign her rights 755
3. Create a 01myscript file in the folder with the following content.
#! / system / bin / sh
busybox stty -F / dev / ttyUSB0 ispeed 4800
busybox chmod 666 / dev / ttyUSB0
setprop ro.kernel.android.gps ttyUSB0
The created file should not have any extension, (even .sh).
4. We assign him the rights of 755
Install the application
Universal Init.dRun. We give the rights of the Superwater. The application itself finds our 01myscript. Turn on
(ON) For Automatic Execution of Script.
Now there is a library and is in autorun.
Now you need to enable "Settings ->Location ->On satellites "
To add it to, you need to create an missing Android element.hardware.location.gps.xml in the \ System \ etc \ permissions folder with the following contents:
<? xml version = "1.0" encoding = "utf-8"?>
<! - Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<! - GPS devices. ->
<permissions>
<feature name = "android.hardware.location" />
<feature name = "android.hardware.location.network" />
<feature name = "android.hardware.location.gps" />
</ permissions>
Voila! The button appeared
It remains to deceive Google Play. Now he thinks that we have no GPS and therefore speaks of an incompatible application.
I made the piece of iron to stop Nexus 7. Perhaps not the best choice in terms of compatibility. If colleagues prompt something better, I will be grateful. : blush:
To do this, in the /System/Build.prop file replaced two lines
ro.product.model = Nexus 7
ro.product.brand = google
Now Yandex Navigator works on the piece
GPS Test shows five satellites, despite the fact that the receiver lies in the room on the windowsill.
Put in the car.
Video - video output CVBS
Internet - 4G modem -
like thisTachsrin - on the controller from Yuri Molchanova.
http://www.pccar.ru/showThread.php?t=19437Post has been editedGhans - 27.03.16, 12:12Reason for editing: in the header