MIUI 10 9.6.5


Do you like this MIUI version?


  • Total voters
    346
Status
Not open for further replies.
For showing back this option, do the following. I'm not sure if this option disabled or just showing up
- Connect device to computer with adb and USB debug enabled
- adb shell -> enter
- setprop persist.sys.miui_optimization false -> enter
Do with your own risk :D

Thank you very much for this awesome trick!
Unfortunately, any attempts to alter this setting fail on my Whyred:

Code:
C:\adb>adb devices
List of devices attached
49e220cc        device

C:\adb>adb shell
whyred:/ $ setprop persist.sys.miui_optimization false
setprop: failed to set property 'persist.sys.miui_optimization' to 'false'
1|whyred:/ $

I've tried it after I disabled my firewall, connected to my MI account and enabled everything related to the USB in the Developper options.
I have no clue why this command fails.

Anyway, I wonder which is the real value of this setting because I remember enabling it before it withdraws from the Developper options but adb pretends its actual value is false:

Code:
127|whyred:/ $ getprop persist.sys.miui_optimization
false
 
Can't enable voice match on Google assistant.
24943
 
  • Like
Reactions: japancakes
@almacarbon95
Already reported several times. Not a problem from .eu Rom. Maybe fixed in next Release, depending on Device. You should always notice which device you're using.
 
Moved my Mi 9 from Chinese ROM to this one last night. My camera app insists I should put in the SD card before it gets to work.

What did I do wrong?
All manuals said to wipe /data when flashing new ROM so I did. But I didn't wipe anything else. All manuals also said "DO NOT WIPE PERSIST!!!111one" and there was no /persist so I didn't wipe anything else but /data.

Any help appreciated! :)
 
For showing back this option, do the following. I'm not sure if this option disabled or just showing up
- Connect device to computer with adb and USB debug enabled
- adb shell -> enter
- setprop persist.sys.miui_optimization false -> enter
Do with your own risk :D

In which version did Miui optimization disappeared from develloper options?
 
Moved my Mi 9 from Chinese ROM to this one last night. My camera app insists I should put in the SD card before it gets to work.

What did I do wrong?
All manuals said to wipe /data when flashing new ROM so I did. But I didn't wipe anything else. All manuals also said "DO NOT WIPE PERSIST!!!111one" and there was no /persist so I didn't wipe anything else but /data.

Any help appreciated! :)

Not really sure it makes a difference, but in tutorial it is written you should Format, not Wipe the Data Partition.
  • FORMAT /data partition (NEVER wipe System or Persist!)
Out of my experience, it is never bad to clean dalvik/cache :)
 
Thank you very much for this awesome trick!
Unfortunately, any attempts to alter this setting fail on my Whyred:

Code:
C:\adb>adb devices
List of devices attached
49e220cc        device

C:\adb>adb shell
whyred:/ $ setprop persist.sys.miui_optimization false
setprop: failed to set property 'persist.sys.miui_optimization' to 'false'
1|whyred:/ $

I've tried it after I disabled my firewall, connected to my MI account and enabled everything related to the USB in the Developper options.
I have no clue why this command fails.

Anyway, I wonder which is the real value of this setting because I remember enabling it before it withdraws from the Developper options but adb pretends its actual value is false:

Code:
127|whyred:/ $ getprop persist.sys.miui_optimization
false
My case, when it set to true, this option hide, false show
Try adb shell, then su to grand super su permission to shell. My device already have su permission. Try toggle true, false
 
  • Like
Reactions: Lermite
Thank you very much for this awesome trick!
Unfortunately, any attempts to alter this setting fail on my Whyred:

Code:
C:\adb>adb devices
List of devices attached
49e220cc device

C:\adb>adb shell
whyred:/ $ setprop persist.sys.miui_optimization false
setprop: failed to set property 'persist.sys.miui_optimization' to 'false'
1|whyred:/ $

I've tried it after I disabled my firewall, connected to my MI account and enabled everything related to the USB in the Developper options.
I have no clue why this command fails.

Anyway, I wonder which is the real value of this setting because I remember enabling it before it withdraws from the Developper options but adb pretends its actual value is false:

Code:
127|whyred:/ $ getprop persist.sys.miui_optimization
false
I assume you need to be root for that, try su - first.

Sent from my MI 8 Explorer Edition
 
My case, when it set to true, this option hide, false show
Try adb shell, then su to grand super su permission to shell. My device already have su permission. Try toggle true, false
Thanks! It worked.

I might check through
getprop persist.sys.miui_optimization
that its value is assigned for real, whether it's true or false.
 
merhaba bende mi 9se son güncellemeyi nasıl yüklerim 10.3.3.0 sürümü bana link atıp yardımcı olabilecek varmı otomatik yüklenmiyor
You should try to ask in english, this is an international Forum...
Also you're asking in the wrong Thread. This is about the Beta (Dev) Updates...
 
What is the benefit of Miui optimalisation enabled for the user?
System behavior will be as designed by Xiaomi, for starters. It's not a matter of "benefit". It's a matter of: don't make the system behave in ways it was not designed to behave (or else, don't report bugs at all).

This option is enabled by default.
If you disabled it with an older rom, it remains displayed even in the latest rom, but as soon you enable it, it disappears forever.

It's a trap to whoever needs this settings to be disabled.
The "'explanation" of such a behavior is that disabling this setting can give an unexpected behavior and give many false bugs reports so xiaomi.eu decided to force it enabled.

Let's hope they don't end up handling every settings the same way only to get less bug reports.
Based on your last sentence's attitude, I think you misunderstood my explanation. That setting was never meant for the end-user. Whatever you can "do" after disabling it, is not part of the official MIUI design. It was meant for system developers, as it overrides certain behaviors that, by default, should behave differently (as with Ambient display availability, as a small example).
So, if users fail to understand that disabling this can have consequences which we either don't have control over, or we have no intention to touch (since whatever happens after you disable it is not part of our features), then we will keep this setting off-limits from our ROM.
We could do the same for the whole Developer options panel, if we ever deemed so necessary. Everything in that menu is experimental and unsupported.

Now, without the ability to disable "MIUI optimisations", we (at least I) have to deal with this forced hibernation.
And if you have any issues with that, point them out directly to Xiaomi, this is not our design choice and nothing we can change.
 
Not really sure it makes a difference, but in tutorial it is written you should Format, not Wipe the Data Partition.
  • FORMAT /data partition (NEVER wipe System or Persist!)
Out of my experience, it is never bad to clean dalvik/cache :)
Thank you vcdwelt! This actually makes much more sense than what I've been doing :( First time, so I didn't know what's safe to format or wipe. I'll try again this evening. Thanks for the help!
 
Not really sure it makes a difference, but in tutorial it is written you should Format, not Wipe the Data Partition.
  • FORMAT /data partition (NEVER wipe System or Persist!)
Out of my experience, it is never bad to clean dalvik/cache :)
Thanks a lot, amigo!

Sent from my Mi MIX 2 using Tapatalk
 
...We could do the same for the whole Developer options panel, if we ever deemed so necessary. Everything in that menu is experimental and unsupported.
I agree that many settings if the Developper section are only usefull to developpers.
But several settings are simple, stable and useful enough to everybody that they should remain available to anybody, and perhaps moved to another sections.

According to my own personnal point of view as a barely power user:

Disable the lockscreen: I live alone and the lockscreen is nothing but a burden to me. I only need to switch the screen on or off, without any other action that pressing the power button or opening the magnetic holster to use my phone. This settings should be moved to the Lockscreen section.

Extended power menu: it's much more convenient to boot to Fastboot or Recovery without having to shut down the phone then pressing two buttons. It should be moved but I'm not sure where, perhaps Display or Accessibility.

Fictive location app
: I use Automate to "fake" my real location when I'm home, when my phone can't receive any GPS signal. It avoid me to have to got out reach time an app require my location.
It should be moved in Confidentiality.

Animation scales: I prefer a fast interface than a "nice" one. That's why I'm used to disabled the useless animations that only slow down the use of the phone.

DPI: Everybody doesn't need a huge display because of view issues. According to my own taste and requirements, 392 isn't enough: everything is too big, even with the minimal value of every size settings. There's no point to have a full HD screen if it only displays huge texts.
That's why I'm used to 460 instead. This one should be moved to Display.

Allows all the apps to write on the external storage: I have no reason to prevent any app to use my SD card but somebody else may need to limit the I/O to the internal storage.
This setting looks easy enough to understand to be accessible to everybody, not only developers.

Do not keep the activities: I'd like this setting to work as suggested, by really closing the apps that I quit, instead of letting them running in background and relying on the hibernating feature to avoid them to use too much the battery.
 
  • Like
Reactions: qbert
I agree that many settings if the Developper section are only usefull to developpers.
But several settings are simple, stable and useful enough to everybody that they should remain available to anybody, and perhaps moved to another sections.

According to my own personnal point of view as a barely power user:

Disable the lockscreen: I live alone and the lockscreen is nothing but a burden to me. I only need to switch the screen on or off, without any other action that pressing the power button or opening the magnetic holster to use my phone. This settings should be moved to the Lockscreen section.

Extended power menu: it's much more convenient to boot to Fastboot or Recovery without having to shut down the phone then pressing two buttons. It should be moved but I'm not sure where, perhaps Display or Accessibility.

Fictive location app: I use Automate to "fake" my real location when I'm home, when my phone can't receive any GPS signal. It avoid me to have to got out reach time an app require my location.
It should be moved in Confidentiality.

Animation scales: I prefer a fast interface than a "nice" one. That's why I'm used to disabled the useless animations that only slow down the use of the phone.

DPI: Everybody doesn't need a huge display because of view issues. According to my own taste and requirements, 392 isn't enough: everything is too big, even with the minimal value of every size settings. There's no point to have a full HD screen if it only displays huge texts.
That's why I'm used to 460 instead. This one should be moved to Display.

Allows all the apps to write on the external storage: I have no reason to prevent any app to use my SD card but somebody else may need to limit the I/O to the internal storage.
This setting looks easy enough to understand to be accessible to everybody, not only developers.

Do not keep the activities: I'd like this setting to work as suggested, by really closing the apps that I quit, instead of letting them running in background and relying on the hibernating feature to avoid them to use too much the battery.
Hence we keep these settings available. However, that doesn't mean we provide any support for whatever they do. We don't control Android to that extent.
Note: the "Extended power menu" option was added by us, and we placed it in Developer options because it's meant for power users who need easy access to TWRP or fastboot. Also not meant for casual users.
 
  • Like
Reactions: qbert
Installed it in my Mi8 dipper. Worked great until I changed border from Germany to Austria. With Roaming = On my Phone gets unusable. All Apps are freezing, System ui crashes permanently. Using it in flight Mode or WLAN is still okay, only when in Roaming. Tried different SIM cards and carriers, No difference.

Any ideas?

Hello,
Same on mi mi 9 SE when using a German card in Luxembourg and also a Luxembourgish card in Germany.

Thanks molki
 
  • Like
Reactions: XiaomiSGW
Hello,
Same on mi mi 9 SE when using a German card in Luxembourg and also a Luxembourgish card in Germany.

Thanks molki
I had a similar problem with my Italian sim card when I travel in Romania or Bulgaria, phone become unusable. I resolved definitely changing the settings of rooming in sim menu. Let unlimited rooming for all applications and reboot. In my case that totally resolved the freezing.
 
  • Like
Reactions: molki
Xiaomi Mi9 with encryption removed:
Dirty flash. A strange thing happens. After installation system boots correctly and all is fine.
After installation magisk module for root through twrp and rebooting system starts and after 1-2 seconds when pin screen is displayed phone reebots to twrp again and so on. Never happened to me before. Wiping Dalvik cache does not help at all.
TWRP wzsx150 3.3.0-9.0-b17
Magisk 19.3
The same is happening to me. mi A2 / 6x
 
I had a similar problem with my Italian sim card when I travel in Romania or Bulgaria, phone become unusable. I resolved definitely changing the settings of rooming in sim menu. Let unlimited rooming for all applications and reboot. In my case that totally resolved the freezing.

Worked Not for me, Had to Go back on 9.5.30...
 
Hence we keep these settings available. However, that doesn't mean we provide any support for whatever they do. We don't control Android to that extent.
Note: the "Extended power menu" option was added by us, and we placed it in Developer options because it's meant for power users who need easy access to TWRP or fastboot. Also not meant for casual users.

I don't know the ratio of rooted devices running your roms but all of them probably use TWRP to install a new rom.

And everybody can use it to make backups/restores because it's the more efficient and reliable way to do them.
I use it to backup my stuff at least once per week, and the ability to reboot directly in TWRP makes it less fastidious.

I believe that numerous enough of your users need an easy access to TWRP for the Extended Power Menu to be more accessible than in the Developper options.

I agree with you about Fastboot though but even if somebody that uses this feature to boot to fastboot by mistake should not cause any damage and quickly realize another reboot is required to get to the targeted place.
 
Status
Not open for further replies.

Similar threads

  • Locked
HyperOS 1.0 24.7.1
Replies
54
Views
44K
Replies
51
Views
44K
  • Locked
HyperOS 1.0 24.7.15/17
Replies
87
Views
53K
  • Locked
HyperOS 1.0 24.6.3
Replies
46
Views
46K