[MOD][Xposed][6.0] Exchange bypass for MarshMallow - Xposed Framework Modules

This is a mod for the module written by diwulechao
I just do some simple modification to make it work on Marshmallow.
Still use the same algorithm as the original module
Tested on my Moto X2 on stock Android 6.0 with stock Email and Exchange app.
original post:
XDA post
Xposed repo
Bypass Exchange
Tips:
1. Please remove your exchange account first.
2. Please activate device admin for mail client in order to proceed, it won't affect anything if everything goes well.
3. Make sure your Xposed works on Marshmallow.

Hi,
I tried on my Xperia M4 with stock email app and android 6.0.1, but not working (still ask me to define a pin code and encrypt phone data).
The original mod for lollipop was working on the same device, with the same email app on android 5.0.1.
Thanks for your work.

mi4 marshmallow. Did not work
lihanchen said:
This is a mod for the module written by diwulechao
I just do some simple modification to make it work on Marshmallow.
Still use the same algorithm as the original module
Tested on my Moto X2 on stock Android 6.0 with stock Email and Exchange app.
original post:
XDA post
Xposed repo
Bypass Exchange
Tips:
1. Please remove your exchange account first.
2. Please activate device admin for mail client in order to proceed, it won't affect anything if everything goes well.
3. Make sure your Xposed works on Marshmallow.
Click to expand...
Click to collapse
mi4 6.0.1 marshmallow MIUI8 global beta tom 6.8.25
Didn't work. please check on any xiaomi MM device.
****************************************************************************
I see package name is miui mail app as 'com.android.email' and this is different n your code. Can you get that added? or I will create a pull request if it works for me.

S7 still requires PIN
I have a T-mobile S7 (SM-G930T)
Android 6.0.1
Rooted(Boot Eng Root)
Xposed Framework 8.5.1(Wanam Custom)
I did the following
No account on phone
No Email Device Administrator on phone
Installed framework
installed your module
installed Moon Phase so i knew Xposed was working
Rebooted to make sure both were active
Setup mail account
clicked ok to Device Administrator
It requires a PIN
Tried setting pin, then turning it off, but cannot turn it off
Any Ideas?

my mail client (outlook for android) when the module is enabled.

I was using this previously but to fix another problem I did a factory reset on my phone (Sony D5803 with MM SLiM 3.8) and when I re-enabled it, it is no longer working, at least with Gmail.
When adding an exchange account in Gmail, once I accept to add the administrative access, it kicks me to the PIN lock setting page and refuses to let me turn off PIN lock unless I deny administrator access.
I don't recall how it worked before when I set it up (probably immediately after it was released), but it was not like this.
BTW I did remove and reinstall the xposed module several times and of course did a reboot each time, following the process of delete the exchange account, add the xposed module and enable it, reboot, add the exchange account, get stuck on PIN lock, delete the exchange account, etc.
Is there a workaround for this? is this a known problem?
BTW it seems to work ok for Outlook, just not Gmail.

Related

How to remove the exchange IT security policy. Account deleted already

I added my S3 to corporate exchange activesync, then decided to not to use it.
Now every time when press power button, the phone show screen lock and ask for a password, and I cannot disable it under
settings -> security-> screen lock as everything is greyed out there but the password.
I have tried to
1. Delete the exchange account
2. Remove the device administrators
3. Clear credentials
I haven't tried factory reset yet, and I hope I can avoid that route because I don't want to reinstall and set up everything else.
Thanks!
ericw12 said:
I added my S3 to corporate exchange activesync, then decided to not to use it.
Now every time when press power button, the phone show screen lock and ask for a password, and I cannot disable it under
settings -> security-> screen lock as everything is greyed out there but the password.
I have tried to
1. Delete the exchange account
2. Remove the device administrators
3. Clear credentials
I haven't tried factory reset yet, and I hope I can avoid that route because I don't want to reinstall and set up everything else.
Thanks!
Click to expand...
Click to collapse
This is a little command utility I found couple weeks back to by-pass outlook exchange security policy.
What you need:
* rooted phone
* JDK ready PC (or MAC / Linux, never tried it)
Steps:
1. enable usb debug on the phone
2. plug your rooted phone to PC
3. **for windows PC** copy .cmd file and "lib" folder to /windows/system32/ or /windows/syswow64/ for 64-bits
4. double click the .cmd file and it will do the trick and then auto restart when complete.
Note:
* Not required to manually remove existing Outlook account. It should be gone after running the script
* I suppose if you already have configured exchange email, your internal storage or/and sdcard should be encrypted. You will need to unencrypt both to remove password protection, that is a Android requirement.
* Unencryption could be done before or after the exchange policy hack
* You might still be prompt to accept security policy, but it will actually apply anything.
https://www.dropbox.com/s/hj8y6popmnz3j6s/email-policy-patch-3.1.zip
Credit goes to the DEV developed this!!!!! NOT ME!!!!!
Thanks a lot! Too bad, I already factory reset my phone... but it is good to know.
This is the main reason installed Touchdown (By Nitro) on my first android phone.
That way I can use my Work Email and the admins there can only lock the Email app and cannot touch the rest of my phone.
Might want to give it a try if you need your work email.(They have a 30 day trial I believe)
DroidGnome said:
This is the main reason installed Touchdown (By Nitro) on my first android phone.
That way I can use my Work Email and the admins there can only lock the Email app and cannot touch the rest of my phone.
Might want to give it a try if you need your work email.(They have a 30 day trial I believe)
Click to expand...
Click to collapse
Touchdown worked pretty good. Thanks a lot!

[Q] MS Exchange Email Password Bypass?

My work just got a new server and it is now requiring us to set a password on our phones. It's an Exchange server and from what I've read, it is a setting in the server that is requiring this (apparently it has to have administrator control over your phone).
Is there a known work around for the password protection?
Having to put a password each time you want to use your PRIVATE (company doesn't provide us with a phone) SUCKS
Thanks!
FYI, I have an un-rooted Samsung Note 2
Find a ROM for your Note 2 that includes an Exchange PIN bypass.
Root your phone.
Install the ROM.
-Mike
mcapozzi said:
Find a ROM for your Note 2 that includes an Exchange PIN bypass.
Root your phone.
Install the ROM.
-Mike
Click to expand...
Click to collapse
Well I was trying not to root my phone. Seems silly to go through all that trouble for just a pin.
Ended up downloading Mailwise. It's freeware that you can download on google play. If you go to their website, and check out the FAQ's, there is a step by step process on how to bypass the security password requirement. WORKS LIKE A CHARM :good::good::good:

Customizing My ROM

I've got a couple questions on debloating a ROM if someone could help me please. I think my questions are pretty general for any Samsung ROM, but I've provided details of my setup below just in case. I've got the ROM debloated down to basically nothing except Play Store and Phone and everything works perfect except two things...
General Info:
- Verizon Galaxy Note 3 (Non Developer Edition)
- On latest OTA OF1 for Modem, Recovery and Boot (Lollipop 5.0)
- Rooted
- Running JasmineROM 6.1 as base and working on debloating
- Can restart from beginning with official OTA OF1 update if needed due to new Root found
Questions:
1. I've found that I must go through the official Samsung Setup Wizard after a factory reset for the built in Samsung Task Manager to work. If I remove the Samsung Setup Wizard, the built in Samsung Task Manager will NOT work after a factory reset. I guess the Samsung Setup Wizard enables the Samsung Task Manager? My issue is I have to remove the Samsung Setup Wizard due to the debloating of other Samsung apps or it will crash in a loop after a factory reset and I'll have to start over with the OTA as mentioned above since I'll be locked in the crashing setup wizard loop. I understand I could just not do a factory reset after debloating as the built in task manager keeps working, but I'm trying to make a ROM out of this to make my life easier later if I want to factory reset. Is there a way to manually enable the built-in Samsung Task Manager without completing the Samsung Setup Wizard?
2. Google account Sync error: "Sync is currently experiencing problems. it will be back shortly" shows up under my Google account under Settings. This only shows up after I debloat and continues even after I do a factory reset on my customized ROM. I did NOT debloat anything Google app wise that was part of the base ROM. All the Google Apps I install (Chrome, Gmail, Voice, Contacts, etc) do sync perfectly fine, however. I'm not sure what's causing this error now, but it will not go away and I'm not really sure what's not actually syncing. Any ideas what it could possibly be?
Thank you!
UPDATE:
1. I could never find out how the Samsung Setup Wizard activated the Samsung Task Manager so I simply just went without the option to do a factory reset. Considering we have root on 5.0 now, I'll just start from scratch if needed.
2. I figured out what the issue was with the Google sync. Considering I debloated everything down to basically the Phone and Play Store apps and built it up with my own apps, the sync broke because the Samsung Calendar was part of that debloating. The Google Sync error was because it was trying to sync my Google calendar data, but had no application to sync it with. It was hard to find because the Calendar data did not show up in my Google account list with everything else since no app was there. Once I added the calendar apk back, everything started to work again. I tried to install the Google Calendar app, but had no luck because no other Calendar app would work without the stock Samsung Calendar apk for some reason. The stock Samsung apk activates some "calendar storage" of some sort, I guess.
I hope this information is able to help somebody.

<<Solved>> Xperia Z5C and SIP accounts - they are back!

Hi to everyone,
since 6.0.1 the SIP Account settings under the phone settings are no longer available. I'm using now stock rom 7.1.1 and my questions is if there is a mod that enables the SIP account settings. My phone is rooted. I tried the Lineage and Bernis ROM,. These settings are still there but these roms have problems with loosing data connection after a few minutes after boot up. Out of this case I'm looking for a solution the enable again the in build sip account settings.
Thanks in advance for any hint
Hi,
so I had some time and I figured out, why the sip account settings are not visible within Xperia Z5C and N 7.1.1.
When I looked through my phone I saw within the oem partition the folder overlay. This folder is used that a developer do not touch the original android files and he is able to store in this place configuration files that overrides the original settings. In this folder are two files stores (of course many more) that are relevant for the SIP settings, These two files I found are: android-res-284.akp and android-res-305.apk.. These files are holding the settings for the SIP menu entries. After I deleted these two files, bingo I have my SIP accounts back and everything is working great.
So if your phone is rooted, boot into TWRP, mount your SD-Card and the OEM and at first make a copy of your complete OEM. Than switch into the OEM folder - go the overlay and delete the two files from above. Reboot your phone and your SIP accounts are back.
I'm using a 5ZC N 7.1.1 with Kernel 5.23 from tobiaswaldvogel and Stock ROM 32.4.A.1.54.
Everything what you are doing - do it at your won risk Of course your phone must be rooted.

Google for work account on a rooted phone

Hello.
I have a Samsung S5 Neo (SM-G903M), and I want to configure my job account from Google Apps on it, but when I try, I receive the error message "The security policy prevents the creation of a work profile because a Custom OS has been installed on this device".
Reading about this error, I found the problem was a custom ROM installed in the past, it changed the Knox status to 0x1, as usual.
But now I want the account on this device, and as I can't change Knox status, I wanna ask if exist something else I can do on phone (now using original ROM, but rooted), or even on my google account (i have all administrator privilegies). I readed some other posts about this issue, but no success. Google refuses to tell how to disable or bypass this verification on my account.
Any help will be appreciated.
Anyone??
No clues, people?
Hiya, did you sort it out then?

Categories

Resources