[Android Apps and Games] bonanza123:
Hey,

at first: i'm a total linux noob :D

but i tried to get to patch script working. I installed the current OpenJDK version and ran the command from first post. Is there anything else I need ? because get the following errors and have to clue how to fix it :D

XX@ubuntu:~/Downloads$ ./patchpdroid update-cm-7.2.0-RC0-GalaxyS2-20111209-signed.zip
***************************************************
**** PDroid Patcher Beta 0.1 - Patch Version 1.25
***************************************************
mkdir: Verzeichnis „/home/XX/Downloads/tmp1323960577“ angelegt
mkdir: Verzeichnis „/home/XX/Downloads/tools1323960577“ angelegt
dekomprimiert: apktool.jar
dekomprimiert: apktool
dekomprimiert: pdroidpatcher.jar
dekomprimiert: services.patch
dekomprimiert: framework.patch
dekomprimiert: core.patch
dekomprimiert: framework.mod.jar
dekomprimiert: signapk.jar
extrahiert: updatekey.pk8
dekomprimiert: updatecert.pem
dekomprimiert: updaterB
extrahiert: updaterA
dekomprimiert: cleanupsmalimod
dekomprimiert: META-INF/com/google/android/update-binary
dekomprimiert: META-INF/com/google/android/updater-script
dekomprimiert: system/framework/core.jar
dekomprimiert: system/framework/framework.jar
dekomprimiert: system/framework/services.jar
„system/framework/core.jar“ -> „./core.jar“
„system/framework/framework.jar“ -> „./framework.jar“
„system/framework/services.jar“ -> „./services.jar“
„META-INF/com/google/android/update-binary“ -> „./update-binary“
„META-INF/com/google/android/updater-script“ -> „./updater-script“
I: Baksmaling...
I: Copying assets and libs...
I: Baksmaling...
I: Copying assets and libs...
I: Baksmaling...
I: Copying assets and libs...
patching file smali/android/app/ContextImpl.smali
Hunk #2 succeeded at 150 (offset 4 lines).
Hunk #3 succeeded at 651 (offset 8 lines).
Hunk #4 succeeded at 1113 (offset 8 lines).
Hunk #5 succeeded at 1134 (offset 8 lines).
Hunk #6 succeeded at 1399 (offset 56 lines).
Hunk #7 succeeded at 1641 (offset 56 lines).
patching file smali/android/content/ContentResolver.smali
Hunk #1 succeeded at 2963 (offset 113 lines).
patching file smali/android/privacy/IPrivacySettingsManager.smali
patching file 'smali/android/privacy/IPrivacySettingsManager$Stub$Proxy.smali'
patching file 'smali/android/privacy/IPrivacySettingsManager$Stub.smali'
patching file smali/android/privacy/PrivacyFileObserver.smali
patching file smali/android/privacy/PrivacyPersistenceAdapter.smali
patching file 'smali/android/privacy/PrivacySettings$1.smali'
patching file smali/android/privacy/PrivacySettingsManagerService.smali
patching file smali/android/privacy/PrivacySettingsManager.smali
patching file smali/android/privacy/PrivacySettings.smali
patching file 'smali/android/privacy/surrogate/PrivacyAccountManager$PrivacyAccountManagerFuture.smali'
patching file smali/android/privacy/surrogate/PrivacyAccountManager.smali
patching file smali/android/privacy/surrogate/PrivacyActivityManagerService.smali
patching file smali/android/privacy/surrogate/PrivacyContentResolver.smali
patching file smali/android/privacy/surrogate/PrivacyCursor.smali
patching file 'smali/android/privacy/surrogate/PrivacyLocationManager$PrivacyLocationUpdater.smali'
patching file smali/android/privacy/surrogate/PrivacyLocationManager.smali
patching file 'smali/android/privacy/surrogate/PrivacyTelephonyManager$PrivacyPhoneStateListener.smali'
patching file smali/android/privacy/surrogate/PrivacyTelephonyManager.smali
patching file smali/com/android/server/am/ActivityManagerService.smali
Hunk #1 succeeded at 12353 (offset 297 lines).
Hunk #2 succeeded at 18137 (offset 299 lines).
patching file smali/com/android/server/ServerThread.smali
Hunk #2 succeeded at 358 (offset 6 lines).
patching file smali/java/lang/PrivacyInputStream.smali
patching file 'smali/java/lang/PrivacyProcessManager$PrivacyFileReader.smali'
patching file smali/java/lang/PrivacyProcessManager.smali
patching file 'smali/java/lang/ProcessManager$ProcessImpl.smali'
I: Checking whether sources has changed...
I: Smaling...
W: Unknown file type, ignoring: framework.mod.jar.out/smali/android/content/ContentResolver.smali.orig
W: Unknown file type, ignoring: framework.mod.jar.out/smali/android/app/ContextImpl.smali.orig
W: Could not find resources
I: Building apk file...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/ss/Downloads/tmp1323960577/framework.mod.jar, /home/ss/Downloads/tmp1323960577/framework.mod.jar.out/build/apk]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildApk(Androlib.java:355)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/ss/Downloads/tmp1323960577/framework.mod.jar, /home/ss/Downloads/tmp1323960577/framework.mod.jar.out/build/apk]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 5 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:78)
... 6 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 9 more
erstellt: META-INF/
dekomprimiert: META-INF/MANIFEST.MF
dekomprimiert: preloaded-classes
java.io.FileNotFoundException: framework.mod.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at sun.tools.jar.Main.run(Main.java:210)
at sun.tools.jar.Main.main(Main.java:1167)
I: Checking whether sources has changed...
I: Smaling...
W: Unknown file type, ignoring: services.mod.jar.out/smali/com/android/server/ServerThread.smali.orig
W: Unknown file type, ignoring: services.mod.jar.out/smali/com/android/server/am/ActivityManagerService.smali.orig
W: Could not find resources
I: Building apk file...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/ss/Downloads/tmp1323960577/services.mod.jar, /home/ss/Downloads/tmp1323960577/services.mod.jar.out/build/apk]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildApk(Androlib.java:355)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/ss/Downloads/tmp1323960577/services.mod.jar, /home/ss/Downloads/tmp1323960577/services.mod.jar.out/build/apk]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 5 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:78)
... 6 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 9 more
erstellt: META-INF/
dekomprimiert: META-INF/MANIFEST.MF
java.io.FileNotFoundException: services.mod.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at sun.tools.jar.Main.run(Main.java:210)
at sun.tools.jar.Main.main(Main.java:1167)
I: Checking whether sources has changed...
I: Smaling...
W: Could not find resources
I: Building apk file...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/ss/Downloads/tmp1323960577/core.mod.jar, /home/ss/Downloads/tmp1323960577/core.mod.jar.out/build/apk]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildApk(Androlib.java:355)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/ss/Downloads/tmp1323960577/core.mod.jar, /home/ss/Downloads/tmp1323960577/core.mod.jar.out/build/apk]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 5 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:78)
... 6 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 9 more
erstellt: META-INF/
dekomprimiert: META-INF/MANIFEST.MF
dekomprimiert: classes.dex
dekomprimiert: org/apache/harmony/dalvik/ddmc/README.txt
dekomprimiert: com/ibm/icu4jni/ThirdPartyProject.prop
dekomprimiert: java/security/security.properties
dekomprimiert: java/util/logging/logging.properties
dekomprimiert: org/apache/xalan/res/XSLTInfo.properties
dekomprimiert: org/apache/xalan/Version.src
dekomprimiert: org/apache/xalan/processor/XSLProcessorVersion.src
dekomprimiert: org/apache/xml/serializer/Version.src
dekomprimiert: org/apache/xml/serializer/output_unknown.properties
dekomprimiert: org/apache/xml/serializer/output_text.properties
dekomprimiert: org/apache/xml/serializer/output_html.properties
dekomprimiert: org/apache/xml/serializer/output_xml.properties
dekomprimiert: org/apache/xml/serializer/XMLEntities.properties
dekomprimiert: org/apache/xml/serializer/HTMLEntities.properties
dekomprimiert: org/apache/xml/serializer/Encodings.properties
dekomprimiert: org/kxml2/ThirdPartyProject.prop
dekomprimiert: org/xmlpull/ThirdPartyProject.prop
dekomprimiert: org/xml/ThirdPartyProject.prop
java.io.FileNotFoundException: core.mod.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at sun.tools.jar.Main.run(Main.java:210)
at sun.tools.jar.Main.main(Main.java:1167)
cp: Aufruf von stat für „framework.mod.jar“ nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für „services.mod.jar“ nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für „core.mod.jar“ nicht möglich: Datei oder Verzeichnis nicht gefunden
Manifest wurde hinzugefügt.
Hinzufügen von: system/ (ein = 0) (aus = 0) (gespeichert 0 %)
Hinzufügen von: system/framework/ (ein = 0) (aus = 0) (gespeichert 0 %)
Eintrag META-INF/ wird ignoriert.
Hinzufügen von: META-INF/com/ (ein = 0) (aus = 0) (gespeichert 0 %)
Hinzufügen von: META-INF/com/google/ (ein = 0) (aus = 0) (gespeichert 0 %)
Hinzufügen von: META-INF/com/google/android/ (ein = 0) (aus = 0) (gespeichert 0 %)
Hinzufügen von: META-INF/com/google/android/updater-script (ein = 251) (aus = 150) (komprimiert 40 %)
Hinzufügen von: META-INF/com/google/android/update-binary (ein = 224276) (aus = 144965) (komprimiert 35 %)

Thanks for your help in advance!