yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] mateorod:
Hey thanks for trying it! PDroid does use resources, although not so much that I would consider it huge. But cm9 still has a ways to go with the battery issues all around.

And...I may have some progress with the patch. I have a patch made from P930 that I can successfully use on a decompiled encore file. The reason I say may, is because at some parts the patch thinks that parts of the patch have already been applied. If I make sure not to reverse it, and not to apply those portions, it patches successfully. If I try and force those hunks to patch, they fail, although a couple hunks do succeed. I don't understand why that would be that way, but I haven't had time to look at it in detail either.

I will probably just make a dex file, throw it in the services file and flash it with a patched core and framework file. If Pdroid works, then we'll have...something, at least. I will let you know.
[LG Optimus 2x] Sandpapers:
Getting a few errors with restoring from internal / sd card in Pdroid. It'll crash randomly when using Boat Browser. I don't get notifications of when anything is blocked from Pdroid like I used to in Gingerbread, so I am hoping it actually blocks what I have set.

Botbrew worked, love that method. Makes it a ton easier to install nightlies and redo botbrew then to patch a rom every time.
[LG Optimus 2x] mateorod:
Ha! Wrong thread. I have something, though. I'll update this post in a minute.

Edit: Okay, on-topic posting-:p

@sandpapers- There is a new update for Botbrew in the market. Should be a little easier. After flash, Botbrew should automatically launch a repair packages screen. All you have to do is repair the package and reboot. We had broken the repair process with the last update, but Inportb fixed it. You can also see which packages were oiverwritten by the flash by sliding the main packages pane all the way to the left.

Also, in PDroid settings, you can turn the permissions blocked/allowed notifications on. It can be information overload if you leave it on forever, but will show you how well it is working, and more importantly, educate you on how ICS has changed data sharing. A ton of apps that look like leaks are arually just feeding the requests to gapps. You'll see.

@pastime: I'll post a new patch tonight, sometime. I am going to look at the individual hunks today and see what's up with the "patch already applied?" type messages. I will probably just diff a patched classout folder with a built one and see what I see.

Update: This file was made from an encore services.jar and correctly patches an LG-P930. More tests ahead. Closer...

Eedit: Removed attachment. Lies, it was all lies. Back to it...:mad:

eeedit: Okay, I have working patches for services and core.jars. They have some garbage in them, but it can be ignored. It doesn't have to be pretty, it just has to work.

I was having some goofy results with the framework.jar though. I finally dug deeper into the diff files and realized I need to get at the "pre-loaded classes" file and make changes to that as well. A smarter man would have seen that awhile ago. I am gonna switch to apktool from baksmali for that and get it tomorrow. That's why they had SignApk in the CM7 version. sigh.

But I finally had some time, and I know it can be done now.

I still am going to have to package these patches up with the necessary tools, and it's gonna be a pain (for me) to write a script that executes the whole business. But that's where we are.
[LG Optimus 2x] mateorod:
@pastime1971- what device do you have? I have to say I'm kinda confused about that.

Let me know. I will patch and recompile the system apps so you can test the patches. I can look for a nightly, or if you have unadulterated copies of services, framework, and core.jars you could make it a little easier by posting them.

They look okay to me, although some of the stuff in the build patches isn't represented. But I don't see why the method wouldn't work. It is possible it is just build instructions. All I know is that if you swap out the three system apps, pdroid works, so a patch made from decompiling should work too. I am going to test on encore tonight as well. They patch encore perfectly, and the only problems with LG-P930 looks related to stub files that have nothing to do with PDroid.

There is a bunch of garbage in the patches though, especially the services.patch. Almost all line number changes. I took those out with -I RE, but I want to nail the regex down a little further since I am afraid it might accidentally trigger a unwanted delete. Let's test them as is, and if they work, then I will try and pretty them up.) They run in shell scripts with -N and -S just fine, so if they work for you, we can get down to putting together the patcher. No promises yet, though :p
[LG Optimus 2x] temasek:
Pastime1971 has a p990 (LG Optimus 2x)
[LG Optimus 2x] pastime1971:
i have p990.

i don't think there is p990 cm9 nightly, since it is not supported yet.

i will look more, but if not, i will compile a cm9 nightly for p990 and post it here.

edit: i looked at http://download.cyanogenmod.com/?device=p990&type=nightly and there is no cm9 nightly for p990. (i do see p930 cm9 nightly in that site, so i'm pretty sure, p990 is not officially supported yet.) i will have to compile a nightly myself. will post it later... once build is finished.
[LG Optimus 2x] mateorod:
Thanks. Since porting to other devices is what we're after...I need testers, you know? If it works for you (sandpapers, you want to try too? pm me.) then we can sit down and grind out the patcher framework. The patching seems fine for encore, I am going to flash it here in a minute. But either way, having your system apps will help pin down any problems.
[LG Optimus 2x] pastime1971:
certainly. anything to help you out...

i spent a good part of the day integrating/trouble-shooting openvpn into cm9. i will build a nightly once i finish it.
[LG Optimus 2x] alroger:
PDroid for SGT-P1000[*] CM9

I just patched CM9 (sgt7 repo, unofficial) for the Samsung Galaxy Tab 7" P1000/N/L.

Patch went fine, no errors.

PDroid working on my CM9!

Thank you guys for this! PDroid is a must!

Here's my CM9 build post if anyone interested: http://xdaforums.com/showpost.php?p=24986629&postcount=756

Cheers!
[LG Optimus 2x] pastime1971:
@ mateorod,

here is the link to a P990 CM9 nightly (w/o PDroid), http://www.mediafire.com/?1c6pm2wfqr3skwi
[LG Optimus 2x] c-pimp:
please try these

hello here is the filess from the rom I am running and would like to try pdroid on ;)

These are from slim ROM for sgs vibrant

if you need any info let me know ;)
[LG Optimus 2x] mateorod:
Is this CM9? I should have said that. Anyone else who submits files for testing, I would like to stick with CM9 for now, just so I know what and where any errors may be from. This had trouble patching some portions and spit out some unfamiliar errors. Of course, these patches have some unneccessary changes in them, so it may be fine.

Give it a shot. Your patched jars are below.

Also, please include a build.prop (in /system) with any other system.jar packs. Thanks, and go ahead and try it. Swap them into the update.zip and flash. Might just work.

(Might not though...just sayin')

Update There is now some (slight) reason to think this patching might have worked for you. I also looked a little more carefully at the patch log and maybe saw hopeful things. I have become quite interested if this works, so please do let us know how it goes. Thanks!
[LG Optimus 2x] pastime1971:
i will do a long test, but it seems to work fine.

great job, m.
[LG Optimus 2x] alroger:
CSipSimple FCs

Let me know if this is the right place to report this.

CM9, using 1.32 patchs on compile.

CSipSimple randomly FCs when trying to dial a number. Sometimes at the first digit, sometimes I'm even able to dial.. sometimes it FCs before even opening the dialer up. When it FCs, PDroid FCs together with it, closing only the dialer. The actual SIP connection stays active and I can actually make (when I can dial all the numbers) and recevieve calls.

I tried this with some blockings, and without them.

Without PDroid App installed (framework still there), it all works fine.

CSipSimple @ the Market: https://play.google.com/store/apps/details?id=com.csipsimple

See if these help - logcats:

CSipSimple - 1 phone call, no PDroid App. (framework compiled in)

http://pastebin.com/gPCKx06P

CSipSimple - with PDroid App: 1 FCs before opening it. Next try it opened and FCed toghether with PDroid right after dialing the 1st digit.

http://pastebin.com/1tkttDM0

Let me know If I can help with anything else.
[LG Optimus 2x] mateorod:
I don't know that app, but I do know that no matter the claim, in CM7 some apps that just absolutely had to have the info to operate would FC on me sometimes.

@pastime- obviously, I would like to test these patches a little more. I could go the emulator route, but I would rather use people since they could test the functionality of PDroid as well.

Got any ideas where to get some testers?
[LG Optimus 2x] alroger:
Yes, that's why I tested with blocks and without them. Even with the app as Trusted I get the FCs.

Testers? I already have a few CM9 Galaxy Tab 7 followers testing it. Maybe you can introduce yourself in the discussion thread asking for testers.

Are you working with pastime?
[LG Optimus 2x] pastime1971:
@alroger,

i will take a look at logcat tonight after work.

it was well known that yandex map FCs w/ PDroid 1.27. it is not too surprising that some app still FC w/ PDroid 1.32.

good news is that CSipSimple is open source (i think). it makes it much easier to debug.

edit: just out of curiosity, may i ask why you use CSipSimple instead of built-in SIP function ?
[LG Optimus 2x] alroger:
Internal SIP doesn't dial for me.. don't know why. Then it's anoying having to get into settings to turn answering on and off everyday when I get to the office... so CSipSimple makes it simple... when I have it open I receive calls.

EDIT: Dial is working again... must be the new CM9 version. Thanks for reminding me.
[LG Optimus 2x] pastime1971:
well, p990 doesn't have nightlies officially yet. (i made it for testing, thinking it would have a better chance of working if it is not heavily tweaked.)

a popular CM9 rom for P990 is owain's, which is somewhat heavily tweaked.

however, i think the part where pdroid patch goes in is likely to be same.

it may draw more attention/tester if we patch owain's.

here is the latest, http://www.mediafire.com/?sdzx49sqxd6ypi4

edit: if it is too much hassle, i can post in owain's thread asking for testers...
[LG Optimus 2x] pastime1971:
ah, yeah. makes sense.

looks like i can't make a shortcut to Dialer > menu > SIP on home screen.

edit: so, all is fine w/ pdroid then ?
[LG Optimus 2x] mateorod:
@alroger-Thanks. Yeah, pastime put together the patch for the source, and now we're working on putting together ways for people to get PDroid on their nightlies who don't build. I have a couple devices using an app called Botbrew and have just started testing on a smali patch. If it looks like it's working then the next step is to package that up into an automatic patcher so PDroid can be used on any Rom, any device. Testing the patches is what i was specifically speaking about above.

I need an unPdroid-patched build of your rom, if you would be willing to test. Really just services,core and framework.jars, although i have been asking for the build.prop as well. If you can get those and post them, it would be great. But no pressure, i know your personal PDroid issues are solved. This is just to get it to a wider audience.

@pastime- no, that'll be great. I'll patch those in a little bit. Thanks.

Edit: Unless you accidentally linked me to the wrong place, it looks like owain has already integrated PDroid into the build. All the necessary changes are already there! Maybe he likes your work...
[LG Optimus 2x] alroger:
Sure, I did post my link in my post:

http://xdaforums.com/showpost.php?p=25207164&postcount=154

My site has both the patched and unpatched CM9 unofficial nightly sgt7 20120422.

I can test the patches for you.

Guys over there are using GooManager... I did checkout Botbrew, which seems to have the same purpose.
[LG Optimus 2x] mateorod:
Well, GooManager is more of a front-end for a hosting service, a downloading interface. I use it all the time to get at all the stuff they post. Botbrew is a package manager, like Cydia or Synaptic. We can swap out the system files on a running rom, for instance. It also offers a selection of developing packages, like python, gcc, debian all that stuff, which obviously has to be installed, set environmental variables, etc. It's a very precise installer, in its most basic form. And one of the packages we offer for Nook Color and a couple other devices, is the ability to port PDroid to a new nightly w/o building or waiting for someone else to build. Or even flashing, really. Neither here nor there, I guess.

But thanks for being willing to patch and test. I thought your link was to a specific build, so i didn't go any further :p

The patches were posted a day or two ago on this thread. You'll have to erase the .docx and then decompile (apktool for this batch, although I am going back to the smali binaries before we release).

I can still do it for you, if you want, but I figured since you offered I'd see how it went. There is still some garbage in there, so you will see some errors. If you want to pipe the output to a text file so we could see what hunks succeeded, that would be pretty alright as well.

Edit I am making the patched jars for your rom now. I'll attach them in a bit.

Thanks.
[LG Optimus 2x] c-pimp:
the framework seems to work, I can boot up and use phone just fine!

do I need to edit my buildprop for the market app for pdroid to work?

I installed and it said ICS not supported and closes.

The framework that I gave you to patch was from

http://www.slimroms.com/

Fully built from AOSP sources with some cherry picks from CM and AOKP team,

It currently supports the following devices, no extra devices for now:

Galaxy Nexus - I9250

Nexus S - I9020A/T, I9023

Nexus S 4G

Samsung Galaxy S II - I9100

Samsung Galaxy S - I9000

Samsung Captivate - I897

Samsung Vibrant - T959

just for a bit of info.

UPDATE - Might have spoken to soon, I was pulling the files from my phone to check file hashes to make sure update went ok and I managed to corrupt my internal memory of my phone, starting over from scratch with the files in my rom caused a never ending loading screen, more testing is needed on my end...
[LG Optimus 2x] pastime1971:
unfortunately, if PDroid app says that, then it means that framework didn't get patched.
[LG Optimus 2x] pastime1971:
i'm bit confused. which device is yours ? Galaxy Nexus ?
[LG Optimus 2x] mateorod:
hmm. If the patch works, PDroid should work with no extra work. Did you swap out all three system apps or just framework?

I will have to look more closely at it. I will remake the files and look more closely at the output. Thanks for reporting back!

Okay, here are patched system apps from the p1n 20120417 build of yours. I think it was the straightest recent build. Just swap the three system apps for the one in system/framework and flash. Pdroid should work with just that. Let us know, thanks!

These are the patched jars for alroger's ROM attached.
[LG Optimus 2x] c-pimp:
galaxy s vibrant T959

I wish it was a galaxy nexus hehehe

I may be upgrading to the sgs 3 when it comes out but the nexus is sweet.
[LG Optimus 2x] alroger:
I'm actually using 20120422, but that's ok. I replaced these files into the /system/framework and everything seems fine. PDroid fine.

So you are working on a patch script like the original one, that will automatically unpak, patch and repack the framework files?
[LG Optimus 2x] c-pimp:
buildprop

also here is the buildprop from the slimrom files that I originally posted incase this can help you to find out what went wrong ;)
[LG Optimus 2x] mateorod:
Yep! And I feel that much farther along knowing that the patches worked for you, so thanks! There was actually a big change in the CM repo that breaks swapping system apps between builds at right around that time, so I am glad that these carried over.

I would say we have some pretty firm confirmation that the patches work for CM9 and its derivatives (depending on the degree or derivation, perhaps). But as for some stock ICS roms, well...

...well, there is still work to be done. Thanks for keeping in touch c-pimp. I am going to build your system apps from scratch and see if maybe I made a mistake. I have been decompiling and swapping like crazy, for multiple multiple roms, and these are actually pretty Frankenstein packages, when all is said and done. I will also look a lot more closely at the output. When I first patched your files, I didn't have confirmation that the patches worked at all, so I kind of just patched them and sent them out. But patching your build would probably mean we could patch just about anything, so I am invested in this now!

@pastime- I feel pretty good about the patches as regarding CM9. What do you think? I suggest that I clean them up some, try and reduce the deprecated changes, and we get down to putting together a package. I personally work on linux, so I would make it for that. But there are some tools that can port it to DOS for us, so we could offer a couple formats. I will continue to work with c-pimp and see if we can't get his ROM patched, because then it might be fit for a wide-release. But for now, I think a CM9 patcher could be pretty valuable. Let me know what you think.

Also, I don't know if I made it clear, but I think the build linked me to for owain's roms were actually built with the PDroid patches already. The code was there, for sure. If that was maybe the wrong link, I could try again.
[LG Optimus 2x] pastime1971:
hmm... i see. it is very possible. (i did hear about it, but owain doesn't explicitly say it in the thread. and i assumed not.)

anyway, it sounds like it is not likely that it will attract more tester on p990.

i will try to do more extensive test w/ nightly build + patch (probably this weekend as i am quite swamped at work these days)
[LG Optimus 2x] pastime1971:
yeah, me too. i think you nailed it. that sounds like a plan.

i also use linux (almost exclusively) and i still have svyat's linux patcher (v.1.27)

in my opinion, linux patcher is more straightforward and easier to maintain. (although it may appeal to less people.)

edit: sorry i didn't reply soon about owain's zip. my day job kept me pretty busy...
[Xperia Play General] ozzmanj1:
Found this on Engadget.....

http://www.engadget.com/2012/03/19/linux-kernel-3-3-merged-android-code/

The latest refresh of the Linux kernel, 3.3, is now available, and the second release of 2012 brings with it the long-awaited merging of code from Google's little side project. While that is particularly interesting to developers looking to boot Android or run apps on the stock Linux kernel (FYI: optimized power management and other infrastructure that didn't make it this time will arrive in the next release, 3.4) and represents a resolution to the issues that kept the two apart for so long it's not the only new feature included. There are improvements to file systems like Btrfs, memory management, networking, security and much, much more. Hit the source link below for the full changelog or grab the code and from the usual locations and get your compile on directly.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] JAY52SWP:
i'm running windows 6.5 EnergyRom HD2 Sense 2.5 Cookie v2.0 Energy and i noticed that i have a link for LAUNCH ANDROID and it says "CLRCAD.exe was not found on your storage card" proceeding to launch Haret anyway.. then it says Haret not found... HOW DO I GET THIS TO WORK???
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] samsamuel:
When you download an SD android rom it usually comes with haret and clrcad. Your link is just that, a link, if you don't have SD android set up the link won't work.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] JAY52SWP:
now how do i set it up??
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] samsamuel:
http://xdaforums.com/forumdisplay.php?f=743

start reading the q&a and the android sd dev sections
[HTC Sensation] toni.cza:
Hi,

I have a sensation xe with ICS stock,s-off and supercid.

I would now enable root permissions, but I do not know how to make and are not able to find useful information.

I tried to install the file su-2.3.6.3-efgh-signed but returns an error: Signature verification failed.

Do I need to install the clockworkrecovery to install su-2.3.6.3-efgh-signed or I'm wrong file? How do I install clockworkrecovery?? Which file should I download??

Sorry, but I can not do that.

thanks in advance
[HTC Sensation] status_six:
http://xdaforums.com/showthread.php?t=1192300
[HTC Sensation] toni.cza:
Thank you Stringer

I followed the guide, installed CWM and superuser. But something does not work. The programs are unable to obtain permits, and superuser logs there is no trace of activity.

What should I do now??
[myTouch 4G General] 420haxr:
Here's how it goes, my phone does not charge. All it does is blink ans blink. When the phone is off it blinks green and red , when its on the phone doesn't charge but it doesn't die because there is power reaching the battery .

At first I thought it was the battery but then I tried my friends battery on my phone and it didn't charge his battery. Then I thought it was the cable so I used my cable to charge his phone and it charged. So I'm guessing its my phone ? What could it be ?
[Atrix 4G General] Soldier-2Point0:
Please close this thread
[Atrix 4G General] GatorRuss:
Alright, I just did this. I will report back on whether or not this is a permanent solution to the battery issue after I kill my phone, and try to re-charge it.

***EDIT***

Since I have stopped charging my phone, I have been playing Osmos HD on full brightness, and my phone has stalled, and rebooted, thrice. I don't know if this is battery heat related, or ROM related. :/
[Atrix 4G General] msd24200:
This is already covered

http://xdaforums.com/showthread.php?p=16240746
[Atrix 4G General] yeahmann:
No it's not.
[Atrix 4G General] xateeq:
Can any one report back about the the results of charge and discharge max percentage cos for me getting 100% is no problem but on next charge % starts to drop and phone says charged on 95+%
[Atrix 4G General] GatorRuss:
Alright, I'm on Phase II of the test..."The Re-Charge"

I did what the instructions said, and I had my battery at 100%, which I then killed to ~1% until it shut off. The phone is now turned off, and charging.

In the past, when I would charge it to get it to show 100%, and dis-charge so that it would shut off, it would never fully charge to show 100%; it would stop at 90% when the phone was off, and between 90-95% when the phone was on. We'll see if this is a permanent fix in a few hours when we commence Phase III..."Profit."
[Atrix 4G General] Soldier-2Point0:
I believe battery power used while in CWM is not reported and when you boot up battery stats get messed up. You can clearly see it when you spend a lot of time in recovery then reboot and check battery stats. You will see a black line running down your stats. Trust me, this is why everyone's battery stats are not in calibration.

Sent from my MB860 CM7 Nightly latest version. Leave your charger at home! XDA Premium
[Atrix 4G General] Soldier-2Point0:
Read the beginning of my post. I stated that a VERY TEDIOUS and non working method exists.

*To all other readers. Try my procedure and you be the judge.

Sent from my MB860 CM7 Nightly latest version. Leave your charger at home! XDA Premium
[Atrix 4G General] Soldier-2Point0:
Dude, never kill your phone! Get it down to 1% at the most, but don't let it die! This is another reason why stats are getting corrupted. If the status bar read 100% and your voltage is 4200mV you are calibrated!

Sent from my MB860 CM7 Nightly latest version. Leave your charger at home! XDA Premium
[Atrix 4G General] GatorRuss:
Oh well, I guess it's a little late for that. :o

I'll keep that in mind for tomorrow when I'm screwing around with the battery.