yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] schertling:
Patches, Autopatcher, ApG, all the same and with1.51 too, because its not the apk.

Gesendet von meinem GT-P7510 mit Tapatalk 2
[Android Apps and Games] WongKit:
I never used the batch operation feature and was not regarding to them. I talked about the default permission mode (which is configurable in the settings screen) and permissions within a single app.

But I fear I can not explain my situation better, sorry. :(
[Android Apps and Games] DualJoe:
Maybe not related to PDroid at all (but if so then patch related not client). I get this error on other apps as well.

This error appears whenever i click an app entry in PDroid. Its not noticeable in the frontend though. It works like it should from my point of view.

The annoying thing though is that sometimes the app closes out of a sudden (during pdroid startup, when selecting an entry, scrolling in the list..) and shows corresponding system toast (PDroid has been closed). I haven't captured the corresponding log yet though but it might be affected by the bug below.

Android 4.1.2/CM10. Patchset v1.51, App v1.52

01-05 21:51:27.883: W/System.err(17096): java.lang.NullPointerException
01-05 21:51:27.883: W/System.err(17096):	at android.app.Instrumentation.execStartActivity(Instrumentation.java)
01-05 21:51:27.883: W/System.err(17096):	at android.app.ContextImpl.startActivity(ContextImpl.java)
01-05 21:51:27.883: W/System.err(17096):	at android.app.ContextImpl.startActivity(ContextImpl.java)
01-05 21:51:27.883: W/System.err(17096):	at com.android.privacy.pdroid.extension.c.onItemClick(Unknown Source)
01-05 21:51:27.883: W/System.err(17096):	at android.widget.AdapterView.performItemClick(AdapterView.java)
01-05 21:51:27.883: W/System.err(17096):	at android.widget.AbsListView.performItemClick(AbsListView.java)
01-05 21:51:27.883: W/System.err(17096):	at android.widget.AbsListView$PerformClick.run(AbsListView.java)
01-05 21:51:27.883: W/System.err(17096):	at android.widget.AbsListView$1.run(AbsListView.java)
01-05 21:51:27.883: W/System.err(17096):	at android.os.Handler.handleCallback(Handler.java)
01-05 21:51:27.883: W/System.err(17096):	at android.os.Handler.dispatchMessage(Handler.java)
01-05 21:51:27.883: W/System.err(17096):	at android.os.Looper.loop(Looper.java)
01-05 21:51:27.883: W/System.err(17096):	at android.app.ActivityThread.main(ActivityThread.java)
01-05 21:51:27.883: W/System.err(17096):	at java.lang.reflect.Method.invokeNative(Native Method)
01-05 21:51:27.883: W/System.err(17096):	at java.lang.reflect.Method.invoke(Method.java)
01-05 21:51:27.883: W/System.err(17096):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
01-05 21:51:27.883: W/System.err(17096):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
01-05 21:51:27.883: W/System.err(17096):	at dalvik.system.NativeStart.main(Native Method)
01-05 21:51:27.883: I/PrivacyContext(17096): got exception while trying to resolve intents for package: com.android.privacy.pdroid20
[Android Apps and Games] Yhez:
[Q]

Can I just switch the files MMS.apk and the framework.jar with the patched one and that's it??

Or do I have to do the all ROM from the beginning?

sent from i9000 using cm10.1 built by fishears
[Android Apps and Games] DualJoe:
No, needs more files. Check the update.zip.
[Android Apps and Games] xuempix:
Carrier isn´t find at startup

I patch Pdroid 2.0 yesterday and I have one problem:

To every time you restart the phone, my mobile provider is not found automatically. There always comes the error message: No network available. Then I have to manually select a provider, so he dials the phone network. Why is that?

I have a Desire S and use that rom: http://xdaforums.com/showthread.php?t=1805450

Any help is appreciated. Haven´t found it with search function :(

EDIT: Just figured out, that it is ROM based. The Rom seems not to support PDroid 2.0

The old version Pdroid 1.32 works correctly
[Android Apps and Games] shantonio:
Geile Sache :)
[Android Apps and Games] DadiDadi:
[Q] Is it possible to install PDroid 2 on the Android Revolution HD 8.0 ROM?

Thanks!
[Android Apps and Games] biglsd:
DadiDadi

no
[Android Apps and Games] asicman:
Whats the latest patch version from the OP? I have patch 1.48, with app version 1.52. I used autopatcher over the last week to patch my ROM. I assume autopatcher has the most up to date patch?
[Android Apps and Games] mateorod:
Assuming you passed no special arguments to the auto-patcher, it would take a very specific circumstance to have anything but the 1.51 patches installed. I left the original (1.5.0 or 1.4.8 I cannot remember) in the auto-patcher as patches dated 20121016, just so they would remain available for testing or if there was a bug in 1.5.1. Before and after that date are 1.51.

So if you use the ROM probing feature, meaning that you let the auto-patcher determine the best romtype and build date matches, then your ROM would have to be built on 10/16 in order for 1.48 to be installed.

I cannot comment if you need to delete a databases or settings when upgrading from 1.48 to 1.51 if you are a loving(long, lol) time user.

One of the benefits of my approach is that people can still try 1.48 if they want, but the default is the newest software. To try 1.48, if you are looking to check any bugs, is

./auto_patcher ROM.zip pd2.0 ROMTYPE 20121016

As things stand, you need to specify a ROMTYPE (cm, aokp, pa, or aosp) in order to specify dates.
[Android Apps and Games] asicman:
The ROM I attempted to patch was pa 2.54 which has a release date of Nov 08 2012. I ran autopatcher from command line without forcing a date:

./auto_patcher pa_ROM.zip pd2.0 pa

But I still got patch 1.48. I must have used an older version of autopatcher (<2.4.7). I will try and make the patch using 2.4.7.

Edit: autopatcher 2.4.7 gives me patch version 1.51
[Android Apps and Games] g.armour:
When I apply the patch to my ROM (CM 10) to my device Galaxy Nexus (Toro) I get really bad signal drops. I've tried also with AOKP. Also tried clean installs and still get this nagging problem. Everything else with this seems to be working great. I used the app and patches, used APG v. 2.1 to patch. Any ideas on a way to fix this?
[Android Apps and Games] MordyT:
This is exactly what I get. Both patch 1.4.8 and 1.5.1. Both built with auto patcher.

I ended up restoring the system.img that I made with twrp to get it usable again.

Sent from my Google Nexus
[Android Apps and Games] mateorod:
From what I understand there is a fix planned for this and it is a known issue.

Now seems to be a good time to remind people you never need to wipe or restore any ROM modified by auto-patcher. The auto-patcher is safe and non-destructive, keeping any other modification/customizations intact. To return your system to original state, just flash the restore.zip. You can also choose to reflash your ROM.
[Android Apps and Games] eddyz:
will this work for tmobile's note 2?
[Android Apps and Games] Jeffreycat:
That would depend on your ROM. Try using the auto patcher and see!
[Android Apps and Games] MordyT:
I do know that. I just forgot to md5 the file and was away from my pc so it didn't know if it was corrupt.
[Android Apps and Games] g.armour:
I hope so, I reverted back to ICS AOKP to use the old PDroid, not sure if it would work on JB or not. But I really like the new features of PDroid 2.0.

Also, I have a question, if you're using APG to patch, how do you switch out the patches to try different ones?
[Android Apps and Games] cavemandaveman:
I've noticed that some apps (like Wallet and Yahoo Mail) need "Network Info" enabled in order to connect to the internet, yet apps like Facebook and Twitter can connect, send, and recieve data over the internet with "Network Info" turned off. Has anyone else run into this?
[Android Apps and Games] reinsn:
Can someone tell me which files need to be replaced? I use a SGS3 stock rom (Android 4.1.2) and I want to try to build the relevant files from Samsungs released source code.
[Android Apps and Games] TamCore:
Samsung released the kernel's sourcecode. You need the code from ROM.
[Android Apps and Games] Alex_R3CONN3R:
My Expertise

Hi !

First I'd like to say that it's awesome. It includes the features I was missing in PDroid 1. :good:

It would be much better if it would work at my ROM. :silly:

I tried patching it both manual and with ApG.

At framework.jar it says Reversed (or previously applied) patch detected and ignores all hunks. More detail in attachment.

CWMR is flahsing without errors.

When I try to save settings in the App it says it is not possible (probably because framework patch is not applied).

I'm running CM10 for Huawei Honour by dolmatov94 release 0.93 noOTA and using Autopatcher 2.4.7

Greetings Alex

ApG Patch log View attachment log20130109183354.txt

manual patch log View attachment log20130109194238.txt
[Android Apps and Games] mateorod:
Whatever problems you're having, that log (I looked at the manual one) shows a successful patching. Those problems are not related to patching, it went fine.
[Android Apps and Games] Chaussette_:
Hello reinsn,

Noxious Ninja managed to patch Samsung Stock ROM used for Verizon SG3. Here is the relevant thread. In that post, he explains how he did that in that post.

Right now, it looks like he's in vacation, but I will try to contact him at his return, because he also want to create a PDroid patch for iternational SG3 (i9300). The main problem is he doesn't own that device... :(

On my side, I have strong knowledge in progamming and reverse engineering (especially for C/C++), but I entered Android's world only 2 month ago, so I'm still learning basis...
[Android Apps and Games] marcogtt:
Thank u...

I definitely suggest u to check out this thread too

http://xdaforums.com/showthread.php?p=36167756

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Apps and Games] reinsn:
Thanks marcogtt and Chaussette_. Those threads look promising, I'll study them when I have more time. On my side I have strong linux and shell programming knowledge, but unfortunately I am not yet that familiar with C/C++ to adjust the source to my needs.
[Android Apps and Games] wbedard:
In the same ways that you could "evaluate" your connectivity to a site on the Internet, an app has a few ways to approach it, too. You might first try ipconfig/ifconfig to see if your network adapter is set up appropriately. That's basically what "Network Info" tells an Android app. However, having a properly set up network adapter doesn't guaranty that you can reach the site you want, because there are a lot more machines you have to navigate once you get past your adapter. So, you could try to "ping" a site or just open it in a browser. If that works, you don't care what ipconfig/ifconfig says because you already know that you have end-to-end connectivity. That's much the same logic that an developer has to code into their app and the "Network Info" permission is just one small tool that they can use.

R/

wbedard
[Android Apps and Games] cavemandaveman:
Thanks for the explanation. So there's no real way to tell which apps need the "Network Info" permission until you use them and find out that connectivity is an issue.
[Android Apps and Games] Mika83AC:
Sorry for this question. But can we expect any progress for CM10.1 (Android 4.2) support in the near future?

CollegeDev mentioned that there are only small changes needed, but since then there was no new status update. Please don't misunderstand me, i don't want to put pressure on CollegDev because i know he's doing this for free and has a real life ;) I'm just interessted and also willing to pay for this app (like many other people too i think) because something like PDroid is a highly needed thing in the app ecosystem.

So CollegeDev, please give us some news. And i think you can really earn some money putting effort into your app.

Regards,

Mika
[Android Apps and Games] Alex_R3CONN3R:
Made it working

Finally i found a solution. :victory:

I had the old PDroid before. Its settings are saved under data/system .

I couldn't find system folder because data was empty. :eek:

So I thougt about creating this folder manually to allow PDroid2 App to write its settings there.

And when I wanted to create the privacy folder within system suddenly all the stuff was available.

After deleting the old PDroid settings I was able to save PDroid 2 settings. :good:

Greetings Alex

Once again in short:

-create system folder within data

-done
[Android Apps and Games] Mika83AC:
Oh, das mit dem ETA war mir durch die Lappen gegangen, sorry! Aber danke für die Info.

Hm... na dass da finanziell so wenig abfällt ist nicht gerade schön. Vielleicht hilft es (worauf die aktuelle Umfrage ja hindeutet) das ganze im PlayStore anzubieten. K.A. ob viele PayPal nicht mögen oder was auch immer.

Jedenfalls vielen Dank für deine Arbeit und ich freu mich auf die neue Version!
[Android Apps and Games] I900-Nutzer:
Also ich bin der erste der PDroid kauft sobald's im PlayStore erwerbbar ist :good:

I'm the first one who will buy PDroid when it's available via PlayStore :good:
[Android Apps and Games] M66B:
Although I am not a native speaker I can read German, so the German messages are no problem to me at all, but a moderator might have a problem with it, since it is against the rules (rule #4). I write this just to prevent problems.
[Android Apps and Games] karamelos:
Yeeeeeesssss !!!!!!!

Thanks
[Android Apps and Games] MordyT:
@colledgedev The bad signal drops are like this. I sit in a place and have 2 bars of LTE. I install patch and the phone gets hot because it goes from sable two bars to 0, drops to 3G, then drops data signal all together. Then after a minute it regains 3g, sometimes LTE, then repeats itself.

I don't think it loses 1x (calls and SMS) during this time. Just all data, including data over 1x.

Sent from my Google Nexus
[Android Apps and Games] g.armour:
your owePPer

Exactly what he said :)
[Android Apps and Games] wbedard:
Hey CollegeDev! Yeah, I guess I wasn't very clear that I was speaking "allegorically" when I referred to using "ping" or a browser to check connectivity to a site. While that is what we as users would do, my point was that apps could rely less on what the state of the network adapter was in and simply try to connect to whatever upstream server they were designed for. That is the scenario that I was trying to address where the user noted that some apps were still able to connect even though they were denied the "Network Info" permission. I would imagine that the logic in the app would be disregarding the info normally provided by that permission and were simply attempting a connection anyway.

Perhaps you could clarify my understanding or suggest more effective restrictions using PDroid2.0 (i.e. not simply firewalling the app) to "convince" an app to not attempt a connection in the first place. Thanks!

R/

wbedard
[Android Apps and Games] daw00t:
Later versions of the patch? (task killing)

I successfully built from source a patched cyanogenmod 10 for maguro (galaxy nexus GSM) and installed the app from the zip up in post #1. But it tells me that my patch is out of date - where can I get patches that are newer than patch v1.51?

Thanks!
[Android Apps and Games] Illidan Pornrage:
Hey whats up with Pdroid2.0?

Cant use it for cm10.1 (at least with autopatcher, mateorod told me that cm10.1 isnt really Pdroid2.0 supported) are you still maintaining pdroid?

I dont have much money at the moment but I will send you 10 Euro for some Pizza and coke or some booze.
[Android Apps and Games] karamelos:
Wait update coming soon ....
[Android Apps and Games] Illidan Pornrage:
Also is there some consideration on the way to support restrictions for ums/sdcard folders?

Also do you know where is the file that sets the mountpoints for ums/sdcard? I would chown the folders manually if could use a ext3/4 storage.
[Android Apps and Games] dtrail1:
Successfully patched the source! But when I try to compile the source I get some errors and it doesn't go through. For some strings in the source related to Pdroid it says "Can't find symbol" or sth similar. I know these issues doesn't matter, because these "symbols" comes within the Pdroid App later. There is sth else which broke the compiling process..

Here is the log: http://pastebin.com/z3dSiFNU
[Android Apps and Games] The_Genius:
This is because apps sharing permissions with each others.
[Android Apps and Games] handyr:
So I believe I have successfully ported all of CollegeDev's newest patches to cm10.1. It's compiling now and I will be testing it shortly (nexus 4).

Everything was fairly straight forward, a few of the patches required modifications to their logic, but most failed for silly reasons (file location was moved, patch marker was changed slightly).

While I'm not new to programming, etc etc. I am new to android development. Overall the actual patching took a few hours to complete. If this build actually runs correctly on my phone I will figure out how to make some patches available. But honestly I would rather wait for CollegeDev because he actually knows what he is doing.

Just an FYI for those who were considering doing the same thing.
[Android Apps and Games] decimalman:
I did the same. Some extra work was required to get everything to build, but otherwise it was pretty straightforward. There seem to be a few small bugs, but no deal-breakers.

I opted to use mine for personal use and let CollegeDev release a proper patch when he's ready. His patches are bound to be more stable. :)
[Android Apps and Games] handyr:
Ahh good to know, I was a little nervous throwing this onto my nexus 4 without testing it in some kind of emulator first. But I figured the changes are at a high enough level that I really can't brick my phone.

I did just create a patch file using repo. If people are interested I can post the patch file. But I really really recommend just waiting for CollegeDev.
[Android Apps and Games] decimalman:
I can't imagine how you'd brick your device with PDroid. You'd have to do something silly like building for the wrong device to do that.

I doubt that there's much demand for 4.2 patches yet. Non-Nexus devices will probably take a while to get stable (I've seen two kernel panics so far today :(), so CollegeDev definitely has plenty of time.
[Android Apps and Games] mateorod:
Great minds think alike. FFU5y, me and wbedard released 4.2.1 patches for aosp, aokp and cm10.1 just awhile ago. AutoPatcher support is included and available for ApG users. I have uploaded Autopatcher 2.5.0 to techerrata, so for the rest of you it should be available relatively soon (15 mins).

It works with 4.2.1, and also fixes some security bugs in Pdroid and PDroid2.0. We have alerted CollegeDev of the bugfix so that should get fixed in Pdroid2.0 when he gets time to port to 4.2.1.

It is good to meet two other people willing to contribute to patches and the PDroid source. Those patches are for a project called OpenPDroid, pdroid patches leveraged and forked from the open-source elements of PDroid, PDroid2.0 and the Auto-Patcher team. If you feel like contributing to the larger effort, we would love to have you.

The new option in the Auto-Patcher is

./auto_patcher ROMNAME.zip openpdroid

It has only been fully tested with PDroid Manager. Our goal is to have the OpenPDroid patches work for PDroid2.0 as well, but for now users report FCs with the PDroid2.0 app.

Hopefully Collegedev will want to get involved and the OpenPDroid core can work for both the open-source PDroid Manager and Pdroid2.0.

Nope. Just reflash your rom...risk free proposition. I can say that with confidence, I have gotten PDroid onto a bazillion devices at this point.
[Android Apps and Games] CollegeDev:
Hey matoe, thanks for information.

I had quite the same idea for the next release, but to see that other people took my code and gpl it is not a very good trail under developers. It is not a good idea to split the work on the framework now, pull out new projects and so on (please don't understand it in the wrong way!). A better way is that we work all together, not against! And providing an API between two versions is wasted time and work. It would better to init a project with the same name (PDroid2.0), as I planned it before (on github for the next release) and give the teammembers access to make changings. This will prevent all future problems. I think thats a better way to handle and not say to the devoloper of PDroid2.0 -> join our project or we will work against you.

btw: your port contains some failures, as I can see after quick overview.

@Other users:

Will give support soon!
[Android Apps and Games] Mika83AC:
It would be absolutely great to see you ALL working on ONE PDroid, which will be one of the best things Android can have right now !!!! Please do so, even if it takes some time to merge your projects/sources.
[Android Apps and Games] mateorod:
I very much want us all to work together on the patches! Very much so, that is the whole idea. Right now we have three different patches in the Auto-patcher for 3.0, that doesn't make any sense!

What I would like is for the openpdroid patches to work for the PDroid2.0 app as soon as possible. The idea is that you could use any parts of the work we did to make PDroid core work for 4.2.1 and use it to get users 4.2.1 PDroid2.0 support. You know that I have put hundreds of hours porting the framework for PDroid2.0. I do not intend to stop that in anyway. The idea behind OpenPDroid was that instead of waiting for you to have the time to fix, expand or update the open-source parts of the PDroid core, we could community source it. That is all.

And one note about the license, the PDroid Core is a GNU GPLv3 license, so when anything we distributed with those patches falls under that license as well. So we did not GPL is, svyat did. You acknowledge it as open-source in your OP. So I think that working together on these things is very much the way to go, and is in fact the whole goal.

I believe that this early stage is simply the speedbumps, and that we can soon all be on the same page. Thanks for taking the time, looking forward to the next version of the app.
[Android Apps and Games] CollegeDev:
It is ready, I'm using it since yesterday on my own device. Currently there is no time for me to release new patches, will update this evening.

Yes, I will update the new patches this evening without double source, my fault.

Please read in this thread, you just have to delete database files and the privacy folder in /data/system, otherwise it won't work.

CM10 (4.1.2) is supported until yesterday, but not updated.

Please report any bug you can find.

No more problem. It was just a little change in framework.

Currently I have not so much time, but I will look forward to it. Maybe pastime or mateo will spread my source to other ROMS?

Yes, if you have problems with Android.mk, ignore it! It was my fault to include it into the patch! Can you post any .rej file and the failures of framework? Normally this patches are only for CM10, you have to change a little bit to get it work on other ROMS. So, please post all logs.

Many Many thanks, hope a lot of people will benefit from my efforts!
[Android Apps and Games] switchgott:
You are the master :)
[Android Apps and Games] karamelos:
Thank's for the reply but I don't save log for 2.18 just this short parts, sorry &

ParanoidAndroid update yesterday in 2.20 = JB 4.1.2 = pdroid is broken ...... f#%@*
[Android Apps and Games] sadan23:
sounds good. can you upload de update.zip? because i won't sync source have not enough space.
[Android Apps and Games] jahrule:
Hope this gets added into auto patcher
[Android Apps and Games] switchgott:
Hi,

test now compiling with new nightly