Skip to content

Fix for Android 6.0.1#71

Merged
GhostofGoes merged 4 commits intoGhostofGoes:masterfrom
emadmahdi:patch-1
Dec 10, 2021
Merged

Fix for Android 6.0.1#71
GhostofGoes merged 4 commits intoGhostofGoes:masterfrom
emadmahdi:patch-1

Conversation

@emadmahdi
Copy link
Contributor

@emadmahdi emadmahdi commented Nov 23, 2021

Tested and working.
Android 6.0.1
no need for root

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?

Code changes:

  • Did you format your code with Black?
    • black getmac tests
  • Are the linting checks passing?
    • tox -e check
  • Do all tests pass locally?
    • tox
  • Have you updated the CHANGELOG with a summary of your change?
  • Did you add your name to the contributors list in the README?

Summary of changes:

@GhostofGoes
Copy link
Owner

GhostofGoes commented Dec 9, 2021

Looks good. Would you mind capturing samples of the output so I can add them to the tests? Just copy-paste the output of the command and put it in a test file in ./tests/samples/ (also, apologies for the delay in responding to this)

@emadmahdi
Copy link
Contributor Author

emadmahdi commented Dec 9, 2021

Done .. I added two files for two android commands.

Just to let you know ... I am using your getmac with my changes in a small non-commercial project which is currently used by over 600 device worldwide .. and getmac proved to be a very good replacement of uuid .. i can confirm that getmac is producing a unique id of all these devices with no exceptions.

Thank you.

@emadmahdi
Copy link
Contributor Author

emadmahdi commented Dec 9, 2021

The 600 devices are mostly windows and android .. but i also have other operating systems using getmac perfactly.

If you are interested to create a new uuid python module ... i can send you my script that convert the mac address to an id that consist of 16 digits (numbers) .. plus the new id have an extra 4 digits that works similar to checksum for verifying this new id is not manipulated in any way.

@GhostofGoes
Copy link
Owner

Done .. I added two files for two android commands.

I think you might've forgotten to push the changes.

@GhostofGoes
Copy link
Owner

Just to let you know ... I am using your getmac with my changes in a small non-commercial project which is currently used by over 600 device worldwide .. and getmac proved to be a very good replacement of uuid .. i can confirm that getmac is producing a unique id of all these devices with no exceptions.

Thank you.

Wow that's awesome! Thank you so much for sharing that, I love hearing how it gets used and that it helps people out 😁

@emadmahdi emadmahdi closed this Dec 10, 2021
@emadmahdi emadmahdi reopened this Dec 10, 2021
@emadmahdi
Copy link
Contributor Author

I am using github web .. I did not find a way to push my commits to your code ... I think you have to pull these changes and merge them with your code .. I have two pulls (branches) that needs to be merged to your code "patch-1" and "patch-2"

@GhostofGoes GhostofGoes merged commit ee11510 into GhostofGoes:master Dec 10, 2021
@GhostofGoes
Copy link
Owner

May open the second branch as a new PR? Unfortunately I don't use GitHub web much.

@GhostofGoes GhostofGoes mentioned this pull request Dec 10, 2021
@emadmahdi
Copy link
Contributor Author

I think you forgot to merege "patch-2" .. it contains the two samples files .. while "patch-1" which already merged contains the modification of "getmac.py" file
emadmahdi/getmac:patch-2

@emadmahdi emadmahdi deleted the patch-1 branch December 11, 2021 00:37
@GhostofGoes
Copy link
Owner

The only PR I see is this one for patch-1, I don't see a PR for patch-2. Could you open a new PR from the patch-2 branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants