MIUI 12.0 20.5.14


Do you like this MIUI version?


  • Total voters
    389
Status
Not open for further replies.
The solution to get Chrome to work in dark mode is as follows:

1- put Chrome theme in light mode;

2- keep dark mode in Miui's settings;

3- in the Chrome address bar type "chrome: // flags"

4- in the various options that appear, look for "dark" and in the option "Force Dark Mode for Web Contents" choose "enabled" and restart Chrome in the option that appears below.
:)



Tried that already. Not working.

Sent from my MI 9 using Tapatalk
 
I'm having issues with amazfit app.
It shows that I can't login with third app (due the region) and is not sync with the watch...
 
You change the 3g 4g options and after that can't connect anywhere
 

Attachments

  • Screenshot_2020-05-17-11-54-27-204_org.zwanoo.android.speedtest.jpg
    338 KB · Views: 324
Just tried your suggestion to exculed it from global dark mode. Didn't work.

I'm using Mi9
== Workaround to help to fix "Global Dark Mode" ==

Magisk module available => MIUI-FixGlobalDarkMode-Magisk.zip

Features:

1) Auto-apply the fix after a phone's reboot (if needed)
2) To apply the fix via Termux app, type: su -c dmfix

------------------------------------------------------------------------------------------------------

zip to install in TWRP => TWRP_Dark_Mode_Fix_v1.4.1.zip

If you rooted your phone, I advise you to install "Termux" app (on Google Play Store) and open it (at least once) before installing the patch.
(You will understand why if you read "INFO" messages from zip installation) ;)

It will try to fix the status bar color when dark mode is enabled.

IMPORTANT: You will need to apply this workaround again if you disable the dark mode option! :(

EDIT: You may still need to disable some apps in "Individual apps" menu in 'Dark mode' settings if some texts/images are not correctly visible.

EDIT 2: For "Google" app, please install beta version (https://xiaomi.eu/community/threads/dark-mode-and-notification-bar.55643/post-541991) and change "Theme" option in app's settings to "System detection" or "Dark" to fix status bar color.

Enjoy! :)

EDIT 3: v1.4.1 = Auto-close Termux when using 'dmfix' command (if the fix is applied successfully). :D
 
Last edited:
  • Like
Reactions: minotavros
== Workaround to fix "Global Dark Mode" ==

Preamble: If you rooted your phone, I advise you to install "Termux" app (on Google Play Store) and open it (at least once) before installing the patch.
(You will understand why if you read "INFO" messages from zip installation) ;)

Download and install this zip in TWRP => TWRP_Dark_Mode_Fix_v1.4.zip

It will fix the status bar color in Chrome when dark mode is enabled.

Enjoy! :)
Thank you for new solutions!
Before flash zip, Chrome switch in the individual apps must be to 'on' or 'off'?
Also dark mode must be to on or off?
Thanks!

From my MI 9 Lite using Tapatalk
 
It's weird, i have it on mine without issues on gallery or with chrome,all i did dirty flash and just wiped cash and dalvik .

That's all

Sent from my Mi9 Pro 5G using Tapatalk
Hello, I found the issue, it was from Riru Core and Riru EdXposed, I removed them and it is ok now for Chrome, it does not change for sharing pictures.
But now it doesn't pass SafetyNet anymore, ctsProfile : False and basicintegrity : Flase. I don't have any idea how to fix it.
 
Thank you for new solutions!
Before flash zip, Chrome switch in the individual apps must be to 'on' or 'off'?
Also dark mode must be to on or off?
Thanks!

From my MI 9 Lite using Tapatalk
"Individual apps" option doesn't interact with the patch (you can leave it on "on" ^^) :)
Dark mode must be enabled before installing the patch.

EDIT: If you disable dark mode after patch installation, you will lose the fix... :(

That's why having a rooted device can be useful to apply the fix faster. :D

;)
 
  • Like
Reactions: minotavros
Did you try clear all data and cache in chrome

Sent from my Mi 9 Lite using Tapatalk
Alright, now I have chrome in light mode. Setting and status bar and so is light. Just with force dark mode sites are in dark mode. Kind of a good workaround at the moment. Thanks man.

Sent from my MI 9 using Tapatalk
 
  • Like
Reactions: Alan098765
== Workaround to fix "Global Dark Mode" ==

Preamble: If you rooted your phone, I advise you to install "Termux" app (on Google Play Store) and open it (at least once) before installing the patch.
(You will understand why if you read "INFO" messages from zip installation) ;)

Download and install this zip in TWRP => TWRP_Dark_Mode_Fix_v1.4.zip

It will fix the status bar color in Chrome when dark mode is enabled.

Enjoy! :)
Alright, thanks. I'll try it.

Sent from my MI 9 using Tapatalk
 
Something I can do about that?
29905
 
Yes, check your installed Magisk modules and disable/remove "Safety Patch" module if you installed it.
And if you use "EdXposed", it's surely the culpit.
;)
I had before, I uninstalled everything even Magisk, re flashed the ROM, and re flashed Magisk, now I don't have any module, but still, doesn't pass the safetyNet.
 
  • Like
Reactions: Putti
I had before, I uninstalled everything even Magisk, re flashed the ROM, and re flashed Magisk, now I don't have any module, but still, doesn't pass the safetyNet.
Can you check with "SafetyNet Test" app (on Google Play Store) and post a screenshot here.
What's your device?
 
Miui12 very, very bad in RedmiNote7 3/32...lag, lag, and more lag...
Clean install...

Enviado do meu Redmi Note 7 através do Tapatalk
 
hey, when i upgrade via "Installer" app, do i just install the rom in twrp, or do i have to format data again? don't wanna lose all my stuff again.
 
screenshot_2020-05-15-23-06-25-595_com-miui-securitycenter-jpg.29858

After install MIUI12

I have many space occupied in internal memory...more than 9GB with files/junk that I dont know: "OTHERS"
I cant see what is this...can I clean this?
How I have access to this files?
Anyone knows the solution for this?
How I can clean "others"??
I have OrangeFox..
Thank you

Enviado do meu Redmi Note 7 através do Tapatalk
 
hey, when i upgrade via "Installer" app, do i just install the rom in twrp, or do i have to format data again? don't wanna lose all my stuff again.
Hello, the "Installer" app (it's System Updater or "Updater" app ^^) download, verify the download and install update in TWRP directly. No wipes are done. ;)

Here is the report, I don't have any idea about what it is.
Ok, last thing to check is the build.prop file in /system partition, if you can share the file or copy the whole content. ;)
 
  • Like
Reactions: Vebq90
Hello, the "Installer" app (it's System Updater or "Updater" app ^^) download, verify the download and install update in TWRP directly. No wipes are done. ;)


Ok, last thing to check is the build.prop file in /system partition, if you can share the file or copy the whole content. ;)
Oh, I feel that I will learn something.

Code:
# begin common build properties
# autogenerated by build/make/tools/buildinfo_common.sh
ro.system.build.date=Thu May 14 01:30:39 CST 2020
ro.system.build.date.utc=1568840735
ro.system.build.date.utc_real=1589391039
ro.build.fingerprint=Xiaomi/crux/crux:9/PKQ1.190714.001/V10.4.6.0.PFXCNXM:user/release-keys
ro.build.fingerprint_real=Xiaomi/crux/crux:10/QKQ1.190825.002/20.5.14:user/release-keys/1589501127
ro.system.build.fingerprint=Xiaomi/crux/crux:9/PKQ1.190714.001/V10.4.6.0.PFXCNXM:user/release-keys
ro.system.build.fingerprint_real=Xiaomi/crux/crux:10/QKQ1.190825.002/20.5.14:user/release-keys/1589501127
ro.system.build.id=QKQ1.190825.002
ro.system.build.tags=release-keys
ro.system.build.type=user
ro.system.build.version.incremental=20.5.14
ro.system.build.version.release=10
ro.system.build.version.sdk=29
ro.product.system.brand=Xiaomi
ro.product.system.device=crux
ro.product.system.manufacturer=Xiaomi
ro.product.system.model=Mi9 Pro 5G
ro.product.system.name=crux
# end common build properties
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=QKQ1.190825.002
ro.build.keys=release-keys
ro.build.version.incremental=20.5.14
ro.build.version.sdk=29
ro.build.version.preview_sdk=0
ro.build.version.preview_sdk_fingerprint=REL
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=10
ro.build.version.security_patch=2019-08-01
ro.build.version.security_patch_real=2020-04-01
ro.build.version.base_os=
ro.build.version.min_supported_target_sdk=23
ro.build.date=Thu May 14 01:30:39 CST 2020
ro.build.date.utc=1568840735
ro.build.date.utc_real=1589391039
ro.build.type=user
ro.build.user=builder
ro.build.tags=release-keys
ro.build.flavor=crux-user
ro.build.system_root_image=true
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.locale=en-GB
ro.wifi.channels=
# Do not try to parse thumbprint
# end build properties
#
# from device/xiaomi/crux/special_ro.prop
#
# For special ro override property

#support unlimited color temperature adjust
ro.colorpick_adjust=true
ro.all_modes.colorpick_adjust=true

# System property for AD
ro.vendor.display.ad=1
ro.vendor.display.ad.sdr_calib_data=/vendor/etc/sdr_config.cfg
ro.vendor.display.ad.hdr_calib_data=/vendor/etc/hdr_config.cfg
ro.vendor.display.sensortype=2

# prop for amoled panel
ro.display.type=oled

# displayfeature use poll to monitor backlight brightness
ro.xiaomi.bl.poll=true

#support night mode 2.0
ro.eyecare.brightness.threshold=11
ro.eyecare.brightness.level=5
ro.hist.brightness.threshold=7

# White Point Calibration
ro.whitepoint_calibration_enable=false

#Property for display feature histogram
ro.displayfeature.histogram.enable=true

#property for liblight to get dc backlight threshold
persist.displayfeature.dc_backlight.threshold=610

# For special ro override property 0: not support 1:nsa 2:sa 3: 1+2
ro.vendor.radio.5g=1

#support LLM2.0 feature
ro.vendor.radio.llm=true

#support Dim layer
ro.fod.dimlayer.enable=true

# prop for software 12bit bl
ro.vendor.soft_backlight.enable=true
#
# from device/xiaomi/sm8150_common/common_ro.prop
#
# For common ro override property

#
# from device/xiaomi/sm8150_common/system.prop
#
#
# system.prop for sdm845
#

rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so
#rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=RUIM

#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1

# subsystem ramdump
persist.vendor.ssr.restart_level=ALL_ENABLE
persist.vendor.ssr.enable_ramdumps=1

DEVICE_PROVISIONED=1
# Set network mode to (T/L/G/W/1X/EVDO, T/L/G/W/1X/EVDO) for 7+7 mode device on DSDS mode
ro.telephony.default_network=9,9
ro.telephony.default_cdma_sub=0

#set ims related prop
#persist.dbg.volte_avail_ovr=1
#persist.dbg.vt_avail_ovr=1
persist.radio.VT_HYBRID_ENABLE=1

#set dpm related prop
persist.vendor.dpm.feature=1
persist.vendor.dpm.nsrm.bkg.evt=3955

#set RIJL video call related prop
persist.radio.NO_STAPA=1

# Report redirection call number
persist.vendor.radio.redir_party_num=1

#for special cdma card sms issue
persist.vendor.radio.force_on_dc=true

#disable strictmode
persist.sys.strictmode.disable=true

#set SAR feature
persist.radio.dynamic_sar=false

#Enable manual network selection function and distinguish 2G/3G/4G
persist.vendor.radio.rat_on=combine

#disble rcs service
persist.rcs.supported=0

dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1

#ro.hdmi.enable=true
#persist.speaker.prot.enable=false
qcom.hw.aac.encoder=true
#
# system props for the cne module
#
persist.vendor.cne.feature=1

#system props for the MM modules
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
media.stagefright.thumbnail.prefer_hw_codecs=true
mmp.enable.3g2=true
media.aac_51_output_enabled=true
media.settings.xml=/vendor/etc/media_profiles_vendor.xml
#13631487 is decimal sum of supported codecs in AAL
#codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS FLV 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE DSD MOV XVID
vendor.mm.enable.qcom_parser=63963135
persist.mm.enable.prefetch=true

#
# system props for the data modules
#
ro.vendor.use_data_netmgrd=true
persist.vendor.data.mode=concurrent

#system props for time-services
persist.timed.enable=true

#
# system prop for opengles version
#
# 196608 is decimal for 0x30000 to report version 3
# 196609 is decimal for 0x30001 to report version 3.1
# 196610 is decimal for 0x30002 to report version 3.2
ro.opengles.version=196610

#
# System props for telephony
# System prop to turn on CdmaLTEPhone always
telephony.lteOnCdmaDevice=1

#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true

ro.bluetooth.library_name=libbluetooth_qti.so
persist.vendor.btstack.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aptxadaptive-aac-ldac
persist.vendor.btstack.enable.twsplus=true
persist.vendor.btstack.connect.peer_earbud=true
persist.vendor.btstack.enable.twsplussho=true

ro.bluetooth.emb_wp_mode=false
ro.bluetooth.wipower=false

#sysprop for WLAN
ro.wlan.vendor=qcom
ro.wlan.chip=39xx
ro.wlan.mimo=1

#
#snapdragon value add features
#
ro.qc.sdk.audio.ssr=false

##fluencetype can be "fluence" or "fluencepro" or "none"
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true

#system prop for RmNet Data
persist.rmnet.data.enable=true
persist.data.wda.enable=true
persist.data.df.dl_mode=5
persist.data.df.ul_mode=5
persist.data.df.agg.dl_pkt=10
persist.data.df.agg.dl_size=4096
persist.data.df.mux_count=8
persist.data.df.iwlan_mux=9
persist.data.df.dev_name=rmnet_usb0

##property to choose between virtual/external wfd display
persist.sys.wfd.virtual=0

#property to enable HWC for VDS
debug.sf.enable_hwc_vds=1

# enable tunnel encoding for amrwb
tunnel.audio.encode = true

#Buffer size in kbytes for compress offload playback
audio.offload.buffer.size.kb=32

#Enable offload audio video playback by default
av.offload.enable=true

#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true

# system prop for NFC DT
ro.nfc.port=I2C

#enable dsp gapless mode by default
audio.offload.gapless.enabled=true

#initialize QCA1530 detection
sys.qca1530=detect

#Enable stm events
persist.debug.coresight.config=stm-events

#hwui properties
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024

config.disable_rtt=true

#Bringup properties
persist.sys.force_sw_gles=1
persist.vendor.radio.atfwd.start=true
ro.kernel.qemu.gles=0
qemu.hw.mainkeys=0

#Expose aux camera for below packages
vendor.camera.aux.packagelist=com.qualcomm.saltproject2,com.miui.cit,com.android.camera

#enable IZat OptInApp overlay
persist.vendor.overlay.izat.optin=rro

#Property to enable Mag filter
persist.vendor.sensors.enable.mag_filter=true

#logd buffer size
ro.logd.size=2M

#Netflix custom property
ro.netflix.bsp_rev=Q855-16947-1

#disable dpm log
persist.vendor.dpm.loglevel=0

# enable b-services aging propagation
ro.vendor.qti.sys.fw.bservice_enable=true

# enable temp dds
persist.vendor.radio.enable_temp_dds=true

#set property to avoid printing IMS_DataD message
persist.vendor.ims.disableADBLogs=1
persist.vendor.ims.disableIMSLogs=1

# property to latch unsignaled buffer
debug.sf.latch_unsignaled=1
# end of device/xiaomi/sm8150_common/system.prop
#
# from device/xiaomi/sm8150_common/common_rw.prop
#
# For common rw override property

#open geofence switch
persist.sys.gps.fence=true
#
# from device/xiaomi/crux/special_rw.prop
#
# For special rw override property

#set the mfnr frame num
persist.vendor.camera.mfnrframenum=8
#system property for camera
persist.vendor.camera.multicam=TRUE
#Enable NCS, TOF and HAF
persist.vendor.camera.enableNCSService=TRUE
persist.vendor.camera.enableTOFInterface=TRUE
#persist.vendor.camera.af.disablehaf=2
#dualcam sat fallback setting
persist.camera.sat.fallback.dist=40
persist.camera.sat.fallback.dist.d=10
persist.camera.sat.fallback.luxindex=310
persist.camera.sat.fallback.lux.d=50
#system property for displayfeature hidl
sys.displayfeature_hidl=true
#system property for HBM mode
sys.displayfeature.hbm.enable=true
#system prop for Bluetooth TWS+ feature
persist.vendor.btstack.enable.twsplus=true
persist.vendor.btstack.connect.peer_earbud=true
#modem SAR backoff properties
persist.radio.sar_sar_sensor=true

# set modem configuration
persist.radio.multisim.config=dsds
persist.vendor.radio.5g_mode_pref=1
persist.vendor.radio.5g_mode_pref_0=1
persist.vendor.radio.5g_mode_pref_1=1

#Performance perf mi
vendor.perflocks_customized_for_apps=1

#for mi triple charging
persist.vendor.cp.ilim_proximity=84
persist.vendor.cp.qc4.max_delta_decidegc=200
persist.vendor.cp.qc4.min_delta_decidegc=-200
persist.vendor.cp.vbus_offset_mv=1500
persist.vendor.cp.delta_icl_main_cc_mode_ua=500000
persist.vendor.cp.delta_ilim_cc_mode_ua=500000
persist.vendor.cp.wireless_max_delta_decidegc=200
persist.vendor.cp.wireless_min_delta_decidegc=-200
persist.vendor.cp.qc3_max_delta_decidegc=200
persist.vendor.cp.qc3_min_delta_decidegc=-200
persist.vendor.cp.qc3_ilim_proximity=60
persist.vendor.cp.qc3_fcc_main_ua=2000000
persist.vendor.cp.wireless_voltage_inc_step_mv=50
persist.vendor.cp.wireless_voltage_dec_step_mv=50
persist.vendor.cp.wireless_voltage_settled_ms=300
persist.vendor.cp.log_level=1
#quick charge type detect
persist.quick.charge.detect=1

#qdcm factory mode
vendor.display.qdcm.disable_factory_mode=1
vendor.display.qdcm.mode_combine=1

#system prop for dc backlight
persist.displayfeature.dc_backlight.enable=false
persist.fod.modified.dc_status=false

#dsd prop
persist.vendor.radio.force_ltd_sys_ind=1
persist.vendor.radio.data_ltd_sys_ind=1

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.mi.development=false
ro.miui.version.code_time=1589385600
ro.rom.zone=1
ro.miui.has_gmscore=1
ro.miui.build.region=global
ro.miui.ui.version.code=10
ro.miui.ui.version.name=V12
ro.fota.oem=Xiaomi
ro.vendor.build.software.version=Android10_12
persist.vendor.radio.report_codec=1
persist.vendor.radio.redir_party_num=1
ro.config.media_vol_default=10
ro.miui.pm.movedtodata.apps=com.google.android.apps.photos,com.google.android.apps.docs,com.google.android.music,com.google.android.videos,com.google.android.apps.tachyon
persist.vm.stackdump.threshold=0
ro.malloc.impl=jemalloc
persist.sys.slab.threshold=256000,358400,460800,665600,819200
persist.sys.timezone=Asia/Shanghai
persist.miui.density_v2=440
debug.sf.disable_backpressure=1
ro.miui.notch=1
ro.miui.ui.fonttype=mipro
ro.miui.ui.font.theme_apply=true
ro.treble.enabled=true
net.bt.name=Android
ro.vendor.qti.va_aosp.support=1
persist.sys.mitalk.enable=true
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
ro.com.android.mobiledata=false
ro.product.manufacturer=Xiaomi
ro.config.elder-ringtone=Angel.mp3
keyguard.no_require_sim=true
ro.com.android.dataroaming=false
persist.enable_task_snapshots=false
sys.miui.shutdown.waittime=500
persist.sys.watchdog_enhanced=true
dalvik.vm.dexopt.secondary=true
persist.power.useautobrightadj=true
persist.radio.apm_sim_not_pwdn=1
ro.com.google.clientidbase=android-xiaomi
ro.miui.has_real_blur=1
ro.miui.has_handy_mode_sf=1
ro.sf.lcd_density=440

ro.product.mod_device=crux_xiaomieu_global
# ADDED BY XIAOMI.EU # MIUIOS.CZ # MIUIPOLSKA.PL #
ro.modversion=xiaomi.eu_miuios.cz_miuipolska.pl
ro.xiaomi.developerid=ingbrzy_acid_igoreisberg
ro.build.host=xiaomi.eu
ro.xiaomi.eu.version.code_time=1589501127
ro.miui.ui.version.code.beta=0
ro.media.enc.jpeg.quality=100
ro.config.media_vol_steps=30
ro.config.vc_call_vol_steps=14
ro.bluetooth.remote.autoconnect=true
ro.bluetooth.request.master=true
persist.sys.timezone=Europe/Warsaw
ro.miui.region=PL
ro.product.locale.language=en
ro.product.locale.region=US
ro.miui.wifi.region=GB
ro.miui.mcc=9998
ro.miui.mnc=9999
sys.display-size=3840x2160
ro.com.google.ime.themes_dir=/system/etc/gboard_theme
ro.com.google.ime.theme_file=xiaomi_theme_20171222.zip
ro.opa.eligible_device=true
ro.com.google.gmsversion=10_201908
ro.setupwizard.rotation_locked=true
setupwizard.theme=glif_v3_light
drm.service.enabled=true
ro.adb.secure=1
persist.adb.notify=0
net.dns1=1.1.1.1
net.dns2=1.0.0.1
 
Last edited by a moderator:
Status
Not open for further replies.

Similar threads