[TUTORIAL] How to install Android 13 Google gsi (Dual booted) on Samsung M31 (M315F)

Search This thread

hcbose

New member
May 5, 2023
1
1
Disclaimer: I am not responsible for damage to property, software, data or person. Do not whine if you made a mistake

Requirements
: PC (Running Windows. Virtual Machine will not work) , Internet, Knowing How to run adb commands. This guide won't work if your device has parental controls (family link)

Step 1. Enable Developer Options
To enable Developer Options, open Settings->About Phone->Software Information and click the build number 7 times. You may be asked for your password or pattern.

Step 2. Unlock Bootloader
Step 2.1. There will be a new settings menu called Developer Options. Click on it and then enable OEM Unlocking
Step 2.2. Reboot the phone. Unlock it and then Power it off fully
Step 2.3 Hold both volume buttons and connect phone to Computer
Step 2.4 You will be in a screen which says "A custom OS can critical problems blah blah blah" Hold Volume Up Button Untill the screen says "Unlock Bootloader?". Press volume up button.
(WARNING THIS WILL DELETE YOUR DATA SO BACK IT UP IF YOU WANT) Your phone will get erased and then boot up with an unlocked bootloader. Set it up

Step 3. Follow Step 2.2 after setting up phone and Check if the text at the top says KG:Checking or KG:Complete. If it doesnt then repeat Steps 2 and 3 until it does.

Step 4.Check for Software update but do not press update. Then, Follow Step 1 again. Go into the developer options, Enable USB Debugging. and also under oem unlocking it should say bootloader already unlocked. if it does not, do not proceed

Step 5. Download DSU Sideloader apk here and install it

Step 6. Download the rom file link

Step 7. Open DSU Sideloader and select the rom zip file. Use a custom userspace size as if you dont, it will only give 8 gb space to the gsi. choose how many gigabytes you want for the new rom.
and press the install button. It will tell you to run a command on your pc using adb. Run it

Step 8. After running the command, there will be an installation progress bar for the DSU. Once it is completed, press reboot button in the DSU notification. Speed through the setup and you are done. wait until the Finish setting up GMS notification pops up and click it and go through that setup

Post Install:


The normal phone app is gliched. Install Phone by google and set it as default
(Optional*) Use Lawnchair to get an launcher similair to the pixel phones and use the Pix Icon Pack for Icons

Things to know:

Reboot your phone from the rom to go back to stock version.
Press the reboot button in the dsu notification to go back to the rom
 
  • Like
Reactions: unst4bl3

unst4bl3

Senior Member
Jul 3, 2022
68
18
Samsung Galaxy M31
Disclaimer: I am not responsible for damage to property, software, data or person. Do not whine if you made a mistake

Requirements
: PC (Running Windows. Virtual Machine will not work) , Internet, Knowing How to run adb commands. This guide won't work if your device has parental controls (family link)

Step 1. Enable Developer Options
To enable Developer Options, open Settings->About Phone->Software Information and click the build number 7 times. You may be asked for your password or pattern.

Step 2. Unlock Bootloader
Step 2.1. There will be a new settings menu called Developer Options. Click on it and then enable OEM Unlocking
Step 2.2. Reboot the phone. Unlock it and then Power it off fully
Step 2.3 Hold both volume buttons and connect phone to Computer
Step 2.4 You will be in a screen which says "A custom OS can critical problems blah blah blah" Hold Volume Up Button Untill the screen says "Unlock Bootloader?". Press volume up button.
(WARNING THIS WILL DELETE YOUR DATA SO BACK IT UP IF YOU WANT) Your phone will get erased and then boot up with an unlocked bootloader. Set it up

Step 3. Follow Step 2.2 after setting up phone and Check if the text at the top says KG:Checking or KG:Complete. If it doesnt then repeat Steps 2 and 3 until it does.

Step 4.Check for Software update but do not press update. Then, Follow Step 1 again. Go into the developer options, Enable USB Debugging. and also under oem unlocking it should say bootloader already unlocked. if it does not, do not proceed

Step 5. Download DSU Sideloader apk here and install it

Step 6. Download the rom file link

Step 7. Open DSU Sideloader and select the rom zip file. Use a custom userspace size as if you dont, it will only give 8 gb space to the gsi. choose how many gigabytes you want for the new rom.
and press the install button. It will tell you to run a command on your pc using adb. Run it

Step 8. After running the command, there will be an installation progress bar for the DSU. Once it is completed, press reboot button in the DSU notification. Speed through the setup and you are done. wait until the Finish setting up GMS notification pops up and click it and go through that setup

Post Install:


The normal phone app is gliched. Install Phone by google and set it as default
(Optional*) Use Lawnchair to get an launcher similair to the pixel phones and use the Pix Icon Pack for Icons

Things to know:

Reboot your phone from the rom to go back to stock version.
Press the reboot button in the dsu notification to go back to the rom
Does it work for your rom only for which you gave the link or any gsi?

Update: It do works on other gsi(s) too...
 
Last edited:

unst4bl3

Senior Member
Jul 3, 2022
68
18
Samsung Galaxy M31
Disclaimer: I am not responsible for damage to property, software, data or person. Do not whine if you made a mistake

Requirements
: PC (Running Windows. Virtual Machine will not work) , Internet, Knowing How to run adb commands. This guide won't work if your device has parental controls (family link)

Step 1. Enable Developer Options
To enable Developer Options, open Settings->About Phone->Software Information and click the build number 7 times. You may be asked for your password or pattern.

Step 2. Unlock Bootloader
Step 2.1. There will be a new settings menu called Developer Options. Click on it and then enable OEM Unlocking
Step 2.2. Reboot the phone. Unlock it and then Power it off fully
Step 2.3 Hold both volume buttons and connect phone to Computer
Step 2.4 You will be in a screen which says "A custom OS can critical problems blah blah blah" Hold Volume Up Button Untill the screen says "Unlock Bootloader?". Press volume up button.
(WARNING THIS WILL DELETE YOUR DATA SO BACK IT UP IF YOU WANT) Your phone will get erased and then boot up with an unlocked bootloader. Set it up

Step 3. Follow Step 2.2 after setting up phone and Check if the text at the top says KG:Checking or KG:Complete. If it doesnt then repeat Steps 2 and 3 until it does.

Step 4.Check for Software update but do not press update. Then, Follow Step 1 again. Go into the developer options, Enable USB Debugging. and also under oem unlocking it should say bootloader already unlocked. if it does not, do not proceed

Step 5. Download DSU Sideloader apk here and install it

Step 6. Download the rom file link

Step 7. Open DSU Sideloader and select the rom zip file. Use a custom userspace size as if you dont, it will only give 8 gb space to the gsi. choose how many gigabytes you want for the new rom.
and press the install button. It will tell you to run a command on your pc using adb. Run it

Step 8. After running the command, there will be an installation progress bar for the DSU. Once it is completed, press reboot button in the DSU notification. Speed through the setup and you are done. wait until the Finish setting up GMS notification pops up and click it and go through that setup

Post Install:


The normal phone app is gliched. Install Phone by google and set it as default
(Optional*) Use Lawnchair to get an launcher similair to the pixel phones and use the Pix Icon Pack for Icons

Things to know:

Reboot your phone from the rom to go back to stock version.
Press the reboot button in the dsu notification to go back to the rom
I tried but it just not works, simply reboots the devices... that's all...

Update: It works on stock... idk why it didn't run on ported Full OneUI...
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Disclaimer: I am not responsible for damage to property, software, data or person. Do not whine if you made a mistake

    Requirements
    : PC (Running Windows. Virtual Machine will not work) , Internet, Knowing How to run adb commands. This guide won't work if your device has parental controls (family link)

    Step 1. Enable Developer Options
    To enable Developer Options, open Settings->About Phone->Software Information and click the build number 7 times. You may be asked for your password or pattern.

    Step 2. Unlock Bootloader
    Step 2.1. There will be a new settings menu called Developer Options. Click on it and then enable OEM Unlocking
    Step 2.2. Reboot the phone. Unlock it and then Power it off fully
    Step 2.3 Hold both volume buttons and connect phone to Computer
    Step 2.4 You will be in a screen which says "A custom OS can critical problems blah blah blah" Hold Volume Up Button Untill the screen says "Unlock Bootloader?". Press volume up button.
    (WARNING THIS WILL DELETE YOUR DATA SO BACK IT UP IF YOU WANT) Your phone will get erased and then boot up with an unlocked bootloader. Set it up

    Step 3. Follow Step 2.2 after setting up phone and Check if the text at the top says KG:Checking or KG:Complete. If it doesnt then repeat Steps 2 and 3 until it does.

    Step 4.Check for Software update but do not press update. Then, Follow Step 1 again. Go into the developer options, Enable USB Debugging. and also under oem unlocking it should say bootloader already unlocked. if it does not, do not proceed

    Step 5. Download DSU Sideloader apk here and install it

    Step 6. Download the rom file link

    Step 7. Open DSU Sideloader and select the rom zip file. Use a custom userspace size as if you dont, it will only give 8 gb space to the gsi. choose how many gigabytes you want for the new rom.
    and press the install button. It will tell you to run a command on your pc using adb. Run it

    Step 8. After running the command, there will be an installation progress bar for the DSU. Once it is completed, press reboot button in the DSU notification. Speed through the setup and you are done. wait until the Finish setting up GMS notification pops up and click it and go through that setup

    Post Install:


    The normal phone app is gliched. Install Phone by google and set it as default
    (Optional*) Use Lawnchair to get an launcher similair to the pixel phones and use the Pix Icon Pack for Icons

    Things to know:

    Reboot your phone from the rom to go back to stock version.
    Press the reboot button in the dsu notification to go back to the rom