Revert "[Feature][T8TSK-250][ADBD]add adb debug patch"

This reverts commit 0300fcc023c83b5b569b0c0799aff58cfd65dd39.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I82e92daf5003f885c4732744291c57425ef27642
diff --git a/src/devtools/adb/file_sync_client.c b/src/devtools/adb/file_sync_client.c
index c37e321..ad59e81 100644
--- a/src/devtools/adb/file_sync_client.c
+++ b/src/devtools/adb/file_sync_client.c
@@ -1014,3 +1014,22 @@
     }
 }
 
+int do_sync_sync(const char *lpath, const char *rpath, int listonly)
+{
+    fprintf(stderr,"syncing %s...\n",rpath);
+
+    int fd = adb_connect("sync:");
+    if(fd < 0) {
+        fprintf(stderr,"error: %s\n", adb_error());
+        return 1;
+    }
+
+    BEGIN();
+    if(copy_local_dir_remote(fd, lpath, rpath, 1, listonly)){
+        return 1;
+    } else {
+        END();
+        sync_quit(fd);
+        return 0;
+    }
+}