yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mateorod:
Not a problem, that alert is just letting you know that we used a workaround to solve a problem. I am going to remove the alerts, it is too confusing to too many people.

I fought to keep it in for almost six months, but in the end I just do not think it was worth the grief it caused. The autopatcher will continue to work the same way, but it will keep it's methods to itself :).

Is this based off of a stock rom? We do not currently support stock. Try a CM or AOKP or PA rom. If it is 4.1.2, use one from before 0208 for now.

Do you have a log? We can help, but we don't know the problem...use one from before the FM radio got added, so before 0208, okay?

Yeah, these patches will work on nightlies usually anywhere from 1-3 weeks. Sometimes it is only one day. It all depends how many changes they make to the source code, and how drastic those changes were. That is why we need the autopatcher instead of simply distributing zips, the update.zips just go out of date.

But you can use this one all the way up to the day it results in a boot loop. But because we just swap system files, any boot loop can be solved by simply reflashing the rom.

Log please? I don't know what FXP builds are, but we usually do not support stock builds. But if an update.zip is being made, it should work.

Yeah, we need logs to help....

If those ever worked for stock then they probably work still. I cannot imagine the Xperia people are updating their ICS to a different ICS. try those patches.

Wait...from what I understood the disappearing SMS app was solved by AussielampChops. Can you grab a logcat? This sounds like an autopatcher bug, actually.
[Android Software/Hacking General [Developers Only]] mateorod:
Yeah, the script performs the same with or without the GUI.

You didn't see the top of the OP maybe. There were some big changes to 4.1.2 CM10 frameworks/base (namely adding FM radio) that broke openpdroid. It only affect CM10 and PA that uses cm frameworks.

But it is not a big deal. Just use a rom from before they added FM radio, so from before 0208. You won't be missing much, the development of 4.1.2 has almost completely stopped.

Believe it or not. we are working on it, I promise.
[Android Software/Hacking General [Developers Only]] x_one:
DOH! :crying: So I have to wait for Your fix.. build 208 and 210 have incredible smoothness improvement..
[Android Software/Hacking General [Developers Only]] mithun46:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

Can you upgrade this script to blackout Roms like change each apps colour to black and all. That would be awesome
[Android Software/Hacking General [Developers Only]] Reubentrapdoor:
Thank you, I somehow failed to pick up on the patched Mms.apk discussed earlier in the thread. I installed this and rebooted and now the messaging app is appearing and seems to work nicely! I'm not sure how to produce logs from the flashing/first boot though, but if you need the logs to fix this problem I'll see if I can figure it out :)
[Android Software/Hacking General [Developers Only]] mateorod:
I am unfamiliar with the mod, but I believe we could probably support most mods. The hardest things to port would be themes that require different pngs for different resolutions...I haven't figured out a reliable way to divine resolution from the build.prop.

I could work with a themer to give our best guesses though. And although it wouldn't be ideal, I could hard code in the 30-40 most popular devices and just be willing to add others by request.

Send the dev my way and we can talk.

So you went and tracked down the Mms.apk attached by AussielampChops and installed it, and then did not have any problems? But you had trouble before?

That would be weird, since the apk we use in the Autopatcher is that exact Mms.apk. I updated the autopatcher with it awhile ago, that is why I was surprised to hear you were having trouble.

Two things you can try: getting a logcat is easy, there are apps for it in the Play Store. But they are best if they cover an event, like a FC or something. From what I understand, that isn't what you experienced, the Mms app just wasn't there, am I right? If it appears, but doesn;t work, then a logcat would be very helpful.

The other thing you can do is before flashing the update.zip, try clearing your caches in recovery, both regular cache and dalvik cache. If installing Aussie's Mms.apk by hand is now working, then this may solve the problem. And if so, I can erase the specific dalvik cache with our updater scripts and hopefully end the problem for good.

But maybe I have your experience wrong and didn't understand?
[Android Software/Hacking General [Developers Only]] Reubentrapdoor:
Yes, I used the one found here. Installing with the GUI and untrusted sources worked and everything seems to be in order now. I can now find the green messaging icon in the apps menu.

I'm completely new to flashing ROMs however so this might just be a user error. What I did was boot into TWRP, wipe cache partition, dalvik cache, and factory reset. Then I selected the main "cm-10.1-20130312-NIGHTLY-i9300.zip" file, the "cm-10.1-20130312-NIGHTLY-i9300-openpdroid-20130312-update.zip" file and finally the google-apps file before flashing them all.

When booting into CM 10.1 afterwards there was a free spot between the "apps menu" and the browser on the bottom menu, which I assume is where the messaging-app was supposed to be (it wasn't in the apps-menu either of course). I didn't think to check if the /system/apps/Mms.apk file was present before I installed it manually though so I can't really help there. I'll make sure to check and try to produce some logs next time I decide to flash.

Either way I'm happy with the workaround for now so thanks for pointing out the Mms.apk fix :victory:.
[Android Software/Hacking General [Developers Only]] niteh@wk:
I'm running AutoPatcher under Win 7 using cygwin and receive these errors.

... apply framework.patch ...
patch: **** Can't create file /tmp/poHFsDLa : No such file or directory
... apply preloaded.patch ...
patch: **** Can't create file /tmp/po8F2Hnd : No such file or directory
... apply core.patch ...
patch: **** Can't create file /tmp/powTV6ei : No such file or directory
... apply services.patch ...
patch: **** Can't create file /tmp/poydmtxs : No such file or directory
... apply telephony-common.patch ...
patch: **** Can't create file /tmp/powkbSjw : No such file or directory

I tried to create the /tmp directory but that didn't help either.

Nitehawk@Nitehawk-Notebook /cygdrive/c/android/tools/autopatcher
~ mkdir /tmp

Nitehawk@Nitehawk-Notebook /cygdrive/c/android/tools/autopatcher
~ chown Nitehawk /tmp

Nitehawk@Nitehawk-Notebook /cygdrive/c/android/tools/autopatcher
~ chmod 777 /tmp

Nitehawk@Nitehawk-Notebook /cygdrive/c/android/tools/autopatcher
~ ls -l /
total 289
drwxr-xr-x+ 1 Nitehawk None 0 Mar 13 17:55 bin
dr-xr-xr-x 1 Nitehawk None 0 Mar 13 20:17 cygdrive
-rwxr-xr-x 1 Nitehawk root 57 Mar 13 17:55 Cygwin.bat
-rw-r--r-- 1 Nitehawk root 157097 Mar 13 17:55 Cygwin.ico
-rw-r--r-- 1 Nitehawk root 53342 Mar 13 17:55 Cygwin-Terminal.ico
drwxr-xr-x+ 1 Nitehawk None 0 Mar 13 17:55 dev
drwxr-xr-x+ 1 Nitehawk None 0 Mar 13 17:55 etc
drwxrwxrwt+ 1 Nitehawk None 0 Mar 13 17:57 home
drwxr-xr-x+ 1 Nitehawk None 0 Mar 13 17:55 lib
dr-xr-xr-x 9 Nitehawk None 0 Mar 13 20:17 proc
drwxrwxrwx+ 1 Nitehawk None 0 Mar 13 20:16 tmp
drwxr-xr-x+ 1 Nitehawk None 0 Mar 13 17:54 usr
drwxr-xr-x+ 1 Nitehawk None 0 Mar 13 17:54 var

As soon as I ran ./auto_patcher rom.zip openpdroid aokp, the /tmp directory is removed. What am I doing wrong?
[Android Software/Hacking General [Developers Only]] poo706:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

Since you're on win7, just use apg.
[Android Software/Hacking General [Developers Only]] niteh@wk:
Using apg worked!! Thanks man!!
[Android Software/Hacking General [Developers Only]] samsungmario:
RootBox 3.9.1 for Samsung Galaxy S2 - Failed

I used auto patcher with 2.8.4 patches and failed: Error log is in attachment. Can someone tell me why it failed? I did not specify rom type just opendroid and then hit return. Cheers.
[Android Software/Hacking General [Developers Only]] Sjonnie-Doe:
ApG OpenPDroid patch error

I tried to patch SuperNexus-2.0-n7000-BUILD3 to use with OpenPDroid.

Unfortunately i get some errors (view log AgP.txt)

I used ApG 2013.03.06. (v2.8.5) .

Galaxy Note N7000

Kernel_CM10.1_20130309_n7000_CWM
[Android Software/Hacking General [Developers Only]] iExitus:
Can someone help me?

Im on Win7 and using ApG quite a while now. Today an error appeared while trying to patch a ROM for OpenPDroid.

-> http://codepad.org/6p84UAWW

I have know idea why. A few days ago, everthing was fine. Thanks in advance!
[Android Software/Hacking General [Developers Only]] silver4eyes:
Hello I'm new here.

I try to use APG (on Win xp) and get error as below:

(Sorry, I can't post link codepad.org/7X209JKV )

If failed, then why APG created two new files: update-xxx & restore-xxx ?

Samsung Captivate I897

cm-10.1-20130120-NiGHTLY-galaxysmtd.zip

openpdroid -> cm

Please help :crying:
[Android Software/Hacking General [Developers Only]] AuSSiELaMbChOpS:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

The patching process didn't fail if it created the update and restore zips. It may have had trouble with an individual patch and used a pre-made copy of a file. If you have the two zips you are good to go. :thumbup:

---------- Post added at 09:13 AM ---------- Previous post was at 09:07 AM ----------

The problem you are having is because ApG us installed to your Program Files directory, you need to move it from there to a different directory. Something with no spaces and not in a system location like Windows or Program Files. Try c:\Auto_patcher or something like that. If you check out the top of the log you posted the path gets cut off to just program which doesn't exist do auto_patcher can't find the files it needs.

Sent from my PACman GT-i9100 using Xparent ICS Tapatalk 2
[Android Software/Hacking General [Developers Only]] superdog404:
pdroid

I used a completely clean not installed SlimRom 4.2.1 Official and came up with errors. I've attached the log file.

Slim-SGH-I777-4.2.1.stable.1.0-OFFICIAL.zip

Thank you superdog404
[Android Software/Hacking General [Developers Only]] mateorod:
What is the point of pm'ing me for private help if you don't read what I say?

(and by the way, all following details are taken from the log in the pm, as what you attached here is actually just the screen output)

From your log:

# MID= JOP40G
# RID= .aosp-slim
# ANDR= 4.2
[B]# BDID= 20130215
[/B]# DID= SGH-I777
# BID= 20130201

The bolded section is your build date. As I told you by pm, SlimRom released a 4.2.1 build after 4.2.2 was released. Since I didn't want to waste my time building patches for a rom that was about to go out of date, we waited until they released the source code for 4.2.2 to make new patches.

To use our 4.2.1 SlimRom patches, you need a rom from before 0209. Or you can patch a 4.2.2 build.

Good luck!
[Android Software/Hacking General [Developers Only]] superdog404:
SORRY! I spaced that one. I thought I was using the latest 4.2.2. I've been going between my Galaxy tablet gt-5113 which is on cmenard 4.1.2 AOKP and the SlimRom.

One thing I didn't get from your pm was if you do a pdroid change in a clean apk just installed then make a backup on another rom say Slimrom 4.2.2. Then install the apk on a tablet running 4.1.2 will the changes still be there?

Thank you for the help
[Android Software/Hacking General [Developers Only]] superdog404:
Ok I hope this is what you need? Slimrom has released a new 4.2.2 release 2 and it has an error.

http://codepad.org/PWfSm45u

Thank you

superdog404
[Android Software/Hacking General [Developers Only]] AuSSiELaMbChOpS:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

From looking at your log the patch has failed in the Secure Settings section so I think unfortunately the Rom has changed enough to break the existing patch. I could be wrong but I think you may have to wait for the Slimrom maintainer to build a new set of patches based on the new release.
[Android Software/Hacking General [Developers Only]] Didgesteve:
Slim 4.2.2 build 2

There is a new version of slim out here.

But this is failing to build in the Autopatcher

Would it be possible to have a look at the error log please?

Thanks

http://codepad.org/bpfYmnsf
[Android Software/Hacking General [Developers Only]] karamelos:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

Hi

I post new patch today or tomorrow (my last build failed)
[Android Software/Hacking General [Developers Only]] a-id:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

Hi! Why patched Mms.apk (openpdroid, CM) disappears from apps list after zipaligning?

Отправлено с моего GT-I9000 через Tapatalk
[Android Software/Hacking General [Developers Only]] kaizokan:
Unfortunately, Messaging has stopped. on Omega Rom v9.2 (Based on AOKP JB Milestone 1) patch version Pdroid2.0 v1.51

3rd party app from Play store Does works.

Before flashing Rom, wiped cache, dalvik cache, data/ factory reset.

I also tried replacing the default mms.akp with the patched one on the forum (if not already the same), nothing changes i still get: Unfortunately, Messaging has stopped.

Could the problem somewhere else?

EDIT: I have installed the mms.akp from the Rom and now its working.

Am goed to go now? since i don't use the latest JB versions is it still necessary to have a patched mms?
[Android Software/Hacking General [Developers Only]] noobsgs2:
Slim Beam 4.2.2 build 2.1

http://codepad.org/T0Hj5zix

Thanks guys!
[Android Software/Hacking General [Developers Only]] z0mbi@:
### jar patch openpdroid/4.2/cm/20130219 ###
... apply framework.patch ...
... apply preloaded.patch ...
... apply core.patch ...
... apply services.patch ...
... apply telephony-common.patch ...
1 out of 78 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/cdma/CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.smali !!!

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

CdmaServiceStateTracker.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/cdma/CdmaServiceStateTracker.smali ...
### apk patch openpdroid/4.2/cm/20130219 ###
... apply Mms.apk.patch ...
### rebuild jar ###
... rebuild framework.jar ...
... rebuild core.jar ...
... rebuild services.jar ...
... rebuild telephony-common.jar ...
### rebuild apk ###
... rebuild Mms.apk ...
### create update-cm-gio-20130310-openpdroid.zip ###
### finished ###
flash update-cm-gio-20130310-openpdroid.zip to install the patched files
flash restore-cm-gio-20130310.zip to restore the original system

I couldn't use Mobile Data after I flashed the patching files.:confused:
[Android Software/Hacking General [Developers Only]] mssngr:
I had the same problem and the fix was also the same. I use a Nexus S (Crespo) and I successfully patched CM 10.1 M2 (cm-10.1-20130304-EXPERIMENTAL-crespo-M2). After the following steps: wipe data/factory reset, format /system, format /boot. I flashed the rom.zip, the pdroid update.zip and gapps.

The messaging app was missing. but after applying AussielampChops's fix all is working well.
[Android Software/Hacking General [Developers Only]] chenrp:
hello all.

i use NEATROM lite,

and i am getting error:

|diff -Npru stock-framework/smali/android/widget/AppSecurityPermissions.smali opd-framework/smali/android/widget/AppSecurityPermissions.smali

|--- stock-framework/smali/android/widget/AppSecurityPermissions.smali	2013-02-01 00:26:37.976478833 -0600

|+++ opd-framework/smali/android/widget/AppSecurityPermissions.smali	2013-02-01 00:26:50.936543100 -0600

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

File to patch:

Skip this patch? [y]

3 out of 3 hunks ignored

75 out of 77 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali.rej

9 out of 13 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/cdma/RuimSmsInterfaceManager.smali.rej

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

8 out of 13 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/gsm/SimSmsInterfaceManager.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/PhoneBase.smali.rej

3 out of 9 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/PhoneFactory.smali.rej

11 out of 18 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/SMSDispatcher.smali.rej

... apply preloaded.patch ...

!!! PATCHING FAILED FOR android/app/BackStackRecord.smali android/app/ContextImpl$20.smali' android/app/ContextImpl$29.smali' android/app/ContextImpl$35.smali' android/app/ContextImpl$9.smali' android/app/LoaderManagerImpl$LoaderInfo.smali' android/content/ContentResolver.smali android/hardware/Camera$EventHandler.smali' android/hardware/Camera.smali android/media/AudioRecord.smali android/media/MediaRecorder.smali android/provider/Settings$Secure.smali' com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali com/android/internal/telephony/cdma/RuimSmsInterfaceManager.smali com/android/internal/telephony/gsm/GsmServiceStateTracker.smali com/android/internal/telephony/gsm/SimSmsInterfaceManager.smali com/android/internal/telephony/PhoneFactory.smali com/android/internal/telephony/SMSDispatcher.smali !!!

!!! patch error for android/app/BackStackRecord.smali !!!

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

!!! error: failed android/app/BackStackRecord.smali in framework.jar cannot be remedied

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

any ideas?
[Android Software/Hacking General [Developers Only]] a-id:
It works even after zipaligning. Thanks to AuSSiELaMbChOpS.
[Android Software/Hacking General [Developers Only]] Marc010:
I get this error everytime i try to path a rom with openDroid: http://codepad.org/Ar0kw4b2

rom: http://xdaforums.com/showthread.php?t=2011671
[Android Software/Hacking General [Developers Only]] karamelos:
Hi

in log

!! error: patch_tool.tgz is missing

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

!! The Auto-Patcher could not find its patches and/or tools!

I'm not good in windows but I think you have a problem with your directory see @kobik post for setting up .

Slim/cm users wait patch is freshly submit
[Android Software/Hacking General [Developers Only]] hellunn:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

I had to move the APG to a directory in the root of C: and without spaces in its name to make it work.
[Android Software/Hacking General [Developers Only]] kobik77:
Chances are low for that.

I've tested ApG from path with spaces many times.

Which version are you using?
[Android Software/Hacking General [Developers Only]] Marc010:
ApG has started to work after i moved it from Documents folder to C:\ :D

Sad thing is that the openDroid patch somehow disabled loading of apps from the sd card :/
[Android Software/Hacking General [Developers Only]] poo706:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

IIRC, apg downloaded 2.8.5 when I used it. It should automatically get the most recent version of auto patcher, which I gather may be newer than the most recent version here.
[Android Software/Hacking General [Developers Only]] XDAcat62:
Hi, I saw that in OP , Paranoid Android roms don't support openpdroid/etc - is this still the case? I vaguely remember having a patch that worked on a PA 4.1.2 rom but now I am having issues with a PA rom running on 4.2.2. Here's the error:

26 out of 78 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/cdma/CdmaServiceStateTracker.smali.rej
3 out of 9 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/PhoneFactory.smali.rej
1 out of 15 hunks FAILED -- saving rejects to file 'smali/com/android/internal/telephony/RIL$RILSender.smali.rej'
3 out of 20 hunks FAILED -- saving rejects to file smali/com/android/internal/telephony/SMSDispatcher.smali.rej
[Android Software/Hacking General [Developers Only]] chenrp:
can it work on SAMMYS ROM? ROM like NEATROM lite?
[Android Software/Hacking General [Developers Only]] SecUpwN:
AW: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

Hey patchers! I'm fire and flame for a suggestion I recently heard by one of the Auto-Patcher developers: Creation of a website where you would just upload your ROM (or even better, just paste the link to it) and the site would automagically spit out the corresponding patches. Now how awesome would THAT be? :)

No more downloading, no more questions like "does Auto-Patcher work with ROM XYZ" or "which Auto-Patcher version do I need" or "which are the proper commands"? I even like this idea a little more than the idea of porting Auto-Patcher into an APP. Developers could silently update the mechanisms running behind the webpage. What's your opinion to this, folks? We do NOT have any webpage like this yet, but would you prefer it over the download version of the tool? Let's show them some feedback of how eager we would be to use such website, maybe something get's rollin'.. ^^
[Android Software/Hacking General [Developers Only]] samarium:
Does that mean you are volunteering to run, maintain and finance it?
[Android Software/Hacking General [Developers Only]] Febby:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

I love this idea!
[Android Software/Hacking General [Developers Only]] kobik77:
ApG should sync with GitHub every day if I remember right the default I put there.

If you still don't have the latest version, you can hit the Update button.
[Android Software/Hacking General [Developers Only]] SecUpwN:
Well yeah, but how about computers with no admin permission? I'm sitting in our library with superfast internet connection and can't patch any ROM. What a shame. ApG is great, but having an automated website is just.. aww man, undescribable!
[Android Software/Hacking General [Developers Only]] karamelos:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

Yes it's an idea but

Where is stored?

Who payed for this site ?

Who is coding & admin it ?

Etc......

option for you if is possible !

use persistent live USB with this option you have your PC everywhere, reboot PC & boot on your os (some lazy admin omitted this possibility ) .
[Android Software/Hacking General [Developers Only]] kobik77:
Sorry man, but since when ApG do need elevated permissions?!

There's nothing in the code and I repeat nothing that should require such permissions.

Just don't put it in a directory Windows doesn't like and it would be fine.