text:
Android 11 Wifi no internet, even though there is internet
Edit: after getting the hint to try creating a new SSID on my WiFi router, I now resolved the problem by just connecting to the same router but with a separate SSID. I still have no idea what the problem was, and the solution now is also completely unrelated to Android. I guess I'll never know what the problem was, but there's no reason anymore for others to try and diagnose the issue.
I know that remotely diagnosing WiFi issues can be very difficult, but I'm running out of ideas (and time) what I could try to identify the cause of the issue I'm having. Therefore, I'm trying to give as much detail as possible and the main advice I'm asking for is what I can do to diagnose the issue.
Since approximately last weekend (I didn't notice right away), I have a very annoying WiFi connection issue on Pixel 3a, Android 11. Android tells me that I have no internet connection through the WiFi network, but in Google Chrome (or Firefox), any pages not related to Google load just fine. google.com for example, and abc.xyz do not load. ourworldindata.org, android.stackexchange.com and superuser.com do also not load (details below, this is because they load stuff from fonts.googleapis.com or similar URLs). duckduckgo.com loads.
This issue is extremely annoying since apps by Google are also not working, so I don't get new e-mails, the calendar does not synchronize and I cannot use Google Play, for example. I do only have very limited mobile data available which I use when I do not have access to WiFi, so I don't want to simply switch to using mobile data (which works fine). I tried restarting the phone in safe mode (it first seemed to work, but the issue now also persists in safe mode) and uninstalling different apps from my phone, but while the issue disappeared sometimes for a few minutes, it came back every time.
I restarted the phone a lot of times, I deleted the WiFi network and reconnected, I tried setting the network rating provider to none and in general turning different WiFi settings off and on, and I slowly run out of ideas. WiFi works fine on my laptop connected to the same network. Resetting the router seemed to help first, but again the issue reappeared after a few minutes (just like after some of the restarts: sometimes it works for a few minutes but mostly it says no connection right after the device powered up). Connecting through a hotspot created using my laptop which uses the same WiFi network works. Unfortunately, this is not a long-term solution. Also, the router is not easily accessible for me, so it's difficult to debug router issues if this is a router issue. But the issue concerns only my phone (not the printer, not the laptop, nor devices of other users of the same network; it's not a public WiFi network if anyone was wondering). Any ideas what else I could try?
I'm not 100% sure that this is an issue with the Android phone alone, but since the WiFi network works with all other devices and since only Google-related URLs seem to be affected, I think it is highly likely that the root issue is indeed caused by Android.
Below you can find an extended log of attempts to get to the root of the problem:
I did now get access to the router (a FritzBox) and captured network traffic. I had a look at it in Wireshark: to me, it looks like my phone goes silent / doesn't get or process the TCP syn ack after the initial TCP syn when running a request for google.com. Not sure why...
Head requests to duckduckgo.com and google.com using curl on my phone during a short period when everything was working (white bars = my phone's IP address):

Head requests to duckduckgo.com and google.com using curl on my phone while the issue was present (duckduckgo.com works, google.com doesn't):

Using PCAPdroid (Google Play Link, I don't want to root my device) seems to suggest that the TCP syn ack never reaches the app / phone...
Here are some screenshots made using chrome://inspect from trying to load different pages:
duckduckgo.com:

(no issue)
supersuer.com:

(issue here is jquery.min.js from ajax.googleapis.com)
Some screenshots of how it looks on the phone (in German):
Loading duckduckgo.com, trying to load google.com (see address bar), and the same issue in safe mode:

Ping results:
***>adb shell ping google.com
PING google.com (216.58.207.142) 56(84) bytes of data.
64 bytes from muc11s03-in-f14.1e100.net (216.58.207.142): icmp_seq=1 ttl=118 time=49.8 ms
64 bytes from muc11s03-in-f14.1e100.net (216.58.207.142): icmp_seq=2 ttl=118 time=761 ms
64 bytes from muc11s03-in-f14.1e100.net (216.58.207.142): icmp_seq=3 ttl=118 time=473 ms
64 bytes from muc11s03-in-f14.1e100.net (216.58.207.142): icmp_seq=4 ttl=118 time=627 ms
^C
***>adb shell ping superuser.com
PING superuser.com (151.101.1.69) 56(84) bytes of data.
64 bytes from 151.101.1.69: icmp_seq=1 ttl=59 time=2003 ms
64 bytes from 151.101.1.69: icmp_seq=2 ttl=59 time=1000 ms
64 bytes from 151.101.1.69: icmp_seq=3 ttl=59 time=499 ms
64 bytes from 151.101.1.69: icmp_seq=4 ttl=59 time=981 ms
64 bytes from 151.101.1.69: icmp_seq=5 ttl=59 time=273 ms
64 bytes from 151.101.1.69: icmp_seq=6 ttl=59 time=1544 ms
^C

for comparison, this is how it looks if I ping directly from my laptop:
***>ping -4 google.com

Ping wird ausgeführt für google.com [216.58.207.142] mit 32 Bytes Daten:
Antwort von 216.58.207.142: Bytes=32 Zeit=6ms TTL=118
Antwort von 216.58.207.142: Bytes=32 Zeit=7ms TTL=118
Antwort von 216.58.207.142: Bytes=32 Zeit=7ms TTL=118
Antwort von 216.58.207.142: Bytes=32 Zeit=7ms TTL=118

Ping-Statistik für 216.58.207.142:
    Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0
    (0% Verlust),
Ca. Zeitangaben in Millisek.:
    Minimum = 6ms, Maximum = 7ms, Mittelwert = 6ms

Output of curl using Termux:

If I do a ping using Termux terminal, I get the same result as for adb shell ping
PS: since you can see the Avast icon on the last two screenshots: I had it uninstalled for quite some time without any improvement.
Traceroute output:
On Termux, directly connected to the WiFi network:
traceroute -b www.google.com
1: fritz.box ([IPv6 address]) 2.692ms
1: fritz.box ([IPv6 address]) 3.035ms
2: [IPv6 address] ([IPv6 address]) 8.353ms
3: no reply
4: no reply
...

Same on my laptop:
***>tracert www.google.com

Routenverfolgung zu www.google.com [2a00:1450:4016:803::2004]
über maximal 30 Hops:

  1     2 ms     3 ms     1 ms  fritz.box [same IPv6 address as for Termux hop 1]
  2     8 ms    10 ms     6 ms  [same IPv6 address as for Termux hop 2]
  3     *        *        *     Zeitüberschreitung der Anforderung. [<- timeout]
  4     7 ms     6 ms     8 ms  [IPv6 address]
  5     6 ms     7 ms     8 ms  [IPv6 address]
  6     6 ms     6 ms     8 ms  [IPv6 address]
  7     6 ms     7 ms     6 ms  [IPv6 address]
  8   143 ms     *        *     [IPv6 address]
  9     6 ms     6 ms     8 ms  [IPv6 address]
 10     6 ms     6 ms     5 ms  muc12s04-in-x04.1e100.net [2a00:1450:4016:803::2004]

Ablaufverfolgung beendet.

On Termux, connected to the WiFi network via mobile hotspot on my laptop:
traceroute -b www.google.com
1: [...] ([IPv4 address]) 75.818ms
1: [...] ([IPv4 address]) 2.957ms
2: no reply
3: fritz.box ([IPv4 address]) 142.428ms asymm 2
4: [IPv4 address] ([IPv4 address]) 1018.851ms asymm 3
4: [IPv4 address] ([IPv4 address]) 134.135ms asymm 3
5: [ISP server address] ([IPv4 address]) 103.956ms asymm 8
6: [IPv4 address] ([IPv4 address]) 182.587ms asymm 9
7: no reply
8: no reply
...

Same on my laptop:
***>tracert -4 www.google.com

Routenverfolgung zu www.google.com [216.58.207.132]
über maximal 30 Hops:

  1     3 ms     3 ms     1 ms  fritz.box [same IPv4 address as for Termux hop 3]
  2    52 ms     6 ms     6 ms  [same IPv4 address as for Termux hop 4]
  3     7 ms    55 ms     6 ms  [ISP server address] [same IPv4 address as for Termux hop 5]
  4    32 ms     6 ms     6 ms  [same IPv4 address as for Termux hop 6]
  5     9 ms    54 ms     7 ms  [IPv4 address]
  6     8 ms    47 ms     7 ms  [IPv4 address]
  7     7 ms     6 ms    50 ms  muc11s03-in-f4.1e100.net [216.58.207.132]

Ablaufverfolgung beendet.

Comments are not for extended discussion; this conversation has been moved to chat.

Adding as an answer since it worked.
It seems that for some reason, your phone may have an issue with the existing SSID that you use. Create a new SSID on your router and use that to connect your phone.


text:
What method does Monospace use for encryption?
This application has the ability to encrypt.
What method does Monospace use for encryption?

A well designed security application would have a public documentation where the used encryption scheme is presented.

Looking at the decompiled source code I would not call it "encryption".
Instead "encrypted" texts are simply the markdown text encoded using base64 plus the SHA-256 hashed password appended to it:
From com.underwood.monospace.main.MainActivityFragment.encryptText() :
 this.mEncryptedText = Utils.base64Encode(new SpannableToMarkdown(
    new WeakReference(getActivity())).toMarkdown(this.mEditText.getText())) +
    "\n" + this.mHashedPassword;

source: Stack Exchange

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

sort: votes


text:
Command line to remontly shutdown the display and power on
I'm using a digital signage CMS and app to control an Android tablet with root access. I can "reboot" it with this simple command, but I haven't found a command line to put the display to sleep(shut down / on).
I'm thinking it's possible also to set shutdown hours and start up?

Please don't mix shutdown and sleep together. They are neither interchangeable nor synonymous to each other. If you just want to turn off the display or put the phone to sleep (akin to using a timeout in Android devices or pressing power button once), use adb keyevents. See https://stackoverflow.com/questions/7789826/adb-shell-input-events. If you intend to shutdown the phone (turn off the OS and hence, the device itself, not just the display), then use svc command. Cold Booting the device automatically is not something I know of.

As for timers for shutdown, many automation apps can do this.

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


text:
Prevent app from accessing mobile network on Android 8?
I am on Android 8.0.0 and not able to find an option to prevent an app from accessing the mobile network.
Did I just not find it or doesn't this feature exist on version 8 yet?

Googles main income bases on displaying ads that are loaded from the internet. Guess now why there is no way to completely disable network access for an app (only background internet access can be denied).

You can use an App called Tasker to accomplish this.
Deny Access to App
Go to Add task > add action > Net > Network Access
It creates a VPN for the chosen app, thereby preventing it from using the real network.

You might wish to take a look at Firewall apps. Depending on whether your device is rooted, the following two candidates are especially recommendable:
rooted device: AFWall+
(also available at Play Store¹) This is what I use, and I'm quite satisfied with it:

Able to access root powers, this is the most complete Firewall solution available. You can even use custom iptables rules (I use that e.g. to make sure what DNS provider is contacted when I'm not in my home network). And as the first screenshot shows, you can not only define per-app, or per-interface – but have several more options which are not all shown here, e.g. to prevent an app using data when in roaming, while otherwise permitting it.
non-rooted device: NetGuard
(also available at Play Store¹) Like the solution presented by Dan, Netguard uses VPN to tackle the issue. You will easily identify some similarities:

Like AFWall+, NetGuard allows you per-app and per-interface (incl. Roaming) settings. It also offers several additional features worth exploring (some of which are paid – as are some of AFWall+).
Both apps are open-source and have a very good standing. Both are recommended by several security experts, so both are good choices. Specifically for the purpose you were asking, they offer you much easier maintenance and give you easy overview of which app is allowed what (recommended mode in both cases: block all by default, and allow selectively where needed). Tasker of course is a mighty tool as well and kind of a swiss-army-knife – but for this purpose, a dedicated Firewall app is much better suited IMHO.

¹ I always recommend F-Droid as source as apps from there are more privacy-friendly and not crippled to meet Google's restrictions

Thanks! What's more battery-efficient? The proper firewall or Tasker?

Hard to tell – and also depends on the Firewall. With AFWall+, the app is just a GUI for iptables – so it just sets up the rules (and lets you maintain them), and you can pretty much neglect the "battery factor". A VPN will always use more juice. NetGuard will run all the time (but cover all your apps) – but then, for full protection there's no way around that. Which again brings it down to "the app is just the GUI", and the rest makes no difference. // I'd test out which suits you best. If not rooted, it won't make much difference battery-wise IMHO.

Un-Rooted:
Use Tracker Control from FDroid.
It has many features. But requires a local VPN to set up(just like NetGuard).
If you're a privacy enthusiast like me, I'd recommend you using that.
Main Features it offers:

Revoke/Block access to individual apps from trackers.
Block internet access to apps.
You can even check where your data goes(Country is highlighted).
And many more.

Rooted:

Use Adaway for blocking Ads.
Afwall+ as Firewall.(It basically uses iptables for blocking internet access).

My personal suggestion:
Always buy phones that is community supported, and install custom ROMs like LineageOS which support firewalls by default and more private compared to Stock ROMs. And don't forget to De-Google.


text:
I need to play audio file when microphone detects noise
I have some pretty rare use case.
I've recorded audio file and I want to play it automatically
anytime when microphone detects any noise.
I assume it can be done using smartphone with Android with some app(s).
What's the best way to do it?
Just for the sake of example. Imagine I've recorded "Go away, we are home!" and put smartphone in dining room. The mic is working all the time, listening to noises and if someone breaks glass and gets inside a house, my record will automatically play and scare the thieves.
Thank you!


text:
How to access Night Light settings on Samsung
I just upgraded my Pixel 2 to a Samsung Fold 2. My Pixel was using Night Light and it was set to go on at 8pm and off at 6am. The Samsung Smart Switch app helpfully copied these settings over; however, Samsung doesn't use Night Light. Samsung has their own software called "Eye Comfort Shield" (disabled). So, now at 8pm, my phone simply goes dark. Completely black and unusable until 6am.
I can probably factory reset the Samsung and recopy from the old phone, but that seems excessive. Is there a way to add Night Light or just wipe those Night Light settings?

May be possible via adb shell settings put secure ... see this question for more details: https://stackoverflow.com/a/50144828/150978

@Robert That's a great idea. If those settings are all .xml I could probably have grep'ed for the start and stop times. Sadly, I went ahead and wiped the phone and cloned the stuff I care about with android-studio instead of the Samsung app.


text:
Quickest way to note the current time
I occasionally need to note the current time so I can quickly check it later, for example the time I arrived at some place. I don't care how it's stored since I don't keep it long term.
Previously I used the alarm functionality of the Clock app - when adding an alarm, the initial value was the current time. Unfortunately they updated the app and now it defaults to the next hour or something, so I have to manually adjust it.

Take a screenshot.

Have you checked the various apps in play store that are designed to save your work hours? See e.g. https://play.google.com/store/search?q=time%20record&c=apps

I agree with Irfan Latif's suggestion in the comments that taking a screenshot is the quickest way. That said, I'm suggesting a little bit sophistication on this, so as to justify this answer!
My suggestion is that you add up a quick tile in your Quick Settings. Preferably, among the first four or five tiles that shows up when you swipe down from the status bar. Customize it in a manner so that whenever you would tap/press that quick tile it would log the then datetime in a text file. Whenever you feel the need to look the time log you can see it by opening the file in any text editor. Better, if you append the file instead of overwriting it, you would have all the timelogs at your disposal.
I'm suggesting MacroDroid automation app for this, primarily because it is free (price) to try and test the solution.
Instructions:

Install the app and launch it.

In the main window, scroll down until you see a box/tile titled Quick Settings Tiles.

Tap on it, and do the following:

In Macrodroid tile 1 field enter this text : Log time.
Tick Button.
Tick Collapse on Press.
Turn the slider rightwards to make it Enabled

Edit your Quick Settings to add MacroDroid tile named Macrodroid tile 1 in the visible quick tiles. This step may differ depending upon your ROM. If you need help do a web search such as "How to configure/customize quick settings in" followed by the name of your device.

In the main Macrodroid window, click on the box/tile Add Macro.

Set Triggers, Actions and Constraints as follows:

Trigger: Macrodroid specific → Quick Settings Tile → Log time → Toggle On/Button Press

Action: Files → Write to File:

Use pencil icon to choose location for your text file, or leave it to default location /storage/emulated/0 (this is the internal storage / sdcard location that shows up when a file manager is started)
in the filename field, type logtime.txt
in the Enter text field, type [month] [dayofmonth], [year] - [hour 12]:[minute]:[second] [am_pm]\n
tick Append to file

Constraints: leave them untouched

Name the macro to whatever you want.

If you have not done this already, make sure to exempt Macrodroid from battery optimization settings, or it won't work reliably! This step may differ for your ROM. If you have difficulty getting the app battery optimization exempted, do a web search.

At this point everything is ready. Swipe down from the status bar to access  Quick Settings and tap/press that Log time tile you had added. Now, go into your file manager to the location where you intended the text file to be saved (in step 6). It should be there. Open it, and the datetime would be noted there. It should look something like this:
May 20, 2021 - 12:01:10 PM

New datetime would be appended in a new line every time you would tap/press that quick tile. If you don't want the file to be appended, untick "Append to  file" option in the action for your macro.
Tip: you can add another action in your macro to give you a audio/visual or both of the hints that the macro has run. For example, after the file writing action, you can add another action that should play a sound or show a notification. Such actions are available in Macrodroid.


text:
How google home app works?
I am developing a new iot project to monitor air quality in the environment. the device, ESP8266, needs a wi-fi connection, which we usually put fixed in the code that the microcontroller will run, which is not legal, because if I need to change the network for some reason, I will have to change the source code.
Other IOT devices have the same situation, and manufacturers like Google, are able to configure the wifi on the device via the android phone or iphone. Like?
Apparently the device creates an access point and the cell phone, through the google home app, connects to this network and makes the configuration. The most intriguing thing for me is that he doesn't use a password.
I can access an access point from my device, make a POST call to a service and set the SSID and password credentials, but I need to enter that password. The Google Home app doesn't need this, as long as I'm connected to the same network.
Ex: my home local network is 2.4_2906. I bought a new google home mini and I want to connect it to this wi-fi network in my house. My Android device is connected to the 5.0_2906 network on the same router as the 2.4_2906. When trying to connect google home on the 2.4_2906 network, google says I'm not connected to it and asks me to connect, so I logged in there and I try to configure google home to use it too, and I can do it without saying it google home the network password.
How can I implement this for my device?

Typically the default Wifi hotspot opened by a device uses a static/know password. Therefore you don't have to enter it. Another option often used by cheap China device is to morse the data to the new device. In this case the encrypted Wifi is used to send packets of a certain length and as the length is not encrypted it can be used to transmit  small amount of data as a broadcast to all Wifi device within reception range.

If two devices are connected to the same network you can simply send a broadcast to all devices for device discovery. Only the devices listening for the broadcast plus understand the data format are able to answer such a call. Of course this is not the only way to discover devices.


text:
Facebook app missing 3D photo button on LG Velvet 5G
I bought the LG Velvet 5G because it has a 5MP depth camera, whuch sounds good for taking 3D photos. All the guides I can find suggest that the 3D photo option should appear in the menu below. But I have looked carefully and I cannot find it.

Use the camera app that comes with the device. Does it provide the 3D option? From within Facebook I would use the "Photo/Video" option, as a 3D image is just a regular image (e.g. JPEG) with additional depth information.

Yes, but as with other phones the camera calls the 3D option "Portrait". Sharing as just "photo" results in a 2D photo.

Could you go through Facebook's help center about 3D photos for troubleshooting first, clarifying if it's the same as the guide you're reading?

Different Guide. With that guide I get to step 3, and there is a Next button (not Done). I press Next since that is the only thing I can do. At Step 4 there is no "Make 3D" button.

BTW, the built in Gallery app can convert to 3D (but sharing the image to Facebook still results in 2D).

Hmm, I think this is going to be more technical on how the Facebook app decides which photo can be converted to 3D or not, possibly the "Don't edit your photo" part...

Well I didn't edit the photo. Has anyone successfully uploaded a 3D photo on an LG Velvet 5G? I have heard people have done it with the LG V60.


text:
How can I turn on notifications on phone speakers when earphones are plugged in?
Phone: Redmi Note 8 Pro, MIUI Global 12.0.7.0 Stable (QGGMIXM), Android 10QP1A.190711.020
I can't seem to find a way to get notification sounds through my speakers if I have my earphones plugged in. Ringtones seem to be the only thing to work.
Apparently there's a petition going around for Android 9.
And there's mention of an option for audio routing on Android 10, which is the one I was able to update to, but I don't seem to find the option.
Is there a way to do this natively?
And if not, could I use ADB to solve this?
Assuming it's an Android property.


text:
How to root the LGLS676? Is the idea I have about how to go about it the most efficient method?
I want to root my LGLS676, because I want to install the gnu coreutils on my android phone. The only way I can imagine doing this is making the phone think it's not a phone, because I can't use adb because all my laptops are running Debian 11 Gnu/Linux, and LG doesn't seem to provide Linux USB drivers. The only way I can think of to make my phone think it's not a phone is to take out its hard drive, RAM, and/or cpu and then write the gnu coreutils and su onto the phone's hard drive. Is this the right way to go about rooting the LGLS676 in my circumstances? If not, what should I do to root the phone? I don't know at the moment what version of android it's running, but I think it's Android Marshmallow. Going into recovery mode and trying to boot into the boot loader from there just boots into the normal login screen instead.

I have never seen an Linux computer that requires special drivers for adb. Only Windows requires special drivers, on Linux there is an generic adb driver available which should work with all (or most?) devices. On some systems you have to change some permissions to make adb work but that should be everything.

I didn't know there was a generic adb driver for Linux. Is it installed automatically with the adb package or is it something that has to be installed separately? If it has to be installed separately, can you post a link to it or the package name for it in Debian repos?

The official Android Developers says that Linux users shouldn't need to install USB drivers. Have you enabled Developers options and USB Debugging instead?

I have enabled Dev options and USB debugging. When I have time, I'll try to get the bootloader unlocked or the gnu coreutils installed over adb. I have a bit of stuff to do though, so I won't be available for about 6 hours.

I tried rooting it, and ended up destroying my computer (figuratively speaking, of course.) Now I need to hope a bunch of stuff went right for my computer to boot. Lesson learned: be even more careful.

The stuff went right.


text:
Samsung Galaxy S3 stuck at Samsung Logo after custom rom
I had this Samsung Galaxy S3 with Android 4.3. Since Youtube didn't open as it required an update but the play store said it is up to date(i usually use it to watch youtube), I planned to install Resurrection Remix ROM(Android 7.1). I installed TWRP and installed the rom. It was successful, but it didn't boot. It was stuck on 'Samsung Galaxy S3 GT-I9300' boot and it didn't go from there. I tried many things like reflashing the rom, wiping cache but nothing worked. Can anyone help me, please?
Thank You.
EDIT: I just found that that the rom is unable to write-in /data but it is writable(i tried open gapps micro package and it wrote it

format userdata partition


text:
How to create a big panic button on the home screen that, when touched, makes a phone call to a specific person?
As an elderly is going to use the smartphone, and has difficulty using technology, I would like to create a big panic button on the home screen for her, in order that she can immediately make a phone call to a specific person when touch it, without doing any more thing, only touching the panic button.
It is desirable that, when the smartphone is seemingly off (I don't know the proper name. Is it "standby"?), if the user presses the power button once, the panic button will appear and can be used, without the necessity to unlock the smartphone.

Does this answer your question? A wrongly 'I need help' text was sent from google maps

No. The suggestion of power 5x times, however, was good. The challenge is to enable it.

search for emergency sos it is built-in feature


text:
Terrible SD card performance after enabling encryption
Device: Samsung Tab A7 2020 - purchased less than 1 week ago
OS: Android 11, April 2021 patch
Files used to test: three zip files totalling 613 MB
Micro SD cards which have been tested:

Unbranded 256 GB
Sandisk Extreme Pro 128 GB

I have run CrystalDiskMark on the cards (in Windows over USB 3) and they have the performance you would expect; 70-90 MB per second.
Before Encryption:

From Windows 10 over USB 2 to SD card = approx 27 MB per second
From tablet internal storage to SD card = approx 56 MB per second
From SD card to tablet internal storage = approx 67 MB per second

After encryption:

From Windows 10 over USB to SD card = approx 1.2 MB per second
From Tablet internal storage to SD card = approx 0.2 MB per second
From SD card to tablet internal storage = approx 56 MB per second

That last one above isn't a typo - reading from the SD card does not seem to be affected by encryption.
If I format the cards to a state without encryption, the performace returns to normal.
I have tried doing a factory reset on the tablet - it had no effect.
Can anybody offer some insight into how to fix this?

Interesting. Most likely Samsung did not consider the smaller block size of common block ciphers and do write very small chunks of data. Flash memory is organized in large blocks of up to 256 KB which have to be written at the same time. Therefore if the block size decreases because of encryption this cloud explain the effect you observed. The the encryption itself is not a problem shows the reading speed. Encryption altos like AES have the same speed for de- and encryption.

Therefore I would assume this is a bug. Have you tested speed on device using a benchmark app? May be the problem is located in the USB MTP driver.

@Robert Thank you. I have not tried a benchmark app because honestly all the apps look like garbage. Does MTP still apply when copying data internally - i.e. internal storage to mounted SD card?

guesswork maybe it is encryption on demand only for used disk space (where initial encryption requires kinda additional formatting-like writing cycles)

@alecxs That sounds reasonable - I have noticed that when the empty card is first encrypted by the tablet it completes instantaneously, which indicates it is not doing any kind of work in advance.


text:
Can I downgrade my Nexus One from Android 2.3.6 (Gingerbread) to Android 2.2 (Froyo)?
So I was wondering whether it's possible to downgrade my old Nexus One which is currently on gingerbread back to Froyo. If so, how do I go about this? I don't know much about downgrading on Android, but I think I have to root the device first and then flash a stock ROM. If that's the case, where could I find Android 2.2 ROM for my Nexus One? Any help is appreciated.

Nexus One was a develope device that can be unlocked easily, therefore you can install any matching ROM. So theoretically this is possible however practically it will be very hard to find OS images to such an old device. I would assume that you will find many many dead links. BTW why Domain want to install Android 2.2? 2.3 is as outdated as 2.2 more or less no app will support any OS of that age anymore.

@Robert thanks for the help man. I want to go back to Froyo because it feels smoother and overall looks better than gingerbread in my opinion. It's true that many apps don't support it nowadays, but I don't really plan on using it for daily tasks, I have a Samsung a10e from two years ago as my daily driver. I also have another question, do I have to root my nexus in order to install the ROM or can I just unlock the boot loader and flash?

Just unlock the bootloader. Please keep in mind that such old systems are heavily insecure. Never ever connect it to any network.


text:
Resize /system partition on Galaxy note 3 SM-N9005
I am trying to resize the partition /system using the parted and gdisk commands. But none of these commands succeed in changing mmcblk0 partitions after execution.
The things I do are as follows:

install adb and fastboot and put them to the system variables.
enable Settings>developer options>USB debugging and Root debugging
install TWRP recovery.
run cmd in adminitsrator permission.
write these command in CMD :

    adb root
    adb reboot recovery
    adb push gdisk /sbin
    adb push parted /sbin
    adb shell chmod 777 /sbin/gdisk
    adb shell chmod 777 /sbin/parted
    adb shell
    ~#> cd /dev/block
    dev/block> gdisk mmcblk0
    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present
    Found valid GPT with protective MBR; using GPT.

    Command (? for help): p
    Disk /dev/block/mmcblk0: 61071360 sectors, 29.1 GiB
    Sector size (logical/physical): 512/512 bytes
    Disk identifier (GUID): 98101B32-BBE2-4BF2-A06E-2BB33D000C20
    Partition table holds up to 128 entries
    Main partition table begins at sector 2 and ends at sector 33
    First usable sector is 34, last usable sector is 61071326
    Partitions will be aligned on 2-sector boundaries
    Total free space is 8158 sectors (4.0 MiB)

     Number  Start (sector)    End (sector)  Size       Code  Name
           1            8192           38911   15.0 MiB    8300  apnhlos
           2           38912          156543   57.4 MiB    0700  modem
           3          156544          157567   512.0 KiB   FFFF  sbl1
           4          157568          157631   32.0 KiB    FFFF  dbi
           5          157632          157695   32.0 KiB    FFFF  ddr
           6          157696          161791   2.0 MiB     FFFF  aboot
           7          161792          162815   512.0 KiB   FFFF  rpm
           8          162816          163839   512.0 KiB   FFFF  tz
           9          163840          184319   10.0 MiB    FFFF  pad
          10          184320          204799   10.0 MiB    8300  param
          11          204800          233471   14.0 MiB    8300  efs
          12          233472          239615   3.0 MiB     FFFF  modemst1
          13          239616          245759   3.0 MiB     FFFF  modemst2
          14          245760          268287   11.0 MiB    FFFF  boot
          15          268288          294911   13.0 MiB    FFFF  recovery
          16          294912          321535   13.0 MiB    FFFF  fota
          17          321536          335853   7.0 MiB     8300  backup
          18          335854          341997   3.0 MiB     FFFF  fsg
          19          341998          341999   1024 bytes  FFFF  fsc
          20          342000          342015   8.0 KiB     FFFF  ssd
          21          342016          358399   8.0 MiB     8300  persist
          22          358400          376831   9.0 MiB     8300  persdata
          23          376832         5095423   2.3 GiB     8300  system
          24         5095424         5709823   300.0 MiB   8300  cache
          25         5709824         5730303   10.0 MiB    8300  hidden
          26         5730304        61071326   26.4 GiB    8300  userdata

    Command (? for help): d
    Partition number (1-26): 26

    Command (? for help):w

(curser blinking) and device goes to hang!!!!!
anyone can help me? I do this in parted command. It is like above.
after restarting the device, all of the partition are there, like before...

do yourself a favor and don't try this on device. make a dump of mmcblk0 and do some dry run on this file instead

I backed up from cash,system,modem... in TWRP. Thank you for your inform.

what i mean you should do parted on the backup, not on the device itself. you can very easy brick your device https://android.stackexchange.com/q/218269

I really appreciate. you opened my eyes...

@elbarna would you please take a look at my question?

I think the bootloader of device is lock. Unfortunately I can not connect to fastboot, because of using windows 10 x64 but in developer option OEM Unlock is missing. Also, I used different PIT file to repartition the device, but Odin return error RQT_CLOSE!!.

Thank you @alecxs. If my device is locked, then how do I flashed Lineageos on it?

i didn't noticed you already unlocked bootloader because i didn't know you are talking about LineageOS. Anyway some protections live in aboot (bootloader) but afaik LineageOS comes with boot (kernel) only. therefore it might still be true (or why should LineageOS hide the OEM unlock feature from developer options)!? can't you see KG/RMM prenormal state on download mode screen?

Thank you @alecxs for replying. I think the KG/RMM lock is for devices made in 2017 and beyond. anyway, there are some text line on the bootloader screen that are as follows: ODIN MODE PRODUCT NAME: SM-N9005 CURRENT BINARY: Custom SYSTEM STATUS: Custom REACTIVATION LOCK: OFF KNOX WARRANTY VOID: 0x1 (2) QUALCOM SECUREBOOT: ENABLE (CSB) RP SWREV: S2, T2, R2, A3, P3 SECURE DOWNLOAD : ENABLE UDC START

what about my suggestion dry run offline on mmcblk0 backup? there is cgdisk or sgdisk left you can try. afaik LineageOS provides flashable zip for resizing. if nothing works you still can update EBR with hex editor (there exist tools on xda). Disclaimer: all of this not recommend/at own risk

Does this answer your question? Android: how to increase system partition and decrease data partition?

thank you @alecxs.  I tried cgdisk but this command isn't on /sbin, tried to resizing with sgdisk but this command did same as gdisk and parted too, nothing change finaly. I can't find lineageOS resizing flashable zip on net. And about EBR, I tried to find out how can I do that! I searched and read many forum, this is for Mediatek devices however samsung hlte is not mediatek.

i did manually on GT-I9301i but can't remember which tool used. you must be right because Partition Editor is for MTK. maybe it was PIT Magic

read here or ask in Libera Chat for hints. flo-deb_clamor_repartition.zip is such example for other device (don't try!)

I used PIT Magic too, with many PIT files that downloaded from XDA even I edited a PIT file by myself.  when I want to write it to the device, Odin shown this error: RQT_CLOSE!. I have read that forum you suggested, there is nothing for repartition. Thank you @alecxs for your try, but your comments not the solution of my problem.

Sorry for misleading. Nevertheless you could ask in that forum too. try heimdall flash tool instead Odin


text:
Samsung Galaxy S7 is saving MMS photos to downloads folder instead of photos folder
Samsung Galaxy S7 started saving MMS photos to the downloads folder instead of the photos folder.  How do I fix this?

Did you change or update your SMS/MMS app?

Not that I know of, but Samsung updates things automatically.

You're welcome.  As a first step, perhaps check the SMS/MMS app to see if it has any new settings that were introduced.  Also, is the photos folder where the images previously got filed within the DCIM folder?

Sorry you have a phone novice here. I just use them but don't know the terminology well at all. what is the DCIM and how do I tell? Photos shows up on my apps screen. The text app is whatever it came with - messaging?

Couldn't find any settings in "Messages" that might relate to default for saving attachments. Got to leave for a dinner thing. I'll have to catch up later today or tomorrow. Thank you.

No problem.  When you receive a photo via "text", it is called an MMS message.  An app on your phone will automatically respond when such an message is received.  That app will usually determine where the image is stored.  Most likely, a new app was installed or an existing app was updated that changed the storage location.  Determining the app and seeing if has adjustable settings will likely be key to resolving the issue.  If there is not such option, there are automation apps that can do this for you, but they do take some work to get configured.  Enjoy your meal!

Thank you for the help. The only app I can find is just "Messages." I'll see what I can do about finding some options that aren't there at first glance.  Best wishes.

You're welcome.  Take care.


text:
How to solve "Couldn't save screenshot storage may be in use"
i have been experiencing an issue on my smartphone.Every time i try to save a picture it says"Couldn't save screenshot,storage may be in use"
I already tried to clean the whole cache but it didn't work.

i have already fixed  this issue.It is basically a cache problem that i was experiencing,however even if i cleaned that,it didn't work so I got to go a little bit deeper and I found the solution.Very simple
1:Go to settings then application manager
2:Click on Chorme(in my case,the problem was on Google Chrome and Google)
3:Click on Manage Storage ,then on Manage and delete the content
4:Do the same to Google application and the problem will be fixed.
5:Also try cleaning DATA from apps if the text above doesn't work! (VERY USEFUL TOO).
Although it is simple I had a hard time trying to figure out what was wrong,then I noticed that it was not only to clean the cache normally but you also nedded to open its configuration and clean the cache that was in there.Apparently Google Chorme stores a lot of trash and over the time,it might cause some issues. Please if you have other ways to fix this problem,share them here. Let's help others :)
Learn more at:
https://www.popsci.com/fix-most-common-smartphone-problems/


text:
Bluestacks can emulate Android and play Angry Bird but not Pokemon Go?
It is a bit strange Bluestacks (4.270) can run on the Mac, and run Angry Birds, Cut the Rope, but when Pokemon Go is run, the spinner just spins and cannot log in.  Is there anything special about this app and is there a way to make it work?

Possibly because Pokemon Go prevents itself to run on Android emulators (similar to rooted devices) to prevent cheating.

so emulators cannot make itself just look like an Android phone (that we buy for US$99)?

@StefanieGauss They could but it is a lot work and if you do so and publish it everybody who don't want to let an app run on an emulator can get the emulator and find how which property you forgot of in which other way this emulator can be identified. I would assume that there are a lot of emulator that can't be detected but they are kept private (e.g. anti virus companies most likely have such an emulator).


text:
There is no emulator that can totally emulate an Android device?
Is it true that there is no Android emulator out there (as of May 2021) that can emulate an Android phone so that an app cannot detect it?
Of all the emulators out there (I saw a 15 best Android emulator list), they were not able to do it? The reason is it'd seem a bit strange why it is not possible to emulate such an environment totally, if a US$99 phone can do the job. (and that some developers may write the emulator with the original goal of: no code running in the emulator can tell it is an emulator).
I think probably the official Android developer emulator cannot do the job either (maybe intentionally) or else it would be recommended as the method on some forum.

what you descripe is some pokemon emulator, not android emulator

no... android emulator... and then run Pokemon Go the app inside of it.  If we have a Windows 10 VM and run Microsoft Word on it, you won't say we are emulating Microsoft Word but we are emulating Windows 10 machine, isn't it so

smartphone has ~6 sensors and gps what you want is to emulate values for all of these sensors in a way that no plausibility check is violated. these checks are developed by pokemon, sounds pretty much like pokemon emulator to me

You are talking about an Android device, there may be 100.000 small differences between real and emulated devices. Even eliminating all those differences that can be "fixed" requires quite some work.
Just the execution speed is an indicator you can't forge that easily. To emulate an ARM device that costs US$99, you may need a PC that costs more than US$1000, and then the execution speed of an ARM emulator will still be lower than the physical device. This is because emulating an ARM CPU on an x86 CPU is difficult and requires a lot of CPU resources.
Even if you would use one of the new Apple computers with an M1 ARM chip (or another device that runs a fast ARM-based chip which therefore understands most of the ARM commands directly), there will still be differences on the code-level you can detect and therefore guess that with a high probability it is an emulator.
Another problem is that assuming you would be able to create an emulator that an app can't detect as an emulator, you then sell it to anyone on the internet. Very soon those people you don't want an app to run on an emulator will recognize your emulator, get it and tear it apart until they have found a way to still detect it.
Therefore from my perspective, the answer to your question is: yes, with a high probability, there are emulators at the moment no app can detect as emulators. However, to keep it that way, those emulators are never published and cannot be bought or retrieved anywhere.
For example, Anti Virus companies most likely have such an emulator because malware usually contains the most sophisticated way to detect if they are running in an emulated environment or a regular device. Running in an emulated environment for malware usually means there is someone analyzing it (which obviously the malware author doesn't want to).

if it is the speed, then it'd be as if the mobile phone is 3 years old, but it shouldn't prevent the emulator from playing Pokemon Go, for example... so speed should be ok.  The goal of the emulator should be: the app cannot really know it is the real device or in a virtual environment... if they tear down the emulator and find a way to do it, then it is not a "totally" emulated environment yet. For example, we can write an x86 processor emulator and the machine code running on it should have absolutely no way to tell itself running in an Intel processor or in a processor emulator

@StefanieGauss Sorry but you don't get the point. The developers of Pokemon don't want you to use an emulator and they will always find a way to test if you are on an emulator. If the emulator is getting better they enhance the test and as a smartphone contains quite a few physical sensors it will get really really hard to emulate everything. Just accept that the developers have more power than you. One basic principle of games is that there are rules, rules you have to accept to play.

I know the game developers want to "beat it"... but in today's world of code and algorithms, it is so easy to say, "oh I am at elevation of 2 meter, and the phone is tilted 23 degree" and next 10 seconds, "oh I am at elevation of 1.8 meter, and the phone is tilted 26 degree". I mean, these are just piece of cake. How many things can they check? 20, 30? And is it tough to fake 20 things or 30 things? In software, we may be able to fake 1 thing in 10 minutes... there is a limited set of API and they all can be faked


text:
How to install XAPK packages on Android 4.4 (API 19)?
There is an Android 4.4 (KitKat, API version 19) device, that should get some external programs with XAPK packages. These XAPK packages does not contain any OBB files, they just have a "main" .apk, then a lot of configuration APKs.
How to install that mentioned XAPK files? If I install the APKs manually, then the app simply fails to launch. The XAPK Installer app, which could handle this, is available from Android 5+, so also not an option.
Updating or upgrading that device is also not an option. So, no need the comments like "that is outdated" etc.

Hi, please try the solutions on How to install xapk, apks, or multiple-apks via adb? and let us know if it helps. Thanks.

Thanks @AndrewT., can You please let me know, how to use the adb on Linux?

An XAPK package is basically ZIP files containing the different split APK files. Before trying to make an app work on your device I strongly recommend to you to extract the base APK files from the XAPK package and check the minSdkVersion in it's AndroidManifest.xml. You can do so easily by opening the main APK file e.g. in Jadx or any other tool that can decode and display the AndroidManifest.xml.
If this entry is 19 or lower there may be a chance to install the app on your device.
If I remember correctly the possibility to install multiple APK files as one app was introduced with Android 5, therefore the XAPK installer is limited to Android 5+. Also installing multiple APK files as one app via adb will not work. The only option I can see is building an universal APK from those multiple APK files inside the XAPK package. See section Re-Building an universal APK from my answer Creating universal APK form multiple APKs without having *.aab:

On the Internet you can find a tool named "SAP (Split APKs Packer)"
which seems to allow to combine multiple split APK files into one
universal APK file (if you have all the necessary split APK files)
This "SAP" tool is available for Linux and Windows, however it is
closed source and contains a lot of binaries. I am not sure if it is
really trustworthy - I would not recommend to execute it outside of a
protected environment (e.g. a virtual machine).
The following blog post describes the SAP tool and provides download
links.


text:
I want to make static IP on my tablet using usb-c to ethernet port
I have Huawei Meta Pad t10s tablet & usb-c to pd rj45 adapter to connect it to ethernet not WIFI and it connect to internet automatically but I want to connect to server with another Gateway and need to enter static IP but can't find the way in the software of the tablet.
can any one help me to find solution to this situation?

If you have access to the router/DHCP server, you can do a DHCP reservation on the MAC of the USB to ethernet adapter.  This means that even though the port is set to DHCP, it will always get the same address.


text:
How to make a complete backup of an Android device
I am quite new to Android and
I would like to be able to make a complete backup of an Android smartphone storage so that I can restore everything in case I mess it up or it breaks. My plan is to buy another phone of exactly the same model and restore my image to it so that I get exactly the same system back as the old one was at the time of the backup.
I have some experience doing this with a laptop. In this case I boot the laptop using an external USB stick with a live Linux distribution (let's say the USB stick is /dev/sdb after boot), attach an external drive (seen as /dev/sdc) that is larger than my laptop's internal disk (/dev/sda). From the live system I then do something like:
# mount /dev/sdc1 /mnt
# dd if=/dev/sda of=/mnt/sda.img
# umount /mnt
# reboot

The procedure for restoring the image is similar.
I have found some guides and questions on how to do this on Android but most of them show how to backup user files or individual partitions, which is not what I want.
I illustrate my questions with reference to this guide (from which I would prefer the adb + dd method, because it does not require to install additional software).
Question 1 The guide says that I should root the device: why is this needed?
Question 2 The guide shows how to make images of individual partitions but I would like to make an image of the whole system device with something like
dd if=/dev/mtd of=...

Would this work at all? Since I have to boot the device in order to connect to it with adb, will one or more partitions be mounted? Of course, I do not want this: all filesystems should be unmounted while I perform the backup.
Question 3 Is it possible to transfer the image over to my laptop directly, without writing it to an SD-card?

That's three questions.  On StackExchange you should ask one question per post.

Q1: You need root access because Android is designed this way. Users don't have access to everything. It is the same on Linux ( here you need root or a sucker user + sudo), the only difference on Android is that on regular Android devices it is not planned that anybody gets r lot access.

"That's three questions. On StackExchange you should ask one question per post.": My question can be summarised as follows: How do I do a bitwise image of the smartphone storage and copy it to my laptop without modifying it and losing the warranty? (As far as I know, if I root the phone or unlock the bootloader, the warranty will be invalid and all user data will be wiped.)

Does this answer your question? Can I flash Android on device with overwritten mmcblk0?

Does this answer your question? How to install a firmware without losing your data and restore the previous one in case it goes wrong?

Does this answer your question? Backup/dump kernel image (and full ROM) without root for Mediatek Devices

Does this answer your question? Recovering data from Mi 4c able to get only to fastboot

You could always use an app such as Google One to back up your device.

@Buzzyy: Does Google One produce a bit-wise copy of the smartphone storage device(s)?

@Giorgio I'm not too sure, sorry.

only emmc/ufs storage is accessable, bitwise copy is not possible at all as apps may use secure storage (Trustonic Kinibi or Qualcomm QTEE) and so for FBE encryption keys


text:
Unable to get oem unlock data
I am dealing with a Motorola X4 that says "Your device is corrupt. It can't be trusted and will not boot." when ever I try to boot it up. I am able to get the device into fastboot mode, and I can use fastboot on my computer to see the device info, but when I try ./fastboot oem get_unlock_data I get:
(bootloader) Failed to get unlock data.
OKAY [  0.002s]
Finished. Total time: 0.002s

And when I try ./fastboot oem unlock I get:
(bootloader) Check 'OEM unlocking' in Android Settings > Developer
(bootloader) Options
OKAY [  0.001s]
Finished. Total time: 0.001s

Since the phone will not boot, I cannot turn it on to change the Android settings. I am also unable to get the device to be detected by adb. Is there anything else I can do from here to get the OEM unlock code?

Is it possible to perform a factory reset and then boot the device?

I have tried performing a factory reset from the fastboot menu but I get the same, "Your device is corrupt. It can't be trusted and will not boot." error. Is there another way to factory reset the device?


text:
Cannot boot into fastbootd OnePlus 8T
I'm trying to manually flash the factory image on my OnePlus 8T (using this TCD guide).
I was able to boot my phone into Fastboot mode using the volume + power keys. I'm able to execute fastboot devices and successfully flashed all images in Section 8 of the above mentioned tutorial before it gets to the fastboot reboot fastboot command (i.e. boot.img, dtbo.img, etc.)
When I try to execute fastboot reboot fastboot, I get the following error: fastboot: usage: unknown reboot target fastboot.
It seems other people have this problem as well and it's due to some changes that happened in Android 10 (my OnePlus 8T is on Android 11). Reading this XDA thread, comments #14 - #18 (inclusive) I think describe the underlying problem, but I don't understand the solution.
Do I need to execute a different command, is there a process I need to complete first?
For broader context, I was rooting my phone and got into a bootloop. Fastboot can recognize my phone but not adb. I'm trying to get a clean start by restoring it to the factory image and have successfully completed all the steps in the TCD guide except for the final step of flashing the images.
Here's a screenshot of my terminal -

My adb version is:
Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as /usr/local/bin/adb

Updates:

I tried fastboot reboot bootloader which does successfully reboot into bootloader, but then I cannot flash the other images. When I try, I get the error: FAILED (remote: Flashing is not allowed for Critical Partitions) which I think is because I'm not in "fastbootd" which seems to be important based on the XDA thread
When I try fastboot reboot recovery, I am not booted into recovery but get the same error: fastboot: usage: unknown reboot target recovery
I ran fastboot boot imagefv.img and got the following. My phone is now showing a screen with the OnePlus logo and the words "Fastboot Mode", but no other options.

I was able to enter recovery mode from the fastboot screen and from recovery reboot to fastboot, but still unable to enter fastbootd. This guide suggested I could enter fastbootd from recovery, but was unable.

I downloaded Android's SDK Platform-Tools, extracted the platform-tools folder and ran a terminal in side that directory. When I executed ./fastboot reboot fastboot it did boot into fastbootd successfully. What's weird is that I installed platform-tools, put it in my /etc/ folder, and added it to my PATHS only 2 days ago. I'm not sure why exactly this worked...


text:
Why removed apps use mobile data?
Android 10
When open mobile data usage ,write that removed apps use data.
Why removed  apps use my mobile data,how stops this and how properly delete them forever?
Why they use data if they are uninstalled?

That is a monthly total. Did you uninstall those apps a month ago?

this site dont has purpose if it closed question before someone answer..I find here answer:https://www.reddit.com/r/AndroidQuestions/comments/45vf2v/help_removed_apps_and_users_using_up_2gigs_of_my/   .....now you can delete my question


text:
How to change the User Agent string in Edge or Chrome
How can I change the User Agent string in either Edge or Chrome on Android?
I found old tutorials suggesting either going to about:debug or about:useragent but neither of these seem to work anymore.

It used to be possible on Chrome if your device is rooted //Last I tried it didn't work on rooted devices too// Try other browsers like Dolphin etc which claim to support

I don't know which tutorials you read, but Chrome internal urls don't start with about, but only with chrome. It is Firefox which starts with about. Plus, if chrome flags don't support it, there is nothing you can do, except when using remote debugging. A reasonable solution is to use Chrome based Kiwi browser. Kiwi browser supports extensions made for Chrome desktop.


text:
How to turn off ChromeVariations on Android?
To turn off ChromeVariations on Linux, one simply needs to create an /etc/opt/chrome/policies/managed/*.json file containing {"ChromeVariations": 1}. But what about on Android? See Extend (a way to turn off) ChromeVariations to Android.
One needs to be root on Linux to install Chrome, so editing /etc is no problem.
But on Android, one does not need to be root to install Chrome, so one does not wish to, yes, become a Super User and "root" one's phone (voiding warranty) to test if putting the same file in /etc on Android will work.
(Why would anybody want to turn off ChromeVariations? Well, just like when we disable Chrome Extensions to make sure it is not one of them causing a bug, we sometime wish to do the same with ChromeVariations. That way we can be sure, why Bill, with the same Chrome version, doesn't get the same results as Mary.)


text:
Messages App keeps merging two people who are in different countries but same number?
So this is literally one in a million, but I have two different contacts in two different countries who incredibly have the same last 6 digits of the phone number i.e.:
Contact 1 in Australia: +614 123 123
Contact 2 in New Zealand: +6421 123 123
The messages app keeps merging the conversation trails and replying on it it is unclear who will receive the message. E.g. I just replied on it and it went to the wrong person (embaressingly).
This happened after upgrading from an old crappy Android Go phone to a brand new Android 10.0 phone and cloning all the information over. However even if I delete both contacts and recreate them with thoes numbers, it still merges the conversation thread!
How can I separate the message threads?

Interesting +1. Couple of things to try 1. Add one contact to a separate account and of course add that account to your device 2. Try a different messaging app 3. Instead of country code try using 0 (if permitted) //1 and 3 are guesses (no logic)

.4 clear cache messaging app before trying another app. Next backup your messages (using apps from Play Store) and clear data too to rule out messaging app problems


text:
Why does an Android phone with Snapdragon 732G run slower than an Android phone with Snapdragon 678?
I am comparing the two phones:
Xiaomi Poco X3 NFC - Snapdragon 732G (8 nm) - Adreno 618 - Android 10, MIUI 12
Redmi Note 10 - Snapdragon 678 (11 nm) - Adreno 612 - Android 11, MIUI 12

For both of them, if I dual open Pokemon Go using MIUI's dual app, Redmi Note 10 has smooth graphics on both apps, while Xiaomi Poco X3 NFC is more like 15 frames per second: the graphics is quite lagging.
It was quite strange that I checked the specs of their CPU and GPU, only to find that Poco X3 is supposedly at least 50% faster than Redmi Note 10. The only difference is that Poco X3 is  Android 10, while Redmi Note 10 is Android 11.
What is the reason for such drastic difference: a slower CPU and GPU but faster? Is it just due to Android 10 vs 11?  It seems Poco X3 won't update Android officially but I have to rely on some 3rd party installation.

is it real benchmark or just a feeling? both phones are running on same storage fill level, same google play services version, same internet speed, same amount of pokemon cache files, same list of installed apps, and running same amount of background processes at time of benchmark? if you can eliminate all kind of side effects and ensure that the "only difference" is android version, yes then it probably is related to android version and/or updates

Yes, the Poco X3 NFC recently came out with an Android 11 update, and after that, both phones run at similar speed, so it seems Android 10 and 11 made a difference. What might be unknown is why the Poco X3 NFC not noticeably faster then the Redmi Note 10. If I use the Xiaomi 11i, it is noticeable faster then the Redmi Note 10


text:
Lock screen is always ON even if I switch it off by pressing the power button
I have been facing a problem with my Samsung Galaxy M30. FYI The power button working totally fine(I can reboot using it and shut the phone down, no problem with my power button). But as I put my phone to sleep, the screen does go off but the problem is that after 2 or 3 seconds the lock screen of the phone automatically turns ON(without touching it or shaking, I haven't enabled any gestures) and continuously glows all the time, it doesn't turn off. I tried to shut down my phone but it didn't help me. How to troubleshoot this? This problem drains my battery too fast, I don't know what happened to my phone. Can it be a virus or malware problem(I have also tried to scan my phone for any malware but it also couldn't help me)?
Please help me.

This has been asked a few times in slightly different ways but none have a working answer.

I don't actually know what to do, to resolve a little bit or to save my battery I just used a screen dimmer that turns the screen opaque up to 95%. I don't have any other option right now


text:
Cannot backup WhatsApp to Google account on Family Link
I have Family Link control over my daughter. Now, we bought her a new Android phone. The phone is under her own account we created on Google. Now, we have installed WhatsApp. But when we go to backup options in WhatsApp trying to backup the WhatsApp data to her Google account, WhatsApp comments that this cannot be done. I suspect it is due to the Family Link.
After approving all apps for her with zero limitations, I still cannot back up WhatsApp data to her Google account.
How to solve such an issue?

Could you add to this post the error's screenshot?

WhatsApp backs the data up to a Google Drive account and I don't think Family Link accounts for under-13 accounts allow Google Drive. So, that might be why WhatsApp fails to back up the chat history.

I also found not possible to restore a WhatsApp backup from a gmail account under Family Link control
This is how I resolved:

Removed the  Family Link controlled gmail account from the older phone
Added another temporary gmail account to the older phone
Backup WhatsApp from the older phone to the temporary gmail account
Added the temporary gmail account to the new phone
Installed Whatsapp and restored the Backup on the new phone
Removed the temporary gmail account
Added my daughter gmail account to the new phone


text:
How to use a custom notification sound in gmail when email received from a specific contact
I am a volunteer firefighter and when we get an alarm, I receive an email from a specific address.  I would like to be able to change the notification sound the gmail android app uses when any email from this address is received.  I believe there used to be a way to configure a label in gmail and set a custom notification sound for that label, but that feature seems to have been removed in more recent versions of android.  Is there any way to do this with the current gmail app?

If you are willing to change your Gmail app and use an open source app, you can have notifications set up and also have the message read out aloud. See answer here

You could use something like Tasker or Automate to detect these emails and act appropriately.


text:
Enable YouTube mobile live streaming
I have a YouTube channel: https://www.youtube.com/c/stfrancisschoolbatalaofficial. It has been marked "for kids". I am unable to stream live from my mobile even though I have more than 1K subscribers and there have been no strikes against the channel. There are no problems streaming to the same channel from the PC or from a different app. The YouTube android mobile app shows

"Your channel does not meet our updated eligibility requirements for
mobile streaming..."

How do I fix this?

Hi, I'm not really sure if we can't help other than suggesting the official YouTube Help. Have you checked the currently active account/channel on the YouTube app and make sure it's the one you want to live stream?

@AndrewT., yup, I have selected the current account.


text:
Random reboot during switching between apps
My device:
Motorola One, Android 10
During clicking on a link in WhatsApp (default browser is Brave) Android rebooted accidentally. This random reboots happens from time to time (several times a week). Backtrace may suggest that it was caused by heap corruption (LogHeapCorruption).
Is there any way to find the root cause of an issue?
05-24 19:04:47.038  2190 15997 I ActivityTaskManager: START u0 {act=android.intent.action.VIEW dat=https://....pl/... flg=0x14002000 cmp=com.brave.browser/org.chromium.chrome.browser.ChromeTabbedActivity (has extras)} from uid 10126
05-24 19:04:47.153  2190  8581 I WindowManager:   SURFACE show Surface(name=com.android.systemui.ImageWallpaper)/@0x71f13fc on display:0: com.android.systemui.ImageWallpaper
05-24 19:04:47.154  2190  8581 I WindowManager:   SURFACE show Surface(name=Splash Screen com.brave.browser)/@0xe5f66a9 on display:0: Splash Screen com.brave.browser
05-24 19:04:47.754  2190  2268 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 2268 (android.display), pid 2190 (system_server)
05-24 19:04:48.002 17729 17729 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-24 19:04:48.002 17729 17729 F DEBUG   : Build fingerprint: 'motorola/deen/deen_sprout:10/QPKS30.54-22-21/417dd1:user/release-keys'
05-24 19:04:48.003 17729 17729 F DEBUG   : Revision: 'PVT1'
05-24 19:04:48.003 17729 17729 F DEBUG   : ABI: 'arm64'
05-24 19:04:48.008 17729 17729 F DEBUG   : Timestamp: 2021-05-24 19:04:48+0200
05-24 19:04:48.008 17729 17729 F DEBUG   : pid: 2190, tid: 2268, name: android.display  >>> system_server <<<
05-24 19:04:48.008 17729 17729 F DEBUG   : uid: 1000
05-24 19:04:48.008 17729 17729 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
05-24 19:04:48.008 17729 17729 F DEBUG   : Abort message: 'Check failed: found_virtual Didn't find oat method index for virtual method: void android.accounts.AbstractAccountAuthenticator.<init>(android.content.Context)'
05-24 19:04:48.008 17729 17729 F DEBUG   :     x0  0000000000000000  x1  00000000000008dc  x2  0000000000000006  x3  0000007d805d58f0
05-24 19:04:48.008 17729 17729 F DEBUG   :     x4  6d49000000000000  x5  6d49000000000000  x6  6d49000000000000  x7  000000000080496d
05-24 19:04:48.008 17729 17729 F DEBUG   :     x8  00000000000000f0  x9  5a781b4ca14965bb  x10 0000000000000001  x11 0000000000000000
05-24 19:04:48.008 17729 17729 F DEBUG   :     x12 fffffff0ffffffdf  x13 0000000008e584c8  x14 0000000000000008  x15 0000225fa48f30e4
05-24 19:04:48.008 17729 17729 F DEBUG   :     x16 0000007e0d44d8c0  x17 0000007e0d42b020  x18 0000007d1d8f4000  x19 000000000000088e
05-24 19:04:48.008 17729 17729 F DEBUG   :     x20 00000000000008dc  x21 00000000ffffffff  x22 0000007c94c4fa00  x23 0000007d880e864e
05-24 19:04:48.008 17729 17729 F DEBUG   :     x24 0000007d880c85c0  x25 0000007d885ff000  x26 0000007d8867a258  x27 0000007d885ff000
05-24 19:04:48.008 17729 17729 F DEBUG   :     x28 0000000000000000  x29 0000007d805d5990
05-24 19:04:48.008 17729 17729 F DEBUG   :     sp  0000007d805d58d0  lr  0000007e0d3dff88  pc  0000007e0d3dffb4
05-24 19:04:48.382 17729 17729 F DEBUG   :
05-24 19:04:48.382 17729 17729 F DEBUG   : backtrace:
05-24 19:04:48.382 17729 17729 F DEBUG   :       #00 pc 0000000000082fb4  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 4cd97724e0ae0bf213b33eacb7bfbbe8)
05-24 19:04:48.382 17729 17729 F DEBUG   :       #01 pc 00000000004b5064  /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+2268) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.382 17729 17729 F DEBUG   :       #02 pc 000000000000c5b4  /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+608) (BuildId: 9b1ba30f299c594bb54939a36936205f)
05-24 19:04:48.382 17729 17729 F DEBUG   :       #03 pc 000000000028e804  /apex/com.android.runtime/lib64/libart.so (art::gc::Verification::LogHeapCorruption(art::ObjPtr<art::mirror::Object>, art::MemberOffset, art::mirror::Object*, bool) const+1404) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.382 17729 17729 F DEBUG   :       #04 pc 000000000021d184  /apex/com.android.runtime/lib64/libart.so (art::gc::collector::ConcurrentCopying::MarkNonMoving(art::Thread*, art::mirror::Object*, art::mirror::Object*, art::MemberOffset)+148) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.382 17729 17729 F DEBUG   :       #05 pc 00000000001433c8  /apex/com.android.runtime/lib64/libart.so (art::ReadBarrier::Mark(art::mirror::Object*)+520) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.382 17729 17729 F DEBUG   :       #06 pc 0000000000146e44  /apex/com.android.runtime/lib64/libart.so (_ZN3artL16FindOatMethodForEPNS_9ArtMethodENS_11PointerSizeEPb.llvm.11041615836067245275+108) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.383 17729 17729 F DEBUG   :       #07 pc 0000000000146c74  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::GetOatQuickMethodHeader(unsigned long)+280) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.383 17729 17729 F DEBUG   :       #08 pc 00000000004d6c88  /apex/com.android.runtime/lib64/libart.so (_ZN3art12StackVisitor9WalkStackILNS0_16CountTransitionsE0EEEvb+400) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.383 17729 17729 F DEBUG   :       #09 pc 00000000004f4430  /apex/com.android.runtime/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+472) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.383 17729 17729 F DEBUG   :       #10 pc 000000000050e828  /apex/com.android.runtime/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+820) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.390 17729 17729 F DEBUG   :       #11 pc 00000000005078c8  /apex/com.android.runtime/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+456) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.390 17729 17729 F DEBUG   :       #12 pc 0000000000506b18  /apex/com.android.runtime/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool)+1296) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.390 17729 17729 F DEBUG   :       #13 pc 00000000004b4d38  /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+1456) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.390 17729 17729 F DEBUG   :       #14 pc 000000000000c5b4  /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+608) (BuildId: 9b1ba30f299c594bb54939a36936205f)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #15 pc 0000000000147038  /apex/com.android.runtime/lib64/libart.so (_ZN3artL16FindOatMethodForEPNS_9ArtMethodENS_11PointerSizeEPb.llvm.11041615836067245275+608) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #16 pc 0000000000146c74  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::GetOatQuickMethodHeader(unsigned long)+280) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #17 pc 00000000001ee960  /apex/com.android.runtime/lib64/libart.so (art::FaultManager::IsInGeneratedCode(siginfo*, void*, bool)+896) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #18 pc 00000000001ee2b4  /apex/com.android.runtime/lib64/libart.so (art::FaultManager::HandleFault(int, siginfo*, void*)+92) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #19 pc 0000000000004dc4  /system/bin/app_process64 (art::SignalChain::Handler(int, siginfo*, void*)+588) (BuildId: 5f77a287bef8ee816eb6bce4880d182d)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #20 pc 0000000000000690  [vdso] (__kernel_rt_sigreturn)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #21 pc 000000000057f6d0  /apex/com.android.runtime/lib64/libart.so (artInstanceOfFromCode+88) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #22 pc 000000000013795c  /apex/com.android.runtime/lib64/libart.so (art_quick_check_instance_of+12) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #23 pc 00000000016f5820  /system/framework/oat/arm64/services.odex (com.android.server.am.ActivityManagerService.isReceivingBroadcastLocked+464) (BuildId: dc7af8324d4ef4f07322522c8e9638a72ad82930)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #24 pc 0000000001416668  /system/framework/oat/arm64/services.odex (com.android.server.am.OomAdjuster.computeOomAdjLocked+2008) (BuildId: dc7af8324d4ef4f07322522c8e9638a72ad82930)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #25 pc 000000000070a8b0  /system/framework/oat/arm64/services.odex (com.android.server.am.OomAdjuster.updateOomAdjLocked+1264) (BuildId: dc7af8324d4ef4f07322522c8e9638a72ad82930)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #26 pc 0000000000b8c7fc  /system/framework/oat/arm64/services.odex (com.android.server.am.ProcessRecord.updateProcessInfo+332) (BuildId: dc7af8324d4ef4f07322522c8e9638a72ad82930)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #27 pc 0000000000b8c108  /system/framework/oat/arm64/services.odex (com.android.server.am.ProcessRecord.onStartActivity+312) (BuildId: dc7af8324d4ef4f07322522c8e9638a72ad82930)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #28 pc 0000000000ddd5b0  /system/framework/oat/arm64/services.odex (com.android.server.wm.-$$Lambda$VY87MmFWaCLMkNa2qHGaPrThyrI.accept+240) (BuildId: dc7af8324d4ef4f07322522c8e9638a72ad82930)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #29 pc 0000000000b7cb24  /system/framework/arm64/boot-framework.oat (com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke+5556) (BuildId: bcbbf6dbefd89fff71e2c4b30159b42d915c3070)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #30 pc 0000000000b7ee54  /system/framework/arm64/boot-framework.oat (com.android.internal.util.function.pooled.PooledLambdaImpl.invoke+836) (BuildId: bcbbf6dbefd89fff71e2c4b30159b42d915c3070)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #31 pc 0000000000b51b9c  /system/framework/arm64/boot-framework.oat (com.android.internal.util.function.pooled.OmniFunction.run+76) (BuildId: bcbbf6dbefd89fff71e2c4b30159b42d915c3070)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #32 pc 0000000000738b7c  /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+76) (BuildId: bcbbf6dbefd89fff71e2c4b30159b42d915c3070)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #33 pc 000000000073c48c  /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+2140) (BuildId: bcbbf6dbefd89fff71e2c4b30159b42d915c3070)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #34 pc 000000000073abfc  /system/framework/arm64/boot-framework.oat (android.os.HandlerThread.run+588) (BuildId: bcbbf6dbefd89fff71e2c4b30159b42d915c3070)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #35 pc 0000000001392554  /system/framework/oat/arm64/services.odex (com.android.server.ServiceThread.run+100) (BuildId: dc7af8324d4ef4f07322522c8e9638a72ad82930)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #36 pc 0000000000137334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #37 pc 000000000014606c  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #38 pc 00000000004accd0  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.391 17729 17729 F DEBUG   :       #39 pc 00000000004add64  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.392 17729 17729 F DEBUG   :       #40 pc 00000000004edb00  /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176) (BuildId: 0dfc48458ebe469ada07dc81b5a44d76)
05-24 19:04:48.392 17729 17729 F DEBUG   :       #41 pc 00000000000e205c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 4cd97724e0ae0bf213b33eacb7bfbbe8)
05-24 19:04:48.392 17729 17729 F DEBUG   :       #42 pc 0000000000084af0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 4cd97724e0ae0bf213b33eacb7bfbbe8)
05-24 19:04:51.521 13310 13310 E AndroidRuntime: FATAL EXCEPTION: main
05-24 19:04:51.521 13310 13310 E AndroidRuntime: Process: com.brave.browser, PID: 13310
05-24 19:04:51.521 13310 13310 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
05-24 19:04:51.586   830   865 E AndroidRuntime: FATAL EXCEPTION: GoogleApiHandler
05-24 19:04:51.586   830   865 E AndroidRuntime: Process: com.google.android.apps.fitness, PID: 830
05-24 19:04:51.586   830   865 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
05-24 19:04:51.598  2756  2756 E AndroidRuntime: FATAL EXCEPTION: main
05-24 19:04:51.598  2756  2756 E AndroidRuntime: Process: com.android.phone, PID: 2756
05-24 19:04:51.598  2756  2756 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause

Do you know the person who has sent the link to you personally? Because a link that makes a web browser to cause a heap corruption may be a malicious link and the heap corruption was an attempt to exploit a vulnerability and execute virus code. The other alternative would be a hardware RAM defect causing this effect.

@Robert This link was a regular link to well known website. So after reboot of my phone I was able to successfully open that link. So it was accidental thing. Is it possible to that RAM is corrupted (broken) physically in my phone?

A physically damaged RAM is possible but that it only affects brave would be very unusual. Especially after a reboot locations in memory should be totally different.


text:
How can I set a ringtone for a group of contacts with a certain label?
I want to set the ringtone for each contact with a particular label on my Pixel 2 (Android 11). Labels are a thing that contacts can have in the default android contacts app (from Google). There seems to be a lot of answers out there about doing this, but only when the contacts app has something specifically named "groups". There is nothing called "groups" in the default Google contacts app, but I think that labels are basically the same thing as "groups".

Similar approach to this //In the trigger, use groups. I am not aware of any way to do it within Android

I haven't tried using groups but it should work as Labels are groups; contacts app help says You can group contacts together using labels

Google should be ashamed for this stepback.
Up to android 10 contacts were organized in "groups" (not "labels") and you could
set ringtone per group. Not only in Samsung mobiles (who still have this feature)
but other vendors as well (eg I have it in Huawei P30 Pro).
In Android 11 and 12 they moved to "labels" and "labels" can't have rigntone per
"label".
I repeat, this is a shame. Setting different per group of contacts is essential.
It's a feature it was available in legacy phones (I recall using it in Nokia 6210,
Nokia 6310i and even older), in Nokia/Symbian touch phone C3-100 and all previous android phone up to 10, inclusive.
For example my usage scenario is that I use Bluetooth headset and phone is in my
pocket. I don't take phone out of the pocket to answer the call, I answer it from headset. Setting different ringtone per group I can't tell who calls me but I get an idea, it's someone from work, from family, a friend etc.
Alternative to set rigntone contact by contact is stupid, you can't do it when you have hundreds of contacts!
Hey Google, do you hear us? So many people ask you to bring this feature back.
Are you serious? Prove it! Don't become Microsoft!!!
Costas

I'm afraid you're barking up the wrong tree. This site is not affiliated with Google, and Google doesn't seem to read feedbacks/critiques from here. Also, this doesn't have anything to do with the Android version, but specifically about the Google Contacts app because "labels" are also shown on Android 7 (independent of the Android version). Samsung and Huawei may have their own Contacts app and may behave differently from Google Contacts though.

This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review


text:
USB 3.1 gen 2 flash drive only works when connected through 2 adapters at the same time
Okay, this is a very specific question with very specific hardware, so I understand if there isn't an answer.
I recently bought a USB 3.1 gen 2 flash drive with read and write speeds of 400MB/s, because it'll speed up my backup process a ton. The flash drive works great on my laptop, desktop, and on other phones. For some reason it just has issues with my OnePlus 7 Pro. If I use a standard USB 3.0 hub to connect it, it doesn't work when connected to the 3.0 port (but works if I connect it to a 2.0 port on the same hub). When I say it doesn't work, I mean it's only recognized half the time at best, so I have to plug it in a few times before my phone sees it, it sometimes randomly disconnects and reconnects, and the transfer speeds are way off. For some reason, files can't be read at all when trying to copy from the drive, and the write speeds are incredibly slow, though at least it can write. When I connect to that 2.0 port, I get standard USB 2.0 speeds for read and write, which are far lower than I'd like, given how fast the flash drive actually is. I've also tried using a straight USB type C to USB 3.1 gen 2 type A cable, and it has the same issues. Both of these methods work on other phones without issue. Also note that I don't have these issues with any other flash drives, but this is the first one I have that uses USB 3.1 gen 2, whereas the best one I had before was USB 3.0 (or as it's now called, USB 3.1 gen 1).
Here's where it gets really weird.
I was trying to troubleshoot every possible scenario, so I decided to try plugging a USB 3.0 type A USB hub into my USB 3.0 type C USB hub (the one I mentioned previously) and then plug my flash drive into the USB type A hub, and somehow it fixed all the issues. Suddenly I was getting reads and writes that were capped at the speed of my phone's flash memory, it recognized the flash drive the first time I plugged it in every time, and it never disconnected randomly. The same thing happened when I changed out the USB type C hub for the direct cable as well. Below I've added a crude attempt at making what I'm saying more clear:
Phone > USB-C hub > flash drive    does not work
Phone > USB-C to USB 3.1 gen 2 adapter > flash drive    does not work
Phone > USB-C hub > USB A hub > flash drive works
Phone > USB-C to USB 3.1 gen 2 adapter > USB A hub > flash drive    works
When I try to transfer files to and from the flash drive through TWRP, the same issues are present.
I'm using a custom ROM (crDroid) with a stock kernel on Android 11, so I'm going to see shortly if flashing completely back to stock firmware fixes the issue, and will update this post if it does (see edit). I could also grab some system logs if that would help, but I haven't been able to find anything useful through MatLog (at least not that I really understand).
If anyone has any idea why adding another USB hub in would fix whatever issue is going on, I'd greatly appreciate your response even if there is no solution, as it doesn't make any sense to me as is.
EDIT: I've confirmed that flashing back to stock does not solve the issue. I flashed every partition manually with OOS 10 images, and even tried MSM tool, but the problem persists. This means that it may be an issue with my specific model as a whole, but I do not have another OnePlus 7 Pro to test it with. I suppose it could be a hardware issue specific to my individual phone, but I'm unable to determine that myself. In any case, there is some bad interaction caused on my phone's end, and it may be caused in part by an issue with the flash drive.
THEORY: My current best theory is that there's some issue with the way that my phone is interpreting the USB 3.1 gen 2 protocol, and somehow adding another USB hub in there helps to "sanitize" it or something of the sort. Since I do not have another USB 3.1 gen 2 flash drive, I'm unable to tell if this is specific to this singular flash drive, or if my theory about the protocol interpretation is correct in the slightest. If anyone knows more about USB protocol, then I'd love to hear what you have to say. I have no idea if my theory makes sense in reality, but it's the only explanation I could think of that made any sense to me.

Has the hub an own power supply? May be the flash drive requires too much power the OnePlus 7 Pro can't provide?

@Robert No, it does not have a power supply, and given that it works fine on the USB 2.0 port on the USB-C hub (which is also powered entirely by the phone), I can't imagine that it's a power issue. That was the first thing that came to mind for me too because of the random disconnects, but I don't think that it would be fixed by adding another hub (which should actually drain a bit more power).

When using USB2 most USB sticks requires much less power than when using USB3.0+ therefore it could be a power issue. You can easily see the power issue by touching the stick when connected to a PC. When connected to USB3 most sticks are getting much hotter than on USB2.

@Robert I should clarify that when I use the second hub (which provides no external power), it's transferring at USB 3.0 speeds, so it should be drawing the same amount of power as it would be if I were to have simply plugged it into the first hub.


text:
WhatsApp QR scanner seems blurry
My WhatsApp QR scanner is not working when needed for WhatsApp Web. It seems blurry, while my phone's camera is actually perfectly clear.
Secondly, I have restarted the phone none worked, same issue not working. Thirdly, I have switched off the phone & again start, nothing worked out. Fourthly, I have tried using my corporate number and the QR scanner started in a micro second in WhatsApp Web.
How to fix it?

Create a support ticket with Facebook to fix their app somehow, and in the meantime:

Press PrtScrn to copy the screen to the clipboard.
Paste it in an image viewer like Paint.
Zoom it using Ctrl++ or a slider.
Try the blurry WhatsApp scanner before the code changes.


text:
USB connection with my android not working any longer
I have a problem connecting my android phone with my PC. I however get the option of Transfer files under Use USB for but this does not seem work. Any leads?

Check different USB cable and different USB port on your PC.

Thanks for the suggestion I have tried phones and different cables(Type C and the normal USB)

you get Use USB for popup when connecting?

https://www.google.com/search?q=mtp+usb+device+bug


text:
Google Play Store stuck on "Pending" (Android 10)
The issue with Google Play Store being stuck on "Pending" has been discussed a lot. We all know the solution: clear the cache.
But I'd like to delve deeper into this problem. I'd appreciate a serious explanation:

Am I doomed to forever needing to clear the cache before ever doing anything with Play Store? All the "clear your cache" solutions posted on the Internet kind of imply that you should do this once, or at worst maybe once every several months. But me, I need to install stuff from the Store thrice a day! And it just doesn't work unless I clear the cache each and every time.

What crime have I committed that my Android behaves this way? Why do some phones do and some don't? Why isn't Google able to come up with the solution for this seemingly simple issue after all these years? Is there some workaround that I'm not aware of? After all, one (not me) could write a macro or something that automatically clears the cache when you click on Store. Would you advise me to purchase a new phone? It's very difficult to work like this.

Thanks y'all!


text:
Rootdir meaning in Android
So here these are two quotes which I think describe well what the root dir is :

rootdir: the root directory (/). All files/folders/filesystems are stored in or mounted under rootdir. On Android, the filesystem may be either rootfs or the system partition.

From here
And the second one from superuser forums

That means it is the ultimate parent or grandparent or grand grandparent of any file or directory you can find on your system.
It contains all the files necessary for the system to work such as boot files, libraries, packages, essential binaries, system configuration, user files and temporary files.

But I am a bit confused : if I am correct the rootdir is the place where all filesystems are mounted. But in Android that does not happen (at least Android 10+) : the root dir is /system however some directories are not mounted in the system directory. Example : data which is mounted... well under /data (and not /system/data) or also the vendor partition, mounted under /vendor. So I deduced that not all directories are mounted in the root dir, here /system. Why ?

Well from multiple sentences in magisk repo docs. See
SAR: System-as-root. That is, the device uses system as rootdir instead of rootfs
because rootdir is in system

Are you referring to system_as_root systems? Then this is a misunderstood on your side, because on such systems the system.img is not mounted to /system instead it is mounted to / -> the mount point has also changed. See https://source.android.com/devices/bootloader/partitions/system-as-root#sar-partitioning

/ is always the "root dir" within a context of concern. The fact that Android has its system stuff placed in a filesystem/partition that gets mounted on /system/ doesn't make it the "root dir". It's just a taste / preference of file hierarchy.

@Robert oh I didn't know that. So, a system_as_root device mounts the system.img to / and then other partitions such as data or vendor are mounted under that mount point of system.img ? And just another question : since system files are under /system I guess that the system.img file is actually made of a system dir which itself contains system files and that these system files are not in the root of the system image since otherwise all system files would be mounted to /. Am I correct ? Sorry for my bad English :/

In other words, the "system filesystem" in "normal" Linux is usually (if not always) mounted on /, while on Android, the "system filesystem" is usually (if not always) mounted on /system, while its "root filesystem" (i.e. the filesystem that is mounted on /) is often a tmpfs (IIRC) that has several directories (system, data, etc.) created on it that are used as mountpoints for the various partitions/filesystems of the OS.

As you can see, it's mainly due to the fact that Android adopts the system / data / etc. "separation" hierarchy / partitioning. Actually even in "normal" Linux setup, some people would have the content of /usr/ or /home/ or some other placed in a separated filesystem/partition. (So "system filesystem" in "normal" Linux is just a loose analogy, the hierarchy design is simply different in them.)

Ok so when Android boots basically, it mounts a tempfs on / and then mounts system.img on it, alongside with other partitions and assign a usually assign a directory per filesystem. Am I correct ?

I'm not gonna write it as an answer since it's usually a wasted effort in case of technical topics. But if you are familiar with C/C++ syntax, start reading here what Android's init does after the kernel hands over charge to it on boot. If not, read at least the basics of switch_root. You'll get a very clear picture of what's happening.

As a bonus, you may want to read Android device partitions and filesystems and Android boot process

you can mount any partition to any directory, location doesn't matter. what you have quoted is just a description of google's choice for android (which has changed between versions) not a law. rootdir meaning is not different from linux it's always /

Thank you all for your answers. I understood everything


text:
Name and type of virus on Android which is attacking file system and storage drives
There's a virus on my Android phone which is attacking the file systems and storage drives attached to my device.
I need help identifying the virus, so that I may further my research and come up with a solution to the problem.
Below is a list of symptoms that the virus is afflicting to my device:

It appears to be filling my storage drives with fake, unacceptable data. The Android system is notifying me that I'm running out of data storage, yet when I check my drives, the actual data there is barely consuming a 1/10th of what storage space is available.
The Android system at times seems slower and less responsive.
Applications have limited to no ability to write to my storage devices, because I can't identify and remove the fake data. Disk cleaning is inefficient,  and the fake data returns like cancer.

Please help me identify the virus which is attacking my Android phone, and feel free asking me any questions regarding my problem. Thank you.

Lack of knowledge is the worst virus :) Here are some resources to educate yourself on the subject: How disk space is used on Android device? and How to identify the app/process which re-mounts partitions R/W, creates files and changes file permissions?

Thank you, it's all about understanding the problem.

I did a bit of research and realized that what I can see in my data directory is only one of six partitions. The data that's overfilling my main storage drive may be in the other partitions that require root access to view.

Reference regarding Android File System: https://www-androidauthority-com.cdn.ampproject.org/v/s/www.androidauthority.com/phone-storage-folders-explained-744100/?amp_js_v=a6&amp_gsa=1&usqp=mq331AQHKAFQArABIA%3D%3D#aoh=16219853243732&referrer=https%3A%2F%2Fwww.google.com&amp_tf=From%20%251%24s&ampshare=https%3A%2F%2Fwww.androidauthority.com%2Fphone-storage-folders-explained-744100%2F

Android devices usually have a few dozens of partitions, not 6: https://forum.xda-developers.com/t/info-android-device-partitions-and-filesystems.3586565/. But major space is occupied by /data, /system, /vendor etc.


text:
Possible to use the same Google accounts on 2 exact same phones?
I'm trying to find out if I can use my Google accounts on 2 exact mobile phones?
I've only been able to find that you can use Google accounts on multiple devices, but can the devices be the same make & model?

Two mobile phones are never "exact the same" because each phone has a unique IMEI and other serial numbers.

Obviously the same model phone is what I was referring too!

Yes, it is possible to use the same Google account on 2 exact same phones, even both same make and model.
No specific source or reference, but Google doesn't really put any restrictions on how their account is used on Android, including on many Android emulators having the "same" make and model.

Apparently you can't use the play store on both of then. I have two of the same device and the play store only recognizes one of them. The play store won't even let me install the store. I had to stop the ad blockers on chrome browser and use the link to the play store app.Then I found only one listed.

This is not true and never has been since Android 4, for me anyway.

Looks like there's an issue with one of your device, though the detail is currently lacking. Like, have you logged in the same Google account on the other device? Also, looks like you're talking about the Play Store website. Note that Play Store app cannot be installed from any stores; it needs to be flashed (along with few Google services as a bare minimum) for it to work properly.