[Samsung Galaxy A22 4G] david7xw:
Perform this at your own risk. I'm not responsible for any bootloops, or other bad things, i'm not responsible to any damage to your Sammy.

This is a tutorial on how to make a GSI daily drivable.

A GSI I recommend is Alphadroid (don't use 1.7 as it will bootloop.) It has good performance and lots of customizability.

List of bugs:

- Broken media control

- 90 HZ refresh rate

- Low audio volume even at max

- Wired headphones not working

- Bluetooth audio devices (speakers, headphones, etc)

- Notch status bar padding

- AOD

- Adaptive brightness

- VoLTE

- Face Unlock (use fingerprint instead) P.S: it may have been fixed on A14 GSI's, haven't tested.

P.S: Red text means that those stuff aren't fixable, blue text means you need root to apply these fixes

Fixing bugs:

- Broken media control:

Open settings and go to Phh treble settings

Click Samsung features and unmark "Use alternate audio policy" and restart the phone then you should be able to change the audio volume

- 90 HZ refresh rate:

Open settings and go to Phh treble settings

Click misc features then click on "Force FPS" and select "720x1600@90" and restart the phone (you can keep 60 for better battery backup)

- Low audio volume even at max:

You need Magisk for this. Download this magisk module and install it then restart your phone. A new app will appear (Viper4Android). Open it and apply the following settings:

Master limiter 6 DB output gain, 0 DB threshold limit

Playback gain control Strength 3, Maximium gain 5x, Output threshold 0 DB

Your audio should be more louder and better. You can also tweak with other settings in the app.

- Wired headphones not working:

You need Magisk and Termux for this.

Download and install termux and give it superuser priviliges by typing "su". Once you gave it superuser priviliges, type the following command "setprop persist.sys.overlay.devinputjack true" then restart your phone.

P.S: Don't turn on "Use alternate way to detect headsets" because it won't detect your headphones either way.

- Bluetooth audio devices:

Open settings and go to Phh treble settings

Click misc features then click on "Bluetooth workarounds" and select Mediatek.

After that go to misc features and enable "Use system-wide BT HAL" and restart your device. After that your bluetooth audio devices will work.

- Notch status bar padding:

Method 1: Open settings and go to Phh treble settings.

Click misc features then go to "set faked rounded corners diameters" and set 30 and click ok. Wait some time and the status bar padding should be OK.

Method 2: You will need Magisk for this.

Download Iconify and give it superuser permission. Let it do its job of installing overlays. After it installed the overlays and restarted your device, open Iconify, click Tweaks and select "Status bar" and adjust the padding options. (i don't remember the padding options exact values, sorry.)

- AOD:

You will need Magisk for this.

Download this module made by @adsk-dev then restart the device, After that turn on AOD in settings.

P.S: Make sure to disable Force Allow AOD in phh settings or else AOD clock will not update.

Little Q&A:

Q: Why can't the features in red coloured text can't be fixed?

A: Adaptive brightness may be fixable soon if someone makes a better overlay module, VoLTE can never be fixed due to Samsungs VoLTE structure and face unlock just refuses to work for some reason. It may be fixed in A14 GSI's.

This guide took a lot of work to write so please drop a thumbs up if this helped you!