text:
How to run Starlink Android app on PC via emulator/VM?
Has anyone successfully run the Starlink Android app on a PC via an emulator or VM?
I know of accessing the web GUI of Starlink by URL with http://dishy.starlink.com/ or 192.168.100.1. However, a lot of features are not available unless configured via the app. In some windows, parts are greyed out with a message stating Edit these settings using the Starlink mobile application for iOS or Android

I have attempted so far with Windows 10 to run Starlink on emulators suggested from here such as BlueStacks, MeMU Play, NoxPlayer, and Android Emulator with Android Studio. I have also attempted to run Android x86 with the steps provided here, but still no success. Each try, the app attempts to load, but then crashes and never fully loads.
I should add that the Starlink app does not appear in my search when I try to find it on an Android Studio emulator with the Google Play Store enabled.

This post that I found leads me to believe there is some kind of check to determine whether it is being loaded on an emulator.
My current specs for my Win10 PC are the following:
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.19045 N/A Build 19045
OS Build Type:             Multiprocessor Free
System Manufacturer:       Dell Inc.
System Model:              Precision 5560
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz   2.50 GHz
                           [01]: Intel64 Family 6 Model 141 Stepping 1 GenuineIntel ~2496 Mhz
BIOS Version:              Dell Inc. 1.19.0, 3/10/2023
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
Total Physical Memory:     32,492 MB
Available Physical Memory: 12,525 MB
Virtual Memory: Max Size:  65,260 MB
Virtual Memory: Available: 29,946 MB

Is it possible that the Starlink app simply cannot be run via an emulator or VM due to technical limitations?

EDIT:
As suggested in the comments, I side loaded the Starlink app on the android emulator, and I also had crashes. In an attempt that took less than 5 seconds, I only extracted error messages that seem to relate to the Starlink app crash from Logcat from android studio to avoid bloat (here is a pastebin link for full log):
2023-06-13 10:43:18.323  9504-9504  SoLoader                pid-9504                               E  couldn't find DSO to load: libjscexecutor.so
                                                                                SoSource 0: com.facebook.soloader.DirectorySoSource[root = /data/app/~~qoOC8gBYQvkgf0PRhrZKRQ==/com.starlink.mobile-LPC2LUqn-Tbl-QKGoc-Jtw==/lib/x86 flags = 0]
                                                                                SoSource 1: com.facebook.soloader.DirectApkSoSource[root = (/data/app/~~qoOC8gBYQvkgf0PRhrZKRQ==/com.starlink.mobile-LPC2LUqn-Tbl-QKGoc-Jtw==/base.apk!/lib/x86, )]
                                                                                SoSource 2: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
                                                                                SoSource 3: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
                                                                                Native lib dir: /data/app/~~qoOC8gBYQvkgf0PRhrZKRQ==/com.starlink.mobile-LPC2LUqn-Tbl-QKGoc-Jtw==/lib/x86
                                                                                result: 0
.
.
.
2023-06-13 10:43:20.773  9504-9557  Manish                  pid-9504                               E  createNativeModules
.
.
.
2023-06-13 10:43:20.817  9504-9557  AndroidRuntime          pid-9504                               E  FATAL EXCEPTION: create_react_context
                                                                                Process: com.starlink.mobile, PID: 9504
                                                                                java.lang.UnsatisfiedLinkError: dlopen failed: library "libviro_renderer.so" not found
                                                                                at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
                                                                                at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
                                                                                at java.lang.System.loadLibrary(System.java:1664)
                                                                                at com.viromedia.bridge.module.MaterialManager.<clinit>(MaterialManager.java:58)
                                                                                at com.viromedia.bridge.ReactViroPackage.createNativeModules(ReactViroPackage.java:111)
                                                                                at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:42)
                                                                                at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
                                                                                at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1456)
                                                                                at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1427)
                                                                                at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1338)
                                                                                at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:135)
                                                                                at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1109)
                                                                                at java.lang.Thread.run(Thread.java:923)

It looks like there was a fatal crash when attempting to find libviro_renderer.so.
For those who would like to attempt to recreate this error, drag the apk to the emulator and wait for it to install. Once installed click on the starlink and you should see it display its splash screen and promptly crash/disappear.
Current emulator specs:
Emulator Version: 31.3.13-9189900
Android Version: 11.0 (R) - API 30
AVD Configuration: Nexus_5X_API_30
Host Machine: Windows 10 Pro

EDIT2:
Regarding a different suggested comment from Ramhound, the Android subsystem for Windows 11 also had trouble launching the app.

I will try and follow Andrew's comment with a specific ARM-based image within Android Studio soon.

Have you tried running it within WSA on Windows 11? Viewing the web GUI should worked on any operating system provided the device can reach the Starlink terminal on your network

@Ramhound  unfortunately I do not have access to a system with Windows 11, since I am either running on Windows 10 or Linux.

The app contains libraries for all platform (x86 and ARM both 32 and 64 bit) therefore it is not limited. But it requires Open GL ES 3.0. According to this answer the Android Studio emulator can support that if your graphics driver is supported. What I don't know is if the app simply checks if it is running on an Emulator and then behaves differently.

@kyrlon - You should be able to download a free trial Windows 11 VM directly from Microsoft, enable WSA within the VM, to see if the application will even run within WSA.

@Ramhound That is a suggestion that I might have to try later. Ideally I was hoping for an OS agnostic approach w/ a VM rather than dependent on a specific feature the OS provides.

@kyrlon - You have attempted the only two other methods to run Android applications within Linux or Windows, through a hypervisor like BlueStacks or through Android X86 within a Virtual Machine and you have indicated both those methods DO NOT work. Which leaves you WSA, or accepting the fact, the application cannot run in those environments.

@Robert you can see my update adds a link to a post that mentions some apps are not present in the emulator store. I might have to come to terms that the app is not capable to run on emulators.

What is visible in Play Store or not does not tell you anything about if it will work. Just grab the APK from somewhere else and install it. Then you will see if it work or not.

Welcome to Android Enthusiasts. "Each try, the app attempts to load, but then crashes and never fully loads." you may consider checking the log to possibly see the exact reason why it crashed.

After checking the content of the APK by opening it as a ZIP file, looks like libjscexecutor.so is missing on all architectures (related report on GitHub Issue)? However, libviro_renderer.so is also missing on x86, which is the default installation image, so maybe try with an ARM-based image instead.


text:
How do I disable auto connect for bluetooth device?
I want to leave bluetooth on so I get texts to my fitbit, but when I do that, my phone will connect to my headset which I'm using for something else. I use this headset with my phone too and don't want to unpair it.
How do I disable auto connect for this headset or disable auto connect for my phone entirely?
S9+.

Possible dupe: Disable Bluetooth auto connect for specific devices

Does this answer your question? Disable Bluetooth auto connect for specific devices

use (Bluetooth Manager Controller) App, and disable auto connect, turn off all the notifications, hide the app :)

Please provide more information about the app and a statement if you are associated with it.

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

sort: votes


text:
Floating button to open individual app
I am looking for a way to do the following thing: I should see a floating button always on the top, which starts/switches to an individual app I configured.
I know there are a lot of fancy apps, but for me is too much clicking. I just want a simple button that starts my app. When the app is open, I still see the button on the top.
I searched now for 2 hours and installed around 20 apps, but all of them do not please my needs.
My background. I am on a bicycle and need to switch between apps easily.
Can someone help?

You can construct a Tasker scene (needs Tasker app) that would have a button or more to quickly switch to a specific app. Set the scene to show as "overlay blocking" in the task that you would use to show the scene. Take a look at some YouTube videos if you want to figure out what a Tasker scene is and what it can do. I think that should stop your hunt for the app you are after.

Using a sidebar seems to be better and non intrusive https://play.google.com/store/apps/details?id=com.fossor.panels or https://play.google.com/store/apps/details?id=com.hiruffy.controller or https://play.google.com/store/apps/details?id=com.paavu.drawerapp

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
What is 10254 app on my samsung phone?

Unknown app named 10254 that’s consuming the most data on my device.


text:
Phone stuck in sideload mode
I am trying to flash stock rom with magdisk, and after executing ./adb reboot sideload, i tried ./adb sideload file.zip. however, it showed
adb: sideload connection failed: no devices/emulators found
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found

now, I cannot get into regular boot. after hard resetting(holding all buttons), it just reboots... into sideload mode. I tried waiting a day, but nothing happend. I have a samsung galaxy a14. SM-A145R, with EUX region code.

Samsung phones are usually flashed using Odin/Heimdall, nut sure if they support sideloading an ROM via adb at all.

To me it sounds like you soft-bricked your device, I think you'll have to either do recovery through your recovery system (if you can get to it) or factory reset

Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

i can't get to it, as already told. im stuck in sideload. i cant factory reset.


text:
How do I get my 3 button controller on Wired Headphones to work/get enabled in Android 12?
I have just acquired a Lenovo M9 tablet running Android 12.
It has a 3.5 mm port for audio output.
All my wired headphones of various brands that have worked on all my previous Android devices, do not work with this tablet.
I can get Audio out but I cannot use the volume+/-, PLAY/PAUSE hard buttons on my headphones. They don't work at all.
Bluetooth headphones work OK.
My main reason for using wired headphones is so I can doze off and my ears don't have something sealing them, and I have a hand disability so find it hard enough to find my ear let alone trying to tap a sequence out. I can operate a controller though.
Lenovo couldn't help me but somewhere in the Android O/S there must be an option to enable external device to take over controls using wired 'phones?
Or, does it require the port to be of a particular type?
My workaround has been to use the Accessibility Shortcut to have a menu at side of screen to tap on, then I can use volume up/down but I still have to go to the notification shade to play/pause media. And that is still delayed with my awful dexterity.
I also searched for both the Headset Droid and Headset Controller Button apps which were both recommended on this forum 3 yrs ago but neither of those apps appear in Google's Play Store.
I do feel this could be remedied with correct drivers, but not a clue how to do that. I would be most grateful if someone could give me a fix to enable a hard controller. Or even a way to get play/pause/volume in an accessible but discrete floating button on-screen would help. I've tried loads of apps that just weren't that easy to use. Sorry, I can't remember which I used, they were all called volume control with no play or pause . Thanks :)

There are two different pin orders for headphones: CTIA and OMTP, see https://hardwarerecs.stackexchange.com/q/15086/21257 and https://source.android.com/docs/core/interaction/accessories/headset/jack-headset-spec?hl=de

Try using a settings database editor (e.g., SetEdit — you'll likely need to grant it additional permissions via ADB, per the instructions included within the app description on G Play market — and check your Secure Table for the following key/value pairing:
media_button_receiver : ComponentInfo{com.mxtech.videoplayer.pro/com.mxtech.videoplayer.MediaButtonReceiver},0,1
The included example value is for MX Player, you may need to research the value you need for your specific use case.


text:
Is there a way to block access to a certain hostname wholesystemly without root using only adb commands?
Editing 'hosts' file is not possible without root and I am not satisfied with either local or remote VPN block. Is there a way to block all outgoing connections to a certain remote URL address without root access wholesystemly so all apps (even system ones) won't be able to make a connection to this address?

There are some apps outside Play Store which allow ad blocking based on a local VPN (redirect all traffic through the app, but not to a remote server). Such apps usually also allow to use custom block lists. AFAK Blokada 4 allows to use custom block lists, nut sure if this feature is finally available in Blokada 5.


text:
Phone blocks call from someone who is not on the block list
I hope I am posting in the right section.
I would like to ask support from you to solve an issue with my Samsung A325F/DS (android version: 13). The phone is not rooted.
The issue is: the phone blocks all calls from my wife despite her number is not listed on the block list. Actually, there are not people on the list of blocked contacts. The problem occured first on 3rd June and it is persistent. I have tried the following:

restarted phone: still blocked
put her number to the block list and remove: still blocked
remove her contact and then readd: still blocked
asked her to call me on the other SIM: still blocked
replaced Samsung's phone app with Google's phone app: still blocked
turned off spam filtering: still blocked

Text messages do come through from her. I can call her without any problems. No other numbers are blocked. I am contemplating to try factory reset, but I would like explore other options if you have any ideas.
Thank you very much in advance for your ideas.

Resolved: it was ESET Security that put some numbers on the block list.

Welcome to a Q&A site Android Enthusiasts Stack Exchange. We really appreciate anyone who finds the solution by themselves! Perhaps you could explain more about how this happened and how to prevent it?

Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.


text:
MX Player Subtitles Settings not working on videos with SSA subtitles
I had my MX player's subtitle settings working just fine on all videos without bias. Recently I had to uninstall my MX player and reinstall it. After that, I tried to change the subtitle settings by changing the text size and text color. However, not all videos are taking this change into effect. The videos which have SSA subtitles are not taking any kind of modifications in how the subtitles are displayed and showing the default white colored subtitles with default text size. But earlier, before reinstalling, the same videos used to have these customized subtitle settings which I put into effect.
I have tried newer and older versions of MX player but the problem persists.


text:
Cannot encrypt Realme 7 Pro running Android 13 (Project Elixir ROM)
I have Realme 7 Pro device with an unlocked bootloader and installed custom ROM:

Project Elixir 3.8
Android 13
Kernel 4.14.212
Selinux Status "Enforcing"
Custom Recovery "OrangeFox R11.1"

The phone is showing "phone not encrypted":

I tried to follow this XDA thread to make the phone encrypted with no luck. When I use the stock firmware I got it encrypted normally with "FBE Encryption", but with custom ROMs, it's not.
Is it possible to encrypt the phone when using custom ROM? and how? Thank you.

There's another thread on XDA mentioning the encryption being broken (not supported by custom recovery) since Android 12 for Xiaomi devices.

This is Realme device not Xaiomi, and the latest OFOX recovery supports encryption now

Sorry, I mistook Realme for Redmi (Xiaomi). In addition to waiting for an answer here, I think it's better to also ask on their official support forum if possible.


text:
How to assign a hostname to an Android device?
When you connect to a WiFi network, the router assigns an IP to the android device (like 192.168.1.105). Now when a FTP or HTTP file server is run on the android device, other devices should type that IP to connect to the server.
This IP is not fixed. When you switch to another WiFi network or enable hot-spot on android itself, it changes.
Is there any way to assign a fixed hostname (for example my-pixel) so other devices could use it instead of the IP (like ftp://my-pixel.local:4030)?
(I also asked this on Stack Overflow but no answer there)

Most phones send the name you have configured in About my phone -> Device Name to the DHCP server. The DHCP server in my Wifirouter uses this name and saves it as DNS name for the IP it had assigned to my phone. Just make sure your devices use the DNS server provided by your router and not a "privacy DNS server" from an external system (like Google DNS or Cloudflare DNS).

@Robert Thanks, but how does it work? There is a Phone Name that is like Brand Model XX10 (with spaces). Provided that it is connected to the local network how can I, for example, ping this from my computer?

Your computer has to ask your router for the dns name of the local device. If the router is configured to provide DNS services for local devices known by DHCP then it will lookup the phone name in it's DNS table. Note that spaces and underscore are not allowed in DNS, I don't know what happens if your phone tries to use an invalid DNS name. Open up the admin interface of your Wifi router and check what devices it lists and what names it has assigned to them.

How do I change the name of my Android device?


text:
copy to android clipboard in nvim from termux
I use neovim on termux on android 11
i commonly use :y to yank/copy text to nvim clipboard
then paste it to another files
recently I've tried using helix-editor(hx) looks and feels so similar to neovim(with nvchad/spacevim) with a bunch of themes
in its normal mode there is a command :clipboard-yank
which literally Yank main selection into system clipboard. after selection of required text.
and similar function is also available on tmux too..
but in nvim it doesn't copy to system clipboard
i tried searching for this function and fond some solutions but those didnt worked for me
set clipboard=unnamed
set clipboard=unnamedplus
set clipboard+=unnamed

or these "*y "+y
so, is thre any way to copy to system clipboard


text:
OnePlus N200 5G T-MO not connecting over usb
My stock android 12 OP N200 5G TMO has stopped connecting over USB.
I double checked and made sure I was using a data cable, I tried numerous ports on numerous computers but I get the same result. I can not access its storage with USB, use usb adb, usb tether, etc. It used to do all these things fine and there is no change that I am aware of that couldve caused this behavior. It still charges from the computer fine it just behaves as though it is connected to a normal piwer block and does not even offer the ability to transfer data.
I hope someone has some suggestions for me to try to fix this problem.

Such problems are often caused by a broken soldering point in the where the USB-port of your phone is soldered into the phone's circuit board. By too much force this connection can break. As each soldering point breaks individually this can affect only charging or only data transmission.


text:
How to list all SSIDs on which ADB Wireless is allowed?
When connecting a phone to ADB wirelessly, the user must allow Wireless Debugging on the current wifi network, with an option to remember the preference.
Is there a way to programmatically read the list of SSIDs on which Wireless Debugging has been permanently allowed?


text:
Honda Clarity 2018 Non-Touring PHEV: how to simulate nav keys to call `systemdiag`?
I have a damaged head unit that no longer responds to touch.  I've managed to get access to ADB (I have root and USB debugging was enabled), but the problem now are the touch keys along the side of the unit.  The VOL+ and VOL- keys appear to work just like Android's (e.g., booting into safe-mode by holding the key down still works), and the menu and home keys also appear to work the same as they do in native Android.  My problem now is two-fold:

What Android key events would be the equivalent to the Audio (Power) key and Brightness Level toggle key?

How can I simulate Audio+Menu+Brightness to call systemdiag?  Will simulated touches (they are outside of rendered screen bounds?) or send key events even work?  Or is there another way to programmatically call the diagnostics screen directly?


text:
Oneplus 11R App Icon Color not changing
I have installed Pix Material You Light/Dark Icon Pack on my One Plus 11R, and applied using Oneplus Wallpaper & Style (Icons section). And, When I change wallpaper, icon color is not changing accordingly. How to Solve this?


text:
Disabling custom tabs, or a browser without custom tabs support?
I have searched this topic for a while, but the answers I found are sadly outdated. Chrome/Chromium based browsers (I tried Brave and DuckDuckGo, and according to search results Vivaldi also has it) and Firefox has a feature that clicking a link in apps, opens a (very limited) browser inside the app, and not the "normal" browser. As far as I know this is called "Custom tabs".
This feature is annoying, mainly, because a ton of apps does not allow to disable this in itself.
There was a flag in Chrome ( chrome://flags/#tab-management-experiment-type, Switch preferred flavor of Herb ), but they removed it. I don't see any option in Brave, DuckDuckGo and Vivaldi. Firefox also removed the option ( see here, second picture of the answer: How to open links directly in Firefox full browser?).
Are there any workarounds, hidden options I did not find?


text:
Can Google Lens or other app translate separate words or phrases rather than whole sentences
I need to translate puzzles/exercises where one need to insert missing words, translating sentences result in rubbish.
I think translating texts word by word could be more useful.
Is it doable with Android device? Perhaps, Google Lens or other app can be configure to translate separate words or phrases individually rather than whole sentences?
I think one solution could be apply OCR, copy text and ask chatGPT translate word by word. Are there any better alternatives?

I don't think that is possible because there's no such setting in any translating app. Translating a partial sentence often results in inaccurate and even absurd translation when translated to another language that's why it's not practical.
The only thing you can do is scan the first half before the blank and then the other half, sacrificing your accuracy and any hope of solving the puzzle (kidding, this should help since human is but the best AI. Goodluck)


text:
Where are Chrome tabs stored?
I've noticed that, if I have multiple Chrome tabs open and restart the browser, the tabs are still open.  This suggests that the tab info is stored on the hard drive somewhere.  Where is this information?

Related/possible dupe: How can I export the list of open Chrome tabs?. Some of the answers also mentioned the location.

The information is found in /data/data/com.android.chrome/app_tabs.  On my phone, with two tabs open, I see
0/
    tab17
    tab20
    tab_state0

You can confirm this by deleting those three files and restarting the browser.  The tabs will all be closed.


text:
whenever I receive a call a corresponding contact is duplicated, how to fix?
whenever I receive a call a corresponding contact is cloned, so I have tons of duplicated similarly named contacts . How to fix?
ZTE Axon 7 mini

I dont get it. Can you please elaborate? Call from a saved contact or unsaved? Try switching to a different dialing & contacts app. It might be a bug in the sys app itself.


text:
Can the view orientation switched from portrait to landscape and vice versa in Adobe Acrobat Reader?
On my tablet, Adobe Acrobat Reader goes into portrait mode for a document with portrait proportions. I tried to find a way to switch it to landscape mode, but I'm still clueless.
Can the view orientation switched from portrait to landscape and vice versa in Adobe Acrobat Reader?
Or is this very basic feature in fact really missing?

I don't know about Adobe but you can use automation (Automate App) to automatically lock your device into landscape orientation as soon as Adobe is opened and switch back to normal when closed. If it helps


text:
Google prompt won't show up after I flashed my phone
2-Step enabled, and I keeped backup codes.
This is what I did:

Before I flashed my phone, I logout my google account.
Then after I flashed my phone, I logged in google accout from my phone by using backup codes.
In Google - Your devices page I signed out old devices.

But when I checked the Google prompts page, it still showed my old phone(the name is the old one).

And when I tried to log in somewhere, the "Google prompt" didn't pop up. I have to use backup codes or Authenticator.
Is there a way that I can fix this? or just disable "Google prompt"? I'm OK with using Authenticator and backup codes when phone is not available.

Logging out should have stopped the prompts on the old device. Check under logged in devices and log it out manually.
You can check the prompt-supported devices you are logged into right now at Manager your account → Security → Google Prompts → enter your password.
When your new device is considered "trusted" and supports prompts, you'll start receiving prompts on it automatically.
About turning it off: you can't, as far as I know.
Also, see How to disable Google Prompts?  on Google Help.

Well the "Manager your account --> Security --> Google Prompts" page is showed as my screenshot. I now think it may just be google's issue, not my phone's.

:) It will start appearing soon if you have the Gapps and the safety net is passed. You can also check https://forum.xda-developers.com/t/2fa-google-phone-prompt-not-working.4354859/


text:
Adding new voice to Google Chrome TTS
If a person's Android does not support a specific language for text-to-speech (SpeechSynthesis or SpeechUtterance) in Chrome Mobile, how do you enable or install that voice support? For example, if my phone doesn't have Swahili or Urdu voice support, what do I have to do to get TTS working for these languages in Chrome?
Can anyone help?
Here is an example using TTS for Thai (which possibly your phone does not support): https://thai.fatfx.com/practice

Related: How do I add a voice / language to speechSynthesis? so the site developer would need to use a cloud service or possibly get the Android user to download/install an appropriate engine. Have not tested so YMMV.


text:
What are the restrictions for spending Play Points?
Does anyone know why spending Play Points is impossible in Poland:

That was the only reasonable reward I could imagine, but it turned out that I hit the closed door with "Unavailable" label on it. Anyone has any idea how I can open these door?

Play Points program is available in Poland.

Thanks! But you're pointing to the developers guide. I don't need an information on how to implement Play Points in my own app, but rather how to resolve the described issue.

This was either a bug:

In Google Play app in general
In Google Play service's configuration for my country
Somewhere in between my account and Google Play service (some glitch)

After filling a two separate Google Play Points Support's reports, of which none has been answered so far (except for repeated information that a problem has been reported to Google Play technician) the whole thing suddenly "un-choked" itself.
Without any change on my side and without any actual information from Google, starting last Saturday I am able to use my Google Points as expected.


text:
What exactly does it mean that Android 12 notification is set as silent?
I have realized today that I haven't seen any kind of notification that there are app updates available for months. And the only way to actual know about this fact is to (accidentally or not) visit Google Play app:

If so then how should I understand this part:

What exactly is "notification drawer"? Where should I see those notifications?
The truth is that the only way (other than described above) to learn that some app has an update available is when that particular app has "update check" and warns me upon opening it that I should update it.
How can I "see them in notification drawer" if I don't see them absolutely nowhere through the system (except for Google Play app an the app in question itself)?
What am I missing here?

https://developer.android.com/develop/ui/views/notifications#bar-and-drawer

...and how should this link help me understanding why my Google Play app does not show any notification in app drawer even though marked piece of my screenshot show that it should?

It explains exactly what the "notification drawer" is. To my understanding you have to pull down and see the full notification drawer to see the notifications. If you don't see them then this can be a bug of your OS or the description is simply wrong.

@Robert Your latest comment actually answers my question and resolves my problem. Turning it into answer, linking what you have linked, would in my opinion bring us a valuable answer here. I'd more that happy to accept is, should you decide to write it. Thanks!

According to the description by Google the notification drawer is the common section where all notifications are visible after swiping down from status bar:

Users can swipe down on the status bar to open the notification drawer, where they can view more details and take actions with the notification.

Therefore silent notifications should appear just like regular notifications but without any hint to you outside of the notification drawer. So if you don't swipe down the status bar you won't recognize that there is a new notification.


text:
What is the purpose of an android phone continuously accessing the internet every ≈10 seconds?
Why would a stationary phone on Wi-Fi need to access the internet every few seconds as shown by the arrows near the Wi-Fi icon top right corner of the home screen?
Does this happen also off Wi-Fi but with no arrows indicator?
Data Saver is on and operate in background button is off for all apps.

You can find it out yourself: Install an app like PCAPDroid, capture traffic for a few minutes and then load the generated pcap file into Wireshark.

For the same purpose any other computer does the exact same?

@ChanganAuto a user might not know why a computer would do the same too. You would want to expand on that.

Many devices automatically access the internet for updates, refresh data, and ping in on their location.  There are ways to stop the access like Data Saver, Manual Updates, and Do Not Run In Background for a cell phone but those do not stop an S22 from upload/down load of data about every 10 seconds.  I would like to know the purpose of the continuous data traffic when on Wi-Fi.


text:
Android malware opens browser tabs with spec. URL
I got Android malware on my Redmi 9 smartphone which open numerous tabs on my browser with the URL https://jaavnacsdw.com/GAS/GAS.php?c=1797742&c1=VAR. One time, I had 133 tabs.
Does anyone know what to do?

Welcome to a Q&A site Android Enthusiasts Stack Exchange. Did you install or update an app recently? We have an existing question to guide the user on identifying the malware app: How to find out which app is trying to open spam websites?. Please take a look and have a try. Good luck!


text:
Built AOSP, can't run emulator
Following the directions to build AOSP, everything seems to go fine.
I run:
. ./build/envsetup.sh
lunch sdk_phone_x86_64-userdebug
make
m

That seems to go fine.
Then the instructions say simply to run emulator.
user@hostname:~/WORKING_DIRECTORY$ emulator
INFO    | Android emulator version 31.3.9.0 (build_id 9070145) (CL:N/A)
ERROR   | No AVD specified. Use '@foo' or '-avd foo' to launch a virtual device named 'foo'

user@hostname:~/WORKING_DIRECTORY$ emulator -list-avds

Nothing is listed.  So I feel like the instructions are missing a step? How do I create an AVD?
So, I found some more instructions that say:
avdmanager create avd -n test -k "system-images;android-25;google_apis;x86"

But I'm not sure where the system[...] came from, but more importantly when I try that:
avdmanager: command not found

So again, I feel I'm missing a step.
I'm looking for a COMPLETE set of steps, from soup to nuts, to compile AOSP and run the emulator.  I would like to do this from the command line and avoid having to install Android Studio.
Details on my machine:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy

You should be able to download command-line tools from the official Android Developer site down below, then download a system image using sdkmanager, then run the emulator using avdmanager.

thanks @AndrewT. i'll run with that because it's all i've got, but i really am looking for COMPLETE, WORKING INSTRUCTIONS.  so i go download cmdline-tools, ok i'm smart enough to unzip it, but then what?  do i add the bin to my path?  or do they need to be copied somewhere else? are there any library paths that need to be set?  if so how? etc...

again @AndrewT. i need COMPLETE instructions.
$ avdmanager
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.


text:
How to solve error in SP Flash Tool?
My operating system: Artix Linux
My image fastboot: XIAOMI REDMI NOTE 9 (MERLIN) MIUI V13.0.2.0 ANDROID 12.0 (merlin_global_images_V13.0.2.0.SJOMIXM_20221013.0000.00_12.0_global)
Phone: Xiaomi Redmi Note 9
Go to folder bypass. And run command:
sudo python main.py

I got output:
[2023-06-16 22:33:10.319185] Waiting for device
[2023-06-16 22:33:38.939744] Found port = /dev/ttyACM0
[2023-06-16 22:33:39.045127] Device hw code: 0x707
[2023-06-16 22:33:39.045223] Device hw sub code: 0x8a00
[2023-06-16 22:33:39.045265] Device hw version: 0xca00
[2023-06-16 22:33:39.045301] Device sw version: 0x0
[2023-06-16 22:33:39.045336] Device secure boot: True
[2023-06-16 22:33:39.045372] Device serial link authorization: True
[2023-06-16 22:33:39.045406] Device download agent authorization: True
[2023-06-16 22:33:39.045440] Disabling watchdog timer
[2023-06-16 22:33:39.045971] Disabling protection
[Errno 5] Input/Output Error
[2023-06-16 22:33:40.403658] Payload did not reply

lsusb output (after bypass):
Bus 001 Device 012: ID 0e8d:0003 MediaTek Inc. MT6227 phone

Now I run SP Flash Tool v5.2228.00 with command:
sudo ./flash_tool.sh

I got that error after clicking download:
ERROR : STATUS_BROM_CMD_STARTCMD_FAIL (-1073348607) , MSP ERROE CODE : 0x00.

Welcome to a Q&A site Android Enthusiasts Stack Exchange. Looks like -1073348607 is 0xC0060001 in hexadecimal. There's a thread on XDA for the same error code, or otherwise read another solution from the linked forum post. Let us know the result, or feel free to post an answer if it solves the issue. Good luck!


text:
unset warranty bit
I recently installed Magdisk by patching the raw boot.img, unlocking the bootloader, and flashing the boot.img as boot. Now I have Magdisk. However, during the boot, 3 things happen:

set warranty bit appearing in the upper-right corner
bootloader unlocked warning - probably solveable by locking the bootloader while magdisk is still installed
warning at the top that it is not samsung official firmware

is there any way to undo these things? for example, the image showing the non-samsung firmware text could be replaced by a empty .png, and the warranty bit could be unset - it's just a single bit on my disk, right? i have a samsung galaxy a14(SM-A14R)


text:
Android Emulator LDPlayer HTTP proxy tunnel not working - help
i am running remote host: Windows 10  connected to an openvpn and running an android emulator on LDPlayer
i wont to run a proxy on android emulator for HTTP and all app traffic should go through the HTTP proxy...
i have tryed several different android softwares and either its not working ore i get my openvpn IP from remotehost
the only thing which works is the HTTP proxy via chrome with below settings
adb shell settings put global http_proxy :
kindly help me out what i am missing ore doing wrong ? i wont to tunnel all traffic UDP/TCP and SSL through the HTTP proxy  also the apps
kindly help me out i am struggeling with this thing for few days now
softwares i have tryed :
shadowsocks
webtunnel
proxifier
Dpitunnel
androidproxy server
and many more

kindly someone ? i will give 50 usdt to whoever helps me solve this issue i need this solved asap thanks

You need an emulator that supports direct network access aka. "Bridged Mode" (in this mode the VM directly communicated to your router, it even gets it's own IP in your LAN). All the other modes use some sort of proxy on the host OS to process network requests (this is the reason you always end up in your OpenVPN).  All VirtualBox based VMs should support bridged mode networking. Android in VirtualBox works, e.g. using GenyMotion or you could try to install AndroidX86 inside VirtualBox. But IMHO a pure Linux instead of Android inside VirtualBox would be much easier...

i tryed to install vmware android 1st.  it works very very slowly pain in the ass...  2.second  i have the same problems  i only didnt try to use bridged mode  ...  so you are saying  theres no way on using proxy for apps and browser in android emulator ? no way arround this ?

A VPN is working on IP layer (OSI level 3) and proxies work on TCP level (OSI level 4). If a VPN is active a proxy have to use it because the OS performs the IP routing. The proxy has no influence on such things as it is on a different layer.


text:
How to find how many hours an Android phone has been used in total (regardless of factory reset)?
I want to know if there is a method or application that can tell me how many hours an Android phone has been used. Just like we have cheat codes that we used for Nokia phones; they tell us the hours (regardless of factory reset). Any alternate for Android?


text:
Why does `chrome://flags` return google.com?
Why does chrome://flags return google.com?

chrome://flags should still work on all versions of Chrome (confirmed on v114).
You probably tapped the search suggestion instead.

Thanks I also had tried copy paste to start with, perhaps copied a space.

Chrome on desktop and android both ignore leading/trailing spaces. So you either selected the wrong suggestion, started with a ?, or were pasting into a search bar (typically found as a home screen widget).


text:
Can I bypass the lock screen on my Samsung Galaxy S22 without factory reset?
My phone usually asks for my thumbprint, yesterday it wouldn't let me use it and asked for the pin. When I entered the pin it said incorrect. I tried so many times that the lock screen time out is now up to 24 hours. I didn't know you had to turn on the unlock phone remotely, I thought it was automatic so now I can't unlock it via my samsung account. Is there any way to bypass the pin code screen without wiping my phone?

I don't think so. Passwords are there so no one except you can unlock it. If you can plug it into the PC and enable mtp from notifications (which you can't on new Android versions. What's yours?) That's your best bet. Else you'll have to format it. I have heard of local people who unlock phones without deleting data (old models). Not sure how. Enlighten me

Android phones usually ask for PIN at least once a week. And you always have to entre the PIN after a reboot as it is required to file decrypting. May be the phone crashed and rebooted. The PIN exists to protect the phone from unauthorized access. If a backdoor exists everybody who has your phone (e.g, lost or stolen) could access your files...


text:
Reset/Flush Telephony Data Statistics
I'm working with a company that uses Android architecture and an LTE modem for an IoT device. I am working on some software tests that ensure the modem is internally connected properly using
dumpsys telephony.registry | grep -i mSignalStrength

and
dumpsys telephony.registry | grep -i mDataConnectionLinkProperties

I have been able to test this with no antennas attached (to get a worst-case baseline) and with antennas attached. The expected behavior is to see -1 for most fields when the antennas are disconnected and other values when they are attached. I have run into some issues in the case of the antennas starting off attached to the modem, then removing them after checking the telephony data (simulating loose antenna connection that comes undone after an initial check). When this happens, I don't always see a decline in rsrp/rsrq even though there are no antennas.
Is there a way to flush/reset the telephony data? Is that the best way to go about testing this? Any help would be appreciated.


text:
Unsual Firewall Traffic from Phone and Messaging Storage Group
I'm using Rethink DNS to monitor traffic.
I'm curious as to why the 'Phone and Messaging Storage' group would be reaching out to google domains in addition to app.hubspot.com.
Attached are the firewall logs along with the apps included within the 'Phone and Messaging Storage' group.


text:
Is it in any way possible anymore to save my data?
I have an old Allview P5 Energy which I've forgotten the password of, running Android 5.1. I was wondering if there is any possible way to recover its data. adb devices says the device is unauthorized and the recovery mode doesn't have a backup option. It does however have an "update from ADB". By using adb sideload is there any way I could bypass the password?

yes, most likely the data is FDE encrypted with default_password, therefore it should possible to root the device with modified boot.img executing custom script to delete locksettings.db and authorize adb. another option is to port TWRP recovery. SP Flash Tool or mtkclient is required


text:
What tool in Termux can I use to move one partition on my USB drive to the start of the drive?
I had a problem where the TV that I needed to use to watch movies, kept recognizing the EFI partition as the only partition on the USB drive, And I couldn't get to the second partition.
I decided to delete the first partition, but then the TV didn't recognize the USB drive. I thought it might have something to do with the partition table having a missing partition at the start. I tried moving the partition with parted, but found that they removed the move feature and I need to try something else.
I can't install sfdisk on Termux. The only thing left I found was manually moving the partition left. Is this the only solution?
Edit: I managed to install sfdisk, but there are two answers on two different forum posts with two different uses of the sfdisk command. One of them uses just sfdisk /dev/sda -N 1, and the other one uses echo '+100M,' | sfdisk --move-data /dev/sda -N 1. Which one should I use?

Format the usb with partition type fat32. Should work

@44yu5h I can't. I have videos on the partition, that would take ages to download. If I could do that, I could just delete every partition and create a new partition from the empty space. But I can't do that.


text:
Prevent notifications on SMS messages from a contact during off hours on Google Messages
I'm using Pixel 7a and Google Messages. I wonder if there is a setting or an app to stop notifications on texts message coming from people I cannot block during off-hours in a systematic way: e.g. Every Monday morning.

Playing with MacroDroid as suggested, I wouldn't mind getting feedback on the multiple options to set this up. For instance, an initial walk-through of the app has led me to place the phone on "Do Not Disturb" for any incoming messages, which is not what I was after.
Here is a macro trying to approximate the intended outcome, i.e. any text (SMS) from Jack received on Tuesday morning will stop the notification sound that I have as a default.

Is this correct? After it triggers, will the notification sound be disabled for all incoming messages regardless of the sender's name (or number) until I reset it in my phone settings?

Using an automation is one option. See this answer //In constraints section of the macro, you add the conditions under which you want the macro to run (day of the week And (logical operator), time)

@beeshyams I can't figure out how to stop the audio notification sound just for that specific person on MacroDroid.

I suggest you edit the question to include what the notification text includes (person's name) and from which app do you get the notification(sl) / It's doable but right now I am not inclined to spend efforts(hint: see the options under notification received trigger for apps and the notification text)

@beeshyams OK. I did edit the question to make it more concrete. Ty

Depending on your phone model, you may be able to accomplish this via Do Not Disturb. Here's how I did it on my Pixel 6 Pro running Android 13:

Open Settings > Search 'Do Not Disturb'
Click "Schedules"
Click "Add more" and choose "Time"
Customize the Days, Start and End times
Click "Do Not Disturb behavior" > "Create custom settings for this schedule" (see screengrab below)
Use the "Calls" and "Messages" settings to determine who is allowed through the Do Not Disturb settings

There are a lot of ways to accomplish what you want from here. The easiest way for messages (if you're using Google Messages) is to choose "Priority conversations" in Messages, then pick which texts threads are allowed through. Another way for calls and texts is to add people to your "Starred contacts" and only allow those during your chosen time.
Note, instead of "Schedules" in the second step, you can also choose "Event" to use your Google Calendar to decide when to apply these settings, which may be better depending on your use case.

I must have done something wrong. It blocked my alarm clock, and media sounds, etc.

Be sure to look inside the "Create custom settings for this schedule" (press the gear) under "Do Not Disturb behavior" when creating the schedule. This is where you'll find toggles for turning on Alarms, Media sounds, Touch sounds, etc. I'll try to add a quick screen grab.

Depending on the Android version, users have more control in 13 & up over Notification Permissions. Can be controlled per App or Notifications for all apps link below M. Android device Settings will give an option of which all apps to allow Notifications at all, popup, or silent, etc.
Google Help topic: Change app permissions on your Android phone.
You can also use the "Manage notifications" screen to block notifications from specific apps or to change the priority of notifications.
Maybe will help.

I believe there might be another option and it was partially answered above.
As a user, I believe your best bet is to first organize your Contacts into Groups and add Labels for ex; "Trainees" or "Company partner" etc. Then you can easily scroll through and tag each quickly as a FAVORITE (star it).
When you're off yet can't block 1 contact or several, you can still set DND yet make the allowance of Allow Notifications and/or calls from certain people or your FAVORITES. This might take about 30 to organize contacts but I believe it will work. I hope so. Although I am still researching a bit. it should not change or mute alarms.
Google Help topic: View, group & share contacts.

To mute notifications from an individual contact in the Messages app:

Open Google Messages with said contact in mind.

You can either open a temp new chat message to the contact without adding input, or
Open an already existing (*ongoing or archived doesn't matter) as long as desired contact name is showing.

In either scenario, go to the upper right-hand corner (on Android) or DETAILS on a different device:

Tap DETAILS

Tap NOTIFICATIONS

Select: SILENT

This will mute all notifications from this contact while using Google Messages app. Temporarily at least until you mark at the bottom of the same screen where it says "Set this as not a conversation." That will move it back from Conversation to Chat; normal chat contact status. That Conversation might be found in the All or possibly even Archived category, but it hasn't been deleted unless you did.
I don't use the individual notifications conversation windows, but you can also set a NOTIFICATION SOUND per Contact if you wanted.  The Settings is in that same Detail screen and Menu.
Hope this does it.


text:
How to sign out of Google Play Games?
I'm developing an app with Google Play Games' achievement system, but I want to test the flow when a user is not signed into Google Play Games.
How can I sign out of Google Play Games to test this flow?

I think you must remove your account from the device.

Google uses a single-sign-on system for their apps, so you are logged in in every app or nowhere. Thus you have to completely remove your Google account in Android settings.

I found how to sign out per-game. It seems to test that workflow.

Open the Play Games app
Go to ⋮ (menu) > Settings > (Your Data heading) > Change account for games
Find your game in the list
Tap Change to get options:

Select an account (default)
Ask each time
Sign out


text:
[Stock-ROM][ROOT] Sense TW102 Android 11 Firmware
I have a Sense TW102 and I'm trying to root my device with hours of research and trial and error trying to find a way to find stock firmware to trying to pull it off my device with no avail. Any leads or advice id greatly appreciate it.

I feel this is off topic.

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Please per-use our canonical Q&A about finding stock firmware. If you can't find it, then I'm afraid there's none on the internet.


text:
Android 12 froze, does this leak IP address with VPN killswitches enabled?
I have a VPN running with Android's 'always-on' VPN feature enabled, and the 'block connections without VPN' feature enabled. My device running Android 12 recently froze and wouldn't respond. I had to restart it by holding the volume down and power off button.
My question is, in this frozen/non-responsive state, would the 'VPN killswitches' have leaked my true IP address? I've searched everywhere for this information and couldn't find it anywhere, so I would appreciate any help I could get.
I couldn't produce any logs because I eventually did a factory reset.

I don't think this can be answered as a "frozen/non-responsive state" can mean everything from frozen UI to total system with errors, may be because of flipped RAM bits. Thus anything could happen on such a corrupted system.

Hi! Thank you so much for your response. All I know is, I opened an app and the device became completely frozen. Do you think this would have leaked my IP?

It can only be answered as opinions.  Does it not depend on what you were doing at that time, what browsers or apps you were using, what sites you were visiting, if you were downloading files.  Plus it has happened already.  May as well deal with it.


text:
ROOT: How to allow "install unknown apps" by default for an app?
Since Android 8.0 adb shell settings put secure install_non_market_apps 1 no longer works because we now have to enable it for a specific app.
I am using Android 9.0 and I have root access on my device. Is there a way (using adb or other means) to allow my app to "install unknown apps" by default? I want my app to be able to update itself without opening settings.

I found the solution using appops.
adb shell appops set <package name> REQUEST_INSTALL_PACKAGES allow

I haven't tested this for unrooted devices but it definitely works for my rooted device.


text:
Turn off Samsung account Notifications
In my company we recently decided to put all the company phone on one Samsung account. So if an employee loses there phone or forget there passcode we can help him. The only issue every time we add a new phone to the account everyone gets a notification. Is there a way to stop this and let only one phone get the notification?

I dont think so.  There is a duplicate here.  There is another one on another site perhaps.  I cant find it.

I would suggest that the concept of the account is being abused, especially if this notification is a problem.  Are you adding multiple phones every day ?

Just this week because we are getting all the company phones onto the Samsung accounts.

I had a look around and its possible that one of these settings may help you.  I couldn't find desriptions for all of them, so it's trial and error.

Goto Settings
Scroll Down and select Apps
In Search field type in play service
There are probably two Google Play Services
For each press Notifications
Scroll Down and press on Notification Categories
It will look like the image below
Try turning off Devices and Devices with your account

This for Samsung accounts also?


text:
How to get rid of GMS (Google Mobile Services) issues on de-Googled devices?
Recently I've decided to de-Google my phone, and noticed some issues:

GMS is NOT the core of AOSP, BUT is definitely required for most apps that need some account management to work properly like all Google apps and most third-party apps that I can easily live without or replace with other apps.
The lack of Google Play Services drastically slows down some of the basic apps like browsers (not all of them, but most like Chrome, Edge & Brave), although I can use browsers or alternatives for things like synced calendars, notes, and office.

I currently have no idea how could I make the basics work flawlessly with GMS completely removed.
Any recommendations?

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

I have never been in this situation, but I think you need to flash the replacement for Google Play Services like microG or otherwise don't use apps that depend on it.


text:
Samsung Galaxy A10 stuck on lock screen
My Samsung Galaxy A10 SM-A105FN (running Android 11) is stuck on the lock screen, and whenever I enter the correct pattern, the screen goes black for a few seconds before coming back to the lock screen
The phone has TWRP 3.7.0, is rooted with Magisk 26.1 and uses EdXPosed, but neither of these have any mod/module installed. EdXposed is disabled.
Also, when I press the lock button on the side, to turn the screen off then on, the background changed, despite no setting having changed that.
What I tried :

Soft reboot/reset
Hard reboot/reset
Clearing Dalvik/ART folder
Clearing Cache Partition
Reinstalling Magisk
Unfreezing all apps

Is there any way to fix it please ?
EDIT : I decided to reset my phone as I couldn't do anything else at the time.
However, an interesting solution has been suggested after my reset, but I have no idea whether it could've worked or not.

Even before first unlock after reboot the phone should connect to your local Wifi, does this happen on your phone? If it does not this may indicate a fatal error of the user data file-system and/or the file-based encryption system.

The phone is in airplane mode after each restart, unfortunately

From TWRP's File Manager go to /data/system and delete

gatekeeper.password.key
gatekeeper.pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wa

If any of these is missing, let it be.
Reboot. Lock Screen should be removed now. Set a new one and check if the problem persists.

Thanks ! I, since then decided to reset my phone despite all the things stored on it, and thus cannot try your method.
Robert, above, said it could be caused by corruption of the "data" file-system, and I think it is highly possible in my case.
Sorry for the useless post as of now !

@ChuckLennon I believe this sometimes happen when a backup is restored from twrp. There may be other scenarios where this could occur. Basically the problem occurs when the old password format was different than the current one. Eg. old one was a pattern lock but the phone starts to ask for a pin to unlock, or the old one was a 6 digit pin but the phone asks for a 4 digit pin, so on and so forth. Deleting the screen lock files removes the password.

Thanks but it cannot be, as I did not restore a backup. So I think it was due to some data corruption. Maybe I froze/disabled apps that shouldn't have been


text:
How can I copy files from an ext4 partition on my USB drive to a fat32 partition on the same drive?
I tried mounting the ext4 partition as root, but it didn't work. My phone is rooted, but as it seems no one has managed to do what I want to do. I couldn't find any solution, that worked for me. How can I mount the ext4 partition?
What I have tried so far:

Manually mounting the partition. I tried running mount -t ext4 /dev/block/sda2 /mnt/media_rw/usbotg, but that doesn't work and outputs mount: '/dev/block/sda2'->'/mnt/media_rw/usbotg': Invalid argument. I was trying this, because of this answer - https://android.stackexchange.com/a/220020.

I also tried using vold-posix, but for some reason Magisk fails to install the module and shows Unable to unpack boot image, even though it is able to install Magisk updates on the boot image.

Please tell us explicitly what have you tried so far. And how it did not work for you. What error are you getting? What are you trying to achieve?

@IrfanLatif I added additional information.

Invalid argument is a general error. Run strace mount to get detailed log.

@IrfanLatif I couldn't copy everything, but here are the last lines, that I think might be relevant - https://pastebin.com/CS2FE1xS. (65F0-14E9 is my SD card)

I meant strace mount -t ext4 /dev/block/sda2 /mnt/media_rw/usbotg. Syscall tracing of the failing command.

@IrfanLatif This is the output - https://drive.google.com/file/d/1neT8izdswtsGGBJ7Bqbg77KF9zEfGYip/view?usp=drivesdk. I couldn't upload it to pastebin.

It's pretty verbose: mount("/dev/block/sda2", "/mnt/media_rw/usbotg", "ext4", MS_SILENT, NULL) = -1 ENOENT (No such file or directory). First create directory: mkdir /mnt/media_rw/usbotg.

@IrfanLatif mkdir: '/mnt/media_rw/usbotg/': File exists. Oh it is a file. I will find a new directory then. Sorry.

@IrfanLatif I tried another directory and this one for sure exists. Here are the logs - https://drive.google.com/file/d/1oyDmfJnnMxhAwyWI7jPgKOGCA-2FLrwS/view?usp=drivesdk. Also I wanted to say that the usbotg directory exists. It is for sure a directory. I have no idea why it doesn't work.

Then /dev/block/sda2 does not exist for sure. It looks like that you have just copied the command and you are not sure what you are doing. It's a dangerous practice. Please spend some time to familiarize yourself with commandline. Start with mount man page.

@IrfanLatif I messed it up, but here is the final output - https://drive.google.com/file/d/1pKpiEoJ18EwsT36uuGdrdho2FWnTfwwp/view?usp=drivesdk. Sorry for the delay!

Are you sure that /dev/block/sda2 is an EXT4 filesystem? See How do I find what type of file system is of an attached USB or SD card?. Does dd if=/dev/block/sda2 bs=1 skip=1080 count=2 status=none | xxd show 53ef? What happens if you do not provide filesystem (with -t ext4)?

@IrfanLatif The command returns 00000000: 53ef. If I don't add -t ext4 when mounting the partition, the output is mount: /dev/block/sda2: need -t.

@IrfanLatif I found that the partition I was trying to mount had been corrupted by an app I used to shrink it. After formatting the partition it works flawlessly.


text:
Recover Xiaomi Redmi Note 5 soft bricked with bootloader locked
This night I went to sleep, left my Xiaomi Redmi Note 5 charging, and when woke up the phone was off, with the white light on. When tried to turn on, it stays in the Mi.com logo. So I think its a soft brick.
For adittional info: Lately the phone was slow, with storage at high.
Looking for answerings, I went through some tutorials. But I would like to maintain my data. The usual stuff as photos, and some info that is into a note app.
Saying that, the things arent looking well, since I never changed my OS and anything, so its probably with its bootloader locked.
I found this portuguese tutorial:
https://www.youtube.com/watch?v=syaAs7vrOpo
Basically it says where to download image and some files. Install adb. Enter the fastboot mode in the phone (I was able to do that) and some commands to execute in cmd. They are:
fastboot flash xbl xbl.elf
fastboot flash xblbak xbl.elf
fastboot flash tz tz.mbn
fastboot flash tzbak tz.mbn
fastboot flash rpm rpm.mbn
fastboot flash rpmbak rpm.mbn
fastboot flash hyp hyp.mbn
fastboot flash hypbak hyp.mbn
fastboot flash pmic pmic.elf
fastboot flash pmicbak pmic.elf
fastboot flash keymaster keymaster.mbn
fastboot flash keymasterbak keymaster.mbn
fastboot flash cmnlib cmnlib.mbn
fastboot flash cmnlibbak cmnlib.mbn
fastboot flash cmnlib64 cmnlib64.mbn
fastboot flash cmnlib64bak cmnlib64.mbn
fastboot flash mdtpsecapp mdtpsecapp.mbn
fastboot flash mdtpsecappbak mdtpsecapp.mbn
fastboot flash modem NON-HLOS.bin
fastboot flash dsp dspso.bin
fastboot flash bluetooth BTFM.bin
fastboot flash storsec storsec.mbn
fastboot flash storsecbak storsec.mbn
fastboot flash devcfg devcfg.mbn
fastboot flash devcfgbak devcfg.mbn
fastboot flash abl abl.elf
fastboot flash ablbak abl.elf
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash userdata userdata.img
fastboot flash mdtp mdtp.img
fastboot flash cache cache.img
fastboot flash splash splash.img
fastboot erase ddr
fastboot erase misc
fastboot erase apdp
fastboot erase msadp
fastboot flash cust cust.img
rem fastboot erase config
fastboot reboot

Looking at these commands, it looks like it will wipe the data, with the command:
fastboot flash userdata userdata.img
So, if I remove this command, and try to execute the rest, it should flash the rom and dont wipe the data?
Or it can cause some more problems to the phone?
What would you guys suggest to me to get out of this situation, preferencly with my data?
Thanks.

Usually fastboot requires an unlocked bootloader even if you want to flash the original stock image. Only from within recovery you can write firmware using adb sideload. But as your problem is most likely located on the user data partition (just a guess: system had run out of space) this might also not help you.

I dont think ADB is working.
When I type:
adb devices
Just shows:
List of devices attached
Without any device listed.
But if I type:
fastboot devices
fastboot getvar all
I was able to see some information.
One call my attention:
(bootloader) unlocked: yes
So what could I do from now? Theres some move to preserve or recovery the data?

If the bootloader is unlocked you can try to flash the other partitions. You will see if it changes something.

After flashing, do not attempt to re-lock the bootloader. A side note, I've messed with multiple phones, but the Xiaomi is always a pain. I bricked my Redmi Note 4 (when I tried rooting for the first time) I'd suggest to get it unbricked by someone professional if you're new to this. Save it while it is in soft brick. Anyways, I am guess  you will not be able to save your data..


text:
Installing another TTS language for Speech Services by Google on Moto G22 with Android 12 (OSMand navigation)
I have a Moto g22 with Android 12 and am trying to get German language navigation in OSMand.  I have set the language for voice prompts to German in OSMand (for the relevant profile: Configure Profile → Navigation settings → Voice prompts -> Language → TTS/German).  English language navigation works fine using Google TTS, but when I set it to German I hear nothing.  When I go to Settings → System → Languages & input → Text-to-speech output, set the language to German, and tap "Play", I hear nothing.  If I set the language to English and then tap "Play", I hear a voice speaking in English.  The engine is set to "Speech services by Google".
As a workaround, I could download OsmAnds pre-recorded voices, but that's suboptimal as it doesn't include street names, so I would prefer to get Google Text-to-Speech to work for a German language output.
How can I get Speech Services by Google on the Moto G22 with Android 12 to speak German to me?  Do I need to download a language pack on an additional app in some way?
On my tablet (Lenovo Tab M10 with Android 10) German voice prompts work fine in OSMand as well as when I press "play" in the "Text-to-speech output" settings.

Please edit your post to confirm you tried changing the language within the OSMand app, https://osmand.net/docs/user/personal/global-settings/#display-language

@MorrisonChang Done, but it doesn't work in the system settings test either, so the problem is independent of OSMand.

You have to download the voice data first.
Setting the voice language to German is not enough to trigger Android to propose to install missing German voice data, nor to warn that such voice data is not currently installed.  Rather, it simply says nothing (literally).
From the "Text-to-speech output" settings, there is another settings menu accessed to the right of the "Preferred engine" entry.  Here, tap "Install voice data", then the relevant language.
After doing this, the voice prompts work in the settings test and in OSMand.


text:
Android Auto noise during phone call
After the last update, my Android phone stopped interfacing correctly with the Android Auto infotainment system during phone calls.
To be more specific, it is impossible to make or receive a phone call over Bluetooth because the phone source just sends unbearable noise to the car's loudspeakers. All other multimedia and controls work just fine, but the only way to manage a phone call is to tap on the car screen and select the phone loudspeaker as output.
Any clues on how to reset audio settings without doing a factory reset? Other ideas?

Its possible that it an app that you have installed recently.

I had installed windows link to phone recently, I tried uninstalling, just in case. No difference


text:
Android 10: Difference Between System, Product and Vendor Partition
Android has read only A/B partitions where different apps are preloaded by OEM:
/system/app
/system/priv-app
/product/app
/product/priv-app
/vendor/app
/vendor/priv-app

Questions:
What is privilege/permissions difference between all above file path?
OEMS App, SOC Manufactures Apps and Third Party Apk are preloaded in which partitions?

Possibly related/dupe: Android product partition vs. vendor partition


text:
Reading a text in two voices
Is there a way to read aloud a text in two voices automatically?
For example, male voice for questions and female voice for answers.
Or, even paragraphs with one accent and odd paragraphs with a different accent.
Preferably in French.

I did not find a free and easy solution. Free readers seem to offer only single voice reading.
There are some paid solutions (with free trials).

murf.ai mobile and web-app with a convenient editor and script. For French, 2 male and 2 female free voices. Canadian French voices are only available for a fee. I did not figure out how to change voices to paragraphs automatically, had to assign voices manually via GUI. The free trial (no credit card) allows one produce up to 10 min of dialogues.

tableread PRO app - several days trial, need PDF script, formatted professionally (such as on simplyscript.com) and some voice assistant already installed on the device. The free version of the app seems single voice.

Also, I imagine there is a way to use a voiced GPT version to get help here. There could be a way to generate voices for each personage separately and then mix everything in one file.
There is plenty of free reading tool but in a single voice.


text:
How do I attach a video larger than 16 MB in Whatsapp
It is not uncommon to see videos larger than 100 MB on whatsapp sent as a video clip. How is that accomplished?
I tried to find it on the internet. I know there are some obvious ways like the following, but none of them are convenient to send to view the video without much hassle. I want to know how to send it as a video message, as in the attached images. These videos are mostly longer than 20 minutes.

Send it as an attached document
Upload to a drive and send a link.
Ask the person their email address on Whatsapp and send them an email
Use Whatsapp to ask the person to meet physically and hand them the video in a USB flash drive.

I have a feeling they are using a modded WhatsApp, though I don't know which since I've never tried it.

With root you can increase the media size limit in /data/data/com.whatsapp/shared_prefs/ab-props.xml.

@IrfanLatif thanks very much. What's the shortest way to do that, making as little changes to my phone as possible


text:
How to programmatically organize and group albums in the default gallery app?
As the title  says, i'm wondering if it's possible to organize and group my albums on the default galley app that comes with android on samsung galaxy tablets? And by that i mean is there some sort of xml file or the like i can modify that will tell the app to group certain albums?
Thank you


text:
Android no sound in plugged-in loudspeaker?
I have a Samsung Android tablet with an external loudspeaker plugged into the sound jack socket. However, the tablet keeps speaking in Youtube   throuh its own internal loudspeaker (quiet-murmurer I would call it).
I checked that the external loudspeaker works OK with a phone and the jack is firmly inserted and the volume control is at the maximum (anyway, the sound does come from the internal quiet-murmurer). Can this be an Android configuration problem ? What else can I check ?

In my case, just rebooting the tablet helped.


text:
Disable "Smart Rotate" feature in Android
I have been trying to find a way to disable the "smart rotate" feature in my Android tablet with adb commands without any luck.
I hope someone can help me with this.
The smart rotate feature is described as "When enabled, apps that support portrait display only will display content in landscape mode".

This setting can be found in Settings > Display > Smart Rotate.
The tablet I am using is a Lenovo Tab M10 HD 3rd gen, Android 11.
I have found several commands to enable/disable the auto-rotate feature but none to enable/disable the smart rotate feature.
Any help would be greatly appreciated.
Cheers.

Smart Rotate is AFAIK a Lenovo specific feature and I am not sure if it is documented how to change it via adb. You may need to extract the settings app from your device, load it in Jadx-GUI and find the settings parameter name you need for change it via adb.

Hi @Robert thank you for your answer! I have tried what you suggested and I think I have found that with the command adb shell setprop persist.sys.magic_window_switch false I could possibly change this. It requires root though :( and I cannot root my tablet for some external reasons.
With adb shell getprop persist.sys.magic_window_switch I can get the smart rotation state correctly, I tried changing it manually and it works.
I am not a pro when it comes to searching for the settings parameter names that could possibly change it, and maybe I missed something


text:
Why gmail android app stops syncing on an approximately 2-3 monthly basis?
I know, this is a decades old question, answered on million sites, still none of this Q/A's match my case: I regularly have to delete the storage of the gmail app on my android (9.0-pie) device in order to regain automatic syncing of incoming emails. The internal storage is about 42% full (of 64Gb), the SD-card is 20% occupied (of 128Gb, although this is irrelevant I think), the gmail apps data storage is slightly above 64Mb (right now). In such cases neither restarting of the device, nor updating the gmail app, nor deleting the app's cached data does not help, only deleting the app's occupied storage, which does not seem to be too much (64Mb is next to nothing) to mean a real limitation. Any idea please ?

Do you use Gmail app for Gmail account only or also third party e.g. IMAP mail servers?

@Robert I use it only for two gmail accounts. For other providers I use K-9.


text:
Phone tried to create a new work profile when one existed, and now says account action required
I've had a work profile setup and working flawlessly for a year or so using my work e-mail. Yesterday I realized I had been signed out of my work's Slack which was not installed on my work profile but had worked fine until the last week or so.
I attempted to sign back into slack and it seemed like Google was attempting to create a new work profile for my existing work e-mail, and I was unable to auth properly so the sign-in failed. I stopped the process, uninstalled Slack, reinstalled it on my work profile, signed in and everything seemed fine.
The problem I'm having now is that every hour I get a notification ding that "Account action required" for my work e-mail account. Clicking on that gives me a notice that says "Can't add work profile". After clicking on it, the notification disappears and then I get notified again a minute later.
Things I've Tried:

Turning off, waiting, and turning back on notifications for Google Play Services
Rebooting
Clearing Google Play Services cache

All give me the notification within 30 seconds after completion. It seems like a bad idea to permanently disable notifications for Google Play Services, so I'm hoping for a less drastic option that also doesn't require deleting my existing work profile.
Any ideas for how I can stop being constantly bugged by this notification?

I was unable to come to a solution, so for now I've just disabled notifications from Google Play Services. This seems like a bad idea, but I don't think I've got any better options at the moment.


text:
Low signal in my Samsung Galaxy Note 10 5G
Yesterday, I bought a Galaxy Note 10 5G smartphone that was previously used but it looks like a new one. I inspected the phone before buying it and everything was alright.
However, after inserting the sim , there was a problem in the signal that was too low even though the 4 lines sometimes appear full.
I tried almost every method of solving the issue after googling it like restarting the phone, resetting network settings, deeping into the safe mode and manually choosing a network operator. Yet, restarting my phone seemed to work for several seconds but the issue remained.
Is there a fix to it ?
Keep in mind that when I moved to the city centre, the signal improved significantly (but still not perfect).
And note that my previous phone used to have a really consistent signal with the same sim card in all circulstances.

Hello Salem! We may need some more information to help. When you say "the signal was too low even though the 4 lines sometimes appear full," how are you determining "low" signal? Slow network speeds? Dropped calls?

When I go to the city centre and call someone, they tell me that there is some interruption in sound. And when I go back home which is in a rural area, when I type a phone code to determine how much money I have left, it takes so much time to tell me that there is an error connecting (though the code itself is correct). Also, sometimes the logo of "no signal"  appears and sometimes there is signal which is very low (2 or even 1 full line)

The wifi is working fine though, my problem is only with phone signal

Unfortunately, this may be difficult to diagnose. It could be that your phone is damaged or it could simply be that the Note 10 5G radio isn't as capable as your previous phone. I've also heard situations of phone cases causing problems for people on certain phones. Hopefully, we can test some possibilities here, but I fear there may be too many. Have you contacted your carrier yet? What have they had to say?

It could be a phone cover/case that has too much metal in it.
But most likely the phone is damaged.  Phones effectively have multiple aerials for RF, wifi and bluetooth.  It sounds like the RF aerial may be damaged or not connected properly.
Take it to a repair shop and they may be able to prove it.

When I googled the issue, it turned off to be so common in the Galaxy Note 10 series. Smartphones that had just been manufactured experienced the issue so I do not think it is related to some kind of damage


text:
Ports filtering in Android
How to configure port filtering in Android using iptables? As it is used by default for filtering in the Linux kernel before version 5.0, and after that firewalld is used.
Apparently, you should use the Android network interface, i.e. the netd service.

You can discover open ports on your android using: termux - nmap: nmap localhost

Welcome to a Q&A site Android Enthusiasts Stack Exchange. There are some answers about managing ports using iptables, does any of them help? Otherwise, could you [edit] and clarify the question?


text:
Backup anything inside a folder including file modification recursively with adb backup command
I tried command adb backup -f backup.ab -apk -shared -all /storage/emulated/0
Then I tried inspect with android backup extractor, it just backing up the APK data, while I expect it backups the entire data /storage/emulated/0 including Whatsapp data, DCIM, and so on.

What Android version is installed on your phone?

@Robert Android 10

The last part of your command is wrong. You can not specify a path, instead adb backup expects there a packagename of the app you want to backup (but that is in conflict with the -all argument). Note that if you try to perform a backup for migration to a new phone adb backup may not restore app data on the new phone this is now limited to older apps on recent Android versions.

@Robert So the command shall I do is adb backup -f backup.ab -apk -shared /storage/emulated/0
If I don't specify path, in this case /storage/emulated/0, will it backup the /storage/emulated/0?\

@Robert I don't really need APK backup, I only want perform backup anything that inside /storage/emulated/0

adb exec-out "tar -c /storage/emulated/0 | gzip" > sdcard_backup.tar.gz https://android.stackexchange.com/a/233784/2241 Note that the crated gz file will be corrupt if there is output on stdout (e.g. because of error or warning messages by tar). So after creating the gz file make sure to test it on the PC.

@Robert As far as I know, that command will trying to create archive using tar but instead of storing to the android storage, it will stdout directly to the PC (CMIIW) so it will not make storage in android became full due to archive. But, do I need gzip?

gzip is to verify integrity, it simplifies detection of corruptions by exec-out merging stdout messages into the file stream.

@Robert thank you, I saw your answer in this post https://android.stackexchange.com/questions/225295/adb-pull-says-it-pulled-all-of-the-files-from-my-android-phone-into-my-windows-p#225304 but I don't know the difference.

@Robert I saw this worked, but I need to monitor logging of backup processing, I think I can pipeline it with tee command, what do you think? Instead of using >


text:
Cannot use O2 rewards on Play Store; got error code OR-RCP-01
Tried to use O2 rewards to buy something on Play Store but I can't as I need to enable it (add O2 billing?). But every time I try to put it on, I get the error code [OR-RCP-01].
How do I get this to work?

Welcome to a Q&A site Android Enthusiasts Stack Exchange. I tried googling about using O2 rewards on Play Store, but I didn't get any convincing results. Just to confirm, are you sure it's possible to use it directly on Play Store, instead of redeeming it from another app like Priority: Gig Tickets & Perks?


text:
How to get avc logging ( selinux ) in Android working?
I am on Android 10. Whether I setenforce 0 or 1- I cannot get avc  ( aka SeLinux )  errors logged. I checked   ramoops files also and its ditto.
root@m20lte:/ # setenforce 1
root@m20lte:/ # grep -i avc /proc/kmsg
<6>[358888.761197]  [3: servicemanager: 3452] avc:  received setenforce notice (enforcing=1)
<6>[358890.709988]  [2:           init:    1] avc:  received setenforce notice (enforcing=1)
<6>[358901.864803]  [0:hwservicemanage: 3453] avc:  received setenforce notice (enforcing=1)
^C
root@m20lte:/ # logcat -d | grep -i "avc"
07-14 08:31:21.858  3452  3452 E audit   : avc:  received setenforce notice (enforcing=1)
07-14 08:31:23.806     1     1 E audit   : avc:  received setenforce notice (enforcing=1)
07-14 08:31:34.962  3453  3453 E audit   : avc:  received setenforce notice (enforcing=1)

I'd like to understand avc denials that are supposed to be logged when  setenforce 0 is on so I can understand what changes to make to sePolicy to get  my exceptions incorporated .  Is that going to be any easy ride or a long shot ? In the above  box , besides just setenforce  notice it should have  logged in a bunch of messages  as I ran  various apps that would trigger avc exceptions


text:
Chrome for Android keeps bring up syncing/account screen at random
When I'm browsing Chrome on my Android phone, this screen keeps showing up even after I close it.

I've tried updating Chrome and restarting my phone but it keeps showing.
How can I stop this screen from showing up randomly?


text:
Control Radio Controlled boat from Android?
[Cross posted on robotics.stackexchange]
TL;DR: I'm looking for a RF transmitter than I can control from an android app. Does such hardware exist? I can't find it but it seems like something would be used for communicating with long range drones.
Here's some more detail:
We're working on a project to convert a radio controlled Sailboat to be controlled by an  app. We've considered different kinds of communication methods and have concluded that the best way is to stay with radio frequency, which is what most of the remote controlled boats use.
There's a RF receiver on the boat. There was also originally a standard RF transmitter (see pic below) but we'd like to replace that with an app. Standard phones don't have the capability to transmit on the right frequency, so I'm wondering if there's some device which the app communicates with over a standard radio (e.g., Bluetooth) and that device sends out RF to the boat.

This approach is appealing because the boat hardware will work largely as is.

This is off-topic Questions asking the community to find or recommend something for you (a device, app, ROM, website, etc), including what to buy and where to buy it

I’m not asking for a particular recommendation. I’m asking if the class of this device exists.
Does such a thing exist? And if not, how do people meet the need I expressed?


text:
Can I use my phone as a MIFARE Classic card?
I use a MIFARE Classic badge to access my building (the system is a French one: VIGIK).
I cloned a few tags already (tag to tag) and was wondering if my Galaxy S22+ with Android 13 could act as a tag, replacing the physical one? (I would like to possibly extend the answer to "any phone that supports NFC" if this is possible)
I read all kinds of things about this (notably Host-based Card Emulation, but also this answer from 2012) but in none of the discussions I saw a concrete answer to the question above for 2023 phones and Android version.

A similar topic: https://www.reddit.com/r/NFC/comments/vo5hnj/how_to_emulate_a_nxp_mifare_classic_1k_card_on/

There's an answer posted in 2019 mentioning the impossibility of emulating/modifying sector 0, which is the UID (identifier). Otherwise, both the Reddit thread and an answer to the linked question mentioned that rooting is needed to touch the UID.


text:
Block app from playing audio in the background (for productivity)
I find myself easily wasting hours on social media and listening to podcasts. I now use apps that can be configured to block certain apps and certain websites at certain times of the day. These are called "digital well-being" apps or productivity apps. I'm currently using Stay Focussed. However, it doesn't stop me from using the player in Android's notifications area to play podcasts.

(Illustration from here)
Is there a way to block certain audio apps from playing? Is there an app that does this? I want to block podcast apps completely at certain times of the day, even when I'm only accessing them from the audio notification panel.


text:
Factory Reset but Can't Access Phone Due to 2FA
I had to factory reset my phonee due to forgetting my pattern. I am trying to get back into my phone, but in order to access the good account, it requires that I enter my passcode or get a text. However, I can't access my text since I am trying to get into my phone in the first place. What can I do to get back into my phone?

How did you factory reset it, if you cant get in.

It sounds as if you're describing factory reset protection. But if this is the case you normally just have to put in your Google account details after the reset.


text:
Setup Chromecast (networks and apps)

Is it possible to set up a Chromecast device for different (>1) WiFi? (a backup plan)

Is it possible to set up a Chromecast device for different WiFi and networks? (use in different houses)

Is it possible to set up a Chromecast device without using the Google Home app and play? (maybe an F-Droid app)

Leaning toward off-topic as while some chromecasts use Android, they are Google made devices (so Google Home only), using a Google account communicating with Google servers to setup a household.

in the past it was possible to do the setup from a chrome browser. I wish if it is restriction from google  or just the lack of interest of 3rd parties .

If using a Chrome browser to do setup, still using a Google product. You can setup multiple homes for chromecast devices and move devices between homes. But otherwise Chromecast is using Google's servers to auth/associate devices so no open-source/F-droid equivalent.

@MorrisonChang  Chrome browser belongs to Google but it is based in open source and multiplatform. Also Chromium, Brave or Opera are based in Chrome and they were able to setup chromecast in the past.

While other browsers may be able to cast to Chromecast devices, I'll assume it is because Google itself provides SDK for third-party apps/web support: https://developers.google.com/cast. You are asking about configuration and setup of chromecast devices which to my knowledge is a Google only service, i.e. out of the box those physical devices only know about Google servers to talk to.


text:
Delay text selection mode after touch
When a text is displayed e.g. in Chrome, you can switch to text selection mode with a long-press.
I often enter this mode accidentally when I only want to scroll slowly. I tend to scroll continuously while reading long texts.
Is there a setting to prevent this? Can I increase the delay before a long-press causes text selection mode, or increase the threshold so that even a very slow scrolling motion is detected as scrolling?
Can I somehow disable text selection entirely for specific apps?
I tried changing "accessibility / timing controls / touch and hold delay" but that did not appear to change anything. It is currently back to "short"
The problem occurs in various applications that allow scrolling as well as selecting text: Chrome, Firefox, Lithium.
Pixel 6 pro, Android 13


text:
Launch SRT stream via Larix Player automatically on boot
Is it possible somehow to open an SRT stream in the Larix Player app automatically?
I'd like to use the method to be triggered via the launch on boot-up.
So far, I can only open the Larix player app automatically after booting, but have to select the saved stream and play it.

Does the app support opening the stream by sharing the URL to it? Otherwise, if the app doesn't provide any API, then a possible workaround is to simulate touch from the automation app. Probably not really reliable, but not sure if there's another way or not.

thanks Andrew just thought about this yesterday as well and wondering how best to test it manually? save the URL in a .m3u file or something else(?) and from a file manager use open with to select the larix player?


text:
Android active DnD when listening to bluetooth music in car
I'm on Android 13.The issue I'm having seems to have started after the last security updates. I listen to Spotify in my car. Now I see that DnD is turned on when the car is connected via bluetooth to my phone (Pixel 4a). The car does not have Android Auto. It is an older Mazda 3 from 2010.
I have looked at the settings in Spotify and the phone, but cannot see anything that could prevent this from happening.
Even if I manually turn off DnD, it sometimes gets activated again later. Very annoying.
Any suggesting of what to do?

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Have you checked the Do Not Disturb setting on the phone, particularly under Schedules - Driving - Turn on automatically? It has "When connected to Bluetooth" and "When driving is detected" as some of the triggers.


text:
Stock Android always using 100% physical memory. How to free it up with ADB?
I have a non-rooted phone. I just realized why Android is bad at memory management. I'm monitoring running progress in ADB shell with top. I can see the memory is about 100% used.

Image resized. Click for full-size
How do I stop unnecessary processes with ADB shell?
Also, I can't scroll down top command. It shows weird char ^[[b. I think that's because the shell uses sh instead of bash.
Any idea how to free up memory with ADB? Maybe pkill or what.

How to free RAM on Android?. Disclosure: This link belongs to me.

You paid good money for a phone with all that RAM. Why would you want some of it to go unused?

What is the android version? I see you have only 4 GB of RAM which is way too less for the apps in 2023. RAM consumption has increased drastically by apps. I have a 6 GB RAM phone which lags a lot as time goes on. To test (if possible) you can reset the phone once and check RAM usage. If it is similar then you need to upgrade your phone,

Android memory management works differently than traditional OS. The main principle is to keep apps in RAM even if they are not used at the moment because the OS never knows when the user switches back to that app or the app becomes active in the background because of other reasons (e.g. incoming push message). Therefore, apps are kept in RAM unless another app really needs that RAM.
From the Android perspective, having free RAM means that RAM is unused and thus wasted.
It is because when an app has been removed from RAM, it needs to be loaded from flash and then perform the start-up phase. This will always be slower and consume more CPU resources (-> more battery usage) than just switching to an app that is already loaded and present in RAM.
However, RAM always takes the same battery no matter if it is free or used.
If Android OS needs RAM, then it simply closes or kills the oldest unused app (not sure how the OS RAM management decides which app to exit). All Android apps have to be implemented to be resistant to this out-of-memory exiting. In detail, the Android OS will first send a notification to an app it has selected to be exited. If an app receives this notification, it has a very small time span to do some clean-up. If the app does not respond in a certain time, Android will simply kill the app process and thus regain needed RAM.
As you can see, having a system with about 60-100 MB of free RAM is just normal on Android.

What is the point of leaving small free RAM such as 50MB?

@MuhammadIkhwanPerwira Closing an app takes some time may be up to a second. If a foreground process needs more memory and the OS would need to first close apps for gaining the required small amount of RAM you would recognize that as a lag which is undesired.

Comments have been moved to chat; please do not continue the discussion here. Before posting a comment below this one, please review the purposes of comments. Comments that do not request clarification or suggest improvements usually belong as an answer, on [meta], or in [chat]. Comments continuing discussion may be removed.


text:
Turn off the screen overlay
I have installed Moon Reader Pro on my ONYX BOOX MAX 3. Got message while run and setup Moon Reader The reader needs Storage Permission to manage book files. After allowing this permission I got another message:
Screen overlay detected

To change this permission setting, you first have to turn off the screen overlay from Settings>Apps

Open Settings

After opining settings I got list of applications, but there is no Moon Reader in the list.  Without this perdition it is not possible even reed books. How to solve this problem?

Please follow the link to the duplicate Q&A. You have to temporarily close apps/turn off features that use screen overlay, which I believe Moon Reader Pro is not one of them.


text:
unbrick a brick zte Axon Mini 7
The phone died suddenly, no lights, no beeps, no logos, no charging - bricked completely. Any ideas or strategies that might unbrick it?
I know it is out of its prime days but elegant and reasonably sized.
Already tried

left charging overnight
click vol up down in the same time, vol down and start in the same time
tried other cables/outlets/chargers

UPDATE: I was able to produce solid red dot with by pressing first vol up and down and then start. I found an recipe on internet, but it had dead link to miflash tool, I can find alternative miflash download  with google search though not sure which version is more legit/efficient
UPDATE 2: somehow was able to reboot, seems to work, yet is suspiciously hot, not sure may be I should uninstall some apps or reset to factory