yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Q&A, Help & Troubleshooting] nodstuff:
It has to be moved to /system/app
[AT&T, Rogers HTC One X, Telstra One XL] designgears:
HTC One X 2.093.502.1

This is for the AT&T HTC ONE X, 502 alone gives that away.

Just like it says, new update coming soon, so hurry and unlock your bootloaders!!! :)

Build.prop: http://pastebin.com/ziRGgZ7e

There is no change log...
[AT&T, Rogers HTC One X, Telstra One XL] _MetalHead_:
Wow, thats a big jump. Any word on a changelog?
[AT&T, Rogers HTC One X, Telstra One XL] ChongoDroid:
Sometimes I wish I could reach through the screen and give you a high five
[AT&T, Rogers HTC One X, Telstra One XL] designgears:
linked the changelog in the op
[AT&T, Rogers HTC One X, Telstra One XL] ChongoDroid:
Haha

Sent from my Race Horse Duct Taped to a SCUD Missile
[AT&T, Rogers HTC One X, Telstra One XL] d.cortez:
almost fell for that link...lol. thought it was strange that a leaked RUU would have a change log! :)
[AT&T, Rogers HTC One X, Telstra One XL] ChongoDroid:
I thought we were getting Rick rolled

Sent from my Race Horse Duct Taped to a SCUD Missile
[AT&T, Rogers HTC One X, Telstra One XL] designgears:
YIKES! Comes with a new hboot...

hboot_8960_1.13.0000_20120420_signedbyaa.nb0
[AT&T, Rogers HTC One X, Telstra One XL] Skizzy034:
Great. I'm waiting on a replacement again. This time for the battery and it was supposed to ship out yesterday but for some reason it didn't and AT&T didn't know why. I'll be SOO mad if it comes with this update and that's the only reason it didn't ship.

EDIT: Is this serious or a joke? I know what the link goes to but what about the update?
[AT&T, Rogers HTC One X, Telstra One XL] designgears:
lol, someone asked for a changelog on a leak, couldnt help myself :D

there is no leak download yet...
[AT&T, Rogers HTC One X, Telstra One XL] expertzero1:
Isn't this the one from the international version?
[AT&T, Rogers HTC One X, Telstra One XL] designgears:
no, why would I post that over here?
[AT&T, Rogers HTC One X, Telstra One XL] expertzero1:
No no I mean its 4.0?4 update with drivers updated etc etc lol bed time I guess
[AT&T, Rogers HTC One X, Telstra One XL] twistedddx:
What region is 502? nothing seems to be for there.

Edit oops most the ruu's for Evita are for it. At&t I assume :)
[AT&T, Rogers HTC One X, Telstra One XL] designgears:
Looks like this bricked my one x with no return... probably won't be releasing this!

edit, fixed it, and booted the update, that was odd.
[AT&T, Rogers HTC One X, Telstra One XL] imstill@g:
You...always with your good news... How is the battery life...

Just kidding(sadly I have to express this) ;-)
[AT&T, Rogers HTC One X, Telstra One XL] _MetalHead_:
The thread says new update, not new leak. Didn't realize asking for a changelog on an update was so funny. BRB, gonna go cry in a corner :p
[AT&T, Rogers HTC One X, Telstra One XL] robertmoore208:
Lol, I'm still confused at wether this is a real update or not ...

NOT!!!

Sent from my HOX running WCX
[AT&T, Rogers HTC One X, Telstra One XL] freakboy13:
:beer:

:p

sent from my hoXl

can't play my geetahr with out a geetahr string!
[AT&T, Rogers HTC One X, Telstra One XL] gunnyman:
Oh great my phone is bRICKed now.
[Android Software/Hacking General [Developers Only]] pastime1971:
PREREQUISITE

patcher only works on unix environments (linux, macosx, cygwin)

1. set up linux vm or install cygwin, if you don't have a linux machine (see below)

2. install the linux packages "jdk" (and "jdk-devel" depending on linux distro) if missing "java" or "jar" (openjdk works as well as sun java jdk)

3. install the linux command "patch" if missing (see below)

HOW TO VM or Cygwin

see robjective's post for vm setup, or kobik77's post for cygwin setup

HOW TO INSTALL TOOLS

if you encounter "Missing patch diff tools" error, see http://xdaforums.com/showpost.php?p=26388234&postcount=422

HOW TO INSTALL JAVA JDK

you do need both java (JRE) and jar (JDK) commands

on ubuntu, type sudo apt-get install openjdk-7-jre openjdk-7-jdk

on fedora, type, su -c "yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel"

edit: ubuntu installation of openjdk jre corrected.
[Android Software/Hacking General [Developers Only]] mateorod:
For Developers

The Auto-Patcher is meant as a tool, one that shortens the gap between your work and users. This tool modifies the android framework- unless we specifically partner with a developer, we will leave the proprietary stuff to you.

For instance, we port the Pdroid framework, and make the smali edits for the V6. But users have to go get the app and/or script themselves.

The project is fully open-source and neither pastime1971 or I have donate buttons. We do this for the intellectual challenges it brings and because we believe in the process. At no point are we interested in getting between you and your users or donations.

Sound ok?

If you think you have a project that could benefit from an Auto-Patcher package, please let us know. We are in the midst of creating the tools that will soon allow you to easily (as in one command, easily) create your own patches and packages with basically no change in how you probably already work.

Think of the Auto-Patcher as, at worst, an alternative distribution method. As you can see from the OP, we put the developers of the work front and center. We're conscious of the fact that so many of us do this work for love and that getting recognition for your efforts can be the only reward. We take that seriously.

Feel free to post in the thread or contact us by pm or on github.

Donation Policy (for users)

We feel like if there is a mod you are especially appreciative of gaining, the best thing you can do to show your support is to donate to that mod's dev. Tell them who sent you, please!

For those users who feel like they would like to donate to the Auto-Patcher specifically, we have thought long and hard about the ethics of it and eventually decided that we were better off not personally accepting contributions. The requests for a donate link have been quite humbling, though, so thanks for the enthusiasm.

If you really, really would like to show support to the project, there is a donate link to Techerrata after you request a download. Techerrata hosts a huge number of Android projects, all free of charge. Also, Kobik77, creator of the Windows GUI ApG accepts donations. If you use ApG, you could consider him as well.

There is a reference spot in the Techerrata donate page (they tell me), so make sure you tell them who sent you!
[Android Software/Hacking General [Developers Only]] mateorod:
Ha. Maybe an hour after we went up, we found out that the transition to CM7.2 final had broken our patches for Gingerbread. Since those patches had worked for every iteration of CM7 in the past, it came as a suprise, to say the least.

However, that always is the way when you release software. The second you go up, no matter how much you try and test, some bug floats immediately to the surface.

It can be maddening...

However, I immediately downloaded the source and began building so as to update the patches. I had hoped to beat any prospective CM7 users, as it has been historically our least used patch. You happened to sneak in before I had a chance to upgrade the patches.

The second of the two necessary builds is something like half-way done. It will be maybe a couple of hours at most before I update the Auto-Patcher.

Thanks for trying it, the issue will be resolved shortly.

Edit: While I was writing this patime1971 chimed in, and as usual it looks like he is right. The files that failed to patch were the same as the ones that fail for cm7.2 final and threw me off.

Like pastime suggested, try some of the ICS patch sets. All CM9 and AOKP ICS roms can be patched, as well as many of the derivatives. But some of the custom roms can fail. Usually those failures will come in patching the ServerThread.
[Android Software/Hacking General [Developers Only]] mateorod:
Auto-Patcher20120619v061 added to OP with updated patches to support PDroid for CM7.2 Final.

As is our practice, once pastime1971 posts his arcee builds I will cross-reference them with the new patches to ensure wide coverage for the patches. But history does indicate we should be covered with this update.
[Android Software/Hacking General [Developers Only]] mateorod:
The script automatically queries the build.prop for likely matches of ROM and DATE, but you can override those settings by explicitly choosing you options.

The v061 has some newer patches for CM7.2 final in it, but they might need some adjusting or even replacing. They work on some tests I have made, but not for a vibrant set I was sent. Which is troubling, because across builds of CM source, the patches should be fine.

Let us know how it goes, we will continue to work at updating the patch tonight.
[Android Software/Hacking General [Developers Only]] homi3kh:
it still gives error, my ROM is cm 7.2 final for HTC Legend
[Android Software/Hacking General [Developers Only]] pastime1971:
CM7.2 final ? i didn't know there is a final.

can you post a link to ROM download page ?
[Android Software/Hacking General [Developers Only]] homi3kh:
I just say it like meteorod hehe it's cm 7.2 stable

they release it in cm website already
[Android Software/Hacking General [Developers Only]] mateorod:
Well, for encore and some others it was just released.

That's why the patcher wasn't ready with patches ready for it.

Here is a link to a news release.

pastime1971 just sent me his patches he made from a separate build, but it also fails to patch the CM7.2 final roms I am using for checking (vibrantmtd and encore). It seems neither of us checked out the correct branch when we built.

I will continue to look to correct this. We'll get it soon for you, though.

And for those of you NOT trying to patch 7.2, let me make sure that it is clear that the Auto-Patcher is working as advertised, we just need to add support for the newest release of Gingerbread.

We will add it soon, but everything else is working as expected!
[Android Software/Hacking General [Developers Only]] mateorod:
Patch for CM7.2 Final added.

autopatcher20120620v062 added to first post.

Thanks for your patience, let us know how they work for you, please.
[Android Software/Hacking General [Developers Only]] homi3kh:
i tried pdroid patcher from original dev and it doesnt work on cm7.2 it boot with blank screen,

i'll try new autopatch and report back :)
[Android Software/Hacking General [Developers Only]] SecUpwN:
AWESOME! Will the Auto-Patcher replace the traditional PDroid-Patcher in the long run? Any official statement about this development from the real PDroid-Developer yet? ;-)
[Android Software/Hacking General [Developers Only]] mateorod:
Svyat has said that he is getting pretty close to being done with an ICS version of his patcher. I know he had some things going on that were making the release come out later than he wanted.

My involvement in this started when I visited pastime1971's thread where he had personally ported PDroid to ICS with some build patches. Together we were able to make the PDroid-Patcher, in a manner we soon realized could be used to port all types of mods, themes and code edits. The Auto-Patcher has all the function of the PDroid-Patcher but is expandable, you know?

It probably won't necessarily replace the PDroid-Patcher, just because some people are only looking to get PDroid working on ICS, and nothing more.

The Auto-Patcher is more of a porting method, one that happens to include PDroid as an example.

But I think both of our involvement in the project came about as a result of our admiration of PDroid, and a simple wish to use it on our ICS devices.

I know that I personally am excited to see what Svyat comes out with once he releases his patcher.

But in the meantime, I am real happy with the results of using both patchers we made. Through some fairly intensive testing, we are confident that PDroid works just as it should on ICS through these efforts. Which is of course what we wanted all along :).
[Android Software/Hacking General [Developers Only]] pierx:
Awesome!, thanks Mateorod and Pastime1971 for this noob proof script. Now Pdroid can be easily integrated to CM9,..
[Android Software/Hacking General [Developers Only]] SecUpwN:
I'm currently using Virtuous Shooter 3.0.5 and have already talket to pastime about his patcher not working on this ROM. He meant that porting it would be a huge effort without the source code, will this auto patcher work on above ROM now? Finding another ROM that fully supports 3D and camera of the HTC EVO 3D is rather hard these days...
[Android Software/Hacking General [Developers Only]] mateorod:
Anything pastime1971 might have told you about the pdroidpatcher will still hold true here. This has essentially the same function, simply generalized and with some script tightening and optimization.

We are only able to make our existing patches because of the existence of source code.

This Auto-Patcher is meant as way to port mods to end-users who don't want to or cannot build their own ROMs. It's chief feature is that we have devised a way to patch in framework level function AFTER the ROM has been built.

Just about anything can be patched at build time, and once that happens, we can use the result to port it to similar ROMs. But without that first build, it is hard to port to some of the more esoteric ROMs.

Some things, like the services.jar for the V6 Supercharger, are basically universally portable with just one patch. It just depends on the function of the changes and their breadth.

PDroid has a BUNCH of changes to the framework of the ROM. Without some sort of map to where those changes need applying, the Auto-Patcher is basically operating blind.
[Android Software/Hacking General [Developers Only]] SecUpwN:
Thanks for clarifiying this, mateorod. I might have to switch my ROM then. Shouldn't be a problem though. Will it work on KingCobra3D-ICS? Does anybody know? This ROM sounds waay too good to be true.. :P Edit: The Auto-Patcher fails in generic mode on above mentioned ROM. Would you PLEASE add support for it?
[Android Software/Hacking General [Developers Only]] mithrial:
I get bootloop after flashing the created update.zip:

Output of auto_patcher:

ubuntu1% ./auto_patcher cm-7.2.0.1-bravo.zip pdroid cm7 20120619
### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
### unzip rom ###
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar
### create updater script ###
inflated: META-INF/com/google/android/update-binary
inflated: META-INF/com/google/android/updater-script
### using Clockworkmod installer ###
### create restore.zip ###
### decompile framework.jar ###
... extract preloaded-classes ...
### decompile core.jar ###
### decompile services.jar ###
### patch pdroid/cm7/20120619 ###
### apply framework.patch ###
### apply core.patch ###
### apply services.patch ###
./auto_patcher: line 261: patches/pdroid/cm7/20120619/services.patch: No such file or directory
cat: services.jar.log: No such file or directory
grep: services.jar.log: No such file or directory
### rebuild framework.jar ###
### rebuild core.jar ###
### rebuild services.jar ###
### create updater.zip ###
### finished ###
flash update.zip to install the modified
flash restore.zip to restore the original
[Android Software/Hacking General [Developers Only]] pastime1971:
auto_patcher script for linux/macosx/cygwin

modified the script for absolute path issue in macosx or cygwin.

if you have macosx or cygwin, could you test it ?

unzip the attached, and replace the original auto_patcher with it. (filenames are identical)
[Android Software/Hacking General [Developers Only]] mateorod:
Ah. I actually meant for that link to lead to pastime1971's original Pdroid port to ICS page. It's fixed now, thanks for bring it to our attention.

oh, you're the man. I may have cracked how to bring that thing I told you about as well. I need to test it more, but we may be able to try some test patching sometime later this week.
[Android Software/Hacking General [Developers Only]] mateorod:
Well, if the app isn't working, something went wrong with the build patch. I'll look at it tomorrow during the day. What kind of screenshot do you think he is talking about? From his pc during the patching process?

Would you post a link to that ROM, please.
[Android Software/Hacking General [Developers Only]] anomalya:
I think he meant showing proof for having applied the patch in his ROM. Logic dictates otherwise (with the app not working), but he swears by it. At the very least, he's reported success with Cygwin in the process (source).

So I tested it myself and I can verify with this screenshot that the app still does not work like he said, despite the "patch."

I do hope that you can find the time to review his work in case something was remiss. I would like to have your opinion of it in my pocket, if any, before I send him a PM regarding this and gratitude for his efforts.
[Android Software/Hacking General [Developers Only]] nutterbg:
Hi,

I tried to run the patcher on this rom, version 2.7.6 english(2.6.29 english with 2.7.6 ota combined), based on Sony ICS .431. I've tried various parameters to apply pdroid, but it always fails on applying the framework patch. I tried aosp, cm7, cm9 and generic parameters with the same result(also generic with older version patch). The problem may be that this MIUI is technically neither of these(correct me, if I'm wrong). Any advice? Here's a log.
[Android Software/Hacking General [Developers Only]] mateorod:
Hmmm...this does not look promising. If he was using Cygwin, then I bet he just ran his rom through the auto-patcher. I very much doubt that he is building this from source within cygwin. So I bet that he just had the same patching problems you have, but didn't notice it.

I don't know what he's done to make this rom, but if the patcher doesn't work, then our only recourse is to try the build patches, which are patches you apply after downloading a source tree from git or somewhere, but before compiling the ROM. If he hasn't written actual source (which almost none of the device-specific roms do, that is an enormous undertaking, even if using AOSP or CM9 as a base) then I don't know what to suggest. If a dev is making their own modifications to a base, and then compiling, they should be able to use the build patches. But if they are porting by swapping folders, most of the time the patcher will work. In the instances it does not, I do not yet have an answer. Maybe that dev could patch their base and then go ahead with the edits, but all of that is contingent on what they port into the ROM.

If he edits some base code and then compiles the ROM, then he can put the build patches in from the thread in pastime1971's signature. The fact that he is mentioning patching through Cygwin indicates, to me, that he tried to use the auto-patcher...maybe ust find out if he compiles this rom. If he does, then you might still have a shot.

Edit: I meant to ask, I couldn't really figure out which update supposedly has the patch from his download page. You are using the rogers version, right? Would it be update 3 that I would need to look at?

As of right now, we do not have MIUI supported. I know very little about it, is source available? I know the MIUI team is pretty active in supporting Android projects, I have seen them donate some pretty decent funds. I'll look into it, but as of right now, I don't think you'll be able to get PDroid working on any MIUI iteration.
[Android Software/Hacking General [Developers Only]] nutterbg:
Thanks for the quick responce. I'm not sure if the source code is avalable, but I guess you know better how to look into this. Fingers crossed there's some development on the topic soon. :)
[Android Software/Hacking General [Developers Only]] anomalya:
I'm just going off exactly from his changelog:

pre patched services .jar to jave oom groupings on by default
(basically what supercharger does)
and patched it for pdroid(no working with the app but its damn patched
ill post a screeny to prove it if you want to see it)

Based on that, is it safe to assume he did more internally than what you're guessing? Because when I ran the ROM myself through Cygwin, I got a glaring "failed framework.patch," so it's unlikely that he could have missed that. Granted, he might have done something completely different than my process (which was cookie-cutter, by-the-book instructions from here), though the possibility of him overlooking patch errors like you said, still exists.

I wish I knew more specifically about his process for building his ROMs, but I do know that with this particular ROM, it is taken directly from an official ICS source (Rogers), with modified kernels, and more mods on top in his updates.

I will send a PM to him and see if I can get his attention toward here - I say the latter because the guy is very active in pushing out bases left and right for the Galaxy phone and patching them for PDroid is non-priority.

In the meantime, here is the AT&T version ROM base file in his build that I use (official ICS Rogers-based). This is the update containing his patch work for PDroid.

Thanks again by the way for the time and effort you and pastime have been (and are) providing for me and others in this thread.
[Android Software/Hacking General [Developers Only]] mj084:
@pastime1971

using cygwin under win7 x64

replaced auto_patcher with your attached...and got the message:

### verify tools ###
/usr/bin/patch
/usr/bin/tar
/cygdrive/c/Program Files/Java/jdk1.7.0_05/bin/jar
/cygdrive/c/Windows/system32/java

### verify ROM ###
# running ./auto_patcher ICS-LEAK-cm-9-20120708-UNOFFICIAL-maserati.zip pdroid cm9 20120708

user@pc /cygdrive/e/download/autopatcher20120709v075/ap
$ ./auto_patcher ICS-LEAK-cm-9-20120708-UNOFFICIAL-maserati.zip pdroid cm9 20120708
### verify tools ###
### verify ROM ###
### unzip patch tools ###
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed extracting tools !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! please refer to LO9F85~1 for any debugging

! patching failed.
! it may be possible to patch ICS-LE~1.ZIP using other patch version
[Android Software/Hacking General [Developers Only]] pastime1971:
@ mj084,

could you test one more thing?

in line 124, function abspath(), script auto_patcher, change echo $(cygpath -d "$1") to

echo $(cygpath -da "$1")

and test again ?
[Android Software/Hacking General [Developers Only]] pastime1971:
here is a test script with $(cygpath -da "$1")

also added more logging, so i can see what is going on on cygwin.

please test it and give us a feedback.

thanks in advance.

testing script #2 attachment.
[Android Software/Hacking General [Developers Only]] Bologna:
Patched today cm9 10 jul (ubuntu distro)

Worked perfectly for both pdroid & v6

Thanks for this fast patcher :)

Inviato dal mio Sgs2 con Tapatalk 2
[Android Software/Hacking General [Developers Only]] mateorod:
I just tested your latest attachment and it errors while trying to unzip tools. The log shows at the pertinent point

unzip patch tools ### tar(child): cannot connect to E: resolve failed gzip: stdin: unexpected end of file tar: Child returned status 128 tar: Error is not recoverable: exiting now

This is was littered with some garbage characters, I am retyping it from the screen of an old old dual boot.

hope this helps...
[Android Software/Hacking General [Developers Only]] pastime1971:
ok. i think i get what's going on.

for linux commands (tar), file path needs to be linux format.

for windows commands (jar), it needs to be windows/dos format.

the only windows command that needs the absolute file path is jar $ROM ...

please try the attached. thanks.

edit: did anyone try it on mac osx ?
[Android Software/Hacking General [Developers Only]] brashmadcap:
Jelly Bean

Has anyone tried this against the Jelly Bean OTA?
[Android Software/Hacking General [Developers Only]] raimundo amador:
cygwin help

I read the tutorial, but when I execute the commands it tuns out something like this: 'missing patch diff tools' I tried to follow the tutorial, but it is clear somethig wet wrong. Can anyone give me a clue about it?

Many thanks