Firefly Open Source Community

Title: Cannot connect using adb [Print This Page]

Author: terry.lim    Time: 12/14/2017 04:35
Title: Cannot connect using adb
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.


Author: leungÏÈÉ­    Time: 12/15/2017 09:41
  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

Author: terry.lim    Time: 1/5/2018 06:01
leungÏÈÉ­ Posted at 12/15/2017 09:41



Author: terry.lim    Time: 1/5/2018 06:02
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.
Author: leungÏÈÉ­    Time: 1/5/2018 10:11
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 .




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1