How to remove ads from Xiaomi phones with MIUI


There is no way to remove ads from Xiaomi phones running MIUI — at least not officially. Thankfully there are some things you can do to minimize the presence of ads (if not 100% eliminate them).

Remove ads disabling MSA app

MSA stands for “MIUI System Ads,” and it should come as no surprise that killing this app will solve many of your issues.
  1. Open the Settings app.
  2. Go to Additional Settings.
  3. Select Authorization & revocation.
  4. Find msa and toggle it off.

Disable personal ad recommendations


  1. Open the Settings app.
  2. Go to Additional Settings.
  3. Select Privacy.
  4. Toggle off Personalized ad recommendations.

Disable ads in Mi Security

  1. Open the Mi Security app.
  2. Find the cog icon on the top-right corner and tap on it.
  3. Toggle off Recommendations.
  4. Go back to the app’s settings.
  5. Select Cleaner.
  6. Toggle off Recommendations.

Disable ads in Mi Browser

  1. Open the Mi Browser app.
  2. Tap on the hamburger menu button in the bottom-right corner.
  3. Select Settings.
  4. Select Advanced.
  5. Select Top sites order.
  6. Toggle off Recommendations.

Disable ads in Mi Music

  1. Open the Mi Music app.
  2. Tap on the hamburger menu button in the top-left corner.
  3. Select Settings.
  4. Select Advanced settings.
  5. Toggle off Recommendations.


Disable ads in Mi Video

  1. Open the Mi Video app.
  2. Open the Account menu.
  3. Select Settings.
  4. Toggle off Recommendations.
  5. Toggle off Push notifications.

Disable ads in Mi File Manager

  1. Open the Mi File Manager app.
  2. Tap on the hamburger menu button in the top-left corner.
  3. Select Settings.
  4. Select About.
  5. Toggle off Recommendations.

Disable ads in Downloads

  1. Open the Downloads app.
  2. Tap on the hamburger menu button in the top-left corner.
  3. Select Settings.
  4. Toggle off Show recommended content.

Disable ads in folders

  1. Tap on the folder you want to disable ads for.
  2. Tap on the folder name, as if you were going to change the name.
  3. Promoted apps section will show up. Toggle it off.

Disable ads in MIUI Themes

  1. Open the MIUI Themes app.
  2. Open the Account menu.
  3. Select Settings.
  4. Toggle off Recommendations.


VB6: MessageBox Function (msgbox)

Msgbox berfungsi untuk menampilkan kotak dialog berisi pesan, menunggu user untuk memilih salah satu tombol, dan pilihan tombol tersebut akan menentukan nilai integer yang akan dihasilkan.

Sintaks:
MsgBox ( Prompt [,icons+buttons ] [,title ] )
VariableInteger = MsgBox ( prompt [, icons+ buttons] [,title] )

Prompt : nilai String yang ditampilkan sebagai pesan dalam dialog box. Jika prompt memuat lebih dari satu baris, kita dapat memisahkannya dengan constant vbrCrLf.
Icons + Buttons : Nilai numerik yang merupakan jumlah nilai yang menentukan tipe tombol(button) dan icon.
Title : Nilai string yang ditampilkan di title bar dialog box. Jika kita tidak menentukan nilainya maka yang tertulis adalah nama aplikasi.
VariableInteger: adalah nilai hasil yang dikembalikan.

Icon

Constant Nilai  Keterangan
vbCritical16Icon Critical
vbQuestion32Icon tanda tanya
vbExclamation48Icon peringatan (warning)
vbInformation64Icon informasi

Tombol
ConstantNilaiKeterangan
vbOkOnly0Menampilkan tombol OK
vbOkCancel1Menampilkan tombol  OK dan Cancel
vbAbortRetryIgnore2Menampilkan tombol Abort, Retry dan Ignore
vbYesNoCancel3Menampilkan tombol Yes, No dan Cancel
vbYesNo4Menampilkan tombol Yes dan No
vbRetryCancel5Menampilkan tombol Retry dan Cancel

Nilai yang dikembalikan (hasil)
ConstantNilaiKeterangan
vbOk1Tombol Ok
vbCancel2Tombol Cancel
vbAbort3Tombol Abort
vbRetry4Tombol Retry
vbIgnore5Tombol Ignore
vbYes6Tombol Yes
vbNo7Tombol No