Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Cannot connect using adb

34

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
34

Cannot connect using adb

Posted at 12/14/2017 04:35:21      View:5179 | Replies:4        Print      Only Author   [Copy Link] 1#
We have two RK3399 boards. Once is a 2GB version running Android 6, which I can connect using adb no problem. However, we just received another board which is 4GB and is running Android 7. I am not able to connect to it using adb. The driver loads and reports no errors, but "adb devices" shows nothing.

Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 12/15/2017 09:41:13        Only Author  2#
  1. --- a/system/core/drmservice/drmservice.c
  2. +++ b/system/core/drmservice/drmservice.c
  3. @@ -1096,11 +1096,13 @@ int main( int argc, char *argv[] )
  4.                 write_serialno2kernel(sn_buf_idb);
  5.                 SLOGE("get serialno from idb,serialno = %s",sn_buf_idb);
  6.         }
  7. -       else//auto generate serialno
  8. +
  9. +       if (sn_buf_idb[0]=='\0')
  10. +       //auto generate serialno
  11.         {
  12.                 generate_device_serialno(10,sn_buf_auto);
  13.                 property_set("sys.serialno", sn_buf_auto[0] ? sn_buf_auto : "");
Copy the code
Reply

Use props Report

34

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
34
Posted at 1/5/2018 06:01:01        Only Author  3#
Reply

Use props Report

34

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
34
Posted at 1/5/2018 06:02:06        Only Author  4#
Thanks for the response. Is this change something that was made to the released images? I have been using other boards that don't have this issue. I have not yet tried re-flashing this board with the latest image.
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/5/2018 10:11:15        Only Author  5#
terry.lim Posted at 1/5/2018 06:02
Thanks for the response. Is this change something that was made to the released images? I have been  ...

u just go to download the lastest firmware which have already fix that bug .
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