FORUMS
Remove All Ads from XDA

[Dev/App/Framework] PDroid 2.0 Touchwiz port for JB OTA

2,031 posts
Thanks Meter: 3,672
 
By TrevE, Retired Recognized Developer on 2nd January 2013, 06:33 AM
Post Reply Email Thread
2nd January 2013, 08:37 PM |#11  
eschelon's Avatar
Retired Recognized Developer
Thanks Meter: 8,967
 
Donate to Me
More
Quote:
Originally Posted by im_on_fire

so this is me opening facebook successfully then opening pdroid and denying facebook gps location. then i try opening facebook again and it force closes:

Code:
--------- beginning of /dev/log/main
I/Adreno200-EGLSUB(24989): <ConfigWindowMatch:2087>: Format RGBA_8888.
I/Adreno200-EGLSUB(24989): <ConfigWindowMatch:2087>: Format RGBA_8888.
W/IInputConnectionWrapper(24989): getExtractedText on inactive InputConnection
W/IInputConnectionWrapper(24989): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(24989): endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(24989): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(24989): endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(24989): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(24989): endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(24989): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(24989): endBatchEdit on inactive InputConnection
I/Term    (24989): Subprocess exited: 129
W/IInputConnectionWrapper(24989): showStatusIcon on inactive InputConnection
E/Term    (24989): onCreate
D/Term    (24989): TermService started
I/TermService(24989): Activity called onBind()
I/Adreno200-EGLSUB(24989): <ConfigWindowMatch:2087>: Format RGBA_8888.
I/Term    (24989): Bound to TermService
I/TermService(24989): Activity binding to service
I/Term    (24989): waiting for: 28326
I/Adreno200-EGLSUB(24989): <ConfigWindowMatch:2087>: Format RGBA_8888.
I/Adreno200-EGLSUB(24989): <ConfigWindowMatch:2087>: Format RGBA_8888.
W/IInputConnectionWrapper(24989): showStatusIcon on inactive InputConnection
E/Term    (24989): onCreate
I/Term    (24989): Bound to TermService
I/TermService(24989): Activity binding to service
I/Adreno200-EGLSUB(24989): <ConfigWindowMatch:2087>: Format RGBA_8888.
I/Adreno200-EGLSUB(24989): <ConfigWindowMatch:2087>: Format RGBA_8888.
let me know if this is incorrect. i used my phone to make the logcat. if not ill make one from my computer tonight. (also, i can't access pastebin from work)

I should also add that this happens with any app, not just facebook.

Do this: Plug you phone into a computer via USB and wait for your mass storage to open up, then in a command prompt type:

adb remount
adb logcat >log.txt
then hit enter and it will create that log.txt file in whatever filepath your command prompt is showing at will start logging (nothing will show up in that command prompt, but it will be actively logging in that file you just made). Then while that's running open facebook, let it crash, then go back to command prompt and hit ctrl+C

Throw that log.txt file on dropbox or something and send me or Trev a PM with a link to it
The Following User Says Thank You to eschelon For This Useful Post: [ View ] Gift eschelon Ad-Free
 
 
3rd January 2013, 07:33 PM |#12  
im_on_fire's Avatar
Senior Member
Flag South
Thanks Meter: 81
 
Donate to Me
More
Quote:
Originally Posted by eschelon

Do this: Plug you phone into a computer via USB and wait for your mass storage to open up, then in a command prompt type:

adb remount
adb logcat >log.txt
then hit enter and it will create that log.txt file in whatever filepath your command prompt is showing at will start logging (nothing will show up in that command prompt, but it will be actively logging in that file you just made). Then while that's running open facebook, let it crash, then go back to command prompt and hit ctrl+C

Throw that log.txt file on dropbox or something and send me or Trev a PM with a link to it

i tried sending it to you last night but im not sure if it sent. it's not in my outbox
4th January 2013, 09:50 PM |#13  
Recognized Developer
New Orleans
Thanks Meter: 3,519
 
Donate to Me
More
Always good to see another port. Great post!

If anyone is looking to use Pdroid Manager on other roms or devices you can use my tool the auto-patcher . Works on Cyanogen, PA, AOKP, Evervolv and AOSP along with many others. Touchwiz , Sense and smaller device specific roms usually fail to patch. We support CM7 to Android 4.1.2 for now.

Those source patches you got from my github are based off svyat's source. Additions were made by me, pastime1971 and CollegeDev.
The Following 2 Users Say Thank You to mateorod For This Useful Post: [ View ]
5th January 2013, 04:17 AM |#14  
ayysir's Avatar
Recognized Developer
Flag Bronx, NY
Thanks Meter: 6,233
 
Donate to Me
More
i wonder if this can work on other gs3 variants such as tmobile version
5th January 2013, 05:45 AM |#15  
Junior Member
Thanks Meter: 9
 
More
I wonder if this could work on the stock Galaxy Note 2. Is there a reason that this PDroid port is variant/phone specific?
5th January 2013, 08:35 AM |#16  
Member
Thanks Meter: 26
 
More
Quote:
Originally Posted by ayysir

i wonder if this can work on other gs3 variants such as tmobile version

This is for stock touchwiz roms.. based on your signature you're running a CM kang, under the assumption that the developer of your kang hasnt drastically modified any of the core components (unlikely) there are already instructions on how to patch pdroid into your rom.

Taken from the first post of this thread:
http://forum.xda-developers.com/show....php?t=1923576
http://forum.xda-developers.com/show....php?t=1719408
5th January 2013, 09:28 AM |#17  
Senior Member
Flag Texas
Thanks Meter: 138
 
More
PDROID!!!
I saw this and said WHOA! out loud to myself. My main problem with Android has been and remains it's excessively permissive permissions (lol). Lack of PDroid was literally the number one reason I was hesitant to move from my Galaxy Nexus with AOSP to a Galaxy Note II with TouchWiz. Now that this is looking like it has legs, is there anything I can do to get this into the G Note II version of TouchWiz? Don't mind running an international ROM on my T-Mobile version in order to do this. I'm going to try and patch it at as is at a normal hour when I get up tomorrow, and I will report back! THANK YOU SO MUCH!

Edit: Got too excited and didn't the original posts thoroughly. Realistically I need to decompile and diff the core.jar, framework.jar and services.jar and see how difficult it would be to merge the changes into the GN2 JB builds. I thought originally this was a patch that would function like the autopatcher and do all the work for me :P. I may need guidance here when I inevitably bork this :-/

Tomorrow(ish)!
5th January 2013, 10:22 AM |#18  
Senior Member
Flag Manchester
Thanks Meter: 86
 
More
Question
Quote:
Originally Posted by slycog

This is for stock touchwiz roms..

Soooooo I can use this on my ELLA (latest samsung) based ROM for the I9300 (international SGS3)?? or do i need to try any decompile and merge the source myself?
5th January 2013, 04:08 PM |#19  
Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by im_on_fire

so I'm on the newest synergy and trying to get the hang of pdroid.

if I deny facebook access to anything it won't open and force closes. when i reallow it to access everything it still FCs until I purge pdroid settings. Not really sure what's happening.


Exact same issue for me....same rom
6th January 2013, 01:16 AM |#20  
Senior Member
Flag Texas
Thanks Meter: 138
 
More
Quote:
Originally Posted by nitric13

Exact same issue for me....same rom

That's weird. My experience with Facebook and PDroid on AOSP ROMs hasn't caused a single force close... Which is really amazing when you think about it.
6th January 2013, 04:08 AM |#21  
zcink's Avatar
Senior Member
Middle Earth
Thanks Meter: 348
 
More
I probably shouldn't have, but I flashed the patch in my new Samsung Galaxy Note II. US Cellular CDMA. Odin rooted.

The flash said successful and then I installed the apk.

Open it and it says there is no patch and gives link to XDA thread. (screenshot attached.)

Oh well, seems like no harm done. It didn't break anything as far as I can tell.





I'd love to have Pdroid working on this phone.

Just a side note. I extracted the Permissions Manager .apk from a MIUI rom (evo 3d) and it installs and works just fine. (don't use the root manager leave that up to superSU)
Its not as extensive as Pdroid but it does let you lock down all your installed apps.
Attached Files
File Type: apk PermissionsManager.apk - [Click for QR Code] (383.8 KB, 77 views)
The Following 3 Users Say Thank You to zcink For This Useful Post: [ View ] Gift zcink Ad-Free
Post Reply Subscribe to Thread

Tags
pdroid

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes