adb shell vs local terminal - Android Q&A, Help & Troubleshooting

I was under the impression that 'adb shell' just gives access to the phone shell. But I just noticed that results of commands run via adb shell or locally on the phone (I an using this terminal if it matters https://play.google.com/store/apps/details?id=jackpal.androidterm) differ in a way that cannot be explained just by using a different account e.g. 'uname -m' reports armv8l on the phone but aarch64 in adb shell or 'cat /proc/cpuinfo' shows
Processor : AArch64 Processor rev 4 (aarch64)
processor : 0
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x801
CPU revision : 4
in adb shell (only the first core) but
Processor : AArch64 Processor rev 4 (aarch64)
processor : 0
model name : ARMv8 Processor rev 4 (v8l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xa
CPU part : 0x801
CPU revision : 4
locally - more features, extra 'model name' line. So what gives?

Related

Manufacturing date of processor

Is there any way to see the manufacturing date of the processor
from my hero?
I only know about this:
Code:
Processor : ARMv6-compatible processor rev 2 (v6l)
BogoMIPS : 669.77
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant : 0x1
CPU part : 0xb36
CPU revision : 2
Hardware : hero
Revision : 0080
Serial : 0000000000000000

[Q] Single or Dual core ? Mystery SOLVED.

Hi,
I like to verify the CPU spec of Motorola Droid RAZR XT910. From the info I collected, I am quite not sure if the CPU is dual cores or not.
You use console using ConnectBot or adb shell command from PC.
Code:
$ cat /proc/cpuinfo
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 598.90
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc09
CPU revision : 3
Hardware : mapphone_CDMA
Revision : 0000
Serial : 0000000000000000
For the real SMP system, it should shows,
processor : 0
and
processor : 1
Code:
$ cat /proc/version
Linux version 2.6.35.7-ga671bf6 ([email protected]) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Tue Oct 18 14:45:37 IST 2011
OS Monitor apps, from Market, also shows single core.
The kernel has the SMP supports, but, the CPU doesn't have more than 2 processors. Is there other way to verify it or did I missed something.
Thank you.
Update: 2011-12-22
Yes, RAZR has dual cores CPU, the kernel and OS are supports both cores. The mot_plug will add the additional core, when needed.
It's dual-core, at least it's written everywhere. As the cpecs says it has TI OMAP4430, which is dual-core processor called "Dual-core ARM® Cortex™-A9 MPCore™ with Symmetric Multiprocessing (SMP)".
I don't know what it means exactly, but sounds fair enough for me.
Yes, there are 'Dual Core' everywhere, in documentation or during booting up the phone.
Based on my experiences, using GNU/Linux in SMP multi CPUs or multi-cores cpu server platform, since 1997 , we need hw, kernel, OS and sw to take the advantage of all the CPUs available.
In this case, the kernel is SMP capable, but the CPU hw is not being seen as SMP cpu by the kernel. So, I am not sure, if Android is running on both cores efficiently. It is similar situation running MS-DOS on 6 cores CPU, Core-i7 or AMD Phenom X6, which only 1 core is being use by the OS.
If Android is running on 1 core, in RAZR, then, imagine the full potential when running on both cores.
Thank you.
theEnzy said:
It's dual-core, at least it's written everywhere. As the cpecs says it has TI OMAP4430, which is dual-core processor called "Dual-core ARM® Cortex™-A9 MPCore™ with Symmetric Multiprocessing (SMP)".
I don't know what it means exactly, but sounds fair enough for me.
Click to expand...
Click to collapse
Could some Devs look into it??
This was my fear for all the phones that claimed to be "Dual-core"...
Here in India we get the XT910...and this clearly now scares me...
Based on document and specs, RAZR has the dual cores cpu. But, how much. efficiently being implemented in the current stock kernel.
TQ
Sent from my XT910 using XDA App
This is $ cat /proc/cpuinfo of my Asus eePad Transformer TF101.
Code:
: ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 999.42
processor : 1
BogoMIPS : 215.44
Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc09
CPU revision : 0
Hardware : ventana
Revision : 0000
Serial : 0000 Processor 000000000000
That's what supposed to be looks like.
bahathir said:
The kernel has the SMP supports, but, the CPU doesn't have more than 2 processors. Is there other way to verify it or did I missed something.
Click to expand...
Click to collapse
Yes it is DUAL core but second core dynamically up and down by motorola CPU hotplug driver.
Look at http://forum.xda-developers.com/showthread.php?t=1367255
Thank you for the clarification. Yes, RAZR has duai cores cpu, and it's kernel supports it.
Here is my clarification.
1) Open Connectbot and access to lacal
2) $ cat /dev/urandom > /sev/null &
3) cat /proc/cpuinfo
4) fg Ctrl-C # to kill running process cat /dev/urandom
Now, it shows both cores information.
Code:
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 11424.28
processor : 1
BogoMIPS : 1996.68
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc09
CPU revision : 3
Hardware : mapphone_CDMA
Revision : 0000
Serial : 0000000000000000
The missing core's mystery solved.
Tq.
Sent from my XT910 using XDA App

Cat /proc/cpuinfo request

Could you give me content of the file "/proc/cpuinfo", please?
It would be immensely helpful.
Thank you in advance.
Type in terminal:
Code:
adb shell cat /proc/cpuinfo
This is from a terminal emulator, not adb but:
$ export PATH=/data/local/bin:$PATH
$ cat /proc/cpuinfo
Processor : ARMv7 Processor rev 1 (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 : 1
Hardware : Qualcomm MSM 8974 (Flattened Device Tree)
Revision : 0000
Serial : 0000000000000000
Sent from my D6503 using Tapatalk
o0 Matt 0o said:
This is from a terminal emulator, not adb but:
...
Sent from my D6503 using Tapatalk
Click to expand...
Click to collapse
Matt, you're my life savior

Signed ROM Moto G5 Plus XT1681 (NPN25.137-15 Potter Latam Brasil Mexico)

I'm going to tell the entire story.
It all started with me thinking about rooting my phone, so I searched some guides...
I did all the process, my Moto G5 Plus was rooted and I tried to update my phone with an OTA.
It got to bootloop and I got stuck and mad.
I searched for more and found about custom ROMs. I installed an unofficial version of LineageOS 15 for my phone and it worked good, but it wasn't the same as with the stock ROM (The camera app didn't work properly).
So, I saw more guides for getting to the stock ROM.
I did all the process (Download the ROM, go to bootloader, connect to the PC, do the commands in ADB and Fastboot) and I got the ROM and 2 OTA updates but I lost apps from the play store and I believe that updates for system apps (Because a friend of mine has the same phone and he has more updates... He got an update for the camera and for the Moto app).
I thought that if I locked bootloader again, I could get these updates...
I found some videos on internet about people locking it with some commands (I think one was "fastboot oem lock") and some people makes it and locks the phone while others (like me) get a problem about a "signed ROM".
I think I am about to cry at this point, I just want the bootloader locked and everything like before but probably I am not going to make it. It is never going to be like before.
I loved my phone and I regret everything I did in the past weeks.
Even if I can't get those apps from the play store back, I just want to lock the bootloader (I hate that warning always reminding me about the bootloader).
And, can someone tell me if I am going to get Oreo with the phone like this? Because I don't think I can get what I want (I don't want the warranty, I want the apps and updates from Motorola and I want Oreo... Because I think my friend is going to get it and I will not).
Thanks in advance and have a nice day :')
Here are the specs of my phone (I used CPU Z):
It doesn't mention it (I believe) but my current build number is:
NPNS25.137-78-4
Info:
CPUs : 8
SoCs : 1
CPU 0 :* ARMv7 Processor rev 4 (v7l)
Name : Qualcomm Snapdragon 625
CPUs : 8
Core set 0 : ARM Cortex-A53
Core set 0 Nb Cores : 8
Core set 0 Max Clock : 2016 MHz
Core set 0 Impl.id : 0x41
Core set 0 Arch.id : 0x7
Core set 0 Var.id : 0
Core set 0 Part.id : 0xd03
Core set 0 Rev.id : 4
Core set 0 Revision : r0p4
Arch : 8x ARM Cortex-A53 @2.02 GHz
Codename :*
Process : 14 nm
GPU Vendor : Qualcomm
GPU Renderer : Adreno (TM) 506
Model : Moto G (5) Plus (potter_n)
Manufacturer : motorola
Board : msm8953
Hardware : qcom
Android Ver. : 7.0
Kernel Arch. : armv7l
Battery capacity : 3000
--- CPUInfos ---
abi : armeabi-v7a
abi2 : armeabi
supported abis : [armeabi-v7a, armeabi]
supported 32-bit abis : [armeabi-v7a, armeabi]
supported 64-bit abis : []
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32*
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32*
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32*
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32*
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 4
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32*
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 5
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32*
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 6
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32*
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 7
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32*
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Hardware : Qualcomm Technologies, Inc MSM8953
Revision : 83b0
Serial : 1a9dd0e600000000
Processor : ARMv7 Processor rev 4 (v7l)
Device : potter
Radio : LATAM
MSM Hardware : MSM8953
--- Debug Infos ---
20=bms=34500
21=chg_therm=37
22=xo_therm=35
23=xo_therm_buf=35
24=msm_therm=34
25=chg_temp=41892
26=tsens_tz_sensor0=521
27=tsens_tz_sensor1=459
28=tsens_tz_sensor2=436
29=tsens_tz_sensor3=443
30=tsens_tz_sensor4=521
31=tsens_tz_sensor5=518
32=tsens_tz_sensor6=521
33=tsens_tz_sensor7=524
34=tsens_tz_sensor8=534
35=tsens_tz_sensor9=492
36=tsens_tz_sensor10=508
37=tsens_tz_sensor11=505
clock 0=2016000
clock2 0=201600
clock 1=2016000
clock2 1=201600
clock 2=2016000
clock2 2=201600
clock 3=2016000
clock2 3=201600
clock 4=2016000
clock2 4=201600
clock 5=2016000
clock2 5=201600
clock 6=2016000
clock2 6=201600
clock 7=2016000
clock2 7=201600
One last question:
When I had my stock phone, I installed MX Player in the play store. When I opened it, it said that it required the ARM v7 Neon Codec.
But now, after all of this, I installed the app once again and it didn't ask for it. Is this normal?

Help me to find custom rom

Hello Pros,
I have problem to get a rom for my tablet.
can any one help me plz:
this what i have:
BOARD: u357 main pcb v4.0
CPUs : 4
SoCs : 1
CPU 0 : AArch64 Processor rev 4 (aarch64)
Name : MediaTek MT6735
CPUs : 4
Core set 0 : ARM Cortex-A53
Core set 0 Nb Cores : 4
Core set 0 Max Clock : 988 MHz
Core set 0 Impl.id : 0x41
Core set 0 Arch.id : 0x8
Core set 0 Var.id : 0
Core set 0 Part.id : 0xd03
Core set 0 Rev.id : 4
Core set 0 Revision : r0p4
Arch : 4x ARM Cortex-A53 @988 MHz
Codename :
Process : 28 nm
GPU Vendor : ARM
GPU Renderer : Mali-T720
Model : Orange Tab8 4G (Orange Tab8 4G)
Manufacturer : Orange
Board : unknown
Hardware : mt6735
Android Ver. : 5.1
Kernel Arch. : aarch64
Battery capacity : 1000
--- CPUInfos ---
abi : armeabi-v7a
abi2 : armeabi
supported abis : [arm64-v8a, armeabi-v7a, armeabi]
supported 32-bit abis : [armeabi-v7a, armeabi]
supported 64-bit abis : [arm64-v8a]
Processor : AArch64 Processor rev 4 (aarch64)
processor : 0
BogoMIPS : 26.00
processor : 1
BogoMIPS : 26.00
processor : 2
BogoMIPS : 26.00
Features : fp asimd aes pmull sha1 sha2 crc32 wp half thumb fastmult vfp edsp neon vfpv3 tlsi vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Hardware :
--- Debug Infos ---
20=mtktswmt=42000
21=mtktspmic=38280
22=mtkts1=42400
23=mtkts2=42000
24=mtkts3=42100
25=mtktspa=-127000
26=mtktsbattery=34000
27=mtktscpu=42400
28=mtktsAP=42000
29=mtktsbtsmdpa=41000
clock 0=988000
clock2 0=98800
clock 1=988000
clock2 1=98800
clock 2=988000
clock2 2=98800
clock 3=-1
clock2 3=-1
no one can help me

			
				
houcem.info said:
no one can help me
Click to expand...
Click to collapse
I can help you to make twrp for your device but about rom i cant say....
HemanthJabalpuri said:
I can help you to make twrp for your device but about rom i cant say....
Click to expand...
Click to collapse
ooooh, god bless you :good:
houcem.info said:
ooooh, god bless you :good:
Click to expand...
Click to collapse
Did you have the stock rom of your device

Categories

Resources