Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi, Bluetooth and ADB not working on AOSP XQ- DQ54 with android-13.0.0_r75 #841

Open
gecko19 opened this issue Aug 1, 2024 · 4 comments
Labels

Comments

@gecko19
Copy link

gecko19 commented Aug 1, 2024

Platform: : Android 13
Device: : XQ- DQ54
Kernel version:
Android version: Android 13
Software binaries version:

Previously working on
Has this always been a problem, or is it a new issue?
New issue

Description
With Android 13, branch android-13.0.0_r75, SW_binaries_for_Xperia_Android_13_5.15_v3a_yodo.img, The following issues are noticed:

  1. Wifi networks are not found.
  2. Bluetooth does not switch on
  3. ADB does not allow debugging the device, since the device does not ask to trust the connected computer.

Sorry for raising these issues.

@gecko19 gecko19 added the bug label Aug 1, 2024
@bartcubbins
Copy link
Contributor

  1. WIFi simply not working because our kernel-defconfig is not synced with the kernel. Rebuilding the kernel with updated defconfigs will fix this.

  2. With bluetooth it's a bit more complicated. I sent one of the patches[1], but we need an update of the ODM with support for this chip.

    08-23 09:18:20.413  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager:  SocInit 
    08-23 09:18:20.413  2375  2532 D vendor.qti.bluetooth@1.0-patch_dl_manager: PatchVerReq: Sending Get Version CMD to SOC
    08-23 09:18:20.413  2375  2532 D vendor.qti.bluetooth@1.0-patch_dl_manager: HciSendVsCmd: Get Version Cmd sent to SOC
    08-23 09:18:20.417  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: ReadVsHciEvent: Expected CC
    08-23 09:18:20.417  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: HCI Unified command interface supported
    08-23 09:18:20.417  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: 	 unified Current Product ID		: 0x00000019
    08-23 09:18:20.417  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: 	 unified Current Patch Version		: 0x43fb
    08-23 09:18:20.417  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: 	 unified Current ROM Build Version	: 0x0200
    08-23 09:18:20.417  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: 	 unified Current SOC Version		: 0x40170200
    08-23 09:18:20.417  2375  2532 D vendor.qti.bluetooth@1.0-patch_dl_manager: HandleEdlCmdResEvt: Writing version info. in /data/vendor/bluetooth/bt_fw_version.txt
    08-23 09:18:20.417  2375  2532 D vendor.qti.bluetooth@1.0-patch_dl_manager: HandleEdlCmdResEvt: Done writing version info. in /data/vendor/bluetooth/bt_fw_version.txt
    08-23 09:18:20.417  2375  2532 E vendor.qti.bluetooth@1.0-power_manager: 
    08-23 09:18:20.417  2375  2532 E vendor.qti.bluetooth@1.0-power_manager: bt soc version  (1075249664)
    08-23 09:18:20.417  2375  2532 E vendor.qti.bluetooth@1.0-patch_dl_manager: PatchVerReq: rsp[CMD_RSP_OFFSET] = 1 ,  rsp[RSP_TYPE_OFFSET] = 0
    08-23 09:18:20.417  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: SocInit: Chipset Version (0x4017020000190200)
    08-23 09:18:20.417  2375  2532 I vendor.qti.bluetooth@1.0-uart_transport: ## userial_vendor_ioctl: UART Flow Off 
    03-10 12:04:16.002     0     0 W bt_ioctl: unified Current SOC Version : 40170200
    08-23 09:18:20.437  2375  2532 I vendor.qti.bluetooth@1.0-uart_transport: ## userial_vendor_set_baud: 17
    08-23 09:18:20.439   935   935 I update_engine: [INFO:cleanup_previous_update_action.cc(112)] Executing task 8
    08-23 09:18:20.441  2375  2532 I vendor.qti.bluetooth@1.0-uart_transport: SetBaudRate: in BOTHER
    08-23 09:18:20.441  2375  2532 I vendor.qti.bluetooth@1.0-uart_transport: GetBaudRate: Current Baudrate = 3200000 bps
    08-23 09:18:20.441  2375  2532 I vendor.qti.bluetooth@1.0-uart_transport: ## userial_vendor_ioctl: UART Flow On 
    08-23 09:18:20.441  2375  2532 D vendor.qti.bluetooth@1.0-patch_dl_manager: ReadHciEvent: Expected CC
    08-23 09:18:20.441  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: SocInit: Baud rate changed successfully 
    08-23 09:18:20.441  2375  2532 E vendor.qti.bluetooth@1.0-patch_dl_manager: /bt_firmware/image/tpbtfw00.tlv File Open Fail No such file or directory (2)
    08-23 09:18:20.441  2375  2532 E vendor.qti.bluetooth@1.0-patch_dl_manager:  File Opening from alternate path: Fail No such file or directory (2)
    08-23 09:18:20.441  2375  2532 D vendor.qti.bluetooth@1.0-patch_dl_manager: FrameHciCmdPkt: Sending EDL_GET_BOARD_ID
    08-23 09:18:20.441  2375  2532 D vendor.qti.bluetooth@1.0-patch_dl_manager: HCI-CMD -1:	0x1 	0x0 	0xfc 	0x1 	0x23
    08-23 09:18:20.441  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: GetBoardIdReq: Sending EDL_GET_BOARD_ID
    08-23 09:18:20.441  2375  2532 D vendor.qti.bluetooth@1.0-patch_dl_manager: ReadHciEvent: Expected CC
    08-23 09:18:20.441  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: HandleEdlCmdResEvt: Board Id 0 31!!
    08-23 09:18:20.441  2375  2532 E vendor.qti.bluetooth@1.0-patch_dl_manager: /bt_firmware/image/tpnv00.b31 File Open Fail No such file or directory (2)
    08-23 09:18:20.441  2375  2532 E vendor.qti.bluetooth@1.0-patch_dl_manager:  File Opening from alternate path: Fail No such file or directory (2)
    08-23 09:18:20.441  2375  2532 I vendor.qti.bluetooth@1.0-patch_dl_manager: DownloadTlvFile: /bt_firmware/image/tpnv00.b31: file doesn't exist, falling back to default file
    08-23 09:18:20.441  2375  2532 E vendor.qti.bluetooth@1.0-patch_dl_manager: /bt_firmware/image/tpnv00.bin File Open Fail No such file or directory (2)
    08-23 09:18:20.441  2375  2532 E vendor.qti.bluetooth@1.0-patch_dl_manager:  File Opening from alternate path: Fail No such file or directory (2)
    08-23 09:18:20.441  2375  2532 E vendor.qti.bluetooth@1.0-patch_dl_manager: SocInit: Download TLV file failed!
    08-23 09:18:20.441  2375  2532 E vendor.qti.bluetooth@1.0-patch_dl_manager: PerformChipInit: SoC initialization failed: -1
    08-23 09:18:20.441  2375  2532 E vendor.qti.bluetooth@1.0-uart_controller: Init failed

    As you can see Current SOC Version: 0x40170200 corresponds sonyxperiadev/kernel-techpack-bt-kernel@cc92023#diff-83111c57fdde0eab79f556974a3aca457584d86d0e3a82c8f988e8b0b7b6cd83R128 and therefore we are incorrectly configuring the chip, which is evident even from the inappropriate firmware name for the BT chip.

  3. ADB works great in userdebug build.

[1] sonyxperiadev/device-sony-yodo#12

@bartcubbins
Copy link
Contributor

ping @jerpelea because when it comes to blobs we need his magic

@jerpelea
Copy link
Collaborator

let's see what can be done

@gecko19
Copy link
Author

gecko19 commented Aug 29, 2024

Thanks @bartcubbins and @jerpelea .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants