[Galaxy Tab 2 7" Android Development] joeinternet:
That worked! What was the trick?

Encryption still doesn't work - I'm fairly certain it's got something to do with whatever's being called for the decryption key. The patch works fine against an unencrypted system, but once I flipped encryption on, it got stuck at the poorly-formatted boot animation as if it were unable to load the encryption status UI.

Here are what appear to be the relevant bits from logcat:

E/System (12193): ******************************************

E/System (12193): ************ Failure starting core service

E/System (12193): java.lang.RuntimeException: Unable to find android system package

E/System (12193): at com.android.server.am.ActivityManagerService.setSystemProcess(ActivityManagerService.java)

E/System (12193): at com.android.server.ServerThread.run(SystemServer.java)

E/System (12193): Caused by: android.content.pm.PackageManager$NameNotFoundException: android

E/System (12193): at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java)

E/System (12193): ... 2 more

I/SystemServer(12193): Input Method Service

F/SystemServer(12193): BOOT FAILURE starting Input Manager Service

F/SystemServer(12193): java.lang.SecurityException: Unable to find app for caller android.app.ActivityThread$ApplicationThread@40ee7a68 (pid=12193) when registering receiver android.app.LoadedApk$ReceiverDispatcher$InnerReceiver@412c0290

F/SystemServer(12193): at com.android.server.am.ActivityManagerService.registerReceiver(ActivityManagerService.java)

F/SystemServer(12193): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java)

F/SystemServer(12193): at android.app.ContextImpl.registerReceiver(ContextImpl.java)

F/SystemServer(12193): at android.app.ContextImpl.registerReceiver(ContextImpl.java)

F/SystemServer(12193): at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java)

F/SystemServer(12193): at com.android.server.ServerThread.run(SystemServer.java)

W/SystemServer(12193): ***********************************************

I/SystemServer(12193): Accessibility Manager

F/SystemServer(12193): BOOT FAILURE starting Accessibility Manager

F/SystemServer(12193): java.lang.SecurityException: Unable to find app for caller android.app.ActivityThread$ApplicationThread@40ee7a68 (pid=12193) when registering receiver android.app.LoadedApk$ReceiverDispatcher$InnerReceiver@41024d20

F/SystemServer(12193): at com.android.server.am.ActivityManagerService.registerReceiver(ActivityManagerService.java)

F/SystemServer(12193): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java)

F/SystemServer(12193): at android.app.ContextImpl.registerReceiverAsUser(ContextImpl.java)

F/SystemServer(12193): at com.android.internal.content.PackageMonitor.register(PackageMonitor.java)

F/SystemServer(12193): at com.android.server.accessibility.AccessibilityManagerService.registerBroadcastReceivers(AccessibilityManagerService.java)

F/SystemServer(12193): at com.android.server.accessibility.AccessibilityManagerService.<init>(AccessibilityManagerService.java)

F/SystemServer(12193): at com.android.server.ServerThread.run(SystemServer.java)

F/SystemServer(12193): BOOT FAILURE making display ready

F/SystemServer(12193): java.lang.NullPointerException

F/SystemServer(12193): at com.android.server.ServerThread.run(SystemServer.java)

W/SystemServer(12193): ***********************************************

W/SystemServer(12193): ***********************************************

Progress nonetheless. Thanks very much for your effort!

-Joe