[Android Software/Hacking General [Developers Only]] Penman:
Hey guys.

The new Paranoid Android 3.68 is out and I don't want to miss PDroid. :)

Sadly the patching progress fails.

ROOT= /cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/ap
TOOL= /cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/c/S2/pa_i9100-3.68-20130721.zip
ROMX= C:\S2\PA_I91~1.ZIP

### verify tools ###
/cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/cygwin/bin/patch
/cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/cygwin/bin/tar
/cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/Java/bin/jar
/cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/Java/bin/java
/cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/c/S2/pa_i9100-3.68-20130721.zip openpdroid pa
PATH= /cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/ap/tmp20130722210350:/cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/Java/bin:/cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/cygwin/bin:/cygdrive/c/S2/autopatcherv2.9.855/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

... result of ROM check: RIL= SamsungExynos4RIL

### probe rom type ###
#### Standard Build Query ####
# VER= v2.9.931
# OS= cygwin 32bit
# VID= 4.2.2
# PID= openpdroid
# MID= pa_i9100-userdebug
# RID= pa
# ANDR= 4.2
# BDID= 20130721
# DID= GT-I9100
# BID= 20130703
Patches are openpdroid/4.2/pa/20130703

Current HEAD: ec7f3abdb5d8c7544822fd764241748272451643 I see a 10.1-M3 tag...

### DELETE FILES=
### COPY FILES= system/media/PDroid.jpeg
### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar system/framework/telephony-common.jar system/app/Mms.apk
### 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/mmcblk0p9", "/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(1000, 1000, 0644, "/system/etc/paranoid/properties.conf");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
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ößert: preloaded-classes

... decompile core.jar ...

... decompile services.jar ...

... decompile telephony-common.jar ...

... decompile Mms.apk ...
### copy patch openpdroid/4.2/pa/20130703 ###

... copying system/media/PDroid.jpeg ...

... overwriting system/media/PDroid.jpeg from openpdroid ...
`patches/openpdroid/4.2/pa/20130703/system/media/PDroid.jpeg' -> `./system/media/PDroid.jpeg'

... overwriting ContentResolver.smali ...
### delete patch openpdroid/4.2/pa/20130703 ###
### jar patch openpdroid/4.2/pa/20130703 ###

... apply framework.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file smali/android/widget/TextView.smali.rej

... apply preloaded.patch ...
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/net/wifi/WifiStateMachine.smali.orig tmp/system/framework/framework.jar.out/smali/android/provider/Settings$Secure.smali.orig
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/widget/TextView.smali.rej

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

... apply services.patch ...

... apply services-gps_fix.patch ...
146 out of 148 hunks FAILED -- saving rejects to file smali/com/android/server/ServerThread.smali.rej
!!! PATCHING FAILED FOR com/android/server/ServerThread.smali !!!

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

!!! error: failed com/android/server/ServerThread.smali in services.jar cannot be remedied

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

Any suggestions?