yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Christoph21x:
"Friends helping Friends" - extended...

Dear All

Dear Friends of PDroid & OpenPDroid

I'd like to extend the service of the "Service Thread" - "[Service][PDroid] Friends helping freinds getting your Apps & ROM PDroid-secured" in order to spread this privacy protection all over our ROM's:

You're not limited to Senior Members to post, newbees & junior members are welcome - no question is a silly question

Drop your failed builds there - our task is to double-check this and if...

... the build succeds: we'll drop the patch

... also fails on our systems, we'll submit it as a Github request for you and'll let you know if / when a solution is available - and post by the the PDroid patch

If you suffer from a very slow download link, we'll provide a fast one to Mateor and the Patcher Team in order to enable them not to wait for downloads

Patches will be provided as post attachments and thus will be xda-fast.

So.. if you encounter questions and unsuccessful builds, please feel free to visit the xda-thread "[Service][PDroid] Friends helping freinds getting your Apps & ROM PDroid-secured" to get support - as much as we can.

With kind regards from Switzerland - Chris
[Android Software/Hacking General [Developers Only]] redandr:
Waiting for 4.3.1 support on CM10.2 :)
[Android Software/Hacking General [Developers Only]] poo706:
Auto-patcher supports CM10.2 and other 4.3.1 ROMs, for openpdroid anyhow. What are you trying to patch for?

[poo]
[Android Software/Hacking General [Developers Only]] redandr:
ROOT= /cygdrive/d/AutoPatcher/ApGPackages/ap
TOOL= /cygdrive/d/AutoPatcher/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/d/cm-10.2-20131030-NIGHTLY-manta.zip
ROMX= D:\cm-10.2-20131030-NIGHTLY-manta.zip

### verify tools ###
/cygdrive/d/AutoPatcher/ApGPackages/cygwin/bin/tar
/cygdrive/d/AutoPatcher/ApGPackages/Java/bin/jar
/cygdrive/d/AutoPatcher/ApGPackages/Java/bin/java
/cygdrive/d/AutoPatcher/ApGPackages/cygwin/bin/cpio

### verify ROM ###
### running ./auto_patcher /cygdrive/d/cm-10.2-20131030-NIGHTLY-manta.zip openpdroid cm
PATH= /cygdrive/d/AutoPatcher/ApGPackages/ap/tmp20131031161327:/cygdrive/d/AutoPatcher/ApGPackages/Java/bin:/cygdrive/d/AutoPatcher/ApGPackages/cygwin/bin:/cygdrive/d/AutoPatcher/ApGPackages/cygwin/usr/sbin

### unzip patch tools ###

### unzip patch patches ###

### probe rom type ###

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!! [B]error: Sorry, openpdroid has not been made available for Android 4.3.1 yet![/B]

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

If your rom is not on the supported list and you want it added:

- Upload your log and a link to the rom's source code (mandatory)

and be patient, please!
[Android Software/Hacking General [Developers Only]] poo706:
APG must not be updating the patches. Try deleting the ApGPackages directory and let APG redownload everything.

[poo]
[Android Software/Hacking General [Developers Only]] redandr:
That was it! Thanks for your advise.
[Android Software/Hacking General [Developers Only]] IRKONIK:
Hey, I'm experiencing some weird issues that I wasn't able to solve by myself, so I ask you guys.

My wifi turns itself on, no matter what I do, or where I turn it off. As soon as I check whether it's on or off, it has just turned on and is searching for networks.

This drains my battery extremely. (not even near 3h screen on time. Doesn't last 24h)

Here is the log: http://pastebin.com/ia2Dzy7V

Can anybody explain to me what OpenPDroid is doing there?

Thanks in advance :)

Cheers!

Gesendet von meinem GT-I9300 mit Tapatalk
[Android Software/Hacking General [Developers Only]] Christoph21x:
Hey IRKONIK

This behavior has nothing to do with OpenPDroid - rather the opposite: you can turn this behavior off per single app.

The rights that you accept downloading apps from PlayStore contain also a right called "Change network state" and/or "urge network connection" (don't know the exact expression, as I use the German version - the bottom-most entry in PDroid Manager)

Disallow BOTH!

This will prevent the apps to establish an internet connection, regardless what is the app setting.

For Weather - depending on the specific app - you can usually set this also under "Settings".

So.. this depends on the APPS you use or that are included in your ROM's distribution, not on PDroid or OpenPDroid - just the opposite: use PDroid Manager to suppress it on the lowest level.

Greetz - Chris
[Android Software/Hacking General [Developers Only]] IRKONIK:
You have a PM. In German ;)

Ty!

Gesendet von meinem GT-I9300 mit Tapatalk
[Android Software/Hacking General [Developers Only]] noonecanhide:
Hi there,

i tried patching the cyanogenmod 10.2 M1-snapshots for Mako (Nexus 4) and deb (Nexus 7 LTE) from today with openpdroid. Both times autopatcher completed patching successfully, but i don't have data access. Telephony is working, but there is no internet access over mobile networks. WiFi works.

I did a full wipe, but there was still no data connectivity. But if the changes from autopatcher are reverted (by flashing cyanogenmod over) data connectivity works as usual.

I attached the log file from the mako.
[Android Software/Hacking General [Developers Only]] hendusoone:
I have this same issue, on a T-Mobile Galaxy S4. I first noticed it with the 2013-11-01 nightly. Mobile data worked fine on the 2013-10-26 nightly. Since I see I'm not the only person with this issue, I just tested each of the nightly builds to find the first one it breaks. Unfortunately, the 2013-10-27 nightly is no longer available, so I was unable to test that one. Here are my results, hopefully it helps track down/fix the issue:

2013-10-26: Working.

2013-10-27: Unavailable, not tested.

2013-10-28: Working.

2013-10-29: Working.

2013-10-30: Working.

2013-10-31: Broken.
[Android Software/Hacking General [Developers Only]] hendusoone:
Additional info, and a new problem! Exciting day!

The 2013-11-03 CM10.2 release successfully patches, but still has no mobile data.

The jfltetmo 2013-11-05 CM10.2 release ( http://get.cm/get/bNN ) fails to patch: http://codepad.org/wjObDVU9

EDIT: Looks like this issue was fixed in AutoPatcher's github, but is not yet available when using ApG. I'm going to try manually updating it... will update this post when complete.

EDIT2: It was actually fixed for a different rom. Posted a new issue on github.
[Android Software/Hacking General [Developers Only]] mateorod:
maintainance

I got an email from this thread, randomly. I see that there is some problems with the CM10.2 patches, I am rebuilding them now.

I just want to remind everyone that while I am keeping the OpenPdroid patches up-to-date and still maintain the auto-patcher patches, I no longer can regularly monitor this thread. I have been relying on Christophe and others who have volunteered their time to help newcomers. XDA only sends me emails form subscribed threads once between log-ons so I rarely even see the traffic here.

If anyone thinks patches need attention, or if you have an open Source (something on github) ROM you want supported, please open an issue on github. I have closed almost 30 issues this month alone, so you will get attention.

www.github.com/mateor/auto-patcher

HUGE thanks to Christophe and everyone else helping out. I will be taking a look at porting us forward to KitKat sometime over the next couple weeks. We have been doing this since Gingerbread- hard to believe!
[Android Software/Hacking General [Developers Only]] hendusoone:
It is amazing, and THANK YOU for all your work on this!

The latest updates have fixed the patching issues with the newest CM10.2 nightly, but there is a new issue when running with ApG (I've already posted about it in the github). The problem is that autopatcher uses the "whereis" utility, but ApG's install of cygwin does not include "whereis." I did find a workaround, so all you ApG users, here ya go:

1. Download the latest util-linux package from http://freecode.com/projects/util-linux

2. Extract the whereis file from the archive - it's in the bash-completion folder

3. In your ApG directory, place the whereis file in ApGPackages\cygwin\bin

4. Patch!

Additionally, mobile data is working again in CM10.2 after patching with openpdroid :good:

EDIT: And it's already fixed in the github. My workaround is no longer necessary for up-to-date autopatchers. Yay!
[Android Software/Hacking General [Developers Only]] ZackBanditMan:
Have tried downloading multiple times and downloading both of the additional files as well but java and cygwin always seem to have an issue or the ROM that i'm trying to patch [by all means should be compatible as they're on the list] don't work. The roms aren't the issue as i'll just keep changing those up but why the download issues? :s
[Android Software/Hacking General [Developers Only]] mateorod:
4.4

I just pushed Autopatcher3.5, which has initial support for 4.4. This has been tested by me to install correctly, but need user feedback to see how well it works.

The OpenPDroid framework is getting a little long in the tooth, I don't mind telling you. But it has been brought up to Android4.4. Right now I have only loaded AOSP patches. Due to some safety checks, you may have to specify 'aosp' patches if you are trying to patch another ROM's unofficial builds.

If CM or PACman or PA starts pushing out builds and their source code is available, please open an issue on github and I will build patches. Like I said before, I had to choose between moderating this thread or giving up support altogether. I am still actively closing tickets on github, let me know if there is a problem the other thread users cannot help with!

Big thanks to Christophe and Madmic and all the others who help newcomers.
[Android Software/Hacking General [Developers Only]] 0.0:
where can I download v3.5? I don't see it in the first post
[Android Software/Hacking General [Developers Only]] mateorod:
Whatever version you download (the latest available from the download page) will automatically update to the latest version as long as you have git installed.
[Android Software/Hacking General [Developers Only]] 0.0:
It upgraded to v3.2.5. I didn't see it go to v3.5 :(

sent from my Nexus 4
[Android Software/Hacking General [Developers Only]] mateorod:
You're right. It didn't push after all. I may have entered the wrong password : |

I have pushed it now, you should be ready. You MAY need to specify the 'aosp' ROMTYPE. It just depends if the builds by PA and Slim (which look to be straight AOSP) have pushed their usual build.prop or not. An example would be:

./auto_patcher 4.4-paranoid-android.zip openpdroid aosp

Edit: NVM!. I decided that making you guys go back to ROMTYPES was crazy talk, even for just a short time. We fought so hard to leave them behind! You should be able to run any rom through the patcher now, but you may see failures if the build is significantly far from AOSP. Just open an issue on the auto-patcher github page, I will resolve the problem and pretty quickly!

It will take awhile as rom developers push their builds for us to build our patch sets. Whenever a ROM you like publishes 4.4 code and builds, just open a github issue, I get email alerts for github, on XDA I only get one email between log-ins.

This is good time to announce that I have also pushed the android-4.4_r1-openpdroid branch of the OpenPDroid patches and various projects to the OpenPDroid github page.

If you build your own rom, you may also want to try some apply and remove scripts that I use and have pushed to github here. After the editing of a couple simple variables, those scripts will create OpenPDroid roms and will also guide you to make Auto-patcher patches yourself, which I believe could pretty easily be changed to handle most mods in this Android world.

I hope some of you find this useful!
[Android Software/Hacking General [Developers Only]] mateorod:
Reread my last post, I have edited it.

The upshot is that you should be able to use the 3.51 autopatcher now, and it runs just like it did for 4.3, no romtypes or anything needed. Let me know as the rom developers release builds, and I will populate our patch repos.
[Android Software/Hacking General [Developers Only]] cavemandaveman:
I attempted to patch the pure aosp odexed and deodexed 4.4 for nexus 5 and get errors for both...is odexed not supported??
[Android Software/Hacking General [Developers Only]] mateorod:
Odexed is not supported, no. Also, and this is hard for people to get sometimes, but the software that ships on Nexus devices is actually NOT pure AOSP. There is a bunch of proprietary code on Nexus devices, code I will never see so cannot patch. The keyboard, Hangouts, Camera lots of stuff. It is AOSP-based, but not open source or pure AOSP.

Someone is likely to have compiled an AOSP or CM ROM for the Nexus 5. Try that if you want to try OpenPdroid.
[Android Software/Hacking General [Developers Only]] cavemandaveman:
The two aosp based roms I tried are Slimkat and Cataclysm and both fail.

For Slim I get:

### jar patch openpdroid/4.4 ###

... apply framework.patch ...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!! error: No patch sets create the proper ContextImpl file.

and Cataclysm gives me:

### jar patch openpdroid/4.4 ###

... apply framework.patch ...

find: `patches/openpdroid/4.4/.provisionals/system/framework/framework.jar.out': No such file or directory

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!! error: Settings$Secure.patch in framework.jar cannot be remedied

I'm fairly new to this, so any idea whats going on?
[Android Software/Hacking General [Developers Only]] mateorod:
Sure, you look to be doing everything right. It just means I need to update the patches...I know what to do for SlimRom, but Cataclysm is new to me. I can support it, but you will need to get me a link to their github page

The SlimRom patches that are included are the same as pure AOSP right now. All the custom Roms will be failing regularly as they merge in their features as Kikat is brand new.

The best thing to do is to open an issue on my github page. I reliably get email alerts from there, but not XDA. When you do so, please post the entire log, I use all the info to determine problems. But I will update the Slimrom patches tonight.

If you open an issue for Slimrom and Cataclysm, you will get an email for when it is fixed, too. www.github.com/mateor/auto-patcher
[Android Software/Hacking General [Developers Only]] mateorod:
SlimRom patches have been updated. I also updated the 'provisional' files, although I don't know what that will do for people at this point.

If you want another rom supported, you will need to open an issue on github,

Thanks guys.
[Android Software/Hacking General [Developers Only]] Eshi:
I just patched a 4.4 ROM for my Nexus 5 (http://xdaforums.com/showthread.php?t=2520202&page=7). The patching process was successful and I was able to flash the patch. There is only one problem, every app keeps crashing when I try to open it.
[Android Software/Hacking General [Developers Only]] cavemandaveman:
I had the same results. I am trying a few different nexus 5 kitkat roms to see which is the most stable with the openpdroid patches.
[Android Software/Hacking General [Developers Only]] mateorod:
Will one of you put a log up on github so I can see what is potentially going on?

I will say that we had a similar problem with the nexus 4 when it was first released- it took a couple weeks for it to jell with the rest of the code base.

But I would like a log, maybe I will see something I can address.
[Android Software/Hacking General [Developers Only]] Eshi:
Getting an 404 error when trying to upload the log on github, so I uploaded it on codepad. Here you go.

---------- Post added at 10:45 PM ---------- Previous post was at 10:06 PM ----------

I already tried many of them, nothing seems to work properly (yet).
[Android Software/Hacking General [Developers Only]] cavemandaveman:
Patching slimrom 4.4 is successful and works (for example restricting camera for camera app works) but there is a weird issue. The only apps that FC for me are play store and hangouts, but they only FC when connected to wifi or data. In airplane mode they open just fine. Even without restricting anything they FC while connected to wifi. Here is the log http://codepad.org/pwC2VT00 since github won't allow to open a new issue.
[Android Software/Hacking General [Developers Only]] poo706:
I'm mostly having the same problem on SlimKat. Play Store will FC once or twice after a reboot, but then works fine from there on out. I've seen Hangouts FC a few times, but I haven't used it yet, so I don't see it much. The worst part for me is Swiftkey. It will FC a second or two after opening it every time, but opens just fine when I flash the restore zip. Have you filed an issue on github?

[poo]
[Android Software/Hacking General [Developers Only]] Eshi:
Also the same problem with [UNOFFICIAL] [4.4] CyanogenMod 11.0 for the Nexus 5 [10/11/13].
[Android Software/Hacking General [Developers Only]] poo706:
I filed an issue. https://github.com/mateor/auto-patcher/issues/199

[poo]
[Android Software/Hacking General [Developers Only]] samarium:
I've found that after 4.2 to 4.3 upgrade that some Google apps FC immediately on openbut if I uninstall then reinstall they work ok. Not sure if openpdroid related, but maybe worth checking.
[Android Software/Hacking General [Developers Only]] titanreign:
delete me

delete this post pls
[Android Software/Hacking General [Developers Only]] mateorod:
I am aware of the problems with 4.4. Thanks to poo and SkinnyJan(sp?) for error logs. For those who haven't tried it yet, flashing the update.zip results in intermittant to frequent FCs of various gapps,

I believe that this is an issue with the smali binaries I am using. I have a framework to use different smali versions for different Android versions, but I am still looking for a smali branch that doesn;t cause the problems. Maybe I am not even on the right track...anyway. I have not disabled 4.4 in the auto-patcher yet, but I may do so later today to forestall frustration from the user base.
[Android Software/Hacking General [Developers Only]] mateorod:
I think that 4.4 is fixed. If my tests are correct, it was indeed what I suspected and was a decompiler issue. I had to remake all the 4.4 patches with the updated decompiler, which took some time, and was speedbumped by some foibles we won't speak of :)

I also experimentally turned on the programmatic AUTO_UPDATE for ApG users. So you should no one should have to update manually anymore. If this conflicts with the ApG updater, let me know and I will revert the change.

Let me know if your problems are fixed, ok?
[Android Software/Hacking General [Developers Only]] Eshi:
Good job man! I will try this in a hour and let you know.

edit: I think it is working, so far no problems! Thank you!
[Android Software/Hacking General [Developers Only]] poo706:
Worked for me, finally got my Swiftkey back!

[poo]
[Android Software/Hacking General [Developers Only]] mateorod:
4.3 slimrom fixed. I also fixed an accidental change which broke 4.3 for everyone for a couple hours. oops.

If you have been patching 4.4, I also added support for ROMs which have the Mms.apk in system/priv-app. If that applies to you, I recommend re-patching (mostly just stock AOSP 4.4).

This is probably my last appearance in the thread for awhile, but I will continue to be reachable on github.
[Android Software/Hacking General [Developers Only]] nightwind84:
sorry... but i can't find the version 3.5... in the download page i see only 2.9.9 :(

http://techerrata.com/browse/mateorod/pastime1971
[Android Software/Hacking General [Developers Only]] 0.0:
Download that one. Then when autopatching a ROM, it should download the updated patches and bump the version to v3.5

sent from my Nexus 4
[Android Software/Hacking General [Developers Only]] fezzawinkle:
Hi I am trying to patch a stock rooted KitKat for the Nexus 7 (2012) but it doesn't work.

http://codepad.org/QOWupOsO

I know this must be a stupid question, but what is the difference between an AOSP rom and a nexus rom?
[Android Software/Hacking General [Developers Only]] poo706:
As I understand it, the differences are subtle, but significant enough that you can't use aosp patches on stock nexus roms. If the nexus rom source code were made available, patches could be made, but it's not.

[poo]
[Android Software/Hacking General [Developers Only]] pawo99:
in cygwin autopatcher giving me this error:

0 [main] bash 572 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. P

lease report this problem to

the public mailing list cygwin@cygwin.com

cygwin warning:

MS-DOS style path detected: ApGPackages\cygwin\bash.sh

Preferred POSIX equivalent is: ApGPackages/cygwin/bash.sh

CYGWIN environment variable option "nodosfilewarning" turns off this warning.

Consult the user's guide for more details about POSIX paths:

http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

Setting new path variable

./auto_patcher: line 2205: syntax error: unexpected end of file
[Android Software/Hacking General [Developers Only]] buda5767:
The same here

PATCH_TYPE: openpdroid

ROM_TYPE: cm

./auto_patcher: line 2205: syntax error: unexpected end of file
[Android Software/Hacking General [Developers Only]] razzor1984:
Same here the error is present under autopatch or manualpatch. So i guess its maybe Cygwin related ? Because yesterday i patched a 4.4 Cm11, not offical for the nexus S, successfully
[Android Software/Hacking General [Developers Only]] poo706:
One of you should file an issue on github, it'll get seen and fixed much faster. https://github.com/mateor/auto-patcher

[poo]
[Android Software/Hacking General [Developers Only]] mateorod:
Someone opened an issue, thanks poo. It is fixed, an errant character meant for another document slipped in.
[Android Software/Hacking General [Developers Only]] razzor1984:
Got now a very awkward error its like some one forgot a jpeg --> error: system/media/PDroid.jpeg is missing in the patch. Please upload your logfile to the support thread!

Full Error LOG:http://codepad.org/nyyzHzko

Ok now ApG goes mental LOL

Patched a new not offical 4.4 CM 11 for nexus S and its says -->error: Sorry, pdroid has not been made available for Android 4.4 yet!

http://codepad.org/Ozh2Hg2n

I deleted in the ApGpackages the ap Folder twice. Same error

With openproide 3.6.15 the problem is fixed, big thx to mateorod :svetius:
[Android Software/Hacking General [Developers Only]] pawo99:
Hi Mateor,

can you add support for this ROM? I think it's AOSP based Kitkat 4.4

[ROM][KK 4.4][MAKO] Cataclysm for Nexus 4 [Nov-16-2013]

But I didn't found their link to Github :crying:

I got this error when patching with openpdroid:

!!! error: Settings$Secure.patch in framework.jar cannot be remedied
[Android Software/Hacking General [Developers Only]] Goldspark:
This doesn't work for me. Is there any other way?

When I try to patch both manual and auto I get "unknown ROM version 4.3.1: generally means cannot find/read build.prop"

Auto-Pather starts with v2.9.9315 :(
[Android Software/Hacking General [Developers Only]] poo706:
[MENTION=4423851]bone101[/MENTION], create an issue on github. It'll get fixed faster.

[poo]
[Android Software/Hacking General [Developers Only]] mateorod:
Okay, I will look into it some more, I guess. I just ran a freshly downloaded copy of the Auto-Patcher on the 8-14 build three times in a row. All three times produced an errorless update.zip. I am going to attach it.

Something is wrong with your setup. This may not be your fault, I just don't know what it is quite yet

This update.zip is for the Galaxy S3 CM10 only!
[Android Software/Hacking General [Developers Only]] docflower:
Thank you. Couple of questions...

Does the Windows version matter? I'm on xp.

Version of .net framework important?

I'll download java, cygdrive, and patch again to test....