New answers tagged

1

To add another option here's a Windows PowerShell version of the header manipulation: $file_in = (Get-Location).Path + "\backup.ab" $file_temp = (Get-Location).Path + "\temp.tgz" [int32[]]$header = 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00 $bytes = [System.IO.File]::ReadAllBytes($file_in) $bytesout = $header + $bytes[24..($bytes....


1

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


2

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. (default -...


1

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


1

The error is expected. adb shell by default doesn't allocate a TTY (terminal) which is required for interactive session. Instead use: adb shell -t bash -i


2

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


1

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


1

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


0

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 /sdcard /storage/emulated/0 /data/local/tmp depending on encryption and lock screen the location might not be available in this boot state, so better double check adb push ...


2

Run Android Emulator with --writable-system commandline option in order to temporarily disable dm-verity. Then you can run adb remount.


2

Use cmd notification: cmd notification post [flags] <tag> <text> If you are root notification will not be displayed: su -lp 2000 -c "cmd notification post -S bigtext -t 'Title' 'Tag' 'Multiline text'"


4

Run: 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. PS: 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 ...


1

Seems fixed λ adb --version Android Debug Bridge version 1.0.41 Version 30.0.4-6686687 The following works as expected adb shell input text 'Hindustan%sTrading%sCompany'


Top 50 recent answers are included