miui – Share clipboard data between users on Android multi-user (secondary space)?

Leaving aside security concerns, is there a reliable way to communicate data via the clipboard between users on a single device without using network methods? For example, just copy a link to the main space, then access it later via the clipboard in the secondary space. Application suggestions are welcome.

NB: There is already an option to import / export files, photos, etc. (but not sharing the clipboard)

Running MIUI 9, Android 7

miui – Snapchat does not open on Android 10 miui11

when opening Snapchat, I come across this report. Help me, please.

aqqe: java.lang.RuntimeException: unable to start ComponentInfo activity {com.sn Snapchat.android/com.snap.mushroom.MainActivity}: java.lang.RuntimeException: inflation exception in pageType: ( Camera) layoutId: (0x7f0e0544 message: (Binary XML file line # 28 in com.sn Snapchat.android:layout/v11_hova_main_camera: Binary XML file line # 29 in com.sn Snapchat.android:layout/v11_hova_search_bar: inflation class error) on the CrashReporting.CrashManagerImpl scheduler tid = 2
at nzo.uncaughtException (Source unknown: 29)
to nzt.uncaughtException (Source unknown: 18)
to ock $ f $ 1.run (Source unknown: 8)
on ayxk.a (Source unknown: 2)
on ayfi.a (Source unknown: 2)
to ayzd $ a.a (Source unknown: 2)
to ayxz $ a.a (Unknown source: 2)
to ayyx $ a.a (Unknown source: 18)
on ayyx.b (Source unknown: 90)
on aytt.a (Source unknown: 14)
to ayxz $ b.a (Unknown source: 9)
to ayyx $ a.a (Unknown source: 18)
on ayyx.b (Source unknown: 90)
on aytt.a (Source unknown: 14)
on ayxz.b (Source unknown: 9)
on aytt.a (Source unknown: 14)
to ayzd $ a.run (Source unknown: 2)
to aqqo.run (Unknown source: 7)
to ayut $ a.run (Source unknown: 9)
to aqqo.run (Unknown source: 7)
to azlu $ c $ a.run (Source unknown: 10)
to azlu $ c.run (Source unknown: 19)
at aqrs $ 3.a (Source unknown: 0)
to aqrs $ 3.lambda $ HUisIrv7lXVX11zeYEaqqkKPk8U (Source unknown: 0)
at – $$ Lambda $ aqrs $ 3 $ HUisIrv7lXVX11zeYEaqqkKPk8U.run (Source unknown: 2)
on java.util.concurrent.Executors $ RunnableAdapter.call (Executors.java:462)
on java.util.concurrent.FutureTask.run (FutureTask.java:266)
to java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:301)
on java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
on java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:641)
to aqqg $ a.run (Unknown source: 11)
Caused by: java.lang.RuntimeException: unable to start ComponentInfo activity {com.sn Snapchat.android/com.snap.mushroom.MainActivity}: java.lang.RuntimeException: inflation exception in pageType: (Camera) layoutId: (0x7f0e0544 message: (Binary XML file line # 28 in com.sn Snapchat.android:layout/v11_hova_main_camera: Binary XML file line # 29 in com.sn Snapchat.android:layout/v11_hova_search_bar: error of class swelling)
on android.app.ActivityThread.performLaunchActivity (Unknown source: 621)
on android.app.ActivityThread.handleLaunchActivity (Unknown source: 47)
on android.app.servertransaction.LaunchActivityItem.execute (Unknown source: 63)
on android.app.servertransaction.TransactionExecutor.executeCallbacks (Unknown source: 77)
on android.app.servertransaction.TransactionExecutor.execute (Unknown source: 73)
on android.app.ActivityThread $ H.handleMessage (Unknown source: 43)
on android.os.Handler.dispatchMessage (Unknown source: 19)
on android.os.Looper.loop (Unknown source: 242)
on android.app.ActivityThread.main (Unknown source: 98)
to java.lang.reflect.Method.invoke (native method)
at com.android.internal.os.RuntimeInit $ MethodAndArgsCaller.run (Source unknown: 11)
at com.android.internal.os.ZygoteInit.main (Unknown source: 275)
Caused by: java.lang.RuntimeException: inflation exception in pageType: (Camera) layoutId: (0x7f0e0544 message: (binary XML file line # 28 in com.sn Snapchat.android:layout/v11_hova_main_camera: file line Binary XML # 29 in com snapchat.android:layout/v11_hova_search_bar: class swelling error)
to sbq.a (Source unknown: 240)
to sbl.a (Source unknown: 9)
at com.snap.mushroom.MainActivity.onCreate (Unknown source: 548)
on android.app.Activity.performCreate (Unknown source: 19)
on android.app.Activity.performCreate (Unknown source: 1)
on android.app.Instrumentation.callActivityOnCreate (Source unknown: 3)
on android.app.ActivityThread.performLaunchActivity (Unknown source: 376)
… 11 more

How can I change the default browser on MIUI 10.x?

I have read this question:

How can I change the default browser?

but the instructions don't match my Xiaomi phone, which has MIUI 10 interface. How can I change the default browser there?

xiaomi – How can I reset the features of MIUI 11?

You must enable development options on your IM device.
To unlock developer options, go to Settings> About, find the version of MIUI and press 7 times in a row. You can see a message "You have enabled the developer option" once you have managed to do it. To access developer options, select Settings> Additional settings> Developer options. Now, scroll the screen until the end to see the option to toggle the MIUI optimization. You will need to restart the device once the option is enabled.

Although it is simply a toggle that we enable, it changes the behavior of the system, but in turn alters the behavior of many applications.

Source: https://technicles.com/miui-optimization-developer-tools-side-effects/

MIUI Features without base on the Android version

I would like to know how MIUI can provide functionality on all devices with the same version of MIUI, without the same Android version?

miui – Automatically disable Bluetooth discovery

In my OnePlus 6 under Android 9.0, change the value of the system key (for Settings) bluetooth_default_scan_mode Toggle the possibility of discovering bluetooth. Value 21 to deactivate, 23 to allow.

MacroDroid has a named trigger System settings under Settings of the device category and after selecting System in the list, you can set the key-value. Unfortunately, for one reason I did not investigate, MacroDroid did not work in this case. In my turn, I used Tasker, which also allows to modify the personalized parameters.

In Tasker, the action under a task must be: Settings → Custom Settings:

  • Type: System
  • Last name: bluetooth_default_scan_mode or choose one with the help of the lens icon and test it
  • Value: 21 or 23 or whatever you have found

Save the task and assign it to a profile of your choice. A profile is a trigger in MacroDroid terms.


I used logcat to find the key-value corresponding to the possibility of discovering bluetooth. You can use it if you can not find the key-value of your device. Here is what I did:

adb logcat  SettingsProvider:V *:S -v long   # to find the key
adb settings get system KEY                  # to obtain the value of the key. You would have to get the value for both cases

miui – Preferred Network Type Settings

Battery Exchange Network

The Stack Exchange network includes 175 question-and-answer communities, including Stack Overflow, the largest and most reliable online community on which developers can learn, share knowledge and build their careers.

Visit Stack Exchange

How to install the MIUI / google global services on a Redmi Note 8 Pro?

I recently bought a Redmi 8 Pro in China with Chinese MIUI 10. Since I live in the UK, I would like to use Google services and apps, such as Whatsapp and Facebook, which are not not available on the official Xiaomi app.

Until now, there is no global MIUI available on the official website and Redmi 8 Pro is expected to be released only in India in October. Does this mean that there will be no global MIUI available by then? Since Redmi 8 Pro uses MTK chips, there is a rumor (in Chinese) that no global MIUI will be available for this phone.

May I ask you if it is possible to use this phone easily in the UK, please? Thanks in advance!

Background services not working in MIUI version 10.3.7

In Xiaomi PocoPhone f1 with UIMI version 10.3.7, the background services are not running when the application is in the appkill state. Can any one help me with this problem?

I've used the autostart app permission and removed the battery restriction in my application [application.

adb – MIUI flash memory not possible, update process completed with signal: 7

All in all, I tried several guides and saw many similar issues and problems to mine, but none of them helped me in any way whatsoever.

I'm trying to flash the MIUI rom stock on a F1 pocophone via adb sideloading on TWRP. However, I am presented with this error:

Starting ADB sideload feature...
Installing zip file '/sideload/package.zip'
Target: Xiaomi/beryllium/beryllium:9/PKQ1.180729.001/V10.3.5.0.PEJMIXM:user/release-keys
package_extract_file took 02s.
Patching system image unconditionally...
package_extract_file took 00s.
Updater process ended with signal: 7

I've heard that this is due to:

  • be a stock recovery; However, it is TWRP.
  • TWRP being obsolete; However, it is the latest version.
  • do not erase the data before; However, it is erased and formatted.

I have tried several versions of TWRP and another recovery called OrangeFox, but none of them worked.

I can sideload other zip files via ADB sideload function of TWRP, but I can not flash the rom. I can not push the rom rom either because it gives me this:

adb: error: connect failed: closed

I really need help because this phone is without operating system and therefore unusable at this point.