[Android Software/Hacking General [Developers Only]] Bad-Pixel:
ROOT= /cygdrive/f/Backup/NEXUS 4/ApGPackages/ap
TOOL= /cygdrive/f/Backup/NEXUS 4/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/f/Backup/NEXUS 4/CARBON-JB-v1.7-mako.zip
ROMX= F:\Backup\NEXUS4~1\CARBON~1.ZIP

Updater: disabled

You will not be able to get automatic updates because we could not find 'git'.

Find out how to install git for your system and that feature should work automatically

### verify tools ###
/cygdrive/f/Backup/NEXUS 4/ApGPackages/cygwin/bin/patch
/cygdrive/f/Backup/NEXUS 4/ApGPackages/cygwin/bin/tar
/cygdrive/f/Backup/NEXUS 4/ApGPackages/Java/bin/jar
/cygdrive/f/Backup/NEXUS 4/ApGPackages/Java/bin/java
/cygdrive/f/Backup/NEXUS 4/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/f/Backup/NEXUS 4/CARBON-JB-v1.7-mako.zip openpdroid aosp
PATH= /cygdrive/f/Backup/NEXUS 4/ApGPackages/ap/tmp20130708180216:/cygdrive/f/Backup/NEXUS 4/ApGPackages/Java/bin:/cygdrive/f/Backup/NEXUS 4/ApGPackages/cygwin/bin:/cygdrive/f/Backup/NEXUS 4/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

### probe rom type ###
#### Standard Build Query ####
# VER= v2.9.921
# OS= cygwin 32bit
# VID= 4.2.2
# PID= openpdroid
# MID= carbon_mako-userdebug
# RID= aosp
# ANDR= 4.2
# BDID= 20130503
# DID= mako
# BID= 20130213
Patches are openpdroid/4.2/aosp/20130213

Current HEAD: 798c8de01a69caff9ad11a79bcfd4b67e77e11b9 Update Mms.apk slimrom patches...they do not fail anymore for linux/cygwin

### DELETE FILES=
### COPY FILES= 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= 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("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/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(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_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/firmware/discretix");
set_perm(0, 2000, 0755, "/system/vendor/firmware/keymaster");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/firmware/wlan");
set_perm(0, 0, 0644, "/system/vendor/firmware/wlan/prima/WCNSS_cfg.dat");
set_perm(0, 2000, 0755, "/system/vendor/lib");
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 ...
\decompresso: preloaded-classes

... decompile core.jar ...

... decompile services.jar ...

... decompile telephony-common.jar ...
\decompresso: system/framework/framework-res.apk

... installing framework files ...

... decompile Mms.apk ...
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Giovanni\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
### copy patch openpdroid/4.2/aosp/20130213 ###

... copying system/media/PDroid.jpeg ...

... overwriting system/media/PDroid.jpeg from openpdroid ...
`patches/openpdroid/4.2/aosp/20130213/system/media/PDroid.jpeg' -> `./system/media/PDroid.jpeg'
### delete patch openpdroid/4.2/aosp/20130213 ###
### jar patch openpdroid/4.2/aosp/20130213 ###

... apply framework.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
16 out of 16 hunks ignored -- saving rejects to file smali/android/app/BackStackRecord.smali.rej
The next patch would create the file 'smali/android/app/ContextImpl$41.smali',
which already exists! Skipping patch.
1 out of 1 hunk ignored
5 out of 5 hunks FAILED -- saving rejects to file smali/android/app/Fragment.smali.rej
2 out of 2 hunks FAILED -- 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/ContentProviderOperation.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/pm/VerificationParams.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
1 out of 6 hunks FAILED -- saving rejects to file smali/android/os/SystemProperties.smali.rej
1 out of 9 hunks FAILED -- saving rejects to file 'smali/android/provider/Settings$Secure.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file 'smali/android/service/wallpaper/WallpaperService$Engine.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/os/BatteryStatsImpl$StopwatchTimer.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/os/BatteryStatsImpl$Timer.smali.rej'

... apply preloaded.patch ...
!!! PATCHING FAILED FOR android/app/Fragment.smali android/content/AsyncTaskLoader.smali android/os/SystemProperties.smali android/provider/Settings$Secure.smali' !!!
!!! patch error for android/app/Fragment.smali !!!
File for which patching failed:
---------------------------------------------

Fragment.smali

---------------------------------------------

We are adding a pre-patched copy of those files.

Please only file a bug report if running the program gives you problems!!!
... replace android/app/Fragment.smali ...
`patches/openpdroid/4.2/.provisionals/system/framework/framework.jar.out/smali/android/app/Fragment.smali' -> `tmp/system/framework/framework.jar.out/smali/android/app/Fragment.smali'
... failed patch sucessfully resolved ...

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

!!! error: failed android/content/AsyncTaskLoader.smali in framework.jar cannot be remedied

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

I tried to patch Nexus 4 Carbon rom, but it's unable to complete. Any solution?
[MENTION=4515360]juggies[/MENTION] Sorry man... I'm bothering you again :\ (ps: your paranoid patched rom worked well, I just wanna try this other rom)