yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hteles:
Good night.

Although openpdroid completes successfully patching Slim-i9300-4.4.2.build.2.5.RC1-WEEKLY-2478.zip after applying the patch Phone App keeps force closing.

Performed a factory reset and the problem persists.

Regards.
[Android Software/Hacking General [Developers Only]] poo706:
Mateor and I have been in contact a fair amount lately because I kept having similar problems with the camera on Vanir. Create an issue on github, he'll see it and fix it faster. https://github.com/mateor/auto-patcher

[poo]
[Android Software/Hacking General [Developers Only]] hteles:
Issue opened at github.

Regards.
[Android Software/Hacking General [Developers Only]] highKo:
is it planned to fix tabletUI for 4.4 roms?
[Android Software/Hacking General [Developers Only]] seagman:
That is a question what I am also very interested... The last news were not so optimistic :(
[Android Software/Hacking General [Developers Only]] razzor1984:
New CM11 nightly crespo bootlooping - crash gui // with openpdroid - v3.8.3

I have tried alle the new Cm11 nightlys (from cm-11-20140208-NIGHTLY-crespo.zip too this cm-11-20140203-NIGHTLY-crespo.zip )

Clean install, Complet Wipe & dalvik

Flashed the rom & then i applied the openpdroid patch.

The devices is looping i tried it for 30 minutes, its stuck in the boot procdedure.

After that i clean everything up and flashed only the rom, vola its booting up perfectly !!! (cm-11-20140208-NIGHTLY-crespo.zip)

I try to narrow it down, so i booted into the recovery and applied the openpdroide patch.

Everything looked fine, its booted up and rebuilded the cache, but suddenly its crashed with an very cryptic error - android GUi process is suddely closed. (auto reboot of the device)

After this point the rom simply doesnt clean load, you only see the CM Avatar.....

Edit: the Patching Process for the rom is clean no errors.

Edit2: APG version - 2014.02.04. (v3.8.3)

Thanks for the help!

Greets Razzor

Issue is also open on the github main page #289
[Android Software/Hacking General [Developers Only]] mateorod:
We have reached the end of life with OpenPDroid and auto-patcher. OpenPDroid patches broke this week in an unfamiliar way. I had intended to end support with Android 4.5, but I just do not have the time to investigate the most recent breakage, especially when I would be shutting down in a month or two anyway.

A little longer statement is in the OpenPDroid thread here.

Thanks to the very many who worked on the auto-patcher or sent in fixes. I learned a lot from all of you.
[Android Software/Hacking General [Developers Only]] lorddunlow:
:(

Thanks for all the great work you've done on this project!
[Android Software/Hacking General [Developers Only]] highKo:
so there won't come a tabletUI patch for 4.4, too?

damn , but thanks for your work until here! :good:
[Android Software/Hacking General [Developers Only]] Sir.Swaffel:
Very very sad to hear :(
[Android Software/Hacking General [Developers Only]] Bolster:
Indeed. Is there any alternative to OpenPDroid still in active development? I've come to rely on PDroid for my peace of my mind and I would be willing to pay for an alternative for 4.4/4.5. Anyone know any options?
[Android Software/Hacking General [Developers Only]] scutworker:
Yes there is: XPrivacy. It runs under the Xposed Framework and is under active development. It's free, and there is an option to go Pro for a donation if you want.

Take a look right here:

http://xdaforums.com/showthread.php?t=2320783
[Android Software/Hacking General [Developers Only]] Bolster:
Thanks! I'll check that one out.
[Android Software/Hacking General [Developers Only]] silkshadow:
Just wanted to say thanks for everything mateorod! You were my favorite dev, passionate, helpful and never dismissive of noobs. Now that I just laid out $7 for Xprivacy I wish I had donated more to you over the years. I will await your next project with much anticipation, with my wallet ready for you.
[Android Software/Hacking General [Developers Only]] mateorod:
I pretty much do all my development support from email these days, which is why I generally ask that people post issues on github. For XDA, I have to actually log into the web interface, something I not always in a position to do.

But I saw your post in my email and wanted to log in to say thanks! That was great to hear. I will keep you guys posted and keep writing open-source as long as I can!

Mateor
[Android Software/Hacking General [Developers Only]] Tal_Star:
Sad to see you go. Tried XPrivacy once on a 4.4 rom gotta say not my cup of tea. Back to 4.3 for me I guess :)

Best of luck!
[Android Software/Hacking General [Developers Only]] Lanchon:
in case you use a nexus 5, here is an up to date CM11 build with openpdroid patches applied...

http://xdaforums.com/google-nexus-5/development/rom-openpdroid-patched-cyanogenmod-11-t2686650
[Android Software/Hacking General [Developers Only]] Lanchon:
now im building openpdroid-patched roms for the Galaxy S2 i9100 too...

http://xdaforums.com/galaxy-s2/development-derivatives/rom-openpdroid-patched-cyanogenmod-11-t2817648
[Android Software/Hacking General [Developers Only]] Lanchon:
there are cyanogenmod roms with openpdroid support for a few devices now:

http://xdaforums.com/android/software-hacking/mod-openpdroid-patches-cyanogenmod-11-t2839491

there is also an alpha solution being tested for all devices supported by cyanogenmod M-snapshots.
[Android Software/Hacking General [Developers Only]] Android-Andi:
Great [MENTION=4141005]Lanchon[/MENTION] :) maybe you can upload your patches to gerrit? This will make it much easyer to keep them updated, conflicts because of source update can be easylie fixed then.

Send from OnePlus One using Tapatalk
[Android Software/Hacking General [Developers Only]] Lanchon:
im not used to gerrit. im using a homebrew set of scripts to maintain the patches and im comfortable with it. its all on github. im not planning on changing methodologies for now, sorry.
[Android Software/Hacking General [Developers Only]] MENNENN:
Hello dear friends, please need you help! Is it posible to download old versions of patches ApG the link is off Maybe som one have saved them All http://techerrata.com/browse/mateorod/pastime1971 Thank you! Love and Light!
[Android Software/Hacking General [Developers Only]] Lanchon:
this may help you instead:

https://xdaforums.com/android/software-hacking/mod-openpdroid-patches-cyanogenmod-11-t2839491

or use XPrivacy or XPrivacy LUA.
[Android Software/Hacking General [Developers Only]] mateorod:
I just ran this command

"./auto_patcher cm-7.2.0-encore.zip pdroid cm7 20120619"

and it worked. Are you using the latest update of the auto-patcher? The latest version is 20120620v062, and it is the last one on the list of downloads.

It is complaining o a missing symlink. The symlink is working on the copy I just downloaded and checked. Maybe redownload and try again.

You should not see the error that there is no services.patch.

Edit My fault. I had absolute instead o relative symlinks in there. Should be fixed now for v0.6.3. Try that.
[Android Software/Hacking General [Developers Only]] izicr:
hey guys can u help me please i really want to use pdroid but i dont know how ,another member shared this info with me ,but the problem is that i have no access to a linux machine ,can one of u please make a patch for me ,please i have an evo 3d ,s-off,running infected rom eternity 3.5 ,i need help please thank u in advance and thanks once more
[Android Software/Hacking General [Developers Only]] p.krupl:
Hi,

My first post in here...

It seems like the patch_patches.tgz, comes with some "absolute" symlinks in it..

bash-4.2$ pwd

/Users/peter/Downloads/ap/patches/pdroid/cm7/20120619

bash-4.2$ ls -l

total 1984

-rw-r--r--@ 1 peter staff 14813 19 Jun 21:15 core.patch

-rw-r--r--@ 1 peter staff 990840 20 Jun 10:35 framework.patch

lrwxr-xr-x@ 1 peter staff 24 19 Jun 21:44 preloaded.patch -> 20120514/preloaded.patch

lrwxr-xr-x@ 1 peter staff 102 19 Jun 21:32 services.patch -> /home/mateor/android/pdroidwork/encore/6-13newpatches/cm7.2/patches/pdroid/cm7/20120514/services.patch

Seeing that the preload.patch pointed to 20120514 i tried that one... but no luck it can't patch...

Please mateorod, give us a fixed patch...

And thanks a lot for a more transparent patching tool...:good:

Kind regards,

Peter
[Android Software/Hacking General [Developers Only]] mateorod:
I had like 10 mins so i tried to undo the absolute links. Thanks or the tip.

That's what I get for rushing. Which I just did again.

Hopefully it works; I will check it when I get home tonight...

Thanks!

Check pastime1971's post when you look or updates...he will sometimes upload fixes and the like.
[Android Software/Hacking General [Developers Only]] pastime1971:
can you or the other member set up virtual machine ?

any decent computer these days should be able to do that.

@ mateo,

eventually, it would be great if we can set up a web site where people can upload their rom, the host runs the patcher, and post zips for download.

do you know any option (such as web hosting site) other than running a private server ?

that is until android phones can powerful enough to run the patcher on the phone in situ.
[Android Software/Hacking General [Developers Only]] mateorod:
I will look into this as well, because of course I would also like a place for user-made patches to go, once we get that in the program. It would also be useful for us as a team, in many ways...

I know a guy in Team Win, maybe I can reach out to goo or dev-host or one of those groups. we'll see.
[Android Software/Hacking General [Developers Only]] mithrial:
Thank you for the update. At least the script now works fine without any errors.

Unfortunately my phone (HTC Desire) does not boot. I attached the output of logcat. Hopefully someone will find what's wrong here.

I tried it with

cm-7-20120624-NIGHTLY-bravo.zip

cm-7.2.0.1-bravo.zip

cm-7-20120617-NIGHTLY-bravo.zip

cm-7-20120616-NIGHTLY-bravo.zip

cm-7.2.0-bravo.zip

cm-7-20120610-NIGHTLY-bravo.zip

update-cm-7-20120602-NIGHTLY-bravo-signed.zip

update-cm-7.2.0-RC3-bravo-signed.zip

update-cm-7.2.0-RC2-bravo-signed.zip

The last working ROM is update-cm-7.2.0-RC1-bravo-signed.zip
[Android Software/Hacking General [Developers Only]] mateorod:
What does the log from the auto-patcher say (in the ap folder)? Does it report any patching errors? I am waiting on pastime to test run the newest patcher (usually this would be done before uploading, but I wanted the hotfix to be at least available), but on my computer the 20120514 patches the cm7 nightlies and the latest patches the stable final release.
[Android Software/Hacking General [Developers Only]] mateorod:
Hmm...that's a successful patching from what I can see. I am out o town and was looking at this on a phone that cannot load attachments (my android is physically damaged right now). I pm'd pastime, he will come take a look when he has time.

Try your latest nightly with the 0514 cm7 patches. If there are no patching errors, then it should be fine. We are, for sure, having some trouble with the 7.2 Final as we haven't yet figured out exactly what to do to obtain the 7.2 final source. I created these patches for 7.2 that patch correctly, but maybe there is a deeper problem.

But we have had Gingerbread working for awhile, the 0514 patches should at least give you a working ROM.

Try that until pastime gets a look. I will look much later tonight, but can only really verify that the patching went correctly without being able to flash....we may have to cross 7.2 off until we get a better source...

Thanks for being so diligent in your reportage.
[Android Software/Hacking General [Developers Only]] Ryrzy:
unfortunately on stock ROM (ICS 4.0.3 Sense 3.6) HTC Evo 3D does not work :( is there a possibility to add htc stock ROMs support ?
[Android Software/Hacking General [Developers Only]] kobik77:
So, should we use this one instead of this?

http://xdaforums.com/showthread.php?t=1554960

Edit: In order for this script to run under Windows using Cygwin you should add at line 118, right after this line

ROM=$(readlink -f "$1")

this line

test `expr match $OS 'Windows.*'` -gt 0 && ROM=`cygpath -d $ROM`

And of course make sure that Java binaries path is in PATH variable.
[Android Software/Hacking General [Developers Only]] pastime1971:
this is the next version of that thread which only patches pdroid.

pdroid patch files are identical.

cool, thanks.

i never used cygwin before, so couldn't test it.
[Android Software/Hacking General [Developers Only]] mateorod:
v6 supercharger patching is ONLY for Ice Cream Sandwich. You are trying to use it on a Gingerbread ROM. We will add error checking for this in an update soon...

I got PDroid to patch no problem with this command:

./auto_patcher cm-7-20120624-NIGHTLY-inc.zip pdroid cm7 20120514

I am working on a new version right now. We are still unsure what to do about 7.2 final, but the gingerbread nightlies should work with the pdroid cm7 20120514 patches.
[Android Software/Hacking General [Developers Only]] kobik77:
Cygwin is actually a great alternative for everyone who doesn't want to mess up with Linux and takes relativity no time to configure, so I would highly recommend adding an official support for it :good:
[Android Software/Hacking General [Developers Only]] psychowood:
Hi,

I'm trying to patch ParanoidAndroid 0.3 for the Galaxy Note (cm9 based, using pdroid cm9 latest patch), and I obtain the followin warning:

Reversed (or previously applied) patch detected! Skipping patch.
12 out of 12 hunks ignored -- saving rejects to file smali/android/app/BackStackRecord.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file smali/android/server/BluetoothA2dpService.smali.rej

Is it safe to ignore? I suppose so, but asking does not hurt. :)
[Android Software/Hacking General [Developers Only]] kobik77:
Yeah, it should be fine.

Just make sure you have a fresh backup and copy also restore.zip just in case.
[Android Software/Hacking General [Developers Only]] mateorod:
Hey zep. Nice to see you chime in.

I meant that your script is meant to be run on-device. Which is awesome. I feel like android users should never have to go their PC for stuff like this. But since the decompiling still has to be done on a PC for your script, I feel like there is still a place for automation like we offer.

I am glad you are still OK with our supporting your script. We just deliver framework around here, any proprietary stuff we leave to the owners. The Auto-Patcher is meant to be a tool that makes it easy for users to try new projects. I don't think it can do anything but help devs, so I am glad you are behind it.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh yeah I have no problem with people posting patched services.jars or creating tools to automate it such as this patcher or a batch file or python script that somebody else made.

I just get all antsy when people start mirroring the V6 SuperCharger script itself since there is no quality control or guarantee that it's up to date so I prefer that people get it from my thread so as to ensure they always have access to the latest version.

btw I actually saw a youtube video of a V6 install tutorial and it started out good but when the guy ran the script, it was butchered beyond belief... it went straight to applying settings and it was applying 0,0,0,0,0,0 minfrees and crap like that.... unbelievable...
[Android Software/Hacking General [Developers Only]] mateorod:
Could you post a log cat of your boot? No guarantee we can help, but we can look at it.

@zeppelinrox- We had that problem with cm9 for encore for awhile. It turned out that the builds were shipping with am awk incompatibility. The binary was there, but it didn't play nice with your script. After running wraithdu's busy box installer, the values were read and applied correctly. I always meant to run a check and get to the bottom of it but never did...

@pastime

Well, I made a new patches for grouper and they fail still, not only for maguro, but also for an Official build of grouper itself.

I believe that this is the cm7.2 problem all over again. There is something different in the official CM builds that we are not getting in the unofficial builds made by a plain repo sync.

I am going to try a clobber, but we are going to have to get to the bottom of this.
[Android Software/Hacking General [Developers Only]] SecUpwN:
When running "sh autopatcher.sh" it tells me:

The Auto-Patcher v1.9.5

/ap/auto_patcher: 66: function: not found
/ap/auto_patcher: 108: Syntax error: "(" unexpected (expecting "fi")

JDK is installed though. What's the solution here?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yeah busybox's awk in version 1.20.0 and 1.20.1 on some builds would spit out all 0s for current minfrees so I added a check into the script to make sure that awk can do math... heh.

Oh yeah I had asked the dev for baksmali/smali (JesusFreke) about running them on the device itself... since I had found this thread... http://xdaforums.com/showthread.php?t=904548

He replied... and unfortunately there are some issues with smali - there seems to be a bug in dx that produces invalid bytecode for smali.

So it doesn't seem possible to successfully do it all on the device itself.
[Android Software/Hacking General [Developers Only]] mateorod:
This was written for bash. Run it like I have in the examples all over this thread.

./auto_patcher <YOUROMSNAME>.zip MODtype

i.e

./auto_patcher cmunofficial.zip pdroid

For usage issues, read the OP
[Android Software/Hacking General [Developers Only]] wbedard:
I just tried it on an deodexed version of the Google Nexus JRO03C OTA ROM (http://xdaforums.com/showthread.php?t=1737849).

The patch was going along clean until it got to building the ramdisk where it just hangs at the patch command:

...

### apply core.patch ###

### apply services.patch ###

### apk patch pdroid/aosp-jb/latest ###

### rebuild framework.jar ###

### rebuild core.jar ###

### rebuild services.jar ###

gzip: ../boot.img-ramdisk.gz: No such file or directory

### applying boot.img patch ###

... applying init.rc ...

The text leading up to this was:

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

|--- a/init.rc 2012-07-24 08:30:41.117467102 -0500

|+++ b/init.rc 2012-08-06 13:16:20.508878999 -0500

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

File to patch:

...any thoughts? Keep up the great work! You're giving me hope...:>)
[Android Software/Hacking General [Developers Only]] pastime1971:
could you post the boot.img only ?

it takes me too long to download the whole rom.
[Android Software/Hacking General [Developers Only]] mateorod:
I was literally typing this same thing, watching the depositfiles download crawl (as well as fill up my HD, I have almost 180 gigs devoted to this project...it's need cleaning SO BAD!)

Please post your auto-patcher log, too. Pastime, lets look into having the log report system info, i.e. OS and bit info. It will be helpful for debugging issues with the binaries should they appear...

Edit:

Requirements for best debugging help:

OS info (platform, bit (32 or 64))

Auto-Patcher Log

Zip of framework (services, core, and framework.jar)

If patching boot.img (aosp-jb or insecure mods)

add boot.img to frameworks zip
[Android Software/Hacking General [Developers Only]] wkwkwk:
Thanks, here are the steps I took:

Patched the CM zip with autopatcher-1.6.0.

$ ap/auto_patcher cm-10-20120820-PREVIEW-n7000.zip pdroid
### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
### probe rom type ###
inflated: system/build.prop
Determined cm10. Using cm10 latest 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/cm10/latest ###
### apply framework.patch ###
The next patch would create the file 'smali/android/app/ContextImpl$39.smali',
which already exists! Skipping patch.
1 out of 1 hunk ignored
... apply preloaded.patch ...
### apply core.patch ###
### apply services.patch ###
### 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
$

Restarted in recovery, cleared data (factory reset). Started android just fine and the initial configuration appeared. I enabled ADB and restarted in recovery. Applied the update.zip patch and entered the bootloop.

I've attached the logcat taken after update.zip was applied (zipped as unpacked it's almost a meg).

Thank you
[Android Software/Hacking General [Developers Only]] cdkg:
I am using Cygwin Terminal and am also getting error:

### verify tools ###

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

!!! error: Missing "cpio (JRE)"

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[Android Software/Hacking General [Developers Only]] mateorod:
Run the Cygwin iinstall .exe again (it can run over your current install, I think) and search for and install cpio, which is an archiving utility.

Let us know how it goes.
[Android Software/Hacking General [Developers Only]] cdkg:
Good call. Followed your instructions and it worked perfectly.

I Still cant compile the cm-10-20120820-NIGHTLY-toro or aokp_toro_jb-build-1, but it's trying.
[Android Software/Hacking General [Developers Only]] mateorod:
Okay, this is good news, I think. You are saying that with the installation of the cpio binary the autopatcher runs on cygwin. That is good, was hoping the binaries we pack in the autopatcher would work in that environment.

For those of you having trouble patching Official nightlies, logo around for an unofficial build. There is a commit somewhere in the cm distributed builds that continuously breaks our patches. You shouldn't lose any functionality running an unofficial build, and we will continue to try to figure out how to mimic the Official

builds so we can include support for them.

The last time we had this problem, the issue was solved in the builds for a few days later, let's hope that repeats itself.

Any OSX users try the test release yet? We would especially appreciate a run through of the boot.img patching. Try just the insecure mod type, it runs to completion in under a minute. Thanks everyone.
[Android Software/Hacking General [Developers Only]] scutworker:
Hi, I have problems trying to patch a JellyBean AOSP ROM for my HTC Desire. It's this one:

http://xdaforums.com/showthread.php?t=1766550

I'm trying to patch for PDROID only. It gets to the patching section at 'applying int.rc' then asks for a 'file to patch'. I'm not sure what to select, so I enter the ROM name again, it then states that there is no such file or directory. I don't know what to do next.

OS: Windows XP 32 bit

Zip and log attached.

Thanks for any help you can provide.
[Android Software/Hacking General [Developers Only]] karamelos:
I have an error with pdroid addon when I flash update.zip

-- Installing: /sdcard/script/update.zip

Finding update package...

I:Update location: /sdcard/script/update.zip

Opening update package...

Installing update...

line 5 col 1: syntax error, unexpected $end, expecting IF or STRING or '!' or '('

1 parse errors

E:Error in /sdcard/script/update.zip

(Status 6)

Installation aborted

I am on cm9 paranoidandroid v05

No error when I create it

Edit posted more details to night