[ create a new paste ] login | about

Link: http://codepad.org/qAnuGe2L    [ raw code | fork ]

Plain Text, pasted on Dec 31:
ROOT= /cygdrive/c/apg/ApGPackages/ap
TOOL= /cygdrive/c/apg/ApGPackages/ap/patch_tools.tgz
ROM=  /cygdrive/c/apg/Slim-d2spr-4.3.build.2.2-OFFICIAL-1742.zip
ROMX= C:\apg\SLIM-D~1.ZIP

### checking for updates ###

Updater: Auto-Patcher is already up to date

### verify tools ###
/cygdrive/c/apg/ApGPackages/cygwin/bin/tar
/cygdrive/c/apg/ApGPackages/Java/bin/jar
/cygdrive/c/apg/ApGPackages/Java/bin/java
/cygdrive/c/apg/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/c/apg/Slim-d2spr-4.3.build.2.2-OFFICIAL-1742.zip openpdroid aosp
PATH= /cygdrive/c/apg/ApGPackages/ap/tmp20131231023702:/cygdrive/c/apg/ApGPackages/Java/bin:/cygdrive/c/apg/ApGPackages/cygwin/bin:/cygdrive/c/apg/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

... result of ROM check: RIL= SamsungQualcommRIL

### probe rom type ###
#### GNU Build Query ####
# VER= v3.7.5
# OS=  cygwin 32bit
# VID= 4.3.1
# PID= openpdroid
# MID= slim_d2spr-userdebug
# RID= .aosp-slim
# ANDR= 4.3
# BDID= 20131117
# DID= d2spr
# BID= 20130831

Current HEAD: afc480c18b35277210918fad519d776d4c591d37 Add a failure for when the patch utility cannot find the file to patch


### unzip rom ###
### 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= 

### create updater script ###

... using Clockworkmod installer ...
# generated updater-script
ui_print("");
ui_print("");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("*                                              *");
ui_print("*  *                 The                    *  *");
ui_print("*  *  *           Auto-Patcher           *  *  *");
ui_print("*  *                                        *  *");
ui_print("*                                              *");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("");
ui_print("                 Attention");
ui_print("     ************************************");
ui_print("");
ui_print("               No ART support!");
ui_print("  Only use the davlik runtime with OpenPDroid!");
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_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 0, 0644, "/system/vendor/lib/libbt-vendor.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/.aosp-slim/20130831/system/media/PDroid.jpeg' -> `./system/media/PDroid.jpeg'

### jar patch openpdroid/4.3 ###

... apply framework.patch ...
Matching the created file: ContextImpl$46 for openpdroid/4.3/.aosp-slim
We found 1 Context match: Using: patches/openpdroid/4.3/.aosp-slim/20130831

Succesful match found! Swapping patches/openpdroid/4.3/.aosp-pac/20131028/framework_55_Settings$Secure.patch for framework_54_Settings$Secure.patch!!
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_00_preloaded.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_16_Instrumentation$1.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_17_Instrumentation$2.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_18_Instrumentation$3.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_19_Instrumentation$4.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_20_Instrumentation.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_22_ContentResolver.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_24_Camera$EventHandler.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_25_Camera.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_26_AudioRecord.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_27_MediaRecorder$PrivacyRunner.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_28_MediaRecorder.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_29_NetworkInfo.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_30_WifiInfo.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_33_SystemProperties.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_34_IPrivacySettingsManager.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_35_IPrivacySettingsManager$Stub$Proxy.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_36_IPrivacySettingsManager$Stub.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_37_PrivacyFileObserver.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_38_PrivacyPersistenceAdapter.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_39_PrivacySettings$1.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_40_PrivacySettingsManagerService.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_41_PrivacySettingsManager.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_42_PrivacySettings.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_43_PrivacySettingsStub.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_44_PrivacyAccountManager$PrivacyAccountManagerFuture.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_45_PrivacyAccountManager.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_46_PrivacyActivityManagerService.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_47_PrivacyConnectivityManager.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_48_PrivacyContentResolver.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_49_PrivacyCursor.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_50_PrivacyLocationManager$PrivacyLocationUpdater.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_51_PrivacyLocationManager.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_52_PrivacyTelephonyManager.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_53_PrivacyWifiManager.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_55_MicrophoneInputStream.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_56_PhoneStateListener$1.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_57_PhoneStateListener.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_58_ServiceState.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_10_ContextImpl$42.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_11_ContextImpl$43.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_12_ContextImpl$44.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_13_ContextImpl$45.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_14_ContextImpl$46.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_15_ContextImpl.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_1_ContextImpl$10.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_2_ContextImpl$22.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_3_ContextImpl$31.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_4_ContextImpl$36.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_5_ContextImpl$38.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_6_ContextImpl$39.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_7_ContextImpl$3.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_8_ContextImpl$40.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/framework_9_ContextImpl$41.patch ...
 ...applying patches/openpdroid/4.3/.aosp-pac/20131028/framework_55_Settings$Secure.patch ...
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/app/ContextImpl.smali.orig tmp/system/framework/framework.jar.out/smali/android/net/NetworkInfo.smali.orig tmp/system/framework/framework.jar.out/smali/android/provider/Settings$Secure.smali.orig
GARBAGE= 

... apply core.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/core_0_PrivacyInputStream.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/core_1_PrivacyProcessManager$PrivacyFileReader.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/core_2_PrivacyProcessManager.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/core_3_ProcessManager$ProcessImpl.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/core_4_ProcessManager.patch ...
GARBAGE= 
GARBAGE= 

... apply services.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/services_0_BroadcastQueue.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/services_1_PrivacyTelephonyRegistry$1.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/services_2_PrivacyTelephonyRegistry.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/services_3_ServerThread.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/services_4_TelephonyRegistry$1.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/services_5_TelephonyRegistry$2.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/services_6_TelephonyRegistry$Record.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/services_7_TelephonyRegistry.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/services-gps_fix.patch ...
GARBAGE= tmp/system/framework/services.jar.out/smali/com/android/server/am/BroadcastQueue.smali.orig
GARBAGE= 

... apply telephony-common.patch ...
1 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!
We are substituting a patchable version of CdmaServiceStateTracker.smali
... failed patch sucessfully resolved ...
1 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!
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_0_PrivacyCDMALTEPhone.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_10_IccSmsInterfaceManager.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_11_PhoneFactory.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_12_RIL$RILSender.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_13_SipPhoneFactory.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_14_SipPhone.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_15_SMSDispatcher.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_17_VoiceMailConstants.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_1_PrivacyCDMAPhone.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_2_PrivacyGSMPhone.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_3_PrivacyPhoneProxy.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_4_PrivacySipPhone.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_5_CDMAPhone.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_6_CdmaServiceStateTracker.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_7_CdmaSMSDispatcher$1.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_8_GSMPhone.patch ...
 ...applying patches/openpdroid/4.3/.aosp-slim/20130831/telephony-common_9_GsmServiceStateTracker.patch ...
1 out of 83 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali.rej

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

!!! error: failed telephony-common.patch

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

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!



Create a new paste based on this one


Comments: