adb error
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: Can you please give me more info?
- Please post the full log.
- Is the phone in the recovery or in the normal mode?
@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: I haven't found what is the exact problem, can you please post the full log?
@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
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.
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 :
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.