PINE64
Android Pine A64 driver - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5)
+--- Thread: Android Pine A64 driver (/showthread.php?tid=1460)



Android Pine A64 driver - pingyingtu - 06-21-2016

Hi,
I got a Pine A64 2G device,
I want to write some apks on it.

1) When I connet the device to Windwos 7 through USB, 
adb do not regcognize Pine A64 device.
I think I need the Windows 7 driver for this device.
Is there a drivers?

2) I want to use PI 2 pin on Android to control some Iot devices(ex SPI / I2C).
I will try to port some raspberry pi program to Android on Pine A64.
(Qt is support raspberry pi and Android, this is a good way for Iot)
Is Android version support PI 2 pin?


RE: Android Pine A64 driver - nagmier - 06-21-2016

I'm not sure as I haven't tried it but did you make sure ADB debugging was enabled in android system settings?


RE: Android Pine A64 driver - pingyingtu - 06-21-2016

Hi Nagmier,
ADB debugging was enabled in Android system settings,
I have turn it on at developer options.


RE: Android Pine A64 driver - pingyingtu - 06-22-2016

Hi,
1) I try to use adb via usb in linux(mint), but do not work.
So, I think the usb just a power line, can't transfer data.

2) I use adb connect ip, PineA64 can to be connected.
But sometime it disconnect. I don't why.

3) I start a new apk in Android Studio, empty apk,
I can't debug the apk.

4) adb shell not work

5) I'm so sad.


RE: Android Pine A64 driver - xalius - 06-22-2016

(06-22-2016, 04:11 AM)pingyingtu Wrote: Hi,
1) I try to use adb via usb in linux(mint), but do not work.
So, I think the usb just a power line, can't transfer data.

2) I use adb connect ip,  PineA64 can to be connected.
But sometime it disconnect. I don't why.

3) I start a new apk in Android Studio, empty apk,
I can't debug the apk.

4) adb shell not work

5) I'm so sad.

Hi.Which USB are you using? The micro-USB is only power. The other two are connected to individual host controllers, so you have to look into that. I am no Android developer, but I know that for bootloader over the USB, a special A to A cable is used. This will probably only work for the OTG controller since it can switch directions... using an A to A cable the wrong way can damage your devices, so proceed with caution.


RE: Android Pine A64 driver - pingyingtu - 06-22-2016

>Which USB are you using? The micro-USB is only power.
Yes, I use micro-usb.

I will try another type-A usb.


RE: Android Pine A64 driver - tllim - 06-22-2016

(06-22-2016, 04:52 AM)pingyingtu Wrote: >Which USB are you using? The micro-USB is only power.
Yes, I use micro-usb.

I will try another type-A usb.

The OTG port is on the upper USB Type A port and you need a adapter.


RE: Android Pine A64 driver - Mpoint - 11-19-2016

(06-22-2016, 04:52 AM)pingyingtu Wrote: >Which USB are you using? The micro-USB is only power.
Yes, I use micro-usb.

I will try another type-A usb.

Hello Pingyingtu

Were you able to connect to the Pine64 using type-A usb port ? What Driver did you select in Android SDK Manager ? I have order type A to type A cable from ebay. Just waiting for it to arrive. Cannot wait to use a dedicated board for app debugging. Smile