问:
Can't install TWRP to my Xiaomi Mi 11 Lite 5G NE (lisa)
Every time I try to install TWRP (or any other custom recovery) to my Xiaomi Mi 11 Lite 5G NE (lisa), I get these errors.

If I try fastboot flash recovery TWRP.img, I get this error:

```<code>Sending 'recovery' (196608 KB)                                             OKAY [  4.826s]
Writing 'recovery'                                        FAILED (remote: '(recovery_a) No such partition')
fastboot: error: Command failed
</code>```

And every time I try to boot into the recovery immediately: fastboot boot TWRP.img, it boots but the screen stays black.

Windows makes the connected sound, and if I check adb devices, it shows that the device is in recovery mode. But I can't see any recovery on my phone.

I tried it with 4 different custom recoveries and all of them gave the same errors/reactions.

How can I fix this?

OwnerDisplayName: SharkieCodes


问:
Yellow "pass" in Odin after installing a new software to Samsung
After I've installed the software to my mobile I got yellow "pass" but every thing done well

What is that? is it important?

ContentLicense: CC BY-SA 4.0


问:
How to make sure Android'a notification can give sound and vibrate?
I bought some Xiaomi phones to play video games, and then set a notification so that when something happens in the game while I am on the computer, then the phone would play some audio and also vibrate.

However, it is strange that some phone would do both. Some only vibrate, and some do not do either, but just slide down a narrow dialog at the top of the screen for a few seconds. It is even the case that a phone that played audio would stop playing audio a few days later, with nothing changed for the notification settings.

Is there a way to make them all work reliably?

I was thinking of the Do Not Disturb but the notifications are set to "give notification even in Do Not Disturb mode", so this should not be the reason.


问:
What part of the OS controls the hardware? Such as accessing the GPIO pins?
Is it a lib call or some other part of Android the handles the GPIO. I know I won't be able to Peek/Poke or Inp/Out like in the TRS-80 days but if someone could point me in the right direction it would be much appreciated.

Pike


问:
No sound 2-3 seconds when receiving a webrtc call
I have this system:

(1) Pjsip phone

(2) Sipml5 phone running on windows and linux

(3) Sipml5 phone running on android

(4) Asterisk server

(4) is on an AWS machine. All clients are connected to (4) via vpn. All clients are registered: (1) transport udp, (2) and (3) transport ws. Instant answer is a requeriment.

The problem is when i make a call from (1) or (2) to (3) it has ~2-3 seconds sound delay, but when i make a call from (1) to (2) it seems all ok. PJSIP.conf is the same for (2) and (3).

I have checked RTP protocol, STUN and SDP trace. RTP debug shows, until ICE completition, sound go to wrong address  (SDP c=IPV4 wrong address).

I have tried this recommendations

SIP and RTP Routing - From Asterisk

Forum post: Delay in receiving the call

Forum post: WEBRTC 1 to 4 seconds delay

but none works for me. Any advice?

Thanks in advance.
Alberto.

Update:

Android debug:

Making a call (it works)

```<code> 00:00:13.205   I/ViewRootImpl@b2bea09[MainActivity]: ViewPostIme pointer 0
 00:00:13.240   I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ==stack event = m_permission_requested
 00:00:13.243   I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ===session event = connecting
 00:00:13.280   I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x1, using default mask 0x10 based on channel count of 1)
 00:00:13.280   D/AudioRecord: createRecord_l() remove fast or raw flag of voip calls, source=7, flags=5
 00:00:13.515   E/chromium: [ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
 00:00:13.534   I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ==stack event = m_permission_accepted
 00:00:13.813   I/IMM_LC: hsifw() - flags=0, caller=android.view.inputmethod.InputMethodManager.hideSoftInputFromWindow:1846 org.chromium.content.browser.input.ImeAdapterImpl.i:174 org.chromium.content.browser.input.ImeAdapterImpl.updateState:523 android.os.MessageQueue.nativePollOnce:-2 android.os.MessageQueue.next:335
 00:00:13.813   I/IMM_LC: hideSoftInputFromWindow - mService.hideSoftInput
 00:00:13.883   I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ===session event = i_ao_request
 00:00:13.966   I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ===session event = m_early_media
 00:00:13.970   I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ===session event = connected
 00:00:15.916   I/ViewRootImpl@b2bea09[MainActivity]: ViewPostIme pointer 1
 00:00:15.933   I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: <i>Terminating the call...</i>
 00:00:15.954   I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ===session event = terminating
 00:00:16.032   I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ===session event = terminated
</code>```

Receiving a call (2-3 seconds no audio)

```<code>00:00:45.548    I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ==stack event = m_permission_requested
00:00:45.555    I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ==stack event = i_new_call
00:00:45.559    I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: Answer / Reject
00:00:45.564    I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: <i>Incoming call from [<b>7013</b>]</i>
00:00:45.567    I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: <i>Connecting...</i>
00:00:45.577    I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ===session event = connected
00:00:45.581    I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: <i>In call</i>
00:00:45.592    I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ===session event = m_stream_audio_remote_added
00:00:45.632    I/AAudio: AAudioStreamBuilder_openStream() called ----------------------------------------
00:00:45.632    I/AudioStreamBuilder: rate   =  48000, channels  = 2, format   = 5, sharing = SH, dir = OUTPUT
00:00:45.632    I/AudioStreamBuilder: device =      0, sessionId = -1, perfMode = 12, callback: ON with frames = 192
00:00:45.632    I/AudioStreamBuilder: usage  =      1, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0
00:00:45.632    I/AudioStreamBuilder: privacy sensitive = false
00:00:45.632    I/AudioStreamBuilder: opPackageName = (null)
00:00:45.632    I/AudioStreamBuilder: attributionTag = (null)
00:00:45.632    D/o.ionic.ideavc: PlayerBase::PlayerBase()
00:00:45.686    D/AudioStreamInternal_Client: open() original HW burst = 96, minMicros = 2000 => SW burst = 96
00:00:45.686    D/AAudioStream: setState(s#2) from 0 to 2
00:00:45.686    I/AAudioFlowGraph: configure() source format = 0x00000005, channels = 2, sink format = 0x00000005, channels = 2
00:00:45.688    I/AAudio: AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#2 ----------------
00:00:45.699    I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x1, using default mask 0x10 based on channel count of 1)
00:00:45.700    D/AudioRecord: createRecord_l() remove fast or raw flag of voip calls, source=7, flags=5
00:00:45.907    D/AAudio: AAudioStream_requestStart(s#2) called --------------
00:00:45.907    D/AAudioStream: setState(s#2) from 2 to 3
00:00:45.908    E/chromium: [ERROR:web_contents_delegate.cc(232)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
00:00:45.924    I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ==stack event = m_permission_accepted
00:00:45.961    D/AAudio: AAudioStream_requestStart(s#2) returned 0 ---------
00:00:45.966    D/AudioStreamInternalPlay_Client: callbackLoop() entering >>>>>>>>>>>>>>>
00:00:45.966    D/AudioStreamInternal_Client: onEventFromServer - got AAUDIO_SERVICE_EVENT_STARTED
00:00:45.966    D/AAudioStream: setState(s#2) from 3 to 4
00:00:52.604    W/chromium: [WARNING:sync_reader.cc(237)] ASR: No room in socket buffer.: Broken pipe (32)
00:00:52.619    I/Capacitor/Console: File: http://localhost/static/js/main.aca58b93.chunk.js - Line 1 - Msg: ===session event = terminated
00:00:52.673    D/AAudio: AAudioStream_requestStop(s#2) called
00:00:52.676    D/AudioStreamInternalPlay_Client: callbackLoop() exiting, result = 192, isActive() = 1 <<<<<<<<<<<<<<
00:00:52.676    D/AAudioStream: joinThread_l() pthread_join succeeded
00:00:52.676    D/IsochronousClockModel: stop(nanos = 212228077818778) max lateness = 630 micros
00:00:52.676    D/AAudioStream: setState(s#2) from 4 to 9
00:00:52.811    D/AudioStreamInternal_Client: onEventFromServer - got AAUDIO_SERVICE_EVENT_STOPPED
00:00:52.811    D/AAudioStream: setState(s#2) from 9 to 10
00:00:57.812    D/AAudio: AAudioStream_close(s#2) called ---------------
00:00:57.812    D/AudioStreamInternal_Client: release_l(): mServiceStreamHandle = 0x00000068
00:00:57.813    D/AAudioStream: setState(s#2) from 10 to 11
00:00:57.917    D/AAudioStream: setState(s#2) from 11 to 11
00:00:57.917    D/AAudioStream: setState(s#2) from 11 to 12
00:00:57.917    D/AudioStreamInternal_Client: ~AudioStreamInternal() 0x6f9155d960 called
00:00:57.917    D/AAudioStream: ~AudioStream(s#2) mPlayerBase strongCount = 2
00:00:57.917    D/AAudio: AAudioStream_close(s#2) returned 0 ---------
00:01:03.213    I/ViewRootImpl@b2bea09[MainActivity]: ViewPostIme pointer 0
00:01:03.270    I/ViewRootImpl@b2bea09[MainActivity]: ViewPostIme pointer 1
00:01:03.281    I/IMM_LC: hsifw() - flags=0, caller=android.view.inputmethod.InputMethodManager.hideSoftInputFromWindow:1846 org.chromium.content.browser.input.ImeAdapterImpl.i:174 org.chromium.content.browser.input.ImeAdapterImpl.updateState:523 android.os.MessageQueue.nativePollOnce:-2 android.os.MessageQueue.next:335
00:01:03.282    I/IMM_LC: hideSoftInputFromWindow - mService.hideSoftInput

</code>```


问:
POCO M3 Pro 5g not booting up after unexpected shutdown. It does not charge as well
I was using my phone scrolling on Facebook then it suddenly shuts down. After that I tried to boot it but after holding the power button for 15 secs It shows that its out of battery. but I know my battery life was at 98% cause I just finished charging.

1 day has passed since.

Here's what It tried so far but failed:

I charge my phone but the charging screen does not appear. but it only shows the empty battery screen.

Tried to hard reset by holding the power button and volume down.

Drain the battery for 1 day then booting it.

Boot it while charging.

Hard reset while charging.

Tried to charge it for up to 2hrs then boot it.

Can someone tell me what's the the problem and how I can fix it?


问:
Everything freezes during booting virtual device in genymotion/android studio
I can't understand what's going -  every time I try to boot virtual device in genymotion or android studio my laptop just freezes and needs to reboot. Every process just stuck. Can't fix this problem.

I boot my Linux from an external ssd.
Technical parameters of my computer is more over than enough to using android emulator like android studio or genymotion (i7-10750H and 2070 RTX).

Any ideas?


问:
How to remove suggested emails in Gmail app in Samsung Galaxy S7?
How can I remove an unwanted email address from the suggested emails in the "To" section once I start typing an email address?

I've already gone through all the suggestions of clearing my cache, checking that person is not in my contacts (both Android and Google contacts) and checking under "Other contacts" under google contacts.

Odd thing is, I have never added this person as a contact even, I had to reply a few times in the past to him and now his email keeps showing up in my Gmail app and only there, he doesn't show up in my Outlook or Gmail webpage... how do I remove it?

Please advise.


问:
Craigslist App (Official): What is this screen prompt?
I've been curious about this for a while now, haven't been able to find out anything from searching.


问:
Encrypting an SD card so that it will also work on a new phone
I have a LG G8 running Android 10. Your basic, unrooted, stock ROM phone commercial phone. It has a 64GB SD card where I place most of my data.

I want to know how I could achieve the following 2 goals simultaneously:

I'd like the files on the SD card to be encrypted so that if I lose my phone, the person who finds it cannot access the data on the SD card

If the phone dies on me, I'd like to be able to access the data on the SD card, simply by inserting the card in a new Android phone. Since it's encrypted, I'm fine with entering a password or decryption key that I would extract from my current phone.

Caveats:

My future phone will be by a different manufacturer since LG has abandoned Android manufacturing. So no suggestions specific to my current phone.

I don't want to set up proper backup for my SD card (eg using SyncThing or similar tools). I already know how to do backups, and it's what I'll do if there is no other choice, it's just common sense.

I don't want to use 3rd party commercial apps or (more tolerable) open-source/F-Droid apps, though you are free to mention them for other people who find this question. I want a solution supported by the base Android OS (eg Developer Mode), or with standard tools like adb.

I don't want to root my phone or change my ROM from the stock

There are other questions similar to mine (5 to 10 years old), where the answer is "you can't decrypt your encrypted SD card from your old phone". But in all those questions the OP has broken his/her old phone, or forgotten the password. That is not my case, my phone still works, and I can take action to prepare for the future.


问:
Unable to reorder navigation in MS Teams app, getting an error on saving
When trying to reorder the navigation for the Microsoft Teams app, I get an error.

To save your edits, at least one item must not be a bot.

[OK]

I have not added or removed any items, merely reordered them:

Selecting save leads to the error shown.

Searching for the exact error message yields nothing.

What does this message mean? Is there a workaround, such as editing a settings file?


问:
List apps (not) supporting adb backup
Is there a reliable way to identify all the installed apps that do (not) support adb backup?

I am running a LinageOS and seem to be forced to reinstall to upgrade. I would like to check which apps I need to manually back up or where I need to be prepared to lose data.

I found this script, but it does not properly identify Signal as not supporting backups... https://sourceforge.net/projects/no-adb-backup-app-lister/files/

Title: List apps (not) supporting adb backup


问:
Network connection not working while calling Xiaomi 10T
My boyfriend and I call a lot, and for the last few months we noticed that he isn't able to use his 5G network when we are calling. We call a lot and we don't always have a wifi connection, so it is necessary for us to fix this issue.

His profider is Telford.
The phone in question is the Xiaomi 10T.
He is currently using MIUI 13.

We appreciate any tips and fixes <3


问:
Recovering media which is deleted month before from android 10 mobile storage
I have deleted a some media files month before, then I used my mobile as usual. Yesterday I performed a factory reset to mobile clean since it's storage is full. Now I need to get back my media which I deleted month before. Any possibility for this?</p>


问:
How can I use adb or other utilities to query the camera list that my rom supports?
I'm using LinageOS with MicroG. Is there a method to get the listing of enabled/supported cameras by the rom/firmware?

I am using Android 11.


问:
Help with decompiled apks
when I decompile an apk I get several folders with weird names like a b a0 b1 and so on. same for Java source and smali file names. Is it possible to reconstruct the source hierarchy and resources like it was before the build?

Specifically I want to know what code is called when I tap on a specific button in the ui.

Title: Help with decompiled apks


问:
If I turned off the wireless display while my phone was still connected to my neighbor's TV, would it automatically disconnect from it?
I accidentally connected my phone to my neighbor's TV.

I instantly turned off the wireless display, did my phone disconnect from his TV?

If I turned on the wireless display again, will his TV automatically reconnect to my phone?

If I disconnect my phone while it's still in a "connecting" state (not "connected" state), did I actually disconnect it from his TV?

If he turned his TV off first before I managed to disconnect it from his TV and his TV disappeared from the wireless display list, did my phone automatically disconnect from his TV? And once he's turning his TV back, does it still connect to my phone?

Is my phone safe from this?


问:
How to quickly go back to Google Maps start screen
When I first open Maps, I see a Search bar at the top where I can type in a place to go, I can click on the default quick-searches (Coffee, Restaurants, etc.), or I can just scroll on the map to look around. But if I start going deeper, e.g., looking at photos from restaurants, at one point I have to close a bunch of screens using a combination of back arrows, X's, and down-arrows to get back to the start screen.

I know they added a magnifying glass search icon  on some screens to quickly search for another place, but then I miss out on scrolling around with access to the default quick-searches.

Besides killing the app and reopening, is their another way to quickly (with one tap) get back to the start screen?  I've started to use Google Maps Go so I can open that and get to its start screen once, but after that it's the same problem.

(Mini rant: I find this particularly frustrating because a Go Home feature would be immensely useful in many Android apps, yet it basically doesn't exist as far as I can tell. But on websites, where it is almost completely useless, there's usually a pointless "Home" button.)


问:
Choosing correct OTA
Android OS crashed.  Error Message

```<code>Android Recovery
TCL/REVL_2_5052w/A30ATMO
8.1.0/OPM1.171019.011/VAR4A-0
user/release-keys
</code>```

Think that means 8.1.0 = Oreo API level 27

https://developers.google.com/android/ota [only lists the following in a search for 1.171019.011 ]

```<code>"taimen" for Pixel 2 XL
"walleye" for Pixel 2
"marlin" for Pixel XL
"sailfish" for Pixel
"ryu" for Pixel C
"angler" for Nexus 6P
"bullhead" for Nexus 5X
</code>```

To "usb boot" device i'm following: https://www.droidwin.com/fix-cant-load-android-system-your-data-may-be-corrupt-without-reset/

it "seems" user may have held power button too long and that messed up os boot cycle somehow.  Reason to believe circumventing normal boot will allow system to reset and possibly return to normal (at least regain access to data on phone) No new apps downloaded within last 6mnths.

In order to download the OTA Images I need to know which full ota image is correct....right? or will any 1.171019.011 matching image work for the purpose of "usb booting" android?

If it was a linux os i would usb boot - regain access, hd scan, clear caches/temp files and track down the one or two corrupt files preventing boot.  Not sure correct way to achieve this on android.

Many blogs about fixing boot load error have  a boot menu
1.Reboot system now

Reboot to bootloader

Apply update from ADB

Apply update from SD card

Wipe data/factory reset

Mount/system

View recovery logs

Run graphics test

Run locale test

10.Power off

This phone is only displaying boot options

try again

2 Wipe data/factory re-test

adb version

Android Debug Bridge version 1.0.41

Version 33.0.2-8557947

Installed as /media/k/platform-tools/adb

 adb devices

List of devices attached

Device: https://www.devicespecifications.com/en/model/b6604de0

Title: Choosing correct OTA


问:
is Android 9 end of support
I am wondering if Android 9 is end-of-support. I found on Wikipedia that it is end-of-support since Mar 7 2022.

Also on https://endoflife.date/android, but I cannot find any official link.

Does anyone know the official link?

Title: is Android 9 end of support


问:
How to get root access on Wiko Sunny 2 Plus?
I was wondering if it was possible to root Wiko Sunny 2 Plus phone?

I've seen so many guides on how to do this for other devices

Unfortunately typing with the keyword "root" with this phone on youtube nothing appeared to me

Would you give me a way to root this phone?

I tried using applications like KingRoot and KingoRoot but root failed.

As Android version it had: Android 7.0 Nougat

But he had the option to unlock the bootloader


问:
What does virtual display do with Image pixels when smaller display dimensions are set than the grabbed ones?
I dont undestand what happens with pixels in Virtual Display in Android when output dimensions are reduced compared to the input ones ?

When I have for example input = size of my Display = 1920x960 and I set outputs to be 1920/3 and 960/3, what happens in that case with image pixels:

pixel density is increased or

maybe it takes only smaller part of screen that is centered and has
dimensions 640x320 or

something else?

Additionally, is there a way that I can only grab center part of screen as in picture below?


问:
The first few scripts at Android boot-up
What are the first scripts executed by the Android boot-up process before it starts running processes that do not have root privileges?</p>


问:
Why is my phone WiFi keep disconnecting and reconnecting when playing games?
The device I used is Realme C2 and there's no problem about my WiFi except my games. If I open the apps that uses more bandwidth it never disconnected, while if I use games like Minecraft Bedrock then I connected to a Minecraft server which have 30ms ping then it starts to disconnecting and reconnecting every 5 - 10 minutes. And now my gaming experience is impacted.
And again, I use other apps and the WiFi is fine and not disconnecting. My distance from router is 3 meters and I have full WiFi signal.

I forget all networks, clear cache, restarted my phone but still okay EXCEPT ONE which is games keep disconnecting and reconnecting.

I have another phone and connect to same network it fine even in games but in my phone Realme C2 is a problem when I play games.

Video:
https://youtu.be/854mOZhAAHQ


问:
Does updating binary blobs require re-compilation of android?
This is a high level question about binary blobs. Inside of my ROM is a file called proprietary-files.txt. This seems to track all of the blobs they imported from the upstream ROM to make LineageOS work.

It seems that upstream it seems the Infrared camera was disabled. This made a lot of headlines. My intention is to try a very old version of LineageOS to see if it the camera natively works. If it does, I'd like to backport the blobs to a new version to make it work.

If I run ADB as root, I can see .the /vendor directory. Is renabling this camera functionality as easy as inserting the (potentially removed .so) into my system's /vendor directory?


问:
Aux output (3.5mm) not triggered when inserting headphone
tl;dr: Is there a way to check that my phone is aware of the existence of my 3.5 mm aux port?

I have a Blackview BV4900 Pro running Lineage 19-20220613-UNOFFICIAL-arm64_bvS, and nothing happens (= the sound is still played through the speakers) when I insert a headphone cable in the 3.5mm audio jack slot.

I have:

Checked that the jack slot used to work with the original Rom,

Tried the headphones on a different device,

Tried different headphones on the same device,

Disabled AudioFX,

Disabled bluetooth,

Checked the audio settings,

Restarted the device,

Checked that the slot was not dirty.

How do I try and understand what is wrong?

I have tried adb shell dumpsys | grep headset to see if there is anything related to my issue, but could not find anything relevant.


问:
System UI crashes randomly
System UI crashes about 2 to 3 times a week. After looking at a few crash logs, it is the same every time. This information is generated from the Crash Log View application. - https://play.google.com/store/apps/details?id=com.arumcomm.crashlogviewer

```<code>Process: com.android.systemui
PID: 1487
UID: 10172
Flags: 0x30c8be0d
Package: com.android.systemui v30 (11)
Foreground: No
Process-Runtime: 1463145
Build: T-Mobile/Sprout/Sprout:11/RP1A.200720.011/SW_S98115AA1_V060:user/release-keys

java.lang.IllegalArgumentException: Service not registered: com.android.systemui.qs.external.TileLifecycleManager@901e525
    at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1775)
    at android.app.ContextImpl.unbindService(ContextImpl.java:1874)
    at android.content.ContextWrapper.unbindService(ContextWrapper.java:792)
    at com.android.systemui.qs.external.TileLifecycleManager.setBindService(TileLifecycleManager.java:203)
    at com.android.systemui.qs.external.TileServiceManager.unbindService(TileServiceManager.java:209)
    at com.android.systemui.qs.external.TileServiceManager.setBindAllowed(TileServiceManager.java:176)
    at com.android.systemui.qs.external.TileServices.recalculateBindAllowance(TileServices.java:151)
    at com.android.systemui.qs.external.TileServiceManager$2.run(TileServiceManager.java:258)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:223)
    at android.os.HandlerThread.run(HandlerThread.java:67)
</code>```

I don't have enough Android knowledge to have any theories, so any help is appreciated.

Title: System UI crashes randomly


问:
What is a vbmeta partition?
One of the optional steps of the Magisk installation steps says,

(Optional) If your device has a separate vbmeta partition, you can patch the vbmeta partition with command:

```<code>fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img
</code>```

What is the vbmeta partition it's referring to there? I didn't do that step. What may occur from that?

Title: What is a vbmeta partition?


问:
How to build a script to stop infinite scrolling in any app
How can I build a code/script to stop infinite scrolling (or scrolling at all) in any app I want to, like YouTube Shorts, IG Reels and Tiktok. Script should not break any app from running at all and other functions should work.

Rooting is permissible.
I think there would be a need to change some code near to Android base.


问:
How can I rebuild /data/system/packages.xml?
Today, I tried to manually modify the /data/system/packages.xml file to completely uninstall an app, but I accidentally deleted the whole file, and now the phone won't boot up.

I tried to re-flash the system by mounting the OTG USB stick in TWRP, but it still won't boot up properly.

Now I have actually recovered an old version of packages.xml file, but since I re-flashed the system, the apps installed in the system are not exactly the same as those in the original packages.xml, so I still can't turn on the phone.

Is there any way to fix it? Thanks a lot!


问:
Compiling Android Bootloader Little Kernel
I have successfully compiled Android bootloader from git://codeaurora.org/kernel/lk.git

It produces a lk.bin file which I assume is the code for the bootloader.

How do I pack that file into a bootloader.img file for fastboot flashing?


问:
Can the Google Ads identify my phone for ads in apps?
A lot of free apps rely on advertisement. Even the OS in a lot of mobiles show ads in built-in utility applications.

Does the Google Ads framework has a capability to identify an Android user for the ad shown in the following scenarios?

Ad shown in an app where Google log in credentials have been used.

Ad shown in an app where Google log in credentials haven't been used, but the app's data and cache is intact.

Ad shown in an app where Google log in credentials haven't been used and the app's data and cache have been cleared.


问:
How to find Notification Access in Android 10 Realme UI 1.0
I have Realme 5 phone. It has Android 10 - Realme UI 1.0.

I installed an application, that requires notification access to function properly. In the app's guide it said for Android 10 just search for "Notification access" and you will find it. But in my phone, I cannot find it. I looked everywhere. If someone knows how to find it or an alternative?


问:
How to know what LTE category my android phone support
I have multiple android devices, how do i know which LTE category does my device support? when buying an LTE router you can see the category number printed on the device but this doesn't apply to mobile phones unfortunately.

Gsmarena doesn't show which category each device support(certified for), so maybe there is a secret code that can be dialed in the device to show the LTE category?

Regards


问:
Truecaller MMS download fails
MMS messages download fine on the stock messaging app. Unfortunately, all MMS messages fail to download in Truecaller.

Any ideas?

Title: Truecaller MMS download fails


问:
USB C thumb drive is considered as USB host on Samsung Galaxy S10. How to reverse/fix it to "This Device"?
I purchased a USB C thumb drive to make transferring images off my phone (Samsung Galaxy S10) a little simpler. However, upon being prompted for the "Charging Connected Device Via USB" for "USB Settings", USB is controlled by "Connected Device" instead of "This Device". I still went into my developer options and changed the "Use USB For" default so I can "transfer files/Android Auto". However, I still can't successfully change "USB Controlled by".

It prompts me to "Restart Your Phone", stating "a USB storage device was removed unsafely. To prevent your phone from restarting unexpectedly, save unsaved data and restart now"... but it won't allow me to switch, and restarting has no effect.

This USB only does this when attached to my phone - my computer doesn't have the same issue. Formatting the USB had no effect, and I couldn't find any saved connection in my phone to delete to see if it would forget this setting.

I have tried looking into this issue and I can't find any help online.

How to reverse the USB controller so that the thumb drive is controlled by "This Device" instead?


问:
USB Connected Device - Device Control
I purchased a USB C thumbdrive to make transferring images off my phone (Galaxy S10) a little simpler.

However, upon being prompted for the "Charging Connected Device Via USB" for "USB Settings" USB is controlled by "Connected Device" instead of "This Device".  I still went in to my developer options and changed the "Use USB For" default so I can "transfer files/Android Auto", however I still can't successfully change "USB Controlled by".

It prompts me to "Restart Your Phone" stating "a USB storage device was removed unsafely. To prevent your phone from restarting unexpectedly, save unsaved data and restart now"... but it won't allow me to switch, and restarting has no effect.

This USB only does this when attached to my phone- my computer doesn't have the same issue.  Formatting the USB had no effect, and I couldn't find any saved connection in my phone to delete to see if it
would forget this setting.

Is there anyone that can help? I have tried looking into this issue and I can't find any help online.

Title: USB Connected Device - Device Control


问:
Do android roms with only boot.img file available in fast boot rom don’t have separate recovery.img
I have phone named Vivo Y83 /(vivo1802)

I wanted the stock recovery image of my device to port twrp recovery since it’s not officially available for my device.

But after getting hands on my fastboot rom…. There is only boot.img present in rom So my question is is the recovery image is part of boot image in my rom?

And if yes….how would I proceed to build twrp for myself?


问:
How to Run Captive Portal Server on Android Device using Hotspot SoftAp and DHCP options
Goal:

I want to run a web server that provides a Captive portal service on an Android Device, using the native Android Soft AP/Hotspot, Termux, NodeJs, and the "new" way to detect captive portals using a DHCP option: Captive-Portal Identification in DHCP and Router Advertisements (RAs),.

Approach:

I want to add an option on the DHCP handshake of my Android Device Soft AP as specified in the RFC, Apple and Android official forums.

(the old way to create a captive portal was to intercept and controll all DNS or HTTP requests of each device conected to the AccessPoint, but in order to do it I need to ROOT my Device and install a DNS server or change the IP tables, and I dont want to do it becouse is very similar of what I already did that on a RaspberryPi)

Current State:

Im able to run a local Http Server running Nodejs in Termux app on an NOT ROOTED Android device,I want to know if it is posible to ADD THAT SIMPLE DHCP OPTION to the Android DHCP native handshake, maybe creating an APP and using the wifi-softap-tethering utilities or changing some kind of DHCP config file in some location like /etc/dhcp/dhcp.conf to add the option.

If adding a DHCP option is not posible Im gonna change the IP tables or run a DNS server and intercept the trafic to provide the Captive Portal Detection as the OLD fashion way.

Previous Attempts:

I was able to create a captive portal using DNSMASQ and HOSTAPD on a RaspberryPi, I suppose that I can do the same on MY Android device, but I want to USe the "modern Way" using DHCP captive portal options.

Unknowns

Where is the configuration of the local Android DHCP?, is it hardcoded in the source code or it exists in a /system/{some-dhcp-func}/dhcp.conf file?

Is it posible to add a DHCP option to the native Android Soft AP functionality?

Can I use or extend some offical Class of Android apk and create my app to add the DHCP Option in the Handshake?

Do I really need to root my device, install a DNS server and intercept all the DNS /HTTP trafic to provide the captive portal functionality?


问:
How do i change what email is attached to my google play instant?
I'm trying to buy something in an app(genshin imapct) but the app keeps using the wrong google play account, I either need to change which email is attached to my google play instant or I need to transfer the money from one google play account to another, I can't figure out how to do either</p>


问:
Unable to install Kik on android
I'm trying to install the kik app from the google play store. I click on the install button and it flashes "pending" but then immediately shows the install button again. I cannot install the app because it won't go beyond this. It just keeps showing the install button. I'm using an Samsung S8+ with android version 9. How do I fix? Thank you.</p>

Title: Unable to install Kik on android


问:
Can apps read all files in sd card (external removeable micro sd card) without the storage permission?
As far as i know. The way Android storage works is as follows. There is internal storage and external storage.

Internal storage is for the apps data only and apps can only access their particular data. No permission needed.

External storage is phone's own storage and also removeable storage (removeable micro sd card) both are to store files and media. Apps need Permission to access through storage permission (read/write).

Does storage permission only means phone's own storage or also the removeable micro sd card? I am confused

I just want to make sure that all files in my micro sd card are safe and apps can't access them without my permission.

Edit: Android 12 but I am also wondering about previous versions. Also I have my sd card mounted as Portable Storage (not Adaptable Storage)

Thank you.
Please let me know


问:
Tab S7 FE tablet with external bluetooth keyboard can't write caret ^ instead it writes ˆ
I'm using my tablet Samsung S7 FE with external keyboard Samsung Trio 500. There is a problem with the caret symbol. I can use write ˆ but LaTeX cannot work with ˆ.

I tried installing Google Keyboard but no luck with that. I've read similar posts on the web but there is no improvement. What should I do to fix this?


问:
WhatsApp: how to remove the deleted messages
After deleting a message for everyone on a WhatsApp conversation, people can still see the deleted message mark.

How can deleted message mark be removed too so that nothing remains at all for no one to see?


问:
how to transfer app data from old phone to new one?
There seems to be a lot of questions regarding this topic, but what I want to know is, how do I transfer the data from all of my apps (not just one or two specific ones) from my old phone to my new one? I transferred the apps using Samsung Smart Switch, but all it did was transfer the apps, not the data, so much of my game history and information in other apps is not on the new phone. This also includes my various ringtone and notification settings; they're all set to the default setting instead of what I had on my old phone. (The one exception that I noticed was ColorNote, where all of my note files were copied over. And, there are others like Viber, Facebook and Messenger, which have their own means to get everything across. But most of them, including pretty much all of my games didn't have anything transferred except the apps themselves.)

How do I get all of the app data and settings from the old phone to the new one? Is there a utility available that will automate this? (Note: I'm going from a Samsung Galaxy A50 to an A53.)


问:
What will happen if I tried to boot into twrp recovery without flashing it (not made for my device)
As their is no twrp recovery for my device (vivo 1802 mtk device)
I was thinking of booting into twrp recovery not made for my device specifically Without flashing it.

To get the job done maybe some backups or flashing using twrp.
But I don’t know what will be the consequences of it……
If anyone got idea or hands on experience on it, I would like to know


问:
Silent notifications except for one app
I have a Samsung Galaxy s9+ device and I was wondering if it is possible to use the silent mode and still receive sound notifications from one app only?
I want to hear whenever I receive a Telegram message and have all the other notifications for other apps only appearing in the notifications bar, but without any sound.</p>

Title: Silent notifications except for one app


问:
If Android is open source, then how did Google ban Huawei from using it?
Android is open source, it is based on a Linux Kernel which has been modified by a variant of C language.

A few years back there was a big controversy when Google banned Huawei due to some security/privacy issues and then you couldn’t use almost any Google services on it.

So if Android is FOSS, then that doesn’t make any sense. Like anyone should be able to use Android on any device they choose, and what stopped Huawei from continuing to use it?


问:
Unable to access my data on the same device on which I mistakenly selected SD card to be used as adoptable internal storage
Currently using pixel experience rom based on Android 12, by mistake selected sd card as adoptable internal storage and migrated my data   - Esp Images & videos- to adopted sd card. And then foolishly removed and reinserted my sd card multiple times without selecting 'Eject' or 'Unmount'. Now I am unable to access my photos & videos even on the device in which the sd card was encrypted and used as adopted storage let alone reading the sd card data on computer or any other device. In the same device I can only see the thumbnails of around only 20-30% of photos & videos and when selecting those photos/files individually the photo/file appears blurry & just keeps loading and the rest 70% files/photos, when opened, display the error 'could not open file'. I have not factory reset my device or erased any of internal storage which means the key to decrypt is still inside internal storage but my device is not rooted. Can someone please help me out so that I am able to access my data/ precious memories?? I'd really appreciate any help to solve this problem and get me out of this stressed out situation.</p>


问:
How can I grant root through ADB root?
I'm using LineageOS. I can run adb root and then ADB shell, and I have root access to the device. I'm trying to use Neo Backup which requires root.

Is there a method, with root ADB access, to grant root access to the Neo Backup application?

Title: How can I grant root through ADB root?


问:
Install new Android OS?
I bought a new Chinese phone which they said I could use with T-Mobile. The IMEI was not acceptable by T-Mobile. It is supposed to be Android 12, but when I try to download (WiFi) some apps from Google Play Store, it won't even find some common apps (TextNow, ZUMIMALL). I attached 2 images of the phone specs.

At this point, I think I need to install a different Android OS. Is it possible? I am open to suggestions as to what to do. Thank you.

Title: Install new Android OS?


问:
Traffic from mobile apps doesn't reflect in my Burp Suite
I need to send the traffic from mobile apps to my proxy (Burp). When I finally did it, I found out that everything is working only in Windows.
The traffic from mobile apps is reflected in a Burp only in a Windows OS.

When I try to do the same things (set Burp on my IP and adb shell settings put global http_proxy ip:port) in Kali, it doesn't work at all.

What can be wrong? Of course, I could work in Windows, but Kali is my main OS with a settled environment. So I need your advice.


问:
Samsung MTP Requires "Allow" access to files every time when connecting to Mac
I have a Samsung M51 device running Android 12 and a MacBook Air M1 running macOS Monterey. I have installed Android File Transfer App and tried to transfer files between the devices. The issue is that The application requires permission to access the files every single time I connect the phone to the mac.

I hope this is a problem with SAMSUNG devices since programs like OpenMTP instructs you to select allow every time you connect the device.

I was wondering if there is a way to make the Samsung device remember the computer it was connected to.

I have already tried clearing data and cache of USBSettings MTPapps and force stopping them in my Samsung Device.

Thanks in Advance.


问:
Bluetooth battery level not showing up in status bar
I'm using Lineage OS 18.1 and a BLE Mouse that reports its battery level.

I can confirm that the battery level is reported correctly, by connecting it with my Linux computer:

(See Devices: DIY Page Turner)

Also from the terminal:

```<code>[fedora@fedora ~]$ bluetoothctl
Agent registered
[CHG] Controller 9C:B6:D0:94:27:00 Pairable: yes
[DIY Page Turner]# paired-devices
Device CC:50:E3:B6:91:00 DIY Page Turner
[DIY Page Turner]# menu gatt
Menu gatt:
Available commands:
-------------------
list-attributes [dev/local]                       List attributes
select-attribute <attribute/UUID>                 Select attribute
read [offset]                                     Read attribute value
...
[DIY Page Turner]# list-attributes CC:50:E3:B6:91:00
Primary Service (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f
    0000180f-0000-1000-8000-00805f9b34fb
    Battery Service
Characteristic (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060
    00002a19-0000-1000-8000-00805f9b34fb
    Battery Level
Descriptor (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060/desc0063
    00002902-0000-1000-8000-00805f9b34fb
    Client Characteristic Configuration
Descriptor (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060/desc0062
    00002904-0000-1000-8000-00805f9b34fb
    Characteristic Format
Primary Service (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0028
    0000180a-0000-1000-8000-00805f9b34fb
    Device Information
Characteristic (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0028/char002b
    00002a29-0000-1000-8000-00805f9b34fb
    Manufacturer Name String
Characteristic (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0028/char0029
    00002a50-0000-1000-8000-00805f9b34fb
    PnP ID
Primary Service (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0001
    00001801-0000-1000-8000-00805f9b34fb
    Generic Attribute Profile
Characteristic (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0001/char0002
    00002a05-0000-1000-8000-00805f9b34fb
    Service Changed
Descriptor (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0001/char0002/desc0004
    00002902-0000-1000-8000-00805f9b34fb
    Client Characteristic Configuration
[DIY Page Turner]# select-attribute /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060
[DIY Page Turner:/service005f/char0060]# read
Attempting to read /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060
[CHG] Attribute /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060 Value:
  2f                                               /
  2f                                               /
[DIY Page Turner:/service005f/char0060]# exit
[fedora@fedora ~]$ echo "Battery Level: $(( 16#2f ))%"
Battery Level: 47%
</code>```

(Not sure if the value (2f) appearing twice is correct behavior, but I assume it is since Linux doesn't seem to have a problem with it.)

On Lineage OS however, it doesn't show that information in the status bar:

I can display it using BLExplorer though.

(35 is the battery level percentage in hex. Which, converted to decimal makes 53%, which is accurate. So the battery level is transmitted properly.)

What I would like to see is this btw:


问:
How supercookies works in Android?
I would like to know if there is a cookie pool where several companies can query within Android so that it can store supercookie.
Or if it is site specific.
The foundation of this question was an event that occurred when I was talking about citizenship on Whatsup and, out of nowhere, suggestions for advertisements on Twitter about citizenship appeared.
I question how Twitter manages to capture the content of a conversation on Whatsup if they are not the same companies.
Note: I use twitter via the progressive web-app and not the app.</p>

Title: How supercookies works in Android?


问:
How to Block UDP port in devices
am trying to disable webrtc on the root level
Is there any guide to do that
want to stop IP leaks while using a proxy it's easy in chrome but not for other apps..</p>

Title: How to Block UDP port in devices


问:
media control "resume" and "pause" via NFC tag do not work

Problem description

I wrote tasks onto NFC tags

to play different playlists in a media player app,

to control the media player (Vol +/-, next/previous title, pause/resume, quit media player) and

to shut down the smartphone.

Starting the media player playing a certain playlist works fine. All media control commands/tasks work fine except for "pause", "resume" and "pause/resume". Quitting the media player (with root permissions) and shutting down the smartphone work.

The smartphone recognizes these commands/tasks and prints them to the display when a NFC tag with one of these commands written onto it is held onto the smartphone's NFC reader. However, the currently running music is not paused and paused music is not resumed. There is no difference between running the media player in the background or in the foreground.

Question

What might cause this issue and how can I solve it?

Technical Details

OS: Lineage OS 17.1 official (Android 10)

device: Galaxy A3 2016

media player app: VLC Media player (but also tested Foldplay, Vanilla Music, mMusic Mini, Audify Music, AOSP Music+, Schlichter Music-Player, Simple Music Player, Lineage OS Music Player 3.0).

NFC Writer Apps: MacroDroid (root permissions), NFC Tools PRO (default user permissions)

tried these NFC tag writers as well (but they could not write media control commands onto NFC tags): NFC TagWrite by NXP, NFC Writer by Trigger, NFC/RF Reader and Write (by GreenlifeiInfo Tech), NFC-Tags write and read (by Yalintech), NFC Tag Writer & Reader (by Winning Studios Apps)

can be reproduced on same smartphone model with Lineage OS 19.1 unofficial (Android 12) without any root permissions

Some other details

I am setting up a "music box" for my child similar to a Tony Box based on a Galaxy A3 2016. This music box should be controlable by NFC tags - except for turning the smartphone on. Most tasks are written via the MacroDroid App which has root priviledges. "pause/resume" neither works when written via MacroDroid (root) nor when written via NFC Tasks Pro (without root priviledges).

The display briefly flickers if a "media control pause/resume/pause-or-resume" command/task is issued via a NFC tag. But, nothing else happens except ... [see next paragraph].

If I play an audio file in the LineageOS Music Player by tabbing onto the file in the file browser, a minimal version of the player appears. If I hold a "media control: pause" tag onto the smartphone's NFC readern then the app is killed. However, this does not happen when I start the LineageOS mediaplayer manually and start playing audio files from within the player. This happens with no other player.

/edit:

What I tried so far to solved this issue

tried nine different music players

looked for (and tried) different NFC writer apps; however, most of the NFC writer apps do not allow writing media control tasks

searched via my favorite search machine for my problem:

the search results are related to old problems more then five years ago and, hence, target old android versions

often all media control commands are affected

only some apps are affected (e.g. here)

tried another version of LineageOS

tried a smartphone with a freshly installed OS


问:
Android running out of space
OnePlus 9 (128GB)

My storage space has been constantly filling up since 2 months. I have already deleted files several times, but noticed that this only makes the storage for the system grow further. Meanwhile, the storage for the system is 60GB in size and I cannot change this

How to solve this ?

Title: Android running out of space


问:
Google maps changing a route given by a link
I created the directions using https://www.google.com/maps my PC. The directions are not the shortest route. I've sent the link via Facebook Messenger:

https://l.messenger.com/l.php?u=https%3A%2F%2Fwww.google.com%2Fmaps%2Fdir%2FKooskia%2C%2BIdaho%2BCounty%2C%2BID%2FFog%2BMountain%2C%2BID%2B83539%2F%4046.0870642%2C-115.6040729%2C12z%2Fdata%3D!4m19!4m18!1m10!1m1!1s0x54a099a8e938ec4b%3A0x1a26a25f8e52a6b2!2m2!1d-115.9779189!2d46.1448942!3m4!1m2!1d-115.676752!2d46.102913!3s0x54a09fc76bce9d25%3A0x54e8e74decd35d79!1m5!1m1!1s0x535f46b661626efb%3A0xddb17339bfa227d!2m2!1d-115.236512!2d46.0932474!3e0&h=AT3h0DE3UQ4wWecBOlI0Mr6-t_ry6N3SZ02I9_vrNtno2dbHaDM8y26hkRtpq_gqHflsPsrZYk1ENemba7z-JkFdZanus04llDAzzlduyOsBSDNS7viQ5N8NaT_Tng

When I open it on Android 11 phone the last part of this URL is trimmed:

&h=AT3h0DE3UQ4wWecBOlI0Mr6-t_ry6N3SZ02I9_vrNtno2dbHaDM8y26hkRtpq_gqHflsPsrZYk1ENemba7z-JkFdZanus04llDAzzlduyOsBSDNS7viQ5N8NaT_Tng

and Maps app displays a different route. When I try the trimmed or a full length link on my PC in Chrome the original route is displayed correctly. How to make Android display the original route?


问:
Problem with bluetooth devices on android x86
I am trying to run Phywe MeasureApp on an android x86 device and want to connect to bluetooth sensors.

The problem is, that the sensors doesn't seem to be recognized by MeasureApp (if I use an usual android smartphone it works however). Bluetooth on the android x86 device is enabled.

Do I need to give special permissions to the app? On the settings menu choosing "all permissions" I tried to give bluetooth access, but without success.

Any idea what might be wrong here?


问:
In Android 9.0 call or SMS or WhatsApp call or message, is there a feature of turning on loud tone for a contact, while phone otherwise remains silent
I am using a Huawei Y9 Prime. It has Android 9.0. I need a way to turn on a very loud tone for my boss's number, for both normal mobile-network SMS and call; as well as WhatsApp message and call; even if my phone is silent otherwise.

Just like number blocking feature provides blacklisting of contacts, I need a whitelisting for my boss's phone number; in the context of ringtones for messages and calls.

OwnerDisplayName: Shy


问:
Rooted android automation app for wifi-changes without using location services
I want to trigger a notification whenever I leave a certain Wifi-Network. However, I would need to always enable location services for this to work with the app MacroDroid. This would drain my battery considerably faster so I want to avoid that. Is there any automation-app that solely works via root? And circumvents all these Android APIs which ever-increasingly lose functionality (unless you turn on location services).

Also lower SDK-Levels I think still allowed to just use Wifi. Would a build for a lower SDK allow me to turn off location services?


问:
Help me root my Vivo Y83
So i somehow unlocked bootloader of my Vivo Y83 (vivo1802).

but now after flashing magisk patched boot image my phone goes on bootloop.

and after flashing back original boot.img phone comes back up

need solution on it!

Title: Help me root my Vivo Y83


问:
How to properly use "Fixed Dialing Number " feature in Oppo A1 k?
I have seen different YouTube videos, for example like these two in below links:

Video 1

Video 2

But still, my call is going to certain numbers despite the fact that I have put those numbers in FDN (Fixed Dialing Number) list.

I want that only for the numbers in FDN list, outgoing calls should be blocked. But here, the opposite phenomena is occurring; calls are only allowed to numbers in FDN list.

How can I solve this issue?


问:
Reupload photos from Pixel 2 to save space
I have a google pixel 6 and a google pixel 2. My google account is 98% full. My photos have been automatically backing up from my Pixel 6 recently.
My question is: How do I delete them from the server and reupload my photos and videos from my pixel 2  so that they don't take up any storage space?

I know there's a button (Recover Storage) to automatically compress everything new to storage saver quality, but that still takes up space. (As far as I understand)
I want to manually reupload everything from my pixel 2 so that it doesn't count against my limit at all. (I know I'll have to do it at storage saver quality)

I tried downloading it to my Pixel 2, deleting from my PC, and uploading from my pixel 2, but when I checked, it still counted against my storage?


问:
Cannot install apk to my device manually, got error "App not installed"
I'd like to publish my app to Google Play Store; but first, I would like to do a last testing with the signed apk to ensure that all of the used API keys are working correctly with the release version (GMaps, Facebook, etc).

So, I just made a signed version of my app with our release key and when i try to install the app to the device i got an error:

I have tried to copy the apk to the device and install it with an apk installer app.

Strange thing is when I do the same process with debug signing key, all is well, I can install and run the app.

Here are the steps of the procedure:

I select the release key, type password.

I do select release build type instead of debugging

Just in case I also defined in the gradle file the signing keys; but, I must admit I dont know is it necessary.

I tried like 7 seven times now. So, I assume this problem is not just a mistyped password, also I can make this work with the standard debug android signing key.

Please help if you can.


问:
How to check if Status bar is expanded?
I would like to determine, using ADB, whether Status bar is expanded/collapsed. I'm just looking for a way to check whether it's expanded or not, not what caused it to expand/collapse.

I know that there is cmd statusbar that can either expand or collapse the Status bar but I couldn't find a way to check its current state.

What I've tried so far:

comparing the output of dumpsys window windows| sed -n '/Window .*StatusBar.*:/,/Window .*:/p'

comparing  the output of dumpsys statusbar -> mDisableRecords.size is the most promising key, but I can't understand what exactly its value mean.

Can this check be done through any other command or am I missing something?

Title: How to check if Status bar is expanded?


问:
What is this app status icon on galaxy S22

I don't have access to the phone so I need to identify this by sharing the pic.


问:
(Pxl5) Audio via JBL speaker becomes fractured after some minutes
The following is a consistent problem (reproduces always):

Connecting phone to speaker and turning music on

Music is played, un-fractured.

Within 30 minutes (maybe less), music becomes very fractured: most of the time you can't hear anything, once every few seconds, about one second bit of the music is played.

When awakening the phone (clicking any button), the music immediately returns for another fracture, then problem continues.

Models:

Phone: Pixel 5, Android v. 12

Speaker: JBL GO 2

Troubleshoot:

Tried with another JBL GO 2 - problem persists.

When using Jabra bluetooth earphones - problem does not persist.

Didn't check for other speakers or bluetooth audio equipment.

Didn't check for music players other than Spotify.


问:
Is it possible to keep a Whatsapp chat associated with one contact if that number has been reassigned to a different contact?
I have a contact "S" from work with whom I have a Whatsapp chat (her work phone). After "S" retired, her phone was given to her replacement "J". If I reassign that phone number in my contact list to "J", the previous chat gets labeled now as with "J" and continues there. Is there any way to prevent this from happening so that I can start a new chat with "J", even though it's the old number of "S"?</p>


问:
TProxy IPv6 not sending connections
I'm trying to capture connections using tproxy, but I'm unable to receive IPv6 TCP connections. IPV4 TCP and both UDP work properly. TCP v4 and v6 are both received from the same accept call. I'm on Android 9.

```<code>PORT=2080
MARK=2080

iptables -t $TABLE -A $CHAIN -p tcp -j TPROXY --on-port $PORT --tproxy-mark $MARK
iptables -t $TABLE -A $CHAIN -p udp -j TPROXY --on-port $PORT --tproxy-mark $MARK

ip rule add fwmark $MARK lookup 100
ip route add local default dev lo table 100

ip6tables -t $TABLE -A $CHAIN -j LOG --log-prefix='[iptables] '
ip6tables -t $TABLE -A $CHAIN -p tcp -j TPROXY --on-port $PORT --tproxy-mark $MARK
ip6tables -t $TABLE -A $CHAIN -p udp -j TPROXY --on-port $PORT --tproxy-mark $MARK

ip -6 rule add fwmark $MARK lookup 100
ip -6 route add local default dev lo table 100
</code>```

The log output shows ICMP packets and TCP packets with IPv6 and IPv4 addresses, but only IPv4 gets accepted on the listener.

Occasionally something connects from WSL on my laptop, but nothing else connects over ipv6 and browser tests such as https://ipv6-test.com/ say ipv6 failed.

Running the command curl google.com in WSL hangs until I press ctrl+c, at which point the accept call returns the now useless socket.

Title: TProxy IPv6 not sending connections


问:
ALLDOCUBE kPad Magisk
Before you ask, I cannot use TWRP or any custom recovery since I couldn't find any for my device.

I have spend over a day trying to flash Magisk on my kPad I got for Prime Day. Every single time, it's been bootloop after bootloop after bootloop in flashing either slot A or B. I couldn't flash vbmeta since there were 5 different vbmeta files and none of them said vbmeta standalone. At this point, I'm about to give up and seeking help online is my last resort.

Thanks in advance to anyone who helps me.

Title: ALLDOCUBE kPad Magisk


问:
How to Read the Key from phone internal storage generated when formatted sd card as internal storage?
If I manage to get root access to my device, where to find and how to read the decryption Key?

I selected sd card to be used as internal storage and removed it without Using 'Eject' , that too multiple times, which corrupted the data. The data was not readable even in the same Android device in which the sd card was formatted as transportable internal storage. So transferred all important data- images and videos to my computer.

Then reformatted the sd card as portable storage then again Transportable internal storage multiple times & did the same thing with another sd card just to somehow make the data readable by transferring it from my computer into it but could not make it Readable.

All these transfers on the two different s
d card formatted as internal storage may have changed the Key inside the Android device system.

Can the Final Key be used to get the original 1st Key which was generated the very 1st time when sd card was formatted as internal storage?

If so,

How to read the Final key ?

How to get the original Key??

How to use the key to decrypt the backed up data storage on my computer?


问:
How to decrypt (FBE) file-based encryption Adoptable Storage Android 12
I backed up encrypted data of adopted internal storage on my PC & then Formatted the SD card as portable storage.

But I have not factory reset my android system so the key
for decryption must be inside the Android system internal storage.

Now I have the encrypted data stored on PC & key inside my Android system storage.
If I manage to extract the Key to decrypt the data stored on PC.
Then
How to use that key to decrypt the data?
And where to do the decryption?
On Android or on PC?? And how to do it?


问:
Problem sharing internet via WiFi Hotspot (tethering) while in foreign country roaming
I noticed, whenever I am in foreign country (i.e. DATA ROAMING) I can connect other devices to my android phones via its hotspot, but they (devices) have restricted access to internet..
In other words: My phone, where I would like to share internet via operator's data in foreing country roaming DOES have internet access, but devices connected to it via WiFi hot spot do NOT.
As soon as I return to home country, the problem disapears and tethering works normally.
This I've noticed on 2 Android phones I owned and tried: Nokia 6.1 and Motorola G10.

Vendors claim they do not have a fix for it, operator also claims he is innocent.
Does it look more like a problem of Andorid OS, foreign operators, or my home operator ?

Edit: (based on Robert's suggestion)

My home country: Slovakia (Not to be confused with Slovenia)

My home operator: 4ka

Foreing countries traveled: Austria, Czech Republic, Germany, Netherland, Belgium, France, Luxemburg

Foreign operators: Any one I encountered. Really do not know their names.

Can anyone help to identify the source of the problem, please ?


问:
How to enable/disable VPN via adb/termux/terminal?
I have a VPN configured on my android device running Lineage OS 18.1 (Android 11). I'm not using any third party apps, I'm simply using the standard Android settings to specify my VPN login data etc.

Now I'm looking for a simple way to enable7disable the VPN connection form the terminal without disruption.

I found a hacky way to do it by launching the VPN settings activity and then sending a bunch of key events to click on the connect/disconnect button.

Connect:

```<code>am start -a android.intent.action.MAIN -n com.android.settings/.Settings\$VpnSettingsActivity && input keyevent 20 && input keyevent 23 && input keyevent 61 && input keyevent 61 && input keyevent 61 && input keyevent 61 && input keyevent 61 && input keyevent 61 && input keyevent 66
</code>```

Disconnect:

```<code>am start -a android.intent.action.MAIN -n com.android.settings/.Settings\$VpnSettingsActivity && input keyevent 20 && input keyevent 23 && input keyevent 61 && input keyevent 66
</code>```

But first of all, this will open the settings dialog in the foreground, disrupting whatever I have been doing and secondly this whole method relies on the UI to have a specific amount of fields and buttons.


问:
Is it possible to switch to a new phone with all data?
How do I switch to a new phone transferring all data (without root access)?

All data means (at most):

Files and folders (including some hidden files, like browser's cookies)

Apps and their data

Settings and app permissions


问:
Hide an app on an AVD
I want to perform exploratory testing on an app my team is developing, and for this, I'd like to be able to manually hide and unhide apps on an AVD. Is there a way I can do this?

I observe that with adb shell, pm hide $PACKAGE is available, but I don't appear to have permission. The terminal shows me the output:

java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.

Is there a workaround on an AVD? I'm on Android 11. Can I start adb shell with the necessary permissions?

(I really don't want to have to write an app, make it the device manager, and run it to hide other apps.)

Title: Hide an app on an AVD


问:
Showing another app with front-facing camera recording?
I'm wondering if there's a way to record video using the front-facing camera on my Pixel 6 Pro, while another app is showing on-screen?

The reason I ask is because I was showing my baby some puppy gifs the other day, and he was laughing a lot, and I tried to record video, but when I brought up the gif, the camera stopped recording.

I tried using a second device but it didn't work as well as I'd like because he ended up getting distracted by his "reflection" in the camera (so vain!) and it was awkward to hold both phones and keep him from wiggling away.

Ideally, I'd prefer a solution that doesn't require an app (like, if it's an option in the existing camera app or settings somewhere), but if it does require a special app, a suggestion as to which one would be good (and hopefully not steal data or whatever) would suffice.

Thanks in advance!


问:
What what do the colors represent an Android 11
Hi I have an Android 11 Motorola phone and I was wondering what the colors represent next to the contacts and also the colors that are different using during the text</p>


问:
Does the “keep screen on while viewing” record or saved any images?
Does the “keep screen on while viewing” setting on Samsung android devices record or save any data from monitoring via the front facing camera? Or is this just kind of done like a ‘live feed’ where it monitors the face without saving anything?

Thanks!


问:
I can't select app from from Personal profile
I have installed the Poweramp app

in my Personal profile via Play Store. However, when I try to add a Music folder, I can only select folders from my work profile

the following toast appears: You're using this app on your work profile.

Build number: 939

Android 11

RedMagic OS V4.5


问:
Metadata format by a proprietary Samsung Gallery app
On my Samsung Galaxy M12, there's a proprietary Samsung Gallery app. In such an app, I can apply tags to pictures and videos and then I can search for a tag.

I moved some of my files to a PC with Syncthing. The ExifTool claims the metadata of the file is corrupt, there are no EXIF data in the file.

Is there any way for me to access those metadata (the tags I applied with the Samsung app) on the PC?


问:
How do I save GPS data when copying photos?
I use OpenCamera to take photos of construction sites. There are checkboxes in the settings:

Store location data;

Store compass direction;

Require location data.

All checkboxes are checked. Photos are saved in a folder at /Storage/DCIM/OpenCamera.

Location data is stored in the geo-tags in the metadata of the photo. But when I copy photos via USB cable or Files, the location data is removed from the copied photos.

Location data also disappears if I create a zip-archive using the Files app or share to whichever Android app I use.

How do I copy photos to my computer along with location metadata?

UPD It has been empirically determined that this behavior has been noticed since Android 12.

Copying photos with GPS tags is possible only through termux. I have to make a tar or cpio archive and then copy the archive file to the computer. This is tolerable when I can copy all files from a folder, but unbearable when I only need to copy a few photos from a big list.

How can this feature be undone?


问:
Why does "man find" go to the find manpage of section 1p rather then section 1 (termux)
I'm using the termux terminal app. When I try to use the man pages I very often get the results from section 1p rather then from section 1. I have tried different solutions that I have found mentioned with no success.

exporting MANSECT.

Forcing to remake the mandoc.db database by deleting it and running makewhatis on the directory to recreate it.

Doing "man 1 <command>"

None of these options helped. With one exception if I delete the mandoc.db without remaking it then I do get the manpage from section 1. But then I get a warning that the database is outdated... I don't know if this affects anything (for example that it may not be able to find some of the manpages).

How can I use/have the mandic.db and still get the correct (order of) manpage section?


问:
Galaxy S10 - Is the touch digitalizer and AMOLED display one component or can they be taken part?
My phone hit the floor about a month and ago and I had some cracks along the screen. Phone was working fine until a week ago, most of the screen just stopped picking up touch. The bottom part of the screen still works however. Considering the fact that a new touch digitilizer cost around $250, I'm trying to buy a phone from someone (even if it's damaged) who's trying to get rid of theirs for a cheaper price so I can replace my touch digitilzer with their's.

When shopping online, I see some the displays broken, but they report that touch works on all the whole phone.

My question is, if I get a phone with a damaged display but fully working touch, am I able to separate the touch digitilizer and the AMOLED display so I can replace the touch digitilzer on my phone?


问:
ROM build/port Android tv box sound kernels location
Where are the sound kernels that controls hdmi,spidf, PCM etc folder located? Trying to port an old ROM box (Ugoos AM6 +) to a new device (MINIX U22 XJ-Max). So far everything works except sound through HDMI/spidf but sound from Bluetooth works.
Many thanks.</p>


问:
Recovering data with a mouse when the screen doesn't respond to touch
Suppose my screen breaks, and I can no longer operate it via touch, but I can still see parts of the screen although broken.

In this case, can I connect to my Android device via a mouse (for instance, a Bluetooth mouse, or a mouse via USB hub that allows me to charge my phone or keep it charged while keeping a USB mouse attached simultaneously)?

This way I could back up some pictures that were not saved to Google photos, WhatsApp chats, or other data.

So, this could be useful (navigating with a mouse when your screen is broken and does not respond to touch).

Is Android configured by default to support this behavior? If not, then i think it should. I don't know which screens break the touch sensor only when they break, but perhaps quite a few. In this case, if Android is not preconfigured to allow this behavior, the mouse will not be able to operate, and the data will be unrecoverable.

Thank you for your answers.


问:
How to "unwipe" internal storage in TWRP Recovery
I accidentally wiped the internal storage of my phone in TWRP Recovery, it contains extremely important data and I need it back asap. The phone has been shut down if it helps, thanks!

Edit - Just before wiping (everything in twrp format section) I made a full nandroid backup (excluding Internal Storage), would that help with recovery?


问:
Twisted hamburger icon and blank screen in Gmail on Google Pixel 6
Trying to access Gmail on Google Pixel 6 but it won't load, can't change settings, and the hamburger icon is tilted. I just have a blank screen.

What gives, and how can I change it?


问:
Keyboard input to WebGL from Android browser
I'm trying to play a WebGL (Unity?) game on my phone using Chrome in desktop mode. Without desktop mode the web site redirects to download an app with limited functionality. With desktop mode on I get to the login but can't find a way to open the keyboard or send keypresses to the page.

I've tried to search for solutions but can only find answers for developers to add text input to software they themselves write. Is there any way for me to send keypresses to the right elements or find another way to log in? I'd be fine with javascript to a console or using another browser or installing a plugin etc.


问:
Getting correct camera information about Android device
I was using the Droid Hardware Info app for Android and I checked the "camera" tab, and surprisingly for my Redmi Note 10 Pro, it only showed a 12MP. According to the specs, Redmi Note 10 Pro should have a 108MP camera.

Is this app giving me the wrong information or did the camera manufacturer put 12 instead of 108 or something? Could someone tell me what's happening?

EDIT: I am wondering if 108MP is the actual physical resolution of the camera?


问:
How To Charge Android Phone In Fastboot (Bootloader) Mode?
My Android Phone Is Not Charging. Bootloader Shows The Warning Battery Low. I Accedentaly Erased /Boot /Recovery /System Partition. And Because Battery Is Low I Can Not Flash Boot.Img And Recovery.Img.
Is This Happening Because I Erased /Boot /Recovery If Yes Then Why ? When I Connect The Phone With My Laptop On Fastboot Mode It Starts The Charging [AND THAT TO VERY SLOW ] Not In Wall Charger.

I Did Not Find Any Working Solution On Xda , Stackoverflow Etc. Can Anybody Help Me To Solving This Plz.


问:
Force custom resolution
How can I make my Android phone have a custom (logical) resolution? I have a Samsung Galaxy S20 5G (with the same ROM from factory, Android 11), and I want to force it to 1440x2160 resolution (different aspect ratio from the hardware).</p>

Title: Force custom resolution


问:
Can changing IMEI of an Android smartphone make WiFi & Bluetooth refuse to work?
I recently used a third party software to change the IMEI of a device but then WiFi, Bluetooth is not turning on when I try to. The switch turns on and then the system turns it off in an instant. Is there a third party software I can use to tell if the system detects a Bluetooth/WiFi hardware installed on the smartphone and could the IMEI change have made the hardware non-functional?</p>


问:
Does it exist a virtualization solution for/of Android that supports newer versions of Android than 7?
I have downloaded VMOS and Virtual Android but both are limited to Android 7. How can I virtualize a newer version of Android on an Android host system?</p>


问:
WhatsApp can't find the local backup in Android 12
I was trying to restore my old android phone's whatsapp data to my new phone. But whatsapp couldn't find the local backups. I pasted the old data to the path Android/media/com.whatsapp/WhatsApp , still the problem occurring. It only giving options to restore it from drive. Tried almost every method but no luck! Pls help me with this</p>


问:
Friendly way to read Samsung's built-in Messages app's XML backup
I have an old Samsung Galaxy S7 running Android 8. I am using what seems to be the built-in SMS app, called "Messages," the icon is

I used this app's Backup feature to create an XML file. I uploaded it to my Windows laptop, but when I try to open it, I see raw XML or I get an error message (from Excel and OpenOffice--both Calc and Writer). Calc says "General input/output error." Excel says "This XML file cannot be opened because of an error."

The question is, how can I open this file and get a human-friendly display?

(I suppose I could use a standalone SMS backup/restore app, but I prefer to minimize the contents of my device.)

Thanks!


问:
Is it possible to fake the Android version to allow ROM downgrading?
I was trying to downgrade an Android 11 on Samsung Galaxy A01 Cricket (SM-A015AZ), but cannot because the download mode doesn't let me install an older ROM. So the plan is somehow to modify the info of the old ROM to "lie" about the version to appear as a recent ROM, but it is still in fact, an old ROM.

Already spent a lot of hours searching on Google. Only found how to create a custom ROM from zero or how to modify ROMs from Android 1 to Android 7.

Does anybody know how to do it?


问:
Can't enter recovery mode on Samsung Galaxy A10s after bootloader unlock
So I unlocked my Samsung Galaxy A10s bootloader and wanted to flash TWRP. After flashing it, I realized I can't enter recovery mode. If I keep pressing the power + vol up, it just shows the bootloader unlock warning and keeps bootlooping. When I let go, it boots normally.

At first, I thought it was a TWRP problem. But then after it booted, I tried to enter recovery and it didn't enter (I tried via adb as well). After that, I again flashed the stock ROM using Odin; the same result,

Is there something I am doing wrong?


问:
Way to switch between users via shortcut/intent/activity?
I have a device with MIUI 13, that removed (hid) the Android stock multi-user feature that I need.

I recalled the activity to show the multi-user feature in settings via shortcut maker (adding accounts works normally), but unfortunately, the lock screen UI doesn't show the switch user shortcuts. So, the only way to switch is to enter in multi-user menu and choose one, but with a PIN-protected device, it's not applicable.

Then I need a way to "programmatically" switch to a user with an intent/activity (sorry, I never developed on Android, some concept is not too clear at this time), exactly how to the Android stock lock screen UI does. Having a way to do that in this way, I can place a quick setting tile to achieve my target.

Someone can push me in the right way?


问:
Is there any way to prevent an app from restarting after force stopping it in the settings
I've tried to force stop Whatsapp but after some time it restarted. This is so disgusting and apparently out of control. What can be done to prevent it from restarting.</p>


问:
Odin write image after phone not working samsung A10S
I try install twrp using Odin. AP image write then my phone not working. All key combo not working. My phone Samsung A10s try write samsung A10 this is maybe my fault. How can i fix it.</p>


问:
Connecting a DVD/CDROM reader through USB OTG
can CDROM/DVD readers be recognized and managed as standard USB mass storage?

Does Android include drivers or libraries to read this quite standard hardware?

Are drivers or root required?
Any tip about using on android TVS?

I plugged an external DVD player with external power supply to an Android TV through OTG.  Drive/media was not recognized, ghost commander or VLC didn't detect the device.


问:
Get PKCS#8 key from .jks storage
Previously I used jarsigner tool for APK signatures.
But jarsigner provides v.1 sign only.

So, I'm trying to move signing process to apksigner because I need v.2 signature as well.

And it works well when I use .jks for it.

Please, check example below.

```<code>  apksigner sign \
     --ks some.jks \
     --ks-pass pass:somepass \
     --v1-signing-enabled true \
     --v2-signing-enabled true \
     --v3-signing-enabled true \
     --v4-signing-enabled false \
     --out DESTINATION_APP \
     PATH_TO_APK
</code>```

Also I need option to sign APK with key and cert parameters.

I've tried to use my .key and .crt file from .jks storage but it returns me an error.

According to the documentation key file must be in PKCS#8 format and cert in X.509.

Could you please tell me how can I export .key and .crt in correct formats?

Thanks.

Title: Get PKCS#8 key from .jks storage


问:
What is a system app "AgingFunction"?
Was just messing around with the list of apps in my phone and found an app named "AgingFunction". No, it is not one of those apps that have that aging filter that make you look old or something. It's a system app that does not have a wrapping GUI. Felt off so looked it up online but didn't find much.

Recently heard about Samsung putting an app that throttles performance on devices for so-called device life-prolonging, but turns the throttling off during synthetic benchmarks and stress tests to make it look like device performance stays constant while it does not.

Is this a similar case and should I remove it (can't really remove but disable it using platform tools)?

Title: What is a system app "AgingFunction"?


问:
Recover data from unbootable phone
I have a BQ Aquaris X Pro. During a phone call it suddenly started to reboot mid-call but it hung during the boot process (on the "second screen" where it says "Aquaris" in white, animated letters). Restarting the phone doesn't help, it still keeps hanging on the same spot (sometimes already on the first screen with the BQ logo).

So far a managed to enter recovery mode. I tried View recovery logs, but I didn't find any error messages. I tried to wipe the cache partition, but that didn't fix the problem.

So I want to recover a few files manually. In the recovery mode menu I tried to select Mount \system and then Apply update from ADP. The device shows up in the Windows 11 device manager:

I'm able to connect to the phone via ADB (after installing Android SDK and JDK):

```<code>C:\platform-tools_r33.0.2-windows\platform-tools>adb devices
List of devices attached
BL000110        sideload
</code>```

I tried to access with adb shell but it returns with error: closed. I assume this is because of the "sideload mode" or could there be another reason?

I searched through quite a few articles and found possible causes like wrong USB drivers or not enabled USB-Debugging. I also noticed that in "Fastbootmode" (when I select Reboot to bootloader in the recovery menu), the device is not recognized in Windows:

At the moment I'm a little bit lost, any helpful hints are appreciated.

Title: Recover data from unbootable phone


问:
SMS messages don't appear for secondary user profile
i've got a secondary user profile set up and i've enabled sms/calls for it.  when logged in to the secondary profile, when i send an sms to the phone, i get a notification, but clicking it takes me to the messages app, where it does not appear in the list of messages.  if i search for the message, it does appear in the search results and i can go to that conversation.  but i can't get it to appear in the main list.  it does work fine when i use the main admin profile.

i've tried rebooting and clearing the cache for the messages app.

this is android 12 on a pixel 5a.


问:
dual localise my dual SIM Android
I have a OnePlus Nord running Android 12 (OxygenOS).  It is not rooted.  As I travel between the UK and Japan a lot, I have a UK and a JP SIM in it.

I want to install both UK and JP specific apps, but am currently only localised in the UK.  Further, I understand that I can only change my localisation once every six months.

Ideally, I'd like to dual localise, to have the full suite of UK and JP apps available.  Is this possible?

If not, would either of these work:

side load apps to avoid the localisation barriers in the Play Store;

maintain two separate profiles, one localised to each?

Cheers / ありがとう!

Title: dual localise my dual SIM Android


问:
Can Android Device be flashed without using Host PC? Can we flash full SW image using sdcard/external USB storage
For all Android Products there are 2 ways to flash the SW image:

EDL Mode(Emergency Download Mode) - Normally used when bootloader can't be booted up or for first flash

fastboot mode

Both of above method requires flashing via USB connected to Host PC.

Query:
Do we have any alternative way to re-flash full SW image to Android Device which does not bootup without using HOST PC?


问:
where is the binary for fastboot mode located and How can I get a copy of it?

Edit

Thanks to everyone in the commen section, lk.img seems to be what I was looking for and it is indeed right, because it has strings for varies commands like

```<code>oem p2u
oem reboot-recovery
oem off-mode-charge
</code>```

the lk.img for my phone can be downloaded here

The only thing left is to reverse engineer it but most programs I use cannot figure out what file type it is

Motive

I am trying to find the binary for fastboot mode
in my phone
So that I can understand what my phone 's vendor fastboot does when I send
a command using fastboot protocol

what Have I Tried

1

I read fastboot's source code here

in the Android.bp

```<code>
cc_binary {
    name: "fastbootd",
    defaults: ["fastboot_defaults"],

    recovery: true,

    product_variables: {
        debuggable: {
            cppflags: ["-DFB_ENABLE_FETCH"],
        },
    },

    srcs: [
        "device/commands.cpp",
        "device/fastboot_device.cpp",
        "device/flashing.cpp",
        "device/main.cpp",
        "device/usb.cpp",
        "device/usb_client.cpp",
        "device/tcp_client.cpp",
        "device/utility.cpp",
        "device/variables.cpp",
        "socket.cpp",
    ],

</code>```

it seems that the fastboot's program on the android phone will be compiled with name fastbootd,

So I tried finding it by downloading my phone's official firmware and locating it using linux's find but it doesn't seem to reside in the firmware

2

I have read similar question

But it didn't tell in more detail on how to get
a copy of the binary and doesn't seem to have satisfactory answer

Phone details

Not sure if it matters because I think all android's fastboot binary should be in the same location

```<code>Model Number : vivo1819
vivo ROM : Funtouch OS 10.5
Android version : 11
Hardware Version No. : MP_0.1
Software Version : PD1831F_EX_A_8.1.48
</code>```

Firmware Download

https://drive.google.com/file/d/13coKM6yMS39MVRauyyZ7FO3B_twlTB1a/view?usp=sharing

Question

So how can I get my phone's fastboot so that I can get a copy and learn more about it via reverse engineering


问:
Rate limit notifications from an app
So when family and friends go bananas on a communication app, the phone spews alerts endlessly, one for every single message. Sometimes even every time someone starts typing! Some apps, like signal, provide an option to disable alerts for an hour or some other choice of duration. But not all apps have this, and I certainly don't want to disable all notifications.

Is there some way in android to rate limit notifications per app? I will live very happily the rest of my life if Snapchat can send maximum one audio/vibration notification every 10 minutes. Can I make android fix this for me, or is it up to every single app developer to implement this?

I already block and disable some notifications, and I've already set up "Do not disturb". I've never seen any option to avoid these notification torrents, though.

Title: Rate limit notifications from an app


问:
The calllog.db file remains the same even after changing
As you know on android call history in /data/data/com.android.providers.contacts/databases/calllog.db

path as sqlite file.

I change this file with adb push command then I will check on Dialer Call history application but it still same with old data.

If I am reboot emulator and reinstall Dialer application I can see new data.

How can I see new records without reboot emulator?

Is android have any cache db for calllog.db


问:
Converting APKM to APK so that I can install it manually by a default installer
As written in the title, I just downloaded an official app from APK Mirror, it has 2 files apk and apkm and since the apk version didn't work, I tried to download the second one i.e. the apkm one. I don't know how to install it.

So I googled and found this. Yes, I'm aware of the article that says converting APKM to APKS, it doesn't matter because I have a tool to convert APKS to APK

I don't know if it's a scam or not  but the app that's called unapkm, after installing it, it doesn't have the "open" option and the app isn't appeared on the screen or perhaps I just don't know how to use it. Anyway, is there any chance to convert the apkm to apk so I can install it normally from my phone?


问:
Replace default preinstalled Google apps safely
I have a Redmi 9C with Android 10, it came with several pre-installed apps from Google and Redmi, I used ADB to un-installed some apps that I thought was safe, but for some reason, some of those apps came back without a system upgrade (that I'm aware of), and the developer options that I had set up previously was wiped out. I'm not that familiar with Android, so please bear with me, here are my questions:

can I replace safely "essential apps" (such as phone, SMS, downloader, etc.) with alternative ones? I was a Windows user until Windows 10, then switched to Linux after MS started doing OS upgrade on the background without user's permission, it seems Google is start doing the same, is there a site with updated/reliable info about this topic?

is there a tip/trick to "not allow" Google to re-install those apps that I removed? Why only some of the apps came back and not the others? Maybe because the apps I'm still using needs some libraries from the apps that I removed? For instance I can't remove Google Pay form ADB (it's not listed there), and I've removed Google Wallet, now Wallet is back again and not showing in ADB!

ps: 1) ADB - I'm using Xiaomi ADB/Fastboot Tools 7.0.3, it's a jar file with UI frontend, so I'm not using command line.

2) My bad, did not write down the package name, will do next time/next packages.


问:
Canceled audio being recorded by `Voice Recorder`: how to recover it

Problem

There is an old Samsung Galaxy Note 3 smartphone. An interview voice was being recorded by an application on this phone. Using its built-in app named Voice Recorder.

The recording was being done by the Voice Recorder app during the interview. However, sadly, at the last moment, by accident, the cancel button was pressed and a one-hour-long interview recording was lost. The interview was very valuable, and it is just devastating for me.

Question

Now, I'm asking this in frustration and despair: is there any way I can access the canceled audio recording?

This is a screenshot of the app used:


问:
Can I create link to a page in the home screen?
I'd like to have several collections of apps but also widgets. Problem is widgets can't be in folders.
But, could I just link to another page of the home screen? Thus each page would be my unit of organization. But I could access all of them from page 0 without scrolling N times.
Is it possible in some way?</p>


问:
Cannot Mount userdata partition on Android 11
I have pulled a block of encrypted userdata partition ".img" and trying to mount it on unecnrypted device (same device with encryption set to off). My device is rooted.

My userdata is mounted as ext4: -
/dev/block/dm-7 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,resuid=10010,resgid=1065,errors=panic)

I have tried these steps

Pulled the block on local system using adb pull - userdata_block.img

mounted the block on an unencrypted device over CIFS using busybox mount command - userdata_block is virtually present on /sdcard/temp/userdata_block.img

Want to mount this img file on device to check the directory status on Android 11 if all the directories are encrypted or not.

/system/bin/losetup /dev/block/loop2 /sdcard/temp/userdata_block.img

/system/bin/mount -o ro /dev/block/loop2  /sdcard/dummy

Getting below error on Android 11, same command works fine on Android 10.

mount: /dev/block/loop2: need -t

Does anyone has any idea how to fix this?


问:
What does "clear app data in Google account" mean
On https://support.google.com/pixelphone/answer/3118621?hl=en

I Found "Clear app data"

If an app isn't made by Google, you can delete its app data from your
Google Account. On your main Google Settings screen, tap More  And
then Clear app data.

I'm not sure whas is meant Here by app-data. Which app data is stored in your account?


问:
How to change number of QuickPanel rows?
I have Samsung Galaxy A52 with Android 12. When I swipe down at home screen QuickPanel shows up with one row of icons. If I swipe again entire QuickPanel shows up.

I would like to increase the number of rows visible after first swipe. I searched Settings but I didn't find anything relevant.

Is it possible to add more rows? If yes, how?


问:
Can alarm go off when phone is completely shut down?
My phone is Xiaomi Mi Note 3 on Android 9. I was using my phone, then I fell asleep while holding the phone. When I woke up, I found that my phone's power is off which is really weird because the power button along with the volume up and down is not useable anymore.

So I suspect that I accidentally click the power button on the phone screen which I set with the shortcut button when I fell asleep. (I honestly don't think this is possible, but I can't think any other scenario)

How do I assume the phone is powered off?

When I was charging it, the phone worked well and the charging battery appear.

I tried to call my phone using another phone and it says out of service.
So I gave up trying to open it with the broken power button and intended to go to the repair shop tomorrow morning.

Then I got woken up by a phone alarm, and surprisingly it was my phone. Really frustrating when both happen while I was asleep.

I tried googling and found out someone saying something about 'Shut Down Alarm' on the clock setting, but I don't know what is it. (Tried googling but didn't find anything)

Is it really possible for the alarm to go off when the phone is shut down?

If u ask my why I dint try it myself ii am just afraid if it dint work and I  have to go repair shop to open it.


问:
Lock screen rotation for external monitor
I am trying to lock the rotation of an external monitor while still allowing the auto rotation of my tablet. Basically, I want to turn my monitor so that it is oriented as a portrait and mirror my tablet so that it displays correctly on the turned monitor. I have a Dragon Touch 10 and I am using Micro HDMI to DVI.</p>


问:
Is it possible to run apps that require AR feature if the device is unrooted and unsupported?
I just idly tried to install an AR app i.e. a learning app with the augmented reality experience even though knowing my device doesn't support AR. Even the default required app called "Google Play Service for AR" isn't installed in my device and it's not available on Play Store, it said my device doesn't support AR and there's no download button, I had to install that app from APK Mirror. After installing the requirement, i.e. the Google Play AR, I tried to run the earlier-mentioned app and it was force closed.

I didn't expect it would succeed to run, but I found this discussion here Can i fake having a gyroscope?. I'm not familiar with that gyroscope, yet from what I've read I concluded I would need my device to be rooted if I wish to fake having the gyroscope to be able to run an app with AR (Did I understand it correctly?).

Appertaining to the problem above, as a matter of fact, my device is unrooted and I don't have an intention to root my device. I hope this doesn't sound silly, but if there's any chance to do that with an emulator such as VMOS, Sandbox or Vphonegaga or even perhaps a virtual space that supports root,  will it be possible to run apps with AR from either of those mediums?


问:
Can I turn my Android to Linux desktop?
I want to turn my phone into a Linux Desktop when I connect it to an external display but not using screen mirroring (I.e., the external screen is running while phone screen is turned off).

There is something similar to my needs called "Samsung Dex" but I don't have it on my phone.

I found steps to install Linux Distro & open graphical desktop using VNC but never found a way to open it on the external display.

I also found Drivedroid but I don't want neither to run root (hence erase data and lose phone warranty) nor to use a computer as a device resource (CPU, Ram, GPU...).

All googling lead to "turn android to second screen" no matter how I rephrase it.

The only questions that is almost similar to my case are this & this.

All I am asking for is keywords to search for.

Keywords that I used to search for:

Ubuntu for Android: just gives me links to Ubuntu touch; not my question.

Docking android: gave me some results for devices that I can buy (like nex book that uses phone or RPI to run a semi-laptop).

Android as Linux Desktop: results for "use android as second monitor"

Title: Can I turn my Android to Linux desktop?


问:
Load a full backup of a modern (rooted) Android phone in an emulator?
I want to be able to access all of Android apps and data in the case that I lose my phone.  Is there a relatively simple way to take a full snapshot of my Android phone and boot that snapshot in an Android emulator running on a Linux laptop?</p>


问:
Is Android unit testing on a physical device actually a thing?
Firebase has physical devices for testing: https://firebase.google.com/docs/test-lab/android/available-testing-devices however it's a little expensive.

I was wondering if testing things on a physical Android device is a real thing and if there are frameworks for that. I know that there are unit tests that are mocked and run on the computer, but some things like the Android Media Codec Decoder can only be tested on the device


问:
Location indicator always visible
After a year or two of nothing, my Motorola Moto One (XT1941) with Android 10 again started to show location indicator 24 hours a day, 7 days a week:

Nothing, that I tried so far, worked. Restarting phone brings solution only for a few minutes, killing Google Maps also. The only workaround that I found is to permanently turn of GPS location in my phone. The moment I turn it on, I see that damn indicator again.

This is very frustrating to me. Is there anything else I can do to permanently get rid of it?

Title: Location indicator always visible


问:
Inaccurate compass problem on android smartphone?
I installed the same compass app on two identical phones (pixel 5) with the same Android version and have calibrated the compass, but why is there a 15° difference between the compass readings of the two phones when I stand in the same place?</p>