yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mix Fold 2] OrionBG:
The ROM I'm currently using is the DerpFest GSI ROM specifically the one from 09.12.2023 as this is the last version that does not have a new issue when switching the screens. I've raised that issue and hopefully it will be fixed at some point.

My favorite GSI for now features-wise, has been the CRDroid GSI but that one has the issue I mentioned above so on DerpFest for now.

I still have the Brightness issue but it has not bothered me at all. I can always use the "Extra Dim" feature if the outside screen is too bright. I finally got a seemingly stable VoWiFi and VoLTE... at least for now (but that I think is related to my operator and the APNs)... The rest of the phone works fine with a couple of bugs here and there but I've been using it daily so I guess I'm either a masochist or it is not bad at all... Those bugs include: AOD is too bright on the outside screen (most probably because of the missing logic to control the brightness on it.) so I keep it off for now to avoid possible burn-in. The stupid Lloyds Bank App detects a modified ROM whatever I do although many other programs are happy... For some stupid reason, only in Whatsapp, the Video call crashes it. I can take photos or videos in the app but Video Call is out of the question. All other apps I've tried have no issues with the camera... Playintegrity was finicky for a while but I seem to have fixed it with PlayIntegrityNext.

Some apps will not stretch full screen like that same Lloyds Bank one but I think I have a total of 2 out of 150 that do this. They just leave a black border on the bottom of the screen but are fully functional otherwise. My Galaxy Watch 5 Pro works fine (it does not at all with MIUI/HyperOS) When I connect it to charge, the lock screen says either that it will be ready in 3 minutes (I guess Ultra Mega Giga Hyper Fast Charging :) ) or it will say 18 hours to full... That does not in any way change the usual speed of charging though.

Hoping that I'll get those things ironed out eventually and if that can be made into a complete ready to flash ROM, it will be perfect!
[Xiaomi Mix Fold 2] domineus:
If its any consolation I've experienced the same on the fold 3. I'm using derpfest but I just turn the screen on when I switch displays and the screen comes back.

Youtube also sometimes has a bug but otherwise it's pretty damn stable
[Xiaomi Mix Fold 2] OrionBG:
Yeah but that was working in TD r14 and earlier (TD -Treble Droid, rom all GSI are based on) and int next build r17 they changed something and broke it... I'm waiting for someone from the developers to check it but still no replies... Right now I'm using Derpfest from 9th of Dec 2023 the last one based on TD r14 and screen switching works fine... I've also tried the stock Google GSI (the one that TD is made from) and even the newest one has no issue with screen switching so the issue is definitely in the TD code...
[Xiaomi Mix Fold 2] domineus:
phh or the devs haven't responded? They're typically very active on the telegram
[Xiaomi Mix Fold 2] OrionBG:
Phh told me that he is no longer involved in the development. I put an issue in GitHub but no reply yet... it has been several days.
[Xiaomi Mix Fold 2] domineus:
I wonder if there's instructions on how to port as I would love to bring out tablet features
[Xiaomi Mix Fold 2] OrionBG:
There is. It is called overlays. Basically you have to create a linux environment in which you have to get specific files from the stock rom, dismantle them and get specific parts of the code. Then put that in a file and load that file in the overlay kitchen. Then the kitchen will check it and create an apk that need to put in a specific folder on the phone and if everything has been done correctly it should enable some/most/all of the missing functionality... Supposedly...

I tried once but it did not work for me... I don't have a proper powerful enough PC right now to be able to create the proper environment, just an older laptop that is not handling that well these days... Also you need a lot of time to debug and check things out... Mine is a little scarce right now...
[Xiaomi Mix Fold 2] Cyrax-001:
I don't know if this may help, but I've got a powerful computer. If you send some files that need to be processed?
[Xiaomi Mix Fold 2] codymamak:
@OrionBG Could you give out any links for the images of the GSI you mention as the best you tried ?

I am looking around following your hints in this thread but being out of the loop for long time (oldtimer here, windows mobile was my cooking kitchen time... ah, memories..) I am now unable to understand if you are referring to compiled binaries to be flashed or source codes repos to be downloaded, sync and then built..
[Xiaomi Mix Fold 2] OrionBG:
Currently I use KoysX's Derpfest from 9th of dec 2023. https://github.com/KoysX/treble_DerpFest_GSI/releases/tag/v2023.12.09

All newer GSI ROMs have the screen switching bug...
[Xiaomi Mix Fold 2] domineus:
screen switching bug is still present in more recent roms. I don't mind the bug but I do mind other things too
[Xiaomi Mix Fold 2] OrionBG:
What are the other issues that you are having?
[Xiaomi Mix Fold 2] domineus:
The most recent GSIs won't even boot on my mix fold 3 which is a shame. I'm guessing it could be the screen switching bug that's back in full force.

If only there were better instructions on how to fix this
[Xiaomi Mix Fold 2] bloomfielderic:
Hi there, fellow Fold 3 user (also ccing other Fold 2 users)

May I ask what command you used prior to flashing GSIs? I tried

fastboot flash system abc.img

but it always tells me "system partition not found". I might have missed the steps of disabling vbmeta verification or sth but I'm not sure. Ty!

Also @OrionBG
[Xiaomi Mix Fold 2] bloomfielderic:
Nvm, I figured out...

After the clean flash, go to the ROM's /images folder, you have to run the following command:

fastboot flash --disable-verity --disable-verification vbmeta_ab / vbmeta_system_ab vbmeta.img / vbmeta_system.img

MAKE SURE YOU ADD THE _ab JUST LIKE IN THE OFFICIAL FLASH SCRIPT

And then

fastboot reboot fastboot

should bring you to fastboodD (blue font) and system partition will be accessible. Follow https://xdaforums.com/t/a13-gsi-roms-no-4g-5g-cant-receive-sms.4614243/post-88850813 next
[Xiaomi Mix Fold 2] bloomfielderic:
Another question - are you able to turn off outer screen? I plan to leave the phone unfolded most of the time but the outer screen would stay on this way. TIA
[Xiaomi Mix Fold 2] domineus:
Dsu side loader works wonders actually and it sets a nice dual boot solution for testing. Stock is still the best in terms of all features working though ...

Pretty sure that was borked in November but basically I have to manually turn the screen off and fold before the screen turns off.

Edit

Strongly suspecting r17 broke it
[Xiaomi Mix Fold 2] z.v.a.a.h.i:
Mix Fold 3 Crdroid rom

Hello everyone I have been working on some aosp roms for a long time.Informal like Crdroid or project elixir for example.Everything is fine except the external screen brightness. If you would like to try it or help me develop it, please let's...

xdaforums.com
[Xiaomi Mix Fold 2] Cyrax-001:
Ist it for foldable devices?

Why is here always a problem with external display brightness?
[Xiaomi Mix Fold 2] OrionBG:
Something changed in december in the aosp code it seems that broke the foldable support for Xiaomi devices... Not sure if it is the same for other brands though...
[Nothing Phone 2] dlads:
Been trying to create a Magisk font that has the dot matrix style from nothing system wide.

Haven't managed it yet but have managed to theme a fair bit of the font within the phone.

Mostly quick settings and certain apps.

Feel free to install it using Magisk, if something goes wrong you can just boot via safe mode then remove it.

I've made two.. see what you think.

View attachment 5965457View attachment 5965459View attachment 5965463
[Nothing Phone 2] eijnaix:
Is there anyway to install dot matrix font via apk ?

Nice icon ...mind sharing what are those ?
[Nothing Phone 2] dlads:
"Redlive" the icon pack is, substratum theme is "Aurora" and nah mate, requires root, bare in mind it doesn't affect all text, just most / some of it.
[Nothing Phone 2] eijnaix:
Noted with thanks 👍
[Nothing Phone 2] Snze1:
Hi - think there will likely be a way to change font without going the full root way in future? ADB hack or something? (I really want to change away from the default, but haven't the stomach for rooting these days... used to love it on the original moto g, but I had more time to get out of the **** back then!)
[Nothing Phone 2] dlads:
Follow my guide mate, it's easy, riskless
[Nothing Phone 2] Snze1:
It's tempting! Having just dropped a good few quid on the thing, and appreciating more updates are likely imminent from nothing, I'll hold off for the time being, not least cos it sounds like there's issues with bank apps and streaming services once your rooted?
[Nothing Phone 2] dahool:
on Instagram the Font is always uppercase and on PixelOS (nothing phone 2) the quick setting is not affected.

What's the Matrixdancer?
[Nothing Phone 2] dlads:
Only issue I've encountered is netflix... But everything else works for me, you will need to go down the play integrity fix workaround but besides that you're sorted.
[Nothing Phone 2] dlads:
Just another font..

Made them with an app, they make modules, thought I'd share.

Yes I know what you mean with the caps..it's in XDA too.
[Nothing Phone 2] PowerMinerYT:
how to customize google widget and status bar colour?
[Nothing Phone 2] dlads:
You can't anymore on 14... Shame I know
[Nothing Phone 2] Vagelis1608:
Looks very nice.

Would it be possible to add support for Greek characters?

Or point me to a tutorial on how to do it myself.

Or, perhaps, a way to keep your font for supported characters and use the system one for the rest?

Currently, the "unknown" characters show up as squares. Dot Matrix squares, but still.

EDIT: I figured out a way to merge your font with the system one.

I attached the modded magisk module.

If anyone finds any issues, let me know and I will see if I can do something about it.
[Nothing Phone 2] dlads:
Tbh it was an app that did it.

I'll try find it's name..
[Nothing Phone 2] Vagelis1608:
zfont 3

Its in the description of your module.

I found it while making the zip I uploaded above.

Still, thank you for the English fonts.
[Nothing Phone 2] dlads:
Haha well there y go 👍🏼
[Nothing Phone 2] dlads:
I'll give it a go, it's been a while..

Love that fact you can make magisk flashable mods with it 👍🏼
[Nothing Phone 2] dlads:
Yea does work, still partial but it's cool 👍🏼
[Nothing Phone 2] Vagelis1608:
The reason everything is in caps, is because you reused the same design for both caps and small letters.

I dont know how zfont works, but I saw it as I was merging it with FontForge on Windows.
[Nothing Phone 2] Globus.gd:
Looks great :) if small would be the same it will be realy cool
[Nothing Phone 2] nakheel:
nice, but is there any update for module to greater ?

many thanks
[Nothing Phone 2] dlads:
Nah it was just made with font 3 tbh... Try it yourself.
[Nothing Phone 2] tyrots:
i fixed the caps lock issue by replacing the font with ndot 47

NDOT 47 (inspired by NOTHING)

A Fontstruction designed by Interactivate

fontstruct.com

feel free to use
[Nothing Phone 2] nakheel:
man

thanks you, how to use it ?
[Nothing Phone 2] nakheel:
thanks you very much, it nice, but there are somes issues in Vietnamese language.
[Nothing Phone 2] dlads:
Love that but it only seems to work in the XDA app? Settings / desktop and other apps are all stock.

I am using Arters nothing much ROM...

I'm gutted
[Nothing Phone 2] Globus.gd:
Can I simply replace font file in system\fonts ??

I want to have special signs of polish alphabet
[Nothing Phone 2] Globus.gd:
edit
[Nothing Phone 2] Globus.gd:
If someone is interested, polish signs added, can easilly be copied to system\font
[Nothing Phone 2] nakheel:
Is there any different between 4x7 - 5x7 dot ? Can you make a 5x7 version ? Many thanks !
[Nothing Phone 2] Vagelis1608:
This one looks great!

But it has the same issue with non English characters.

So I merged it with the system font, like I did last time.

So all languages should be supported.

Enjoy, let me know if there are any issues and I will see what I can do!

P.S.: I also changed the zero ( 0 ) a bit, so that it's not identical to the letter O .

EDIT: Fixed a mistake with the underscore character ( _ ). New file attached.
[Xiaomi 12 (Global)] raul16:
Spoiler content hidden.
[Xiaomi 12 (Global)] raul16:
Spoiler content hidden.

Notes:

LineageOS will auto update with system updates;

use the obove steps only for first install with LineageOS recovery

to update (if allready on this LineageOS) just connect to PC, reboot phone to recovery, click on "Apply update" and "Apply from ADB" and run command adb sideload lineage-20.0-YYYYMMDD-UNOFFICIAL-GMS-cupid.zip, where YYYYMMDD is the actual code for the last build available.
[Xiaomi 12 (Global)] McFlypants:
Can i flash this dirty over arians LOS GMS build?
[Xiaomi 12 (Global)] Embher:
Another new Rom for cupid thanks
[Xiaomi 12 (Global)] raul16:
yes
[Xiaomi 12 (Global)] SH1M4BD3:
Is this the same LoS from Arian??
[Xiaomi 12 (Global)] raul16:
no
[Xiaomi 12 (Global)] SH1M4BD3:
Great more developers comes for our device, thankyou.. will try flash your build👍
[Xiaomi 12 (Global)] Embher:
Fingerprint When display off working on this Rom??
[Xiaomi 12 (Global)] syscomp:
Hi dev ..

Is Dolby Vision available when play netflix in this ROM ? and also Dolby Atmos ?

Thank You
[Xiaomi 12 (Global)] raul16:
stock Dolby is preserved so it should be available.
[Xiaomi 12 (Global)] wawanRedblack:
bess
[Xiaomi 12 (Global)] metty97:
Hi, i can't download the file from sourceforge, the download is too slow. the connection I have is stable and strong, so it doesn't depend on me, but on the site. to download 2 and a half gigs it takes almost 10 hours .... only with this download. Is it possible to upload it to some other less slow site? Thank you :)
[Xiaomi 12 (Global)] raul16:
SF is able to provide +10Mb/s download speed. The problem reside on your provider side or your router.
[Xiaomi 12 (Global)] kastelix:
how is the battery life ?
[Xiaomi 12 (Global)] NOSS8:
raul16

Thank you for this rom but why is the thread in the guide section and not development since you are the developer?
[Xiaomi 12 (Global)] metty97:
I don't think it depends on me, because this problem occurs only with this download, while if I try to download another larger file it takes a few minutes... it would be better to upload it to mega or something like that...
[Xiaomi 12 (Global)] NOSS8:
you can change servers by clicking on "download problem".
[Xiaomi 12 (Global)] diaboliku123:
I cannot confirm the issues with Google Maps but the alarm does not seem to work.
[Xiaomi 12 (Global)] m4dd3v:
Alarm clock was my bad. It does work but it need notification authorization... It was not authorized by default.
[Xiaomi 12 (Global)] r80x:
I don't really knpw why your system has these problems. I have zero problems with anything, well I haven't encountered any and I have been running this build almost a week. My install might be a little different than yours because of the magisk modules I have installed. Have been trying maps a little with no problems but I run it several times a day through android auto in my car.

I have the following modules installed:

Adreno GPU drivers (latest)

Lineage OS Swap mod

Magisk bootloop protector

Play integrity fix

Thank you Raul for this awesome Rom! Really appreciate it. Looking forward to new updates and I hope that you will release A14 too when available from the Lineage team.
[Xiaomi 12 (Global)] m4dd3v:
Maybe a hardware issue then.. But the bug seems to be software related... I tried to clear the maps app cache but the issue is still there. Every app are up to date... I really don't know what's happening there.
[Xiaomi 12 (Global)] m4dd3v:
Can you explained what each of these are ? Maybe some of them could fix my issue idk
[Xiaomi 12 (Global)] diaboliku123:
Thank you, this has fixed my issue!

@raul16 Could you please add/modify the following to the next build?

- Alarm clock notification authorization by default on.

--- If this is off then the alarm will not work.

- AOD to turn off when bedtime is on

--- I believe this is a crucial feature to avoid battery drain during the night.
[Xiaomi 12 (Global)] r80x:
I don't know how much you know about this so I'll just spill it:

Magisk is the program that is used to gain root priveliges so that you can run programs, scrips and other stuff. It's like admin on windows. Without it you can't edit the system.

The programs or modules I mentioned is like apps that's installed from within Magisk. They call it modules. Some of them have user interfaces and some don't. None of the ones I've mentioned have UI. They just work as services.

Adreno drivers:

This is newer graphics drivers than the ones that are shipped with Lineage. The main difference that I have noticed is better performance in game. Not night and day difference but noticeable. I had some bugs with Google Chrome force closing but after clearing the cache everything works as it should.

Lineage OS swap mod:

This module adds a swap of either 4/8GB. Swap is a place where the system can place files that is reguraly used in RAM to relive ram use and to speed things up. It's also said to increase battery life. If that is true on not I don't know. I have great battery life but if that's because of all modules or lineage and raul or a combination I don't know.

Magisk bootloop protector:

This is just what it sound like. It "protects" against bootloop caused by modules. Now protect doesn't mean that you won't get a bootloop, it only means that it will be easier for you to remove the module from TWRP. It's nice to have so that you won't have to do a full reinstall just because of a bad module.

Play integrity fix:

This just makes just system appear non-rooted for Google. Not totally perfect. Some apps still won't run as the system won't pass Strong integrity but I haven't run into any of them yet. Still, might be a problem in the future but who cares about that now.

Modules can be great but it can make your phone instable and even break your rom if you carelessly install modules without doing your research. So do a little reading of you plan on trying it.
[Xiaomi 12 (Global)] m4dd3v:
Sounds like a chatGPT answer lol. But anyway thanks for the details. It seems that none of them could help me with my issue :/
[Xiaomi 12 (Global)] r80x:
Actually just a post I took my time with but I'll take it as a compliment 😁
[Xiaomi 12 (Global)] infamas:
Very few people would have put the time and effort to write such a complete answer ! Well done and thank you mate !
[Xiaomi 12 (Global)] bberkuut:
@raul16 thank you for you effort, any plans for making LOS for Xiaomi 12 Offical?
[Xiaomi 12 (Global)] raul16:
last build lineage-20.0-20231216-UNOFFICIAL-GMS-cupid.zip

December 2023 Security patch

LOS Bump Security String to 2023-12-05

Upstream kernel to ASB-2023-12-05_12-5.10 (tag 5.10.198)

Device optimizations
[Xiaomi 12 (Global)] m4dd3v:
If it can help anyone. My issue is solved.

I can't say what did it. I wiped everything. Got some troubles with partitions (I maybe wiped too hard lol) but managed to get through with some fastboot command, reflashed everything and finaly flash the latest raul16's build and everything seems to be working good now especially google maps.

Have a great day and thanks again raul16 for your great work.
[Xiaomi 12 (Global)] r80x:
Running your rom without any bugs what so ever! Really enjoying it! Thank you for all your work!

I have one question though and it's not really related to your rom so feel free to ignore it if you Don't want to answer.

Do you know of any alternative kernels? It would be fun to play around a little like I used to do back in the days. I have searched a little here on the forum but haven't really found anything interesting

Great that you got it working! From my previous experiences with several different devices things can go south sometimes. Now with a/b partitions and all other stuff going on there will come times when you just have to take a few steps back and try it from the beginning.

Kudos to you for telling other what you did to make it work!
[Xiaomi 12 (Global)] diaboliku123:
Is there any way to automatically make AOD turn off at night so it won't kill my battery?
[Xiaomi 12 (Global)] McFlypants:
In digital wellbeeing you can set up sleep mode with a schedule. You can also set a system profile. Both can turn off AOD (and many other things).
[Xiaomi 12 (Global)] LazyElijah:
I've been using the ROM for several days and I'm happy with everything. There is only one disappointment - I could not activate the LDAC codec for Bluetooth headphones. Am I looking wrong or is this a problem with this ROM? Is it possible to solve this problem? (Everything worked on Xiaomi eu)
[Xiaomi 12 (Global)] eclipsek20:
You seem to be using an old setup (boot loop protector has been merged and deprecated with mstisk delta), if I were you I'd migrate to magisk delta or KernalSU
[Xiaomi 12 (Global)] r80x:
Could you please point me in the right direction so I could read up a little on this?

Right now I'm using the newest version of Magisk and didn't even know about the delta. Just came back to custom after about 5 years running stock 😅
[Xiaomi 12 (Global)] eclipsek20:
Well frankly that's all there is to it, magisk seems to be having it's supersu phase and those two seem to be gaining more and more traction
[Xiaomi 12 (Global)] r80x:
@raul16

I've noticed a bug with the the gestures. When enabling "long swipe edge action" in buttons under system it doesn't work and long swipe doesn't activate. It seems that it doesn't activate at all as the two arrows doesn't appear.

Edit: Bug

One more thing I've noticed, and I really don't know if this is related to your work or the Lineage team but I find that the "smooth display" (auto 60/120hz option) is fairly aggressive to the point that if you touch the display you can see the flicker and the colors change a bit. This is very noticeable in low light condition and in some apps (Aida for example flickers very much). Is there any way that this option could get more options to configure? Stock rom also has this but I have never noticed any flickering there.

Edit 2, Question

Just adding instead of serial posting. I wanted to try out KernelSU. When installing Kernelsu it seems like the easiest way is to flash the anykernel3 through TWRP. My question is this:

The instructions say to flash the same anykernel3 version as the kernel already installed. The kernel installed with Raul's LOS is 5.10.198 but the anykernel3 on KernelSU github only goes up to 5.10.189. Yet the KernelSU app says its compatible.

Has anyone done this and does anyone has so Input on this and some help to provide? Thanks!
[Xiaomi 12 (Global)] Zerbrechl1ch:
I installed evolution x sometime before. I'm now on Hyperos and looking forward for lineage 21. Is the installation process still the same or is it enough if we just flash v14.0.7.0 firmware trough twrp and your lineage build afterwards? this is how it works for evolution x and as his device tree is based on arian's dt I think the installation process should be quite the same. As im definitely not a fan of evox because of all the bugs and ****ty pif spoofing i'd really like to switch to los.
[Xiaomi 12 (Global)] raul16:
detailed how to install can be fond in post #1 and/or #3. must downgrade if coming from A14 (!)
[Xiaomi 12 (Global)] GorgX:
I'm using it at the moment, I think it's awesome. I noticed the frequency of updates declining, will there be Android 14 and LineageOS 21, or is it mostly discontinued?

I'm not that deep in the development scene, so if there's that's keeping you from implementating Android 14 or further updates, then please forgive me, I don't know all that much about that.

It's just a question of curiousity, please don't take it negatively. Other than that thank you for you great work :)
[Xiaomi 12 (Global)] McFlypants:
Will there be an update (last one is nearly three months old) or is it recommended to switch to another rom (e.g. heavily updated Evox)?