问:
Android 12 cellbroadcastreceiver permission denial causing high CPU usage in com.android.phone process?
Every since my Nokia 5.3 was upgraded to Andoid 12 recently, the battery suffers from processes com.android.phone and qcrild using the CPU a fair amount.  It is not completely reproducible, but it happens especially when the the phone is locked, or at least the screen is off.

I observe that increased CPU usage via adb shell top -u radio.

At that same time adb shell dumpsys phone shows a lot of the following:

```<code>❯ adb shell dumpsys phone
------- PhoneGlobals -------
  mPrevRoamingNotification=0
  mDefaultDataSubId=1
  mDataRoamingNotifLog:
  isSmsCapable=true
    2022-11-23T13:56:23.510818 - dataAllowed=true, reasons=Data allowed reason: NORMAL
    2022-11-23T13:56:23.512116 - dataAllowed=true, reasons=Data allowed reason: NORMAL
[snip rest of the output]
</code>```

And that seems to always immediately follow these adb shell logcat -d phone warnings about ...without a qualified user and Permission Denial to read the phone state:

```<code>11-23 13:56:23.460  1681  3481 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1206 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:2880 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1608 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:455 android.os.Binder.execTransactInternal:1184
11-23 13:56:23.461  1681  3481 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1256 android.content.Context.sendBroadcastMultiplePermissions:2215 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:2884 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1608 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:455
11-23 13:56:23.462  1681  3481 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1256 android.content.Context.sendBroadcastMultiplePermissions:2215 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:2891 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1608 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:455
11-23 13:56:23.463  1681  2031 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.google.android.cellbroadcastreceiver/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.READ_PHONE_STATE due to sender android (uid 1001)
11-23 13:56:23.463  1681  2031 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.google.android.cellbroadcastreceiver/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001)
11-23 13:56:23.464  1681  3481 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1256 android.content.Context.sendBroadcastMultiplePermissions:2215 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:2895 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1608 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:455
11-23 13:56:23.465  1681  2031 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.google.android.cellbroadcastreceiver/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.READ_PHONE_STATE due to sender android (uid 1001)
</code>```

And that results in a lot of logging that seems to be about refreshing the data about my mobile carrier (onRefreshCarrierInfo()), which may be where the CPU time is actually spent (following log capture is from a later occurrence):

```<code>11-23 14:18:08.592  2936  2936 D ServiceStateProvider: subId=1
11-23 14:18:08.592  2462  2640 I CustomizedNetworkIcon: getConfigValueByKey: oem_key_rat_name_of_4g_int=0
11-23 14:18:08.595  2462  2640 I CustomizedNetworkIcon: getConfigValueByKey: oem_display_lte_icon_int=1
11-23 14:18:08.597  2936  2936 I Telephony: TelecomAccountRegistry: onSubscriptionsChanged - reregister accounts
11-23 14:18:08.598  1676  2040 D CompatibilityInfo: mCompatibilityFlags - 0
11-23 14:18:08.598  2936  2936 D Telephony: isEmergencyPreferredAccount: subId=1, activeData=1
11-23 14:18:08.598  1676  2040 D CompatibilityInfo: applicationDensity - 280
11-23 14:18:08.598  2936  2936 D Telephony: isEmergencyPreferredAccount: Device does not require preference.
11-23 14:18:08.598  1676  2040 D CompatibilityInfo: applicationScale - 1.0
11-23 14:18:08.600 31066 31066 D CellBroadcastReceiver: onReceive Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 cmp=com.google.android.cellbroadcastreceiver/com.android.cellbroadcastreceiver.CellBroadcastReceiver (has extras) }
11-23 14:18:08.600 31066 31066 D CellBroadcastReceiver: onServiceStateChanged, ss: 0
11-23 14:18:08.600 31066 31066 D CellBroadcastReceiver: networkOperator: 20416
11-23 14:18:08.600 31066 31066 D CellBroadcastReceiver: update supported roaming operator as
11-23 14:18:08.601  2936  2936 I Telephony: isRttCurrentlySupported -- regular acct, hasVoiceAvailability: false
11-23 14:18:08.601  2936  2936 I Telephony:  isRttSupported: false
11-23 14:18:08.601  2936  2936 I Telephony:  isUserRttSettingOn: false
11-23 14:18:08.601  2936  2936 I Telephony:  alwaysAllowWhileRoaming: false
11-23 14:18:08.601  2936  2936 I Telephony:  isRoaming: false
11-23 14:18:08.601  2936  2936 I Telephony:  isOnWfc: false
11-23 14:18:08.607  2462  2640 E CustomizedImsIcon: customizedVoLTEandVoWiFiIcon:
11-23 14:18:08.608  2462  4440 I CustomizedImsIcon: [0] customizedImsIcon:++
11-23 14:18:08.608  2462  4440 D CustomizedImsIcon: isAirplaneModeOn: false
11-23 14:18:08.608  2462  4440 D CustomizedImsIcon: customizedImsIcon:clear all vowifi icon which is added with TAG when airplane is off
11-23 14:18:08.608  2462  4440 I CustomizedImsIcon: [0] isOperaterCustomized:mccmnc=20416
11-23 14:18:08.609  2462  4440 I CustomizedImsIcon: [0] isOperaterClaroCustomized:mccmnc=20416
11-23 14:18:08.609  2462  4440 I CustomizedImsIcon: [0] isCustomizedBySkuId:isCustomized=false
11-23 14:18:08.609  2462  4440 D CustomizedImsIcon: getSimCount: simCount=1
11-23 14:18:08.610  2462  4440 I CustomizedImsIcon: [0] isWifiCallingAvailable: isImsRegistered is false
11-23 14:18:08.610  2462  4440 I CustomizedImsIcon: [0] isShowVoWiFiIcon: isAllowed=false
11-23 14:18:08.612  2462  4440 I CustomizedImsIcon: [0] isAllowShowVoLteIcon:OEM_ALLOW_SHOW_VOLTE_ICON_BOOL=false  phoneId=0
11-23 14:18:08.612  2462  4440 I CustomizedImsIcon: [0] isShowVolteIcon: isAllowed=false
11-23 14:18:08.613  2462  4440 I CustomizedImsIcon: [0] customizedImsIcon:--
11-23 14:18:08.615  2936  2936 I Telephony: reRegisterPstnPhoneAccount: subId: 1 - no change
11-23 14:18:08.615  2936  2936 D CallNotifier: updatePhoneStateListeners: update CF notifications.
11-23 14:18:08.616  2936  2936 I NotificationMgr: updateCfi: subId= 1, visible=N
11-23 14:18:08.616  2936  2936 I NotificationMgr: updateMwi(): subId 1 update to false
11-23 14:18:08.618  2462  2462 D KeyguardUpdateMonitor: received broadcast android.intent.action.SERVICE_STATE
11-23 14:18:08.618  2462  2462 V KeyguardUpdateMonitor: action android.intent.action.SERVICE_STATE serviceState={mVoiceRegState=0(IN_SERVICE), mDataRegState=0(IN_SERVICE), mChannelNumber=1656, duplexMode()=1, mCellBandwidths=[], mOperatorAlphaLong=Simpel, mOperatorAlphaShort=Simpel, isManualNetworkSelection=false(automatic), getRilVoiceRadioTechnology=14(LTE), getRilDataRadioTechnology=14(LTE), mCssIndicator=unsupported, mNetworkId=-1, mSystemId=-1, mCdmaRoamingIndicator=-1, mCdmaDefaultRoamingIndicator=-1, mIsEmergencyOnly=false, isUsingCarrierAggregation=false, mArfcnRsrpBoost=0, mNetworkRegistrationInfos=[NetworkRegistrationInfo{ domain=CS transportType=WWAN registrationState=HOME roamingType=NOT_ROAMING accessNetworkTechnology=LTE rejectCause=0 emergencyEnabled=false availableServices=[VOICE,SMS,VIDEO] cellIdentity=CellIdentityLte:{ mCi=70817281 mPci=66 mTac=527 mEarfcn=1656 mBands=[] mBandwidth=2147483647 mMcc=204 mMnc=16 mAlphaLong=Simpel mAlphaShort=Simpel mAdditionalPlmns={} mCsgInfo=null} voiceSpecificInfo=VoiceSpecificRegistrationInfo { mCssSupported=false mRoamingIndicator=1 mSystemIsInPrl=-1 mDefaultRoamingIndicator=-1} dataSpecificInfo=null nrState=**** rRplmn=20416 isUsingCarrierAggregation=false}, NetworkRegistrationInfo{ domain=PS transportType=WWAN registrationState=HOME roamingType=NOT_ROAMING accessNetworkTechnology=LTE rejectCause=0 emergencyEnabled=false availableServices=[DATA] cellIdentity=CellIdentityLte:{ mCi=70817281 mPci=66 mTac=527 mEarfcn=1656 mBands=[] mBandwidth=2147483647 mMcc=204 mMnc=16 mAlphaLong=Simpel mAlphaShort=Simpel mAdditionalPlmns={} mCsgInfo=null} voiceSpecificInfo=null dataSpecificInfo=android.telephony.DataSpecificRegistrationInfo :{ maxDataCalls = 20 isDcNrRestricted = false isNrAvailable = false isEnDcAvailable = false LteVopsSupportInfo :  mVopsSupport = 3 mEmcBearerSupport = 2 } nrState=**** rRplmn=20416 isUsingCarrierAggregation=false}], mNrFrequencyRange=0, mOperatorAlphaLongRaw=Simpel, mOperatorAlphaShortRaw=Simpel, mIsDataRoamingFromRegistration=false, mIsIwlanPreferred=false} subId=1
[...snipping a lot more similar logging...]
</code>```

What could be wrong?  Or at least, how can I further debug this?


问:
Is it possible to force a specific audio mode for all or a specific app(s)?
Is it possible to force all audio from all apps or a specific app (either works) to use a specific audio mode? And if it's possible, how do you do it?

The device is a rooted Xiaomi Pad 5 EU with latest (13.1.3.0) MIUI firmware.

Specifically, this question originates from an issue with the discord mobile app, where, presumably due to being in the CALL audio mode, the audio quality for voice chat is horrendously bad. The issue could previously apparently be fixed by changing the audio mode in discord settings, however they have since then removed that option.

Any and all help is greatly appreciated!

ContentLicense: CC BY-SA 4.0


问:
How to merge messages from different senders when senders cannot be saved as contacts?
The beginning of my question is how to merge text messages from different numbers into a single conversation. That part has already been asked and answered.

However, I'm receiving automated messages from the post office, sent from two different numbers. It seems that these numbers cannot be saved as contacts (and in fact the actual number cannot be viewed at all).

Is there any way to merge these two numbers into a single thread?


问:
Where is the phone blacklist stored?
I have a problem with spam calls, they call me many times a day. To solve this problem, I've tried many call blockers apps (NoPhoneSpam, Calls Blacklist, CallBlocker, etc...) and none of them work. Some of them worked for a while, but then stopped to work.

The spammers use a prefix and change the last 3 or 4 numbers of the phone, and I want to block them all. The android native phone app allows me to block numbers, and it works, but without wildcards, so I can't block all numbers with a given prefix without entering them one by one (not an option).

I want to know if the Phone app blacklist is stored anywhere that I can edit it with a text editor, or if there is a way to add phones to it using terminal, so I can write a script to add all phones I want to block.

Title: Where is the phone blacklist stored?


问:
Xiaomi Redmni Note10S fingerprint sensor no longer detected
For some reason my phone no longer shows the option to lock/unlock with the fingerprint I`m using stock Mi Ui global 13.0.10. What can be happening?</p>


问:
Redmi Note 10 recovery with ADB?
So today my Xiaomi Note 10 decided to start bootlooping for no reason, it worked 5 minutes before I went on the bus, and then I just could not access it anymore. Since I always had USB debugging enabled in developer options I booted into "Connect with MIAssistant" and booted into ADB Interface. I can't seem to get the files out at all with "adb pull /sdcard" or anything like that, the device is listed on cmd as "sideload". I've also tried Xiaomi's PCSuite, but that wont even detect the phone in the first place. All I need is to recover my files(mostly just gallery) and after that I don't give a damn if the phone bricks, dies or explodes. Right now the phone bootloops, but can actually load into setup. Like I can get into lockscreen for about a max of 5 seconds, until it crashes, I can turn on any setting in the top UI if I'm fast enough, the phone can also sometimes crash even in the recovery menu. The only place where I haven't seen it crash is the Fastboot mode.

Literally any help is appreciated.

I've tried using "adb pull /sdcard and other alternatives, the error message is always 0 files pulled, 0 files missed" I've tried "adb shell and the error message is "error:closed"" I've tried using Xiaomi's PCSuite recovery software I would have expected the "adb pull /sdcard" to be a saving grace, an Ace up my sleeve, but it couldn't pull the files.

Title: Redmi Note 10 recovery with ADB?


问:
Gmail on Android: How to make Inbox default instead?
Every time I get an email notification from Gmail or open Gmail by the app icon it takes me to Important and unread instead of just Inbox where I can actually see all my emails. How on earth do I fix this?

This has been happening for months now. I have installed all software updates for both the phone OS and the Gmail app and it's still happening. Changing Inbox styles doesn't help as there's no option for just Inbox and I need Important and unread as an option just not the default open that overrides my choice every. single. time.

I have tried all of the five Inbox styles. Default, Important first, Unread first, Starred first, Priority Inbox. None work.


问:
Why is the 'iptables' target 'NFLOG" not sending log messages to the Kernel?
I recently started using an old cell phone, Samsung Galaxy J7 model SM-J700M. I rooted it, flashed LineageOS and installed a SIM card and it works just fine. I decided to work on a script with iptables rules, run it and noticed there are a few problems. The 'iptables' target 'LOG' gives an error message when used, then I use 'NFLOG' but it doesn't send any log messages to the kernel when packets traverse it. I thought maybe some modules are not loaded.

I used the command 'lsmod':

```<code>j7elte:/ # lsmod
lsmod: No file /proc/modules: No such file or directory
1|j7elte:/ #
</code>```

Then I played around with 'modprobe':

```<code>j7elte:/ # modprobe -a <module_name>
modprobe: No file /proc/modules: No such file or directory
1|j7elte:/ #
</code>```

What I can tell is, that the kernel is missing a whole lot of things. I was never good with the Android or the kernel.

How can I get the 'iptables' target 'NFLOG' to send messages to the kernel so that they appear after using 'dmesg' or 'adb logcat'?

Here is a snippit of 'logcat':

```<code>02-14 01:17:00.937  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:00.937  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:01.242  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:01.251  5245  5245 W sh      : type=1400 audit(0.0:906): avc: denied { read } for name="mediaserver" dev="mmcblk0p20" ino=704 scontext=u:r:shell:s0 tcontext=u:object_r:mediaserver_exec:s0 tclass=file permissive=0
02-14 01:17:01.251  5245  5245 W sh      : type=1300 audit(0.0:906): arch=40000028 syscall=334 per=8 success=no exit=-13 a0=ffffff9c a1=e7723060 a2=4 a3=0 items=0 ppid=2437 auid=4294967295 uid=2000 gid=2000 euid=2000 suid=2000 fsuid=2000 egid=2000 sgid=2000 fsgid=2000 ses=4294967295 tty=(none) exe="/system/bin/sh" subj=u:r:shell:s0 key=(null)
02-14 01:17:01.251  2298  2298 W auditd  : type=1327 audit(0.0:906): proctitle=2F73797374656D2F62696E2F7368002D63006578706F727420414E44524F49445F4C4F475F544147533D222727223B2065786563206C6F67636174
02-14 01:17:01.251  2298  2298 W auditd  : type=1320 audit(0.0:906):
02-14 01:17:01.291  5245  5245 W logcat  : type=1400 audit(0.0:907): avc: denied { read } for name="mediaserver" dev="mmcblk0p20" ino=704 scontext=u:r:shell:s0 tcontext=u:object_r:mediaserver_exec:s0 tclass=file permissive=0
02-14 01:17:01.291  5245  5245 W logcat  : type=1300 audit(0.0:907): arch=40000028 syscall=334 per=8 success=no exit=-13 a0=ffffff9c a1=f77230a0 a2=4 a3=0 items=0 ppid=2437 auid=4294967295 uid=2000 gid=2000 euid=2000 suid=2000 fsuid=2000 egid=2000 sgid=2000 fsgid=2000 ses=4294967295 tty=(none) exe="/system/bin/logcat" subj=u:r:shell:s0 key=(null)
02-14 01:17:01.938  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:01.938  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:02.244  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:02.939  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:02.940  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:03.247  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:03.941  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:03.941  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:04.249  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:04.291  2400  2400 W health@2.0-serv: type=1400 audit(0.0:908): avc: denied { read } for name="type" dev="sysfs" ino=12556 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
02-14 01:17:04.291  2400  2400 W health@2.0-serv: type=1300 audit(0.0:908): arch=40000028 syscall=322 per=8 success=no exit=-13 a0=ffffff9c a1=f6b11360 a2=a8000 a3=0 items=0 ppid=1 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=4294967295 tty=(none) exe="/system/vendor/bin/hw/android.hardware.health@2.0-service" subj=u:r:hal_health_default:s0 key=(null)
02-14 01:17:04.291  2298  2298 W auditd  : type=1327 audit(0.0:908): proctitle="/vendor/bin/hw/android.hardware.health@2.0-service"
02-14 01:17:04.291  2298  2298 W auditd  : type=1320 audit(0.0:908):
02-14 01:17:04.324  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:04.325  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:04.650  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:04.941  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:04.942  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:05.252  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:05.944  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:05.944  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:06.254  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:06.944  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:06.945  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:07.256  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:07.945  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:07.945  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:08.259  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:08.947  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:08.947  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:09.261  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:09.948  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:09.948  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:10.264  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:10.966  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:10.966  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
02-14 01:17:11.266  2417  4576 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
02-14 01:17:11.967  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] first frame after HWC_2_GLES
02-14 01:17:11.967  2417  2417 I display : [PrimaryDisplay] [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(5)
</code>```


问:
Add text labels in photos
In Android 11 (Samsung Galaxy A20):

When editing a photo using the OOTB Gallery/photo editing functionality, is there a way to add text labels in a photo?

Like this (label added in MS Paint):

Title: Add text labels in photos


问:
STA(Internet)/STA(ultrasonic device) concurrency
I would like to pair an ultrasound device (AP) to a tablet via a 5GHz wifi (at 40 MHz) connection. At the same time the tablet should connect via 2.4 or 5 GHz wifi to the internet (AP). Unfortunately I cannot combine those 2 connections into one wifi, because if I do, the MDR (Medical Device Regulation) of the ultrasound device will be violated and it can't be legally used without a new certification.
On top of that I need to use both connections simultaneously, because the transmitted ultrasonic pictures (which are displayed on the phone via an app) are to be streamed over the internet connection to a PC.

So summarized I have to APs and one STA device to connect simultaneously.

I have found an android interface named STA/STA Concurrency, which if I'm not mistaken should do the job.
The problem I have now is, that I don't find a STA/STA Concurrency supported tablets or to be more precise I don't find any information about which device is supporting the STA/STA Concurrency.

The STA/STA Concurrency states that it needs/prefer:

a 2x2+2x2 DBS Chip module

the APIs "IWifiChip.setMultiStaPrimaryConnection()" and "IWifiChip.setMultiStaUseCase()" and

the HAL Wi-Fi interface combination must have two concurrent STA interfaces exposed
But again the manufactures do not show such detailed information.

Some Android phones have a dual-band WLAN option (like the Asus ZenFone 8) with which you can connect a 2.4 and 5GHz WLAN separately. Unfortunately, I can't find any information if these connections can be used simultaneously. YouTube Link

Somebody on Stackoverflow tried to create a STA/STA Concurrency with a automotive wifi chip. But there is no solution either.

Does anybody have a solution for this problem? Hardware or Software, I don't care as long as it works (the tablet will be just a first prototype).

(As an alternative I thought about using a windows tablet, put in 2 wifi cards, install Android (or Linux if necessary and a android emulator for the ultrasonic app) and assign the wifis accordingly. But there again, I need a tablet with 2 separate antennas.)

Thanks in advance!

P.S. I know this is kind of a half hardware question, so off-topic. I tired it on Hardware recommendations, but nobody has a solution to this. But since this can maybe be solved via software, somebody over here can help me.


问:
Cannot get Outlook app to stay stopped
I can force stop the outlook app, but a couple of hours later it somehow restarts and I start seeing notifications again.  What is the trick to keeping this app stopped?</p>

Title: Cannot get Outlook app to stay stopped


问:
How does an app know your location when you're using a VPN?

GPS turned off

VPN set to always on and to disconnect if off

No SIM card. Using WiFi


问:
How do I add my existing audio notes to the Google Recorder app on my Pixel 7 Pro?
I used audio notes extensively on my old Samsung phone. Now I'm migrating to a Pixel 7 pro and I love the Google Recorder app which is only available on Pixel phones. It has live transcription and audio search. However, I can't seem to find a way to import my old audio notes into the recorder app. I have the audio files on my new phone as well as on Google drive, but there doesn't seem to be an option to add audio files. I'd like to keep all my audio notes in one app so I can search them, and of course getting the free auto-transcription for my old notes is a major bonus.

Is there any solution to this? At an extreme I could re-record the audio notes by playing them into a high quality microphone plugged into my phone. But that would be very time consuming so if there is any way to directly add the files please advise!


问:
Phone bricks when I uninstall package installer - can I block app install?
I have a phone that I am trying to block from being able to install apps. I tried removing package installer via ADB, but when I did that the phone bricked upon being restarted, and had to be hard reset. My question is a) is there a way to avoid the phone bricking when package installer is removed, and b) is there a way to totally and permanently block app install without removing package installer? Thanks!</p>


问:
Is it best to charge battery only after completely discharging it?
Is it best, for battery life, to charge it only after completely discharging it?</p>


问:
How can I set up an alarm that rings if there's no internet connection for x minutes?
I set up an alarm that rings if there's no internet connection for x minutes. (E.g., x=5)

I use a Pixel 6 with Android 12.


问:
Cannot turn on developer mode on TCL 20 Pro after factory reset
I have an issue with a TCL 20 Pro not allowing me to activate the Developer mode. I've tried to use the normal method of going to 'About Phone and tapping the build button x7' but it does not work.

I have a second TCL 20 Pro with which this method does work with no problems. The only difference that I can see is the one that has the issue has been factory reset, but when I confirm the firmware they are using, they have the same band and the same firmware version.

I cannot re-flash the firmware from the bootloader as the stock firmware file is a .tctbin file which is not recognised by the bootloader and I cannot seem to find the usual .zip file used for flashing.

My questions are:

Is there a workaround, ie: using the fastboot mode to enable dev mode and or the serial port?

Also, is the .tctbin the correct file type for flashing the TCL 20 Pro from a TS card?


问:
Check what website is my app displaying. It was created with appcreator24
I have an app that is basically a container of a browser opening a website but I am unable to see what website it is so I can open it through a normal browser.

I have tried to trap the network traffic but haven't found a way to do so, and extracting the apk has given me too much files to check. Any ideas?


问:
How to keep clock on at night on charger
I keep my phone on a wireless charger beside my bed. Until recently, the clock would show on there very dimly with a black background, plus some other notifications and stuff. Recently, it changed to where it just goes fully black. I didn't knowingly change anything. This was not an app, just something native to Android. I'm on version 12, Pixel 3. Any idea how I can get the clock back?

It shows for a while then goes away, like some time in the night. I'm not sure if it's a time out thing, or maybe something that happens when charge goes to 100%.  Or maybe specific to being within the bedtime mode window, although I've scoured those settings.

BTW, this most obvious setting is enabled: Settings->Display->Lock screen->Always show time and info


问:
Is it possible to backup absolutely everything?
My phone is having issues, so I'd like to know if it's possible to backup everything, so apps, app data, files, pretty much every little thing.

(My phone is a Samsung J7 Star that's unrooted)


问:
Set Automate app as a device admin on Fire OS
I'm using Fire OS 7.3.2. I'm trying to set the "Automate" app as a Device admin, but when I click "Grant as device admin" it doesn't do anything. So I then tried to use ADB commands but it only just said "Unknown component".

Can someone please help?


问:
Where does Whatsapp store its data on the phone?
I was clearing up some storage in my phone. The File Explorer App says Whatsapp takes 10.68 GB (see screenshot 1), whereas the folder Android/media/com.whatsapp is only 6.23 GB (see screenshot 2). Is there any other place where Whatsapp stores its data?

I have a Xiaomi phone with MIUI 12.5 and Android 11 RKQ1.


问:
Where does bmgr store the backups when using LocalTransport?
I've successfully triggered a backup using bmgr:

```<code>$ adb shell bmgr list transports
  * com.android.localtransport/.LocalTransport

$ adb shell bmgr transport com.android.localtransport/.LocalTransport
Selected transport com.android.localtransport/.LocalTransport (formerly com.android.localtransport/.LocalTransport)

$ adb shell bmgr enable true
Backup Manager now enabled

$ adb shell bmgr backupnow com.mirfatif.mylocation
Running incremental backup for 1 requested packages.
Package @pm@ with result: Success
Package com.mirfatif.mylocation with progress: 2560/3072
Package com.mirfatif.mylocation with progress: 3072/3072
Package com.mirfatif.mylocation with progress: 5632/3072
Package com.mirfatif.mylocation with result: Success
Backup finished with result: Success
</code>```

Now where can I find this backup archive (presumably *.ab) on the device? Is it in a location accessible without root powers?

(if you wonder for the background: with adb backup being deprecated, and Android 12 said to only backup data for apps marked as debug, I'm looking for an alternative allowing me to have my backups in a location of my choosing. On that path I'm exploring bmgr, but this piece of information seems missing and did not surface during my searching the web. If it's possible for an end-user to define a dedicated transport with a storage end-point of choice, hints on that are welcome too and considered valid answers as long as they meet the goal)


问:
Resize /data on stock recovery
I'm on the BL6000Pro (with Magisk) which has no custom recovery (like TWRP) that I know of.
I run CAOS11 on it but the /system partition is already full while the /data partition is huge and empty.

I'd like to shrink /data and expand /system.
However, all solutions to shrinking /data require a custom recovery to manipulate the unmounted /data partition.
I can manipulate /system via fastboot resize-logical-partition system {{size}} but not /data because /data is not a logical partition.
In the stock recovery I have no adb access (adb devices says "unauthorized") while I have adb access in the ROM.

Question:
Is there a way to shrink /data without a custom recovery?

I think this question applies generically to any device that has no custom recovery and might therefore be of (somewhat) larger value to the community.

Edit:
Here's an excerpt from fastboot getvar all

```<code>(bootloader) partition-size:userdata:0x3A05FF8000
(bootloader) partition-size:sdc:0x3B96000000
(bootloader) partition-size:misc:0x80000
(bootloader) partition-size:boot:0x2000000
(bootloader) partition-size:super:0x140000000
(bootloader) partition-size:metadata:0x2000000
(bootloader) partition-size:vendor:0x29817000
(bootloader) partition-size:system:0x100000000
(bootloader) super-partition-name:super
(bootloader) is-logical:para:no
(bootloader) is-logical:userdata:no
(bootloader) is-logical:sdc:no
(bootloader) is-logical:misc:no
(bootloader) is-logical:boot:no
(bootloader) is-logical:super:no
(bootloader) is-logical:metadata:no
(bootloader) is-logical:vendor:yes
(bootloader) is-logical:system:yes
</code>```

Title: Resize /data on stock recovery


问:
Cannot enable wifi/tcpip adb at boot time in Android 10 - no Allow USB debugging prompt/unauthorized
I have a Lenovo TB_X606F, with stock Android 10. I managed to root the device, and I wanted to be able to have the device listen to port 5555 for adb connections over Wi-Fi, that is TCP/IP, at startup (otherwise, I have to connect it via USB to a PC, and issue adb tcpip 5555 on the PC, and then disconnect USB, every time I want to access the device with adb over TCP-IP/Wi-Fi, and I want to avoid having to do that).

I have seen:

https://forum.xda-developers.com/t/seeking-advice-on-rooting-smart-tab-m10-fhd-plus-2nd-gen.4080371/

https://forum.xda-developers.com/t/solved-manually-enable-adb-debugging-from-recovery.2335799/page-3

https://stackoverflow.com/questions/12251101/how-to-enable-adbd-to-listen-to-a-port-at-boot-time-in-android

https://stackoverflow.com/questions/51943937/unable-to-use-adb-connect-to-enable-wifi-debugging

https://forum.xda-developers.com/t/adb-missing-popup-debugging-authorization-permission.4484757/

How can I enable Android Debugging from a root shell on the phone?

How to enable adbd to listen to a port at boot time in Android?

... and I performed these commands, rebooting the device after each command to test:

```<code>$ adb shell
X606F:/ $ su
X606F:/ # setprop persist.adb.tcp.port 5555
X606F:/ # setprop persist.sys.start.adb 1 # here it started allowing connections, but unauthorized
X606F:/ # setprop persist.service.debuggable 1
X606F:/ # setprop persist.service.adb.enable 1
X606F:/ # settings put global adb_enabled 1
</code>```

Now, when the device is rebooted and goes online, I can do on my Linux PC:

```<code>$ adb kill-server
$ adb devices -l
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully

$ adb connect 192.168.0.10:5555
connected to 192.168.0.10:5555
$ adb devices -l
List of devices attached
192.168.0.10:5555      unauthorized transport_id:1
</code>```

The problem is, once I've done adb connect, the "Allow USB debugging" never shows up on the tablet, and therefore I cannot allow the debug connection, and therefore it remains unauthorized. So, I cannot run anything:

```<code>$ adb shell
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
</code>```

Yup - I have checked "for a confirmation dialog on your device" - it did not show up, wish it did ...

Funnily, if I thereafter plug the tablet device to the PC, I do get the "Allow USB debugging" prompt/popup/dialog - when I allow it, I get this:

```<code>$ adb devices -l
List of devices attached
HA1HA1HA               unauthorized usb:2-1.2 transport_id:2
192.168.0.10:5555      device product:LenovoTB-X606F_EEA model:Lenovo_TB_X606F device:X606F transport_id:1
</code>```

... basically, now the TCP/IP/Wi-Fi connection is authorized, and the USB one is not ?!

So - how can I enable adb access over Wi-Fi (TCP/IP) on this device, such that when I connect to the device with adb from a PC, I get a prompt to "Allow USB debugging"?


问:
allow inter-device communication on WiFi hotspot?
is it possible to allow devices connected to a hotspot to communicate with each others?

I have a "Ulefone Power Armor 13" rolling Android 11 and Wifi HotSpot, and multiple devices can connect to the HotSpot simultaneously, but it seems the phone is blocking these devices from communicating with each others, everyone can communicate with the phone itself, but not with other devices connected to the same hotspot, pinging another device from Windows yields

```<code>>ping 192.168.90.77
Pinging 192.168.90.77 with 32 bytes of data:
Reply from 192.168.90.241: Destination host unreachable.
Reply from 192.168.90.241: Destination host unreachable.
</code>```

and this was not the case on my old "Cat S60" phone rolling Android 6, there all devices connected to the hotspot could communicate with each others directly (i am GUESING that Android 11 is to blame, not the phone, but i don't actually know)


问:
How do I block reels on Instagram?
I find myself wasting lots of time watching Instagram reels that I did not intend to watch. It is not good for me and does not help me achieve the goals I want to achieve. I have installed tools to help me limit the time I spend on certain activities on my smartphone and on my laptop, but now I'm looking for a tool to do this with Instagram reels in particular.

Is there a way to block Instagram reels completely on the Instagram app on my Android phone?

Title: How do I block reels on Instagram?


问:
"pop-up message" obstructing for 120 seconds, was 2s
I have a new Motorola phone (moto g pure XT2163DL, Android 12), and it's giving me trouble.

For multiple apps, the "mini-notification" or "quick status message" that they display is staying asserted for way too long, obstructing my touch keyboard and other important functionality.

My older Android phone does it right. The messages pop up and go away after about two seconds.

On my newer phone the messages are staying up a full 120 seconds! Surely somebody has run into this before. Please, where is this setting, so I can fix it?! (An Android developer might know what this special message type is called. Is it an alert, a dialog box, a pop-up? Please let me know, as my searches will be much more useful!)

Pictures below:

"Saved Successfully." stays displayed 120 seconds:

Switching applications and rotating the screen doesn't make the message go away:

Sometimes the message is long and so much more troublesome! You can't touch-type on the keyboard while the message is hiding it! : "Opera Touch pasted from your clipboard" :


问:
obtain partition size without root access
On my device, I can obtain a list of existing partitions by executing ls -al /dev/block/bootdevice/by-name via ADB. But I found no way to obtain the size of each partition without root powers: cat /proc/partitions, blockdev --getsize64 <device>, cat /sys/class/block/sda3/size, cat /proc/diskstats – all of them give me a Permission denied; lsblk -no SIZE <device> gives me a "not found" (no lsblk obviously). Things like df or mount are not helpful in this context as they only apply to mounted partitions, and I need sizes from partitions not currently mounted.

Are there any methods I might have missed and which might work on a non-rooted device?

(the device in question runs Android 10, but I'm interested in all general solutions at least for recent devices, hence no version tag)


问:
Make Call on Android, mic Input Usb-C and Output Bluetooth headset
0

I bought a USB C lavalier microphone for my android phone.

Is it possible during a call and to have the voice in my lavalier microphone and the sound in my bluetooth headset (My bluetooth headset also has a microphone, but I don't want use this one)

To resume split my audio config: Input: Usb-C Output: Bluetooth

Note: I have a pixel 6 PRO and Android 13


问:
Can ADB backup/restore transfer data between personal/work profiles
If Phone 1 has no work profiles and has a given app installed normally, Phone 2 does have a work profile enabled with Shelter, and Phone 2 has the same app installed only in the work profile, can ADB be used to backup the app from Phone 1 and install it in the work profile in Phone 2? (assuming -noapk flag is used, so ADB doesn't attempt to install the app as new)


问:
How to launch Google Maps Driving Mode after Assistant Driving Mode Shutdown in November 2022?
I have an older car with no Android Auto built in. I used the Android Auto feature on my phone screen all the time before it was disabled in Android 12.

This forced me to switch to the Assistant Driving Mode screen, which was OK and would auto-launch when I got in my car.

This was now also shut down, and apparently I am supposed to use the Google Maps Driving Mode instead. But I don't really understand how I can launch it. Assistant Driving Mode would auto-launch, and it would also have a persistent notification that could be used to open it while connected to the car via bluetooth. This is no longer the case.
All of the articles I'm seeing are saying that you need to start navigating in Google Maps to start the driving mode there, but that can't be the only way? I use Driving Mode to make calls and play podcasts, and mostly drive around my town where I have no need for navigation. So is there another way to launch driving mode without starting navigation in Google Maps?


问:
Set custom notification sound per contact regardless of app - Samsung Phone
I own a Samsung phone (One UI 5.0 Android 13), and was trying to set a custom notification sound for a contact (technically a "room") in the Element android app.

In the process I found this issue where BillCarsonFr mentions that Android uses Notification Channels since Android 8, which seems like it's supposed to let you set a custom sound for any notification channel.

I observed the notification sound picking process on other apps like my SMS App or another web-based messaging App that had built in options to change notification sounds, and both of them loaded up an interface that was clearly from the Settings app in Samsung, letting me choose a sound. It also claimed to be a setting located in "App Name" > Chats > "Room/Person's Name".

However, I could not find a way anywhere to open a Chats setting under any App within the Samsung Settings app. It feels very frustrating to know such an option is there somewhere but there's no visual way of reaching it.

So... TL;DR: Is there any way I can forcefully open this chat-specific Setting using either ADB, some specific android SDK code, or an already existing App someone made?

OwnerDisplayName: RaKXeR


问:
Accidentally disconnected LG K7 during the firmware update
I accidentally disconnected LG K7 during the firmware update and I don't know what to do. I was on a phone call when I left it to charge my laptop and I wanted to move the phone to another charger that's near my bed. I didn't see that it was doing an update and I'm scared that I have messed up big this time. Please help.</p>


问:
Installing a Bluetooth codec on android 9
I have a flip phone that runs android 9. I've tried to enable LDAC bluetooth from the developer settings (while the headphone was paired) , but it doesn't seem to work. Would it be possible to install the codec on my phone from an external source?</p>


问:
My android phone drains from 100 percent to 0 percent in 20 minutes
I have been using my laptop to charge my android phone until recently when I noticed the back lid pushed to the back slightly and then the battery drains from 100 percent to 0 percent in 20 minutes. I suspect either the charging system or the battery. How can I be sure of the problem so I don't replace the battery to find out its a charging system issue?</p>


问:
Webex Application on Android does not bypass Do Not Disturb
I'm using a Samsung Galaxy Note 20 Ultra 5G on Android 12, One UI 4.1.

Where I work, we use Webex for our phone system.  Every so often, I go on call.  My cell number gets added as part of an on call hunt group.  When I'm not on call, someone else gets added.

Because the Webex app's call sound is really not very alerting, I like to have my cell's phone app ring, in addition to the Webex app (I have a much more alerting sound for the phone app).

When I'm on call, I need the Webex app to bypass my do not disturb so it wakes me up in the middle of the night.  It does not.  Consequently, I've had to get creative with a bunch of other settings that really screw around with how my phone rings.  Ideally, what I want is for my phone app on my cell to ring whenever my desk phone (a softphone on my workstation at work) rings.  When I'm on call, setting Remote Office in the Webex app to "on" with my cell number seems to force my cell and my desk to ring at the same time as the phone app and the Webex app.  When I'm not on call, this same setting seems to force calls to my work number to go direct to my cell and direct to voicemail.  The cell will ring once briefly.  Webex doesn't even ring.

To deal with this, I have to disable all my other app notifications and leave do not disturb turned off overnight.  This is less than ideal.

What do I do?  Life seems like it would work properly if Do Not Disturb settings were respected.  I am set to allow the Webex app through Do Not Disturb in Android and while the alert shows on the screen, it doesn't make any noise or vibration - which makes me believe that it's not actually bypassing Do Not Disturb.

OwnerDisplayName: Michael Beck


问:
How to control volume for Chromecast with Google TV from your phone AND have 5.1 surround support
I have just bought a new Chromecast with Google TV and hooked it up to my A/V-Receiver+Beamer setup, but I will refer to it as "TV" further on as it doesn't make a difference here.

According to Android Police - How to control Chromecast with Google TV volume using your phone, there are three options:

TV volume is controlled via HDMI CEC using the Chromecast remote

TV volume is controlled via Infrared using the Chromecast remote

Chromecast volume is controlled via the Chromecast remote

I can't combine those options.

Options 1) and 2) mean I can't use my phone or Google Assistant to change the volume of what I'm playing.
Option 3) means I will lose support for 5.1 surround sound, so this is an option I do not want to use in my home cinema setup.

So apparently, I'm out of luck end of the story.

BUT:

In the Google Home app, I can open my Chromecast and open a remote on my phone and it has volume buttons, with which I could control the volume of my TV (as if I would have pressed the buttons on my Chromecast remote), if I chose option 1) above.

So this is proof that it is indeed possible to control the volume directly from my phone AND have support for 5.1 sound. It's just hidden underneath a lot of clicking around.

I'm not new to programming at all, I have worked as a Java developer in the past for almost a decade), but I'm completely new to Android development.

I want to figure out how feasible it is to write an app which essentially does the following:

The app is in the background, no user interface is visible. It hijacks the physical volume controls of the phone (this is doable at least when you're within an app (aCalendar does this and allows you to scroll with those buttons). It determines whether media is currently streamed to a Google Cast device (which seems to be doable as well), determines whether that device being cast to supports volume control (or determines whether the device is a Chromecast with Google TV, and ends up with the same result) and if yes, it sends a volume up/down event to that Chromecast.

If not, the app just forwards the event to Android and it behaves as normal (e.g. by changing the phone's internal volume, changing the in-call volume, etc.).

More specific questions:

Is it possible to intercept volume-button presses in an app which runs in the background (please excuse me if I'm not using correct Android terminology heere)?

Is it possible to forward intercepted volume button presses to the OS, so that the default behavior of those buttons doesn't break?

Is it possible to determine whether media is being streamed to a cast device?

Is it possible to determine whether that device is supporting volume controlling or alternatively determine what model of Chromecast it is?

Is it possible to send volume events or remote-key presses to that device, like the Google Home app does?

I know, the question is rather long, but the topic is quite complex on the other hand.


问:
How to disable GPS on Android phone?
I want to disable all GPS functionality for my Android phone. How would I do that?

Thanks!

Title: How to disable GPS on Android phone?


问:
How to block a contact on WhatsApp based on local time?
I am trying to avoid getting WhatsApp calls from specific people who live on the other side of the world - when it's daytime for them, it's nighttime for me. Talking to them about it hasn't helped.

How do I block a contact on WhatsApp (on a Pixel 5, if it matters) only for a certain time window?


问:
Auto backup so I can share the same app data on Bluestacks and phone
I have a Samsung Galaxy S5, running Android  6.0.1 Marshmallow. I also have BlueStacks 5.

A group of games I play does not have Google Play transfer, and I thought I could use the import button on BlueStacks and find the file on my phone (save file) and copy that to the import of BlueStacks. However, seeing as every time I play on a different device, I'll have to copy through cable, import, etc.

I was hoping I could set something like OneDrive to backup and sync constantly that specific file (which would get updated as saved). Currently, I have to use Android Studio to access the save file - it is hidden from the operating system.

How can I do this?


问:
How to stop vlc from resizing on home button touch
I have vlc installed on my Android phone running Android version 11, whenever there is a video playing and then I hit the home button it resizes and continues to play the video in Pip mode, I have checked in the VLC video settings and I have confirmed that  PiP is disabled. How do I force VLC to not resize whenever I hit either the intentions button or the home button?</p>


问:
Android Studio - data manager - permission denied
I have a Samsung Galaxy S5, Android 6.0.1 Marshmallow. I try to access a save file for a game without Google Play cloud backup.

I have managed to get deeper into the file system using Android Studio than using file managers on Windows and devices (as in I can see the game folder now). However, I get permission denied. Everything I try to open, I get permission denied, or similar. (the phone is in debug mode, etc.)

To be honest, I barely know my way around Android Studio, I am not a developer.

How can I give myself permission?


问:
Interoperation between DroidVim and Termux
I've been using DroidVim under Android for a few years now, primarily to edit a rather sprawling notes repository that I sync with my PC using git under Termux.  The repo lives in a subdirectory of the internal storage root directory (/storage/emulated/0/Notes).  Under Android 8, which I'm still using on an older phone, I have DroidVim set to start up in that directory and I can load various session files for various tasks.  But under my newer phone, which runs Android 12, I can only see and access directories in internal storage (outside of the path allocated to DroidVim) and can't see any non-directory files (like, for example, the text files that I wish to edit with vim).

Is this because of changes to Android permissions?  If so, is there a way around it, with or without rooting the phone?

DroidVim now has a file browser built into it, and files you select to edit are copied over to a temporary location for editing.  This really doesn't work for my purposes.

There doesn't seem to be an option in DroidVim to enable more access to the filesystem.  Currently it looks like it has the "Files and media" permission; when I tap on that it shows a dialog with "Allow access to media only" selected; the only other option is "Don't allow".

I'm able to access files in the root of internal storage using other apps (like Termux, for example)—I just can't do that with DroidVim.  Termux cannot, however, access the "home" directory of DroidVim.  Is there another location I could store my repo where both DroidVim and Termux would have access to it?


问:
Is it possible to give a system app full read and write access to the main external storage in Android 11?
We're building our own ROM from AOSP, and the ROM will have a third-party app installed to /system/priv-app but we need to give that app read and write access to the main external storage without any user input.

The ROM is based on Android 11, API level 30.

However, we found no such permissions that could allow us to grant the app external storage access, and it seems like whatever permissions like WRITE_EXTERNAL_STORAGE, READ_EXTERNAL_STORAGE, etc. either have no effect or doesn't function as expected in Android 11.

We found MANAGE_EXTERNAL_STORAGE, but this also needs user input via ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION intent.

Are there any hidden permissions to allow us such thing? Or is there any other solution that can achieve the same effect?


问:
Installing firmware SM-A015F to SM-A015AZ hardware
i have a SM-A015AZ and their is no OEM unlocking feature and i want to install magisk i updated the firmware manually with Odin but no luck i now want to install SM-A015F firmware on my SM-A015AZ phone i feagured it would work since they have the same specks and same hardware*.</p>


问:
Receiving notifications throughout user profiles
I'm using 2 user profiles on my Android 12: 1 for my work apps, 1 for my personal apps.

Recently I installed an app for my home security on my personal profile. Whenever my cameras recognize somebody (mailman, intruder etc.) I receive an notification in that app. However, at work I use my work profile, so I won't get any notifications from apps from my personal profile.

Is it possible to allow notifications from different user profiles, so that I get a notification from my security app from my personal profile, while using my work profile?

Is it possible to make my security app available for both profiles, without installing and setting it up twice?


问:
Very slow data transfer between my smartphone (Huawei Y6s) and Laptop (HP Elitebook 840G1)
So, recently I got a new Huawei Y6s and transferred all my data to my HP Elitebook 840G1. It is just 5GB of data with almost 45000 photos. It shows about 1 day on the PC transfer dialog box. I am very confused, I mean I transfer two to three movies up to 8GB of data and they transfer just fine.

I don't know, I think that maybe because of a large number of files, it makes the transfer slow. It is worth noting that a movie with about 4GB of data will transfer in just 10 minutes, but these photos though, are 45k in number but 5GB of data is taking forever to transfer.

What shall I do? What's a better transfer method?


问:
Some app, whose mobile access is restricted, suddenly starts using data after switching mobile carrier
My problem is some apps I specifically disallow data access started to use mobile data after I switched mobile company. I didn't change any settings. It never happened with two previous carriers with the same phone.
I don’t know if my smartphone is malfunctioning, a malware is installed, or something else?
Here is what happened:

I use prepaid mobile plan with minimum data, so I always disable mobile data for most apps (set individually in the App section in the Settings). It worked fine for years.

On Nov 24th, I switched a mobile company (from Lucky mobile (Bell) to Chatr wireless (Rogers), both Canadian carriers) and swapped SIM cards. It took about 24 hours before I could use data.

While I still didn't know if the data was available, I used Google Map and Google Chrome, both are set to wifi only. They worked but I thought I was in a wifi hotspot that is everywhere in a city. Then I played a game I specifically disallow BOTH wifi and mobile data (so that I can play it locally without seeing any ad).  At the end of the game I saw an ad, it was the time I realized my data was finally available and the data was consumed. But why, the app is prohibited to use any data including wifi and mobile data.

I checked the Settings. The settings remain the same but the Google map and Chrome along with the game app consumed data. I restarted the phone but it didn’t make a difference.

I was afraid that my phone was hacked, so I installed Norton 360 and scanned a malware but nothing was detected.
I installed NetGuard so that I can control data access easily. For now I disable mobile data of the phone all together and manually enable it when I use data then disable it when I finish. It works for now but I am still puzzled.

Current situation:
When I open an app with restricted data, for most apps, I get this message: “** was restricted from using your cellular network. Remove the restriction?” which is normal and supposed to be like that.

However, there is an app, specifically Google Chrome, accesses mobile data without showing the message. Strangely Google Map and the game app that used data on the first day, now show the above message.
I understand that small data is still transmitted while mobile data is disallowed, but this is not the case.

My phone is 3-years old Huawei Nova 3, Android version 9, and I don’t have any problem with the phone except for a shorter battery life.

My biggest fear is that my phone is compromised as it happens when I swapped SIM cards. If my phone is just too old and malfunctioning, I can get a new phone. Any help will be appreciated. Thanks.


问:
how to send webp images through MMS?
Facebook Messenger has, seemingly recently, started saving images in .webp, and my MMS client, which is also Facebook Messenger, is unable to send .webp images over MMS, which makes me unable to send images saved from messenger over MMS.

i have come up with a cubersome workaround, essentially opening Termux and running

ffmpeg -i 'storage/pictures/Messenger/received_636843891503476.webp' 'storage/pictures/Messenger/received_636843891503476.png'

solves the problem, but is very cubersome.. is there any better way to send webp over MMS?

Title: how to send webp images through MMS?


问:
Can't screen record on android tablet, Samsung Galaxy Tab A7
Can't screen record on android tablet, Samsung Galaxy Tab A, I am using AZ Screen Recorder,
It runs Android 10, whenever I try to screen record, the video does not play or it will show a black screen.</p>


问:
init.rc won't run iptables-restore but runs iptables
I have this code in /system/etc/init/fw.sh that works great:

```<code>on post-fs-data
   exec u:r:magisk:s0 -- /system/bin/iptables -P INPUT DROP
</code>```

But the line below does not work:

```<code>   exec u:r:magisk:s0 -- /system/bin/iptables-restore /data/test/fw.rules
</code>```

Permissions on the fw.rules are 750, the context shouldn't matter as u:r:magisk:s0 is the super context.
I know the rules are correct because iptables-restore works when I do it from the terminal once Android boots up. What am I doing wrong?


问:
Installing a large game (APKs) but it wont install but still take up so much storage but i haven't the game installed?
I installing a large game (3.2gb) with APKs format from my sd card (place where i save the APKs file) using zarchiver. I  click install and waiting for like 10 minute but there nothing. No app installed, i try many time (i think this is the mistake) installing the game but it still the same. And when i see the storage it takes 60gb! Before is like 50gb used. I check the app from setting and i dont see the game installed. What should i do? I dont want to reset my phone. I am very grateful if anyone gives me a solution.</p>


问:
Apps are crashing after changing SIM
I changed my service provider a day ago and after that almost all the apps are crashing. I deleted the cache factory stop etc. Nothing has worked. When I restart my phone I am able to use apps perfectly but after 10 or 20 minutes later it's same again. Hope you got something for me.</p>

Title: Apps are crashing after changing SIM


问:
Oneplus Nord file manager not able to open intent
On my Oneplus Nord I have multiple apps that aren't able to open a file manager to let me select files. There would be the Cryptomator app giving me the following error in their debug logs:

```<code>android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT_TREE }
    at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2114)
    at android.app.Instrumentation.execStartActivity(Instrumentation.java:1770)
    at android.app.Activity.startActivityForResult(Activity.java:5473)
    at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:597)
    at android.app.Activity.startActivityForResult(Activity.java:5426)
    at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:583)
    at org.cryptomator.presentation.presenter.Presenter.requestActivityResult(Presenter.kt:214)
    at org.cryptomator.presentation.presenter.CloudConnectionListPresenter.openDocumentTree(CloudConnectionListPresenter.kt:167)
    at org.cryptomator.presentation.presenter.CloudConnectionListPresenter.onAddConnectionClicked(CloudConnectionListPresenter.kt:128)
    at org.cryptomator.presentation.ui.fragment.CloudConnectionListFragment.setupView$lambda-0(CloudConnectionListFragment.kt:41)
    at org.cryptomator.presentation.ui.fragment.CloudConnectionListFragment.$r8$lambda$pNdBGyr2z2kiliHSZlRXLnVhB8A(Unknown Source:0)
    at org.cryptomator.presentation.ui.fragment.CloudConnectionListFragment$$ExternalSyntheticLambda0.onClick(Unknown Source:2)
    at android.view.View.performClick(View.java:7488)
    at android.view.View.performClickInternal(View.java:7464)
    at android.view.View.access$3700(View.java:841)
    at android.view.View$PerformClick.run(View.java:28911)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:233)
    at android.os.Looper.loop(Looper.java:344)
    at android.app.ActivityThread.main(ActivityThread.java:8212)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)
</code>```

In the app NewPipe if I want to select a folder on where to download videos to it says No suitable file manager was found for this action. Please install a storage access framework compatible file manager. There I was not able to get a detailed error message but I assume it's about the same. Since this appears in these two apps (and some others I have uninstalled) I assume this is a problem with the stock ROM of the Onplus Nord. I have the latest Version with Android 12 installed. I tried multiple filemanager apps from the playstore but none so far worked for all the apps.

However the Material Files App lets me use KeePassDX. Without that app I get a similar error message there aswell.

Is there any solution that gets rid of the error in all apps? The phone isn't rooted.


问:
How to increase size of Chinese characters on Samsung keyboard?

Here each Chinese character in the character picker is surrounded by this wasted black margin, and there's no way to increase the size of the characters any further, no matter using the Keyboard settings, or Android settings itself.

Yes, you might might say, "Use the accessibility magnifying glass", but that is just a temporary solution.


问:
Retrieving Android phone's identificators
I will be publishing a fingerprinting app that shows its user how much access to their Android phone's identifiers it has. I haven't started writing it because I need to understand how can any Android phone be identified by using only its hardware as IMEI and software as Google Ads ID identifier. Even CPU model is considered an identifier. It must not use other identifiers as Internet Protocol addresses or user-generated data as email addresses. Therefore I have the following questions:

What identifiers can Android theoretically provide access to any app that requests them?

Which of them need user-granted access permission before the app reads the identifiers? Which of them don't? For example any app can retrieve phone model name without being explicitly given access to it by phone's user. But the request to read and write device storage be approved by user explicitly via Android GUI.

How can I know how a specific Android version impacts whether my app will be able to read the ID? For example, starting from Android 10 no app can read IMEI even if it possesses READ_PHONE_STATE permission as I read it from another SE question https://security.stackexchange.com/questions/224487/uniquely-identify-each-mobile-phone-of-android-10-9-and-below

How can my app's user consciously evade app's access to any of these IDs? Can they spoof all of them or just opt-out of revealing them?


问:
See the location for "moving" on Google Maps timeline
Google Maps says "moving" in the timeline, is there another way to see the location? I've looked in my Google activity & can't find any location for the time it says moving.</p>


问:
Chinese characters not showing in Japanese font, MIUI
my problem is that, by default, Android (or just MIUI) shows chinese characters with the chinese font (for reference, some hanzi and kanji have the same unicode code even though they look slightly or considerably different). The solutions should be adding japanese as a second language (not keyboard) on the device, but this doesn't seem to be possible on MIUI, as when I tap on the other language, all the system turns to the specified language.</p>


问:
Google Drive not recognizing wi-fi connection
So, Google Drive for Android decided to deny me access to my files, saying I've no connection. I do have a good connection as I am able to watch videos and check out forums in the mean time.

The thing is, the moment I connect to a friend's WiFi, it works. If I go back to my own WiFi, Google Drive suddenly stops working.

Again, I have a perfectly good connection with everything else but Google Drive. What on earth is going on here?


问:
Check 32 and 64 bit support individually on Termux
With Google Pixel 7 lineup ditching 32 bit support, I think it is now necessary to check for 32 and 64 bit support individually.

From what I interpret, the Google Pixel 7 series will not be able to run 32 bit (ARM) executables. It breaks my script which downloads a 32 bit executable.

If phone supports 32 bit, download the 32 bit executable. Otherwise, download the 64 bit one.

I know it is strange to download a 32 bit executable on a 64 bit device supporting 32 bit. But please, ignore it.

I think we can use getprop but I don't know how.

Anyway, please help.


问:
Personal hotspot turns off as soon as screen goes off
I have Nokia G21 and I'd like to share wi-fi with my PC. The problem is that as soon as my phone's screen goes off the hot spot turns off as well. How to fix this problem?</p>


问:
Is time in Exif or other metadata in a Nexus 5x video?
I have some MP4 videos taken with a Nexus 5x.  I no longer have that device.  Which of the Exif or XMP or the metadata (if any) contains time in UTC that the video started or ended?  I'm trying to get them in chronological order with all the still pictures I took.</p>


问:
Is there any chance I could get my phone touchscreen working again?
I have a Pixel 4a smartphone and some water mixed with disinfectant fell on it yesterday. I turned off the phone and wipe it within 30 seconds and let it off for about 30 minutes.
Now the middle part of the touchscreen won't respond to touches eventhough the rest of the phone seems fine. I removed the sim card tray, it doesn't seem to have any signs of humidity. Is there any chance I can fix the issue whithout unmounting the phone or do some expensive repairs?

Thank you in advance for your help !


问:
How to use WhatsApp to pick pictures from Dropbox on a Samsung device?
Recently, my old phone broke and I switched to a new Samsung phone. I noticed that the default file viewer and photo gallery app on my old phone would happily connect to Dropbox, this is not the case with the Samsung Gallery/Photos app. I also found confirmation of this on the Dropbox website https://help.dropbox.com/integrations/samsung-device-app.

However, this does make it annoying to send and use pictures that are backed up on Dropbox using WhatsApp and other apps. I wonder if there is a way to select pictures from Dropbox directly. I.e. some apps that will show up in the following list of apps in WhatsApp and other apps:

P.S. I do know that it is possible to use Dropbox and send something from Dropbox to WhatsApp. However, I find it inconvenient to have to open another app to be able to send pictures. So I would like to be able to instead use WhatsApp to open pictures from Dropbox directly like I used to do with the default gallery app on my previous phone.


问:
How to backup BirdNET?
I'm using BirdNET application to collect data about birds. However, the app does not support registration and data synchronisation, or even import/export.

I asked support if they provide the way to backup data, but there is no such way; info from the support:

Thanks for reaching out to us. Users can save and text/email the sound file of their recordings from the app; however, it does not offer the option of backing up the observations and transfer them to a new device. Sorry for any inconvenience.

Question: How can I backup that data? Is there any app that would do that auto

Title: How to backup BirdNET?


问:
WiFi problems with DNS.adguard.com
At home I can use the AdGuard DNS via settings -> WiFi & network -> private DNS -> private DNS provider hostname, and setting that hostname to dns.adguard.com.

In many public places where I do have WiFi without using this DNS, using AdGuard gives the error "Private DNS server cannot be accessed" and WiFi is not used.

Specifically the EduRoam university network does not work with the AdGuard DNS.

It means I often switch back to private DNS -> automatic, but in practice that seems to work the same as private DNS -> off: even at home where the AdGuard DNS would work, it is not being used.

Does anyone know if there's another setting that would make AdGuard usable in those public places, or at least to have an "automatic" option that does at least use AdGuard when possible?

Title: WiFi problems with DNS.adguard.com


问:
How to restrict content inappropriate for children on the Android Kindle app?
Google play books, and Amazon devices like the Kindle, have parental controls that allow parents to stop their children from downloading explicit sexual/violent books and comics.

But the Android Kindle App does not seem to have any. (Despite being a far more popular way for children to read books than either of the above).

Does anyone have a solution for this?

(I googled a lot but only got useless info: instructions for how to do it on Kindle Fire or other Kindle hardware; a family feature on Amazon https://parents.amazon.com.au/ to which you can add neither your kids Android devices nor their accounts; etc).


问:
How to use a single WhatsApp Business number on two different phones?
I'm trying to use two different phones for one WhatsApp Business number due to them only allowing the use of one phone.

How to use a single WhatsApp Business number on two different phones? Can I do it by making an app think I'm using a tablet?


问:
How to disable the screenshot sound effect on Android 12 (and above)?
To my knowledge there's no such setting in AOSP, having combed through the system options in several major LineageOS (19 at the time) and CyanogenMod releases.

The only method I know is to delete the related file (I've also wiped the entire folder contents) in /system/product/media/audio/ui/ using root or alternative using the 'do not disturb mode' at all times.

The stock camera app (e.g. com.android.camera2) may or may not have an option to turn off the shutter sound.


问:
Unable to register new passkeys for Android 13 with error message "Your encrypted data is locked on this device"
I was experimenting with the passkey support for Chrome on Android when I came upon this error while registering a new passkey:

Your encrypted data is locked on this device

For security, you can no longer access your encrypted data on this device. Try again using a device you've recently used to sign in to your Google Account.

Visit https://g.co/OnDeviceEncryption to learn more.

Screenshot of the error message

I am running Android 13 using a Google Pixel phone. I believe that Google uses Google Password Manager to save the passkeys. But, I am not sure how to correct this. I have tried to sign in to another phone with the same account, but this keeps on happening.


问:
Ota update and factory reset after rooting
In Galaxy note4 910k ,After rooting ,
I did *unrooting using Magisk or super SU to prevent the bank app and rooting check app from detecting rooting.
but if I do the factory reset or OTA update in this situation, will the bank app stop working?

I saw many cases that after reset, root checking apps cant detect root, but banking apps dont run


问:
how to move apps to SD card on Galaxy A15
apps are consuming a lot of space on my internal storage so I decided to buy a new memory card to where I intend to migrate all the apps to installed on internal storage to it but then I have tried selecting all the apps and then check if there is a menu with the option to move the apps to SD card but the android 11 OS does not even show any kind of menu on selecting multiple apps. How do I move apps to SD card to save on space?</p>


问:
How can i tell if my phone has ever been rooted?
Banking apps can be not running when they think the phone is not safe even the phone is “not” rooted .

And factory reset or OTA update after rooting can make root access botched. Just like unrooting phone. So root checker apps can’t detect rooting after factory reset.

Then can i tell whether my phone has ever been rooted before factory reset without checking knox?
(Cuz broken knox doesnt necessarily mean rooting.)

My phone is reset . Root checking apps say its not rooted. But banking apps dont work.

Is thery any way to check..?


问:
tablet doesn't turn on, does it need a backup battery?
I would like to know if the tablet needs a backup battery to start (the device does not turn on anymore)

It is an old device.

thanks in advance


问:
disable keyguard, statusbar and navigation bar on AOSP Android 11 system
How do we disable the Keyguard to appear on the device after the boot up on Android 11 onwards.
Also how should I remove the Status bar and navigation bar to appear from the device always.

I do not want to add any Full screen flags through my applications. I want the screen to be in kiosk mode always.

Are there any flags or properties in AOSP Frameworks or device make-file which we can override to achieve this.


问:
Samsung Galaxy A22 5G never shows 5G
My 'Samsung Galaxy A22 5G' never shows "5G" on its status bar, despite being where 5G coverage is proven (checked on another 5G smartphone of mine).

It only shows "4G+".

https://www.gsmarena.com/samsung_galaxy_a22_5g-10873.php lists this phone as having 5G bands: 1, 3, 5, 7, 8, 20, 28, 38, 40, 41, 78, 79 SA/NSA/Sub6

Entering my phone's IEMI into https://www.imei.info only shows the following: IMEI.info: LTE-FDD: 800, 900, 2100, 2600 and IMEI.info: LTE-TDD: 2300, 2500, 2600:

I verified that its 'Network mode' is set to 5G/LTE/3G/2G (auto connect).

I also tried resetting its network settings via General management > Reset > Reset network settings.

Still, it only shows 4G+. It never shows 5G.

Any idea why?

Title: Samsung Galaxy A22 5G never shows 5G


问:
Old Asus Nexus will not boot
My old Nexus has been unusable for years. I loaded a custom Rom 6. something and it booted up but some apps said my root was incorrect or something. So I used king root or something to try to fix it and now it wont boot at all. It says the device is unathorized in adb and debugging is not authorized. So I went and got Grouper 7.1 and loaded that on and it still wont boot up all the way aththough ArDroid keeps flashing on and off. Is there a fix or should I use this thing as a frisbee? Its a 2012 Asus Nexus 7 2012 first gen I think and with Andoid 5.1.1 it was unuseable. So I had nothing to lose</p>

Title: Old Asus Nexus will not boot


问:
How do I know if files have been copied from my phone to a laptop via USB. Knowing I gave permission for file transfer
I connected my phone to someone's laptop so they could give me a certain file but I'm suspecting they used the opportunity to copy files from my phone to their device. Is there any chance a log is stored containing  any info about the process and what files were accessed?

Thank you.


问:
View PC notifications on phone
I know that this has been asked before here, but I don't have sufficient reputation to post a comment here and ask if there is an update applying to Windows 10/11. I am looking a solution for the exact same question: How to view Windows notifications on my Android phone? May be there was no unified method of showing notifications on Windows at the time linked question has been asked, but as Windows 10/11 are designed with tablet mode in mind, there is a chance that Microsoft has made such a unification. I have searched Google Play for an app, found only one requiring an open browser window, which isn't what I'm looking for. Anyone having a solution for this?</p>

Title: View PC notifications on phone


问:
How to monitor network traffic on android with root access?
I want to monitor network traffic on my rooted android device.
I found an app called "Network Log" (repo), but it's outdated, designed for old android versions and have some bugs (but not critical). The app captures every packet using iptables, so it requires root.
Is there any similar apps to this one, but newer?</p>


问:
How can I make Firefox (or any other Android browser) automatically redirect me/automatically change URLs?
There are at least two cases where I'd like my phone's browser to automatically replace all URLs that fit a pattern: www.reddit.com/XXX --> old.reddit.com/XXX, and XXX.fandom.com --> XXX.breezewiki.com. I assume this can't be that uncommon a request. Ideally this would work in the os's built in google results, firefox, chrome, etc. but I could live with it only working in Firefox. I can't find any tool or FF extension to do this on Android at all. Does such a tool exist? I'm on a Pixel 6a if it matters.


问:
How to change default video player in ownCloud?
I am using Android app for ownCloud and its built-in web player does not play some MKVs properly (no audio) and it does not have a cast button.

I can long-press on a file, then go triple-dot menu and choose 'open with' then choose VLC, but that gets old very fast when you are playing short videos.

Is there a way to force ownCloud to always open video files (or at least specific extensions) with another app?


问:
Android 11 file system and cloud storage
I have documents stored in the cloud, and I used to have a use case like this:

I edit documents on a PC

These documents are automatically uploaded to the cloud

I download documents to my phone via the application

But after buying a smartphone on Android 11, I ran into a problem that it was no longer possible to download files to the folder I needed because of updates in the file system, but the application still allows you to download to the Downloads folder, but the whole trouble is that the application stopped seeing files with the same name and offering to "Replace" them"or "Skip", but simply duplicates each time adding an index at the end of the name, which negates the use of the cloud, because you constantly have to keep in mind that after uploading documents you need to go in and delete all the old files (and there may be a lot of documents).

Is there any solution so that when downloading files, it is possible to replace files, and not duplicate them


问:
Can't clean app caches on Xiaomi Mi Note 10
On Xiaomi Mi Note 10 I can't clean the caches of apps.

A workaround for cleaning the caches that worked partially was to make the Google PlayStore display the warning about missing disk space for an app update (by filling all available disk space) and clicking "Zum Speicherplatz" (go to disk space) then clicking on "Data in cache" to delete that cache. However, that does not delete all the app caches, only what is detected by the playstore and cache-cleaning apps don't work at all.

When I try deleting the app caches with a cleaning app, it runs without an error but no disk space is actually freed up afterwards. Also it displays that lots of system app each have a cache of the same size (for example 50 MB each and 1 GB overall) and doesn't display the actual apps with large caches, but this may vary. It does not run without an error with the cleaning app "1 tap cleaner" which doesn't work at all because the buttons are greyed out when it tries doing the below automatically.

When I go to manage apps and open an app there, the "delete data" (and the "force quit") button(s) are disabled (greyed out) and "disk space" displays "0,00 B". On a previous phone the same apps also had a lot of data in the cache but I could always delete them manually and with cache cleaning apps.

Here's how I know that the caches of some apps are larger and that they haven't been deleted (beyond that there should be more disk space left): there's a stock app "Deep cleansing" ("Tiefenreinigung") and it shows which apps take up a lot of disk space (when clicking on "Apps" on the page). The buttons for the apps are also greyed out for but I could delete their large caches on another Android phone. Screenshots:

An app taking up a lot of storage space with its cache that is not shown in the first screenshot is the stock Gallery app by Mi UI which can't be deinstalled and also has the delete data button greyed out. At least that what a scan with SD Maid shows.

When I go to "Deep cleansing" ("Tiefenreinigung") app data at the bottom only shows <10 MB that it could remove.

The phone has the latest updates but I generally decline any prompts it shows for giving some permissions to private data (however it may be that I once accidentally pressed allow when installing an app because I think it used to show two prompts asking for private data permissions after installing any app but now it shows only one; if there's a way to check and revoke let me know). I'm having this problem for quite a while now.

I don't know why it's legally allowed to prevent users to maintain usable phones and be able to delete their caches.

Do other users of that phone have the same problem? So far the only thing I could find was comments here which suggests few other users also experience this.

What's causing this problem and what else to try?


问:
How to revoke all authorizations (to private data) given to Xiaomi in MIUI?
On Xiaomi Mi Note 10 there are three prompts asking for authorizations:

When opening Bereinigung (the stock cleaning app; I tried using that because I still can't delete caches with Xiaomi Mi Note 10)

Two prompts when installing any new app (I think it used to be two)

I accidentally pressed confirm to the prompt when opening Bereinigung (shown in the left/first screenshot) and I think I accidentally pressed confirm to one of two prompts after installing an app (now it only shows one prompt when installing an app shown in the right/second screenshot).

The text says something like (it's in German in the screenshot):

In order to use the basic features of this service, you must agree that Xiaomi will collect, process and use your personal data

and

Grant authorization
Virus scan is provided by Xiaomi. To be able to use this feature normally, you must allow Xiaomi to collect, process, and use your personal information (including the data related to your usage of this feature which will be used for content recommendation) in accordance with the Privacy Policy

I didn't actually meant to press confirm but the button appeared where I meant to press another button just before the prompt showed up. And I don't even want to use these features either.

I'd like to revoke these authorizations, how can I do so?

I checked "Authorization & Revocation" in the settings, but there

it does not display the Bereinigung app or general app install related authorizations but just a few apps that I haven't disabled so far: "Updater", "Updater for System-Apps" and "Security"

authorizations can't be revoked for the few remaining app: when pressing revoke it just loads "Revoking authorization" and then displays "Could not revoke authorization"; and for the apps that this worked it required retrying it many times.


问:
How to fix Samsung Galaxy S3 to boot successfully?
I'm using Samsung Galaxy S3 GT-I9300. Recently, I installed an app and the problem started. The phone started to crash. I had to restart the phone to work but the problem just repeated. But now, when I want to boot the phone, it just shows me the Samsung animating logo with a blue LED light, but it doesn't boot successfully and stays on showing the logo.

I tried many times to wipe the factory data, but nothing is fixed.

Please tell me what to do.


问:
Is it possible to make Android Emulator appear as an USB device on my Linux machine?
I need to access both ADB and MTP from one emulated device. May be there is some ready-made solution that can emulate android device via usb device emulating?
All that I found is an android kernel gadget https://android.googlesource.com/kernel/common/+/59c75bcf603f355ff34282422e8c3f2165b9d5f2/drivers/usb/gadget/android.c
It can be useful, but it's not the easiest way to do that.</p>


问:
Cannot connect to dormitory network using android 13 on google Pixel 4a 5g
So my dormitory wifi/network uses a combination of TTLS and PAP authentication to which I can successfully provide my credentials. But when it comes to certificate and domain choice I actually don't know what to do. No matter the certificate and domain choice I simply cannot get it to work. I read the problems started on android 11, but I had no problems with the dorm wifi/network on android 12 (on the afore Pixel and on the Galaxy Tab S6). Also the connection should work fine on A13, but only tested on Samsung device. Any idea how to solve this. The dormitory IT actually doesn't know what domain i should provide. I tried also a few (old) domains that I pick up via Wireshark on Windows but no luck.</p>


问:
Quick Change Profiles App
I used to use an app called quick profiles on my old phone, but can't find this or anything similar on the play store for my new phone.
I used it to switch between different profiles for night home and work. It would change the screen brightness, volume, and vibrate setting for each profile.

Anyone know of something similar that's still available today?

Title: Quick Change Profiles App


问:
Why won't my mobile data work in some countries that are covered by my plan?
I have a moto g(7) power with an international T-Mobile plan that is supposed to allow me to use my phone in most countries around the world without needing to get new SIM cards. This works most of the time, but I've noticed a few countries not behaving correctly. What normally happens is that I'll get a text message from T-Mobile saying "Welcome to X country" and explaining that I have 5 gigs of high-speed data per month for that country. Then once the high-speed data runs out, I can still use unlimited low-speed data for the rest of the 30-day cycle. But for the countries where this doesn't work, I'll still get the text message that confirms the country is covered by my plan and I'll see that I have cell signal but when I open a browser or try to use messaging apps it says there's no Internet.

Here is how it worked in Australia and New Zealand for example:

✅ I get a text confirming that I have coverage in the country

✅ The cell signal icon indicates a strong connection

✅ I am able to use mobile data

Here is how it's working in Fiji:

✅ I get a text confirming that I have coverage in the country

✅ The cell signal icon indicates a strong connection

❌ I am not able to use mobile data

Curiously, it seems that I am able to make phone calls and use SMS in Fiji, and I guess that's because those things are considered by phone plans to be different from mobile data.

At first I thought maybe the problem was related to the 5 gigs of high-speed data being expired, but the problem still wasn't solved when the cycle ended and my high-speed data was renewed. I've tried using mobile data in Fiji both with and without high-speed data available and the problem is the same in both cases.

T-Mobile customer support didn't seem to understand the problem unfortunately. Here are the troubleshooting steps they ran me through:

I reset the phone's network settings multiple times

I restarted the phone multiple times

I enabled international roaming

None of that worked, of course. What is causing this problem, and is there anything I can do to fix it?


问:
Disconnected phone while installing a ROM on Samsung Galaxy S10
I tried to install a ROM in my Samsung Galaxy S10 5G, but after a minute, my phone suddenly disconnected from my PC and the following message appeared:

(이 휴대전화의 부트스트랩 로더 잠금이 해제되어 있고 소프트웨어 무결정이 인증되지 않았습니다. 이 휴대전화의 데이터가 손상될 수 있습니다. 중요하거나 민감한 정보는 여기에 저장하지 않는 것을 권장합니다. 계속하려면 전원 버튼을 누르세요)

Google Translate:

(This phone's bootstrap loader is unlocked and software integrity has not been authenticated. Data on this phone may be compromised. We recommend that you do not store any important or sensitive information here. Press the power button to continue press)

Since then, I can't get into recovery mode again. I tried several ways to open the recovery mode to start over the installation but doesn't work. Now I don't know what to do?


问:
Which circumstances allows 2 phone icons to be displayed on the notification bar?
I'm using Motorola Moto G50 on Android 12. I noticed that there are 2 phone icons on the notification bar, one on the left and the other beside the clock icon on the right.

How come? Could this be the case of a forwarding call? or something related to that kind of service?


问:
How to boot Pioneer XDP-300R from SD card?
I have an issue with my Pioneer XDP-300R. By mistake, I had overwritten the boot partition, and now the device won't power on anymore. I think the device is "hard bricked" now.
Searching for a solution, I thought it might still be possible to boot the device from an SD card, since the XDP-300R has two micro-SD slots available.

ADB and/or Fastboot do not work with the device, since it is not recognized at all.

If there is anyone who can help with explaining how to boot the device from SD card? I would be very grateful, if this is possible.


问:
Keep dial pad open during call. Proximity sensor NOT activated
I often keep my phone on speaker and muted away from my face. The screen goes completely blank after 10 seconds. This makes it very difficult to unmute and unspeaker myself if I need to say something. When I'm not in a call my screen goes dark after 2mins which is fine. I want my screen to remain on until the screen timeout or proximity sensor is activated.</p>


问:
Tasker Scene WebView JavaScript Interaction
Is it possible to call a Javascript function that exists within a WebView from Tasker? I tried calling a URL on the WebView of "javascript:FUNCTION_NAME()", but that did not seem to work.

This is a completely random example. Lets say, from Tasker, that I want to be able to change the background color of the body of the WebView.

In the webview, I have the code

```<code><script>
function ChangeBGColor(NewColor)
{
document.body.style.backgroundColor=NewColor;
}
</script>
</code>```

I want to be able to call ChangeBGColor() from Tasker with a color.


问:
Lock screen timeout very short on Galaxy S22 Ultra
I recently purchased a Galaxy S22 Ultra and when I'm on the lock screen trying to read my notifications, it always times out after 5 seconds and the screen goes black.

I have the display timeout for the entire Android system set to 5 minutes, and I used GoodLock to set the lock screen timeout to 1 minute, but it seems the setting is being ignored.


问:
Possible to make a copy of WhatsApp backup stored in Google Drive?
My phone is a Samsung Galaxy S9. When my WhatsApp is regularly backed up to my Google Drive, the old one is deleted. I want to keep a copy of the old one, that was backed up to Google Drive.

How can I do it? Or you can tell me how to make a copy to the PC if you know it too.


问:
Making kernel to allow 2processes to access camera at sametime
Like split cam or obs in windows,
Can i add virtual camera driver or moduel in kernel so that 2 processes in android can use camera at sametime? (One is default and the other is getting video frame)</p>


问:
Why does tapping on a Wi-Fi Network not do anything?
When I try to connect to certain Wi-Fi networks, it won't respond or try to connect. When I tap on the network name, it gives the selection animation, but it doesn't show the "connecting..." text or show that it's connected. Sometimes my network wouldn't even show up in the list. Every one of my other devices can connect to the network.

It seems to also happen in certain places in the building. When I put up my own hotspot on another device, it won't respond to that either.

I've got an unmodified non-root Samsung S10 with One UI version 4.1, Android version 12, and was just factory reset a few days ago

Any fixes?


问:
Port-forwarded connection (adb) being reset
I'm connected to an Android phone (being hosted on OpenSTF) via adb and have run

```<code>$ adb reverse tcp:34567 tcp:34567
</code>```

adb reverse --list confirms that the command was successful.  I've also got an HTTP server listening on my computer at 127.0.0.1:34567.  I've compiled a simple C program which creates a socket connection to 127.0.0.1:34567, sends a GET request, and then calls read on the socket.

When I run the program on the phone, it successfully connects and I'm able to send my request.  However, read fails with

Connection reset by peer

Running Wireshark on my computer shows no TCP packets on port 34567 (I'm listening on the any "interface").

Am I missing something obvious?  It's strange that the connection succeeds but that no packets reach my computer.

I don't have the issue if I connect a phone to my computer directly (i.e., via USB).


问:
My Samsung Galaxy Note10+ is automatically deleting my Music!
In Some days, I listen to music on my Samsung music app. today, I found out that some of my music is gone! Even deleted on the My Files app! is there anything I can do to stop this?

Most of my music is from "internal storage/Music"

Some of my music is from "SD Card/Music"

All of my music is from "Onedrive/Music"

Only "sdcard/music" are having missing files

It happens whenever i favorite a song using Samsung music


问:
Is Amazon's Fire OS more or less secure than the latest Android OS?
I picked up a tablet from Amazon in a recent sale. I noticed the device (Fire HD 10 2021) is running Fire OS 7. (7.3.2.6 as of now) which is based on Android 9.0 (Pie). I have heard the tablets stay on the base version they have been shipped with to deliver a stable performance during the expected lifespan of the device. Sounds okay, however, I wonder if the most current version of Fire OS for a given device is as secure as the latest (supported) version of vanilla Android considering the version gap and vendor's update practice. The biggest security factor is probably still the user behavior but the platform and the eco system plays a role too.

I tried to look into some related security questions to come to a conclusion but could not find good information, e.g. Are fixed Android exploits that affect older versions (back) ported to Fire OS?
Is the average number of open vulnerabilities similar or higher? I am at risk if I am using Fire OS on an older device or should I consider rooting it and replacing the OS after 2-3 years? Can someone shed some light on this matter?


问:
Do music apps on Android filter small files?
I have lots of albums containing mp3 files on my Android phone. To listen to these tracks I have tried some music apps, but I am facing the same issue with lots of them : the small mp3 files (< 1 MB or so) are not showing up ! They are displayed if I am using a file explorer app, but not on the music apps, so I cannot listen to them.

Why is it so? Is this normal? Does it depend on my phone, Android version, or only the music apps? Is there a way to stop this? I was not able to find how to remove this filter in the parameters of the apps. Do you have the name of free music apps that do the job?

Thanks


问:
Chrome crashes on Acer Iconia A200
I'm seeing problems identical to this issue, where Chrome either crashes, becomes unresponsive, or the screen goes black if I switch between tabs.  Logcat shows:

OpenGLRenderer is out of memory

According to the Chromium issue, this stems from bugs in the Tegra video drivers.  For the Asus Transformer, it was fixed by a system update.  (I'm running the most recent ICS update on my Iconia Tab.)

Is there anything I can do to get Chrome working reliably on the A200, and is there any hope of Acer fixing their software?

ContentLicense: CC BY-SA 3.0

Title: Chrome crashes on Acer Iconia A200


问:
Location sharing is not enabled on my device. How do I fix that?
When I try to share my location in Google Maps on my Samsung Galaxy S21 FE, I get the following error message:

Roughly translated, the error message means "Location sharing is not enabled on this device". Next to it is a link labeled "Beheben", which means "Fix it". When I click on that link, the link is replaced with a spinner for about 1 second, then the "Fix it" link just reappears, and nothing else happens.

Why is Google Maps unable to fix the problem, and how can I fix it myself?


问:
How to enter specific characters by typing specific words without special keys
I would like to have my Android tablet recognize every time I enter a specific codeword or sequence of characters like, e.g. "qtqtqt" and turn it automatically into a specific symbol like, e.g. "ñ".

I am not asking how to (re)define or assign a key combination like Shift+u, but rather how to type a codeword and get it automatically turned into a symbol.

In my example, let's say I want to assign the codeword "be" to the symbol "ñ", an obviously bad choice since that is a very common word in English, but I do this for the sake of explaining my point here. Then, whenever I tried to type Hamlet's famous words (just ordinary keystrokes without Shift or Ctrl or Alt) I would get this automatically:

To ñ or not to ñ, that's the question!

Thanks