[Android Software/Hacking General [Developers Only]] thibz:
[JB:CM10:HYBRD] PARANOIDANDROID [1.992, True HybridMode, Size & UI on Per App Basis]

./auto_patcher <ROM>.zip pdroid cm10 20120806

$ ./auto_patcher pa.zip pdroid cm10 20120806

The Auto-Patcher v1.9.6

### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
### unzip rom ###
\d▒compress▒ : system/framework/core.jar
\d▒compress▒ : system/framework/framework.jar
\d▒compress▒ : system/framework/services.jar
### create updater script ###
\d▒compress▒ : META-INF/com/google/android/update-binary
\d▒compress▒ : META-INF/com/google/android/updater-script
... using Clockworkmod installer ...
### create restore.zip ###
### decompile framework.jar ###
... extract preloaded-classes ...
### decompile core.jar ###
### decompile services.jar ###
### copy patch pdroid/cm10/20120806 ###
... copying tmp/system/framework/framework.jar.out/smali/android/content/ContentResolver.smali ...
... overwriting tmp/system/framework/framework.jar.out/smali/android/content/ContentResolver.smali from pdroid ...
### jar patch pdroid/cm10/20120806 ###
### apply framework.patch ###
The next patch would create the file 'smali/android/app/ContextImpl$39.smali',
which already exists! Skipping patch.
1 out of 1 hunk ignored
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file smali/android/content/ContentResolver.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/location/Location.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file smali/android/widget/AppSecurityPermissions.smali.rej
... apply preloaded.patch ...
### apply core.patch ###
### apply services.patch ###
1 out of 7 hunks FAILED -- saving rejects to file smali/com/android/server/am/ActivityManagerService.smali.rej
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed services.patch
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! please refer to /cygdrive/c/cygwin/ap/log20120825120026 for any debugging

! patching failed.
! it may be possible to patch /cygdrive/c/cygwin/ap/pa.zip using other patch version

smali auto patcher v1.9.6
pdroid 1.32 patches 2012.08.20.
v6supercharger patches 2012.08.17.

usage: ./auto_patcher ROM.ZIP MODS [ROMTYPE] [PATCHDATE]

MODS can be pdroid,v6supercharger or pdroid or v6supercharger
optional [ROMTYPE] can be cm9, aokp, etc.
optional [PATCHDATE] can be specified to use older patch versions.
try "./auto_patcher ROM.ZIP -h" to see what is available

I tried to patch the latest CM10 I9100 official : failed

$ ./auto_patcher cm-10-20120821-EXPERIMENTAL-i9100-CODEWORKX.zip pdroid

The Auto-Patcher v1.9.6

### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
### probe rom type ###
\d▒compress▒ : system/build.prop
### Result of ROM check cm10 ###
### unzip rom ###
\d▒compress▒ : system/framework/core.jar
\d▒compress▒ : system/framework/framework.jar
\d▒compress▒ : system/framework/services.jar
### create updater script ###
\d▒compress▒ : META-INF/com/google/android/update-binary
\d▒compress▒ : META-INF/com/google/android/updater-script
... using Clockworkmod installer ...
### create restore.zip ###
### decompile framework.jar ###
... extract preloaded-classes ...
### decompile core.jar ###
### decompile services.jar ###
### copy patch pdroid/cm10/latest ###
... copying tmp/system/framework/framework.jar.out/smali/android/content/ContentResolver.smali ...
... overwriting tmp/system/framework/framework.jar.out/smali/android/content/ContentResolver.smali from pdroid ...
### jar patch pdroid/cm10/latest ###
### apply framework.patch ###
... apply preloaded.patch ...
### apply core.patch ###
### apply services.patch ###
1 out of 7 hunks FAILED -- saving rejects to file smali/com/android/server/am/ActivityManagerService.smali.rej
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed services.patch
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! please refer to /cygdrive/c/cygwin/ap/log20120825121253 for any debugging

! patching failed.
! it may be possible to patch /cygdrive/c/cygwin/ap/cm-10-20120821-EXPERIMENTAL-i9100-CODEWORKX.zip using other patch version

smali auto patcher v1.9.6
pdroid 1.32 patches 2012.08.20.
v6supercharger patches 2012.08.17.

usage: ./auto_patcher ROM.ZIP MODS [ROMTYPE] [PATCHDATE]

MODS can be pdroid,v6supercharger or pdroid or v6supercharger
optional [ROMTYPE] can be cm9, aokp, etc.
optional [PATCHDATE] can be specified to use older patch versions.
try "./auto_patcher ROM.ZIP -h" to see what is available

i tried last CM9 Stable : cm-9.0.0-galaxys2.zip pdroid

working