[HTC Desire X] LarissaJ:
Hi,

I'ld like to know if you can install PDroid on the ShadowDX-ROM (http://xdaforums.com/showthread.php?t=2275569).

But running the autopatcher (http://xdaforums.com/showthread.php?t=1719408) leeds to an error:

ubuntu@ubuntu:~/Downloads$ ./auto_patcher ShadowDX.V.2.0.zip pdroid
The Auto-Patcher v2.9.87

### checking for updates ###
Updater: Auto-Patcher is already up to date

### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
inflated: system/build.prop
### probe rom type ###
!!! is not supported yet, trying aosp !!!
... result of ROM check: version= 4.0.4 rom= aosp ...
... Using results of ROM check ...
... pdroid patch date has been set to: 20120813 ...
### unzip rom ###
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar
### create updater script ###
inflated: META-INF/com/google/android/update-binary
inflated: META-INF/com/google/android/update-binary-installer
inflated: META-INF/com/google/android/updater-script
... using Aroma installer ...
### create restore.zip ###
### decompile system files ###
... decompile framework.jar ...
... extract preloaded-classes ...
... decompile core.jar ...
... decompile services.jar ...
### jar patch pdroid/4.0/aosp/20120813 ###
... apply framework.patch ...
... apply preloaded.patch ...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed android/app/ActivityThread.smali in framework.jar cannot be remedied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

Use ./auto_patcher -h for the help menu

And the log File:

ROOT= /home/ubuntu/Downloads
TOOL= /home/ubuntu/Downloads/patch_tools.tgz
ROM= /home/ubuntu/Downloads/ShadowDX.V.2.0.zip
ROMX= /home/ubuntu/Downloads/ShadowDX.V.2.0.zip

### checking for updates ###

Updater: Auto-Patcher is already up to date

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

### verify ROM ###
### running ./auto_patcher ShadowDX.V.2.0.zip pdroid aosp
PATH= /home/ubuntu/Downloads/tmp20130622121513:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

### unzip patch tools ###

### unzip patch patches ###

### probe rom type ###
#### Standard Build Query ####
# VER= v2.9.87
# OS= linux-gnu 64bit
# VID= 4.0.4
# PID= pdroid
# MID=
# RID= aosp
# ANDR= 4.0
# BDID= 20121113
# DID= protou
# BID= 20120813
Patches are pdroid/4.0/aosp/20120813

Current HEAD: 71b9ade837d8bd269e7a7a96d4a4af171630ca33 Fix CONFLICTS function

### 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 Aroma installer ...
# generated updater-script
ui_print("");
ui_print("");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("* *");
ui_print("* * The Auto-Patcher * *");
ui_print("* * * * * *");
ui_print("* * by mateor * *");
ui_print("* *");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("");
ui_print(" Attention");
ui_print(" ************************************");
ui_print("");
ui_print(" There is nothing that can go wrong here");
ui_print(" that reflashing your ROM won't fix.");
ui_print("");
package_extract_dir("system", "/system");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 1000, 04750, "/system/bin/iptables");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06755, "/system/bin/reboot");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(0, 1000, 04750, "/system/bin/tc");
set_perm(1000, 1000, 0755, "/system/bin/sysro");
set_perm(1000, 1000, 0755, "/system/bin/sysrw");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(0, 0, 0644, "/system/etc/bluetooth/a2dp_avrcp.conf");
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(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 2000, 0550, "/system/etc/install-recovery.sh");
set_perm(1000, 1000, 0555, "/system/etc/init.qcom.sdio.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(1000, 1000, 0755, "/system/xbin/openvpn");
set_perm(0, 0, 0777, "/system/bin/.ext");
set_perm(0, 0, 06755, "/system/bin/.ext/.su");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
unmount("/system");
ui_print(" .");
ui_print(" .");
ui_print(" done!");

### create restore.zip ###

### decompile system files ###

... decompile framework.jar ...

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

... decompile core.jar ...

... decompile services.jar ...
### copy patch pdroid/4.0/aosp/20120813 ###
### delete patch pdroid/4.0/aosp/20120813 ###
### jar patch pdroid/4.0/aosp/20120813 ###

... apply framework.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file smali/android/accounts/AccountAuthenticatorCache.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file 'smali/android/accounts/AccountManager$AmsTask.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file 'smali/android/accounts/AccountManager$Future2Task.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
17 out of 17 hunks ignored -- saving rejects to file smali/android/accounts/AccountManagerService.smali.rej
14 out of 14 hunks FAILED -- saving rejects to file smali/android/app/ActivityThread.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
15 out of 15 hunks ignored -- saving rejects to file 'smali/android/app/backup/BackupAgent$BackupServiceBinder.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file smali/android/app/backup/RestoreSession.smali.rej
1 out of 1 hunk FAILED -- saving rejects to file 'smali/android/app/ContextImpl$26.smali.rej'
The next patch would create the file 'smali/android/app/ContextImpl$34.smali',
which already exists! Skipping patch.
1 out of 1 hunk ignored
Reversed (or previously applied) patch detected! Skipping patch.
10 out of 10 hunks ignored -- saving rejects to file smali/android/app/DownloadManager.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
14 out of 14 hunks ignored -- saving rejects to file smali/android/app/Fragment.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file 'smali/android/app/LoaderManagerImpl$LoaderInfo.smali.rej'
8 out of 8 hunks FAILED -- saving rejects to file 'smali/android/app/WallpaperManager$Globals.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file smali/android/bluetooth/BluetoothSocket.smali.rej
8 out of 8 hunks FAILED -- saving rejects to file 'smali/android/content/AbstractThreadedSyncAdapter$SyncThread.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
26 out of 26 hunks ignored -- saving rejects to file smali/android/content/ContentResolver.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/content/CursorLoader.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/content/Loader.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file 'smali/android/content/SyncManager$InitializerServiceConnection.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
15 out of 15 hunks ignored -- saving rejects to file smali/android/content/SyncStorageEngine.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file smali/android/database/BulkCursorToCursorAdaptor.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file smali/android/database/sqlite/SQLiteClosable.smali.rej
4 out of 4 hunks FAILED -- saving rejects to file smali/android/database/sqlite/SQLiteCursor.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
21 out of 21 hunks ignored -- saving rejects to file smali/android/database/sqlite/SQLiteDatabase.smali.rej
3 out of 3 hunks FAILED -- saving rejects to file smali/android/database/sqlite/SQLiteStatement.smali.rej
4 out of 5 hunks FAILED -- saving rejects to file smali/android/media/MediaPlayer.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file smali/android/net/VpnService.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
36 out of 36 hunks ignored -- saving rejects to file smali/android/net/wifi/WifiConfigStore.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
31 out of 31 hunks ignored -- saving rejects to file 'smali/android/opengl/GLSurfaceView$GLThread.smali.rej'
2 out of 2 hunks FAILED -- saving rejects to file 'smali/android/os/StrictMode$AndroidBlockGuardPolicy.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file smali/android/os/StrictMode.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
26 out of 26 hunks ignored -- saving rejects to file smali/android/server/BluetoothService.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/android/service/textservice/SpellCheckerService$InternalISpellCheckerSession.smali.rej'
1 out of 1 hunk FAILED -- saving rejects to file 'smali/android/telephony/PhoneStateListener$1.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file smali/android/view/accessibility/AccessibilityManager.smali.rej
5 out of 5 hunks FAILED -- saving rejects to file smali/android/view/SurfaceView.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
11 out of 11 hunks ignored -- saving rejects to file 'smali/android/view/ViewRootImpl$AccessibilityInteractionController.smali.rej'
2 out of 2 hunks FAILED -- saving rejects to file 'smali/android/view/ViewRootImpl$W.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/android/webkit/HTML5VideoViewProxy$PosterDownloader.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file 'smali/android/webkit/WebIconDatabase$EventHandler.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file 'smali/android/webkit/WebView$6.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file 'smali/android/webkit/WebView$7.smali.rej'
11 out of 11 hunks FAILED -- saving rejects to file 'smali/android/widget/ActivityChooserModel$HistoryLoader.smali.rej'
6 out of 6 hunks FAILED -- saving rejects to file 'smali/android/widget/ActivityChooserModel$HistoryPersister.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
9 out of 9 hunks ignored -- saving rejects to file 'smali/android/widget/Filter$RequestHandler.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
33 out of 33 hunks ignored -- saving rejects to file smali/android/widget/GridView.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
30 out of 30 hunks ignored -- saving rejects to file smali/android/widget/ListView.smali.rej
6 out of 6 hunks FAILED -- saving rejects to file smali/android/widget/TextView.smali.rej
2 out of 2 hunks FAILED -- saving rejects to file smali/com/android/internal/os/BatteryStatsImpl.smali.rej
The text leading up to this was:
--------------------------
|diff -NpruEbB stock_framework/smali/com/android/internal/telephony/BaseCommands.smali moded_framework/smali/com/android/internal/telephony/BaseCommands.smali
|--- stock_framework/smali/com/android/internal/telephony/BaseCommands.smali	2012-08-14 09:22:22.788605279 -0700
|+++ moded_framework/smali/com/android/internal/telephony/BaseCommands.smali	2012-08-14 09:22:48.666741159 -0700
--------------------------
File to patch:
Skip this patch? [y]
4 out of 4 hunks ignored
The text leading up to this was:
--------------------------
|diff -NpruEbB stock_framework/smali/com/android/internal/telephony/cdma/EriManager.smali moded_framework/smali/com/android/internal/telephony/cdma/EriManager.smali
|--- stock_framework/smali/com/android/internal/telephony/cdma/EriManager.smali2012-08-14 09:22:22.931639194 -0700
|+++ moded_framework/smali/com/android/internal/telephony/cdma/EriManager.smali2012-08-14 09:22:48.850784797 -0700
--------------------------
File to patch:
Skip this patch? [y]
4 out of 4 hunks ignored
The text leading up to this was:
--------------------------
|diff -NpruEbB stock_framework/smali/com/android/internal/telephony/IccRecords.smali moded_framework/smali/com/android/internal/telephony/IccRecords.smali
|--- stock_framework/smali/com/android/internal/telephony/IccRecords.smali	2012-08-14 09:22:22.841617850 -0700
|+++ moded_framework/smali/com/android/internal/telephony/IccRecords.smali	2012-08-14 09:22:48.716753017 -0700
--------------------------
File to patch:
Skip this patch? [y]
4 out of 4 hunks ignored
The text leading up to this was:
--------------------------
|diff -NpruEbB stock_framework/smali/com/android/internal/telephony/SMSDispatcher.smali moded_framework/smali/com/android/internal/telephony/SMSDispatcher.smali
|--- stock_framework/smali/com/android/internal/telephony/SMSDispatcher.smali	2012-08-14 09:22:22.868624253 -0700
|+++ moded_framework/smali/com/android/internal/telephony/SMSDispatcher.smali	2012-08-14 09:22:48.748760606 -0700
--------------------------
File to patch:
Skip this patch? [y]
18 out of 18 hunks ignored

... apply preloaded.patch ...
!!! PATCHING FAILED FOR android/app/ActivityThread.smali android/app/ContextImpl$26.smali' android/app/WallpaperManager$Globals.smali' android/content/AbstractThreadedSyncAdapter$SyncThread.smali' android/database/sqlite/SQLiteCursor.smali android/database/sqlite/SQLiteStatement.smali android/media/MediaPlayer.smali android/os/StrictMode$AndroidBlockGuardPolicy.smali' android/telephony/PhoneStateListener$1.smali' android/view/SurfaceView.smali android/view/ViewRootImpl$W.smali' android/widget/ActivityChooserModel$HistoryLoader.smali' android/widget/ActivityChooserModel$HistoryPersister.smali' android/widget/TextView.smali com/android/internal/os/BatteryStatsImpl.smali !!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!! error: failed android/app/ActivityThread.smali in framework.jar cannot be remedied

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Can anybody help me, please?

Btw.: ShadowDX is an Android 4.0 build so OpenPDroid and PDroid2.0 won't work there and I've to use the old PDroid.

I really like this ROM but maybe there is another one working with PDroid (OpenPDroid or PDroid2.0). Did you get it running? What ROM do you use?

Thanks for helping.

Larissa