text:
Only Android failed to use my local BIND server Android 13
I have proved, and will offer any proof needed here of what I am seeing.
I have two BIND servers on my LAN that provide local IP addresses for devices. The public versions of those addresses are served by Network Solutions. So when laptops and cell phones are connected to the local WiFi, access to the LAN based mail server is available, and when remote the mail server is found via the Public address.
The laptops connect to the same WiFi APs. The local bind servers are manually entered into the settings for all wired and WiFi devices. Local DHCP also has the local BIND servers listed.
The laptops via the WiFi find the mail server.
However, regardless of the email app (we have tried eight of them) and regardless of the Android Version, we have tried 10, 11, 12 and 13, and regardless of the phone maker (we have tried Acer, Huawei and Sumsung, Android can't "find" the mail server.
This is even though, when running IP Tools on said phones, both the mx record is correct and the IP address for the mail server is correct. Plus the phones can ping the IP address of the mail server but fails the FQDN for the server -- the name provided via lookup in IP Tools.
How can I fix Android? As of now I have to create TWO mail apps, one for local with the local IP address and one for when off the LAN.

Have you disabled "Private DNS" in Android network settings? If active Android ignores configured DNS server on Wifi and DHCP level and only uses the private DNS. use Wireshark to check Android network traffic which DNS server is queried.

Yes. Private DNS is and was always disabled. Robert, I am using pfSense. I built a NAT rule that redirects all DNS  cellphone traffic to my local bind server.  I don't think the cellphone using DoH. It can find outside URL's seeming through the local DNS service is my BIND server. I don't have a promiscuous connection between the WiFi Cellphones and the firewall. I would be to overloading the firewall to 'inspect,' but what am I inspecting? That device is already blocking outgoing DNS traffic from the phone. Wireshark type tools, need a what port I am looking for.

If the cellphone is communicating with the local BIND server but is having issues with local IPs, well, the pfSense wouldn't see the traffic as in would stay on the LAN.

You can simply generate Wireshark dumps on Android using apps that act as local VPN and internally capture all traffic going through the local VPN. See e.g. PCAPdroid app.

Robert, there is no local VPN.

Robert, my phone connects with my office LAN in a bidirectional way. A VPN on the phone would inhibit that. I have read that beginning in about Android 5 and getting more aggressive following that, Android has been bypassing named DNS servers to connect to Google. Following the variety of things mentioned, I have blocked all IPv6 traffic from the cellphones, I have added a new line in the DHCP server we run, added the MAC address to the reserved list in the dhcpd.conf file and verified my phone is using that.

All IPv4 outbound DNS traffic from the cellphones is redirected to my bind servers. My phones find everything EXCEPT the domain record that the servers support.
All other non-android devices using the same WiFi connection and our BIND servers find the local resources. I am about to root my phones and replace Android.

I think you misunderstood me. "local VPN" is a technique to redirect all traffic through one app (the local VPN app) to capture the traffic. In this case VPN client and server are in the same app, so there is VPN in your network, only inside Android for redirecting the traffic through the one app.  Please read the details e.g. on PCapDroid https://emanuele-f.github.io/PCAPdroid/quick_start

Mike, did you ever solve this? I have exact same problem, a (recently updated, didn't have this problem before update) Samsung phone can no longer determine hostnames that are served by my internal BIND server, despite it being given the DNS address in DHCP. All other devices using DHCP server can.

No, I never solved this. It remains a total frustration. The 'Android" forums are useless. They have no idea about name resolution on their precious OS. And there is no way to engage with actual Android engineers.


text:
Need to replug USB device after reboot of Samsung s5e
Im using a Samsung tabs5e rooted as the media center in my car. I've connected it as follows:
TabS5e - USB Hub
USB Hub - DAC/Amp (via USB)
Dac/Amp - Car via aux
Now, my issue is that when I initially boot the tab, I need to either cut power and restart the hub that way, or plug out the tab and plug it back in, both of which fixes the issue that audio isn't routed through the usb connection. The usb hub is powered via the car, so when reconnecting the tablet, it's power supply is still on. This makes me conclude that the tab is the issue.
I've tried using set prop commands via shell that I've found on here, but couldn't find one that suits my device. I've tried binding/unbinding the driver and setting every possible USB default setting. No joy.
Any idea on how I can accomplish this?
A reset of the USB port would be optimal, or cycling it off to on so it detects the hub.

source: Stack Exchange

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

sort: votes


text:
Why my Gmail app keep hang up?
For about three months, Gmail started to hang up whenever I tried to compose or reply to emails. I thought battery optimization was the problem, so I made Gmail not restricted by any battery optimization but the problem remains. I also tried removing updates, clearing the cache, and reinstalling updates again.
The problem occurred in two devices, one is Android 10 and the other is Android 13.
Any advice?

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


text:
How to obtain the current WiFi eduroam account information on Samsung Galaxy?
I'm using a WiFi eduroam connection on my Samsung Galaxy S23 Ultra (One UI 5.1 / Android 13). I can connect to eduroam via 2 accounts, and I don't remember which one I'm using. Since I currently have some WiFi issues, I would like to know which account I'm using. How can I know that?
Note that when I go to the WiFi settings for the eduroam network, such information is not present, even after tapping on "View more". I don't see a way to get a QR code either.

Based on a quick search about eduroam, looks like it is using a captive portal for authentication?

@AndrewT. No, it does not use a captive portal (and this is not needed since this is not open wifi and authentication is done via PEAP/WPA-EAP/MSCHAPV2).


text:
How does Tinder get SMS verification code?
When you log into Tinder you can use your mobile number. Tinder sends you a verification code via SMS. Tinder automatically detects this number and can log you in.
Tinder has only permission to show notification and access location granted. How can Tinder access the SMS verification code? I've never seen such a behavior with another app without proper permission.

Since a few years, Google provides a special system that allows apps to use SMS verification without getting access to other SMS. The approach deliver verification SMS to a certain app is that the SMS has a special format: it ends with a truncated SHA256 hash value of the app package name and the app signature (the first 11 chars of the base64 encoded hash).
An app can retrieve such an SMS if it registers itself for a limited time as receiver for a verification SMS. The Android OS then generates the receiver hash as described and filters incoming messages for the pattern described above. Only those SMS are forwarded to the registered app.
And example SMS is included in this blog post:
Your OTP code is: 123ABC78
FA+9qCX9VSu

The app hash generation method is documented by Google here.


text:
Remapping Wacom Tablet input on Android 11 using .idc files

OS: Android 11 with root access
Tablet: One by Wacom Small CTL-471

The Issue
I'd like to use my Wacom tablet on my Android device. Connected tablet using OTG cable is detected, but it suffers from invalid mapping resulting in heavily squished elipses when circle is drawn on the tablet.

In landscape mode, the tablet input does not cover the full screen area, resulting only in half of the screen being able to be controlled

What I would like to achieve

remap the tablet input so it is rotated counter-clockwise 90 degrees when the device is in portrait mode

and optionally

rotate in other directions in landscape mode aka. 90°/180°
define tablet min/max X and Y to limit the useable tablet area and match the proportions of the display - circle on the tablet = true circle on the device

What I tried
I created Wacom_Bamboo_One_S_Pen.idc file in /system/usr/idc/ with following configuration
touch.deviceType = pointer
touch.orientationAware = 1

The configuration file is detected when using dumpsys input | grep -i wacom
13: Wacom Bamboo One S Pen
  ConfigurationFile: /system/usr/idc/Wacom_Bamboo_One_S_Pen.idc
Device 13: Wacom Bamboo One S Pen

and it does work, as the result when using dumpsys input, the OrientationAware is now true
Parameters:
  ...
  OrientationAware: true

Now the mapping in landscape mode is better, but still invalid

Now I tried to modify xScale yScale and output.x output.y with samples found online to check if anything changes, like this
touch.deviceType = pointer
touch.orientationAware = 1
output.x = (raw.x - raw.x.min) * (output.width / raw.width)

or even using a simple float
output.x = 1.0

Even though the config file is detected in dumpsys input | grep -i wacom it seems to now be ignored as the values are back to default when checking dumpsys input so, OrientationAware: false even though the config file says it to be true.
What am I doing wrong - is it wrong syntax? My knowledge on this topic is very limited, and I've tried to check official documentation, but still without result, so I'm asking for help.
Update
Examining other files found on the web resulted in confirmation that it is the wrong syntax. I tried this instead:
touch.touchPosition.xymix = 1.0
touch.touchPosition.yxmix = 1.0

It seems like xymix and yxmix would allow to flip the input, but dumpsys input reports that these values are still 0.0. OrientationAware stays true with these values, indicating acceptable syntax.

Can this also be used to remap the hardware buttons on a Wacom tablet?


text:
frp and screen lock issues vivo y02
I received my vivo y02 v2236 as a gift, unfortunately, someone mixed it up with their phone i cannot locate the owner and I am stuck with this. I cannot bypass FRP and screen lock as I don't have the credentials as I received it as a gift. I tried the factory reset still no luck, Android version 12 32GB storage

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Please follow the canonical FAQ about bypassing FRP.


text:
Galaxy A51 stuck in ODIN mode after OTA update
Samsung Galaxy A51 received an OTA update last night - installed it, auto-restarted, loaded the Samsung welcome page, then loaded a bright blue screen with:
ODIN MODE (AVB fail)
SUPER: Build-id does not match with the reference
(SUPER): 71281625R, (BOOTLOADER): 66118624

Downloading...
Do not turn off target
Do not disconnect USB cable during the software update!
Volume down key + side key for more than 7 secs : cancel (restart phone)

And a barcode in the bottom-right corner of the screen.
Followed the instructions to restart (vol & side key) but just returned to the same ODIN page. Same when restarting when connected to the PC. PC says it can't recognise the USB device when it's connected.
I'm not interested in using the phone again, I just want to retrieve photos and any other data from it if possible.
I'm a relative novice, but I can follow instructions if anyone has a solution? Thanks!

This should work without losing any data. https://youtu.be/ITHXrsIexkg?si=Aq7vnvY4yRfRpDUS

Thank you @A51 all fixed!  Took me a while to work out which CSC I needed but main thing is I've been able to retrieve all the photos and files!


text:
How to configure Wi-Fi Direct P2P to connect to Android?
I'm struggling in connecting an embedded device to Android. Currently, I'm running on the device the following commands:
killall wpa_supplicant
killall hostapd
killall dnsmasq
killall dhclient
ifconfig wlan0 down
sleep 1
modprobe -r dhd
modprobe dhd nvram_path=/etc/wifi/nvram.txt firmware_path=/etc/wifi/fw.bin op_mode=1
ifconfig wlan0 down
ifconfig wlan0 10.10.10.1
cat > /tmp/wpa_supplicant.conf << EOL
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
device_name=NAME_ON_ANDROID
device_type=2-0050F204-1
p2p_listen_reg_class=81
p2p_listen_channel=1
p2p_oper_reg_class=81
p2p_oper_channel=1
p2p_go_intent=1
p2p_no_group_iface=1
network={
    ssid="NAME_ON_ANDROID"
    bssid=72:2c:1f:6c:81:49
    psk="theinout"
    proto=RSN
    key_mgmt=WPA-PSK
    pairwise=CCMP
    auth_alg=OPEN
    mode=3
    disabled=2
}
EOL
cat /tmp/wpa_supplicant.conf
wpa_supplicant -B -D nl80211 -i wlan0 -c /tmp/wpa_supplicant.conf
wpa_cli -i wlan0
    p2p_group_add
    wps_pin any 0000
    quit

The device appears in the Wi-Fi Direct interface of Android as 'available' with the name 'NAME_ON_ANDROID'. When I click on this name on Android, I'm invited to enter a password and I enter 0000. Then nothing happens.
How can I connect an embedded device with a fixed IP address to Android? In the config file, should device_name be the same ssid?


text:
How to connect a specific Bluetooth device using Google Assistant?
I wanted to know if there was a command for Google Assistant to connect a specific Bluetooth device.
It would be very convenient to use in the car so you don't waste time fiddling with your cell phone.

Example: "OK Google, connect to Pixel Buds Pro."


text:
Samsung Galaxy A51 freezing and restarting after update
I updated my Samsung Galaxy A51 to Android 13 (One UI 5.1). My phone screen keeps freezing, going black, and restarting on its own. It happens every couple of minutes.
I did almost every possible way I searched online like hard reset and all settings reset. Memory is not full.
How can I fix it?

Is it meant to be updated to Android 13 ?  Is this a normal Samsung update ?

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

@RohitGupta updated to Android 13 and One UI 5.1.1


text:
INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.google.ar.core attempting to redeclare permission
After the deletion of Google Play Services for AR I can't install it anymore.
Google Play Store shows an error when I'm trying to install:

Can't install Google Play Services for AR

I have checked logcat and saw an error
10-31 21:07:18.787  4837  4837 E Finsky  : [2] rir.e(27): Submitter: commit error message INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.google.ar.core attempting to redeclare permission com.google.ar.core.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION already owned by com.google.ar.core
10-31 21:07:18.793  4837 26991 E Finsky  : [1336] qyj.a(63): IV2: Task Failed: tid:1000000028, statusCode:6004
10-31 21:07:18.793  4837 26991 E Finsky  : com.google.android.finsky.installercommon.InstallerException: Status: 6004
10-31 21:07:18.793  4837 26991 E Finsky  :      at riq.apply(PG:131)
10-31 21:07:18.793  4837 26991 E Finsky  :      at apyf.e(PG:3)
10-31 21:07:18.793  4837 26991 E Finsky  :      at apyg.run(PG:42)
10-31 21:07:18.793  4837 26991 E Finsky  :      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
10-31 21:07:18.793  4837 26991 E Finsky  :      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
10-31 21:07:18.793  4837 26991 E Finsky  :      at nvr.run(PG:147)
10-31 21:07:18.793  4837 26991 E Finsky  :      at java.lang.Thread.run(Thread.java:1012)

But com.google.ar.core package is not installed.
adb pm list permissions -f shows that the permission is still exists.
+ permission:com.google.ar.core.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
  package:com.google.ar.core
  protectionLevel:signature

Installation with adb gives the save error
adb: failed to install arcore.apk: Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.google.ar.core attempting to redeclare permission com.google.ar.core.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION already owned by com.google.ar.core]

Device info:

Google Pixel 6a
Android 14 Beta (U1B2.230922.010)

Welcome to Android Enthusiasts. Looks like Google Play Services for AR is a system app on Pixel devices. How did you uninstall it? Is the device rooted?


text:
Application special access Wi-Fi control is blocked on Verizon Samsung Galaxy No 10+
I have a Samsung Galaxy Note 10+ (Verizon, unrooted). I am unable to disable the application's access to WiFi control. I could in the past.
In Settings - Apps - Special access - Wi-Fi control, all apps are ticked and blocked.
Why? Can this be fixed?

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Could you describe more about the apps? Are they Samsung apps or do they include 3rd-party apps? Checking my Galaxy M12, looks like some of the system apps can't be disabled. Otherwise, you may want to check if there are active Device admin apps that may lock the settings.

Is your wifi enabled when you are doing this ?

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


text:
Samsung Galaxy J1 shuts down after "Optimizing Android" on startup
I have an old Samsung Galaxy J1 20W that when it restarts, it goes to the 'Optimizing Android', and whenever it gets to '13 out of 13', it just shuts down and won't turn on again unless I take out the battery and put it back in.
Is there any hope for it? Or is it done for good?

You could try to reinstall the original firmware (there are some tools and websites available which allow to download the full OTA images) and/or perform a factory reset.

Where would I find the firmware?

For Samsung devices sammobile has AFAIR has the firmwares.


text:
How to recover files from Android device on bootloop?
I have an old Android device that is stuck on bootloop. I found on another website that you can use adb for this purpose.
I installed adb and found the device through adb devices command but when I try to run adb shell it says
adb shell error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

What can I do? Thanks!

"device unauthorized" means you first have to accept a dialog that is shown on the phone. This only works if the device is fully booted and the UI is available. As you device does not boot I don't see a way you could enable adb if your phone is not rooted or bootloader unlocked.

@Robert Is there anyway at all to recover data ?

You can check online if your phone has something like a "safe mode" which reduces the boot sequence. If not I don't see a way to get access to the files if the phone is running Android 6+ (as newer versions should have encryption enabled by default).


text:
An app requires mobile data from a certain SIM. How to bypass this?
I have a foreign SIM card and app which needs to be activated. An app, to be activated, requires

mobile data, and
of the SIM card

An issue is that I'm far away from a country and can't use the SIM card due to the high cost of a package of data, which may not even work here.
The app won't work for the first time if I use data from a local SIM card. Nor from Wi-Fi either. My phone isn't rooted.
Is there a way to trick the app somehow? Perhaps, insert an original SIM card and then make it use WiFi or data of another SIM card somehow, on the backend? How to bypass this? It is used to activate it only once, and afterward, Wi-Fi may be used.

Without knowing the app and the MNO which provides the SIM card, but I would implement this using network level restriction. The activation server is only accessible from within the network of the MNO, and the only way for you to get into that network is the SIM card of that MNO.

@Robert firstly, there's no question of how it may've been implemented, but how to bypass it

@Robert the app is accessible from ANY sim-card and ANY operator, as long as they're of once's original sim-card -- the sim-card that was used initially, at signing up

Welcome to Android Enthusiasts Stack Exchange. Tricking the app usually needs root access to modify the system behavior (i.e. API call). Also, I'm a bit curious why the app needs to check the mobile data connection of a SIM card specifically. Is the app related to government/banking?

@AndrewT. welcome!!!!!!!!!!!!!


text:
Samsung phone - What does "OLM" mean for the CSC Code?
I attempted to root my (new) Samsung A24 - and while that worked, I've been having issues with the phone suddenly being unable to make or receive calls after a random number of hours until I reboot it.  I'm trying to work through this.
While I did flash the phone with firmware that claims to be for my region (NZ - so XNZ), the CSC files don't mention "XNZ" in them, they mention "OLM".
I've been unable to find out what this means.  I did discover OXM is some kind of universal software, so I'm wondering what OLM stands for, and also wondering if it is appropriate for my region!

I haven't dug deeper but looks like OXM and OLM are multi-CSC codes: Changing multi CSC from OLM to OXM using combination ROM?


text:
Is it bad if a cable is higher current rating than a charger? Can a 6A cable charge at lower ampere?
My phone adapter supports 11V=5A and 20V=3.3A
Can I use a 6A charging cable? Will it charge at 3.3A or 5A? I cannot find a good 3.3A or 5A cable.

There are three things at play here.

The source (normally USBA) may supply a fixed voltage or may try to autosense to deliver the right voltage.
The cable, which may not connect to all the pins.  For example, it may not connect to both the voltage pins on the USBC.  Which is why some cables work better in one orientation, even though they are reversible.
The device, and what it is expecting, on what voltage and pin.

Normally it is best to use the cable that came with the device.  Otherwise look for a cable with a chip in the connector, this tries to solve the pin/voltage issue. Or look for a cable which says it will work at that voltage/power. Else, its trial and error.

Yes, using a cable rated at higher amperage than the charger is safe and effective. The amp rating is (in simple terms) the maximum the cable can take without overheating. Higher-amperage cables are thicker, stiffer, heavier and more expensive, because they contain thicker wires with less electrical resistance.
The amperage that will be used in practice depends on what the phone and charger negotiate between themselves.


text:
Is it possible to avoid installing magisk bootloop protector module on Magisk?
I am using Pixel 8 with Android 14.0 (UD1A.230803.041), with Magisk Delta Canary version(0fe46c5a-delta, 26301).
The problem is that Magisk Bootloop Protector module causes my phone to crash. The only way to prevent crashing is to remove (not disable) the module, but it gets installed every boot without any prompt or user intervention, so I have to remove that every time I have to reboot the phone.
That's not much to bother, it's not like it's impossible to remove,
but sometimes removing the Magisk Bootloop Protector causes all of the other module to be disabled, requiring to be enabled and reboot the phone. Yes, rebooting the phone would automatically install Magisk Bootloop Protector to be installed again, so I have to remove that - sometimes this loops so I have to reboot again, remove the module again, so on...
Is there any way to disable installing the module, or am I out of luck?
P.S. Even with no other modules installed at all, I found that this module was causing the crash, so I think other modules are irrelevant to this question. I've already tested.

(I hope this question is on-topic, but please let me know if it's not. )

In the Magisk documentation if you have problems with Magisk modules that cause boot-loops you can put your phone into safe mode and that can disable all modules so you can remove the module causing problems then reboot normally.

Thank you for reading my question. I've already read and done that. Now you do the same, read my question.

Yes, it is possible to avoid installing the Magisk bootloop protector module on Magisk. The bootloop protector module, also known as "init.d scripts," is designed to help prevent bootloops on your device by running certain scripts during startup. However, if you prefer not to use it, you can simply avoid installing this module in Magisk.
To do so, follow these steps:
Open the Magisk Manager app on your rooted device.
Tap on the "Modules" section in the app.
Look for the "Magisk bootloop protector" module in the list of available modules. If you haven't installed it, you won't find it in this list.
If you find the module and want to avoid installing it, simply don't select or install it. You can choose to skip this module during the installation process.
If you have already installed the module and want to remove it, go to the "Modules" section, find the "Magisk bootloop protector" module, and tap on it. Then, select the option to uninstall the module.
By following these steps, you can avoid installing or remove the Magisk bootloop protector module if you don't want to use it. This will not affect the functioning of Magisk itself, but it may affect how your device handles certain scripts during startup.

Welcome to the Q&A site Android Enthusiast Stack Exchange. Could you mention the source or reference to back this answer up?


text:
What features will I lose if I upgrade a Samsung Galaxy S23 Ultra from Android 13 to Android 14, if any?
I have a Samsung Galaxy S23 Ultra running Android 13. What features will I lose if I upgrade a it from Android 13 to Android 14, if any?


text:
Add phone number and note in Samsung Galaxy A72
My Samsung Galaxy A72 phone can add "notes" to phone numbers in my call log that do NOT have a contact associated with them.
I want to add a lot of numbers to my block list and add notes to them, is this possible somehow with adb or with some sort of program (that I can write myself, if I have to)?

I am not following, does the first statement contradict the second?  If not, then please make it clearer.

@RohitGupta, I am unsure how they contradict. First statement is "I can add notes to dialled phone numbers" and the second is "I want to programatically add dialled phone numbers."


text:
Adding extension to Chrome mobile browser
I, like must people use my cell phone a lot. I use the Chrome browser. But if I try to add an extension, say for example...a coupon extension... It won't add it to my mobile browser. Is that something that's possible to do?

Chrome for Android doesn't support browser extensions. You have to use other browsers as per the answers on the duplicate.


text:
ADB shell "vi" file and command issue
I don't know how to fix the following issue, please help me (My OS is Win 10):
After I use adb shell to enter the device->

When I use "tab", it shows some symbols (it may related to the next issue)

I try to edit the file. but as you can see, its format is complete chaos

The last one is I type "space" and it keeps showing 1H/2H/3H...etc.
Am I missing additional plugins on my Windows or anything else?
I'm new to Android development, I try to find similar issues, but I have no idea what I'm looking for and how to fix this one.
Feel free to give any advice! Thanks!

What vi version do you use? Android by default does not contain an editor like vi or nano. So may be your vi version expects a different environment (linux terminal). The output window looks like old Windows cmd terminal. You can check is Powershell is better for starting adb shell.

Welcome to Android Enthusiasts. I have a feeling the formatting issue is due to the different new line indicators between Unix (LF) and Windows (CRLF)...

Please dont use images for textual information.

Rather than using vi, start by using cat on the file, and see if that produces saner output. Please update the question with the results.


text:
Pixel 4a - is it possible to play music (in car) over USB?
Is it possible to play music from my Pixel 4a over USB in my car?
My car is a Ford Focus from 2016. If I plug in an iPhone, the car just starts to play whatever music was last listened to (or just starts playing the first track in the alphabet). This is great.
However, I'd rather use an Android phone than an iPhone, and the Pixel 4a is otherwise great, but the playing over USB feature is important to me; the sound over Bluetooth in this car is rather poor.
Does anyone know if this can be done?
I've tried some different music apps - e.g. USB Audio Player PRO - to no avail; even using the USB OTG extension that came with the phone.
USB Preferences are set to File transfer/Android Auto
I also saw this question: 2012 question from 2012 and thought (hoped) things had moved on since then.

I don't think this is so much an Android question as a question about your headunit... This required the headunit be able to read the media library and playback via USB, it's a feature of the headset (my JVC unit can do this), and a little finesse of allowing USB connections in the device... It's not really an Android thing.

Ok, so do you mean that e.g. something like this might work? https://www.amazon.com/T-Style-Replacement-2012-2018-Wireless-Touchscreen/dp/B09GVPBTS4

You should check if your version of Ford SYNC is supported by Android Auto: https://www.ford.com/support/how-tos/sync/getting-started-with-sync/which-vehicles-are-compatible-with-android-auto/ Additionally you may want to document/edit your post to include which USB Preferences (search in Settings) is configured/has been tested.

Thanks @MorrisonChang, looks like my car is juuust too old; I have SYNC with "My Ford Touch", need SYNC 3 with touch screen or newer. I'll also update the question as you suggest :)

Just another personal experience: I have been listening to music on the Honda HR-V (2017) head unit (not sure about the model) using Nexus 5 (Lineage OS 14.1, Android 7.1.2), micro-USB (somehow Bluetooth was not working), and Spotify app. The head unit doesn't support Android Auto. So, the answer to the title is highly certain "yes", but looks like the answer to the detail in the question is "depend" (as @acejavelin has explained)


text:
How to retrieve lost calendar data?
My phone is a Samsung Galaxy S23 Ultra. I've lost all the data on my calendar. I manually typed everything in the calendar that came on the phone. I don't use the Google Calendar app, but I've noticed the calendar pulls in events from my Gmail.
Last night, I was trying to figure out why the battery of my phone was suddenly not lasting all day even though my usage patterns haven't changed. After reading a few articles about T-Mobile adding apps during updates, I disabled and deleted a few. For example, I disabled configAPK and deleted a few Meta ones.  I googled what each were beforehand. None said anything about the calendar. I'm guessing I've messed up.
Is there any way to get my calendar back, restore the calendar to yesterday, or restore my phone to yesterday? I'm ok to lose what I've done on my phone in the last 24 hours.
I checked my backups. Looks like the last backup was Jan 28. So backing up to a previous date won't work. The invites my husband accepted are still on his phone. If the invite is still on his phone, doesn't that mean the calendar is there somewhere?

Usually calendars are Google calendars so they are automatically synced with your Google account. If you are logged in with Google in your web browser you can check your calendar(s) at https://calendar.google.com.

@Robert I would give you a hug if I could. It's all there!!!

Then you only have to re-enable the apps required to provide and sync the calendar on your device. For safety I would export your calendar, just to make sure https://support.google.com/calendar/answer/37111?hl=en

As Robert was probably thinking, you'll want to create that calendar export right away from calendar.google.com before syncing any devices.  By doing so, you know you have a backup if something goes amiss during the sync process.

Robert and @End Anti-Semitic Hate Thank you! I'll do that before any other steps.


text:
What app is this chat icon from?
Hi all,
I've been trying to identify what app this chat icon (outlined in red) is from. It's a screenshot from a Samsung phone in the USA. It's not the native Samsung or Google messages app. It has a right facing arrow inside of a speech bubble. I've tried googling but only come up with stock images for app developers. This is from a screenshot I received so I can't go into the phone and see what the notification is from. Anyone have any idea?

No, its not standard.  Only you know what apps you have installed.  Look at this post

Welcome to the Q&A site Android Enthusiasts Stack Exchange. If you're the device owner, please try the following method. Otherwise, since there are millions of Android apps and more for notification icons, the community can't help anymore in identifying a specific icon of an app.

This isn't on my phone which is why I can't identify it myself. Apologies for the confusion.

@ferncorre Without the actual phone it would be very difficult/impossible to determine which app owns that icon. For all anyone knows it could be from an beta app not released to the public or the app isn't from the Google Play Store or its a side-loaded spoofing/hacking app downloaded by a victim


text:
Why do my headphones have a colour photo instead of an icon in Bluetooth settings

In my Bluetooth settings, I have two paired audio devices: "Bedroom Speaker" is a Google Home Mini and "WH-1000XM4" are my Sony headphones. As they provide both audio and hands-free profiles, I would expect Android to assign a "headset" icon (headphones with a microphone). Instead, they are displayed with a realistic photo of the headphones themselves. My friend's Pixel Buds also display with a photo in this manner.
What mechanism causes Android to display the photo? Is it a hard-coded list of "popular" devices that are added to Android for an enhanced experience? Or is it theoretically possible for any Bluetooth device to present itself in this way?
I inspected the available services with nRF Connect. The short (16-bit) service UUIDs were 0xFE2C, 0xFE03, and 0x0709, but none of the characteristics supported READ operations, so I thought it unlikely that they were responsible.
I am using a Pixel 7a running Android 14. My previous phone ran Android 11 and did not show a photo icon for any devices. I have not installed the Sony headphones app on this phone.

I don't think AOSP implemented this. However, I'm curious if it's only Pixel/Google devices, or if other manufacturers' devices also show this (e.g. because the icon may look different on Samsung devices). Otherwise, it's possibly Pixel-only customization.


text:
Cannot send touch tones for press number or enter card number?
I have a Samsung Flip 3, when asked to push a number or enter my card number was not working despite many efforts. I can tell you the solution I found on the forum from years ago after much searching was absolutely the fix:
Settings, Accessibility, Interaction and Dexterity, Touch and hold delay, change from Short to Long. Problem solved.
Cheers.

Hi, this forum works differently, its a question and answers style.  If you want to do both, then please separate the answer into teh answer section.

Welcome to the Q&A site Android Enthusiasts Stack Exchange. We appreciate everyone's contribution. However, looks like a duplicate question about the same issue already existed. Thus, this question has been closed as a duplicate of the older question. Keep contributing though! :)


text:
How can I force the phone to have a fixed IP address on 2GHz and 5GHz WiFi?
I am running an FTP server on my Samsung Galaxy Note 20. On my router, I have given it a fixed IP address based on its MAC address on a 5GHz network. But when the phone connects on 2GHz, it has a different MAC address.  My router refuses to give the same IP address to two devices, even if only one is connected.
How can I resolve this?

I would disable MAC address randomization for both Wifi entries that belong to your Wifi router.
Then your device is seen by the router as one device with one MAC address.
You can do so by editing the Wifi entry, open the "Advanced options" section and there change the Privacy setting to "Use device MAC".

I had set the IP address on both networks, on the phone to static.  This was working but I wasnt happy with it.  Above is a better solution.

While I prefer the accepted answer, there is another way to do this.
Set the static IP address on both 5G and 2G Wifi settings.  This works well, but I prefer the IP address to be set by the router/DHCP.


text:
Why did a grey bar with app shortcuts appear on my Lenovo tablet and how do I get rid of it?
What is this grey bar with app shortcuts at the bottom of my screen of my Lenovo Tablet? It appears over top of every single application, including the Nova launcher which is my default. When I switch to the default launcher, it's not there. And, in the launcher settings I can control whether or not I can add "All Applications" shortcut or most recently used apps to it. But, after spending a bunch of time, I can't figure out how to actually get rid of it entirely.

Welcome to Android Enthusiasts. AFAIK, it looks like a new feature of Android 12L, the "Taskbar". Unfortunately, I don't know how to remove it since I don't have a tablet to experiment with.

That is the app task bar for Android tablets which has been introduced in Android 12L (Lenovo tablets get it usually with Android 13). There is no option to disable it. On some devices the bar disappears when setting the Minimum width in Developer options below 600dp (on my tablet this doesn't have an effect).

Thank you. What a horrible design choice. Hopefully a toggle is added.

Apparently, I was reminded that I had written an answer about Taskbar on Samsung tablets where they have a toggle. But I haven't researched if there's a toggle on Lenovo or not.


text:
What determines the language splits installed with apps?
I have an Android 10 device that I recently updated the (custom) ROM on, and now (for apps that have splits that include language splits - for example, config.en.apk) when installing or updating an app, I get not only English, but Spanish (config.es.apk), as well.
In System / Languages, I have only English (United States) selected. Installing the same apps on other devices installs English only (the aforementioned config.en.apk).
What setting or configuration option forces apps to add support for Spanish?

My device is set to German and I am in Germany and most split apps are installed with a German "de" split config and an "en". Just a few apps have only a "de" split installed. So I don't see a rule in when an app installs multiple language splits. May be there is a default language and if the local language split is incomplete (does not contain all messages in a translated version) the the default language is installed?

Wild guess, either the device model is related to that specific country, or some system variables (e.g. build.prop) might also be related.

@AndrewT. As I stated, this did not happen before a recent ROM upgrade, so I don't believe that the model (Xiaomi A3) has any relation to a country that wants to include Spanish language splits. I don't see anything in the build.prop that suggests Spanish (in fact, one line states ro.product.locale=en-US). I can post the entire build.prop (2668 characters), if desired.


text:
One-handed (half-QWERTY) layout for physical keyboard connected to non-rooted Android device
My goal is to be able to use a physical keyboard (connected to a non-rooted Android 10+ device via Bluetooth) to input letters located on the right side of a QWERTY keyboard while actually pressing only keys on the left side. The solution could be specifically tailored for one-hand typing but a general key remapping solution might also work (it needs to allow the key to send one input when pressed alone and a different input when pressed together with a modifier key).
Due to a hand injury, I am forced to temporarily type with only my left hand on the QWERTY keyboard. One way to improve the typing speed in such a case is to use software that enables a half-QWERTY layout for touch typing. The way it works is that when a letter (such as q) is typed with its usual hand, the operating system sees it as that letter, but when it is typed while holding a modifier key (e.g. space), the respective letter on the other end of the keyboard (the one typed with the same finger of the other hand in two-handed typing) is used by the operating system (in this case, p).
For desktop operating systems, there are solutions allowing the implementation of such mechanisms (e.g. Karabiner-Elements on macOS, AutoHotkey on Windows) but I was not able to find such a solution for Android. It doesn't help that in the context of mobile devices, a one-handed layout is most commonly applicable to touchscreen keyboards, not physical ones, so searches for related keywords do not return any meaningful results.
I would prefer a system-wide solution but for my use case, I mostly need it for code-server (version of VSCode accessed via web browser), Obsidian (note-taking app) and optionally Termux (terminal emulator for Android). I can remap keyboard shortcuts for these apps, so I am mostly concerned with regular typing (letters, special symbols), not key combinations.
Also, I would use it mostly for Onyx Boox tablet (Android 10 device with epaper screen) but I also use other devices with the same or newer Android versions.

As a temporary solution, I found that when I connect to my Android device via scrcpy (either in mirroring or OTG mode) from a computer that has a working half-qwerty setup, the input passed through scrcpy is inheriting this setup. So it's possible to use a keyboard connected to computer (either external or built-in laptop keyboard and trackpad) as a middleman to enable this on Android. I would still prefer standalone solution, though. I tested this on Macbook with half-qwerty done via Karabiner-Elements, connected via USB-C cable to Android device.


text:
Inactive menu bar on Android Gmail when invoked by sharing a file
On Android, when I try to share e.g. an image file from the gallery via the Share button and select Gmail from the options, Gmail pops up with a fresh email, with the image attached. I can edit the "From", "To", "Subject", and "Body" fields as usual. However, no matter what I do, I cannot send the mail. As a matter of fact, the whole menu bar seems to be unresponsive: Back, Attachment, Send and Menu (vertical 3 dots) don't respond. I must exit to the home screen, in which case the message is saved as a Draft. I can then access the draft by opening Gmail, and can send it without any issue. Why can't I send the mail directly when invoked by Share?
This has nothing to do with file size, because even if I delete the attached file from the mail, the menu is still unresponsive. Gmail has the relevant permissions on my phone. Also, on the very same phone, I can share the same file through Outlook as expected, without the issue.
(Xiaomi Redmi 9T, MIUI version 12.0.6, Android version 10 QKQ1.200830.002)

I just tried it on Pixel 3a, Android 12, and there's no issue. Could you also mention the device model and Android version, just in case it's related?

@AndrewT. Please see edit.


text:
Google Authenticator signed out of my account. I can't sign back in without a PIN I have never created. Where do I go to create or reset this PIN?
Google Authenticator has (not for the first time!) decided to forget all my codes and sign me out.
However, this time when I tap Sign In I an prompted to 'Confirm your PIN':

I have never set this PIN. Where do I find it in my Google Account settings? Preferably, how do I disable the PIN entirely and revert to using my account username/password pair?

Welcome to Android Enthusiasts. I have been using Google Authenticator app for years and I don't recognize this look. Is this the official Google Authenticator app? Otherwise, could you mention the device model and whether there's a parental control/app lock/device administrator active?

@AndrewT. It's the official Google Authenticator app (Version 6.0) running on a Huawei PLE-701L, not rooted/jailbroken or anything like that. There are no parental controls or app locks - I am the sole user of the device.

Based on a quick research, looks like this is the same screen for unlocking the device on Huawei. This is because apps can request Android to show the "lock screen" to authenticate the user.

@AndrewT. You should make that an answer

@AndrewT. This is not the same screen that unlocks the device - that looks like a standard Android unlock screen and nothing like this - but the device unlock PIN is what it was asking for and that's what worked! I have never seen an app use this interface before, nor have I ever had an app ask for my device unlock PIN to do anything so it never occurred to me that was the PIN I should use. In the small chance anyone from Google ever sees this: This is absolutely terrible UX! Nevertheless, if you can turn your comment into an answer I can accept it. :) Thanks for your help!


text:
Do the same phone models with different version have different modem hardware?
Many phones have different variants for different regions: India, China, N.A., Global, etc. Apart from eSIM support and ISP restriction (like AT&T in the US), the supported radio bands are often different.
I wonder if this is caused by hardware or software? For example, if the Global version supports certain LTE bands, while the Indian version doesn't, will flashing ROM (or flashing modem) enable those bands?

Different supported bands means different frequencies. The antenna is the component that has major impact on which frequencies are amplified and which are weakened, therefore emy guess ist that at least the antennas are different.

Welcome to Android Enthusiasts Stack Exchange. I removed the secondary question because it makes the question unfocused (multiple unrelated questions) and the nature of the question itself is so broad (e.g. software supports, ROM features, etc.)

Phones are manufactured for different countries to support not only the bands that are used there but also the regulations.  For instance I had a phone from the middle east once, where I could not remove the Muslim holidays from my calendar!  And even though EEG hardware has been on the Samsung watches for a while, this is disabled in certain countries where they dont yet have permission to use.
It is quite a common problem (even on this site), where people have purchased a phone meant for a different country.   At the very least this means that the antennas are different. Which means that the phone may not support all the bands available in the 2nd country.


text:
Any way to recover data from a device that had its partition table corrupted?
So, I have this custom ROM that occasionally had a bootloop here and there. Usually, I wiped and reinstalled. Recently, the ROM became very stable, and if I just don't touch anything on bootup, all is fine, but someone else touched the phone. I don't know if they accidentally messed anything up but the phone again went into the bootloop.
I tried adb sideload flash the ROM to a newer version in the hope that the boot.img gets fixed, and the flashing worked as I now see the new version in recovery, but I still had the bootloop. I probably made a mistake as I flashed boot.img with fastboot flash boot on an A/B device with ramdisk.
The phone structure is a huge mess, but I ran it with Magisk on the boot, and sometimes recovery in the ramdisk. Hopefully, I haven't made things worse and I can retrieve the data.
When I fastboot boot twrp, I saw that everything internal storage was 0 MB. The problem is that the ROM is Android 13. I hope that my data isn't encrypted. Usually, I had access to everything before this bootloop as I decrypted everything when I set it up in the first place.
I just did the update from adb sideload and flashed boot.img and recovery nothing else. Yet in TWRP, it displayed data as 0 MB.
I don't know what to try and see if the data is still there. Thank you for reading.


text:
YouTube app asked me to turn on notification
Yesterday, I opened my YouTube app in my Redmi Note 11, but it had a pop-up saying something like “Don’t miss the new videos, turn on YouTube notifications.” I didn’t click anything on this pop-up, I tapped the arrow button at the bottom of the screen and the pop-up was gone.
I have turned off the YT app notification for a long time and have never seen this pop-up when opening the YT app before, I don’t know if it is YT legitimate system pop-up or not.
Has anyone ever found this pop-up or know whether it is a legitimate pop-up from YT or not?
Thank you.

Yes, the YouTube app may remind the user about the notification being turned off.
I just turned off the global notification for the YouTube app from the Android settings for the first time, and when I opened the app, I also got the same pop-up.

Turn on notifications
Don't miss the latest videos and more from your favorite channels.
No thanks Turn on

Clicking "Turn on" will bring the user to the Android notification settings for the YouTube app directly. Looks like the pop-up will only be shown once per device. (I have 2 Android devices, dismissed on one device, and tapped "Turn on" on another. Clearing the app data/storage still didn't show the pop-up again).

YouTube app has shown a similar reminder previously, although not so prominent, by showing it on the app directly.

Image from Reddit - [question] How do we disable the "Don't miss new videos" pop up? Everytime you reopen the app it's there. Archived version.


text:
Pixel 3 Stuck in Fastboot mode with "No valid slot to boot" after Magisk rooting attempt
I was trying to install the factory software image from https://developers.google.com/android/images#blueline on my Pixel 3. I downloaded the image as well as the platform-tools with adb and fastboot.
After plugging in my phone, I ran adb reboot bootloader which put me into Fastboot mode. After this I tried to run the flash-all.bat file, but it was just stuck on the "waiting for devices" prompt. I'm not sure what I did at this point, but I must have really messed up the phone, because now I can't even boot from Fastboot, where clicking "Start" just puts me back in fastboot with the reason "no valid slot to boot." Any idea how I can get my phone working again?


text:
How to replace the adopted SD card without reformatting the entire phone?
I currently have a Fairphone 4 and a 1 TB SD card. It was set up as shared internal storage. Over the past few weeks, I've been having random crashes on the phone which I think may be down to the SD card.
I've got a replacement SD. However, if I use the new SD card, I cannot access any storage on the phone at all. If I insert the new SD card and format it as internal storage, I can see a total storage of 1.19 TB in the Settings app. However, if I go to the files app, I can't browse any folders. With the FX File Manager, it just says access denied whenever I try to navigate into the /storage folder.
I can't install any apps/updates on the phone unless I put the old SD card back in. It does exactly the same thing if I take the SD card out entirely, unable to browse the local folders/update any apps.
I'm hoping there's a way to allow access to the new storage area without resetting the entire phone?

My rule number one when buying a new sd-card is first to test it using a PC a nd a tool like "FakeFlashTest" or "h2testw" just to make sure the sd-card capacity is not faked.

@Robert Hi thank's for the reply. The SD is a genuine card. It works in other devices (PC etc.). I think the issue is that I'm either missing a step somewhere when setting the new card up that would give the system access to it or there's a bug/flaw in android that requires the phone to be formatted before it'll accept the new card. I say that as it appears that the main storage area is on the old SD card and taking that card out leaves me with no accessible storage on the phone, either with the new SD or without an SD inserted.


text:
How do I root my Alcatel 500r4?
I own an Android Alcatel 5004r and am trying to root it. Does anyone have any suggestions

Perhaps this belongs on Software Recommendations site

@RohitGupta nope, questions about the procedure of rooting a specific device are perfectly on-topic here, although becoming more uncertain to be answered due to many possible factors.


text:
Irreversibly Blocking Internet Access for an Hour
I need something like an app with a switch that I can press so that my Android phone would be blocked from connecting to the internet (whether Wi-Fi or mobile data) for an hour so that I may focus on things such as cleaning the house, reading books, or studying. Most importantly, the switch should be enforced and irreversible. I should be unable to connect back to the internet unless an hour has elapsed after pressing it. This is for self-control reasons. Non-rooted.

The simplest solution for this is a time-locked container. These are already sold, for purposes including mobile phone addiction. Examples from my local Amazon store, since I don't know which country you're in: Vaydeer, or Mplerven.
Doing this with software on the device is not dependable if you don't trust yourself: what software can do, it can undo.


text:
To add a “File As” field to your Google Contacts, you can follow these steps:
RESOLVED: Google Contacts WILL default to a 'File As' field as the main Contact name.
You just have to create the Custom field labeled File As. Follow these steps and you can change the names to whatever you'd like, AND keep all the real information in Contact records. Very handy! Thanks
To add a “File As” field to your Google Contacts, you can follow these steps:

Open Google Contacts on your computer.
Click on the contact you want to edit.
Click on the Edit button (pencil icon) in the top right corner of the screen.
Scroll down to the Show More link, click on it.
Select 'Add Custom Field'
Type in what you want to file the contact as, then (MOST IMPORTANTLY) type File As in the Label field.
Click on the Save button to save your changes.

That's it. Now why it's not already a field, nor in the Help section, who knows? But as of November 2023 it still works.
Best wishes. Have an amazing day!

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Looks like you're trying to post an answer to How can I force Google Contacts to respect "File as" (or "NickName") field for sorting and display? If so, I have unprotected the question so you can post the answer there now. Thanks, and happy contributing :)


text:
Android rk322x_box TV box on Andorid 6 tries to occasionally update and fails
I have an Android TV Box (MXQ-4K) Android/rk322x_box/. This device is on Android 6 and I bought it online; it came pre-rooted. It worked fine and then I stopped using it.
Now after few years, I have started using it again. It worked fine for few days, but now after few months, during YouTube video (which I use it mostly for) it just randomly tries to update without any cancel button, turns off with the DRIOD icon tries to update then the recovery screen appears telling, update aborted, turn off the device.
How can I fix this? Or at least simply disable the auto system update?

A pre-rooted device from pre 2016? Most likely the manufacturer doesn't exist anymore and thus connecting to the update server fails. You can try to sniff the traffic using an app like PCapDroid and check which servers it tries to contact and then redirect those servers to localhost using entries in the hosts file so the update check will fail fast.

Just remembered that on some devices you can disable system updates in Android developer options, but I am not sure if this also applies on Android TV. Anyway the system updater is a stand-alone app in your system. So with root you may be able to disable or remove it. Bug be aware that there is a chance that disabling or removing ( file renaming) the app may break system boot. Therefore only do it if you have a "back door" like a recovery ROM that you can do to revert your actions in case something goes wrong.

Everytime my stream smart started acting a fool a factory reset solved all the problems and just rely on kodis add-ons to auto update mine still works like a charm other than a lil slow 2g ram

But make sure u use reset button on outside of unit. DO NOT use factory reset in system setting as this my be an unrecoverable delete


text:
Home screen malfunctioned, unable to tap or open any app
Phone (Make, Model): Cherry Mobile Flare S8 Pro
Android Version / ROM Name: Android 9
Root: No
Unlocked Bootloader: No
Issue:
While I was browsing on Kiwi Browser as always and changing between apps, my phone just lagged. I tried to press the home screen during the lag but all my apps on the home screen seem to have disappeared, including the clock and other widgets. It's an empty screen with only the wallpaper.
Every few seconds, the apps on the home screen will show but after a few seconds, it will disappear again. When the apps on the home screen show, I can't press or tap any of them. Every time I do that, the home screen disappears again.
I restarted multiple times and even tried to reboot in safe mode but to no avail. It's still the same thing. I uninstalled a random app in safe mode to see if it works but nothing happened, the issue is still there.

However, I managed to find a way to access the apps by pulling the top bar and pressing the settings button, going to the apps, and then clicking on "downloaded from Google Play" which opens the Google Play Store. This allows me to open and use any apps downloaded from the Play Store. However, this means I cannot open them unless I try to update them first.
When I tried to normal boot after uninstalling the first app I saw in the safe mode, crazy stuff happened. My home screen suddenly turned messy and the arrangement became chaotic. (It was supposed to be three rows of app folders.)
I tried to open the apps on the home screen but instead of the app opening, the tiny buttons below which show the number of swipe pages on the home screen increased explosively, which can be seen in the second image.

I don't really know what to do here, I don't want to factory reset and lose everything. I'm too broke to afford any phone repair either. So it would be highly appreciated if I could get some help.
I took a 34-second video recording that shows the broken home screen here:
https://streamable.com/rnpip9

Considering the age of the phone your flash memory may be defect and has switched to read-only mode. If you connect the phone via USB to a PC, can you write a new file on the phone that survives a reboot? Anyway backup all your data to the connected PC as there is a chance that the flash memory will fail.


text:
Alarm on inactivity to prevent sleep and theft
Is there a way to configure android or install an app that will sound an alarm if the user stops using the phone?
This is to prevent the user from falling asleep in public transport. This is to ensure they get off at the right stop and to prevent theft while sleeping.


text:
Rooting carrier-locked Pixel 7 Pro
Just under a year ago, I changed carriers due to carrier unlock policies. The provider I switched to I was able to get the Pixel 7 Pro on a payment plan (2 years). With it being a Pixel, I thought at the time all Pixels were OEM unlockable. Man was I wrong, not only am I stuck paying off this phone for 2 years, but without carrier unlock first that can't happen. I know in every other device that If I issued a certain adb disable command, it bypassed that.
Is there not something similar I can do to get OEM unlock without carrier unlock? Any help is much appreciated.

If you plan to root a device it is in general not recommended to buy the device through a carrier. Carriers only want simple customers that don't make problems, but unlocking and rooting are an easy way to cause problems and even brick the device, thus carriers don't like it. Companies that produce smartphones don't have this problem as you loose guarantee when unlocking so all the problems you may cause don't affect them.

No, there isn't something else you can do... And all the Pixel's that are OEM unlocking blocked by the carrier, will always be so... even when paid off, they will carrier unlock the device, but that will not allow it to be OEM unlocked or allow bootloader unlocking. That is just "impossible", or at least it is as of now and has been since the inception of this policy.

Damn. My last few devices were oneplus and same thing carrier locked with OEM unlock greyed out but as soon as I issued adb shell pm disable-user com.qualcomm.qti.uim I would be able to toggle oem unlock and unlock bootloader even without cust_unlock.bin and that has worked from 6t-9 pro until 10t came along

And so at the end of the day any device that's not bootloader unlockable means that regardless if consumer pays it off the device is still truly never yours. How is that legal having a provider tell you what u can and cannot do with your own device. Another form of dysfunctional control

Welcome to Android Enthusiasts Stack Exchange. Unfortunately, this practice has started at least since Pixel 2 for refurbished and carrier-locked devices: Bootloader wont unlock on Google Pixel 2 (G011A), Google Pixel 2: Is it possible to verify that it cannot be OEM unlocked and why?.

OEM unlocking in Settings > System > Developer options queries Google web service to check if the device was sold as locked by a carrier.
The get_unlock_ability flag is stored in the OEM lock data block which is backed by Titan M on Pixels just like lock state, verified boot rollback indexes for the OS, user flashed verified boot key, Weaver tokens used as an extra input for encryption for throttling, factory reset protection data block, etc.
It is entirely implemented at the UI layer and bypassing that just requires OS (not even root) exploit. Another way is, you can fake the message to Trusted Execution Environment (TEE) that OEM unlocking has been authorized by Google web service but that will require dismantling of the SoC and fuzzing SPI bus channel which is not practical.
Either way, the attack will only work if Google is not signing the response for TEE to verify (have to confirm this).


text:
Facebook Messenger - Why can't sync be enabled?
Until recently I was using Messanger Lite, but it was moved to Facebook Lite, so I started using "classic" Messenger.
Unfortunately, it doesn't work well. However, the reason is simple. In Settings -> Accounts and backup -> Manage accounts -> Messenger synchronization is not enabled.

So it would be enough to enable it, but I don't know how to do it (after clicking on it, nothing is displayed unlike, for example, a Google account)
Do you know how to solve this please?
Thank you
PS. Samsung Galaxy A14 - Android 13 (One UI 5.1)


text:
Can’t set up my Alcatel tablet through Google
I recently decided to use my Alcatel tablet but forgot the password to unlock the tablet, so I did a hard reset to factory settings which worked successfully. My issue is that I’m stuck on the 2-step verification.
No matter how many times I put my email, password, and allow verification through my second device, it keeps coming back asking me for my email, password and again to approve verification through the second device, only to go back asking me again the same thing. I’ve tried through text and email still stuck.
Please help

What is the tablet model name? And what Android version is installed?


text:
Issues accessing school Google Account, after getting locked out of it
I just graduated this May and essentially, I had to get as many important files transported from my school account to my main before June. I'd say I did a good job of doing that, but not necessarily good enough. There are a few files I had either forgotten, overlooked, or now realized I wanted them. I didn't transfer my whole drive as there were a bunch of assignments and projects.
Fortunately, I can access the see files on the Drive app (Android), as I never signed out. However, every 10 - 15 or so seconds, it generates a prompt to sign in, it's a weird state. I'm not signed out, but I'm supposed to be locked out. So although I'm technically in, Google wants to verify it's me. At this point, I can see what files I have, but I can't preview unfortunately, for the most part. It's a Google purgatory.
I can edit docs if I'm offline (meaning I can copy text, and paste to a new doc in my main acc.), but that's all. If I try opening a Spreadsheet, I'll end up having a "Please make sure you are connect to the internet" error. Can't download images, and downloading docs/sheets/slides download an unopenable pdf on Android. Not only that but, if I use the link to a file, it's an "Access Denied" page, and says "Can't access item. The organization that owns this item doesn't allow you to access it" on the page. Not even a request access button.
To top it all off, the sign in to google with my school google email, redirects to a page that is an adfs page. I won't reveal the exact link, but it's pretty much adfs.***.org. Can't sign in as I'm not enrolled. So I want to bypass the adfs, and just have to continue with a regular google sign in prompt, as you would a regular Google account, if it works out. And in general, I'd like to find a way bypass school restrictions and regain access to a few files.

Sounds to me like your school account doesn't exist anymore but the Drive app has not recognized that. Now you can do everything which works offline (e.g. cached documents) but as soon as you try to do something online it fails because the account does no longer exists or is disabled and thus online access if impossible. You can not bypass the sign-in dialog because your account does no longer exists and even if you would manage to bypass it you would recognize that your files no longer exist. It is only your Drive app which has not realized that...

I really want to see if those "cached documents" can be viewed in a google tab (so I can view on Desktop), instead just on the app. Also how come I can't view my Spreadsheet as a "cached doc", like I can with Slides/Docs. Is there a way I can? And is there a time limit before I can't access the files or account at all?

Plus I'd like save some as Excel, Word, and PowerPoint, but I doubt I could do that at this point :(


text:
Hardbirck phone showing as unknow device instead MediaTek device
My phone (Redmi 9A) is in a hard brick state after an unsuccessful attempt to flash a custom ROM. Unfortunately, when I connect it to my computer (running Windows 11), it appears as an "unknown device" instead of a "MediaTek" device. Please advise on how to make my computer recognize the phone as a MediaTek device.
Important information :
The device was recognized as mediatek. It only stopped when I stopped the repair process. The tool I tried to repair the phone was smartphone flash tool


text:
Change Exchange Account Password
On my Phone (NordPlus 2, Android 12), I have setup an exchange Account which should sync Calendar and Contacts (not mail!) with a 3rd Party Exchange Server.
Some time ago, I changed the password for this Account and recently I discovered that the sync is not working anymore (as expected after the password change).
I would like to activate it again, but I can't find an option to do so.
Settings -> Users and Accounts ->  only shows 3 checkboxes for Mail, Contacts and Calendar and that's it. The Menu there only gives the option to sync now or remove the account.
I do not want to delete and recreate the account, as I would probably loose all events and contacts on the phone associated with this account.
What can I do to solve this?


text:
Reset MotoG Play, unusable without PIN
I recently inherited a Moto G Play (2021) from a family member who quit using it a while back. I factory reset it using the BIOS (hold volume up + power), but when going through the setup again, it's asking for the previous PIN on the phone. My relative doesn't remember it anymore, and they've since deleted the Google account that used to be associated as well.
Is there a way I can use the phone again? I'm okay with custom ROMs and such, and I actually don't even need to activate the cell service, WiFi only would be fine.

Standard advice on FRP: How to bypass Factory Reset Protection (FRP) or "Verify your account" screen?


text:
JavaScript bookmarklets not executing in Android Chrome
I know that Javascript bookmarlets work in Android Chrome as I did see
them working before, but today for some reason they don't.
I installed Android Firefox, and they work there. I have reviewed site settings on Android Chrome and it does say "allow Javascript" there. I have also tried running it as a "Desktop site" and it still does not work. It also does not seem to matter whether "Safe browsing" is enabled or not. It still does not work.
Gotta wonder why.

Possible duplicate: Is it possible to run a bookmarklet on Chrome by selecting it from the bookmark?


text:
Is there a way to specify a default download path for Google Drive/Chrome to an external microSD card?
I have a 512 GB external microSD card that's connected to a smart phone.
For speed reasons, I would like some functions like the camera to still use the on-board phone memory, but would like files downloaded from Google Chrome and Google Drive to go to the external microSD card by default.
Is there any way to do that?
I tried the following on an per-app basis:

(1) Google Chrome -> Settings -> Downloads -> Download locations //
But it says the SD Card does not have enough space, despite having 100's of GB of space that I can still transfer to after any download to the phone's memory
(2) Google Drive -> Settings // But there's no option to change the default download path there.


text:
"Ghost" blank activity showing up randomly
For couple of weeks I'm experiencing weird behaviour on my P30 Pro.
Randomly, from time to time, for a split second blank activity window is sliding from the right and back making usage of the phone problematic.
Especially while recording a video what leads the process to stop.
Nothing shows up on the recent apps view, AVG doesn't show any threats. Do you have any idea how can I hunt down responsible app?
Android 10, EMUI 11

If you enable Developer Options and adb on the device you can execute adb logcat -b events on a connected PC with adb minimal or Android SDK installed. This log may give you hints which app is responsible for the window.

@Robert, you should make it an answer, but expand it.  It is terse for anyone who hasn't used ADB before.

@RohitGupta My problem is that this is just theoretical knowledge, as I never had such a problem. I do remember a post here in ASE about events logcat and identifying an app, but I am unable to find it.

@Robert thanks for the tip, it turned out to be samsung apps related to galaxy watch. adjusting autostart / memory cleanup settings for them solved the issue.

Feel free to write an answer best with original output from your logcat event log. That would be very helpful for others having the same or a similar problem.


text:
How to identify possible causes for screen not working?
My Google Pixel 5a's screen has stopped working. When connected via scrcpy, the display is transmitted. Before ordering a new screen, I want to ask a couple of questions:
Could the problem be related to any other module?
Is it possible to identify the problematic module through ADB?

If your phone is bootloader locked you can try to check all the logs (adb logcat) you can get to see what errors it contains. But without any experience with a dead display you will have to interpret the errors yourself if it indicates a display error or not. https://www.xda-developers.com/how-to-take-logs-android/


text:
Recover bricked unrooted Moto G5 (bootloop)
My Moto G5 got stuck right after booting into Android, screen frozen at my Andorid home screen and was not responding. It was charging but battery was dead, like 1%. Don't know if that caused the issue. I had to remove the battery to turn it off.
After that it never booted again: does start up animations, then asks the PIN, then remains stuck on Motorola logo.I suspect it is bricked?
I really want to  recover data but sadly it is not rooted, with no custom recovery. Just plain stock Android.
I am able to enter fastboot and adb (with Stock recovery). Here's the getvar output
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8937-B8.31
(bootloader) product: cedric
(bootloader) board: cedric
(bootloader) secure: yes
(bootloader) hwrev: P5
(bootloader) radio: 7
(bootloader) storage-type: emmc
(bootloader) emmc: 16GB SAMSUNG QE13MB RV=08 PV=0D FV=000000000000000D
(bootloader) ram: 2GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=1F
(bootloader) cpu: MSM8937
(bootloader) serialno: ZY32256S53
(bootloader) cid: 0x0032
(bootloader) channelid: 0x5b
(bootloader) uid: 153EB23800000000000000000000
(bootloader) securestate: oem_locked
(bootloader) iswarrantyvoid: no
(bootloader) max-download-size: 535822336
(bootloader) reason: Volume down key pressed
(bootloader) imei: xxxxx
(bootloader) meid:
(bootloader) date: 06-13-2017
(bootloader) sku: XT1675
(bootloader) carrier_sku:
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Thu Jan  1  0: 6:47 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/cedric_timit/cedric:8.1.0
(bootloader) ro.build.fingerprint[1]: /OPP28.85-13/789a:user/release-key
(bootloader) ro.build.fingerprint[2]: s
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.41.12.cedric_timi
(bootloader) ro.build.version.full[1]: t.timit.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-08600-89xx.0
(bootloader) version-baseband: M8937_22.29.02.69R CEDRIC_EMEA_CUST
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-ga19fa3e (hud
(bootloader) kernel.version[1]: soncm@ilclbld34) (gcc version 4.8 (GCC)
(bootloader) kernel.version[2]: ) #1 SMP PREEMPT Fri Aug 17 09:23:26 CDT
(bootloader) kernel.version[3]:  2018
(bootloader) sbl1.git: git=MBM-NG-VB8.31-0-g77d3670
(bootloader) rpm.git: git=MBM-NG-VB8.31-0-gbd76357-dirty
(bootloader) tz.git: git=MBM-NG-VB8.31-1-g26cc248
(bootloader) devcfg.git: git=MBM-NG-VB8.31-1-g26cc248
(bootloader) keymaster.git: git=MBM-NG-VB8.31-1-g26cc248
(bootloader) cmnlib.git: git=MBM-NG-VB8.31-1-g26cc248
(bootloader) cmnlib64.git: git=MBM-NG-VB8.31-1-g26cc248
(bootloader) prov.git: git=MBM-NG-VB8.31-1-g26cc248
(bootloader) aboot.git: git=MBM-NG-VB8.31-0-g0b9dae9
(bootloader) frp-state: protected (77)
(bootloader) ro.carrier: timit
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
Finished. Total time: 0.062s

Is there any way to find out what is causing Android not to boot? which file/partition got corrupted, if any?
I understand that there are several "images" in a Stock ROM, such as gpt.img, boot.img, oem.img... I am not sure about flashing these because I don't want to lose my data forever

If you still have access to Fastboot, you can use Motorola's Rescue and Smart Assistant.
Or if you wanna do it manually, download Motorola's USB drivers and get your firmware from
https://mirrors-obs-2.lolinet.com/firmware/motorola/2017/cedric/official/TIMIT/,
then flash it manually through Fastboot/Bootloader. Make sure you match the fingerprint of the device. There are files in the zip called flashfile and servicefile in XML format. I converted the servicefile to flash instructions. The flashfile includes erasing userdata and cache which I didn't include below.
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.img
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash oem oem.img
fastboot erase DDR
fastboot oem fb_mode_clear

i did it, all commands run with success but still nothing, phone boots, asks PIN then gets stuck on Motorola Logo forever :(


text:
Can one downgrade a Samsung Galaxy S23 Ultra from Android 14 to Android 13?
I have a Samsung Galaxy S23 Ultra running Android 13. I am considering upgrading it to Android 14. Can one downgrade a Samsung Galaxy S23 Ultra from Android 14 to Android 13?
I found https://flash.android.com/ but Samsung Galaxy is not listed amongst their supported devices.

I would not recommend downgrading at all here's why.
https://source.android.com/docs/security/features/verifiedboot

One can use Samsung's Odin (firmware flashing software) to  downgrade a Samsung Galaxy S23 Ultra from Android 14 to Android 13 (by flashing the device to Android 13, which means all data/settings will be lost):

Although none of the publicly available downloads are authorized by Samsung itself, XDA-Developers consider the files offered on their Forum (Patched Odin v3 3.13.1 for windows) (Odin v4 1.2.1 for linux) the safest option.

Alternatively, one may use Heimdall (open-source).
Thanks Reddit for pointing me to Odin.

Just want to confirm if this has been tested and worked? Because Android has downgrade protection depending on the bootloader version.

@AndrewT. Good point, I haven't tested and I haven't read yet anyone who did test it.

I've seen a couple of videos saying it's possible but I don't think it works on all devices, it could be for some specific versions of bootloader.
I tried downgrading mine from Android 14 (One-UI 6.0) to Android 13 (One-UI 5.1) but failed when trying to flash with Odin.
I was only able to flash the latest version and not old versions.
My Samsung is S23 Ultra (SM-S918B)
Error encounter: sw rev check fail abl fused 3 binary 1


text:
Flash a JP Sony Xperia 5 II (A00SO) to a global Vodafone LC Net Locked (XQ-AS52) firmware
Can I flash a JP Sony Xperia 5 II (A00SO) to a global Vodafone LC Not Net Locked (XQ-AS52) firmware?
And what is different between Vodafone LC Net Locked and Not Locked?

Usually branded/net locked firmwares have a different signature than the global unlocked firmware so the device will not accept it, even if the hardware is the same.


text:
Install app widgets on Android Go?
I have already used this website to determine that I cannot put widgets on my home screen because of the version of Android Go I have installed.
What version or launching app in general would be the best option all around and of course would allow me to have widgets.

I use Nova Launcher.  It gives you a very customizable UI and allows widgets.

Customizable UI
Control your desktop, app drawer, dock and folders
Icon Themes
Customize the icons on your device to fit your personal tastes
Backup and Restore
Easily save and reload any and all of your custom setups

I am not associated with it.  They have a prime version (paid up), which has more features and taht is what I am using.


text:
Does upgrading a Samsung Galaxy S23 Ultra phone from Android 13 to Android 14 decrease the phone's performances?
I have a Samsung Galaxy S23 Ultra running Android 13. Does upgrading a Samsung Galaxy S23 Ultra phone from Android 13 to Android 14 decrease the phone's performances?

What "performance" are you interested in (for what purpose you are using the phone that is so "performance" critical)? You own a S23, which has a high-end CPU, so most users will not be able to even push this CPU to it's limit. Therefore it is not clear what performance you are talking about.

@Robert Thanks, e.g., increased lag when navigating through apps (= sluggish UI).

Based on the feedback I received on Reddit, it seems that upgrading a Samsung Galaxy S23 Ultra phone from Android 13 to Android 14 does not result in a decrease in the phone's performances.


text:
Why the screen lock password no longer matches after using a different disk as /data
I'm using a rooted Android 13 device, and an external SD-card that I mount as /data by editing the fstab. The SD-card is partitioned into few EXT4 partitions, and I can boot with any of them mounted as /data just by editing the fstab. For example, my current fstab entry is:
/dev/block/mmcblk0p2 /data ext4 noatime,nosuid,nodev,discard wait,noflush_merge,fsync_mode=nobarrier,reserve_root=134217,resgid=1065,check,formattable,quota,reservedsize=128m,latemount,resize,checkpoint=fs

And I can change it to mmcblk0p3, to boot with a different partition as /data.
But there is an issue. Each time I boot with a different partition as /data, it works, BUT when I return to my previous one (same way, by editing fstab), it's lock screen password/PIN/Pattern no longer matches. It says like Wrong PIN.
Since I don't use encryption, I easily solve it by deleting the locksettings.db file from /data/system. But if I used encryption, it definitely wouldn't work.
My question is why it happens?
Why, when I successfully unlock a phone booted with different /data, and then switch back to previous /data, the password that was set there no longer matches, and I have to delete it?
EDIT: I made an experiment with a clean, not modded phone (without any SD cards or Root), that uses encryption and everything is stock. I took a full backup of the NAND flash, which includes GPT table, all partitions, and therefore the encrypted userdata too. After taking that full backup, I performed a Factory Reset on this phone, and booted up. Then, I turned phone off again, and flashed my full NAND backup. The phone booted successfully, but yes, the password that was set there didnt match.
This result is very weird. What could even get modified on the phone, if not something on the NAND flash?

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


text:
Ads popping everywhere on Android 10
I have a simple Oppo A15 running Android 10 ColorOS 7.2.
It worked fine for many years but a week ago I started having some issues with ads popping everywhere. When using Chrome or any other app; as I am writing this message it happened twice. The ad is basically as if it's a new app that opens. The content of ads is not really relevant I think.
Any suggestions? It's becoming more and more annoying

I personally use DNS66, an app you can download through F-Droid.

Answers should be self contained, with a link for reference.  Please edit it to explain what this is, what it does and where you get it from.

Hi. Could you  explain how DNS66 app would solve the problem?

I would install a Virus Scanner.  My choice is Kaspersky.  The basic version is free, but you have to manually press the button to update the virus database.
I am not associated with it in any way.


text:
Remove "Suggestions" from Google Drive app
I can successfully turn off Suggestions from the Google Drive website, but I cannot find how to remove them from the Home screen of the Google Drive Android app. (The site I linked suggests a way that does not work.) My searches suggests that this might not be possible. Does anyone have a solution for me?


text:
Cannot set spellchecker on Tecno Camon 19 Pro
The phone is Tecno Camon 19 Pro.
The system is Android 13 (HIOS 13).
In Language settings, selecting spellchecker opens a menu. The menu has Gboard, but tapping on it does nothing. Still, the spellchecker method is not selected. Gboard settings ask to set system spellchecker first.

Maybe I need to enable some hidden settings?


text:
Flash avb_custom_key using EDL
As documented here, many bootloaders will allow flashing a custom verity key to the avb_custom_key partition using fastboot. This then allows a custom chain of trust so the device will boot a custom ROM.
I have a phone which has a locked bootloader so I cannot flash the avb_custom_key using fastboot. But, I do have Qualcomm EDL mode access with a firehose loader.
Does anyone know if there is any way to use EDL to flash avb_custom_key? It does not show as a partition in the GPT. Google calls it a virtual partition. I don't know what that means.

I found more more information about avb_custom_key here. It seems like for devices with secure boot, avb_custom_key is stored in the security area (RPMB area) of the emmc. So, probably EDL cannot access it.

the site you linked is a valuable ressource, but hard to translate. if I got it right, what you want requires modified bootloader (abl.mbn) which is, due the nature of closed source, high hacking level. consider writing up an answer, sounds quite interesting.

Google translate works well. I can't modify the bootloader since secure boot is enabled, so the bootloader needs to be OEM signed. That's why I was hoping there was some way to do it with EDL directly.

just curious about the device model, maybe there exist exploit to unlock bootloader


text:
How to spoof Android device in VM?
Trying to learn making bots on Android.
I need to be able to make a VM with an Android and spoof any device info to make bot less detectable as their should be few instances.
Preferably something that wouldn't require any restarting or maybe could spoof only info for one app.


text:
Is there a way to Geo-lock an Android Tablet
We are selling our house and it has extensive automation etc.  To help the agents, I have bought a new tablet, where I can have a cut down access to the smart home - for demo purposes.  I don't really want to put a pin (or lock) on it.
I would like to be able to Geo-Lock it.  So it doesn't work, outside the house/land area.  Is there anyway I can do this, using apps is fine ?


text:
I want to bypass FRP , without paid softwares ,August Security Patch Removed
Information of device :
Model :SM-A315F
Basedband version : A315FXXS4DWH1
One UI version : 4.1
Android Version : 12
Android Security Patch Level : August ,1,2023
Adb fail when using apps to reset frp
I can't enable usb debugging


text:
Can a adb revoke WRITE_SECURE_SETTINGS command make my device unrecoverable?
I was looking at the permissions that many system apps and some user apps have access to mic and phone. I don't remember granting those. I think that some apps have WRITE_SECURE_SETTINGS permission and are misusing it.
My device is Vivo V2029 running Android S. I know that now this permission cannot be granted to a non system app without adb or root. My device used to run older android version before, maybe it was granted then.
I was thinking of using adb to revoke it for each app one by one and check if the device functions properly. But I am concerned that what if I revoke it for some important app and then even after re-granting, the phone becomes unusable.

Okay, it did make it unusable. Don't disable system apps.


text:
Lock WiFi settings for the ordinary user with a password
I'm looking for a way to make WiFi settings inaccessible to regular users. For example, locks the WiFi settings with a password, so that an ordinary user cannot turn off the WiFi or log in to a different SSID. The device has Android 12.
Is there a way to use the Automate app, Macrodroid app, or another? Thanks

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Please note that questions directly asking for app recommendations are off-topic. Instead, we prefer the asker to just state the underlying problem that they want to solve and not put any restrictions on apps only. This question has been edited to conform to the accepted policy. Otherwise, you might be interested in our sister site, Software Recommendations Stack Exchange instead.


text:
Access Pixel 2 XL "taimen" through ADB (while in the process of installing lineageOS)
I followed this guide until fastboot flash boot boot.img included and OK
Then reboot in recovery mode
Then "Now tap Factory Reset, then Format data / factory reset" included and OK
/!\ BUT since then, adb can't see my Nexus phone (Pixel 2XL - "taimen"), neither is it visible with lsusb when in recovery mode. I tried "Apply from ADB" or "Enable ADB" via lineageOS recovery mode gui, but adb devices returns an empty list :-|
When in fastboot mode, I can see the phone via lsusb :
[stan@stan-xps139305 ~]$ lsusb
...
Bus 003 Device 012: ID 18d1:4ee0 Google Inc. Nexus/Pixel Device (fastboot)
...

Is there a way to get my phone recognized by adb, or to flash it via fastboot directly... ?
Also can udev rules help... ?
N.B. : SECURE BOOT is ON (don't know if it can be blocking...)
[EDIT] >>>
I also tried several USB cables/ports already :-|
I'll try on another computer too ASAP
I just fear the phone USB mode is kinda stuck while in recovery mode.
This page shows the possible modes for pixel phone (mine is PIXEL 2 XL): https://devicehunt.com/view/type/usb/vendor/18D1
4ee2 instead of 4ee0 is what I expect, but hell no.
How is it that I can see the phone with lsusb while in fastboot mode, but cannot see it at all while in recovery ?
<<<
[NEW EDIT] >>>
these are the udev rules I've set:
#GOogle Inc.
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee0", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee2", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d001", MODE="0666", GROUP="plugdev"

<<<

If you enable adb or start side-loading mode (Apply from ADB) at least lsusb should show some device. May be the recovery has a bug, try an older version or try TWRP recovery for Pixel 2XL, for adb sideload it should not make a difference if you use TWRP or LineageOS.

I cannot flash anything, seemt that the device is readonly now (as 4ee0 suggests...)

... I initially could flash a boot img but no more since then...

instead of lineage bootloader I've been able to flash (with fastboot) twrp. It still cannot be seen through adb... Perhaps there is smthg to do with udev rrules ... ?


text:
Issues Rooting a Huawei Mediapad T1 10
I have a Huawei Mediapad T1 10 (model T1-A21w) that I want to root since it has a modified old EMUI; i'm trying to install a basic Android 4 or wharever.
I've tried with MTKroot already and manually with CMD (im in Win10-11) and i always get stuck on the bootloader, as its locked and cant seem to find a way to unlock it.
I've read around about some codes that are needed for the unlocking, but havent seem to find any, and in the tablet itself the bootloader stays stuck.
any ideas?

My suggestion is to leave it alone. It's a very old tablet.

Welcome to the Q&A site Android Enthusiasts Stack Exchange. We have a general question about the same situation: Can we consider Huawei phones as unrootable?. Hope it helps.


text:
Wired headset support on Android using USB-C
I just recently lost my OnePlus Nord 2CE which had all my must-have features, dedicated dual SIM slots, SD card support, and a 3.5mm jack.
Now there are very few phones which have these 3 features, so I have accepted that the SD card can go, but as I use an EPOS wired headset which I find really important for long calls, I am wondering if I was to buy a phone with only USB-C, how I could use my wired headset or if there are USB-C versions that work.
I already own iFi Audio GO and Meizu HiFi Audio USB audio adapters for driving proper HiFi headphones. Will these support mic input?
This USB-C Logitech headset says "Functionality for mobile devices with USB-C depends on the device."
Any ideas?

If it's a recent phone, it should work fine.  The functionality referred to in the Logitech handsets is controlling the app on your phone.  At worst, you may not be able to pause or start the music/video player from the headset.


text:
Easiest way to create a signature fascimile on an Android tablet
I would like to create a fascimile of my signature. Ideally, a high resolution png with a transparent background.
At my disposal is an Android tablet with a stylus (Samsung Galaxy Tab S9+) and a Linux (Ubuntu) laptop for post-production if necessary. I would prefer to avoid using online services and keep the signature on my devices.
How do I go about it? Starting with the drawing app for Android. If practical, one that is open source and in F-Droid would be best.

In the past I have use Samsung Notes for this.
In Samsung Notes you can write your signature using the pen, or if you have a particularly thin finger that might work.
When finished you can tap the 3 dots in the top right and select "Save as file" and then choose PDF. Exporting to PDF keeps high resolution vector graphics so the lines in the PDF will be good and have proper transparency.
Save that PDF to somewhere and email it to yourself.
On a PC install and run Inkscape. Import the PDF you emailed to yourself.
You can trim the file to only the used area  using File -> Document Properties -> Resize to content (click the button next to resize)
Then simply save your file. You can use File -> Export to get a PNG which will have transparency and be any resolution you like, or you can use File -> Save as to export vector formats such as SVG and EMF which have transparency by their very nature.


text:
App not working in LineageOS because "device is rooted or jail broken"
I have a Pixel 4 XL that I just installed LineageOS on. One app is telling me it won't work because my device is rooted or jailbroken.
I'm guessing that this is related to the device being OEM unlocked? I did no other steps beyond installing LineageOS and Google Play services according to the LineageOS wiki installation pages for the device.
Is there any way to get around this?

Have you installed Google Play Services? If yes, then most likely the app make use of Google SafetyNet check or Google Play Integrity check and as you ROM is a custom ROM it can't be verified which means it fails at least one of the tests. The app can detect that and declares you phone as rooted.

@Robert Yes, I have to install Play Services to get the app. Will I have this same problem with other OS such as GrapheneOS?

This is the modern reality of "romming" I am afraid... You will always run into some apps that either just won't work, or require a fair amount of faking out with 3rd party tools/apps to make work due to the checks they perform. Pretty much any other ROM except stock with a locked bootloader will likely give the same result with the app in question.

Very frustrating. I used to buy a phone every 6 years or so. I installed LineageOS to this phone because the same app was telling me I couldn't access certain features due to the security date being too old, or something. Guess I should have gone into semiconductor manufacturing.

By installing Magisk and one of the SafetyNet fix plugin versions (some times you need the latest version, some time an older one) you can bypass SafetyNet checks.


text:
How do I find an .apk file that's not even installed?
There is an .apk file when I use Google Files. But it says it's not installed. It is taking up over one MB of memory.
How do I remove it? Better yet how do I find it?

In which path is the APK file located? Shouldn't you be able to delete the APK file directly in Google files app?

There's an app called Total Commander that's very good for exploring root-level assets.  It may take some poking around, once installed, but it's been useful for me.
https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander

Note that "exploring root-level assets" only works if the device is rooted. Otherwise, it only sees the same files and folders as other file manager apps.


text:
What happens if I plug in a single-male two-female USB connector and I try to connect a peripheral while charging?
I have an Android tablet and an external device that gets plugged into its microUSB port.
This device is powered by the tablet through that port.
If I plug in a cable that has a single male and two female ports as shown below,
would I be able to plug in an external power supply (5V, 2A) to both charge the tablet and power the external device at the same time?

This way of connecting USB Micro Port is to my knowledge far outside of the USB [OTG] specification, so if it works as expected (tablet charges) or not depends on the USB chip in the tablet. Usually when in OTG the tablet would be responsible for providing power so connecting a second power source to the same cable can cause problems with unforseen side effects.

Thanks for mentioning the term "OTG", that led to some investigation. It is actually possible to have a host device also be charged, but likely requires a hardware modification of soldering a resistor of a certain value between pins 4 (ID pin) and 5 (ground pin). I'll post an answer / findings once I've had more time to gather the information, assuming no one else did it first.

From looking further into the contents of this post, yes, that is technically possible, but likely has to be done as a DIY solution given it requires:

the tablet itself to have the correct hardware
following the standards of something called an "Accessory Charger
Adaptor" (ACA) which is not commonly available as something that can
be easily purchased. **.

**For example I found just one product that's the closest match to what I'm looking for.

Looking into the "BC1.2_without errata 2010-12-7" document of the "Battery Charging v1.2 Spec and Adopters Agreement", it tells us the ACA can have three ID resistances, one of which allows connection while charging ("RID_C" of somewhere between 36 and 37 k-ohms).
If that resistance is pulled up to the VBUS power line, and if there exists an ID comparator connected to the ID pin on the tablet side, then that would be one of the minimum requirements for it to work.