[Android Software/Hacking General [Developers Only]] anarxisco:
Following error patching

[ROM][4.2.2][UMS/MTP][HALO][PARANOIDANDROID_3.60][GCC4.7-O3.Linaro][09JUNE] with Auto-Patcher .9.8:

administración@admin /cygdrive/d/ap
$ ./auto_patcher pa_endeavoru-3.50-09GIU2013-180321.zip openPDroid pa

The Auto-Patcher v2.9.8

### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
\inflado: system/build.prop
### probe rom type ###
... result of ROM check: version= 4.2.2 rom= pa ...
... Using pa patches ...
./auto_patcher: línea 568: [[: ?????: error sintáctico: se esperaba un operando (el elemento de error es "?????")
./auto_patcher: línea 571: [[: ?????: error sintáctico: se esperaba un operando (el elemento de error es "?????")
... openPDroid patch date has been set to: 20130213 ...
### unzip rom ###
\inflado: system/app/Mms.apk
\inflado: system/framework/core.jar
\inflado: system/framework/framework.jar
\inflado: system/framework/services.jar
\inflado: system/framework/telephony-common.jar
### create updater script ###
\inflado: META-INF/com/google/android/update-binary
\inflado: 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 ...
... decompile telephony-common.jar ...
... installing framework files ...
I: Framework installed to: C:\Users\administraci▒n\apktool\framework\1.apk
... decompile Mms.apk ...
### copy patch openPDroid/4.2/pa/20130213 ###
... copying system/media/PDroid.jpeg ...
... overwriting system/media/PDroid.jpeg from openPDroid ...
... overwriting ContentResolver.smali ...
### jar patch openPDroid/4.2/pa/20130213 ###
... apply framework.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file smali/android/os/Looper.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/os/BatteryStatsImpl$Timer.smali.rej'
... apply preloaded.patch ...
... apply core.patch ...
... apply services.patch ...
... apply services-gps_fix.patch ...
... apply telephony-common.patch ...
27 out of 78 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali.rej
3 out of 9 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/PhoneFactory.smali.rej
1 out of 15 hunks FAILED -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
3 out of 20 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/SMSDispatcher.smali.rej
!!! PATCHING FAILED FOR com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali com/android/internal/telephony/PhoneFactory.smali com/android/internal/telephony/RIL$RILSender.smali' com/android/internal/telephony/SMSDispatcher.smali !!!

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

CdmaServiceStateTracker.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) no
... replace com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali ...

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

PhoneFactory.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/PhoneFactory.smali ...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed com/android/internal/telephony/RIL$RILSender.smali' in telephony-common.jar cannot be remedied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

usage: ./auto_patcher <ROM> <MODS> <ROMTYPE>
example: ./auto_patcher CM10.zip openPDroid cm

Use ./auto_patcher -h for the help menu

administración@admin /cygdrive/d/ap
$