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

stuck on booting twrp.img #3

Open
YzyDog opened this issue Jun 13, 2022 · 4 comments
Open

stuck on booting twrp.img #3

YzyDog opened this issue Jun 13, 2022 · 4 comments

Comments

@YzyDog
Copy link

YzyDog commented Jun 13, 2022

Microsoft Windows [Version 10.0.25136.1000]
(c) Microsoft Corporation. All rights reserved.

C:\Users\aqua\Desktop\files\platform-tools>fastboot -ab
Setting current slot to 'b' OKAY [ 0.073s]
Finished. Total time: 0.131s

C:\Users\aqua\Desktop\files\platform-tools>fastboot reboot bootloader
Rebooting into bootloader OKAY [ 0.047s]
Finished. Total time: 0.052s

C:\Users\aqua\Desktop\files\platform-tools>flash bootloader bootloader-bonito-b4s4-0.1-5653622.img
'flash' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\aqua\Desktop\files\platform-tools>fastboot flash bootloader bootloader-bonito-b4s4-0.1-5653622.img
Sending 'bootloader_b' (8349 KB) OKAY [ 0.295s]
Writing 'bootloader_b' (bootloader) Flashing Pack version b4s4-0.1-5653622
(bootloader) Flashing partition table for Lun = 0
(bootloader) Flashing partition xbl_b
(bootloader) Flashing partition xbl_config_b
(bootloader) Flashing partition tz_b
(bootloader) Flashing partition aop_b
(bootloader) Flashing partition hyp_b
(bootloader) Flashing partition keymaster_b
(bootloader) Flashing partition cmnlib_b
(bootloader) Flashing partition cmnlib64_b
(bootloader) Flashing partition abl_b
(bootloader) Flashing partition devcfg_b
(bootloader) Flashing partition qupfw_b
(bootloader) Flashing partition storsec_b
OKAY [ 0.249s]
Finished. Total time: 0.795s

C:\Users\aqua\Desktop\files\platform-tools>fastboot reboot-bootloader
Rebooting into bootloader OKAY [ 0.048s]
Finished. Total time: 0.051s

C:\Users\aqua\Desktop\files\platform-tools>ping -n 5 127.0.0.1 >nul

C:\Users\aqua\Desktop\files\platform-tools>fastboot flash radio radio-bonito-g670-00011-190411-b-5457439.img
Sending 'radio_b' (72988 KB) OKAY [ 1.877s]
Writing 'radio_b' (bootloader) Flashing Pack version SSD:g670-00011-190411-B-5457439
(bootloader) Flashing partition modem_b
OKAY [ 0.508s]
Finished. Total time: 2.634s

C:\Users\aqua\Desktop\files\platform-tools>fastboot reboot-bootloader
Rebooting into bootloader OKAY [ 0.047s]
Finished. Total time: 0.053s

C:\Users\aqua\Desktop\files\platform-tools>fastboot -w update image-bonito-pq3b.190801.002.zip

Bootloader Version...: b4s4-0.1-5653622
Baseband Version.....: g670-00011-190411-B-5457439
Serial Number........: 92UAX03CNB

extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.057s]
Checking 'version-bootloader' OKAY [ 0.054s]
Checking 'version-baseband' OKAY [ 0.056s]
Setting current slot to 'b' OKAY [ 0.078s]
extracting boot.img (64 MB) to disk... took 0.317s
archive does not contain 'boot.sig'
Sending 'boot_b' (65536 KB) OKAY [ 1.684s]
Writing 'boot_b' OKAY [ 0.356s]
extracting dtbo.img (8 MB) to disk... took 0.029s
archive does not contain 'dtbo.sig'
Sending 'dtbo_b' (8192 KB) OKAY [ 0.298s]
Writing 'dtbo_b' OKAY [ 0.094s]
archive does not contain 'dt.img'
archive does not contain 'pvmfw.img'
archive does not contain 'recovery.img'
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta.sig'
Sending 'vbmeta_b' (4 KB) OKAY [ 0.116s]
Writing 'vbmeta_b' OKAY [ 0.064s]
archive does not contain 'vbmeta_system.img'
archive does not contain 'vbmeta_vendor.img'
archive does not contain 'vendor_boot.img'
archive does not contain 'super_empty.img'
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
archive does not contain 'odm_dlkm.img'
archive does not contain 'product.img'
extracting system.img (2278 MB) to disk... took 12.574s
archive does not contain 'system.sig'
Sending sparse 'system_b' 1/9 (262140 KB) OKAY [ 6.526s]
Writing 'system_b' OKAY [ 0.061s]
Sending sparse 'system_b' 2/9 (262140 KB) OKAY [ 6.519s]
Writing 'system_b' OKAY [ 0.368s]
Sending sparse 'system_b' 3/9 (262140 KB) OKAY [ 6.532s]
Writing 'system_b' OKAY [ 0.369s]
Sending sparse 'system_b' 4/9 (262140 KB) OKAY [ 6.521s]
Writing 'system_b' OKAY [ 0.370s]
Sending sparse 'system_b' 5/9 (262140 KB) OKAY [ 6.511s]
Writing 'system_b' OKAY [ 0.369s]
Sending sparse 'system_b' 6/9 (262140 KB) OKAY [ 6.582s]
Writing 'system_b' OKAY [ 0.367s]
Sending sparse 'system_b' 7/9 (262140 KB) OKAY [ 6.501s]
Writing 'system_b' OKAY [ 0.369s]
Sending sparse 'system_b' 8/9 (258620 KB) OKAY [ 6.432s]
Writing 'system_b' OKAY [ 0.367s]
Sending sparse 'system_b' 9/9 (239920 KB) OKAY [ 5.981s]
Writing 'system_b' OKAY [ 1.517s]
archive does not contain 'system_ext.img'
extracting system_other.img (392 MB) to disk... took 2.405s
archive does not contain 'system.sig'
Sending sparse 'system_a' 1/2 (262140 KB) OKAY [ 6.526s]
Writing 'system_a' OKAY [ 0.369s]
Sending sparse 'system_a' 2/2 (140000 KB) OKAY [ 3.533s]
Writing 'system_a' OKAY [ 1.155s]
extracting vendor.img (523 MB) to disk... took 3.103s
archive does not contain 'vendor.sig'
Sending sparse 'vendor_b' 1/3 (262140 KB) OKAY [ 6.537s]
Writing 'vendor_b' OKAY [ 0.368s]
Sending sparse 'vendor_b' 2/3 (261472 KB) OKAY [ 6.514s]
Writing 'vendor_b' OKAY [ 0.370s]
Sending sparse 'vendor_b' 3/3 (12276 KB) OKAY [ 1.323s]
Writing 'vendor_b' OKAY [ 0.456s]
archive does not contain 'vendor_dlkm.img'
archive does not contain 'vendor_other.img'
Erasing 'userdata' OKAY [ 4.590s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.185s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Rebooting OKAY [ 0.053s]
Finished. Total time: 119.590s

C:\Users\aqua\Desktop\files\platform-tools>fastboot -aa
Setting current slot to 'a' OKAY [ 0.842s]
Finished. Total time: 0.897s

C:\Users\aqua\Desktop\files\platform-tools>

C:\Users\aqua\Desktop\files\platform-tools>fastboot reboot bootloader
Rebooting into bootloader OKAY [ 0.046s]
Finished. Total time: 0.050s

C:\Users\aqua\Desktop\files\platform-tools>fastboot flash bootloader bootloader-bonito-b4s4-0.1-5653622.img
Sending 'bootloader_a' (8349 KB) OKAY [ 0.298s]
Writing 'bootloader_a' (bootloader) Flashing Pack version b4s4-0.1-5653622
(bootloader) Flashing partition table for Lun = 0
(bootloader) Flashing partition xbl_a
(bootloader) Flashing partition xbl_config_a
(bootloader) Flashing partition tz_a
(bootloader) Flashing partition aop_a
(bootloader) Flashing partition hyp_a
(bootloader) Flashing partition keymaster_a
(bootloader) Flashing partition cmnlib_a
(bootloader) Flashing partition cmnlib64_a
(bootloader) Flashing partition abl_a
(bootloader) Flashing partition devcfg_a
(bootloader) Flashing partition qupfw_a
(bootloader) Flashing partition storsec_a
OKAY [ 0.249s]
Finished. Total time: 0.794s

C:\Users\aqua\Desktop\files\platform-tools>fastboot reboot-bootloader
Rebooting into bootloader OKAY [ 0.046s]
Finished. Total time: 0.052s

C:\Users\aqua\Desktop\files\platform-tools>fastboot flash radio radio-bonito-g670-00011-190411-b-5457439.img
Sending 'radio_a' (72988 KB) OKAY [ 1.877s]
Writing 'radio_a' (bootloader) Flashing Pack version SSD:g670-00011-190411-B-5457439
(bootloader) Flashing partition modem_a
OKAY [ 0.492s]
Finished. Total time: 2.621s

C:\Users\aqua\Desktop\files\platform-tools>fastboot reboot-bootloader
Rebooting into bootloader OKAY [ 0.048s]
Finished. Total time: 0.051s

C:\Users\aqua\Desktop\files\platform-tools>fastboot -w update image-bonito-pq3b.190801.002.zip

Bootloader Version...: b4s4-0.1-5653622
Baseband Version.....: g670-00011-190411-B-5457439
Serial Number........: 92UAX03CNB

extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.058s]
Checking 'version-bootloader' OKAY [ 0.056s]
Checking 'version-baseband' OKAY [ 0.056s]
Setting current slot to 'a' OKAY [ 0.077s]
extracting boot.img (64 MB) to disk... took 0.314s
archive does not contain 'boot.sig'
Sending 'boot_a' (65536 KB) OKAY [ 1.682s]
Writing 'boot_a' OKAY [ 0.359s]
extracting dtbo.img (8 MB) to disk... took 0.031s
archive does not contain 'dtbo.sig'
Sending 'dtbo_a' (8192 KB) OKAY [ 0.295s]
Writing 'dtbo_a' OKAY [ 0.094s]
archive does not contain 'dt.img'
archive does not contain 'pvmfw.img'
archive does not contain 'recovery.img'
extracting vbmeta.img (0 MB) to disk... took 0.001s
archive does not contain 'vbmeta.sig'
Sending 'vbmeta_a' (4 KB) OKAY [ 0.116s]
Writing 'vbmeta_a' OKAY [ 0.066s]
archive does not contain 'vbmeta_system.img'
archive does not contain 'vbmeta_vendor.img'
archive does not contain 'vendor_boot.img'
archive does not contain 'super_empty.img'
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
archive does not contain 'odm_dlkm.img'
archive does not contain 'product.img'
extracting system.img (2278 MB) to disk... took 12.462s
archive does not contain 'system.sig'
Sending sparse 'system_a' 1/9 (262140 KB) OKAY [ 6.525s]
Writing 'system_a' OKAY [ 0.061s]
Sending sparse 'system_a' 2/9 (262140 KB) OKAY [ 6.520s]
Writing 'system_a' OKAY [ 0.062s]
Sending sparse 'system_a' 3/9 (262140 KB) OKAY [ 6.528s]
Writing 'system_a' OKAY [ 0.400s]
Sending sparse 'system_a' 4/9 (262140 KB) OKAY [ 6.519s]
Writing 'system_a' OKAY [ 0.366s]
Sending sparse 'system_a' 5/9 (262140 KB) OKAY [ 6.520s]
Writing 'system_a' OKAY [ 0.369s]
Sending sparse 'system_a' 6/9 (262140 KB) OKAY [ 6.571s]
Writing 'system_a' OKAY [ 0.366s]
Sending sparse 'system_a' 7/9 (262140 KB) OKAY [ 6.532s]
Writing 'system_a' OKAY [ 0.368s]
Sending sparse 'system_a' 8/9 (258620 KB) OKAY [ 6.421s]
Writing 'system_a' OKAY [ 0.371s]
Sending sparse 'system_a' 9/9 (239920 KB) OKAY [ 5.992s]
Writing 'system_a' OKAY [ 1.536s]
archive does not contain 'system_ext.img'
extracting system_other.img (392 MB) to disk... took 2.422s
archive does not contain 'system.sig'
Sending sparse 'system_b' 1/2 (262140 KB) OKAY [ 6.526s]
Writing 'system_b' OKAY [ 0.368s]
Sending sparse 'system_b' 2/2 (140000 KB) OKAY [ 3.540s]
Writing 'system_b' OKAY [ 1.194s]
extracting vendor.img (523 MB) to disk... took 3.115s
archive does not contain 'vendor.sig'
Sending sparse 'vendor_a' 1/3 (262140 KB) OKAY [ 6.537s]
Writing 'vendor_a' OKAY [ 0.369s]
Sending sparse 'vendor_a' 2/3 (261472 KB) OKAY [ 6.533s]
Writing 'vendor_a' OKAY [ 0.370s]
Sending sparse 'vendor_a' 3/3 (12276 KB) OKAY [ 1.322s]
Writing 'vendor_a' OKAY [ 0.442s]
archive does not contain 'vendor_dlkm.img'
archive does not contain 'vendor_other.img'
Erasing 'userdata' OKAY [ 4.592s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.210s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Rebooting OKAY [ 0.052s]
Finished. Total time: 119.363s

C:\Users\aqua\Desktop\files\platform-tools>fastboot -aa
Setting current slot to 'a' OKAY [ 0.075s]
Finished. Total time: 0.128s

C:\Users\aqua\Desktop\files\platform-tools>fastboot reboot bootloader
Rebooting into bootloader OKAY [ 0.049s]
Finished. Total time: 0.051s

C:\Users\aqua\Desktop\files\platform-tools>fastboot format:ext4 userdata
Warning: userdata type is raw, but ext4 was requested for formatting.
mke2fs 1.46.2 (28-Feb-2021)
Creating filesystem with 13097851 4k blocks and 3276800 inodes
Filesystem UUID: 46f00cb0-eb46-11ec-aeee-efeeb6aa809f
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424

Allocating group tables: done
Writing inode tables: done
Creating journal (65536 blocks): done
Writing superblocks and filesystem accounting information: done

Sending 'userdata' (312 KB) OKAY [ 0.117s]
Writing 'userdata' OKAY [ 0.060s]
Finished. Total time: 0.698s

C:\Users\aqua\Desktop\files\platform-tools>fastboot boot twrp.img
Sending 'boot.img' (65536 KB) OKAY [ 1.616s]
Booting (bootloader) boot.img missing cmdline or OS version

@junocomp
Copy link
Owner

Which android version is this? It has to be Android 9

Did you use the flash-all script?

@ejuarezg
Copy link

ejuarezg commented Sep 4, 2022

I have a similar problem when trying to install Manjaro ARM on sargo. I get stuck at the step fastboot boot twrp.img with the following output:

Sending 'boot.img' (65536 KB)                      OKAY [  1.877s]
Booting                                            (bootloader) boot.img missing cmdline or OS version

A workaround is to use version twrp-3.5.2_9-0. However, not I get

adb sideload Manjaro-ARM-phosh-google-sargo-20220904.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed

@junocomp
Copy link
Owner

junocomp commented Sep 5, 2022

You must be using an outdated fastboot version. Make sure you download it from here

https://dl.google.com/android/repository/platform-tools-latest-linux.zip

@ejuarezg Do you have Android 9 installed?

@gianmarcogg03
Copy link

gianmarcogg03 commented Dec 1, 2022

I'm having the same exact issue on Arch Linux with up to date tools while trying to flash Droidian on a Pixel 3a XL (bonito) on which I had successfully flashed Android 9 on both slots.

EDIT: I used the workaround with TWRP 3.5.2 and I was able to boot into TWRP and proceed with the guide.

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

No branches or pull requests

4 participants