[APP][UPD:3/06] ODM: Open Device Manager - Free, Open, Encrypted Android Dev Manager

Search This thread

Fmstrat

Senior Member
Aug 3, 2007
468
161
Hi all,


-=> CURRENT STATUS 2014-03-06 <=-
  • Resolution selection for taking pictures
  • Video recording
  • Autofocus w/ timeout
  • Audio recording
  • Run shell commands and get responses
  • Hiding of launch icon
  • Download file to device
  • Download file from device
  • Elimination of Base64 encoding
  • Bug fixes for large file handling
  • Report location every X minutes (optional)
  • And a number of other things you'll probably never notice


-=> UPDATE 2014-02-10 <=-
  • Camera code is rewritten, works on 4.0+ ROMS
  • Option to force location via GPS vs GPS+Network from web app
  • Change password feature (Must re-register devices after changing for security reasons)
  • When "check for updates" is on, a weekly check for outdated App and Web-app with response via push notification


-=> UPDATE 2014-01-25 <=-
  • Web update: Zoom into image feature by opening new tab/window
  • Web update: Increased DB data size to store larger images
  • Web update: CSS updates to standardize across Chrome/Firefox/IE


-=> UPDATE 2014-01-14 <=-
  • Added new version checking to Web panel. You must update config.php to the new version.
  • Most all functions are working except camera in 4.0 ROM force closing.

-=> UPDATE 2014-01-13 <=-
[*]Added version checking to APK
[*]Added LDAP for enterprise support. You must update config.php to the new version.



  • -=> UPDATE 2014-01-12 5PM EST <=-
    • Updated to support basic authentication on ODM folder
    • Updated to specify a lock password and to use a token for encryption: You must update both the APK and the Web App, log into the web app, then open the new application. This will reset to token.


    -=> UPDATE 2014-01-12 11AM EST <=-
    • Fixed FC's on HTTP registrations

    -=> UPDATE 2014-01-11 <=-
    • Vimeo video uploaded for those with YT issues: https://vimeo.com/83928836
    • Force close issues should be resolved now (when registering).

    I thought I would release this here before I announced it on my site in case some developers would like to join in. Full information, download, github links, images, install/demonstration video, etc, can be found here: http://nowsci.com/odm


    Problems with the YouTube video? Try VIMEO instead: https://vimeo.com/83928836

    Open Device Manager, or ODM, is a fully free, open source, end-to-end encrypted alternative to Google's Android Device Manager that can be installed in right around 10 seconds. Building on the look and feel of the original ADM, ODM focuses on supporting additional features while giving users the security and privacy of a self-hosted, open source platform.

    ODM was created because of the lack of fully open source and secure device managers on the market. While there are solutions that offer open source web components, the Android Applications are not, and are known to use Google Analytics or ad networks that pull information such as IP address, all of which eliminate 100% privacy. ODM overcomes this by offering everything up for grabs on github. We will also be submitting the github repository to F-Droid, an alternative App Store that compiles open source applications directly from github, so you know you're getting a safe APK.

    Features include:
    • Open source web interface
    • Open source Android Application
    • All notifications/commands sent through Google are encrypted first
    • Full AJAX interface
    • 10 second server install
    • Multi-user support
    • Multi-device per user support
    • Last and previous locations
    • Google maps integration
    • Lock device
    • Take photos with rear and front cameras
    • Alert ringer to locate the phone
    • Receive an SMS to identify insertion of new SIM
    • Send a custom notification
    • Wipe device
    • Log of all previous activity

    screenshot.jpg


    All details can be found at: http://nowsci.com/odm

    GitHub for Android Application: https://github.com/Fmstrat/odm
    GitHub for Web Panel: https://github.com/Fmstrat/odm-web

    Thanks,
    Ben

    XDA:DevDB Information
    ODM: Open Device Manager, App for the Android General

    Contributors
    Fmstrat

    Version Information
    Status: Stable
    Current Stable Version: 0.3
    Stable Release Date: 2014-01-07

    Created 2014-01-07
    Last Updated 2014-08-19
 

Attachments

  • screenshot.jpg
    screenshot.jpg
    182.7 KB · Views: 3,304

Fmstrat

Senior Member
Aug 3, 2007
468
161
Hosted Solution

I've also considered running a hosted version of this on Amazon EC2, and moving the encryption from PHP to Javascript to make everything stored in the DB encrypted as well. If there is interest in this, let me know.

Thanks,
Ben
 
  • Like
Reactions: devrruti

SecUpwN

Senior Member
Jun 12, 2012
2,086
645
DEUTSCHLAND!
secupwn.github.io
10 Second Installation

Installation is simple and straightforward. Use the below or watch the video embedded above.

Extract the web archive to any folder on a system running PHP.
Edit include/config.php to turn on registrations (and change any other settings you would like): $ALLOW_REGISTRATIONS = true
Open mysql: mysql
Create the database: create database odm;
Exit mysql: exit;
Import database structure: mysql odm < sql/odm.sql
Please pose any questions or discussion to the thread at: <TBD>

Configuration

The following variables can be edited in config.php.

Sets the database connection information:

$DB_HOST = "localhost";
$DB_USER = "root";
$DB_PASSWORD = "";
$DB_DATABASE = "odm";
Whether or not to allow user registration. This must be true to create the first user, but can be disabled after that for security.

$ALLOW_REGISTRATIONS = false;
That's what it says on your website. Unfortunately, this tools doesn't seem to be ready for the non-freak geeks (yet). Hoping for a simplified installation. Can anyone who tested it already tell me the advantages (excpet being open source) over avast? Thanks for creating this, @Fmstrat! Following your project now. :cowboy:
 

wkwkwk

Senior Member
Jun 28, 2008
359
76
Hi. Are you using GCM (Google Cloud Messaging)?

I'm running Cyanogenmod without any gapps installed and I was wondering if this would work considering it's self hosted (which is great by the way).

Thanks.
 

Rubman

Senior Member
Jul 11, 2008
229
18
34
I just need help removing the app, since it can't be removed via app manager
Running on HTC One

---------- Post added at 08:21 AM ---------- Previous post was at 08:21 AM ----------

I just need help removing the app, since it can't be removed via app manager
Running on HTC One
 

aejazhaq

Senior Member
May 25, 2013
67
7
Ill definetly give it a go tonight. Big thanks to the dev for the idea of keeping it open source. I thought i'd never see the day when device managers would be open source but surprise surprise. And that its end to end encrypted adds a whole new punch!
 

shadowofdarkness

Senior Member
Jun 11, 2010
554
139
I just need help removing the app, since it can't be removed via app manager
Running on HTC One

---------- Post added at 08:21 AM ---------- Previous post was at 08:21 AM ----------

I just need help removing the app, since it can't be removed via app manager
Running on HTC One

You have to remove it as a device administrator first in your security settings.
 
  • Like
Reactions: Mordak

shadowofdarkness

Senior Member
Jun 11, 2010
554
139
Fixed my last problems by installing php5-mcrypt

I currently have got to the point of having the website loaded and saying no devices registered also I have no Google Maps in the backgound which will be a problem with location.

On my phone I put in the settings but now everytime I try opening the app after a second it closes and I just get a message "Unfortunately, Open Device Manager has stopped." I'm running a Galaxy S II with Omnirom based on Android 4.4.2
 
Last edited:

mattiadj

Senior Member
May 22, 2010
4,089
1,779
Francavilla al mare
I have an s4.
I have installed it on my webserver and all is ok execpt 3 thigs:

1) I can't see google maps!
2) when i try to take a photo (front or rear) the apk on phone crashes
3) to access to site i have to rename .htaccess to htaccess.txt (no a big problem..)

Any idea?
 

munhoz

Senior Member
Sep 14, 2012
152
60
Sorry buddy, but your app instantly FC upon load.

The website part was pretty simple and easy to setup, good job.

Maybe there´s a fix for apk ?
 

shadowofdarkness

Senior Member
Jun 11, 2010
554
139
I finally have it mostly working. Here are some of my notes on fixing problems I had.

Using a Ubuntu server with the web server initially installed for mythweb

In order to register I had to install php5-mcrypt
In order to actually use any commands I had to install php5-curl
Google Maps only works on Chrome not Firefox (I prefer Firefox and only used Chrome as a test)
The settings on the Android app are very touchy anything wrong and the app just force closes. (Contrary to the video I had to leave ssl on for it to work for me) Note to fix you have to remove the app as a device admin then clear data to restart since it FC's to fast to edit the settings.


Now for the problems that I have left
When trying to locate I see my phone indicates in the notification bar that it's finding the location but the website never actually gives me the location
Taking pictures receives a black 1 inch tall strip not a proper picture (looks like it's just truncated pictures since the top of the area just happened to be black)
 
Last edited:

lalitindoria

Senior Member
Dec 17, 2011
188
59
Bangalore
www.blogotechblog.com
The installation on the website was pretty simple and easy. I did that in a few minutes. However, the app force closes on my Xperia U running stock Jely Bean 4.1.2 as soon as I tap the register button on the app!

Any fix?

The app would be great if we can get it to work on most devices!
 

mattiadj

Senior Member
May 22, 2010
4,089
1,779
Francavilla al mare
I have an s4.
I have installed it on my webserver and all is ok execpt 3 thigs:

1) I can't see google maps!
2) when i try to take a photo (front or rear) the apk on phone crashes
3) to access to site i have to rename .htaccess to htaccess.txt (no a big problem..)

Any idea?

On chrome i can see map. it' ok for me...if you can fix it and make it ok on other browser will be ok but for now is usable.
The most important thing is to fix the FC on take photo.

I can help you in any way?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 71
    Hi all,


    -=> CURRENT STATUS 2014-03-06 <=-
    • Resolution selection for taking pictures
    • Video recording
    • Autofocus w/ timeout
    • Audio recording
    • Run shell commands and get responses
    • Hiding of launch icon
    • Download file to device
    • Download file from device
    • Elimination of Base64 encoding
    • Bug fixes for large file handling
    • Report location every X minutes (optional)
    • And a number of other things you'll probably never notice


    -=> UPDATE 2014-02-10 <=-
    • Camera code is rewritten, works on 4.0+ ROMS
    • Option to force location via GPS vs GPS+Network from web app
    • Change password feature (Must re-register devices after changing for security reasons)
    • When "check for updates" is on, a weekly check for outdated App and Web-app with response via push notification


    -=> UPDATE 2014-01-25 <=-
    • Web update: Zoom into image feature by opening new tab/window
    • Web update: Increased DB data size to store larger images
    • Web update: CSS updates to standardize across Chrome/Firefox/IE


    -=> UPDATE 2014-01-14 <=-
    • Added new version checking to Web panel. You must update config.php to the new version.
    • Most all functions are working except camera in 4.0 ROM force closing.

    -=> UPDATE 2014-01-13 <=-
    [*]Added version checking to APK
    [*]Added LDAP for enterprise support. You must update config.php to the new version.



    • -=> UPDATE 2014-01-12 5PM EST <=-
      • Updated to support basic authentication on ODM folder
      • Updated to specify a lock password and to use a token for encryption: You must update both the APK and the Web App, log into the web app, then open the new application. This will reset to token.


      -=> UPDATE 2014-01-12 11AM EST <=-
      • Fixed FC's on HTTP registrations

      -=> UPDATE 2014-01-11 <=-
      • Vimeo video uploaded for those with YT issues: https://vimeo.com/83928836
      • Force close issues should be resolved now (when registering).

      I thought I would release this here before I announced it on my site in case some developers would like to join in. Full information, download, github links, images, install/demonstration video, etc, can be found here: http://nowsci.com/odm


      Problems with the YouTube video? Try VIMEO instead: https://vimeo.com/83928836

      Open Device Manager, or ODM, is a fully free, open source, end-to-end encrypted alternative to Google's Android Device Manager that can be installed in right around 10 seconds. Building on the look and feel of the original ADM, ODM focuses on supporting additional features while giving users the security and privacy of a self-hosted, open source platform.

      ODM was created because of the lack of fully open source and secure device managers on the market. While there are solutions that offer open source web components, the Android Applications are not, and are known to use Google Analytics or ad networks that pull information such as IP address, all of which eliminate 100% privacy. ODM overcomes this by offering everything up for grabs on github. We will also be submitting the github repository to F-Droid, an alternative App Store that compiles open source applications directly from github, so you know you're getting a safe APK.

      Features include:
      • Open source web interface
      • Open source Android Application
      • All notifications/commands sent through Google are encrypted first
      • Full AJAX interface
      • 10 second server install
      • Multi-user support
      • Multi-device per user support
      • Last and previous locations
      • Google maps integration
      • Lock device
      • Take photos with rear and front cameras
      • Alert ringer to locate the phone
      • Receive an SMS to identify insertion of new SIM
      • Send a custom notification
      • Wipe device
      • Log of all previous activity

      screenshot.jpg


      All details can be found at: http://nowsci.com/odm

      GitHub for Android Application: https://github.com/Fmstrat/odm
      GitHub for Web Panel: https://github.com/Fmstrat/odm-web

      Thanks,
      Ben

      XDA:DevDB Information
      ODM: Open Device Manager, App for the Android General

      Contributors
      Fmstrat

      Version Information
      Status: Stable
      Current Stable Version: 0.3
      Stable Release Date: 2014-01-07

      Created 2014-01-07
      Last Updated 2014-08-19
    5
    BIIIIGGGG UPDATE on it's way.

    The next version is going to include:
    • Resolution selection for taking pictures
    • Video recording
    • Autofocus w/ timeout
    • Audio recording
    • Run shell commands and get responses
    • Hiding of launch icon
    • Download file to device
    • Download file from device
    • Elimination of Base64 encoding
    • Bug fixes for large file handling
    • Report location every X minutes (optional)
    • And a number of other things you'll probably never notice

    After this update, I'll be moving on to the UI updates as there are so many options now the menu system needs an alteration to fit nicely. Also I will be making it mobile friendly, and incorporating the viewing of the mobile version data via the App itself.

    Thanks,
    Ben
    3
    Web panel has been updated with CSS fixes, DB fixes for larger images, and a zoom feature when viewing images.
    2
    http://www.phpknowhow.com/basics/running-php-files/

    http://www.apachefriends.org/en/xampp.html


    dont forget to login to SSL localhost to getinto ODM after you upload it to htdocs in xampp
    this may help ;)
    2
    You can add an option to the web script to auto update itself and to host the apk so when an device running a old version of the apk, the newer version can be sideloaded to it and updated. And also it would be a good idea to get the sensor data like (accelerometer, gyroscope, proximity sensor) to get a better idee where the device is. And an option to listen to the mic, if it is possible.

    As timing would have it I've just updated the Web panel with a check for new version feature like the latest APK has. I won't go so far as to create an auto-update function, as that would require write permissions by the web user on the web folder, which could be a security issue. If this was a Python app, I might consider it, but not for PHP. Added two new feature requests:

    Record video: https://github.com/Fmstrat/odm/issues/11
    Record audio: https://github.com/Fmstrat/odm/issues/12

    Thanks,
    Ben
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone