[Android Software/Hacking General [Developers Only]] Stylez Ray.:
Hey mateorod! I was using Autopatcher on my Galaxy Nexus for a long time and never had a problem, but ever since I switched to a Nexus 4 I can't get it working.

I am using Xylon as my rom http://xdaforums.com/showthread.php?t=2046968 and patching always fails.

I tried every nightly and stable since you supported openpdroid but now after some days I think it should be safe to inform you that patching Xylon never works.

Here's the log:

http://codepad.org/makWOSs9

ROOT= /cygdrive/d/APG/ApGPackages/ap
TOOL= /cygdrive/d/APG/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/c/Users/style_000/Desktop/xylon_mako_019_nightlies-33.zip
ROMX= C:\Users\STYLE_~1\Desktop\xylon_mako_019_nightlies-33.zip

### verify tools ###
/cygdrive/d/APG/ApGPackages/cygwin/bin/patch
/cygdrive/d/APG/ApGPackages/cygwin/bin/tar
/cygdrive/d/APG/ApGPackages/Java/bin/jar
/cygdrive/d/APG/ApGPackages/Java/bin/java
/cygdrive/d/APG/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/c/Users/style_000/Desktop/xylon_mako_019_nightlies-33.zip openpdroid aosp
PATH= /cygdrive/d/APG/ApGPackages/ap/tmp20130203171908:/cygdrive/d/APG/ApGPackages/Java/bin:/cygdrive/d/APG/ApGPackages/cygwin/bin:/cygdrive/d/APG/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

### probe rom type ###
#### Standard Build Query ####
# VER= v2.6.25
# OS= cygwin 32bit
# VID= 4.2.1
# PID= openpdroid
# MID= xylon_mako-userdebug
# RID= aosp
# ANDR= 4.2
# BDID= 20130203
# DID= mako
# BID= 20130201
Patches are openpdroid/4.2/aosp/20130201
### DELETE FILES=
### COPY FILES= system/app/Mms.apk system/media/PDroid.jpeg
### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar system/framework/telephony-common.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/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
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(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(0, 2000, 0755, "/system/vendor/firmware/discretix");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/firmware/wlan");
set_perm(0, 0, 0644, "/system/vendor/firmware/wlan/prima/WCNSS_cfg.dat");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
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 ...
\vergr�t: preloaded-classes

... decompile core.jar ...

... decompile services.jar ...

... decompile telephony-common.jar ...
### copy patch openpdroid/4.2/aosp/20130201 ###

... copying system/app/Mms.apk ...

... overwriting system/app/Mms.apk from openpdroid ...
`patches/openpdroid/4.2/aosp/20130201/system/app/Mms.apk' -> `./system/app/Mms.apk'

... copying system/media/PDroid.jpeg ...
`patches/openpdroid/4.2/aosp/20130201/system/media/PDroid.jpeg' -> `./system/media/PDroid.jpeg'
### delete patch openpdroid/4.2/aosp/20130201 ###
### jar patch openpdroid/4.2/aosp/20130201 ###

... apply framework.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
16 out of 16 hunks ignored -- saving rejects to file smali/android/app/BackStackRecord.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file smali/android/app/Fragment.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file smali/android/content/AsyncTaskLoader.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/content/ContentProviderOperation.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/content/CursorLoader.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/content/pm/VerificationParams.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/net/wifi/WifiStateMachine.smali.rej
1 out of 6 hunks FAILED -- saving rejects to file smali/android/os/SystemProperties.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file 'smali/android/service/wallpaper/WallpaperService$Engine.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/os/BatteryStatsImpl$StopwatchTimer.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/os/BatteryStatsImpl$Timer.smali.rej'

... apply preloaded.patch ...

!!! PATCHING FAILED FOR android/os/SystemProperties.smali !!!
!!! patch error for android/os/SystemProperties.smali !!!

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

!!! error: failed android/os/SystemProperties.smali in framework.jar cannot be remedied

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