Since this adb server version (XX) doesn't match this client (YY); killing... seems to be a very prominent question, let me present the quite straight forward solution - I actually wonder why it wasn't answered anywhere else or at least, I couldn't find it. To find the version of ADB you are using, type adb version to get something like:
Android Debug Bridge ...
I found the reason in logcat while performing an backup:
BackupManagerService: Package com.android.chrome is key-value.
By default for abd backup keyvalue backups are disabled:
"/system/bin/bu" (the command that is called on-device by adb backup) help text:
-keyvalue|-nokeyvalue: include apps that perform key/value backups.
For those who are trying to install XAPK files through adb because their XAPK Installer does not work on their Android phone, I've got you covered.
You must have Android Debug Bridge (ADB) set up and working.
XAPK files are basically ZIP Archive files (described by their PK header at the beginning of the file)
This means we are able to open/extract those ...
mksh developer here.
mksh uses UTF-8 internally, but is currently limited to the BMP (basic multilingua plane), which means U+0000 to U+FFFD. If you want to use SMP codepoints (U-00010000 to U-0010FFFD) on the input line, you currently have to disable the UTF-8 mode (sorry):
$ set +U
That switches to a byte-wise mode which does not limit the input. (You can ...
It seems that the reason for this is because you are using the N version of Windows. Microsoft explicitly states that some features are effected in this version. Users have reported that the wpdmtp.inf file is missing, and this is why the MTP protocol has error.
You can download Media Feature Pack to fix this.
And why does this need to happen?
From What Is ...
Often you first have to install the driver and then connect the device. If you do it the other way around the driver will not be applied correctly. Delete the shown MTP entry and disconnect + reconnect your phone. Also run Windows update with enabled "updates for all Microsoft products".
Regarding adb your new PC is unknown to the device (because ...
before actually running adbcontrol you must specify paths in config file
check adb connection is working fine (previously authorized) and find a writeable location on device, for example
depending on encryption and lock screen the location might not be available in this boot state, so better double check adb push ...
settings put global adb_enabled 1
You can also start adbd service by executing start adbd or setprop ctl.start adbd. But I prefer the settings way because it properly goes through Android framework.
For clarification, adbd listens on port 5555 only if ADB over Network is enabled (from Developer Options, or by running setprop service.adb.tcp.port ...