当前位置:   article > 正文

Android Q fastboot刷GSI(MTK)_invalid sparse file format at header magic

invalid sparse file format at header magic

平台:MT6771

版本:Android 10.0

ADB版本:1.0.41

1.打开开发者选项,勾选OEM unlocking,USB debugging,

2.adb reboot bootloader(开机键和音量+键进入recovery模式,上下选fastboot mode)

进入fastboot mode模式

3.fastboot flashing unlock

按音量+键解锁

4.fastboot reboot fastboot

此步骤请不要选择任何选项,耐心等待,出现fastbootd界面

5.fastboot delete-logical-partition product

6.fastboot -S 100M flash system D:\BaiduYunDownload\signed_signed-aosp_arm64-img-6473
483\system.img

刷入google signed system.img

7.fastboot reboot bootloader

8.fastboot flashing lock

重新上锁,不锁开不了机

9.fastboot reboot

重启

----------------------------------------------------------------------------------------------------

指令执行记录

  1. C:\Users\Administrator\Desktop\platform-tools_r30.0.1-windows\platform-tools>adb
  2. reboot bootloader
  3. adb server version (40) doesn't match this client (41); killing...
  4. * daemon started successfully
  5. C:\Users\Administrator\Desktop\platform-tools_r30.0.1-windows\platform-tools>fas
  6. tboot flashing unlock
  7. (bootloader) Start unlock flo
  8. w
  9. OKAY [ 7.809s]
  10. Finished. Total time: 7.816s
  11. C:\Users\Administrator\Desktop\platform-tools_r30.0.1-windows\platform-tools>fas
  12. tboot reboot fastboot
  13. Rebooting into fastboot OKAY [ 0.006s]
  14. < waiting for any device >
  15. Finished. Total time: 16.133s
  16. C:\Users\Administrator\Desktop\platform-tools_r30.0.1-windows\platform-tools>fas
  17. tboot delete-logical-partition product
  18. Deleting 'product' OKAY [ 0.006s]
  19. Finished. Total time: 0.009s
  20. C:\Users\Administrator\Desktop\platform-tools_r30.0.1-windows\platform-tools>fas
  21. tboot -S 100M flash system D:\BaiduYunDownload\signed_signed-aosp_arm64-img-6473
  22. 483\system.img
  23. Invalid sparse file format at header magic
  24. Resizing 'system' OKAY [ 0.003s]
  25. Sending sparse 'system' 1/12 (93956 KB) OKAY [ 3.059s]
  26. Writing 'system' OKAY [ 3.004s]
  27. Sending sparse 'system' 2/12 (102396 KB) OKAY [ 3.528s]
  28. Writing 'system' OKAY [ 3.264s]
  29. Sending sparse 'system' 3/12 (102396 KB) OKAY [ 3.451s]
  30. Writing 'system' OKAY [ 3.226s]
  31. Sending sparse 'system' 4/12 (97964 KB) OKAY [ 3.284s]
  32. Writing 'system' OKAY [ 3.081s]
  33. Sending sparse 'system' 5/12 (102396 KB) OKAY [ 3.448s]
  34. Writing 'system' OKAY [ 3.229s]
  35. Sending sparse 'system' 6/12 (102396 KB) OKAY [ 3.531s]
  36. Writing 'system' OKAY [ 3.185s]
  37. Sending sparse 'system' 7/12 (102396 KB) OKAY [ 3.459s]
  38. Writing 'system' OKAY [ 3.250s]
  39. Sending sparse 'system' 8/12 (102396 KB) OKAY [ 3.437s]
  40. Writing 'system' OKAY [ 3.249s]
  41. Sending sparse 'system' 9/12 (102396 KB) OKAY [ 3.395s]
  42. Writing 'system' OKAY [ 3.289s]
  43. Sending sparse 'system' 10/12 (102396 KB) OKAY [ 3.371s]
  44. Writing 'system' OKAY [ 3.166s]
  45. Sending sparse 'system' 11/12 (102396 KB) OKAY [ 3.374s]
  46. Writing 'system' OKAY [ 3.186s]
  47. Sending sparse 'system' 12/12 (64452 KB) OKAY [ 2.123s]
  48. Writing 'system' OKAY [ 4.009s]
  49. Finished. Total time: 82.042s
  50. C:\Users\Administrator\Desktop\platform-tools_r30.0.1-windows\platform-tools>fas
  51. tboot reboot bootloader
  52. Rebooting into bootloader OKAY [ 0.001s]
  53. Finished. Total time: 0.003s
  54. C:\Users\Administrator\Desktop\platform-tools_r30.0.1-windows\platform-tools>fas
  55. tboot flashing lock
  56. (bootloader) Start lock flow
  57. OKAY [ 6.811s]
  58. Finished. Total time: 6.818s
  59. C:\Users\Administrator\Desktop\platform-tools_r30.0.1-windows\platform-tools>fas
  60. tboot reboot
  61. Rebooting OKAY [ 0.002s]
  62. Finished. Total time: 0.007s
  63. C:\Users\Administrator\Desktop\platform-tools_r30.0.1-windows\platform-tools>

----------------------------------------------------------------------------------------------------

参考:https://blog.csdn.net/qq_24883353/article/details/106280528

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/232919
推荐阅读
相关标签
  

闽ICP备14008679号