[Galaxy S II Original Android Development] cliff03:
If any one will like to install PDroid here is the patch witch ware created by krzych for me and i'll like to share with you its for the news base 5.2.21

Thanks for the patch Krzych

There might still be problems(bugs) so install this on your own risk

Hi Devs krzych mention that something doesn't look right and it might cause problems can you have look please.Thanks you.

Both patch and recovery. But... patcher said about problems you will face. Here's the log:

[krzych@asus PDroid]$ ./patchpdroid Hyperdroid_Androidmeda_v5.2.21_signed.zip
***************************************************
**** PDroid Patcher Beta 0.71 - Patch Version 1.27
***************************************************

Creating temp dirs

mkdir: created directory `/home/krzych/PDroid/tmp1325679216'
mkdir: created directory `/home/krzych/PDroid/tools1325679216'

Extracting tools and resources

inflated: apktool.jar
inflated: apktool
inflated: pdroidpatcher.jar
inflated: services.patch
inflated: framework.patch
inflated: core.patch
inflated: framework.mod.jar
inflated: signapk.jar
extracted: updatekey.pk8
inflated: updatecert.pem
inflated: updaterB
extracted: updaterA
inflated: cleanupsmalimod
inflated: aapt

Extracting original files from ROM

inflated: META-INF/com/google/android/update-binary
inflated: system/framework/core.jar
inflated: system/framework/services.jar
inflated: system/framework/framework.jar
inflated: META-INF/com/google/android/updater-script
`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'

Decompiling original files

I: Baksmaling...
I: Copying assets and libs...
I: Baksmaling...
I: Copying assets and libs...
I: Baksmaling...
I: Copying assets and libs...

Cleaning up smali code

Applying PDroid patches

patching file smali/android/app/ContextImpl.smali
Hunk #2 succeeded at 156 (offset 10 lines).
Hunk #3 succeeded at 669 (offset 26 lines).
Hunk #4 succeeded at 1221 (offset 116 lines).
Hunk #5 succeeded at 1242 (offset 116 lines).
Hunk #6 succeeded at 1507 (offset 164 lines).
Hunk #7 succeeded at 1801 (offset 216 lines).
patching file smali/android/content/ContentResolver.smali
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 12220 (offset 164 lines).
Hunk #2 succeeded at 18018 (offset 180 lines).
patching file smali/com/android/server/ServerThread.smali
Hunk #1 succeeded at 40 with fuzz 1.
Hunk #2 succeeded at 480 (offset 128 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'

Creating updater script

Could not find a mount statement in the original updater-script

If you continue making the patch, you will need to mount /system in recovery (CWM) before flashing the patch!

Continue? [y/n]:

Building modified framework.jar

I: Checking whether sources has changed...
I: Smaling...
W: Unknown file type, ignoring: framework.mod.jar.out/smali/android/app/ContextImpl.smali.orig
W: Could not find resources
I: Building apk file...
aapt: /lib/libz.so.1: no version information available (required by aapt)
created: META-INF/
inflated: META-INF/MANIFEST.MF
inflated: preloaded-classes
adding: preloaded-classes(in = 65693) (out= 11977)(deflated 81%)
updated manifest

Building modified services.jar

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...
aapt: /lib/libz.so.1: no version information available (required by aapt)
created: META-INF/
inflated: META-INF/MANIFEST.MF
updated manifest

Building modified core.jar

I: Checking whether sources has changed...
I: Smaling...
W: Could not find resources
I: Building apk file...
aapt: /lib/libz.so.1: no version information available (required by aapt)
created: META-INF/
inflated: META-INF/MANIFEST.MF
inflated: org/apache/harmony/dalvik/ddmc/README.txt
inflated: com/ibm/icu4jni/ThirdPartyProject.prop
inflated: java/util/logging/logging.properties
inflated: java/security/security.properties
inflated: org/apache/xalan/processor/XSLProcessorVersion.src
inflated: org/apache/xalan/Version.src
inflated: org/apache/xalan/res/XSLTInfo.properties
inflated: org/apache/xml/serializer/output_xml.properties
inflated: org/apache/xml/serializer/Version.src
inflated: org/apache/xml/serializer/Encodings.properties
inflated: org/apache/xml/serializer/XMLEntities.properties
inflated: org/apache/xml/serializer/output_unknown.properties
inflated: org/apache/xml/serializer/output_text.properties
inflated: org/apache/xml/serializer/HTMLEntities.properties
inflated: org/apache/xml/serializer/output_html.properties
inflated: org/xmlpull/ThirdPartyProject.prop
inflated: org/kxml2/ThirdPartyProject.prop
inflated: org/xml/ThirdPartyProject.prop
inflated: classes.dex
adding: com/(in = 0) (out= 0)(stored 0%)
adding: com/ibm/(in = 0) (out= 0)(stored 0%)
adding: com/ibm/icu4jni/(in = 0) (out= 0)(stored 0%)
adding: com/ibm/icu4jni/ThirdPartyProject.prop(in = 318) (out= 202)(deflated 36%)
adding: java/(in = 0) (out= 0)(stored 0%)
adding: java/util/(in = 0) (out= 0)(stored 0%)
adding: java/util/logging/(in = 0) (out= 0)(stored 0%)
adding: java/util/logging/logging.properties(in = 3123) (out= 1129)(deflated 63%)
adding: java/security/(in = 0) (out= 0)(stored 0%)
adding: java/security/security.properties(in = 5084) (out= 1837)(deflated 63%)
adding: org/(in = 0) (out= 0)(stored 0%)
adding: org/xml/(in = 0) (out= 0)(stored 0%)
adding: org/xml/ThirdPartyProject.prop(in = 224) (out= 178)(deflated 20%)
adding: org/xmlpull/(in = 0) (out= 0)(stored 0%)
adding: org/xmlpull/ThirdPartyProject.prop(in = 224) (out= 179)(deflated 20%)
adding: org/kxml2/(in = 0) (out= 0)(stored 0%)
adding: org/kxml2/ThirdPartyProject.prop(in = 209) (out= 173)(deflated 17%)
adding: org/apache/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xalan/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xalan/processor/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xalan/processor/XSLProcessorVersion.src(in = 4126) (out= 1696)(deflated 58%)
adding: org/apache/xalan/res/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xalan/res/XSLTInfo.properties(in = 1061) (out= 606)(deflated 42%)
adding: org/apache/xalan/Version.src(in = 4999) (out= 1909)(deflated 61%)
adding: org/apache/xml/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xml/serializer/(in = 0) (out= 0)(stored 0%)
adding: org/apache/xml/serializer/output_text.properties(in = 1525) (out= 832)(deflated 45%)
adding: org/apache/xml/serializer/HTMLEntities.properties(in = 4353) (out= 2220)(deflated 49%)
adding: org/apache/xml/serializer/output_unknown.properties(in = 1769) (out= 948)(deflated 46%)
adding: org/apache/xml/serializer/XMLEntities.properties(in = 1086) (out= 647)(deflated 40%)
adding: org/apache/xml/serializer/Encodings.properties(in = 11338) (out= 3094)(deflated 72%)
adding: org/apache/xml/serializer/output_xml.properties(in = 1818) (out= 943)(deflated 48%)
adding: org/apache/xml/serializer/Version.src(in = 4720) (out= 1869)(deflated 60%)
adding: org/apache/xml/serializer/output_html.properties(in = 1841) (out= 922)(deflated 49%)
adding: org/apache/harmony/(in = 0) (out= 0)(stored 0%)
adding: org/apache/harmony/dalvik/(in = 0) (out= 0)(stored 0%)
adding: org/apache/harmony/dalvik/ddmc/(in = 0) (out= 0)(stored 0%)
adding: org/apache/harmony/dalvik/ddmc/README.txt(in = 78) (out= 69)(deflated 11%)
updated manifest

Creating flashable patch zip

added manifest
adding: system/(in = 0) (out= 0)(stored 0%)
adding: system/framework/(in = 0) (out= 0)(stored 0%)
adding: system/framework/services.jar(in = 854109) (out= 853387)(deflated 0%)
adding: system/framework/framework.jar(in = 4018725) (out= 3994387)(deflated 0%)
adding: system/framework/core.jar(in = 1926143) (out= 1914738)(deflated 0%)
ignoring entry META-INF/
adding: META-INF/com/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/updater-script(in = 193) (out= 113)(deflated 41%)
adding: META-INF/com/google/android/update-binary(in = 224244) (out= 144717)(deflated 35%)

Creating flashable restore zip

added manifest
adding: system/(in = 0) (out= 0)(stored 0%)
adding: system/framework/(in = 0) (out= 0)(stored 0%)
adding: system/framework/services.jar(in = 872844) (out= 871733)(deflated 0%)
adding: system/framework/framework.jar(in = 4007904) (out= 3986458)(deflated 0%)
adding: system/framework/core.jar(in = 1925299) (out= 1916507)(deflated 0%)
ignoring entry META-INF/
adding: META-INF/com/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/updater-script(in = 195) (out= 113)(deflated 42%)
adding: META-INF/com/google/android/update-binary(in = 224244) (out= 144717)(deflated 35%)

Removing temp dirs

Looks like everything went fine

PDroid patch: PDroid-v1.27-Hyperdroid_Androidmeda_v5.2.21_signed.zip

MD5 hash: 3af1bef320da5f7be5c582de60e39894

Flash it through CWM *OR* extract the files in /system/framework/ and push them via ADB

To restore your ROM and remove PDroid, flash PDroid-RESTORE-Hyperdroid_Androidmeda_v5.2.21_signed.zip

IMPORTANT: MOUNT /SYSTEM IN RECOVERY (CWM) BEFORE FLASHING THE PATCH

[krzych@asus PDroid]$

So you have to mount as it said ("IMPORTANT: MOUNT /SYSTEM IN RECOVERY (CWM) BEFORE FLASHING THE PATCH"). And "aapt: /lib/libz.so.1: no version information available (required by aapt)" doesn't look right and can cause problems...

So DO NANDROID BACKUP FIRST!!! ... before trying anything.

Below are the attachments.

PDroid-v1.27-Hyperdroid_Androidmeda_v5.2.21_signed.zip

PDroid-RESTORE-Hyperdroid_Androidmeda_v5.2.21_signed.zip

Good luck.