yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mateorod:
I know that you are quite desperate for support for a EVO 3D rom. You have made it quite clear, through the thread as well as private message.

Unfortunately, the realities of the situation have not changed. You can try all of the existing patches on whatever ROM you wish. Should they not patch, we are left with the same two options.

Get the source and create patches from that

Coerce the ROM's creator to build a singular instance of his project, with the build patches applied.

There is truly no more I can do for you. If it doesn't conform to our existing patch set, no amount of wishing/pleading/requesting will abrogate our need of source code to progress further.

Your best bet is to continue to run any likely ROMs through the patcher, and perhaps gather your fellow device owners in a petition to an existing 3D rom's creator.

As for pastime and I, we would like to help you. The above list is the sum total, non-negotiable, of our requirements to do so.
[Android Software/Hacking General [Developers Only]] mithrial:
@mateorod: I tried your zip but no success. Got stuck in bootloop again. The main error was as follows. I attached a full log.

E/AndroidRuntime( 387): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime( 387): java.lang.NoClassDefFoundError: android.app.ContextImpl$ApplicationContentResolver
E/AndroidRuntime( 387):	at android.app.ContextImpl.init(ContextImpl.java)
E/AndroidRuntime( 387):	at android.app.ContextImpl.createSystemContext(ContextImpl.java)
E/AndroidRuntime( 387):	at android.app.ActivityThread.getSystemContext(ActivityThread.java:1486)
E/AndroidRuntime( 387):	at android.app.ActivityThread.attach(ActivityThread.java:3765)
E/AndroidRuntime( 387):	at android.app.ActivityThread.systemMain(ActivityThread.java:3806)
E/AndroidRuntime( 387):	at com.android.server.am.ActivityManagerService.main(ActivityManagerService.java)
E/AndroidRuntime( 387):	at com.android.server.ServerThread.run(SystemServer.java)
E/AndroidRuntime( 387): Error reporting crash
E/AndroidRuntime( 387): java.lang.NullPointerException
E/AndroidRuntime( 387):	at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 387):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 387):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
I/ServiceManager( 131): service 'sensorservice' died
I/ServiceManager( 131): service 'SurfaceFlinger' died
I/ServiceManager( 131): service 'entropy' died
I/ServiceManager( 131): service 'power' died
I/Zygote ( 385): Exit zygote because system server (387) has terminated

Pastime sent me a zip which finally works. It was the last cm7-nightly with pdroid already included (so 1 zip, not 2).

I don't know if I'm allowed to post his work here publically, so ask him what magic he did.
[Android Software/Hacking General [Developers Only]] mateorod:
Oh, I know what he did. His work here is what started the whole project.

Thanks for trying the zip, though. The nightlies just must be real touchy. Pastime'll shoot me the resulting patches later today, now that we have something working for your device. This way you should be able to update at will and be able to make your own patch. Hopefully, CM7 being supposedly stable, these patches can hold for awhile.

New version of the Auto-Patcher, autopatcher20120627v065 is up, with the latest patch set for CM9, 20120626.
[Android Software/Hacking General [Developers Only]] pastime1971:
@ mithrial,

no magic.

just compiled CM7 with PDroid from the source.

we do use PDroid/CM7 build to get the difference from CM7 build, and build smali patches. i just gave you the rom itself.

patch generation only works if our CM7 build is same as nightly. somehow, i don't think they are same... :( which is giving us a headache...

edit: now that PDroid/CM7 build behaves correctly, i will investigate patching when i get a chance.

edit: @ mateo, maybe i will compare my CM7 build with nightly, and try to figure out what is going on. however, it may take a while, because no nightly for vibrantmtd since 24th.
[Android Software/Hacking General [Developers Only]] mateorod:
I just got your pm, sorry, I don't know how I missed your post.

I would try to patch a Cyanogen or AOKP rom first, since I know we support most of those and I don't know anything about the eclipse or icsleak ROMs.

If I had to guess I would say you have been trying only unique custom roms for your device. We can only make patches for ROMs that provide source code. Without the source, there is no way to make patches.

Try a new CM9 rom (we are still working on getting the newer CM7 roms supported. If you want a Gingerbread rom, try a nightly from early June or before and use the 20120514 patches).

If you use the latest CM9 nightly, try

./auto_patcher <ZIP.NAME> pdroid cm9

That patch is brand new, it should work. If the nightly is not from last night, you may need to try an older patch.

./auto_patcher <ZIP.NAME> -h

will list the various supported roms and the patch dates available to them. In practice, each patch date on the list covers that day and every build date until the next patch date listed.

So if -h shows (for gingerbread)

cm7 latest 20120618 20120514

it will default to the latest patch which is 20120618. If your rom is older than that then use the 20120514 patches which cover 5/14-6/18.

That would be done with

./auto_patcher <ZIP.NAME> pdroid cm7 20120514

Note: We are still having trouble with gingerbread since 7.2 final came out on 6/15. Try a Cyanogen nightly from 6/10 or earlier if you want CM7.

I hope that helps. You're very close, I can tell you that much...:D
[Android Software/Hacking General [Developers Only]] pastime1971:
it sounds like ICS-LEAK is based on CM9, http://www.droidhive.com/forums/index.php?/files/file/69-ics-leak-cm9-unofficial-nighghtlies/
[Android Software/Hacking General [Developers Only]] CollegeDev:
Hey,

I've tested the patch and it works, but only for few minutes. If I revoke permissions of system apps like Android-System (e.g. for gps location) it works all fine. After a reboot I get continuously soft-reboots. The problem is that I can't read logcat via usb in this time, so it is not possible to find out what's goin wrong. Have anyone of you some ideas?
[Android Software/Hacking General [Developers Only]] mateorod:
In that case...try

./autopatcher <ZIP.NAME> -h

and note the patch sets next to cm9.

then try them all with, for example

./auto_patcher ics-leak pdroid cm9 <DATE>

where <DATE> is 20120619 and so on.

Just go through them, starting with the most recent. If you see any hunks fail, then it probably won't work. If you see no hunk messages or only hunks ignored, you are probably good to go.
[Android Software/Hacking General [Developers Only]] chris29020:
The link i posted has source links in it and from what i was reading i was thinking it was base off of cm9 (i may be wrong) it keeps hanging up at patching the framework in any rom ive tried so i really not sure what the deal it but im not going to give up before im done i will have beat this lol. Ill take your advice and keep trying i do believe im close and i believe im learning at a decent pace being i never really messed with linux a whole lot before this, and if i do finally succeed i will be sure to let you know. Thx once again for the help

Another thing im not sure if it effects anything is until the ics leak the bionic had a locked bootloader so they were unable to change the kernals or something i really dont know exactly what that means but figured i would throw it in just in case.

---------- Post added at 04:55 PM ---------- Previous post was at 04:41 PM ----------

sry i must have been writing as you posted i went through all the dates and no luck im going to try an older nightly and see how that works out because the one i was using was just released last night so maybe that was the problem
[Android Software/Hacking General [Developers Only]] mateorod:
Well, this is something that pastime has a bunch more experience investigating than I do. But I have experienced that when I first tried PDroid in CM7. There are some processes which blocking system apps interrupts. You can definitely see FC's from that.

It's a bit of a balancing act with some of the system apps. I would try blocking some of the straight Google apps, and maybe just using Droidwall to block the necessary system apps from contacting the network.

But it can take a bit of trial and error to see exactly how much you can block with system apps and still have a functioning tablet.

Experiment some and see what works for you.
[Android Software/Hacking General [Developers Only]] baka2x:
Edit->I just realized post was referring to a GUI for the patch. GTFO, jerkjob. Terminal is king. If you can't use it, find a way instead of crying like a petulant child. Devs don't owe you anything, freeloader.
[Android Software/Hacking General [Developers Only]] brashmadcap:
WTF

First of all, you don't know sh*t. How dare you talk to these guys like they owe you something? They don't owe you a damn thing.

What you meant to say was patches are useless to YOU without a gui/frontend because you are either too lazy or too incompetent to enter a simple command in a virtual machine/cygwin and FOLLOW DIRECTIONS like the rest of us have been doing without complaining for months. These guys put a lot of time and effort (this has been coming together over the past two YEARS since pdroid first came about). And then saying stuff like "That would take me days" is moderately insulting at the least. You know how much work goes into stuff like this? Actually open the file and take a look at the patch and realize that a TON of effort goes into this.
[Android Software/Hacking General [Developers Only]] SecUpwN:
Thank you. Exactly how I feel.
[Android Software/Hacking General [Developers Only]] mateorod:
Okay, fellas, your support is super touching but let's cut this person some slack. Everyone has been new to something before.

I suspect they are referring to the pdroid frontend, anyway. Anyone that afraid of a terminal would HAVE to be running windows, at which point there is a GUI, like I told him.

Applyng the patches enables the pdroid app to work.

Unless you really are saying the utility is only useful with a GUI for Linux, at which point you are really in the wrong place.

But I do appreciate the leap to our defense. Great to have loyal users like you around! If nothing else could convince an outsider of the value of the tool, that should.
[Android Software/Hacking General [Developers Only]] erups:
I won't get down to offending any of you in return for your blindness and

touchyness.

But you should go get some air.

I wasn't pretending anything,I wasn't disliking any work,I use Linux too and am not afraid of the terminal.

What I learned up to know about pdroid is that it needs two pieces:

Framework patch

Gui - actual android application

Now the gui I refer to is not a patcher Windows gui (and now I'm really tented to add some curse here...), rather I refer to the android pdroid gui.

Since I can't find any version compatible for jb,I was asking where to look for it.

And there you assaulted me feeling deeply hit in your pride...

So are you implying that from now on I should use a terminal on my phone to set applications rights?

Our rather that the patch is supposed to allow pdroid to run?

Because in the latter case I can't figure out how:I force installed it but won't run saying it isn't compatible with the android version.the patch I used (built by some other guy as no other worked for me) does contain only framework patches, no application files.

So you see I'm a noob at this, sure.

But I'm not that complete a noob in everything.

And I'm most definitely not a petulant child: I'm used to get things done by myself.

Unfortunately if has taken many people YEARS to get to this point (as one of you delicately pointed), how much do you suppose it'd take me to learn android programming, setup a toolchain, get up to speed with pdroid and start building away?

As much as I'm a coder myself, I'd have the galaxy S9 at that time...

Also I really hope you guys don't really open a terminal anytime you have to edit some app's permissions...

It does sure look really geeky, but doesn't sound that healthy ;)
[Android Software/Hacking General [Developers Only]] mateorod:
I can understand why you don't like the way people responded to your post. I think they maybe felt the same way about your posts. Let's let all that go, please.

You do not need to install any toolchains or setup a build environment. This thread is specifically aimed at subverted those previously inescapable requirements. You do need to download and install the jdk. That can take 30 mins, or so. It cannot be helped. There are a couple other small dependencies, you can see them listed on the second post. This can not be helped either.

If you have a windows computer, there is a GUI that takes care of all of this for you, released in a post yesterday.

The reason that the Pdroid app isn't working is because you haven't made a framework patch with the tool in this thread. period has ALWAYS required framework patching on a PC, for every android platform. We just brought the patching process on to ICS and JB since the original Dev did not have the time.

On the very first post there is pretty clear directions on ow to make the patch for your ROM. If you have an specific questions, ask them here.

If you are comfortable with Linux then it should be easy. You will need to make a patch for every ROM update you wish to use the PDroid app on.
[Android Software/Hacking General [Developers Only]] anomalya:
Funny how things can get blown up from a very simple misunderstanding. (I think this might have been the first thread (s)crap up in this...about time they popped the peace cherry!)

At the risk of being misunderstood myself, here's the app from the Play Store (also found in the OP, by the way). Or you can go straight to the SOURCE (you really can't miss this one!)

Keep in mind: there hasn't been a PDroid app made that is compatible with ICS or JellyBean; which is probably why you can't find it. One of the main reasons this thread/project exists is to make the non-compatible app (linked above) work for our up-to-date devices!

Hopefully, this sets you off down to that privacy/slick-trodden road! Just make sure to read and understand the instructions from the OP and keep asking questions. As you can see, the main guy here (and I'm sure the others as well) is extremely nice and helpful (and committed)!
[Android Software/Hacking General [Developers Only]] erups:
You mean the Oracle JDK?

Meaning I can't use the OpenJDK, and have to strictly download the Oracle one?

That would explain my problems.

---------- Post added at 05:08 PM ---------- Previous post was at 05:06 PM ----------

I'm still a bit lost: the patcher asks for the ROM zip, so it patches the framework inside.

How am I supposed to patch the apk itself?

Never read anything about that.

---------- Post added at 05:10 PM ---------- Previous post was at 05:08 PM ----------

Yeah, using Pdroid on a custom rom for the P990 for a month now.

I know the basics.

But there most cooks bake the patch right in from the beginning these days.

Here the patcher doesn't work, and maybe now I'm understanding why.

Anyway I installed a patch provided by another guy in thread of the rom I use.

But evidently it doesn't work.
[Android Software/Hacking General [Developers Only]] poncik:
you dont need to do anything with pdroid.apk! you have to just patch your rom with autopatcher, thats all. if rom patched successfully, pdroid.apk starts working!
[Android Software/Hacking General [Developers Only]] erups:
Ok, thanks.

Now it's much more clear!

Although given people went so far as to sending me download links to apks supposedly "recompiled for JB"...

I think I'm not the only one banging my head on this! :p

Finally!

After hating Oracle for its lack of installers, and hating another guy for a worthless guide, I managed to get the Oracle JDK to work and then... the autopatcher!!!
[Android Software/Hacking General [Developers Only]] raenye:
I wanted to patch Oxygen 3 rom for P500 (AOSP-based ICS). [Download]

Tried both pdroid/aosp and pdroid/generic with autopatcher 1.9.8.5, but both fail on framework.patch at smali/android/net/wifi/WifiConfigStore.smali.

Logs attached; please tell me if there's anything else I can help with.

Thanks!
[Android Software/Hacking General [Developers Only]] mateorod:
Yeah, they may have been using a ROM that is using our build patches and think TBA affects the apk. I could see that.

The app itself is closed source, so the original pdroid dev is the only one who can compile or make changes to that. But he opened the source for the framework changes, so pastime and I were able to make the app work for later versions of android.

If you put your ROM in the auto-patcher folder, if the patches work then you should be able to use the app from Google play. Our patch repo is mostly complete for cm10, aokp-jb and aosp-jb, as well as ICS. That includes many derivatives of those Roms, including paranoid android and things like that.

The only major hole I am aware of is aokp-jb from the last week. I have new patches made for that and we are trying to get a release for hopefully today.
[Android Software/Hacking General [Developers Only]] erups:
Thanks for the clarifications meteorod.

Although you said PA should be compatible, patching failed.

The log is attached.

See if you guys can give me some hints about that pls.

Thanks.

Command was

./auto_patcher /mnt/exchange/pa_maguro-2.1-06SEP2012-192118.zip pdroid

Edit: ok I see in the last part of your post you say latest aokp-jb is not compatible.

Maybe PA2.1 is based on that?

If so I'll wait for your release.
[Android Software/Hacking General [Developers Only]] karamelos:
Try with cm10 option after pdroid

./auto_patcher rom.zip pdroid cm10
[Android Software/Hacking General [Developers Only]] kobik77:
Whomever having an issue with downloading packages and/or ApG asking elevated permissions, please don't run it under directories like C:\, C:\Program Files\ or any other system directory.
[Android Software/Hacking General [Developers Only]] pastime1971:
just wanted to clarify some things:

1. OpenJDK should be enough to run auto_patcher. i tested it a couple of months ago, and it was working (at least patching)

2. not sure if you are saying pdroid is working on your p990/ROM or not, or you are referring other device... (of course, i have p990)
[Android Software/Hacking General [Developers Only]] erups:
1. I had OpenJDK 7 and it would not run. Removed, installed Oracle JDK and now it works.

2. I was just stating that the process involving a framework patch + apk was already known to me from my P990 experience, but that in the P990 scene many active devs bake the patch in their rom from the start, so users don't have to patch them themselves.

Thanks that allowed the patcher to do its things, next I'll see if the patch works.
[Android Software/Hacking General [Developers Only]] mateorod:
Auto-Patcher 2.0 is available for download at our techerrrata page.

There are a bunch of new mods, most of which are for wifi-only tablets like the Nexus 7. See the updated first post for details. There are extravagent promises about links to more info in places; those promisises are not fulfilled yet..sorry.

For those of you trying for evervolv or some of the more reluctant paranoid android roms, we have started to institute a copy files function we hope will allow us to support some of those derivatives. We won't know until you try.

When patching for pdroid fails, it reports the files that failed and asks if you want to try to copy them over. If the list isn't too extensive, and if it doesn't include ServerThread, you may have a chance.

That is how I made those zips by hand that worked for people. Give it a try and let us know if it works for you or not. You have nothing to lose as those roms were previously beyond our reach.

A special thanks needs to go out to wbedard and kobik77, who both spent much of the weekend testing, vetting and commiting the changes needed to solidfy Windows support.

If you haven't heard about kobik77's Windows GUI, check it out.

Thanks all.

Edit: Oh yeah, aokp-jb patches have also been updated, They work as far as I can tell from 9/02 to today.

Also, we have been quite flattered by the requests for a donate link, I know I personally have struggled with the best way to handle those deeply appreciated requests.

Here is my best try. It may not be what you are asking for, but I think you can see what I am thinking.
[Android Software/Hacking General [Developers Only]] erups:
Ok I finally got Pdroid working on PA2.1!

Patched using the CM10 patch as I was told.
[Android Software/Hacking General [Developers Only]] scutworker:
Hello,

I just tried to patch an Evervolv based JellyBean ROM and it failed with the message:

Error: failed patching init.rc

It's this ROM: Jelly Bean - Pre-Alpha 9 (http://xdaforums.com/showthread.php?t=1766550)

on an HTC Desire. I'm using Cygwin on windows with the latest 2.0 release of autopatcher and trying to patch for Pdroid only.

I've attached my log to this message.

And help would be appreciated and thanks for the great work you are doing here.

Cheers.
[Android Software/Hacking General [Developers Only]] Bewinxed:
For some reason all my attempts at downloading stucks at 99% :(
[Android Software/Hacking General [Developers Only]] mateorod:
It thinks the evervolv is aosp-jb. Try adding cm10 to the list. The evervolv will use the new copy function. It has worked for me with some evervolv Roms, I hope it works for you.

That is weird. You can also get it at my github page. Github/mateor. There is a link on OP
[Android Software/Hacking General [Developers Only]] tonyp:
Wait what? On my PA ROM for the LG Optimus 2x?

That comes with PDroid support out of the box, thanks to pastimes great source patches :cyclops:
[Android Software/Hacking General [Developers Only]] erups:
Nope, PA 2.1 for Gnex ;)

My sig isn't up to date yet, I moved on :p
[Android Software/Hacking General [Developers Only]] scutworker:
Thanks for that. I tried it and answered yes when asked and it didn't work. It said Error: failed services.patch".

The log's attached if that helps.

Thanks again.
[Android Software/Hacking General [Developers Only]] grayfoxmg1:
So I tried to download the windows client, and it didn't work. It would take me to the download page, but when I clicked download it would reroute me to an 'Access Denied' page. I've tried in multiple browsers with and without anti-virus turned on. So if you could mirror it somewhere that would be great.
[Android Software/Hacking General [Developers Only]] karen_sey:
Thanks for your thoughts on this wbedard. Also thanks to pastime1971 for the link.

Through restricting account permissions I managed to get a meaningful change in behaviour from Dropbox and Play Store which gives me some confidence that my patched ROM is indeed responding to the PDroid app settings. (Incidently I wouldn't recommend Play Store for this sort of test as it wasn't quite straight forward to get it working again!).

Another question. Sometimes I get a "Unfortunately xxx has stopped working" popup for some apps including PDroid. This got me wondering if the PDroid app just acts as a configuration tool or if it actually needs to be running all the time i.e. if the app crashes does the protection go with it?

Thanks, K
[Android Software/Hacking General [Developers Only]] mssngr:
I would like to thank Mateorod, Pastime1971 and Kobik77 for all the hard work and making it possible for me and everyone else to have PDroid security on ICS and JB and also making it possible to patch through Windows. Which btw is now ridiculously easy for Windows thanks to Kobik77's new GUI!

:good:
[Android Software/Hacking General [Developers Only]] erups:
Ditto!
[Android Software/Hacking General [Developers Only]] ebe22:
Please add Virtuous Infinity v1.33.0 Alpha3 - hxxp://rootzwiki.com/topic/30873-virtuous-infinity-v1330-alpha3-general/