text:
Unlocking (Xiaomi) Redmi 9A without a Windows PC
Xiaomi provides a tool for unlocking their phones called "Mi Unlock" but only runs on a Windows PC. I only have access to Mac (both Intel and ARM64) and Linux. I don't have Windows.
I already enabled USB Debugging and OEM Unlocking. I can get the device with fastboot devices but almost no other fastboot command works.
So what are my options?

Can Mi Unlock work on an emulator like VirtualBox? If so, what is the recommended Windows version?

Does anyone know if Xiaomi has a Linux source or binary of the Mi Unlock tool?

Also, does anyone know why Android Platform Tools don't work? Why can't I just use the command line fastboot oem unlock, instead of their specific app?

To my experience USB connections from within virtual environments don't work reliable for low-level phone tools (because of timing and other side-effects when USB device disappear and reappear e.g. because of a phone reboot) .Or even worse increase the risk of bricking the phone, depending on how risky the operation is.

https://github.com/Canny1913/miunlock

This looks a bit advertising, but the next best tool for unlocking Xiaomi phones along with Official Mi Unlock is that Unofficial XiaoMiTool V2. It can run on Windows, Linux and Mac OS. XMT2 comes with built in bootloader unlock tool. Works the same as the official one.

On macOS arm64 it was a bit unstable (suspect it runs w/ Rosetta). Then I installed on Linux and everything works fine until the unlock step. Then it gets stuck on "Failed to get the device unlock token" Error origin: com.xiaomitool.v2.procedure.install.Fastbootinstall$4.run(Unknown Source)

you have to enable Xiaomi Cloud syncs + Find device, Xiaomi SIM Activation Service, bond sim card in Settings - Mi Account, and enable mi unlock status in developer options, then wait for 7 days, enter fastboot and use the mi account for unlocking

Thank you so much for all the great info ! I performed all those steps and waiting the 7 days. I will follow up on this thread to see how it goes...

It's day 8 and the same problem persists. "Failed to get the device unlock token" Error family code: info_retrieve_failed. Then it shows the class that generated the exception: FastbootInstall$4.run(Unknown Source).


text:
Get full log of a whole day from Android
I know of the method of using adb logcat to receive logs from an Android device.
However, the logs I receive are, at best, only 1 hour old. I need the logs for the whole day, however.
Is there a way for getting the logs of the whole day, or am I restricted to this?

Android does not create persistent logs. I assume because at the time Android was developed flash memory was small, expensive and the problem of flash were out because of too many writes lead to the decision to not use persistent logs in Android. So you only have logcat at your service unless specific apps write their own log when active.
logcat
logcat uses a cyclic buffer so the time span the logcat messages cover depends on the number of messages and of course the buffer size used by logcat.
You can change the logcat buffer size in Android developer options menu. The maximum setting is for example on my phone 8MB.
As Android has no other logs this is the your only chance on an unrooted device or without additional hardware.
With root
On rooted phones you could use an app to access all logcat messages and save them periodically. I don't know such an app but a Termux script running with root permissions this may be possible without much programming.
Using external hardware
There are micro computers in USB stick format which could be equipped with a Linux system and adb components so that you could carry it with you and use it to extract and save logcat messages every time you connect it to your phone.

source: Stack Exchange

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

sort: votes


text:
Android voice navigation support for limb impaired users and rainy weather
I was wondering whether there is any support or whether Android had any plans to support using Android under the rain (for instance, also in situations where an umbrella may not be enough because of the wind. Under these scenarios, the screen, gets all wet, and the rain drops activate touch, on the screen, getting the phone to respond to the pattern of rain drops that touches the screen, in a manner that becomes out of control of the finger swipes).
Because of this, I thought it would be nice if it were possible to configure the phone to have the screen become unresponsive to both finger and rain touch (impossible to make these separate), and, whether, at the same time, it would be possible (via Android support), to activate screen touches and swipes or even interact in a completely separate but intuitive manner using a headset (microphone and earpieces) attached to the phone via the headset input (because rain could interfere with voice as well, as it makes some noise as it taps on the screen... but the screen remains still largely viewable).
The voice input could be similar to TalkBack, but, instead of navigating with finger swipes, you could navigate (and enter input) via voice.
I think this would be nice.
Does Android support this?
Would anyone be willing to implement such rainy weather support in Android?
I think it would also be useful for people lacking arms or hands or who had these paralyzed but could still use voice to navigate and enter input into their phone.
When will this behavior be implemented?
Thanks.

Your social activism is to be commended, since you show a history of these questions here. This site deals mostly with how to do things that exist in some form of hardware or software implemented vs. "How to make companies implement features serving a missing or particular need". It is unlikely decision makers for hardware or software of this need are here to answer. The "Why" and the "When" aspects of your question(s) are not the focus of this Q&A site. Your questions would drive a good editorial or socially-focused magazine article in the proper forum.

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


text:
Where to flash oxygen 12 image files over fastboot?
I managed to brick my phone (OnePlus Nord CE 5G) to the point where I can only get into fastboot and fastbootd. I was using oxygen 12 previously so I believe flashing 11 is not possible.
I was able to extract all the images from the latest oxygen 12 image found here for my phone using payload_dumper, but I can't figure out where to flash all the images to. I've googled around a fair bit but I can't find any specific instructions for this device/update.
My best guess is the script below. All the steps are successfull but I'm still left with an unbootable device.
Any help would be highly appreciated.
#!/bin/env bash

# This script assumes all .img files are in a folder called images

# Wipe entire device
fastboot -w

# Images that should be flashed in bootloader mode
# (Said someone on the internet)
fastboot flash boot images/boot.img
fastboot flash dtbo images/dtbo.img
fastboot flash modem images/modem.img
fastboot flash recovery images/recovery.img
fastboot flash vbmeta images/vbmeta.img
fastboot flash vbmeta_system images/vbmeta_system.img

# Reboot to FastbootD mode
fastboot reboot fastboot

# .img files where the name corresponds to a partition name
fastboot flash --slot=all abl images/abl.img
fastboot flash --slot=all aop images/aop.img
fastboot flash --slot=all bluetooth images/bluetooth.img
fastboot flash --slot=all devcfg images/devcfg.img
fastboot flash --slot=all dsp images/dsp.img
fastboot flash --slot=all featenabler images/featenabler.img
fastboot flash --slot=all hyp images/hyp.img
fastboot flash --slot=all imagefv images/imagefv.img
fastboot flash --slot=all keymaster images/keymaster.img
fastboot flash --slot=all oplusstanvbk images/oplusstanvbk.img
fastboot flash --slot=all qupfw images/qupfw.img
fastboot flash --slot=all tz images/tz.img
fastboot flash --slot=all uefisecapp images/uefisecapp.img
fastboot flash --slot=all xbl images/xbl.img
fastboot flash --slot=all xbl_config images/xbl_config.img

# I'm fairly confident these all go to the super partition
# Less confident about "odm" and "system_ext"
fastboot flash --slot=all super images/odm.img
fastboot flash --slot=all super images/system.img
fastboot flash --slot=all super images/vendor.img
fastboot flash --slot=all super images/product.img
fastboot flash --slot=all super images/system_ext.img

# No clue about these but I can't imagine where else they would go.
# I also tried ignoring these, but no success
fastboot flash --slot=all super images/my_heytap.img
fastboot flash --slot=all super images/my_company.img
fastboot flash --slot=all super images/my_preload.img
fastboot flash --slot=all super images/my_stock.img
fastboot flash --slot=all super images/my_region.img
fastboot flash --slot=all super images/my_carrier.img
fastboot flash --slot=all super images/my_product.img
fastboot flash --slot=all super images/my_bigball.img
fastboot flash --slot=all super images/my_engineering.img
fastboot flash --slot=all super images/my_manifest.img

# All available images are flashed.

ps: I am using the latest version of fastboot.


text:
How to change the process to another in setting
The android I am working on is android version 9 after bypassing some built-in restricted settings in the watch(1). I came back to double-check in the "Network & Internet" setting, but it can't open the password input, it start to kick out and then it crashed. I check its log and It says:

I/ActivityManager(  630): START u0 {act=com.zmapp.watch.wifi.input} from uid 1000, pid 9129

I/ActivityManager(  630): ->startActivity for Intent { act=com.zmapp.watch.wifi.input } result:START_INTENT_NOT_RESOLVED

The com.zmapp.watch.wifi.input is a keyboard for the watch, it does not suppose to be here. It should look like this:

I/ActivityManager(  630): START u0 {act=com.android.settings.action.SETTINGS_SEARCH pkg=com.android.settings.intelligence cmp=com.android.settings.intelligence/.search.SearchActivity} from uid 1000, pid 9553

I/ActivityManager(  630): ->startActivity for ActivityRecord{c55f354 u0 com.android.settings.intelligence/.search.SearchActivity t71} result:START_SUCCESS

in the act= will be open the keyboard for wifi(2). Please tell me what process should be in it and how to do that?

(1) The watch I'm currently working on can be found here "link" the W5 one.
(2) The keyboard has a different layout for easier use because the original keyboard is too small for typing.


text:
How to find Android app responsible for ARP spoofing?
A family member's OnePlus 7T (latest factory firmware) keeps trying to sporadically but frequently ARP spoof the local default gw address on our wifi.
Is there a way, perhaps involving adb, that would help me find the app or process responsible?
(I'm fairly certain it's the phone, and not some device that tries to implicate the phone, because it only happens when the phone is actually around.)

Arp spoofing requires root access, so the malware can escape from the app sandbox and install itself somewhere else. Thus deleting the app may not solve the infection. Perform a factory reset and hope that this fixes all problems.

Let's assume for a moment that it is not malware that would want to hide itself, but some app like WifiKill or NetCut; or a misfeature of the ROM (I'm not even sure it's rooted, will have to check). How would you go about finding whatever it is, in case it's not deliberately hidden?


text:
Proof of unique device
Does Android offer ways to sign a proof of a unique hardware device?

It can be a cryptographic proof; it does not need to be fixed id, so it can be used for tracking

This would be mainly used to combat spam/bots

The assumption is that if we can have proof of real hardware devices, any spammer does not have access to a significant number of hardware devices (thousands)

The proof would not be used to track users

The proof would need to be generated and checked only once per user

Are there other alternatives for such proofs in Android/Google ecosystem?

I'm assuming you know about: https://developer.android.com/training/articles/user-data-ids#best-practices-android-identifiers and specifically the section on "Avoid using hardware identifiers"

What is different is that I am asking for proof of uniqueness, not a hardware identifier. It does not need to be a static id.

But thanks to your comment, I read your link again and I think this is what could fill my use case https://developer.android.com/training/safetynet/attestation - but it still lacks the aspect of whether the device is unique or not (e.g. no double attention o the same device)


text:
Cannon receive SMS messages sending works
I have this error with receiving sms and mms messages on a phone running LineageOS 20. The problem started after a migration from another phone which I think was running a different version of LineageOS (which is what I think caused the problem) I have tried just about everything I can think of and I'm out of ideas. I do think I know what the problem is but everything I have tried to resolve it has failed.
First it does look the the phone does actually gets messages. It seems like there is a problem with a database.  When I run adb logcat I get the follow output when the text message comes in:
03-23 16:44:39.250  2636  3074 I QImsService: ImsRadioIndicationHidl : onIncomingImsSms()
03-23 16:44:39.251  2636  3074 I QImsService: ImsSenderRxr : [UNSL]< UNSOL_INCOMING_IMS_SMS[SUB0]
03-23 16:44:39.251  2636  3076 I QImsService: ImsSmsHandler : Message received: what = 2
03-23 16:44:39.251  2636  3076 I QImsService: ImsSmsImpl : onSmsReceived:: token:8 incomingSms:{ mFormat = 3gpp verstat = 0}
03-23 16:44:39.267  2741  2863 W MmsSmsDatabaseHelper: Downgrading database from version 83 to 67.
03-23 16:44:39.272  2636  3073 I QImsService: ImsSmsImpl : acknowledgeSms:: token:8 msgRef:0 result:2
03-23 16:44:39.272  2636  3073 I QImsService: ImsSenderRxr : acknowledgeSms: messageRef: 0 result: 2
03-23 16:44:39.272  2636  3073 I QImsService: ImsSenderRxr : [0035]> REQUEST_ACK_IMS_SMS [SUB0]

When I do the same on a working phone the line MmsSmsDatabaseHelper: Downgrading database from version 83 to 67. is not there. So I went on the assumption that the problem is with the sms database. I focused on fixing this by deleting the mmssms.db file, running vacuum; on the database, and copying another mmsms.db from another phone. None of which worked. The other difference is that on the working phone QImsService: ImsSmsImpl and QImsService: ImsSenderRxr have a result of 1 instead of 2. I assumed this was from the previous database error so I didn't look into it too deeply.
I also took a look at the source code for this in the ASOP repo. The MmsSmsDatabaseHelper.java file had the highest db version of 67. I do now know where the 83 is coming from since I copied the mmssms.db from a working phone. Could the problem be in another database?
I have tried other sms messaging apps when behave the same they can send messages but don't receive with the same logcat output.
Any ideas are greatly appreciated
TIA
Cosmo

"LineageOS (which is what I think caused the problem" - ask LineageOS support

The database does not match the used app (version). Clear the app data of the used SMS app.

Are the manufacturers of both phones different? Then it may have different implementations of the SMS databases, thus creating conflict.


text:
CardDAV and Outlook for Android
Is there a way to get contact from a CardDAV server (Radicale) into Outlook on Android?
I'm aware of DAVx5 and it seems to work fine on my phone. I can use this to see CalDAV calendars in Outlook but I haven't found a way to integrate the contacts from CardDAV. I see the contact in the normal contacts app but not in outlook.
Am I missing something or is this not possible?
Which would be a pity as Outlook seems to be the only tool which integrates email, contacts and calendar.

Related (but probably not a dupe) since the answer acknowledged that Outlook doesn't support CalDAV (yet): Integrate CalDAV to Android Outlook

Thanks @AndrewT. Yes i saw this and a similar question but this only addresses CalDAV which you can integrate via DAVx5 with Outlook but not CardDAV :(


text:
How to stop unexpected tab interaction when using full screen web view in Chrome on Android Tablet
While using the Chrome browser application on my tablet, some pages and html based games have the ability to shift the page into 'full screen' browsing mode, which hides the tabs and such from the top of the page.
However, I've discovered that said 'hidden tabs' are NOT actually hidden from interaction while in this mode! If there is a button or link that the game or page has near the top of the 'full screen', and you 'click them' via touch screen, it can and WILL change to the tab hidden behind it or even close it, depending on where you click.
The only way to safely interact with any such buttons or links at the 'top' of a full screen web page is to drag down the page, expose all the menus and tabs, THEN click on the now lower button or link to safely activate or follow it.
This is VERY frustrating when you need to hit said button a dozen or so times.
Is there a way to make it so you can't interact with the tabs in Chrome Browser when said tabs are hidden from view?


text:
keeping apps and data through LineageOS upgrade
I have a Samsung Galaxy Note 3 and I am in process of upgrading LineageOS from 16 to 18. The instructions indicate to wipe the data partition in step 8.  Will this remove my installed apps and data?  I know how to do a backup and restore using adb but I wondered if there is a way to upgrade lineageOS and keep the apps and data without backing up and restoring.

The link you have posted does not work. Yes wiping the user data partition delete all app data and apps. It is difficult to guess if this is really necessary. May be the step to clear data is mainly there to avoid potential problems. I already had the case that switching from stock ROM to a totally different custom ROM had worked without wiping data.

backup apps with Migrate, messages with SMS Backup & Restore and 'adb pull -a /sdcard' all your files to PC

I fixed the link.

According to the changelog for LineageOS 18,

Please note that if you’re currently on an official build, you DO NOT need to wipe your device, unless your device’s wiki page specifically dictates otherwise, as is needed for some devices with massive changes, such as a repartition. (emphasis mine)

While the Instructions for upgrading the Note 3 (hlte) as mentioned in the original question specifically says

Wipe your data partition (this is usually named “Wipe”, or “Format”)

So I think the answer is definitively No
As additional evidence, I tried an upgrade to 18.1 on a second backup phone I have without doing the data partition wipe and it will not boot properly.
So for those upgrading a Note 3 (hlte), please do a backup of everything you want to have after the upgrade. I use ADB to do this but many people use a custom recovery to do a nandroid backup


text:
How to dig deep into mmcblk0?
I've got an old backup file: mmcblk0.img
I'm wondering if there is any specific tool that can work with this file, as no standard partition tool has been able to view it. I think there's a chance it might be encrypted actually, but due to this even though I do in fact have the password I don't know how to input it somewhere so it can be decrypted successfully because I couldn't find any tool that is specifically set up with the understanding of how Android filesystem structure is. Any ideas?


text:
How to lock settings on Android 9?
Is there a way to prevent settings on an Android phone from being accidentally changed? I am using an LG K30 running Android Pie. (Yes, I know it's a dinosaur)

Hi, we have some related questions regarding this: How to lock some parts of Settings?, Is there a way to disable access to certain Settings components?, How can I disabled/lock certain settings components


text:
How to mount full image backup properly?
Did a full backup mmcblk0.img of a Redmi Note 7 (codename lavender) running Android 10.
However, I'm not sure how exactly to mount it or view files. Worth noting that I was suffering from an encryption problem, but once I retrieved the correct password I'm still stuck on where exactly to insert it into the file. It might not be encrypted at all to begin with, but I can't access it with regular Windows tools that I'm used to. There might be some Linux magic that can tinker with it, but I'm not the best so I'd appreciate any basic guidance on that part. I've heard that the Linux kpartx tool can interact with it but as a Linux noob I don't consider myself an expert on this side of things, hence asking the question.

standard partition tool parted will work

What might be encrypted is the data partition, not the whole partition table. parted / gdisk must be able to see a valid partition table.

Possible duplicate of How to dig deep into mmcblk0?. Hi, it seems you accidentally created a duplicate account. Please refer to the help center to merge your accounts and regain ownership of the question and reply to the comments on your post.

@AndrewT. Apologies for the duplicate. Please remove the original if you can.

Thanks for letting us know. I've merged the original question to preserve some useful comments from the original.

@alecxs Any tips on how exactly to deal with parted on this? (bit of a Linux noob here)

https://forum.xda-developers.com/t/4568789

Windows was and most likely will never be able to mount a partition used on an Android phone. Use a Linux system.

even the latest WSL cannot mount f2fs


text:
Why does Signal app not have network access?
I am trying to install Signal on a phone (Android 8). I just need this installed for verifying/linking my actual Signal desktop app. When I enter my number, the app tells me it has no permission/access to the network. The error message translated to English is:

Unable to connect to service. Please check your network connection and try again.

I have checked both the internet connection and the mobile connection, they work fine. I gave Signal all the permissions it asked for.
Is there anything else I can do?
Edit: It seems to work (for a while) when the Signal app is updated. I managed to relink my Signal Desktop app to the smartphone app after the smartphone app had updated. Then, after some days, the Desktop app unlinked itself again. I installed the smartphone app again via Google Play and was able to relink again.
It's not logic and stable, but it can be a workaround.

There are some reported issues on its GitHub: Signal App - Android ICS - Unable to Connect - Network Error - Registration Fail (and its linked issues), Unable to register: cannot connect to server. Looks like the issue is related to Google Play Services.


text:
Copy Apps and Data From Phone With Dead Screen
My unrooted phone's LCD screen is dead but touchscreen still works. By using a series of stencils for where on-screen buttons and prompts would be, I am able to unlock the device and authorize ADB, though with considerable trial and error (~10 minutes to hit the "authorize" button). I am also able to use scrcpy to view the phone's screen.
However, I want to set up a new Android phone (different model and manufacturer), ideally using the "Copy apps & data" feature on the new phone. The problem with this is that even the "transfer over WiFi" feature seems not to work with the active ADB session needed for scrcpy.
My question is: what is the best way to transfer apps and data off of the old phone and onto the new one? I can get the files off fine, but I want app data, contacts, etc. I've looked over the methods others have suggested, and am unsure what would be the most reliable and efficient for my specific case. Would I be best served by one of the paid apps (install using scrcpy)? Reverse engineering the prompt locations for the wired transfer (no ADB needed)? Backing up via ADB (potentially more reliable)?

Depending on which Android version is running on the phone adb backup would be an option, however modern Android versions (AFAIR 12+) have more or less disabled adb backup and restore so on a new phone you may run into problems restoring the backup. Also a lot of apps don't allow adb backup. The way that should transfer the most data and apps is a direct USB connection. But I am not aware if this will work without screen.

I don't know how that transfer over wifi work, but if it uses your home wifi you could try adb over tcpip


text:
Want to launch applications/actions when I touch an NFC tag, simply
I have an NFC-capable phone (Nokia G60, Android 12) and a bunch of NFC tags/cards.
I would like to launch an app or run an action automatically when I tap my phone to a tag.
For example, if I get in my car and tap a tag on my dashboard, I would like Waze to open.
I don't want the phone to pop up a prompt asking me what to do - I just want the app to launch.
I tried NFC Tools / NFC Tasks, but the app(s) just ask me to write data to a tag - my tag stickers are writable, but other cards are not.
I can link the tag to Waze, and the NFC app remembers that, but nothing actually happens when I tap the tag, even when the app is running.
So I gave up on those apps and deleted them.
Then I tried NFC ReTag, which seems to offer exactly what I want, and is easy to use.
But if the app isn't running, then Android asks me to 'Choose an action', with options 'NFC ReTag FREE' or 'Tags' (which says 'New tag collected'). I don't have an app called 'Tags' - it seems to be a built-in tag reader that doesn't do anything, and AndroidForums.com doesn't know much about it: https://androidforums.com/threads/what-is-an-app-named-tags.821971/
I gave NFC ReTag all the permissions it wants, but there seems to be nothing to make it the default/automatic app for NFC tags (unless it's currently running).
Then I let NFC ReTag write its details to the tag (a cheap NFC sticker), and now it works automatically, with no prompt from Android, but I would also like to trigger actions from read-only NFC tags.
Is there another app that runs permanently in the background?
I looked under Settings -> Connected devices -> Connection preferences -> NFC, and I see 'Contactless Payments' settings. It's possible to change the default payment method, but not possible to disable it, although I'm not sure if that would help.
Does this mean that it isn't possible to add a default app for NFC tags, and that Android will always ask me what I want to do when a tag is detected?
If it is possible, how, and with which NFC app?

Welcome to Android Enthusiasts. We have some related questions or possible duplicates: Is there an app that associates a certain action to an arbitrary NFC tag?, How to assign an app to an NFC event?, Dialog option "Use by default for this action" or "Always" not displaying for NFC tag. Does any of these help?


text:
How do Android data recovery tools work without root?
Sometimes I come across tools like DroidKit which promise to recover your data from Android phone without root. I do not understand, how they obtain raw binary access to internal storage over USB only. Or is it just a marketing trick when in reality they just mounting only external SD card to local computer and perform recovery on it?

Check the user guide. It does root the device for performing something called Deep Scan. At least the software author is honest enough to mention this in the guide at least.

scam. it's impossible to root a device and recover files for various reasons

@Firelord, thanks for this reference! But what about quick scan this tool offer? Is there any Android API which lets do data recovery?

https://android.stackexchange.com/q/233452

@alecxs it might be a scam but with levels/grades. On Android versions, where as of now it is easy to get escalated privileges by using exploits, it might be possible to temporarily root the device (run the exploit and keep changes non-persistent). So it could be that this software fails to root let's say Android 12 or 13 but it could be able to do so on an Android 5 or 6 or 7 device. // Or it might just be a complete scam like you said.

I recommend to check the trust rating of such sites like iMobie iMyFone wondershare Dr.Fone and all these wonderful magic products


text:
Smartphone can't connect to AccessPoint. NETWORK_SELECTION_DISABLED_ASSOCIATION_REJECTION
I have a Epson TM-P20 mobile printer device, that offers a mode in which it launches a WiFi Hotspot. The HotSpot always uses the same name and the same passphrase. For some reason, my Smartphone can't connect to this HotSpot. After trying different devices, I figured that my Samsung Tablet connects without a problem.
I have tried connecting with a Samsung S21+ on API Level 33 and a Samsung S20 on API level 32 (I think). Trying to connect fails almost instantly with connection failed. Getting desperate I tried using a Samsung Galaxy Tab S7 FE on API level 32, and it worked pretty much instantly. I then tried playing around with WiFi settings on my phone but with no success. I then tried to connect via code, hoping to get some kind of exception but no luck.
I am 100% positive that the password is correct. I turned WiFi off and on, rebooted the phone and so on. Also my phone (or phones even) do not have any trouble connecting with any other HotSpot or WiFi.
What I think could be an issue, is that he HotSpot (for obvious reasons) does not provide internet connection. It is just a simple access point to pair with the printer. Also the AccessPoint uses only 2.4GHz. What is also worth mentioning, the HotSpot the printer provides can't be configured. It uses WPA-PSK (AES) encryption and a very simple passphrase.
Does anyone have an idea what could be the issue or how to debug further?
Update: I found a setting for extended WiFi logging. Now I can see that the desired WiFi has an error in the list of available WiFis saying "NETWORK_SELECTION_TEMPORARY_DISABLED" before the first failed attempt, and "NETWORK_SELECTION_DISABLED_ASSOCIATION_REJECTION" after it failed to connect.
Does anyone know this issue and how to get around it?

Searching for "wifi ASSOCIATION REJECTION" you will find a lot of topics in xda dev forums for the last 8 years, unfortunately none contains a real description why it happens and how to solve it. It is even possible that this is a technical incompatibility between different Wifi chipsets which would explain why some devices work and other don't.


text:
Charles proxy hanging
Charles proxy hangs a lot and doesn't works properly on mac 13.2.1 (22D68). This seems to have happened after updating mac. I tried setting different java versions on my system but it didnt help.
➜  ~ jenv versions
  system
  1.6
  1.6.0.65
  11.0
* 11.0.18 (set by /Users/vihaan/.java-version)
  openjdk64-11.0.18
  oracle64-1.6.0.65

https://www.youtube.com/watch?v=6BXAy2UpVHc - Demo of how it hangs.
Versions
Charles - 4.6.3
mac - 13.2.1 (22D68)
Java - 11.0.18

Looks like Charles Proxy is a desktop app. Is the issue specifically with Android? Otherwise, perhaps our sister site for Apple products [apple.se] might be a help with the app.

have been using charles proxy to see the android app traffic. This seems fixed in their beta charles 5 version.


text:
multiple tap and pay apps - is it possible?
I use google wallet for paying with my phone in stores. Recently I downloaded a new app (via my credit card provider- I gain credits that I can use as money) and I would like to use it as a secondary payment app.
My issue is that this new app won't allow me to use it unless I make it my default payment app. I wanted to know if this is a general requirement or something I should contact the support to fix.
I want to continue to use google as my default payment app, unless I specifically want to use the new app. Is that at all possible?

That is how it should work... Typically Google Pay would be your primary app, any other app you would have to manually open, then you could use it for Tap to Pay.


text:
How to view the year of a date in Google Calendar for Android
I would like to know, something very easy. How do I figure out the year of a section of the scrollable list of days I am viewing in the Google Calendar app for Android?
Here is a screenshot.

I don't see the year anywhere.
Any ideas?
Thanks.

Google Calendar only displays the year when it is not the current year.
Compare the following screenshots when it is not the current year (previous year and next year)

with when it is the current year.

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


text:
Almost all things equal, WhatsApp is unable to connect on Android 12 vs Android 10
Two Samsung phones, one running an Android 10, another Android 12. Same firewall configuration, same router config, same positive WiFi internet connectivity for other apps on both phones. WhatsApp connects on Android 10 but does not connect on Android 12.
Tried Android 10 on the phone with Android 12 and WhatsApp runs fine on Android 10 then on that phone.
What happened with Android 12 to prevent WhatsApp connectivity? How to fix this?
UPDATE: "Almost" all things equal. I forgot that when I compiled Android 12 I edited some SELinux capabilities/permissions in Android 12 source code for Netd daemon (in netd.rc config file), such as restricting unrestricted rootkit-like elevated SELinux access, ability to change file ownership, etc. This was not possible in Android 10. So there's that difference.

One difference might be that Android 12 uses by default secure DNS. See Android network settings. In which country do you live respectively which internet provider do you use (some countries or provider may block certain DNS resolvers because they can be used to bypass blocked sites)?

Could you clarify on "unable to connect"? Did you mean that WhatsApp cannot connect to the internet at all, or when it is only in the background? Is there any specific error message? I have a Galaxy M12 on Android 12 and upgraded to Android 13, and WhatsApp doesn't have any connection problems though.

WhatsApp won't let me register the phone number so I can log in to the WhatsApp account. When you open the app for the first time you enter you phone and it tries to communicate with WhatsApp servers to send a text message with the code usually. In this case, you enter the number and it pops a message saying cannot connect to servers, check status or something like that.

I have Private DNS set to Off. I don't think this has to do with it.

I have a strict firewall on both Android 10 and 12. Only letting through ports 80 and 443 for TCP. But this shouldn't matter because everything works on Android 10. So strange.

I also have self-compiled Android 12 with some SELinux restrictions. Android 10 did not have any SELinux edits. I took out the all the rootkit-like SELinux permissions for the Netd daemon (in netd.rc configuration), like permissions to have unrestricted elevated SELinux access, change file ownership, etc. Could it be that WhatsApp trying to use those elevated rootkit capabilities?

I don't know if it's related, but recently there was a similar question about a connection issue with the Signal app on registration, and seems it was caused by Google Play Services.


text:
How to download all Android SDK platforms using sdkmanager from terminal without Android Studio?
Need to automate downloading of all available Android SDK Platforms using the sdkmanager from terminal. For example, an Android SDK Platform 19 can be installed using sdkmanager "platforms;android-19". How to install all avaiable SDK Platforms without running the command separately for each platform?

Hmm, I have a feeling this question is more about terminal scripting like perhaps doing some looping rather than about Android specifically, and I wonder if other sister sites about desktop PC (e.g. [su]) might be helpful...

All SDK plaforms can be downloaded by writing a script. I wanted to know if there is a flag or an option that can be given to sdkmanager to download all SDK platforms.

Given how big in disk size each platform can get, the manual/scripted use of sdkmanager --list --channel=0 and then installing the ones you want may deliberate.


text:
Why do Google Play Services keep stopping?
I have a Xiaomi Pocophone F1 and I am running MIUI stock 12.0.3 without root but I keep getting Google Play Services keep stopping although I wiped the cache and data of all Google apps and I even did a hard reset.
Here is the bug report:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Xiaomi/beryllium/beryllium:10/QKQ1.190828.002/V12.0.3.0.QEJMIXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2023-03-27 03:30:14+0300
pid: 25915, tid: 25953, name: lowpool[2]  >>> com.google.android.gms <<<
uid: 10186
signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0x7195b40698 (*pc=0xd60003c0)
    x0  000000006f675710  x1  000000006f318580  x2  0000000014621d70  x3  0000000012e0f248
    x4  0000000012e0f390  x5  0000000000000548  x6  0000000012e0f3a0  x7  0000000000000010
    x8  173a4dfd92f63856  x9  173a4dfd92f63856  x10 000000000000006f  x11 0000000000000000
    x12 0000000000000001  x13 0000000000000000  x14 00000071903b3f38  x15 000000000000a6e3
    x16 0000000000000000  x17 000000000000e6b7  x18 0000007186d02000  x19 00000071e838e800
    x20 0000000000000000  x21 0000000012e0bc90  x22 0000000012e0b8c8  x23 0000000012ec2ce0
    x24 000000006f93b7a0  x25 000000006f2e2918  x26 000000006f318580  x27 0000000012e0bc90
    x28 000000006fdb3398  x29 0000000000000001
    sp  00000071878a04b0  lr  00000071999fafa8  pc  0000007195b40698

backtrace:
      #00 pc 0000000005b0d698  /data/app/com.google.android.gms-Odf-ereYydmTSU7CWg1XXg==/oat/arm64/base.odex (arxb.a+3720)
      #01 pc 00000000099c7fa4  /data/app/com.google.android.gms-Odf-ereYydmTSU7CWg1XXg==/oat/arm64/base.odex (crul.hasNext+228)
      #02 pc 0000000005b02874  /data/app/com.google.android.gms-Odf-ereYydmTSU7CWg1XXg==/oat/arm64/base.odex (arwq.hasNext+68)
      #03 pc 0000000005b02874  /data/app/com.google.android.gms-Odf-ereYydmTSU7CWg1XXg==/oat/arm64/base.odex (arwq.hasNext+68)
      #04 pc 000000000598cb18  /data/app/com.google.android.gms-Odf-ereYydmTSU7CWg1XXg==/oat/arm64/base.odex (aqvy.a+2536)
      #05 pc 0000000005aa44e4  /data/app/com.google.android.gms-Odf-ereYydmTSU7CWg1XXg==/oat/arm64/base.odex (arox.run+2724)
      #06 pc 00000000005d7164  /system/framework/arm64/boot.oat (java.util.concurrent.Executors$RunnableAdapter.call+68) (BuildId: c67fb07d576b0e0005683e6073a091e35bd99788)
      #07 pc 0000000000829b38  /system/framework/arm64/boot.oat (java.util.concurrent.FutureTask.run+200) (BuildId: c67fb07d576b0e0005683e6073a091e35bd99788)
      #08 pc 000000000491cc5c  /data/app/com.google.android.gms-Odf-ereYydmTSU7CWg1XXg==/oat/arm64/base.odex (acmu.c+396)
      #09 pc 000000000491d588  /data/app/com.google.android.gms-Odf-ereYydmTSU7CWg1XXg==/oat/arm64/base.odex (acmu.run+1304)
      #10 pc 00000000009a90b8  /system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+984) (BuildId: c67fb07d576b0e0005683e6073a091e35bd99788)
      #11 pc 00000000009a55a0  /system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+64) (BuildId: c67fb07d576b0e0005683e6073a091e35bd99788)
      #12 pc 000000000496127c  /data/app/com.google.android.gms-Odf-ereYydmTSU7CWg1XXg==/oat/arm64/base.odex (acsa.run+92)
      #13 pc 00000000004afbd8  /system/framework/arm64/boot.oat (java.lang.Thread.run+72) (BuildId: c67fb07d576b0e0005683e6073a091e35bd99788)
      #14 pc 0000000000137334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #15 pc 0000000000145fec  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #16 pc 00000000004b0f10  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #17 pc 00000000004b2024  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #18 pc 00000000004f29e0  /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176) (BuildId: 03574df7f7eb01baf6baa6348024974c)
      #19 pc 00000000000d7110  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: f6cc5d2d702265511937b56460b37693)
      #20 pc 0000000000075314  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: f6cc5d2d702265511937b56460b37693)

Any help appreciated

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Based on personal experience, bug reports seldom help end-users to troubleshoot the issue. Could you fetch the log when it crashes instead?


text:
Samsung Email: IMAP folders not syncing correctly
The phone is a Samsung Galaxy S9 Plus and the mail app is Samsung Email version 6.1.75.0. I have created folders on my Android mail app and moved email into them. These folders are not syncing correctly with my mail client I run on the PC (outlook) and are also not visible in the web-based mail portal.
If I create a folder on the phone mail app called 'A1' for instance, it does not sync or appear on any of my other IMAP mail platforms. If I then create a folder using the mail client or web portal called 'A1', it changes the name to 'A1 1' and syncs to the phone correctly. It's as if IMAP knows about the synced folder 'A1' as it won't let me duplicate it, but it is also invisible on the other platforms.
Any ideas?


text:
Cannot open Local files using href
no matter where I placed the file...
on Chrome download folder
on Edge download folder
I run OS Android 13 / Galaxy S21
sample:
href="file:///storage/emulated/0/Download/MEGA Downloads/A_current_Trip/aaa.pdf"
I get: about:blank#blocked
I read many suggestions.
None worked for me.
It works perfect on Android 8.1
any help is appreciated.

It's the expected behavuor, due to scoped storage


text:
How to make a full local backup of my phone
I'm trying to find a way to have a full backup of my phone (apps, settings, data, life universe and everything...) but from what I read on the internet tools such as Titanium and Helium backup are not working anymore on new phones (mine is running on Android 12) so I didn't even bother, also I can't use methods that require rooting since that will void my warranty and the phone is only few months old.
I tried running this command:
adb backup -apk -obb -shared -all -system -f fullbackup.ab

But after a while it stops (at around 17-19 GB, always a different number), creating an incomplete backup. The first time after a backup I tried extracting it but the process exited saying it was an incomplete archive.
I read that this might be cause by active apps, I tried closing them but it didn't help (guess it's some system app), I also found that sometimes it might be caused by not setting a backup password, but that didn't work either
So I would like to know if there's either a better way to fully backup my phone in 2023, or how to make adb backup work.
Thanks

Possible dupe: How to fully backup non-rooted devices?. While the answers may be old, AFAIK it's impossible to do a full local backup using only ADB, moreover because each app can opt-out from being backed up.

As far as I know adb backup does no longer work on recent apps on Android 12: https://android.stackexchange.com/a/231237/2241

I'm more concerned about data and settings, I guess apps can be recovered from google drive backup? (I don't have enough space to do a full backup on gdrive)

Still, my issue with adb backup is that it starts but then it stops after a while without completing the backup

Does this answer your question? How to fully backup non-rooted devices?

There is no method to make a full backup of android smartphones. It is always only a partial backup, be it adb backup or google drive.
I recommend to manually backup your files from ADB:
adb pull -a /sdcard

You can backup apps with Google as explained here.  Also Swift Backup or Google One can backup app data of some apps.
For adb backup it's important to know only apps that allow it in AndroidManifest.xml can be backed up with ADB.
You can split backup into packages.  Only backup apps that you know. you can try list_app_labels.sh or list packages from cmd line:
adb shell pm list packages -3
adb shell pm list packages -s

for example
adb backup -f chrome.ab -apk com.android.chrome

AFAIK Helium can do this, but you can also try another automated script for splitting backup into packages.
Beware: even in case app data is backed up for single packages, it's not guaranteed it will restore on other devices.

Thanks It looks like it worked! I had to use a different command than adb pull because it would file on a file it couldn't read. I found this instead https://android.stackexchange.com/questions/226573/adb-pull-stops-after-first-error I saw your post on xda too, thanks!


text:
Asus zenfone 8 Ringtones Replacement
I have the Asus Zenfone 8 (about a month ago).
The factory ringtones have to go as I would like to obtain other ringtones.
Bottom line-is there way to transfer ringtones including notification-tones, from other phone i have (windows Microsoft Lumia 6) to the zenphone 8? Or if not exact or by copying each of its tones, there are other ringtones it looks like but I don't know the process in assembling like MP3 file(s). Which is why I'm posting question for possible solutions. Thanks.

Smartphone usually use common audio files in MP3, Ogg Vorbis or a similar format. Just copy the audio files to your new phone and configure them in Android settings as ring, notification or what else tone is supported.


text:
Double tap to wake on Amazon Fire tablet
In most Samsung Galaxy phones, it is possible to wake the phone by tapping the screen twice which is a very convenient feature.
I tried the same thing on the Amazon Fire HD tablet (2021 edition) and found that it is not working on my Fire device.
Is there a way to do this, whether by changing the setting or installing an app?

which OS does the device use? ... BTW, I have had several Samsung phones, and none of them responded to a double tap

Amazon Fire tablets run an entirely different operating system compared to a Samsung Galaxy phone.  It sounds like your tablet doesn't support the feature you want to use.

@jsotola depending on the Android version, it's on Settings - Advanced features - Motions and gestures - Double tap to turn on screen.

As far as I know the kernel has to be made to support this feature. Some OEMs (and many Custom ROMs) support this, while the rest don't. If you don't find the relevant setting in your Settings app than your system doesn't support it.


text:
Advice Setting Up an Android Phone for an Elderly User
My grandmother wants to use a smart phone but I'm struggling to set it up in a way that is intuitive for her.  Although she's used older mobile phones for decades, she doesn't have any experience with desktop computers or user interfaces and at 84 it's very difficult to pick up those metaphors.  She asked for a touch screen phone in the first place and I think feels some obligation to use it, so we'll pretend going back to a feature phone with physical buttons isn't an option, even though I think that would be the best choice.
All she really needs to be able to do is take calls, easily check missed calls and contacts, and access the dialer. Even text messaging isn't really important.
However far as I can tell Android isn't at all designed for someone like this.  The best I've been able to do so far is make contacts the only app on the home screen so there's always a clear way to get back to it (press the home button) and use the AOSP contacts app since it has a tab that displays favourites in large tiles with photos. The latter is really the only saving grace right now and what I'd like to aim for across the whole workflow since it's extremely visual and intuitive, all she has to do is tap on a picture of someone she knows to call them.  Even still, it's extremely easy to get lost in the rest of the UI; there are too many extraneous buttons, apps don't reset their state, and the few other apps that display large photos insist on opening menus instead of a one-tap dial.  the dialer is also an issue, I'm yet to find a way to put the keypad front and center instead of hidden behind a small bubble.
I've checked a number of alternative apps and launchers that advertise being easy to use for seniors but most replicate the same UI paradigm but with large, high-contrast buttons.  While I'm sure that's helpful for a lot of people the fundamental issue here isn't vision but struggling with the idea of buttons and menus in the first place.
I'm wondering if anyone else has faced this kind of problem and what kind of solutions you found.  I'd appreciate any advice or app recommendations.  I'm actually quite surprised there's no existing ultra-streamlined UI for the sake of accessibility.

There are Android phones designed for elderly people. The usually have their own UI and make it difficult to leave this area so the elderly users don't accidentally get to the underlaying Android system. Alternatively you can try to simplify Android by using a special launcher app that only provides a limited set of features and has large fonts and buttons.

Realme UI has simple mode, which is somewhat related https://c.realme.com/in/post-details/1490981450181246976


text:
Printing long pic from screen capture
I used android13 screen capture to scroll down so I have a very long pic now. How can I print this pic across multiple pages, each page having a zoomed in portion of the overall pic, since the only way I can see to print it at the moment, prints a portion of the overall pic, but the printout only shows page 1 of 1 when there would be many pages in total?
This is for Facebook comments, the phone will not print them properly either if I just select share/print from the options within the Facebook app.
I have had to go to my computer and print out all comments using it.
Thank you.

There are apps that support "poster printing" which actually means splitting a large image onto multiple pages. I would try apps like https://play.google.com/store/apps/details?id=com.caomobile.photosplit (have not tries it myself).


text:
Is it possible to back up data in this situation?
I want to backup data from my phone currently in bootloop
The current situation:

phone - LG V40 ThinQ
Android Pie
rooted with Magisk
unlocked bootloader
USB debugging enabled
fastboot mode working (possible access with working commands from cmd)
EDL mode working (PC recognize device)
stock recovery mode working (but PC don't recognize device in this mode and adb commands don't work)
bootlooped after manually reboot after modifications with YouTube system app

In this case there are any chances to repair from bootloop, most importantly, to backup photo and video data?

Have you tried to boot a boot a recovery like TWRP via fastboot? You phone should be old enough so that it may work and hopefully the recovery has decryption support. there doesn't seem to be an official TWRP recovery for your device but that doesn't mean you can not find one on XDA.

@Robert thank you for fast response. I was wondering about flashing TWRP, because it seems to be the only option to use adb commands. I'm just afraid that if it fails, the phone will be bricked twice - not only will I have a problem with the system application, but also a problem with custom recovery. Then I won't even know what exactly is bootlooping it, so recovering from the situation will be harder. However, if there are no major contraindications and better alternatives, maybe I should take advantage of this. What do you think?

Your phone should support to directly boot a recovery from image file without flashing it.

shameless self-promotion, you can use my script to copy files, just need to adjust junk size to fit the time gap between reboots

Thank you guys in this mentally difficult moment for me. As in general digital values are less important to me, here are the only recent photos of my beloved dog, who recently passed away. If I understand Robert correctly, probably I can open (boot) TWRP, not install (flash) it? That would be safer in case of failure. alecxs, sorry for my noob question, but is your program running even before TWRP boot? Since booting occurs during normal boot for me - safe modes work fine (though without access to adb commands). Also, can it be used on Win? Thank you for your help during this difficult time.

if you can boot in safe mode then you can backup everything to MicroSD card, can't you?


text:
Slow Upload over WiFi while download speed normal
I have three phones where the upload speed is terribly slow (below 0.1MBit/s) over WiFi. Download speed is normal. Upload over mobile data is fast. Only when using WiFi, upload is slow. Tried in different WiFi networks. When trying other devices (phones and laptops), upload is fast using the same WiFi network.
Only thing in common for the affected phones: Used them in Egypt on vacation. But did not install anything, so don't know what could be the cause.
Using Android 13.
Any advice?

Switching the router off for a few minutes and on again resolved the issue.

For people who might stumble to this question..
The slow upload speed might be because of your ISP (Internet Service Provider). They sometimes do not mention the upload speed misleading people.
Check download & upload speeds on some bandwidth speed test site.


text:
Notifications dismissed from lockscreen after unlock
Explanation of the problem

Ensure show notifications on lock screen is enabled in the settings
Receive a notification and it displays on the lockscreen
Unlock the screen
Lock the screen
The notification is no longer displayed on the lockscreen (or notification drawer)
Unlock the screen
Notification shows as an icon in the notification shade and if you open the notification drawer.

The device: realme 7 pro
Android version: Android 12 (realme UI 3.0)
Here is a video of the problem https://imgur.com/a/MM7mOGn
Research
I have seen the following threads which have the same problem and show it is likely to be a bad UI/UX decision for realme UI (and MIUI)  android version 12 and up:

https://www.reddit.com/r/AndroidQuestions/comments/11cuep7/notifications_disappear_from_lockscreen_after/

https://c.realme.com/in/post-details/1375788112633995264

https://forum.xda-developers.com/t/any-way-to-keep-notifications-on-lockscreen.3941709/

Question
Are their any workarounds for this annoying behaviour?

Note: this is not the default behaviour on stock android 12 and up.

Or any version of stock android.

My phone has just started doing this and it's driving me mad

no workarounds found yet @Greg


text:
Delete sit0 interface
My samsung smartphone keeps losing network connection. Internet will work only when I restart the mobile. By default my custom Android 12 (rooted with magisk) use ipv4 routing table.
    ip route show
    default via 192.168.1.1 dev wlan0
    192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.3

ip a command shows two new interfaces:
    sit0: <NOARP> mtu 1480 qdisc noop state DOWN group default
           link/sit 0.0.0.0 brd 0.0.0.0

    ip6tnl0@NONE: <NOARP mtu 1452 qdisc noop state DOWN group default
           link/tunnel6 ::brd ::

I tried a few solutions to disable ipv6:

Disable ipv6 Magisk module

watch - n 1 /script.sh

    echo 0 > /proc/sys/net/ipv6/conf/sit0/autoconf
    echo 0 > /proc/sys/net/ipv6/conf/ip6tnl0/autoconf
    echo 0 > /proc/sys/net/ipv6/conf/all/accept_ra
    echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
    echo 0 > /proc/sys/net/ipv6/conf/lo/accept_ra
    echo 1 > /proc/sys/net/ipv6/conf/lo/disable_ipv6
    echo 0 > /proc/sys/net/ipv6/conf/wlan0/accept_ra
    echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6

I droped ipv6 traffic in ip6tables.

But netstat still shows ipv6 traffic. Sometimes I see lot's of udp6 connections and get banned from google.

ip tunnel del sit0

I don't see any error, but sit0 interface still here.
I want to delete ipv6 tunnel and ipv6 module (or block it completely) from my system.
What else can I do?


text:
How can I unlock the lost phone's lost mode remotely?
I lost my phone Redmi Note 10, 2 days ago, and consulted the police for IMEI tracing.
Today I accidentally locked my lost phone by putting it in lost mode. And there is no option for unlocking the lost mode remotely.
Actually, I do not want to lock it or put it in lost mode because the police are tracking the phone. so, How can I unlock the lost mode remotely?


text:
How to lock or remove recovery options on an Android phone, specifically UleFone Armour X7 Pro?
At work, we have the Ulefone Armor X7 Pro to log activities and time. It is locked down by Hexnode for Work, but I was initially easily able to circumvent a lot of this by force-restating the phone (power off has been disabled), and when it starts up again, quickly open settings from the drop-down menu. Once the Settings app is open, Hexnode didn't block it. Through that, I was able to find the WiFi password of the company.
I told my manager about this vulnerability and he fixed my access to settings by disabling the dropdown menu with Hexnode. He also disabled the power button in Hexnode, but it doesn't really disable the button, rather, it just turned back on the screen if I put the phone to sleep. This drained everybody's battery and was no fix because I could still force restart it. Our IT guy seems to have no fix for this problem.
Does anybody know how I could block the restart option with some kind of code?

Don't your company pay Hexnode for their MDM solution, then I would first contact Hexnode for support if the offer protection options that don't work correctly.

@Robert      Sweet. I am a wee little noob that knows next to nothing about code, but somehow I was able to mess with a multi-million dollar company's security. I should have come to that idea myself; thank you for helping me gain in experience.

I’m nowhere close to being an expert on this, but being a Hexnode user, what I’ve understood is that the “Disable Power Button” option is just meant to keep the screen awake. It isn’t intended to not make the button work. They also have a restriction to disable power off, but that depends on the manufacturer. I know that it is supported on Samsung Knox devices, don’t think that’s the case with Ulefone. This could have been better handled if the manufacturer supported OEM configurations.


text:
Possible to mirror texts to a second phone?
Is it possible to use a second phone to send/receive texts via my primary phone?
I would like to mirror all of my texts (including RCS and ideally MMS) to a second phone in my apartment so that when I come home I can put my normal distracting phone away and just keep a barebones phone that can't do much beyond texting and control of home devices (Spotify/Sonos/Hue/etc).  (I know that in theory I can use something like AppBlock but realistically it's more likely that I'll "temporarily" disable the blocks and then get distracted again; I need more friction.)
As far as I can tell there used to be apps like FreeForward that did this, but it doesn't seem to be in the Play store (anymore?).  Is this possible, particularly in a post-RCS world?
Thanks!


text:
How to download all photos from Google Photos into device?
I wanted to do a factory reset. I made a backup of my device using "Setting" → "Accounts and backup" → "Google drive" → "Back up data" → "Back up now" →  under "Photos and videos" I checked "Backup photos and videos from this device to your Google Account" checkbox. After one hour the backup completed. I did factory reset, chose to restore from backup and selected the backup file.
Now everything got restored except the Gallery photos. Those photos appear in Google Photos.
I have around 950 photos. How do I download all of them at once, so that they become available in my Gallery app?

"all at once" - there is no such option available in google photos app. you need to download one by one.

@Gmk but why my android mobile gallery images did not get backuped ? could they be already inside the backup file i have?

if those gallery images are not backed up means you didn't include that folder (probably it is a different folder other than default camera folder) to backup in google photos. you can include device folders by going to backup settings and select "backup device folders" and select available folders.

You will have to use a PC.
Login to https://photos.google.com
Select first photo from where you want to download the photos. Press and hold SHIFT key and then select the last image you want to download. Everything should be selected in between them.
3 dots --> download
A zip will be downloaded. Copy that to your phone to DCIM folder. Extract. Done

will check those steps.. but is there any limitations about the number of photos i can select and download using my PC?

500 pics at a time :)

Please consider accepting and upvoting if this helped.

Thanks for the reply,, I can not upvote as i am new... now i downloaded the folder to the PC, then how i can transfer the zip folder to my  phone?

You can upvote on questions that you have asked. Also you can tap that tick mark to accept the answer... You can use USB to copy the files. You can watch videos on YouTube about it


text:
My Android 7 tablet keep display restart / shutdown message and then restart itself
I have a tablet with Android 7 that suddenly display restart or shutdown prompt message and when I click anywhere in the screen the message disappear then appear again then it restart itself. Is this hacking or software problem ?

Sounds more like a defect power button which is permanently triggered.


text:
How to control Android phones from a macOS computer by projecting a cursor onto the Android device?
I used to use Samsung Smart Switch for this purpose, but the feature has been discontinued. Currently, I am using scrcpy to mirror the Android screen on my Mac and control it, or I connect to the Android device using 1keyboard as an external keyboard. However, neither of these methods is ideal because I cannot project the cursor directly onto the Android phone itself, which means I have to operate it by looking at my Mac screen. Additionally, the previous method was faster as it didn't require mirroring the entire screen.

I'm not getting it. If the end goal still remains: "to control device using Mac/PC",  what difference does it make if the real Android screen shows cursor or not, so long as the cursor of your Mac is accurate enough with scrcpy?

It's a lot slower to project the screen to the mac. It's much faster to project the cursor to the android. @Firelord


text:
Shrinking encrypted ext4 partition
I have a micro SD card adopted by an Android phone as internal storage extension. While being adopted it was partitioned/formatted by the phone with two ext4 partitions: android_meta and android_expand, which is easily decryptable in a Linux laptop using the key under /data/misc/vold. I'd like to free up some space on the card for an "external" aka "portable" partition for music storage etc, ideally using that Linux laptop: the idea is to shrink android_expand somehow. How do I do that? E.g. GParted won't let me do it - if that's just 'cos it's encrypted can I perhaps decrypt it, write it back onto the card, move/resize it as necessary using GParted or the like and then encrypt and write it back again?  Thanks in advance!

Your question here has two issues... One is that the phone will not recognize two partitions on the SD card (one encrypted and one "external") it just won't work in a normal phone (you might be able to do some root access trickery, but I can't guarantee it). Your best bet is likely going to be to insert it into the phone, copy off all the data, then "forget" that SD card and reformat it as external storage.

@acejavelin that'd deprive me of the internal storage expansion though, right? I need them both. If my phone (a Samsung A3 2017) natively supported Adoptable Storage feature perhaps I'd be able to dual partition my card with "sm" and have the phone adopt one of them (exactly that worked for lots of phones with MM 6 and Nougat 7), but seems like Samsung decided to mask that feature and the only patch unmasking it that I know kills sm and the phone partitions entire card as adoptable.

Dual partitioning thread: https://forum.xda-developers.com/t/tool-utility-win-linux-auto-formatting-sdcard-to-internal-and-sdcard-storage.3583875

The point it is that to my knowledge you cannot resize a partition encrypted in this manner.

Can I maybe manually create a similar but smaller one (instead of existing autocreated one) and make it look same to the phone, so that it doesn't notice the change?

You could try to create an "empty" partition of the size in want and see if the phone will just handle it, but those older Samsungs are not great dealing with encrypted (adopted storage) volumes.

I tried a few variants of that earlier and it looks like the "New SD card inserted" dialog offering to choose between Internal or Portable totally disregards whatever's on the card and just repartitions it from scratch with entire space allocated to a single partition of my choice. Wrt Encryption, I wasn't expecting it to get encrypted at all as the Adoptable Storage patch I'm using is supposed to disable it, but it still seems to get encrypted somehow. Interestingly it's perfectly accessible in TWRP despite encryption, and only needs decrypting when plugged into a different device.

One more idea: what if I use a smaller card at first, and then use some cloning SW like CloneZilla that can migrate the internal partition(s) created on it on to a bigger one w/o analysing them and so disregarding their encryption? I'll then want it to clone android_meta and android_expand into the upper part of the target card as Windows likes its FAT partition to go first.

Android 6.0 Adoptable Storage is FDE encrypted
Android 7.0-8.1 does not support Adoptable Storage for FBE encrypted devices
Android 9+ Adoptable Storage is FDE and/or FBE encrypted
this for FDE encrypted Adoptable storage only
you can partition mixed from sm
Split external SD card partially into adoptable storage and portable storage
to backup files use gnu tar with selinux flag
Can't access my phone memory suddenly after using SD card as internal memory

thanks so much: that really helps explain my issues around it with Android 8. Will it be any different if I turn that encryption off? The patch unmasking Adoptable Storage feature in my phone was supposed to turn it off but it doesn't seem to be able to do it as encryption is there.

I don't have any there: they're all under / (this is SM-A320FL) and neither of them has such parameter. The patch I'm using appends ",encryptable=userdata" behind any occurence of "voldmanaged=sdcard:auto" it comes across, which I understand is mandatory for the card to be considered an Adoptable Storage candidate (and not for its immediate encryption during adoption) based on this: https://source.android.com/docs/core/storage/config#adoptable_storage

SM-A320FL is FDE regardless of the android version, so no need to disable encryption

But when I plug the card into Linux it won't open unless I decrypt it using dmcrypto and the key under /data/misc/vold. Meanwhile TWRP opens it just fine somehow...

TWRP does the same as you manually do in linux, it decrypted adoptable storage with /data/misc/vold so no need to disable encryption at all

Aha clear now (and thank you for explaining that /data is encrypted by Samsung encryption, hence differently). Now back to the point: you advise using sm to create a mixed partition card. My experience with sm so far: SM-A320FL running 8 does nothing upon entering "sm partition..." - it just returns the prompt in <1s and there are no changes whatsoever on the card (btw same on SM-A310F running 7). I only got it working properly on SM-G965F running 10 so far and even that one crashes at the end of the process albeit producing a seemingly well partitioned card. Stock ROM implied.

Meanwhile my sm seems to get broken by the famous Adoptable Storage patch once I flash it: sm starts returning Killed on whatever options I try running it with. But even if it survived the patch it would've likely behaved same as w/o the patch anyway. That's what made me research cloning the card to a bigger one in that separate thread, which doesn't see to work either...

your question suggest that adoptable storage is supported. if you can use private it should work for mixed too, but I have no experience

Adoptable Storage is supported indeed (purely due to the patch) and it's capable of partitioning entire card as adoptable (I guess that's what private is), but sadly not mixed... I'm unsure it even uses sm for its partitioning functionality.

if you don't rely in encryption use Link2SD instead. instead of 2nd partition it's possible to loop mount a file into /data/sdext2

Let us continue this discussion in chat.


text:
Five full-screen buttons in embedded Youtube videos
I am using Android Chrome. Why I am seeing four additional full-screen buttons in the embedded Youtube players as shown below, instead of the play and other buttons. The issue reproduces on various websites.

The problem reproduces even if I check the "show in desktop mode". The videos start to play when I click the left-most button where the play button should be. Sometimes the four gear icons start to flicker replacing the full-screen buttons.
These issues appeared recently, maybe a couple of weeks ago. I use Chrome version 113.0.5672.77; the Android is the latest native 12. The phone is CAT S42.

Welcome to Android Enthusiasts. Could you also [edit] and mention the device model, and whether you're using a custom ROM/rooted and further customizations/modifications?

Nobody hasn't reproduced the issue? Could this relate to the New Pipe also installed on my phone? Is there some general-purpose Youtube player on Androids used by the Chrome browser and messed by the New Pipe?

Android apps generally cannot access other apps' data. However, if this happens on Chrome, perhaps the issue was from the resources delivered by YouTube itself? Have you tried clearing the cache of Chrome (3-vertical dots - Settings - Privacy and security - Clear browsing data - Cached images and files - Clear data)?

Thanks @AndrewT. I used the Chrome and went to youtube.com, opened the three-dot menu and info icon. I cleared the cookies and other site info there specifically for Youtube without luck. I also tried using incognito tab, the issue persists.


text:
Cloning encrypted ext4 partition
I have a micro SD card adopted by an Android 8 Oreo phone as internal storage extension, so it has two encrypted ext4 partitions: android_meta and android_expand. I've cloned those partitions into the "far end" of a bigger card using Macrium Reflect 8 (selecting the byte by byte copy mode w/o any analysis and optimization if I got it right) and created "external" aka "portable" partition in its free space later so that it goes first (just to please Windows). I also cloned the GUID. Unfortunately my phone is reporting "Adopted missing" upon booting up with it. What else am I missing? Many thanks in advance!

Does this answer your question? Shrinking encrypted ext4 partition

@alecxs it definitely helps explain my issues with it: much appreciated! Looks like my phone wants entire card encrypted, hence no chance with dual partitioning I suppose.


text:
Link events (birthdays/anniversaries) from Google Contacts to Google Calendar in Android
In my contacts app, I have birthdays and anniversaries saved for most contacts. On most birthdays, I get a reminder 3 days before and then on the day of the birthday at 10 am. I have not created this setting but I'm good as long as I get a notification - so no complaints here.
However, for some birthdays and all anniversaries, nothing like this happens. I get no notifications whatsoever.
When I tap on a contact's anniversary, I am redirected to the calendar app where I can see an event for that contact's anniversary in the year that anniversary first occurred. However, for subsequent years, no such event is there. This same problem also happens for some birthdays. This is only happening in the Calendar app on Android. On opening the Google Calendar in a browser tab on my laptop, I can all birthdays and anniversaries populating properly.
So my question is: What do I have to do so that such missing events are populated on Google Calendar so I can get a notification on my Android phone?

Is this the Contacts app that came pre-installed on your device? If yes what Android phone (model name and manufacturer + Android version) do you use? If it is a different Contacts app please provide link to Play Store page of the app.

There was a brand-new announcement for the Contacts app that may make this easier to solve: https://9to5google.com/2023/03/17/google-contacts-birthday-notification/

@jlehenbauer manually enabling notifications for all contacts will be a chore and this doesn't mention anything about anniversaries. But this update could be a partial solution at least - thanks for sharing!

@Robert Yes this is the standard Google Contacts app which was preinstalled on my phone. I am using Redmi Note 11 Pro+ 5G (2201116SI) by Xiaomi running Android 12 SKQ1.211006.001


text:
Remove unused/empty screens on Square Home launcher
I'm using the Square Home launcher and somehow, it creates additional home screens parallel to my main screen. I don't know what triggers this, but right now I have 23 home screens, and 22 of them are empty. And my contacts are at the farther right end of them. That is, I have to swipe left 24 times to reach my contacts from my home screen.
Normally, using the standard Android launcher, I could get rid of empty parallel home screens by pressing and holding some empty place and swiping up the empty home screens. However, that totally does not work here.
Does anyone know how I can get rid of this?

Pinch out on the homescreen
Tap the Edit icon on the bottom right corner.
Delete button should appear

Check the screenshots below

Solved. I didn't think about pinching...


text:
How to view/filter posts by a user in a WhatsApp group?
I am a participant in a WhatsApp group for a long time. I want to view all posts I have done in the WhatsApp group.
How to view/filter them?

The official WhatsApp app doesn't really provide such a feature. I think the alternative is to export the conversation and filter them externally.

Go to telegram
Create an empty group.
Go to whatsapp group you want to filter messages of.
3 dots > Export chat > including media > Telegram group that you just made
All the Chat's will be exported and then you may filter it by the users. Screenshots below
Downsides?

you will not be able to see the tagged messages
some stickers (but not all) won't appear if it isn't added in telegram. As seen in the screenshots
there will be numbers instead of name (if the contact is not on telegram, I guess)

Upvote if you find this helpful:)
Thanks!


text:
Accessibility: paused or stumbled voice input to Google Assistant
This post is an accessibility request to do with voice input to Google which is paused or stumbled.
When my five year old child uses the Google Assistant search box on the Google Assistant widget to search for something or ask Google to do something with their voice, my child speaks a bit slowly and with some stumbles and autocorrections, on behalf of my child, so, I was wondering, whether there is a way to configure the Google voice search in the settings so that slow (or corrected), input, even with longer pauses, even towards the end of speech, can be configured, in the settings (somehow).
When will support for this kind of variation in the voice input be catered for by Google?
Is there a way to configure this at present?
As an adult, I also, find myself, having to speak quickly, at times, in order for Google not to respond prematurely.
Thanks.


text:
Nokia T20 WiFi (TA-1392) EDL mode activation?
I have discovered that my Nokia T20 WiFi tablet (TA-1392), was hard-bricked after clean-erasing it while trying to install an Android 13 GSI. Later research pointed me to my tablet’s EDL (Emergency Download) mode. Can anyone show me how I can get into EDL mode on this model of Nokia tablet?
Sincerely,
Saturanium


text:
Using a picture as wallpaper in different view
Whenever we use a picture as wallpaper, it appears as a full screen. Mostly, in full screen, the picture is not completely visible.
Can I use a picture as wallpaper in different views like as a centre, or as tiles,… so that picture should be in short size at the centre?
Please let me know, how to do this?

Welcome to Android Enthusiasts. I'm not sure if the built-in wallpaper feature allows this on any Android device. Probably needs a 3rd-party wallpaper utility app to achieve this (hasn't researched anything though)


text:
Set Timezone to UTC-12
How can I set the timezone to UTC-12?
I searched the regions and timezones supplied, but didn't find any TZ with UTC-12. Is there any possibility to set it by fiddling with configuration files?
Baker Island and Howard Island are in this TZ but they don't show up in the list.
Update:
Android Version 10
Build SHIFT6MQ.SOS.3.8.G.20220824

Fiddling with system files requires root access, e.g. How to add timezone to world clock when you don't know the city?, How to update timezone data?

I am putting the solution here instead of the comments as previously done.

Go to Settings -> System -> Date & time.
Set Automatic time zone to off.
Press on Select time zone
Press the 3-dot,
Press Select by UTC offset. GMT-12:00 will be listed. Select it.


text:
Facebook Watch and Instagram Reels not Working on AOSP 10.0 v209
I have a problem with my phone, and I need your help. I recently flashed AOSP 10.0 v209 on my Redmi Go (tiare) then I flashed litegapps (systemless) and everything was working fine until I tried to use Facebook Watch and Instagram Reels. They just don't load at all! I can see the thumbnails but when I tap on them, nothing happens. But they work fine in Facebook Lite and Instagram Lite. It's so frustrating because I love watching videos on these apps. I checked the permissions, and they are all granted. I cleared the cache and data, but it didn't help. I even tried to reinstall the apps, but it was useless. I even tried installing Meta Services and Meta App Manager using App Systemizer v17.3.1 it improved the experience a bit, but the issue didn't solve at all. I don't understand why they are not working on AOSP 10.0 v209 when they were working perfectly on the stock rom. Does anyone have a solution for this? Please share your tips and tricks with me. Thanks in advance!

The first step when apps don't work is checking logcat for the error message. With a little programming and Android know how it is often obvious where the problem is located (base on Exception name, error message, stack trace...).

File a bug report with the developer of that ROM. Nothing we can do on our end. Facebook videos work fine on other devices running stable ROMs.


text:
Hardening android to use it as a Linux Server
I want to convert a set of relatively old Android devices into Linux servers, while avoiding too many device specific actions, to make this an easily repeatable and shareable action.
This means avoiding working with custom ROMs and root, as these are usually very device specific.
Thankfully, software like Termux, UserLAnd, linuxdeploy and Androinix make it possible to use Linux environments without changing OS, which while a bit limiting gives us access to a lot of key tools, from bash to SSH, Clang, Python and more
The issue then becomes how to harden such a device so that it can be used not just as an isolated machine but can be marginally exposed to a network.
My first instinct is to put it behind a firewall, perhaps both a network one and software one internally, blocking any incoming connections, perhaps with the exception of a VPN/SSH access with keys only.
Another step would be to use ADB to block/uninstall most non-necessary apps, like  browsers or email clients.
I was considering blocking outwards connections, perhaps using a VPN that selectively blocks any non-whitelisted app.
I'm not a security expert, and I'm not sure if this would be a sufficient approach, considering how many if these devices have pretty old versions of Android, so i wanted to know if anyone has other approaches and ideas

This is going to be complicated and time-consuming and if it succeeds, will give you a bunch of separate Linux servers that are isolated from each other. It would be a lot easier to buy an Intel NUC PC and run a conventional server Linux.


text:
Phone contacts list displayed without contacts from a different google acount which I added on my phone
I use my friend's google account on my Android phone (Xiaomi Redmi Note 11 Pro) to help him sell on ebay. All his phone numbers from his contacts list now appear in my contacts list. I don't want the numbers from his list to show up, what can I do?  I also want to continue using his account, to help him.

Why do you need a google account to access ebay?

It' s something similar with Ebay, called Wallapop.

Settings -> Accounts & Users (dont enter Google) -> select your friend's Google account -> turn off sync
You will then have to manually delete all his contacts from your Contacts App.
Next time remember to turn off syncs when logging in to Google accounts :)


text:
How precisely can an app infer your location from info that is visible with location permission off?
For example, by looking at whether your SIM is roaming, what network it is connected to, what network issued the SIM in any second slot, or any other info that would give away your location.

Any app can determine your approximate location just by the internet. The IP you are assigned by your ISP reveals your local location. However, the same IP can be shared by many around you (in your locality), so they cannot find YOU or identify YOU on that basis.

Using a VPN almost removes this issue, until a website/app decides to compare time on your device to the time of the location shown by your VPN. This is something they usually don't do but certainly can.
As the Google CAPTCHA does, if many people are connected to the same VPN, they will have the same IP and there will be a lot of traffic from the same IP at the same time. Not something to worry about when not using Google.

They (some apps) also use SIM card info to know your country. (Like tiktok does)
Apart from these they may use your device info to know your country (if your phone is not a Global variant)
And not to mention the location permissions which gives your exact location. (Android 12/13: you can choose between exact and approximate location)
Upvote if this helped.
Thanks :)

That does help, but I'm not sure what you mean by SIM card info. Is this just the country where the SIM was issued (not a concern) or its current status, e.g. the fact that it is / isn't roaming, or the GMS network it is connected to (reveals at least country-level location).

It won't let me upvote - not enough rep.

@culp See the link in Robert's comment for My location get recognized by my sim card

Thanks. If I am reading @Robert 's comment right it is saying that the app can see the cell towers, so I guess it can see the network operator too. That is going to give country-level info. idk whether there is also some kind of "roaming" flag, or if TikTok (the app in the prev Q) uses that info or just assumes that the user is in the country where the SIM was issued.


text:
Android wifi connectivity check
Windows OS has a functionality that checks internet connection periodically, if DNS resolution and traffic begins to fail it changes to "limited connectivity" and resets the WIFI drivers.
I know that android checks connectivity when it associates an AP to test if it's behind a captive portal (famous "gen_204" requests), but i can't find any meaningful information about evaluating the wifi connection 'on the fly' or even reset the drivers to 'unstuck' the supplicant and/or drivers.
Does android has any connectivity check 'on the fly' ?

Android does report via a notification when a wifi has no or loses internet access. You could have tried this yourself. If you have a router at home, just unplug its cable that brings it internet and see if Android later on detects this or not. // Also, it is frowned upon to ask the same question by making a new account. It is considered as circumventing site policies. Please don't do that. If your question gets closed for being unclear then you can edit it and make it clear, and then make a reopen flag request.


text:
Why notification is saying my Facebook name messaging me when it's someone else messaging me?
So, out of nowhere, when I get notifications about someone messaging me on Facebook Messenger, it says my Facebook name is messaging me instead of the other user. But when I go to the app, it says their correct name as the person who messaged me. But when they come into my phone, it shows my Facebook name, like I messaged myself but it's them messaging me.
Could that possibly be me being hacked or is it just a system malfunction?

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Could you check your phone's contacts whether it has your name with their phone number?

Are you logged into multiple accounts on the app? If nothing works clearing app data and rechecking is an option

Recovered a few gmails and had them logged on at one time for like 30 min before all this but after 30 min went straight to only E gmails that I'm logged into now.


text:
How to type Tab character on any Android tablet?
I failed to type a tabulation character as found in standard ASCII on a Galaxy Tab.
My first solution was to use f-droid store to install https://f-droid.org/de/packages/juloo.keyboard2/ and then do the obvious swipe on the right key.
However I want to be able to type it without having to swipe on a key.

Use Hackers' Keyboard.
You can get many apps just by searching "Programming keyboards" on Google play.

Unfortunately Hackers keyboard is not available for Galaxy Tab a 6 which I am using...


text:
Unlocking an Android phone
I forgot the password to my Android phone (I have a Samsung A51) and I am trying to reset the lock password. It is important for me not to reset because I have important information that I want to obtain. I understand computers and Linux and less so on Android. The password is a drawing pattern and not a PIN and I tried through ADB it gave me problems because I don't have the USB Debugging mode so it's bugging me, I would appreciate your help I have essential information there
I tried to search for information on the internet and I also tried through software like dr.fone and it doesn't work because the model is not supported

The Android lock screen is designed to allow access to the device only to people who know the lockscreen pattern/pin/password. A possibility to bypass this would be a sever vulnerability as it would render the pattern/pin/password useless.

Android 8.0 had this vulnerability but they fixed it in 8.1... So no hopes. If only you could plug it to pc and enable file transfer, that's all you can do. Even "Find My Device" doesn't offer to reset the password anymore (right? Correct me if I'm wrong)


text:
Restricting an app to only use Wifi not mobile data
I would like to restrict my web-browser (firefox) to only work when on Wifi,
while still allowing all other apps like Google Maps, Google Calendar etc, and even my alternate browser (Brave), to work using mobile data.

Use a firewall app. See a list here: https://android.izzysoft.de/applists/category/named/network_admin_firewall#group_377

Settings > Apps > FireFox > Mobile Data > Turn on "Disable mobile data"

Could you [edit] and mention the device model and the Android version? Google Pixel 3a on Android 12 and Samsung Galaxy M12 on Android 13 don't have this option.

I also do not see this option on Google Pixel 6,  Android 13


text:
Older LG phone worked fine before update, after update, phone wont turn on, black screen
My most recent phone broke, so I was going to use my older LG phone (LGLS755, or LG X power) with a mobile hotspot checked out from a library to get by until I get a new phone.  This older phone was working fine this morning and was at around 74% battery after charging overnight.  A strange thing, the charging didn't seem to go above 74%.  Not sure if this is related to the problem or not.
Well at the library, I plugged the phone into a USB of the PC and connected to the library's WiFi.  Again the phone was running fine.  I saw an option to do an Android update, so I went ahead and did that.  I didn't really pay attention to it, but after a bit I looked at the phone and the screen was black.  I took out the USB cord and reinserted it and didn't notice anything.  I tried doing a normal on button, nothing happened.  I did an on / volume down buttons combination and nothing.  On the desktop PC connected to the phone, in an "other devices" section, the phone just appears as "USB Serial Device (COM4)".
I took off the back of the case, and on the back of the battery was a piece of white tape saying something like "Battery is not intended to be removed, do not remove or serious injury could result".  So I put the back of the case on.
I'd greatly appreciate if someone could help me getting this phone running again.

Installing an update on an old phone that is not connected to a real charger is always a bad idea. Firmware updates do stress the battery and stressing old batteries can cause a voltage drop so that the device crashes. If this happens while installing the firmware bad things can happen.


text:
A Strange Contacts
I found a strange contact with a short strange number on my android device.
The contact name is "Siiii" and the number is a combination of just 10 numbers. Is this a spam? Or a hacking issue? I hope anyone could help me with that.
Thanks

"Or a hacking issue?"... No, that is as likely as being struck by lightning while being bitten by a shark... It's possible, but extremely unlikely. In your contacts, it should show a line towards the bottom saying "Added May 1, 2023 (name@email.com)" or similar that could give you a clue (at least Pixel's do) telling you the date and account that added it if done from the phone, if not, it was added by syncing from your Google or similar account.


text:
What does "Connected via Camera" mean?
I have a Motorola G7 Plus (UK model) connected to my home wifi router. When I choose Settings > Network & Internet > Wi-Fi, I see that under the name of my router, it says "Connected via Camera". What does this mean? (I don't actually have a camera, other than the one in my phone.)

"Connected via Camera" means that the WiFi access point was added by scanning a QR code using the Camera app.
From frameworks/opt/net/wifi/libs/WifiTrackerLib/res/values/strings.xml file:

<!-- Status message of Wi-Fi when it is connected by a app (via suggestion or network request). [CHAR LIMIT=NONE] -->
<string name="wifitrackerlib_connected_via_app">Connected via <xliff:g id="name" example="Wifi App">%1$s</xliff:g></string>

which is used inside the getConnectedDescription() function to show additional info of the WiFi connection, otherwise only showing "Connected".

Additional reference: motorola - Can't delete / forget wifi added with QR.


text:
Show Background Apps/Services
I want to monitor apps/services running in background on my phone. I have searched online but I can't find any way to do so.

There is no 'Running Services' option in Developer Settings or Apps section in MIUI.
I have tried adb shell top command but the output is not much helpful. And I can't keep my phone connected to my PC at all times.

My phone is rooted. It's running on MIUI 13 - Android 12.
Please help.
Edit:
I want something similar to the 'Running Services' option in Developer Settings. (It's not available on Xiaomi devices)

How to view background apps running on Android?. Disclaimer: this link belongs to me.

You can check 'Running Services' by calling through ADB or on-device terminals like Termux, etc.
To use in the terminal, you need superuser access & remove the adb shell prefix.
ADB:
adb shell am start -n com.android.settings/com.android.settings.SubSettings -e :settings:show_fragment com.android.settings.applications.RunningServices

On-device terminal:
su
am start -n com.android.settings/com.android.settings.SubSettings -e :settings:show_fragment com.android.settings.applications.RunningServices


text:
how to use "mount /system" in Android Recovery Mode?
How can I mount /system in Android Recovery Mode on my Samsung Galaxy Grand Prime?
Any article or tutorial on it would be helpful.
I spent like 5 hours reading every forum post on how to do it.
I'm going to make the bold claim that I don't think ANYBODY on the internet has used this feature. Happy to have anyone prove me wrong.
EDIT: what am I trying to do: I'm trying to enable USB debugging by modifying /system/build.prop, then I can normal-boot my Android and use a remote-control software like Vysor to recover data.

What are you really trying to do by mounting system image? It is not like you would get adb shell on this recovery, and the GUI does not seem to allow running arbitrary commands. What's the point in mounting system image then? Use a custom recovery such as TWRP.

If your phone is already bootloader unlocked you can install TWRP for your phone: https://twrp.me/samsung/samsunggalaxygrandprime.html BTW: The title is usually used to summarize your question, a reader should be able to understand your question even without the title.

just forget about this option, it's a leftover and pointless on production builds

what am I trying to do: I'm trying to enable USB debugging by modifying /system/build.prop, then I can normal-boot my Android and use a remote-control software like Vysor to recover data.


text:
How to reload an image (which failed to load) without refreshing the page on chrome on Android?
On a certain webpage, when the website is really busy, an image sometimes fails to load.
When it happens on chrome on a laptop (windows), and I right-click on the icon/image which appears instead of the actual image, an option to "reload image" appears in the menu.
But when it happens on chrome on android, and I "long-click", the menu which appears doesn't have that "reload image" option. Which means that the only option left is to refresh the whole page. (Just assume that we only need to reload the image and not refresh the whole page)
Is there a way to have that "reload image" option in the chrome for android, just as it is there in chrome for windows? Or someway to just reload the image which failed to load without refreshing the whole page?

Chrome for Android cannot be customized at all. So if it offers no relevant context-menu option (and there is no relevant chrome flag either) then nothing you can do about it. One solution is to use Kiwi Browser which is Chrome based but allows loading Chrome extensions. A simple search led me to a "Reload Images" extension. If you install this extension in Kiwi Browser, then per its description it would add a context-menu entry that you're looking for.

@Firelord Thanks a lot. I will try that.

@Firelord Update: I tried that extension on Kiwi and Yandex on android and it doesn't work. But it works fine on chrome on a laptop. In Kiwi, the "reload image" option doesn't even appear after installing the extension. On Yandex (android), the option appears but nothing happens on clicking it. Thanks a lot for that anyway.


text:
MacroDroid extract last call from phone calls log
I would like to use MacroDroid to open the phone calls log and get the first number on the list (last call) and send an sms to that number.
Not sure how to access get that number.
Thanks!

Do you have root access or can you setup localhost adb access on your device? It is possible to get call logs using a command.


text:
Contact deleted from phone but still visible in WhatsApp
First i deleted chat from WhatsApp, then i deleted contact from my phone. Then i refreshed WhatsApp 2-3 times but when i type name in search bar, that contact is visible in WhatsApp without any previous chats.

Whatsapp (like some other apps) makes clones of contacts.  So, for a particular contact, there is a Phone/Sim entry and there is a Whatsapp entry.
To delete from Whatsapp.

Search for Contact on Whatsapp
Press on 3 dots
Select View Contact

Then

You can block the Contact

Or

Press on 3 dots
Select View in Address Book
Select More
Select Delete

If you have a whole lot to do then a Contact Manager App can make it easy.  I use Contacts Optimizer (I am not associated with it)

To prove it, here is a screenshot from Contacts Optimizer.  This is page 2 of the accounts, I am showing this page to show Whatsapp.


text:
SD card set up using SanDisk Ultra 64GB Card
Transfer files, photo's and videos on to cloud accounts and then delete them from internal storage using my SD card app by
SanDisk that has the option to link my cloud accounts to the app
Will I still have access to my information using the SD card as well as the cloud accounts?


text:
It is possible to send data to some applications via ADB?
I am new to android development and development android apps (writing java or apk code) and I want to know if it is even posssible to send some data like email-password to an applications using adb for example, open play store and login with credentials.
I have not read at all the documentation at android developer, but i want to know.
If this is even so far to my approach, which way could i control my device by sending data or manipulate some apps by using adb?, I know that i can use basic functionalities like sending files using adb push or explore some other services like adb shell which other ways i can control an android device?

You can customize your app to listen to an intent and get data from it. Through adb, you can send an intent and pass data into it. That's all you can do. Another way is to interact with UI fields. Through input text command you can fill an active field with text.