[Android Software/Hacking General [Developers Only]] pro.aggro:
I tried to patch the new ParanoidAndroid krait version, but on every boot i got phone fc's.

ROOT= /cygdrive/z/ApG/ApGPackages/ap
TOOL= /cygdrive/z/ApG/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/z/ApG/pa_mako-3.00-11FEB2013-205950_krait.zip
ROMX= Z:\ApG\PA_MAK~1.ZIP

### verify tools ###
/cygdrive/z/ApG/ApGPackages/cygwin/bin/patch
/cygdrive/z/ApG/ApGPackages/cygwin/bin/tar
/cygdrive/z/ApG/ApGPackages/Java/bin/jar
/cygdrive/z/ApG/ApGPackages/Java/bin/java
/cygdrive/z/ApG/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/z/ApG/pa_mako-3.00-11FEB2013-205950_krait.zip openpdroid pa
PATH= /cygdrive/z/ApG/ApGPackages/ap/tmp20130212111425:/cygdrive/z/ApG/ApGPackages/Java/bin:/cygdrive/z/ApG/ApGPackages/cygwin/bin:/cygdrive/z/ApG/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

### probe rom type ###
#### Standard Build Query ####
# VER= v2.6.65
# OS= cygwin 32bit
# VID= 4.2.1
# PID= openpdroid
# MID= pa_mako-userdebug
# RID= pa
# ANDR= 4.2
# BDID= 20130211
# DID= mako
# BID= 20130208
Patches are openpdroid/4.2/pa/20130208
### 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(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/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, 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 ...
### copy patch openpdroid/4.2/pa/20130208 ###

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

... overwriting system/app/Mms.apk from openpdroid ...
`patches/openpdroid/4.2/pa/20130208/system/app/Mms.apk' -> `./system/app/Mms.apk'

... copying system/media/PDroid.jpeg ...
`patches/openpdroid/4.2/pa/20130208/system/media/PDroid.jpeg' -> `./system/media/PDroid.jpeg'

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

... apply framework.patch ...

... apply preloaded.patch ...
GARBAGE=
GARBAGE=

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

... apply services.patch ...
GARBAGE=
GARBAGE=

... apply telephony-common.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/cdma/EriManager.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
GARBAGE=
GARBAGE= tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/cdma/EriManager.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/RIL$RILSender.smali.rej
### apk patch openpdroid/4.2/pa/20130208 ###
### img patch openpdroid/4.2/pa/20130208 ###
### text patch openpdroid/4.2/pa/20130208 ###

### rebuild jar ###

... rebuild framework.jar ...
classes.dex wird hinzugefügt(ein = 8157232) (aus = 3311468)(59 % verkleinert)
preloaded-classes wird hinzugefügt(ein = 96080) (aus = 16124)(83 % verkleinert)

... rebuild core.jar ...
classes.dex wird hinzugefügt(ein = 2564752) (aus = 1072476)(58 % verkleinert)

... rebuild services.jar ...
classes.dex wird hinzugefügt(ein = 2077628) (aus = 927879)(55 % verkleinert)

... rebuild telephony-common.jar ...
classes.dex wird hinzugefügt(ein = 10352) (aus = 4959)(52 % verkleinert)

### create update-pa-mako-20130211-openpdroid.zip ###
Manifest wurde hinzugefügt
system/framework/framework.jar wird hinzugefügt(ein = 3328177) (aus = 3305910)(0 % verkleinert)
system/framework/core.jar wird hinzugefügt(ein = 1075716) (aus = 1069148)(0 % verkleinert)
system/framework/services.jar wird hinzugefügt(ein = 928338) (aus = 926603)(0 % verkleinert)
system/framework/telephony-common.jar wird hinzugefügt(ein = 5418) (aus = 5269)(2 % verkleinert)
system/app/Mms.apk wird hinzugefügt(ein = 3230021) (aus = 2416653)(25 % verkleinert)
system/media/PDroid.jpeg wird hinzugefügt(ein = 26898) (aus = 25744)(4 % verkleinert)
Eintrag META-INF/ wird ignoriert
META-INF/com/ wird hinzugefügt(ein = 0) (aus = 0)(0 % gespeichert)
META-INF/com/google/ wird hinzugefügt(ein = 0) (aus = 0)(0 % gespeichert)
META-INF/com/google/android/ wird hinzugefügt(ein = 0) (aus = 0)(0 % gespeichert)
META-INF/com/google/android/update-binary wird hinzugefügt(ein = 258700) (aus = 171201)(33 % verkleinert)
META-INF/com/google/android/updater-script wird hinzugefügt(ein = 2289) (aus = 538)(76 % verkleinert)

Running autopatcher with the following arguments:
ROM_PATH: /cygdrive/z/ApG/pa_mako-3.00-11FEB2013-205950_krait.zip
PATCH_TYPE: openpdroid
ROM_TYPE: pa

The Auto-Patcher v2.6.65

### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
\vergrößert: system/build.prop
### probe rom type ###
... result of ROM check: version= 4.2.1 rom= pa ...
... Using pa patches ...
... openpdroid patch date has been set to: 20130208 ...
### unzip rom ###
\vergrößert: system/framework/core.jar
\vergrößert: system/framework/framework.jar
\vergrößert: system/framework/services.jar
\vergrößert: system/framework/telephony-common.jar
### create updater script ###
\vergrößert: META-INF/com/google/android/update-binary
\vergrößert: META-INF/com/google/android/updater-script
... using Clockworkmod installer ...
\vergrößert: system/app/Mms.apk
### create restore.zip ###
### decompile system files ###
... decompile framework.jar ...
... extract preloaded-classes ...
... decompile core.jar ...
... decompile services.jar ...
... decompile telephony-common.jar ...
### copy patch openpdroid/4.2/pa/20130208 ###
... copying system/app/Mms.apk ...
... overwriting system/app/Mms.apk from openpdroid ...
... copying system/media/PDroid.jpeg ...
... overwriting ContentResolver.smali ...
### jar patch openpdroid/4.2/pa/20130208 ###
... apply framework.patch ...
... apply preloaded.patch ...
... apply core.patch ...
... apply services.patch ...
... apply telephony-common.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/cdma/EriManager.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
### rebuild jar ###
... rebuild framework.jar ...
... rebuild core.jar ...
... rebuild services.jar ...
... rebuild telephony-common.jar ...
### create update-pa-mako-20130211-openpdroid.zip ###
### finished ###
flash update-pa-mako-20130211-openpdroid.zip to install the patched files
flash restore-pa-mako-20130211.zip to restore the original system