首頁>Android>source

使用Android 10的Google Factory圖像處理Pixel 4(大火)時,我遇到了麻煩:設備由於以下原因無法啟動:

no valid slot to boot

因此,我尝試重新整理另一个OS映像,但不幸的是,引匯載入程式已鎖定.甚至Google自己的Factory Images也不会闪烁。

$ fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 0
OKAY [  0.093s]
Finished. Total time: 0.093s

反正有什麼方法可以重新整理出厂映像吗?

$ fastboot getvar all
(bootloader) product:flame
(bootloader) serialno:99051FFAZ006PC
(bootloader) variant:SM8 UFS
(bootloader) max-download-size:0x10000000
(bootloader) slot-suffixes:_a,_b
(bootloader) version-bootloader:c2f2-0.3-6863466
(bootloader) version-baseband:g8150-00075-201008-B-6891495
(bootloader) secure-boot:PRODUCTION
(bootloader) secure:yes
(bootloader) hw-revision:MP1.0
(bootloader) is-userspace:no
(bootloader) slot-count:2
(bootloader) current-slot:a
(bootloader) unlocked:no
(bootloader) nos-production:yes
(bootloader) off-mode-charge:1
(bootloader) slot-retry-count:a:0
(bootloader) slot-unbootable:a:yes
(bootloader) slot-successful:a:no
(bootloader) slot-retry-count:b:0
(bootloader) slot-unbootable:b:yes
(bootloader) slot-successful:b:no
(bootloader) battery-voltage:4258
(bootloader) battery-soc-ok:yes
(bootloader) snapshot-update-status:none
(bootloader) storage-vendor:MICRON
(bootloader) storage-model:64GB-UFS-MT
(bootloader) storage-rev:8QSP
(bootloader) citadel-fw:0.0.3/brick_v0.0.7758-a9dacb5c9 2020-01-15 21:24:
(bootloader) auto-shutdown:0
(bootloader) partition-type:ssd:raw
(bootloader) partition-size:ssd:0x2000
(bootloader) partition-type:persist:raw
(bootloader) partition-size:persist:0x2000000
(bootloader) partition-type:misc:raw
(bootloader) partition-size:misc:0x100000
(bootloader) partition-type:keystore:raw
(bootloader) partition-size:keystore:0x80000
(bootloader) partition-type:frp:raw
(bootloader) partition-size:frp:0x80000
(bootloader) partition-type:boot_a:raw
(bootloader) partition-size:boot_a:0x4000000
(bootloader) partition-type:boot_b:raw
(bootloader) partition-size:boot_b:0x4000000
(bootloader) partition-type:modem_a:raw
(bootloader) partition-size:modem_a:0x6000000
(bootloader) partition-type:modem_b:raw
(bootloader) partition-size:modem_b:0x6000000
(bootloader) partition-type:klog:raw
(bootloader) partition-size:klog:0x800000
(bootloader) partition-type:metadata:raw
(bootloader) partition-size:metadata:0x1000000
(bootloader) partition-type:vbmeta_system_a:raw
(bootloader) partition-size:vbmeta_system_a:0x10000
(bootloader) partition-type:vbmeta_system_b:raw
(bootloader) partition-size:vbmeta_system_b:0x10000
(bootloader) partition-type:super:raw
(bootloader) partition-size:super:0x245800000
(bootloader) partition-type:userdata:raw
(bootloader) partition-size:userdata:0xC7FFFB000
(bootloader) partition-type:xbl_a:raw
(bootloader) partition-size:xbl_a:0x380000
(bootloader) partition-type:xbl_config_a:raw
(bootloader) partition-size:xbl_config_a:0x20000
(bootloader) partition-type:xbl_b:raw
(bootloader) partition-size:xbl_b:0x380000
(bootloader) partition-type:xbl_config_b:raw
(bootloader) partition-size:xbl_config_b:0x20000
(bootloader) partition-type:ALIGN_TO_128K_1:raw
(bootloader) partition-size:ALIGN_TO_128K_1:0x1A000
(bootloader) partition-type:cdt:raw
(bootloader) partition-size:cdt:0x20000
(bootloader) partition-type:ddr:raw
(bootloader) partition-size:ddr:0x100000
(bootloader) partition-type:aop_a:raw
(bootloader) partition-size:aop_a:0x80000
(bootloader) partition-type:tz_a:raw
(bootloader) partition-size:tz_a:0x400000
(bootloader) partition-type:hyp_a:raw
(bootloader) partition-size:hyp_a:0x84000
(bootloader) partition-type:abl_a:raw
(bootloader) partition-size:abl_a:0x200000
(bootloader) partition-type:keymaster_a:raw
(bootloader) partition-size:keymaster_a:0x80000
(bootloader) partition-type:cmnlib_a:raw
(bootloader) partition-size:cmnlib_a:0x80000
(bootloader) partition-type:cmnlib64_a:raw
(bootloader) partition-size:cmnlib64_a:0x80000
(bootloader) partition-type:devcfg_a:raw
(bootloader) partition-size:devcfg_a:0x20000
(bootloader) partition-type:qupfw_a:raw
(bootloader) partition-size:qupfw_a:0x14000
(bootloader) partition-type:vbmeta_a:raw
(bootloader) partition-size:vbmeta_a:0x10000
(bootloader) partition-type:dtbo_a:raw
(bootloader) partition-size:dtbo_a:0x800000
(bootloader) partition-type:uefisecapp_a:raw
(bootloader) partition-size:uefisecapp_a:0x200000
(bootloader) partition-type:imagefv_a:raw
(bootloader) partition-size:imagefv_a:0x200000
(bootloader) partition-type:apdp_a:raw
(bootloader) partition-size:apdp_a:0x10000
(bootloader) partition-type:msadp_a:raw
(bootloader) partition-size:msadp_a:0x10000
(bootloader) partition-type:multiimgoem_a:raw
(bootloader) partition-size:multiimgoem_a:0x8000
(bootloader) partition-type:aop_b:raw
(bootloader) partition-size:aop_b:0x80000
(bootloader) partition-type:tz_b:raw
(bootloader) partition-size:tz_b:0x400000
(bootloader) partition-type:hyp_b:raw
(bootloader) partition-size:hyp_b:0x84000
(bootloader) partition-type:abl_b:raw
(bootloader) partition-size:abl_b:0x200000
(bootloader) partition-type:keymaster_b:raw
(bootloader) partition-size:keymaster_b:0x80000
(bootloader) partition-type:cmnlib_b:raw
(bootloader) partition-size:cmnlib_b:0x80000
(bootloader) partition-type:cmnlib64_b:raw
(bootloader) partition-size:cmnlib64_b:0x80000
(bootloader) partition-type:devcfg_b:raw
(bootloader) partition-size:devcfg_b:0x20000
(bootloader) partition-type:qupfw_b:raw
(bootloader) partition-size:qupfw_b:0x14000
(bootloader) partition-type:vbmeta_b:raw
(bootloader) partition-size:vbmeta_b:0x10000
(bootloader) partition-type:dtbo_b:raw
(bootloader) partition-size:dtbo_b:0x800000
(bootloader) partition-type:uefisecapp_b:raw
(bootloader) partition-size:uefisecapp_b:0x200000
(bootloader) partition-type:imagefv_b:raw
(bootloader) partition-size:imagefv_b:0x200000
(bootloader) partition-type:apdp_b:raw
(bootloader) partition-size:apdp_b:0x10000
(bootloader) partition-type:msadp_b:raw
(bootloader) partition-size:msadp_b:0x10000
(bootloader) partition-type:multiimgoem_b:raw
(bootloader) partition-size:multiimgoem_b:0x8000
(bootloader) partition-type:devinfo:raw
(bootloader) partition-size:devinfo:0x1000
(bootloader) partition-type:spunvm:raw
(bootloader) partition-size:spunvm:0x800000
(bootloader) partition-type:splash:raw
(bootloader) partition-size:splash:0x8000
(bootloader) partition-type:limits:raw
(bootloader) partition-size:limits:0x1000
(bootloader) partition-type:toolsfv:raw
(bootloader) partition-size:toolsfv:0x100000
(bootloader) partition-type:logfs:raw
(bootloader) partition-size:logfs:0x800000
(bootloader) partition-type:storsec:raw
(bootloader) partition-size:storsec:0x20000
(bootloader) partition-type:uefivarstore:raw
(bootloader) partition-size:uefivarstore:0x80000
(bootloader) partition-type:secdata:raw
(bootloader) partition-size:secdata:0x7000
(bootloader) partition-type:ALIGN_TO_128K_2:raw
(bootloader) partition-size:ALIGN_TO_128K_2:0x1A000
(bootloader) partition-type:modemst1:raw
(bootloader) partition-size:modemst1:0x200000
(bootloader) partition-type:modemst2:raw
(bootloader) partition-size:modemst2:0x200000
(bootloader) partition-type:fsg:raw
(bootloader) partition-size:fsg:0x200000
(bootloader) partition-type:fsc:raw
(bootloader) partition-size:fsc:0x20000
(bootloader) partition-type:system_a:raw
(bootloader) partition-size:system_a:0x30FFC000
(bootloader) partition-type:system_b:raw
(bootloader) partition-size:system_b:0x173E000
(bootloader) partition-type:vendor_a:raw
(bootloader) partition-size:vendor_a:0x2DBC3000
(bootloader) partition-type:vendor_b:raw
(bootloader) partition-size:vendor_b:0x0
(bootloader) partition-type:product_a:raw
(bootloader) partition-size:product_a:0x7D6CA000
(bootloader) partition-type:product_b:raw
(bootloader) partition-size:product_b:0x28DAC000
(bootloader) partition-type:system_ext_a:raw
(bootloader) partition-size:system_ext_a:0xE9A1000
(bootloader) partition-type:system_ext_b:raw
(bootloader) partition-size:system_ext_b:0x0
all: 
Finished. Total time: 0.296s
最新回復
  • 5月前
    1 #

    由於未在開發人員選項中啟用OEM解鎖,並且未解鎖引匯載入程式,因此您的選擇受到限製。

    第一種方法(尽管在大多數情况下不是首選)是与Google支援人員聯系以获取設備上的RMA以获得替代品.這通常是一件簡單的事情,他们通常会很好地處理它.您可以在此找到有關資訊,以檢查保修狀態並在此處提出索赔。

    此時,您唯一的其他選擇是尝試手動重新整理OTA映像. OTA映像是發送到設備以进行無線更新的內容,通常安裝起来非常安全,但是我们將手動进行.請註意,重新整理OTA映像与執行完整的韌體映像重新整理不同,因此即使設備未處於可啟動狀態,設備上的某些內容也需要放置到位.我不知道這些確切的專案,但是如果它们不存在,更新程式指令碼將失败.我還要假設您已经安裝並可以使用Android平臺工具(因為fastboot的輸出可以正常顯示)。

    详细資訊和檔案由Google for Pixel(和较旧的Nexus設備)在其開發者網站上提供,位於此處鏈接的Pixel設備的完整OTA部分中,但只需確保選擇正確的設備即可, 鏈接頁面(如果您知道您的模型,例如Pixel 4或通過執行 fastboot getvar all 並看着 (bootloader) product: 领域...對於拥有Pixel 4的人来說,它將是"火焰"。

    這是必不可少的步骤,更详细的資訊在上面的鏈接中:

    从上一頁下載OTA zIP檔案,並知道它的位置,但不要解壓縮该檔案.請註意,您應该始终選擇設備上列出的最新版本,通常会在設備部分的底部。

    將設備引匯到快速引匯模式並連線USB電缆

    从選單中選擇恢複,然後按電源將其選中.等待帶有红色感叹號的Android徽標出現在螢幕上

    通過POwER + VOL UP訪問恢複選單

    選擇 Apply update from ADB 从選單中,然後按電源

    使用 adb devices測試USB連線 應该用 sideload輸出您的設備 在它的旁邊.如果還有其他結果,則需要先對USB連線或軟體安裝进行故障排除,然後再繼續。

    輸入 adb sideload ota_file.zip 其中ota_file.zip是您先前下載的OTA zIP檔案的完整路徑和檔案名

    設備將下載並驗證檔案,然後將其重新整理到您的設備,然後使该軟體的"插槽"處於活動狀態.如果一切順利,則几分钟後將顯示成功確认,並為您提供選單。

    選擇 Reboot system now 然後等待手機完全啟動。

相似問題

  • shell:是否有通過LineageOS17上的adb使用bash的解決方法?
  • 如何關闭手機上Android上的全部或全部Chrome瀏覽器標簽?