92

Xiaomi 12X custom rom requested

 1 year ago
source link: https://forum.xda-developers.com/t/xiaomi-12x-custom-rom-requested.4408775/#post-86878965
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Xiaomi 12X custom rom requested

JChanMe

Member
Feb 23, 2022
Hi everyone, I've been trying to find a custom rom for Xiaomi Mi 12X, but none found so far. I tried to port Pixel Experience rom using the Xiaomi Mi 11X (alioth) device tree and changed accordingly, since the SOC and almost all specs are the same except Camera. Can anybody shed some light in how to correctly port the ROM for my devices without official device tree from LineageOS or Pixel Experience? Thank you.

JChanMe

Member
Feb 23, 2022
Anybody has any suggestions?

Voodoojonny

Senior Member
Dec 17, 2015 Dortmund
Anybody has any suggestions?

Hi, right now I'm using crdroid gsi, which works pretty good. Except of fp, everything works as it should. It's smooth, has a good bb and even MGC's Gcam 8.1, last stable, works incl. portrait, nightmode and with all lenses (ok, no pixelbinning). Installing is pretty simple: use fastbootd and just fash img to system. That's it....

JChanMe

Member
Feb 23, 2022
Hi, right now I'm using crdroid gsi, which works pretty good. Except of fp, everything works as it should. It's smooth, has a good bb and even MGC's Gcam 8.1, last stable, works incl. portrait, nightmode and with all lenses (ok, no pixelbinning). Installing is pretty simple: use fastbootd and just fash img to system. That's it....

Thank you but I don't see it on crdrood website, did you build it yourself?

Voodoojonny

Senior Member
Dec 17, 2015 Dortmund
Thank you but I don't see it on crdrood website, did you build it yourself?

It's a gsi treble rom (that works with many vendors)... Just search for project treble on xda!

JChanMe

Member
Feb 23, 2022
It's a gsi treble rom (that works with many vendors)... Just search for project treble on xda!

Thank you. I figured it out and tried a few treble roms including pixel experience, there are a few problems including auto brightness, fingerprint and vibrator. You had the same problems?

Voodoojonny

Senior Member
Dec 17, 2015 Dortmund
Thank you. I figured it out and tried a few treble roms including pixel experience, there are a few problems including auto brightness, fingerprint and vibrator. You had the same problems?

Yes, especially the sound makes problems... When usung videocall, it's awfully distorted. I'm using stock for now. With Lawnchair and some modifications it's ok for now.
Do you know, why there's no thread for our phone here?

Voodoojonny

Senior Member
Dec 17, 2015 Dortmund
Just seen, you are forking some repositories... Have you been successful in building?

JChanMe

Member
Feb 23, 2022
Just seen, you are forking some repositories... Have you been successful in building?

I successfully build the ROM without errors, just some warnings, but it didn't boot aftter flashing it.

Voodoojonny

Senior Member
Dec 17, 2015 Dortmund
I successfully build the ROM without errors, just some warnings, but it didn't boot aftter flashing it.

Did you flash with vendor or system only?

JChanMe

Member
Feb 23, 2022
Did you flash with vendor or system only?

No, I used the same procedure as described for Alioth device, fastboot flash boot boot.img, then from recovery use adb push to update the zip ROM file.

Voodoojonny

Senior Member
Dec 17, 2015 Dortmund
No, I used the same procedure as described for Alioth device, fastboot flash boot boot.img, then from recovery use adb push to update the zip ROM file.

But how did you built the rom. Did you get out a flashing zip directly? Normally, you create different partitions as fas as I know... Would you share your rom? Btw. which one did you build?

JChanMe

Member
Feb 23, 2022
But how did you built the rom. Did you get out a flashing zip directly? Normally, you create different partitions as fas as I know... Would you share your rom? Btw. which one did you build?

Yes, after building I got a zip and flashing it using update by adb push. I built Pixel Experience Android 11

Voodoojonny

Senior Member
Dec 17, 2015 Dortmund
Yes, after building I got a zip and flashing it using update by adb push. I built Pixel Experience Android 11

But you used the lineage device tree. And PE is aosp not lineage. Might that be the problem? Would you try to build crdroid? Or instruct me how to setup a build environment?

JChanMe

Member
Feb 23, 2022
No, I used the PE device tree, not Lineage. I used the build instructions provided by Pixel Experience for Alioth.

Reactions: Voodoojonny

Anybody has any suggestions?

Yesterday xiaomi released kernel for 12x on GitHub. So I think now you can build pe/los without troubles


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK