[FREE] Device 💻 - Get device info!

Device.Id is returning the android OTA update version. It is not a device ID.
e.g.
https://developers.google.com/android/images#sunfish

1 Like

I didn't say that's the ID of the device.

I must be seeing things then :wink:

image

2 Likes

Version 2

New blocks:

image

Bootloader

image
Returns the system bootloader version number.

Returns: text

Tags

image
Returns comma-separated tags describing the build, like 'unsigned,debug'.

Returns: text

This is how you convert text to a list.

image

1 Like

You can also add blocks like processor or android version!

1 Like

Version 3!

New blocks:

image

SdkCodeName

image
Returns the current development codename, or the string 'REL' if this is a release build.

SdkVersion

image
Returns the SDK version of the software currently running on this hardware device.

2 Likes

is it possible to join the results of all these blocks and calculate the MD5 as a unique id of the device?

I'm not sure yet.

Thank you for adding my (at least 1) block suggestions @gordonlu310

1 Like

Nice...

did u use Google developer

1 Like

Yes I did.

Version 4 updated!

New blocks:

Documentation

BaseOS

image
Returns the base OS build the product is based on.

Returns: text

Incremental

image
Returns the internal value used by the underlying source control to represent this build.

Returns: text

SecurityPatch

image
Returns the user-visible security patch level. This value represents the date when the device most recently applied a security patch.

This block only works on APIs > 22 (Android 6.0 or larger).

Returns: text

2 Likes

This update is cool!

1 Like

@gordonlu310 it is possible to return IMEI in Android 11?

Try this extension by @Aquib_Khan.

2 Likes

Thanks... :+1::+1::pray:

2 Likes

Do you mean 2022 ? :sweat_smile:

2 Likes

Yes.

It's currently 18:10 in Hong Kong, and the last day in 2021.

2 Likes

Version 5 updated!

Method blocks

Display

image
Returns a build ID string meant for displaying to the user.

Returns: text

Property blocks

Release

image
Returns the user-visible version string. E.g., "1.0" or "3.4b5" or "bananas". This field is an opaque string.
Do not assume that its value has any particular structure or that values of RELEASE from different releases can be somehow ordered.

Returns: text

Changed SdkCodeName and SdkVersion to property blocks.

SdkCodeName

image

Returns the current development codename, or the string 'REL' if this is a release build.

Returns: text

SdkVersion

image
Returns the SDK version of the software currently running on this hardware device.

Returns: int

2 Likes

nice update!

1 Like