yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] JoshReuben:
This rom is great, way better than oreo. But yes, prox sensor is frustrating during voice calls.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Fusionist:
Very great ROM today. After smartbar update I can change recents to omniswitch, double tap to last app works flawlessly , killed apps when I hold back worked too ! Better than RR. Flashed lastest floppy kernel 22/11 and much better speed after setting spectrum to performance.

Substratum not work, I cannot change my smartbar button.

Viper4Android works !

I'll use this rom for my daily driver. Thank you very much Gavin !
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Where do you see Omniswitch? I only see aosp recents and stock.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Fusionist:
Manually install via apk and activated with smartbar
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] JoshReuben:
Which viper build did you use? Could you share a link?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] admirdante:
This ROM has a bug, where once one tries to manually select the carrier, the screen goes black and goes to the previous screen. Once I go back into the SIM settings screen, the selected network didn't take (it's back to automatic). No matter which carrier I select, the same happens. Using the latest ROM with 2 cards and didn't have any issues except this one so far.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Fusionist:
There you go, you must install reinstall if got abnormal status
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Fusionist:
This thermal files from 07072018 RR Gavin rom OC

[SS-CLUSTER1-SP0]
algo_type ss
sampling 250
sensor xo_therm_buf
device cluster1
set_point 47000
set_point_clr 38000
time_constant 0
device_perf_floor	1824000

[SS-CLUSTER1-SP1]
algo_type ss
sampling 250
sensor xo_therm_buf
device cluster1
set_point 50000
set_point_clr 41000
time_constant 0
device_perf_floor	1478400

[SS-CLUSTER1-SP2]
algo_type ss
sampling 250
sensor xo_therm_buf
device cluster1
set_point 53000
set_point_clr 43000
time_constant 0
device_perf_floor	940800

[SS-CLUSTER0-SP0]
algo_type ss
sampling 250
sensor xo_therm_buf
device cluster0
set_point 47000
set_point_clr 38000
time_constant 0
device_perf_floor	1401600

[SS-CLUSTER0-SP1]
algo_type ss
sampling 250
sensor xo_therm_buf
device cluster0
set_point 50000
set_point_clr 41000
time_constant 0
device_perf_floor	1190400

[SS-CLUSTER0-SP2]
algo_type ss
sampling 250
sensor xo_therm_buf
device cluster0
set_point 53000
set_point_clr 43000
time_constant 0
device_perf_floor	960000

[SKIN-SS-CPUS-ALL-1]
algo_type ss
sampling 250
sensor xo_therm_buf
device cpu_voltage
set_point 57000
set_point_clr 45000
time_constant 0

[SS-GPU]
#algo_type ss
sampling 250
sensor xo_therm_buf
device gpu
set_point 55000
set_point_clr 43000
time_constant 0

[GPU_management]
algo_type	monitor
sensor	xo_therm_buf
sampling	1000
thresholds	41000	43000
thresholds_clr	38000	41000
actions	gpu	gpu
action_info	510000000	401800000

[SKIN-BATTERY-MONITOR]
algo_type	monitor
sampling	1000
sensor	xo_therm_buf
thresholds	43000	45000	48000	60000
thresholds_clr	41000	43000	45000	48000
actions	battery	battery	battery	battery
action_info	0	1	2	3

[CAMERA-CAMCORDER-MONITOR]
algo_type monitor
sampling 1000
sensor xo_therm_buf
thresholds 42000 45000 50000
thresholds_clr 40000 42000 45000
actions camera+camcorder camera+camcorder camera+camcorder
action_info 1 2 3

[HISTORY-XO]
algo_type	history
sampling	1000
sensor	xo_therm_buf
thresholds	31000	41000	46000	51000	56000	61000
thresholds_clr	30000	40000	45000	50000	55000	60000
actions	history_log	history_log	history_log	history_log	history_log	history_log
action_info	0	1	2	3	4	5

[HISTORY-CPU0]
algo_type	history
sampling	1000
sensor	tsens_tz_sensor3
thresholds	61000	76000	91000
thresholds_clr	60000	75000	90000
actions	history_log	history_log	history_log
action_info	0	1	2

[HISTORY-CPU4]
algo_type	history
sampling	1000
sensor	tsens_tz_sensor8
thresholds	61000	76000	91000
thresholds_clr	60000	75000	90000
actions	history_log	history_log	history_log
action_info	0	1	2

[HISTORY-MODEM-PA0]
algo_type	history
sampling	1000
sensor	pa_therm0
thresholds	31000	36000	41000	46000	51000	56000	61000
thresholds_clr	30000	35000	40000	45000	50000	55000	60000
actions	history_log	history_log	history_log	history_log	history_log	history_log	history_log
action_info	0	1	2	3	4	5	6

[HISTORY-MODEM-PA1]
algo_type	history
sampling	1000
sensor	pa_therm1
thresholds	31000	36000	41000	46000	51000	56000	61000
thresholds_clr	30000	35000	40000	45000	50000	55000	60000
actions	history_log	history_log	history_log	history_log	history_log	history_log	history_log
action_info	0	1	2	3	4	5	6
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I'm using the OC'd build and the temps will go to ~90C for the first 1-2 minutes after boot but after that initial phase the temps never go past ~75 even if you force high CPU loads. It's possible that you have a weaker CPU which is why you're getting reboots, but I have never had it reboot. Try stepping the max frequencies down a notch or two. Alternatively, turn on the vdd restriction in Kernel Adiutor/EX Kernel Manager and then disable it x minutes post-boot.

Not sure what you mean by decrypting. The conf/thermal-engine (vendor/bin/thermal-engine) have been decrypted for a long time, which is why we can read them as plain text. They'd only be encrypted in MIUI builds. As for the vdd restrictions, I'm not sure why they don't kick in (at least with the OC'd build). In addition, there is no hotplugging (disabling cores) either. It works solely by throttling frequencies, which is the ideal method since it provides the smoothest experience (cores being taken offline visibly impacts performance).

Using the ondemand governor it's as smooth as it has ever been under Nougat/Oreo. Even apps that always had some (or a lot) of jank when scrolling, like Facebook, are smooth and I consistently get ~192k in Antutu (highest I've ever seen). The OC and normal builds also use different thermal engines (and conf files). With that said, the conf file doesn't work with the OC'd build, and I tried many different confs and engines, but the engine in the OC'd build does a great job with the thermals, barring the initial boot phase.

There are pending changes that adopt a different thermal engine from another model (Mi A2), but I haven't made a build with it yet. I'll probably try one later today.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Fusionist:
Thanks for quick reply [MENTION=5657304]gavin19[/MENTION]

1. Yea Im using oc build having ~90C for 1st 1-2 minutes and waiting till cool down like ~45~60. But when downloading something large(offline maps ex) / doing titanium backup (hundred of apps) temps goes ~90 again. Im getting reboots if restart this devices 2-3x repeatly (installing magisk module / upgrade downgrade adreno driver)

Im using your alternatively vdd restriction and its turn off automatically after phone enters deep sleep. So when im doing great task again ~90 mode goes again

2. Sorry and thanks to makes clear, I really didnt know OC build engines cannot accept conf files. So I tried over and over again searching conf files can matched with this OC build. And I'm found one that I upload(not at code) its from paaps RR nougat 7.1.2 and encrypted. I tried that and it's works ! My devices throttled at 50 degrees but I cannot changes variable cause its encrypted. So that my point of question that sorry.

So my next question is I must go to non oc build for edit working thermal conf for my need? I just want cpu not goes up over ~70

3. Maybe its just my opinion, I didnt too like HMP kernel so I searching for schedutil gov. I didnt too like antutu score high if temp reaching ~95 even its just a minute cause when im doing multiple task, downloading offline maps and making schedule TB its goes to 95 again over a 15-30 minutes. There is a chance. And from this point you makes me clear that version using different engines, and im so stupid changing and editing thermal files conf. Thanks for that answer !! Im still searching thermal for 70 degrees if you can teach me editing thermal files for tjis oc build ?

For another model thernal files Im waiting it . And wanna studying it so I can throttle where I wants. Once again you helped me so much thank you Gavin !!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I've tried confs and engines from multiple other sources (you can see the other section for the 5 main different types of confs I found). They're all taken from Snapdragon 821 (and mostly msm8996) devices, but you can see that there is quite a bit of variation. Also, you'll notice that the gemini one (Mi 5) is the same as ours, even though it is (the highest Pro model) clocked at 2.15/1.6 versus our much higher 2.34/2.18. In other words, the conf was never properly tailored for our device/higher CPU frequencies.

The engine I used in Oreo worked great (I think it took it from the LG G6) and it responded to the conf (taken from Marlin) but now it doesn't. To test confs I'll usually make one with artificially low caps (like set all the max frequencies to the same value, like this) and watch to see what happens under throttling. Here and this pdf are very useful.

1. I know that in the past if I download a bunch of files at once in Chrome that it wouldn't throttle properly and hit 90C. It seems it only happens with certain tasks, but not others. It's this kind of thing that's hard to diagnose. Fortunately, 99% of my use cases don't cause it to get that hot.

2. That encrypted conf file I'm 99% sure is just the stock one, except encrpyted.

3. EAS/HMP isn't going to impact the thermals (other than EAS being more energy efficient). The conf/engine is either working or it isn't. Why some confs work (or used to work and don't now) is a bit of a mystery. The stock thermal engine hasn't changed since Oreo, and only a couple of times before that - https://github.com/TheMuppets/propr...mmit/ed95e30a28cddf071afbda1bb7fa91a16bcc331a. The annoying part is that while you can swap out confs, changing the thermal-engine has never worked for me, even changing the file permissions/owner - it just gives some error in logcat (can't recall now). So, each test of an different engine requires a rebuild/reflash etc. Very time consuming. See the pdf I linked to for how to enable debugging and how to start/stop the thermal management.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Fusionist:
yeah I see your github link and found that variation for other devices, Im also trying one by one but nothing happened like Im not wearing thermal files at all. this makes sense why you say your powerhal not responded to thermal files

I greatly agree you thermal at oreo worked like I expected, perfect at ~67C something core throttled, Im finding your 070718 RR responded so well so Im using that for daily driver until now moved your crDroid Pie. before found your RR oreo works Im still using RR nougat from encrypted thermal files from [MENTION=3910111]pappschlumpf[/MENTION] and I saved that files for used later( finding that I know different engines different response ).

3.3.2 PID algorithm instance example
In this example, the label is surface_control_pid. This name must be unique from other instance labels. The PID algorithm (algo_type = pid) controls the temperature by sampling sensor ID 5 (sensor = tsens_tz_sensor5) at 65 ms (sampling = 65). The PID control adjusts the maximum allowed CPU frequency of CPU0 (device = cpu0). Sensor ID 5 is at the hotspot of CPU0, thus, the controlling set point maintains the CPU0 junction temperature at 95°C. The clearing set point is set at 55°C, which is the temperature where the PID controller will stop adjusting the maximum allowed frequency based on this sensor and let it return to maximum.
[CPU0_control_pid]
algo_type pid
sensor tsens_tz_sensor5
device cpu0
sampling 65
set_point 95000
set_point_clr 55000

Im already reading your reference thread and pdf thank you so much , that open my mind to set this up, but unfortunately that thermal ones working with engines encrypted so I cannot changes value point like reference pdf. So I want to decrypt that one working. its any clue for decrypt that? or could [MENTION=3910111]pappschlumpf[/MENTION] can help for decrypt that thermal files? :fingers-crossed:

2. Im already trying your original conf from github, saved it and changed permission like I do with encypted ones but thermal goes again to ~95C so I think Im wrong or that decrypted file different

3. but fortunately, when I copy pasted it via root explorer (that encrypted ones) and changed permissions and reboot. voila magic happens now your engines responded so well at encrypted one. my thermal not goes up over ~65C avg heavy load ~60C idle ~45C but yeah its lagging a little bit.

4. Edit : I found 2 major bugs annoy me

- Wi-fi turn off automatically when I sleep , when I wake up at 2 days stright no Wi-fi on I must manually turn on again

- when Im unlock via fingerprint there is small chance its will reboot itself so im switching to swipe now no security though and using double tap for unlock
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] JonWayne101:
Hey Gavin...maybe you can help me out..I have a little issue with an App I'm trying to run on this rom. I'm running the latest the 9.0 pie OC build and firmware 8.8.30... App "Dji Go 4" will open up but will not run just crashes on loading screen... I've tired other custom rom like AOSP Extended 9.0 pie with firmware 8.8.30 and it runs great. Any ideal why won't run on this rom!?.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I looked at the logs but all it mentions is a general (fatal) fault in the main process. To properly debug it is out of my reach.

Maybe try an older version of the app from apkmirror - https://www.apkmirror.com/apk/dji-technology-co-ltd/dji-go-4/
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] binarytree:
hi, Gavin, great work, but I met this problem after I flashed the 11/28 version, other things worked well, but it can hardly play any videos or audios, I mean, first, there is no sound when I tried to play any musics, and when I watched videos from youtube, there was no sound, and the videos were also lagged. FYI, other sounds like notification, ringtone, call, work like a charm. Do you have any idea what happened here?

P.S I found that actually the lags came from audio, for example, if I muted a short video on Instagram, then the video can be played smoothly, but if I just muted the phone directly, the lags wouldn't disappear. So I guess it could be an issue with playing audios.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Laggy media is due to outdated firmware. See the extra > firmwares folder in the same place as the link to the ROM. Flash 8.10.11.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] JonWayne101:
Well thanks for the effort..much appreciated it!! I'll try order version and see how it works..I just hate I need that app to fly my drone!!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Fusionist:
[MENTION=5657304]gavin19[/MENTION]

I found 2 major bugs and 1 minor bugs after 3 days use, Im giving up OC version and starting new at non oc version whereis thermal more fine for me (after you mentionied different engine reacts thank you)

1. Wi-fi turn off automatically when I sleep , when I wake up at 2 days stright no Wi-fi on I must manually turn on again, at day 3 this not happened

2. when Im unlock via fingerprint there is small chance its will reboot itself so im switching to swipe now no security though and using double tap for unlock (logcat attached sorry this my first time taking logcat, is my file right?)

3. at screenshot I attached at non oc ver, location logo always there at top bar cannot dismiss it

4. Double tap to wake not working after enter deep sleep

so far I really loved this ROM, smooth and good thermal !
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] binarytree:
thanks man, it works
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
1 and 2 I'm pretty sure are due to the OC, and your device not liking it. If you use the stock build then they shouldn't be an issue. I'm building a new version now with the updated thermal engine. If you want, you can try the lastest Lineage build since it uses the same one.

For 3, I only get the location logo when you'd expect, like querying location in Google Maps, but it goes away once I close the app. Maybe some others can confirm.

For 4, I rarely use DT2W but I'll test it out while I'm waiting for this new build.

No worries.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shingers5:
only asking in here as i feel that an answer will be forthcoming. i am trying to flash this new pie rom but i am unable to copy the file to storage. i am using recommended twrp. it starts to copy but fails right away. in twrp i am aunable to do this either and adb sideload fails as well. how can i fix this as even change file system for data and system didnt work. it will copy small files but larger one like this rom it fails. i am about to smash the phone and yes i have searched for a solution before asking

thanks in advance

update...............

sorted this myself and flashed but dont like the launcher or wallpaper nor icons. changed to limitless but no at a glance? on havoc 2.0 pie is all there like stock. this seems to be missing a few things
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
And if I flashed Havoc now I'd also be 'missing' a bunch of options too. There are different features. To my knowledge, crDroid has the most customization options of any ROM out there. I had to look up 'at a glance'. Never heard of it, but it seems to be part of the stock (AOSP) launcher? crDroid is Lineage-based so it uses their default apps in many cases, including the launcher.

I always use Nova so it's new to me. I assume that if you flash the Pixel Launcher (or flash a GApps that has it) then it'll be available to you.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shingers5:
Yea its the Google date and weather on the pixel launcher linked to google now. Should be available with this as google app is available with left swipe. Got this almost how I want it and had to flash the frinware to fix laggy video playback. Not bad
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Update - 8/12 (Requires 8.10.11 firmware)

- Update to Android r21

- December security patch

- Add font picker back

- Tidy up gestures

- Update theme service

- Add back Pulse (nav bar graphic equaliser)

- Restore ambient music ticker

- Add back SIM toggle

- Option to unlink ring/notification volumes

- Stock build uses new thermal engine
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shingers5:
Thanks for that

So to upgrade I do it old fashion way

Boot into recovery

Flash version 8/12 then wipe cache and reboot

Don't have to flash firmware or gapps again as already have them

---------- Post added at 10:31 PM ---------- Previous post was at 10:04 PM ----------

Flashed the update as usual and all back up and running. Love the font options which I have already used. Some good choices there. Keeping my eye on battery drain so will report before next charge. Will hang around for a while see where this goes
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
I found a couple of Omniswitch threads here in XDA but the zips causes bootloops.

The app you uploaded is the only thing that works. Would you mind sharing where you found the apk so I can update the app once there are improvements?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
It's still the same v1.1 from years ago. I added OmniSwitch into a test build and it works fine (some logcat errors but it works regardless). Building from source meant I could fix the OmniSwitch-shows-OmniSwitch issue, but as for adding it as a toggle in crDroid settings > Recents, highly unlikely.

As it stands, it'd only be usable as it is now, via Smartbar, but the only niggle (for me) was that it showed itself in the app list and that's easily resolved.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Gotcha. I'm using it with the smartbar too and it works pretty well. I've tried blacklisting Omniswitch in Omniswitch setttings to not make it appear in the recents list but to no avail.

Thanks!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] YasirArslan:
Volume boost

Please icrease speeker and headphon volume
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] xX.R.O.G.Xx:
You can flash Dolby Digital Plus for that, look at this thread :

https://xdaforums.com/android/software/mm-p-dolby-digital-plus-arise-20181115-t3868192
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
It's such a small thing but could you add the "Demon" colour back (or Tomato) by any chance? The red colour that's in the palette now is quite dark. I'd appreciate it if you do. If not, I'll survive :D
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Fusionist:
From this thread I just extracted app from zip cause bootloop https://xdaforums.com/android/apps-games/7-0-nougat-omniswitch-flashable-zip-t3456566

Btw you still searching for rotate screen from navbar? You must use stock navbar
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
There's a pie thread as well causing the same bootloops.

When I changed my nav bar I noticed the autorotate option disappeared. But that's okay. The only time I really need that option screen rotating screen button is when I watch YouTube videos. Thanks though!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dugazoid:
Hi gavin,

Just a quick question: currently I am in an old October release, is still needed a clean flash for updating to the latest one?

Thanks!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
It should work fine but personally I'd go for a clean flash as we're now two Android revisions ahead. I backup apps/data with Titanium (or similar) so I can restore them after I flash. That only leaves having to change whatever (stock/crdroid) settings I had set before.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dugazoid:
Great, thanks dude!!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] binarytree:
hi, Gavin, I found that the fingerprint sensor didn’t work while charging, did you know what happened here?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] xX.R.O.G.Xx:
Are you using a custom kernel ?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] mr.hami:
To be exact, in my case it does not work when charging from computer, connect it power adapter and the sensor works just fine..
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dugazoid:
Is it just me or the latest release has a much better battery autonomy?

I've had this issue? since a lot of time ago. I mean, while charging the phone, it usually takes 3-4 tries until the phone unlocks using fingerprint, in this ROM and in Lineage. I do not know if it is normal or not, but for me it has been happening since I left MIUI more than a year ago.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] binarytree:
mine just doesn't work no matter it is connected with the power adaptor or computer. I am using the 11/28 version

---------- Post added at 08:29 AM ---------- Previous post was at 08:28 AM ----------

mine doesn't work at all when charging.

---------- Post added at 08:30 AM ---------- Previous post was at 08:29 AM ----------

mine doesn't work at all when charging.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Wmateria:
Flashed the latest rom and the recommended firmware gavin mentioned, root is a no-go on any of the magisk versions from 17.1 to 18.0, also even tried to mount partitions to see if any differehce as well. Eventually i went back to Lineage 15.1. Don't know why it's so easy to root wirh magisk with lineage 15.1 and not the Pie Roms. Even try to reinstall recovery image to make sure. Have also tried a total clean install, nothing,. Also tried wiping System/data/vendor then the flasing order starting with firmware... no root.