Related
Removing Keyguard Password Policy due to Exchange (HTC Sense & Milestone & Froyo)
Introduction
Hi Everybody,
when synchronizing your HTC, Motorolla or Froyo Androids with Exchange, it might be that your device needs to be locked by a password. Having to enter this password on every unlock is quite annoying. It would be great to use Androids unlock pattern instead of the cumbersome on-screen keyboard or disable the unlock password at all. To achieve this, I have written a small app.
Unlike other workarounds, this one let's you keep using your stock unlock screen.
Android 2.1 Download (HTC/Milestone)
HTC Sense:
Install the app
Choose which mode you want (password disabled, password enabled or lockpattern enabled)
Click Save
If you have enabled "Lockpattern":
Click "Set lockpattern"
change lockpattern
click "Done setting lockpattern"
Consider a small donation
Motorola:
Attention: You need to be rooted and you need the sqlite3 binary. If the program won't do anything, the missing sqlite3 binary is most likely the cause. The easiest way is to install another ROM with busybox and sqlite3 binary installed. Otherwise:
get it from somewhere, push it to "/sdcard", open shell with "adb shell" and:
Code:
mount -o remount,rw /dev/system/mtdblock6 /system
cp /sdcard/sqlite3 /system/xbin/sqlite3
chmod 755 /system/xbin/sqlite3
chown root.shell /system/xbin/sqlite3
Then go ahead with my app.
Need help? Have a look here
Choose whether to disable or enable password
Click Save
Please report if it is possible with disabled password to set a lockpattern. If not we can try to work this out together. I don't have a Motorola Droid, so I can't test. Please send me a private message.
Please check as well if there is a popup that your device needs security enabled or whatever.
Consider a small donation
Android 2.2 - Froyo (Sense & AOSP) - Android 2.3 Gingerbreas AOSP Download
Attention: Root is necessary. You need to replace the original email app with a patched one. The email apps are usually on /system/app, so you definately need root to replace it.
Because I do not want to run into any licensing issues, I have written a toolkit named "FroyoMailUnlocker" which you can use to patch your own email app. I currently support HTC Sense Froyo Mail.apk and Android AOSP (like Cyanogenmod 6 & Cyanogenmod 7) Email.apk. As I do not own a Motorolla, I have no idea if this will work there as well. This toolkit has proven to patch all stock Email apks from Froyo and Gingerbread.
Prerequesites:
You need to have Java Runtime Environment (JRE) installed. Make sure that your Java Home is part of the %PATH% variable. You can test this by issuing start -> run -> cmd -> java -version
And this version is for Windows at the moment. I can easily do one for Linux as well if there is a proper need to.
Basic usage instructions common for both brands:
Pull the apk you want to patch from your ROM
Download the "FroyoMailUnlocker" and extract it
Move the apk to the folder "put_apk_here"
Run the file "FroyoMailUnlocker.exe"
Push the new apk from the folder "put_apk_here" to the root of your SDcard
Boot your phone into recovery
Open a shell with "adb shell" and issue the following commands:
Code:
mount /system
mount /sdcard
...continue with instructions below specific for your brand
Instructions for Sense:
Code:
cp /sdcard/Mail.apk /system/app/
reboot
Setup your Exchange account
Accept the policy, set your Pin-Code
Open up Settings -> Security -> Device Administrator
Remove device administrator
Accept every warning that your Exchange account will be wiped
Still in Security, disable screen lock
Enjoy your policy-free HTC Sense on Froyo
Consider a small donation
Instructions for AOSP:
Code:
cp /sdcard/Email.apk /system/app/
reboot
Setup your Exchange account
Consider a small donation
Appendix
Note 1:
My solution does not require a background service which runs all the time. It sets the desired configuration persistantly and survives a policy reenforcement without having to run any more. You can safely set your configuration and uninstall the app. But you need to be rooted.
Note 3:
Please take a short rest and think about why your company has applied these restrictions over their mobile users. If you say "I don't care", then this app is probably for you. If not, stick to the password unlock.
Important Note for HTC devices:
If you don't use the lockscreen shipped by HTC, it is possible to disable password lock, but you should not reenable password lock again! The issue appears if the lockscreen is enabled again. HTCs framework will then try to configure the HTC Lockscreen and won't find it which ends up in an error. This could prevent your device from booting up. You can fix it by booting into recovery and issuiing the following commands from an "adb shell" and reboot.
Code:
mount /system
mount /data
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
update system set value='0' where name='lockscreen.lockexchange.enable';
FAQ
Hey, I changed my configuration from X to Y, but it doesn't work
Just reboot. This should fix your issue. Or if lockpattern does not work, just click on "Set lockpattern", go to security settings, set your pattern and click "Done setting lockpattern".
Hey, installation of the apk failed
Please enable USB debugging in the settings, get the Android SDK (adb tool) and execute "adb -d uninstall com.myandroid.keyguardcontroller"
I can't find your app in the market
Absolutely correct. It's not yet upped. Maybe it will in the future, when this app is tested thouroughly enough. I expect that the more technicaly interested guys come here to find a solution for their problems instead of searching the market and those are the best testers.
After pushing the unlocked file to my 2.2 rom, the Mail/Email app does not show up
Better use a deodexed rom or deodex the apk. Instructions can be found here: DeodexInstructions or xUltimate
Make sure you have cleaned the Dalvik Cache
Changelog
Android 2.2
Version 2.0 : Download
First framework version to let the user unlock the mail app they are using
Version 1.0 : -no link yet-
Initial release
Android 2.1
Version 1.4 : Download
Fixed issue with rules not applied on first set
Semi-fixed issue with "fancy" lockscreens (read note in first post)
Version 1.3 : Download
Second try with Milestone
Version 1.2 : Download
Fixed a bug with the triggers
Version 1.1 : Download
Added initial Motorola support (alpha stage) **Need your feedback as I don't have one**
Let the user choose which ROM he has
Corrected triggers
Persistent configuration
Improved user interface
Version 1.0 : Download
Great thanks
blegat
tamburylar
britoso
dwang
instaliro
superbimble
klaus27 said:
I have quickly put together an app which let's you decide whether lockscreen should ask for password or not, or if it should be disabled at all.
Any testers?
Click to expand...
Click to collapse
So where's the app?
Does it re-disable the lock screen after the policy has been re-enforced?
j0bro said:
So where's the app?
Does it re-disable the lock screen after the policy has been re-enforced?
Click to expand...
Click to collapse
Do they reenforce the policy? Didn't noticed that so far. Wrote the app and created this thread. That's why I am asking for testers. If you want to help, send a private message
Cheers
Ok, I have a way to make this setting persistent without having to run any background service, app, script or whatever. I am now iterating the lock-pattern issue. I want to be able to use a lockpattern without having Android Mail ask you to set security policies once a day.
Not sure if this is possible, but we will see.
is this for using the stock exchange app? using activesync?
Just curious because I cannot use the stock exchange app due to security policies set at the server level. So I wondered how this would be affected by that.
wildtouch said:
is this for using the stock exchange app? using activesync?
Just curious because I cannot use the stock exchange app due to security policies set at the server level. So I wondered how this would be affected by that.
Click to expand...
Click to collapse
It's for the mail app of HTC Sense. They build their own UI on top of stock Android and added support for Exchange policies. With this program, we try to circumvent the Exchange password policy. So you might want to get another ROM with Sense for your mobile, or grab Moxier mail from the market.
-------------------------------------------------------------------
Current status: I am able to remove password policy, set an unlock pattern and stick with that right now. The Exchange security popup shows up, but it does not override the settings. Once again, there is no background task/script involved. To remove the security popup at all is the next task on the agenda.
Ok, app is ready and tested by two or three people.
It will now make settings persistent, regardless of policy reenforcement.
Additionally it is able to set Lockpatterns without having the policy enforcement popup every morning.
BTW: API level is 3, so it should work with Android 1.5 as well, but I have only been able to test it with Android 2.1.
Hi,
Where I could get this app?
Is it really works on 2.1?
Thanks
wrzoch said:
Hi,
Where I could get this app?
Is it really works on 2.1?
Thanks
Click to expand...
Click to collapse
It is in the testing phase. Yes it works on HTC Sense 2.1 Roms. Milestone is in the testing phase. As I don't own a milestone, I can only rely on users feedback.
klaus27 said:
It is in the testing phase. Yes it works on HTC Sense 2.1 Roms. Milestone is in the testing phase. As I don't own a milestone, I can only rely on users feedback.
Click to expand...
Click to collapse
ihave milestone..can try for you...wheres the app?
medicjoe said:
ihave milestone..can try for you...wheres the app?
Click to expand...
Click to collapse
Thanks, I will get back to you probably.
klaus27 said:
Thanks, I will get back to you probably.
Click to expand...
Click to collapse
Hope you succeed to put together the app soon. Coz i hate the password policy thingy...
http://forum.xda-developers.com/images/icons/icon12.gif
medicjoe said:
Hope you succeed to put together the app soon. Coz i hate the password policy thingy...
http://forum.xda-developers.com/images/icons/icon12.gif
Click to expand...
Click to collapse
Are you willing to try out some SQL commands? Is your milestone rooted?
If so, send me a pm with your email address.
klaus27 said:
It is in the testing phase. Yes it works on HTC Sense 2.1 Roms. Milestone is in the testing phase. As I don't own a milestone, I can only rely on users feedback.
Click to expand...
Click to collapse
i have milestone too, really need this one, i can help on the testing
ricky119 said:
i have milestone too, really need this one, i can help on the testing
Click to expand...
Click to collapse
Are you experienced enough to help testing? Are you familiar with SQL commands? Are you brave enough to break your system? If so, send me a pm.
Working on Milestone, confirmed. Now need to add that option to the app.
klaus27 said:
Are you experienced enough to help testing? Are you familiar with SQL commands? Are you brave enough to break your system? If so, send me a pm.
Click to expand...
Click to collapse
sry, im not. waiting for your good news
klaus27 said:
Working on Milestone, confirmed. Now need to add that option to the app.
Click to expand...
Click to collapse
I found that there's a similar program which already done
http://forum.xda-developers.com/showthread.php?p=6071848#post6071848
but unfortunately, did not work on my Milestone, so I hope you can help me
ricky119 said:
I found that there's a similar program which already done
http://forum.xda-developers.com/showthread.php?p=6071848#post6071848
but unfortunately, did not work on my Milestone, so I hope you can help me
Click to expand...
Click to collapse
Yes, I know, and additionally for HTC Sense it doesn't support Lockpatterns. Mine does
Hi All!
Let's say I would like ( or rather I'm forced to ) build a customized Android ROM. Among all related things that are well described there is a one "black hole" to me..
I need to replace Android Market with a custom market application and block unknown sources setting ( to always disabled ). Root access must also be disabled.
For me it seems that not having root access along with Unknown Sources disabled excludes writing a custom market application, because as far as i know custom market app will need to invoke Package Installer.
Did anyone came across such problem ?
For now i only need to estimate the complexity of this task so i would appreciate ANY clues on this one..
regards
Also interested in the solution, have a similar problem.
First, you should leave Unknown sources always on enabled. If you're worried that you might suck in a malware app, install an antivirus.
Second, I installed several custom ROMs so far, and the only problem I noticed with market is that it does not show the phone model (GT-i5800) anymore, but just "phone". Other than that, apps install fine, payed apps can be purchased and this is the stock Vending.apk, not modded.
Third, don't even consider not rooting your phone if you make a custom ROM (even this sentence is a contradicition...), coz if you don't have root, you can't dump the factoryfs.rfs, making it impossible to create a Custom ROM in layman's terms...
Got any questions, just ask!
Hi All,
I am working on a custom RoM with specific focus.
So basically i will be taking a standard rom and will be adding some softwares some binaries some terminal related shortcuts and stuff.
Now i had two apporaches for it
1) create a custom ROM for each device.
2) create / user a mod manager which allows for mods which are not incremental in nature and can coexisit independently.
example i release m1 m2 and m3 as 3 Mod packs.
person A might want m1 m3 but not m2
person B might want just m3
person C is happy with just m2
and m1 m2 m3 are completely inependent packages.
Can any one suggest if such a solution exist in the wild I have tried to look at various rom managers but they all work on update mode and not mod mode.
Also using such a system i would like to create zip's which i can install in simmilar fashion to the recovery based update.zip flashing. but in running environment. (considering they are not hurting any running code)
Thanks in advance for help
Check out the AROMA Installer thread...see if it does what you are looking for...
-BMFC
bmfc187 said:
Check out the AROMA Installer thread...see if it does what you are looking for...
-BMFC
Click to expand...
Click to collapse
Interesting project will check it out.
however as far as i can understand it right now its running in recovery mode, I am looking for something which can work when device is running.
If i was not clear before i will give some examples.
I have some apk's and some system mod's
now i want some software which a person can install on his machine and he can securely see the list of items on my server,
he selects i want to install apk.
apk gets downloaded and installed
he selects a system mod
zip file will be downloaded and it will be extracted on /system or / as required and permissions to be setted as listed in a update script on file.
Basically what i am trying to do is to put my mod's and apk's in generalized manner so i don't have to deal with the nittygritties of the android system's on each device. i can directly work on my stuff.
I hope i am clear this time
Now real question ? Is there any such thing in wild?
or am i looking at building something from scratch and if yes what's the cost.
So.
As i was slowly preparing DSC v2.0 i met a hard decision: what root tool to include
Both Superuser and SuperSU are nice, but quite heavy
I decided to take my own way - rewrite su executable itself to suit my vision:
I've aknowledged that i have not modified my root access list for half a year. I don't need and don't want a separate Java process to control root access. I want a simple way to allow root access for application (via whitelist), but block unwanted (i.e. all not in list). Still, it should allow end-user to install either SuperSU or Superuser.
In short - ideal su solution for myself that should also work good for depersonalized custom ROM (with predefined access list), leaving it to end-user to decide which app he will install for superuser access.
And i didn't find a ready solution, so decided to write my own.
Here it is (attached):
SimpleSU
Simplest and lightest superuser solution (with access control)
How it's done:
Same as usual SU for Linux with control access list read from /system/etc/dsc.su_list
dsc.su_list structure is very simple:
One line per android app (case sensitive), windows and unix line breaks should be supported fine.
Current proposed list for DSC 2.0 (and an example):
dsc.SimpleSU.acl
dsc.settings
dsc.uv
dsc.levels
dsc.mugen
jackpal.androidterm
ru.org.amip.ClockSync
eu.chainfire.supersu
eu.chainfire.supersu.pro
com.ryosoftware.adbw
com.googlecode.droidwall.free
com.noshufou.android.su
de.schaeuffelhut.android.openvpn
de.schaeuffelhut.android.openvpn.installer
com.elsdoerfer.android.autostarts
com.speedsoftware.rootexplorer
com.geeksoft.screenshot
com.rerware.android.MyBackupPro
com.ghostsq.commander
ws.plattner.cifsmanager
mobi.pruss.superdim
com.force.timezonefixer
com.bigtincan.android.adfree
Caller process tree is walked till init, if match is found, access is granted.
How to install?
Via adb shell:
Code:
adb push su /system/xbin/
adb shell chmod 6755 /system/xbin/su
adb push dsc.su_list /system/etc
adb shell chown root.root /system/etc/dsc.su_list
adb shell chmod 644 /system/etc/dsc.su_list
Note that you have to manually add entries to white list (/system/etc/dsc.su_list) to grant root access in form of app full Java class name. For example, it's com.keramidas.TitaniumBackup for Titanium Backup.
As pointed by dr911, works in multiuser environment (being a linux binary).
Currenly SimpleSU supports two command formats:
Usual: su -c 'make me a sandwich'. Note that only "-c" works now. Seems to be enough though. Command simply passed to the shell.
Legacy (as seen in Google/Android su source): su username make me a sandwich. Shell is not executed in this case, so no environment variables right now in this format.
Have fun,
Sergei.
Changelog:
02.04.2013: v0.7. ":service" suffix granted root access for already granted app, more logging on reject. (0.6 had only more logging)
27.11.2012: GUI updated - forgot about remounting /system in rw mode. Attached to this post.
21.11.2012: GUI done. http://forum.xda-developers.com/showpost.php?p=34439975&postcount=41
14.11.2012: v0.5. LD_LIBRARY_PATH fixup (taken from ChainsDD), pointed by Rupert Rawnsley. Also some legacy format command-line handling changed. Also, insecure version added (no checks made, asked=granted).
11.11.2012: v0.4. Code cleanup, no longer beta, revised and fixed code with potential string overflows.
09.11.2012: v0.3b. Code changed to allow legacy format command execution.
09.11.2012: v0.2b. Fixed call with multiply parameters. OpenVPN installer works. Dynamic linking, so very small binary. Logging to system log.
07.11.2012: Fixed segmentation fault on reject, added version and build date, removed debug info.
A request:
If somebody owns Pro/Elite/other commercial Superuser or SuperSU - would you provide it's full Java class name?
For example, it's
eu.chainfire.supersu
com.noshufou.android.su
for free versions.
eu.chainfire.supersu.pro
Sent from my Amazon Kindle Fire using Tapatalk 2
Can I avoid these little delays (the appearing popup of SuperSU or Superuser) with this alternative?
And if I have Superuser preinstalled can I delete it and are there other files which belongs to it and can be deleted?
Thank you for sharing your work
com.noshufou.android.su.elite for Superuser Elite
Hi
Have you noticed any improvement in terms of speed etc? Is superuser really that heavy? How much RAM can i get by using this and ditching the superuser app? We can use this in our Galaxy 3 forum !
Get the list of all android activities from here
http://activities.droidicon.com/
Androidmarketuser said:
Can I avoid these little delays (the appearing popup of SuperSU or Superuser) with this alternative?
And if I have Superuser preinstalled can I delete it and are there other files which belongs to it and can be deleted?
Thank you for sharing your work
Click to expand...
Click to collapse
Delete system/xbin/su and uninstall your superuser app from the system.
Oh. Looks SimpleSU got in news
Androidmarketuser said:
Can I avoid these little delays (the appearing popup of SuperSU or Superuser) with this alternative?
And if I have Superuser preinstalled can I delete it and are there other files which belongs to it and can be deleted?
Thank you for sharing your work
Click to expand...
Click to collapse
You won't experience any delays - but in cost of manually editing the list. And no popups, it's simply a linux binary. After replacing su binary you may uninstall Java part.
Shree_Jamdar said:
Have you noticed any improvement in terms of speed etc? Is superuser really that heavy? How much RAM can i get by using this and ditching the superuser app? We can use this in our Galaxy 3 forum !
Click to expand...
Click to collapse
I did experience lags when using Superuser and SuperSU. I don't think modern device would benefit from SimpleSU. I expect to free 15-20MB. Good for Streak with 512MB.
I may eventually write a list editor, but most probably won't.
Again, this tool would do as preinstalled SU solution in Custom ROM (though i can't test >2.3 compatibility):
Grant predefined (and included in ROM) apps the superuser rights.
Allow end-user to choose and install he's preffered SU solution right from Play Store.
--
Have fun,
Sergei
_n0p_ said:
You won't experience any delays - but in cost of manually editing the list. And no popups, it's simply a linux binary. After replacing su binary you may uninstall Java part.
I did experience lags when using Superuser and SuperSU. I don't think modern device would benefit from SimpleSU. I expect to free 15-20MB. Good for Streak with 512MB.
I may eventually write a list editor, but most probably won't.
Again, this tool would do as preinstalled SU solution in Custom ROM (though i can't test >2.3 compatibility):
Grant predefined (and included in ROM) apps the superuser rights.
Allow end-user to choose and install he's preffered SU solution right from Play Store.
--
Have fun,
Sergei
Click to expand...
Click to collapse
Exactly what I searched, thanks :good:
I will test it on my old Desire with Android 4.1, I can tell you whether it's compatible or not.
nice tool...very lite. i m using this in extreme barebone roms for my galaxy mini. really nice, but the problem is only some apps r being granted permissions, some denied.
i hope u increase the list of activities. then this is a hit for me
good luck..
Android_United said:
nice tool...very lite. i m using this in extreme barebone roms for my galaxy mini. really nice, but the problem is only some apps r being granted permissions, some denied.
i hope u increase the list of activities. then this is a hit for me
good luck..
Click to expand...
Click to collapse
Can you provide an example of app you have added to the access list, but it didn't work?
i looked in the op and still dont understand how to install?? flash the simple SU zip in recovery.. then what???
evo401 said:
i looked in the op and still dont understand how to install?? flash the simple SU zip in recovery.. then what???
Click to expand...
Click to collapse
if you couldnt read/understand the OP, then your probably better off sticking with SuperSU or SuperUser...
Heres my non-developer understanding (potentially flawed):
Its a binary, with manual entry's (IE text editing) of pre-approved apps, it doesnt have a frontend/gui like SuperSU or SuperUser which allow you to graphically chose what to allow and what to deny...
OP: I like it so far, as for your thoughts on a graphical editor, I for one would love to see one, and before I get jumped for saying then whats the difference between the other options, an editor would be short and sweet, open, edit list, close, ram once again free (since that is the concern), instead of having it stay resident in RAM...
On that note, if I may, there are tools like Rays Toolbox and Android Tuner (formerly system tuner), that I would like to put in a feature request for them to add an editor in the app (Android Tuner already has a few editor's, adding a SimpleSU editor would just add to the overall completeness of the toolkit) to edit the list for SimpleSU, with your permission of course!
Thanks again!
Latest version working on Galaxy fit !!! It really imporves performance on low ram(We got 256mb) devices maybe OP might consider sharing it by moving thread to a more general location on xda rather than on a device forum my thoughts.
Dark Passenger said:
Latest version working on Galaxy fit !!! It really imporves performance on low ram(We got 256mb) devices maybe OP might consider sharing it by moving thread to a more general location on xda rather than on a device forum my thoughts.
Click to expand...
Click to collapse
Yes, exactly.. it works on galaxy y duos and galaxy yseries.. its better to move it to android app development section may be? as it will get more support there i feel.. Please do consider op.. And thanks for this cool app.. Its awesome. And i dont think it needs an editor, as we can have editors from many apps .. i have around 4-5 apps which has editors.. surely users who use this app will be bit advanced users..
and i bet all of them will have file editors.. and all file explorer apps comes with editors nowadays.. well , just my thoughts.. but if you can keep the file browser to bare minimum and keep size of apk less.. then i would surely like to see it too
i am hoping to use this from now on.. so i will give review for new updates.. have you pushed it to play store? i think you should do that.. many will like this idea!
Thanks again..
As far as i understood we can edit it to add new apk names to give permission.. Because Android_united kinda confused me.. So, asked this again.. i did use it and it did worked.. its just may be he didnt see that?
Works like a charm! The only problem I had is that I was doing this through Terminal Emulator, and for some reason, when i did all this, superuser perrmisions were not granted for Terminal Emulator. After a little digging i found that i have to add this line
Code:
jackpal.androidterm2
and leave the one that's there by default
Code:
jackpal.androidterm
to the dsc.su_list
Now it works, i have SU for Terminal Emulator, Adfree, and i added SetDNS (Impossible to use Google play on CM7.2 without it )
I like the idea of this but be extra careful to only whitelist activities you really use.
I could imagine a malware somehow managing to enter your system and masquerading as one of the prepopulated entries in dsc.su_list, though of course no such vulnerability exists so far.
Thank you for feedback.
--
I cannot publish it on Play Store - it's not an Android app. To publish it, i need to write SimpleSU Installer, or something like that (see below).
--
Regarding editor - it would be nice if someone else would write it I really don't expect to have enough free time required.
--
A 0.4 version i consider as stable (revised potentially bad code with possible string overflows) attached to first post.
--
Malware that could act as Java class - i thought of several scenarios, but any requres root access beforehand. And if you install an app - it's your responsibily to be careful.
--
Have fun,
Sergei
_n0p_ said:
Can you provide an example of app you have added to the access list, but it didn't work?
Click to expand...
Click to collapse
titanium backup, es-file explorer. i tested wit only these 2. as these 2 weren't gaining root access, so i stopped using this. if u want me to test wit more apps, i can help u out.
will be using this surely once it receives more updates :good:
:good: gud luck..
ok since i do not have enought "experience" per the admins here i have to post here....
This is my very first mod and it involves perminatly Blocking programs Like Cellebrite and XRY from accessing your android based smart phone as follows....
------NaruHaxorMOD v1.0
hello i have successfully found a way to prevent ANY and ALL law enforcement programs and devices from making a copy of your android device. this is possible only in ROOTED and ROM'd devices (i only tested it on cyangenmod dont know if it works on others like MIUI.. also i only tested this on phones not tablets) the only bug i havent been able to figure out is to activate it in RECOVERY MODE..
how this works is my script (very basic) actually disables the USB port or the data transfer protocol so in reality you can still charge your device but it wont register under usb debugging or as a storage device literally rendering any program like cellebrite absolutely useless (again only when phone is turned on... off and recovery mode its still fair game)
your device must have support for init.d scripts and i have also included secondary scripts so you can run them to turn usb back on and off freely.. the reason i asked for init.d support is because i have made it so my script activates during boot so right off the bat it wont register.
but make sure your have your SU on lock down with a pin AND terminal MUST have to ask EVERY time to use SU and the same goes with any app that can run a script (if you really want your device to be absolutely locked down)
as soon as i can get my files prepared properly i will include them ........ any suggestions on any apps i should app to the flashable zip?
-------------------------UPDATE-------------------------
i now have the zip file it should work on all Android OS versions and Recovery versions (TWRP, CWM and Philz included more that support open scripting)
ALSO i need developer help on implementing this into the Custom Recoveries
What is inside my zip your ask?? my init.d script.... bin scripts "usb-on" and "usb-off" and 3 apks "terminal emulator" "securewipe" and "i3Shredder"
i have included the apks to help with your security they will be registered under data folder so the can be unistalled if you would rather not have them
PLEASE ENJOY my FIRST mod!!!!!!!!
Feel free to ask me anything for help
NaruHaxor said:
ok since i do not have enought "experience" per the admins here i have to post here....
This is my very first mod and it involves perminatly Blocking programs Like Cellebrite and XRY from accessing your android based smart phone as follows....
------NaruHaxorMOD v1.0
hello i have successfully found a way to prevent ANY and ALL law enforcement programs and devices from making a copy of your android device. this is possible only in ROOTED and ROM'd devices (i only tested it on cyangenmod dont know if it works on others like MIUI.. also i only tested this on phones not tablets) the only bug i havent been able to figure out is to activate it in RECOVERY MODE..
how this works is my script (very basic) actually disables the USB port or the data transfer protocol so in reality you can still charge your device but it wont register under usb debugging or as a storage device literally rendering any program like cellebrite absolutely useless (again only when phone is turned on... off and recovery mode its still fair game)
your device must have support for init.d scripts and i have also included secondary scripts so you can run them to turn usb back on and off freely.. the reason i asked for init.d support is because i have made it so my script activates during boot so right off the bat it wont register.
but make sure your have your SU on lock down with a pin AND terminal MUST have to ask EVERY time to use SU and the same goes with any app that can run a script (if you really want your device to be absolutely locked down)
as soon as i can get my files prepared properly i will include them ........ any suggestions on any apps i should app to the flashable zip?
-------------------------UPDATE-------------------------
i now have the zip file it should work on all Android OS versions and Recovery versions (TWRP, CWM and Philz included more that support open scripting)
ALSO i need developer help on implementing this into the Custom Recoveries
What is inside my zip your ask?? my init.d script.... bin scripts "usb-on" and "usb-off" and 3 apks "terminal emulator" "securewipe" and "i3Shredder"
i have included the apks to help with your security they will be registered under data folder so the can be unistalled if you would rather not have them
PLEASE ENJOY my FIRST mod!!!!!!!!
Feel free to ask me anything for help
Click to expand...
Click to collapse
Could you help me with some doubts that I have?