yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] l3ullseye:
Problem patching the Feb-19 version of this ROM

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

http://codepad.org/yNJyPBPu

Thanks
[Android Software/Hacking General [Developers Only]] MachinTrucChose:
Trying to patch AOKP 4.2.2 with OpenDroid, it failed to patch GsmServiceStateTracker.smali.

The Auto-Patcher v2.7.5

### 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= aokp ...
... Using aokp patches ...
... openpdroid patch date has been set to: 20130209 ...
### 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/aokp/20130209 ###
... copying system/app/Mms.apk ...
... overwriting system/app/Mms.apk from openpdroid ...
... copying system/media/PDroid.jpeg ...
### jar patch openpdroid/4.2/aokp/20130209 ###
... 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 ...
### rebuild jar ###
... rebuild framework.jar ...
... rebuild core.jar ...
... rebuild services.jar ...
... rebuild telephony-common.jar ...
### create update-aokp-mako-20130210-openpdroid.zip ###
### finished ###
flash update-aokp-mako-20130210-openpdroid.zip to install the patched files
flash restore-aokp-mako-20130210.zip to restore the original system
[Android Software/Hacking General [Developers Only]] mateorod:
I guess this is some kind of port? I don't recognize the prefix. Might not be supported. Is there a more recent rom? That is from january, we just remade those patches for upstream fixes.

You are having the exact same problem as one person above you...which I have not seen before. Could you upload your whole log please as well as a link to your rom? Somewhere in here we have exposed or introduced a bug, perhaps in a merge. But this feature has been working perfectly for almost five months, so something is different. I will look at it today. You should be able to patch manually as well

./auto_patcher ROM.zip openpdroid aokp 20130213

You can use ./auto_patcher -h advanced to see available patches and dates while I try and get to the bottom of this.

That is not a problem. i honestly don't know how I could be clearer with this. I have tried everything. The last thing to do is to just not tell the user that I am doing this...but if I do that then I will have to cut out a lot of the flyers I take with this method and they are sometimes the only thing that lets us port.

Just flash the zip, you are set.

Edit

Oh yeah...v2.7.9 has been pushed to ApG and github, but not to our download page yet.

It has 4.2.2 Evervolv support and 4.2.2 support for all supported roms and mods except tabletUi, which is still on backburner due to PDroid stuff. So v6supercharger, voice, 3gdongle and the rest are ready to be used on 4.2.2

When I figure out what is going on with those build query errors and rebuild CM, I will push 2.8.0 to our download page. If you are using Cyangenmod, there is a new error (as you can see above) so use a 4.2.2 rom from the 0216 or before until I get a chance to push new patches.
[Android Software/Hacking General [Developers Only]] mateorod:
I think I know what is happening here. I added a feature for 4.2 without backing it up for 4.1. There is also an open question as to whether the latest patches for cm10 are working as they should be. At various points since a merge of FM radio on 0209 new patches of telephony have resorted in FCs. I can use older patches for 4.2, but for 4.1 all of those changes are smashed into one patch and are harder to separate.

Would you elimanate a point of failure and try swapping the MMS.apk in the update.zip with the one in your ROM and reflashing? If still a boot loop, a log cat is really needed for better support.
[Android Software/Hacking General [Developers Only]] spartan_107:
Bootloop after flash

Swapped the mms.apk files flashed but still get the bootloop. How do I get a logcat? sorry bit of a noob. I have the tools for adb.
[Android Software/Hacking General [Developers Only]] D-m-x:
So, i was about to try out Xylon Rom on my N4, and since the Auto Patcher doesn't work i was wondering if this apply sfor all Xylon Roms or only on the GNex. If it is Problem with the Rom i will stick with AOKP since a ROM wouldn't be complete without OpenPDroid :D
[Android Software/Hacking General [Developers Only]] brGabriel:
Glad to hear there is a glimmer of hope for tabletUI, perhaps in the future. I know there are a lot of Nexus10 users still asking about it. :fingers-crossed:
[Android Software/Hacking General [Developers Only]] spartan_107:
Bootloop after flash

Hey sorry didn't realize i could attach files here i have'nt used xda very much before now. Apologies. (I put the logcat in a .zip file cos it exceeded the max size for a .txt file)
[Android Software/Hacking General [Developers Only]] mateorod:
Thanks spartan...this will help. We had this working fine forever so we should be able to get to the bottom of this. Yours is the only boot loop I know of. I will look into it tonight.
[Android Software/Hacking General [Developers Only]] mateorod:
Yeah, I have been feeling bad about notnhavingntime, but the upstream breakages have really kept me hopping. I promise to give it some of my time. Hope your Mardi Gras was as nice as mine...

And I found the problem. Gotta love when someone takes the to upload the logcat. It is related to me not making big enough changes after the FM radio was merged. I know just how fix it, it will be in 2.8.0 hopefully tonight.

Thanks spartan.
[Android Software/Hacking General [Developers Only]] spartan_107:
Bootloop after flash

Thanks for the awesome support! :)
[Android Software/Hacking General [Developers Only]] quantaZ:
i tried patch manually with openpdroid, failed too

logcat attached as log20130220101623.txt

rom link

another logcat is from aosp rom which i also got error during patch

rom link
[Android Software/Hacking General [Developers Only]] mateorod:
No problem...thanks for the logcat, it saved me from having to thrash around figuring it out manually.

Okay, see I couldn't reproduce that error from before...and it doesn't look like it happened to you again either....weird. The first log is just that the upstream patches broke for cm on the 0219, just your bad luck to try it. But the new release (look below) fixes that. For the AOSP log, I think that first error must have been some sort of fluke? I couldnt reproduce it, and the code that handles that hasn't changed in a really long time. Maybe a bad download. Either way, the patch failures of your two attached logs can be resolved as

log 1

Use the 2.8.0 release...cm 20130219 patches

log 2

Those patches you manually chose are for 4.2.1, the new 4.2.2 patches fix those errors, aosp 20130213. Should be chosen automatically. If you encounter the same problem again, maybe just download the new 2.8.0 and then try. I hate to send you on a wild goose chase, but I couldn't replicate the problem and it doesn't appear again in the logs you just posted...

...okay...

New Auto-Patcher v2.8.0 is out to ApG now. Our download page in maybe 15 mins.

Improvements include:

Some reorganizing of internal file structure. This is always a possible bad idea due to the million things that can go wrong. Report weirdness! managing symlinks to try and keep the file size down makes this difficult. It wouldn't be such a big deal if we didn't have to carry 20 Mbs of binaries for apktool!

New CM10.1 patches (20130219) to fix latest breakage.

Fix for bootloop in certain CM10 situations for roms from 0209+ (Thanks spartan)

Still TODO

Look at GNex and Milestone

TabletUI

Perhaps fix phone FC problem from 0209 in CM10 (Xperia and maybe others)...hopefully sparta will let me know.

Look at a few new mod requests (bitsra and others)

If you have any other things you need, post and I will add to TODO list although time is obviously short right now.
[Android Software/Hacking General [Developers Only]] spartan_107:
Autopatcher Openpdroid patching error

New error popped up when trying to patch my rom for openpdroid. http://codepad.org/M2uGu6hr
[Android Software/Hacking General [Developers Only]] JobSup:
Tried to patch a current CM10.1 for the ZTE Blade (openpdroid cm) under Ubuntu with the current auto-patcher from GIT. It ends in an error message that Mms.apk is missing. Complete logfile attached. Mms.apk is present. Logfile attached.

--

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

!!! error: system/app/Mms.apk is missing in the patch. Please upload your logfile to the support thread!

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

--

What is going wrong here?
[Android Software/Hacking General [Developers Only]] scutworker:
All working well on Evervolv 4.2.2.

Cheers!
[Android Software/Hacking General [Developers Only]] brfsa:
I cannot patch Slim Rom 4.2.1 Stable 1.0

./auto_patcher ../Slim-grouper-4.2.1.stable.1.0-OFFICIAL.zip openpdroid

here is log file:

http://pastebin.com/ARrLk50b

also attached it.

thanks a lot for the great work on this. I'm still on Slim Rom 4.2.1 RC2 because auto-patcher worked on that rom. Haven't upgraded yet because I openpdroid is worth having it...

cheers.
[Android Software/Hacking General [Developers Only]] BarryBingo:
Just patched openpdroid on lastest cm10.1 nightly for i9300 cm-10.1-20130219-NIGHTLY-i9300.zip

Git repo for auto-patcher is still on v2.7.9 so I had to pull 2.8 from techerrata ????

Still a failure on CdmaServiceStateTracker.smali but as I understand this is only for MMS I continued anyway.

So far so good - been using for 45 mins testing out that the privacy works with some basic checks.

Thanks for the good work - I only install ROMS when openpdroid is working.
[Android Software/Hacking General [Developers Only]] mateorod:
Whoops. I wrote the changes, but forgot to push them to github. The download page has the correct package and I just pushed 2.8.0 to github. See, this is why I release so often, and bump to version numbers for every change. Otherwise this type of thing would drive me mad.

This should give you a flash able update.zip spartan...but hopefully no FCs. Let us know.

Okay...they hadn't pulled anything that would have broke the patch when I checked on the 13th when I made the other patches. This angers me some too...why release a new 4.1.2 after Android 4.2.2 comes out???

I am sympathetic to the users...but if I made new patches they will just break when SlimRom finally joins the rest of the world with 4.2.2. I will build for your the new 4.1.2 if I can find out the computer time, that is all I can promise.

Good catch. Been rectified now. Glad it is working...the CDMA file isn't strictly a failure...it has just been resolved in a different manner. Everything on your phone will function as usual.
[Android Software/Hacking General [Developers Only]] D-m-x:
Just bringing it up again if you missed my post.Or maybe it is already on your todo list do look into it!?
[Android Software/Hacking General [Developers Only]] burny:
Hi mateorod, i just tried to patch CM10 (JB4.1.2) FXP206 again for my Sony Xperia Ray (urushi), with the latest autopatcher (2.8.0) via ApG.

It ran through again, but i'm still running into a bootloop if I apply the patch.

This time, I got a logcat (first had to find out that I have to boot the clean rom first and enable USB debugging before I can do a adb logcat ;) )

The logcat is pasted here:

http://pastebin.com/2VDGkiWB

The autopatcher log for this patch (latest patchdate, 20130209) is here:

http://pastebin.com/r4dkSKm6

The autopatcher log for this rom with patch date 20130201

http://pastebin.com/ZHavheDA

I hope this helps for debugging..

Thanks, Berni
[Android Software/Hacking General [Developers Only]] mateorod:
No...it is just that I am in no better shape to answer that than you. By virtue of you attempting to patch that rom for your GNex, you are now the world's foremost authority on the cross-section of xylor roms and The Auto-patcher. Congratulations!

Try and further your knowledge base by giving that rom and the N4 the old college try. We can hope, right? We also just updated the patches, so maybe they will patch. but if you are asking if I will expand support for xylor, the answer is probably no.

Especially with all of the latest breakages, each rom i carry is probably a 5-6 hour chunk of my life for each break. The patches have broken 4 times this month and I carry 6 roms. You can do the math on that and see I am at the breaking point. I need to devote my time to eliminating romtypes, not supporting more of them, sorry.

Ahh...thanks for the detailed report! I can do something with this. That FM radio commit was so large, it was really difficult to integrate. This is actually a problem with the merge of OpenPDroid source and CM10, not exactly the auto-patcher. I will take it to the OpenPdroid team and we will get it fixed as soon as we can.
[Android Software/Hacking General [Developers Only]] spartan_107:
Bootloop

Running into a bootloop again. Will upload the logcat when I have time later.
[Android Software/Hacking General [Developers Only]] dirtyreturn:
@mateorod. I would like to help you out. Where can I start? I've never built a rom before. If you don't mind having a learner on your team, I'm all for it. Thanks.
[Android Software/Hacking General [Developers Only]] karamelos:
Go back in few page a go i posted link for build cm10 & over

On xda forum you have some thread for starting & for your device.
[Android Software/Hacking General [Developers Only]] wbedard:
Google provides one of the best step-by-step guides available.

http://source.android.com/source/initializing.html

R/

wbedard
[Android Software/Hacking General [Developers Only]] :
Getting error patching OpenPdroid on ParanoidAndroid RC4 for N7000:

LOG:

http://codepad.org/t9VyjV4Q
[Android Software/Hacking General [Developers Only]] spartan_107:
Pdroid and Pdroid2.0 patch fail.

Thought Id just put this out there. When I try to patch my rom for Pdroid/Pdroid2.0 I get this error. Heres the logs.

Pdroid: http://codepad.org/5o2Y3kgO

Pdroid2.0: http://codepad.org/kKOSGHpA
[Android Software/Hacking General [Developers Only]] Zirias:
My log looks very similar:

[...]
... apply services.patch ...
139 out of 145 hunks FAILED -- saving rejects to file smali/com/android/server/ServerThread.smali.rej
[...]

(some more reversed and therefore ignored hunks in framework.patch)

but this is on a AOSP rom (Sensation SuperXE 4.2.2).
[Android Software/Hacking General [Developers Only]] quantaZ:
thanks mateorod.

a aosp rom sound patched with v2.8, but the other one (rom here) just failed.

i tried as suggest with cm 20130219

here is the log

http://codepad.org/7bErDkIh
[Android Software/Hacking General [Developers Only]] brfsa:
ok, thanks a lot if you have the time.

That Slim 4.2.1 was the last 4.2.1 release, very stable and many bug fixes, because 4.2.1 RC2 has some bugs that needed fixed asap.

I think he was working on that stable release for a while, and then 4.2.2 came out. So slim was released with stable 4.2.1. it will be a while untill 4.2.2 come out I believe.

Thanks for your time and work on it.

---------- Post added at 06:13 PM ---------- Previous post was at 06:06 PM ----------

ok, looks like Slim Rom 4.2.2 is coming soon: https://twitter.com/slimroms/status/303540980458594306

sweet.
[Android Software/Hacking General [Developers Only]] vitocor:
@ Mateorod

From my standpoint view there is now no need anymore to put hard work in the slim 4.2.1 stable version and bring it to run with openpdroid.

I will be in near future happy eneugh to have a working slim rom 4.2.2 run with openpdroid.

Greetings

Vito
[Android Software/Hacking General [Developers Only]] Koetermann:
Hi there,

got issues with the new version, too:

!!! 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) YES
... 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-m0-20130221-openpdroid.zip ###
### finished ###
flash update-cm-m0-20130221-openpdroid.zip to install the patched files
flash restore-cm-m0-20130221.zip to restore the original system

But it wasn't possible to install the update.zip in recovery mode.
[Android Software/Hacking General [Developers Only]] Itcouldbeyou:
That shouldn't be a problem.

What exactly is your problem in recovery? What is the problem installing it? The exact error message?
[Android Software/Hacking General [Developers Only]] karamelos:
wait,

if user want build & patch go here

repo init -u git://github.com/SlimRoms/platform_manifest.git -b jb4.2

For supported devices:

http://www.slimroms.net/index.php/supported-devices

@mateorod

I uploaded news files for n7000 (build 20130221) & for nexus7 (build 20130220) wait in progress .
[Android Software/Hacking General [Developers Only]] mateorod:
I have no problems with learners, or helping to teach. My time is spread out but if you can treat our support conversations as 'multi-player notepad' then we can move along. Karamelos and wbedard have left links on how to get started in several points this week. In my experience, almost every device forum will have a thread for building roms for that device. The hardest part is getting your enviroment set up, Java and ADB and all that. You already have Java since you use the autopatcher.

I do not want to overwhelm this thread with too much building info. We can either start a 'module and maintainers' thread here on XDA, or maybe try and use my autopatcher's github repo 'issues' ares.. I am open to suggestions about a good place to organize the folks that have offered to help. There are maybe 10 of us that will be actively working on the project...pretty neat. It doesn't take much to get involved.

I responded to your pm, but this is an issue with the OpenPDroid merge to CM10 after the big FM radio commit. Essentially, OPenPDroid and PD2.0 are not working on CM10 roms from 0209 and later. We are working on it. I don't think of that as a huge problem at the moment, since you can just use a rom from 0208 and the only feature you lose is FM radio.

If you guys see any CM10 boot loop reports, this is the cause. help me out to spread the word, okay?
[Android Software/Hacking General [Developers Only]] karamelos:
my devices is supported

I test it when my computer is free.

I look for AOSP i got it, build in progress

Last nexus7 cm10.1 added on dropbox
[Android Software/Hacking General [Developers Only]] spartan_107:
Patching Error

Tried to patch an older version of cm10 nozomi (0201) for openpdroid, pdroid2.0 and pdroid. All end with the same error http://codepad.org/GjvmlFaH
[Android Software/Hacking General [Developers Only]] SecUpwN:
AW: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

Is AOKP 4.2.2 by helicopter88 patchable for PDroid 2.0? If so, can someone please provide the working patch for it to me? Thanks button will be pressed hard.
[Android Software/Hacking General [Developers Only]] dkm911:
So Nexus 4 AOSP (like Xylon) has not been supported yet??

Can anyone tell me whether there has a plan?? Thanks!
[Android Software/Hacking General [Developers Only]] karamelos:
Re: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

BUILD .... & sharing patch
[Android Software/Hacking General [Developers Only]] EzZn0:
I am having trouble with install openpdroid on jellybam 5.2.0 AOKP/CM 10.1 ROM on i9100. The android version is 4.2.1
[Android Software/Hacking General [Developers Only]] Caldair:
Thanks mateorod for this awesome tool. I managed to use your tabletUI mod for the latest nightlies of CM10.1 on my Galaxy Tab 2 7.0. When I attempted to do the same for the Tab 2 10.1 (basically the same device except screen size/res) the patches did not work unless the DPI was increased from 160 to 180. Just a little more info about the 2 devices: The 7 inch model has a 600x1024 screen, the 10.1 inch has a 800x1280. Both stock 160 DPI. Don't know if this is useful information in your work towards tabletUI or not. Hopefully it helps. Thanks again. And keep up the great work!:highfive:
[Android Software/Hacking General [Developers Only]] karamelos:
Slim_rom Users

Ok guy's,

Slim_rom 4.2.2 is sucessfully build & patched for n7000 (in record time: 324 min i'have a good computer for build :eek: )

I submit files to @mateorod today
[Android Software/Hacking General [Developers Only]] vitocor:
Hi Karamelos,

Note N7000...meeee Smartphone:D

Does that means when Slimrom bring out the 4.2.2.Rom (it`s not out on their website yet), i and others will be able to patch a update.zip for openpdroid with auto_patcher?

If this is right, YOU will be the hero of my day!

Really nice one:good:

Greetings

Vito
[Android Software/Hacking General [Developers Only]] wbedard:
Re: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

If you would, please describe your computer and Android build setup. With some possible tweaks, I believe you could build much faster (~ 120 minutes)!

R/

wbedard
[Android Software/Hacking General [Developers Only]] karamelos:
The computers is out of age.

I recovered the old machine (generally 1or2gb memory & 64 bits), I repaired and deleted windows data , install linux 12.04 or 12.10.

Then I give computer to associations (ex:http://www.secourspopulaire.fr/)

Or so I turned it into a server or development machine.

In 324 min I forget to cache too oups.

The second is much faster (if not 'clobber')

For Slim_rom User:

I not publish here my last build or update.zip, it's not debugging but openpdroid WORKS (slim_rom team not publishing it for some reason see web site but if want test beta n7000 pm me i upload it to night ).

I sharing files to @mateorod to night for include it.

I think he has got a life & it's a big works to include all support.

So users wait .......... or build :p
[Android Software/Hacking General [Developers Only]] SecUpwN:
AW: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

karamelos, are you including automatic builds for AOKP 4.2.2 by helicopter88? I would love to be able to use PDroid 2.0 again (still no fan of PDroid Manager).