[Android Software/Hacking General [Developers Only]] vhick:
I failed to patch CM9 for Galaxy W I8150 by arco69. I patch successfully the ROM in the previous version of Auto-Patcher.

Please see the error log:

http://codepad.org/qF2nD2FI

ROOT= /cygdrive/d/Auto-Patcher GUI/ApGPackages/ap
TOOL= /cygdrive/d/Auto-Patcher GUI/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/d/Galaxy W GT-I8150 Files/Galaxy I8150 ROM/Custom Roms/CM9/cm-9-20121221-EXPERIMENTAL-ancora-rc2.zip
ROMX= D:\GALAXY~1\GALAXY~1\CUSTOM~1\CM9\CM-9-2~1.ZIP

### verify tools ###
/cygdrive/d/Auto-Patcher GUI/ApGPackages/cygwin/bin/patch
/cygdrive/d/Auto-Patcher GUI/ApGPackages/cygwin/bin/tar
/cygdrive/d/Auto-Patcher GUI/ApGPackages/Java/bin/jar
/cygdrive/d/Auto-Patcher GUI/ApGPackages/Java/bin/java
/cygdrive/d/Auto-Patcher GUI/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/d/Galaxy W GT-I8150 Files/Galaxy I8150 ROM/Custom Roms/CM9/cm-9-20121221-EXPERIMENTAL-ancora-rc2.zip pdroid,v6supercharger cm
PATH= /cygdrive/d/Auto-Patcher GUI/ApGPackages/ap/tmp20130128134635:/cygdrive/d/Auto-Patcher GUI/ApGPackages/Java/bin:/cygdrive/d/Auto-Patcher GUI/ApGPackages/cygwin/bin:/cygdrive/d/Auto-Patcher GUI/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

... result of ROM check: RIL= SamsungRIL

### probe rom type ###
#### Standard Build Query ####
# VER= v2.5.7
# OS= cygwin 32bit
# VID= 4.0.4
# PID= pdroid v6supercharger
# MID= cyanogenmod
# RID= cm
# ANDR= 4.0
# BDID= 20121221
# DID= ancora
# BID= 20120811
Patches are pdroid/4.0/cm/20120811
### DELETE FILES=
### COPY FILES=
### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar
### APK FILES=
### IMG FILES=
### TXT FILES=

### unzip rom ###

### create updater script ###

... using Clockworkmod installer ...
# generated updater-script
ui_print("");
ui_print("");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("* *");
ui_print("* * The Auto-Patcher * *");
ui_print("* * * * * *");
ui_print("* * by mateor * *");
ui_print("* *");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("");
ui_print(" Attention");
ui_print(" ************************************");
ui_print("");
ui_print(" There is nothing that can go wrong here");
ui_print(" that reflashing your ROM won't fix.");
ui_print("");
mount("ext4", "EMMC", "/dev/block/mmcblk0p15", "/system");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
unmount("/system");
ui_print(" .");
ui_print(" .");
ui_print(" done!");

### create restore.zip ###

### decompile system files ###

... decompile framework.jar ...

... extract preloaded-classes ...
inflated: preloaded-classes

... decompile core.jar ...

... decompile services.jar ...
### copy patch pdroid/4.0/cm/20120811 ###
### delete patch pdroid/4.0/cm/20120811 ###
### jar patch pdroid/4.0/cm/20120811 ###

... apply framework.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
38 out of 38 hunks ignored -- saving rejects to file smali/android/net/wifi/WifiConfigStore.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
15 out of 15 hunks ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file 'smali/com/android/internal/telephony/sip/SipPhone$SipConnection.smali.rej'

... apply preloaded.patch ...
GARBAGE=
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/net/wifi/WifiConfigStore.smali.rej tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/RIL$RILSender.smali.rej tmp/system/framework/framework.jar.out/smali/com/android/internal/telephony/sip/SipPhone$SipConnection.smali.rej

... apply core.patch ...
GARBAGE=
GARBAGE=

... apply services.patch ...
GARBAGE=
GARBAGE=
### apk patch pdroid/4.0/cm/20120811 ###
### img patch pdroid/4.0/cm/20120811 ###
### text patch pdroid/4.0/cm/20120811 ###
### copy patch v6supercharger/4.0/cm/latest ###
### delete patch v6supercharger/4.0/cm/latest ###
### jar patch v6supercharger/4.0/cm/latest ###

... apply services.patch ...
GARBAGE=
GARBAGE=
### apk patch v6supercharger/4.0/cm/latest ###
### img patch v6supercharger/4.0/cm/latest ###
### text patch v6supercharger/4.0/cm/latest ###

### rebuild jar ###

... rebuild framework.jar ...
tmp\system\framework\framework.jar.out\smali\android\privacy\PrivacySettingsManagerService.smali[0,-1] mismatched input '<EOF>' expecting END_METHOD_DIRECTIVE

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!! error: failed compiling framework.jar !!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!! This error is generally due to an unknown bug in the smali binary!