[Android Software/Hacking General [Developers Only]] tagueulee:
Hi !

The mms.apk patch fail with the last buil too :/

The Auto-Patcher v2.8.6.7

### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
décompressée: system/build.prop
### probe rom type ###
... result of ROM check: version= 4.1.2 rom= cm ...
... Using results of ROM check ...
... openpdroid patch date has been set to: 20130209 ...
### unzip rom ###
décompressée: system/app/Mms.apk
décompressée: system/framework/core.jar
décompressée: system/framework/framework.jar
décompressée: system/framework/services.jar
### create updater script ###
décompressée: META-INF/com/google/android/update-binary
décompressée: META-INF/com/google/android/updater-script
... using Clockworkmod installer ...
### create restore.zip ###
### decompile system files ###
... decompile framework.jar ...
... extract preloaded-classes ...
... decompile core.jar ...
... decompile services.jar ...
... installing framework files ...
I: Framework installed to: /home/utopix/apktool/framework/1.apk
... decompile Mms.apk ...
### copy patch openpdroid/4.1/cm/20130209 ###
... copying system/media/PDroid.jpeg ...
... overwriting GsmServiceStateTracker.smali ...
### jar patch openpdroid/4.1/cm/20130209 ###
... apply framework.patch ...
The next patch would create the file 'smali/android/app/ContextImpl$40.smali',
which already exists! Skipping patch.
1 out of 1 hunk ignored
5 out of 5 hunks FAILED -- saving rejects to file smali/android/content/ContentResolver.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file smali/android/view/ViewGroup.smali.rej
1 out of 5 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/gsm/GsmServiceStateTracker.smali.rej
... apply preloaded.patch ...
!!! PATCHING FAILED FOR android/content/ContentResolver.smali com/android/internal/telephony/gsm/GsmServiceStateTracker.smali !!!

File for which patching failed:
---------------------------------------------

ContentResolver.smali

---------------------------------------------

We can try to add a premade copy of those files.
This sometimes works.

You only need to report this if running the program gives you problems!!!

Do you want to proceed ? (YES/no)
... replace android/content/ContentResolver.smali ...

File for which patching failed:
---------------------------------------------

GsmServiceStateTracker.smali

---------------------------------------------

We can try to add a premade copy of those files.
This sometimes works.

You only need to report this if running the program gives you problems!!!

Do you want to proceed ? (YES/no)
... replace com/android/internal/telephony/gsm/GsmServiceStateTracker.smali ...
... apply core.patch ...
... apply services.patch ...
### apk patch openpdroid/4.1/cm/20130209 ###
... apply Mms.apk.patch ...
21 out of 21 hunks FAILED -- saving rejects to file smali/com/android/mms/transaction/HttpUtils.smali.rej
... Patching Mms.apk failed, but we will copy over a prepatched file ...
### rebuild jar ###
... rebuild framework.jar ...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed compiling framework.jar !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!! Problem with method cap !!!
... attempting fix ...
... rebuild framework.jar ...
... rebuild core.jar ...
... rebuild services.jar ...
### rebuild apk ###
... rebuild Mms.apk ...
### create update-cm-es209ra-20130311-openpdroid.zip ###
### finished ###
flash update-cm-es209ra-20130311-openpdroid.zip to install the patched files
flash restore-cm-es209ra-20130311.zip to restore the original system