2

Im a beginner in Android Development and please excuse if question is not relevant or there are some alternate ways,i have developed an application wherein which i get/retrieve smartphone infos like :

ModelNumber

RAM size

Resolution

Kernel version

But is there any way to find the core features like RAM versions (indepth infos ,as we use msconfig in windows O.S to find system infos) ,also i have tried secret codes *#*#3264#*#* but no help

Thanks ,please guide me

Tharif
  • 13,794
  • 9
  • 55
  • 77

1 Answers1

0

if you proceed to Android development,

  1. you need to install Android SDK Tools + IDE: https://developer.android.com/sdk/index.html

  2. enable debug mode on the phone: How to find and turn on USB debugging mode on Nexus 4

  3. then through the console ( windows_button + R and type "cmd")

    • Go to the Android Tools bin folder
    • plug phone to usb
    • and run the command adb.exe shell

In this console will be available:

  • ModelNumber:

    cat /system/build.prop | grep product

  • Ram size:

    cat /proc/meminfo

  • Resolution:

    dumpsys SurfaceFlinger | grep "FB |"

  • Kernel version:

    cat /proc/version

Community
  • 1
  • 1
Kirill Podlivaev
  • 446
  • 7
  • 11
  • can i retrieve only capacity of the ram ? – Tharif May 20 '15 at 09:23
  • no problem: cat /proc/meminfo | grep MemTotal | grep -o "[[:<:]][0-9]*[[:>:]]" Put it one line. It is in kilobytes. – Kirill Podlivaev May 20 '15 at 10:01
  • thank you @Krinil one more question ,correct me if im wrong..The only thing i can retrieve about RAM is memory ? is there some other infos about RAM which i can get like RAM manufacturer llike that... – Tharif May 20 '15 at 10:12
  • Ordinary Linux x86 kernel has SMBIOS access(for ex.: dmidecode util), but I can't find something like this technology on the ARM platform. – Kirill Podlivaev May 20 '15 at 12:07
  • thank you @Krinil for your time..please do update if you find some new infos about the same.Thank you – Tharif May 20 '15 at 12:09