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.

--- a/system/core/drmservice/drmservice.c
+++ b/system/core/drmservice/drmservice.c
@@ -1096,11 +1096,13 @@ int main( int argc, char *argv[] )
                write_serialno2kernel(sn_buf_idb);
                SLOGE("get serialno from idb,serialno = %s",sn_buf_idb);
        }
-       else//auto generate serialno
+
+       if (sn_buf_idb[0]=='\0')
+       //auto generate serialno
        {
                generate_device_serialno(10,sn_buf_auto);
                property_set("sys.serialno", sn_buf_auto[0] ? sn_buf_auto : "");

leung先森 Posted at 12/15/2017 09:41

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.

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 .