Hey guys,
just thought i'd share this with you. For those who don't like corporate control.
This Email.apk should pretend to the exchange server that device administrator is active, while not really enabling it.
While configuring your Exchange account there will be a message that device administration will be enabled.. If you press OK you would normally be shown the permissions needed by the device admin and be prompted to confirm them. This screen won't be shown anymore. You can also check "Settings/Location & Security Settings/Select device administrators", which will show an empty list now.
Have fun.
EDIT: KH3 version added
EDIT2: For all those curious guys in here.. The patch is that easy actually.. I'm too lazy to make a diff so..
The file that needs to be changed is com/android/email/SecurityPolicy.smali:
You need to find this method signature and change the first boolean constant:
That's it.
just thought i'd share this with you. For those who don't like corporate control.
This Email.apk should pretend to the exchange server that device administrator is active, while not really enabling it.
While configuring your Exchange account there will be a message that device administration will be enabled.. If you press OK you would normally be shown the permissions needed by the device admin and be prompted to confirm them. This screen won't be shown anymore. You can also check "Settings/Location & Security Settings/Select device administrators", which will show an empty list now.
Have fun.
EDIT: KH3 version added
EDIT2: For all those curious guys in here.. The patch is that easy actually.. I'm too lazy to make a diff so..
The file that needs to be changed is com/android/email/SecurityPolicy.smali:
You need to find this method signature and change the first boolean constant:
.method public isActive(Lcom/android/email/SecurityPolicy$PolicySetZ
.locals 12
.parameter "policies"
.prologue
const/4 v7, 0x0 <- just change this value to 0x1
That's it.
Attachments
Last edited: