mateor / auto-patcher

smali patcher for Android code injection
MIT License
74 stars 42 forks source link

CyanKang SMSDispatcher.patch error #191

Closed chickenfactory closed 11 years ago

chickenfactory commented 11 years ago

SMSDispatcher.patch error. source: https://github.com/cyankang. ROM: http://n4.finnq.de/CyanKang/. log below:

verify ROM

running ./auto_patcher CyanKang-10.2-20131030-UNOFFICIAL-mako.zip openpdroid

PATH= /Users/Micah/Downloads/autopatcher/./tmp20131030091829:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/android-sdk/tools:/usr/local/android-sdk/platform-tools:/usr/local/android-sdk/tools:/usr/local/android-sdk/platform-tools:/usr/local/android-sdk/tools:/usr/local/android-sdk/platform-tools

unzip patch tools

unzip patch patches

probe rom type

BSD Build Query used

VER= v3.2.33

OS= darwin12 64bit

VID= 4.3.1

PID= openpdroid

MID= cm_mako-userdebug

RID= cm

ANDR= 4.3

BDID= 20131029

DID= mako

BID= 20131021

Current HEAD: ce2247ce98d31495537f81a1a5d1b96b90aec48d Update CM reservoir

DELETE FILES=

COPY FILES= system/media/PDroid.jpeg

JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar system/framework/telephony-common.jar system/app/Mms.apk

APK FILES=

IMG FILES=

TXT FILES=

unzip rom

create updater script

... using Clockworkmod installer ...

generated updater-script

ui_print(""); ui_print(""); ui_print("~~~~~~~~~~~~"); uiprint("* "); uiprint(" * The * _"); uiprint(" * * Auto-Patcher * * _"); uiprint(" * * _"); uiprint(" *"); 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, 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, 0, 0755, "/system/bin/ping"); set_perm(0, 2000, 0750, "/system/bin/run-as"); 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(0, 2000, 0755, "/system/vendor"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc"); set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf"); set_perm(0, 2000, 0755, "/system/vendor/firmware"); set_perm(0, 2000, 0755, "/system/vendor/firmware/discretix"); set_perm(0, 2000, 0755, "/system/vendor/firmware/keymaster"); 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, 0644, "/system/vendor/lib/drm"); set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/mediadrm"); set_perm(0, 0, 0644, "/system/vendor/lib/mediadrm/libwvdrmengine.so"); 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 ...

... decompile telephony-common.jar ...

... decompile Mms.apk ...

copy patch openpdroid/4.3

... copying system/media/PDroid.jpeg ...

... overwriting system/media/PDroid.jpeg from openpdroid ... patches/openpdroid/4.3/cm/20131021/system/media/PDroid.jpeg -> ./system/media/PDroid.jpeg

jar patch openpdroid/4.3

... apply framework.patch ... Matching the created file: ContextImpl$47 There are 1 Context match; Using: patches/openpdroid/4.3/cm/20131021

Succesful match found! Swapping patches/openpdroid/4.3/.aosp-pac/20131028/framework_55_Settings$Secure.patch for patches/openpdroid/4.3/cm/20131021/framework_57_Settings$Secure.patch!! ...applying patches/openpdroid/4.3/cm/20131021/framework_00_preloaded.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_16_Instrumentation$1.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_17_Instrumentation$2.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_18_Instrumentation$3.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_19_Instrumentation$4.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_20_Instrumentation.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_22_ContentResolver.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_24_Camera$EventHandler.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_25_Camera.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_27_AudioRecord.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_28_MediaRecorder$PrivacyRunner.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_29_MediaRecorder.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_30_NetworkInfo.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_33_WifiInfo.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_36_SystemProperties.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_37_IPrivacySettingsManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_38_IPrivacySettingsManager$Stub$Proxy.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_39_IPrivacySettingsManager$Stub.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_40_PrivacyFileObserver.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_41_PrivacyPersistenceAdapter.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_42_PrivacySettings$1.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_43_PrivacySettingsManagerService.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_44_PrivacySettingsManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_45_PrivacySettings.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_46_PrivacySettingsStub.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_47_PrivacyAccountManager$PrivacyAccountManagerFuture.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_48_PrivacyAccountManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_49_PrivacyActivityManagerService.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_50_PrivacyConnectivityManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_51_PrivacyContentResolver.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_52_PrivacyCursor.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_53_PrivacyLocationManager$PrivacyLocationUpdater.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_54_PrivacyLocationManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_55_PrivacyTelephonyManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_56_PrivacyWifiManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_59_MicrophoneInputStream.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_60_PhoneStateListener$1.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_61_PhoneStateListener.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_62_ServiceState.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_10_ContextImpl$43.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_11_ContextImpl$44.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_12_ContextImpl$45.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_13_ContextImpl$46.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_14_ContextImpl$47.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_15_ContextImpl.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_1_ContextImpl$10.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_2_ContextImpl$22.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_3_ContextImpl$31.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_4_ContextImpl$37.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_5_ContextImpl$39.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_6_ContextImpl$3.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_7_ContextImpl$40.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_8_ContextImpl$41.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_9_ContextImpl$42.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_55_Settings$Secure.patch ... GARBAGE= tmp/system/framework/framework.jar.out/smali/android/provider/Settings$Secure.smali.orig GARBAGE=

... apply core.patch ... ...applying patches/openpdroid/4.3/cm/20131021/core_0_PrivacyInputStream.patch ... ...applying patches/openpdroid/4.3/cm/20131021/core_1_PrivacyProcessManager$PrivacyFileReader.patch ... ...applying patches/openpdroid/4.3/cm/20131021/core_2_PrivacyProcessManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/core_3_ProcessManager$ProcessImpl.patch ... ...applying patches/openpdroid/4.3/cm/20131021/core_4_ProcessManager.patch ... GARBAGE= GARBAGE=

... apply services.patch ... Succesful match found! Swapping patches/openpdroid/4.3/.reservoir/cm/20131030/services_3_ServerThread.patch for patches/openpdroid/4.3/cm/20131021/services_3_ServerThread.patch!! ...applying patches/openpdroid/4.3/cm/20131021/services_0_BroadcastQueue.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_1_PrivacyTelephonyRegistry$1.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_2_PrivacyTelephonyRegistry.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_4_TelephonyRegistry$1.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_5_TelephonyRegistry$2.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_6_TelephonyRegistry$Record.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_7_TelephonyRegistry.patch ... ...applying patches/openpdroid/4.3/.reservoir/cm/20131030/services_3_ServerThread.patch ... GARBAGE= GARBAGE=

... apply telephony-common.patch ... Succesful match found! Swapping patches/openpdroid/4.3/.aosp-carbon/20130830/telephony-common_12_RIL$RILSender.patch for patches/openpdroid/4.3/cm/20131021/telephony-common_12_RIL$RILSender.patch!! 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' 14 out of 20 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/SMSDispatcher.smali.rej We did not find a working patch for patches/openpdroid/4.3/pa/20130915/telephony-common_15_SMSDispatcher.patch...looking for other solutions! 53 out of 83 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali.rej We did not find a working patch for patches/openpdroid/4.3/pa/20130915/telephony-common_6_CdmaServiceStateTracker.patch...looking for other solutions! FAILED_FILE is telephony-common_15_SMSDispatcher.patch MATCHED_FILE is SMSDispatcher.patch MATCH_PATTERN IS SMSDispatcher. Provisional is

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

!!! error: SMSDispatcher.patch in telephony-common.jar cannot be remedied

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

If your deodexed rom is not on the supported list and you want it added:

- Upload your log and a link to the rom's source code (mandatory)

 and be patient, please!
mateor commented 11 years ago

okay, the telephony-common patch did need to be replaced after all. I try and only add what we need, since the autopatcher is already a pretty big program.

I have added the telephony patches and the rom now patches. Thanks for the links, it makes this way easier and I can just add everything I need at once.

chickenfactory commented 11 years ago

I am still having the issue. I am currently uploading my build, so I will reply with the link then it's finished. log below:

verify ROM

running ./auto_patcher CyanKang-10.2-20131030-UNOFFICIAL-mako.zip openpdroid

PATH= /Users/Micah/Downloads/autopatcher/./tmp20131030095955:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/android-sdk/tools:/usr/local/android-sdk/platform-tools:/usr/local/android-sdk/tools:/usr/local/android-sdk/platform-tools:/usr/local/android-sdk/tools:/usr/local/android-sdk/platform-tools

unzip patch tools

unzip patch patches

probe rom type

BSD Build Query used

VER= v3.2.34

OS= darwin12 64bit

VID= 4.3.1

PID= openpdroid

MID= cm_mako-userdebug

RID= cm

ANDR= 4.3

BDID= 20131029

DID= mako

BID= 20131021

Current HEAD: dde06f5833a4f9f65718bbdc55ea5fcffff81edc Update CM reservoir again

DELETE FILES=

COPY FILES= system/media/PDroid.jpeg

JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar system/framework/telephony-common.jar system/app/Mms.apk

APK FILES=

IMG FILES=

TXT FILES=

unzip rom

create updater script

... using Clockworkmod installer ...

generated updater-script

ui_print(""); ui_print(""); ui_print("~~~~~~~~~~~~"); uiprint("* "); uiprint(" * The * _"); uiprint(" * * Auto-Patcher * * _"); uiprint(" * * _"); uiprint(" *"); 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, 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, 0, 0755, "/system/bin/ping"); set_perm(0, 2000, 0750, "/system/bin/run-as"); 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(0, 2000, 0755, "/system/vendor"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc"); set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf"); set_perm(0, 2000, 0755, "/system/vendor/firmware"); set_perm(0, 2000, 0755, "/system/vendor/firmware/discretix"); set_perm(0, 2000, 0755, "/system/vendor/firmware/keymaster"); 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, 0644, "/system/vendor/lib/drm"); set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so"); set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/mediadrm"); set_perm(0, 0, 0644, "/system/vendor/lib/mediadrm/libwvdrmengine.so"); 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 ...

... decompile telephony-common.jar ...

... decompile Mms.apk ...

copy patch openpdroid/4.3

... copying system/media/PDroid.jpeg ...

... overwriting system/media/PDroid.jpeg from openpdroid ... patches/openpdroid/4.3/cm/20131021/system/media/PDroid.jpeg -> ./system/media/PDroid.jpeg

jar patch openpdroid/4.3

... apply framework.patch ... Matching the created file: ContextImpl$47 There are 1 Context match; Using: patches/openpdroid/4.3/cm/20131021

Succesful match found! Swapping patches/openpdroid/4.3/.aosp-pac/20131028/framework_55_Settings$Secure.patch for patches/openpdroid/4.3/cm/20131021/framework_57_Settings$Secure.patch!! ...applying patches/openpdroid/4.3/cm/20131021/framework_00_preloaded.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_16_Instrumentation$1.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_17_Instrumentation$2.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_18_Instrumentation$3.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_19_Instrumentation$4.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_20_Instrumentation.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_22_ContentResolver.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_24_Camera$EventHandler.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_25_Camera.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_27_AudioRecord.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_28_MediaRecorder$PrivacyRunner.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_29_MediaRecorder.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_30_NetworkInfo.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_33_WifiInfo.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_36_SystemProperties.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_37_IPrivacySettingsManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_38_IPrivacySettingsManager$Stub$Proxy.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_39_IPrivacySettingsManager$Stub.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_40_PrivacyFileObserver.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_41_PrivacyPersistenceAdapter.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_42_PrivacySettings$1.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_43_PrivacySettingsManagerService.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_44_PrivacySettingsManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_45_PrivacySettings.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_46_PrivacySettingsStub.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_47_PrivacyAccountManager$PrivacyAccountManagerFuture.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_48_PrivacyAccountManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_49_PrivacyActivityManagerService.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_50_PrivacyConnectivityManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_51_PrivacyContentResolver.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_52_PrivacyCursor.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_53_PrivacyLocationManager$PrivacyLocationUpdater.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_54_PrivacyLocationManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_55_PrivacyTelephonyManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_56_PrivacyWifiManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_59_MicrophoneInputStream.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_60_PhoneStateListener$1.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_61_PhoneStateListener.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_62_ServiceState.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_10_ContextImpl$43.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_11_ContextImpl$44.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_12_ContextImpl$45.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_13_ContextImpl$46.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_14_ContextImpl$47.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_15_ContextImpl.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_1_ContextImpl$10.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_2_ContextImpl$22.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_3_ContextImpl$31.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_4_ContextImpl$37.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_5_ContextImpl$39.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_6_ContextImpl$3.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_7_ContextImpl$40.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_8_ContextImpl$41.patch ... ...applying patches/openpdroid/4.3/cm/20131021/framework_9_ContextImpl$42.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_55_Settings$Secure.patch ... GARBAGE= tmp/system/framework/framework.jar.out/smali/android/provider/Settings$Secure.smali.orig GARBAGE=

... apply core.patch ... ...applying patches/openpdroid/4.3/cm/20131021/core_0_PrivacyInputStream.patch ... ...applying patches/openpdroid/4.3/cm/20131021/core_1_PrivacyProcessManager$PrivacyFileReader.patch ... ...applying patches/openpdroid/4.3/cm/20131021/core_2_PrivacyProcessManager.patch ... ...applying patches/openpdroid/4.3/cm/20131021/core_3_ProcessManager$ProcessImpl.patch ... ...applying patches/openpdroid/4.3/cm/20131021/core_4_ProcessManager.patch ... GARBAGE= GARBAGE=

... apply services.patch ... Succesful match found! Swapping patches/openpdroid/4.3/.reservoir/cm/20131030/services_3_ServerThread.patch for patches/openpdroid/4.3/cm/20131021/services_3_ServerThread.patch!! ...applying patches/openpdroid/4.3/cm/20131021/services_0_BroadcastQueue.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_1_PrivacyTelephonyRegistry$1.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_2_PrivacyTelephonyRegistry.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_4_TelephonyRegistry$1.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_5_TelephonyRegistry$2.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_6_TelephonyRegistry$Record.patch ... ...applying patches/openpdroid/4.3/cm/20131021/services_7_TelephonyRegistry.patch ... ...applying patches/openpdroid/4.3/.reservoir/cm/20131030/services_3_ServerThread.patch ... GARBAGE= GARBAGE=

... apply telephony-common.patch ... Succesful match found! Swapping patches/openpdroid/4.3/.aosp-carbon/20130830/telephony-common_12_RIL$RILSender.patch for patches/openpdroid/4.3/cm/20131021/telephony-common_12_RIL$RILSender.patch!! 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' 14 out of 20 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/SMSDispatcher.smali.rej We did not find a working patch for patches/openpdroid/4.3/pa/20130915/telephony-common_15_SMSDispatcher.patch...looking for other solutions! Succesful match found! Swapping patches/openpdroid/4.3/.reservoir/cm/20131030/telephony-common_6_CdmaServiceStateTracker.patch for patches/openpdroid/4.3/cm/20131021/telephony-common_6_CdmaServiceStateTracker.patch!! FAILED_FILE is telephony-common_15_SMSDispatcher.patch MATCHED_FILE is SMSDispatcher.patch MATCH_PATTERN IS SMSDispatcher. Provisional is

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

!!! error: SMSDispatcher.patch in telephony-common.jar cannot be remedied

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

If your deodexed rom is not on the supported list and you want it added:

- Upload your log and a link to the rom's source code (mandatory)

 and be patient, please!
chickenfactory commented 11 years ago

here is the link to my build: http://d-h.st/Q6M

the error above occurs when using this build

mateor commented 11 years ago

Okay. The link you sent this morning was a build from 10/28. The patches I made worked for that rom.

The link you just sent me is from a build from 10/30. That includes another (different) change from CyanogenMod that breaks the patches, but by coincidence, in the same spot. I will rebuild the CM patches which will fix your issue, but just so you know, the patches worked on what you originally sent me.

chickenfactory commented 11 years ago

I am very sorry about that and for the inconvenience I have caused. I was assuming not much would have changed from the 10/28 build to the 10/29 or 10/30 build

Thanks for all your hard work!

mateor commented 11 years ago

oh no problem. I would much rather hear about the issues like this so I can solve them. You don't have to be sorry for nothin. :)

mateor commented 11 years ago

Okay bad news for you my friend.

I am not going to go too far into it here (search google for "android framework.jar method cap" I am probably one of the most frequent discussers of this issue) but CyanKang has thrown a bunch of various frameworks together and as such, has left no room for OpenPDroid in the framework.jar. This was a problem in Android 4.1 for all custom roms, but it was solved. Last month PACman roms had the same issue pop up, but I alerted them and sent in a fix, and they changed it.

If KitKat wasn't so close, I would see what I could do, but it doesn't seem worth it, the new builds should be landing within the week, which means at worst the development of 4.3 is ending ASAP. Sorry but no more CyanKang support for now. If you want to alert the developer, if he is willing I can send him five commits which will allow OpenPdroid support to resume. But by the time we get that together, I am pretty sure KitKat will have dropped.

Sorry friend.

chickenfactory commented 11 years ago

I'll alert him. His username on xda is Der_Schubi. I'll post link to this issueissue on the ROM thread as well

mateor commented 11 years ago

Okay. If he posts here, the patches are very simple. Pacman just applied them. You will need a framework2.jar, like what was seen in CM10 among others. No difference for end users, but enables PDroid support.

My bet is that Google splits out more methods in KitKat again, but that is no guarantee.

mateor commented 11 years ago

I am putting this as a 'wontfix' from me, although I am certainly willing to support it if the dev does. This rom may just run out of room for its own methods, that is what happened to PACman.