Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Android] Can't recognize USB device after build new imag

5

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
5

【Android】 Can't recognize USB device after build new imag

Posted at 4/3/2020 11:11:55      View:3667 | Replies:0        Print      Only Author   [Copy Link] 1#
Hello,

I am using FireFly-RK3399 Board for Android7.1
I made image and updated to board.  It can boot and can see on EDP lcd.
But when I connect to my PC,  PC doesn't recognize USB device.

Here is what I have done....


1. I followed this wiki page (Build Android7.1)
   http://wiki.t-firefly.com/en/Fir ... id7.1_firmware.html
   
   My computer : Ubuntu14.  8G RAM.  300GB disk space
   
2. Installed OpenJDK8
   Done Ubunt13.10/14.04 packages install
   Installed ARM cross compiling toolchain
   
3. Downloaded Android7.1SDK and Bundle
4. Unzip and git stuff (git reset --hard,  git rebase FETCH_HEAD)

5. Executed these
    export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
    export PATH=$JAVA_HOME/binPATH
    export CLASSPATH=.JAVA_HOME/libJAVA_HOME/lib/tools.jar
   
6. And I have 8GB RAM, Not 16GB RAM.  So excuted these too.
    export JACK_SERVER_VM_ARGUMENTS=".-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx:4096m"
    out/host/linux-x86/bin/jack-admin kill-server
    out/host/linux-x86/bin/jack-admin start-server
   
7. I have EDP LCD. So I did... "Compile EDP7.85"
    ./FFTools/make.sh -j8 -d rk3399-firefly-edp -l rk3399_firefly_edp_box-userdebug
    ./FFTools/mkupdate/mkupdate.sh -l rk3399_firefly_edp_box-userdebug
   
8. Successfully made image.

9. And updated image using AndroidTool
    rockdev/Firefly-RK3399_Android7.1.2_EDP785_200402.img
  
10. Successfully updated.  And can see Android launcher in  EDP LCD

11. And I connected USB to Computer.  But Computer(Windows, Ubuntu14) can not recognize device.
    In device manager, just can see "USB Composite Device"  

   
What did I miss ??  
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list