Conversation

Replying to and
To fully pass the CTS, you need to have a non-test-key-signed release / user build. Something that amuses me is that the public CTS build published by Google isn't signed with release keys and it gets mad about the apps it sees using the test key that it installed itself.
1
2
Replying to
I think it's a set of app-based test suites that are installed and run on the device rather than host tests, and it just triggers LocalTransport via adb and then does most of the work via the code running on the device. I'm normally just running the CTS tests, not writing them.
1
Replying to
I *think* that test suite never actually pulls any data to the host? it just uses a lot of apks to exercise the transport, and matches logcat messages for what it can't do that way
2
1
Replying to
Ah, interesting. It's not as useful as I thought without a way to get the data on a user build. What I really don't understand is why adb backup is so horrible and why it's even adb functionality instead of a proper feature for end users based on an actual backup service.
1
3
Replying to and
Yeah, this definitely doesn't seem to be intended for production or with security in mind. Theoretically, if you're willing to suffer, you could pull data without root by catting the file over adb shell and redirect into a file on the host, but iirc it would be painfully slow.