ale5000-git / tingle

Tingle - Android patcher
http://forum.xda-developers.com/showthread.php?t=3438764
GNU General Public License v3.0
160 stars 11 forks source link

adb error #41

Open Idesmi opened 6 years ago

Idesmi commented 6 years ago

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!](https://www.bountysource.com/issues/51548609-adb-error?utm_campaign=plugin&utm_content=tracker%2F43052892&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F43052892&utm_medium=issues&utm_source=github).
ale5000-git commented 6 years ago

@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?

pelomedusa commented 6 years ago

@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.

ale5000-git commented 6 years ago

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

pelomedusa commented 6 years ago

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

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

ale5000-git commented 6 years ago

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.

pelomedusa commented 6 years ago

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.