yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] commshop:
Thanks for that information. Device does not register.

The android app Ver. 1.4.2 is being used. The Server version is 1.5.0 with

ALTER TABLE `devices` ADD `name` VARCHAR( 200 ) NULL AFTER `imei` patch added.

I do not see any device registered or shown on my servers. Edit icon, when pressed, errors "you have to select a device" but there are no device to select.

Just so I have it right, In Preferences, Your OwnMdm Server, Server Data- it prompts for URI of your own server and Server key.

There I place, http://mydomain/mdm/web with no trailing slash.

Server key is value placed in init.inc.php under $myKey = "myserverkey";

Those are the only values I see to point at MyOwnMdmServer but still no device shown. When I point device app to ownmdm.com website I see device.

I tried same above on 2 seperate servers, one internal to my office and one hosted VPS. I get same behavior on both.

Any pointers appreciated.

--------No Device register resolved--------

for registration to occur Your OwnMdm Server muwt be root of webssite or in my case

http//www.myownmdmserver.com

Android app appears to know to goto /mdm directory.

All features appear to work including premium features. Take a picture emails me a photo from both front & back cameras about a minute apart each.

Now that I have it working, Im going to install on a domain with SSL certificate and password protect the mdm directory.

So far, this is a funtional and valuable addition to ones tracking ajd lost phone utilities. Uses for family safety tracking are plenty.

Kudos, Pacosal
[Android Apps and Games] santidoo:
Really great app [MENTION=3026389]pacosal[/MENTION]

How can I make use of the second feature (send my pictures / videos from the sd card to my email before delete them)

And from where can I get premium codes?

Thanks a lot!
[Android Apps and Games] legionfx:
do you provide the source code? even if it is for a first version. i would like to change few things for personal use.
[Android Apps and Games] pacosal:
Small changes are coming...
[Android Apps and Games] pacosal:
In a few hours version 1.5.0 will be released!

- New command to receive a file from the device.

- More logs included
[Android Apps and Games] MordyT:
I think you are doing great work. Just wanted to let you know that this thread is watched and your product used.
[Android Apps and Games] pacosal:
Thanks for your support!
[Android Apps and Games] pacosal:
New version 1.6.0 released!

- Now if the device is rooted you can get files from system directories as well. Set up it before at menu with root test.

- New option to use your own gmail account with ownMdm servers

Enjoy!
[Android Apps and Games] zopostyle:
Will you release a version 1.6 of web client application ? We still on 1.5 version
[Android Apps and Games] pacosal:
We will release another version of Web part for ownmdm.pacosal.com in several days adding these new commands, but remember that the client App is the same for both scenaries.

Thanks
[Android Apps and Games] pacosal:
Some Styles updated at https://www.ownmdm.com
[Android Apps and Games] pacosal:
Hi,

ownmdm servers will be discontinued on 15/5/2014, but...

since that date this software will be open source completely.

Working in cleaning App code and improving web interface.

Soon more news.

Thanks
[Android Apps and Games] pacosal:
ownmdm.pacosal.com now has last version ready for you!

http://ownmdm.pacosal.com/index.php

Version 2.0.0 of:

- web part

- App part (this version is not hosted at Google Play, will be on 15/5/2014)

Thanks
[Android Apps and Games] sonyd71:
Ownmdm service discontinued

Hello yesterday i recived this email... :

"WARNING This service will be discontinued on 15/5/2014. Please, use another service instead.

ATENCIÓN Este servicio dejará de funcionar el día 15/5/2014. Por favor, utilice otro servicio.

Thanks

Gracias"

email : ownmdm@gmail.com

is it true? :(

regard.
[Android Apps and Games] AndroTech:
Read 2 posts above yours...
[Android Apps and Games] FerociousAndroid:
Can ownMdm disable certain apps from being used?
[Android Apps and Games] G.Reaper:
I don't know if it's something I've done or not, but I can't add devices in my own hosted version.

Everything's installed in ubuntu, there are 3 devices that should come up, only 1 does, and I have no idea how it did as it didn't at first.

Using the 2.0 for the server and the apps, server is https://mydomain:80 key matches.

I don't know what I'm missing. The only constant is that the 2 not showing up are on kitkat?

EDIT:

Figured it out - needed to set up without ssl. With ssl everything short ping and location work, those only work without... I tried "do not verify ssl cert" enabled/disabled as it's self-signed. any ideas?
[Android Apps and Games] pacosal:
Version 2.0.0 released!

Only for your own server.

ownmdm.com servers are down forever!
[Android Apps and Games] Dreiundachzig:
Just downloaded version 2.0.0 to have a look at your code and I REALLY RECOMMEND you to replace the MySQL commands with MySQLi or PDO. MySQL commands are deprecated and will be removed in the near future.

And I recommend you to use prepared statements. In your web application there is no protection against SQL injections or XSS. Prepared statements are only one protection against these attacks.
[Android Apps and Games] pacosal:
Thanks for your suggestions!

Now this code is Open Source, go to https://github.com/pacosal to get the code.

Make your own changes and share them with us!
[Android Apps and Games] marvon10:
Little help needed

Hello,

Sorry guys, this my first webserver setup and needs some help!!

Setup of WAMP server on Windows 7 is completed and running fine. I can reach the localhost page correctly on the system by entering localhost or http://127.0.0.1

http://localhost/ownMdmPortal-master/:

Index of /ownMdmPortal-master

[ICO]	Name	Last modified	Size	Description

[PARENTDIR]	Parent Directory	-

[ ]	adminDisabled.php	2014-05-17 08:21	1.0K

[ ]	adminEnabled.php	2014-05-17 08:21	1.0K

[ ]	location.php	2014-05-17 08:21	1.1K

[ ]	log.php	2014-05-17 08:21	1.0K

[ ]	ownMdmPortal-master.zip	2014-10-10 08:22	456K

[ ]	ping.php	2014-05-17 08:21	1.1K

[ ]	register.php	2014-05-17 08:21	1.4K

[ ]	version.php	2014-05-17 08:21	850

Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80

I have no clue how to procced :( Can somebody point me to the right direction please?

Thanks a lot.
[Android Apps and Games] marvon10:
Nobody who can help me?? Your help is highly appreciated!
[Android Apps and Games] Staxen:
Anyone have the Raspberry Pi image that can share it?
[Android Apps and Games] Danidek:
I does not work for me

Hi!

Thank you for this app. I've made something work so it does not work for me.

I've installed the web part to mdm.danidek.hu . I can see this: http://mdm.danidek.hu/mdm/web/index.php

[IMG="Screenshot"]http://mdm.danidek.hu/scr.jpg[/IMG]

The app is running on my phone. Server Data: http://mdm.danidek.hu an the key is set.

Debug is set. The devices and devices_log tables are empty.

I can see a php error :

[05-Feb-2017 14:22:52 UTC] PHP Notice: Undefined index: ping in /home/sopronim/mdm.danidek.hu/mdm/ping.php on line 9

I"ve commented out "$ping = $_POST["ping"];" to temp solve the problem.

No php error now, but still nothing in tables.
[Android Apps and Games] pacosal:
Next Feature:

- Lock with remote key

;)
[Android Apps and Games] pacosal:
version 0.4.0 out!

- Command Lock with Key included: This command will lock the device with your own PIN from console. Even if the mobile is rebooted the lock will work.

- Command Force update Model included: Will get model data to console.

*** Needs web version 1.1.0 - Update your server visiting http://ownmdm.pacosal.com

Enjoy!
[Android Apps and Games] pacosal:
Please, give me more feedback.

Are you using it?
[Android Apps and Games] pacosal:
Preparing a Raspberri PI image for Server Part.
[Android Apps and Games] pacosal:
Download a Raspberri PI image from here and start to try quickly!
[Android Apps and Games] zopostyle:
Tested on One with android 4.3 and running the server in a cubieboard...

Everything seens fine, but the stealth mode is not working...

And the message, I suggest you to when the notification is clicked to not open the app...

And another ones:

Option to enable/disable:

Camera (receive picts from xx seconds in some email, or to be saved in the server)

GPS

Send to the log the mobile number at the phone

Turn wifi on/off

Turn mobile data on/off
[Android Apps and Games] pacosal:
Thanks for your test.

- Stealth mode should work ok.

- When App is in stealth mode the message will not open the App

Thanks for your ideas as well, they're welcome.

Regards
[Android Apps and Games] pacosal:
New Ideas for http://www.ownmdm.com here please:

Give more!!!

So far I've received these:

Option to enable/disable:

Camera (receive picts from xx seconds in some email, or to be saved in the server)

GPS

Send to the log the mobile number at the phone

Turn wifi on/off

Turn mobile data on/off﻿

Also I like to see some call log stats / insights﻿
[Android Apps and Games] zopostyle:
Some way to trace actions (like when our phone is stolen), receive lasts dialed numbers and sms sent/receive from a starting date...

The web app could use username and password at mysql database (I can help you with that, I also can translate it to pt-br), then with this you can make the list of mobile individual for a user(so every person in a family can use to it's device only one server) and you can offer it as a service if the guy doesn't want to host it(to earn some money...;) I can help here also..)

But I'm still getting FC when I try to enable stealth mode..
[Android Apps and Games] pacosal:
Thanks for your feedback.

Has your device internet connection when you enable stealth mode?
[Android Apps and Games] zopostyle:
You got it! It was not...

Thanks
[Android Apps and Games] zopostyle:
Wating to test :good:
[Android Apps and Games] pacosal:
In a few minutes version 0.5.0 of ownMdm will be available at Google Play.

In order to use new commands you will have to update your web part to 1.2.0

version 0.5.0

- Command Location_exit improved

- Command Record Audio added

- Bug Fixed

More info at http://www.ownmdm.com
[Android Apps and Games] zopostyle:
Just got the update

Tried Take a picture and Record audio...does the device need root to it?

It only showed a notification about the picture but I received nothing...
[Android Apps and Games] pacosal:
Take a picture not implemented yet!﻿

Sorry
[Android Apps and Games] pacosal:
Working on next version of https://play.google.com/store/apps/details?id=com.pacosal.mdm

New Command: Take a Picture

Soon in your devices.
[Android Apps and Games] zopostyle:
Nice... and when in stealth mode no notification is displayed right?
[Android Apps and Games] pacosal:
NO notification at all in any mode.
[Android Apps and Games] zopostyle:
PERFECT!
[Android Apps and Games] pacosal:
Version 0.6.0 of http://www.ownmdm.com App will be out in a few minutes.

With these new features:

- Command Take a Picture: will take a front and back picture and will send it to your mail

- Options to do not verify SSL certificates if your server use one not authorized

Enjoy!
[Android Apps and Games] jackdalma:
ownmdm on raspbian

Hi,

I'm trying to install ownmdm on raspbian image

i tried to follow your tutorial but cant get ownmdm to work.

this is the apache log:

[Fri Sep 27 12:16:20 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: key in /var/www/mdm/log.php on line 7

[Fri Sep 27 12:16:20 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: imei in /var/www/mdm/log.php on line 8,

[Fri Sep 27 12:16:20 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: message in /var/www/mdm/log.php on line 9,

[Fri Sep 27 12:16:25 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: key in /var/www/mdm/adminEnabled.php on line 7,

[Fri Sep 27 12:16:25 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: imei in /var/www/mdm/adminEnabled.php on line 8,

[Fri Sep 27 12:16:27 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: key in /var/www/mdm/adminDisabled.php on line 7,

[Fri Sep 27 12:16:27 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: imei in /var/www/mdm/adminDisabled.php on line 8,

[Fri Sep 27 12:16:30 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: key in /var/www/mdm/register.php on line 7,

[Fri Sep 27 12:16:30 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: imei in /var/www/mdm/register.php on line 8,

[Fri Sep 27 12:16:30 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: regId in /var/www/mdm/register.php on line 9, referer:

[Fri Sep 27 12:16:30 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: model in /var/www/mdm/register.php on line 10, referer:

[Fri Sep 27 12:16:32 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: key in /var/www/mdm/version.php on line 7, referer:

[Fri Sep 27 12:16:32 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: imei in /var/www/mdm/version.php on line 8, referer:

[Fri Sep 27 12:16:32 2013] [error] [client 192.168.1.100] PHP Notice: Undefined index: version in /var/www/mdm/version.php on line 9, referer:

[Fri Sep 27 12:16:43 2013] [error] [client 192.168.1.100] (2)No such file or directory: Could not open password file: /home/pi/.htpassword

[Fri Sep 27 12:16:48 2013] [error] [client 192.168.1.100] (2)No such file or directory: Could not open password file: /home/pi/.htpassword

[Fri Sep 27 12:16:48 2013] [error] [client 192.168.1.100] (2)No such file or directory: Could not open password file: /home/pi/.htpassword

[Fri Sep 27 12:29:06 2013] [error] [client 192.168.1.100] (2)No such file or directory: Could not open password file: /home/pi/.htpassword,

if i go to my ip:port this is what it shows:

"The requested URL / was not found on this server."

/var/www/mdm folder is there with every file from your rar.

Did if forget something? XD
[Android Apps and Games] pacosal:
- First off all, remove .htaccess from web directory.

- Then, make sure the file /mdm/web/init.inc.php is there
[Android Apps and Games] zopostyle:
Man, it's working...the take picture..front camera picture came upside down...but no problem with it..

Congrats..

Now new features: SMS, whatsapp sms by mail...hahahah

---------- Post added at 10:21 AM ---------- Previous post was at 10:19 AM ----------

And there is one thing that you need to change.

Make a place at the webapplication to us define our smtp settings..otherwise you will get everyone's picture at your email...lol

Just like you got mine..
[Android Apps and Games] jackdalma:
removed .htaccess

init.inc.php is there

but still 404 ;;
[Android Apps and Games] pacosal:
Yes, I have to set smtp on preferences. Anyway, I have a rule to remove all sent mails ASAP.

Thanks
[Android Apps and Games] pacosal:
A 404 means that this page doesn't exist. Is Apache set OK?

Is Apache working in default port?
[Android Apps and Games] zopostyle:
Ok, but leave at the web app, otherwise, we will need to setup each device...or when we wnat to change it..we need to go to each device..
[Android Apps and Games] jackdalma:
if i enable the indexing, then it shows me directory and file. so i guess yes, Apache working.
[Android Apps and Games] pacosal:
Try to go to http://yourIP:yourPort/mdm/web/index.php
[Android Apps and Games] pacosal:
I have to think about that. Give me ideas, please, but I prefer send files from App.
[Android Apps and Games] jackdalma:
Ok, now i see the main page of ownmdm. but now i cant register my phone.

debug:

Failed to call: invalid url: ip:port/mdm/register.php

Device unregistered.
[Android Apps and Games] zopostyle:
Ok, that's correct, you will send files through the app, but the settings I think it better to keep at the webpart..

But do what you think it's best..
[Android Apps and Games] pacosal:
Message is clear!

Check if you can access that url from mobile browser. Maybe your fw is not open.
[Android Apps and Games] jackdalma:
nnfundst dear

yeah, i can access the web page. but still same error.
[Android Apps and Games] pacosal:
Send me a pm with your debug log.
[Android Apps and Games] pacosal:
You have not set http:// prefix
[Android Apps and Games] jackdalma:
ylevol 1959

ops! it works now, thank you!

---------- Post added at 03:05 PM ---------- Previous post was at 02:27 PM ----------

is possible to add a login/password to the web interface?
[Android Apps and Games] pacosal:
Set .htaccess again and follow the tutorial
[Android Apps and Games] pacosal:
Working on next Version ;)
[Android Apps and Games] pacosal:
After version 1.0.0 maybe I build a Portal for lazy users.

What do you think?
[Android Apps and Games] elpatron4587:
Thanks

Hi pacosal,

I just wanted to say thanks for this project, it works like a charm for me on my Raspberry Pi. I would donate if you told me how.

<edit>Okay, I found the donate button.</edit>

I thought it would be a good idea to share my ownmdm server with my familiy and friends but this would be quite risky because every user can see every device. Do you plan to invoke a user management?

Bye, Markus
[Android Apps and Games] pacosal:
Hi, first of all, thanks for your donation and your message.

Right now I'm releasing version 1.0.0 with more features.

After this version I plan to release a portal for lazy users ;) where every user could use it for himself, something similar to cerberus or Google Play but with same features and similar code.

Thank you!

Pacosal
[Android Apps and Games] pacosal:
In a few hours version 1.0.0 will be out!

version 1.0.0

- Command Receive a Sms: Perfect for knowing the mobile number of the Imsi inserted in the device

- Command Track Device: The device will return location, sound and pictures every 3 minutes for 15 minutes

- Now if the Sim is changed you will receive an Alarm in your log with the new Imsi.

- Bugs fixed
[Android Apps and Games] TheAvatar:
Looks awesome, will give this a go on my home server later on. My only question is if you have any intention on making a version of the web client designed to work on a shared hosting platform?
[Android Apps and Games] pacosal:
Hi,

I plan to release a Web Portal for all kind of users on ownmdm.com

Thanks
[Android Apps and Games] OnkelKaethe:
Great idea. Great Software. I will try it out today!

Gesendet von meinem GT-I9505G mit Tapatalk 4
[Android Apps and Games] mstrack:
Great work, thank you.

Is there any chance to get the source of the android app?
[Android Apps and Games] adv392:
wonderful software! Can you please put up the project (the web part) on github?

I just tried this and loving it! Thanks a ton! :)
[Android Apps and Games] Fmstrat:
Any reason why the app can't be installed to tablets from the Play Store (Nexus 10, Cyanogenmod 10.2)?

*edit*

A couple of other thoughts/questions:

As a future feature request, getting the device name during registration or allowing a user to "nickname" a device in the admin screen would be handy

Is the "message" sent to the Android device unencrypted? If so, this would be handy to have PHP encrypt it, then the app decrypt. (Understand phone to web can use SSL) (Here is a good library for encrypting/decrypting between Android/PHP https://github.com/SeRPRo/Android-PHP-Encrypt-Decrypt)

I'd like to write a Tasker plugin that can use the message function to send information to allow for custom notifications from another device. Any chance you could coach me through which page to submit to and what form fields? I can figure it out on my own, but it would be handy to have a brief description of the fields.

Thanks,

Ben
[Android Apps and Games] OnkelKaethe:
Problems with searchpath

Hi,

i installed the web app on my rootserver and made a subdomain for it.

Did not work, cause the app always add the folder "mdm" after the url as searchpath.

could you please change this.

Also the web app forces the folder "mdm".

Ex.: href="/mdm/web/">D E V I CE S</a>

CU

Daniel
[Android Apps and Games] pacosal:
Hi Daniel,

sure you can set /mdm dir as path for your domain.

I'm not planing this change right now, but I have it at a subdomain as well without any problem.

Thanks
[Android Apps and Games] pacosal:
You can install the apk from http://ownmdm.pacosal.com

It doesn't show because of dial features for stealth mode.

I will check slowly your other comments.

Thank you
[Android Apps and Games] pacosal:
I'm thinking about it.

Thanks
[Android Apps and Games] OnkelKaethe:
ok, played around and it works now. just registered one device and will test now
[Android Apps and Games] MeanderingCode:
Very cool. Cerberus has been great, but I've been wanting to take control of these features, myself, for a long time.

On that note:

The source for the app would really cinch it for me. The only /real/ way to know I'm not backdoored is to build it myself ;) Both parts could go up on GitHib, or so.

In the mean time: how is the device receiving the commands? I assume you're just making an http request to the server to ask for them. How often? How does it handle request failures?

Has anyone noticed effects on their battery?

Keep up the good work and thanks for giving to the community!
[Android Apps and Games] pacosal:
Hi,

I'm not planing to release the App source code.

Commands go to device using GCM, so it spends very little battery.
[Android Apps and Games] OnkelKaethe:
Why Not? I would pay for your app. It works fine. But security and transparence are important.

Gesendet von meinem GT-I9505G mit Tapatalk 4
[Android Apps and Games] karl0ss:
Hi,

I have burnt image to my Pi and have booted the pi, its at the login screen..

when i navigate to my pi's url http://192.168.4.131/

i just get

Forbidden

You don't have permission to access / on this server.

Apache/2.2.22 (Debian) Server at 192.168.4.131 Port 80

i thought the pi image was ready to go from the outset?

thanks

Karl
[Android Apps and Games] pacosal:
Yes, it should work.

Try to call to http://192.168.4.131/index.php and tell me what happens.
[Android Apps and Games] karl0ss:
Hi mate, i am still getting a 404 Not found error..

thanks for getting back to me.

if i navigate to http://192.168.4.131/mdm/web/ I can access the web ui
[Android Apps and Games] OnkelKaethe:
Look in the Apache error log.

Gesendet von meinem GT-I9505G mit Tapatalk 4
[Android Apps and Games] pacosal:
Sorry for my last answer, this is the correct url.

If you want to update the web part to last version, unzip and copy all the files. After that, check the passwords and settings.

Thanks
[Android Apps and Games] karl0ss:
thanks

I have had a little play with it now, its a great bit of kit...but i have an issue/sugestion..

I don't appear to be able to enable Admin mode for my phone, its a Nexus 4 running 4.3, I don't seem to get a pop up for it..

I think it would be a nice idea if we could have a column before the imei column, that allows for a friendly name, like "My Phone" "Mums Phone" so its a bit easier to recognize..

other than that, great work, keep it up :)

EDIT - I tried to modify the apassword file to include my own username/password, but it wouldn't allow me to login, so i checked the htaccess and changed require user to karl and tried, still not working, i have now deleted the htaccess file completely, but it is still asking me for use/pass and neither the orignal user/pass or my new one work...

looks like im going to have to re-burn the image...
[Android Apps and Games] pacosal:
Hi,

the passwords are here: http://ownmdm.pacosal.com/download.php

If you want to change password you have to use this command:

mkdir -p /home/pi/

htpasswd -c /home/pi/apasswords pacosal

Thanks for feedback!