You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android 14设备使用adb命令获取IMEI异常的问题排查与解决

IMEI Retrieval Fix for Android 14 via ADB
  • Android 13 Working Command:
    adb shell "service call iphonesubinfo 1 s16 com.android.shell | cut -c 52-66 | tr -d '.[:space:]'"
    
  • Android 14 Issue: The above command returns IMEI with 3 digits replaced by single quotes across all Android 14 devices.
  • Failed Alternative: Attempting the Android 13 fallback command throws errors:
    adb shell service call phone 146 i32 0 s16 com.android.shell | cut -d "'" -f2| grep -Eo '[0-9]'| xargs| sed 's/\ //g'
    
  • Root Cause: The cut command's column range was incorrect for Android 14's output format.
  • Android 14 Working Command: Adjust the column range to 50-64:
    adb shell "service call iphonesubinfo 1 s16 com.android.shell | cut -c 50-64 | tr -d '.[:space:]'"
    

内容的提问来源于stack exchange,提问作者Fedor Potapenko

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.30 20:10:01