yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] kobik77:
@CollegeDev,

First great to see that your little project started from PD addon got its own life now.

Still I'm struggling to get it running using autopatcher.

I used it to patch CM10-maguro from 10-24 and it seems fine.

But after flashing the patch, running PD2 app and selecting an app to block PD2 crash.

http://pastebin.com/QzXiuMyn

Thanks

I've already uploaded a new version of ApG, so from now it should only be autopatcher/PD2 masters to get us running PD2 app flawlessly :fingers-crossed:
[Android Apps and Games] pepingrilloxxx:
Exactly! :)

Thank you very much, CollegeDev.

I would like to say a suggestion: Would it be possible for PDroid 2.0 to prompt to deny/accept permission requests? I mean, like LBE or a classic PC Firewall. I think it would be a great idea and it would be easier to have control over permissions. Honestly, that would be the best privacy protection app ever made.

Best regards.
[Android Apps and Games] FFU5y:
I've actually built this ROM (CM10 unofficial with pdroid, 2012-10-24) , but it is on my home system (and I'm at work). I'll can up it when I get home if you want to give it a shot (which will be ~6-7 hrs). An alternative is to try the build of AOKP nightly 2012-10-24 with pdroid extension I have uploaded to http://digitalfeed.net/android/aokp_pdroid_maguro_unofficial_Oct-24-12.zip (upload is complete, shasum=7c232ac11fe28ddba8969a0721c56fc947d74889).

Quick warning though: that aokp build is UNTESTED and UNTRIED. I haven't put it on my device yet (again, with the work) so take a backup before you do anything.

edit:

I have also upped an earlier build I did that I know works, because I'm currently using it. Once again, it is AOKP rather than CM10 I'm afraid. It's just what I had lying around my drive.

URL is: http://digitalfeed.net/android/aokp_maguro_pdroid_unofficial_Oct-20-12.zip. shasum=fcda4ff955f854e9c08d4e4a7a68efc3d97bf775

I just had a brief look at the logcat, and, I'm wondering if you have patched using autopatcher with the 'pdroid' mod rather than 'extension'. I'm not sure if the outcome would be that error, but it would be consistent with the method mentioned in the LogCat being missing.
[Android Apps and Games] siseam:
Well, thank you for the updated patches, however, I still can't compile for the i9100.

Here you have the output.
[Android Apps and Games] cdkg:
I'm having an issue with phone app keeps force closing.

Is there a fix ( did read all the threads but didn't see any references to issue). I'm running CM10 nightly 10-24-12 on toro galaxy nexus

Log: http://goo.gl/QMa68
[Android Apps and Games] XdaProNoob:
Open Source

Is there any chance you can publish this project patch & app as open source project?

Thanks
[Android Apps and Games] kobik77:
Thanks but I'm sticking right now with CM.

It was an extension patch but I believe that there was some kind of problem in autopatcher that was fixed on the next github sync.

After applying an updated patch I'm getting PD2 app crash when I'm trying to set permission for an application.

http://pastebin.com/zvrh9ed0
[Android Apps and Games] CollegeDev:
Deinstall ALL (multiple apps on your phone ;)) pdroid applications. Reboot, install Pdroid 2.0. Rdy
[Android Apps and Games] kobik77:
Damn, I forgot I had PDroid frozen by TiBu (Though it was good enough, though)

Uninstalled it and everything's working like a charm :good:

Do you think you could add an option to block all permissions for an app by using one button?

Thanks
[Android Apps and Games] CollegeDev:
It is already included, just press settings button in permission menu and choose one of the listed options then press save button.
[Android Apps and Games] xelra:
Yes, the script doesn't work for me, too. I had to modify it. I added a second path variable besides CWD which pointed to the path where the patches were saved and then I added that path to the patch commands at the bottom.

Also I noticed that the script can't handle ~ for the home directory, so I used full paths. That's probably some annoying stuff with escaping.

I removed "-j16 -f" from the repo sync command, too, and used it just plain. There is a guideline to not mess with the repo sync command, if it's not needed. It does 4 threads on default in accordance with the GitHub team, to not hammer their servers too much.

What will be your monthly traffic limit?
[Android Apps and Games] MordyT:
That depends on what is needed. I need to find a datacenter that isn't a 8 hour drive away (too far to service it) for it and a having a range on what I need data wise would be helpful on narrowing it down.
[Android Apps and Games] xelra:
I'll make sure to use a distribution for the build-bot that is easily managable via SSH. I was thinking BBQ-Linux. It's an Arch flavor which pre-packs an environment for building Android and Android apps. It will always be up to date, since Arch is a rolling release distribution.

For simplicity we could also opt for Debian. I use it on my production servers and many people are familiar with the apt package managment system, because of Ubuntu.

I've got 3 TB traffic unused. That's 10.000 ROMs served per month. Once we are past that point, we can think of new solutions. ;)

[MENTION=4711230]CollegeDev[/MENTION]

Could you register a channel on freenode? I could also do it, but I think it's better when you are the owner of the channel. #pdroid2.0 should be a good name for it.

Here is a guide on how to create a channel http://blog.freenode.net/2008/04/registering-a-channel-on-freenode/. And here is everything you need to know about freenode http://freenode.net/faq.shtml.

If you are unfamiliar with IRC, I can recommend the client XChat for Linux and Windows.
[Android Apps and Games] Pons:
Why not just use Arch itself? Spinoffs are rarely as successful as the OSthey are derived from. You can tailor Arch to compile Android on (I do).
[Android Apps and Games] SangreSlayer:
So i ran into an issue with the build that i did. As mentioned i forgot to patch it so it was a generic straight compile of CM10.1 I figured that before i mess around with the patch i should test it and make sure it worked as to eliminate a troubleshooting step if things did not work post patch.

So I installed the rom I built and.... it boot loops.

No error messages or reasons why just boot loops. I installed an official build of CM10.1 and it worked just fine. I then repeated the process twice just to ensure it was indeed my build that was broken.

So I am not really sure where to begin to troubleshoot why it failed. It said it completed successfully when it was finished compiling.

My only thoughts is that i somehow messed up the proprietary blobs. I downloaded the drivers (https://developers.google.com/android/nexus/drivers#mako) and extracted them to $BUILD/vendor as (http://source.android.com/source/building-devices.html) stated.

so unless anyone has any ideas, i will probably have to hit up some IRC and attempt to get some help that way.
[Android Apps and Games] xelra:
Try this:

#!/bin/bash -x
#################################
# Written by biglsd	#
# modified by CollegeDev	#
#################################

# EDIT the CWD to your directory where the sources are
CWD="/home/koeter/cm10.1"
[B][COLOR="Green"]PATCHES="/home/koeter/patches"[/COLOR][/B]

# removing previous patch
cd "$CWD/build" ; git checkout . ; git clean -df
cd "$CWD/libcore" ; git checkout . ; git clean -df
cd "$CWD/frameworks/base" ; git checkout . ; git clean -df
cd "$CWD/frameworks/opt/telephony" ; git checkout . ; git clean -df
cd "$CWD/packages/apps/Mms" ; git checkout . ; git clean -df
rm -rf "$CWD/packages/apps/PDroidAgent"
cd "$CWD"
repo abandon pdroid

# applying pdroid patch
repo sync
cd "$CWD/build"; git checkout -b pdroid;
cd "$CWD/libcore"; git checkout -b pdroid;
cd "$CWD/packages/apps/Mms"; git checkout -b pdroid;
cd "$CWD/frameworks/base"; git checkout -b pdroid;
cd "$CWD/frameworks/opt/telephony"; git checkout -b pdroid;
cd "$CWD"
patch -p1 < [B][COLOR="Green"]$PATCHES/[/COLOR][/B]CM10.1_build.patch
patch -p1 < [B][COLOR="Green"]$PATCHES/[/COLOR][/B]CM10.1_framework.patch
patch -p1 < [B][COLOR="Green"]$PATCHES/[/COLOR][/B]CM10.1_libcore.patch
patch -p1 < [B][COLOR="Green"]$PATCHES/[/COLOR][/B]CM10.1_Mms.patch
patch -p1 < [B][COLOR="Green"]$PATCHES/[/COLOR][/B]CM10.1_PDAgent.patch
[Android Apps and Games] kaizokan:
I always have the patches in my environment directory, using cd ~/android/system/ (my environment) before patching. i am just saying how i do it. I don't know a lot about building from source not even the commands.

My error message was about the same as yours with the script if not the same.

Soon i'm gonna try again to build CM10.1 for 9100 with the latest patch without script. It should work, now i know i need to add PDroidAgent files ;p
[Android Apps and Games] xelra:
2 repositories in the same directory. Bad boy! :rolleyes:

How about putting the patches into "~/android/ppatches"?

cd ~/android
git clone git://github.com/CollegeDev/PDroid2.0_Framework_Patches.git ppatches

Then you can always just update the patches with a simple command and even make that part of the AutoPatch script.

git pull
[Android Apps and Games] Teemoo:
I've looked a bit, building PA seems harder for a noob, I don't want to lose what I can build right now.
[Android Apps and Games] kaizokan:
haha yeah i did not know but thanks it makes alot sense i will do so from now on :good:

---------- Post added at 04:26 PM ---------- Previous post was at 03:36 PM ----------

Then how will the patch command look like?

like this?:

git checkout -b pdroid; patch -p1 < ~/android/ppatches/CM10.1_build.patch

fatal: Not a git repository (or any of the parent directories): .git
patching file build/core/pathmap.mk
patching file build/target/product/core.mk
patching file build/target/product/security/privacy.x509.pem
[Android Apps and Games] Adz1:
Will this be compatible with a rooted Deoxdoxed Samsung s4?

thanks
[Android Apps and Games] biglsd:
no
[Android Apps and Games] xelra:
Look at this slight modification of the script. Change directories accordingly. The ~ doesn't work, full path required (or escaping or something).

http://xdaforums.com/showpost.php?p=41708647&postcount=987

That was maybe 5 posts earlier today. :rolleyes:
[Android Apps and Games] I900-Nutzer:
Prebuilts are not missing, thats not the reason for that "Info-Message". Missing Prebuilts would afair result in an unsuccessful Build ...
[Android Apps and Games] xelra:
[MENTION=4711230]CollegeDev[/MENTION]

I'm not going to quote your quite extensive post.

You're absolutely right. This whole project is built upon your work. I knew that and it's why I decided a week ago that I want to contribute to PDroid 2.0 instead of OpenPDroid.

I was always under the impression that it would be better for the OpenPDroid people to contribute to PDroid 2.0 instead of the other way around. Especially since PDroid 2.0 is open now, too, as it seems.

Knowing this story though, I guess there is quite some potential for tension between you and mateorod. Looking at OpenPDroid's thread's opening post, I think it is very confusing and doesn't give you the credit you deserve. And that's what all the users see when they inform themselves.

Can you clarify:

Is there still a merge from PDroid 2.0 to OpenPDroid on? Or was it ever on? Or will PDroid 2.0 continue as an open project itself and try to swallow OpenPDroid up?

Are you working on PDroid 2.0 100% alone right now? Who are the developers currently involved with either PDroid 2.0 or OpenPDroid?

Is there any interaction at all right now or are you on bad terms with mateo right now, because you feel backstabbed?

I'm looking forward to the channel on freenode. I feel like PDroid 2.0 is picking up speed as a project. Just looking at the number of posts here is an indicator.

It would be a serious blow to Android as an OS, if this project dies. It's the most important and essential thing on my phone. I actually installed my first app that I didn't consider completely trustworthy, only after I had PDroid 2.0 running.
[Android Apps and Games] Koetermann:
Thanks dude,

so the script works fine. ::good:

Regards

Koetermann
[Android Apps and Games] kaizokan:
Just when i wanted to build now after brunch i9100 i get this message before the building even starts...

make: *** No rule to make target `bacon'. Stop.

Could i have accidentally deleted a file? I already tried lunch and make bacon or make otapackage (googled that) but that does not work.

So anyone knows what this is?
[Android Apps and Games] Pons:
Try, from your main source directory,

. build /envsetup.sh && brunch i9100

And please post the entire build log (either in code tags or pastebin), including commands. Last time I saw this, envsetup.sh wasn't initialized.

Have you looked at How to Build CyanogenMod for Galaxy S II (codename: i9100)?
[Android Apps and Games] exefixxer:
[MENTION=4711230]CollegeDev[/MENTION]

Don´t you never ever think about stopping the PDroid 2.0 Project!!!

This is the most important Android AddOn since Android!! Pediod!!

And i´m sure, i´m not the only one with this opinion..

And please don´t let people like xelra bring in mixed emotions.

It´s just one users opinion out of many! :o

[MENTION=2959527]xelra[/MENTION]

Don´t take it personal, but

I don´t know what you got in mind with raising the question below.

It is of no importance at all! And i don´t even see the importance for it beeing answered

It seems the purpose is to make mischief.. ??
[Android Apps and Games] xelra:
It's not my opinion, it's CollegeDev's. As he stated a few posts earlier, he doesn't appreciate the way they took over his work and marketed it as something new and newly made.

I ask him on his opinion regarding those points because I want to support him.
[Android Apps and Games] PapaWangsta:
$20 Donation will be sent!

Can any1 implementing pdroid into this rom.

http://xdaforums.com/showthread.php?t=1958230
[Android Apps and Games] karamelos:
Look in your local_manifest or/& boardconfig for kernel problem

Install a good version of java (erase all java & reinstall it )
[Android Apps and Games] SangreSlayer:
When you say look in local_manifest and board config what does that mean?
[Android Apps and Games] karamelos:
In local manifest add your kernel repo in boardconfig config your kernel
[Android Apps and Games] SecUpwN:
Where is the guide of how to bake PDroid 2.0 as a developer into a ROM when creating it?
[Android Apps and Games] Didgesteve:
karamelos has put a set of links together here, and here
[Android Apps and Games] xelra:
Your question is confusing. How exactly did you add TheMuppets?

You are supposed to add the appropriate blobs from TheMuppets to your roomservice.xml in .repo/local_manifests.

I think it would be best if you ask the creator of that ROM.
[Android Apps and Games] PapaWangsta:
I think it would be best if you ask the creator of that ROM.[/QUOTE]

Tried it, NO respond.
[Android Apps and Games] MadMic:
I've been using the CM10.1 ROM for Galaxy Nexus uploaded a few days ago - GPS lock seems slow, this was an issue on the old version of OpenPDroid and PDroid, but I was under the impression it was fixed. I've switched the gps.conf file and it still take about 180s+ to get a lock...

Any ideas?
[Android Apps and Games] mnjm9b:
my first reaction to all this was that you were getting screwed....

but inquiries led to a delusion that you guys were working together...

you should have spoke out sooner.

(also, update the OP with what happened...you deserve support)

I have been leaning back and forth as to what side to support but ultimately I

have to go with my gut on this...

what they did to you seems unethical...

As the auto-patcher is opensource.. maybe we should fork it and call it pdroid2-patcher...

(I actually started to do this myself but I need to save up for a new workstation before I can go any further)

I do prefer the auto-patcher or similar method to patching pdroid

my paranoia forces me to believe that distributing roms with pdroid baked-in will cause undesired attention

and eventually cause a call for blocking our ability to use pdroid.

the reason CM wont allow these privacy type settings is because of Google and app developers crying about not being able to spy on you.

if CM was still under the radar then we could do whatever we want... now Google controls CM.

same way that Google forced CM to stop distributing with gapps or proprietary files.

I wouldn't even use CM if it weren't for pdroid...
[Android Apps and Games] xelra:
Just wanted to let you know and show you this.

:victory:

Now I have to go to bed. I haven't slept in 3 days. Coffee & keyboard. ;)

Cheers!

[MENTION=4711230]CollegeDev[/MENTION]:

There are probably going to be some changes I need to put into the script for the patching. If they are few, do you want me to send them to you plain or do you prefer I fork your repository and push them to you on github?
[Android Apps and Games] karamelos:
I don't ask, my build config work fine for me.

He has some trouble with kernel just look the config & appropriate change that all.
[Android Apps and Games] Koetermann:
Cyanogenmod 10.1

23.05.2013

PDroid-Framework: 1.57

Samsung Galaxy S3 int. (i9300)

cm-10.1-20130523-UNOFFICIAL-i9300.zip

md5: 9d147c00d863723f801c1e434e51b77f

http://www6.zippyshare.com/v/39644934/file.html

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

Cyanogenmod 10.1

24.05.2013

PDroid-Framework: 1.57

Samsung Galaxy S (i9000)

cm-10.1-20130524-UNOFFICIAL-galaxysmtd.zip

md5: d5e8a8ccf40aa8f4a239479a73b94ff2

http://www7.zippyshare.com/v/54418928/file.html

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

Cyanogenmod 10.1

24.05.2013

PDroid-Framework: 1.57

Google Nexus 10 (manta)

cm-10.1-20130524-UNOFFICIAL-manta.zip

md5: c883fb1e43335eb69a2ffec0d6bd8859

http://www56.zippyshare.com/v/688259/file.html
[Android Apps and Games] kaizokan:
[MENTION=2910818]PonsAsinorem[/MENTION]

make: *** No rule to make target `bacon'. Stop.

SOLVED Makefile file in the root of the build directory was missing.

I had created another directory and downloaded the complete source again. While comparing the two directories i noticed that my old source directory had no Makefile file in the root of the build directory anymore. So i copied the new Makefile to the old directory and tried to compile... now it starts compiling! :victory:
[Android Apps and Games] SecUpwN:
[MENTION=3871444]Koetermann[/MENTION]: Can you solve this equation?
[Android Apps and Games] dirtyreturn:
Why? Why would you care about my asking? you've gotten your answer in that thread about a post up. Why do you keep pushing? Someone would've done it for you already if it really mattered.
[Android Apps and Games] exefixxer:
I like the idea of a pdroid2-patcher a lot, but even if you had a workstation.

what timespan would you guess it takes to modify the auto-patcher code to work with PD2.0?

I guess a lot of people that are unable to compile and patch roms themselves, like me, would appreciate it a lot.

And another question: Is there really an alternative for CM, when using PD2.0?

Keep up the good pdroid2-patcher-work!! It would help out a lot of people!! :good::good::good::fingers-crossed:
[Android Apps and Games] kaizokan:
Yeah.. the more public PDroid gets the more blocking measures will be taken in the future if more users really start to use Pdroid. I also remembering reading CM saying that higher ups don want PDroid to be delivered with CM by default. I don't know if Play store only sees installed apps that are available in the store or also sees and registers non play store apps. Because making it available in play store could make it public and thus also attracting undesired attention.

Maybe it should be easy to have but not in distributions like mnjm9b said. Maybe its never going to be used by a lot i don't know just saying and highlighting what mnjm9b posted.
[Android Apps and Games] AuSSiELaMbChOpS:
Pdroid 2.0 could work with the slightest modification to auto_patcher right now, the rom probe script would need to be updated to allow Pdroid 2.0 for J.B 4.2+.

The MAJOR components missing from auto_patcher are the patch files for Pdroid 2.0, now these aren't the ones from github but rather the comparison patches between the unpatched and patched rom versions.

So basically if you wanted to produce a modified auto_patcher it would require people building with Pdroid to first produce a clean build then a patched build. Using the files from these a patch can then be produced.

Keep in mind that you need this for ALL major rom bases so you can patch most roms out there, and also consider the investment in maintaining the patches I am sure you have seen the auto_patcher thread and the amount of posts reporting breaks in patches. It is inevitable that they will break with constant changes being made to each rom source base.

Don't get me wrong this would be totally achievable, it would just require everybody getting on board to help cover all roms and maintain the patches. :)

Sorry for such a long post :eek:
[Android Apps and Games] mnjm9b:
that is exactly why I need a new workstation....my laptop can no longer build anything. (Heat = BAD...)

a better solution may be to get more hands involved with the "merge" and then everyone would be happy.
[Android Apps and Games] Sherrillface:
Nexus 4 is mako
[Android Apps and Games] Koetermann:
Maybe you should write that this information is important for the second post in this thread. Because the Nexus 4 is named Manta there.

Nexus 4 = mako

Nexus 7 Wi-Fi = grouper

Nexus 7 GSM = tilapia

Nexus 10 = manta

Gesendet von meinem Nexus 10 mit Tapatalk 2
[Android Apps and Games] SangreSlayer:
So i looked at adding TheMuppets repo. When i follow the instructions by creating the file .repo/local_manifest.xml and adding

<manifest>
<project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="cm-10.1"/>
<project name="CyanogenMod/android_device_lge_mako" path="device/lge/mako" remote="github" revision="cm-10.1"/>
<project name="CyanogenMod/lge-kernel-mako" path="kernel/lge/mako" remote="github" revision="jellybean"/>
</manifest>

after adding it and doing a repo sync. i get

"

warning: local_manifest.xml is deprecated; put local manifests in `/hostname/cm10_1/android/.repo/local_manifests` instead

"

There is no directory entitled "/hostname/cm10_1/android/.repo/local_manifests"

So what is this roomservice that keeps being mentioned. Since the instructions don't mention it.

I have also started from a brand new build environment following the guide (http://xdaforums.com/showpost.php?p=35457651&postcount=1) exactly
[Android Apps and Games] Koetermann:
You don't have to build the roomservice.xml on your own neither the folder local_manifests.

Please try this:

1.) Sync a fresh repo (if you have one, you can skip this step :D)

2.) Download the vendor prebuilts

2.) Type

breakfast

in your terminal and choose your device there

This takes a while but after that, you should be able to find your roomservice.xml in the hidden folder .repo.

~/[YOUR_CM_ENVIRONMENT_FOLDER]/.repo/local_manifests/

And please: Do not quote my whole post. The first "200" lines don't have anything to do with your issue. ;)

Regards

Koetermann
[Android Apps and Games] Zn7mkUKzN1r8aCIV:
Fail Safe not working in latest build...

Did anyone try to delete privacy/ privacy.db* in /data/system in the latest build?

In previous builds, Fail Safe will popup and prevent the wiping, but not in 1.57 framework + 1.57.1 pdroid... Thx.
[Android Apps and Games] karamelos:
another one

Device: galaxy note 1 (n7000)

MD5 Sum: b790483b2d17627c7e5cb55fd31b64ab

Name:cm-10.1-20130524-UNOFFICIAL-n7000.zip

Link: http://d-h.st/Dlt

EnJoy