• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[GUIDE][A/B][Q][M205x] How To Install GSIs on Galaxy M20

Haridhayal

Senior Member
Mar 30, 2018
168
495
63
Colombo
How To Install GSIs on Galaxy M20

Bugs:
- Volte (will never work)

Requirements:
- Must be on OneUI 2.0.
- Unlocked Boot-loader & TWRP 3.4.0-0 or newer version installed.

Instructions:
1) Boot into latest TWRP.
2) Download any Android 10 ARM64-A/B variant GSI. (From here)
3) If its not in .img format extract it to .img format.
4) Flash it as system image.
- Optional: Resize system partition if you want to flash gapps.
5) Do factory reset.
6) Flash following 3 patches
- Magisk (Necessary to boot)
- dm-verity and forced encryption disabler (attached below)
- The-Phix (Fixes Camera, Media playback, MTP, Screen Lock) (Download from here)
7) Reboot

Tested GSIs :
- AOSP
- LineageOS

Credits:
SamarV121 - Fixing the bugs and TWRP.
XXXTC3X - Testing

XDA:DevDB Information
Q GSIs on Galaxy M20, ROM for the Samsung Galaxy M20

Contributors
Haridhayal
ROM OS Version: Android 10

Version Information
Status: Stable

Created 2020-07-01
Last Updated 2020-07-03
 

Attachments

Last edited:

sunnatter

Member
Jul 10, 2020
19
0
0
MTP, fingerprint, wide-angle cam, lockscreen, PIN, sdcard are still not working on Phhusson build even after flashing the-phix.zip.
Bugs on lineage os: mtp, fingerprint, cam, lockscreen, bootloop, sd card, PIN, browser are not working.
 

alfadyn

Member
May 20, 2017
37
2
0
MTP, fingerprint, wide-angle cam, lockscreen, PIN, sdcard are still not working on Phhusson build even after flashing the-phix.zip.
Bugs on lineage os: mtp, fingerprint, cam, lockscreen, bootloop, sd card, PIN, browser are not working.
yes i did it like 10 times currently on havoc os 3.7

and the only things that dont work are MTP and Lock Screen even after the phix.
 
  • Like
Reactions: sunnatter

sunnatter

Member
Jul 10, 2020
19
0
0
nope. but i switched to vanilla android aosp from phhuson. and the only thing i need a lock screen fix. mtp is also not working but it s not that important for me.
Cool. Before i tried gapps from phhusson and lineageos 17.1 but lineage seemed to have more bugs.
I also want to test uport (unbutu touch port) later on.
 

sunnatter

Member
Jul 10, 2020
19
0
0
nope. but i switched to vanilla android aosp from phhuson. and the only thing i need a lock screen fix. mtp is also not working but it s not that important for me.
Aosp from phhusson has the same issue is bootloop after i reboot. Is havoc a better option?
I would like to switch to custom rom instead of stock rom, since sometimes i got annoyingly bizarre reboot without any reason.
 

xxxtc3x

New member
Jul 19, 2020
1
1
0
You didn't get bootloop after the second boot?
I think the reason why your phone is bootlooping is because you tried setting up a lockscreen. You have to delete the keystore.mdfpp.so file in /vendor/lib64/hw/ for the fingerprint sensor to work and not cause bootlooping issues.

---------- Post added at 07:02 AM ---------- Previous post was at 06:56 AM ----------

Aosp from phhusson has the same issue is bootloop after i reboot. Is havoc a better option?
I would like to switch to custom rom instead of stock rom, since sometimes i got annoyingly bizarre reboot without any reason.
Try using the most recent aosp/lineage gsi update. The random app crashes and other issues (like camera not working) have been fixed
To fix mtp flash this in twrp: drive . google. com/file/d/1YoBxX--hI_WC43isSrLghOQnb5wW6-QZ/view?usp=sharing (I'm spacing out the link cause I'm not allowed to post links yet)
 
Last edited:
  • Like
Reactions: sunnatter

sunnatter

Member
Jul 10, 2020
19
0
0
I think the reason why your phone is bootlooping is because you tried setting up a lockscreen. You have to delete the keystore.mdfpp.so file in /vendor/lib64/hw/ for the fingerprint sensor to work and not cause bootlooping issues.

---------- Post added at 07:02 AM ---------- Previous post was at 06:56 AM ----------


Try using the most recent aosp/lineage gsi update. The random app crashes and other issues (like camera not working) have been fixed
To fix mtp flash this in twrp: drive . google. com/file/d/1YoBxX--hI_WC43isSrLghOQnb5wW6-QZ/view?usp=sharing (I'm spacing out the link cause I'm not allowed to post links yet)
Thanks man, i appreciate it. I will try it out soon.
 

sunnatter

Member
Jul 10, 2020
19
0
0
I think the reason why your phone is bootlooping is because you tried setting up a lockscreen. You have to delete the keystore.mdfpp.so file in /vendor/lib64/hw/ for the fingerprint sensor to work and not cause bootlooping issues.

---------- Post added at 07:02 AM ---------- Previous post was at 06:56 AM ---------
And how do you fix the lockscreen?

---------- Post added at 06:39 AM ---------- Previous post was at 06:38 AM ----------

I've followed all the above instructions but the device doesn't boot past Samsung Logo screen.
What could I be doing wrong
Pls describe more detail or else we can't guess what you did wrongly.
 

thes3usa

Retired Forum Moderator
May 30, 2015
569
711
93
20
Colombo
Tried this on my M20, but as above it does not go past the Galaxy M20 Splash screen. Stuck there and does not progress. Will update if I find a fix.
 

sunnatter

Member
Jul 10, 2020
19
0
0
Everything works fine bro

---------- Post added at 02:18 AM ---------- Previous post was at 02:17 AM ----------

Tried this on my M20, but as above it does not go past the Galaxy M20 Splash screen. Stuck there and does not progress. Will update if I find a fix.
What gsi did you use?
 

tanle2702

New member
Nov 2, 2019
4
1
0
has anyone tried and got a stable working device? i wanna try, but im too afraid because this phone is my only daily driver
update: tried havoc (v3.7), lineage (17), blissOS 12.10, CAOS, AOSP. Stayed on havoc 3.7, no magisk.
Everything is working, havent tried volte yet, but:
-fingerprint
-screenlock
-camera (back and front, no ultra wide angle)
-face unlock
-speakers
-wifi
-bluetooth
-fast charging
are working.
There are a few bugs: wifi doesnt automatically connect after first time entering password, wifi sometimes disconnect when browsing google photos (other apps are fine), no auto brightness, choppy scrolling in chrome (firefox is smooth).
p/s: M205G variant
 
  • Like
Reactions: eshab11