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

Unbootable XQ- DQ54 with android-13.0.0_r75 and SW_binaries_for_Xperia_Android_13_5.15_v3a_yodo.img #840

Closed
gecko19 opened this issue Jul 29, 2024 · 10 comments
Labels

Comments

@gecko19
Copy link

gecko19 commented Jul 29, 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
I am trying to build the Andoid 13, branch android-13.0.0_r75. However, the SW Binary I am using - SW_binaries_for_Xperia_Android_13_5.15_v3a_yodo.img leaves the phone unbootable.

Is there a working version of SW Binary+ Android tag which I can use to create a working AOSP build for Yodo/XQ- DQ54?
Also is there a good SW Binary+ Android tag which will work with a high end Sony phone.

@gecko19 gecko19 added the bug label Jul 29, 2024
@jerpelea
Copy link
Collaborator

Hi
thanks for the report
I will test the build ASAP and check what happened

Best regards
Alin

@gecko19
Copy link
Author

gecko19 commented Jul 30, 2024

Thanks Alin.

@jerpelea
Copy link
Collaborator

jerpelea commented Jul 31, 2024

@gecko19
the bootloop is caused by the missing
sonyxperiadev/device-sony-common#918

Please wait until the PR is merged then the issue should be fixed

Thanks for your patience!
Alin

@gecko19
Copy link
Author

gecko19 commented Jul 31, 2024

Thanks @jerpelea . Would there be a commit I can cherry-pick to verify that it is fixed.

Cheers,
George.

@MarijnS95
Copy link
Contributor

@gecko19 it's merged, so resyncing the whole tree or just device/sony/common (and device/sony/sepolicy) on your U or T tree should do the trick.

@jerpelea
Copy link
Collaborator

it is already merged so
rm -r out
repo_update
and build

@gecko19
Copy link
Author

gecko19 commented Jul 31, 2024

Hi @jerpelea . Thanks for this. I did progress a bit further, though the phone still does not boot. I say that it does progress because the sony splash screen now switches off. Please be aware that the phone runs Android 14 from the Emma tool and in reality trying to flash Android 13 AOSP might be a downgrade.

I did the following steps in fastboot mode:


fastboot flash oem SW_binaries_for_Xperia_Android_13_5.15_v3a_yodo.img
fastboot flash boot out/target/product/pdx234/boot.img
fastboot flash vbmeta out/target/product/pdx234/vbmeta.img
fastboot flash dtbo out/target/product/pdx234/dtbo.img
fastboot flash recovery out/target/product/pdx234/recovery.img
fastboot flash system out/target/product/pdx234/system.img
fastboot flash vendor out/target/product/pdx234/vendor.img
fastboot flash userdata out/target/product/pdx234/userdata.img
fastboot flash product out/target/product/pdx234/product.img
fastboot flash vbmeta_system out/target/product/pdx234/vbmeta_system.img
fastboot flash system_ext out/target/product/pdx234/system_ext.img
fastboot flash vendor_boot out/target/product/pdx234/vendor_boot.img
fastboot flash vendor_dlkm_a out/target/product/pdx234/vendor_dlkm.img

Sending 'boot_a' (98304 KB)                        OKAY [  2.370s]
Writing 'boot_a'                                   OKAY [  0.064s]
Finished. Total time: 2.458s
Sending 'vbmeta' (8 KB)                            OKAY [  0.006s]
Writing 'vbmeta'                                   OKAY [  0.004s]
Finished. Total time: 0.024s
Sending 'dtbo' (24576 KB)                          OKAY [  0.599s]
Writing 'dtbo'                                     OKAY [  0.016s]
Finished. Total time: 0.628s
Sending 'recovery' (102400 KB)                     OKAY [  2.473s]
Writing 'recovery'                                 OKAY [  0.055s]
Finished. Total time: 2.542s
Sending sparse 'system' 1/2 (720896 KB)            OKAY [ 17.238s]
Writing 'system'                                   FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Sending 'vendor' (200640 KB)                       OKAY [  4.794s]
Writing 'vendor'                                   FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Sending 'userdata' (10200 KB)                      OKAY [  0.249s]
Writing 'userdata'                                 OKAY [ 10.463s]
Finished. Total time: 10.763s
Sending 'product' (282284 KB)                      OKAY [  6.719s]
Writing 'product'                                  FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Sending 'vbmeta_system' (4 KB)                     OKAY [  0.004s]
Writing 'vbmeta_system'                            OKAY [  0.004s]
Finished. Total time: 0.023s
Sending 'system_ext' (468336 KB)                   OKAY [ 11.173s]
Writing 'system_ext'                               FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Sending 'vendor_boot' (98304 KB)                   OKAY [  2.408s]
Writing 'vendor_boot'                              OKAY [  0.053s]
Finished. Total time: 2.476s
fastboot: error: cannot load 'out/target/product/pdx234/vendor_dlkm.img': No such file or directory
gkottack@sunburst-realm:/mnt/AOSP_Sources/SonyXperia1V_A13$
gkottack@sunburst-realm:/mnt/AOSP_Sources/SonyXperia1V_A13$
gkottack@sunburst-realm:/mnt/AOSP_Sources/SonyXperia1V_A13$
gkottack@sunburst-realm:/mnt/AOSP_Sources/SonyXperia1V_A13$ fastboot reboot
Rebooting                                          OKAY [  0.000s]
Finished. Total time: 0.201s

Cheers,
George.

@jerpelea
Copy link
Collaborator

jerpelea commented Aug 1, 2024

Hi,
please flash Android 13 from Emma then flash Android 13 AOSP
A new oem release will be published on DW today or tomorrow

Best regards
Alin

@jerpelea
Copy link
Collaborator

jerpelea commented Aug 1, 2024

another note

all supported devices MUST be flashed from fastbootd

from fastboot (blue light)
fastboot reboot fastboot (missing from your flash list)

you will have on the phone a fastbotd menu (like recovery
flash partitions from PC

Best regards
Alin

@gecko19
Copy link
Author

gecko19 commented Aug 1, 2024

Hello @jerpelea. It does work now as expected. Though it it did take a couple of boots to show the screen. Thanks a lot for your help on this.

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