[Android Software/Hacking General [Developers Only]] mj084:
several times testing to patch cm9 nightly for droid4, but got error with framework.jar...

### verify tools ###
/usr/bin/patch
/usr/bin/tar
/cygdrive/c/Program Files/Java/jdk1.7.0_05/bin/jar
/cygdrive/c/Windows/system32/java

### verify ROM ###
# running ./auto_patcher ICS-LEAK-cm-9-20120708-UNOFFICIAL-maserati.zip pdroid cm9 latest

### unzip patch tools ###
baksmali.jar
signapk.jar
smali.jar
updatecert.pem
updatekey.pk8
update-template.zip

### unzip patch patches ###
patches/
patches/v6supercharger/
patches/v6supercharger/files.txt
patches/v6supercharger/generic
patches/v6supercharger/cm9/
patches/v6supercharger/cm9/latest
patches/v6supercharger/cm9/20120614/
patches/v6supercharger/cm9/20120614/services.patch
patches/pdroid/
patches/pdroid/common/
patches/pdroid/common/20120506/
patches/pdroid/common/20120506/preloaded.patch
patches/pdroid/common/20120506/core.patch
patches/pdroid/common/latest
patches/pdroid/files.txt
patches/pdroid/generic
patches/pdroid/cm9/
patches/pdroid/cm9/20120626/
patches/pdroid/cm9/20120626/services.patch
patches/pdroid/cm9/20120626/preloaded.patch
patches/pdroid/cm9/20120626/framework.patch
patches/pdroid/cm9/20120626/core.patch
patches/pdroid/cm9/20120708/
patches/pdroid/cm9/20120708/services.patch
patches/pdroid/cm9/20120708/preloaded.patch
patches/pdroid/cm9/20120708/framework.patch
patches/pdroid/cm9/20120708/core.patch
patches/pdroid/cm9/20120601/
patches/pdroid/cm9/20120601/services.patch
patches/pdroid/cm9/20120601/preloaded.patch
patches/pdroid/cm9/20120601/framework.patch
patches/pdroid/cm9/20120601/core.patch
patches/pdroid/cm9/20120506/
patches/pdroid/cm9/20120506/services.patch
patches/pdroid/cm9/20120506/preloaded.patch
patches/pdroid/cm9/20120506/framework.patch
patches/pdroid/cm9/20120506/core.patch
patches/pdroid/cm9/20120709/
patches/pdroid/cm9/20120709/services.patch
patches/pdroid/cm9/20120709/preloaded.patch
patches/pdroid/cm9/20120709/framework.patch
patches/pdroid/cm9/20120709/core.patch
patches/pdroid/cm9/latest
patches/pdroid/cm9/20120615/
patches/pdroid/cm9/20120615/services.patch
patches/pdroid/cm9/20120615/preloaded.patch
patches/pdroid/cm9/20120615/framework.patch
patches/pdroid/cm9/20120615/core.patch
patches/pdroid/cm9/20120706/
patches/pdroid/cm9/20120706/services.patch
patches/pdroid/cm9/20120706/preloaded.patch
patches/pdroid/cm9/20120706/framework.patch
patches/pdroid/cm9/20120706/core.patch
patches/pdroid/cm9/20120508/
patches/pdroid/cm9/20120508/services.patch
patches/pdroid/cm9/20120508/preloaded.patch
patches/pdroid/cm9/20120508/framework.patch
patches/pdroid/cm9/20120508/core.patch
patches/pdroid/aosp/
patches/pdroid/aosp/20120506/
patches/pdroid/aosp/20120506/services.patch
patches/pdroid/aosp/20120506/preloaded.patch
patches/pdroid/aosp/20120506/framework.patch
patches/pdroid/aosp/20120506/core.patch
patches/pdroid/aosp/20120507/
patches/pdroid/aosp/20120507/services.patch
patches/pdroid/aosp/20120507/preloaded.patch
patches/pdroid/aosp/20120507/framework.patch
patches/pdroid/aosp/20120507/core.patch
patches/pdroid/aosp/latest
patches/pdroid/aosp/20120515/
patches/pdroid/aosp/20120515/services.patch
patches/pdroid/aosp/20120515/preloaded.patch
patches/pdroid/aosp/20120515/framework.patch
patches/pdroid/aosp/20120515/core.patch
patches/pdroid/aosp/20120624/
patches/pdroid/aosp/20120624/services.patch
patches/pdroid/aosp/20120624/preloaded.patch
patches/pdroid/aosp/20120624/framework.patch
patches/pdroid/aosp/20120624/core.patch
patches/pdroid/aokp/
patches/pdroid/aokp/20120707/
patches/pdroid/aokp/20120707/services.patch
patches/pdroid/aokp/20120707/preloaded.patch
patches/pdroid/aokp/20120707/framework.patch
patches/pdroid/aokp/20120707/core.patch
patches/pdroid/aokp/20120702/
patches/pdroid/aokp/20120702/services.patch
patches/pdroid/aokp/20120702/preloaded.patch
patches/pdroid/aokp/20120702/framework.patch
patches/pdroid/aokp/20120702/core.patch
patches/pdroid/aokp/20120613/
patches/pdroid/aokp/20120613/services.patch
patches/pdroid/aokp/20120613/preloaded.patch
patches/pdroid/aokp/20120613/framework.patch
patches/pdroid/aokp/20120613/core.patch
patches/pdroid/aokp/20120506/
patches/pdroid/aokp/20120506/services.patch
patches/pdroid/aokp/20120506/preloaded.patch
patches/pdroid/aokp/20120506/framework.patch
patches/pdroid/aokp/20120506/core.patch
patches/pdroid/aokp/latest
patches/pdroid/aokp/20120625/
patches/pdroid/aokp/20120625/services.patch
patches/pdroid/aokp/20120625/preloaded.patch
patches/pdroid/aokp/20120625/framework.patch
patches/pdroid/aokp/20120625/core.patch
patches/pdroid/aokp/20120510/
patches/pdroid/aokp/20120510/services.patch
patches/pdroid/aokp/20120510/preloaded.patch
patches/pdroid/aokp/20120510/framework.patch
patches/pdroid/aokp/20120510/core.patch
patches/pdroid/cm7/
patches/pdroid/cm7/20120618/
patches/pdroid/cm7/20120618/services.patch
patches/pdroid/cm7/20120618/preloaded.patch
patches/pdroid/cm7/20120618/framework.patch
patches/pdroid/cm7/20120618/core.patch
patches/pdroid/cm7/latest
patches/pdroid/cm7/20120514/
patches/pdroid/cm7/20120514/services.patch
patches/pdroid/cm7/20120514/preloaded.patch
patches/pdroid/cm7/20120514/framework.patch
patches/pdroid/cm7/20120514/core.patch
patches/pdroid/cm7/20120625/
patches/pdroid/cm7/20120625/services.patch
patches/pdroid/cm7/20120625/preloaded.patch
patches/pdroid/cm7/20120625/framework.patch
patches/pdroid/cm7/20120625/core.patch
# VID=
# MID=
# RID= cm9
# DID=
# BID= latest
# PID= pdroid
### FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar

### unzip rom ###

### create updater script ###

### using Clockworkmod installer ###
# generated updater-script
mount("ext3", "EMMC", "/dev/block/system", "/system");
package_extract_dir("system", "/system");
unmount("/system");

### create restore.zip ###
Manifest wurde hinzugefügt
system/framework/framework.jar wird hinzugefügt(ein = 4047411) (aus = 4020174)(0 % verkleinert)
system/framework/core.jar wird hinzugefügt(ein = 1275829) (aus = 1269804)(0 % verkleinert)
system/framework/services.jar wird hinzugefügt(ein = 875021) (aus = 873787)(0 % 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 = 211216) (aus = 132654)(37 % verkleinert)
META-INF/com/google/android/updater-script wird hinzugefügt(ein = 117) (aus = 75)(35 % verkleinert)

### decompile framework.jar ###

... extract preloaded-classes ...
\vergrößert: preloaded-classes

### decompile core.jar ###

### decompile services.jar ###

### apply framework.patch ###
Reversed (or previously applied) patch detected! Skipping patch.
12 out of 12 hunks ignored -- saving rejects to file smali/android/net/sip/SipAudioCall.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
38 out of 38 hunks ignored -- saving rejects to file smali/android/net/wifi/WifiConfigStore.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file 'smali/android/service/wallpaper/WallpaperService$Engine.smali.rej'
4 out of 5 hunks FAILED -- saving rejects to file smali/android/view/SurfaceView.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
15 out of 15 hunks ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file 'smali/com/android/internal/telephony/sip/SipPhone$SipConnection.smali.rej'