[Android Software/Hacking General [Developers Only]] schneidz:
hi, not quite sure what parameters should be used for romtype;i am running build number: unnamed v2.0.1.

[schneidz@hyper autopatcher]$ uname -a -m -p
Linux hyper 2.6.43.8-1.fc15.x86_64 #1 SMP Mon Jun 4 20:33:44 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[schneidz@hyper clips]$ cat /home/schneidz/android/autopatcher/log20121006122526
ROOT= /home/schneidz/android/autopatcher
TOOL= /home/schneidz/android/autopatcher/patch_tools.tgz
ROM= /home/schneidz/android/autopatcher/update-unnamed-sph-d710-v2.0.1-full.zip
ROMX= /home/schneidz/android/autopatcher/update-unnamed-sph-d710-v2.0.1-full.zip

### verify tools ###
/usr/bin/patch
/bin/tar
/usr/bin/jar
/usr/bin/java
/bin/cpio

### verify ROM ###
### running ./auto_patcher update-unnamed-sph-d710-v2.0.1-full.zip pdroid,v6supercharger
PATH= /home/schneidz/android/autopatcher/tmp20121006122526:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/schneidz/bin

### unzip patch tools ###

### unzip patch patches ###

### probe rom type ###
# VER= Auto-Patcher v2.1.2
# OS= linux-gnu 64bit
# VID= 2.3.6
# MID=
# RID= cm7
# BDID= 2011-12-12
# DID=
# BID= latest
# PID= pdroid v6supercharger
### DELETE FILES=
### COPY FILES=
### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar
### APK FILES=
### IMG FILES=
### TXT FILES=

### unzip rom ###

### create updater script ###

... using Clockworkmod installer ...
# generated updater-script
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
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(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0750, "/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, 0, 0775, 0644, "/system/etc/security");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/busybox");
set_perm(0, 0, 06755, "/system/xbin/su");
unmount("/system");

### create restore.zip ###

### decompile system files ###

... decompile framework.jar ...

... extract preloaded-classes ...
inflated: preloaded-classes
inflated: preloaded-classes-wimax

... decompile core.jar ...

... decompile services.jar ...

### jar patch pdroid/cm7/latest ###

... apply framework.patch ...
17 out of 24 hunks FAILED -- saving rejects to file smali/android/app/ContextImpl.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/android/app/DownloadManager$Request.smali.rej'
The text leading up to this was:
--------------------------
|diff -NpruEbB stock_framework/smali/android/app/NotificationGroup.smali moded_framework/smali/android/app/NotificationGroup.smali
|--- stock_framework/smali/android/app/NotificationGroup.smali	2012-08-11 16:35:47.146095825 -0700
|+++ moded_framework/smali/android/app/NotificationGroup.smali	2012-08-11 16:36:10.173557091 -0700
--------------------------
File to patch:
Skip this patch? [y]
9 out of 9 hunks ignored
The text leading up to this was:
--------------------------
|diff -NpruEbB stock_framework/smali/android/app/Profile.smali moded_framework/smali/android/app/Profile.smali
|--- stock_framework/smali/android/app/Profile.smali	2012-08-11 16:35:47.183104602 -0700
|+++ moded_framework/smali/android/app/Profile.smali	2012-08-11 16:36:10.179558516 -0700
--------------------------
File to patch:
Skip this patch? [y]
13 out of 13 hunks ignored
Reversed (or previously applied) patch detected! Skipping patch.
7 out of 7 hunks ignored -- saving rejects to file smali/android/app/SearchDialog.smali.rej
The text leading up to this was:
--------------------------
|diff -NpruEbB stock_framework/smali/android/app/StreamSettings.smali moded_framework/smali/android/app/StreamSettings.smali
|--- stock_framework/smali/android/app/StreamSettings.smali	2012-08-11 16:35:47.536188343 -0700
|+++ moded_framework/smali/android/app/StreamSettings.smali	2012-08-11 16:36:10.462625647 -0700
--------------------------
File to patch:
Skip this patch? [y]
4 out of 4 hunks ignored
Reversed (or previously applied) patch detected! Skipping patch.
11 out of 11 hunks ignored -- saving rejects to file smali/android/app/SuggestionsAdapter.smali.rej
46 out of 47 hunks FAILED -- saving rejects to file smali/android/content/pm/PackageParser.smali.rej
The text leading up to this was:
--------------------------
|diff -NpruEbB stock_framework/smali/android/content/pm/ThemeInfo.smali moded_framework/smali/android/content/pm/ThemeInfo.smali
|--- stock_framework/smali/android/content/pm/ThemeInfo.smali	2012-08-11 16:35:48.647451892 -0700
|+++ moded_framework/smali/android/content/pm/ThemeInfo.smali	2012-08-11 16:36:11.440857648 -0700
--------------------------
File to patch:
Skip this patch? [y]
5 out of 5 hunks ignored
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file smali/android/content/res/Resources.smali.rej
7 out of 7 hunks FAILED -- saving rejects to file smali/android/content/res/StringBlock.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/android/content/SearchRecentSuggestionsProvider$DatabaseHelper.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
33 out of 33 hunks ignored -- saving rejects to file smali/android/content/SearchRecentSuggestionsProvider.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
7 out of 7 hunks ignored -- saving rejects to file smali/android/content/SyncManager.smali.rej
17 out of 17 hunks FAILED -- saving rejects to file 'smali/android/content/SyncManager$SyncHandler.smali.rej'
35 out of 35 hunks FAILED -- saving rejects to file smali/android/content/SyncStorageEngine.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
7 out of 7 hunks ignored -- saving rejects to file smali/android/database/sqlite/SQLiteDatabase.smali.rej
13 out of 13 hunks FAILED -- saving rejects to file smali/android/graphics/drawable/GradientDrawable.smali.rej
1 out of 1 hunk FAILED -- saving rejects to file smali/android/graphics/YuvImage.smali.rej
4 out of 4 hunks FAILED -- saving rejects to file 'smali/android/media/audiofx/BassBoost$Settings.smali.rej'
4 out of 4 hunks FAILED -- saving rejects to file 'smali/android/media/audiofx/Virtualizer$Settings.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file 'smali/android/media/AudioService$VolumeStreamState.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
9 out of 9 hunks ignored -- saving rejects to file 'smali/android/media/AudioService$VolumeStreamState$VolumeDeathHandler.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/net/MailTo.smali.rej
2 out of 2 hunks FAILED -- saving rejects to file smali/android/net/MobileDataStateTracker.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/net/vpn/VpnManager.smali.rej
52 out of 52 hunks FAILED -- saving rejects to file smali/android/net/wifi/WifiStateTracker.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file smali/android/opengl/EGLLogWrapper.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
9 out of 9 hunks ignored -- saving rejects to file smali/android/opengl/GLLogWrapper.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/android/provider/ContactsContract$Contacts.smali.rej'
5 out of 5 hunks FAILED -- saving rejects to file 'smali/android/provider/Telephony$Sms.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file smali/android/renderscript/RSSurfaceView.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file smali/android/server/BluetoothA2dpService.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
23 out of 23 hunks ignored -- saving rejects to file smali/android/speech/tts/TextToSpeech.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/telephony/SmsCbMessage.smali.rej
36 out of 36 hunks FAILED -- saving rejects to file smali/android/text/HtmlToSpannedConverter.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/util/XmlPullAttributes.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/android/view/AbsSavedState$2.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/view/AbsSavedState.smali.rej
15 out of 15 hunks FAILED -- saving rejects to file smali/android/webkit/MimeTypeMap.smali.rej
57 out of 57 hunks FAILED -- saving rejects to file 'smali/android/webkit/WebViewCore$EventHub$1.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/webkit/WebView.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file smali/com/android/internal/os/storage/ExternalStorageFormatter.smali.rej
5 out of 5 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/cdma/EriManager.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
56 out of 56 hunks ignored -- saving rejects to file smali/com/android/internal/telephony/cdma/sms/BearerData.smali.rej
2 out of 2 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/DataConnectionTracker.smali.rej
4 out of 4 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/gsm/GSMPhone.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
7 out of 7 hunks ignored -- saving rejects to file smali/com/android/internal/telephony/GsmAlphabet.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file smali/com/android/internal/telephony/IccIoResult.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/util/TypedProperties.smali.rej
24 out of 24 hunks FAILED -- saving rejects to file smali/com/android/internal/util/XmlUtils.smali.rej
19 out of 19 hunks FAILED -- saving rejects to file smali/com/google/android/mms/pdu/PduPersister.smali.rej

... apply preloaded.patch ...

!!! PATCHING FAILED FOR android/app/ContextImpl.smali android/content/pm/PackageParser.smali android/content/res/StringBlock.smali android/content/SyncManager$SyncHandler.smali' android/content/SyncStorageEngine.smali android/graphics/drawable/GradientDrawable.smali android/graphics/YuvImage.smali android/media/audiofx/BassBoost$Settings.smali' android/media/audiofx/Virtualizer$Settings.smali' android/net/MobileDataStateTracker.smali android/net/wifi/WifiStateTracker.smali android/provider/Telephony$Sms.smali' android/text/HtmlToSpannedConverter.smali android/webkit/MimeTypeMap.smali android/webkit/WebViewCore$EventHub$1.smali' com/android/internal/telephony/cdma/EriManager.smali com/android/internal/telephony/DataConnectionTracker.smali com/android/internal/telephony/gsm/GSMPhone.smali com/android/internal/util/XmlUtils.smali com/google/android/mms/pdu/PduPersister.smali !!!
!!! patch error for android/app/ContextImpl.smali !!!