yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Caldair:
Thanks again for working with me on getting this fixed! :highfive:

Thanks to dlumberg's help tabletUI is now working on asus tf101!

This same problem was definitely present for other devices as well, like Nexus 7 (Grouper) for sure. Patching is now successful for official CM for said tablet, but I will have to wait for confirmation that the tabletUI patches work as expected.

Thanks to mateorod for pulling in these changes so fast, you can try it with ApG now!
[Android Software/Hacking General [Developers Only]] kobik77:
Next time hit the manual update button and upload ApG.log and ApG-old.log so I can debug this.
[Android Software/Hacking General [Developers Only]] rizocreations:
why wont this work

nvm i fixed it
[Android Software/Hacking General [Developers Only]] wafro:
Hi there mateo (and all the other devs/contributers),

thanks for your hard work on this project!

I have to report a bug with ParanoidAndroid 3.10 for Samsung Galaxy S3. I attached some logs with different auto_patcher versions. It's still the 'telephony'-error.

I have already tried the workaround from AussieLampChops. Whenever a new auto_patcher version came out I tried it with and without this workaround but it still not works.

I also noticed some bugs while using my phone with openpdroid patched.

the signal strength was very low (settings > about phone > status, got a signal strength of 235835xxxx dBm and 255 asu, so very bad signal)

sending sms don't work (service not reachable)

nobody can send me messages, nobody can call me

if i make a call and the other side is not responding (and I click 'hang up') or the other one hangs me up the phone doesn't terminate the call. The phone is still beeping and beeping ;)

performance issues

higher battery drain (?)

Well, the performance issues (like lagging while swiping screen) I think comes from openpdroid. Haven't encountered such problems without the patch. I'm not sure if the higher battery drain belongs to openpdroid or if it is just a placebo effect of my mind, will do further researches ;)

I know you will try to fix this, so many thanks in advance!

With best regards

John

edit

forgot to say something. To make sure I haven't misconfigured my openpdroid settings I purged them (and deleted them manually just to be sure) but it didn't fixed anything.
[Android Software/Hacking General [Developers Only]] karamelos:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

Hi

Many factory included in your sentiment ! (First full-wipe or not )

For the first point:

Look your modem

Second & 3\4 point

For SMS past log when you sending (grab with logcat)

Look your APN config

For performance some latency existing , the price of privacy :D

For battery drain http://xdaforums.com/wiki/Wakelocks

Post a valid & direct link of your ROM .
[Android Software/Hacking General [Developers Only]] wafro:
Thanks for your fast response karamelos. In case my answers sounds unpolite, sorry for this I just will short answer your suggestions ;)

tried many different rils and radios.

done a fresh install back then. system, cache and dalvik wiped for 3 times (... call me paranoid :P)

Will do this in near future.Gone back to ParanoidAndroid 2.54 (Android 4.1.2) for now. The correct error message for this was 'service unavailable'. Maybe a problem belongs to the signal strength?

That's true and it's not a problem for me. But privacy doens't mean to be unable to send messages or doing any calls :P And just mentioned this because I know there were some performance issues with openpdroid in the past.

Yep I know about this. But as claimed in my previous post I'm not sure if these belongs to openpdroid, therefore I put an '?' at the end of this point. Maybe Android has higher battery drain or the kernel I used on older android versions went smoother with the battery. Meh, this is going too much off topic now, but be sure I doing my best to keep my battery drain as low as possible. ;)

I will monitor this. :)

Here you go. No direct link but link to the thread

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

And just keep in mind without openpdroid all is working fine and without any problems. (I'm wondering why you said most problems are on factory side, or did I misunderstood this?)
[Android Software/Hacking General [Developers Only]] karamelos:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

grab & past log
[Android Software/Hacking General [Developers Only]] hellunn:
This seems to affirm that the problem caused by paths with spaces present in that damn old version is still present in recent ones.
[Android Software/Hacking General [Developers Only]] LordHelmchen138:
I'm afraid I have to report a fail. Using ApG.2.6.0.2 and had it redownload everything from scratch.

Mod is HB2_Franzy_Build-40.1[B_23-03].

log is at http://codepad.org/09LeXa7C.

Going through the commandline, I was also able to see an Exception being thrown:

... installing framework files ...

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:

spec=0x0108006c drawable/progress_horizontal, config=[DEFAULT]

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:201)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:562)

at brut.androlib.Androlib.installFramework(Androlib.java:473)

at brut.apktool.Main.cmdInstallFramework(Main.java:250)

at brut.apktool.Main.main(Main.java:81)

... decompile Mms.apk ...

Hope it helps you to help me :)

in any case, thanks for all your work on the project.

Update:

cm-10.1-20130326-NIGHTLY-galaxysmtd.zip worked (after offering to use premade copy of CdmaServiceStateTracker.smali)

Hellybean-20130323-galaxysmtd.zip throws the same exception.
[Android Software/Hacking General [Developers Only]] pommegmx:
Milestone 2

Hi Mateorod,

I just want to know if you have (good :angel:) news about this.

Thanks for your work ! :)
[Android Software/Hacking General [Developers Only]] kobik77:
Problem was solved on autopatcher side.

Just hit the update button to get the fix.
[Android Software/Hacking General [Developers Only]] l3ullseye:
No it didn't work since the first build...

Thanks
[Android Software/Hacking General [Developers Only]] jaysun3000:
Im not the smartest man when it comes to these things but like to learn, I can follow directions and am far from a noob....but am I able to patch a ROM in Terminal Emulator on my HTC Sensation?

The ROM Im trying to patch is ChuckyBOOM v1.7 AOKP 4.1.2
[Android Software/Hacking General [Developers Only]] bustedwings:
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

Unfortunately not yet..
[Android Software/Hacking General [Developers Only]] pippodream:
same problem for me.
[Android Software/Hacking General [Developers Only]] mateorod:
If you look a couple posts above yours, I guess that 'albinoman' rebased his CM10.1 rom off of a different rom, something by a 'Team Hydra'. That is your problem, that rom is no longer based off of straight CM10.1. We don't support Team Hydra roms, and probably won't. I have begun spending my time looking at the broader picture in order to make the patching simpler and wider, but that isn't exactly imminent.

Better to post your log, that way I know whether you are just trying to patch the same unsupported rom or whether there is a broader issue.

Thanks to kobik, he sent a pull request that hopefully should allow spaces in your path for cygwin. Let us know, ok?
[Android Software/Hacking General [Developers Only]] Completely_Clueless:
SlimBean Build 2.5

Is anyone using SlimBean build 2.5 with openpdroid patches working? I haven't updated to build 2.5 yet (still on build 1, which works okay). I'm just wondering if anyone has any feedback on if I need to do anything special with regard to the Auto-Patcher, or if the patches don't work, or any other feedback.

Thanks!
[Android Software/Hacking General [Developers Only]] wafro:
Gooday guys,

sorry for my late response. A few days I claimed that openpdroid does not work with ParanoidAndroid 3.10 for Samsung Galaxy S3 (rom here: http://xdaforums.com/showthread.php?t=1745003) I Have now upgraded to version 3.15 and it does not work, too. (Already tried with the workaround from OP)

This time I provided the auto_patcher log, a logcat (have compressed it in a zip file because the *.txt was too big) and a screenshot where you can see my signal strength. ;)

Hope this will help you.

And just to remind you, these were the problems:

the signal strength was very low (settings > about phone > status, got a signal strength of 235835xxxx dBm and 255 asu, so very bad signal)

sending sms don't work (service not reachable)

nobody can send me messages, nobody can call me

if i make a call and the other side is not responding (and I click 'hang up') or the other one hangs me up the phone doesn't terminate the call. the phone is still beeping and beeping

WITHOUT openpdroid everything is working fine ;)

Thanks for your help in advance :)
[Android Software/Hacking General [Developers Only]] Didgesteve:
Slim 4.2.2 v3 patches have been posted in the Slim thread.

These didn't give any errors when building in the Autopatcher, so the problem with

GsmServiceStateTracker.smali

has been fixed.

I would recommend moving to the v3, as there are several rom improvements from v2.5.

But if you are sure you need the v2.5 patch, here

https://drive.google.com/folderview?id=0B3cWC4881vBTR0Y0TjYyZ3U1M1E&usp=sharing
[Android Software/Hacking General [Developers Only]] jake:
Hello & Cheers!

I am very interested in porting this framework mod / permission mgmt system (which btw, i think is absolutely awesome, btw) over to LIquidSmooth :) any help would be greatly appreciated as i will be writing this in the old style .... if anyone would care to help or talk feel free to gtalk me @ jcvancleve@gmail.com or meet me in our irc room: server: freenode, chan: Liquids!

Thank you so much to everyone who has contributed to this project! hoepfully perhaps i can be of some assistance in the future!

Cheers / respect! +1!!!
[Android Software/Hacking General [Developers Only]] mateorod:
I am not 100% sure what you mean by 'writing this in the old style' but if the autopatcher patches are not working for LiquidSmooth (which I think they are maybe, did you try the 'cm' patches in the autopatcher?) but adding OpenPdroid to a rom is very very simple. We maintain source patches that you apply before building. Complete instructions are available at the github page and you can post questions at the OpenPDroid thread.
[Android Software/Hacking General [Developers Only]] jake:
Aye, thanks for the support ~ All i meant was i would view your patches & code them into our existing local repos, then push the changes with credits to the project. However --- if there is already a diff tool / patch system in effect, no need for me to re-invent the wheel. Although, there is something appealing about coding it directly into the framework itself. Will give the scripts a run :P

Thanks a lot for the support!
[Android Software/Hacking General [Developers Only]] meviox:
The fix for Cygwin paths with spaces works like a charm. Thanks a lot to @kobik77 and @mateorod.
[Android Software/Hacking General [Developers Only]] Completely_Clueless:
Thanks so much for the post and the link to that thread. It looks like v3 came out just after I made my post, because v2.5 was the latest at that time.

In any case, I have a I777 (AT&T Galaxy S2), not the I9100 as you linked me to. But I do have a Ubuntu machine and can run the Auto-Patcher myself, so no worries. The only thing I noticed when patching SlimBean v1 was (as you said), the problem with GsmServiceStateTracker.smali; but if you say that's fixed now, then that's the green light for me :good:, and I'll probably patch SlimBean v3 tonight!

Update: I patched SlimBean v3 without any errors, and flashed it. It seems to be working just fine with PDroid Manager! :)
[Android Software/Hacking General [Developers Only]] Moogle Stiltzkin:
is there any autopatch to work with wanamlite rom ? :confused:
[Android Software/Hacking General [Developers Only]] phry:
hi,

could you please add the current github version of openpdroid for cm10? they seem to have fixed up 4.1.2 and I'm keen on trying it out but the 20130209 version included in autopatcher seems to be too old.
[Android Software/Hacking General [Developers Only]] NFleck:
Wow.. What an amazing utility. And your information is well organized and very easy to understand. It's guys like you that make the Android community so awesome. Thanks a million for this.

I'm going to give this a shot, looks great. +Thanks
[Android Software/Hacking General [Developers Only]] dirtyreturn:
http://codepad.org/KqHkk26k for android revolution 10.1 galaxy nexus/gsm
[Android Software/Hacking General [Developers Only]] ion-fan:
missing SMS app on Slim Rom

Yesterday i downloaded Slim-i9300-4.2.2.build.3-OFFICIAL for my i9300 and patched it with the newest APG. Everything runs fine the patch was integrated without any errors. So i just upgraded my phone to this version and applied the patch. But after starting i noticed that i've got no sms application? Is it a known bug that the sms app is missing? Is there a quick fix available?

EDIT:

Sorry for asking this... I should have read the first post on ap-thread first. there is a quick fix posted...
[Android Software/Hacking General [Developers Only]] sandhuxda:
Global Settings

Instead of making per app changes, how do I take certain variables like IMEI, SIM Info etc and give them values that are applicable to all apps? Then, I can change the data for apps that need the real info.

Thanks. This is a great project!! Something Google should've baked into Android instead of showing lame permissions that apps requests.
[Android Software/Hacking General [Developers Only]] Didgesteve:
I had the same problem, but I didn't get as far as reading the op, instead I restored a previous mms.apk with titanium backup. It's all working again.

If you need a Slim version that you can invert.

Place in your system/app folder with rw-r--r-- permissions
[Android Software/Hacking General [Developers Only]] Sakaschi:
the newest cm version 20130304 is not compatible whit tabletui.... (galaxy s3)
[Android Software/Hacking General [Developers Only]] Moogle Stiltzkin:
has anyone tested the auto-patcher on wanamlite's rom ?

http://wanamlite.com/2013/04/03/wanamlite-xxemc2-v6-4-android-jb-4-1-2-clean-stable-2/
[Android Software/Hacking General [Developers Only]] :
Re: [Utility][2.8.3][03/01] Auto-Patcher (4.2.2)

Auto patcher doesn't work on stock roms.
[Android Software/Hacking General [Developers Only]] i9apps:
Tried to patched last EOS 4 (Device: tf101)

Got this error

... apply android.policy.patch ...
1 out of 2 hunks FAILED -- saving rejects to file smali/com/android/internal/policy/impl/PhoneWindowManager.smali.rej

!!! PATCHING FAILED FOR com/android/internal/policy/impl/PhoneWindowManager.smali !!!
!!! patch error for com/android/internal/policy/impl/PhoneWindowManager.smali !!!

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

!!! error: failed com/android/internal/policy/impl/PhoneWindowManager.smali in android.policy.jar cannot be remedied

http://codepad.org/yjUI8QhS

This is the rom

http://xdaforums.com/showthread.php?t=2063406
[Android Software/Hacking General [Developers Only]] Caldair:
sorry, I haven't got the AOSP tabletUI patches working yet.

I don't have an AOSP rom for my tab 2 so it is making working on this very slow.

hopefully I will get something working soon and I will share when I do, sorry again.
[Android Software/Hacking General [Developers Only]] revnu:
hey NP :)

THX anyway...

then I can REALLY give you ma special tip: Try the "Supernexus 2.0"-build4 ROM. Itz designed as a zero bloatwareROM, with many codeoptimize.

Really impressed by this ROM. Use dorimanx latest kernel with it.....itz the best kernel for this ROM. And not the launcher that comes with it (take nova or some other)

after disabling autoruns with gemini app manager and makin many many tweaks I have unbelievebla batt-life and everything is reactin like light-speed.

ok, back 2 topic:

I (and many of the supernexus-users) really would appreciate a Patch, where we could get openpdroid to work......it would be best if we have this little zip so we just modify our running ROM and not have to start from scratch (made really much settings and installed many apps till now)

One question at end:

Is everything different because I use the dorimanx-kernel and not the kernel that came with supernexus ? Or will the openPdroid-patch work also on mine ?

greetz revnu
[Android Software/Hacking General [Developers Only]] l3ullseye:
I'm having trouble patching this SuperXE ROM Build 3 4.2.2

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

http://codepad.org/d4UXcdYF

Thanks
[Android Software/Hacking General [Developers Only]] jpeg725:
cm 10.1 latest nightly

I tried autopatching it to add openpdroid, everything seemed to go well enough, but SMS app couldn't be found.

autopatcher log on pastebin

So I compiled from source and made myself a new update zip based on the autopatcher one and my compiled rom.

Result: SMS app reappeared

Would it be helpful if I provided built with and built without for the relevant files?

EDIT: Oops! Should have read the OP.
[Android Software/Hacking General [Developers Only]] mateorod:
Yeah, I have not figured out what is happening with that. It does not happen consistently enough, and I haven't seen the errors in the few log cats I have received. For the most part, everything is working like I expect it to, but that and fixing current CM10 is high on my list (which is an OpenPdroid problem, not an Auto-patcher problem. Not that that distinction matters to anyone.)

Just for the curious, I have not disappeared, I am spending my development time working on the update to OpenPdroid. I wanted it out before April, but that didn't happen. But it is basically my full time project right now. This update is the merge of the PDroid2.0 build patches and the OpenPdroid patches. There will still the two apps (PDroid2.0 and PDroid Manager) so whatever UI you prefer is up to you. But we are working on streaming all of the core PDroid patch development into one project.

You can see the progress on the OpenPdroid github page. As for this thread, I am monitoring it in a hands off kind of way. Karamelos speaks for the team and AussieLampChops will be stopping by as well. If I see something sticky, I will try and respond and kobik keeps his eyes open for ApG-related issues. If you have pm'd me and I haven't responded, that means that your question has been answered in either the OP or one of my last five posts to the thread. If I keep giving the same answers over and over, I can never get down to work.

Thanks!

Edit: I will take a look at AOKP sometime today, and Caldair, I will pm you. We can display an error message to AOSP users until that gets finished, so you don't have to answer that question over and over. I have added most of the standard package management features, if only a stub.
[Android Software/Hacking General [Developers Only]] jivo:
EER at AOKP APR-05 by Helicopter88

I am tested patch AOKP Helicopter88 ROM NonION APR-05 with mods: opendroid,voice.

!!! PATCHING FAILED FOR com/android/server/ServerThread.smali !!!

!!! patch error for com/android/server/ServerThread.smali !!!

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

There is log:
[Android Software/Hacking General [Developers Only]] Born2Model3D:
Thanks for this AutoPatcher Devs, you guys rock \m/,
[Android Software/Hacking General [Developers Only]] mirroalex:
i got this problem when i wanted to tabletui patch cm-10.1-20130405-NIGHTLY-p5100.zip it worked for 24-03-2013 build but it doesn't on new build! any thing that i can do about this?
[Android Software/Hacking General [Developers Only]] Caldair:
I will take a look at these errors. I haven't tried to patch cm10.1 for tabletUI fo over a week. I will try on the latest nightly to see what the cause of these issues are and correct them, if I can. Thank you both.
[Android Software/Hacking General [Developers Only]] MuadDib_II:
Hi all,

I've been using LBE Security Master for a while, but I really like to give this PDroid 2.0 a try. I did some research, and as I didn't find a answer I decided to ask (sorry if it's to obvious).

Does the Auto-Patcher works in the Nexus 4 running CM10.1 (latest nightly)? If something goes wrong, can I recover via a Nandroid Backup?

If I understood it correctly I have to run the Auto-Patcher and install the PDroid2.0_USER.apk later, thats it? Or should I install the apk first and than run the Auto-Patcher?

Thanks in advance for your help...

:good:
[Android Software/Hacking General [Developers Only]] User_99:
You need to patch your installed ROM first and with Auto-patcher. You will get two files for CWM-R. One for installing the other one for uninstalling. Via PDroid app you can configure your system only...
[Android Software/Hacking General [Developers Only]] kaizokan:
i dont have a logcat right now but i can tell about the problem maybe you know something:

boot animation to the lockscreen screen, looping Pd2.0 JB 4.1.2

I always get boot animation loops after the first reboot after patching pdroid2.0 v1.51. This boot animation stops at the lockscreen (choose launcher) but after some seconds or after i choose a launcher then it shows the bootanimation again and repeats like this.

This happens with pd2.0 v1.51 patch (patch automatically set to 20121017, but has a 2013xxxx date in the update/restore zip file if that matters) on JB 4.1.2 pure AOKP milestone 1 ROM and also happens on Rootbox (4.1.2) ROM for the GS I9100 and maybe more roms.

I do not have the loop without the pdroid patch

SOLVED I don't know what caused it but i did "format system" in CWM and then the usual wipes followed by flashing the ROM, patch and gapps.

This is the order i used to flash directly after formatting system. The reboots i did to check if the bootloop problem would occur again (since it always started after the first reboot).

install zip: ROM, reboot in to system, normal reboot, reboot in recovery

install zip: Patch, reoot in to system, normal reboot, reboot in recovery

install zip: Gapps, reboot in to system, normal reboot.

No bootloop anymore, so formatting system must have fixed this, it's the only difference i made. (unless the problem could also lie in selecting a launcher once instead of always.)

The patched mms.apk like the one after patching does not work and i use the one from the rom zip.

btw does someone still have the Pdroid2.0 v1.51 apk? Can't find it anywhere. Though v1.52 also works for the permissions and log only.

the loop happens even without the app installed so its not caused by the new version.
[Android Software/Hacking General [Developers Only]] MuadDib_II:
Thanks for the answer ;)

If I understand, I will patch my ROM with the Auto-Patcher, this will generate two files (.zip?), than I will have to install one of then (the one for installing I guess). And the uninstalling one? It's for reversing the operation?

One other question: in a case of a ROM update, does I have to repeat the process? Can I save my settings (at least with LBE it's a long job to do the settings for each app instaled...)?

Thanks again
[Android Software/Hacking General [Developers Only]] scutworker:
That's right. You flash the update file to install it and you have to create a new patch and flash it again after any ROM update (the new patch obviously being made from the new ROM!).

Your settings are saved between updates and you can even back them up using the pdoid apps