yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A23] kysadboy2008:
can you teach me?
[Samsung Galaxy A23] kysadboy2008:
Can You Help Me? Please
[Samsung Galaxy A23] Mohamedkam000:
Sure. If you got your source ready I can show you what to modify.
[Samsung Galaxy A23] kysadboy2008:
rom stock?
[Samsung Galaxy A23] Mohamedkam000:
I'm talking about the kernel not the ROM.
[Samsung Galaxy A23] kysadboy2008:
sorry i don't have
[Xiaomi 13] Jeik:
*** Disclaimer
I am not responsible for any damage you might inflict on your own device. Anything you do with it is your own responsibility, not mine.
You have been warned.

crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the value-added features that you'll love.

Features:

https://github.com/crdroidandroid/crdroid_features/blob/13.0/README.mkdn

Credits:

This wouldn't be possible without the LineageOS bringup by @loipuru , and he did it without owning the phone.

If you want to support his work (and would like to help him buy his own unit), feel free to donate to him:

https://paypal.me/lolipuru

Working:

Camera (and flashlight)

WiFi

Bluetooth

Telephony (Calls and Data)

IMS (5G, VoLTE and WiFi Calling)

Audio (Record and Playback)

Video Playback

Sensors

GPS

WiFi Display

FOD (screen-off FOD as well)

Face Unlock

Enforcing Selinux

SafetyNet

Reverse Wireless Charging (available as a QS toggle)

Working but with a caveat:

Auto-brightness personalization gets reset with a reboot

Always-on Display works but it's not battery-efficient (use it at your own discretion)

If you disable eSIM, you won't be able to enable it

WiFi Hotspot works but you have to manually turn WiFi off in order for it to use mobile data

Not working:

OTA

VPN proxy (regular VPN works)

Bluetooth LE audio (other Bluetooth functionality works)

Leica Authentic Mode

Slow Motion recording

Switching to the gallery app from the viewfinder (consider installing the MIUI Gallery port)

Google Wallet (you need a Magisk module to fix it - HERE)

Compatibility:

Compatible with both Chinese and Global Xiaomi 13 variants

Builds are based on Xiaomi 13 14.0.9 Global firmware

Downloads:

SourceForge Download (gapps and vanilla builds)

Installation:

Unlock bootloader and install TWRP (Read here if you are unaware)

Flash the rom in TWRP

Perform a Factory Reset

Reboot and enjoy

For a GCAM apk + xml combo, check the linked Telegram chat.

Screenshots:

View attachment 6011889View attachment 6011891View attachment 6011893View attachment 6011895View attachment 6011899View attachment 6011901View attachment 6011905

Source:

Kernel -

GitHub - MiCode/Xiaomi_Kernel_OpenSource: Xiaomi Mobile Phone Kernel OpenSource

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

github.com

Device Tree -

https://github.com/jgudec/device_xiaomi_fuxi/tree/cr-13

Visit official website @ crDroid.net

Fuxi Development Telegram Chat
[Xiaomi 13] Jeik:
Changelog:

[23.01.2024]

- January security patch

- updated MIUI Camera port (Leica Authentic should work now)

[16.12.2023]

- December security patch

[21.11.2023]

- added MIUI Camera port (thanks to @33bca )

- added Pixel wallpapers

[15.11.2023]

- fixed Charge Control and Fast Charging

[14.11.2023]

- added Charge Control

- various minor attempts at addressing UI smoothness

[13.11.2023]

- reverted the inclusion of PixelExtended Launcher

- November security patch

[04.11.2023]

- replaced the default launcher with the PixelLauncherExtended

- addressed random frame drops in the UI even further

[22.10.2023]

- more fixing of battery stats (the numbers should no longer be weird)

- some minor additions that "might" help with the UI smoothness

- changed the default wallpaper to a Pixel 8 one

[13.10.2023]

- fixed battery stats

- October security patch

- tried to address UI stutter as much as possible

[1.10.2023]

- fixed screen-off FOD

- added support for Reverse Wireless Charging (available as a QS toggle)

- disabled AOD for now

- TWRP should no longer have issues reflashing itself after the build installs

[26.9.2023]

- added Smooth Display option in Display Settings

- added Vibration Intensity options Sound and Vibration Settings

- reintroduced the stock dialer app (needed for call recording to work)

- first vanilla build release

[25.9.2023]

- replace stock apps with Google Apps

- resolved a frame drop issue in the UI

- removed broken options in Settings

- SafetyNet now passes

[24.9.2023]

- initial release
[Xiaomi 13] fress:
Anyone try it?

And Jeik, would you make fastboot flashable rom? Or only twrp version.
[Xiaomi 13] prudnikov312:
Goood!!

Will there be 13 pro in the near future?
[Xiaomi 13] Pi.mp3:
SafetyNet? I gotta install this tomorrow and see if this works.
[Xiaomi 13] tjengo:
So far so good. Very nice. Keep it up.

Only one thing: Google Timeline is empty (doesn't work).

Anything I can do to fix this?
[Xiaomi 13] Pi.mp3:
Safetynet does indeed pass... still, I can't use Google Wallet for some reason. Anyways, thanks for the great work
[Xiaomi 13] Pi.mp3:
If anyone is wondering the same thing, this seems to help: https://github.com/Displax/safetynet-fix/releases/tag/v2.3.1-MOD_3.0
[Xiaomi 13] Ztks:
Only problem I'm having is OTA updates don't work. It just tells me to check my internet connection.

nevermind, just read the not working section again
[Xiaomi 13] tjengo:
Sorry for quoting myself, but this one really bothers me :cry:

"just" flashed pa and los and tested it there. Same thing. Google Timeline doesn't work.

It seems to me (not an expert nor dev at all ;)) there's something missing.

Beside that I really enjoy crdroid on my device. Thank you
[Xiaomi 13] serudaru:
I installed this rom, everything is very good, but there are no video calls on whatsapp.
[Xiaomi 13] Sany533:
here is what is at the moment of the disadvantages:

-------------------------------- crDroid settings,icons in the status bar, if all sliders are enabled, then the Internet network traffic indicator is superimposed on the front camera, it just physically does not fit, is solved by disabling unnecessary sliders

-The animation is not smooth as for me, especially when you open the menu of recent applications and unload them

-A separate volume for each application does not work correctly and flies off after a reboot, and if the slider is turned on, then when receiving notifications, the overall volume decreases very much

-no unlock sound when unlocking the phone

-Battery statistics are not working

-Settings-Security-Screen lock-Quick unlock does not work correctly, you still need to click on the input arrow, in other phones, everything works correctly on the crDroid firmware

-TWRP crashes after device firmware
[Xiaomi 13] alecxs:
Moderator announcement​

Thread cleaned. XDA Forums is not a place for Telegram drama. Please be respectful and helpful to each other, contribute to the development and stay on topic.

Guide to Xiaomi Device Forums (Please Read before Posting)

Thank you for your understanding.

(y)

regards

alecxs

XDA moderator
[Xiaomi 13] Sany533:
Installed the firmware from this link https://mega.nz/file/iZRQ3bpK#9SI9GBLE_oPSID01mX8VVSDM8me6Rj_W05uJKQaBlaY !!!!Everything works fine, everything is native and gallery and Audio FX!!!Battery statistics are working, the only thing is there are no gapps!!I tried to put Nikgaps, it doesn't help!Of the bugs at the moment, I noticed the fingerprint scanner sleeps until you tap twice on the screen-it won't unlock!!
[Xiaomi 13] Sany533:
Many thanks to the author of the firmware for such a gift!!!Everything works perfectly, the animation has become much smoother, it's nice to use the phone!!From what I noticed, a "native" SMS application and Gallery appeared, it's just divine, finally crDroid has become real))).Please ask the author to add the Audio FX application to the firmware, it has always been in the crDroid firmware!!
[Xiaomi 13] Sany533:
I found one bug, if you select the Contacts application and select create a new contact in it, then the application crashes, crashes!View attachment 6021101View attachment 6021102
[Xiaomi 13] centered:
Hello sorry I am new to this, but how do I know if this is open source or not?
[Xiaomi 13] Krullendhaar:
Step by step installation guide:

1. Download latest ADB from google: https://developer.android.com/studio/releases/platform-tools

2. Download the crDroid zip and TWRP recovery image. Store these in the same folder as the ADB stuff

3. Plug in your Xiaomi phone into your pc. If on windows, make sure windows updates are enabled to download the latest drivers from Xiaomi. In windows 10 you might have to go to settings > updates and manually click on installing additional driver updates

4. In windows 10, go to the folder where you saved the adb. Click on the file path (the bar in the top that looks like "C/users/John/Documents..."), type "cmd" and press enter. This will open the command prompt in that folder. Check if adb works by running "adb". If you get no error, adb works correctly.

5. Enable usb debugging under developer options on your Xiaomi. Connect phone to pc with cable, open command prompt in the adb folder, type "adb devices" to check if adb sees your device. If you get no error, your adb works and sees your phone. If you get an error, you did not install the driver from windows settings as described in step 3.

6. Type "adb reboot bootloader". This will boot your phone into fastboot mode. Once phone is in fastboot mode, open device manager in windows to check if there are missing drivers. If you see something called "Android" then you are missing the google-usb driver. Download them from https://developer.android.com/studio/run/win-usb and save them in any folder you want. While still connected in fastboot mode, right click on the "Android" entry in the device manager, choose "manually install driver" and browse to the google-usb driver. Now device manager should say "Xiaomi" and not "Android" (I think).

7. Now we can begin with the actual installation. In command prompt type "fastboot flash recovery_ab <twrp_file_name>.img". This will install TWRP in both partitions. Type fastboot reboot recovery to boot into TWRP. On your phone click on "format data with factory reset" and then select "format data/factory reset". After the reset is done, reboot again into recovery using "fastboot reboot recovery". Go to "Apply update" and select "Apply from ADB" and in command prompt type "adb sideload <zip file name>" (in this case the zip is named something like 'crDroid.zip'). Sideload any other addon you want like Google apps in a similar way. Finally you just press reboot on your phone to boot into system.

I am not 100% sure step 7 is the correct/recommended method. Different sources give different instructions. Please let me know if this worked for you.
[Xiaomi 13] NOSS8:
Step 7:

Twrp/wipe format type yes/reboot Twrp

Then put the zip on internal storage or use OTG,select install and flash or sideload the rom zip.
[Xiaomi 13] Krullendhaar:
Ah, so an extra reboot. I do not think it is needed though, however I updated my instructions anyway. This step is not in the official lineageOS installation guidelines and probably not needed. If someome skipped this step succesfully, please let me know.

In step 7 I added the sentence: After the reset is done, reboot again into recovery using "fastboot reboot recovery".
[Xiaomi 13] NOSS8:
After formatting, it is written in the Twrp lines and it has always been like that since a format deletes the data and creates a new partition if necessary, unlike a wipe which only deletes the data.
[Xiaomi 13] Sany533:
Who knows when to wait for the release of a new firmware update?
[Xiaomi 13] ghazouane:
Thanks 😊
[Xiaomi 13] Sany533:
Installed today's update! I'll tell you right away the link to download the firmware from Google drive leads to the firmware from October 13!I had to connect my agents in the telegram group, they gave a working link.We have long arms and agents everywhere, even among the channel administrators)). Now according to the firmware, with each update, the firmware is getting better and better, the animation has become even smoother, the battery statistics are working (for now).Now, from what I'm not satisfied with in the firmware at the moment, very often when unlocking the screen there is no unlock sound, I've tried everything I can, every other time, once there is-the second is not!Further, after installing the TWRP firmware, it both flew off and flies off!Also, after restarting the device, the sound volume settings for each application fly off!Otherwise, the firmware, practically licked to perfection, is suitable for use for every day, plus excellent autonomy! Many thanks to the author for his work!
[Xiaomi 13] Jhonnythereaper:
Hi, how hard would it be to port your ROM to the Xiaomi 13 pro? I have a python background and have some c knowledge. I am getting the 13 pro in the next few days, and it would be great if I could port crdroid for it. Thank you!
[Xiaomi 13] lyz310:
可以加个小米相机吗
[Xiaomi 13] lyz310:
Can we add a Xiaomi camera
[Xiaomi 13] lyz310:
Thank you very much for your efforts. If you could add a Xiaomi camera, it would be perfect
[Xiaomi 13] Sany533:
Guys, can anyone tell me why there have been no updates for so long, what’s wrong with the author of the firmware, is he alive?
[Xiaomi 13] NOSS8:
Because DEVS have a life (family, work, studies, etc.) and these roms are free, be patient.
[Xiaomi 13] Sany533:
Who can tell me where the shortcut to the Phone application has gone??? It is in the system, but there is no shortcut, how to open the dialer?
[Xiaomi 13] Sany533:
Author, please return your native crDroid launcher!! Pixel launcher is some kind of torture!!
[Xiaomi 13] Sany533:
From time immemorial, the whole essence of the crDroid firmware was its native launcher, namely the native one! After the author of the firmware added the Pixel launcher, using the firmware itself loses all meaning!!! Why was it necessary to insert a Pixel launcher instead of the native one, only God knows!! Everything worked fine for me and no frames disappeared, if you quote the description of the firmware!! Further, the shortcut to the Phone (dialer) application is not displayed on the Pixel launcher, I had to install the Nova launcher, everything works on it! I kindly ask the author to return the native launcher to the firmware, crDroid and it differs from other firmwares in its beautiful a launcher that works great!
[Xiaomi 13] ches33rus:
Please return the native crdroid launcher!!!
[Xiaomi 13] ches33rus:
And another question. I installed the version from 4.11.23. Can I return the version from 22.10.23 without losing data in the phone?
[Xiaomi 13] ono832:
It can be flashed directly with recovery, I flashed back to version 10.22 and it was comfortable in a flash.
[Xiaomi 13] Sany533:
Last time, when I wanted to roll back to the previous version, my data section was encrypted, so I don’t think you should do that! I hope the author will promptly return the native launcher and we won’t have to wait another two weeks
[Xiaomi 13] Sany533:
Author of the firmware, please post the firmware with the standard crDroid launcher! It is not possible to use your Pixel launcher
[Xiaomi 13] Ralen21:
does it have the version without gapps? i dont want google services to run on my phone. or maybe there will be builds without gapps in future?
[Xiaomi 13] NOSS8:
OP👁️👁️

Downloads:

SourceForge Download (gapps and vanilla builds - haven't tested vanilla one myself)
[Xiaomi 13] Sany533:
I want to thank the author of the firmware for still reading what his fans write!For bringing back the native launcher as it was! Everything works fine and looks the way it should look! Thank you for your efforts!
[Xiaomi 13] david1907:
Thank you developer.. we expect android 14 to arrive soon
[Xiaomi 13] Sany533:
Thank you very much to the author for your work! https://drive.google.com/drive/folders/1_kkuySjKVJyGv2QVytkxgrPd2KArQgXu?usp=sharing
[Xiaomi 13] Jeik:
New build up.

Changes:

added MIUI Camera port (thanks to @33bca )

added Pixel wallpapers

This MIUI Camera port is different from the one used in my EvoX builds and has following bugs:

Leica Authentic Mode

Slow Motion recording

Switching to the gallery app from the viewfinder (consider installing the MIUI Gallery port)
[Xiaomi 13] Sany533:
It gets better and better with every update! Thank you very much for your efforts! From what I noticed, there is no shutter sound when taking photos or videos
[Xiaomi 13] lotm9:
Hi there. Are there any plans to add DC dimming in the future? That would be great
[Xiaomi 13] GT-610:
Thanks a lot! Looking forward to A14 builds :)
[Xiaomi 13] baggino:
"I'm having difficulty installing the ROM. I set the language to my country, it shows all available Wi-Fi networks, I highlight mine, enter the password, but it doesn't proceed. This has happened to me with the latest updated versions. Any suggestions?"
[Xiaomi 13] iyurtlu:
NOSS8, Thank you for your effort and work. I am also experiencing the problem of wifi not connecting during the first installation. Other than that, everything is fine..
[Xiaomi 13] NOSS8:
Are you sure you posted on the right thread?

JEIK is the DEV not me.
[Xiaomi 13] ches33ruskovrov:
When choosing Wi-fi You need to select “continue using mobile internet”. Next, when you complete all the settings and the desktop loads, you can connect to Wi-fi.
[Xiaomi 13] iyurtlu:
Im sorry to you and JEIK for this carelessness.
[Xiaomi 13] iyurtlu:
I use this rom because it includes answering calls with the volume button . Actually, Evolution X isn't bad either. Thank you very much, master JEIK..
[Xiaomi 13] Sany533:
Evolution, in my opinion, is very much inferior to crDroid, both in appearance and in operation! The launcher alone is worth it
[Xiaomi 13] iyurtlu:
My combinatin; Crdroid + Novalauncher + Gcam + Gallery (Simplemobiletools).
[Xiaomi 13] baggino:
Why with the latest versions of Crdroid do you have to bypass the issue in this way, when with Evox, Ancient, it's not necessary, and even with Crdroid it wasn't necessary before? Maybe there's a major bug in the latest version.
[Xiaomi 13] ches33ruskovrov:
I can't answer this question. This bug only appears during the initial system setup. Otherwise, I don’t see any serious problems with the firmware. I'm happy with the firmware and enjoy using it.
[Xiaomi 13] iyurtlu:
Let me add another reason to use crdroid, payment via NFC in my bank application does not work in any rom other than crdroid. (Global, eu, evo vs.)
[Xiaomi 13] Veiranx:
Eject your SIM card, restart phone and the process. See if that helps!
[Xiaomi 13] 旅立ち:
Just registed to reply. It was fine when I just flashed the lastest rom but soon the camera is not working for some reasons. It crushes again and again although I wipe its data or reboot. Any ideas?
[Xiaomi 13] GT-610:
Which version? The newest build with Leica one?
[Xiaomi 13] 旅立ち:
The one with gapps. My problem was resolved after disabling one magisk module of Dolby. :ROFLMAO:Maybe there is a conflict.
[Xiaomi 13] Sany533:
Please tell me why there have been no firmware updates for so long, no one knows? Is the author healthy?
[Xiaomi 13] Ralen21:
i don't know for sure, but they might be working on making 10.0 version for fuxi. at least, that's the case of freeze for my current device (samsung d1)
[Xiaomi 13] hackerman312:
this firmware probably will kill your modem! only lte 1800x5 still work! lte 2600x20 lte 2100 and 4ch aggregation is supported but doesnt connect at all! same time same place 4ch lte completely dead last ten minutes. now i have absolute garbage. modem successfully downgraded to early 2014 low-end mediatek. random budget 5-year old snapdragon still connect 3ch lte for the same sim.View attachment 6044690
[Xiaomi 13] hackerman312:
developers-default usb profile-ethernet doesnt work. we will have a new ethernet connection but without internet. need to switch ethernet-mtp-ethernet to fix. what a garbage fitmware! no modern lte support no tethering... almost nothing fully works!
[Xiaomi 13] hackerman312:
upd.

bug!!! this firmware will kill your twrp. so stupid... its probably worst custom i ever seen since 2009. absolute garbage!
[Xiaomi 13] uncle kin:
need to tick "reflash twrp after install a rom"
[Xiaomi 13] hackerman312:
bug!

wake screen by charger not working.
[Xiaomi 13] hackerman312:
leica authentic looking so cool! maybe we should save this as a feature?
[Xiaomi 13] Ralen21:
yes, me too with samsung galaxy note 10. that's not this dev's fault, that's crdroid's fault
[Xiaomi 13] Sany533:
There is a small bug, sometimes the icons in the status bar turn black!
[Xiaomi 13] Ralen21:
install vanilla and flash gapps you like (or none at all)
[Xiaomi 13] hackerman312:
Impossible to flash in erofs system
[Xiaomi 13] wakabayuu:
I love this rom, excellent bettery performance and stable for daily use.

really nice work! I'm looking forward to the next update!
[Xiaomi 13] hackerman312:
View attachment 605123410% chance to get this
[Xiaomi 13] iyurtlu:
Minor bug: If light theme selected, dialer search bar edit text cursor not showing, Does anyone know how to fix it by decompiling the dialer apk and edit Styles.xml or color.xml etc. from similar files. I tried so hard but I couldn't do it
[Xiaomi 13] hackerman312:
black lock screen is actually gray and its increase compsumption by 0.55w at 30% brightness. next failure: after 30 min fingerprint on black screen still lighting but doesnt work. i need to pick up (wake up by gyroscope) device or just use power button. dt2w is probably not working too.
[Xiaomi 13] sanzhang:
So I've crDroid 9.12 (Android 13) Build December 16, 2023 on and everything works fine. Is it OK to do dirty flash I mean flash crDroid-vanilla-13.0-20240123-fuxi-v9.13 on top without a factory reset? Thanks in advance.
[Xiaomi 13] hackerman312:
In most cases you will made a brick. And as i think you probably cant decrypt miui data by custom firmware. Be sure you will erase data by unlocking bootloader too!
[Xiaomi 13] Jeik:
New build up.

Changes:

- January security patch

- updated MIUI Camera port by @33bca (Leica Authentic should work now)

You should be able to do a dirty flash, but I'd advise to back up any important data beforehand.
[Xiaomi 13] hackerman312:
can you upload it to gdisk? i try to download 2949 times and loss 4.6tb (have 5tb per month). no luck! impossible to download without reconnections and that free scrapyard doesnt support to continue download like free garbage dumps (turbobit etc) in early 90s
[Xiaomi 13] marcobuu:
Maybe you should first read his post with understanding before saying nonsense. it already has crdroid installed. means that his bootloader is already unlocked.
[Xiaomi 13] sanzhang:
Thank you very much. Will give it a try.
[Xiaomi 13] gitanillo87:
Testing during one week.. For me its daily usable thanks!
[Xiaomi 13] k00r00b3l0s:
Only problem so far is that the face recognition is reeeeeally slow

And the charging speed is not quite fast as on miui rom
[Xiaomi 13] Lyric0912:
I have been using this system for two days and found a problem. The Chinese SIM card cannot receive and send text messages, but calls and Internet access are all normal.
[Xiaomi 13] k00r00b3l0s:
Very slow charging speed. Any way to fix it?
[Xiaomi 13] rjsfiyan:
Hi, how long does the battery charge stay for you guys compared to official Xiaomi Global ROM?
[Xiaomi 13] rjsfiyan:
Can you explain more?

I am not using crDroid yet. Still looking into which Custom ROM I can use as daily driver. So, I want to know more.

Normally for me with Official Xiaomi ROM, charge to 100% takes maybe somewhere between 30 minutes to 1 hour.
[Xiaomi 13] marcobuu:
Use original cable and don't use phone while on the charger.
[Xiaomi 13] k00r00b3l0s:
Indeed when I'm not using the phone the charging speed is significantly faster but nowhere near close to the 67w of miui rom
[Xiaomi 13] HoangRyO:
View attachment 6074039View attachment 6074040

I cannot open the camera, does anyone have the same problem???
[Xiaomi 13] 300paper:
Can someone please tell me how to flash the latest package? Also, is it possible to downgrade without clear data?
[Xiaomi 13] 旅立ち:
Do you guys have any plans for future updates? This rom is pretty good.