tingle icon indicating copy to clipboard operation
tingle copied to clipboard

adb error

Open Idesmi opened this issue 8 years ago • 6 comments

ERROR INFO ========== Type: <class 'subprocess.CalledProcessError'> Cmd: ['/usr/bin/adb', '-s', 'ZX1D23F8R7', 'pull', '/system/build.prop', '.'] Return code: 1 Output: adb: error: failed to copy '/system/build.prop' to './build.prop': remote open failed: Permission denied

ERROR CODE: 90

On Motorola Moto G 2nd gen (2014) titan

Tried first Magisk, then SuperSu, none worked.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Idesmi avatar Nov 14 '17 17:11 Idesmi

@Idesmi: Can you please give me more info?

  1. Please post the full log.
  2. Is the phone in the recovery or in the normal mode?

ale5000-git avatar Nov 14 '17 20:11 ale5000-git

@Idesmi did you find a solution for this? I have the same problem with Moto g5 (Cedric). Thanks

EDIT: nvm, patching while in recovery solved this.

pelomedusa avatar Dec 27 '17 22:12 pelomedusa

@pelomedusa: I haven't found what is the exact problem, can you please post the full log?

ale5000-git avatar Dec 28 '17 01:12 ale5000-git

@ale5000-git i may not have it anymore. Here are the details from what i remember:

  • I had the exact same error.
  • Retried in recovery mode -> it did not trigger the error, but ...
  • The script was stuck at "Rooting adbd ..." (similar to issue #15, except it did not detect it was already rooted )
  • Tried again with python3 instead of 2.7 in normal mode (not recovery) -> error 90 like before
  • Tried again with python3 in recovery -> Succeed!

I guess that's all. Could you confirm there is no risk running it once again? If it's safe to, i could then provide traceback/log

pelomedusa avatar Dec 28 '17 18:12 pelomedusa

Hi, thanks for the reply. There is no risk running it again since it will detect that the device is already patched and it won't patch it again.

I'm interested in the full log to discover why it cannot get build.prop

PS: It would be nice if you provide both the Tingle log and the logcat of Android.

ale5000-git avatar Dec 28 '17 23:12 ale5000-git

TIngle log :

 *** OS: Windows 10 (win)
 *** Python: 3.6.4 (64 bit)
 *** Mode: 1
 *** Working dir: C:\Users\PELOME~1\AppData\Local\Temp\Tingle-k83b72i1
 *** Selected device: ZY3224TWQJ
 *** Automounting /system...
      DEBUG: Already mounted
 *** Pulling framework from device...

ERROR INFO
==========
Type: <class 'subprocess.CalledProcessError'>
Cmd: ['C:\\Users\\Pelomedusa\\AppData\\Local\\Android\\sdk\\platform-tools\\adb.exe', '-s', 'ZY3224TWQJ', 'pull', '/system/build.prop', '.']
Return code: 1
Output: adb: error: failed to copy '/system/build.prop' to '.\build.prop': open failed: Permission denied


ERROR CODE: 90

LOGCAT :

logcat.txt

Just to clarify, this is my first logcat. I did adb logcat > logcat.txt in a terminal, then pressed 1 on tingle (patch file from a device) in another terminal, then ctrl+c on the logcat term. I hope that's what you expected.

pelomedusa avatar Dec 29 '17 16:12 pelomedusa