yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Phantasm4489:
For now there isn't really one. Modifications to the gfe app would be pretty tricky without the use of xposed and if someone did manage to produce a hacked version of the app the gfe company have already requested a takedown via the dmca once and I'm sure they would do it again. I've no wish to get myself or xda in any kind of trouble
[Android Software/Hacking General [Developers Only]] dubeyy:
Have you noticed any issues with CyanogenMod + root with the 3.5 patch? I am looking to start using Good soon.

Also (non CM question).. I just installed the Xposed Framework and installed XposedGfe 3.5 (and rebooted). I then installed Good and when opened it asked for Superuser access. Is there more that I have to do? Or is this normal and I have to deny the request?
[Android Software/Hacking General [Developers Only]] 78Staff:
No issues, I run nightly's and just disable Good with Tasker/Secure Settings (or you can freeze with TiBackup, same thing really) before performing any updates. Here's the info from the dev - http://xdaforums.com/sho\wpost.php?p=56229942&postcount=1054. I also use a script to re-enable xposed after rom upgrades, but still disable/enable the app just to be sure.

For the latter, just allow root (it will only ask the one time, unless you upgrade Xposed or the module) and you should be good to go. Be sure the patcher is enabled, I disabled it once by accident without realizing, and Good picked up root right away lol.
[Android Software/Hacking General [Developers Only]] dubeyy:
Thanks

Anything else I need to be wary of? Knowing that the app runs in the background, does it pick up on superuser/root access requests from other apps even with XposedGfe 3.5 installed? Should I be disabling auto updates to Good until new versions of the Xposed module come out?
[Android Software/Hacking General [Developers Only]] 78Staff:
Oh yes, disable auto updates for sure. Each Good app update will typically break the current patcher. [MENTION=2505474]Phantasm4489[/MENTION] is very good about updating the patcher when a new version of Good is released. No issues with root from other apps.
[Android Software/Hacking General [Developers Only]] jlevy1126:
I've seen a few people with this issue but no solution. Has anyone figured out the instant crashing issue?
[Android Software/Hacking General [Developers Only]] 78Staff:
See post #1111 above, the one time it FC'd for me I did those steps and haven't had any issues since... Be sure to completely kill the task, not just clearing the process.

http://xdaforums.com/showpost.php?p=56584543&postcount=1111
[Android Software/Hacking General [Developers Only]] hawkeyejoe:
Phantasm4489, you've hacked the apk yourself previously correct? Or was that a hacked version that you got from someone else?

I understand that distributing a hacked version may be a no-no. But what about distributing directions on how to do it yourself? Many of us are technically minded and could handle it. Although I don't know anything about programming Android apps I do know several other programming languages so I'm sure I could figure it out with a little direction.
[Android Software/Hacking General [Developers Only]] Phantasm4489:
Hacking the current version without using xposed would be pretty difficult. Xposed makes it much easier to deal with the encrypted blocks of code. Making a standalone hacked version of an older version of gfe would be easier as there is less stuff to deal with. I think it would have to be 2.3 or 2.4 can't remember exactly which off the top of my head
[Android Software/Hacking General [Developers Only]] stylishguy929:
Hello Frens,

Silly me I wasnt aware of xposedgfe module before installing good and its now disabled/blocked. Companys tech assist have detected my fone is rooted via my IME number. Now they wont issue new pin number unless its unrooted/stock. Is there any workaround to it?

Cheers
[Android Software/Hacking General [Developers Only]] killerz298:
Heads up to anyone on Sprint using Good and weren't previously being charged. You should have received a notification in the mail that you will start being charged for the service starting 12/31/2015. Thread on Sprint's forum here: https://community.sprint.com/baw/thread/180119
[Android Software/Hacking General [Developers Only]] Phantasm4489:
No unfortunately not. Can't you just tell them you have removed the root and get a new pin and use the xposed module ?

Edit: you could try uninstalling and reinstalling and using the same pin you used first time if it hasn't expired
[Android Software/Hacking General [Developers Only]] jonsharky:
i guess the company updated their policy this weekend.. 3.1 does not work with 2.7.1 anymore. Unfortunately 3.5 doesn't really work well with GFE 2.7.1 (on 4.4.2 rooted stock S5).

Crashes after launching GFE / granting root.

Any help would be appreciated :)
[Android Software/Hacking General [Developers Only]] mentalinc:
Is there anyway to stop GFE from auto updating?

I've force detached in Titanium backup but it still shows up...
[Android Software/Hacking General [Developers Only]] 78Staff:
Just turn off auto updating in Play Store...
[Android Software/Hacking General [Developers Only]] Phantasm4489:
Also take a backup using titanium and you can always restore even if it updates and detects root
[Android Software/Hacking General [Developers Only]] ZipLipZ:
I am getting instant crashes as well. I'm running on a fresh 4.4.2 stock rom. I've tried removing and reinstalling good etc. Anyone have any suggestions?

Here is my logs.

Loaded app: com.good.android.gfe

class found : g.FF$ca

probable decryption method found : gZs

could not hook com.good.common.util.i->a method

could not hook com.good.android.gfe.service.syncengine.jni.JNISyncEngine->a method

could not hook com.good.android.security.malwaretest.d->c method

could not hook com.good.common.util.aq->c or e method

class found : com.good.android.compliance.ComplianceManagerPolicy

copylib returned true - proceeding with hooking

mapLibraryName hook installed

mapLibraryName intercept gtgfendk

mapLibraryName intercept FipsCrypto

mapLibraryName intercept syncengineradio-lib

Loaded app: com.good.android.gfe

class found : g.FF$ca

probable decryption method found : gZs

could not hook com.good.common.util.i->a method

could not hook com.good.android.gfe.service.syncengine.jni.JNISyncEngine->a method

could not hook com.good.android.security.malwaretest.d->c method

could not hook com.good.common.util.aq->c or e method

class found : com.good.android.compliance.ComplianceManagerPolicy

copylib returned true - proceeding with hooking

mapLibraryName hook installed

mapLibraryName intercept gtgfendk

mapLibraryName intercept FipsCrypto

mapLibraryName intercept syncengineradio-lib

Thanks!
[Android Software/Hacking General [Developers Only]] 78Staff:
What worked for me was to Kill the app, I mean kill it completely, not just close/exit it. Use a task killer (I use System Panel, there is free one in appstore). I rarely use task killers but sometimes they come in handy. Anyway, completely kill the app/task, also completely forget the app in root manager, ie SuperSU. Doing both those step and starting the app again worked fine, and I haven't had any issues since.
[Android Software/Hacking General [Developers Only]] ZipLipZ:
I saw your suggestion earlier and tried that as well. No luck though. Still seeing the same issue. I'm trying to see if I can get an older version working now.
[Android Software/Hacking General [Developers Only]] ZipLipZ:
I was able to get another version working.

With xposed and module 3.3 already installed: I installed 2.4 from backup (app only), froze it in titanium, installed from apk 2.7.0 over it while frozen, unfroze and restored backup data only. So far so good. Nothing else worked for me.

I replicated this method twice. Hopefully it helps someone else.
[Android Software/Hacking General [Developers Only]] mentalinc:
Thanks to krmtvm

http://xdaforums.com/showthread.php?p=57459419#post57459419

Does the job perfectly no accidental upgrades as you're prompted you're updating an app you have chosen not to auto update...
[Android Software/Hacking General [Developers Only]] montemg:
Problem with GFE and THL 5000

Hi all,

I'm trying to install the app Good For Enterprise (GFE) because my company use this as a mail app for Android smartphone but the installation cannot be completed due to a security problem.

The problem is that the GFE security policy identify the Vendor ROM (1.1.1) as a "Rooted ROM". I already involved the GFE Support (see below the discussion link), they bought a THL 5000 and tested it with the same results.

I already tested my phone with "Root Checker" and it is not Routed and I do not understand where is the issue, someone can help me?

Please tell me if you need more info, I can provide. I'm searching a solution without apply the Root.

Thanks in advance for your support

Regards

Gennaro

GFE Discussion for my issue

https://community.good.com/thread/7225
[Android Software/Hacking General [Developers Only]] 78Staff:
Wow, what an ordeal. Unfortunately, it seems like you only two options - root the phone and utilize xposed and the GFE patch, or get a different phone, certified to work with Good. Sorry doesn't seem like any other options.

You *might* be able to use ODIN or simlar tool and flash a different stock rom on the device, if they offer another version that doesn't include code for the dual sim, if that is truly what is tripping up Good. But you would need to check with THA to see if one even exists, and if it did would it work in your local, etc. Kind of a long shot I suspect, but you won't know if you don't ask. Honestly though unless you have specific reason not to, seems like the easiest solution would be to root and use xposed/patch.
[Android Software/Hacking General [Developers Only]] killerz298:
If it really came down to that, no one would get in any trouble if the apk (that was made by someone else, not you obviously :p) happened to be uploaded to a place which ignores the DMCA, or is slow with response, and the post here only told us how to locate said file. If the file is removed, you could always locate another copy which has been reuploaded (again, not by you of course :D) etc... Telling people where to find the file is not an issue and XDA can't get in trouble as they aren't hosting the file, just pointing to a location.
[Android Software/Hacking General [Developers Only]] 78Staff:
sounds like you got it all figured out sea lawyer, so feel free to go ahead and mod the app and post it up for everyone... :rolleyes:

I'll just leave this right here...

9. Don't get us into trouble.

Don't post copyrighted materials or do other things which will obviously lead to legal trouble. If you wouldn't do it on your own homepage, you probably shouldn't do it here either. This does not mean that we agree with everything that the software piracy lobby try to impose on us. It simply means that you cannot break any laws here, since we'll end up dealing with the legal hassle caused by you. Please use common sense: respect the forum, its users and those that write great code.
[Android Software/Hacking General [Developers Only]] killerz298:
Posting directions to find a link to copyrighted materials is not the same as hosting them here nor is it illegal (under certain circumstances). I am not going to bother citing the many cases on the matter, which I have studied in detail, but a simple google search should direct you to them. Now as to the user who was doing the modifications and posting the file to the host, that is a different story. However, if the apk was anonymously uploaded to a file host that isn't in the US and doesn't care about the DMCA, I don't think that would be much of an issue which is why in my post I said that the OP shouldn't post it, but if it were "anonymously" posted... no harm no foul. Unfortunately I don't have the technical know-how to make the changes, or else I would gladly not make the changes myself but I feel that I would luckily find the modified apk posted on some random foreign file host and share directions to find the location of the download link with all of you :p

But no, in the end you are right, since this thread and OP have already been put on the radar, it most likely isn't a good idea for that to happen HERE.
[Android Software/Hacking General [Developers Only]] rojocapo:
GFEPatcher 3.5 and GFE 2.7.1 crash on open for me too. I get a root request which I grant and then it FCs. I'll post logs tonight because it's my wife's phone and she's off at work.

What's the last GFE version compatible with Patcher 3.1? The newer GFE's check for Xposed framework.

---------- Post added at 08:07 AM ---------- Previous post was at 07:36 AM ----------

More info:

It's working fine on my Samsung Note 3 running Tweaked S5 Port v11 based on Android 4.4.2.

It's crashing on my wife's Sony Xperia ZL C6502 running Ultimate PureXZL Ultra v3 [4.4.4] [.283] [UPDATE :- 29.09.2014].

On a side note, wow, GFE wants all kinds of permissions: device admin, remote wipe, forced storage encryption, autowipe on unlock failure, and a whole bunch of other stuff. Fortunately my employer does not force me to use this application. I'm afraid that if I allow this to run on my wife's phone with Xposed, it will suddenly detect non compliance and zap all her personal data on the phone (mainly family pictures worry me). I guess I will just restore stock unrooted firmware on her phone and forget about Xposed.
[Android Software/Hacking General [Developers Only]] jcw122:
I'm also having trouble with the newest versions of GFE and the module, GFE crashes at the Retrieving Settings step.
[Android Software/Hacking General [Developers Only]] Phantasm4489:
From the reports I've had from the people having problems with the latest version they all seem to be failing with the same problem. Seems to be related to the checks done in the native code. Not sure why it works for some and not others. I will do some investigation and see what I can figure out. I might have some time to take a look next week between Christmas and New year
[Android Software/Hacking General [Developers Only]] Phantasm4489:
i started to take a look at this today but unfortunately i've forgotten my gfe password and there's no administrators around till after the new year. I've put some additional logging into the xposed module to hopefully highlight where its going wrong. If someone wants to install and run this version of the module against the latest good client and send over the xposed logs after it crashes out that ought to be a helpful step in the right direction.
[Android Software/Hacking General [Developers Only]] Trev420:
Is there any work around for cm12 and lollipop? Could i some how unroot my cm12? Lol
[Android Software/Hacking General [Developers Only]] sean.trinidade:
I don't believe Xposed is even officially supported on Lollipop, and I guess until that is, there's not a lot anyone else can even do.
[Android Software/Hacking General [Developers Only]] vivelafrance:
Yeah, Xposed doesn't work on LP at the moment and the future doesn't look good to make it work any day soon. :(
[Android Software/Hacking General [Developers Only]] Phantasm4489:
I've remembered my password now, will continue my investigations tomorrow
[Android Software/Hacking General [Developers Only]] Phantasm4489:
no i'm looking into why it crashes out for some people using the latest version of gfe client.
[Android Software/Hacking General [Developers Only]] Ignite023:
Could I move to Lollipop, unroot, and then run GFE? Anyone try that?
[Android Software/Hacking General [Developers Only]] vivelafrance:
yes, as long as it's a full unroot (uninstalling the Root enabling apps, all files etc...) then yes it will work.
[Android Software/Hacking General [Developers Only]] NimlothPL:
New version just came up - 2.8.0.398

Anyone already tested ?
[Android Software/Hacking General [Developers Only]] CravingMender9:
I did. not working...
[Android Software/Hacking General [Developers Only]] Trev420:
If anyone figures out how to fully unroot to use GFE lemme know. Whether it's 4.4 or lollipop.
[Android Software/Hacking General [Developers Only]] CravingMender9:
Just use the previous version with root + this module. I restored with Titanium Backup and it is working again.

As for full unroot, uninstall xposed and modules, unroot from supersu/superuser and uninstall it and try?
[Android Software/Hacking General [Developers Only]] briankfree:
I tested and it detected root.
[Android Software/Hacking General [Developers Only]] dkoon1987:
It did not work for me either...
[Android Software/Hacking General [Developers Only]] Trev420:
Can someone post the last working version of GFE that plays well with the module? Or let me know the version and I'll try some digging.
[Android Software/Hacking General [Developers Only]] CravingMender9:
V2.7.1.390 is the one that works for me. Here's my backup from TiBu. Extract the apk from the compressed archive and try installing

https://www.dropbox.com/s/fd3ekky0n...-c22bda0160189fca98cf522c95507763.apk.gz?dl=0
[Android Software/Hacking General [Developers Only]] cruise350:
To fully unroot and not have good detect root, you will probably have to install the stock tar file for your current version and phone. If you are on a custom rom, you will not be able to fully get rid of root so GFE will fail on start up. Going back to stock is the only way.
[Android Software/Hacking General [Developers Only]] Phantasm4489:
Yep it uses quite a few different ways to detect root. It doesn't just check for su or superuser. One thing it checks for is to see if your Rom is cyanogenmod so if your Rom is cm based it definitely won't work without bypassing the checks
[Android Software/Hacking General [Developers Only]] NimlothPL:
Very strange. I use Good on rooted phone using your patch and OnePlus One which is cyanogenmod based. Any chance for new version patch?
[Android Software/Hacking General [Developers Only]] Phantasm4489:
Sorry I wasn't clear, I meant it wont work without bypassing the root checks.

See attached for an updated Xposed Module. Hopefully this work on the latest release. I still havent managed to figure out why it crashes for some people yet though.
[Android Software/Hacking General [Developers Only]] NimlothPL:
New version crash 2.8.0 Good. Works with 2.7.1
[Android Software/Hacking General [Developers Only]] dkoon1987:
Hi Phantasm, your newest patcher worked for me to update the latest Good client. Thanks for your quick work! It did crash for one of my colleagues though.
[Android Software/Hacking General [Developers Only]] briankfree:
Thanks for the quick work! However, mine doesn't seem to detect root...but it does crash/close immediately.
[Android Software/Hacking General [Developers Only]] markies:
Got it working. Maybe helpful details. Maybe not...

First and most important: Many thanks for all your work and continuing help on this module. It's awesome, and really appreciated. (I'd love to donate for a beer...)

This latest release of the module worked for after lots of intermediate madness, a great deal of which I'm sure was self created. Couple of points in case it helps:

I ended downgrading all the way GFE to 2.6.0.376 (and thanks to the poster who loaded those APKs on google drive). The 2.7 release that was working for me as of Tuesday (and before 2.8 screwed everything up) caused problems with either a force close on start or an error message or a security policy violation. That I ended up all the way back at 2.6 may be an accident of finally doing other things right but only after I gave up on 2.7.

In addition to my final downgrade to 2.6, I also uninstalled Xposed from within the App, rebooted into recovery to apply the uninstall, rebooted, reinstalled Xposed, rebooted; theory there was that maybe some log files, redirections, cache might get refreshed over whatever the hell GFE might have left behind when I uninstalled it. I also called my IT desk to tell them GFE 2.8 had broken my phone and asked if they could do a full reset on the server side. I have no idea at all if that's any different from resetting on the standard GFE self service portal my firm runs. End result was that I finally made got it working.

As a final aside, I tried to pull my functioning install of GFE from a Nandroid backup I made 2 weeks ago and couldn't find anything to extract related to GFE using Titanium Backup (and my last TB backup predated my original TB backup...shame on me). There a trick to that, or just GFE somehow hiding itself from nandroid?

Let me know if further info, log files, whatever would be helpful.

Mark
[Android Software/Hacking General [Developers Only]] CravingMender9:
I think it has something to do with READ LOGS permission. I noticed that when I clear my phone logs, the GFE app goes a little further before crashing.

---------- Post added at 05:33 PM ---------- Previous post was at 05:17 PM ----------

[MENTION=2505474]Phantasm4489[/MENTION] :

How can I help? Do you need Xposed logs / adb logs?
[Android Software/Hacking General [Developers Only]] Phantasm4489:
At what point does it crash for you guys? Also when you say it goes a little further when the logs are cleared when did it crash then?
[Android Software/Hacking General [Developers Only]] CravingMender9:
When I update, it crashes after entering the password.

When i clear data, and reset with new pin, it crashes on retrieving settings.

Before clearing logs, as soon as i enter the password, it crashes. After clearing logs, the loading circle rotates 2 3 times and it crashes.

On resetting, before clearing logs, it crashes in 1st step. On clearing logs, it crashes on retrieving settings.

What is the best way you recommend to update?
[Android Software/Hacking General [Developers Only]] Zirillian:
I can actually get new PINs quite easily through IT....but that is not my error. It is the IMSI they are detecting. I think the IMSI is the SIM card, if I am not mistaken.,,so they are saying my SIM card is already in use with a version of Good on my phone.

So, I uninstalled everything, released the GFE license, and am now considering starting over from scratch...flashing stock image, unroot, relock bootloader. Then, repeat the process, unlock, reroot, flash CM10.1. Then instll GFE again to see what happens. I am hoping flashing the stock image gets rid of whatever it is detecting with my SIM card right now.

However, this does go back to what I was saying previously about tablet vs. phone. My N7 has been running strong for over a month now, rooted with CM10.1 with not even a hint of a policy break. There is something in our phones that our tablets don't have that is triggering this (maybe).
[Android Software/Hacking General [Developers Only]] calisro:
Re: Good for Enterprise ( GFE ) root workaround

I've had the same phone with diff roms where good would detect it on one rom and not another... I believe GFE is just crap and some roms mess up its detection. idk.
[Android Software/Hacking General [Developers Only]] calisro:
Updated to v10.

- Changed the way I handled superuser apps (or multiples) stored in data and system. It will now still freeze and disable apks if they are stored in system but now will uninstall/reinstall whatever apks are in data related to superuser to keep compliance in check. As a result if you have updates stored in /data rather than integrated with the rom in /system then the scripts will run slightly slower as it uninstalls/reinstalls. I keep data when I do this so you wont lose data related to those APKs. oh, and BTW, supersu has the ability to 'integrate into /system' when you update from the play market. That works great for me and keeps things in /system.

- Added ability to handle chainfire's nonag apk in addition to regular supersu. You can find that APK in his thread. It stops the nag screens on the notifications. That apk also triggers compliance issues but now the new version handles those.

Since this was such a large change to the scripts, i'd suggest that you wait to implement v10 if you are one of those people who have a hard time getting PINS from your IT. I have tested this and retested it but I would consider it beta until at least a few users are successful.