Originally Posted by mateorod
Looks good, man. Looking forward to making the package.
Edit: tried to patch on my way out the door, two problems. I haven;t had much time to diagnose, I was hoping to start a build and look at it when I got done with work.
libcore patch- I tried to strip a couple other levels, but no dice. I see that you have CM9 in your path which may not be significant. But since I had a failed hunk in framework I thought I would just report.
$ patch -p1 < ~/android/pdroidwork/pdroid_ext/patches/JB_libcore.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|diff -rupN '--exclude=.svn' '--exclude=.git*' '--exclude=*.java~' '--exclude=*.mk~' '--exclude=*.orig~' '--exclude=*.txt' '--exclude=*.orig' /root/CM9/libcore/luni/src/main/java/java/lang/PrivacyProcessManager.java pang/libcore/luni/src/main/java/java/lang/PrivacyProcessManager.java
|--- /root/CM9/libcore/luni/src/main/java/java/lang/PrivacyProcessManager.java 2012-07-18 16:10:00.479998383 +0545
|+++ pang/libcore/luni/src/main/java/java/lang/PrivacyProcessManager.java 2012-09-19 20:06:31.467808140 +0545
patching file frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
Hunk #1 FAILED at 37.
Hunk #2 succeeded at 179 (offset 9 lines).
Hunk #3 succeeded at 319 with fuzz 1 (offset 13 lines).
Hunk #4 succeeded at 926 (offset 30 lines).
Hunk #5 succeeded at 944 (offset 30 lines).
Hunk #6 succeeded at 1030 (offset 30 lines).
1 out of 6 hunks FAILED -- saving rejects to file frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java.rej
patching file frameworks/base/TelephonyRegistry.java
Everything else patches fine. The failed framework hunk could be because my source is maybe 2-3 days old, I will try a fresh repo sync when I get home from being out.
Did you patched the PrivacyProcessManager.java successful? Yes, it based on CM9, because I havn't the source of the original files anymore. But it doesn't matter. I made these patches, updated my source code and used these patches by my own to verify that they work. Can you upload the SMSDispatcher.java.rej? I would like to see wat is going wrong.
Originally Posted by bonanza123
thank you very much for your efforts!
I am using your ready built for SGS 2 but i have problems applying new rules, because they are not saved. Logcat is attached, there are a lot of sqlite errors.
Yes, I believe I know whats going wrong. You used PDroid before and just flashed my zip, right? If so and you don't want to wipe your device, go to:
and delete the files: privacy.db, privacy.db-journal, privacy.db.bak. Then restart your device and all should work.
Originally Posted by SecUpwN
CollegeDev, why can't you compile an ALL-IN-ONE-APP ("PDroid-Suite") and just give credits to all developers? Would be so awesome if PDroid itself was included..
Why? I think it is unnecessary to do this, because you have now just one big and powerful applicaton. No addons or something like this. So why you want to use the old pdroid?