[Samsung Galaxy A33 5G] Privacydroid:
WARNING!

You are responsible for any damage that might happen to your device.

Follow the guide carefully to avoid issues.

This guide provides instructions how to:

Unlock the bootloader, install TWRP, install LineageOS, root and unroot the phone.

View attachment 5790555

(1) • Unlocking the Bootloader

This will void your warranty and erase all data

Power on your phone

Complete the initial setup

The A33 forces you to connect to the internet before you can use the device

Once you connected to the inernet, a new option will become available in the phone settings

> settings > about device > build number > press 7 times on "build number" to enable developer options

> settings > system > developer options > enable OEM Unlock and USB Debugging

Power off the Phone

Boot the phone in OEM unlocking mode: hold volume-up and volume-down while the Phone is powered-off

While holding the buttons connect the phone to a computer using a USB cable

Keep holding the buttons untill phone is booted to OEM unlocking mode

In OEM unlocking mode hold the volume up key for few seconds, wait for the phone to complete the unlock process

Your phone is now OEM unlocked

(2) • Install TWRP Recovery

After unlocking OEM, complete again the initial setup of the phone

Enable Developer Options and USB Debugging as done before

Once connected to the internet, OEM unlocking can be activated

> settings > about device > build number > press 7 times on "build number" to enable developer options

> settings > system > developer options > enable USB Debugging (and OEM Unlock if you see it)

Power off the phone

On your computer download the following: Samsung USB Driver, Odin, TWRP Recovery, vbmeta_disabled_uh.tar

https://developer.samsung.com/android-usb-driver

https://dl2018.sammobile.com/Odin.zip

https://eu.dl.twrp.me/a33x/twrp-3.7.0_12-0-a33x.img.tar

https://xdaforums.com/attachments/vbmeta_disabled_uh-tar.5941179/

Install the Samsung USB Drivers on your computer

Boot the phone in OEM unlocking mode: hold volume-up and volume-down while the Phone is powered-off

While holding the buttons connect the phone to a computer using a USB cable, press volume-up to continue to Download Mode

On the computer extract the odin.zip file and start Odin

In Odin klick on AP and select the file you downloaded, twrp-a33x.img.tar

In Odin klick on BL and select the file you downloaded, vbmeta_disabled_uh.tar

Klick start to flash TWRP Recovery on your A33 Phone

When you see a green "PASS" in Odin it means the process is done

Power off the phone

(3) • Install LineageOS

Download LineageOS on your computer (alternatively AOSP is another good option)

https://sourceforge.net/projects/andyyan-gsi/files/lineage-20-light/lineage-20.0-20231115-UNOFFICIAL-gsi_arm64_vN.img.xz/download

https://github.com/phhusson/treble_experimentations/releases/download/v416/system-squeak-arm64-ab-floss.img.xz

Extract the downloaded LineageOS.xz to get the LineageOS.img file

Copy the "LineageOS.img" on any Micro-SD-Card or USB-Drive (you will need either a microsd adapter or usb adapter)

Connect your phone with the storage where the LineageOS.img is stored (Your microSD-Card or USB-Drive)

Boot phone in Recovery-Mode (TWRP) hold volume up + power and use cable to connect to pc while holding buttons

In TWRP select install then press select storage, select SD Card or USB where the lineage.img is located

Choose install image and flash the LineageOS_GSI.img to System

In TWRP reboot to system

Done, you have successfully installed lineageos

If you have any issues find the official samsung stock rom here: https://www.sammobile.com/samsung/galaxy-a33/firmware/#SM-A336B

• Root / Unroot

I don't know about AOSP, however LineageOS is not fully private, it connects to google

To fix that you must install magisk to root your phone, and install termux.

https://github.com/topjohnwu/Magisk/releases

https://github.com/termux/termux-app/releases

Rename the downloaded Magisk.apk to Magisk.zip

Copy the renamed Magisk.zip and rename the copy to uninstall.zip

Copy both Magisk.zip and uninstall.zip to your SD-Card or USB-Drive

Boot the phone in recovery mode (TWRP)

In TWRP select install, select storage, select Magisk.zip and flash it

Reboot to system

Now your phone is rooted, perced to install the termux app, open it and enter the command: su

Magik will ask to allow superuser privileges for termux, confirm and enter the following commands:

settings put global captive_portal_mode 0

settings put global ntp_server pool.ntp.org

Finally reboot your phone for the changes to take effect

If you wish to unroot your phone, boot to recovery (TWRP), install, select uninstall.zip and flash it, reboot, done.

• Credits

Teamwin for TWRP | https://twrp.me/

Andy Yan for LineageOS-GSI | https://github.com/AndyCGYan

phhusson for AOSP-FLOSS | https://github.com/phhusson/

topjohnwu for Magisk | https://github.com/topjohnwu

Termux-Team for Termux | https://github.com/termux

Gabriel260BR for vbmeta_disabled | https://xdaforums.com/m/gabriel260br.11485039/

V0latyle for helping me installing twrp and lineageos | https://xdaforums.com/m/v0latyle.3690504/