[Android Software/Hacking General [Developers Only]] Feareilo:
Have you tried downloading the auto-patcher file again? 'Cause the patch tools may be corrupted or something. However, I think that you may not have write permissions for that particular folder. Have you tried "chown username:username foldername" or "chmod -R"?

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

Ok, now my (really weird) problem.

As I said I would earlier today, I successfully deodexed the ROM and tried to use the auto-patcher. However, I got an error without a description.

Terminal output:

suprememaster@suprememaster:~/Desktop/Android/PDroid/ap$ ./auto_patcher DeodexedMiniCM7.zip pdroid cm7
### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
### unzip rom ###
inflated: system/framework/core.jar
inflated: system/framework/services.jar
inflated: system/framework/framework.jar
### create updater script ###
inflated: META-INF/com/google/android/update-binary
inflated: META-INF/com/google/android/updater-script
### using Clockworkmod installer ###
### create restore.zip ###
### decompile framework.jar ###
... extract preloaded-classes ...
### decompile core.jar ###
### decompile services.jar ###
### patch pdroid/cm7/latest ###
### apply framework.patch ###
1 out of 11 hunks FAILED -- saving rejects to file smali/android/app/SuggestionsAdapter.smali.rej
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed framework.patch
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! please refer to /home/suprememaster/Desktop/Android/PDroid/ap/log20120815222041 for any debugging

! patching failed.
! it may be possible to patch /home/suprememaster/Desktop/Android/PDroid/ap/DeodexedMiniCM7.zip using other patch version

smali auto patcher v1.5.0
pdroid 1.32 patches 2012.08.09.
v6supercharger patches 2012.08.09.

usage: ./auto_patcher ROM.ZIP MODS [ROMTYPE] [PATCHDATE]

MODS can be pdroid,v6supercharger or pdroid or v6supercharger
optional [ROMTYPE] can be cm9, aokp, etc.
optional [PATCHDATE] can be specified to use older patch versions.
try "./auto_patcher ROM.ZIP -h" to see what is available

Log output:

ROOT= /home/suprememaster/Desktop/Android/PDroid/ap
TOOL= /home/suprememaster/Desktop/Android/PDroid/ap/patch_tools.tgz
ROM= /home/suprememaster/Desktop/Android/PDroid/ap/DeodexedMiniCM7.zip
ROMX= /home/suprememaster/Desktop/Android/PDroid/ap/DeodexedMiniCM7.zip

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

### verify ROM ###
# running ./auto_patcher DeodexedMiniCM7.zip pdroid cm7

### unzip patch tools ###
signapk.jar
updatecert.pem
updatekey.pk8
update-template.zip
smali.jar
baksmali.jar

### unzip patch patches ###
patches/
patches/pdroid/
patches/pdroid/aosp/
patches/pdroid/aosp/20120515/
patches/pdroid/aosp/20120515/core.patch
patches/pdroid/aosp/20120515/preloaded.patch
patches/pdroid/aosp/20120515/services.patch
patches/pdroid/aosp/20120515/framework.patch
patches/pdroid/aosp/20120624/
patches/pdroid/aosp/20120624/core.patch
patches/pdroid/aosp/20120624/preloaded.patch
patches/pdroid/aosp/20120624/services.patch
patches/pdroid/aosp/20120624/framework.patch
patches/pdroid/aosp/latest/
patches/pdroid/aosp/latest/core.patch
patches/pdroid/aosp/latest/preloaded.patch
patches/pdroid/aosp/latest/services.patch
patches/pdroid/aosp/latest/framework.patch
patches/pdroid/aosp/20120507/
patches/pdroid/aosp/20120507/core.patch
patches/pdroid/aosp/20120507/preloaded.patch
patches/pdroid/aosp/20120507/services.patch
patches/pdroid/aosp/20120507/framework.patch
patches/pdroid/aosp/20120506/
patches/pdroid/aosp/20120506/core.patch
patches/pdroid/aosp/20120506/preloaded.patch
patches/pdroid/aosp/20120506/services.patch
patches/pdroid/aosp/20120506/framework.patch
patches/pdroid/cm10/
patches/pdroid/cm10/latest
patches/pdroid/cm10/20120806/
patches/pdroid/cm10/20120806/core.patch
patches/pdroid/cm10/20120806/preloaded.patch
patches/pdroid/cm10/20120806/services.patch
patches/pdroid/cm10/20120806/framework.patch
patches/pdroid/aokp/
patches/pdroid/aokp/20120702/
patches/pdroid/aokp/20120702/core.patch
patches/pdroid/aokp/20120702/preloaded.patch
patches/pdroid/aokp/20120702/services.patch
patches/pdroid/aokp/20120702/framework.patch
patches/pdroid/aokp/20120707/
patches/pdroid/aokp/20120707/core.patch
patches/pdroid/aokp/20120707/preloaded.patch
patches/pdroid/aokp/20120707/services.patch
patches/pdroid/aokp/20120707/framework.patch
patches/pdroid/aokp/20120510/
patches/pdroid/aokp/20120510/core.patch
patches/pdroid/aokp/20120510/preloaded.patch
patches/pdroid/aokp/20120510/services.patch
patches/pdroid/aokp/20120510/framework.patch
patches/pdroid/aokp/latest/
patches/pdroid/aokp/latest/core.patch
patches/pdroid/aokp/latest/preloaded.patch
patches/pdroid/aokp/latest/services.patch
patches/pdroid/aokp/latest/framework.patch
patches/pdroid/aokp/20120613/
patches/pdroid/aokp/20120613/core.patch
patches/pdroid/aokp/20120613/preloaded.patch
patches/pdroid/aokp/20120613/services.patch
patches/pdroid/aokp/20120613/framework.patch
patches/pdroid/aokp/20120625/
patches/pdroid/aokp/20120625/core.patch
patches/pdroid/aokp/20120625/preloaded.patch
patches/pdroid/aokp/20120625/services.patch
patches/pdroid/aokp/20120625/framework.patch
patches/pdroid/aokp/20120506/
patches/pdroid/aokp/20120506/core.patch
patches/pdroid/aokp/20120506/preloaded.patch
patches/pdroid/aokp/20120506/services.patch
patches/pdroid/aokp/20120506/framework.patch
patches/pdroid/files.txt
patches/pdroid/cm7/
patches/pdroid/cm7/20120718/
patches/pdroid/cm7/20120718/core.patch
patches/pdroid/cm7/20120718/services.patch
patches/pdroid/cm7/20120718/framework.patch
patches/pdroid/cm7/20120514/
patches/pdroid/cm7/20120514/core.patch
patches/pdroid/cm7/20120514/preloaded.patch
patches/pdroid/cm7/20120514/services.patch
patches/pdroid/cm7/20120514/framework.patch
patches/pdroid/cm7/20120618/
patches/pdroid/cm7/20120618/core.patch
patches/pdroid/cm7/20120618/services.patch
patches/pdroid/cm7/20120618/framework.patch
patches/pdroid/cm7/latest/
patches/pdroid/cm7/latest/core.patch
patches/pdroid/cm7/latest/services.patch
patches/pdroid/cm7/latest/framework.patch
patches/pdroid/cm7/20120625/
patches/pdroid/cm7/20120625/core.patch
patches/pdroid/cm7/20120625/services.patch
patches/pdroid/cm7/20120625/framework.patch
patches/pdroid/cm9/
patches/pdroid/cm9/20120706/
patches/pdroid/cm9/20120706/core.patch
patches/pdroid/cm9/20120706/preloaded.patch
patches/pdroid/cm9/20120706/services.patch
patches/pdroid/cm9/20120706/framework.patch
patches/pdroid/cm9/20120615/
patches/pdroid/cm9/20120615/core.patch
patches/pdroid/cm9/20120615/preloaded.patch
patches/pdroid/cm9/20120615/services.patch
patches/pdroid/cm9/20120615/framework.patch
patches/pdroid/cm9/20120718/
patches/pdroid/cm9/20120718/core.patch
patches/pdroid/cm9/20120718/preloaded.patch
patches/pdroid/cm9/20120718/services.patch
patches/pdroid/cm9/20120718/framework.patch
patches/pdroid/cm9/20120709/
patches/pdroid/cm9/20120709/core.patch
patches/pdroid/cm9/20120709/preloaded.patch
patches/pdroid/cm9/20120709/services.patch
patches/pdroid/cm9/20120709/framework.patch
patches/pdroid/cm9/20120508/
patches/pdroid/cm9/20120508/core.patch
patches/pdroid/cm9/20120508/preloaded.patch
patches/pdroid/cm9/20120508/services.patch
patches/pdroid/cm9/20120508/framework.patch
patches/pdroid/cm9/latest
patches/pdroid/cm9/20120723/
patches/pdroid/cm9/20120723/core.patch
patches/pdroid/cm9/20120723/preloaded.patch
patches/pdroid/cm9/20120723/services.patch
patches/pdroid/cm9/20120723/framework.patch
patches/pdroid/cm9/20120626/
patches/pdroid/cm9/20120626/core.patch
patches/pdroid/cm9/20120626/preloaded.patch
patches/pdroid/cm9/20120626/services.patch
patches/pdroid/cm9/20120626/framework.patch
patches/pdroid/cm9/20120506/
patches/pdroid/cm9/20120506/core.patch
patches/pdroid/cm9/20120506/preloaded.patch
patches/pdroid/cm9/20120506/services.patch
patches/pdroid/cm9/20120506/framework.patch
patches/pdroid/cm9/20120708/
patches/pdroid/cm9/20120708/core.patch
patches/pdroid/cm9/20120708/preloaded.patch
patches/pdroid/cm9/20120708/services.patch
patches/pdroid/cm9/20120708/framework.patch
patches/pdroid/cm9/20120724/
patches/pdroid/cm9/20120724/core.patch
patches/pdroid/cm9/20120724/preloaded.patch
patches/pdroid/cm9/20120724/services.patch
patches/pdroid/cm9/20120724/framework.patch
patches/pdroid/cm9/20120601/
patches/pdroid/cm9/20120601/core.patch
patches/pdroid/cm9/20120601/preloaded.patch
patches/pdroid/cm9/20120601/services.patch
patches/pdroid/cm9/20120601/framework.patch
patches/pdroid/aokp-jb/
patches/pdroid/aokp-jb/20120809/
patches/pdroid/aokp-jb/20120809/core.patch
patches/pdroid/aokp-jb/20120809/preloaded.patch
patches/pdroid/aokp-jb/20120809/services.patch
patches/pdroid/aokp-jb/20120809/framework.patch
patches/pdroid/aokp-jb/latest
patches/pdroid/common/
patches/pdroid/common/latest/
patches/pdroid/common/latest/core.patch
patches/pdroid/common/latest/preloaded.patch
patches/pdroid/common/20120506/
patches/pdroid/common/20120506/core.patch
patches/pdroid/common/20120506/preloaded.patch
patches/pdroid/generic/
patches/pdroid/generic/20120515/
patches/pdroid/generic/20120515/core.patch
patches/pdroid/generic/20120515/preloaded.patch
patches/pdroid/generic/20120515/services.patch
patches/pdroid/generic/20120515/framework.patch
patches/pdroid/generic/20120624/
patches/pdroid/generic/20120624/core.patch
patches/pdroid/generic/20120624/preloaded.patch
patches/pdroid/generic/20120624/services.patch
patches/pdroid/generic/20120624/framework.patch
patches/pdroid/generic/latest/
patches/pdroid/generic/latest/core.patch
patches/pdroid/generic/latest/preloaded.patch
patches/pdroid/generic/latest/services.patch
patches/pdroid/generic/latest/framework.patch
patches/pdroid/generic/20120507/
patches/pdroid/generic/20120507/core.patch
patches/pdroid/generic/20120507/preloaded.patch
patches/pdroid/generic/20120507/services.patch
patches/pdroid/generic/20120507/framework.patch
patches/pdroid/generic/20120506/
patches/pdroid/generic/20120506/core.patch
patches/pdroid/generic/20120506/preloaded.patch
patches/pdroid/generic/20120506/services.patch
patches/pdroid/generic/20120506/framework.patch
patches/v6supercharger/
patches/v6supercharger/cm10/
patches/v6supercharger/cm10/latest
patches/v6supercharger/cm10/20120806/
patches/v6supercharger/cm10/20120806/services.patch
patches/v6supercharger/files.txt
patches/v6supercharger/cm9/
patches/v6supercharger/cm9/20120614/
patches/v6supercharger/cm9/20120614/services.patch
patches/v6supercharger/cm9/latest/
patches/v6supercharger/cm9/latest/services.patch
patches/v6supercharger/cm9/20120711/
patches/v6supercharger/cm9/20120711/services.patch
patches/v6supercharger/aokp-jb/
patches/v6supercharger/aokp-jb/20120809
patches/v6supercharger/aokp-jb/latest
patches/v6supercharger/generic/
patches/v6supercharger/generic/20120614/
patches/v6supercharger/generic/20120614/services.patch
patches/v6supercharger/generic/latest/
patches/v6supercharger/generic/latest/services.patch
patches/v6supercharger/generic/20120711/
patches/v6supercharger/generic/20120711/services.patch
# VID=
# MID=
# RID= cm7
# DID=
# BID= latest
# PID= pdroid
### FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar

### unzip rom ###

### create updater script ###

### using Clockworkmod installer ###
# generated updater-script
mount("yaffs2", "MTD", "system", "/system");
package_extract_dir("system", "/system");
unmount("/system");

### create restore.zip ###
added manifest
adding: system/framework/framework.jar(in = 3247808) (out= 3232374)(deflated 0%)
adding: system/framework/core.jar(in = 1926408) (out= 1916215)(deflated 0%)
adding: system/framework/services.jar(in = 721176) (out= 720499)(deflated 0%)
ignoring entry META-INF/
adding: META-INF/com/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/(in = 0) (out= 0)(stored 0%)
adding: META-INF/com/google/android/update-binary(in = 194636) (out= 127607)(deflated 34%)
adding: META-INF/com/google/android/updater-script(in = 107) (out= 66)(deflated 38%)

### decompile framework.jar ###

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

### decompile core.jar ###

### decompile services.jar ###

### apply framework.patch ###
1 out of 11 hunks FAILED -- saving rejects to file smali/android/app/SuggestionsAdapter.smali.rej

The error happened, apparently, while trying to apply framework.patch. However, that doesn't tell me anything!

Have you got any idea what's going on in here?

EDIT:

Scratch that:

"./auto_patcher DeodexedMiniCM7.zip cm7 20120718" returned no errors.

I'll try it on my phone and I'll edit this post later to let you know whether it's actually working or not.

EDIT 2:

I still haven't tried it but I will in a few minutes. I just wanted to say that the script created two separate logs: I suspect it's because of this:

cat: patches/cm7/files.txt: No such file or directory

One of the logs contains the same exact error I got previously. The only difference is that an update.zip and a restore.zip files are produced. I'll try the update.zip in a few minutes.

Hahaha I just noticed that I didn't hit "save" so I guess I'll say it now: ROM works. Haven't actually tried installing pdroid. Will let you know in some minutes.

EDIT 3:

Mother****ing pdroid said mother****ing patch wasn't mother****ing installed. What the ****, asshole? It is installed, cocksucker! Ok, I'll try a solution I found on the original pdroid thread. Will report again in some minutes.

EDIT 4:

Okay. As per the original post, I tried:

Mutha****a is loading... Ok, install... Open... FÜCK! FÜCK, FÜCK, FÜCK, FÜCK, FÜCK!

This piece of crap keeps saying patch ain't installed. What the FÜCK? This is bull****!

Last ****ing chance: I'll try using the original Windows patcher. If this ****er doesn't work I swear I'll blast the ****ing phone against the wall.

EDIT 5:

Patcher v0.321 (patch v1.32) went into a bootloop.

Trying... patcher v0.31 (patch v1.31)...

EDIT vFinal:

OH MY FÜCKING DOG... I can't believe it. I've exhausted all possibilities and pdroid will not recognize the patch. What the hell? What's wrong? I'll try posting my issues on the other thread too. Hope I can get this solved :(

By the way, the deodexed ROM is quite noticeably slower. It would actually be worth it if pdroid worked but it does not.