[Moto G 5G Plus Guides, News, & Discussion] Tommy0000:
Hello everyone!

I'm happy to announce that I successfully installed android 12 on nairo, this guide comes with post install tweaks (that to me are the most important part)! I used a XT2075-3 Dual sim.

Warning: I don't take any responsibility if you brick your phone. This is just how I achieved this result. Read the guide in its entirety first! Back up everything with TWRP on an external drive.​

I've tried 2 times and the first time it worked properly except for some things that we (thanks also to @wesleyvanneck12345678 ) have found a fix for:

THINGS NOT WORKING AND THINGS TO FIX ON POST-INSTALL​

Not working (READ CAREFULLY)​

TWRP doesn't work, at least the one by vache, THEREFORE INSTALL MAGISK ON ANDROID 11! Thanks (and sorry) to @Zainullahk1234 for signaling this problem on the guide

Post-install fixes​

The clock and notification are behind the double hole punch, we'll need to fix the statusbar padding on post-install.

Audio routing needs some tweaks, we have to fix some things in developer options and phh's patches (thanks to @wesleyvanneck12345678 audio was a deal breaker for me and they helped me fix it)

AT THE TIME OF WRITING BLUETOOTH HEADSET DOESN'T WORK, if you can help on that let's discuss it on the comments[ SOLVED ] yay!

GSI INSTALLATION (install magisk while on android 11)​

Ok let's start, actually before that i recommend backing up all partitions on a hard drive via twrp, it literally saved me from bricking my phone the first time so you should do it too.

First of all you should obviously unlock your bootloader, google is your friend on that.

I SUGGEST INSTALLING MAGISK WHILE YOU ARE ON ANDROID 11 WITH TWRP!

Install Pixel Experience Alpha, I've used the arm64 vndklite version i'm not sure if it's the correct one but it worked. I followed this guide on how to install a gsi rom on a super partiton phone.

After installing the rom should work properly by itself, the audio works only through the speakers and the clock and notifications are under the double cutout cameras, let's see how to fix both.

POST-INSTALL​

AUDIO FIX​

Open Developer Options in settings

Find Disable Bluetooth Hardware Offload and turn on the setting

View attachment 5464431​

Reboot​

Go in settings and find Phh Treble Settings

Open Misc features

Enable Use alternate way to detect headsets

Scroll down and find Force-disable A2DP offload and turn it on

That's it, reboot and both aux and bluetooth headset should work!

STATUSBAR PADDING FIX (portrait mode)​

View attachment 5464363​

After installing Magisk we can fix the statusbar. Install this module in magisk manager by downloading the zip from XDA and selecting it from your download folder.

The installation of this module is unusual, when installing it will ask you to install some presets on the phone, use the volume buttons to choose the CUSTOM option (last one, not the pixel 5), this will create 5 text files in the storage of your phone.

Reboot if you want (idk if it's necessary but I did it anyway)

Use a file manager like total commander to navigate in your storage/emulated/0/com.logmd.n3o/ there will be 5 files.

Open the custom1left.txt, delete the number you see and write 240, save and close. 240 is the pixel distance from the left side of the screen, this size doesn't give me problems.

OPTIONAL: open the custom2left.txt and a different number like 260 if you want the clock more distant from the cutouts. Save and exit.

Open magisk manager and run the installation of the module again

Select the custom option another time, this time it will check the folder with the files we edited for new instructions.

Reboot

CRUCIAL if you are clumsy: connect the phone (with usb debug enabled) to a pc and with ADB run the command "adb devices" and tell the prompt on your phone to always grant permissions from that pc. This will help if you mess up the next steps by selecting a wrong option.

Once booted go to developer option in settings and find Display Cutout under Design settings.

!!!BE VERY CAREFUL NOT TO SELECT ANYTHING ELSE THAN N3O OPTIONS!!! Stock overlay display cutouts are bugged on android 12 and if you select one you will have to disable it via adb.

Select the option you we created earlier it will be called "N3O CST left custom1 (240px)"

That's it, check if it stays after reboot but there should be no problems.

View attachment 5464365

As you can see it works in the Notification panel too!​

Ta-Da! (I guess) Let's have a conversation on this and find a fix for bt maybe lol. [SOLVED]

THANKS TO:

PIXEL EXP TEAM:​

@jhenrique09​

@phhusson​

@AndyYan​

@eremitein​

@ponces​

​

STATUSBAR FIX:​

@LOGMD​

​

AUDIO FIX RESEARCHER :​

@wesleyvanneck12345678​