yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Deviant Ollam:
openpdroid failed patching Kaos_Droid-V3.8.3 on Nexus 7

I have a Nexus 7 tablet and am running Kaos_Droid-V3.8.3 on it. I've successfully patched pDroid 2.0 in the past and everything ran successfully, albeit with the lag and processor chewing issues that were common when a device interacted with GPS, camera, etc. Thus, i was elated with the appearance of openpdroid.

I've converted over to openpdroid on my personal phone (Galaxy S III) and then tried patching my Nexus 7. This didn't go so well.

I've tried the following...

* uninstall pDroid 2.0 manager app

* use the "restore" patch to remove the pDroid 2.0 framework

* attempt to install openpdroid framework patch

... in the recovery environment, however, the patching failed. ApG successfully created Kaos_Droid-V3.8.3-openpdroid-20130320-update.zip but the recovery reported the following...

get_perm: some changes failed

E:Error in /sdcard/Kaos_Droid-V3.8.3-openpdroid-20130320-update.zip

(Status 7)

Error flashing zip'/-V3.8.3-openpdroid-20130320-update.zip'

Updating partition details...

... i'm going to try manually RE-installing Kaos_Droid-V3.8.3.zip onto the system partition and then RE-attempting to patch that above-mentioned zip file. Maybe the restore didn't successfully change everything back before?

---------- Post added at 08:03 PM ---------- Previous post was at 07:43 PM ----------

update:

doing a fresh install of Kaos_Droid-V3.8.3 after a full wipe was just as easy as before... but then attempting to install Kaos_Droid-V3.8.3-openpdroid-20130320-update.zip resulted in the exact same failure.

"some changes failed" with the set_perm start of things and the same Status 7 failure
[Android Software/Hacking General [Developers Only]] karamelos:
Not use same zip for all devices.

Create a new update.zip with auto-patcher

All files are not same for all devices for example cm & pa framework .
[Android Software/Hacking General [Developers Only]] Deviant Ollam:
can you explain that a little more clearly? i did create an update.zip file using auto-patcher (well, using ApG, actually)

i created it by feeding my exact Nexus 7 rom into ApG and selecting OpenPdroid and running things. the patching said it succeeded.

I am not trying to update my Nexus 7 using my Galaxy S III patch or something else similarly braindead. ;) did my post seem to make it sound like that's what i did?
[Android Software/Hacking General [Developers Only]] Deviant Ollam:
still no further replies...

does anyone have any idea why a patching process would succeed but then the attempted installation of the patch would fail right at the start with a set_perm problem?
[Android Software/Hacking General [Developers Only]] lulli1:
AW: [MOD][4.1.2 or 4.2.1][GPL] OpenPDroid [v1.0, 2013-01-14]

you could try to compare your updater.script in the zip with another one from previous versions of your pdroid zips.

this script sets permissions while installing the patch. give it a try...
[Android Software/Hacking General [Developers Only]] Togijak:
AW: [MOD][4.1.2 or 4.2.1][GPL] OpenPDroid [v1.0, 2013-01-14]

Witch Version of OpenPDroid should I use on CM 9?

thx
[Android Software/Hacking General [Developers Only]] mateorod:
It is hard to say without seeing the updater-scripts or the log. Also, while I don't mind helping you here, the reason it took so long is that auyopatcher help (me, karamelos, AussieLamnChops) look I'm the auto-patcher thread. I just didn't notice you here.

Are you building from source? Right now we don't have all of the features of OpenPdroid ported back to CM9. Buy we can provide patches that enable the original PDroid app by svyat to work.

The auto-patcher can port that to CM9 as well.
[Android Software/Hacking General [Developers Only]] Savix Reito:
Hi there.

I'm having problem with openpdroid, I can't patch it to my ROM :C

It's CM10 (both 20130318 and 20130324 doesn't seem to work) for Motorola Defy+ (MB526).

I've tried to patch it via ApG 2.6.0.2 but no avail. It starts off pretty nicely but after a while it fails leaving me with something like that:

!!! PATCHING FAILED FOR com/android/internal/telephony/gsm/GsmServiceStateTracker.smali !!!

File for which patching failed:
---------------------------------------------

GsmServiceStateTracker.smali

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

It's my 1st Android Device, I've got it yesterday. I'm rather a tech-savyy person, but I don't know much about androids (thanks to this forum I managed to root my defy+ and flash CM10 on it, but it's pretty much it)

Any ideas? :/
[Android Software/Hacking General [Developers Only]] samarium:
Try the autopatcher or ApG threads, since you are using their tools.

No idea about specifics for your phone, however, IIRC, CM10 autopatching was limited to 0208 or 0209 ROMs because something changed after that, and the patches may not have been updated for CM10. CM10.1 patches OK. I had to go looking for a older ROM on goo.im when I wanted one.

http://xdaforums.com/showthread.php?t=1719408
[Android Software/Hacking General [Developers Only]] lulli1:
I think the 0208 or 0209 is not the problem....

Please look at this Information at the first post in the autopatcher thread:

If you have a build environment and build for TW or Sense, consider joining the team. Additionally, Quarx's CyanogenMod roms are not currently supported. A maintainer would be welcomed for that as well.

This Rom is a Quarx Rom. And the cm10 from tezet for Milestone2 (my phone and Rom) is based on quarx´s cm10 for defy. So you will get this error as long as you try to patch. I dex2chared the classes.dex and found the error as well. I think you will need quarx´s help with this stuff, but maybe he can´t help you, cause he´s a dev and has nothing to do with that kind of stuff. I wrote him a few weeks ago, and got no answer. Good Luck! ;)

Edit: here is a link to my dex2chared file and the error...

http://www.mediafire.com/?5azaawc2mrnza

If you find a solutions to get opd to work at your defy cm10, please let me know how!
[Android Software/Hacking General [Developers Only]] Px80:
AW: [MOD][4.1.2 or 4.2.1][GPL] OpenPDroid [v1.0, 2013-01-14]

Does patching effect the performance of a rom? After flashing the patch i thought the rom is a bit "laggy".

switching from drawer to app and back to SMS or so sometimes takes long (for example)
[Android Software/Hacking General [Developers Only]] MadMic:
Any news per chance on an updated version with the GPS slow lock issue fix?

Cheers guys
[Android Software/Hacking General [Developers Only]] dirtyreturn:
TopNTP from the play store configures a new GPS.conf file. That has helped out a great deal.
[Android Software/Hacking General [Developers Only]] Lanchon:
hi friends!

ever since FFU5y was sucked into the bottomless pit from the internets hell on Jan 25 progress has been very slow. he was very active before that, he discussed many ways to improve OPD and the manager, such as defaults handling (not handling of privacy service failures, i mean defaults for yet unconfigured apps; well, service outages were discussed too). but it seems progress grinded to a halt, and i sort of *need* OPD working. im still using PDroid with old android 4.1 and im reluctant to migrate to OPD until it has useful defaults handling (which means separate sys/user defaults at a minimum).

so whats happening? is there progress being made? id like to continue the work if its stalled.

problem is i am completely illiterate in Git. yesterday i downloaded and built cm10.1 to get started (i would work on cm10.1 head or -M2 or better -M3 if its released on time) but i havent patched OPD into the source yet. where should i start from? exactly how do i patch with the latest devel branch? please keep in mind i have zero experience with Git.

ive seen there are patches here, i guess these are the released versions and i need the devel:

https://github.com/OpenPDroid/OpenPDroidPatches

there are also repos and branches including some devel branches here:

https://github.com/OpenPDroid/

and here:

https://github.com/wsot

so where should i pick up? wheres FFUs last work? and if anyone can help me to merge it into my tree itd be great. once i'm there i should have no problem taking over. more importantly, should i start or wait for FFU? my first target would be defaults, no doubt.

thank you all!!
[Android Software/Hacking General [Developers Only]] MadMic:
Tried that - it does improve it somewhat, but still lock times of nearly 2 - 3 minutes. I've found turning the GPS off in the Power Control widget helps too as some apps like Facebook & Weather ones try to get a GPS fix and this seems to annoy it...

I upgraded my ROM last night and have yet to apply the OPD patches - GPS lock was less than 2 seconds

mateorod mentioned the next version of the framework would have the GPS fix implemented and this was coming end of March (hopefully)... fingers crossed... I guess I can wait the 2 -3 minutes as I prefer the security OPD brings...
[Android Software/Hacking General [Developers Only]] Px80:
I noticed that the pdroid mod slows down my ROM.

I use the same rom as before but this time without the patch... and it's much smoother and lags less than before.

Has someone noticed that too?
[Android Software/Hacking General [Developers Only]] karamelos:
Hi your first link https://github.com/OpenPDroid/OpenPDroidPatches is good for make patch.

In this link you have some command for making or delete patch .

You can use git clone or download manually .

Make clobber, patch files & start build process.
[Android Software/Hacking General [Developers Only]] poo706:
I was running a full-featured 4.1.2 PAC ROM with Pdroid 2.0 patches. Then I started experimenting with a much less feature-filled 4.2.2 Evervolv ROM with OpenPdroid patches. Evervolv was much more laggy and the battery drain was much worse. Now, I can't say for sure whether it's 4.1.2 vs 4.2.2, pdroid2 vs openpdroid, or built-in features vs app replacements. I suspect it's openpdroid though.

[poo]
[Android Software/Hacking General [Developers Only]] mateorod:
There are a bunch of us that work on supporting this project on a literal daily basis, so it hasn't been forgotten.;)

But pull requests are treasured, you can fork to your local machine or through the github GUI, the resources are plentiful. Much of that daily effort from me is getting a gerrit instance configured so we can review code properly. I would bet that will be running by the time you have your changes made.
[Android Software/Hacking General [Developers Only]] Lanchon:
thanks! yes, but those are based on the stable branch, i think they are a snapshot from december that does not include many improvements and bugfixes. i want to continue development so i should start where FFU or whoever left off. they call it the devel branch, but there are many repos and a couple different owners.
[Android Software/Hacking General [Developers Only]] mateorod:
Just look through the branches. There are two working branches right now, the standard -devel and then the Pdroid2 merge branch, which is going to see some commits coming up as I merge in PDroid2.0 last update with CollegeDev.

The only repos are the OpenPdroid repos, everything is there.
[Android Software/Hacking General [Developers Only]] CNexus:
Hi, just wanted to let you know (no idea if I am the first to integrate it), but I've successfully compiled a CM10 frameworks patch with OpenPDroid :good:

Thanks to FFU5y and all others involved with this project, couldn't have done it without your guys' open source :)

[MOD][4.1.2] OpenPDroid for CM10!
[Android Software/Hacking General [Developers Only]] Lanchon:
as i mentioned, im not yet an OPD user and im stuck with original pdroid ported to android 4.1. pdroid "one" has the GPS and market lag issues. GPS Status almost freezes, and my workaround is to use GPS Test for now.

the latest GPS Status versions (six months to a year old i mean) pop up whenever another app turns on the gps. this makes *any* app that uses gps kinda unusable. instead of disabling gps, ive just frozen GPS Status and the lag problem in other apps is gone (freeze is a form of reversible uninstall). also, around this time they must have made a change to GPS Status that triggered the problem, because i think i remember using it without lag with pdroid one. there's a refresh rate setting in GPS Status and i know i've set it to maximum; maybe this makes it continually poll the gps and the inefficiency in pdroid causes the lag? somebody should try setting refresh rate to low and see what happens.

that is the non-responsiveness issue. but there seems to be a different issue on top of it: lock times of 2/3 minutes. im sure GPS.conf is ok enough and doesn't need to be patched, as it works fine without OPD. i cant test (not running OPD yet) but i have a hunch regarding whats going on. 2/3 minutes for a gps lock is just normal. actually its a miracle of technology, it used to take up to 30+ minutes to get a fix on old equipment! a good assisted-gps fix process, like the one we are used to on android, turns on both gps and network location, and downloads outdated satellite data over the net. as soon as a network-based fix comes in (maybe in a fraction of a second), it is used to seed the gps. for a cold gps, the estimated speed is probably set to zero (as anything with 90km/h (56mph) error is ok), and the phone has an excellent network time estimate to use as seed; plus it may download almanac and ephemeris data over the net if outdated. with all this pre-seeding, a fix can be blindingly fast sometimes. we are almost talking time-to-subsequent-fix here instead of time-to-first-fix, that explains the 3/5 second miracle fixes we are used to these days.

but ive seen people complaining that with opd the network location doesnt work at all. you know where im getting: if the gps subsystem cant get a network fix, an important part of the a-gps process can't be carried out; hence the 2/3 minute fixes. i imagine that as soon as they fix network location this lag will disappear. we just have to grant the gps subsystem access to the network location in the manager, whatever that process is.

in the meantime, just kill GPS Status and the gps UI lag (the unresponsiveness) will go away.

really?? this is great news!! could you point to the source if you remember? thank you!!
[Android Software/Hacking General [Developers Only]] lulli1:
could you please provide the patch_patches.tgz file you built and used for that?
[Android Software/Hacking General [Developers Only]] Lanchon:
thank u!!

1) so when FFU refers us to the wsot repo, thats outdated?

2) all the -devel branches are synched? can i just use cm-10.1-openpdroid-devel? (or should i diff on some particular branch you guys are working on such as jb-mr1-release-openpdroid-devel vs jb-mr1-release?)

3) if u care to answer this one: whats the best way to integrate those repos into my cm10.1 tree? is there something i should do now to make it easy for me to contribute changes later? i feel like a monkey with a razor here, ive never used git.

thanks again!
[Android Software/Hacking General [Developers Only]] MadMic:
Not sure how to kill gps status - any ideas?

You'd have to speak to mateorod about the source for the new set of framework patches.
[Android Software/Hacking General [Developers Only]] scutworker:
Hi mateorod,

Now, I know we're not supposed to ask for ETAs but could you possibly give us an indication on how it's all going for the new OpenPdroid. I recall that you said it would hopefully be out towards the end of March.

Like most of us here, I'm looking forward to it, so a quick update would be appreciated.

Cheers.
[Android Software/Hacking General [Developers Only]] iExitus:
Re: [CM10.1][4.2.2][LINARO][UNOFFICIAL][MAR28] temasek's UNOFFICIAL BUILD - V83

Sorry. Wrong thread.

-deleted-
[Android Software/Hacking General [Developers Only]] Lanchon:
lol, just freeze it or uninstall it! :)
[Android Software/Hacking General [Developers Only]] cashmundy:
AutoPatcher 2.8.7 works with Slim Build 3 on vibrant, except MMS

AutoPatcher 2.8.7 openpdroid works with Slim Build 3 on vibrant (not Build 2) except MMS, where I got the usual force-close (also with current Hellybean). I had to patch in a stock MMS. Other than that, running fine, and I can recommend Slim as a good vibrantmtd rom.

Thanks!

PS: Wishlist item for pdroid manager: ability to set default permissions to Deny All for newly-installed apps.
[Android Software/Hacking General [Developers Only]] MadMic:
Ah, with you now... thanks.
[Android Software/Hacking General [Developers Only]] linuxnubee:
Hi this looks totally awsome and would be a great update for my miui security am using atmo. Just one.question any chance you can put patches into flashable zip as the install method is really a bit hard to follow for a novice user as.myself. Or do i put auto patcher on then install apk am a bit stuck too much info for instructions im a step1 do this step2do that lol

Great work
[Android Software/Hacking General [Developers Only]] MadMic:
You grab your ROM file that you are using, take this to a pc with ApG installed (the first time it runs it takes a while to configure everything it needs) and press patch :victory:

If all goes well you have a update.zip & restore.zip which are flashable from recovery
[Android Software/Hacking General [Developers Only]] revnu:
openPDroid on i9100

Hallo,

can someone tell me what exactly I have to do, to get OpenPDroid running on my Galaxy S2 (i9100)

I have the "Supernexus 2.0 build3"-Rom (4.2.2) with Siyah-Kernel s2-v6.0b5

perhaps someone can do us the favor and make us files we simply have to flash via CWM ?

THIS WOULD BE AWESOME AND I THINK MANY OF US WOULD REALLY APPRECIATE THAT !!! :cyclops:

greetz revnu
[Android Software/Hacking General [Developers Only]] SMillerNL:
The files you have to flash are device and ROM dependent. This would require an enormous amount of zips
[Android Software/Hacking General [Developers Only]] MadMic:
Post #290. It's not too hard, especially if you have flashed a custom rom & kernel
[Android Software/Hacking General [Developers Only]] linuxnubee:
Many thanks for the short version of what to do i get it thanks step1 apg step 2 patch wkd.
[Android Software/Hacking General [Developers Only]] revnu:
ok THX 4 lowering ma concerns.

But im not that nerdish then it comes to stuff where I have to edit source-codes. Can you help me to get it in a form, so i simply flash it via CWM or ODIN ?

I bet many guys in the "Supernexus 2.0"-tread would really appreciate that :))) Many of them use Siyah V5 also, because itz a good kernel in combination and we have Over/onderclocking......would be really helpfull.

Going to post it there if it works !

best regards

revnu

EDIT: ya, ok I see. I have to install "APG"? You mean this Autopatcher here: ?

http://techerrata.com/browse/mateorod/pastime1971

I thought itz easier......sry I'm a linuxnoob

EDIT2: OK I found the APG-thread and go on reading there, thx 4 da tip, hope supernexus2.0-ROM is supported, but I think, because many people like this ROM (like me :) )
[Android Software/Hacking General [Developers Only]] revnu:
WOW

THX 4 DA TIP WITH APG !!!!!!

http://xdaforums.com/showpost.php?p=31648393&postcount=690

really easy that way !!!

great
[Android Software/Hacking General [Developers Only]] MadMic:
Sure makes life easier! - Enjoy
[Android Software/Hacking General [Developers Only]] revnu:
ahh damn, the patcher gives me ERRORS then trying to patch the new released "Supernexus 2.0 BUILD4"-Rom :(

I wrote a PM to the developer of this ROM, if hes willing to implement openpdroid to his ROM, or if he makes some kind of optional "update.zip/recover.zip"......if he do this ROM is my absolute new favorite (itz anyway in the list of AOSP)

another question:

I flash to latest "Dorimanx"-Kernel to the ROM I mentioned. Does the patch work even if I change Kernel AFTER applying the patch ?

Or did I have to first patch the ROM, then flash the new Kernel over that. I'm a little bit confused about this point!

THX 4 any help

greetz from germany

revnu
[Android Software/Hacking General [Developers Only]] jahrule:
The patches don't patch the kernel so your good to flash a new kernel
[Android Software/Hacking General [Developers Only]] westhaking:
I tested this out and did like it but ultimately decided to go back with lbe due to openpdroid not letting Deep Sleep Battery Saver function properly when the screen turned off even though I gave the app proper permissions. Is this a know bug with certain/some apps? Also, does anyone know what the cloud icon with red x's on it mean in the permission manager app? I could not find any documentation and could not get it to remove the red x's even though I have deep sleep battery saver access to all permissions. Thanks for any help you can provide.
[Android Software/Hacking General [Developers Only]] poo706:
Be wary of LBE, I and several others found that it was allowing 3G and wifi access to some apps even though network access was disabled. You could use AFWall+ to control network access and LBE for everything else, but I just don't trust it any more, plus I hate all the bloat. The clouds just mean an app has network access by default and the clouds with red x's means an app doesn't have network access by default. The icons won't change when you change settings. I can't attest to the deep sleep battery saver app, but I can say that, according to better battery stats, my phone spends the vast majority of its time in deep sleep. Openpdroid doesn't seem to be affecting deep sleep for me.

[poo]
[Android Software/Hacking General [Developers Only]] maeman:
an example of a valid latitude or longitude?

decimal format, as given by Google Eath lat = XXX.XXXXXX, lon = XXX.XXXXXX is deemed invalid by apps
[Android Software/Hacking General [Developers Only]] mateorod:
My experience with LBE was not the best either, which is what brought me to PDroid back with Gingerbread. Blocking permissions while leaving apps functional is difficult to do, since many apps FC when they are not returned the vales they request. OpenPdroid gets around that by answering the query, but not providing your actual info.

As for the problems with your app, the best I can do is ask for a log cat and promise to add it to the action list. But I haven't experienced any deep sleep issues myself, nor heard that complaint before.
[Android Software/Hacking General [Developers Only]] dirtyreturn:
Hey mateorod. How does the issue with GPS/openpdroid look? Would you need a tester of some sort?
[Android Software/Hacking General [Developers Only]] LordValen:
CM 10.1 SMS not working

Hi All

I patched the latest Cyanogenmod 10.1 nightly via the GUI autopatcher, and installed it on my I9305 without any issues - But I do not have the SMS/MMS application...

I found the mms.apk in the file system, but when installing it (doubleclicking) it says "App is not installed"

Anyone can help me?

thank you
[Android Software/Hacking General [Developers Only]] poo706:
Read the second bullet at the very top of this post:

http://xdaforums.com/showthread.php?t=1719408

[poo]
[Android Software/Hacking General [Developers Only]] dirtyreturn:
There is a link to SMS/MMS apk in the last few pages of the autopatcher thread.