CPU INFO - please run this

1,199 views
Skip to first unread message

Chris

unread,
Jan 2, 2016, 3:00:27 PM1/2/16
to DroidScript
Hey guys, I need everyone's help who comes to this forum. I am writing some code to handle cpu differences, ARM - version, intel, x86 - etc... I need you to take a few minutes and run the following code, which will copy the data to your clipboard, then simply paste here. I GREATLY THANK EVERYONE.


//Called when application is started.
function OnStart()
{
    //Create a layout with objects vertically centered.
    lay = app.CreateLayout( "linear", "VCenter,FillXY" );    

    //Create a text label and add it to layout.
    txt = app.CreateText( "THANK YOU" );
    txt.SetTextSize( 40 );
    lay.AddChild( txt );
    
    //Add layout to app.    
    app.AddLayout( lay );

    var a = app.SysExec('cat /proc/cpuinfo');
    app.Alert(a);
    app.SetClipboardText(a);
}

Chris

unread,
Jan 2, 2016, 3:02:12 PM1/2/16
to DroidScript
output will be (something like):

Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 680.75
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x51
CPU architecture: 7
CPU variant : 0x1
CPU part : 0x00f
CPU revision : 2

Hardware : SPH-M830
Revision : 0003

Again, Thank you!

Steve Garman

unread,
Jan 2, 2016, 3:04:27 PM1/2/16
to DroidScript
From my phone

Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 38.40

processor : 1
BogoMIPS : 38.40

processor : 2
BogoMIPS : 38.40

processor : 3
BogoMIPS : 38.40

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3

Hardware : Qualcomm MSM8226
Revision : 8400
Serial : 53a7b3070f000000
Device : titan
Radio : 5
MSM Hardware : MSM8226 CS

Steve Garman

unread,
Jan 2, 2016, 3:15:57 PM1/2/16
to DroidScript
Hudl2 tablet

Processor : ARMv8 processor rev 1 (aarch64)
processor : 0
processor : 1
Features : fp asimd aes pmull sha1 sha2 wp half thumb fastmult vfp edsp neon vfpv3 tlsi vfpv4 idiva idivt
CPU implementer : 0x4e
CPU architecture: 8
CPU variant : 0x0
CPU part : 0x000
CPU revision : 0

Hardware : placeholder
Revision : 0000
Serial : 0000000000000000

Manuel Lopes

unread,
Jan 2, 2016, 6:00:30 PM1/2/16
to DroidScript

Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 38.40

processor : 1
BogoMIPS : 38.40

processor : 2
BogoMIPS : 38.40

processor : 3
BogoMIPS : 38.40

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0


CPU part : 0xc07
CPU revision : 3

Hardware : Qualcomm MSM 8610 (Flattened Device Tree)
Revision : 0006
Serial : 0000000000000000

Timothy Kline

unread,
Jan 2, 2016, 9:32:49 PM1/2/16
to DroidScript
Galaxy tab 2 7.0

Processor : ARMv7 Processor rev 3 (v7l)
processor : 0

BogoMIPS : 1592.98

processor : 1
BogoMIPS : 1592.98

Features : swp half thumb fastmult vfp edsp neon vfpv3

CPU implementer : 0x41
CPU architecture: 7

CPU variant : 0x1
CPU part : 0xc09
CPU revision : 3

Hardware : Espresso
Revision : 000a
Serial : 000808e2a60adf21

JAUREGUI

unread,
Jan 3, 2016, 9:00:32 PM1/3/16
to DroidScript
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 38.40

processor : 1
BogoMIPS : 38.40

processor : 2
BogoMIPS : 38.40

processor : 3
BogoMIPS : 38.40

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt

CPU implementer : 0x41
CPU architecture: 7

CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3

Hardware : Qualcomm MSM8226
Revision : 0006
Serial : 0000000000000000

sankarshan dudhate

unread,
Jan 4, 2016, 12:32:52 AM1/4/16
to DroidScript
Micromax Unite 2 A106

Processor : ARMv7 Processor rev 3 (v7l)
processor : 0

BogoMIPS : 32.50
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt

CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3

Processor : ARMv7 Processor rev 3 (v7l)
processor : 1
BogoMIPS : 32.50
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt

CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3

Processor : ARMv7 Processor rev 3 (v7l)
processor : 2
BogoMIPS : 32.50
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt

CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 3

Hardware : MT6582
Revision : 0000
Serial : 0000000000000000

Regards,
Sankarshan

Chris

unread,
Jan 4, 2016, 12:58:51 AM1/4/16
to DroidScript
Anyone with a x86 (intel) device not running ARM emulation?

or if you are positive you have a x86 device running ARM emulatuon, post it, with device name.

I'm trying to figure out a bulletproof way of deciding if a device is ARM or x86.

Again, thank you to everyone.

Steve Garman

unread,
Jan 4, 2016, 1:55:25 AM1/4/16
to DroidScript
Chris,
on my x86 tablet,
app.SysExec("getprop ro.product.cpu.abi ");
returns
"x86_64"

see also https://software.intel.com/en-us/blogs/2014/12/16/how-to-identify-the-image-is-32-bit-or-64-bit-user-space

Michael Seymour

unread,
Jan 4, 2016, 2:16:12 AM1/4/16
to DroidScript
Galaxy Note 3

Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 38.40

processor : 1
BogoMIPS : 38.40

processor : 2
BogoMIPS : 38.40

processor : 3
BogoMIPS : 38.40

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x51
CPU architecture: 7
CPU variant : 0x2
CPU part : 0x06f
CPU revision : 0

Hardware : Qualcomm MSM8974
Revision : 0008
Serial : 0000240800005207

Chris

unread,
Jan 4, 2016, 7:56:25 AM1/4/16
to DroidScript
Steve,

I was looking into 'ro.product.cpu.abi' through a java plugin, had no idea of the getprop command.

That made it easy! THANK YOU!

Reply all
Reply to author
Forward
0 new messages