Conversation

Look what you do to people sometimes, security.
Quote Tweet
OK so - adb push into the data directory of my application is not allowed because of permissions - but i'm allowed to adb push into a temp directory, then adb shell, then run-as, then copy files over - what. why. - that's slow - can i work around it? - how do people live this way
Show this thread
Image
1
5
Replying to
it's baffling because there's no security! it makes it really hard to develop code without protecting against any attack i can think of!
2
1
Replying to and
The build of an app build being debuggable isn't reflected in the app data permissions. It's not a case of security people locking stuff down and making development inconvenient. ADB is a low-level tool and isn't designed to offer a high level user interface.
3
Replying to and
Debugging on a mobile device isn't done the same way as traditional development, since it's tethered to another host. ADB is the low-level implementation of that bridge between the devices. It's not a debugger or an app development tool.
2
Show replies
It's not a debugger but rather a remote shell / bridging tool like SSH. It has similar basic capabilities: shell, push, pull, socket forwarding, etc. along with more Android-specific development features (like `adb disable-verity` and `adb sync` to push OS changes for OS dev).