Skip to content

Instantly share code, notes, and snippets.

@haridhayal11
Last active May 21, 2024 14:05
Show Gist options
  • Save haridhayal11/f50c56b5fbb5e79277999e7fa7fc1921 to your computer and use it in GitHub Desktop.
Save haridhayal11/f50c56b5fbb5e79277999e7fa7fc1921 to your computer and use it in GitHub Desktop.
Guide for Installing GSI on Exynos2100 devices

Instructions for installing AOSP GSI on exynos2100 devices

Your warranty is now void. I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.

Instructions

  1. Download GSI of your choice. (ARM64 AB) Read below for more info
  2. If it is compressed (usually .xz) extract it to .img
  3. Boot into twrp.
  4. Select the GSI and flash to system.
  5. Flash TWRP_AIO_Fix_v5_GSI_exynos2100.zip Download
  6. Flash HariKernel (Permissive) Download DOES NOT BOOT ON ONEUI 5.1 AND NEWER FIRMWARE.
  7. Flash Magisk (Secure Variant of the GSI recommended, If available)
  8. Reboot to system
  9. Flash Temp-overlay-fix-v2-magisk-module-exynos2100-refreshrate.zip as a magisk module. This is a temporary step. This will not be needed in future GSI builds. Download Not needed on newer GSIs

Donation

Buy Me A Coffee

Telegram Group for Further Discussion

Telegram Group

Fixed Bugs

  • Hotspot (Flash Hari Kernel v2.2 or later)
  • Adaptive Refresh rate.
  • Random frame drops.
  • Adaptive Brightness. (Enable under display settings)
  • Inconsistant 60fps. (HW overlays dont need to be disabled)
  • Mic noise when recording video

Remaining Bugs

  • OTA. (Dont attempt this, This results in a bootloop, to get out of this you need to flash stock firmware with home_csc or wipe metadata partition if you have that option in recovery.)
  • Proximity sensor (works only on regular phone calls)
  • VoLTE/VoWiFi

GSI List

Recommended

Other GSIs

  • You can find a list here

Settings to change under phh-settings (will be set automatically after you connect to Wifi)

Samsung features

  • Enable extended brightness range
  • Enable access to all cameras
  • Enable extra sensors
  • Enable double tap to wake (if required)

Misc features

  • DO NOT SET force fps. Adaptive refresh rate now works with the overlay.
  • Set rounded corner diameter to 48 and reboot
@haridhayal11
Copy link
Author

haridhayal11 commented Jan 18, 2023

@haridhayal11 hey man, sorry to be that guy. Did you ever get anywhere with releasing camera support or investigating tethering?

As I said before. Things are available in the telegram group as soon as they are released. I will make a gist about google camera. Hotspot works fine for me on the latest kernel.

@jakenvac
Copy link

Ah my bad, totally missed the telegram part. Thanks!

Copy link

ghost commented Jan 30, 2023

on GSI connecting galaxy watch 4 doesnt work.

EDIT: Never mind, installed Lineage OS and its worked, over GSI Roms dont tho.

@FDK101
Copy link

FDK101 commented Feb 3, 2023

Hi all.

Found that if you install GoogleSpoofForWear Magisk module then the wear app works with no issue.

Currently on Project Elixir 3.5 with no issues, S21 Ultra.

Also, thank you @haridhayal11 for all the work and support.

@nomyTx
Copy link

nomyTx commented May 3, 2023

Is it possible to get 5G working? I've been trying to but I can't seem to get it working at all

@haridhayal11
Copy link
Author

Is it possible to get 5G working? I've been trying to but I can't seem to get it working at all

Not possbile for now.

@nomyTx
Copy link

nomyTx commented May 3, 2023

Any idea when it will be possible? Having my mobile internet be really slow is very annoying

@haridhayal11
Copy link
Author

Any idea when it will be possible? Having my mobile internet be really slow is very annoying

You can open an issue on https://github.com/TrebleDroid/treble_experimentations/issues.

@nomyTx
Copy link

nomyTx commented May 3, 2023

Also, is there any way to use the full 108MP on the Ultra? Every camera app I've tried doesn't let me.

@haridhayal11
Copy link
Author

Also, is there any way to use the full 108MP on the Ultra? Every camera app I've tried doesn't let me.

I dont own a S21 Ultra. I only have the S21 so I can't really help you with that. Some gcams might do it but you have to search around.

@crxngy
Copy link

crxngy commented Jun 16, 2023

hello, when is this going to work with ewe1 firmware? its a very nice kernel so i eagerly wait for it to work with oneui 5.1/ewe1 :)

@Mateus13000
Copy link

Hi guys! Is there anyone using a S21 with LineageOS 20??? I'm tired of OneUI, is a really great OS, but not for me, a stock android lover 😅
I've tried to join the telegram group, but the invite has expired. I'm going to ask just some generic questions, like:

• How is the battery life?
• The best gapps to use?
• Is there any gcam with full support?
• Is banking apps and NFC payment working?
• Does S21's TWRP support something like FBE?

And one that I think I'm the only one worried about:
• Is there anything like Dex on stock android/LineageOS???

Sorry for all this annoying questions... ❤️

@Rastoupine
Copy link

I lost the 5G network, and i can't receive any SMS or MMS. I can do and receive calls.

I live in France, i use Free Mobile, i use an eSIM (which can be the problem)

First i :

  • Installed SIM Manager because i had a problem that makes me unable to switch on/off the SIM when i switched off it was staying greyout.

Then :

  • I installed the last MicroG
  • I tried to update the SMSC from the ##4636##
  • I compared APN (which are unmodifiable anyway) that are correct.
  • In PHHTrebleSettings i switched "Force the presence of 4G Calling setting" and "Request IMS network"

Any ideas ?

@phhusson
Copy link

5G should work on latest trebledroid builds, try with https://github.com/TrebleDroid/treble_experimentations/releases for reference

WRT SMS, they might be fixed on latest trebledroid too, i'm not too sure, if you could test

@gabsriel
Copy link

I lost the 5G network, and i can't receive any SMS or MMS. I can do and receive calls.

I live in France, i use Free Mobile, i use an eSIM (which can be the problem)

First i :

  • Installed SIM Manager because i had a problem that makes me unable to switch on/off the SIM when i switched off it was staying greyout.

Then :

  • I installed the last MicroG
  • I tried to update the SMSC from the ##4636##
  • I compared APN (which are unmodifiable anyway) that are correct.
  • In PHHTrebleSettings i switched "Force the presence of 4G Calling setting" and "Request IMS network"

Any ideas ?

Hi. I'm a french noob and having the same sms issue with another mobile operator.
Maybe i'm wrong but it seems so be related to vendor.img. I'm trying to flash it after the rom installation.
The problem I have is that the system does not boot after flashing the vendor.img. I'm trying to figure it hox and will report here.

@Rastoupine
Copy link

Rastoupine commented May 10, 2024 via email

@gabsriel
Copy link

gabsriel commented May 10, 2024

C'est juste de la merde les Samsung exynos tu peux rien faire

.

Oui c'est clair...parfois j'arrive à avoir les sms, parfois pas, c'est complètement aléatoire suivant la rom et la façon d'installer la rom, ou l'alignement des planètes. Je n'ai pas encore réussi à avoir une rom avec tout de fonctionnel. Celles qui s'en rapprochent le plus c'est Elixir et Voltage. Mais mȇme avec ces roms, suivant l'installation je vais avoir les sms, ou pas.

@phhusson
Copy link

Wow, very useful comment @Rastoupine congrats!
Anyway I just tested on Samsung Exynos S22, S24 https://github.com/TrebleDroid/treble_experimentations/releases/tag/ci-20240508
and incoming and outgoing SMS are working on Free Mobile. 5G only works on S24 though, i'll look.

@gabsriel
Copy link

gabsriel commented May 10, 2024

Wow, very useful comment @Rastoupine congrats! Anyway I just tested on Samsung Exynos S22, S24 https://github.com/TrebleDroid/treble_experimentations/releases/tag/ci-20240508 and incoming and outgoing SMS are working on Free Mobile. 5G only works on S24 though, i'll look.

Hi. thanks for your help. But it seems not working on my S21 5G.
Edit : since I try to install a gsi I also experience that "samsung glugate". Maybe Samsung corrected the flaw by a software fix. With another rom the grey rectangle is clearly visible. I also have huge pwm headaches. So I think like Raspoutine about my Samsung...

@gabsriel
Copy link

Wow, very useful comment @Rastoupine congrats! Anyway I just tested on Samsung Exynos S22, S24 https://github.com/TrebleDroid/treble_experimentations/releases/tag/ci-20240508 and incoming and outgoing SMS are working on Free Mobile. 5G only works on S24 though, i'll look.

For what it is worth, thank you very much for all the great work you accomplished for the community. I hope we will still be able to make our smartphones last longer, thanks to guys like you.

@gabsriel
Copy link

gabsriel commented May 11, 2024

Just to let know that I changed mobile carrier today and now it works. From RedbySFR to NRJ.
Maybe it was a apn/ism handling problem.
The last problem for me (contant to all gsi) is the audio routing to a usb dongle. I have OTG, so that I can plug a usb drive. The dongles are recognized, because I can exclusively drive them trough Hiby Music or Usb Audio Pro. But system wide i cannot play sound through de dongles I have.

@gabsriel
Copy link

Hi, sorry for the spam but I really try to figure out what was wrong. I find that sms works only in RCS mode. As soon as I'm out of RCS, I cannot receive sms anymore. I can send them tough.

@gabsriel
Copy link

@phhusson Sorry to ask for that. I did not find any reliable information about that. Would you have any IMS apk for android 14 ? I do not know how IMS works and it seems that the sms problem is related to IMS. I found this https://treble.phh.me/, but cannot understand what to pick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment