[Android Software/Hacking General [Developers Only]] Px80:
patching of Codename-Android-3.5.0-SAGA failed with latest auto-patcher.

ROOT= /cygdrive/c/Users/Sx125/Downloads/ApGPackages/ap/
TOOL= /cygdrive/c/Users/Sx125/Downloads/ApGPackages/ap//patch_tools.tgz
ROM= /cygdrive/c/Users/Sx125/Downloads/Codename-Android-3.5.0-SAGA.zip
ROMX= C:\Users\Sx125\DOWNLO~1\CODENA~1.ZIP

### verify tools ###
/cygdrive/c/Downloads/ApGPackages/cygwin/bin/patch
/cygdrive/c/Downloads/ApGPackages/cygwin/bin/tar
/cygdrive/c/Downloads/ApGPackages/Java/bin/jar
/cygdrive/cDownloads/ApGPackages/Java/bin/java
/cygdrive/c/Downloads/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/c/Users/Sx125/Downloads/Codename-Android-3.5.0-SAGA.zip pdroid aosp-mod
PATH= /cygdrive/c/Downloads/ApGPackages/ap/tmp20121010183454:/cygdrive/c/Users/Downloads/ApGPackages/Java/bin:/cygdrive/c/Users/Downloads/ApGPackages/cygwin/bin:/cygdrive/c/Users/Downloads/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

### probe rom type ###
# VER= Auto-Patcher v2.1.5
# OS= cygwin 32bit
# VID= 4.1.1
# MID= JRO03L
# RID= aosp-mod
# BDID= 2012-08-12
# DID= saga
# BID= latest
# PID= pdroid
### 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
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/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_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
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");
set_perm(0, 0, 06755, "/system/xbin/tcpdump");
unmount("/system");

### create restore.zip ###

### decompile system files ###

... decompile framework.jar ...

... extract preloaded-classes ...
\vergr�t: preloaded-classes

... decompile core.jar ...

... decompile services.jar ...

### jar patch pdroid/aosp-mod/latest ###

... apply framework.patch ...
The next patch would create the file 'smali/android/app/ContextImpl$38.smali',
which already exists! Skipping patch.
1 out of 1 hunk ignored
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
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file smali/android/server/BluetoothService.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 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/android/view/inputmethod/InputMethodInfo.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/webkit/WebViewClassic.smali.rej

... apply preloaded.patch ...
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/app/ContextImpl.smali.orig
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/net/wifi/WifiStateMachine.smali.rej tmp/system/framework/framework.jar.out/smali/android/server/BluetoothService.smali.rej tmp/system/framework/framework.jar.out/smali/android/service/wallpaper/WallpaperService$Engine.smali.rej tmp/system/framework/framework.jar.out/smali/android/view/inputmethod/InputMethodInfo.smali.rej tmp/system/framework/framework.jar.out/smali/android/webkit/WebViewClassic.smali.rej

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

... apply services.patch ...
129 out of 130 hunks FAILED -- saving rejects to file smali/com/android/server/ServerThread.smali.rej

!!! PATCHING FAILED FOR com/android/server/ServerThread.smali !!!
!!! patch error for com/android/server/ServerThread.smali !!!

**************************************

**************************************
**************************************

**************************************