Open b100dian opened 1 month ago
logcat -b radio
is pretty short:
pdx224:/ $ logcat -b radio
--------- beginning of radio
01-01 00:00:07.918 880 880 D RILD : **RIL Daemon Started**
01-01 00:00:07.918 880 880 D RILD : **RILd param count=1**
01-01 00:00:07.919 881 881 D RILD : **RIL Daemon Started**
01-01 00:00:07.919 881 881 D RILD : **RILd param count=3**
10-07 19:24:06.147 880 880 D RILD : RIL_Init argc = 3 clientId = 0
10-07 19:24:06.150 880 880 E RILD : deviceInfoServiceModuleNr dlopen failed ERROR:dlopen failed: library "vendor.qti.hardware.radio.internal.deviceinfo-V1-ndk.so" not found: needed by /odm/lib64/deviceInfoServiceModuleNr.so in namespace (default)
10-07 19:24:06.150 880 880 E RILQ : log to /data/vendor/radio/ril_log for QCRIL logging is not enabled
10-07 19:24:06.166 880 880 D RILD : RIL_Init rilInit completed
10-07 19:24:06.166 880 880 E RILC : RIL_register: RIL version 15
10-07 19:24:06.166 880 880 I RILC : s_registerCalled flag set, 1
10-07 19:24:06.166 880 880 D RILD : RIL_Init RIL_register completed
10-07 19:24:06.166 880 880 D RILD : RIL_register_socket completed
10-07 19:24:06.166 880 880 D RILD : joinThreadPool Stable AIDL
10-07 19:24:06.167 880 1308 D RIL_SAP : sap_register_service status=0
10-07 19:24:07.125 881 881 D RILD : RIL_Init argc = 3 clientId = 2
10-07 19:24:07.126 881 881 E RILD : deviceInfoServiceModuleNr dlopen failed ERROR:dlopen failed: library "vendor.qti.hardware.radio.internal.deviceinfo-V1-ndk.so" not found: needed by /odm/lib64/deviceInfoServiceModuleNr.so in namespace (default)
10-07 19:24:07.126 881 881 E RILQ : log to /data/vendor/radio/ril_log for QCRIL logging is not enabled
10-07 19:24:07.142 881 881 D RILD : RIL_Init rilInit completed
10-07 19:24:07.142 881 881 E RILC : RIL_register: RIL version 15
10-07 19:24:07.142 881 881 I RILC : s_registerCalled flag set, 1
10-07 19:24:07.142 881 881 D RILD : RIL_Init RIL_register completed
10-07 19:24:07.142 881 881 D RILD : RIL_register_socket completed
10-07 19:24:07.142 881 881 D RILD : joinThreadPool Stable AIDL
10-07 19:24:07.144 881 1331 D RIL_SAP : sap_register_service status=0
10-07 19:24:34.994 1144 1144 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:35.378 1144 2590 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:35.620 1144 2591 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:35.623 1144 1144 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:35.654 1144 1144 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:35.676 1144 1193 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:35.690 1144 1144 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:35.700 1144 1191 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:35.729 1144 1144 D TelephonyRegistry: systemRunning register for intents
10-07 19:24:35.745 1144 1202 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:35.989 2828 2828 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:36.198 2653 2653 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:36.206 1144 1245 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:36.279 1144 2784 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:36.493 2653 2653 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:36.499 2653 2653 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:36.508 1144 2588 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:24:36.579 1144 1144 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:36.600 1144 1144 D TelephonyRegistry: notifyCellLocationForSubscriber: subId=2147483647 cellIdentity=null
10-07 19:24:36.603 1144 1144 D TelephonyRegistry: notifyCellLocationForSubscriber: subId=2147483647 cellIdentity=null
10-07 19:24:36.624 2828 2911 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:36.783 2828 2911 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:37.443 2828 2911 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:37.830 1144 1144 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:37.835 1144 1144 W CarrierConfigManager: Error getting config for subId -1 ICarrierConfigLoader is null
10-07 19:24:39.622 3009 3009 D TelephonyComponentFactory: validated paths: null
10-07 19:24:39.622 3009 3009 D TelephonyComponentFactory: Total components injected: 0
10-07 19:24:39.622 3009 3009 D TDC : updateOrInsert: inserting: Modem { uuid=modem, state=0, rilModel=0, rat={}, maxActiveVoiceCall=1, maxActiveDataCall=1, maxStandby=1 }
10-07 19:24:39.622 3009 3009 D TDC : updateOrInsert: inserting: Sim { uuid=sim, modemUuid=modem, state=0 }
10-07 19:24:39.623 3009 3009 D PersistAtomsStorage: PersistAtoms file not found
10-07 19:24:39.623 3009 3009 D PersistAtomsStorage: created new PersistAtoms
10-07 19:24:39.625 3009 3009 D MetricsCollector: registered
10-07 19:24:39.627 3009 3009 D CdmaSSM : subscriptionSource from settings: 0
10-07 19:24:39.627 3009 3009 I PhoneFactory: Cdma Subscription set to 0
10-07 19:24:39.627 3009 3009 I PhoneFactory: Network Mode set to 9
10-07 19:24:39.627 3009 3009 D RILJ : RIL: init allowedNetworkTypes=316295 cdmaSubscription=0) [PHONEnull]
10-07 19:24:39.631 3009 3009 E RILJ : getRadioServiceProxy: set MODEM for slot1 as disabled [PHONE0]
10-07 19:24:39.631 3009 3009 E RILJ : getRadioServiceProxy: serviceProxy == null [PHONE0]
10-07 19:25:37.827 1144 2741 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:25:37.840 4110 4110 D TelephonyComponentFactory: validated paths: null
10-07 19:25:37.840 4110 4110 D TelephonyComponentFactory: Total components injected: 0
10-07 19:25:37.840 4110 4110 D TDC : updateOrInsert: inserting: Modem { uuid=modem, state=0, rilModel=0, rat={}, maxActiveVoiceCall=1, maxActiveDataCall=1, maxStandby=1 }
10-07 19:25:37.840 4110 4110 D TDC : updateOrInsert: inserting: Sim { uuid=sim, modemUuid=modem, state=0 }
10-07 19:25:37.842 4110 4110 D PersistAtomsStorage: PersistAtoms file not found
10-07 19:25:37.843 4110 4110 D PersistAtomsStorage: created new PersistAtoms
10-07 19:25:37.845 4110 4110 D MetricsCollector: registered
10-07 19:25:37.846 4110 4110 D CdmaSSM : subscriptionSource from settings: 0
10-07 19:25:37.846 4110 4110 I PhoneFactory: Cdma Subscription set to 0
10-07 19:25:37.846 4110 4110 I PhoneFactory: Network Mode set to 9
10-07 19:25:37.846 4110 4110 D RILJ : RIL: init allowedNetworkTypes=316295 cdmaSubscription=0) [PHONEnull]
10-07 19:25:37.855 4110 4110 E RILJ : getRadioServiceProxy: set MODEM for slot1 as disabled [PHONE0]
10-07 19:25:37.855 4110 4110 E RILJ : getRadioServiceProxy: serviceProxy == null [PHONE0]
10-07 19:25:38.516 1144 2784 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:25:45.762 1144 4493 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
10-07 19:25:45.765 1144 2614 D TelephonyRegistry: listen oscl: mHasNotifySubscriptionInfoChangedOccurred==false no callback
There is no such library in /vendor/lib64, and in /odm/lib64 there is a "similar" one
pdx224:/ $ ls -l /odm/lib64/vendor.qti.hardware.radio.internal.deviceinfo@1.0.so
-rw-r--r-- 1 root root 197080 2024-07-31 15:33 /odm/lib64/vendor.qti.hardware.radio.internal.deviceinfo@1.0.so
@jerpelea you mentioned the posibility of GSM working on A13 in https://github.com/sonyxperiadev/bug_tracker/issues/846#issuecomment-2445635811 do you have an advice what to look for? Thanks!
for tests you can take the library from a stock image and compare the vintf with stock I will add the missing lib in the next vendor.
Platform: nagara Device: pdx224 Kernel version: 5.15 Android version: android-13.0.0_r75 Software binaries version: SW_binaries_for_Xperia_Android_13_5.15_v4a_nagara.zip
Previously working on Has this always been a problem, or is it a new issue?
This is my first build.
Description
I followed the AOSP 13 build steps from here.
Checked out branch android-13.0.0_r75, and doing
lunch aosp_xqcq54-userdebug
followed by make. So pre-built 5.15 kernel. I had to revert a commit, see https://github.com/sonyxperiadev/bug_tracker/issues/846Resulting images:
Booted into fastboot, ran
fastboot reboot fastboot
so it endered fastbootd.Then flashed:
(The slot was by default slot_a)
and
Before this, the device was running stock 64.1.A.0.913
I got promted by fastboot to clear user data and I did (from the phone).
Symptoms AOSP 13 boots but immediately shows a dialog with "There's an internal problem with your device. Contact your manufacturer for details". GSM is not available (the SIM card was working on stock before). Camera doesn't start, immediately crashes. There may be other missing HW functionalities.
How to reproduce Steps above in description..
Additional context Add any other context, e.g. upload logs or screenshots about the bug here.
Logcat until launcher is on screen: https://gist.github.com/b100dian/c3aee54a2bee7f1736eb5ed131303e1a
Additionally, the fastbootd screen doesn't look very well now (not sure how it was before..):