yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
I noticed that every since I switched from RR to Cr the camera on WhatsApp is extremely laggy. I uninstalled and reinstalled WhatsApp again but the problem persists. Is anyone else encountering this issue? Google Camera works flawlessly though.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I've had no issues with vids or sound. I use YouTube a lot and playing music via Play Music and Rocket Player (mostly via Bluetooth in the car). No lags or drops.

In Kernel Adiutor, make sure the min/max frequencies for the CPUs are set to 307/2188 and 307/2342 (or 307/2419 if you're using the OC'd version), and use the 'Apply on boot' toggle.

Update - 1/5

- Added Unlock device with Fingerprint after reboot option

Can confirm. With the stock camera, GCam, Facebook, Snapchat etc the video is fine but Whatsapp is dropping a lot of frames. I'm trying to diagnose it now.

Typical log output for those with any insight

05-01 18:02:56.333 731 9705 I chatty : uid=1006(camera) CAM_isp_trigger identical 5 lines
05-01 18:02:56.340 529 9739 E QCamera : <HAL><ERROR> handleMetadataWithLock: 2984: Cancel missing frame = 34, buffer = 0xef7957c8,stream type = 3, stream format = 34
05-01 18:02:56.341 529 9743 E QCamera : <MCI><ERROR> cancelBuffer: 759: Calling cancel buf on idx:10 for stream type:3
05-01 18:02:56.346 636 840 W Camera3-OutputStream: returnBufferCheckedLocked: A frame is dropped for stream 3 due to buffer error.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Awesome work as always. Thanks Gavin!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] JonWayne101:
Hey where in setting would you find that option!?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
The WA issue is limited to the rear camera for me. Also, pictures work fine, it's just the preview itself that lags. When taking a video it works as normal too. No lagging. Same for you?

Settings > crDroid settings > Lock Screen
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Video works perfect, but using the rear camera with WhatsApp seems to lag / stutter. I made a screen record of it: https://mega.nz/#!5a5wQbbI!cvoUNFUfqBHyoQFo2H3OpHf9NfpX4Fsbpk3uP4CGDow

Front camera seems to work fine indeed.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] zoppa:
Thx [MENTION=2288015]james1089[/MENTION], that did not fix it. Tried many times.

But with current 01-05 build, for the first time, I powered off from recovery after flashing ROM, Magisk and Gapps, and it worked!

Strange, someone call Mulder and Skully.

:D
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
anyone tried sound mod? Viper, Dolby?

anyone tried psychedelic kernel with this rom?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I've used Viper and the standalone Dolby mods before but I only ever did so for a volume boost. Now I just max out the dB in AudioFX and it's sufficient. In Viper I only used Atmos/DDP so I can't confirm that any other effects work.

The Psychedelic kernel predates Oreo so it won't work either.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
i just realized there is no gps.conf in /system/etc.

i copied it from mi rom, but it seems i still have bad gps lock.

does everybody have good gps? or maybe it's just my network provider?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
sorry it's solved. it's just my operator. after i test on driving, it gives 5 meters accuracy.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] glumetu:
This is such a great ROM - very few bugs (I temporarily lost the audio once). It would be perfect for me with the iPhone X gestures that have been implemented in the Epic ROM that I'm coming from. But that's just me ?

That being said, I just installed a gesture control app that does this. Would be cool to have it cooked in the ROM :good:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] glumetu:
Hmm, the audio system does seem to be buggy. Occasionally the sound is completely missing and every other call I take goes well only through loud speaker, nothing can be heard in the regular speaker.

Clean install over the Epic MIUI ROM.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] paulomalley:
I am also getting that pesky camera stutter Bug across multiple camera apps.

Also, using Substratum, I am unable to change the boot animation. No changes ever work. The basically solid white boot animation drives me insane with how bright it is and yet there is nothing I can do about it.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Out of ~50 calls I've only had audio missing once and that turned out to be the caller who'd accidentally muted their line. I'm not saying it doesn't happen but it's rare enough (for me) that I'd rather have working proximity than not. The main problem is not being able to return to earpiece after having switched to speakerphone. Hopefully this is fixed asap. In AICP it actually is possible to switch back and forth, but not in RR/CR.

For the boot animation I use MidnightCore via Magisk. It comes with 20+ boot animations to choose from, some of which are dark (the Alienware one, for example).
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] homer4evr:
cant install error 7

Ive updated twrp to the one in the extra file, I just cant get this rom to flash, ive mounted/unmounted everything i can think of. I can flash RR 7.0 no problem but ive tried this and the RR oreo and both end with an error 7.

Anyone know whats happening?

thanks

---------- Post added at 05:16 PM ---------- Previous post was at 04:51 PM ----------

Been searching do I need to update the bootloader to an Oreo one? I'm stumped
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Sounds like you haven't updated the firmware.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] homer4evr:
Now I'm going to sound stupid but where would I find a good firmware to update.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
All the links you need are in the first post. 8.4.19 is recommended.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] glumetu:
It's not only the calls, it's also the rest of the sound system: notifications, media etc.

Also the volume on calls is really really low.

Don't know any other way to fix than to restart, which is a bit of a shame.

Other than that, it's really a great ROM - I will use it as my daily driver, despite the buggy audio.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] homer4evr:
I looked in that file so many times I never thought to click on the firmware folder I had just assumed it was the title of the folder. Thanks for the help
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Lightde:
Gavin, thanks for great work. The ROM is awsome. No issuses with calling since 3 days.

One question about status bar - it's always grey on the homescreen, even if the wallpaper is white, black or colorful. I can't find nothing about it in settings. Anyone?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
yes, i can confirm this, it happened to me too.

it solved when i reboot it.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] glumetu:
You can try the SystemUI restart, it's faster
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
If you use WhatsApp, how is the camera working? Mine drops so many frames.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dugazoid:
Hi,

One question: how about battery life? How many SoT do you usually get with this ROM?

Thanks!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
yes, i can confirm this, it happened to me too.

on whatsapp, front camera is good, but back camera really lag a lot!

it happened to an application called "Office Lens" too.

---------- Post added at 11:34 ---------- Previous post was at 11:30 ----------

if you worry about battery life, maybe you can use powersave governor?

you can figure out what's use your resources using many tools, such as "SystemPanel 2", "Wakelock Detector".
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
i realized that when i charge my phone in the midnight, and let it be until tomorrow, it random reboot by itself.

i still try to find out, is it because of the phone become too hot when charging so it reboot by itself or what.

anyone?

another case, when i do call, the screen lights out when i put the phone beside my ear, but the light's not coming back when i finish the call. workaround for this is to push lock button twice and the screen will go back to normal.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] homer4evr:
Has anyone gotten the hotspot to work? Everything else has been perfect up until I got in my car and have no data on my radio.

---------- Post added at 09:24 PM ---------- Previous post was at 09:09 PM ----------

Fixed it just had to add "dun" in the apn. Love this rom
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I had something similar happen once a few weeks back. Turned out to be some game running in the background using 100% CPU. It was draining the charge faster than it could keep up, so it went flat during the night. When I woke, it was charging but it was at that black screen with the battery icon and I missed my alarm.

I've taken dozens of calls and not had any issue with the screen sleeping post-call. Do you use Expanded Desktop?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
okay i'll try analyze the cpu usage using SystemPanel 2 to be more precise of random reboot issue.

and for the screen sleeping call, i don't use Expanded Desktop. if it doesn't happened on your device, maybe i've misconfigured something or maye i've installed something causing it.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] paulomalley:
So I'd really like to move to CR Droid from RR for the Expanded Desktop to not lag on unlock but I was wondering when a couple of things were going to be fixed...

Laggy camera - Happens in almost any app. Easiest to see by using the default camera app and switching to Pano mode. The display isn't refreshing to keep up with what is happening. The camera is registering correctly but the display isn't.

Substratum support - I know it has it but changing the Boot Animation doesn't work at all (and let's face it, a blinding white boot animation is a bad idea)

Unable to verify Card for Google Pay - this issue could be on my end but only seems to happen on CR Droid builds, both dirty or clean installs.

If I can get these fixed I would be on CR Droid for life. The rest of the customisations are great, especially the ability to get rid of basically everything from the status bar.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
The cam bug is at Lineage source. When they fix it is unknown. Default cam is fine for me, as is the modded GCam. The only app that is affected for me is WhatsApp.

There are several ways to change the boot animation. Manually (replace the bootanimation.zip in /system/media with another), via a https://xdaforums.com/apps/magisk/module-midnightcore-one-midnight-modules-t3762758, or using another app.

I can't confirm the Android Pay issue as I don't use it. Maybe someone else can confirm this. If you use Magisk, try enabling Magisk Hide and make sure you're passing SafetyNet.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] paulomalley:
I don't use Whatsapp. But the issue persists across multiple apps including Twitter and Instagram. The default camera app and nodded Pixel Camera app work fine until you select modes like Lens Blur or Panorama the lag occurs.

---------- Post added at 01:37 AM ---------- Previous post was at 01:35 AM ----------

I'm passing Safety Net fine. The verification page just sits there (I left it on the page for over half an hour) and never moves... Oh well, back to using my Pay wave card like a peasant... Lol

For the Camera issue, try opening other camera modes like Lens Blur or Panorama and the lag issue should occur for you too.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
It's the "third-party" camera's that are malfunctioning. Tried it with Lens and I can confirm the camera is very buggy. Same for Microsoft OneNote.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] paulomalley:
Well that seems to have at least narrowed the issue down a bit... I found it odd that it doesn't occur until I use a third party app or one of the special modes in Google Camera...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Pindarm:
Hey Gavin! Any news on implementing upper shortcuts on lockscreen in crDroid like there is in Resurrection Remix? :fingers-crossed:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I spent practically a whole day on it and couldn't get it working. I got as far as adding it into the settings, being able to select shortcuts and add them to the lock screen, but it would always crash when selecting one. The functionality is more deeply ingrained than I thought.

Update - 19/5

- Add ability to restrict app data/wifi usage

- Little CPU cores now properly use default min/max values (307-2188) instead of being locked to (1516-)

- Update to May security patch

Known issues

- Switching between speaker/earpiece in call results in losing earpiece sound so only speaker works

- Camera preview lags in some apps (e.g WhatsApp) and with some camera functions (panorama, lens blur) [Shiny new bug!]
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Lightde:
Dirty flash and everything works perfectly. Evan the launcher works better. Thanks Gavin for great work.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Latest update works great! I hope this camera issue can be solved though :)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
lovely!

gavin19, i wonder could you make navbar-less control? such as this :

https://www.xda-developers.com/navigation-gestures-iphone-x-app-xda/

it would be very lovely to see mi mix always on full screen :cool::cool::cool:

---------- Post added at 09:08 ---------- Previous post was at 08:48 ----------

anyone wants to flash latest firmware, you can have it here :

MIUI 8.5.17 [FIRMWARE-ONLY] :

https://mega.nz/#!3jwUBJqQ!4wmFNyhwG5jyX1N8-iEsJvM3Bu7Ir7Mi7HHkPtsVyf4

i cooked it myself and i have try flash it, no problem occurs.

sorry gavin19 if i post it here, just want to make everyone happy with their Mi Mix. :)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
gavin19, i see on Kernel Adiutor, the gpu frequencies shows on 0% - 214Mhz, although i have change the maximum frequency to 681Mhz. is it normal?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I noticed this before but only on the OC'd build. Once you set it to 681MHz (mark it for application on boot) then it will stay there.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
yep, i'm on OC'd build.

and i already set it to 681MHZ and try to reboot.

but it's still 0% - 241MHZ on kernel adiutor graph.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
There is a value hidden from KA called 'initial frequency', which is 214MHz. This is what you see in the graph. It only shows activity from 0-214 because it's currently set to 214. If you do something to trip the GPU, like moving a PiP window (YouTube/VLC etc) around, you'll see it jumps to 681. If your phone was actually locked to 214MHz you'd notice immediately, especially in games.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
yes, i try run PUBG, doing good.

well everything is okay then.

thanks mate!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
Hi gavin19

is there anything new from this news?

https://lineageos.org/Changelog-18/
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
They all predate the last build.

You can check the gerrit for merged changes - https://review.lineageos.org/#/q/status:merged - and you should be able to find all the commits that tally with the ones they listed, like https://review.lineageos.org/#/c/LineageOS/android_frameworks_base/+/214405/ and https://review.lineageos.org/#/c/LineageOS/android_packages_apps_Jelly/+/214086/.

The main thing we're waiting for is official 15.1 status. 7 of the 15 supported Xiaomi devices have been promoted so far so it shouldn't be too far away. Official status = official builds = ability to post bug reports = stuff gets fixed quicker.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
wow, that's really a complete information!

thank you so much gavin19! :o:o:o
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
i tried several settings using LineageOS camera APP (org.lineageos.snap), i found this :

- camera lag very bad when using resolution 16:9 from 4.1 Megapixels and above.

- camera lag very bad when using resolution 4:3 from 5.0 Megapixels and above.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
From the last update

- Camera preview lags in some apps (e.g WhatsApp) and with some camera functions (panorama, lens blur) [Shiny new bug!]

The issue is at the Lineage level and is inherited by RR/crDroid/AICP etc.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Update - 30/5 (8.5.10 firmware recommended)

- Integrated substratum service

- Set transparency on notification shade

- Fix themeing on storage summary page

- New boot animation

- Fixed thermal engine **

This update is mainly very minor stuff (transparency on the notification shade is pretty nice). The main reason is that I managed to fix the thermal engine whereby the CPU frequencies are throttled based on the temps read form the sensors. To my knowledge, this has been non-functional since we switched to Oreo, and is the main cause of the high temps/battery drain. Note, this isn't some panacea for poor battery perf (it could be 37 other things), but with the temps under control it will take the pressure off the battery.

The config file is found in /vendor/etc and is called thermal-engine-8996.conf (it might not be visible/editable depending on your file manager), and requires root to even access that folder to begin with. There are several base configs (default lite, default, extreme lite, extreme, max), found here, which are taken from here.

You have a few options now

- Leave it as is and the temps shouldn't get beyond ~65C

- Switch it out for one of the other configs (download one and use TWRP to copy it from Download folder to /vendor/etc) - Note, ensure the file permissions are set to rw/r/r (you can chmod the file in TWRP to 0644 before transferring). You'll also need to mount the vendor partition (Mount > Vendor) in TWRP so you can access the /vendor/etc folder

- EDIT - I added flashable zips to simplify switching profiles

- Download the default config, edit to suit, then use it to overwrite the existing config (as above)

- Delete the file (via TWRP) to go back to bypassing the thermal engine and engage furnace mode (my preference)

Feel free to experiment with the trigger temps/frequencies to maximise the performance/heat/battery life balance.

** I've tested this for ~24 hours, with different configs and with Kernel Adiutor/EX Kernel Manager. Everything has been working so far but...

Known issues

- Speakerphone bug persists

- Camera lag persists in some apps
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] albertoduqe:
You're the man, Gavin :)

Outstanding work.

Thanks!!!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
wow thanks gavin19!

as for thermal-engine-8996.conf, i always delete it everytime i flash any rom, to get a max performance, even thought sometimes the temp are going up like crazy. is it okay gavin19? what do you think?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
That's the thing. That file was never being used since Oreo. In Nougat it was so it needed to be deleted. With this update it will be used, so you'll need to delete it. If others can test different values then it should be possible to keep high performance (or even higher) while keeping the temps down.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dizzyberkowitz:
Strange, but im getting error 7 E1001 even on clean install. Firmware 8.5.24, tried to update TWRP - nothing helps. What can be wrong here, can you help me?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Firmwares/TWRP are here. I'm using 8.5.10 since the sources haven't been updated to anything newer yet, but it should be fine with 8.5.24.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
maybe try this one?

http://www.mediafire.com/file/lv7sncx1np9d41u/twrp-3.2.1-raupe-blunden-15.1-updated.img
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dizzyberkowitz:
Tried this and previous versions, nothing helped.

Edited installer script and removed string that aborting installation, all went fine :)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
because it's not happen to me, so i can't help much.

glad that you've sorted it out. :D
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dizzyberkowitz:
Thanks! :)

I still dont understand the reason of this error. Firmware was fine i guess, since i updated this rom for a month or so, tried installing with system wipe and full wipe - error was still there. Also ive got similiar error with latest firehound. Previous build flashed fine, current builds only with error.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
do you unlocked your device officially?

are you using dm-verity disabler?

have tried to wipe the internal storage too?

i don't know but, maybe this article can help you?

https://jira.lineageos.org/browse/B....issuetabpanels:comment-tabpanel&showAll=true

https://zukfans.eu/community/thread...dirty-unicorns-by-davidevinavil.4279/page-132
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dizzyberkowitz:
Official unlock almost a year ago. Dont use dm-verify disabler, since AOSP/LOS based dont need this i guess. Didnt try to wipe internal since im having about 80Gb of music and too lazy to backup this right now.

Problem is, as i said, that everything worked out before latest update. Nothing changed, dirty flashed like 3 last builds fine and now something happened.

I saw first of this article, will look deeply later, thanks again!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] heindrix:
please kindly share if you find something.

thanks anyway! :o
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] zrzatore:
Format internal storage i was haveing that when i go back to nougat
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dizzyberkowitz:
I cant see the point of this. Look, im using cardinal 0518 build. How come that to use next build i need to format internal, since the base of firmware haven't changed?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] zrzatore:
I don't know but it helps me because i stuck in TWRP with error 7 and i try to install few roms no one without error
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
I noticed that using any of these shortcuts (in this case inbox) causes an instant crash. Same happens when I highlight a phone number and the phone shortcut appears. The reason why I think it has nothing to do with the apps the shortcuts belong to is because it happens with all of them.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Log or didn't happen, here it is.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Thanks. Is this limited to a specific app (Brave?), or can you reproduce anywhere. Either way, can you outline the steps for others to reproduce?