Service does not support the specified action on several default apps
golopupinsky opened this issue · comments
Running bagbak on built-in apps bundleids from here, some of them wouldnt finish dumping.
Specifically
com.apple.Music
com.apple.iBooks
com.apple.AppStore
are failing with "Service does not support the specified action"
export SSH_USERNAME=root && export SSH_PASSWORD=alpine && export SSH_PORT=22 && bagbak com.apple.Music
[info] pulling app bundle from device, please be patient
[info] downloaded 500 files and 218 folders
[info] app bundle downloaded
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
Error: unexpected error returned from pkd <dictionary: 0x2834e8b40> { count = 2, transaction: 0, voucher = 0x0, contents =
"errorcode" => <uint64: 0xa9b7c55f6bb2b8bf>: 4
"error" => <string: 0x2807a0a50> { length = 436, contents = "RBSLaunchRequest error trying to launch plugin com.apple.Music.StoreFlowExtension(AE9A1ED3-A3DF-428A-9650-BE5D92E831E1): Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x1045bffe0 {Error Domain=OSLaunchdErrorDomain Code=137 "Service does not support the specified action" UserInfo={NSLocalizedFailureReason=Service does not support the specified action}}}" }
}
at implementation (/script1.js:113)
at call (native)
at f (<input>:1) {
fileName: '/script1.js',
lineNumber: 113
}
Node.js v21.1.0
Tried on iphone 6s ios 15.7.8 (palerain) and 14.4 (checkrain), Frida 16.2.1, bagbak 3.3.1, macos 12.6, node v21.1.0
In fact, those apps are not encrypted
But yes there is indeed a bug that bagbak failed to detect binaries that are not encrypted. Just pushed a patch