yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mateorod:
Thanks for helping semininja, proudfoot.

Yeah, you would be using a slightly older version of the Mms.apk. I actually could/should revert to have that file patched as opposed to copied over. I originally was patching that like the other jars, but apktool was giving some people problems so I switch to copying it over.

But now I have fixed apktool and aapt, so perhaps it is time to patch Mms again. I will add that to the next update, but will probably see if I can make it conditional, as in if the patching for Mms fails, then we copy over a prebuilt. I cannot do that with system apps but it is an option with apks and makes the patching more reliable.

I know it has been publically quiet here in the thread, but I am working hard on everything, believe it or not. There have been some user submissions that have helped me gain some insight for some stock rom patching, and a couple of the team members and I are begining to work on trying to bring the patches up to 4.2.

I thought I was off the patch maintenance duty, but one more round looks to be necessary. To help jog my memory, if anyone is having a non-standard problem please remind me in the thread. I define non-standard as not supporting a rom I claim to support. If your stock rom still won't patch I consider that a known issue. One I am working on, but still a known issue. I have some little improvements written as well, just not merged yet.

The things I have on my list is Mms.apk patching, and the mysterious loss of soft buttons with that one maguro user. Anything else?
[Android Software/Hacking General [Developers Only]] SeeDoubleYous:
Is it possible to run PDroid on SlimBean 3.1?

I was not able to create a patch...
[Android Software/Hacking General [Developers Only]] :
I have the same Problem. :(
[Android Software/Hacking General [Developers Only]] jahrule:
use CM and choose Yes when prompted. done

---------- Post added at 04:49 AM ---------- Previous post was at 04:48 AM ----------

Is the new pd2.0 ver.5.2 avaliable for autopatcher?
[Android Software/Hacking General [Developers Only]] nk7:
Yeh mate as Jahrule says - select "CM" under 'Select ROM Type'. I am assuming this is Pdroid 2.0/Extension that you wish to use correct? I believe I already posted those patches on the Slim Bean ROM thread if you want those but at least you can sort if out yourself now...Also found this updated framework version:

http://xdaforums.com/showpost.php?p=34959613&postcount=2038 EDIT: This is not framework 1.52 FYI...
[Android Software/Hacking General [Developers Only]] mateorod:
All of the latest patches produced by CollegeDev are available in autopatcher. He released a new apk, but still no 4.2 patches. So you can use the app, but it may not take ful advantage of all of the features until new patches are produced.

I have gotten tired of waiting and so I am working with some people to port the patches to 4.2. But it may take a minute, a bunch of the classes we have used since svyat left just got deprecated by google and so we have some work to do...
[Android Software/Hacking General [Developers Only]] jahrule:
I was not referring to 4.2 android but collegedev's 5.2 version of his patch which was released on 12-8
[Android Software/Hacking General [Developers Only]] mateorod:
I have not seen or heard of any new framework patches. I have seen CollegeDev tease them, but not release them. As far as I see, his OP says the same thing he has said for a couple weeks, that they are done but not released.

Although Porting to 4.2 is infinitely more important than revising for 4.1.2. Since we really only support custom Roms, all of the user base is certainly going to trend that way, and soon. But I am keeping my eye on it.
[Android Software/Hacking General [Developers Only]] jahrule:
Oh my bad. Thanks for your awesome support and application.
[Android Software/Hacking General [Developers Only]] :
I use PDroid-1.32.apk. I have one i9000. Are you sure that this is the right way:

1) Start ApG.2.0.0.0

2) Select "Bean 3.1 Slim Rome"

3) Select Mod Type "pdroid"

4) Select Rome type "CM"

That works?

If so it works the same with C-Rom Mix V9 is based on Slim Bean 3.1?

It would be nice if someone has the patch for Slim Bean 3.1 and C-Rom Mix V9 successfully created for i9000 and here to download provides.
[Android Software/Hacking General [Developers Only]] jahrule:
I believe the original poster stated that in order for us to get slimrom in here we need someone to compile from source with and without the pd2.0 patches so he can make the patches for auto patcher
[Android Software/Hacking General [Developers Only]] baka2x:
Any chance of Touchwiz roms getting support? Though svyat had the original pdroid working with Touchwiz roms, I'm guessing the major changes between GB to JB would make any of his knowledge useless now?
[Android Software/Hacking General [Developers Only]] grayfoxmg1:
It's been stated before, but I will reiterate it now. As of right now, Mateorod and his fellow AP creators and maintainers are focusing on getting AP compatible with all AOSP builds(CyanogenMod, ParanoidAndroid, PAC, AOKP). As such, OEM specific builds (Sense, Touchwiz, Blur, etc) are put on the back burner. With the hassel that 4.2 has become to integrate the patches into, and the pain in the @$$ that pdroid 2.0 has always been. OEM specific builds are a little less of a priority.

I'm not saying that the team will never get around to creating the necessary patches for OEM builds, but it will be either; when they have a break in keeping up with the Android AOSP (which with the speed at which Google creates updates an new versions *cough* Keylime Pie *cough* is somewhat unlikely), or the team expands and they are able to have someone who focuses on OEM builds.

@mateorod: though I haven't said much in a while, I'm still using autopatcher on your and eyeballers PA port, and I'm still loving it (copyright McDonald's Inc.)
[Android Software/Hacking General [Developers Only]] :
Can somebody help please ? :(
[Android Software/Hacking General [Developers Only]] grayfoxmg1:
Link to ROM and provide Log of what happened
[Android Software/Hacking General [Developers Only]] :
What do you mean ?
[Android Software/Hacking General [Developers Only]] grayfoxmg1:
Provide a link to the rom you want to patch, and also post up a copy of the error log the APG automatically creates upon a failed patch.
[Android Software/Hacking General [Developers Only]] :
Ok the Rom is http://xdaforums.com/showthread.php?t=1925195

And the plain text code http://codepad.org/najkT6ki
[Android Software/Hacking General [Developers Only]] grayfoxmg1:
@mateorod: I tried patching his ROM without selecting the Rom-type(log), but when it began patching it told me that it was patching an aokp-jb rom instead of the CM code it's based on. It also told me that I might find success in an older version of AP.
[Android Software/Hacking General [Developers Only]] mateorod:
I have looked at this but it looks to be a version of SlimRom, which is one of the roms that has been giving people trouble.

We have a lot of success patching a wide range of roms, but the only ones we know we can patch are the major categories listed on the OP. Every device forum now has a bunch of roms, all with little discrete differences. Usually that can play to our advantage, as the internal functions of the roms are similar enough that we can patch them. But on some of them, the little tweaks are just enough to frustrate our patching.

If someone builds SlimRom from source and wants to maintain the patches, let me know. For instance, poncik stepped up for evervolv and now we can support that rom. He has only had to build twice since he began maintaining, it is not an arduous process. But I cannot do it myself, I have no more room for other roms on my hard drive.

And my Pdroid time is taken up porting patches to 4.2 and working on adding stock rom support.

Edit: Thanks to my friends grayfoxmg1 and karamelos for helpng newcomers with the process!
[Android Software/Hacking General [Developers Only]] fefifofum:
I used Autopatcher to patch CM10 for Pdroid2, and noticed that it creates big problems with the app "GPS Status & Toolbox".

When the patch is installed the app stops working. Maybe you could check that out, the app is in Play Store and it's free.
[Android Software/Hacking General [Developers Only]] jhha:
Can we use this patcher for following mod??? :confused::o:confused:

[MOD][DEV] Motorola style Transparent NavBar [JOP40D]

If so how? :confused::confused::confused:

In a CM10 ROM & in Windows(using GUI).!
[Android Software/Hacking General [Developers Only]] pro.aggro:
No, 4.2.1 is not supported atm.
[Android Software/Hacking General [Developers Only]] :
Please help :rolleyes:
[Android Software/Hacking General [Developers Only]] karamelos:
Hi,

auto_patcher support 4 type : pa, cm, aokp, and aosp

In your log

./auto_patcher /cygdrive/d/NEU/C-Rom Mix V9/C-RoM_Mix_v9.zip pdroid aosp-jb

aosp-jb

If you don’t now type leave blank

I trying to patch your rom but ...........

it's not working ( pd2.0 or pdroid )

logs attached
[Android Software/Hacking General [Developers Only]] :
Slim Based Roms are great. It is a pity if that they can not patch it for pdroid. Most apps have permissions not what must be. This spy of the users of private data and consume 3g data volume.
[Android Software/Hacking General [Developers Only]] jdsid:
Patch Working Pdroid2.0 for : C-RoM_Mix-v9 - GT-I9000

Patch Working Pdroid2.0 for : C-RoM_Mix-v9 - GT-I9000

Hi ilyas81:)

Your Rom : http://xdaforums.com/showthread.php?t=1925195

I patched your rom and tested the patch.

it's working for pd2.0.

Logs and Patch attached.

Enjoy....
[Android Software/Hacking General [Developers Only]] :
Please tell me how exactly you done it ?
[Android Software/Hacking General [Developers Only]] jdsid:
You can force the CM on this rom...

See the log.

This is only possible by rewriting some of the code in the AutoPatcher ...
[Android Software/Hacking General [Developers Only]] mateorod:
I see you have added a 12/19 patch, but that was all I could see. Is that a combination of other patch sets? Would you show the rewrite or submit a patch to our github? I am sure others would like this in the future.
[Android Software/Hacking General [Developers Only]] karamelos:
Oups i have not try this option good news for future user :p
[Android Software/Hacking General [Developers Only]] :
Have you done like I have written ? :

If yes are you sure thats the result is ok ? Slim Bean Roms are not based on CM. Therefore I will be sure if its ok before flash.
[Android Software/Hacking General [Developers Only]] karamelos:
Make a backup ( or restore attached) & try it
[Android Software/Hacking General [Developers Only]] yournews777:
Not working with CM-X_MIG-Edition_2.02 (for Defy)

Hello, maybe you can help me : I'm trying to patch the CM-X_MIG-Edition_2.02 (MotoIceGun Edition) (for Defy rom based on CM10-NIGHTLY-121109 by Quarx) in order to be able to use PDroid or PD2.0. I tried on Windows the manual and autopatching procedure but it didn't work. This is the log I got, thanks by advance for your help.

Best regards.
[Android Software/Hacking General [Developers Only]] SilentEYE:
Our Xperia S community can't use PD2.0 at the moment.

Phone model: Xperia S

Rom P.A.C. v 18.0.2 |ALL IN ONE ROM |

APG Tool on Win 7 machine

Error Message all the time:

com.android.phone must be closed

User Collegedev was helpful before and he said that The class: SonyQualcommRIL is missing.

I tried APG tool and manual method.
[Android Software/Hacking General [Developers Only]] mateorod:
Well, you can't use it on this ROM maybe, which I have never claimed to support. But let's take a look anyway. You have not posted the auto-patcher log, you have actually posted the terminal output. But what I see is that cm works to patch. But it isn't quite Cyanogen base, because it runs into the method cap. The auro-patcher sees that and then deletes unused rils. But perhaps the script we use to detect which RILs to delete is not working well for these multi-roms.

Would you post your autopatcher log (in the out directory, where the update.zip is) and your build.prop. And is it a CDMA or GSM phone? You are missing your needed RIL, now to find out why.
[Android Software/Hacking General [Developers Only]] SilentEYE:
Ok I will do my best to provide you what you need. Our Xperia S community would be really happy to have PD2.0 on their phones.

First, It is a GSM phone. Here is the Rom link, if you need an overview.

Creating an PDroid patch is working without any errors. Just PD2.0 patches will not work at the moment.

Finally I posted two logs: one from the manual patching with cygwin and one log from the APGtool.
[Android Software/Hacking General [Developers Only]] BlackStone0:
i there any way to patch sammy-roms (jb) ?
[Android Software/Hacking General [Developers Only]] baka2x:
No. OEM skinned roms aren't supported.
[Android Software/Hacking General [Developers Only]] Noxious Ninja:
I've ported PDroid 1.32 to the Verizon Galaxy S3 stock ROM (TouchWiz):

[MOD][VRBLK3] PDroid Privacy Protection - keep apps from stealing your data

I plan to look into porting PDroid 2.0 after I get back from holiday vacation.
[Android Software/Hacking General [Developers Only]] mateorod:
Okay, from what I can tell here, the Auto-patcher is deleting things as needed to fit the extra code inside your framework.jar. It is not deleting the RIL that your logcat cannot find either. I am going to have to look a little deeper. I did not write the mini-script that deletes the unneeded RILs, nad maybe there is a problem with that RIL where a file that extends it is accidentally getting deleted.

I will work on it some this week, although the holidays are whipping my butt. Hopefully i can figure something out quickly and we can try it again. This would all be solved if AOKP and PA would simply commit the fixes I sent upstream to them. But they don't know what it is for, so they let it linger and die. Only team that understood it was Cyanogen and they committed it quickly.

But that is spilled milk, I suppose. Glad I won't have to worry about that for 4.2. i will let you know. I am actually sitting on a bunch of little additions to the auto-patcher, I was holding back since they are non-essential and I was feeling guilty about all the updates. But something will be out in relatively short order.
[Android Software/Hacking General [Developers Only]] zhuzf:
Plan to upgrade from CM10 to CM10.1 this weekend. Will Pdroid support CM10.1 then?
[Android Software/Hacking General [Developers Only]] DualJoe:
(never mind... works now)

Tried 'pd2.0' four times without success (auto detected = cm 20121017).

'pdroid' works properly though.

Edit:

'pd2.0 cm 20121015' patchset seems to work...

Edit2:

Never mind. Now even 20121017 (autodetected) works. Maybe its because i updated cygwin and added util-linux (for 'more'). I don't know...

(log removed)
[Android Software/Hacking General [Developers Only]] mateorod:
No it by this weekend. CollegeDev hasn't started on 4.2 yet. Now, CM10.1 is just rolling out this week, but pdroid isn't ready yet.

There really isn't any rhyme or reason. I have never seen anyone fail like that do many times in a row, but with enough attempts, I guess anything is possible.

Sometimes the smali binary just chokes on us and the only recourse is just to run it again. I have worked pretty hard on the error catching, so even with this rare situation, am glad the command line messages inspired you to keep trying until it worked.
[Android Software/Hacking General [Developers Only]] vibrantnoob:
Hello,

I need some help and would greatly appreciate. I really need pdroid2.0 but a bit lost on how to install it.

my phone is Tmobile.Samsung galaxy s2.

The way I understand it is, I have to download cm10 rom for my phone. Apply the auto patcher to the rom on computer. Flash the rom as I would normally do to my phone. Install pdroid apk.

And I am good to go? Is that the correct way to do it?
[Android Software/Hacking General [Developers Only]] karamelos:
1 download ROM (& install it on your phone )

2 patch rom (zip) with auto-patcher (is generated 2 zip)

3 flash update.zip

4 install apk

Enjoy
[Android Software/Hacking General [Developers Only]] vibrantnoob:
Thank you:)

Will post here when i'm done or if I have issues(hopefully not)

Thanks again
[Android Software/Hacking General [Developers Only]] vibrantnoob:
I cannot get apg to work on my comp. It crashes at 99% everytime when downloading cygwin. any ideas on how to resolve this? can I manually install cygwin and then use apg?

Edit* it downloads cygwin but says cannot install. my question remains the same, can I manually install it from somewhere else?

Thanks for the help
[Android Software/Hacking General [Developers Only]] semininja:
I have two quick questions:

1) Is it possible that I might persuade someone to patch TabletUI for the most recent CM10 encore nightly? I can't seem to figure out how to use the Auto-Patcher successfully.

2) If so, will I be able to use the same patch for any following nightly releases or will I need to re-patch?
[Android Software/Hacking General [Developers Only]] karamelos:
Post link of your ROM
[Android Software/Hacking General [Developers Only]] vibrantnoob:
I haven't used apg on the rom yet. It doesn't go thru the intial install of cygwin.

My rom link: http://get.cm/?device=hercules&type=stable

I flashed the latest stable one.

---------- Post added at 02:53 PM ---------- Previous post was at 02:37 PM ----------

my status right now: Apg was getting patcher information and the error message pops up: "failed getting patch list from patch_patches.tgz"

Now Im completely lost on what to do.
[Android Software/Hacking General [Developers Only]] grayfoxmg1:
Completely turn off any anti-virus software, run apg as administrator, then try again.
[Android Software/Hacking General [Developers Only]] Shano56:
No prob :)
[Android Software/Hacking General [Developers Only]] nsmart:
Logfile seems to be accessible now. But I think there is no need for further investigation. I found out that it has something to do with virtualbox version after 4.16 that don't allow creation of symbolic links. So this error is virtualbox related. I tried the cygwin method and it worked instantly!
[Android Software/Hacking General [Developers Only]] dirtyreturn:
http://rootzwiki.com/topic/20429-aospliquidsmooth-ics-v15-rom-06242012/

This text is from patch failed from rom above. ran ./auto_patcher L.zip pdroid ASOP latest. Also I have tried to patch Android Revolution and I think 'Fox Hound'

edit. a patch worked using './auto_patcher .zip latest. Anyone willing to explain why ./auto_patcher .zip (mod) (type) (v.) fails to apply?
[Android Software/Hacking General [Developers Only]] mssngr:
Hi, i'm trying to make a patch with cygwin and keep getting: error: missing "patch diff tools"

In Pastime's second post their are a few solution but none for cygwin.

Any ideas what i'm doing wrong :confused:

Thanks in advance
[Android Software/Hacking General [Developers Only]] mateorod:
From kobik77's cygwin guide (look at the bottom of the first post for a link to the complete guide):

As for the other rom questions, I will try and take a look at some of them tonight. I have been pretty swamped, sorry...

...remember, we support all straight CM9 and AOKP, so there should be intermediate solutions available while you try the existing patches on some of the smaller and device-specific roms.
[Android Software/Hacking General [Developers Only]] mssngr:
Thanks for your quick reply! I did check that box but seems something went wrong. Reinstalled and just rolled out my first patch for ICS! :laugh:
[Android Software/Hacking General [Developers Only]] Trainer_H:
Can someone help me with my problem?
[Android Software/Hacking General [Developers Only]] pastime1971:
looks like your rom cannot be supported.

i don't think that we had any luck with SlimICS rom, if yours is based on it.
[Android Software/Hacking General [Developers Only]] kobik77:
I don't understand why doesn't ROM devs won't add this patch by default?
[Android Software/Hacking General [Developers Only]] mastalee:
mac osx support

Hi thanks for the nice script!

i tried to run in in osx but rhe readlink command is not available with option -f.

so i added a bash function to extract the absolute path of an relative path.

the attached patch will add this function to the v070 version of the script.
[Android Software/Hacking General [Developers Only]] pastime1971:
cool. thanks.

just to be clear, on osx, readlink doesn't support -f option or readlink itself is not available ?

edit: what about -e or -m ?

edit: we could also replace it with `ls $PWD/$FILE`
[Android Software/Hacking General [Developers Only]] anomalya:
+1

Forgive this little rant, but I've just PM'd the chef, whose ROM I'm using (which I've tried Cygwin to patch myself but simply won't), to ask exactly about this.

His ROMs happen to be very, very popular (if not the single most used) for our Samsung Galaxy S II phones, and for all the posts (complete with links to here and pastime and mateorod's work) I wrote to get people to notice about PDroid, all I got was one reply that said, "PDroid only works for GB."

Apparently no one cares much about privacy/permissions protection, apart from ringtones and how to flash, and radios and such.

Here's hoping the chef is a bit more open-minded. :fingers-crossed:
[Android Software/Hacking General [Developers Only]] sensati13:
funny, i got the EXACT same response on the sensation arhd thread. :confused:
[Android Software/Hacking General [Developers Only]] m3adow:
I have to praise dk_zero_cool with his ICS CM9 Rom for the HTC Desire in this matter. I wrote a PM to him asking if he could help me integrating the pdroid-Patch into his source because I was failing, he just added it to his next release.

Wil try the same with Team EOS' Xoom ICS ROM since the autopatcher is failing (errorog if interested: http://pastebin.com/7zgvUAL7 )
[Android Software/Hacking General [Developers Only]] brashmadcap:
+1

This needs to be standard or at least an option in every custom ROM. I haven't pulled the trigger on Jelly Bean because it is not supported yet. We should hound AOKP. You'll notice CM9 dropped privacy control for some reason, we should bring it back into fashion.
[Android Software/Hacking General [Developers Only]] mateorod:
Let me add this to those who are trying to get support for ROMs that don't have patches yet.

While adding a built-in patch may be the easiest thing, I can understand dev's who may not want to add such big framework alterations as a sweeping thing. It can be a big decision modifying framework like this.

But if they would be willing to pump out

just one build

with the build patches attached, then we can make patches from that which usually last for some time.

All we need is a straight build, and then one with the build patches attached. From that we can add support to the Auto-Patcher that usually will last through multiple updates.

Here is where you find the build patches, and the process of making a patched build is really only a five minute commitment (well, and however long the build takes to complete).

Maybe some people would have more luck asking for this as opposed to the bigger decision of including the build patches standard.

If a dev is willing to do this for you, send us the results and we can add support for that rom to the autopatcher