5,605,187 Members 39,096 Now Online
XDA Developers Android and Mobile Development Forum

[Utility][v3.5.0][11/08] Auto-Patcher (4.4)

Tip us?
 
madyinwhich
Old
#2161  
Junior Member
Thanks Meter 2
Posts: 6
Join Date: Jan 2013
Hi mateorod,

just to inform you I tried to patch the CM10.1 nightly from yesterday for my Galaxy S2 and it failes. I used the auto-patcher v2.6.55.

Code:
### jar patch openpdroid/4.2/cm/20130201 ###
... apply framework.patch ...
The next patch would create the file 'smali/android/app/ContextImpl$43.smali',
which already exists!  Skipping patch.
1 out of 1 hunk ignored
Reversed (or previously applied) patch detected!  Skipping patch.
16 out of 16 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'
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file smali/android/content/AsyncTaskLoader.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.
1 out of 1 hunk ignored -- saving rejects to file smali/android/net/wifi/WifiStateMachine.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/android/os/storage/StorageVolume.smali.rej
... apply preloaded.patch ...
... apply core.patch ...
... apply services.patch ...
150 out of 152 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
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
nsmart
Old
#2162  
nsmart's Avatar
Senior Member
Thanks Meter 141
Posts: 351
Join Date: Sep 2011
Quote:
Originally Posted by madyinwhich View Post
just to inform you I tried to patch the CM10.1 nightly from yesterday for my Galaxy S2 and it failes. I used the auto-patcher v2.6.55.
Try autopatcher version 2.6.65 (u can use APG to sync with autopatcher github) with your rom version from 20130212. I could successfully patch cm10.1 from 20130212 for Nexus 4 and it it working without FCs of "com.android.phone" process.
The Following User Says Thank You to nsmart For This Useful Post: [ Click to Expand ]
 
W@tcher
Old
#2163  
W@tcher's Avatar
Member
Thanks Meter 5
Posts: 50
Join Date: Oct 2012
Quote:
Originally Posted by W@tcher View Post
did a manual patch with those from 20130201 (edited!) and that works for me
will try a manual patch with the newer one from 20130108 and report...but not now...its late & i have to sleep a little
report:
nope...manual patching pa 3.00 openpdroid with the patches from 20130208 causes fc´s to phone as well
ap-logs

if its helpfull..i´ve noticed that at 20130201 there were 3 lines to edit and at 20130208 just 2

hope that i helped you out
Phone:GT-i9100
Kernel:Dorimanx 9.14
1stRom:P.A.C. v23.0 PDroid 2.0 Integrated by AuSSiELaMbChOpS
2ndRom:Stock ICS 4.1.2 Deodexed
Baseband:XXLS8

﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏
Tablet:Galaxy Tab P1000
Rom:PA 2.53
Baseband:XXJPZ
unfortunately water leaking while charging & bootloop now & no conn to pc diy-repaired
 
madyinwhich
Old
#2164  
Junior Member
Thanks Meter 2
Posts: 6
Join Date: Jan 2013
Quote:
Originally Posted by nsmart View Post
Try autopatcher version 2.6.65 (u can use APG to sync with autopatcher github) with your rom version from 20130212. I could successfully patch cm10.1 from 20130212 for Nexus 4 and it it working without FCs of "com.android.phone" process.
Thank you nsmart, with v2.6.65 all works well.
 
baastien
Old
(Last edited by baastien; 13th February 2013 at 09:54 PM.)
#2165  
baastien's Avatar
Member
Thanks Meter 10
Posts: 96
Join Date: Dec 2010
Quote:
Originally Posted by mateorod View Post
A log cat for any FCs would be nice, but auto-patcher logs( so I know what patches are causing trouble) are a must.

Hi mateorod

N7000 + PA + autopatcher 2.6.65 for openpdroid
and I get phone process FC
here's my log for you !

 

Code:
ROOT= /home/sebastien/Android_Tools/autopatcherv2.6.65
TOOL= /home/sebastien/Android_Tools/autopatcherv2.6.65/patch_tools.tgz
ROM=  /home/sebastien/Android_Tools/autopatcherv2.6.65/pa_n7000-3.00-10FEB2013-140654.zip
ROMX= /home/sebastien/Android_Tools/autopatcherv2.6.65/pa_n7000-3.00-10FEB2013-140654.zip

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

### verify ROM ###
### running ./auto_patcher /home/sebastien/Android_Tools/autopatcherv2.6.65/pa_n7000-3.00-10FEB2013-140654.zip openpdroid
PATH= /home/sebastien/Android_Tools/autopatcherv2.6.65/tmp20130213221849:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sebastien/bin:/home/sebastien/android-sdk-linux/tools

### unzip patch tools ###

### unzip patch patches ###

... result of ROM check: RIL= SamsungExynos4RIL

### probe rom type ###
#### Standard Build Query ####
# VER= v2.6.66
# OS=  linux-gnu 32bit
# VID= 4.2.1
# PID= openpdroid
# MID= pa_n7000-userdebug
# RID= pa
# ANDR= 4.2
# BDID= 20130210
# DID= GT-N7000
# BID= 20130201
Patches are openpdroid/4.2/pa/20130201
### DELETE FILES= 
### COPY FILES= system/app/Mms.apk system/media/PDroid.jpeg
### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar system/framework/telephony-common.jar
### APK FILES= 
### IMG FILES= 
### TXT FILES= 

### unzip rom ###

### create updater script ###

... using Clockworkmod 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("");
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(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(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
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");
unmount("/system");
ui_print("                                        .");
ui_print("                                            .");
ui_print("                                                done!");

### create restore.zip ###

### decompile system files ###

... decompile framework.jar ...

... extract preloaded-classes ...
décompressée: preloaded-classes

... decompile core.jar ...

... decompile services.jar ...

... decompile telephony-common.jar ...
### copy patch openpdroid/4.2/pa/20130201 ###

... copying system/app/Mms.apk ...

... overwriting system/app/Mms.apk from openpdroid ...
«patches/openpdroid/4.2/pa/20130201/system/app/Mms.apk» -> «./system/app/Mms.apk»

... copying system/media/PDroid.jpeg ...
«patches/openpdroid/4.2/pa/20130201/system/media/PDroid.jpeg» -> «./system/media/PDroid.jpeg»

... overwriting ContentResolver.smali ...
### delete patch openpdroid/4.2/pa/20130201 ###
### jar patch openpdroid/4.2/pa/20130201 ###

... apply framework.patch ...

... apply preloaded.patch ...
GARBAGE= 
GARBAGE= 

... apply core.patch ...
GARBAGE= 
GARBAGE= 

... apply services.patch ...
GARBAGE= 
GARBAGE= 

... apply telephony-common.patch ...
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/BaseCommands.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/CallManager$1.smali.rej'
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/CallManager$2.smali.rej'
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/CallManager.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/cat/CatService.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/cat/CommandParamsFactory.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/cat/ValueParser.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/cdma/CdmaConnection.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/cdma/sms/BearerData.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/CommandsInterface.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/DataConnectionTracker.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/gsm/GsmDataConnectionTracker.smali.rej
The next patch would delete the file 'smali/com/android/internal/telephony/gsm/GSMPhone$2.smali',
which does not exist!  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/com/android/internal/telephony/gsm/GSMPhone.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/gsm/GsmServiceStateTracker.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/gsm/SuppServiceNotification.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/PhoneBase.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/PhoneFactory.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/PhoneProxy.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$1.smali.rej'
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/RILRequest.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILReceiver.smali.rej'
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/RIL.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/ServiceStateTracker.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/sip/SipCommandInterface.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/SMSDispatcher.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/SmsUsageMonitor$1.smali.rej'
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/SmsUsageMonitor$SettingsObserverHandler.smali.rej'
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/SmsUsageMonitor$SettingsObserver.smali.rej'
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/SmsUsageMonitor.smali.rej
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/test/SimulatedCommands.smali.rej
GARBAGE= 
GARBAGE= tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/CallManager.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/SmsUsageMonitor$1.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/RIL.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/ServiceStateTracker.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/BaseCommands.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/cat/ValueParser.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/cat/CommandParamsFactory.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/cat/CatService.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/SMSDispatcher.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/RIL$RILReceiver.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/SmsUsageMonitor$SettingsObserverHandler.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/sip/SipCommandInterface.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/RILRequest.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/CallManager$2.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/CallManager$1.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/PhoneProxy.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/RIL$RILSender.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/PhoneFactory.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/SmsUsageMonitor.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/gsm/GsmDataConnectionTracker.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/gsm/GsmServiceStateTracker.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/gsm/GSMPhone.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/gsm/SuppServiceNotification.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/SmsUsageMonitor$SettingsObserver.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/test/SimulatedCommands.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/CommandsInterface.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/DataConnectionTracker.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/cdma/CdmaConnection.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/cdma/sms/BearerData.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/RIL$1.smali.rej tmp/system/framework/telephony-common.jar.out/smali/com/android/internal/telephony/PhoneBase.smali.rej
### apk patch openpdroid/4.2/pa/20130201 ###
### img patch openpdroid/4.2/pa/20130201 ###
### text patch openpdroid/4.2/pa/20130201 ###

### rebuild jar ###

... rebuild framework.jar ...
ajout : classes.dex (entrée = 8156740) (sortie = 3361417) (58% compressés)
ajout : preloaded-classes (entrée = 96080) (sortie = 16124) (83% compressés)

... rebuild core.jar ...
ajout : classes.dex (entrée = 2564684) (sortie = 1084600) (57% compressés)

... rebuild services.jar ...
ajout : classes.dex (entrée = 2078324) (sortie = 937628) (54% compressés)

... rebuild telephony-common.jar ...
ajout : classes.dex (entrée = 459028) (sortie = 185908) (59% compressés)

### create update-pa-GT-N7000-20130210-openpdroid.zip ###
manifest ajouté
ajout : system/framework/framework.jar (entrée = 3378126) (sortie = 3356114) (0% compressés)
ajout : system/framework/core.jar (entrée = 1087840) (sortie = 1082107) (0% compressés)
ajout : system/framework/services.jar (entrée = 938087) (sortie = 936585) (0% compressés)
ajout : system/framework/telephony-common.jar (entrée = 186367) (sortie = 185569) (0% compressés)
ajout : system/app/Mms.apk (entrée = 3230021) (sortie = 2416653) (25% compressés)
ajout : system/media/PDroid.jpeg (entrée = 26898) (sortie = 25744) (4% compressés)
entrée META-INF/ ignorée
ajout : META-INF/com/ (entrée = 0) (sortie = 0) (0% stocké)
ajout : META-INF/com/google/ (entrée = 0) (sortie = 0) (0% stocké)
ajout : META-INF/com/google/android/ (entrée = 0) (sortie = 0) (0% stocké)
ajout : META-INF/com/google/android/update-binary (entrée = 234200) (sortie = 152430) (34% compressés)
ajout : META-INF/com/google/android/updater-script (entrée = 2189) (sortie = 509) (76% compressés)



By the way, that's the tip again to solve phone process FC ? (if any !)



EDIT :
I got it

Quote:
Originally Posted by mateorod View Post
...
  • For the phone FCs, this is because they had a major update to the Mms.apk. If you get constant phone FC's, replace the Mms apk in the update.zip with the one in your rom. I am putting together a fix now, but I will probably have to build the apk first.
I will try it later tomorrow.
 
Dr.Gonzoo
Old
#2166  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Feb 2013
Default failed to patch pdroid on cm10 nightly build for Defy

Hello xda-developers!

I see you could help many people that had similar problems as I do. However, I could not find any advise that worked for me so far. I hope you can have a look at my problem and help me solve it. Thanks! (also thanks for the good work here guys!)

I tried to use auto_patcher (Windows GUI-Version) to get OpendPDroid or Pdroid2 working on a CM10-20130110-NIGHTLY-mb526.zip (für the Motorola Defy+), but could not patch it. I always get this Error Message.
I also tried to patch the actual ROMs from custom-android, MotoIceGun 2.02 and Jelly Cannon 8.1.1. Thei didn't work and the Error output was fairly similar.

Thanks for your help!


Code:
ROOT= /cygdrive/d/Downloads/ApGPackages/ap
TOOL= /cygdrive/d/Downloads/ApGPackages/ap/patch_tools.tgz
ROM=  /cygdrive/d/Downloads/CM10-20130110-NIGHTLY-mb526.zip
ROMX= D:\DOWNLO~1\CM10-2~1.ZIP

### verify tools ###
/cygdrive/d/Downloads/ApGPackages/cygwin/bin/patch
/cygdrive/d/Downloads/ApGPackages/cygwin/bin/tar
/cygdrive/d/Downloads/ApGPackages/Java/bin/jar
/cygdrive/d/Downloads/ApGPackages/Java/bin/java
/cygdrive/d/Downloads/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/d/Downloads/CM10-20130110-NIGHTLY-mb526.zip openpdroid cm
PATH= /cygdrive/d/Downloads/ApGPackages/ap/tmp20130213220903:/cygdrive/d/Downloads/ApGPackages/Java/bin:/cygdrive/d/Downloads/ApGPackages/cygwin/bin:/cygdrive/d/Downloads/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

... result of ROM check: RIL= MotoWrigley3GRIL

### probe rom type ###
#### Standard Build Query ####
# VER= v2.6.66
# OS=  cygwin 32bit
# VID= 4.1.2
# PID= openpdroid
# MID= cm_mb526-userdebug
# RID= cm
# ANDR= 4.1
# BDID= 20130110
# DID= umts_jordan
# BID= 20130201
Patches are openpdroid/4.1/cm/20130201
### 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
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("");
mount("ext3", "EMMC", "/dev/block/mmcblk1p21", "/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, 0, 0755, 0755, "/system/bootmenu/binary/");
set_perm_recursive(0, 0, 0755, 0755, "/system/bootmenu/script/");
set_perm_recursive(0, 0, 0755, 0755, "/system/bootmenu/recovery/sbin/");
set_perm_recursive(0, 2000, 0775, 0664, "/system/bootmenu/config/");
set_perm(0, 0, 0755, "/system/etc/wifi/hostap_wrapper.sh");
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(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 0, 0755, 0755, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
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");
set_perm(0, 0, 0755, "/system/etc/motorola/comm_drv/commdrv_fs.sh");
ui_print("                                        .");
ui_print("                                            .");
ui_print("                                                done!");

### create restore.zip ###

### decompile system files ###
[/PHP]
... decompile framework.jar ...

... extract preloaded-classes ...
 \vergr�t: preloaded-classes

... decompile core.jar ...

... decompile services.jar ...
 \vergr�t: system/framework/framework-res.apk

... installing framework files ...

... decompile Mms.apk ...
### copy patch openpdroid/4.1/cm/20130201 ###

... copying system/media/PDroid.jpeg ...
`patches/openpdroid/4.1/cm/20130201/system/media/PDroid.jpeg' -> `./system/media/PDroid.jpeg'
### delete patch openpdroid/4.1/cm/20130201 ###
### jar patch openpdroid/4.1/cm/20130201 ###

... apply framework.patch ...
Reversed (or previously applied) patch detected!  Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file smali/android/view/ViewGroup.smali.rej

... apply preloaded.patch ...
GARBAGE= 
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/view/ViewGroup.smali.rej

... apply core.patch ...
GARBAGE= 
GARBAGE= 

... apply services.patch ...
142 out of 143 hunks FAILED -- saving rejects to file smali/com/android/server/ServerThread.smali.rej

!!! PATCHING FAILED FOR com/android/server/ServerThread.smali !!!
!!! patch error for com/android/server/ServerThread.smali !!!

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

!!! error: failed com/android/server/ServerThread.smali in services.jar cannot be remedied

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
mateorod
Old
#2167  
Recognized Developer - OP
Thanks Meter 3500
Posts: 1,976
Join Date: Nov 2011
Location: New Orleans

 
DONATE TO ME
First off, sorry to the TabletUI people and anyone who filed a report I did not respond to. When everything breaks, it is hard to keep up with what I have answered and what I have not. IF you had a problem, try your rom again with the new Autopatcher v.2.7.0 and let me know if it isn't fixed.

TabletUI people, I have had zero time to look at that. My apologies. It hasn't been forgotten, just slightly deprioritised.

Auto-patcher v2.7.0 is out to ApG and has been uploaded to techerrata (maybe 15 mins)
  • Fix for PA FC's (I wrote it for 2.6.67, but forgot to push it, sorry)
  • AOKP Build 3 support
  • CM9, CM10 and CM10.1 patches have been rebuilt to accomodate the FM radio addition that broke everything.
This does not include any provisions for breakage which may or may not occur once 4.2.2 gets integrated. I am hoping I won't have to do this all over again.

Quote:
Originally Posted by W@tcher View Post
report:
nope...manual patching pa 3.00 openpdroid with the patches from 20130208 causes fc´s to phone as well
ap-logs

if its helpfull..i´ve noticed that at 20130201 there were 3 lines to edit and at 20130208 just 2

hope that i helped you out
Yeah, I accidentally didn;t push the fix, should work now. Let me know, ok?
Quote:
Originally Posted by baastien View Post
Hi mateorod

N7000 + PA + autopatcher 2.6.65 for openpdroid
and I get phone process FC
here's my log for you !

[
Same as above, try 2.7.0, sorry, Thanks for the time to make the logs!
Quote:
Originally Posted by Dr.Gonzoo View Post
Hello xda-developers!

I see you could help many people that had similar problems as I do. However, I could not find any advise that worked for me so far. I hope you can have a look at my problem and help me solve it. Thanks! (also thanks for the good work here guys!)

I tried to use auto_patcher (Windows GUI-Version) to get OpendPDroid or Pdroid2 working on a CM10-20130110-NIGHTLY-mb526.zip (für the Motorola Defy+), but could not patch it. I always get this Error Message.
I also tried to patch the actual ROMs from custom-android, MotoIceGun 2.02 and Jelly Cannon 8.1.1. Thei didn't work and the Error output was fairly similar.

Thanks for your help!
Sorry the problem is the defy. It is a known issue, resulting from the lack of AOSP support. I have a plan I think may help you guys (essentailly a way to mix and match patches until we find the sweet spot. Hopefully 4.2.2. won't be too bad and I will have some time to work on improving this thing instead of just triage.
Support Beloko Games' source ports of Doom and Quake 1-3, Jedi Knight, etc.

He is hurting from piracy...I need Doom 3 on my phone, you guys. Buy them, ok?
The Following 4 Users Say Thank You to mateorod For This Useful Post: [ Click to Expand ]
 
wkwkwk
Old
#2168  
Senior Member
Thanks Meter 44
Posts: 203
Join Date: Jun 2008
Hello,

Llama cell pollig is still broken, right? I haven't heard anything on this - did by any chance CollegeDev mention how he fixed it?

Thanks.
The Following User Says Thank You to wkwkwk For This Useful Post: [ Click to Expand ]
 
manchucka
Old
#2169  
manchucka's Avatar
Senior Member
Thanks Meter 173
Posts: 227
Join Date: Aug 2010
Location: San Francisco
autopatcherv2.7.0.zip on Techerrata seems to be a bad upload
The Following User Says Thank You to manchucka For This Useful Post: [ Click to Expand ]
 
mateorod
Old
#2170  
Recognized Developer - OP
Thanks Meter 3500
Posts: 1,976
Join Date: Nov 2011
Location: New Orleans

 
DONATE TO ME
Quote:
Originally Posted by wkwkwk View Post
Hello,

Llama cell pollig is still broken, right? I haven't heard anything on this - did by any chance CollegeDev mention how he fixed it?

Thanks.
Yes, for now. I know it is hard to separate, especially since I am developing for both, but the AutoPatcher and OpenPdroid are two separate things. I will keep you guys appraise of when we update the actual content of the OpenPDroid patches, though. For now, the autopatcher patches exactly mirror the *-openpdroid branches in our github repos(OpenPdroidc1.0.1). CollegeDev has released his work though, and we are all getting together to work on the best way to not duplicate work. The transition to opening the source has been really great, every one from CollegeDev on down has been totally supportive. We also have some other developers contributing and reviewing the code that really know their stuff.

I can say with assurance that PDroid development has never been stronger than it is right now. Assuming that CollegeDev;s fix for Llama works (and I am sure that it does) that willl be in the next OpenPdroid release. That may be the Android4.2.2 update, or immediately following it. The merge of the PDroid2.0 core and OpenPdroid is beginning, and that will take a little bit. But we're getting there.

And as a general announcement, it looks like Android 4.2.2. is going to break our patches...that is going to entail more than simply rebuilding, so stay tuned.
Quote:
Originally Posted by manchucka View Post
autopatcherv2.7.0.zip on Techerrata seems to be a bad upload
Yep. Godd catch, I wouldn't have caught that. It has been reuploaded, but maybe wait 20-30 mins for the server to cycle over, i have noticed it takes a little while sometimes.
Support Beloko Games' source ports of Doom and Quake 1-3, Jedi Knight, etc.

He is hurting from piracy...I need Doom 3 on my phone, you guys. Buy them, ok?

The Following 3 Users Say Thank You to mateorod For This Useful Post: [ Click to Expand ]
Tags
3g dongles, pdroid, tablet ui, v6 supercharger
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes