Related
I'm after a quick and easy way to delete a specific registry key - preferably from a command line/shortcut.
This has to be done on a number of PPCs for work (always the same registry key) and I need an easy way to distribute it so I don't have to walk users through it each time - ie a single shortcut or executable would be best.
no-one knows? WM5 if that makes a difference..
MortScript
leyton01 said:
no-one knows? WM5 if that makes a difference..
Click to expand...
Click to collapse
If you tell me what key and data you want deleted I can write you a small app that can do it (silently).
-Jwrightmcps
Use MortScript and Autorun.exe on a SD card. Just inserting the card on the device will run the script and change the registry for you.
Other option is to create a cab file with the registry change in it, and then setup a batch script to automatically install it on the users device when their PDA is connected to their PC. Here is something I put together that may help:
http://www.jaml.com/CreateApp/
Jwrightmcps - thanks for the offer, I will PM the details
Markvan - will check out the link. Looks like it will be handy for a couple of other projects I have. KISS principle definitely applies for execs and technology - if I can email them a cab that can run a couple of things offsite users shouldn't be able to screw it up too bad (they will find a way no doubt)
I'm been working on this for a little bit now since I found all the existing apps don't work well in WM6 or don't work well in a custom rom. This is a open source program (as all of mine are) and I welcome help/donations/and comments. Bug reports will be helpful in this first release as I certainly consider this a alpha release at the moment.
What it does:
once setup at every boot it compares your IMSI number with the one stored, if it's a match it plays a little sound and that's it. If it's not a match, it locks the device and displays your email and a request to please get it back to you. It also send you the "new sim's" imsi and phone number via a SMS.
------------------------------
SecurIt 1.1 (BETA) by Shadowmite
------------------------------
TODO: Build in SMS rule filtering thus adding remote control
Lock out activesync connections?
Protect the datafile from being deleted, or keep a backup in registry.
NOTE: THIS DOES NOT WORK WITH CDMA PHONES!
Version 1 (BETA) Instructions:
This security applicatioon can run loaded normally via a cab file to your device, or via being cooked into a rom. It will require your phone able to run unsigned code (most roms at this site are fine in this regard). Furthermore it does require the .NET Framework so it's really for WM6 devices, WM5 will be more tricky and is left up to the user to figure out how to make it all work.
When first run the program resides in \windows and must run from there. If you ran the cab installer it will have created a shortcut for you into the Programs folder.
The application comes up with a form showing you the current device imei, imsi, and phone number. You need to enter a password (needed to disable security programmatically or change SIM info), a email you can be reached at my a "finder" of your phone, and a SMS phone number you'd like alert messages sent to. Once done click set. Finally, click Enable security.
The application then sets itself up to autorun upon boot and if the SIM matches, it plays a little sound file to let you know everything is fine. If the sim is found to have changed, it will lock down the device until a password is entered. Meanwhile it shows your contact email and has sent the alert sms to you with the new imsi and phone number.
If you enter the proper password the program will take you to the settings screen where you can reenter the password and make changes to the settings and resave them. Simply clicking enable security without making changes will keep the settings as they are.
Clicking disable security will remove the autorun entries and remove the data file the programs keeps at \windows\SecurIt.dat.
The data file keeps 5 lines, MD5 hashes of your imei, imsi, password, and also your email and sms phone number as plain text. Thus stealing this file does not enable retrieving the password or easy changing of the imsi. Deleting this file however would remove security. Furthermore activesync will still link to a locked device. Knowledgable people about these devices could therefore defeat this security, however it's goal is to keep the casual theif / finder out of the phone.
This program is a work in progress and I welcome help with modifications to it as well as bug fixes. Source can be found at:
svn://www.shadowmite.com/shadowmite/SecurIt
To cook this into a rom, you need 3 files. 2 of them need to be generated when you first install it like normal and set it up. Copy the SecurIt.dat from \windows and the SecurIt.lnk from \windows\start up to your rom as well as the SecurIt.exe file. It's that simple. Enjoy!
History:
1.1: Fixed all kinds of bugs causing security to crash with various sims
1.0: Initial release
If you like my work and would like to help insure I continue to have time for this, please consider a donation to: foglemATshadowmiteDOTcom
Shadowmite, thnx for starting an "opensource" project for this. I havent tried it yet, will try once I reach home.. But I had a cpl of suggestions\questions:
1. Why do u keep email and sms phone no in plain text instead of encrypting them as well?
2. Instead of storing config in a file, store the config in registry which lessens the chances of someone finding out about the prog and deleting the file to disable security.
nice work as usual...
shantzg001 said:
Shadowmite, thnx for starting an "opensource" project for this. I havent tried it yet, will try once I reach home.. But I had a cpl of suggestions\questions:
1. Why do u keep email and sms phone no in plain text instead of encrypting them as well?
2. Instead of storing config in a file, store the config in registry which lessens the chances of someone finding out about the prog and deleting the file to disable security.
Click to expand...
Click to collapse
number 2 is in the TODO list...
#1) we could encrypt them as long as it's not a one-way hash like the first 3 lines, however those are the bits of data we don't mind the theif/finder seeing afterall as they are the means to get the phone back to its rightful owner. I suppose we could hide them but the phone number will be on his next bill for sending it a SMS and the email is displayed on the locked screen.
And as walshy said, #2 is certainly on the todo, but locking our activesync connections is a bigger concern and I believe completely doable.
#1) we could encrypt them as long as it's not a one-way hash like the first 3 lines, however those are the bits of data we don't mind the theif/finder seeing afterall as they are the means to get the phone back to its rightful owner. I suppose we could hide them but the phone number will be on his next bill for sending it a SMS and the email is displayed on the locked screen.
And as walshy said, #2 is certainly on the todo, but locking our activesync connections is a bigger concern and I believe completely doable.
Click to expand...
Click to collapse
ok, and sorry abt the #2, I missed the TODO part..
Keep up the good work..I myself was thinking abt making smthing similar but now I think I'll drop my idea to make a different one, as this seems to be a better idea (opensource is always better )..
I hope I can make some contribution to the code if possible..
shantzg001 said:
ok, and sorry abt the #2, I missed the TODO part..
Keep up the good work..I myself was thinking abt making smthing similar but now I think I'll drop my idea to make a different one, as this seems to be a better idea (opensource is always better )..
I hope I can make some contribution to the code if possible..
Click to expand...
Click to collapse
What advantages does this give over "Mobile Justice"..another similar util...my rom has Mobile Justice cooked with it which makes it hard to remove.
famewolf said:
What advantages does this give over "Mobile Justice"..another similar util...my rom has Mobile Justice cooked with it which makes it hard to remove.
Click to expand...
Click to collapse
If you like that software and have it working properly use it. Maybe you'd like to post in every rom thread asking why not use some other rom while you're at it?
Shadowmite said:
If you like that software and have it working properly use it. Maybe you'd like to post in every rom thread asking why not use some other rom while you're at it?
Click to expand...
Click to collapse
I'm not using Mobile Justice which is WHY I asked what advantages YOURS had over theres for COMPARISON. If it had additional features I was going to recommend it for addition into XM6R3 (the next release of the current rom), but with an attitude like yours I won't bother with further review.
famewolf said:
I'm not using Mobile Justice which is WHY I asked what advantages YOURS had over theres for COMPARISON. If it had additional features I was going to recommend it for addition into XM6R3 (the next release of the current rom), but with an attitude like yours I won't bother with further review.
Click to expand...
Click to collapse
you dont bother with a review but bother with a slagging ... take your "fame" somewhere else...
Ok, for starters mine isn't based on assuming every device has a GPS built in (while technically being a Trinity owner I should go that route). I instead base mine on nicely locking down the interface so far with a polite message to get the device back to the owner. Furthermore mine is trivial to build into a cooked rom which was my main reason to write it. I tried every security app out there over the last weekend without any of them working "properly" and figured the best way to get one is to write one. In addition mine is open source, mobilejustice is not.
Now then, you said you're not using it... But the last post said you had it cooked in? WTF? Need some help deciding what you use and don't use?
my rom has Mobile Justice cooked with it which makes it hard to remove.
Click to expand...
Click to collapse
I'm not using Mobile Justice which is WHY I asked what advantages YOURS had over theres for COMPARISON.
Click to expand...
Click to collapse
Shadowmite said:
Now then, you said you're not using it... But the last post said you had it cooked in? WTF? Need some help deciding what you use and don't use?
Click to expand...
Click to collapse
1) The rom I currently have installed comes with Mobile Justice preinstalled.
2) I have not configured and am not currently using Mobile Justice
3) The author is currently taking suggestions for software to include in the next revision of their rom.
What part of any of those statements are you having difficulty comprehending?
Perhaps you and the gentleman from Melbourne should both grow up and quit reading an insult where one was not intended.
Well than back on track... Give it a try and see what you think. I really want feedback from folks outside the USA as I believe it will not properly catch your phone number of the "thief's sim" however if the sms works it should still get the phone number to you obviously.
The GPS coord. request feature is a nice one and will have to go on the todo list.
well, well, fights apart, what drew me to this app over the other apps was the opensource nature as mentioned by Shadowmite because I, like shadowmite, was not happy with the other apps doing things properly or just because I wanted somethings to be done differently..
@shadowmite:
1. I have a few ideas of getting "coordinates" and sending to the original owner even on non-GPS devices ..Maybe we can discuss some things later on once the basic structure of the app is ok.
2. Couldn't find the source code of the app on ur site..(May be am just one dim-witted dim-sighted git ) Please point me to it..
You'll need svn to get it, windows users: http://superb-west.dl.sourceforge.n...vn/TortoiseSVN-1.4.4.9706-win32-svn-1.4.4.msi
svn://www.shadowmite.com/shadowmite is my master repository for all projects.
cool, I do have TortoiseSVN installed at home..Will check it when I go back..
Will it sustain a hard re-set ? Dont think so.
@shailesh, for sustaining hard resets, it has to be cooked into the rom, pointed out by shadow on post 1..
I don't know if something else can be done for this (writing into ext rom is one option but that is not possible for most devices now)
Sounds like a great piece of software. And open source is a great idea too.
I did tried several others like this one (Eye on the thef, Ultimately Theft Alert ...) some features were still missing :
First an autoconfig method :
As already said, whatever your storage methode is (file or registry), you 'll everytime lose the configuration when a hard-reset is done on the device. The only one possibility i can imagine is to store your "installer" program on extended rom with the ability to add an external config (encrypted) file as a parameter.
Installation will be handled by the autoconfig process, using this external file. Config will probably needs to be stored on extended rom too. It's not peace of cake to create an extended rom, but easier that cook a rom.
This feature won't be very helpfull if there is no way to generate a config file automaticaly base on settings done by user : kind of export process.
On standart start/soft-reset, your program will run as it does actually, but when a hard-reset, is proceed, programm will reinstall unattented and will still be running after boot... No way to easily remove it. Bad effect is that it will also be difficult to update programm/config.
Secondly, i'd like to have the a way to "format"(or encrypt) a memory card remotely.
Do you thinks those could be part of your TODO list ?
Will try it on few next days and i'm ready to help you translating it in french
hi shantzg001,
thanks for replying,
My mistake, did not read the whole text.
i dont have the email setup so it wont back up my contacts. anyone know or have a link to a backup program that will grab my contacts?
why dont you sync it with outlook on your computer?
why dont you sync it with outlook on your computer?
http://handheld.softpedia.com/get/System-Utilities/Backup/NS-Contacts-Backup-Pocket-PC-20758.shtml
ca3sar said:
i dont have the email setup so it wont back up my contacts. anyone know or have a link to a backup program that will grab my contacts?
Click to expand...
Click to collapse
SPB Backup works great. Just search SPB Software and you will find it. It has a free trial that runs out after a little while though. I think its 10 bucks to purchase a license. I just set the phone up the way i want it and just back it up. It copies everything all the way up to registry edits, or you can just have it copy certain info. ( i just keep reinstalling the trial program)
if you just want to backup PIM stuff (contacts, calendar, tasks, etc), look in the development section of this forum for PPCPimBackup. works great
nxtech3 said:
It copies everything all the way up to registry edits,
Click to expand...
Click to collapse
Well, the probelm is it isn't capable of doing just registry "edits" actually. As far as I can tell it just backs up the whole registry. What's a good tool for just backing up selected registry entries? I know Phm will do, it, but it won't restore.
I ask because when upgrading roms you certainly don't want to overwrite the whole registry with the old one. It's probably dangerous enough to assume that just your old registry tweaks will still work... but probably not too dangerous to be worth trying.
I use PPCPimBackup2005-6. You can d/l it at www.freewarepocketpc.net.
Great program.
how about backing up stuff besides PIM?
I have outlook and am synching between it and my Titan, so that takes care of backing up the contacts, schedule, etc.
Now, how about all of the cool add-ons I've put in place? Any way to avoid having to manually reinstall it all if you were to wipe the Titan?
dagurasu said:
Well, the probelm is it isn't capable of doing just registry "edits" actually. As far as I can tell it just backs up the whole registry. What's a good tool for just backing up selected registry entries? I know Phm will do, it, but it won't restore.
I ask because when upgrading roms you certainly don't want to overwrite the whole registry with the old one. It's probably dangerous enough to assume that just your old registry tweaks will still work... but probably not too dangerous to be worth trying.
Click to expand...
Click to collapse
just copy and paste the selected registry entries with total commander.
Thanks. I know how to edit registry entries, and someone once taught me that modern computer gizmos have this cool copy and paste feature that you mention.
Seriously though, it sure would be neat to be able to compile all one's registry edits in one place and just click to install them. Obviously this is doable as people (here) write cabs to do it. I don't know how, or how simple it is. If it were really simple probably most everyone would do it, and there wouldn't be so many posts asking for cabs for things.
I think I saw something about WinCE CabManager possibly being a good tool for this? Maybe I'll play with it, but if there' s a simpler more single purpose tool for this, that would probably be better.
for reg edits you can use resco registry to export all the keys and values you change, then consolidate them all into 1 .reg file, then just import it after a hard reset or upgrade
I see it can read phm reg files... except you have to add a line at the top with the Windows Registry Editor program name or it will refuse saying it doesn't recognize the file.. That's seems pretty petty.
I found a better reg import solution. Total Commander has rather hidden registry editing capability. The registry is found in \\\registry\ or by switching to 2 virtual window view. Copy and paste reg files to the registry root and that's it.
I had one reg file missing carriage return at the end and rather than complain it made an incorrect value.. so maybe a little weak on sanity checks, but easy to use, and free and has a text editor included.
Now I can dump all my reg tweaks in one big file and save lots of time installing the next rom that will trun my phone into a personal teleportation device... with EnableUpsideDownMaterialization=dword:00000001 by default.
Hey guys,
Thought I'd throw up a post about a tool i've developed to make .cabs online. It's called Cab-O-Matic and basically all you do is .zip up the files you want cabbed, upload them and generate your .cab!
In the interests of privacy (and storage space!), no files are stored, the .cabs are generated "on-the-fly" and the files used to make them are removed once the .cab is generated.
I'll also be adding support for installing multiple files to multiple locations and might even have a section that allows you to include popular reg tweaks (if you have a favourite, please post it!).
The tool is currently in Beta.
Please try it out and let me know what you think
http://nedge2k.com/cab-o-matic
Cheers!
UPDATE: Finally got round to fixing this, the only issue now is with binary registry settings - I'm not entirely sure how to write them. I'll look into fixing it if the demand is there.
nice
Great,Iv'e been lookin for something like this for a long time.Wanted it as a program on my device but this will do.Anyway I can put this on my webserver and also store created cabs with it on there as well?
Thanks,will let you know of any bugs.
*Feature Request-Option to upload oem packages and convert to cabs.
D1ab70 said:
I can put this on my webserver and also store created cabs with it on there as well?
Click to expand...
Click to collapse
Not quite, I won't be releasing the source for this but I may introduce a developer API at a later date.
As for converting OEM packages to .cab, sounds like a great idea! It won't be something I'll look into until I'm happy everything is working as it should though
combine several CABs
Hi there,
The most important thing I need from such a software is to combine several CABs so that they will install by just installing the one made from your site -- is it possible?
But anyway, you're the pioneer to build up the first online cab maker, no doubt in that
cheers,
arefin
Thanks
Yeah I've been thinking about that. Technically it's possible by including a setup.dll.
The way i see it, you upload a .zip of .cabs, Cab-O-Matic detects what you're trying to do and includes a setup.dll, the resultant .cab then puts the packaged .cabs into a temp folder and the setup.dll scans that folder and installs each .cab one by one
Only problem is, iirc, setup.dll's need to be created in C - which I dont write in. I know people that do though, so watch this space!
you might want to change the name of your program...there is a Cabomatic, cost $20 at this website
http://www.phelios.net/cabomatic.html
nedge2k said:
Hey guys,
Thought I'd throw up a post about a tool i've developed to make .cabs online. It's called Cab-O-Matic and basically all you do is .zip up the files you want cabbed, upload them and generate your .cab!
In the interests of privacy (and storage space!), no files are stored, the .cabs are generated "on-the-fly" and the files used to make them are removed once the .cab is generated.
The only limitations to it at the moment are that I haven't yet added support for BINARY and MULTI STRING data types for registry settings. Nor have I gotten round to adding support for program menu shortcuts...but I will soon!
I'll also be adding support for installing multiple files to multiple locations and might even have a section that allows you to include popular reg tweaks (if you have a favourite, please post it!).
The tool is currently in Beta and from what I've seen so far, the only proplem it seems to have is with large uploads (more than 10mb) but that's easily fixed.
Please try it out and let me know what you think
http://nedge2k.com/cab-o-matic
Cheers!
Click to expand...
Click to collapse
dude this is awesome, great work!!
robertg9 said:
you might want to change the name of your program...there is a Cabomatic, cost $20 at this website
http://www.phelios.net/cabomatic.html
Click to expand...
Click to collapse
Yeah I realised that shortly after I made my Cab-O-Matic public. However, as far as im aware, the name is not copyrighted or trademarked and both products are quite different. Mine is online, free, written from scratch and actually creates the .cabs. Theirs is offline, costs and is basically just a frontend for Microsoft's cabwiz.exe so...
Support for program menu shortcuts to .exe files as been added.
EDIT: ..and BINARY/MSTRING datatypes for registry settings.
Guys,
If you experience any problems, or recommend this tool to people who then experience problems, please ensure that you/they post the issue in this thread...so I can fix it!!
I created this tool for the community, I have no real need for it myself so I'm relying on feedback to make sure it works as it should!
Bump - OP updated.
What a pity - you cannot directly use standard reg files :-(
hi sry for this dumb question but Is There Any Registry Editor for Samsung Galaxy S2 Android thanks
Only Windows has a registry. What are you wanting to do?
pjfriend said:
Only Windows has a registry. What are you wanting to do?
Click to expand...
Click to collapse
same things i used to do on my old HTC HD2 tweeking wifi and make it little more faster
You might be able to achieve what you want if you have a specific question...
SII has 'N' class radio anyway so it should be a great deal quicker than your HD2.
Ahh , you mean editing the build.prop which resides in system. Must be rooted(stand to be corrected?) and opened through root explorer/ astro/estrongs file explorer
Sent from my GT-P1000 using XDA Premium App
I saw this thread and thought 'Thats the first question I asked when I moved from wm6.5 to android!'. Welcome to Android mate
No, is basically the answer
thanks pjfriend
turborider said:
is that so hard for u to understand what Registry Editor mean? lol
Click to expand...
Click to collapse
Is it so hard for you to understand that system register is Windows-specific? There is no such thing on a Linux, MacOS X, DOS, BSD, Android, iOS, Bada OS, Symbian and so on.
Cheers Brut.all
turborider said:
wow i never thought polish plp have mobile phones in there,dont be smart azz on me dude,i never used android before,bloody hell i wish plp be more helpful than answering crap,i just wanted to know if Yes or No on Registry Editor
Click to expand...
Click to collapse
What's wrong with you? There were like 4 people who told you that there just isn't a registry editor for Android because Android does not have a registry! And you just seem to ignore those people, and insulte Brut.all because of his origin. We don't need people like you in our Android community.
This is getting to be like a monty python comedy sketch LISTEN turborider, there is NO registry, there is NO registry like service or system on android. You can make some modifications using a text editor to build.prop to change some system behaviour.
ice_coffee said:
This is getting to be like a monty python comedy sketch LISTEN turborider, there is NO registry, there is NO registry like service or system on android. You can make some modifications using a text editor to build.prop to change some system behaviour.
Click to expand...
Click to collapse
tyvm matey for your help
Instead of insulting people who try to help, maybe rather actually read the replies properly
Sent from my GT-P1000 using XDA Premium App
please Moderators close this thread sry for my post and ty again ice_coffee
@turborider
Ok, I think I'll explain this further to you.
Windows stores much of its configuration in a system register. Most of other systems, including Android, store config in many configuration files. They're usually textual and human readable, so you could open and edit them using any text editor, even notepad. Usually every installed service/daemon has its own configuration file(s).
This approach has pros and cons over system register. Config files are less standardized: some of them are xml files, others are ini-like or even custom format. So it's quite messy comparing to system register. On the other hand developer could choose format which is most suitable for his needs and you don't need any special software to edit system configuration. Config files are also very simple from technical point of view and this is good.
Unix systems usually store their config files in /etc/ directory. On Android it's /system/etc/ - there you will find a lot of files and you could open any of them, look into, edit, etc. Of course it's not a good idea to do some random changes I don't think you'll find complete guide to Android config files, because every device/ROM is different. Fortunately most of these files aren't specific to Android, but Linux/Unix or some service, so you should be able to find some help in Google.
Happy hacking
P.S.
Yes, we have mobile phones in Poland ;-)
EDIT:
Advanced options for wifi are in /system/etc/wifi/tiwlan.ini, but I'm not sure whether every device uses tiwlan driver. Of course these options aren't the same as in Windows configuration.
Brut.all said:
@turborider
Ok, I think I'll explain this further to you.
Windows stores much of its configuration in a system register. Most of other systems, including Android, store config in many configuration files. They're usually textual and human readable, so you could open and edit them using any text editor, even notepad. Usually every installed service/daemon has its own configuration file(s).
This approach has pros and cons over system register. Config files are less standardized: some of them are xml files, others are ini-like or even custom format. So it's quite messy comparing to system register. On the other hand developer could choose format which is most suitable for his needs and you don't need any special software to edit system configuration. Config files are also very simple from technical point of view and this is good.
Unix systems usually store their config files in /etc/ directory. On Android it's /system/etc/ - there you will find a lot of files and you could open any of them, look into, edit, etc. Of course it's not a good idea to do some random changes I don't think you'll find complete guide to Android config files, because every device/ROM is different. Fortunately most of these files aren't specific to Android, but Linux/Unix or some service, so you should be able to find some help in Google.
Happy hacking
P.S.
Yes, we have mobile phones in Poland ;-)
EDIT:
Advanced options for wifi are in /system/etc/wifi/tiwlan.ini, but I'm not sure whether every device uses tiwlan driver. Of course these options aren't the same as in Windows configuration.
Click to expand...
Click to collapse
ty mate sry for the last post
android options are stored usually (and always for the system's settings) in sqlite3 format and the dbs are around in /data (look for settings.db)
you can edit them on the device via adb shell and sqlite commands, but i suppose there might be some gui for it as well
this is akin to registry on windows, just op just doesn't know the technical differences. no need to be aggressive pricks about it -
Only Windows Operating System has registries. Unix-based one's store configuration files in /etc directory, eliminating the need for a registry.
bilboa1 said:
...this is akin to registry on windows, just op just doesn't know the technical differences. no need to be aggressive ****** about it -
Click to expand...
Click to collapse
+1 to that. A clearly teachable moment wasted by some nasty responses.
@turborider, as already mentioned, the build.prop file can be modified to make some tweaks (and some Android systems might also let you create a file called local.prop that can do some of the same things) but these are not nearly as far ranging as the windows registry. There are many forums and threads which describe the various tweaks and which can be found by searching for ["build.prop" tweaks]. Speaking of searching, for questions like this it is usually more productive to find existing threads covering the topic because such tutorials are likley to have higher traffic than a thread that asks a single question. One simple example of a build.prop tweak that I recently used was to change a value (switching between 1 and 0) which enabled/disabled a particular audio feature (audio offloading, to be precise) while testing a bug in Lineage OS, but there are more significant things that can be done by tweaking the build.prop. There are also other ways to tweak Android OS as suggested by @bilboa1. Search, and you'll find that stuff.