Hot answers tagged

7 votes
Accepted

How to open a specific page in OneNote app on Android via adb?

When you have OneNote APK installed on your mobile phone, try this: adb shell am start -a "android.intent.action.VIEW" -d "onenote:https://d.docs.live.net/...." Note, the &...
user avatar
  • 820
2 votes

are android 10 adb commands gimp'd?

To answer the headline question, no, Android 10 does not have "gimped" ADB commands, assuming you mean "restricted" or "crippled". If you wrote this script, you're in the ...
user avatar
2 votes

ADB ls doesn't sort by name

The ls command you run in the adb shell is provided by the Busybox (or Toybox) package on the device. The ls command you run on your Ubuntu machine is provided by Ubuntu Linux. They are not the same ...
user avatar
1 vote

How to open a specific page in OneNote app on Android via adb?

I ended up using the method documented in this gist: https://gist.github.com/llinfeng/affd7911645d7e8502b20d6f0a612842. In general, I find it helpful that Github "gists" should have better ...
user avatar
  • 195
1 vote

Rsync-like downloads over adb?

I tried the original adb-sync (https://github.com/google/adb-sync), but I couldn't get it to work due to an encoding error. The better-adb-sync fork (https://github.com/SelfAdjointOperator/better-adb-...
user avatar
1 vote

adb device always unauthorized

This worked for me: I revoked previous USB authorizations I killed and restarted the adb server using these commands: adb kill-server adb start-server I restarted the phone And ran adb devices ...
user avatar
1 vote

Halp...soft-bricked A40 after uninstalling apps ADB!

I'm proposing a possible way to solve this issue. There is an interesting comment below the answer to Can system apps be enabled/disabled directly from the filesystem? : "It is also safe to ...
user avatar
  • 117
1 vote

Halp...soft-bricked A40 after uninstalling apps ADB!

encryption is hardware-backed therefore userdata can decrypted on device itself only. to get adb access you need combination ROM + DID token. Still userdata is not accessable unless device is unlocked/...
user avatar
  • 3,215
1 vote

How can I reduce lag/crashes when mirroring a screen with scrcpy?

The docs say "It may be useful to decrease the bit-rate and the resolution:" scrcpy --bit-rate 2M --max-fps 15 --max-size 960 --bit-rate 2M - reduce the bit rate being sent (amount of data ...
1 vote

How to write to an Android system file?

By default, the /sys directory tree is read-only and maintained by Android's Linux kernel. Using it to control charging would require a customised kernel, and AFAIK Cynogenmod had a pretty generic ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible