[Android Software/Hacking General [Developers Only]] torrentmaster11:
cant patch my AOKP 4.1.2 rom with pdroid 2.0

cant patch my AOKP 4.1.2 rom with pdroid 2.0

ROOT= /cygdrive/j/newfolder/ap
TOOL= /cygdrive/j/newfolder/ap/patch_tools.tgz
ROM= /cygdrive/j/newfolder/ap/aokp.4.1.2.zip
ROMX= J:\NEWFOL~1\ap\AOKP41~1.ZIP

### verify tools ###
/usr/bin/patch
/usr/bin/tar
/cygdrive/c/Program Files (x86)/Java/jdk1.7.0_13/bin/jar
/cygdrive/c/Program Files (x86)/Java/jdk1.7.0_13/bin/java
/usr/bin/cpio

### verify ROM ###
### running ./auto_patcher aokp.4.1.2.zip pd2.0
PATH= /cygdrive/j/newfolder/ap/tmp20130219220507:/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Java/jdk1.7.0_13/bin

### unzip patch tools ###

### unzip patch patches ###

### probe rom type ###
inflated: system/framework/framework2.jar
#### Standard Build Query ####
# VER= v2.7.5
# OS= cygwin 32bit
# VID= 4.1.2
# PID= pd2.0
# MID= AOKP
# RID= .aosp-mod
.aosp-mod
# ANDR= 4.1
# BDID= 20121117
# DID= pico
# BID= 20201231
Patches are pd2.0/4.1/.aosp-mod
.aosp-mod/20201231
### 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
### 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("yaffs2", "MTD", "system", "/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(1001, 1005, 0444, "/system/etc/AudioPara4.csv");
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, 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 pd2.0/4.1/generic/latest ###

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

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

!!! error: system/app/Mms.apk is missing in the patch. Please upload your logfile to the support thread!

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