yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mateorod:
If the damn upstream would stop breaking my patches (they were leaving us alone for almost four months until recently) I could get to work on that...I have multiple ideas and even more possibilities...I know that it is possible, the man-hours just escape me.

If any of you follow the OpenPDroid thread, wbedard just put out a call to arms for people willing to join the AutoPatcher team as patch builders. No specialized knowledge needed, really. You just need a computer and the ability (or desire to learn) to build from source. Everything is pretty cut and dried...

As in, your data (3g or 4g) doesn't work? I have not tested this trick myself, but it seems to work for a bunch of the users with this problem. I wonder if it has to do with the fact that the rest of the people using this trick have Samsug phones, while I think you have HTC? Edit...ah. I see you do have Samsung. I was about to add this to the Autopatcher...anyone else seeing data problems after trying AussieLampChops telephony edits?

yeah, I really need to do something with tabletUI. It has had problems for a little while, but the PDroid-stuff has been taking every available second. I plan to look at it, probably for 4.2.2.

Yeah, not exactly unexpected, I guess. What you see in your log is the AutoPatcher's automatic failsafes and error messages. I have basically added most features of a packages manager (conflicts, floor, ceiling, etc) and those are them.

But the patches do fail on 4.2.2, but not by much. Still, there is no shortcut to making patches, we have to rebuild for all roms, I bet. We will roll them out as we make them. I think AOSP is done already, and I will try to do Cm10.1 and AOKP tonight.
[Android Software/Hacking General [Developers Only]] 0xbadc0de:
Autopatcher 2.7.0 doesn't support 4.2.1?

I'm trying to patch an custom 4.2.1 rom with pd2.0 but instead of patching i get this:

The Auto-Patcher v2.6.7

### 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 results of ROM check ...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: Sorry, pd2.0 has not been made available for Android 4.2.1 yet!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

Use ./auto_patcher -h for the help menu

What do i wrong? Thanks!
[Android Software/Hacking General [Developers Only]] AuSSiELaMbChOpS:
Re: [Utility][2.6.65][2/10] Auto-Patcher (4.2.1)

Hey mateorod just wanted to say I haven't had any issues with mobile data using the mod I posted. I have changed Roms to PAC Rom which is a combination of cm10.1/aokp mr1/pa3.00 I believe it's base is cm10.1 as I have successfully patched it by forcing cm Rom type and using the older patch 20130201 for Openpdroid.

It's strange I didn't need to use my mod for this to work properly, just patched normally and flashed and had no issues with the phone process fc, strange because the ril is the same, my issues with pure PA must have been due to the way they build for the i9100?

Sent from my PACified GT-i9100 using Xparent ICS Tapatalk 2
[Android Software/Hacking General [Developers Only]] mateorod:
Yeah, and I haven't seen anyone else mention it either. I feel like someone in this thread said they were using this trick on an HTC phone, but I cannot remember who. I am going to add it to the autopatcher...to be honest I was sort of hoping PA would update their sources and it would go away,

The reason you don't need it anymore is that it only exists with PA, and even then only th PA-AOSP branch. PA have "split" from Cyanogen and rebased their projects on AOSP, but they still have forked and use many Cyanogen repos, including frameworks/opt/telephony, which is where the telephony-common patch is made from. But PA forked the project, and use it in their manifest, but haven't updated or pulled any of the changes from the last several months. So it is just a really old fork. I tried replacing the RIL$Sender, like I do some other troublesome files, but it doesn't sucessfully port that way. I consider it a point of negligence on PA's part. Maybe they have their reasons.

Try 'openpdroid', pd2.0 has not been updated for 4.2.1,m as you see above,
[Android Software/Hacking General [Developers Only]] meisanerd:
Hey, I've been trying to patch Purity 4.4 for the Galaxy Nexus, but it keeps failing while trying to patch ServerThread.smali.

I believe that Purity is AOSP based, but he has added a number of mods from AOKP and CM to it. I get the same error while attempting to patch as aosp, aokp, and cm.

Here is the error log I get: http://codepad.org/IH1Apw3M

Is there anything I can do to help troubleshoot this further?
[Android Software/Hacking General [Developers Only]] W@tcher:
no..i don´t have this issue..statusbar is working fine and i didnt recognized any data-loss imho

the only thing i´ve noticed is a glitch at the appdrawer after using camera-app, which goes away after a while and that recording videos does not function propper...but that might not be in fact of the hack.

edit: omg...wrong place..sorry

@ mateorod

i´ve started to read and learn karamelos links and some more from google how to build roms...it is only a matter of time :fingers-crossed: and my elderly hardware.

have to buy a hdd to setup a virtual machine..then i can start my first steps
[Android Software/Hacking General [Developers Only]] karamelos:
Hi I omitted this one very simply:

Wiki

http://wiki.cyanogenmod.org/w/Main_Page

Some example:

For gt-n7000

http://wiki.cyanogenmod.org/w/Build_for_n7000

For nexus 7

http://wiki.cyanogenmod.org/index.php?title=Build_for_grouper

For galaxy ACE

http://wiki.cyanogenmod.org/w/Build_for_cooper

For search your devices

http://wiki.cyanogenmod.org/w/Build_Guides

for aokp

https://github.com/AOKP/platform_manifest
[Android Software/Hacking General [Developers Only]] yuuzhantar:
If you read at the pdroid2.0 thread, a lot of people are using it with 4.2.1 and it seems to work ...

http://xdaforums.com/showpost.php?p=37957787&postcount=647

so why can't we launch autopatch with 4.2.1 ... ???
[Android Software/Hacking General [Developers Only]] MustGoFast:
Can't seem to get this to work for me on TeamEOS4 Rom on my tablet.

errors here; http://codepad.org/TwV4xOnA#comment-Oa1a5pi5
[Android Software/Hacking General [Developers Only]] mateorod:
For those of you that just posted today with some non-supported roms...I will take a look, maybe on Monday. But the patches were breaking a bunch because of upstream commits...if you are trying to patch a rom thatis not on our supported list, the best advice I can give is try what seems likely first, and then try the rest...doesn't take much longer than 15 minutes to try all the patches for your Android version. Which is faster than I can download and try to see if if may work.

Auto-Patcher 2.7.5

has been pushed to github and techerrrata.

Android 4.2.2 patches for OpenPdroid only right now.

Cm10.1

PA 3.0

AOKP

AOSP

Thanks to wbedard for the AOSP patches! And thanks to those of you who contacted me about joining the team and helping us build some roms. I will be sending you guys some stuff tonight. Don't worry, when crowd-sourced, the work-load can be really light, 20 mins to an hour a month.

Try it and let me know...I will check the other mods later this weekend. I have not yet added the RIL$Sender automation for PA 3.0 Samsung roms...I tried several things, some of which worked for you but broke things for other people...it is actually a really difficult thing to integrate without shifting a lot of what we do with in a big way. For now, you will still have to edit those lines by hand,

As for pd2.0, it isn't so much that I won't, just that I can't. I have spent probably 40 hours (no joke) on this project this week alone, trying to maintain these patches in the face of massive upstream changes. Where would I find the time to double it? And why? CollegeDev and OpenPdroid are merging the two cores, there is no reason to maintain two differently named versions of the same thing...next release of OpenPdroid will have the Pdroid2.0 work that CollegeDev just completed, as well as the work from the other devs that have been contributing to OPD. (go check out the comment threads in the issues list...you will see how far things have come since the code was opened.)

Trust me, this is the best way. PDroid has never been stronger. CollegeDev is joining forces...all good things will come. Be patient, ok?
[Android Software/Hacking General [Developers Only]] MadMic:
Re: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

Awesome news can only be good for this epic project! One question though, will the code stay open source? If I recall correctly CollegeDev was against this...
[Android Software/Hacking General [Developers Only]] D-m-x:
I tried AOKP 4.2.2 from 16.02 and PA 4.2.2. Works like a charm, great and fast work again. Thanks very much!
[Android Software/Hacking General [Developers Only]] mateorod:
The PDroid2.0 app and the open-source alternative PDroid Manager will remain separate. But all of the developers who have been working on PDroid are trying to get together to work on just the single set of framework patches.

So far, the returns have been impressive. The next update for OpenPdroid should be a doozy, as it will fork back in CollegeDev's features plus the security work of the OpenPDroid.
[Android Software/Hacking General [Developers Only]] scutworker:
Thanks for the update. I assume that the list above, whilst including AOSP, doesn't include Evervolv AOSP based roms? I tried it, and it didn't work on a 4.2.2 rom. I've attached the autopatcher log. Sorry if Evervolv isn't ready yet and I misunderstood this.

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

I plan on flashing PA 3.0 and I want to flash a Franco kernel afterward. If I patch the PA rom, flash it and the patch, reboot and then flash a Franco kernel, will I still have full functionality of openpdroid?

TL;DR: Does flashing a kernel different from the one packaged with the patched rom change anything?
[Android Software/Hacking General [Developers Only]] juggies:
The autopatcher does not modify the kernel. So you will not lose openpdroid functionality with a new kernel.

Auto-patcher is also working great for the current 4.2.2 PA 3.0 build, you should have no issues at all.
[Android Software/Hacking General [Developers Only]] bitstra:
@mateorod

1st thanx for the latest version of auto_patcher! works like a charm with paranoid 3.0 (4.2.2 Nexus 4)!

Could you insert the 'BlackBerry 10 lockscreen MOD', as shown and described here, in one of your future releases ? It look great and it would be nice to have it...

thanx in advance

bitstra
[Android Software/Hacking General [Developers Only]] burny:
Hi mateorod,

I just tried patching the two most recent FXP CM10 releases (FXP 206 and 207), as well as the latest CM-release (cm-10-20130210-NIGHTLY-urushi.zip) with ApG, using Autopatcher 2.7.5. My phone is the Xperia Ray (Urushi).

The patch went through,

http://codepad.org/K8NZe7tm

but after applying the update.zip, my phone won't reboot anymore. It's stuck at the cyanogenMod boot screen, and the notification LED flashes pink every 6 seconds or so.

I already tried replacing the mms.apk, but since this would only fix FCs of the phone app, it doesn't help me.

I know you've got lots of work with all those upstream changes, and i really don't want to bore you, but maybe my log can help you with further bugfixes.

Thanks a lot for one of the best tools ever, and this includes CollegeDev as well, as I'm still on PD2.0 since OPD doesn't patch correctly yet :)
[Android Software/Hacking General [Developers Only]] wian:
autopatcher working great: i9300 with CM 10.1 nightly (4.2.2)

After following pdroid 2.0/openpdroid and autopatcher threads for a while, I decided to give it a go with the latest CM10.1 nightly on my i9300. Of course, the expected error came up:

============================================================================================

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 ...

============================================================================================

But after that the build went on and was successful. I did a full erase in clockwork recovery, then flashed cm10 and openpdroid.zip. It works fine including camera, no problems so far. My SGS3 running smoothly with android 4.2.2 and openpdroid.

A big Thank You to all the people who make this possible. It's great to be able to take control over your device and applications.

One question: what is the best/easiest way to upgrade to a new CM nightly or openpdroid. I've already bought titanium backup, but I'm unsure if a backup with that is enough to keep all settings.
[Android Software/Hacking General [Developers Only]] dirtyreturn:
patching unsuccessful http://goo.im/devs/bigxie/maguro/bigxie_maguro_OTA_JDQ39-signed.zip rom http://codepad.org/xzKmZHuB log
[Android Software/Hacking General [Developers Only]] karamelos:
For the last one delete mms.apk in zip or replace it with the original (root explorer)

Android 4.2.2 broken many patch after a long time without bug.

@mateorod work on but it's a big job

You have a n7000 I have build 4.2.2 cm10.1 with pdroid2 if you want test pm me

Edit: finally is buggy not able to distribute
[Android Software/Hacking General [Developers Only]] wbedard:
Hey mateorod,

I don't have the Camera or MediaRecorder apks in my AOSP builds. Do you know what's going on with those failures from autopatcher?

R/

wbedard
[Android Software/Hacking General [Developers Only]] W@tcher:
AW: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

here you have to edit at least 3 lines manually..look at post #2036

Gesendet von meinem GT-i9100
[Android Software/Hacking General [Developers Only]] baastien:
Re: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

Yep thanx,

But with this I still have data and mms sending issues.

Envoyé depuis mon GT-N7000 avec Tapatalk
[Android Software/Hacking General [Developers Only]] Didgesteve:
Slim 4.2 stable

The latest version of Slim 4.2 stable is out, and it looks like it's broken the patches :(

I wish I could be more useful, other than just occasionally posting 'it doesn't work'

Do you have a guide as to the help people can give compiling roms?

Thanks.
[Android Software/Hacking General [Developers Only]] W@tcher:
AW: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

some posts above karamelos posted some links in 2 posts

Gesendet von meinem GT-i9100
[Android Software/Hacking General [Developers Only]] nsmart:
If you are looking for older (> 5 days) versions of your rom take a look at http://goo.im/devs. The folder for the cyanogenmod-roms is "cm".

The nightlies for i9300 can be found here http://goo.im/devs/cm/i9300/nightly
[Android Software/Hacking General [Developers Only]] Didgesteve:
The links are for building CM on a N700

I have a SGS2, and Slim is aosp

But thanks
[Android Software/Hacking General [Developers Only]] W@tcher:
here are the two posts...and more will be found too..

first

second that you might found
[Android Software/Hacking General [Developers Only]] W@tcher:
AW: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

@devs & all using pa+opd with sammy-devices

a friend asked me why i didn't take his calls..and here is why

if manual hack is used due to prevent abort of patch process there's no incomming calls!!

can't test outgoing atm bc no prepaid-cash.

set back all my pd2-settings and disabled droidwall..still no calls..

flashed restore.zip..now calls are coming!

have someone else this? don't wanna miss pdroid+pa!

ap 2.7.0 with patch 20130208 was used

Gesendet von meinem GT-i9100
[Android Software/Hacking General [Developers Only]] karamelos:
Re: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2) & good firewall

R

Hi

Just one point

if you using droidwall & pa, you use 4.*.* or droidwall has make for gingerbread (&not updated

, see github comment for possible fail & exploitation &

The original owner and creator Rodrigo Rosauro sold droidwall to AVAST in december 2011

).

For use a good firewall with 4.*.* USE Afwall

Short linked for Lazy user :p

https://play.google.com/store/apps/details?id=dev.ukanth.ufirewall

donate

https://play.google.com/store/apps/...EwMiwiZGV2LnVrYW50aC51ZmlyZXdhbGwuZG9uYXRlIl0.

Thread xda:

http://xdaforums.com/showthread.php?t=1957231
[Android Software/Hacking General [Developers Only]] kobik77:
ApG 2.6.0.1 is out

Prompts whenever a new ApG version is out

Disable update and manual patching buttons during update to eliminate weird issues that might be caused because of this

Been asked to add proxy support for downloading from GitHub, so this is an experimental version of this (I'll add a support also for Dev-Host if I'll be asked)

A new parameter called HTTP_PROXY is now added to ApG.ini file, so you can put your proxy details in there
[Android Software/Hacking General [Developers Only]] bitstra:
@mateorod

I'm very impressed! You answerd all quests/requests of last few days. That's really great!

Thank You for the few word to your todo list :)

Hope, you can have some hours without coding ;)

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

Hi W@tcher I couldn't get the 20120208 patches to work correctly using the manual patch, there are extra access$200 references that appear outside the RIL$RILSender.smali section and I had issues with that. The 20130201 version of the patch worked fine though no issues with SMS or calls. Sorry if it caused you problems with taking calls using the patch method I provided.

Sent from my PACman GT-i9100 using Xparent ICS Tapatalk 2
[Android Software/Hacking General [Developers Only]] mateorod:
yeah, I guess it isn't supported if you tried them all. I was going to tell you to check the 0213 patches, but those are all 4.2.2, so the 0201 for aosp and the 0209 for the rest would be your best bet (all of which are automatically tried by patcher)

Look in your device forums...installing the JDK is the hardest part (for real). And you already have that for the autopatcher, so you are close. You need OSX, Linux or a Virtual Machine, though. 64 bits. VirtualBox is free.

Wow, that would do it. I actually don't know what manual mode does, I guess. Looks like kobik is on it (see above). I thought that manual mode just jumped to the command line. I guess not. I only got to try ApG a couple times when I had a windows box at hand for a weekend. It is a great program though...I bet 85% of users use autopatcher through ApG.

As always, thanks kobik. I looked at what we talked about, and I don't think it will quite do it for us, or if it could be made to, it would probably take me more work than the stuff we already have at hand. Now, perhaps an ideal world would use both, but I am not sure I am ready to ask the end users to do that much. i will shoot you an email later.

Also, I have sent a pm to the people that I saw volunteer to join the team. If you volunteered and I missed you, or you already build roms and feel compelled to join, send me a pm. Get your name on the OP! :p
[Android Software/Hacking General [Developers Only]] W@tcher:
AW: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

ok..thx for the tip with afwall :thumbup:

not at home..so i can not test with latest autopatcher.

but i can do a clean flash of pa3.00 (4.2.1) - test call - flash update.zip from 2.7.0 - and test again

report will come

Gesendet von meinem GT-i9100

---------- Post added at 10:08 PM ---------- Previous post was at 09:55 PM ----------

don't worry..you did help me getting the patchprocess done :D

will try it with the 20130201 too

Gesendet von meinem GT-i9100
[Android Software/Hacking General [Developers Only]] dirtyreturn:
Re: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

02/17 CM nightly 4.2.2 patched fine. If that helps out?
[Android Software/Hacking General [Developers Only]] W@tcher:
ok..went back to home instead of being with a woman.. :screwy: damn..i had to stay :banghead:

even with a clean full wipe and the 20130208 nor 20130201 still no calls :crying:

without patch - no probs

what should i do more? i feel clueless :(
[Android Software/Hacking General [Developers Only]] dirtyreturn:
Re: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

You should have stayed.
[Android Software/Hacking General [Developers Only]] W@tcher:
AW: [Utility][2.7.5][2/10] Auto-Patcher (4.2.2)

Jep..no gain without pain..but sometimes you loose your brain
[Android Software/Hacking General [Developers Only]] satanwyj:
I can't patch my cm rom with pd2.0 or openpdroid
[Android Software/Hacking General [Developers Only]] W@tcher:
read this carefully..especially the red part..and try it again

maybe thats it
[Android Software/Hacking General [Developers Only]] nsmart:
Seems like upstream breakage occurred again between 02-17 and 02-19 for cm-mako rom and openpdroid patches (logfile attached).

The rom from 02-17 was working perfectly fine with openpdroid. Maybe the transition from 4.2.1 to 4.2.2 isn't completed and it takes some more days for things to settle down?

!!! PATCHING FAILED FOR android/provider/Settings$Secure.smali' !!!

!!! patch error for android/provider/Settings$Secure.smali' !!!

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

!!! error: failed android/provider/Settings$Secure.smali' in framework.jar cannot be remedied

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[Android Software/Hacking General [Developers Only]] satanwyj:
I'm try patch under Ubuntu，still won't work
[Android Software/Hacking General [Developers Only]] quantaZ:
when applied for aokp 4.2.2, i got below error message

The Auto-Patcher v2.7.5

### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
inflated: system/build.prop
... result of ROM check: RIL= QualcommSharedRIL
### probe rom type ###
... result of ROM check: version= 4.2.2 rom= aokp ...
... Using aokp patches ...
./auto_patcher: line 543: [[: ?????: syntax error: operand expected (error token is "?????")
./auto_patcher: line 546: [[: ?????: syntax error: operand expected (error token is "?????")
ls: cannot access patches/OpenPDroid/all/generic/: No such file or directory
... OpenPDroid patch date has been set to: 20201231 ...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: OpenPDroid is not available
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

the following is from log

... result of ROM check: RIL= QualcommSharedRIL

### probe rom type ###
#### Standard Build Query ####
# VER= v2.7.5
# OS= linux-gnu 64bit
# VID= 4.2.2
# PID= OpenPDroid
# MID= aokp_endeavoru-userdebug
# RID= aokp
# ANDR= 4.2
# BDID= 20130216
# DID= endeavoru
# BID= 20201231
Patches are OpenPDroid/4.2/aokp/20201231

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

!!! error: OpenPDroid is not available

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[Android Software/Hacking General [Developers Only]] Itcouldbeyou:
I just have to say many thanks for this effort. Openpdroid works like a charm on my i9100 CM10.1.
[Android Software/Hacking General [Developers Only]] W@tcher:
oh sorry..missunderstood log & merged with ms..c-users-xyz.. :silly: