yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Christoph21x:
Dear Mateorod

Dear Urinophoria

After the first tests I'm really a bit puzzled.

1. Erased complete AP directory and set it up from fresh download in another dir (to avoid eventual registry left-overs)

2. First build was CM10.1 Nightly as per 2013-07-27 for Samsung p3100 - see attached log. Same result when flashing (without wipe)

(fyi: I never wiped that device as I flash it every second day with the nightlies plus PDroid patch, and never did a wipe)

Result --> same as described above

3. Second Build was for HTC desire with full wipe.

--> Result: NULL, I couldn't get it to run properly. This is NOT due to AP, I afterwards even didn't get a clean rom to run properly :)

Means: no result yet, I have to try again in two days, for the moment, I need that phone to get it to work.. at least as a phone for the next days :)

Sorry, that I couldn't figure out more, guys...

Kind regards - Chris
[Android Software/Hacking General [Developers Only]] btyre:
I get this error when trying to apply OpenPDroid to this CM10.1 rom

Is this due to the broken camcorder?
[Android Software/Hacking General [Developers Only]] IUnga:
I attached catlog for case when I receive message "The PDroid core has not been detected..."
[Android Software/Hacking General [Developers Only]] karamelos:
Humm subliminal error or my eyes not detected this error?
[Android Software/Hacking General [Developers Only]] mateorod:
This is a tough spot...it is an UnOfficial build of Cm10.1.2. If you want to know why it is hard to match Final builds (the .2 part of the name) you can search this thread for 10.1.2 and my posts. But to patch it, the best advice is to try the other patch dates manually.

./auto_patcher ROM.zip openpdroid cm 20130626

or swap the date for 20130719

Good luck. Nightlies of Official Cm builds patch easily, maybe it would be the same for yur build, if they exist.

Yeah, sorry everyone. I do know that this is happening, and I am basically positive I know which change is causing it. But the bottom line is, we need that change.

The standard Cygwin install recently updated their 'patch' binary. That binary is incompatible with the auto_patcher as is. I have bundled in an existing, older and compatible patch binary for Cygwin, but something isn't right and the actual 'patch' command is not completing. I could revert it, but then all new auto-patcher installations would have the broken binary again.

I have a trusted reviewer checking the Cygwin patchng and hopefully he will see something. If someone on Cygwin wants to contribute to the debugging effort, please put "bash -x " in front of the regular auto-patching command. So for the example above, it would be

bash -x ./auto_patcher ROM.zip openpdroid cm 20130626

Then post apastebin of the output. Sorry we are temporarily offline...but I hope to have it fixed soon. It will still work easily on OSX, Linux or inside VirtualBox for any OS.
[Android Software/Hacking General [Developers Only]] mateorod:
Cygwin users who were having issues, would you try again? I got some very helpful suggestions from [MENTION=5357068]gcydtmkq[/MENTION] and hopefully we can put this whole episode behind us.

I will put up the details when I hear some feedback and then we can start moving forward again. Thanks for the patience, I truly hate to serve broken software.
[Android Software/Hacking General [Developers Only]] dorfd1:
Has anyone tested this on cm10.2?
[Android Software/Hacking General [Developers Only]] wkwkwk:
Sorry about the cross-post, I'm not sure if it's an openpdroid or an autopatcher issue:

It seems that multiple user support is broken by openpdroid. I can't seem to find any information apart from "it's not working".

All apps FC when logging in as the secondary user and logcat shows:

E/AndroidRuntime( 2556): java.lang.RuntimeException: Unable to start service com.cyanogenmod.lockclock.weather.WeatherUpdateSer vice@41f0cc30 with Intent { flg=0x4 cmp=com.cyanogenmod.lockclock/.weather.WeatherUpdateService (has extras) }: java.lang.SecurityException: Permission Denial: broadcast from android asks to run as user 0 but is calling from user 10; this requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS

Is there a workaround to get multiple users working?

Thanks.
[Android Software/Hacking General [Developers Only]] dorfd1:
Just tried to patch tablet ui into cm 10.2, auto patcher said android 4.3 is an unknown ROM version.
[Android Software/Hacking General [Developers Only]] Urinophoria:
It's in progress, mateorod just made the openpdroid patches last weekend. I'm currently in the process of building as many roms as I am able to to test the patches further. Auto patcher and pdroid manager both still need updates.

Short answer, it's not compatible yet, but it's being actively worked on. :)

There's a pretty good list of stuff that needs to happen just to make auto patcher work with 4.3, and that doesn't include the actual making of the patches that auto patcher uses to patch.
[Android Software/Hacking General [Developers Only]] Klaus_Trophobie:
/patch: Permission denied

I just got a problem with autopatcher under windows with apg. Probably the wrong forum but is this a common problem ?

Patching the most recent nightly of CM for i9300 I get the following errors in log:

### jar patch openpdroid/4.2/cm/20130719 ###

... apply framework.patch ...

./auto_patcher: line 1721: ./patch: Permission denied

... apply preloaded.patch ...

./auto_patcher: line 1732: ./patch: Permission denied

... apply core.patch ...

./auto_patcher: line 1721: ./patch: Permission denied

... apply services.patch ...

./auto_patcher: line 1721: ./patch: Permission denied

... apply services-gps_fix.patch ...

./auto_patcher: line 1724: ./patch: Permission denied

... apply telephony-common.patch ...

./auto_patcher: line 1721: ./patch: Permission denied

... apply Mms.apk.patch ...

./auto_patcher: line 1721: ./patch: Permission denied

anyone knows what I can do here?

Thanks in advance.
[Android Software/Hacking General [Developers Only]] Urinophoria:
Not the wrong thread. Not terribly common.

Can you throw the full log when you get a chance? Also a D/L link for your ROM would be nice too. Huge first step (aside from reading the actual log) is trying it out in a non-apg environment, so if one of us can duplicate your attempt while ruling out windows/cygwin/apg variables, it saves a lot of time.

Also, I'm sure you've already tried this, but can you run APG as administrator? And/or from the "My Documents" folder?
[Android Software/Hacking General [Developers Only]] Klaus_Trophobie:
Full apg.log is here: http://nopaste.me/paste/12053227351fa28a47a220

It does not throw an error at all at the end and gives a "patching was successful." message. If I try to run such a rom it would deny to work as pdroidmanager doesn´t reckognize the patched rom.

The roms I tested are one of the followings from the get.cm repository:

http://get.cm/get/9EF

The one in the log (20130723) is on my harddrive but cm-10.1-20130801-NIGHTLY-i9300.zip has the exact same errors...

Anything else I can do ?

---------- Post added at 11:31 AM ---------- Previous post was at 11:27 AM ----------

p.s.

I also tested some unofficial nightlies for HTC Desire HD from here which gave the exact same errors: http://downloads.codefi.re/mustaavalkosta/cm-10-1-unofficial-ace/nightlies

---------- Post added at 11:50 AM ---------- Previous post was at 11:31 AM ----------

Running as admin seems to solve the problem. I feel like a dork! It always worked the way before w/o admin rights and all of the sudden it gave me problems after some ap update from github. Thank you again for help. It's a shame I haven´t tried that b4 ;)
[Android Software/Hacking General [Developers Only]] Urinophoria:
No worries :laugh: out of curiosity, what folder are you running apg out of? I just successfully patched the 20130801 you linked from the "My Documents" folder in a WinXP VM.

Lol, wish I'd refreshed the page sooner, I just uploaded patches that I made for you in both my APG VM and Linux. Working is what's important though, glad its sorted now!

All I can think of is you're running it out of a system folder or C: but that makes a limited amount of sense if the breakage just started. If you were running it out of an admin folder or root, it never would have worked right AFAIK.
[Android Software/Hacking General [Developers Only]] IUnga:
I hope I understand you request correct

I also have a lot of output info into Cygwin window but I don't know how to save it to file :(
[Android Software/Hacking General [Developers Only]] chrcol:
ok so I downloaded the app, and the cgywin and java exes of devhost (which seems really slow now :()

I start the app and for some reason its trying to redownload java, does it replace my system java? as I am concerned it wants to redownload it, this is going slow as well according to my router and the app still shows 0bytes as downloaded after 20 minutes.

ok as I was typing winrar popped and extracted to a subfolder. now is downloading cywin so my above question answered.

I guess if I extracted to that folder the manual downloads the auto downloads would have been skipped, might be an idea in docs but I guess the idea is you want it fully automated. will report back if any issues. I will be patching the 4.1.2 aokp rom.

sadly every second this pops up.

"process.com.android.phone has stopped unexpectedly"

the patcher reported no errors in patching, I installed via install as zip in recovery.

rom patched was aokp_i9300_jb_milestone-1.zip
[Android Software/Hacking General [Developers Only]] Android-Andi:
any news if it is working now?

SlimBean 7.8 for p3110.

Tried again today, not working :(

Log:

http://codepad.org/1qzBZSkn

Screenshot attached
[Android Software/Hacking General [Developers Only]] niteh@wk:
Did you try to run APG as Administrator? I tried it on AOKP 7/17 nightly, successful patch and PDroidManager works fine now.

S-beamed from my GSIII via xda premium
[Android Software/Hacking General [Developers Only]] SecUpwN:
I really appreciate Svyats work and admire him for what he has done, but if an App grows so much in popularity like PDROID does and the original developer has about no time for further development, why can't other developers just grab his code, re-structure or improve the code, release new versions of PDROID (maybe even for Jelly Bean) and respectively mention Svyat in the credits?
[Android Software/Hacking General [Developers Only]] mateorod:
Hey Tonyp, what base are you using for PA 1.5?

I use Darknessys' (screw all that funky formatting) Galaxy SII base, and was able to patch using the Auto-Patcher with this:

./auto_patcher pa_galaxys2-1.5a-25JUN2012-080438.zip -h

There were some ignored hunks, but that isn't an issue...should work for you no matter the base unless something weird is being done.

Edit: If anyone has a maguro, crespo or wingray and is willing to test something for us, please respond in the thread or send me a pm.

Thanks!
[Android Software/Hacking General [Developers Only]] chrootz:
Hi, I tried autopatcher on ICS for my Galaxy tab 10.1 wifi, The patch failed and here the log.

ROM: task650_ICS_GT-7510_signed_7.31.2012.zip (http://xdaforums.com/showthread.php?t=1808015)

full stock ICS
fully deodexed
Android 4.0.4 XXLPH Firmware

Last question, How do you patch GB 2.1, and 2.3.x ROM and I used -h to get list seems none GB on listed except cm7,cm9,cm10 and aokp.

Please help.
[Android Software/Hacking General [Developers Only]] tonyp:
Hm, I use the same version as base, will have to try it again. I always get an error.

I did do it with my zipped ROM instead of the original pa one.

You wrote -h in your command, won't this just print a list of dates?
[Android Software/Hacking General [Developers Only]] kobik77:
Hey guys,

I see a nice progress here in the JB section and that's good to hear.

I tried running autopatcher on SlimBean 2.0.1 without any success.

Guess it would some more time for it to get stabilized.
[Android Software/Hacking General [Developers Only]] mcmanuf:
Slim ICS 4.2 support

Hi.

From a previous post:

http://xdaforums.com/showthread.php?p=28326689&highlight=slim#post28326689

pastime1971 states that Slim ICS is not supported. However the post is 1 month old, so maybe there is support now?

Thanks in advance!
[Android Software/Hacking General [Developers Only]] mateorod:
Okay, we have added Pdroid and V6 Supercharger support for AOKP Jelly Bean!

Please note that we have termed it aokp-jb.

We had to have a way to differentiate it from the ICS patches, and I can't keep track of their numbering system. We have a reorganization of the patches on our to-do list, so this will have to do for now.

However, we also improved the automatic querying for Jelly Bean roms. All you should need for now is

./auto_patcher ROM.zip mods

For example...

./auto_patcher aokp_4.1.1.zip pdroid,v6supercharger

If the Auto-Patcher cannot divine the rom type, it will default to CM10. If you think that aokp is more likely, that is when aokp-jb would be useful.

I ftp'd it up to techerrata about 30 mins ago. Before you report that there is no new download there, I know, I just had to post here since the OP was already updated. I guess I am going to have to allow for a little more time for it to show up next update. It's available for download now.

One last note!

Despite my multiple alerts, the attachments on the OP continue to get downloads. So they will be going away. It breaks my heart to think people are trying a download from June and then leaving, thinking the program doesn't work. I will take them down tomorrow, so if you have any interest (don't know why you would) be aware they are going away.

Thanks!
[Android Software/Hacking General [Developers Only]] mateorod:
I found some source from slim, but there is nothing for Jelly bean yet. Would you maybe try aokp-jb patches in our latest upload on techerrata? Please attach a log if it fails.
[Android Software/Hacking General [Developers Only]] kobik77:
Finally got the time upload a screenshot for the Cygwin tutorial.

Hopefully people won't miss the patch utility anymore.

http://xdaforums.com/showpost.php?p=28196231&postcount=104
[Android Software/Hacking General [Developers Only]] mateorod:
First, let me thank you for a perfect support request. Brief with code tags and a rom link. Made it easy for me to help, or at least tell you what is going on.

It looks like euroskank is actually an AOKP kang, not regular AOKP. I downloaded and attempted to patch and it failed just like it did for you. So it is the rom, not you.

I did find an aokp for maguro that patches fine, however.

If you would like AOKP for your device, you can get PDroid on these nightlies here.

I would need euroskank source to try and make patches for their roms. I don't know if that is available or not...
[Android Software/Hacking General [Developers Only]] Stylez Ray.:
Thanks for the support mateorod! Good to hear that it wasn't my fault!

Euroskank does indeed kangs, as they are updated faster and have more features as the ones from your link I prefer them...the link you provided are the official AOKP nightlies.

I will get in contact with the guy behind euroskank and ask about the sources because I'm sure many people will benefit from your success in creating a patch for the euroskank nightlies!

You did a great job there, thanks!
[Android Software/Hacking General [Developers Only]] mateorod:
On my never-ending to-do list for this program is a post detailing options for situations like these. Someday.

For now, there a couple options. If they have source available, some needs to build after adding our build patches. I don't think that we have them available publicly yet, but pm me and I can get them for you. We will have a build package on our techerrata page at one point.

If their source is private, then the best thing is to try and get the dev to run a build of the latest update with the build patches applied. We need a patched and unpatched build to make the patches. All we need is the binaries, the dev can keep their sources closed.

If either of those two things get done, then we can add support, which with JB, should hopefully last for many updates.

I am working on an addition to the script that will contain the user submitted patches like these. We go tour first submission from trephined the other day. I ain't forgot about you, trephined. I am making this addition with your patches as the charter member.

Good luck with euroskank!
[Android Software/Hacking General [Developers Only]] docflower:
Thank you for your work on this patch. For those with cm10 8.10 for the i747; ver 1.6 patch did not work, but 1.5 worked great.
[Android Software/Hacking General [Developers Only]] mateorod:
Could you tell me a little more about what you experienced there? Those patches should be the same.

I just quickly downloaded and diffed them and they come out identical for me...doesn't mean that there isn't a mistake somewhere, though.
[Android Software/Hacking General [Developers Only]] docflower:
Well maybe I spoke too soon. I have attached the log files for two attempted patches with1.6. I tried a few times with no luck. I then tried 1.5 (first attachment) and it worked first time and output the two files. I flashed the update.zip, installed pdroid, and the app said only ver 4.0 down was supported. Should I have ran the patch with pdroid installed already? Its been a long time since I have been able to use pdroid and at the time, pdroid was to be installed after the patch.

Thanks!
[Android Software/Hacking General [Developers Only]] mateorod:
Looking at the logs, it doesn't look like you specified a mod, i.e. pdroid. In Linux, the script doesn't run correctly if you do that, it maybe it behaves a little differently in cygwin. Either way, i don't see any actual patching being done in your logs.

You have retitled your ROM "ROM.zip", correct?

If so, enter

./auto_patcher rom.zip pdroid cm10

You should see some output about decompiling and patching as it goes through the process.
[Android Software/Hacking General [Developers Only]] docflower:
I must have attached the wrong file because I had output by using the same command you posted above. I'll look today after work and get back you you. Thank you.

Edit: the 3rd file is the -h command, but the first and second attachment are the successful and unsuccessful attempts at making the patch.

If I'm not mistaken it says "running command...." near the top of the file.
[Android Software/Hacking General [Developers Only]] mateorod:
Hmm...I must have missed the second attachment somehow...I see it now.

I downloaded a Cm10 for the S3 (the one by Cyanogen) and it does indeed fail on my version of the patcher, although not in all the way it fails in your attachment.

Your attachment looks like the patcher cannot find the proper files to patch, somehow. On the test I ran it fails when trying to patch ContenResolver in framework.jar, which was a problem some people had for some CM builds from 8-09-8-11 8/07-8/10 or so, a problem that then went away for some reason.

I will see what I can do from here, I am thinking that there was a commit messing with the patcher for a day or two, although I am not sure exactly what was happening. While you wait for me to see what I can see, keep your eye out for a newer build, most devices get at least a couple builds a week, so a newer build should be on your horizon.

We'll figure it out for you, I can't in good conscience not support the Galaxy line, especially for CM. That's a flagship ROM, you know?
[Android Software/Hacking General [Developers Only]] mateorod:
We were having a bunch of trouble with 4.1 after they added the radio. I haven;t had anyone report trying to patch it in a long, long time. If [MENTION=4418789]Urinophoria[/MENTION] is able to build for it, I can try and update the patches, but we are mostly trying to keep up with current Android.

You could try using regular 'pdroid' and the PDroid app from the OP. That does work.

It seems as if people are having sucess working as administrator. There were some undeniable problems, but I think everything may be working as it should be. Would you try deleting autopatcher folder and reinstalling, then maybe running as administrator?

I am sorry about all the hoops and testing, but we added Cygwin support and for a year or so I had a Cygwin maintainer who checked and made sure everything was working. But now I am mostly maintaining cygwin support by guess and check, with some help from certain users when they have time. . It is not 100% ideal. I hope that it is currently stable enough that I can go back to work on autopatcher3,0 and Android 4.3, but it may take the above tricks to find out. But I just saw three reports that it is working in Cygwin and it does sometimes take a reinstall. Cygwin environment has it's own little quirks. If we had the source of ApG, perhaps we could have solved this already, but as is, we are doing what we can.
[Android Software/Hacking General [Developers Only]] Urinophoria:
I'll give 4.1.2 a rip, gimme a bit.
[Android Software/Hacking General [Developers Only]] IUnga:
I flashed crDroid (build 14) with patch for test. I have same problem :(
[Android Software/Hacking General [Developers Only]] Android-Andi:
Thanks [MENTION=4342828]mateorod[/MENTION] and [MENTION=4296498]niteh@wk[/MENTION]...

Slim Bean 7.8 Openpdroid now working :) Running APG as administrator made it work.
[Android Software/Hacking General [Developers Only]] Christoph21x:
Dear Mateorod, dear Urinophoria

To pick up again the issue that's still persistent (PDroid Manager crashes & no config possible but PDroid actually works in the background), as announced my next proposal (if you're willing (only!))

Could you please patch that file: http://www.get.cm/get/jenkins/36573/cm-10.1-20130801-NIGHTLY-p3100.zip (Samsung P3100) both, under LINUX AND UNDER WINDOWS and exchange the result with me?

1. I'll try all three versions with the tab:

- My own build

- The Windows build from you

- The Linux build from you

.. and report back

2. I'll make a comparison of the files (as far as I can do - centuries ago, since I'm no programmar anymore ;) )

But really - only if you want to do it.. ok?

(Exchange via upload or Dropbox - you may PM me at any time)

Thank & kind regards from Switzerland - Chris

EDIT - PS:

Settings: OpenPDroid & CM
[Android Software/Hacking General [Developers Only]] Urinophoria:
Gimme 20 minutes and I'll have em uploading

Edit: Still waiting on APG... You actually caught me on my way to bed, I'd just set off a bunch of repo syncs in hopes that something 4.3 (besides AOSP) would build in the morning, lol. My HDD is having a hard time keeping up, but it's almost done.

---------- Post added at 11:09 AM ---------- Previous post was at 10:12 AM ----------

Here you go:

Linux (12.04-64x): http://ubuntuone.com/2Hel6LZW5GNltb6VqOWUUz

APG (WinXP VM): http://ubuntuone.com/0zlVMaRrWLSFY5Lf13gVQG
[Android Software/Hacking General [Developers Only]] Christoph21x:
Thanks! Got them both. Just to inform, as you might want to remove the files again from ubuntuone... be back in probably 2-3 hours only..

Greetz - Chris
[Android Software/Hacking General [Developers Only]] chrcol:
yeah I guess maybe this one is one of those troublesome versions, no worries thanks for your reply. LBE seems to work ok on my phone anyway. I may try the regular pdroid still.
[Android Software/Hacking General [Developers Only]] Christoph21x:
Surprise, surprise... Only could do mentioned step one so far...

Result:

My own build: FAILED, same as before

Urinophoria's WIN/AGP build: SUCCESS - everything works as expected

Urinophoria's Linux build: SUCCESS - everything works as expected

I'll try later to investigate a bit on the builds (as far as I can) - and on my setup... (Win7/64)

Thanks again, Urinophoria, for your great support!

Greetz - Chris