text:
Can you auto reject phone numbers natively with a Droid phone?
I have a Droid X and I'm trying to set up an auto reject list and it looks like I have to download a third party app to do it. Am I missing something?

This depends on the features that come with your Droid X, as they may be slightly different than other brands of Android phones.
On my phone (Cyanogenmod 7.1 Gingerbread) there is a setting under Menu -> Settings -> Call Settings -> Blacklist, and another forum user says in Android 2.1 there is an option under Menu -> settings -> call settings -> all calls -> auto reject.
Others say in some contacts applications you can long-press a contact and choose to block them specifically.
Another good solution is to use Google Voice to handle calls and voicemail and such. It's not built in to begin with, but it's a Google service, so like second party.
Although,

In ICS you can specify a reject list that matches certain criteria
  (Start with, Ends with, Includes, Exactly the same as). This way you
  could specify Start with 1-800 and it would reject all calls that
  start with 1-800.

according to a post on this forum. So if you're using an ICS ROM, you may be in luck, as most here are skeptical about the Droid X getting an official ICS update.

FYI, on my phone (CM7.2), you can long press the end call button and block them that way. I figured this out after having inadvertently blocked someone for a month. >_< Too easy to do by accident.

Mr. Number. Options to block calls and/or texts. Gives you options of sending straight to VM or disconnecting. Very good at recognizing and blocking spam. I also set mine to divert unknown #s to VM. Figured if they wanted to talk bad enough, they wouldnt have their # blocked, lol.
I realize this isnt native as you were asking, but much better than any native way.

Thanks for the tip. Would you mind to share a link with us?


text:
Bluetooth dongle support for Ubislate 9ci tablet
I purchased a new tablet Datawind Ubislate 9ci. It is a 9 inch no-bluetooth tablet.
Details:

Android 4.1.1
Rock chip RK2928
Linux kernel version 3.0.36+

I want to attach a Bluetooth dongle to this tablet. I have micro USB OTG cable and Bluetooth USB 2.0. Please suggest and guide me on how to do this, with download links to ROM, firmware, etc.
I found a software from Google Play and it is recognising the BT USB 2.0, but it is not connecting to the tablet  I have run the USB host diagnostics; everything is showing "yes".
The BT Dongle is recognised by USB host controller version 0.44 from Google Play Store. It is showing as below:

under info: s3c usb host driver not found ! Root hub present, usb host
  mode is active
under usb: 2-1 0179:0bda Realtek 802.11n NIC
1-1 0001:0a12 Bluetooth v 2.0 Bluetooth v 2.0 dongle

As per your doubt, BT dongle is not recognised by "Android". This BT dongle, when plugged to Windows XP computer, it is recognised by computer.

please post this question to usb-host-mode, usb-on-the-go

You say "it" recognizes the dongle, what is "it"? Android or the app? Which app?

According to some sources, Bluetooth dongle support was added in Android 4.2.2, and it requires some effort from the ROM developers, so it's not in every Android version. You should either ask the manufacturer for a ROM that supports BT dongles, or try to find a custom ROM like CyanogenMod for your device that has the support.
Sources: Does Android 4.2.2 support usb bluetooth dongle?
Bluetooth dongle via OTG

source: Stack Exchange

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

authors: ابراهيم العيدروس

sort: votes


text:
CyanogenMod 9 gives AuthenticatorException while adding account
I had installed custom ROM CyanogenMod 9. But I am not able to make Google play work in it. It doesn't show Add Google Account option in the Accounts & Sync option in Settings.
I had also googled and found that I need the latest gapps to be installed. So, I downloaded the latest gapps from goo.im but still I am not able to setup my Google Account. When I installed google play apk and run it, it gets closed after few seconds. I checked the logs and it gave be below exception,
D/AccountManagerService( 276): there is no authenticator for com.google, bailing out
D/AccountManagerService( 276): bind attempt failed for Session: expectLaunch false, connected false, stats (0/0/0), lifetime 0.0, addAccount, accountType com.google, requiredFeatures null
I/AccountManagerService( 276): unbind() over.
D/Finsky ( 4061): [1] 13.run: AuthenticatorException while adding account: android.accounts.AuthenticatorException: bind failure. Finishing.

So, anybody had the same issue if future please let me know. What can be the way that I can solve my problem.

Download the gapps from here: http://goo.im/gapps/gapps-jb-20121011-signed.zip (latest)  download the zip.
check the MD5 and flash it from recovery.
Wipe data and cache.
reboot.

how to check the MD5? also I am having ICS now so for that also I need to flash gapps of Jelly Bean?

ooooops sorry wrong link !

download it frm here: http://goo.im/gapps/gapps-ics-20120429-signed.zip. Try to flash gapps immediately after flashing the rom without reboot in between.
wipe data n cache and reboot.

already did that! didn't work.

then ur mod might not be stable version of CM9.Try to download the stable mod for ur device, don't go for experimental/nightly versions...

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


text:
How to set distinct boot and lockscreen passwords in Android 10 (full disk encryption)
How can I set a distinct password for:

The Full Disk Encryption password (used to boot the device)
The Lock Screen password (used to unlock the device)

For security reasons, I use a 25-50 character password to protect my devices when off and a shorter password for the lock screen.
This was previously possible using apps such as:

EncPassChanger or
Cryptfs Password

I just upgraded my phone, and neither of these apps appear to work in Android 10.
How can I set a distinct password for [a] the boot password and [b] the lockscreen password in Android 10?

Are you sure your device uses FDE? Modern devices no longer use full disk encryption, instead file-based encryption is used. See How can I find out if my device uses FBE or FDE?

See also https://android.stackexchange.com/questions/239114/how-to-use-fde-in-android-10-full-disk-encryption

Solution: Primary & Secondary account, distinct passwords
This doesn't answer your question directly, but you can probably achieve what you want by using multiple profiles with distinct passwords.
Set the "owner" profile to a very long "boot" passphrase.
Then create a new user profile (Settings -> System -> Advanced -> Multiple users -> Add user). Switch to this user and set a shorter "lockscreen" password.
Now when you boot the phone, in order to access the secondary user's data and apps, you must type the long "boot" passphrase for the "owner" user first, then you must type the shorter "lockscreen" password for the secondary user.
After switched to the secondary user (thereby necessarily having authenticated with both passwords), your lockscreen will be unlocked with the shorter "unlock" password.
If you reboot the device, then you must type both passphrases again. This achieves almost the same end as having FDE with a distinct boot & lockscreen password.
Issue: FDE removed in Android 10
Unfortunately, the solution you're looking for does not appear to be possible because it's not possible to use FDE in Android since Android 10.
According to the ASOP documentation, it is no longer possible to use FDE and the user is forced to use File-Based Encryption

Note: Devices running Android 7.0–9 support full-disk encryption. New devices running Android 10 and higher must use file-based encryption.

More issues: Backups
Unfortunately, the biggest issue with the dual-user approach is backups.
As far as I can tell, both users have distinct files (encrypted with distinct keys that are not shared), apps, and app data.
Moreover, secondary users in Android cannot use adb or become root. Therefore, adb backup and tools like oandbackups will not work because the "owner" user (the only user who can become root) cannot see the secondary user's files/apps/data.
So, if you're google-free, then this solution probably means you cannot backup your phone anymore :(
Update: I was successfully able to restore backups of apps taken on my old phone's "owner" account in oandbackups and restore them to my new phone's secondary user's account with oandbackups following this procedure:

first, uninstall the app if already present
open oandbackup (as the secondary user, needs root)
find the package you want to restore, long-click it -> click "uninstall"
when finished, long-click it again -> restore -> apk (only)
open the app as the secondary user
after opening it, run ls -lah /data/user/10/xyz.tld and make a note of all the owner:group perms of the files
back in oandbackups, choose "restore -> data" for the package
run mv /data/user/10/xyz.tld /data/user/10/xyz.tld.fresh
run mv /data/user/0/xyz.tld /data/user/10/
run chown abc:xyz -R /data/user/10/xyz.tld to match the permissions of the freshly-installed app for this user
run restorecon -R /data/user/10/xyz.tld to fix SELINUX permissions
reboot the phone (if you don't do this, opening the app will immediately crash)

Secondary users can access root. The superuser manager has to provide that functionality. Magisk allows running it in multiuser mode. Enable it, install Magisk Manager app in secondary user and test it out using an app which requests superuser permissions, such as Terminal Emulator. It would work. As for adb, it is not about secondary users. It is that functionality you are after is not added in the Android. Android backup relies on backup manager service which by-default doesn't run for secondary users, so adb backup or adb shell bu  doesn't work as a result IMO...

This is more of a functionality missing than a constraint. As for backup tools, they need to be programmed to work with root acces in secondary user accounts. So far, I have found none (likely because the demand for such feature and the size of users needing such feature is miniscule by any standard). That said, if an app can access root when running under a secondary user, it should not have problem backing up data too. See How to access /storage/emulated/10 (multi-users env) in adb shell on Android 9+ without root access?

@Firelord Thank you so much for this! To gain root in a secondary user profile, you must first open the Magisk Manager app in the "owner" profile and navigate to Settings -> Multiuser Mode. Set it to User-Independent = Each user has his/her own separate root rules. Now switch back to the secondary user profile, and you can use Magisk Manager in the secondary user profile to grant root to applications. Hooray!

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


text:
More flexible Digital Wellbeing settings for limiting time spent in specific apps?
Digital Wellbeing is a feature/app built in to recent Google phones and some phones with Google-licensed Android distributions, but it isn't open source, so unfortunately it doesn't seem like it would be possible to modify it and add new features. I am looking for something a little more powerful, that would allow me to, for example:

Group a bunch of social media apps together, and have one time limit per day that covers them all as a group, rather than timing the usage of each individual app separately. For example, instead of limiting myself to 30 minutes on Twitter, 30 minutes on Facebook, and 30 minutes on Reddit, I would like to be able to limit myself to 1.5 hours in total on any "social media" app (the group of apps being definable by me, and I would define it to include Twitter, Facebook, Reddit, and perhaps others). So with that "group limit", I would be able to spend, for example, 1 hour on Twitter and 30 minutes on Facebook, but then it wouldn't allow me to use any of those 3 apps for the remainder of the day.
Disable the time limits automatically at weekends, and re-enable them at the beginning of the next week
Disable all the time limits manually in the evening, but have them re-enabled automatically the following day, in case I forget to do so.

Is there any way I can achieve these goals?
Also, is there any way to also achieve these goals on my Windows PC, in a unified way? Right now I'm just blocking those particular websites on my PC, as a workaround. That means I can only access them on my phone, so I don't have an easy way to get around the time limits I've set up on my phone. But it would be nice to have a time limit that's shared across all of my devices.

TimeLimit can be used to achieve the first three goals. Steps to follow:

Go into Settings -> Digital Wellbeing and delete all existing time limits, making a note of them as you do so, so you can recreate them below. They will be managed by Timelimit instead, from now on.
Install Timelimit from F-Droid (where it is called Open Timelimit) or Google Play.
Open the Timelimit app
Grant all the permissions requested - except the device management permission, which is optional, and dangerous, because I think it is impossible to unlock your phone if you forget your "parental" password.
Set a password for the "parental" user (which can be just you, or it can be someone else who you trust to set limits on your behalf)
Add apps which you don't want to be time-limited to the "Allowed Apps" category. Be warned that notifications will be limited too - so make sure to add apps which you want to receive notifications at all times from, to this category!
Create a new category, e.g. "Social media".
Add the apps that you want to be in this category
Set a time limit for each day that you want the time limit to apply on, individually. So if you want to limit the apps during week days, you have to create 5 separate limits, one for each day. There is a warning message that warns you that you have to do it this way, but it's easy to skip past it and miss it. The problem is, if you just select all 5 week days, your limit will apply to the whole 5 days, and once it's exceeded, it's exceeded for the whole week!

The "child" user is the user that is restricted, and does not need a password. You can rename that user if you are not a child, by going into it and tapping the gear icon.
If you are asking someone else to manage the time limits on your behalf, perhaps because you don't trust yourself to manage them appropriately, there is currently no option to rename the "parent 1" user, but you can achieve the same effect by creating a new "parent" and then deleting "parent 1".

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


text:
How to root a Lenovo Tab M8 FHD (TB_8705F)
I have tried to root my tablet using the one click options but wasn't successful.
Does anyone know of a way to root it?
Thank You,

try mtk-su bootless root

@alecxs Thanks for your suggestion. I will probably try this on another device I have but for the Lenovo tab M8 see my answer  since I found a solution.

Here is a solution that I found after a lot of research and trial and error.
Disclaimer I don't take any responsibility for your device follow this at your own risk!

Warning This step will factory reset device (delete all your data) Unlock your bootloader.

Turn on OEM unlocking and USB Debugging in developer settings.
On Pc do fastboot flashing unlock. For more info on unlocking please see here.

Get the firmware for your device using "Rescue and Smart Assistant"
form Lenovo's website. You will need to log in with your Lenovo ID
to be able to
Install Magisk Manager on your device.
Get the boot.img from the firmware and copy it onto your device.
In Magisk Manager click on Install and select Select and Patch File then select the boot.img you copied.
Copy the patched image back to the PC.
Flash the patched image to the boot partition with fastboot.

All Done!

please note the link is not common method for Lenovo bootloader unlock, there are several devices where one
need unlock code https://www.hardreset.info/devices/lenovo/lenovo-tb3-710f-tab3-7-essential/faq/faq/bootloader-moto-unlock-lenovo-motorola-root

I updated the link to a better tutorial. Basically its unlocked the same like most devices any online search will provide the directions.


text:
How do I update the lock screen clock?
My Samsung Galaxy tab A6 shows the correct time on the home screen. However when it's locked it shows the time one hour ahead. So 10:30 instead of 9:30 for example.
How do I get the lock screen clock to show the same time as the home screen clock?

As it turns out - the timezone was set to GMT+2 when it should have been GMT+1.

Hi, could you clarify a little bit on what you changed? Did you mean there's a different setting for the lock screen's clock?

I went into: Apps -> Settings -> Date and time -> Select time zone And selected British Summer time (it was set  to something else 1 hour in front of BST)


text:
mount: Permission denied (when mounting /system directory on android device)
I have rooted Samsung Galaxy S4 (Int) using CynongenMod OS. I am trying to install and run an executable file which needs its configuration file to be copied to the /system directory.
Now, after copying my files from PC to the /sdcard folder, i am unable to copy the .conf file to /system/etc and I can't also copy .exe file to /system/bin.
I know that I have to mount the /system directory. I restarted my phone and boot into Recovery Mode and then mounted /system directory, but it did not work.
I also tried mounting it manually from the adb shell using the following command:
mount -o remount wr /system/

still it is not mounting and I can't perform the copy. It shows me in the terminal the following message:
mount: Permission denied

so please help me mounting the /system directory

@AlexP.: It worked. Would you please put your comment as an answer, thank you

Thank you @ChrisStratton for the note, and sorry for putting off-topic question .. what do you suggest I do , should I delete the question ?

You don't need to do anything - you have your answer and the question may or may not be closed by the community.


text:
Completely wiping all contents and storage in SmartQ T10 tablet. No Recovery, no CWM, no ADB
I wanna hard reset my SmartQ T10 so memory and internal storage become fully deleted, but my device does not have such option in Settings, nor there is ClockWorkMod Recovery released for it.
I did try:
- Restore firmware.
- Boot pressing volume up, volume down and both (goes to firmware restore).
- ADB: adb reboot recovery (goes to firmware restore too).
- Research at http://www.hard-reset.com/ (no SmartQ models there).
so I was wondering if it exists any generic non-platform-specific trick.

For a real safe and complete wipe, you might want to take a look at Nuke my Device.
If you're just after a factory-reset, this can be find in Settings. But then you shouldn't forget about your other storage (SDcards – internal as well as external – are usually not dealt with by a factory-reset, though some ROMs do so).

Well, I was mostly thinking about some NAND Wipe, Cache Wipe and Dalvik Wipe, like in CWM.
As I wrote, there is no factory-reset option in my Settings. Maybe that is because I have installed an unofficial firmware Android 2.3.4 Beta.

Maybe – though I've never seen any without that option. As I wrote, the app mentioned should cover that. According to its description, it offers you to safely delete/wipe everything, and then automatically factory-resetting the device as a "finalizer". // All those wipes could be done from a custom recovery (which you don't have), but also via ADB/Fastboot commands.

Another equivalent app free, please?

I don't know any other (free) app doing the same. Just another paid one for the same price. For partial solutions, see the list here

I think I have finally found a partial solution. By using these commands via ADB, what can be done by USB cable or Wireless ADB (my case), the contents of the internal filesystem of the tablet seems to have become clean:
adb shell
wipe data

I hope this info will help anyone.


text:
How to turn off the spell checker in Android 4.4.2?
I have a Nexus 4 with Android 4.4.2 and I can't switch off the spell checker. I write messages in several different languages and it insists on changing foreign words to the closest English. Writing a message can take me several minutes to sort out all the errors Android itself introduces.
Assessing Settings > Language & input the Spell checker field is turned off, but this doesn't stop Android from messing up my messages.
Thank you.

Try going into Settings > Language & Input and configure the Google Keyboard.
In there you can turn off 'Auto-correction'. This should stop it from changing the foreign words to English.
You could also try adding additional dictionaries. This should allow you to enter words from different languages without it detecting them as mis-spelt English words.

For a good international keyboard that lets you mix languages within the same message, I recommend Swiftkey https://play.google.com/store/apps/details?id=com.touchtype.swiftkey I have no idea if the google keyboard allows you to mix languages now, but a couple of years ago, it didn't, so Swiftkey was a life-saver for me.

On HTC One M8 what I did:
Settings -> Language & keyboard -> Keyboard options -> Advanced -> Word prediction unticked.
Worked for me.

I did Settings -> Language & Input and turned off Spell checker.
And then still in Language & Input I went into the Google Keyboard config, de-selected Use System Language, de-selected English(US), then selected Alphabet(QWERTY).

Android 5.1.1.
Settings>Language & Input>Google Keyboard>Text Correction>Disable Auto Correction

Just turn off Swiftkey and auto correction on your remaining keyboards in Settings → Language & keyboard.

What has Swiftkey got to do with anything? It wasn't mentioned in the question.


text:
adb shell svc power stayon multiple device
When there is multiple Android-devices connected with Linux computer (using Linux Mint 20.2 Cinnamon, which is based on appropriate Ubuntu 20.04 LTS version) and scrcpy v1.12 then how to keep multiple devices awake?
When one device connected, then I used:
adb shell svc power stayon true

... and it worked.
When multiple devices, then there will be an error message:
error: more than one device/emulator

Tried find a solution, but no luck so far. Tried to connect devices one at a time and then run, but it didn't work. Having one device using OxygenOS 9.0.6, which is based on Android appropriate version. Second device has LineageOS 18.1, which is based on Android 11.
Using following commands to connect with multiple devices:
scrcpy -s <ID1> -m 1024 -S&
scrcpy -s <ID2> -S&

The -S will turn of device screen, once it is connected. I would like to keep screen on at computer, while using scrcpy, but device screen should be turned off at the same time.
Tried also GUI but it didn't help either. One device with Android 9 has screen always on, but another device with Android 11 will time out and also scrcpy window will turn off. I know, that there is a shortcut key CTRL+O at scrcpy, which helps to turn off device screen or using -S will do it immediately after connecting.
Any idea, how to solve this?

adb -s  shell commands will work as usual, but afaik scrcpy has special cmd line parameters. try --stay-awake

Isn't there an command-line option is scrcpy that keeps the device awake? I remember that I have used such an option some months ago.

The --stay-awake seems to be possible since v1.14 (https://github.com/Genymobile/scrcpy/releases/tag/v1.14), but having still v1.12 in latest LTS-version of Ubuntu. But "adb -s  shell svc power stayon true" did the trick and seems, that this the only one alternative until scrcpy v1.14 and newer arrive to LTS-version of Ubuntu. Seems, that Ubuntu 20.10 has v1.14 already. So, next Ubuntu LTS should have it. Until that the mentioned adb command can be used.

The answer is
adb -s <ID> shell svc power stayon true

Device IDs can be retrieved, while Android devices are connected with computer via USB-cable (or WiFi):
adb devices
<ID1>  device
<ID2>  device

If device is not recognized, then please ensure, that USB-debugging is turned on while USB-cable is connected. For that in turn there is needed a developer mode beforehand. Also Default USB configuration is worth to check, e.g. charge only and no data transfer by default in order to avoid possible personal data revealing or malware infection at foreign computer. Even in own computer, it is not needed all the time mount device storage, if you just need to use screen mirroring. Whenever data retrieval from Android device is needed, USB mode can be changed (while Android device USB-cable is connected with computer) via notification menu, usually pulled down from upper edge on Android device.
E.g. in Linux there can be created dedicated shortcut icons (~/.local/share/applications/*.desktop) with appropriate PNG-images (~/.local/share/icons/*.png).
device 1:
Exec=sh -c 'adb -s <ID1> shell svc power stayon true && scrcpy -s <ID1> -S &'

device 2
Exec=sh -c 'adb -s <ID2> shell svc power stayon true && scrcpy -s <ID2> -S &'

The -S will turn off Android device screen immediately when connecting, but the first part of command until && will keep scrcpy mirrored image on computer screen always on and device will not be locked even on idle time. Additional explanation about svc power command can be found from source code. The command will set whether to keep your device awake (prevent sleeping) or not while it's being charged on specific platform: USB charging, AC power, wireless charging, or all of them:

true will set all flags (usb, ac, wireless)
false will clear all flags
usb/ac/wireless will set that specific flag while clear the other

The same setting usually can be accessed on "Developer options" named "Stay awake", though it's simpler with only toggle to turn on/off.
The overall desktop shortcut code (replace the <device name> and <ID> with appropriate values) for ~/.local/share/applications/*.desktop file(s), also possibly change category:
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=<device name>
GenericName=<device name>
Comment=Android screen copy
Icon=scrcpy-<device>
Exec=sh -c 'adb -s <ID> shell svc power stayon true && scrcpy -s <ID> -S &'
Terminal=false
StartupNotify=false
Categories=Utility;

Thank you commentators for hints!


text:
How can I set the Teams default meeting settings so that the video + microphone are always turned off by default?
How can I set the Teams default meeting settings so that the video + microphone are always turned off by default?
I use MS Teams on Android 10 with Samsung Galaxy S9.

I use teams daily both on Android and Desktop. There are no settings options for these. (Why, I have no idea) There have been plenty of requests for it...
Teams will automatically mute you if there are 5+ users already in the meeting.
As far as video goes, it appears teams takes the default from your previous meetings. My video isn't automatically set to on when I join meetings anymore. Make sure you select video off in the screen that pops up before you join the meeting. That setting should take effect then.


text:
How to grant “Allow always” for Geolocalization to an app?
I’ve got an android mobile phone. It’s a Xiaomi Redmi Note 9 Pro, with MIUI Global 12.0.1 (Android 11). I installed 3 applications for global position background tracing:

OruxMap
Komoot
View Ranger

Only for OruxMap, in AppInfo, under the option “App permissions” > “Geolocalization”, I’ve got 4 options:

Allow always
Allow while the app is in use
Ask every time
Deny

But for the other apps I can’t find “Allow always” and I’ve got only the other 3 options. I compared my situation with two friends with the same 3 apps on their smartphones. One friend never sees “Allow always” option. The other sees “Allow always” option for different applications.
In order to grant background geolocalization for tracking purposes to the application of my choice, how can I visualize the “Allow always” option in the App Info for a specific application?

Allow Always permission option (via app settings options) is available only if the app asks for background location permission (ACCESS_BACKGROUND_LOCATION). This is explained in developer documentation Background Location.
Komoot and View Ranger apps do not ask for background location permission (see permissions listed under the app on Play Store or view the app manifest) . Hence you do not see that option in app settings.
If an app doesn't ask for a permission, user can't grant it, unless the device is rooted and that too in some cases. See Irfan's answer for detailed explanation in a similar case (though, for a different permission).
There isn't much you can do about this except look for alternative apps that ask for background location permission and meeting your needs.

Ok: I see. I also realised that OruxMap on my device is been installed from apk downloaded directly from their site, hence we're comparing different versions. Tnx


text:
How to get library installation path
Some Android apps require libraries to be linked against by specifying <uses-library> in their Manifest (in the application element):
<uses-library android:name="com.example.customlib" android:required="true" />

It is possible to list the installed libraries on the device by running the following command:
$ adb shell cmd package list libraries                                                                                1 ⨯
library:android.ext.services
library:android.ext.shared
library:android.hidl.base-V1.0-java
library:android.hidl.manager-V1.0-java
library:com.android.future.usb.accessory
library:com.android.location.provider
library:com.android.media.remotedisplay
library:com.google.android.gms
library:com.google.android.trichromelibrary
library:javax.obex
library:org.apache.http.legacy
library:com.example.customlib
...

Where are these libraries installed? Is there a command similar to adb shell pm path com.exaple.packagename that would return the path of com.example.customlib? When I tried pm path, it does not return anything.

Most of the libraries you search can be found in /system/framework
Example output form an Android 10 device:
    3621 2009-01-01 01:00 CustomPropInterface.jar
  193854 2009-01-01 01:00 OPCommonTelephony.jar
   21325 2009-01-01 01:00 am.jar
   13122 2009-01-01 01:00 android.hidl.base-V1.0-java.jar
   31354 2009-01-01 01:00 android.hidl.manager-V1.0-java.jar
   33410 2009-01-01 01:00 android.test.base.jar
   57302 2009-01-01 01:00 android.test.mock.jar
  106118 2009-01-01 01:00 android.test.runner.jar
    5693 2009-01-01 01:00 appwidget.jar
   31002 2009-01-01 01:00 bmgr.jar
    7445 2009-01-01 01:00 bu.jar
    5310 2009-01-01 01:00 com.android.future.usb.accessory.jar
   20050 2009-01-01 01:00 com.android.location.provider.jar
    9230 2009-01-01 01:00 com.android.media.remotedisplay.jar
    2906 2009-01-01 01:00 com.android.mediadrm.signer.jar
    7954 2009-01-01 01:00 com.android.nfc_extras.jar
   19389 2009-01-01 01:00 content.jar
    9193 2009-01-01 01:00 dpm.jar
   99829 2009-01-01 01:00 duraspeed.jar
   38582 2009-01-01 01:00 ethernet-service.jar
 3007999 2009-01-01 01:00 ext.jar
27047266 2009-01-01 01:00 framework.jar
   17217 2009-01-01 01:00 hid.jar
  153906 2009-01-01 01:00 ims-common.jar
   13573 2009-01-01 01:00 input.jar
   54682 2009-01-01 01:00 javax.obex.jar
    3721 2009-01-01 01:00 locksettings.jar
   79905 2009-01-01 01:00 log-handler.jar
   16086 2009-01-01 01:00 media.jar
  114510 2009-01-01 01:00 mediatek-common.jar
   99278 2009-01-01 01:00 mediatek-cta.jar
  189961 2009-01-01 01:00 mediatek-framework-net.jar
  405350 2009-01-01 01:00 mediatek-framework.jar
  107978 2009-01-01 01:00 mediatek-ims-base.jar
   73974 2009-01-01 01:00 mediatek-ims-common.jar
   12061 2009-01-01 01:00 mediatek-ims-extension-plugin.jar
 2506910 2009-01-01 01:00 mediatek-ims-legacy.jar
  483881 2009-01-01 01:00 mediatek-ims-wwop-common.jar
  230333 2009-01-01 01:00 mediatek-services.jar
   49334 2009-01-01 01:00 mediatek-telecom-common.jar
  361002 2009-01-01 01:00 mediatek-telephony-base.jar
 2762490 2009-01-01 01:00 mediatek-telephony-common.jar
 1580981 2009-01-01 01:00 mediatek-wfo-legacy.jar
  114753 2009-01-01 01:00 monkey.jar
    3937 2009-01-01 01:00 mtk-wifi-service.jar
  491074 2009-01-01 01:00 org.apache.http.legacy.jar
   12445 2009-01-01 01:00 requestsync.jar
   10205 2009-01-01 01:00 sm.jar
   13273 2009-01-01 01:00 svc.jar
   13145 2009-01-01 01:00 telecom.jar
 2865674 2009-01-01 01:00 telephony-common.jar
  363793 2009-01-01 01:00 uiautomator.jar
   99817 2009-01-01 01:00 via-plugin.jar
  157682 2009-01-01 01:00 voip-common.jar
    4437 2009-01-01 01:00 vr.jar
 3391985 2009-01-01 01:00 wifi-service.jar


text:
status bar with icons to simulate home or power button press
i'm rooted on android 4.0.4 ICS stock.
i would like to have a status bar that even shows in full screen, which can have an icon to simulate a home button press and an icon to simulate a power button press. anyone know of an available way to do this on this rom or another rom?
thank you,

Screen off app: Screen Off and Lock
Then, something like Notification Toggle can be used to have this icon and others in the notification dropdown.

You always can install Button Savior on rooted ROMs (however I'm not aware if it has compatibility problems with some). It worths a try, because it's free (but also has a pro version to purchase).
It allows you to add hardware keys of your phone as virtual software keys on any location of the screen. So you can easily trigger home or back keys just by touching their icons on screen, even on full-screen apps and games.

thanks, but i had tried that one. it doesn't/didn't work for me since i was unable to have the icon in the status bar. having something in the status bar would allow the quick-press access and not obscure the viewing of the active app.

OK, I remember it had also an option to hide the buttons and reveal them only when you touch a tiny trigger button, so your screen won't be obscured. Have you tried that option? I currently haven't installed the app and can't say you the exact address, but you would find it in settings.

the 'trigger' or initial icon to be clicked is what i would like to have in the status bar. 0% obscurity and always-access is the goal for the icon for home/power.

I just installed "Button Savior" to check the case. You are right, it can't be placed on top or bottom, just left or right. May the developer would add that option if you ask him, because I think it hasn't any technical limitations.

thanks for your confirmation. perhaps, i do need to wait on something to be developed. i just posted this question to see if there's something already existing.


text:
"Accept-Language" header sent by Chrome browser on Android
What exactly it depends upon?
For example, if I have only one language specified in the Settings, but the Accept-Language header appears as:

uk-UA,uk;q=0.8,ru;q=0.6,en-US;q=0.4,en;q=0.2

How can I remove extra languages?

As far as I tested, the following behaviours apply to both Android and Linux Desktop versions of Google Chrome:
Every time you change your system locale (via LANG environment variable on Linux; or via System - Languages settings on Android), Google Chrome resets its own language settings (and the Accept-Language header) to a pre-defined list.
For example, if you set system locale to "English (Canada) / en_CA.UTF-8" and restart Chrome, the Accept-Language header will contain four locales: en_CA, en_GB, en_US, and en.
In Chrome settings, you can adjust the list of languages, leaving only "English" (no region suffix), and after a restart of Chrome, the Accept-Language header will contain only one locale: en.
I do not know about uk / ru languages, but you could try adjusting the language list in Chrome settings (don't forget to restart Chrome) and visit https://httpbin.org/headers to examine your Accept-Language header.

It's strange, but now the languages in the settings and the languages in the Accept-Language header do really correspond. Probably that was a problem related to specific version of Google Chrome (or specific environment, at that time I used "Fly" phone, which I abandoned later). Anyway, thanks for you answer.


text:
Can a blocked contact see any number changes?
I would like to ask, whether a blocked contact will receive an information,if I change my Viber phone number?
Is it possible to make the change by only informing a selected group of contacts or everyone I had previous communication with, will get the notification of me changing the number?
Thanks

They will not notice it unless they try to make contact with you after it is done. But things can become awkward if you are both a part of the same group chat. You won’t see their messages but they will see yours. And as a rule, if they are blocked, they won't see any changes of yours.


text:
When installing new ROM through fastboot, which .img files must be flashed, with what arguments, and in what order?
I own a Oneplus 7T, which runs Android 10 and therefore has no working TWRP to flash ROMs with. It's bootloader is unlocked and is rooted.
When installing a new ROM, whether it is a custom ROM or an update to the current ROM, I install them by extracting the ROM zip, extracting payload.bin, and flashing certain .img files in fastboot, following the instructions found here under the 'Manual Flash' section.
However, I'd like to understand more about this process. The instructions flash less .img files than were extracted. For example, in the recent Oneplus 7T OOS 10.0.11 update, the the number of .img files extracted (31) is less than what was flashed according to the instructions (19). Furthermore, the instructions passed the arguments --disable-verity when flashing two of the .imgs, but not the others.
Therefore, I'm wondering:

What does each .img file do?
Which files must be flashed and in what order?
Why are certain files flashed with certain arguments?

A brief description of commonly found partitions (but not all) can be found here: https://forum.xda-developers.com/android/general/info-android-device-partitions-basic-t3586565 // 2. Since fastboot stock ROMs are usually meant to fix bricked devices, they include all partitions, even those not getting frequent updates from OEM. Under normal circumstances you don't need to flash critical partitions like those related to SoC, modem, bootloaders, TEE etc. which may render your device unbootable if flashing goes wrong. // 3. --disable-verity disables dm-verity (Android's Verified Boot).

I own a OnePlus 7 and the same developer has answered a similar question in One Plus 7 device forums
Question

I just noticed, the script in bat file only flashes 25 .img files, but when I extracted payload.bin in OB2 I saw 32 .img files. Does this mean that the other .img files in payload are not needed? Or can I add the command in bat file to flash other images?

Answer

They can't be flashed using fastboot, that are the criticals partitions, they are needed and it's for that these fastboot roms can't be used to update or downgrade the software you have on your device, because the fastboot roms can't flash all partitions. This fastboot roms should be used if your system cannot be used and if you don't have access to TWRP

They need to be flashed in the order specified. All of them (see next point)
.img files replace the file on the device with the one in fastboot ROM, except for critical partitions
(I am not sure what these are for your device but could be boot loader, OTA, TEE, SoC etc) . This accounts for the difference in number (31 extracted but 19 only flashed). See Irfan's comment
--disable-verity is only applicable for vbmeta header files. For more details, see How to disable dm-verity on Android with "user" build type ROM? where the concept is well explained, in detail.

If your ROM developer does it, you can just
fastboot update rom.zip

Where rom.zip contains android-info.txt and at least boot, system, product, vendor, vbmeta, and dtbo img files.
If necessary, unzip and rezip creating an empty android-info.txt.
IMG files contain an exact replica of the partition which is copied exactly onto the device.

While it may have been a requirement before, for Android 10-based Google Pixel, only boot, system, and vendor were flashed.
extracting android-info.txt (0 MB) to RAM...
Checking 'product'                                 OKAY [  0.050s]
Setting current slot to 'b'                        OKAY [  0.447s]
extracting boot.img (29 MB) to disk... took 0.132s
archive does not contain 'boot.sig'
Sending 'boot_b' (29825 KB)                        OKAY [  0.801s]
Writing 'boot_b'                                   OKAY [  0.706s]
archive does not contain 'dtbo.img'
archive does not contain 'dt.img'
archive does not contain 'recovery.img'
archive does not contain 'vbmeta.img'
archive does not contain 'vbmeta_system.img'
archive does not contain 'super_empty.img'
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
archive does not contain 'product.img'
archive does not contain 'product_services.img'
extracting system.img (1949 MB) to disk... took 7.095s
archive does not contain 'system.sig'
Sending sparse 'system_b' 1/4 (524284 KB)          OKAY [ 13.063s]
Writing 'system_b'                                  OKAY [  4.652s]
Sending sparse 'system_b' 2/4 (524284 KB)          OKAY [ 13.006s]
Writing 'system_b'                                 OKAY [  4.006s]
Sending sparse 'system_b' 3/4 (524284 KB)          OKAY [ 13.052s]
Writing 'system_b'                                 OKAY [  4.255s]
Sending sparse 'system_b' 4/4 (423068 KB)          OKAY [ 10.459s]
Writing 'system_b'                                 OKAY [  3.348s]
extracting system_other.img (313 MB) to disk... took 1.306s
archive does not contain 'system.sig'
Sending 'system_a' (320532 KB)                     OKAY [  7.964s]
Writing 'system_a'                                 OKAY [  3.700s]
extracting vendor.img (259 MB) to disk... took 1.012s
archive does not contain 'vendor.sig'
Sending 'vendor_b' (265808 KB)                     OKAY [  6.615s]
Writing 'vendor_b'                                 OKAY [  2.748s]
archive does not contain 'vendor_other.img'
Rebooting                                          OKAY [  0.041s]


text:
Specific MP3 plays over headphones only
I am out of ideas. The following MP3 does not play correctly on many Android-devices:
https://www.heimatmuseum-zinnowitz.de/app/download/12553824899/Kino%20Audiodatei%20Deutsch.mp3?t=1590484494
It contains a German female voice. But on several devices, it does only play over the headphones. If I use the normal speaker, I do only get some noise.
I tried many different things:

Used different devices (works fine on a Samsung-tablet (Android 8.1), but does only work over headphones on my Huawei P20 Pro (Android 9) and another older phone (Android 7)).
On Windows, it works just fine.
I converted the file a different format (OGG and WAV)
I changed the sampling-rate from 48.0 kHz to 44.1 kHz
I switched between constant and variable bitrate
I tried the default-player and a different app (MusicFolderPlayer)
I used different converters (Audacity and several online-converters)

The problem is always the same: I hear everything using headphones, I do only get noise with the speaker.
How can I get this to work?
Needless to say that all devices used for testing are working fine with other files.

This is due to the audio having stereo (left and right) channels being out-of-phase.
To put it very simply, when the audio waveform on the left channel is out-of-phase with the right channel, the resulting mono mix (basically (left+right)/2) may reduce the volume or even mute it (further reading: destructive interference & dead spot).
When playing with headphones or stereo speakers, there should be no issue hearing the audio because each channel is played through each speaker respectively. However, on some Android devices (e.g. Nexus 5) that only supports mono playback, the issue appears due to the previously mentioned phenomenon.
Depending on the model, there might be a true stereo (left-right channel separation) mod that can be applied/flashed. E.g. a detailed post by user "chdloc" on XDA Forum to apply true stereo on Nexus 5.
The alternative workaround is to fix the audio source by inverting the waveform on one of the channels. Example using Audacity (reference: https://forum.audacityteam.org/viewtopic.php?t=71779):

Open the audio file
(Optional) Select the track, then open the menu bar: Tracks - Mix - Mix Stereo Down to Mono to see the effect of destructive interference, then undo the operation to continue to the next step
Select the track
Open menu (press Shift + M, or click the dropdown menu above the "Mute" and "Solo" button)
Select "Split Stereo Track"
Select one of the channels (either left or right)
Select all region of the track (double-clicking the waveform, or from the menu bar: Select - Region - Track Start to End)
On the menu bar, select Effect - Invert
Open menu on the first track (follow step 4)
Select "Make Stereo Track"
(Optional) Select the track again, then open the menu bar: Tracks - Mix - Mix Stereo Down to Mono to see if it is still affected by the destructive interference, then undo the operation to continue to the next step
Export the resulting audio from File - Export - ...

Related on Super User: How do I check if a WAV file is “really” in stereo or not?


text:
Switch Payment Profiles on Play Store?
I am based in India and my account has a billing address of USA. (this was long ago) I have made another profile which has a billing address of India, and I need to use the Direct Carrier Billing payment method but my Play Store is still showing me my USA profile.
How do I change my Payments Profile on the Play Store app?

You can now change this in the Google Play app under:

Menu > Account > Preferences > Country and profiles

If you have more than one profile - they should be here.
In case if you are stuck with a single business profile - signing up for YouTube premium creates an individual profile.

This no longer seems to be the case...

Google locks my Play Store credits into a payment profile I cannot use and they won't fix it... The government needs to intervene.

Go to payments.google.com and change your settings there. You are not allowed to have payment methods from multiple countries, so you'll have to remove your old info and keep only the new one. Make sure you clear data and cache of your playstore to force it to update new info after you make the changes.

What about Play store credit in the currency of the previous profile?

@simbabque it won't convert. Your credit in old profile stays as is. The new profile starts as a new account.


text:
Is it possible to install windows in android tablets?
I want to have Windows in Android, Is it possible to install windows in android tablets?

Not natively, until the vendor of tablet and Microsoft are not in line. You can run some kind of emulator though. IS IT POSSIBLE TO INSTALL WINDOWS, iOS OR LINUX ON ANDROID DEVICE?

This article explains how to install Windows on an Android tablet. But as it stresses, the app and methods are unsupported, so if something happens to your device, then you are on your own.
From the article, here are the steps:

First, you first must install the Change My Software application on your Windows-based PC. There are several versions of the app, each for a different version of the OS (Windows XP, Windows 7, Windows 8, Windows 8.1 and Windows 10).

After installing the software mentioned above:

Make sure your Windows PC has a high-speed internet connection.
Connect your Android tablet to your Windows PC, via a USB cable
Open the version of the Change My Software tool you want to use.
Select the Android option in Change My Software, followed by your desired language
The Change My Software app should then start downloading the required drivers from your Windows PC to your Android tablet.
Once that’s done, click “Install” to begin the process. Obviously, you should keep your tablet connected to your Windows PC for this entire time. If you want to dual boot between Windows and Android on your tablet when the process is finished, you should not check the “Remove Android” box in the Change My Software app.
Once Windows has been installed on your Android device, it should either boot directly to the Windows OS, or to the “Choose and operating system” screen if you decided to make the tablet into a dual boot device. After that, your version of Windows should then begin its own normal setup process.


text:
Enable OTG with a shell command
I'm running Android Pie on a rooted OnePlus 6, and I wanted to know how I can enable OTG with a shell command. I need this in order to automate some tasks.
There is a setting that can toggle OTG, found in settings > system > OTG storage, so I figured something like this would work:
settings put global otg_enabled 1

However I'm unsure what the setting for OTG is actually called; I tried a bunch of possibilities but none seemed to work. Also tried googling it, but found nothing.
Anyone able to help me out here?

Note: the solution is tested on a rooted OnePlus 6 running OxygenOS (Android 8, 9, 10).

The command I use is:
adb shell su -c 'setprop persist.sys.oem.otg_support true'

Some folks on some  forums suggested to toggle the value for the global settings key oneplus_otg_auto_disable, but it never worked out for me. My solution survives reboot and OTG would work even when decryption password is not supplied.
I automate the solution for fail-safe scenario (in case something disable the OTG)  using Tasker app. My task is:
Code → Run Shell:

setprop persist.sys.oem.otg_support true
enable Use Root

I then assign the task to a boot event profile so that the task runs during startup.

I think both - property and settings key - are OEM specific, not part of AOSP.

Yes, I agree. I didn't see such keys in my Nexus 6 running Android 7, back when I had it.

on my rooted OnePlus 10 Pro 5G (NE2213): my problem was that the OTG toggle was greyed out and could not be changed from "off". Attaching a usb flash stick got "recognizing" and nothing more. I used the "setprop" ..true command, and the disk was mounted read/write (both ntfs and ext4 usb disks worked). i then used set property... false, and now i could toggle the otg setting! upon reboot i can now toggle the otg setting.  perhaps "all" i needed was a reboot, but I'll never know. In any case, problem solved for me, thx

This worked for me:

Find 'otg' on global settings
adb shell setting list global | grep 'otg'

Result:
otg_time_out_close 0

0 is for off, 1 is for on.

Switching OTG on/off
adb shell settings put [whatever the result of the first command] [0 or 1] `

Please take note that this method is not tested on other devices. This is tested on a realme RMX3263.

This works for me :
turn ON:
echo 1 > /sys/class/power_supply/usb/otg_switch

turn OFF:
echo 0 > /sys/class/power_supply/usb/otg_switch

This doesn't change the toggle button's state on OTG setting page though.

Hi. It would be good if your answer mentions a couple of details, such as: 1) the solution needs root access to work; 2) the solution won't survive a reboot; 3) the Android device and Android version on which this solution was tested.


text:
Can I factory reset a non-rooted pixel 2 with a bad digitizer?
I have a Pixel 2 with a broken digitizer.  I'd like to wipe it of personal data before tossing it.
Complications:

not rooted
adb has not been previously authorized.

Is a factory reset possible, or should I pull out the cordless drill and go to town?

Related: Razr Maxx HD, How to wipe data with broken screen. If you don't care about data look into fastboot mode

As the Pixel 2 supports OTG, you should be able to attach a usb mouse to it to navigate through the menu. You will need an OTG cable for this, which is available for a small price in your favorite shop if you don't have one yet.


text:
What is this symbol on the battery?

What does this mean? It is one of the many symbols and logos on a phone battery.
I know it's not technically an Android question, but at least it's related, and I couldn't find a more suitable StackExchange site...

According to this wikimedia commons site, it is Taiwan's official recycling symbol. Probably means the battery is recyclable.

https://commons.m.wikimedia.org/wiki/File:Recycle_symbol_Taiwan.svg


text:
How to write « and » in Galaxy A30s?
Oftentimes I write texts that require the usage of a combination between ', " and «. Yet I have to copy from anywhere « anytime I want to use it and that's not the nicest experience.
This is the variations the keyboard offers

So, the only keyboard key that looks closer to « is 《 which is not really the same. I did long press some of the existing keyboard keys but none revealed the «.

My take was to search for "keyboard"

Go to "Manage keyboards"

And activate Gboard.
Now I can simply long press "

And that opens up a modal with the « and ».


text:
Modifications of vendor image on Android 10 - alternative idea
Further to my earlier question here and according to the "Mounting Partitions Early" article,
I'm looking the correct way to implement my new idea:

Skipping the mounting in the startup of vendor in fstab - Its easy to erase the record in fstab related to /vendor partition
Doing alternative mount from provided custom vendor image - It's require to know where to inject the mount command

Anyone have an idea ?
Thanks,

What exactly do you want to change in /vendor? What is wrong with Magisk?

I want to update kernel modules and add more binaries with not limit. The current status is the limited partition. How it is possible to do it with Magisk ? Does Magisk support ? How ?

Just create Magisk module and place your .ko kernel modules in
/data/adb/modules/my-first-module/system/vendor/lib/modules/example.ko

and create script
/data/adb/modules/my-first-module/service.sh
#!/system/bin/sh
insmod /vendor/lib/modules/example.ko

No need to modify /vendor partition

Thanks friend !
Unfortunately, It's not working
Do I need to register my module or do additional thing ?
I did " chmod" to service.sh and to ko to be an execute permission,
It's not working yet

I created module.prop file (according to the manual of "[key]=[value]"), and it's still not working. In addition, I don't is any "core-only mode" configuration in setting, after google it I see the Magisk Manager include this conf, after removing Magisk and installation of Magisk Manager it's not working yet.

install any other module and check modules section (Busybox for Android NDK - type 'busybox' in terminal) if modules not working in general ask Magisk support. Consider id=my-first-module is case sensitive. is your module visible? is it enabled? add 'echo "Hello World" >> /data/local/tmp/magisk.log' in script and check it is executed. check 'ls /vendor/lib/modules/example.ko' exist


text:
My phone is not entering fastboot mode
I just want to check whether bootloader is locked or unlocked. I am using Minimal ADB and Fastboot which I downloaded from here. I am following instructions to check bootloader from this website. Everything is fine until I enter into Fastboot mode on my phone. (I enabled USB Debugging and revoked usb debugging authorization in Developer Options). I can see my device after running adb devices in cmd. But when I run adb reboot bootloader command, it just reboots in normal mode. It doesn't enter to fastboot mode. I aslo tried adb reboot fastboot but it also didn't work. That means when I type fastboot devices, I don't see anything.
What should I do to enter Fastboot mode so that I can run fastboot oem device-info to see my bootloader information?
Note: My phone is Oppo F11 and it is running Android 11. I am not familiar with adb commands.

Welcome to the wonderland of Android. Every device model can be different. The main problem is to identify if this is an unusual problem of your device or if all Oppo F11 don't have fastboot mode. Unless by chance one of the other users owe an Oppo F11 you are out of luck here. There I would recommend you to better ask in the Oppo specific forum ad XDA developers forum. There the chance should be greater to meet someone with experience with your phone and who knows if this is normal bahavior or not.

@Robert Also my phone is not rooted. Can it be a reason?

No fastboot/bootloader mode works no matter if your phone is rooted or not.

https://forum.xda-developers.com/showthread.php?t=3929505

Oppo F11 has non-unlockable bootloader, fastboot is disabled intentionally. You can root with bootless-root method only, but carefully read instructions especially respect all warnings

Thanks alot man. I needed to know it because I think my oppo f11 has any undetectable malware or backdoor and someone said if a phone is running stock ROM and bootloader is locked, those kinda virus will be gone if you reset your phone.


text:
Cold boot: snapshot failed to load
Sometimes I start Android Emulator with the GUI, and sometimes I start with the
CLI. If I keep using the same method, everything is fine, but if I switch
between methods, it causes problems. For example if I start the emulator with
the CLI, then shut down, then start again using the GUI, I get this:
Cold boot: snapshot failed to load

If I start with the GUI, then shut down and start with the CLI, I get this:
qemu-system-i386.exe: Failed to load virtio-blk:virtio

Here is the command I use with CLI:
adb start-server
emulator -writable-system -avd Pixel_2_API_24

Am I doing something wrong?

This isnt really an issue for me anymore, as I no longer use
emulator -writable-system. I was previously using it, so that I could install
a system certificate. However another method is available, that doesnt require
an Emulator flag:
adb shell mkdir /data/local/tmp/cacerts/
adb shell cp /system/etc/security/cacerts/* /data/local/tmp/cacerts/
adb push c8750f0d.0 /data/local/tmp/cacerts/
adb root
adb shell mount -t tmpfs tmpfs /system/etc/security/cacerts
adb shell mv /data/local/tmp/cacerts/* /system/etc/security/cacerts/
adb shell chcon u:object_r:system_file:s0 /system/etc/security/cacerts/*

https://github.com/httptoolkit/httptoolkit-server/blob/master/src/interceptors/android/adb-commands.ts


text:
Can my phone be monitored by my family members without them ever accessing it?
It is actually for a friend, so less info. But she suspects that one of her family members know what she is watching on youtube and maybe also about Whatsapp messages. Do you think that is possible? The family member has is in a foreign country and has never accessed her phone. And she has not installed any apps that the family member has sent. What do you think?

definitely - just login to any PC with same google account - you will have same youtube history, and with WhatsApp Web you can see all messages. i recommend to remove the google account from phone settings and create a new one (required for Play Store) then goto google settings and disable as much as you can https://myactivity.google.com/myactivity?restrict=vaa

Thanks! It was exactly how it was done. I am asking her to change the account.

Only if they have the password to her Google Account or her device is set in the Family Friendly mode (which I find very difficult to happen, otherwise she wouldn't be able to use WhatsApp), tell her to try changing her Google Account password, also, she can install Kaspersky Internet Security (https://play.google.com/store/apps/details?id=com.kms.free) to check if her device contains any Spyware or related software.
I hope this helps her, if you have any doubts or want further information please let me know by commenting.


text:
unable to go into fastboot on LG phone
I have been told that LG phones are painful to get into fastboot but i didn't realize it was impossible. I have the LG K8 2017 (LG-M200n) and I have tried all: #adb devices shows the device is listed, then #adb reboot bootloader does nothing but reboot my usb connected phone. of course fastboot devices shows nothing. I even tried the recommendations to enter fastboot by power down phone, vol down key and connect usb, but phone turns on normal, no fastboot. any help?

can you enter any other mode? https://www.hardreset.info/devices/lg/lg-k8-2017-m200n/download-mode

yes download mode i can enter into it ok. I found the answer please see below. sad.

check fastboot devices in download mode

I found the answer. It is not possible because of the hardware itself. LG sucks really. Here is the info from their developers site which explains all the difficulty (LG K8 not listed below :():
"The following devices support unlocking the bootloader:
• LG V50: LMV500EM for the European market
• LG V40: LMV405EBW for the European market
• LG G7: LMG710EM for the European market
• LG V30: H930 and H930G for the European market
• LG G6: US997.USA for the U.S. open market
• LG G6: H870 for the European market
• LG V20: US996.USA for the U.S. open market
• LG V10: H960A for the European market and Android M (Except France)
• LG G5 SE: H840 for the European market
• LG G5: RS988.USA for the U.S. open market
• LG G5: H850 for the European market
• LG G4: H815 for the European market
Unlocking the Bootloader is only supported on selected devices."

The lesson learned here: verify the capabilities of the phone you want to buy before wasting your money.

https://youtu.be/3ExyUX4AC6w

nope. this is not a verified method. no links or guarantees. plus I am wary when a product is asking for $ without proofs. my answer above is still valid (unfortunately)

i don't want you to buy $ 399 https://octoplusbox.com it is for professional use only. but it is possible (not for consumers, at least). consider paying ~ 20 bucks for a unlock service, sure you will find someone who can do it


text:
Nexus 7 (2012 Wifi) Custom kernel bootloop
I trying to build custom kernel for my Nexus 7 (2012 Wifi) device.
Changed few things builded successfull, no bootloop. But I enable this in menuconfig:
Device Drivers -> Network device support -> Wireless LAN -> Ralink driver support.
After flashing got bootloop.
How can i get some log about a problem?

Some devices can output the kernel boot log using a special adapter that uses the 3.5mm audio port. Not sure about your Nexus 7.

I was referring such a cable: serial console which can be accessed through the headset socket

Build with module it was a working path.


text:
Prevent ISP DNS Hijacking
I live in a country where some sites such as Reddit are blocked. On wifi I can change my DNS to Cloudflare (1.1.1.1) and be able to access those sites, but on mobile network my ISP doesn't seem to allow me to do so. All the solutions I see are for non-rooted devices and only affect wifi networks. My device happens to be rooted Android 10, is there anything I can do to be able to access Reddit without wifi?
Thank you for your time.

Why not use a VPN or Tor/Orbot? If you have Firefox you can also use SwitchyOmega addon to use a proxy for Reddit. You'd need to provide a public proxy address of course. Be aware, public proxies are not trustworthy. But they are reasonably good to  access blocked content though.

DNS is not the only way to block sites. There is port blocking, IP blocking and protocol blocking (with DPI). But if you are sure it's only the DNS your ISP is intercepting, use encrypted DNS. I explained the whole process for dnscrypt-proxy (which supports both DoH and DoT) here: https://android.stackexchange.com/a/207647/218526. If you are interested only in web browser, Firefox does have built-in setting for encrypted DNS. Android 9+ also has Private DNS (DoT) which encrypts whole DNS traffic.

@IrfanLatif In the age of cloud IP blocking isn't working anymore. See "Russia vs. Telegram" - one time they were blocking Telegram IP on cloud server and Telegram was just moving to the next IP/cloud node. The only services(s) that were blocked were those that by chance were running on the same public IP like Telegram servers.

@Robert correct. But I'm saying that for sure that some MNOs (at least in my country) are still blocking IP addresses combined with other techniques, usually DPI e.g. for blocking porn sites and VPNs. I have also seen that ISPs whitelist IP ranges used by bigger cloud services like Amazon and Google. But whitelisting/blacklisting often goes wrong and users are found reporting odd situations.

@Firelord I'd prefer not having to pay for services, and I found that Tor makes connections unacceptably slow. It is a solution, but I'm looking for more.

@Irfan Latif The Private DNS feature on Android doesn't seem to work on mobile networks. I have it enabled, and it works as expected on wifi, however it doesn't seem to affect mobile networks at all.

@404NameNotFound I've been using dnscrypt-proxy even before the Private DNS feature was introduced. So I don't use the latter because of some other leak issues. But it definitely works with both WiFi and Mobile Data. That's what the AOSP code indicates. And I just tested it for you right now. Hotspot traffic is an exception though: https://android.stackexchange.com/a/214690/218526

@Irfan Latif Thanks! dnscrypt-proxy works great for me. No noticeable speed drops while still allowing me to access sites I normally wouldn't be able to.

DNS is not the only way to block sites. There is also port blocking, IP address blocking (though not very feasible and effective in the age of cloud as @Robert said) and protocol blocking (with DPI). See a brief description of censorship techniques here. But if you are sure it's only the DNS your ISP is intercepting, you can use encrypted DNS:

Android 9 introduced Private DNS (DoT) (under Network Setings) which encrypts whole DNS traffic both for WiFi and Mobile Data. Hotspot traffic is an exception though.
If you are concerned about web browser only, Firefox does have built-in settings for DoH.
If you have a rooted device and you want more control or want to do logging, blacklisting etc. or want to use encrypted DNS for hotspot network too, dnscrypt-proxy is a better option. It supports both DoH and DoT. See how to set up dnscrypt-proxy as an init service on Android with least privileges.


text:
How do I prevent GPS location being enabled automatically on Android 8.0.0
The GPS is sporadically enabled on my phone without my consent or even a notification. I have to keep an eye on it and turn it off when I notice it's on. Is there a "global" setting I can use to prevent this or at least ensure I get a notification when it's about to be enabled?

Depending on your Android version and device you can usually check the last apps that have accessed your location in Settings -> Security -> Location

There seems to be a great variation across Android/device versions. I found a switch under Settings->Connections->Location which is currently turned off. I'll take a look at this next time GPS comes on-I haven't explicitly enabled this myself.

Just to make sure, are you sure this is specifically a GPS lock request, not just any location service request (e.g. WiFi, Bluetooth, cellular network)? Also, mentioning the device model might help.

@Andrew T. The GPS symbol is highlighted when this occurs and I have to explicitly disable it in settings. Device model is Samsung Note 8.

automation as suggested in comment  seems to come close to what OP wants.
Many automation apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn. To understand how MacroDroid works and required settings,  my answer here

Your macro would look like this

Macro : GPS on Alert (name of macro )

Trigger: GPS enabled/disabled →*GPS enabled *
Actions:

Display Notification → Enter the desired text. I suggest you choose hour, minute and second to pinpoint the exact time
Speak text - enter the desired text

Constraints: None ( Macro runs always )
This will not tell you when it is about to be enabled but tells you after it is enabled.
Once you have the time stamp, use an app or other methods suggested in logging & logcat to try and pinpoint the app causing it (read their tag wiki's by clicking on learn more). Disable or uninstall such app(s)


text:
What's the point of pseudo-big.LITTLE CPU in Nokia 7 plus?
As far as I understand:

CPUs can change their frequencies relatively quickly, which can be used for performance-power tradeoff based on load and priorities.
big.LITTLE goes further – you can switch between powerful and energy-efficient cores in order to save more energy than underclocking allows you. Those cores vary by architecture, otherwise it would not make much sense. Usually, there is a mix of powerful cores with out-of-order execution and energy-efficient cores with in-order execution.

However, according to GSMArena, Nokia 7 plus has the following CPU:

4x2.2 GHz Kryo 260 & 4x1.8 GHz Kryo 260

That is, you have eight cores of the same type, but four of them can go up to 2.2 GHz, while other four of them can go up just to 1.8 GHz.
I believe we cannot use the same justification as for big.LITTLE. Instead of switching the cores, we could just scale the core's frequency.
Also, if the upper frequency is fixed (that is, if there are four physical cores that never go beyond 1.8 GHz), it implies uneven distribution of load and heat generation.

I think you are mistaking the "Kryo" brand from Qualcomm from being different than just a customized version of ARM big.LITTLE.
As stated in the Qualcomm Snapdragon 660/630 announcement article from Anandtech:

Snapdragon 660’s Kryo 260 CPU uses four semi-custom Cortex-A73 cores in the “performance” cluster and four semi-custom Cortex-A53 cores in the “efficiency” cluster in a big.LITTLE arrangement. The Kryo 260, however, does not hit the same peak frequencies as Kryo 280, and Kryo 260 uses 1MB/1MB of shared L2 per cluster instead of 2MB/1MB of L2 for Kryo 280.

The confusion probably is from the fact that while there are 2x2 sets of CPU cores on the chipset, Qualcomm's branding the package of the 2 "performance" and 2 "efficiency" cores as the Kryo CPU. The obfuscation is probably due to Qualcomm emphasizing their customization trying to differentiate from ARM's reference big.LITTLE A73/A53 CPU core set.
Honestly while GSM Arena is a good starting point, if there is confusion/conflict further research should be done.

It is 24 cores, not 22, but that's a minor thing. According to Wikipedia and Anandtech, Kryo 260 is a line of CPUs, so you actually have Kryo 260 Efficiency, Kryo 260 Performance and Kryo 260 Gold, but those are actually various architectures. However, Qualcomm's page https://www.qualcomm.com/products/snapdragon-660-mobile-platform does not make it clear if Kryo 260 refers to a CPU core or whole CPU. They mention “Powerful Kryo CPU” (suggesting whole CPU) and “CPU Cores: Qualcomm® Kryo™ 260 CPU, Octa-core CPU” (suggesting eight equal CPU cores). Ugh.

Well, I meant, according to Wikipedia and Anandtech, Kryo 260 is a line of CPU cores.


text:
How do I add new text to speech entries using Gboard?
I was using SwiftKey prior to this but I switched over to Gboard because it has better voice recognition when using speech to text. Something got changed in SwiftKey recently and the quality of speech-to-text went down significantly. But with SwiftKey I was able to correct words that I dictated and I thought that that improved the speech-to-text algorithms.
With Gboard there's no option to correct a word so I can't improve the speech to text recognition. Does this option exist and I can't find it?

With Gboard, there's indeed currently no option to correct a word so that you can improve the speech to text recognition.
The  closest option is to add  some entry in the Gboard personal dictionary (screenshots from Androidd 12 + Pixel 6), thanks user1874594 for showing me this trick:

Then you'll see the fixed word as a suggestion (only after the voice typing stopped being active):

long time with no answers so this one wins by default :) I'm on Android 12 now so I don't know if the question is applicable to my current setup.

@jcollum by default, my favorite way to win! https://youtu.be/BXHyFETXPc0


text:
How to upgrade Pixel 3's internal storage to more than 64 GB
I have a Pixel 3 that has been fine, but its 64 GB internal storage frequently gets full, and I don't like needing to connect the device to my computer with a physical cable (it blows my mind that it's 2022 and I'm still using cables for file transfer) and move files to my PC just to free up space on my phone to keep is usable.
I see that there were versions of the phone that featured 128 GB of storage.
How could I buy a >=128 GB internal card (or whatever it's called) and install it in my device, replacing the 64 GB one?

The Pixel 3 does not have a slot for inserting an Micro-SD card. Therefore you can not upgrade your device.
The 64GB memory chip is built-in soldered to the main board of the phone. Replacing it is next to impossible.
The only workaround would be using an USB flash memory stick with USB-C connectors (or an USB-A version + adapter cable) and manually copy data from/to the flash memory stick.
But I would not recommend doing so as it increases the chance to break your USB port making it in the end impossible to charge without wireless charger.


text:
Digital/Physical keyboard not sending input on occasion
Motorola Droid 3
Android verison: 2.3.4
System version: 5.7.906
System update report: "Your device is up to date! No update is necessary at this time."
Phone's age: 1 year

After unlocking my screen and opening up an application that accepts keyboard input (texting apps, web browsers, notepads, ect) I sometimes cannot input any characters - both on the physical keyboard and the digital keyboard. I typically deal with this by pressing dozens of characters at random until they start to appear again.
However, keystrokes are being somewhat recognized, which can be confirmed since each keystroke envokes a small vibration (set by the "Vibrate on kepress" switch in the Multi-touch keyboard settings. Further, my choice in texting application "Chomp" attempts to guess the word you're typing as you type it. Although no characters are actually being inserted into a message when this problem is occuring, Chomp at least detects the characters and makes word/spelling suggestions. Still, no words/letters are input into any text field box.
I'm aware that a factory reset would be a favorable method of potentially finding a solution, but am looking for alternatives.

I restored my phone to the factory defaults and hadn't had the problem in several weeks. Unfortunately, the problem is back and I'm left only to assume that my phone is defective.

You can try this:
Go into Settings>Application Manager and locate your keyboard.  This could be listed a few different ways, depending on your phone.  For example, I'm using Swift Key so that's what mine is listed under.  It could say software keyboard, or whatever for your hardware keyboard.  Anyway, once you find it, tap the button to clear the cache.  Unless you have a bunch of custom settings you are probably safe to clear data as well.  Once that is done give it another try.  This will solve a lot of annoying keyboard issues, but as you said, who knows.  It could be something else going on where a reset is your best bet.  Hope this helps!

My equivalent (stock keyboard) app/process was called Multi-touch keyboard. Although Clear cache was greyed out, I was able to clear data. The virtual keyboard wouldn't start afterwards, so I restarted the phone and it came back up. Time will tell if this resolved my issue, though. I'll give it a few days worth of testing and if the problem has resolved I'll mark this as the answer.

Unfortunately, the issue persists. I installed a 3rd-party keyboard "SwiftKey" in an attempt to resolve the issue, but this application yeilds the same results.


text:
creating new folder hangs current window on pc?
As all of you might know the galaxy note 2 (n7100) doesn't provide the usb mass storage option when connecting to pc.
It connects to the pc as a media storage or camera storage option. Upon clicking on it, I am able to access my card and internal memory.
But when I try to create new folder in the card or internal memory, the current working window freezes.
Also reading writing everything works just fine. And I can create the new folder on windows desktop and then copy to card or internal memory it works just fine. But not able to create folder directly in the card or internal memory, as every time working window hangs and I need to re connect the phone to pc.

It sounds like you've found a bug in Windows, and you've cleverly come up with a workaround for that bug. What's your Android question?

@DanHulme But if there is a way to get usb mass storage working, Then this can be resolved. So how to enable usb mass storage for note 2?

I was having a similar problem. Just wait for a minute or so and that folder does get created eventually. Of course the workaround is to either:

Create Folder on a local Windows Drive and then copy it onto the phone
OR
Install Custom Recovery and reboot into it and activate USB Mass Storage


text:
Local equivalent to adb install
With a PC connection and adb, I can install packages by running
adb install foobar.apk

There is also an option to downgrade a package to an earlier version and keep data (as long the app itself did not introduce any incompatibilities in the later version):
adb install -r -d foobar.apk

Is there an equivalent local command which I could run from a terminal session (or any other way to downgrade without a PC connection)?

The local pm command can do this. You need the following things:

A terminal app. (adb shell will also work, but then you might just as well use adb install).
A way to get root permission on the command line (usually su)
A copy of the APK on the device, e.g. by downloading it using a web browser.

Open the terminal app, then run:
su
pm install -r -d /sdcard/download/foobar.apk

Command line options are the same as for adb install: -r will replace existing packages, -d will downgrade if necessary.

adb shell doesn't need root access which is a big step for majority of the users. So you can't say them equivalent, but both are commandline solutions. Btw there are workarounds to run adb shell on device.

pm install is equivalent in that it installs APKs and is capable of downgrading, just like adb install. It is true, though, that pm requires root while adb install doesn’t. adb shell just gets you a command line, which is the same thing that the terminal app does; neither requires root per se. Or did you mean adb install? If you have a way to run adb install on  the device itself, without requiring a PC connection, feel free to post this as an answer.

adb install executes adb shell pm install at back end, so they are essentially the same thing. Point is to connect adb server to adbd, then you may execute any command adb XYZ. See this: https://android.stackexchange.com/a/216474/218526

@IrfanLatif why not make this another answer? Both pm and local adb do the trick, each coming with their own prerequisites. Which of these two is easier depends mostly on your local device configuration.

It's already answered many times in different questions. You may consider updating your answer.


text:
How can I turn on google maps speedometer alerts on exceeding the speed limits?
How can I turn on google maps speedometer alerts on exceeding the speed limits?
waze has a good system , it shows your speed and puts a red circle around it if you go over the speed limit.
But I don't see it on google maps
I am in the Uk and have read that google maps has rolled out that feature for the UK..
https://www.slashgear.com/google-maps-on-screen-speedometer-will-warn-you-if-youre-speeding-06579422/
"Aside from not being available on Android Auto yet, this new Google Maps feature is rolling out to users in limited markets rather slowly. Those include Argentina, Australia, Belgium, Brazil, Canada, Czech Republic, Germany, India, the Netherlands, Poland, Portugal, Sweden, the UK, and the US. No need to update anything as it seems to be a server-side switch that only Google can flip.
The on-screen speedometer is just the most recent Waze feature added to Google Maps"
I see the speedometer, just not the alert when over the speed limit.
I see pictures on google images like

But not on my phone
I have gone to settings..navigation setings..driver options.. and I have speedometer turned on and 'driving notifications' turned on, they were on anyway by default. But still it doesn't show me speed limit.
As a workaround I wouldn't mine an app that shows the speed limit in the corner of the screen but I don't know of such a thing either. The closest I have is Waze which has the speedometer with alerts, and I can make google maps small and sit it in the middle of a waze window. But then google maps is very small. I don't like waze that much i'd rather not have to use it just for that.

I would love an answser which actually gives the solution in google maps, not some other app. OP is in the UK and I would love answers also covering The Netherlands and Germany as mentioned in the question as upcoming rollouts.

@MartinZaske the accepted answer is Google maps and would work in whatever country. The apps were written in the USA

@MartinZaske the solution is giving an overlay over google maps. So if google maps is misbehaving and not showing speed, then those overlay programs are.

So basically Google Maps still does not provide this feature. So imagine I buy a nice Mercedes from a genuine dealership and have some expert apply leopard fur and bunny ears. Then people will stop me in the streets and ask "What is that? Where can I get one too?". Then I answer "It is Mercedes." And they rise an eyebrow and wait. And then I go "All right, it is a Mercedes! With an overlay. But no side effects. My Mercedes garage just loves it when I show up for regular maintenance..." Thanks guys for clarifying. Seems Google just wants to stay clear from the legal pitfalls in this context.

@MartinZaske  This doesn't look like leopard fur and bunny ears. It looks like something that anybody looking might think is part of google maps. And there's actually a lot of flexibility to the concept. It's good that android allows for that.  And it means people aren't too at the mercy of google. It'd be better if google maps were open source.

Both these apps appear to meet the requirements (not tested by me). I have requested OP to add/edit based on their tests.

You can try Velociraptor - Speed Limits & Speedometer, which is free and links to Open Street Maps (OSM) as also appears as an overlay  on Google Maps (select auto Launch in advanced settings). It is free & Open Source

Features:
• Automatically displays in any apps you choose (e.g. Google Maps)
• Intelligent caching & fast refresh of speed limits
• Sound alert when speed limit is exceeded
• Speed limit tolerance: % and integer amounts
• Transparency, size, and tap to hide setting

Alternatively, app Maps speed limits . It's a paid app with one week free trial

Maps Speed Limits shows the current speed limit in Google Maps or any other app.
Speed limit alert: play a sound when speeding

Barlop / OP adds
Looking at the screenshot below, you see on the left of the screenshot. (red circle aside), Velociraptor showing speed limit and speed.
Also on the left, you see the red circle, that's map speed limits. (not so necessary as Velociraptor shows both speed and speed limit anyway).
The speed mentioned on the very bottom is google maps saying that, google maps suddenly decided to state the speed!
I don't mind having both, sometimes the speed limits reported can differ, as the speed limits use a different database and they can update at different positions on the road. Velociraptor makes clear it uses OSM, and i'm not sure what database map speed limits uses.
They work internationally and have an option to switch between kph and mph.
Velocirapter also has quite comprehensive settings too and is pretty easy to navigate. And the google play app velociraptor page shows some screenshots of the settings it has too.
It is an overlay so google maps is open there, and any app showing the speed or speed limit is showing it as a floating  overlay over it.

Here is another pic from here incase anybody doesn't believe that the above is google maps (it is). As is the pic below. And since its google maps it applies to works for whatever country you are in.

The question asked about google maps, it seems this answer is proposing a totally different app - or is this velocirapter some kind of plug-in to google maps?

@MartinZaske It's a workaround. Please see last paragraph of question

@beeshyams no it is google maps!

@MartinZaske it is an overlay, but it's very quick to try so if you tried it you'd se for yourself. And this answer stated about it being an overlay

#barlop Of course it is. My bad in not being clear. What I was referring to as "workaround" was in the context of an alternative means super imposed on Google maps, in the non availability of native means

@beeshyams you say " It(Velociraptor) is free & Open Source"  <-- Free yes, but where did you get 'open source' from?   And don't say me 'cos I don't think I wrote that (and perhaps at your suggestion, my comments were deleted so I can't prove I didn't, but I didn't!).   OSM stands for open street maps, and OSM happens to be open source.(though OSM being open source isn't that relevant to the question),

@barlop it's on the Github. For a moment, I was foxed too, wondering why I said that :-)


text:
How do I block an app from using mobile data even in foreground?
I want to block an app from using mobile data even when that app is in foreground. How can I do that? I can find an option to disable mobile data when in background and an option to disable WiFi for an app but I want to disable mobile data for a specific app completely. I am using a Galaxy A71 phone with Android 10.

Use a Firewall. See Firewall Tag Wiki for helpful reading.
Net Guard is a well acclaimed app that does not need root access. It is an open source app developed by  Marcel and can be downloaded from F-Droid too. It is very effective and has excellent logging features too.

The popular Android distribution LineageOS has a built-in firewall that can block an app from using mobile data and/or WiFi entirely.
https://lineageos.org/


text:
Camera app that records EXIF
Is there a camera app that records EXIF information? In particular, I would need the following:

GPSLatitude
GPSLongitude
GPSImgDirection
SubjectDistance

I've checked that all these fields can be saved via android. I'm just wondering if there is a camera app that actually DOES save this information in exif for a photo. Most apps I've tried only save max the latitude and longitude.

Which apps have you tried? That'll help us avoid duplicate suggestions. To start, see Camera FX Pro or GPS Essentials - it has support for Geotagging, although unsure about exact capabilities. By default, the Camera app also can store location data provided you've turned it on in the app options. Which phone / Android version are you using?

Camera360 Ultimate works fine for me. Just, make sure to check "Record GPS Information" from Settings ~> Preferences.

The short answer here is that the GPS system only provides direction if the receiver is moving.

GPS doesn't provide any direction. It only provides coordinates for an object sought by the user. When an object moves, its coordinates changes, thus, it appears that GPS is tracking the movement, but it is only providing the coordinates, that is all. The  tracking is shown in the application. The coordinates can be used in the EXIF information.


text:
Asus zenfone 6 E:failed to mount/ cache
Phone stucks on boot loading.
wipe data/factory reset  gives
E:failed to mount/ cache error
wipe cache partition
also fails.
abd sideload also give
E:failed to mount/ cache
Can't open vs..
Many same post suggest TWRP but i don't have it. Did not understand how to install it on a phone can't open.
Many more says EMMC chip is dead. I hope it is not. I know it is very likely but i want to try other options first if i can.

fastboot flashing get_unlock_ability

My old platform-tools fastboot did not have that command.
İnstalled yours, phone says "Result:FAIL (unknown command)".
My phone is from 2015

with locked bootloader you can only try to flash cache.img from EDL mode (Qualcomm) or from Intel Flash Tool (Intel Atom) https://forum.xda-developers.com/showthread.php?t=2839984

I think EMMC chip is dead. only fastboot commands working.
Sometimes you need to accept inevitable.

I can't accept my answer sorry about that.

You can accept after 48 hours!


text:
Unable to root Motorola g7 Power
I have unlocked the bootloader and enabled USB debugging. I can launch TWRP over fastboot and use the interface.
To root the phone, I tried the following:

Push the TWRP zip onto the device adb push ~/Downloads/SuperSU-v2.82-201705271822.zip /tmp
In the TWRP interface do: Install -> Add Zip -> /tmp/SuperSU-v2.82-201705271822.zip > Swipe to continue
Process finishes and Phone reboots
Open Root Checker Basic

"Sorry! Root access in not properly installed on this device. "

My goal is to be able to run su in adb shell.
What have I done wrong here?

try this tutorial just skip lineageos and gapps installation https://forum.xda-developers.com/showthread.php?t=3969341

also please note a su in shell is not really useful on isolated namespaces and selinux enforcing

SuperSU is discontinued and shouldn't work as expected on new versions of Android. You should consider using Magisk.
Flash the zip the same way you did for SuperSU. Then remember to launch magisk app and do the necessary additional installation steps.

I can confirm that Magisk worked for me


text:
OsmAnd+ Voice Navigation Not Working
I am using OsmAnd+ 3.5.5 from F-Droid on my Samsung A3 2016 running LineageOS 16 (Android 9).
It all seems to working fine, but for whatever reason the voice navigation will not work, making me have to constantly look at the directions rather than listen.
What am I missing here? Is there a way of making it speak to me?

I think I have the same problem but on regular android with the free Osmand 3.5.5 from google play. Did you check if voice output works at all under (Android) Settings -> Accessibility -> Text-to-speech output or the LineageOS equivalent?

@user2740 I checked, the output works. Just to be double safe I changed the language from 'System Language' to 'English United Kingdom', and that still worked in settings. But it still didn't work under OsmAnd+ :/

I had the same problem (I think) with the play store Osmand 3.5.5 and android 8.1. Here's what I did:

wait for Osmand 3.6 to be released.
start a new route
go to options -> Navigation settings
tap on "voice prompts" even though it is already "on". Tap on the text not the switch!
You can see a bunch of options now such as "voice guidance" which maybe defaults to "Don't use". Make sure it is set to some language.

It updated the 3.6.3 recently and what you suggested worked. Thank you :)

PicoTTS (the integrated speech synthesis tool) has been removed from LineageOS 16 due to the lack of development.
I’ve looked for an alternative, but sadly couldn’t find anything on par with PicoTTS, so I eventually resorted to installing GoogleTTS, which I must say does a pretty good job.


text:
Google two-step verification doesn't want to work. Pops up, I approve and nothing happens
Phone is a Samsung Note 9  SM-960F model. The phone is running Android 10. And I never experienced this problem on any other phone, model or Android version before.
Basically I am logged into my Google account. Every Google service works great. Except two-step verification.

I get the "notification" in Chrome for example when I sign in on a new PC. All great.
The phone makes a notification sound, the two step verification pops up.
I tap "Yes", I get a toast notification "Approved".... and nothing happens.

What could cause this and how could I fix this?

I've encountered this issue before and in the end it turned out to just be a server-side outage / traffic.  Either wait it out after submitting or try again in a bit if it times out, but don't spam requests as it'd likely contribute to the delays.  Feel free to confirm it's not an network/carrier/ISP connectivity issue on your end first (e.g., switch to mobile data or vice versa), but when it last occured I was quite peeved there was no mention anywhere on Google's end in support resources regarding ongoing outages.

Fair enough, thanks for the answer. Thought it's something on my end...

I just had it now: Clicking yes has absolutely 0 impact on the button, as if the screen is frozen (no button vfx).
For me, the solution was to either reboot the phone and/or disable VPN: One of these two did the trick immediately after the reboot was done!


text:
How to use mobile data (hotspot) and calls at the same time?
I have a Huawei Honor 8X running Android 9 and it is pretty new - probably a year or so old. I am currently running it dual-SIM - one for my telephone number and one for mobile data. I am doing this as my telephone contract is pretty cheap, and the data contract is genuinely unlimited 4G. All phone operations default to one SIM, all data operations default to the other.
I have noticed that my phone wifi hotspot stops working when I am on an inbound or outbound telephone call. This is becoming a bit frustrating as sometimes I need to access something on the web while speaking to someone. I have done a bit of research on the web, and found that some phones prioritise voice data over internet data, but that situation may be changing on newer phones (presumably as network bandwidths generally improve).
My situation is a bit different in that I expect I have two modems (one per SIM card) and so even if this restriction still applies to phones with one card, I hope I might be exempt because I am running two.
Of course my ideal situation would be to cancel the voice contract and use data/voice on one contract. However I am happy to maintain both in the phone if I can get if that is the only way it will work. If this is considered hard to do these days - even with a modern phone - I can transfer the data card to a dongle and carry that separately.
I am in the UK.

In a single SIM situation I would suggest to enable VoLTE. Without that your phone always has to stop 4G and fall back to 3G because LTE has no voice feature. Not sure how this works in a dual-SIM scenario. BTW: Are you sure your phone has two independent modems? Usually it is just ne modem/radio (time) shared between both SIM cards.

Good thoughts @Robert, thank you. I am not sure I have two modems, no - it was an assumption based on the view that two SIMs sharing one modem has rather reduced utility. Maybe people use that just to operate two numbers, and tolerate data not working during a call.

Going by your problem I suspected that your device is Dual SIM Dual Standby, which was confirmed by GSM Arena.
What this means is that you can use only one SIM at a time be it for data or voice unlike Dual SIM Dual Active phones where you can use both SIMs simultaneously for voice /data.
Also the user manual which can be downloaded from here does not mention Dual SIM Dual Active.
So, contrary to your expectations you have only one modem and hence the behavior you experience.
Only solution is to use one SIM that has both voice and data plans since your device supports VoLTE (see user manual). Be aware that if you use both SIMs on 4G/VoLTE, only one will work on 4G and the other on 2G

Thanks, I have the same problem on Redmi Note 8T, with one SIM for CALLS and one SIM for DATA. You helped me very much, and there is description of DUAL SIM too. GSMARENA


text:
Is it sensible to turn off the phone for charging?
I know that electronic devices, when not in use for a few hours and especially when charging, should be turned off.
However, when I turn my phone off and plug it into the charger, it shows the "Unlocked Bootloader" warning before showing the charging status, meaning it turns itself on again somewhat.
Is the wear of that negligible, or would it make more sense to simply leave the phone on in battery saving/flight mode when charging overnight?

I would not shut down the phone before charging because of two reasons:

Modern phones often have an optimized battery loading algorithm especially when charging over night. The charging speed is reduced and the last percent or charged the hour before you usually disconnect the phone from charger. Such an advanced loading strategy is usually not implemented in "charging OS" (the minimal OS started for charging).

Another reason is your power button. Turning the phone on usually requires the power button. Unfortunately this crucial button is often the part that fails first...


text:
How to display and enable extra symbols on standard keyboard?
When switching from Huawei's Android 8.0 to Oppo's Android 12 I noticed a keyboard problem that I'm unable to solve.
First, here is how the keyboard on Android 8.0 looked like:

Then, here is how the keyboard on Android 12 looks like:

You see that on the "old" keyboard there are additional symbols above the letters (like ' on c that is not displayed on the new keyboard.
However it's not just that the symbol isn't displayed, it's also not available on long-press of c.
So my simple question is:
How can I get the "old layout" on my new phone?

The used keyboard is simply another app. A lot of manufacturer modify the standard keyboard app. You can simply install a different keyboard app from Play Store or even try to extract keyboard app form your old phone and migrate it to the new phone.

I'm rather sure both are "gboard".

Assuming both are Gboard, the feature is called "Long press for symbols" and unrelated to the Android versions.
Steps to change the setting:

Open Gboard's Settings (the cog-wheel icon on the keyboard)

Or alternatively from Android Settings - System - Languages & input - On-screen keyboard - Gboard (adjust the step according to each manufacturer's customization)

Select "Preferences"
Scroll down to "Key press" and toggle the "Long press for symbols" switch.

That's it! However the naming of the option is somewhat stupid, as a long press offers alternate symbols (call them "letters with diacritical marks") even without having set that option. I wonder why that wasn't set by default as it's a real pain to type with that keyboard...