FORUMS

[GUIDE] Remove suggestions from settings (Stock Android 10)

89 posts
Thanks Meter: 87
 
By eltonb, Member on 2nd May 2020, 11:55 AM
Post Reply Email Thread
Hi there!

So, anybody who updated to android 10 knows about the annoying suggestions appearing in settings, which at the moment can't be dismissed or swiped away. Clearing the data of Settings Suggestions app can "fix" the issue momentarily but it'll come back again. Seems like the issue is about suggestions.xml file (/data/data/com.android.settings.intelligence/shared_prefs/suggestions.xml) not updating the boolean values correctly.

Examples:

Code:
<boolean name="com.android.settings/com.android.settings.wallpaper.StyleSuggestionActivity_is_dismissed" value="false" />
Code:
<boolean name="com.android.settings/com.android.settings.wallpaper.WallpaperSuggestionActivity_is_dismissed" value="false" />
The above lines must be changed from "false" to "true" in order for the suggestions to be dismissed but root is required to access and edit the suggestions.xml file i mentioned above. However, i managed to discover a rootless way of doing that by creating an adb data only backup of Settings Suggestions app. I used adb backup extractor to extract the backup file and edit suggestions.xml, restored the edited backup file via adb restore and the suggestions were gone. I've tried the method twice just to be sure and it's working.

I'm attaching the zip containing the edited backup file that you guys can restore using "adb restore data.ab" command.

NOTE: The restore process won't work on old adb drivers so make sure you use the latest platform tools before trying.
https://dl.google.com/android/reposi...st-windows.zip
Attached Files
File Type: zip data_v6.zip - [Click for QR Code] (1.8 KB, 724 views)
The Following 24 Users Say Thank You to eltonb For This Useful Post: [ View ] Gift eltonb Ad-Free
2nd May 2020, 04:04 PM |#2  
Sapper Morton's Avatar
Senior Member
Thanks Meter: 409
 
More
Could you also include a backup of this boolean?
Code:
<boolean name="com.google.android.gm/com.google.android.gm.setup.AccountSetupFinalGmailSuggestions_is_dismissed" value="true" />
2nd May 2020, 04:36 PM |#3  
OP Member
Flag Tirana
Thanks Meter: 87
 
More
Quote:
Originally Posted by Sapper Morton

Could you also include a backup of this boolean?

Code:
<boolean name="com.google.android.gm/com.google.android.gm.setup.AccountSetupFinalGmailSuggestions_is_dismissed" value="true" />

There you go!
Attached Files
File Type: zip data_v2.zip - [Click for QR Code] (1.8 KB, 234 views)
The Following 2 Users Say Thank You to eltonb For This Useful Post: [ View ] Gift eltonb Ad-Free
2nd May 2020, 05:21 PM |#4  
Junior Member
Thanks Meter: 0
 
More
Can you please explain step by step how to do this? Do I have to download a certain app or connect my phone into a pc/laptop?
2nd May 2020, 06:49 PM |#5  
OP Member
Flag Tirana
Thanks Meter: 87
 
More
Quote:
Originally Posted by THEGEEK2015

Can you please explain step by step how to do this? Do I have to download a certain app or connect my phone into a pc/laptop?

1 - Make sure you have the latest adb drivers.
2 - Extract the attached zip and put "data.ab" in the same folder were the adb executable is.
3 - Enable usb debugging in your device
4 - Connect the device and execute "adb restore data.ab" in adb
The Following 6 Users Say Thank You to eltonb For This Useful Post: [ View ] Gift eltonb Ad-Free
3rd May 2020, 06:51 AM |#6  
jolas's Avatar
Senior Member
Flag Athens
Thanks Meter: 416
 
More
Quote:
Originally Posted by eltonb

1 - Make sure you have the latest adb drivers.
2 - Extract the attached zip and put "data.ab" in the same folder were the adb executable is.
3 - Enable usb debugging in your device
4 - Connect the device and execute "adb restore data.ab" in adb

I'm afraid that by replacing our data.ad with the one provided by you, will cost the loss of our app data.
Is there a toolkit to help us edit data.ad?
3rd May 2020, 08:52 AM |#7  
OP Member
Flag Tirana
Thanks Meter: 87
 
More
Quote:
Originally Posted by jolas

I'm afraid that by replacing our data.ad with the one provided by you, will cost the loss of our app data.
Is there a toolkit to help us edit data.ad?

As u can notice, the backup is a mere 2 kb file. It's a backup of only the Settings Suggestions app data, which is responsible for the suggestions in settings. However, if u are not comfortable using my backup, adb backup extractor is the tool you need....
The Following 3 Users Say Thank You to eltonb For This Useful Post: [ View ] Gift eltonb Ad-Free
3rd May 2020, 09:34 AM |#8  
amnher's Avatar
Senior Member
Flag Taguig
Thanks Meter: 590
 
More
Just wanna clarify if this needs root or not
3rd May 2020, 09:56 AM |#9  
tejas1903's Avatar
Member
Flag Pune
Thanks Meter: 24
 
More
Bro, Thanks a lot for your work and even big thanks for sharing! I have one more bug that I saw only a few people mentioning. I have sent it to Xiaomi also but there's no response. So here is the deal. I see the font and display size as 'big' on the lockscreen, when I have kept settings of both to 'small'. I have to go to settings and do some back n forth to get the uniform results. It turns back after I restart the device. Do you know or could you please find any solution to it? Thanks again!
3rd May 2020, 11:02 AM |#10  
OP Member
Flag Tirana
Thanks Meter: 87
 
More
@amnher Nope, only adb

@tejas1903 In my case, when i change the display size, certain elements like the power menu revert back to their original size after locking the phone (lock screen isn't affected though). I noticed it only happens when i use fingerprint unlock, which means getting rid of the fingerprints and keeping pin/password/pattern only as a method of unlocking fixes the issue in my case. I don't know if we are affected by the same bug, you can test it by removing the fingerprint and see for yourself. It's a pitty, when the first android 10 update came i thought the suggestion bug would be fixed by the 2nd update, yet here we are on the 4th one. Xiaomi really takes it's time in fixing the bugs however i still hope for a future bug free release....
The Following 3 Users Say Thank You to eltonb For This Useful Post: [ View ] Gift eltonb Ad-Free
3rd May 2020, 12:11 PM |#11  
tejas1903's Avatar
Member
Flag Pune
Thanks Meter: 24
 
More
Quote:
Originally Posted by eltonb

@amnher Nope, only adb

@tejas1903 In my case, when i change the display size, certain elements like the power menu revert back to their original size after locking the phone (lock screen isn't affected though). I noticed it only happens when i use fingerprint unlock, which means getting rid of the fingerprints and keeping pin/password/pattern only as a method of unlocking fixes the issue in my case. I don't know if we are affected by the same bug, you can test it by removing the fingerprint and see for yourself. It's a pitty, when the first android 10 update came i thought the suggestion bug would be fixed by the 2nd update, yet here we are on the 4th one. Xiaomi really takes it's time in fixing the bugs however i still hope for a future bug free release....

Okay will try.. and Thanks again!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes