Git Product home page Git Product logo

androidagent's People

Contributors

anaelmobilia avatar cdpointpoint avatar cedricdenis avatar charleneauger avatar fbomj avatar gillesdubois avatar rudylaurent avatar vdeville avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

androidagent's Issues

Error 500

General informations

Android version : 8.1.0

OCS Inventory informations

Android agent version : OCSNG-Android-Agent.2.7

Problem's description

When i press "send inventory" on App, it returns the following error: "http communication error code 500"

looking at the Apache error log i find this information: [Wed Dec 15 14:31:24.902181 2021] [perl:error] [pid 750429] [client x.x.x.x:35567] Insecure dependency in open while running with -T switch at /usr/local/share/perl/5.30.0/Apache/Ocsinventory/Server/System.pm line 291.\n


Any questions or more information, just ask me and i'll send it.

Thanks in advance.

Android 2.3 - processor speed

Pas de remontée d'information.
Aucun des paths utilisés ne fournit l'information.

A défaut de mieux, faut-il prendre les BogoMIPS ?

App crash when inventory on Galaxy TabA6

General informations

Android version : 6.0.1 on Galaxy Tab A6
Sd card in the tablet

OCS Inventory informations

Android agent version : 2.3.0

Problem's description

Application crash when i try to inventory the device (Send inventory or Store inventory ) : "The application stopped"

I look for logs, but even with the option ticked, no log file found...

Sim card provider 1&1 causes malformed XML file

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Android version : 11

OCS Inventory informations

Android agent version : 2.7

Problem's description

Agent creates file, where section contains tag with name of SIM card provider, in my case "1&1".

part of XML:


26207
de


1&1

XML is not usable as "&" causes malforming of the XML file.
This is not accepted by apache.

log entry of apache:
[perl:error] [pid 34782] [client 192.168.178.134:44608] \nnot well-formed (invalid token) at line 163, column 16, byte 4427 at /usr/lib/x86_64-linux-gnu/perl5/5.32/XML/Parser.pm line 187.\nXML::Simple called at /usr/local/share/perl/5.32.1/Apache/Ocsinventory.pm line 218.\n

other devices without SIM card (Tablet, windows clients, ...) could be inventoried without issues.

2.7 INSTALL_FAILED_OLDER_SDK on android 5.1

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Android version : 5.1

OCS Inventory informations

Android agent version : 2.7

Problem's description

Describe your problem here

Failure [INSTALL_FAILED_OLDER_SDK]

Doesn't detect MAC correctly

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Android version :
9

OCS Inventory informations

Android agent version :
v.2.3.1

Problem's description

It does not correctly bring the MAC number, an essential item as an index to identify duplication of equipment. in my particular case it detects all the computers as 02: 00: 00: 00: 00: 00

Documentation des parametres OCS

Existe-t-il une documentation des éléments et des valeurs qui peuvent être envoyées au serveur OCS ?
J'ai seulement trouvé :
=> DTD génériques
=> Quelques valeurs par défaut

Mais pas de documentation expliquant les détails de chaque champs, ni les types de valeurs attendus
=> La documentation du plugin fusioninventory (revendiquant une compatibilité OCS) peut-elle être prise comme source ?

A-t-on une liste exhaustive des éléments, leur fonctionnalité, l'obligation de leur présence et leur valeur par défaut ?

ping @gillesdubois ;-)

Mac address do not show correctly

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Android version : 9

OCS Inventory informations

Android agent version : 2.7

Problem's description

When OCS inventory returns the smartphone informations, the WiFi Mac address display as 02:00:00:00:00:00. I also tested with order android smartphones and the same thing happens.

I have no serial number with Android 10 or 11

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Android version : 11

OCS Inventory informations

Android agent version : 2.3.1

Problem's description

Describe your problem here
I have no serial number , the value is underknow
In app when i click on show my inventory

I have that only on Android 10 or 11 with Android 8 it's ok i have the serial number

Thanks for your support

More Info

Hi,
i want more info concerning this projects
thank you

Get phone number using SIM Card inventory

General informations

Android version : 7.0

OCS Inventory informations

Android agent version : Latest

Problem's description

Please, inventory the phone number using the SIM Card query.
SIM Card query is already implemented, should be easy.

APK of latest release (v2.3.1) lacks signature

The APK attached to the latest release (OCSNG-Android-Agent-2.3.1.apk) lacks its signature and thus does not verify:

$ apksigner verify OCSNG-Android-Agent-2.3.1.apk
DOES NOT VERIFY
ERROR: No JAR signatures

Can you please check and fix? Thanks!

no MAC address on android 6.0

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Android version :
android linux 6.0
Server pack: Kernel version: 3.18.19

OCS Inventory informations

Android agent version :
Android Agent 2.3.1

Problem's description

Describe your problem here
Access to information is basically normal, but no MAC address is obtained.

All MACs acquired by three exception terminals were wrong at 02:00:00:00:00:00.

sorry for my bed english.

Crash when http proxy is checked but no proxy infos is set

General informations

Android version : All

OCS Inventory informations

Android agent version : Trunk

Problem's description

If you set HTTP Proxy to ON and don't set address and port, the application will crash when sending an inventory

License

Hello,

Under which license should be taked the code ?
All others OCS tools appears to be under GNU GPL v2.
No license file or headers are present on this application. Nor a contributor agreement.

Contributors to this code are :
@CedricCabessa
@cdpointpoint
@mortheres
@... Nicolas Ricquemaque
@AnaelMobilia

Have you - in archives - an agreement from these people to take the application under GNU GPL V2 ?

Crash à l'envoi d'un inventaire

09-27 06:40:42.859 2576-2597/org.ocsinventoryng.android.agent:ocs_process E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
Process: org.ocsinventoryng.android.agent:ocs_process, PID: 2576
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:318)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.IllegalArgumentException: Invalid path: /dev/block/vda
at android.os.StatFs.doStat(StatFs.java:46)
at android.os.StatFs.(StatFs.java:39)
at org.ocsinventoryng.android.sections.OCSDrive.(OCSDrive.java:39)
at org.ocsinventoryng.android.sections.OCSDrives.(OCSDrives.java:73)
at org.ocsinventoryng.android.actions.Inventory.BuildInventory(Inventory.java:113)
at org.ocsinventoryng.android.actions.Inventory.(Inventory.java:83)
at org.ocsinventoryng.android.actions.Inventory.getInstance(Inventory.java:174)
at org.ocsinventoryng.android.agent.AsyncOperations.doInBackground(AsyncOperations.java:76)
at org.ocsinventoryng.android.agent.AsyncOperations.doInBackground(AsyncOperations.java:36)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) 
at java.lang.Thread.run(Thread.java:761) 
Caused by: android.system.ErrnoException: statvfs failed: EACCES (Permission denied)
at libcore.io.Posix.statvfs(Native Method)
at libcore.io.BlockGuardOs.statvfs(BlockGuardOs.java:304)
at android.system.Os.statvfs(Os.java:506)
at android.os.StatFs.doStat(StatFs.java:44)
at android.os.StatFs.(StatFs.java:39) 
at org.ocsinventoryng.android.sections.OCSDrive.(OCSDrive.java:39) 
at org.ocsinventoryng.android.sections.OCSDrives.(OCSDrives.java:73) 
at org.ocsinventoryng.android.actions.Inventory.BuildInventory(Inventory.java:113) 
at org.ocsinventoryng.android.actions.Inventory.(Inventory.java:83) 
at org.ocsinventoryng.android.actions.Inventory.getInstance(Inventory.java:174) 
at org.ocsinventoryng.android.agent.AsyncOperations.doInBackground(AsyncOperations.java:76) 
at org.ocsinventoryng.android.agent.AsyncOperations.doInBackground(AsyncOperations.java:36) 
at android.os.AsyncTask$2.call(AsyncTask.java:304) 
at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) 
at java.lang.Thread.run(Thread.java:761) 

Icone application

@gillesdubois sur pull request #8
J'ai testé ton nouvel agent tout build normalement et les test passent bien.
Néanmoins il y a un soucis sur l'icône de l'agent, c'est l'ancienne qui s'affiche.
Pourrait-tu remettre celle d'origine ou alors je peux t'envoyer la nouvelle ?

Agent doesn't wait PROLOG_FREQ

OCS Android Agent v2.1.5 report to server every wake frequency instead of inventory frequency (PROLOG_FREQ).

At server we have PROLOG_FREQ set to 5 hours and refuse forced inventory (INVENTORY_SESSION_ONLY).
Looks like android agent is sending forced inventory every 10mins (wake freq) instead of waiting PROLOG_FREQ to contact the server.

Android Agent config:
Automatic: yes
Inventory freq: 5 hours (it took from server config)
Wake freq: 10min (default)
Cache lifetime: 15min (default)

Server /var/log/ocsinventory-server/activity.log:
Tue Oct 6 15:46:57 2015;10325;102;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;prolog;declined
Tue Oct 6 15:46:57 2015;10312;318;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;session;missing
Tue Oct 6 15:46:57 2015;10312;114;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;inventory;no_session
Tue Oct 6 15:46:57 2015;10312;115;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;inventory;refused
Tue Oct 6 15:56:59 2015;11577;102;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;prolog;declined
Tue Oct 6 15:56:59 2015;11582;318;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;session;missing
Tue Oct 6 15:56:59 2015;11582;114;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;inventory;no_session
Tue Oct 6 15:56:59 2015;11582;115;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;inventory;refused
Tue Oct 6 16:06:54 2015;12704;102;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;prolog;declined
Tue Oct 6 16:06:54 2015;12711;318;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;session;missing
Tue Oct 6 16:06:54 2015;12711;114;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;inventory;no_session
Tue Oct 6 16:06:54 2015;12711;115;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;inventory;refused
Tue Oct 6 16:10:20 2015;13104;102;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;prolog;declined
Tue Oct 6 16:10:20 2015;13105;318;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;session;missing
Tue Oct 6 16:10:20 2015;13105;114;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;inventory;no_session
Tue Oct 6 16:10:20 2015;13105;115;android-2059925ffeaca57f-2015-09-29-12-55-03;10.25.40.209;OCS-NG_Android_agent_v2.1;inventory;refused

Version code of app at Play Store differs from version at GitHub

It's hard to solve a problem when important details are missing, that why we added this template, to help you and us.

General informations

Android version : 9.0

OCS Inventory informations

Android agent version : 2.3.1

Problem's description

The version of the AndroidAgent you can download from your homepage (https://github.com/OCSInventory-NG/AndroidAgent/releases/download/2.3.1/OCSNG-Android-Agent-2.3.1.apk) differs from the version which is available through Play Store (https://play.google.com/store/apps/details?id=org.ocs.android.agent). The version from Play Store is the newest one.

Homepage / GitHub: 2.3.1 (Version code 231)
PlayStore: 2.3.1 (Version code 250)

I think they should be the same to avoid problems which are fixed in the most recent version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.