3

I am having a mobile with following configurations:

  • Model Name: Samsung S22 Ultra
  • Model Number: SM-S908E
  • Android Version: 12

I enabled developer options and USB debugging and I am able to execute adb devices, adb install filename.apk.

I need to push some bin and python files into the location /sdcard/Android/data/com.company.lc.us.lm/files/.

I am using this command:

adb push MyFolder /sdcard/Android/data/com.company.lc.us.lm/files/

Following is the error I am getting:

remote secure_mkdirs failed: Operation not permitted adb: error: failed to read copy response

I had gone through multiple threads with this error. Most of the solutions needs to root the mobile phone. I actually dont want to root my phone as in my remaining samsung phones I am able to adb push successfully without any error without root.

Had anyone faced this issue? If so please let me know the solution. Thanks in advance.

  • Have you tried to manually create the folder via adb and then push one file to test if it works at all? – Robert Jul 01 '22 at 07:17
  • @Robert yes I am able to create a folder at the location /sdcard via abd and adb push is happening into the folder successfully. Also I am able to create a folder inside /sdcard/Android/data using adb . But push is failing , The folder I am pushing has 9 folders with bin files in each of them . Few are getting pushed at some other bin file I am facing this issue. – Avinash Duggirala Jul 01 '22 at 07:26
  • I would give `adb-sync` a try, may be it works better as it pushed the files individually. – Robert Jul 01 '22 at 08:26

0 Answers0