[Realme 5 Pro Guides, News, & Discussion] greenys':
Original thread.

/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here 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.
* Your warranty will be void if you tamper with any part of your device / software. *This is not entirely true for Realme devices since bootloader unlock or custom rom flash via TWRP or fastboot does not void your warranty but rooting does.
* So I heard. But that's question of detail.
* Same statement for XDA.

[

DETAILED DESCRIPTION

]:

I've spent my whole afternoon testing. And found out there are way more well made gsi roms out there and theoretically all of them should work. First, you gotta read this one. Then pick a gsi rom. I recommend one that has everything (must be AB image) since we don't have a working twrp yet thus can't flash opengapps but if the image file contains it then it's good to go. Go there. Pick one. Make sure it has ab-gapps-su in it's name meaning it's A/B partition dependent treble rom. Gapps means it has gapps ofc. Su means it has built in superuser (that you can ignore later for you'll be replacing it with Magisk naturally). After picking a gsi rom image successfully you can download it to your external sd card and flash it via twrp (yes, that half ass twrp for rmq provided on xda) or you can flash it via fastboot flash system system.img. Wiping data, cache, dalvik, system is necessary before doing so. Also formatting data in twrp after flashing the system image helps a lot just as OP said. If you want to try out other gsi roms you must flash stock vendor image file and do the flashing circle again. If you don't flash stock rom or stock vendor img before doing so your new gsi rom won't be able to work with screen lock. At least that's what I got on 4 different gsi roms. And one more thing. These gsi systems doesn't seem to support exfat file system. Meaning they'll want to format your external sd card. This can by bypassed if you flash lineage os boot.img. And then Magisk and at last modified vbmeta.img for RMQ. That file will make realme vendor think nothing is changed and won't try to fck you over with recovery destroyed issue.

[

Prerequisites

]:

unlocked bootloader

twrp recovery

External SD card

[

BUGS

]:

Face unlock and fingerprint isn't present on gsi roms which means they cannot work

Screen lock issue in cases when you don't flash stock vendor.img before migrating from one custom rom, be it gsi or zip to system gsi.img

[

STEP BY STEP TUTORIAL IN CASE YOU'RE COMING FROM OTHER ROM

]:

!! Most of these steps are precaution !!

Read these points carefully to have a basic knowledge what you're about to do

Pick a gsi image of your choice (official Android 9 Pie, especially AOSP is highly advised)

Put your image file onto your external SD card for your internal one will likely be erased

You should grab the appropriate vendor.img and boot.img files for your device by decompressing the 7z files

Get the modified vbmeta.img file for spoofing system to boot

Get Magisk

Get SuperSu remover(Beware! It also removes Magisk if installed)

Get Lineage OS boot.img

It's better to be safe than sorry so you better download whole rom package too

Put all these files onto your external SD card

Make sure you have your twrp recovery on your external SD card too

If you done everything well you should have these on your external SD: twrp, desired system gsi.img as AB variant, your vendor.img, modified vbmeta.img, stock boot.img, Lineage OS boot.img, color os flashable.ozip/zip, Magisk, SuperSu remover

Wipe system, data, dalvik, cache

Flash stock vendor.img as vendor

Flash system gsi.img as system

Flash lineage os boot.img as boot

Flash twrp.img as recovery

Flash modified vbmeta.img as vbmeta

Reboot to system (if the device reboots into recovery you'll have to format data sadly)

After reboot successful and you've done the initial google setup steps reboot to recovery and flash superuser unroot

Flash Magsik

Reboot, now you should have a working aosp like system as I do

[

STEP BY STEP TUTORIAL IN CASE YOU'RE COMING FROM COLOR OS

]:

!! You could have the same files as above just to make sure but system gsi.img,vbmeta.img,SuperSu remover,Magisk and Lineage OS boot.img should be enough if everything goes as planned and system boots for first try !!

Read the frequently asked questions, step one previously

Get your desired system gsi.img

Put your system gsi.img, twrp.img, Magisk, SuperSu remover, vbmeta.img, Lineage OS boot.img onto your external SD card

Wipe data, system, cache, dalvik

Flash system gsi.img as system

Flash lineage os boot.img

Flash twrp.img as recovery

Flash vbmeta.img ad vbmeta

Reboot (if reboots to recovery you have to format data) then do the Android setup

Reboot to recovery

Flash SuperSu remover.zip

Flash Magisk.zip

Reboot

Now your device should have successfully booted up

In case the gsi rom would be stuck on boot logo then you may reboot back to recovery by holding down volume up + power button and flash permissiver_v5.zip. It helped me boot Pixel Experience gsi rom.

Update.:

As you already know development on realme devices suck beacuse of ****ty or incomplete sources, lack of developers interest and biggest reason is lack of community support.

Our man here [MENTION=8482987]BabluS[/MENTION] is a legendary developer of Asus Zenfone Max M1 Pro and is willing to compile stable ROMs for our device. But, he needs some donations to buy the device. He has already compiled Android 10 (PE) for our device which is 99% stable. To continue this tremendous work he needs to have the device in hand.

Reasons To Donate:

1. Official PixelExperience ROM

2. Official POSP ROM

3. Will maintain & provide public Device Trees/Sources (So anyone can compile ROMs)

4. More development for realme 5 Pro

Name : Baswanth Madhav Saladi

Donate Using UPI: bablus3@ybl

Donate using Paypal : baaswanthmadhav@gmail.com

Send screenshots of payment to [MENTION=3221798]orgasm[/MENTION]tron

We have to reach 6-7k in total out of which we have collected 2.6k..

Keep donating & get closer to stable custom ROM experience. Kudos!

All the donations will be public.Anyone can view and verify them.All details will be transparent.

NOTE:

We will update money collection daily evening. All details will be transparent.

List of Donators will get updated here

CLICK HERE TO CHECK!