Getting IMEI number using ADB commands Android 12

198
May 08, 2022, at 09:40 AM

For android versions before 11 I was using the below command to get IMEI number from my device:

adb shell "service call iphonesubinfo 4 | cut -c 52-66 | tr -d '.[:space:]'"

or

adb shell service call iphonesubinfo 1 | toybox cut -d "'" -f2 | toybox grep -Eo '[0-9]' | toybox xargs | toybox sed 's/\ //g'

From android 12 it's not working anymore, these returns nothing

Can someone help with it ?

Rent Charter Buses Company
READ ALSO
Stopping Exoplayer on swiping in viewPager

Stopping Exoplayer on swiping in viewPager

I am making a reels type appI have made a ReelsFragment and ReelsAdapter

174
Weird White lines in Android Launcher?

Weird White lines in Android Launcher?

I'm currently programming and I noticed that there are strange white lines around the app in the Android LauncherWith other apps, everything is normal

111
Android, Microsoft Graph API - network unreachable

Android, Microsoft Graph API - network unreachable

I have followed the example at https://docsmicrosoft

189
Flutter parameters transfering across pages: What about the parameter "key"?

Flutter parameters transfering across pages: What about the parameter "key"?

I have made two pages, PersonalPage and InformationPageI want to transfer some parameters from PersonalPage to InformationPage

118