0

adb shell sends \r\n instead of \n. Can I tell adb to not change the datastream (just like I can with ssh)?

0

Yes, but:

The linebreak conversion is not done by ADB, but your host system (and its console host), Windows.

This issue has already been discussed on SO, and there are a few posts providing possible solutions. Here are some of them

  • If it is done by GNU/Linux, why can I not do: 'adb shell cat binaryfile > localfile' and have localfile be the same as binaryfile? – Ole Tange Jun 13 '17 at 10:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.