[HOW-TO] Reset and restore quick setting to default

Dims_Camper

Senior Member
Oct 2, 2012
648
158
73
Animus
can confirm this still works on 2020! i'm using miui on redmi note 8 and have no "edit" quick tiles, using this command i can bring back those missing quick tiles. thanks!
 

drmorten

Member
Jan 6, 2018
22
2
3
Yes thanks this worked for me in 2020 for Xiaomi Mi 10 Pro that was missing the quick setting toggle choices/second page and the edit toggles facility.
This is damn useful after doing dirty rom flashes.
I mean normally after you flash a rom without doing wipe, you might miss out new quick setting(wifi, bluetooth, data toggles on swiping down top screen to see notification)

adb shell settings put secure sysui_qs_tiles default

originally found here https://plus.google.com/+KieronQuinn/posts/3ZUzZhGa83s
 

gameboy007

New member
Feb 4, 2011
2
0
0
I have the same problem: no second page, no edit button for quick toggles.

Unfortunately, the suggested solution with the adb command does not work for me because of some security issu:

Code:
adb shell settings put secure sysui_qs_tiles default
Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS

java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
        at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:2050)
        at com.android.providers.settings.SettingsProvider.mutateSecureSetting(SettingsProvider.java:1570)
        at com.android.providers.settings.SettingsProvider.insertSecureSetting(SettingsProvider.java:1530)
        at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:437)
        at android.content.ContentProvider.call(ContentProvider.java:2161)
        at android.content.ContentProvider$Transport.call(ContentProvider.java:477)
        at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:375)
        at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:277)
        at android.os.ShellCommand.exec(ShellCommand.java:104)
        at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:49)
        at android.os.Binder.shellCommand(Binder.java:881)
        at android.os.Binder.onTransact(Binder.java:765)
        at android.os.Binder.execTransactInternal(Binder.java:1021)
        at android.os.Binder.execTransact(Binder.java:994)
Any suggestions on how I can make that work?

Edit: My phone is Xiaomi Mi 9T with global ROM, all updates installed.
 
Last edited:

gameboy007

New member
Feb 4, 2011
2
0
0
Solution: "USB debugging (Security settings)" must also be activated. This requires a Mi-Account for the Xiaomi cloud the be entered in the phone settings.

After that, the adb command has worked and has solved the problem:

Code:
adb shell settings put secure sysui_qs_tiles default
Now I have a second page in the quick toggles and I can edit them. (I did not need to reboot the phone.)
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone