How to make GSI Flasher for Samsung Galaxy A51 Super Partition Image

Search This thread


How to convert a gsi image so that it can be installed on a dynamic partition or super image partition. It may be work for other Android devices. This tool will help you to install gsi image on Dynamic Partition or Super Image Partition.

PC/Laptop
1. Extract GSI_Flasher.zip (or GSI_Flasher_SDCard if you want install GSI from SDCard) >> 3 folder gsi, META-INF, and Scripts
2. Extract Havoc-OS-v3.12-20201230-Official-arm64-ab.img.xz (your GSI file image)
3. Rename gsi to system.img (it must be rename to system.img, if you don"t rename, your phone get bootloop after reboot system)
4. Put <system.img> in gsi folder
5. Repack this 3 folder gsi, META-INF, and Scripts to zip (you can name it, whatever you want)





Credit
@redymedan
@soulr344
@phhusson
@topjohnwu
@ianmacd
 

Attachments

  • GSI_Flasher.zip
    919.9 KB · Views: 1,122
  • GSI_Flasher_SDCard.zip
    894.9 KB · Views: 955
Last edited:

hacker812c

Senior Member
Mar 28, 2012
2,554
2,107
Salvador🇧🇷
Very Good my friend
This option sd card
If system start from sd is possible dual boot?
Create New thread havoc starting from sd this option is usefull for no Format internal sd?
Sorry i read GSI flash from SD no in sd ☺️😁
 

breversa

Senior Member
Mar 21, 2012
495
150
LG G4
Fairphone 2
Here's the displayed message :
Code:
--------------------------------------------------
GSI Flasher
--------------------------------------------------
Extracting script..
-------------------------------------------------- GSI Flasher-------------------------------------------------- Extracting script..Extracted file "/tmp/scripts/script.sh"
Extracted 1 file(s)
Extracting GSI Image..
Extracting GSI Image..Extracted file "/sdcard/.gsi/system.img"
Extracted 1 file(s)
Flashing GSI..
about to run program [/sbin/sh] with 3 args
Flashing GSI..INFO: Successfully flashed sparse image
--------------------------------------------------
Successfully flashed GSI!
NOTE: please wipe data
  to avoid issues.
--------------------------------------------------
-------------------------------------------------- Successfully flashed GSI! NOTE: please wipe data  to avoid issues.--------------------------------------------------script succeeded: result was [--------------------------------------------------]

Full recovery log is attached.
 

Top Liked Posts