Advertisement
metalx1000

Android GSI fastboot install

Dec 3rd, 2022 (edited)
2,550
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.81 KB | None | 0 0
  1. # using fastboot to flash GSI Android on device/phone
  2. # bootloader needs to be unlocked
  3. # System image option
  4. ## - https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-%28GSI%29-list
  5. ## - https://sourceforge.net/projects/andyyan-gsi/files/lineage-20-light/
  6.  
  7. #check if your device is treble compatible - should return true
  8. adb shell getprop ro.treble.enabled
  9.  
  10. adb reboot bootloader
  11. wget https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img
  12. fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
  13. fastboot reboot fastboot
  14.  
  15. fastboot delete-logical-partition product
  16. fastboot delete-logical-partition product_a
  17. fastboot delete-logical-partition product_b
  18. fastboot erase userdata
  19. fastboot erase cache
  20. fastboot flash system system.img
  21. fastboot -w
  22. fastboot reboot
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement