FORUMS

[APP|FOSS] GSF, Widevine L1/2/3, Treble & A/B device infos (+all IDs/Specs)

730 posts
Thanks Meter: 1,013
 
By oF2pks, Senior Member on 3rd October 2018, 12:38 PM
Post Reply Email Thread
Re-branded KalturaDeviceInfo to provides GSF id (needed for Google uncertified devices) and checks about Widevine, Treble, a/b & media decoders (and all others possible device system definitions).
Code:
uses-permission android:name=
android.permission.WRITE_EXTERNAL_STORAGE android:maxSdkVersion="18" 
android.permission.READ_EXTERNAL_STORAGE
android.permission.CAMERA
com.google.android.providers.gsf.permission.READ_GSERVICES
This app is a basic json example, it shows how much any app, can silently retrieve devices characteristics, but also simply provides :
  • testing any device sample, without Dev./Options unlocked, before purchasing (live or via email request to the seller)
  • add-on for static passive reporting in AOSP roms (conversely to active stats)
  • Treble advanced reviewing specifics
  • all-in-one floss without internet leak
(*.json can be easily browsed/parsed with FirefoxPC)


code https://bitbucket.org/oF2pks/kaltura...fo-android/src
prim-origin https://github.com/kaltura/kaltura-device-info-android
Quote:

If you want some added, let me know, but due to privacy, I won't add any requiring <INTERNET> or <READ_PHONE_STATE> (or <READ_LOGS>)

° New Version: detection getprop for Treble & A/B seamless update + designation Soc & Kernel version
° JSON report doesn't include any {action}->privateIDs ; feel free to Post everywhere
° ... SharedLibs, Features, SecurityProviders, /proc/meminfo, GLESversion +...

° Services & init_svc & {action}-> getprop
° New Treble checks (ro.vndk.version) & ScreenMetrics
° improve gps.conf & treble + matrix
°/vendor detection, mounts, camera & cameraAPi2... (and Matrix_bug)
° CameraAPi2 global specs
° Display HDR modes
° etc/gps.conf miss in "private" dialog-box
° microG spec(s) detection
° multi screens support
° all sensors with mA consumption
° Binder Current Protocol Version
° api29 updates
° /vendor Sepolicy
° xml easy webView
° FingerprintedPartitions
° webView engine(s) detection via active button
NEW RELEASE RC20: ultra lightweight ~350kb with packagesInfos & permissionsInfos, ro.build.system_root_image, android10 mediaCodec soft/hard + vendor indication.


nota: works on JellyBean and up ; with Oreo, Android_id is discontinued, and Serial_id deprecated due to <read_phone_state> permission.
Attached Thumbnails
Click image for larger version

Name:	Screenshot1.png
Views:	2000
Size:	122.2 KB
ID:	4617691   Click image for larger version

Name:	Screenshot_2.png
Views:	1930
Size:	176.3 KB
ID:	4617692   Click image for larger version

Name:	Screenshot3.png
Views:	1882
Size:	123.3 KB
ID:	4617693   Click image for larger version

Name:	Screenshot4.png
Views:	1660
Size:	194.7 KB
ID:	4617694   Click image for larger version

Name:	Screenshot_5.png
Views:	1606
Size:	154.8 KB
ID:	4617696   Click image for larger version

Name:	Screenshot_6.png
Views:	1562
Size:	97.3 KB
ID:	4617697   Click image for larger version

Name:	ScreenshotJSON.png
Views:	1552
Size:	94.9 KB
ID:	4617698   Click image for larger version

Name:	fdroid.png
Views:	1418
Size:	7.4 KB
ID:	4669626  
Attached Files
File Type: apk kalturadeviceinfoRC6.apk - [Click for QR Code] (1.68 MB, 496 views)
File Type: apk xdadeviceinfoRC9-debug.apk - [Click for QR Code] (2.17 MB, 282 views)
File Type: apk xdadeviceinfoRC20-debug3.apk - [Click for QR Code] (327.6 KB, 50 views)
The Following 6 Users Say Thank You to oF2pks For This Useful Post: [ View ] Gift oF2pks Ad-Free
4th October 2018, 11:16 AM |#3  
oF2pks's Avatar
OP Senior Member
Thanks Meter: 1,013
 
More
Quote:
Originally Posted by MishaalRahman

Can you explain what the purpose of this is? What we would use this for?

Hi, thanks for your interest, I'm huge xda{news} fan (everyday congrats), and was referring to
-GSFid https://www.xda-developers.com/how-t...-google-error/ , this app throws a json on screen with finger touch copy/select/share; so users can copy it, also if Firefox is installed ( Fennec or Klar), on Lollipop and up, the share button to Firefox will straight open Google re-certification page (1st link in json).
-Widevine real level : https://www.xda-developers.com/xiaom...l1-netflix-hd/ (and others Oneplus5...) thanks to Kaltura prim-origin, the app tests all possible drm inclusions.
-cpu soc64 without arm64 support: (thx to @mattwhite7102) some low cost oem provide devices with arm64 cpu without arch64 support https://forum.xda-developers.com/sho...&postcount=859
EDIT v2
-Treble detection https://www.xda-developers.com/proje...-android-oreo/
-A/B seamless update https://www.xda-developers.com/how-t...mless-updates/


I will do my best to get this app auto-built by F-Droid, thus before buying a low cost device (example Treble project), buyers can ask sellers to process it, and send them this json by email. ( ? same for each new xda forum's device heading ?).

Finally, every (closed source) app with <internet> permission can leak this data to the net: it just visualizes this.
In that same purpose I'm also on releasing an upgrade of ApplicationsInfo with multiple additions, and without <internet> or other "excessive" permission : https://bitbucket.org/oF2pks/android...nfo/downloads/ . (but untested on new Pie Update Inactive Apps screen to show buckets )
5th October 2018, 10:41 PM |#4  
Awesome I will add this to my apk stash!

Sent from my Samsung SM-A520W using XDA Labs
13th December 2018, 01:19 AM |#5  
TiTiB's Avatar
Senior Member
Thanks Meter: 473
 
More
Matrix ckick causes freeze
@oF2pks thanks for this! I'm no beginner when it comes to Android modding and such (check my sig) but the amount of info your app provides is overwhelming. More stuff for me to learn

PROBLEM: When I click on "Matrix" the app freezes, then I get the error "Kaltura Device Info is not responding".

MatLog output attchd

BTW, I learned about this because of link at
https://forum.xda-developers.com/pro...icial-t3878115
The Following User Says Thank You to TiTiB For This Useful Post: [ View ] Gift TiTiB Ad-Free
11th October 2019, 07:16 AM |#6  
Junior Member
Thanks Meter: 0
 
More
Thanks so much.
DeviceInfo+++ This is a hidden gem, thank you very much.
26th October 2019, 01:48 PM |#7  
Senior Member
Thanks Meter: 1,019
 
Donate to Me
More
@oF2pks

Hi,
thanks for the app but why on bitbucket the last release date is 2019-10-25 but on F-Droid the last release date is 2018-12-31?
8th November 2019, 05:18 AM |#8  
Senior Member
Thanks Meter: 38
 
More
@ale5000 , F-Droid packaging is usually out of scope of original developer(s). You should ask at https://gitlab.com/fdroid/fdroiddata/issues/

---------- Post added at 11:18 AM ---------- Previous post was at 10:54 AM ----------

Very nice app. Useful to gather inventory info from Android devices (similar to my Android port of system-report).

I just wonder why important data didn't make it into the resulting JSON? (namely `df`, `meminfo` etc.)
If the reason is privacy then a separate file could be created with `private` word in the filename...
The Following User Says Thank You to ildar_prophet For This Useful Post: [ View ] Gift ildar_prophet Ad-Free
8th November 2019, 01:20 PM |#9  
oF2pks's Avatar
OP Senior Member
Thanks Meter: 1,013
 
More
Quote:
Originally Posted by ildar_prophet

@ale5000 , F-Droid packaging is ...

I just wonder why important data didn't make it into the resulting JSON? (namely `df`, `meminfo` etc.)
If the reason is privacy then a separate file could be created with `private` word in the filename...

I use 3 different packaging:
Quote:
Originally Posted by oF2pks

... xda for "pre-stage" debug flavor and bitbucket for debug testing "on-the-fly". F-Droid signed release is up, and should be uploaded at next [checkupdates]: https://f-droid.org/wiki/index.php?t...iu=1&limit=500 (~2/3 days).

Android10 finalized RC8 should be on F-Droid next checkupdates|build|deploy, unfortunately I couldn't find any Pixel4 user for testing latest Q modern changes like getPhysicalCameraIds or getKeysNeedingPermission. (but thanks to @seh6183 for multi-screen testing on LG G8X ThinQ).

The primary goal of this DeviceInfo app is to help purchasing devices by asking seller to send json to buyer (or run it directly in shops for powered-on devices when connected to wifi... or via bluetooth), and to provide straight full anonymous reports for rom developers (especially for project Treble); without any misses concerning deep defined characteristics (exception to Bluetooth version identification which even doesn't really exist in android (?)).
I use the alt button for private (or wip functionalities) or interactive dynamics data that could change in the lifetime of the device. Sometimes these also failed on alternative roms custom implementation.

(EDIT x10 thanks to @hackintosh5 for Binder arm protocol detection implementation https://github.com/penn5/TrebleCheck...p/src/main/cpp)
The Following User Says Thank You to oF2pks For This Useful Post: [ View ] Gift oF2pks Ad-Free
8th November 2019, 04:37 PM |#10  
hackintosh5's Avatar
Senior Member
Thanks Meter: 951
 
Donate to Me
More
Using my code, your code must be GPLv3. I can't find the source code, please can you link it.
8th November 2019, 06:56 PM |#11  
oF2pks's Avatar
OP Senior Member
Thanks Meter: 1,013
 
More
Quote:
Originally Posted by hackintosh5

Using my code, your code must be GPLv3. I can't find the source code, please can you link it.

All F-Droid apps have public code linked in their own description
https://f-droid.org/en/packages/com....radeviceinfos/
KalturaDeviceInfo use Unlicense, but all your code(s) have your original GPLv3 headings : https://bitbucket.org/oF2pks/kaltura.../src/main/cpp/
Post Reply Subscribe to Thread

Tags
a/b, decoder, gsf, treble, widevine

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes