[Android Software/Hacking General [Developers Only]] 4ndr0x:
Error when I try to patch RootBox 3.4

xubuntu@xubuntu-VirtualBox:~/3.4$ ./auto_patcher RootBox-JB-i9300-V3.4.zip openpdroid aokp

The Auto-Patcher v2.5.0

### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
inflated: system/build.prop
... result of ROM check: RIL= SamsungExynos4RIL
### probe rom type ###
... result of ROM check: version= 4.2.1 rom= aosp ...
... Using aokp patches ...
... openpdroid patch date has been set to: 20130109 ...
### unzip rom ###
inflated: system/app/Mms.apk
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar
inflated: system/framework/telephony-common.jar
### create updater script ###
inflated: META-INF/com/google/android/update-binary
inflated: 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: /home/xubuntu/apktool/framework/1.apk
... decompile Mms.apk ...
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/xubuntu/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
### copy patch openpdroid/4.2/aokp/20130109 ###
... copying system/media/PDroid.jpeg ...
### jar patch openpdroid/4.2/aokp/20130109 ###
... apply framework.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
16 out of 16 hunks ignored -- saving rejects to file smali/android/app/BackStackRecord.smali.rej
The next patch would create the file 'smali/android/app/ContextImpl$41.smali',
which already exists! Skipping patch.
1 out of 1 hunk ignored
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/content/ContentProviderOperation.smali.rej
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.
4 out of 4 hunks ignored -- saving rejects to file 'smali/android/service/wallpaper/WallpaperService$Engine.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 ...
144 out of 147 hunks FAILED -- saving rejects to file smali/com/android/server/ServerThread.smali.rej
!!! PATCHING FAILED FOR com/android/server/ServerThread.smali !!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed com/android/server/ServerThread.smali in services.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