Open kouzinger opened 10 years ago
Just letting you know I am still working on this. Building the rom didn;t work for some reason so I need t olook further into why.
ALl this means is that I need to take a look at their manifest and find exactly which telephony-common they were using.
I will let you know. You can still use the builds from a week or so before that while I work if you need to, they do not differ by much.
I don;t know what I can do for you. The source code that the Pac-man roms is based off of has not updated in almost a month (the CyanogenMod ttelephony-common). Maybe the release you are trying to patch is being built off of a release-tag, but until I see what they built off of, I cannot build patches.
This happened once before, and after about a week or so, they pushed the changes publicly and we were able to patch. Let me know if you see activity.
Same problem with APG on Windows and with any recent PAC-ROM nightly. (this time not occluded by a java-error)
ROOT= /home/konrad/Arbeitsfläche/auto-patcher-master TOOL= /home/konrad/Arbeitsfläche/auto-patcher-master/patch_tools.tgz ROM= /home/konrad/Downloads/pac_maguro-nightly-20131119.zip ROMX= /home/konrad/Downloads/pac_maguro-nightly-20131119.zip
checking for updates
Updater: Auto-Patcher is already up to date
verify tools
/usr/bin/patch /bin/tar /usr/bin/jar /usr/bin/java /bin/cpio
verify ROM
running ./auto_patcher ../../Downloads/pac_maguro-nightly-20131119.zip openpdroid
PATH= /home/konrad/Arbeitsfläche/auto-patcher-master/tmp20131122160817:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
unzip patch tools
unzip patch patches
probe rom type
GNU Build Query
VER= v3.6.2
OS= linux-gnu 32bit
VID= 4.3.1
PID= openpdroid
MID= pac_maguro-userdebug
RID= .aosp-pac
ANDR= 4.3
BDID= 20131119
DID= maguro
BID= 20131113
Current HEAD: b5c00152d89a314de1713bce9a5c74f516fd37fd OpD support for vanir4.4 and temasek-cm-11
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"); uiprint(" ***"); ui_print(""); ui_print(" No ART support!"); ui_print(" Only use the davlik runtime with OpenPDroid!"); uiprint(" *"); ui_print(""); ui_print(" There is nothing that can go wrong here"); ui_print(" that reflashing your ROM won't fix."); ui_print(""); package_extract_dir("system", "/system"); ui_print(" ."); ui_print(" ."); ui_print(" done!");create restore.zip
META-INF : no such file or directory Exception in thread "main" java.lang.NoClassDefFoundError: com.android.signapk.SignApk at java.lang.Class.initializeClass(libgcj.so.13) Caused by: java.lang.ClassNotFoundException: sun.security.x509.AlgorithmId not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:signapk.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.13) at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.13) at java.lang.ClassLoader.loadClass(libgcj.so.13) at java.lang.ClassLoader.loadClass(libgcj.so.13) at java.lang.Class.initializeClass(libgcj.so.13)
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/.aosp-pac/20131113/system/media/PDroid.jpeg' -> './system/media/PDroid.jpeg'
jar patch openpdroid/4.3
... apply framework.patch ... Matching the created file: ContextImpl$47 There are 2 Context match; Using: patches/openpdroid/4.3/.aosp-pac/20131028
...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_00_preloaded.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_18_Instrumentation$1.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_19_Instrumentation$2.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_20_Instrumentation$3.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_21_Instrumentation$4.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_22_Instrumentation.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_24_ContentResolver.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_26_Camera$EventHandler.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_27_Camera.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_28_AudioRecord.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_29_MediaRecorder$PrivacyRunner.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_30_MediaRecorder.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_31_NetworkInfo.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_34_WifiInfo.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_36_SystemProperties.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_37_IPrivacySettingsManager.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_38_IPrivacySettingsManager$Stub$Proxy.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_39_IPrivacySettingsManager$Stub.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_40_PrivacyFileObserver.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_41_PrivacyPersistenceAdapter.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_42_PrivacySettings$1.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_43_PrivacySettingsManagerService.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_44_PrivacySettingsManager.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_45_PrivacySettings.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_46_PrivacySettingsStub.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_47_PrivacyAccountManager$PrivacyAccountManagerFuture.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_48_PrivacyAccountManager.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_49_PrivacyActivityManagerService.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_50_PrivacyConnectivityManager.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_51_PrivacyContentResolver.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_52_PrivacyCursor.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_53_PrivacyLocationManager$PrivacyLocationUpdater.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_54_PrivacyLocationManager.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_55_PrivacyTelephonyManager.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_56_PrivacyWifiManager.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_57_Settings$Secure.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_58_PhoneStateListener$1.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_59_PhoneStateListener.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/framework_60_ServiceState.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_10_ContextImpl$43.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_11_ContextImpl$44.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_12_ContextImpl$45.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_13_ContextImpl$46.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_14_ContextImpl$47.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_15_ContextImpl.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_1_ContextImpl$10.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_2_ContextImpl$22.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_3_ContextImpl$31.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_4_ContextImpl$37.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_5_ContextImpl$39.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_6_ContextImpl$3.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_7_ContextImpl$40.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_8_ContextImpl$41.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_9_ContextImpl$42.patch ... GARBAGE= GARBAGE=
... apply core.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/core_0_PrivacyInputStream.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/core_1_PrivacyProcessManager$PrivacyFileReader.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/core_2_PrivacyProcessManager.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/core_3_ProcessManager$ProcessImpl.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/core_4_ProcessManager.patch ... GARBAGE= GARBAGE=
... apply services.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/services_0_BroadcastQueue.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/services_1_PrivacyTelephonyRegistry$1.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/services_2_PrivacyTelephonyRegistry.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/services_3_ServerThread.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/services_4_TelephonyRegistry$1.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/services_5_TelephonyRegistry$2.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/services_6_TelephonyRegistry$Record.patch ... ...applying patches/openpdroid/4.3/.aosp-pac/20131113/services_7_TelephonyRegistry.patch ... GARBAGE= GARBAGE=
... apply telephony-common.patch ... Succesful match found! Swapping patches/openpdroid/4.3/aokp/20131116/telephony-common_12_RIL$RILSender.patch for patches/openpdroid/4.3/.aosp-pac/20131113/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' 18 out of 39 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/cm/20131101/telephony-common_15_SMSDispatcher.patch...looking for other solutions!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! 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: