yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] grayfoxmg1:
Star Date 2/10/2013 @ 10:49 pm Captain's Log: It appears as if the Symantic council preceding over sector NOR-tan has allowed our vessel name containing the Alliance photon Gun mark 2578 or rather ApG 2.5.7.8 through their quadrant safely. Though this is a momentous occasion, we must be on our guard in the event of future hostilities.

SoooooooooooooOOOOOOOOOOOOoooooooooooooo I'm back, sorry I was off the grid there for a while, I had some family things that I had to take care of. Anyway I was pleasantly surprised to re-enter the internet and download the newest ApG without ANY issues. Keep in mind this was after I finally updated all the crap on my machine that had updates while I was away from my computer for a month. Hopefully you got a chuckle out of the way I chose to relay my update on the whole Auto_Patcher vs. Anti-Virus fight. Oh and @mateorod I've already updated my super post.

So your month of a quiet thread is over; I'm back to annoy, disrupt, and cause chaos. Or is that me on a different website? meh doesn't matter, just glad to be reconnected to the world wide web.
[Android Software/Hacking General [Developers Only]] brfsa:
First, Thanks for this amazing software!

now, I tried to patch SlimRom 4.2.1 RC2 with openpdroid, it failed with the GSM related service. since my nexus 7 does not have GSM.

it did completed and I have the update zip ready to flash,

My question is: does it look alright and will work? here is the output:

./auto_patcher Slim-grouper-4.2.1.RC.2-OFFICIAL.zip openpdroid

The Auto-Patcher v2.6.55

### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
inflated: system/build.prop
### probe rom type ###
... result of ROM check: version= 4.2.1 rom= aosp ...
... Using results of ROM check ...
... openpdroid patch date has been set to: 20130201 ...
### unzip rom ###
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar
inflated: system/framework/telephony-common.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 system files ###
... decompile framework.jar ...
... extract preloaded-classes ...
... decompile core.jar ...
... decompile services.jar ...
... decompile telephony-common.jar ...
### copy patch openpdroid/4.2/aosp/20130201 ###
... copying system/app/Mms.apk ...
... copying system/media/PDroid.jpeg ...
... overwriting ContentResolver.smali ...
### jar patch openpdroid/4.2/aosp/20130201 ###
... apply framework.patch ...
... apply preloaded.patch ...
... apply core.patch ...
... apply services.patch ...
... apply telephony-common.patch ...
1 out of 4 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/gsm/GsmServiceStateTracker.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
15 out of 15 hunks ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
!!! PATCHING FAILED FOR com/android/internal/telephony/gsm/GsmServiceStateTracker.smali !!!

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

GsmServiceStateTracker.smali

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

We can try to add a premade copy of those files.
This sometimes works.

You only need to report this if running the program gives you problems!!!

Do you want to proceed ? (YES/no) Yes
... replace com/android/internal/telephony/gsm/GsmServiceStateTracker.smali ...
### rebuild jar ###
... rebuild framework.jar ...
... rebuild core.jar ...
... rebuild services.jar ...
... rebuild telephony-common.jar ...
### create update-aosp-grouper-20130203-openpdroid.zip ###
### finished ###
flash update-aosp-grouper-20130203-openpdroid.zip to install the patched files
flash restore-aosp-grouper-20130203.zip to restore the original system

Just asking before I flash.

cheers

---------- Post added at 12:56 PM ---------- Previous post was at 12:12 PM ----------

ok, So far it flashed fine and I got Pdroid Manager running and working!!! sweet!

this is F*ing Awesome!

Slim Rom 4.2.1 RC2
[Android Software/Hacking General [Developers Only]] nsmart:
I once had the same problem. I deleted the "ap"-folder and restarted APG. This fixed the syncing-process.
[Android Software/Hacking General [Developers Only]] murraynt:
I'm running on margo. I appreciate the hard work :good:
[Android Software/Hacking General [Developers Only]] can0brains:
nevermind i didnt read all of the posts before posting.
[Android Software/Hacking General [Developers Only]] mateorod:
Auto-patcher 2.6.65 is out for ApG users...I am going to wait to push a new download to techerrata until I get some reports.

This adds new CM, AOKP and PA (3.0) patches for openpdroid.

This will fix the ServerThread patching failures for AOKP and CM. We will see if the fact that PA 3.0 ROMs are only rolling out for certain devices is troublesome. If you have a new build of PA but is still 2.9.9, then you will need the 20130201 patches. That may not be an issue, it just depends if devs continue to put out 2.9.9 builds.

If you posted a log for a non-supported ROM over the last day or so, sorry I haven't had a chance to look. But keep in mind we support a lot of roms for basically every device...I can't cover all of the small ones. I will try some quick fixes for you guys later.

Let me know how it goes and then when I get home I will put out a new download...it is Lundi Gras here, and my son NEEDS to go to parades.
[Android Software/Hacking General [Developers Only]] karamelos:
Congratulation @mateorod

Fixed for

nexus 7

Auto_patche version: beta v2.6.65, patches 2013.02.05

Rom: cm-10.1-20130211-NIGHTLY-grouper.zip

md5sum: fd9fab8f09d29fae8c6d307d85b48890

Short URL: http://get.cm/get/6gl

Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file smali/com/android/internal/telephony/cdma/EriManager.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 'smali/com/android/internal/telephony/sip/SipPhone$SipConnection.smali.rej'
### rebuild jar ###
... rebuild framework.jar ...
... rebuild core.jar ...
... rebuild services.jar ...
... rebuild telephony-common.jar ...
### create update-cm-grouper-20130211-openpdroid.zip ###
### finished ###
flash update-cm-grouper-20130211-openpdroid.zip to install the patched files
flash restore-cm-grouper-20130211.zip to restore the original system

N7000 wait
[Android Software/Hacking General [Developers Only]] lojpek:
./auto_patcher flinnycm101_saga_13.zip openpdroid cm 20130208

The Auto-Patcher v2.6.65

### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
inflated: system/build.prop
### probe rom type ###
... result of ROM check: version= 4.2.1 rom= cm ...
... Using cm patches ...
... openpdroid patch date has been set to: 20130201 ...
... openpdroid patch date set manually to: 20130208 ...
### unzip rom ###
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar
inflated: system/framework/telephony-common.jar
### create updater script ###
inflated: META-INF/com/google/android/update-binary
inflated: META-INF/com/google/android/updater-script
... using Clockworkmod installer ...
inflated: system/app/Mms.apk
### create restore.zip ###
### decompile system files ###
... decompile framework.jar ...
... extract preloaded-classes ...
... decompile core.jar ...
... decompile services.jar ...
... decompile telephony-common.jar ...
### copy patch openpdroid/4.2/cm/20130208 ###
... copying system/app/Mms.apk ...
... overwriting system/app/Mms.apk from openpdroid ...
... copying system/media/PDroid.jpeg ...
... overwriting ContentResolver.smali ...
### jar patch openpdroid/4.2/cm/20130208 ###
... apply framework.patch ...
... apply preloaded.patch ...
... apply core.patch ...
... apply services.patch ...
156 out of 158 hunks FAILED -- saving rejects to file smali/com/android/server/ServerThread.smali.rej
!!! PATCHING FAILED FOR com/android/server/ServerThread.smali !!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed com/android/server/ServerThread.smali in services.jar cannot be remedied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

usage: ./auto_patcher <ROM> <MODS> <ROMTYPE>
example: ./auto_patcher CM10.zip openpdroid cm

Use ./auto_patcher -h for the help menu

Desire S
[Android Software/Hacking General [Developers Only]] karamelos:
@mateorod i have a problem :p

http://codepad.org/GVoYtNiy

I don't have telephony on my nexus 7 just wifi model but auto_patcher implement sms app for example

I have a recurrent FC com.android.phone
[Android Software/Hacking General [Developers Only]] FredFFF:
Hello mateorod,

thx for your answer, and sorry for the partial log, here is the complete one :

./auto_patcher Slim-GT-I9100-4.2.1.RC.2-OFFICIAL.zip openpdroid,v6supercharger

The Auto-Patcher v2.6.6

### verify tools ###

### verify ROM ###

### unzip patch tools ###

### unzip patch patches ###

\décompressé : system/build.prop

... result of ROM check: RIL= SamsungExynos4RIL

### probe rom type ###

... result of ROM check: version= 4.2.1 rom= aosp ...

... Using results of ROM check ...

... openpdroid patch date has been set to: 20130201 ...

### unzip rom ###

\décompressé : system/framework/core.jar

\décompressé : system/framework/framework.jar

\décompressé : system/framework/services.jar

\décompressé : system/framework/telephony-common.jar

### create updater script ###

\décompressé : META-INF/com/google/android/update-binary

\décompressé : META-INF/com/google/android/updater-script

... using Clockworkmod installer ...

\décompressé : system/app/Mms.apk

### create restore.zip ###

### decompile system files ###

... decompile framework.jar ...

... extract preloaded-classes ...

... decompile core.jar ...

... decompile services.jar ...

... decompile telephony-common.jar ...

### copy patch openpdroid/4.2/aosp/20130201 ###

... copying system/app/Mms.apk ...

... overwriting system/app/Mms.apk from openpdroid ...

... copying system/media/PDroid.jpeg ...

... overwriting ContentResolver.smali ...

### jar patch openpdroid/4.2/aosp/20130201 ###

... apply framework.patch ...

... apply preloaded.patch ...

... apply core.patch ...

... apply services.patch ...

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

1 out of 4 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/gsm/GsmServiceStateTracker.smali.rej

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

File for which patching failed:

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

GsmServiceStateTracker.smali

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

We can try to add a premade copy of those files.

This sometimes works.

You only need to report this if running the program gives you problems!!!

Do you want to proceed ? (YES/no)

... replace com/android/internal/telephony/gsm/GsmServiceStateTracker.smali ...

### jar patch v6supercharger/4.2/aosp/latest ###

... apply services.patch ...

### rebuild jar ###

... rebuild framework.jar ...

... rebuild core.jar ...

... rebuild services.jar ...

... rebuild telephony-common.jar ...

### create update-aosp-GT-I9100-20130203-openpdroid-v6supercharger.zip ###

### finished ###

flash update-aosp-GT-I9100-20130203-openpdroid-v6supercharger.zip to install the patched files

flash restore-aosp-GT-I9100-20130203.zip to restore the original system​
[Android Software/Hacking General [Developers Only]] SilentEYE:
I was so afraid about the update, but our Xperia S community still has no luck :crying:

http://codepad.org/rAbJotvp
[Android Software/Hacking General [Developers Only]] karamelos:
Editing update zip removed sms app & folder

Fixed :p
[Android Software/Hacking General [Developers Only]] nsmart:
I tested new auto_patcher version 2.6.65 with cm-10.1-20130210-NIGHTLY-mako.zip (Nexus 4). Patching was successful with some warnings (see attached log20130211202326.txt), but I get immediate "com.android.phone process" terminated after booting.

Then I tried to patch rom version from day before: cm-10.1-20130209-NIGHTLY-mako.zip (Nexus 4), and with this version patching failed completely (see attached log20130211203924.txt).
[Android Software/Hacking General [Developers Only]] mateorod:
Why did you use the new patches? Was it failing if you ran it without a date argument?

I see you fixed it...but that wasn't happening before, huh? I will look at this tonight...if you see someone else with the same problem, let them know how you fixed it...

There is no error there, as I expected. Flash the zip, you'll see.

Yeah, I expressly said it was just mainline ROMs and not for anything else. I have to take care of the many before I can help the few.

I am glad you fixed it but I will have to do something about this later...
[Android Software/Hacking General [Developers Only]] SilentEYE:
@mateorod

what are the mainline ROMs?

Is there a phone that is working right now, without any problems?
[Android Software/Hacking General [Developers Only]] Wagedroid:
can i add a custom patch to a rom i drag and drop?

for example, i run cm10.1 on my htc sensation, and i want to use the bb10 lockscreen patch for my rom.

any info on how i can do this?
[Android Software/Hacking General [Developers Only]] dirtyreturn:
Re: [Utility][2.6.25][2/01] Auto-Patcher (4.2.1)

Only a guess... as long as there is no interference with what is patched with auto_patcher. Correct this post, obviously, if its wrong.
[Android Software/Hacking General [Developers Only]] Wagedroid:
ok so how can i achieve this?

i dont see an option to use my own patch using the apg program on windows.

it lets me choose default patches like v6 supercharger, pdroid, etc. but how can i use a custom patch??
[Android Software/Hacking General [Developers Only]] Uzephi:
Re: [Utility][2.6.25][2/01] Auto-Patcher (4.2.1)

I looked at the updater scripts from my old patch and the new one made from the newer ApG. The newer update script was missing the line

run_program("/sbin/busybox", "mount", "/system");

I added it into the new patch right below the visual addition you put in the update zip. No error 7. Weird how much one line changes things.
[Android Software/Hacking General [Developers Only]] mateorod:
Sorry. I guess that isn't very specific...we support ,all Official releases from the ROMs listed in the OP. CM, AOKP, Evervolv, SlimRom, PA and ROMs built fro, straight AOSP source. I think the ,majority of devices have most of their available ROMs able to patch.

Now, we also support a bunch of ROMs derived (or 'kanged') from those same sources. In my experience, almost all ports of Cyanogen ROMs patch no problem. Maybe 90%. But a small percentage of roms have drifted far enough from the upstream source so that our patches don't apply. I have some workarounds but they aren't always an option.

We see these problems most often wih devices that aren't supported by AOSP, so GNex toro and toroplus, xperia and a few others. That is the problem. The best way to get support is to get a maintainer for your device. See if anyone in your device forums is willing to build a couple roms a month. If so, we can help. Otherwise, you will have to wait and see if I can finish working on stock patching. I need to get to it..the maimtenance of these patches are killing my time.

If anyone builds from source and has storage...want to join autopatcher team?

Well, the auto-patcher uses Somali patches and that is a source patch. But the auto-patcher could almost certainly add it to the mod list. I just need someone willing to build for it. That is how the mods get added, I found them and built patches for them.

Hmmm...i don't think anything changed on our end except for the UI message.,,working everywhere else. I will for sure look into this. Hard to flash a ROM w/o busy box, lol.
[Android Software/Hacking General [Developers Only]] f0xy:
Re: [Utility][2.6.25][2/01] Auto-Patcher (4.2.1)

I get 'com.android.phone' terminated as well just for reference.

I completed patch for cm10.1 i9300 nightly 11.2. OpenPdroid.
[Android Software/Hacking General [Developers Only]] gps3dx:
Hi mateorod,

I'm tried to patch PA 2.99's rom for HTC Desire from HERE , But I got error about "RIL$RILSender.smali" as did all the other users that tried an PA's rom based on 4.2.1 android.:(

I tried to patch under linux and used autopatcher V2.6.55 for that -> I got the same error.

I tried to patch under windows with the help of apG, which ( no wonder ) used the same version of the script, and gave me the same error.

I tried on both times to patch it as "p.d2.0" and as "openpdroid" - but the 1st claimed it does not supprts 4.2.1 and the latter same these error above.

Here's the LOG FILE from my attempt patching under windows.:o

I wonder, when you answered someone few post earlier and wrote that the script is compatible with that version.

Is it possible it was just an adjustment for a specific device other the Desire ? :confused:

Please advise...

it's kind of a big upgrade for my mobo, and I just have to run PDroid.. !

Thanks in advance.;)
[Android Software/Hacking General [Developers Only]] lojpek:
without date argument's same error ... with older date argument same error ... it's not working ... log are the same so I post one log ...
[Android Software/Hacking General [Developers Only]] generosity21:
I tried using the most recent version of the Windows auto patcher tool on my CDMA Evo 3D, CM10.1 ROM, using the OpenPDroid and V6 Supercharger patches, and it seemed to work fine, but once I rebooted, my phone process crashed constantly, I couldn't even unlock the screen. Running the undo zip fixed the phone crashing.

Is this a known issue, and is there a fix?

Thanks
[Android Software/Hacking General [Developers Only]] mateorod:
Sorry, just a quick message...I will get to other issues later.

For the phone FCs, this is because they had a major update to the Mms.apk. If you get constant phone FC's, replace the Mms apk in the update.zip with the one in your rom. I am putting together a fix now, but I will probably have to build the apk first.

For gps3dx w/ failed RIL$SENDER, look for AussieLambChops fix from a week ago or so. You have to edit one line in the patch, a fix is being considered for that as well. Although all the other roms that failed for this are Samsung roms...it was postulated that the problem was the Exynos chip. I recommend trying a rom built on 0207 or earlier FOR YOU ONLY.

What we have here everyone is the chaos that comes with a major update to the rom source from upstream. It breaks the patches, and over the period of time where the various roms recalibrate and merge code, it is very hard (for users) to understand why things fail. My best advice is to (wait until I fix the Mms issue, please) use the VERY LATEST roms unless otherwise recommended by me.

nsmart had success patching for 0210, but failed for 0209, that is because the new code is in one of those and not the other. So, those new patches should work for the 0210 roms and up...you see?

Thanks for the patience, this is always a *****. For ICS, it was happening almost every other week at least it is rare now.
[Android Software/Hacking General [Developers Only]] generosity21:
Thanks for the info. I tried replacing Mms.apk in the update zip with the one in my rom's zip using winrar, but after flashing the altered zip file and rebooting, I had the exact same issue (phone apk crashing nonstop).
[Android Software/Hacking General [Developers Only]] mateorod:
Okay that is worrisome. Would you try this attached one and if you have a log, upload it?

And if that doesn't work, one more thing....try swapping the telephony-common.patch from patches/openpdroid/4.2/cm/20130201/telephony-common.patch into patches/openpdroid/4.2/cm/20130208.

You may need to run ./batch,sh after, You do for non-ApG. Maybe hit manual patching and run ./batch.sh and then patch again as you did before, just this time you will be using the older telephony-common.patch. I dont have a phone, only a tablet, so I can't really debug these things...

It will successfully produce an update.zip, I have checked that...but will it fix the FCs? Let me know, thanks...
[Android Software/Hacking General [Developers Only]] generosity21:
The Mms.apk you attached didn't work either. :( I will try the other option tomorrow, when I have time to try to figure out how to run batch.sh (I'm on the windows side).

Thanks again for the support.
[Android Software/Hacking General [Developers Only]] mateorod:
Thanks..but don't worry about it. I got my hands on a phone and that isn't working either. This means that we probably need some adjusting of the upstream patches due to the Cyanogen commits.

That means, for now, that the CM patches are broken. Depending on what other roms merge, this could trickle farther. Anyone who has already flashed the new patches, logcats will maybe help, but I do have karamelos for now.

We will fix it and rebuild, but for now, if you want OpenPDroid, just use Cyanogen roms from 02-07 or earlier. That isn't too bad, we'll get this licked.

Thanks.
[Android Software/Hacking General [Developers Only]] prurigro:
The Mms.apk you attached didn't work for me either, and it actually caused some weird graphical errors once I'd booted as far as the lockscreen.

In regards to your other idea, I copied patches/openpdroid/4.2/cm/20130201/telephony-common.patch to patches/openpdroid/4.2/cm/20130208/telephony-common.patch as you recommended and ran ./batch.sh. I then ran auto-patcher's openpdroid patch on the latest CM nightly for my phone, and I had to use the prebuilt version of com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali to complete successfully. When it finished, I copied the new patch to my phone and flashed it after reflashing the ROM to ensure everything was back in place, and I was pleased to then reboot my phone and find everything in working order :)

Thanks for thinking out this quick fix, and for all your hard work on auto-patcher and making openpdroid accessible to us masses!

Note: My provider doesn't support CDMA, so mileage with the prebuilt version of CdmaServiceStateTracker.smali may vary
[Android Software/Hacking General [Developers Only]] mateorod:
Hmmm...now that is interesting as can be....I actually just pushed an error catch for this issue (basically presentng an informative error message and halting patching for Cm 10.1 roms older than 0207) that I may end up regretting.

So that worked for you, huh? Okay, this is what I will do. I am going to make that change (the older telephony-common patch) official and will revert the CM error-catch. Then you guys let me know what happens, ok? It will be 2.6.6.6, up in twenty or so.

Update: Ok, those changes are live, 2.6.66 is up (for ApG). If you are patching for cm10.1, please let us know if roms from 0210 or later are now properly working for you, ok?

Update2 (while we're here): The prepatched files (actually not prepatched but versions we know will patch) have been tested pretty extensively as individual files. I feel especially good about all the ServiceStateTrackers, as they have been tested now thousands of times...just an FYI. Thanks for taking the time to check this out.

Update 3 (and I am done for the night, guys): This is not working on the Nexus 7. Still getting phone FCs. Which might be an outlier. Let me know what happens, we may need to readd that error-catch yet.
[Android Software/Hacking General [Developers Only]] noonecanhide:
AW: [Utility][2.6.65][2/10] Auto-Patcher (4.2.1)

Patched cm10.1 nightly from 10/02 a hour ago, no phone FC yet, everything is working including mms.apk

Great :D
[Android Software/Hacking General [Developers Only]] 51liberty:
Aokp_Mako_JB-MR1_Build-3(13.02.11) for Nexus 4 (mako) is failed. (OpenPDroid)