[Android Software/Hacking General [Developers Only]] baastien:
Hi mateorod

N7000 + PA + autopatcher 2.6.65 for openpdroid

and I get phone process FC :(

here's my log for you !

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 :good:

I will try it later tomorrow.