yashsingh1/xdaforums huggingface dataset:
[Xiaomi 13] Krullendhaar:
In the Telegram chat the dev (loipuru) mentioned is now gone to military service for 3 months. Therefore I do not expect a reply from him soon.
[Xiaomi 13] Jeik:
@loipuru has made a new vanilla build just before leaving for his military service so he asked me to make a gapps build and share those two builds in his stead.

Also an FYI: The crowdfunding is currently at ~$500/$650.

Vanilla build (by @loipuru)

Google Apps build (by me)

Changes:

- general up-to date things

- idle drain with screen-off FOD should be lower now
[Xiaomi 13] hackerman312:
face unlock never been fixed?
[Xiaomi 13] Luigi_2:
Just sent 5$ to your account. Thank you for giving my Mi13 a second life 😜
[Xiaomi 13] have-no-name:
hello, I'm a new fresher here. May I ask a question? You mention that 'Kernel source is prebuilt from V14.0.7.0.TMCMIXM', so does it mean that I must guarantee the current rom is `V14.0.7.0.TMCMIXM` before flashing Lineage OS 20? My current rom is `V14.0.29.0TMCCNXM` as I'm a chinese on china mainland.
[Xiaomi 13] naturalforce:
Thanks alot for your contirbution for Xiaomi 13 Lineage OS's develop. I was wait inpatiently for this OS. But after I flashed the rom, I got some issue:

AOSP camera's video record function's max resolution and framerate is 4K and 30fps. I tried install MIUI camera app but it cannot launch.

Fingerprint only works when the screen is on. So I cannot directly unlock the phone just like original MIUI.

And btw, when will the next beta version update come?
[Xiaomi 13] marcobuu:
Just flash fw not whole rom
[Xiaomi 13] AllenNC3219:
Just sent 150 USD over, hopefully our brain can be saved from being fried (although our ultimate goal is Pixel Experience Plus)

Love, hopes and dreams from Taiwan
[Xiaomi 13] ronnz98:
thank you so much for your work!

I terms of source codes isn't device_xiaomi_sm8550-common still missing?

Would be great if you could also share the vendor files, it is possible to upload large files in github:

About large files on GitHub - GitHub Docs

GitHub limits the size of files you can track in regular Git repositories. Learn how to track or remove files that are beyond the limit.

docs.github.com

An alternative would be to upload to a free online sharing service like

Free Pro - Share

share.jaguar-network.com
[Xiaomi 13] loipuru:
i don't use common tree, as this tree is decommonized (without sm8550-common) by default

edit: vendor i did upload on gitlab instead of github https://gitlab.com/Skeptcher/vendor_xiaomi_fuxi/ (use staging branch instead of main branch, as i often forgot to update main branch)

(i have plan to re-bringup when i got back from military)

i want to release dec patch, but jeik will handle this for now due to i'm in military services (+ slow internet speed make me only able to maintain twrp for certain devices)
[Xiaomi 13] loipuru:
thanks, CF is finally hit the goal, i'll bought once i'm out with military training

pixel experience was a plan before, but nfc bringup is really made it pain to do bringup.
[Xiaomi 13] Luigi_2:
You're the man bro.
[Xiaomi 13] Jeik:
As agreed with @loipuru , I made a LineageOS build in his stead.

Xiaomi 13 ROMs - Browse /LineageOS at SourceForge.net

sourceforge.net

Changes:

- MIUI Camera has been added

- December security patch

Please make a backup before trying to flash these builds as I haven't had a chance to test them myself.

They should work, but one can never be too careful.

As always, the global 14.0.9.0 firmware is suggested to avoid more potential bugs.

As for the MIUI/HyperOS camera, it has the same bugs as on the crDroid builds:

- Leica Authentic is broken

- photo filters are broken

- picking the gallery icon in the app does nothing (you can view photos in gallery apps or can consider using some port of the MIUI Gallery app).
[Xiaomi 13] hackerman312:
Anybody knows how to edit protected uneditable esofs system img? I just wanna remove some com.google.trash components like microphone trojan except playmarket and installed system apps on android 13.
[Xiaomi 13] mxjian:
Guys, is face unlock available now?
[Xiaomi 13] NOSS8:
Try:

[MAGISK][TWRP][ARM32/64][A8+]Universal Read Only to Read Write for android (RO2RW) | Auto converting SUPER "system partitions" to read/write mode

Read Only to Read Write for android (RO2RW) Update 03.01.2023 : Stable Beta v 3.7.2.1 The first truly working script, original and unique in its logic for all devices with a SUPER partition Universal auto RO2RW | EROFS-2-RW | F2FS-2-RW by...

xdaforums.com
[Xiaomi 13] hackerman312:
I tried this script last week in twrp. It works! But script kills other slot a/b and many other. Twrp keeps stopping if i try boot from slot b. I can select slot a and reboot by otg mouse it will work. To fix all damage we need to flash full miui except locking bootloader. Not enough reflash full crdroid both slot need full upgrade fastboot miui
[Xiaomi 13] hackerman312:
Probably better way extract payload.bin (done) and edit erofs format system img before flashing
[Xiaomi 13] hackerman312:
what about remove google microphone trojan in gapps build by default? everyone can download it in playmarket with many other google trash/spyware but probably (since a13) no one can add clear gapps (only playmarket like flame gapps) in vanilla or completely remove (not disable) microphone trojan in gapps build.
[Xiaomi 13] hackerman312:
no. try crdroid
[Xiaomi 13] loipuru:
i have plan to move from erofs to ext4 soon, only issues rn is it doesn't have any space left for gapps
[Xiaomi 13] MysteryOyster:
This might be a stupid question.

Is this an official Lineageos beta?
[Xiaomi 13] loipuru:
Unofficial, as this rom will never go official until proper kernel source is release
[Xiaomi 13] MysteryOyster:
You mean by Xiaomi?

(I don't know anything about Android coding and related stuff)
[Xiaomi 13] loipuru:
Update: thanks to crowdfunding, I bought Xiaomi 13

So I'll start some development before I got back to military for second time (7 Jan) (it come with locked bl so it's gonna take a while for ubl)
[Xiaomi 13] loipuru:
Either Xiaomi, or someone will do proper kernel source
[Xiaomi 13] gocenik:
PM me for instant unlock.
[Xiaomi 13] romdough:
camera inaccessible on all of the last three releases with or without gapps.

with selinux permissive, camera app shows this instead of crashing.
[Xiaomi 13] Veiranx:
What firmware are you on?
[Xiaomi 13] loipuru:
Which firmware are you using?
[Xiaomi 13] romdough:
jeik's vanilla build from december
[Xiaomi 13] loipuru:
Check base firmware, it should be V14.0.9.0.TMCMIXM
[Xiaomi 13] romdough:
problem solved. sorry for my ignorance, thank you for helping.
[Xiaomi 13] loipuru:
seem like i was missing for a while due to having military services

here's update

gonna take a while (2 - 3 weeks maybe) for release
[Xiaomi 13] Veiranx:
All good; take your time. And welcome back!
[Xiaomi 13] rjsfiyan:
Thank you for your effort on making this LOS ROM for Xiaomi 13. My heartiest appreciation 🙏

I see that you are also from TH same as me. With Official Xiaomi ROM I don't have good battery (max is 24Hour) even after uninstalling Xiaomi bloatware apps. I want to switch to LOS build.

My concerns:

1. How long is the avg battery charge in LOS?

2. Bank Apps (Kbank, UOB etc.) - will those work if I use Magisk?
[Xiaomi 13] loipuru:
1. I haven't try it myself since I always plugged in for testing purposes

2. Neither safetynet or play integrity works on los without root

So yes, it should works with root
[Xiaomi 13] rjsfiyan:
Can you kindly summary please what's not working as of now? Or maybe update the original post? Thank you.

I will give it a try.
[Xiaomi 13] loipuru:
A13 is usable, but some features aren't working (eg: aod, won't enter lpm so it'll drain battery a lot)

A14 is work in progress right now
[Xiaomi 13] rjsfiyan:
If anyone else is using LOS on Xiaomi 13 as daily driver, kindly let me know how long the charge stays.
[Xiaomi 13] rjsfiyan:
Which is the latest link for LOS ROM Download?

Is it this one? https://drive.google.com/file/d/1VR_9hgCRz8UjmnTmgvuotPNxhirGcP6U/view

Does it include GAPPs too?
[Xiaomi 13] Veiranx:
As far as I know, Jeik's version is the most recent; he was nice enough to post it while loipuru was on his military rotation. (from December)
[Xiaomi 13] rjsfiyan:
BTW how did you guys unlock Bootloader? I have Ubuntu 22.04.

GitHub - francescotescari/XiaoMiToolV2: XiaomiTool V2 - Modding tool for xiaomi devices

XiaomiTool V2 - Modding tool for xiaomi devices. Contribute to francescotescari/XiaoMiToolV2 development by creating an account on GitHub.

github.com

Does this tool still work?
[Xiaomi 13] Veiranx:
[All-in-One] Xiaomi 13 (fuxi): Unlock Bootloader, Root, Flash TWRP, Flash ROM

[All-in-One] Xiaomi 13 (fuxi): Unlock Bootloader, Root, Flash TWRP, Flash ROM Dear Xiaomi 13 user, I'm not responsible if anything happens to your device. If you execute these AiO procedures properly then you shouldn't face any problems...

xdaforums.com

Have you checked out this thread yet? Let me know how that goes for you.

I know that the unlock tool is based on Windows, and you might have luck emulating with Wine.
[Xiaomi 13] loipuru:
iirc mi unlock need direct access to usb, so using VM have better changes than wine
[Xiaomi 13] Veiranx:
Hm. I'm also aware of the option to install a portable version of Windows (10 or 11) on a removable drive. @rjsfiyan if you have a spare usb drive you could run Windows from there and use the tool.
[Xiaomi 13] NOSS8:
To check if compatible (without PC):

GitHub - RohitVerma882/termux-miunlock: A program that can be used to retrieve the bootloader unlock token for Xiaomi devices. (and unlock the bootloader) using Termux

A program that can be used to retrieve the bootloader unlock token for Xiaomi devices. (and unlock the bootloader) using Termux - RohitVerma882/termux-miunlock

github.com
[Xiaomi 13] ronnz98:
Will LOS20 supported in the future or only LOS21?
[Xiaomi 13] loipuru:
Android 14 firmware doesn't going well with LOS20 (i can support it, but there's no miuicamera included for sure, unlike los21 build which will included,, because of older camera and many libs), so it might be EOL for LOS20 once i roll out LOS21
[Xiaomi 13] coeusite:
It seems OnePlus 11 has official LineageOS 21 now. It also has a 8 Gen 2 CPU.

https://xdaforums.com/t/rom-official-lineageos-21-weeklies-for-oneplus-11.4640224/

So I guess SM8550 has an usable open source kernel now.

https://github.com/OnePlus-11-Development/android_kernel_oneplus_sm8550
[Xiaomi 13] loipuru:
first: oneplus did release complete kernel source (even with some fixes from developer, but most of the source are complete)

second: fuxi kernel source is quite broken, because of this. official lineageos are impossible until someone manage to fix kernel source
[Xiaomi 13] rjsfiyan:
Can you kindly tell me where is the kernel source for Fuxi? Thanks
[Xiaomi 13] rjsfiyan:
GitHub - MiCode/Xiaomi_Kernel_OpenSource at fuxi-t-oss

Xiaomi Mobile Phone Kernel OpenSource. Contribute to MiCode/Xiaomi_Kernel_OpenSource development by creating an account on GitHub.

github.com

This one?
[Xiaomi 13] kuboSAMA:
I would like to ask a question My charging is limited to 10W I've also experienced this with the PA ROM When I flashed this ROM it was also limited to 10W I re-installed this ROM in TWRP and formatted the data partition But the charging power is only 10W My phone notification shows that it is charging via USB Could this be a problem with the charger? I'm using XAGA's 67W charger It's no different from Fuxi's charger I flashed the Pandora kernel before I flashed it, but I also cleared the data, and I flashed it again, and the kernel was the same as it was, and I don't think it was a kernel issue
[Xiaomi 13] loipuru:
alright, sorry for leaving for too long

here's build that i did upload and well tested on my group (i didn't use xda much as i did before, since telegram better more interact between me and testers)

https://gofile.io/d/atFMkm (Vanilla) (Euicc has been disabled on vanilla, for now)

https://gofile.io/d/FnRmDr (Gapps)

this is android 14 build, and last build that i'll use prebuilt stock kernel

OS1.0.3.0.UMCMIXM and up is recommend

bugs:

- IR isn't working

- Adaptive refresh rate made the whole scrolling feel laggy

- Battery percentage reporting are quite wrong, which might related to stock kernel modules

the main reasons why i stay silent for long is bluetooth, i just recently fix it few days ago

i'll do another build once i fixup recovery issues with OSS kernel
[Xiaomi 13] Veiranx:
I thought I remembered reading about OSS kernel work on the group, so I'm glad to see it's progressing!

Of note, I attempted to load up Vanilla version (installation went just fine) and a couple of different GApps packages in TWRP (MindtheGApp and NikGApps). The GApps installs did not take, with NikGApps indicating there's not enough space and that it skips all components before "success".

I now have the Gapps version of your build installed and so far it's running great! On AOSPA, I'd been experiencing problems with perceived battery drain; maybe it's actually the battery percentage reporting issue you mention.
[Xiaomi 13] loipuru:
because it's refuse to install gapps, even on ext4 (not sure the exact issues since ext4 can be mount, but always as ro.)

so vanilla build is for people who like to use MicroG
[Xiaomi 13] Kamigouki:
Is there any way to enable per app volume control and display smart stay?
[Xiaomi 13] loipuru:
for first one, lineage os doesn't have this features

second one, not sure tho but maybe same reasons as first one
[Xiaomi 13] loipuru:
new build was up today

changelog:

- OSS kernel, and dtbo

- new changes on dt2w, udfps and st2w (thanks to fabian)

- fix ir blaster not working

- switch to aidl sensors

Issues:

- fast charging not working on some cases (still looking the cause)

- perf is broken

From now i'll only release vanilla build (ext4), gapps is your choice (nikgapps is to go for me)

i'll add unofficial OTA support on next build

download: https://drive.google.com/file/d/1olGisYKtmHXlwHpRrYz_rvwMsaI9Mskb/view?usp=sharing
[Xiaomi 13] Veiranx:
I'm currently on Genesis, and while it's great so far, I'm really looking forward to your next version so I will hop back to try the oss kernel! Keep up the great work!
[Xiaomi 13] antwoine.westlee:
I always love abbreviations that nobody knows what to do with.

Am I assuming that we are talking about two different things here?
[Xiaomi 13] Veiranx:
It is, essentially, a generalized kernel that's been modified to better fit the hardware compared to the plain generic kernel. This is directly opposed to the kernel developed by Xiaomi, which is closed and unmodifiable; meaning we'd be stuck with the performance and implementation they choose to feed us.

Xiaomi hasn't had the best track record thus far.
[Xiaomi 13] Hunter_20:
@loipuru can you add dc-dimming to the rom?

I see there is already code available for fuxi here:

fuxi: Add support for DC Dimming · IPSBHANGU/android_device_xiaomi_sm8550-common@c0882d6

Change-Id: I9cbd8ee47334a52445b0745d663dcd44671a4164

github.com
[Xiaomi 13] loipuru:
i tried

too bad this isn't working without ton of source edit

well i did that long ago and ended up revert it, due to missing codebase on lineage frameworks (which pa already implements long ago)

doesn't worth especially if i gonna aim for official (which i aim after any xiaomi 8450 device getting official)
[Xiaomi 13] yayaaaaMmPPPooo:
I found a bug log file like com.miui.cloudsync-appDump

Com.miui.cloudservice-appdump

com.miui.cloudbackup-appdump

com.xiaomi.simactivate.service.-appdump

Are these files used to recover photos and videos? I have factory reset my device
[Xiaomi 13] loipuru:
ELI5:

OSS (Open Source software) in this case, kernel source specifically for xiaomi 13 (and other xiaomi that using same soc, snapdragon 8 gen 2) which is publicly accessible (in this case, first page of this thread)

Prebuilt is kernel that you use in stock rom (MIUI / HyperOS), these kernel always rely with xiaomi update, once xiaomi stop pushing update, kernel will stop getting update also

the rest, well... just read veiranx post

i think it might included from prebuilt libs or maybe miuicamera

it might be just leftover from previous use, you can safety ignore it
[Xiaomi 13] yayaaaaMmPPPooo:
Are you serious? I'm worried:(( previously I sold my smartphone and then I bought it again but there were lots of errors, one of which was the screen that often touched itself, I also want to ask whether after factory reset it is possible to recover photos and videos
[Xiaomi 13] loipuru:
don't worry, these logs isn't affect the usage or anything else (but i didn't seen it on my side, which variant your device is using? cn or global?)

as i might suspected it might come from miuicamera (because it's from stock rom) instead
[Xiaomi 13] yayaaaaMmPPPooo:
What I don't mean is the log, but I'm worried that with the log all my photos and videos have been restored:(
[Xiaomi 13] loipuru:
well, i gonna ask other people for this

as i personally barely use any xiaomi services (i jump straight to AOSP once i bought this device)
[Xiaomi 13] yayaaaaMmPPPooo:
ya Please help me to explain all this, I am very worried about my photos and videos being restored after factory reset and never logging in to the cloud account:((

Have you found the answer?
[Xiaomi 13] Hunter_20:
Ooh too bad. Does PA rom have dc dimming feature available?
[Xiaomi 13] marcobuu:
Yes
[Xiaomi 13] Hunter_20:
Ooh cool, how does it work, is there a toggle for it somewhere?

Is PA rom free from gapps? I'm looking for a rom to use with MicroG.
[Xiaomi 13] marcobuu:
Yes, there is toogle. It works as well as it does on hyper.
[Xiaomi 13] 1357985301:
Do you have a tg group?
[Xiaomi 13] AP12345:
I'm thinking about buying the xiaomi 13 and using it together with the rom as a daily driver. Does the ROM work reliably without crashes and frequent bugs?

The miui camera and Bluetooth are particularly important to me.
[Asus Zenfone Max Pro M2 Questions & Answers] bibin123:
hello guys,

Im having a zenfone max pro M2 , lately my phone power off automatically after asus logo appears, and phone does not enter stock recovery.

i tried to flash custom recovery (both twrp and orange fox). both attempts failed.

partition write protected command coming after image package send.

i tried to erase data using "fastboot erase data" : it is not working , however "fastboot erase cache " works...

Im not sure if my phone is hard bricked or soft bricked.....plz help.......

I copied my activity log below for your reference......

C:\Users\BIBIN\Desktop\platform-tools>fastboot erase data

Erasing 'data' FAILED (remote: 'Check device console.')

fastboot: error: Command failed

C:\Users\BIBIN\Desktop\platform-tools>fastboot erase cache

******** Did you mean to fastboot format this ext4 partition?

Erasing 'cache' OKAY [ 0.109s]

Finished. Total time: 0.188s

C:\Users\BIBIN\Desktop\platform-tools>fastboot flash recovery twrp-3.7.0_9-0-X01BD.img

Sending 'recovery' (31924 KB) OKAY [ 1.062s]

Writing 'recovery' FAILED (remote: 'Error flashing partition : Write Protected')
[Asus Zenfone Max Pro M2 Questions & Answers] ZG_DEV:
Dude

Mount partitions before doing anything
[Asus Zenfone Max Pro M2 Questions & Answers] bibin123:
i dont know how to mount in fastboot mode.....

all i have is a computer with fastboot prompt and a phone with no recovery and always on fastboot mode condition when swithed ON.......

as i have already said i cant flash any files through fastboot mode... since write protected message pops up.......
[Asus Zenfone Max Pro M2 Questions & Answers] ZG_DEV:
Did you try to open cmd as administrator?
[Asus Zenfone Max Pro M2 Questions & Answers] ZG_DEV:
Try locking bootloader and unlocking it by using

fastboot flashing unlock_critical
[Asus Zenfone Max Pro M2 Questions & Answers] bibin123:
bro i did that.....

i entered cmd on administrator........

i have tried all the commands....

no progress..........

i have pasted the command log below

C:\WINDOWS\system32>fastboot devices

JCAAGF00W570MN6 fastboot

C:\WINDOWS\system32>fastboot oem unlock

...

FAILED (remote: unknown command)

finished. total time: 0.000s

C:\WINDOWS\system32>fastboot oem unlock

...

FAILED (remote: unknown command)

finished. total time: -0.000s

C:\WINDOWS\system32>fastboot oem

C:\WINDOWS\system32>fastboot oem unlock

...

FAILED (remote: unknown command)

finished. total time: 0.005s

C:\WINDOWS\system32>fastboot flashing unlock_critical

...

FAILED (remote: unknown command !)

finished. total time: 0.000s
[Asus Zenfone Max Pro M2 Questions & Answers] bibin123:
could we suspect a possibility fort hard brick......
[Asus Zenfone Max Pro M2 Questions & Answers] ZG_DEV:
Unknown what ?

Bruuuuh

Install the LATEST one bro
[Asus Zenfone Max Pro M2 Questions & Answers] bibin123:
bro i have installed the latest.....

i have added the results below...

Microsoft Windows [Version 10.0.19045.2965]

(c) Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices

JCAAGF00W570MN6 fastboot

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot bootloader

rebooting into bootloader...

OKAY [ 0.016s]

finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery orangefox_X01BD.img

target reported max download size of 536870912 bytes

sending 'recovery' (34496 KB)...

OKAY [ 1.109s]

writing 'recovery'...

FAILED (remote: Error flashing partition : Write Protected)

finished. total time: 1.219s

still i cant access the recovery partition of my phone...its locked..... i cant unlock oem or turn on usb debugging since their is no ROM inside...
[Asus Zenfone Max Pro M2 Questions & Answers] ZG_DEV:
U can boot into that recovery without flashing it (having a temporary recovery session)

use fastboot boot "recovery.img"

Note : I don't remember the command exactly
[Asus Zenfone Max Pro M2 Questions & Answers] ravijaisingh:
Same issue with my phone not booting in OS nor in recovery just only in fastboot which is write protected
[Samsung Galaxy A52 5G] BaLazS28235:
Hi guys, i finally found a way to directly install any custom treble gsi on that device (even android13, 14). So please keep in mind for it may can soft brick your device.​

Notes:

you need to have a treble ad or bgn arm64 gsi for that (the .img file)

the custom vbmeta is currently not uploaded! as soon as i can i will upload...

1. Unlock BL, this is extreamly easy...

2. flash custom-vbmeta.tar whit odin (Auto reboot: off)

3. flash fastboot-recovery.tar whit odin (autoreboot: off)

4. Reboot to recovery by turning of the device (press and hold vol - and power btn) until screen goes off, after that press and hold immediately vol + and power btn whit a cable what's connected to a pc, do this until a recovery appears.

5. in this select enter fastboot and a screen whit a big red fastbootd text should appear.

6. now connect it to a pc and open adb and fastboot

7. type "fastboot devices" and if it detects a device in fastboot mode it gould be good, if not you probably have a driver problem...

8. type "fastboot erase system" (it will erase your "system_root" partition

9. type "fastboot flash system <drag and drop your treble-systemgsi.img>" (it will now flash the gsi

10. enter "fastboot -w" and if that gives back no error you successfully flashed and just type "fastboot reboot"! if you got any error you need to figure it out for why that happens... if you have no luck just comment it and i will help!

Just additional if you want root:​

11. enter fastboot mode and type "fastboot flash recovery <drag and drop recovery.img>"

12. reboot to recovery and twrp should appear, now flash just normally the official magical apk as a zip!

13. reboot and enjoy!
[Samsung Galaxy A52 5G] BaLazS28235:
Reserved for somewhy
[Samsung Galaxy A52 5G] ssx07:
this is good tutorial i installed pixel experience without problems
[Samsung Galaxy A52 5G] Zdrawko0o:
Send screenshots, please
[Samsung Galaxy A52 5G] BaLazS28235:
View attachment 5989589View attachment 5989591
[Samsung Galaxy A52 5G] Zdrawko0o:
Is it stable?
[Samsung Galaxy A52 5G] ssx07:
View attachment 5990139
[Samsung Galaxy A52 5G] BaLazS28235:
yep!