[Android Software/Hacking General [Developers Only]] Px80:
i'm a windows slave :D cygwin ^^

And i did as you said but now ive got a lot more errors.. may it be that i made a mistake :D

### unzip patch tools ###

### unzip patch patches ###

### probe rom type ###
\vergrößert: system/framework/framework2.jar
# VER= Auto-Patcher v2.2.0
# OS= cygwin 32bit
# VID= 4.1.2
# PID= extension
# MID= PAC_Saga-JZO54K-blindndumb
# RID= aosp-mod
# ANDR= jellybean
# BDID= 20121010
# DID= saga
# BID= 20121016
### DELETE FILES=
### COPY FILES= system/media/PDroid.jpeg
### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar
### APK FILES= system/app/Mms.apk
### IMG FILES=
### TXT FILES=

### unzip rom ###

### create updater script ###

... using Clockworkmod installer ...
# generated updater-script
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/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, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
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(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(1000, 1000, 0644, "/system/etc/paranoid/properties.conf");
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_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
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");
set_perm(0, 0, 06755, "/system/xbin/tcpdump");
unmount("/system");

### create restore.zip ###

### decompile system files ###

... decompile framework.jar ...

... extract preloaded-classes ...
\vergrößert: preloaded-classes

... decompile core.jar ...

... decompile services.jar ...

... decompile Mms.apk ...

### copy patch extension/jellybean/aosp-mod/20121016 ###

... copying system/media/PDroid.jpeg ...
`patches/extension/jellybean/aosp-mod/20121016/system/media/PDroid.jpeg' -> `./system/media/PDroid.jpeg'

### jar patch extension/jellybean/aosp-mod/20121016 ###

... apply framework.patch ...
The next patch would create the file 'smali/android/app/ContextImpl$38.smali',
which already exists! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/gesture/Gesture$1.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/GestureConstants.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/gesture/GestureLibraries$FileGestureLibrary.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/gesture/GestureLibraries$ResourceGestureLibrary.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/GestureLibraries.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/GestureLibrary.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/gesture/GestureOverlayView$1.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/gesture/GestureOverlayView$FadeOutRunnable.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/gesture/GestureOverlayView$OnGestureListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/gesture/GestureOverlayView$OnGesturePerformedListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/gesture/GestureOverlayView$OnGesturingListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/GestureOverlayView.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/GesturePoint.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/Gesture.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/GestureStore.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/GestureStroke.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/GestureUtils.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/gesture/InstanceLearner$1.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/InstanceLearner.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/Instance.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/Learner.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/OrientedBoundingBox.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/gesture/Prediction.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
1 out of 1 hunk FAILED -- saving rejects to file 'smali/android/hardware/Camera$EventHandler.smali.rej'
5 out of 14 hunks FAILED -- saving rejects to file smali/android/hardware/Camera.smali.rej
The next patch would delete the file smali/android/media/audiofx/AcousticEchoCanceler.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/AudioEffect$Descriptor.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/AudioEffect$NativeEventHandler.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/AudioEffect$OnControlStatusChangeListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/AudioEffect$OnEnableStatusChangeListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/AudioEffect$OnParameterChangeListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/audiofx/AudioEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/audiofx/AutomaticGainControl.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/BassBoost$1.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/BassBoost$BaseParameterListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/BassBoost$OnParameterChangeListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/BassBoost$Settings.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/audiofx/BassBoost.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/EnvironmentalReverb$1.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/EnvironmentalReverb$BaseParameterListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/EnvironmentalReverb$OnParameterChangeListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/EnvironmentalReverb$Settings.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/audiofx/EnvironmentalReverb.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Equalizer$1.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Equalizer$BaseParameterListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Equalizer$OnParameterChangeListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Equalizer$Settings.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/audiofx/Equalizer.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/audiofx/NoiseSuppressor.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/PresetReverb$1.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/PresetReverb$BaseParameterListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/PresetReverb$OnParameterChangeListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/PresetReverb$Settings.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/audiofx/PresetReverb.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Virtualizer$1.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Virtualizer$BaseParameterListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Virtualizer$OnParameterChangeListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Virtualizer$Settings.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/audiofx/Virtualizer.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Visualizer$NativeEventHandler.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Visualizer$OnDataCaptureListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/audiofx/Visualizer$OnServerDiedListener.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/audiofx/Visualizer.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/EffectContext.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/EffectFactory.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/AutoFixEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file 'smali/android/media/effect/effects/BackDropperEffect$1.smali',
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/BackDropperEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/BitmapOverlayEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/BlackWhiteEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/BrightnessEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/ColorTemperatureEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/ContrastEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/CropEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/CrossProcessEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/DocumentaryEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/DuotoneEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/FillLightEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/FisheyeEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/FlipEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/GrainEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/GrayscaleEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/IdentityEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/LomoishEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/NegativeEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/PosterizeEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/RedEyeEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/RotateEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/SaturateEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/SepiaEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/SharpenEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/StraightenEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/TintEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/effects/VignetteEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/Effect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/EffectUpdateListener.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file smali/android/media/effect/FilterEffect.smali,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
...
....
.....
......

!!! PATCHING FAILED FOR android/hardware/Camera$EventHandler.smali' android/hardware/Camera.smali android/media/MediaRecorder.smali android/os/SystemProperties.smali com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali com/android/internal/telephony/gsm/GsmServiceStateTracker.smali com/android/internal/telephony/PhoneFactory.smali com/android/internal/telephony/SMSDispatcher.smali !!!
!!! patch error for android/hardware/Camera$EventHandler.smali' !!!

its too long to post the whole ^^