将 AOSP 14 刷入 Pixel 7a 后面临 SIM 卡/网络连接问题

问题描述 投票:0回答:1

将 AOSP 14 (Lynx) 刷入 Pixel 7a 设备后,我遇到了问题。一旦我将 SIM 卡插入手机,手机就会开始随机重启,并且手机永远无法连接到网络。 AT&T 和 Verizon SIM 卡经常出现此问题。使用 T-Mobile SIM 卡的频率稍低,但仍然会发生。

我想知道我是否遗漏了什么或做错了什么!以下是我正在执行的步骤:

  1. 我已经设置了虚拟机(Ubuntu)
  2. 我按照以下列出的步骤下载了源代码:https://source.android.com/docs/setup/download/downloading
  3. 下载并提取二进制文件(来自:https://developers.google.com/android/drivers
  4. 按照以下列出的步骤构建 AOSP:https://source.android.com/docs/setup/build/building
  5. 成功构建后,我从文件夹 WORKING_DIRECTORY/out/target/product/ 中下载所有文件夹“lynx”
  6. 在引导加载程序模式下连接 Pixel 7a 并解锁 OEM
  7. 使用下载的 lynx 文件夹中的命令 'ANDROID_PRODUCT_OUT="./" fastboot flashall -w' 刷新 AOSP
  8. 手机以 AOSP 14 开头
  9. 插入 SIM 卡
  10. 手机不断重启并且无法连接到电话网络(它不再是手机)

我已尝试过从 2023 年 10 月到 2024 年 1 月的所有 Android 14 (lynx) 版本,但没有成功!任何帮助将不胜感激!

更新 日志报告:

434-434 init pid-434 E Unable to set property 'persist.vendor.radio.call_waiting_for_sync_0' from uid:10082 gid:10082 pid:27559: SELinux permission check failed 
1391-3611  ActivityManager system_server E Service ServiceRecord{96c9046 u0 com.shannon.imsservice/.ShannonImsService} in process ProcessRecord{2bda7ab 9540:com.shannon.imsservice/u0a82} not same as in map: ServiceRecord{eed0ddb u0 com.shannon.imsservice/.ShannonImsService}
16911-16928 SHANNON_IMS com.shannon.imsservice E 0057 [CONF] External configuration xml file not exist in vendor/etc. Name: sim_operator_list.xml (BaseConfigurationReader%getInputStreamVendor:293)
android android-source rom google-pixel
1个回答
0
投票

添加下一条规则:

  1. 文件system_ext/private/platform_app.te

    set_prop(platform_app, shannon_ims_service_prop);

  2. 文件system_ext/private/property_contexts

    persist.vendor.radio.call_waiting_for_sync_0 u:object_r:shannon_ims_service_prop:s0 精确整数 persist.vendor.radio.call_waiting_for_sync_1 u:object_r:shannon_ims_service_prop:s0 精确 int

  3. 文件system_ext/public/property.te

    system_public_prop(shannon_ims_service_prop)

来源:这里

© www.soinside.com 2019 - 2024. All rights reserved.