yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] listrmistr:
hello please, I have crdroid 9.1 from 10.2 and magisk 25 and every night my mobile freezes and I have to restart it in the morning, during the day it works normally, You don't know what to do with it, Thank you
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] petrzmax:
Just yesterday switched from cr 7.22 to 9.1, and I must say... Wow! My phone feels like new! It's blazing fast rom, and installation went (almost) flawlessly. Keep it going dev - great work :)

P.s. Is there a way to use Google backup from old phone? I didn't have possibility to do it while setting up the phone for the first time.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] kokbulik:
Call recording in google dialer (NikGapps) does not work. You can see the record button but nothing happens.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] API182:
What's everyone doing for camera? Is there MIUI camera or GCam for this somewhere?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
you can install the Gcam version of BSG_8.7.250 or LMC8.4_R15 which with the correct xml file also corrects the distortion in wide-angle shots as well as enabling the wide-angle lens.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] petrzmax:
Is there a cepheus config available for this version? I was using one for previous ones, but i dougt these are compatible...
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
I installed both, Hasli and BSG. Which one are you looking for?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
:cowboy: FLASHING TIME :cowboy:

NEW crDroid BUILD 15.02.2023

DON'T JUST HIT & RUN .... YOUR APPRECIATION KEEPS MY MOTIVATION ROLLING ;)

crDroid statistics :cool:

SELINUX ENFORCING ​

crDroidAndroid-13.0-20230215-cepheus-v9.2.zip

Highlights & Device Specific Changes:

Build type: Monthly

Device: Xiaomi MI9 (cepheus)

Device maintainer: raystef66

Required firmware: V12.5.6.0.RFACNXM

Also join our TG crDroid MI9

INSTALLATION :

Pre-installation:

TWRP or OFOX : https://sourceforge.net/projects/cepheus/files/recovery/

gapps : Nikgapps core tested

Magisk 25.2 tested

Firmware V12.5.6.0.RFACNXM

First time installation:

backup your goodies

boot twrp (or your own precious one)

format and reboot recovery

flash firmware (!) (no need when already on it)

flash crDroid

(optional) flash NikGapps

(optional) flash Magisk 25.2

boot system

Update installation:

skip format

note : when Magisk fails to install, just flash my patched boot.img within twrp (select install>image>patched one to boot)

note2: OFOX seems to be more efficient on GApps survival script (so no need to reflash GApps) and Magisk (just reflash and done)

===== 15-02-2023 =====crdroid.net/blog=====

* updated to sec. patch level 2023.02.05

* crDroid 9.2

* QS: locale Tile to toggle the primary default language

* fix screenshot sharing failure after the recent task is opened

* ultra wide (0.7x) and telephoto (2.0x) now shows on video Aperture

* synced with latest sources

* updated translations

* some other fixes and improvements

thx @Chema_F for his new OFOX version
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Tobi_as99:
Thank you for your good Work :)

I Love your rom. What can we do with Netflix Spoofing?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Tobi_as99:
will double tap on back cover for screenshots be available later like on Android 12?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] kokbulik:
I found one glitch in the notification center. When I expand all the notifications, there is still a piece of tile visible.

The second thing is that when I set 3 or more tiles in a column, only one row is visible when the bar is pulled down. Wouldn't it be possible to display 2 lines?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
the option is there but it doesn't work at the moment
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] UweRammelt:
Call Recording works perfect. Also with BT.

You might flash again?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] UweRammelt:
Do you habe a link for these GCams and the associated XML for CAPHEUS?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
https://1-dontsharethislink.celsoazevedo.com/file/filesc/MGC_8.7.250_A11_V9_MGC.apk

https://1-dontsharethislink.celsoazevedo.com/file/filesc/LMC8.4_R15_snapcam.apk

xml files have been edited with my preferences but you can always change and save a new config
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] UweRammelt:
Thank you very much - I'll test them both.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
It was a pleasure. Keep in mind that with Hasli's version you are able to shoot with the wide angle lens without distortion. The version of BSG is newer but it doesn't have the distortion correction with wide angle lens. Finally, both versions have working slowmotion video playback. I have attached two different versions of SNAP and MGC because the installation overlaps the existing one so you have both.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] UweRammelt:
Thanks!

Which one is the Hasli? LMC8.4_R15_snapcam or MGC_8.7.250_A11_V9_MGC ?

And which xml belongs the Hasli?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
Hasli= LMC8.4_R15 and same LMC.Xml
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] UweRammelt:
LMC8.4_R15_snapcam installed and LMC14.xml to Gcam/Configs8: Double-Tap near to the Camera shutter results in "configs not found".

Access rights are set.

Any hint?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
The xml file must be copied to the LMC8.4 folder in the internal memory, you can find it in the root directory of the phone.

For the BSG version you have to save a configuration so a MGC_CONFIG folder is created where you will find the installed version and the saved xml file inside. In this folder copy the BSG version file.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Hitah:
Hi Everybody, and thank You Raysteff66 for this excellent rom.

I would like to ask you about DFE (one more time, sorry) . If my phone is encrypted I used DFE in TWRP (installation was mandatory). Is that correct? Now I installed OrangeFox which works with encryption and I don't need to instal DFE even if My phone is encrypted all the time. Correct?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] UweRammelt:
XML found and imported.

But bad luck, does not run: crashes repeatedly right at startup.

Deleting data and reinstalling did not help.

The BSG version unfortunately does not correct the distortion in wide angle shots.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
When need of aptX(HD) on cr9.2, just flash this and let me know if working.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
Try with this:
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
Yes, you don't have to install the DFE if you want to stay with the encrypted phone.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] UweRammelt:
Unfortunately still crashes.

I have an older version (Gcam-8.1.101.build-V6.2.211013.2305_Snap) which works stable. Will take the then again.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] zacha_81:
For everyone who is interested here is my complete guide to get the rom running degoogled with microG and complete functionality. It was not straight forward so I think someone might be interested.

what you need:

F-Droid (App Store for FOSS Software)

microG

MinMicroG OTA Package (to install MicroG components as system app)

Aurora Store (Play Store wrapper)

optional: Aurora Services (allows you more convenient app install and - theoretically - auto update of apps)

optional: Aurora Droid (F-Droid wrapper with easy access to a lot of repos)

optional: F-Droid privileged extension (allows auto update of Apps installed via F-Droid)

Note- you have to install F-Droid and microG as normal unprivileged apps first, you don't get the permissions right else- maybe it can be done easier but this was the way it worked for me.

1. flash a clean crDroid from Recovery

2. boot into System, finish initial Setup

3. (download) and install F-Droid from apk

4. start F-Droid give permissions, update sources.

5. add microG repo in F-Droid

6. install microG Services Core & Mozilla NLP from F-Droid

7. setup microG - use Self Check an give permissions, Setup Mozilla Location Backend and give it permissions

8. Download MinMicroG minimal, Aurora Services OTA zip and F-Droid privileged Extension OTA Zip

9. Enable ADB and ADB root (we will need it later)

10. adb reboot recovery, enter sideload

11. adb sideload MinMicroG-Minimal-UPDATELY-2023XXXXX.zip

12. reboot to System

13. go to microG and Fix Play Store signature

14. if you wish you can enable SafetyNet

15. extract Aurora Services zip and F-Drood privileged Extension OTA Zip (you get the apks, the xml describing the permissions, and an sh script which is needed to survive OTA updates of the system)

(instructions found here)

16. adb root

17. adb remount

18. install Aurora Services and F-Droid Priviled Extention (you need these if you want auto updates for you apps).

adb push AuroraServices.apk /system/priv-app/

(rename first) adb push permissions_com.aurora.services.xml /system/etc/permissions/

adb push 69-AuroraServices.sh /system/addon.d/

adb push F-DroidPrivilegedExtension.apk /system/priv-app/ /system/etc/permissions/

adb push permissions_org.fdroid.fdroid.privileged.xml

adb push 80-fdroid.sh /system/addon.d/

19. reboot

20. grant permissions to aurora services (open Aurora Services app- grant)

21. install Aurora Store (and Aurora Droid) from F-Droid Store

22. start Aurora Store and Aurora Droid and set installation method to aurora services (should be available now), give permissions

Install a Play Services dependent App from Aurora Store to see if it works. The install survives an OTA update (at least till some update breaks compatibility with the installed apps)
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Moherek993:
Unfortunately, SafetyNet still fails. Magisk 25.2 installed, Universal SafetyNet fix installed (does not matter if it's installed or uninstalled).

Can you do something with this?

I also found a bug. Sometimes phone is freezing on lockscreen, does not react for pushing on/off button. Only way is reset.

Cr Droid 9.2

I have one question. Is it possible to edit files in sys/class/powersupply? With Root explorer i can open them and edit, but without saving possibility.

I want to edit these because normally my battery is charging to 1802 mAh, when i reset battery stats, it charges up to 2600 mAh - it's difference from 4h SoT to 6h SoT.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] hubai:
On my phone, edit files in system folder is worked, I changed my AI key from 'AI' to 'powerdown' in system/user/... then restart system. There also has a magisk module that edited battery to 4000mah (not tested) you can try it. Code:

echo 4000000 > /sys/class/power_supply/bms/charge_full

Someone had same trouble that freezing in lockscreen, you can try to disable magisk addons or using another firmware likes pixelexperience, the firmware in this rom was worked perfectly. You can also watch the log after you meet this problem. I using dirty flash crdroid from pe, and I had never seen this problem.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] raystef66:
:cowboy: FLASHING TIME :cowboy:

NEW crDroid BUILD 17.02.2023

DON'T JUST HIT & RUN .... YOUR APPRECIATION KEEPS MY MOTIVATION ROLLING ;)

crDroid statistics :cool:

SELINUX ENFORCING ​

crDroidAndroid-13.0-20230217-cepheus-v9.2.zip

Highlights & Device Specific Changes:

Build type: Monthly

Device: Xiaomi MI9 (cepheus)

Device maintainer: raystef66

Required firmware: V12.5.6.0.RFACNXM

Also join our TG crDroid MI9

INSTALLATION :

Pre-installation:

TWRP or OFOX : https://sourceforge.net/projects/cepheus/files/recovery/

gapps : Nikgapps core tested

Magisk 25.2 tested

Firmware V12.5.6.0.RFACNXM

First time installation:

backup your goodies

boot twrp (or your own precious one)

format and reboot recovery

flash firmware (!) (no need when already on it)

flash crDroid

(optional) flash NikGapps

(optional) flash Magisk 25.2

boot system

Update installation:

skip format

note : when Magisk fails to install, just flash my patched boot.img within twrp (select install>image>patched one to boot)

note2: OFOX seems to be more efficient on GApps survival script (so no need to reflash GApps) and Magisk (just reflash and done)

===== 17-02-2023 =====crdroid.net/blog=====

* fixed aptX(HD) to show up again

* addressed some sepolicy

* added missing imsrtpservice (carrier video calling)

* clean-up ims blobs

* synced with latest sources

* updated translations

* some other fixes and improvements

thx @Chema_F for his new OFOX version
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] kokbulik:
Not for me. I tried flash again, updating, uninstalling updates and nothing helped - recording failed.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
Try install another dialer
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] UweRammelt:
You could check in the rights management if the corresponding rights are set.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Greatus:
Which app should I use for call recording?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] UweRammelt:
The build-in phone app does the job.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
Octavios dialer without advise that call recording is in progress
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] kokbulik:
Yes build-in phone app works well.

But I use a google phone flashed with NikGapps and I finally figured out how to fix the recording in google phone. I had to install TTSLexx from google play and finally I can recording.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ikk33:
Hello, may I ask what version of TWRP or OrangeFOX are you using? The latest official version (twrp-3.5.2_9-0-cepheus.img) does not support encryption and with the version shown here (TWRP-3.7.0_12-0_26Jan2023.img) I have problems with the DATA partition, which I cannot format or wipe.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] RealNBB:
Why not OFOX?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Why you just don't use any of the recommended recoveries? They're clearly mentioned by the dev Raystef66.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
Has anyone happened to have the android system web application, or android system intelligence crash?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ikk33:
It is with the recovery recommended by Raystef66 (TWRP-3.7.0_12-0_26Jan2023.img and OrangeFox-Unofficial-cepheus_26Jan2023.zip) that I have problems that I cannot format or write to the Data section.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
you can use Orange fox recommended recovery. With Twrp I also had problems installing the rom.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
What ROM has been installed before? There shouldn't be problems like this usually. I'm not totally sure but maybe in case it was a 'retrofit' ROM before you need to start with a fastboot stock ROM from scratch.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] ikk33:
I was using crDroid 8.13 with twrp-3.5.2_9 + DFE before. I'll try installing from stock ROM tonight and let you know.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Hitah:
I think the problem is with DFE. I had all crDroid roms from 8.13 to 9.2. Allso migraton from 8 to 9 was dirty flash and all worked fine. All my installations was dirty (rom+gapps+DFE) on TWRP 3.4.0.10 mauronofrio.

And when I asked you if it is necessary to instal DFE with new recoveries after your's assurance I installed last rom without DFE. After that I had to install everything from the beggining.

Installation was possible only on old recovery mentioned above. Now I have a problem because when I switch to recovery there is no files copied in the rom in the Inetrnal Storage (it is visible in recovery, but is empty).

Please give me some solution, because next update will not be possible.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Hitah:
Ok I think the Internal Storage is decrypted and that was the problem. I installed OFOX on old recovery with "minimal_adb_fastboot_1.4.3_portable" and now the files are visible. Sorry for offtopic.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
You should learn to understand what you're doing there at all first!

In the beginning of A12 / A13 based custom ROMs none of the recoveries could deal with Android 12's encryption. Hence DfE (disable forced encryption) needed to be flashed hindering the respective ROM from encryption. And thus making the device less secure. A clean flash, incl. formatting data, for the first time installation was mandatory.

Now there's Orange Fox and unofficial TWRP recovery which now can deal with the advanced encryption. Hence DfE is no longer necessary leaving internal storage encrypted. But, surprise, surprise, this only works with the new recoveries.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] miksly:
Hi all!

i have a problem because i came from pixel os RETROFIT. I install orange fox recovery but i cant find the path where i put zip file of orange fox and path where i put crdroid zip...

what i can do?

i cant mount anithing...
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
you have to install the rom with a pen drive choose OTG archive
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] RealNBB:
Try adb sideload
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] miksly:
i try but it has problem with mount something... i retry and tell you more ... thanks
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Doesn't come as a surprise. AFAIK not being a specialist on this field the retrofitted ROMs repartition the whole storage. Hence you first need to install a fastboot (not recovery!) stock ROM. Afterwards 'retrofit' is gone and you can start installing custom recovery and custom ROM from scratch.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
in fact I too came from the pixel experience 13 and from adb I could not install the rom because it is in zip format. Finally I solved by pen drive choosing OTG archive. @miksly will be able to confirm
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] spartageo1:
Hello, I am using pixel os 13 but I am not satisfied with the battery time, how is the situation in cr droid?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] miksly:
i try with orange and now its ok! thanks!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
you installed via pen drive?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] miksly:
with sideload... with orangefox it's ok!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] dreamcrawler:
Thank you for sharing!

Just one question, I installed LMC with your XML file, Ultrawide works great, but I can not get a macro lens button, what can I do to show it? (only 0.6x and 1x buttons are visible but not 2x)

EDIT: Just found your most recent XML and it shows now. Works perfectly!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
I'm glad everything works. Can you share xml file with macro function?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Tobi_as99:
Hello,

I'm missing an option for sign in free WLAN like in CrDroid 8
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] miksly:
last file i think it's this... i try but i only view 1x and 2x and it use ever the central camera.

i try to enable other cam, but the 0,6x cam has distorted image and 2x cam (the more high in order) it's non focuses image... :-( what i wrong?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] PieroAnt:
I don't understand what happened but suddenly when I put on the wide angle the camera crashes. Now I have installed the version of Shamin 8.7.2.5 which seems to me to be very good.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] fredlisboa:
Hello guys, first I'd like to thank dev for the awesome work on this ROM. I read a bunch of posts here on XDA and TG group but cannot localize similar problem. I've make a clean flash with required Firmware, crdroid v9.2 20230217 nikGapps core version and Magisk 25.206 and unfortunately cannot get any type of vibration on my phone (notifications, calls and etc). I've already turned on and off and on again all settings on vibration & hapatics settings and still get no vibration response. Any one could help me please? Thank you in advance.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] schinden:
In January I didn't find Mi Sound enhancer, is it available now or will be?
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] AnhKhoa1726:
i have a problem when i put my phone in my pocket or on the table. When unlocking the screen won't touch forcing me to reboot.
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] inkbjuu:
I've been reporting this same issue for a while now, it's not just you, don't worry. It seems to be common on cepheus roms
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] miksly:
Only a doubt... i install a gcam port... but, what you suggest about camera use? because I see gCam port use only the central camera on Mi9. it's ok ? or the best solution is use the other cam for other kind of photo??thanks a loT!
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
Totally depends on your GCam. Some don't support auxiliary lenses others support them but they need to be activated in the GCam setup first. You need to go through the setup option by option.

Cheers

Toscha
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] miksly:
thanks... because when i load a cfg file for a specific gcam port, i think it configure the other cam.

so now i check on the configuration.

now i try AGC8.4.300_V9.4_snap.apk and as configured by BigKakaHToneCepheus9.2v3-ad.agc
[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] toscha42:
You shouldn't solely rely on the configs. Once the creator is not interested in the other lenses they simply might not be activated. In any case these are topics for the GCam in no way they are related to the ROM.

Cheers

Toscha