yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
I'll keep the backup file updated with any new suggestion that appears until Xiaomi fixes it, if they do. I haven't encountered this one yet, which means i don't know the corresponding boolean to add to the suggestions.xml. If you manage to find it you can post it right here. If you can't, you can also post a data backup of your Settings Suggestions app using the following command (and i'll find it myself):

adb backup -f data.ab -noapk com.android.settings.intelligence
[Xiaomi Mi A3 Guides, News, & Discussion] birdflesh:
It should be this line:

<boolean name="com.google.android.gms/com.google.android.gms.trustagent.discovery.OnbodyPromotionActivity_is_dismissed" value="true" />

Btw, thank you very much, this is also a problem for Mi A2 since the android 10 update and your workaround worked great for me too.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
You're welcome! Mi A3, Mi A2, Mi A2 Lite and some other Nokia phones seem to have this issue. Thanks for posting the On Body Detection boolean, however since my "suggestions.xml" has no such line and i added it manually, i don't know if it'll work.... So, i'm attaching a test backup file which [MENTION=6501832]gamernayeem[/MENTION] or anyone who has the On Body Detection suggestion can try and see if it works. I'll update the OP then
[Xiaomi Mi A3 Guides, News, & Discussion] cipinet:
Thanks man, i use your ideea to mi A2lite with andro Q, with same problem. I have a question: in the process of unpacking you use linux or just windows?
[Xiaomi Mi A3 Guides, News, & Discussion] cipinet:
On Mi A2lite:

<boolean name="com.google.android.setupwizard/com.google.android.setupwizard.deferred.DeferredSettingsSuggestionActivity_is_dismissed" value="true" />

<boolean name="com.android.settings/com.android.settings.notification.ZenSuggestionActivity_is_dismissed" value="true" />
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
[MENTION=797212]cipinet[/MENTION] I use windows. Are the lines you mentioned suggestions you can't dismiss on your mi a2 lite?
[Xiaomi Mi A3 Guides, News, & Discussion] gamernayeem:
your test version worked, on body detection is gone. :good:

still i am attaaching my data.ab and current settings menu screenshot,

as i don't know how to read data.ab file
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Nice! Thanks for letting me know. I'll update the OP with the new lines as soon as i get home. Your data.ab was just in case the test version wouldn't work, but thanks for posting it anyway. If you want to read adb backup files you need ADB Backup Extractor and java installed on your system ?.
[Xiaomi Mi A3 Guides, News, & Discussion] gamernayeem:
Ok i will try that next time
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
OP updated with "On Body Detection" suggestion!
[Xiaomi Mi A3 Guides, News, & Discussion] Vip.Shaper:
Please tell me if your instruction will affect the integrity of the system, and does this not violate OTA?
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Absolutely no! It only affects the Settings Suggestions app by replacing it's data.
[Xiaomi Mi A3 Guides, News, & Discussion] Vip.Shaper:
Ok, got it. Thank!
[Xiaomi Mi A3 Guides, News, & Discussion] cipinet:
I have rooted phone so I've just set all boolean values to true. But your method is interesting because I hope not interfere with OTA update. I've posted those lines to show you there is more.

When unpack with command "java -jar abe.jar unpack data.ab data.tar" i get some errors, same when use "java -jar abe.jar pack data.tar data.ab" but it's working. I don't have much experience and poor english. Thx.
[Xiaomi Mi A3 Guides, News, & Discussion] Barbiox Dogg:
Thanks for this ?
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
What kind of error? Can you post a screenshot?
[Xiaomi Mi A3 Guides, News, & Discussion] jlmcr87:
Do you have a similar solution for the launcher suggested apps?:fingers-crossed:

Thanks, your method works as expected
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
I have them disabled in the launcher settings.
[Xiaomi Mi A3 Guides, News, & Discussion] Tianhe:
Great work, especially for those who are not rooted. Maybe you could make a magisk module for those who are rooted ?
[Xiaomi Mi A3 Guides, News, & Discussion] _mysiak_:
If you are rooted, just edit the xml file directly, it doesn't take more than a minute. After editing either restart the phone or force stop suggestions app.
[Xiaomi Mi A3 Guides, News, & Discussion] Tianhe:
Yes, OP was kind enough to explain the entire procedure. Magisk Module simply makes it more convenient to revert in case of error / bootloop etc.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
[MENTION=3809745]Tianhe[/MENTION] That's above my paygrade :laugh: , just a regular user not a developer . While i'm familiar with using a magisk module, i know nothing about creating one (never been interested). The creation of this "mod" was pure luck, because adb backup will be deprecated in the future. See, most apps don't even support adb backup so i was very surprised that the Settings Suggestions app did. Besides, for rooted users this is a useless mod as they can easily edit the suggestions.xml, as [MENTION=1677632]_mysiak_[/MENTION] said.
[Xiaomi Mi A3 Guides, News, & Discussion] jlmcr87:
What? sorry I have the mi A2 and I can´t see this option since android 10 update...
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Sorry about that! It's there on my Mi A3.
[Xiaomi Mi A3 Guides, News, & Discussion] Tianhe:
On a side note, besides changing the boolean values as indicated in OP, I also changed values for night light and emergency contact to have a clean look. (MI A2 jasmine_sprout)
[Xiaomi Mi A3 Guides, News, & Discussion] jlmcr87:
Thanks for your response, hope they add this option in the next update for Mi A2.
[Xiaomi Mi A3 Guides, News, & Discussion] bhaweshxda:
Not works for me can you help
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
I might be able to help if you show me what kind of problem you're encountering!
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Does the Mi A2 on A10 have the Action Services/Device Personalization Services app?
[Xiaomi Mi A3 Guides, News, & Discussion] jolas:
[MENTION=9620238]eltonb[/MENTION],

After a couple of days using v4, I have new suggestions popped up ?
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
OP updated.... Download the latest backup
[Xiaomi Mi A3 Guides, News, & Discussion] bhaweshxda:
i follow all the step with v4 version and run the adb command as well . command restored successfully. but still then annoying suggestion not went out. :rolleyes:

---------- Post added at 12:57 PM ---------- Previous post was at 12:54 PM ----------

Is wifi callings working for you , as suggestion show it.;)
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
[MENTION=10789101]bhaweshxda[/MENTION] That's weird! Do you have the latest platform tools? Also what suggestions does your Settings app show? Maybe it's not yet included in my backup, i don't know.
[Xiaomi Mi A3 Guides, News, & Discussion] bhaweshxda:
i have 1.4.3 adb version and currently "add other account" and night light is showing.

-- Now i updated to 30 version (April 2020) and its works for me as well. Thanks alot for support.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
I was about to post the link for the latest ADB. Glad it worked! :D
[Xiaomi Mi A3 Guides, News, & Discussion] jolas:
I'm not sure but I think it doesn't.
[Xiaomi Mi A3 Guides, News, & Discussion] vexen_darkness:
when you make all the procedure, Does it happen to you that usb debbugging is enabled each time you switch off or restart it? Is any way of making it disabled or is anther bug? Im not a rooted user

Appart of that if someone wants get everything by default without a factory reset, do you have a "virgin" backup also?

Thanks for the help.
[Xiaomi Mi A3 Guides, News, & Discussion] pelon_16170:
Hi, thanks for the solution.

For now, I used the "delete cache" option. But after that, now the settings show the "Add another mail account". Does your solution remove that too?

Sorry, I hadn't seen that you already fixed it.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
[MENTION=7743013]vexen_darkness[/MENTION] Happens to me as well but i don't know if it's a bug or the way it works!

[MENTION=1539063]pelon_16170[/MENTION] Yes
[Xiaomi Mi A3 Guides, News, & Discussion] surajpandey2052:
Thank you so much
[Xiaomi Mi A3 Guides, News, & Discussion] jlmcr87:
No it doesn´t.
[Xiaomi Mi A3 Guides, News, & Discussion] birdflesh:
[MENTION=9620238]eltonb[/MENTION] I'm intrested to know about the app suggestions option in home settings, was it there since the first build of android 10 for mi a3 or did it appear after an update? Also, is Device Personalization Services a system app on your mi a3? Thank you and sorry for hijacking your thread.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
When i installed the first A10 build, i downgraded almost immediately because of the horrible experience, but if i remember correctly, yeah, the option was there since the first build. Currently my device has no Device Personalization Services app pre-installed.
[Xiaomi Mi A3 Guides, News, & Discussion] bttcp12:
Error
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
What kind of error?
[Xiaomi Mi A3 Guides, News, & Discussion] vlad_8011:
For me it this fix completly doesnt work. I need to clear app cache or what? I followed instructions, made evrything as suggested, agreed with data restore and nothing. Restarted phone and suggestions are still there (night mode, fingerprint, next email account)

EDIT: I have repeated operation once more by clearing the app data, cache, and while still being in app properties i launched those command, and restored data, now only one suggestions is visible - add next account.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Try using the latest platform tools (adb, fastboot) and see if it works.

Here's the link:

https://dl.google.com/android/repository/platform-tools_r30.0.1-windows.zip
[Xiaomi Mi A3 Guides, News, & Discussion] Niclass:
I have uninstalled "com.android.settings.intelligence" through "adb shell pm uninstall --user 0 com.android.settings.intelligence" and now there isn't any suggestions, but i think that there is a little blank space where the suggestions would have to show up.
[Xiaomi Mi A3 Guides, News, & Discussion] SyeedAhmed:
that space is basically for search bar...as you uninstall the app so search bar is gone but blank space is there
[Xiaomi Mi A3 Guides, News, & Discussion] Niclass:
A ok thanks, didn't know that the suggestion was the same app with search bar, anyway i just want to try what happen uninstalling that settings intelligence, so if i want the search bar back i'm going to have to do a factory reset. Didn't use the search bar a lot anyways.
[Xiaomi Mi A3 Guides, News, & Discussion] SyeedAhmed:
reset will bring back search bar. maybe there is a adb command for to restore the app I can't recall it exact.

and yaa I also don't use search bar that much
[Xiaomi Mi A3 Guides, News, & Discussion] Invincible-Venom:
I tried this in Asus Max Pro M1 (Android 10) but didn't work. Need to modify it to make it work.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Because the signature in the _manifest file (xiaomi's signature) won't match yours. You're gonna have to do it manually.
[Xiaomi Mi A3 Guides, News, & Discussion] pelon_16170:
Not working yet

Hi, OP.

I'm having an issue. I ran the command and it asked me to unlock my phone and allow the restore. I did, and then the phone said that the restore went ok. But I still see the "Custom your Device" suggestion. Am I missing something?
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Download the latest platform tools and try again.

https://dl.google.com/android/repository/platform-tools_r30.0.1-windows.zip
[Xiaomi Mi A3 Guides, News, & Discussion] pelon_16170:
[MENTION=9620238]eltonb[/MENTION] you are a genius! It worked. Thank you very much!
[Xiaomi Mi A3 Guides, News, & Discussion] night_wink:
It did not work for me with the latest platform tools (30.0.1) and data_v6. I tap on the restore button and then get a message saying 'restoration started' and then a message saying 'restoration ended' not long after that. What should I try next?

Edit: I am on Android 10, May 2020 patch btw.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
I just tried it on my phone and it worked. I don't know what your problem could be. Did you extract the "data.ab" file and put it in the same folder as the adb executable?

Edit: Also, is your device a Mi A3?
[Xiaomi Mi A3 Guides, News, & Discussion] night_wink:
Yes, it's an Mi A3. Also on the recovery page, it asks for a password if the data is encrypted. I assumed it's not and pressed on the restore button. Do I need to enter some password there?
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
No it's not encrypted. It's really strange, works perfectly on my device, tried it many times just to be sure. Do you have dhe EU version of Mi A3? Maybe it has a different signature, i don't know what else to say :confused:
[Xiaomi Mi A3 Guides, News, & Discussion] night_wink:
No, I am on the Global ROM. Maybe I will try after a factory reset some days later or on another computer. Btw if the restoration is successful, what message is the phone supposed to show? I only get the message 'restoration ended' and then open settings and find the suggestions are still there.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
That's the message it shows to me as well. I don't know what goes wrong. The last options that come to my mind are:

1 - Clear data of the "Setting Suggestions" app and try the restore again

2 - Try to do it manually as i have explained in the OP

3 - If u can't do it, post a backup of the "Settings Intelligence" app here using the command:

adb backup -f data.ab -noapk com.android.settings.intelligence

which i'll modify with the edited suggestions.xml and post it right back for you to try and restore it again.
[Xiaomi Mi A3 Guides, News, & Discussion] night_wink:
Here's my backup.ab file.

I wiped all existing adb drivers on my computer and reinstalled them and then used 'Minimal adb and fastboot' tool instead of the platform tools this time and it worked!
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
That's nice to hear! :good:
[Xiaomi Mi A3 Guides, News, & Discussion] pkdon123:
Worked :D

Awesome fix man, Thanks a lot... :D
[Xiaomi Mi A3 Guides, News, & Discussion] saishash_09:
Hey i had this problem too. It is because i had an older version of adb installed system wide. What you have to do is go to the platform tools folder and type ./adb instead of adb it'll start a new adb server with the 30.0.1 version and itll work
[Xiaomi Mi A3 Guides, News, & Discussion] wassupjg:
Hi eltonb, thanks for the fix and guide.

Sorry I'm a bit of a noob, when I try executing "adb restore data.ab", it returns 'adb: unable to open file data.ab: No such file or directory' despite the data.ab file being in the same folder as the adb executable, which is the platform-tools file. I tried first on a Mac and got the same problem trying again in Windows. With Mac, I used Terminal to try the command as opening the adb executable opens a Terminal window with a list of adb commands but doesn't allow me to type anything.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
That's weird! First make sure u have the latest platform tools. Start a new server on the newly downloaded tools using "adb start-server" and then try again. :confused:
[Xiaomi Mi A3 Guides, News, & Discussion] wassupjg:
Yep I got the latest from https://developer.android.com/studio/releases/platform-tools.html, could it be any other basic error that you might know of?
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Did u start a new server with the new ones? Also, u extracted dhe zip right?
[Xiaomi Mi A3 Guides, News, & Discussion] sam_x.walker:
I also tried your fix and did everything as you said but it didn't worked. I have may security patch. I also used the latest platform tools.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Always remove any existing adb drivers before using the new ones. Or if you don't, you can kill any adb server using "adb kill-server" and start a new one using "adb start-server" with the recent drivers.
[Xiaomi Mi A3 Guides, News, & Discussion] sam_x.walker:
Did it using platform tools 30.0.1. First I used the Command adb start-server it did nothing then i used adb restore data.ad and got the popup on phone. Then I pressed restore, the process ended but the "Add new Email Account" suggestion is still showing up. Please do something....
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Use adb kill-server first, then adb start-server. It should give you a message "daemon started successfully". I don't know what else to say. The only non working scenarios since i started this thread were either outdated adb drivers or conflicting ones. :confused:

Mismatching signatures can result in failure but since i'm also on the latest may patch (and successfully tried many times to restore the data.ab) that probably isn't the case.
[Xiaomi Mi A3 Guides, News, & Discussion] sam_x.walker:
Did as you said but the suggestion is still showing up.

I updated my phone using the manual zip flashing to may patch. Could this be the reason?
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
You can do a backup of Settings Suggestions app (adb backup -noapk com.android.settings.intelligence) and see if it maches my backup signature. Or post it here and i can check.
[Xiaomi Mi A3 Guides, News, & Discussion] sam_x.walker:
I did the backup but the backup file size is 0kb. Is something wrong?
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Yeah that's odd. Seems like adb isn't communicating with your device properly as the backup file should've been 2kb - 146 kb or something like that.
[Xiaomi Mi A3 Guides, News, & Discussion] legaldexter:
Great work!!!

This was really helpful keep it up!!!
[Xiaomi Mi A3 Guides, News, & Discussion] CLS_phone:
I'd like to thank OP for this. :angel:

Saw this post for quite a while and I was lazy to give it a try. The June update patch finally arrived yesterday (a month later) and those annoying suggestions are still there!

Did it just now. It works. Clean and comfortable now.

Thank you.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Yeah that's really disappointing. I mean, how hard can it be? Should've been fixed by february or march, and yet here we are. Most of the bugs listed on xda are still present and clearly they won't even bother.
[Xiaomi Mi A3 Guides, News, & Discussion] JuanM28:
Hello, excuse my ignorance, when I execute the command I get a message with the following message on the phone: A complete restoration of all the data from a connected computer has been requested. In other words, is it going to format the phone?
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
The data.ab inside dhe zip only affects the Settings Suggestions app.
[Xiaomi Mi A3 Guides, News, & Discussion] JuanM28:
Ok, I am scared by the fact that it says: Restoration Complete. Thank you
[Xiaomi Mi A3 Guides, News, & Discussion] Johnnlock:
Another non-root solution, install Icebox, set it as a device owner using ADB and freeze the system app "Setting suggestion". If you have root just do the same, but do not start Icebox as device owner, do it with root.
[Xiaomi Mi A3 Guides, News, & Discussion] _mysiak_:
It will disable search feature in system settings as far as I know - can you confirm?
[Xiaomi Mi A3 Guides, News, & Discussion] Johnnlock:
Oh.. Yeah, it's truth. I didn't noticed this yet cause I never use that search function, but it's true, freezing the app disable the settings search. :/
[Xiaomi Mi A3 Guides, News, & Discussion] Andrey Esteban:
I have installed the version of Android One 10 European version V11.0.3.0 QFQEUXM If I do this for adb will there be a problem with bootloop?
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
No, it only affects Settings Suggestions app.
[Xiaomi Mi A3 Guides, News, & Discussion] Andrey Esteban:
What if I want to reverse the process and leave it as it was? please help
[Xiaomi Mi A3 Guides, News, & Discussion] _mysiak_:
Clean app data of Settings suggestions.
[Xiaomi Mi A3 Guides, News, & Discussion] Andrey Esteban:
thanks for your help and excuse my inexperience if it worked
[Xiaomi Mi A3 Guides, News, & Discussion] Eibeel:
Excellent bro, thanks.

The customization card disappeared, but in my case "Mobile data deactivated" also appears, and sometimes it asks me to add another Gmail account. That makes no sense.
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
Suggestions that pop up after turning off mobile data, activating airplane mode or DND etc. are not related to the Settings Suggestions app and will appear even if you uninstall the app. As for the gmail account try restoring the backup again. In some rare cases the values are restored.
[Xiaomi Mi A3 Guides, News, & Discussion] WolfAyron:
Thank you for the detailed instructions! Your zip worked like a charm!

Really appreciate it! :o
[Xiaomi Mi A3 Guides, News, & Discussion] reyad019:
thanks a lot.

its works
[Xiaomi Mi A3 Guides, News, & Discussion] moEasa3:
can u tell how can dow this steps and what I need to do it
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
1 - Make sure you have the latest platform tools. Kill any old adb server (adb kill-server) and start a new one with the latest drivers (adb start-server)

2 - Extract the attached zip file and put data.ab in the same folder with adb.exe

3 - Enable usb debugging on your phone and connect it to your pc

4 - Execute "adb restore data.ab"
[Xiaomi Mi A3 Guides, News, & Discussion] Eagle10021:
Reenabling

is there a way to enable it again without root or do I have to do a factory reset to enable it again?

---------- Post added at 03:08 PM ---------- Previous post was at 03:04 PM ----------

is there a way to enable it again without root or do i have to factory reset my phone to enable it
[Xiaomi Mi A3 Guides, News, & Discussion] eltonb:
You're talking about enabling suggestions again? Just clear the data of Settings Suggestions app.
[Xiaomi Mi A3 Guides, News, & Discussion] Sami Devo:
why u want to re enable
[Xiaomi Mi A3 Guides, News, & Discussion] pablo_cba:
Thank you very much! it worked!
[Xiaomi Mi A3 Guides, News, & Discussion] wetito:
works wery well! tnx a lot
[Xiaomi Mi A3 Guides, News, & Discussion] ana4rchist:
i have mi a3 , the weather widget not working! i tried everything. gps in on and i cant find my device in the google location history setting.
[Xiaomi Mi A3 Guides, News, & Discussion] SHA_NDY:
Hi all,

I'm on a different phone and can't manage to unpack and repack the backup. Is there a all-in-one tool or something similar?

Or a step by step tutorial?

Thanks!
[Samsung Galaxy S10e Questions & Answers] harlus:
Hello, i have an Exynos S10e, unbranded.

I have some problems with tethering (mobile hotspot).

The speedtest is good, but sometimes there are some "lags", the connection seems to "stop" for some seconds (pages don't load) and then it restarts as normal. Also the ping seems to be normal, about 30ms.

Another thing: i used to play some browser games sometimes, now they are not usable, there are too many lags. I don't care too much about browser games, but it's just a signal that something is wrong, i don't have these problems on my old device (G2 mini, same carrier and same sim, same place and hour).

I tried to disable the "energy saving" option on mobile hostpot settings, but nothing changes.

Any idea on how to solve this?

Overall it's not unusable, but it's disappointing to have slower internet using a new phone.
[Samsung Galaxy S10e Questions & Answers] electrified:
Same here. And the April 2020 update broke USB tethering. See also: https://us.community.samsung.com/t5...ng-doesn-t-work-after-the-update/td-p/1174158

Waiting for the May 2020 update to see if USB tethering will work again.
[Samsung Galaxy S10e Questions & Answers] harlus:
Today i used the tethering with another pc and it works much better.

It may be a problem of compatibility between wi-fi chips, or something similar.

I'll update this thread if I'll discover something more.