text:
How to fix "Selected playlist is empty" in Android 4.1.2?
I have an old phone that I use as a dedicated MP3 player after my actual MP3 player died. It's a ZTE phone running Android 4.1.2 with an SD card that has all my music on it. I use the default music player on the phone. I've been having an odd problem recently where adding new music to the device causes the music player to be partially unable to play music. I'll move a song over and then when I start the music player and it loads to my song list clicking any of the listed songs merely gives me the message "selected playlist is empty". I can still play any of the songs if I switch over to any of the other tabs (organization methods?) like "Artist" or "Album" but not from the "Songs" tab. If I go back and remove the song that I moved over I can play music from the Songs tab again like normal.
This is getting very annoying because I can't put more music on the device I listen to music on. How do I fix it, without installing any new apps?

Android uses internally a database of media files. If you move a file in the file-system then the database entry is defect until it is updated. There are ways to force such an update manually: https://android.stackexchange.com/questions/8526/force-media-update

@Robert that doesn't really help. The check mark solution is just "get another app" and I can't get apps on this device. Besides, it's not the same problem as that question anyway. All my music is in the correct folder. The files show up, but I can't play anything at all from the tab in the music player that lists all my songs unless i go back and delete the newly added song. I can play things from the other tabs regardless, just not from the "Songs" tab.

Have you tried to use a different music player? May be the one you use has a bug which causes this behavior?

@Robert If you're asking if I've tried other devices, yes. I had everything on my original mp3 player before it broke. If you're asking about the app it's literally just the default one that came on the device, as i mentioned above. I've used it for years. No, I haven't tried another one because, as i also just mentioned, i can't get apps on this device.

I was talking about the app. Apps are software and thus can have bugs. Therefore I recommend to you to try a different music player app to see if it works or not with the problematic folder. If it works it is the app, if not it is some software component of the device.

@Robert I've said this twice already: I can't get more apps on this device.

If you can't install apps on an Android phone something is wrong with the phone. Then you should perform a factory reset are start over new.

@Robert there's nothing wrong with the phone. It's just really old for a phone. Can't use the app store anymore. No service, data, or signal. No updating. That's why it's my dedicated MP3 player. The only other thing it can do is act as a halfway decent paperweight.

Play Store is not the only way to install apps. The Izzy's F-Droid archive contains multiple Music player apps that work for Android 4.1. E.g. Simple Music Player Version 4.3.1 is the last for Android 4.1. And there or other music player, too.

@Robert you're not helping at all and this website is displaying a complaint about how many comments we've made. So, please offer actual help or direct me to somebody that will.

Sorry that I am trying to help you. If you don't like may comments ignore them. Unfortunately nobody else has participated so in my opinion my comments are better than nothing. On your original problem I can't help you as I don't know your device nor the used music player app.


text:
How is Google Assistant listening all the time without a notification?
In Android, if an app wants to run in the background, it usually needs to create a service that runs in the background (and/or after boot is completed). So, if the app wants to listen to the microphone all the time, it needs to run such a service from my understanding, and in the modern Android version, they are forced to create a notification and it needs to clearly specify what it does in the notification or it will violate Play Stalkerware Policy which Google Assistant does not show it.
How can this be allowed? Also, how can an app implement a microphone listener if Google Assistant is already running?

Running a foreground service is a requirement for third party user apps. Google apps are the privileged ones. They have exceptional capabilities. // A shameless self promotion: you can use the Pro version of my app WhatsRunning to conveniently view a long list of always-running apps and services in background. Google services are usually the highest in count.

Thank you @IrfanLatif, it looks very useful, and in my case, I wanted to add a voice commands functionality to my app that user can do some actions with their voice but it will need to listen to the mic all the time and this is not something comfortable by most of users

source: Stack Exchange

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

sort: votes


text:
Can I create a file on Android similar to Windows that reads and processes commands?
In Windows, it is possible to use a "bat" file format that reads and processes written commands, such as a command to open the Windows Calculator (which you can also do via CMD).
Is this also possible on Android? If yes, which app and which Android command library can I use?

Try Termux app. Read about it. Try it. Keep trying it. That's all.

Since Android is a linux-based Operating System, it would be shell scripts (.sh) instead of batch files, probabiy run with sh, a bash like shell located in /system/bin/sh
To open applications using a shell script you would need root access and can use a terminal emulator like termux.
First of all, grant termux full storage rights
termux-setup-storage

To launch apps, you must write commands using Activity Manager
For instance, to launch calculater (I'm using Google Calculator for the guide) using a shell script in android, the procedure would be this

Create a file eg calc.sh in /storage/emulated/0 ie the user-accessible part of your internal storage, with the following content

#!/system/bin/sh
am start com.google.android.calculator/com.android.calculator2.Calculator

Open Termux

cd /storage/emulated/0
sh calc.sh

The calculator should launch

Bonus: You can also execute commands on android using your PC via ADB

Use a terminal emulator like Termux to run shell scripts.

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


text:
TWRP boot freeze (Pixel 5)
I'm trying to install TWRP for the first time on my Pixel 5. I followed the instructions on https://twrp.me/google/googlepixel5.html, downloaded the latest image and bootet it with:
PS C:\platform-tools> ./fastboot boot .\twrp-3.6.2_11-0-redfin.img
Sending 'boot.img' (98304 KB)                      OKAY [  0.379s]
Booting                                            (bootloader) boot.img missing cmdline or OS version
OKAY [  2.274s]
Finished. Total time: 2.691s

On the phone, the TWRP starting screen shows up, but gets stuck there. I can execute the adb push command as stated in the instructions, but I cannot install it, as I can't get past this starting screen. Only thing that I can do here is a hard restart.
OS: Win10 / ProtonAOSP12

it requires ElementX-P5 kernel. It does not work on A12. please read 17 pages support thread

Thank you, @alecxs!

Answering my own question. As @alecxs pointed out, TWRP requires a Kernel with touch driver integrated. The only one I've found is ElementX-P5, which however does not work with Android 12.
Ultimately, I will not install TWRP. However, after research I've found many reports claiming TWRP unfortunately got pretty unstable on newer devices like the Pixel 5 either way.


text:
Raw photography with smartphone
A few days ago, I bought a Xiaomi Mi 11i phone and I want to take pictures of the night sky with this phone. The main camera of this phone is 108 megapixels, but you probably know that you can not access all of these 108 megapixels raw and you only have access to 12 megapixels of that 108 megapixels camera raw. I want to have 100% raw images from the camera of this phone with a resolution of 108 megapixels.
I tried normal Android software such as Proshot, Procam, etc., but none of them can't give a 108-megapixel raw output and I was not allowed to expose it for more than 1 second.
Do you know any software that can be used to access all the capabilities of the sensor 100% raw and without restrictions?

Welcome to Android Enthusiasts. Please note that questions directly asking for app recommendations are off-topic. Instead, we prefer the asker to just state the underlying problem that they want to solve and not put any restriction for apps-only, so we'd appreciate it if you could [edit] the question, add some details, and/or remove the restriction. Otherwise, you might be interested in our sister site, Software Recommendations Stack Exchange instead.

Cross-posted: https://www.cloudynights.com/topic/829342-astrophotography-with-smartphone-please-help/ (just in case it's answered there)

check out gcam mods for your device

Use case seems similar to Script to interact with camera and take RAW pictures for astrophotography


text:
Locating the initramfs partition on Android 4.4
I would like to modify the init.*.rc files on an Android 4.4 TV box (rooted).
I saw many tutorials saying that i should dump the boot partition, unpack+edit file+repack and reflash it back.
I looked at the by-name directory and saw partition names like kernel, baseparam, bootargs etc, but I found that the kernel partition contains only the kernel file itself, but not the initramfs file.
Where can I locate the ram disk file?
Edit: Please find the partitions below:
~ # ls /dev/block/platform/hi_mci.1/by-name/ -l
lrwxrwxrwx    1 root     root            20 Jan  1  1970 baseparam -> /dev/block/mmcblk0p5
lrwxrwxrwx    1 root     root            20 Jan  1  1970 bootargs -> /dev/block/mmcblk0p2
lrwxrwxrwx    1 root     root            21 Jan  1  1970 cache -> /dev/block/mmcblk0p15
lrwxrwxrwx    1 root     root            20 Jan  1  1970 deviceinfo -> /dev/block/mmcblk0p4
lrwxrwxrwx    1 root     root            20 Jan  1  1970 fastboot -> /dev/block/mmcblk0p1
lrwxrwxrwx    1 root     root            20 Jan  1  1970 fastplay -> /dev/block/mmcblk0p9
lrwxrwxrwx    1 root     root            21 Jan  1  1970 fastplaybak -> /dev/block/mmcblk0p10
lrwxrwxrwx    1 root     root            21 Jan  1  1970 kernel -> /dev/block/mmcblk0p11
lrwxrwxrwx    1 root     root            20 Jan  1  1970 logo -> /dev/block/mmcblk0p7
lrwxrwxrwx    1 root     root            20 Jan  1  1970 logobak -> /dev/block/mmcblk0p8
lrwxrwxrwx    1 root     root            21 Jan  1  1970 misc -> /dev/block/mmcblk0p12
lrwxrwxrwx    1 root     root            20 Jan  1  1970 pqparam -> /dev/block/mmcblk0p6
lrwxrwxrwx    1 root     root            20 Jan  1  1970 recovery -> /dev/block/mmcblk0p3
lrwxrwxrwx    1 root     root            21 Jan  1  1970 sdcard -> /dev/block/mmcblk0p16
lrwxrwxrwx    1 root     root            21 Jan  1  1970 system -> /dev/block/mmcblk0p13
lrwxrwxrwx    1 root     root            21 Jan  1  1970 userdata -> /dev/block/mmcblk0p14

@alecxs Please find the updated question content


text:
How to show all folder sizes of Android phone in Windows file explorer?
When I run space analysis it shows about 50GB of others, and I don't what is that exactly, so I wanted to manage the space on file explorer on windows 11, but the thing is it doesn't show the folder & file sizes.
So how can I manage internal storage of the android phone on windows?
Phone: Samsung Galaxy A8 (2018) SM-530F
Android Version: 9.0

How disk space is used on Android device?

Cross-posted from Super User: https://superuser.com/q/1728533/356789


text:
Run a supposedly incompatible app
I copied an app from a TV Box to another TV Box of a different brand
The app is impossible to find online, and there is no replacement for it.
But when I open the app, I'm met with a message saying the "app is not compatible with this device". It's not a system-standard crash message, but one from within the app.
But it's clearly bull: This message takes some time to appear, and until that happens, the app appears to function normally (video streaming).
The donor TV Box is Android M, while the receiver is Android 10, fully rooted.
Using AppManager I tried revoking abilities like READ_PHONE_STATE, to see if I cripple the app's ability to identify the system. No success.
I'm willing to decompile the thing if I have to, but my knowledge doesn't go beyond that point...

Edit:
I think I thought of a different approach:
Is there a way to change the fingerprint of my device to emulate the intended host ? Serial number, and etc ? Can I fool the app into thinking it is running on the right platform ?

If the app can be installed and run, but then show such a message, then it's very likely that the check is done inside the app itself (the usual is checking root access as security prevention). If that's the case, then a root-hiding feature might help. Otherwise, you need to decompile and debug the app to know what is being checked specifically.

I'll try hiding the root. Not very hopeful, though, because since it's very unusual for a TV Box to be rooted, I don't believe they implemented such a check. Thank you.

Similar situation: myTv+ app returns error code 100 when running on Android TV box which gave me an implication that some Android TV box is rooted/modified out-of-the-box.

Extended the question, if someone could help further  :)


text:
Is it possible to limit read permissions for some folders on external SD card to certain apps on Android 10?
My device has 64 GB of internal storage and it's nearly full. I can expand storage with a 256 GB microSD card. However, I don't like that everything stored on the SD card is freely accessible to every app with full storage permission and I would like a way to limit accessibility for at least some folders.
I've read some posts about formatting the SD card as internal storage and that it comes with a significant performance impact. Ideally, I'd like to combine internal storage in such a way that apps and processes run on the phone's internal storage for performance and the SD card is used as internal storage only to store media/documents for the permission system.
Is there a way to do something like that on an unrooted device running on Android 10?

actually, that's already the case. apps requires permissions to read from SD Card

AFAIK, Android 10 forced scoped storage, that without additional permission, apps can only access their own data and some public folders on external storage.

@alecxs Yes they require a one time storage permission request and then can access anything. I am looking to limit the permission i.e. app can access Folder A from SD card, but cannot access Folder B from SD card.

@AndrewT. Scoped storage was introduced in Android 10 and I have some great apps that use it, but it is not enforced. I'm not a developer, but I believe A10 is lumped with A9 and lower if apps use the "requestLegacyExternalStorage" flag. Apps like photo galleries, video editors, file browsers, etc. populate with all my media with a single permission request. What is not considered a public folder on external storage? I've read that everything is public on SD cards.

so just deny access on per app base, I am not aware of method on per folder base despites my device is rooted. linux file permissions not working on windows MTP compatible file system (FAT)


text:
How to turn off debugging in Android 10. Menu is missing developer options?
I have a bank application that won't run because it says something about Android Bridge and debugging over USB or something like that. I would love to share the exact message but it flips on and off screen so fast it's hard to read and I could barely make the above out after trying to start it repeatedly.
I found these instructions which would seem to exactly answer my problem:
https://docs.microsoft.com/en-us/mem/intune/user-help/you-need-to-turn-off-usb-debugging-android
However, there is no "Developer options" under the System settings. Is there maybe some setting to turn on advanced configuration options somewhere that would make it appear that I'm overlooking?

Does it also appear if you disconnect the phone from the computer? And if the bank application is on your phone, then this question falls off the scope of SuperUser, and should be asked on android.stackexchange instead.

Which phone do you use (manufacturer and model name)? The used bank seems to be a bit outdated, Android ADB access was a potential security problem on Android before 4.2  as there was no access control, but since ADB on Android 4.2+ requires an authenticated PC in my opinion this no longer a reason to disable an app.

Samsung? There is a bug where the dev options are hidden but enabled.

To unhide the Developer options menu:

Go to "Settings", then tap "About device" or "About phone".
Scroll down, then tap "Build number" seven times.
Depending on your device and operating system, you may need to tap "Software information", then tap "Build number" seven times.
Enter your pattern, PIN or password to enable the Developer options menu.
The "Developer options" menu will now appear in your Settings menu.
Depending on your device, it may appear under Settings > General > Developer options.
To disable the Developer options menu, tap the switch.

Samsung Support - How do I turn on the Developer Options menu on my Samsung Galaxy device?
Use another phone to take a video of the phone that has the problem. Then pause the video at the right moment and you can see the error message in all its glory.

Just a note that Developer options are normally hidden, and the quoted step is the standard process to enable it for the first time. However, it is also true that sometimes it's bugged, e.g. Can't turn on developer mode on Galaxy Tab S5e

Settings > Build ops > tap 7x, every time you tap that, it will give a toast "you are n times away from being a developer" > final tap will show "you are a developer" > Settings options Developer Option will be seen.
Note that for getting the full benefit of rooting, you will also need to enable OEM unlocking option.


text:
How to change aspect ratio of screen
I am trying to change the aspect ratio of my phone's screen, presumably by changing the resolution, to achieve the result shown in the image.

I am not trying to just change the resolution without changing the screen size as you would with an app such as 'nomone resolution changer'
I am not trying to hide the top and bottom of the screen as you would with an app such as 'notch hider'
I am not trying to just move the icons on screen as you would with 'adb overscan'
I want the device to behave as if those areas of the screen are not there at all, so they just stay black all the time
I know this will require root so bring on the root solutions
Thanks in advance

I knew of a root app that does exactly what you wanted. Trying my best rememeber it. WIll put up answer if I do .

HEBF optimiser [ROOT] has a screen resolution setting that I guess does exactly what you want.


text:
Take Pictures via Voice Command on a oneplus 7
I want to take photos automatically if I tell the phone "take picture" or something similar. Can this be done with Apps like Macrodroid or IfTTT?
Happy to hear your suggestions.

See if this can work for you: https://play.google.com/store/apps/details?id=com.joaomgcd.autovoice // Tasker subreddit has some good folks who can tell you if this app can do the job you are after or not.

Google assistant can pretty well do that.
Set up Okay Google and say "Okay Google, take a selfie" e.g

This works but it would be nice if it takes the photo immediately. Plus if I repeat the speech command it doesn't work while the camera is on.


text:
Does Google Assistant driving mode run on old cars made for Android Auto?
We have an ~3 years old Opel car which was made for Android Auto.
It always worked using an USB cable only (not over Bluetooth).
Bluetooth is also supported but only for making phone calls and not for Android Auto.
Now I heard that Android Auto was replaced by Google Assistant driving mode.
I cannot get it to work over cable nor over Bluetooth.
I hardly assume my car does not support the new Google Assistant driving mode.
Can someone confirm Google Assistant driving mode only runs on new cars?

Can you describe more about your automobile, like Year of manufacture and the model.

@AbhishekDutt Opel Karl 2019


text:
Storing files in a F2FS SD card
I recently made my SD card F2FS. After that, it is not showing in my file manager or on my PC. How can I store files like photos, videos, and documents on my SD card?
Apps and their data are stored properly on the SD card, but I want to store pictures and videos as well on my SD card. Any solution?

@alecxs You mean Android requires FAT32, exFAT, NTFS for expose a folder via MTP, right? Because MTP as a protocol should be file-system independent, so Windows is not able to recognize if the data an MTP device exposes come form a specific file-system.

@Robert right, although Internal Storage is made available via MTP too

How would you use your ext4 formatted thumb drive via OTG on Android?

but my ask is, how can i store both applications and media files on sd card in android?


text:
Does anyone know what the flame symbol means?

I can’t figure out what the flame logo means. Can some please help?

That's the Tinder app, apparently

I love the ambiguous use of the word "apparently" at the end of this answer. LOL. :)

@RockPaperLz-MaskitorCasket xD


text:
How to create copies of Telegram X in Bluestacks on Mac
I am interested in creating multiple independent copies of Telegram X in Bluestacks Version 4.270.1 (2803) on Mac Big Sur 11.2.3.
The reason I want to do it is when there is a lot of accounts signed in in Telegram X it starts to lag a lot and crash too. I think that by creating multiple version of the app and signing in with less accounts in each this problem could be fixed.
To do the copying itself, I had already tried some popular methods suggested by google such as downloading an app in Google Store in Bluestocks that allows to manage multiple sessions of the same app, but (a) it doesn't work and (b) I don't think it's exactly what I need. By it doesn't work I mean whatever app like this I download, when I try to do something with it, it crashes most of the time.
Could you please recommend an elegant way to do this if there is any? I guess, the option of the last resort is just creating multiple Bluestacks right? However, this will probably cause issues with local memory on my laptop pretty quickly.
Thanks in advance.

Use App Cloner to create multiple packages of Telegram X. Please beware that you might need the premium version for a lot of useful features in the service.
https://appcloner.app/


text:
How to access files in Android 6.0 "Downloads"
I have an old Alcatel Pixi 4 with Android 6.0 from which I'd like to back up my files. I've already copied all files from the internal storage except those inside the "Downloads" folder, which actually appears to be an app rather than a folder...and it's an utter mess: One can only open downloaded files, but there are absolutely no options to copy, move, rename or even delete anything, so this toxic app basically acts as a trap accumulating any file that has ever been downloaded while completely shutting the owner out.
How can I extract my downloaded files?
Note: The device is not rooted, but I have it hooked up with ADB.

you probably mean Download History app, should not actually contain any files. nevertheless try ABE extractor. also please check your chipset is qualcomm or MediaTek, should be possible to get root access

Not sure, I think it's a download manager app that comes with the stock config. I've looked up ABE (https://github.com/nelenkov/android-backup-extractor), but I'm not sure how it relates to the problem as I never created a backup file. Chipset is indeed MediaTek...so MTKSU? But does rooting solve the problem? If possible, I'd prefer not to root this device

your assumtion was the files are stored within the app itself? figure out pkgname and have a look into app data. mtk-su is just a temporary exploit it does not root device (not sure if 32 bit arm supported, though). another option to get app data is adb backup (no root required)

Does this answer your question? Where Android apps store data?

adb pull /storage/emulated/0/Download C:\platform-tools

If you encounter any errors, try putting both paths in double quotes

adb: error: remote object '/storage/emulated/0/Download' does not exist

adb shell; echo $EXTERNAL_STORAGE;

Returns /sdcard

...there is, however, currently no SD card in the device

EXTERNAL_STORAGE /sdcard is not necessarily external MicroSD Card. 'adb pull -a /sdcard' and look what's inside (symlinks differ on android version/device)


text:
Controlling apps for a specific user
I have no experience working with a tablet and am considering buying one for my son.
I would like to have control of apps installed on his user account. Maybe the access to Google Play or whatever app used for installing other apps would be password-protected. Or maybe the apps on his user account would only be installed by me after logging into the admin user account.
How can something like this be achieved? Are there any specific requirements that I need to be aware of when choosing a tablet for this to be achievable?
UPDATE: I ended up using this.

Check out Google Family Link

I believe Google Family Link, as commented by Noah Broyles in the question comments would be a really nice option, that would cover most of your needs. Its target is exactly parents that would like to limit kids when using mobiles - you could control the time he uses it, block or allow app downloads, and so on. The app also suggest constructive apps (for learning) and has localization enabled, so parents would know where their kids are
I, however, have a complementary suggestion (that could be used together with Google Family Link) - the dfndr security: antivírus. I use it on my phone not only for the antivirus stuff (which I can't really tell if it is good or not), but it contains an app blocker (vault) that I use for bank apps (and you could use for any app you have installed but don't want your kid to open). Once configured, every time you try to enter the selected apps, the screen will be blocked asking for a pattern/password - that would be different from the one you use to unlock the phone. I'm not sure this would be the only antivirus that has such feature, but you might look for similar apps - it is good, for instance, for blocking any app that may allow the kid to spend money in it.

I see that Google Family Link allows me to either approve or disapprove apps that my son wants to download from Google Play Store. But can I block him from entering the Google Play Store in the first place? Similarly, can I password-protect Google Play Store using the antivirus that you suggested?

Yes, you can block Google Play Store or any other app with that

"with that" means with either of them?

Do ads pop up at the time when the antivirus asks for a password?

There are adds in the app - but there is an option to pay to remove the adds, if I'm not mistaken (I'm not sure because I didn't look for it - those adds don't bother me).

Also, sorry for the ambiguous sentence. I meant you can block Google Play Store and any other app with the vault tool present on the antivirus app.

Can the ads include pictures of (immodestly dressed) women?

I've never seen one - I strongly believe it does not include that. However, adds usually comes from google, and they show based on what their AI recommends for the user based on your activity/profile - so I can't really tell what will appear for your kids.


text:
How do I eliminate system admin application permanently on my Android phone
My friend registered on an app with my phone to get a loan from the PalmPay application. The management asked him to install an app before the loan will be given to him, they say the application will be for the assurance that the loan will be paid back, and the security plugin application was installed on my phone as an admin application. He has paid back the loan but now I think someone is using the application to have access to all my details.
I decided to remove the application, but I can't permanently delete the admin application from my phone before they do something very bad with my phone. They are already on my Facebook account/Instagram account. They are trying to get more from me. I can just restive a message from Amazon and other important platforms that I usually keep my money. They are trying to reset my password to all.
Please, I need help to protect my Android phone from them. Please, I really need help before they do something very bad and wicked to me

I would try a factory reset on the phone. Not sure it would work - and it would remove everything from it...

Go to Settings -> Security -> Advanced -> Device admin apps. Find the app and disable it's admin status.
Uninstall the app and restart your device.
If you downloaded it from Google Play Store, go there and report it. In Google Play Store it's called "flag as inappropriate", and there's an option "Harmful to device or data" that would be fitting.
If it was downloaded from another service you can attempt to report it to them, and it may even help if it's an official big-name third-party like Samsung App Store. If it was some shady third-party then hopefully you've learned something about security.

If the password reset requests happened within one day it is somewhat likely to be this app. If it was over multiple days it could still be the app, but it would seem more likely your "friend" is nothing of the sort.


text:
Moto G7 Plus Pixel OS 12 Cannot Pass SafetyNet check
I have a Moto G7 Plus.
I installed the Pixel OS 12 Plus. I installed Magisk 25.1. I enabled both Zygisk and Enforce DenyList. In the DenyList, I only selected the Google Play Services, enabled all the items except com.google.android.gms.
I rebooted and installed module MagiskHidePropsConf-v6.1.2.zip. Rebooted and installed module safetynet-fix-Zygisk-v2.2.1.zip. Rebooted and use the terminal to change the props to Google Nexus 6P.
Rebooted, run Root Checker. It shows SafetyNet request Failed. CTS profile match N/A. Basic integrity N/A.
What else can I do to pass the safetynet?

Uninstall all modules, reboot, install USNF, check for Safety net using YASNAC // If you still can't clear, try with MagiskHideProps module (with USNF installed)

Apart from that try some other device to spoof

I did not do anything, just use YASNAC to check and it shows "Something went wrong Attestation response timeout"

Start with a clean slate (uninstall all modules) as I first said and go about it as suggested


text:
Why does my GPS service on an Android device decline after some time?
On my Android 11 phone I notice a certain decline of the GPS reception when used with the app "Caynax Sport Tracker". After a reboot of the device (realme 8 pro) the GPS tracking works just fine. But after a week or so there are random drops in the GPS reception (5-30 seconds). The application then tells me that there is no GPS reception.
After a reboot of the Android device the GPS reception works fine again. For about a week.
What could be the cause of this issue, and why can it only be solved by restarting the Android device?
Can it be:

a bad quality android (creating random errors after a week of operation...?)
a bad quality GPS software (maybe an internal counter creating random errors ..?)
a bad quality GPS device (maybe some charge building up which only can be discharged by rebooting the device?)
a bad quality application (...?)

What is the likely cause of this annoyance, and why can it be solved only by a reboot?

The common was GPS data flows is GPS chip -> GPS daemon -> Android location services -> app. If a reboot fixes the problem it could be one any component before the app.

@Robert: But what could be the possible cause of the problem? What could be the case in the GPS chip? In the GPS daemon? In the Android location service? Why does it always deteriorate  after some time?

Sorry but I don't think it is possible to answer your questions without the possibility to directly access the device. I would check other forums that are dedicated for your device only (e.g. there should be one on XDA forums) if this problem is known for your device model. Otherwise it may be just a glitch or a hardware defect.


text:
Where do "redownloaded" pictures in WhatsApp come from?
I deleted some WhatsApp messages from my phone, but they are still visible in a blurred way in the chat. I know that's normal, but when I clicked on them, they are redownloaded. Even messages from the beginning of the year.
I was wondering whether these messages are stored on WhatsApp servers, or does WhatsApp "reupload" these pictures from the phone of the sender if they are still there?

From WhatsApp FAQ, Troubleshoot blurry photos,

Once a photo is downloaded onto your device, it can't be redownloaded. You'd have to ask your contact to send it to you again.

(Emphasis supplied)
So, it's being retrieved from the sender.


text:
emulator: ERROR: Can't get kernel version from the kernel image file
I want to start the emulator for the custom AOSP 12L build for arm64 using emulatorcommand. The AOSP source was downloaded from Sony's open device project for Xperia devices.
The command that I ran is :

$ emulator64-x86 -sysdir
/home/anerudh/android/out/target/product/generic_arm64/ -system
/home/anerudh/android/out/target/product/generic_arm64/system.img
-ramdisk /home/anerudh/android/out/target/product/generic_arm64/ramdisk.img
-data /home/anerudh/android/out/target/product/generic_arm64/userdata-qemu.img
-kernel /home/anerudh/android/out/target/product/generic_arm64/kernel-5.4
-sdcard /home/anerudh/android/out/target/product/generic_arm64/sdcard.img

I get the following error and do not know where to change the 'Linux version' in the kernel image
emulator : ERROR: Can't find 'Linux version ' string in kernel image <file_path>

How do I solve this issue and start the emulator?

I hope this link may help you.


text:
Recovering media which is deleted month before from android 10 mobile storage
I have deleted a some media files month before, then I used my mobile as usual. Yesterday I performed a factory reset to mobile clean since it's storage is full. Now I need to get back my media which I deleted month before. Any possibility for this?

If your phone cam with Android 8 or newer then it should be encrypted by default which means data recovery after a factory is absolute impossible because the used encryption key is gone.

Hey @Robert Thank you, are you certain with this?


text:
12 months needed to change Google Play country because must first create profile first?
According to Google Play Help - How to change your Google Play country, the following means
12 months are needed to change one's Google Play country, because one must first create a payments profile, and then wait 12 months first. Correct?:

How to change your Google Play country
If you move to a new country you may want to change your Google Play country. Your Google Play country determines what content you see in the store. The apps, games, and other content in the Store can vary by country.

You must wait 12 months after initially creating a payments profile before you can change your Play country. You can only change your Play country once per year. If you change your country, you won’t be able to change it back for one year.

Possible dupe of How to change my device location on the Play Store, particularly this answer. It means that you can only change the country once per year.

The secret apparently is one needs one Payment Profile and not two, for best results.

It turns out the resolution to this problem will probably involve deleting other profiles that one had previously created. Here's a slice of my discussion with the chat person of Google:

8:18:22 AM Katherine: As an alternative, we will once close the old profile, so that the new profile is updated on the Play Store.
8:18:40 AM Katherine: Not to worry, you'll have 29 days to re-open a closed profile. In case, if you will need the old profile, you can contact us again to re-open the profile.
8:19:20 AM 積丹尼 Dan Jacobson: But next year when I go back to Taiwan I will still need the old one ...
8:20:11 AM Katherine: Once you get back to Taiwan, you can get back the old profile re- activated."

(So I did what she told me and in the end it worked.)

In fact, once one changes to the First World Country, one might find the advantages exceed changing back to the Third World Country, even upon returning there.

This method worked for me. I changed country and created a new payments profile, then tried to join a Google Family with others from the new country. I was unable to as it didn't recognise the new payments profile. Deleting the old one, joining the family, and then reinstating the old one (in case I travel back) worked.


text:
Android device connected to PC, detected, but no folder, no files
My previous Lenovo tablet with Android 7 had no problem with this procedure:

I connect it via a USB cable to a PC with Windows 7.
I select the device (tablet) in the Windows Explorer.
I open the (virtual) folder “Internal shared storage” (or the other, “SD Card”, as I had the SD card inserted in it, too).

Then I sow directories and files on the tablet, and I was able to copy them from tablet to PC and vice versa, rename them, delete them, and so on.
In my new tablet Lenovo with Android 11 and the same PC with Windows 7, I am able to perform only first 2 steps – then I see only an empty window, no folders in it (i.e., no “Internal shared storage” or other directory / file in it).
When I try to copy a file to that empty folder, I obtain the message as

It is not possible to copy the item.
The device stopped to respond, or is disconnected.

Is it something bad with settings? Is it possible to fix it?
Note:
I may go around and copy files from the tablet to the USB stick and then from the USB stick to the PC, but this is so annoying and slow…
(The USB stick is connected with a short converting cable to the same USB port on the tablet as the USB cable connecting the tablet and PC in the previous step 1.)

I would try a different USB cable. The error message you got indicates a hardware problem.

@Robert, thanks, do you mean the problem may be still in the cable, in spite of the same cable is still OK with my previous tablet?

I miss a step after 2 and before 3: "confirm access on the Android device". Not sure with which Android version that started, but when I connect an Android-11 device here (to my Linux machine) I also get an empty folder – until I confirm the PC is allowed to access the device.

Android 11 default behavior after connecting to the other device via a USB cable is

No data transfer

(In the non-developer mode, there are no settings for changing this safe default behavior.)
It means, you have to change it again and again after every connection.

So, after every connection, you may follow (for example) these steps:

If you don't see notifications, swipe from the top of the screen to open them.
(If needed, scroll notifications up until you will see the section title “Silent”.)

Beside other notifications you will see the text

Android System - Charging this device via USB                                ᐯ

Tap on the down-arrow symbol to the right of this text to open the menu. You will see something as

Following the instruction under the (already displayed) text, tap for more options.

You will be redirected to the “USB Preferences” in the “Settings” screen, where you may select the option “File Transfer”:

Note:
If you have enabled Developer options (see Enable developer options), then you may change the default behavior:

In the Settings select System → Developer options.

locate the Default USB configuration and tap on it:

After it, you will see similar options as in the previous picture, and you can select File Transfer to automatically select this mode after every connection via a USB cable.
But note that it is not safe for connecting to unknown devices.


text:
How can I use adb or other utilities to query the camera list that my rom supports?
I'm using LinageOS with MicroG. Is there a method to get the listing of enabled/supported cameras by the rom/firmware?
I am using Android 11.

The common Linux knowledge should help you to identify the supported webcam drivers https://tldp.org/HOWTO/Webcam-HOWTO/hardware.html

@Robert a phone's camera isn't a webcam.

Sorry you had not mentioned that you are planning to replace the internal camera module. Usually external webcams are the only cameras that can change on an Android system. You should edit your question and describe what you want to do, then people will better understand your question.

@Robert I'm not planning on replacing an internal camera module. I just want to know which hardware cameras on my phone my aftermarket ROM (LinageOS with MicroG) supports. There should be some way to query this with adb.

You could look into the device tree definition of your ROM. As it is LineageOS you can check the LineageOS git repos (assuming LineageOS means you are using an official release).

@Robert yeah, that's one way. While I'm interested to know more about this method too. I don't think it's a suitable answer on this question.


text:
Help with decompiled apks
when I decompile an apk I get several folders with weird names like a b a0 b1 and so on. same for Java source and smali file names. Is it possible to reconstruct the source hierarchy and resources like it was before the build?
Specifically I want to know what code is called when I tap on a specific button in the ui.

Those directories represent obfuscated code, usually created by Proguard. You'd need the corresponding Proguard definitions to deobfuscate them – which you can only obtain from those having run the obfuscation (so they are often not willing to provide them to you, should you be able to contact them). I'm not aware of any independent way of deobfuscation – but should there be one, I'm all ears…

@Izzy Is there any way to trace back to the code via the message that the button throws on screen when tapped? I was able to grep that string in resource files.

Note that we have a sister site [reverseengineering.se] that may specialize in this topic. They also have android tag.

Some times APKs contains some left-over strings that indicate their original names. Jadx is able to read and display those strings. Note that you can not simply rename the folders of a apktool decompiled app, as you would have to correct all references of the renamed classes in all decompiled smali files.


text:
Prevent play store from showing me updates on an application installed through another store
Recently Amazon disabled all in-app purchases from their apps distributed through the Play Store.
As I'm a frequent user of the kindle app, and not a fan on switching to my browser instead of in-app purchases, I've opted to install Amazon AppStore and through it the Kindle for Android app.
Now, though, the Play Store always displays an update available for the Kindle for Android app.
What I would like, is a way to tell the play store not to try and manage this application.
I've already disabled automatic updates, but the issue with this is that every time I touch "Update all applications" I have to deal with a popup to confirm I want to ignore KFA updates.
It's not that big of a deal, but i'm wary of mistake on my part later down the line.
EDIT: My phone is not currently rooted, and the manufacturer enforces a factory reset to unlock the bootloader. As it stands I'd prefer not to have to root the phone (Xiaomi Mi 9T Pro)

In the switching process was the Kindle app always installed? If yes I would try to uninstall it and then reinstall it via Amazon app store. If you have adb enabled you can do adb uninstall -k com.amazon.kindle to uninstall the app but keep the data.

No, I uninstalled it from the application list of the OS. Then installed it from the Amazon AppStore. I kind of suspect, that they are using the same package id and signature on the two stores.

With root access via magisk, you can use this module to exclude an app from play store updates
https://github.com/yuk7/playstore-excl-upd

Thanks for the option, but my phone is not currently rooted, and the manufacturer enforces a factory reset to unlock the bootloader. As it stands I'd prefer not to have to root the phone, I'll add that to the question


text:
If I turned off the wireless display while my phone was still connected to my neighbor's TV, would it automatically disconnect from it?
I accidentally connected my phone to my neighbor's TV.

I instantly turned off the wireless display, did my phone disconnect from his TV?
If I turned on the wireless display again, will his TV automatically reconnect to my phone?
If I disconnect my phone while it's still in a "connecting" state (not "connected" state), did I actually disconnect it from his TV?
If he turned his TV off first before I managed to disconnect it from his TV and his TV disappeared from the wireless display list, did my phone automatically disconnect from his TV? And once he's turning his TV back, does it still connect to my phone?

Is my phone safe from this?


text:
How to quickly go back to Google Maps start screen
When I first open Maps, I see a Search bar at the top where I can type in a place to go, I can click on the default quick-searches (Coffee, Restaurants, etc.), or I can just scroll on the map to look around. But if I start going deeper, e.g., looking at photos from restaurants, at one point I have to close a bunch of screens using a combination of back arrows, X's, and down-arrows to get back to the start screen.
I know they added a magnifying glass search icon  on some screens to quickly search for another place, but then I miss out on scrolling around with access to the default quick-searches.
Besides killing the app and reopening, is their another way to quickly (with one tap) get back to the start screen?  I've started to use Google Maps Go so I can open that and get to its start screen once, but after that it's the same problem.

(Mini rant: I find this particularly frustrating because a Go Home feature would be immensely useful in many Android apps, yet it basically doesn't exist as far as I can tell. But on websites, where it is almost completely useless, there's usually a pointless "Home" button.)

Welcome to modern (stupid) UX

I create a shortcut to the route on my home screen and tap that to get back instead of navigating through multiple backs etc//Good example of bad design by Google

This shortcut trick is handy when it's a new place I am going to and want to learn about it

Go back home (press the launcher's home button). Long press on Google Maps icon (on the drawer or shortcut), select Home.


text:
Choosing correct OTA
Android OS crashed.  Error Message
Android Recovery
TCL/REVL_2_5052w/A30ATMO
8.1.0/OPM1.171019.011/VAR4A-0
user/release-keys

Think that means 8.1.0 = Oreo API level 27

https://developers.google.com/android/ota [only lists the following in a search for 1.171019.011 ]
"taimen" for Pixel 2 XL
"walleye" for Pixel 2
"marlin" for Pixel XL
"sailfish" for Pixel
"ryu" for Pixel C
"angler" for Nexus 6P
"bullhead" for Nexus 5X

To "usb boot" device i'm following: https://www.droidwin.com/fix-cant-load-android-system-your-data-may-be-corrupt-without-reset/
it "seems" user may have held power button too long and that messed up os boot cycle somehow.  Reason to believe circumventing normal boot will allow system to reset and possibly return to normal (at least regain access to data on phone) No new apps downloaded within last 6mnths.
In order to download the OTA Images I need to know which full ota image is correct....right? or will any 1.171019.011 matching image work for the purpose of "usb booting" android?
If it was a linux os i would usb boot - regain access, hd scan, clear caches/temp files and track down the one or two corrupt files preventing boot.  Not sure correct way to achieve this on android.

Many blogs about fixing boot load error have  a boot menu
1.Reboot system now

Reboot to bootloader

Apply update from ADB

Apply update from SD card

Wipe data/factory reset

Mount/system

View recovery logs

Run graphics test

Run locale test

10.Power off
This phone is only displaying boot options

try again

2 Wipe data/factory re-test

adb version

Android Debug Bridge version 1.0.41

Version 33.0.2-8557947

Installed as /media/k/platform-tools/adb

 adb devices

List of devices attached

Device: https://www.devicespecifications.com/en/model/b6604de0

Before attempting to flash anything, we need to know the specific device model because Android images are not universal. It's not possible to flash Pixel's image to non-Pixel devices, or even one Pixel image to another different Pixel device (it might even brick the device if something wrong happens badly).

didnt know if REVL_2_5052w was the model, but it is a Revvl 2 tmobil.  Error msg in op only info available because boot load returning error message, and can not remove back of phone.


text:
is Android 9 end of support
I am wondering if Android 9 is end-of-support. I found on Wikipedia that it is end-of-support since Mar 7 2022.
Also on https://endoflife.date/android, but I cannot find any official link.
Does anyone know the official link?

https://stackoverflow.com/questions/64286713/is-there-a-documented-life-cycle-for-which-android-versions-receive-security-upd

thank you so much


text:
I can't disable Parental Control on Google Play Store
Since I transfer my daughter's data from Redmi Note 8T to Samsung A52 4G I noticed that in the Google Play Store the Parental Control has been activated and I cannot disabled it at all.
I already tried all the procedure found in the web (clear Play Store's data, delete Google account and restore it back, perform a factory reset) but no of them seem to work.
Does someone else get the same issue and know how I can solve?
Maybe some settings in the Google account that I forget to check.
(My daughter is 18 year old, so I can't really understand why the Parental Control has been activated)
Here is a short video showing the issue:
https://youtu.be/_5wB4xaAwXc

I found out there is a procedure to verify the age on Google account:
https://myaccount.google.com/age-verification
After verification, the Parental Control switched off automatically!

In my case, I just had to restart the tablet after disabling the parental controls.


text:
Samsung Galaxy A51, please enter your PIN code. AGAIN?
From my employer, I've received a smartphone Samsung Galaxy A51. Almost at everything I want to do with it, I need to enter my PIN code. I would like to use my smartphone without needing to enter my PIN code again and again and again and again ...
In my own smartphone, also a Samsung, but a Samsung Galaxy A6+, there I don't need to enter my PIN code that much.
I've been looking in the settings, but I don't find where to modify that configuration.
Does anybody have an idea?

It is likely flashed with a proprietary OS version for their protection. If it is their property they can likely enforce any security they deem required to protect their property. Remember they are tracking EVERYTHING you do on their phone.

If the comapany you work for has an IT department ask them. If it can't be done they will tell you.

Could you explain further by "enter my PIN code again and again"? I'd assume this is when the device wakes up from sleep/screen turns off? Or are there other situations when it asks again? If it's the former, then it's probably set by the IT admin, which can be enforced by Android Device Policy as the device administrator.

Fingerprint?
Face unlock?
If you have a fingerprint use it.
If not then use face unlock.
Fingerprint is more secure than face unlock.

I would like to avoid these: I mean, if I don't need to enter my pincode on my Samsung Galaxy a6+, then it should be possible on my Samsung A51 too, or not?

@Dominique Well, it's a safety measure. Look into your apps's settings for an option to disable them.
If not then you have 2 choices:
Removing your pin
or using fingerprint or face unlock


text:
How to get root access on Wiko Sunny 2 Plus?
I was wondering if it was possible to root Wiko Sunny 2 Plus phone?
I've seen so many guides on how to do this for other devices
Unfortunately typing with the keyword "root" with this phone on youtube nothing appeared to me
Would you give me a way to root this phone?
I tried using applications like KingRoot and KingoRoot but root failed.
As Android version it had: Android 7.0 Nougat
But he had the option to unlock the bootloader

XDA Forum is usually the best resource for rooting (or in general, tinkering with the) devices. However, looks like the closest thing that exists on XDA is rooting Wiko Sunny 2 (not Plus) instead.

So I can't root Wiko Sunny 2 Plus, is that impossible?

Sorry, I'm afraid I can't answer that. As of its current state, looks like no one has been able to root it, or has not shared the solution publicly. From the XDA forum, some have tested on their Plus devices but got a blocking issue. Probably the custom recovery TWRP needs to be ported for this device specifically, which no one seems to have done it.

if I try to use magisk, without TWRP recovery, by modifying the "boot.img" image from Magisk and flash the modified image? would work? I wrote a guide on Word

For Magisk approach, then How do you root a device with Magisk when it doesn't have a custom recovery might possibly help. However, looks like it's still not guaranteed to work on every device.

Here I sent a guide written in Word my guide, includes unlocking the bootlaoder, but I haven't tested it yet because I don't have the phone with me, but I think it would work if I tried!   As you said earlier, it may not work on all devices, best try!


text:
What does virtual display do with Image pixels when smaller display dimensions are set than the grabbed ones?
I dont undestand what happens with pixels in Virtual Display in Android when output dimensions are reduced compared to the input ones ?
When I have for example input = size of my Display = 1920x960 and I set outputs to be 1920/3 and 960/3, what happens in that case with image pixels:

pixel density is increased or
maybe it takes only smaller part of screen that is centered and has
dimensions 640x320 or
something else?

Additionally, is there a way that I can only grab center part of screen as in picture below?

Is your question about developing an app that performs what you describe or do you want to capture the display content e.g. via adb?

Im working on app that uses this feature. It should control LEDs based on pixel RGB values only from the middle part of the screen.

Sorry but app development questions have to be asked on stackoverflow.com. This site is for questions from user perspective only.

Note: since the OP had already asked the same question on Stack Overflow (but was then suggested to ask on Super User, which ended up being migrated to here), I decided to leave this open, with the caveat that the answers should focus on end-users POV. For development-related solutions, please continue on Stack Overflow.

@srbms23 The you are redirected from site to site just shows that you question was not formulated in a away so that the users could understand it. In general when asking a development question you should always include your existing code or at least reference a code function you want to use.

@Robert Did everything as you described, added parts of code, didnt get an answer... so I tried with more concrete questions where I just ask the things that confuse me. The idea of this question was to get an explanation what Virtual Display does and that could lead to the solution of my main question. Additional part is just there to ask for alternatives if some exist.


text:
The first few scripts at Android boot-up
What are the first scripts executed by the Android boot-up process before it starts running processes that do not have root privileges?

They are init services defined in .rc files.


text:
Links don't open in apps in Android 12
My phone is an LG-V60 (model is LG-V600TM). I'm on Android 12.
I've seen this posted many times but every solution seems to refer to things I'm not capable of doing on my phone (or I'm missing it) so I hope you can help.
When I click on a link from any source (I've tried Chrome and Discord), the link always opens in Chrome (my default browser) and not in the apps I have configured to open those links. This functionality used to work so I suspect my phone automatically upgraded to Android 12 and that's where this stopped working.
So for example, if I click on a link that starts with www.reddit.com, I expect it to open in "rif is fun". If I click a link that starts with twitter.com, I expect it to open in Talon. Yet in neither case does this happen.
I've checked my "Opening links" screen in "Default apps" probably 20 times now trying different things and nothing works. I'll put some screenshots below but I think everything is configured correctly.

I saw a post that said I have to verify the links for every app, but if so where do I do that? I tap the links in the "Opening links" page and nothing happens. Some of the screenshots I saw on Android Central for this don't look like my phone.
Is there something I'm missing? Any help is appreciated.

Related: How to disable the "verified links" feature?

Thank you for that, that link mentioned "Open Link With" which is older than "Better Open With" but has the exact functionality that I'm looking for and makes this change more survivable for me.

Google has added a mechanism that prevents Android to open with non-official / third-party apps: Verify Android App Links and Digital Asset Links.
Since Android 12 such verified app links are enforced:

Starting with Android 12, Google now only allows “verified links” to be opened in external apps. Verified links allow app developers to ensure that only their app can handle links from their domain. If a link is non-verified, Android 12 will open it in the default browser, instead of showing you the app selection dialogue. But thankfully there’s an app called Better Open With that lets you get around Android 12’s new link handling behavior. (source)

How app links are verified
Android queries a file named /.well-known/assetlinks.json from each used domain and this file defines which apps are allowed to open links to this domain.
For example the file https://twitter.com/.well-known/assetlinks.json allows only two apps to open links to that domain: com.twitter.android and com.twitter.android.lite (the signing certificate fingerprint is also mentioned).
As Talon is not mentioned here Android ignores it when you open a link to a path some where on https://twitter.com/.
I don't know if it is possible to manually bypass or disable this check system wide or for certain apps.
Regular web links

On Android 12 and higher, clicking a web link (that is not an Android
App Link) always shows content in a web browser. On devices running
previous versions of Android, if your app or other apps installed on a
user's device can also handle the web link, users might not go
directly to the browser. Instead, they'll see a disambiguation dialog to chose between browser and app(s) (source)

I installed the Twitter app and you are correct, it does work and twitter links are opened in it.
This doesn't make a lot of sense to me. I can use an app like Better Open With to get around this but is this truly the expected functionality? This article describes a completely different functionality: https://www.androidcentral.com/android-12-dp3-makes-it-easier-jump-straight-apps-verified-links
To put it another way, what is the point of "Supported Links" then? Why does that functionality exist if not for this purpose?

@CJShrader I found a nice quote that explains why you don't see the app chooser when using Chrome.

Thank you Robert, I've accepted your response as the answer even though it is most definitely not the answer I wanted to hear. Thank you for the detailed explanation.


text:
Why is my phone WiFi keep disconnecting and reconnecting when playing games?
The device I used is Realme C2 and there's no problem about my WiFi except my games. If I open the apps that uses more bandwidth it never disconnected, while if I use games like Minecraft Bedrock then I connected to a Minecraft server which have 30ms ping then it starts to disconnecting and reconnecting every 5 - 10 minutes. And now my gaming experience is impacted.
And again, I use other apps and the WiFi is fine and not disconnecting. My distance from router is 3 meters and I have full WiFi signal.
I forget all networks, clear cache, restarted my phone but still okay EXCEPT ONE which is games keep disconnecting and reconnecting.
I have another phone and connect to same network it fine even in games but in my phone Realme C2 is a problem when I play games.
Video:
https://youtu.be/854mOZhAAHQ

Do you use your phone often in landscape mode? May be Wifi disconnects because your hands are shielding the Wifi signal (the water in the human body can weaken the signal, especially if you hold your hands close to the antenna).

Or did the phone get hot? The temperature may also affect hardware performance, including the WiFi chip.


text:
64GB SD card shown as 2TB after inserted to Samsung Galaxy S9+
I installed a 64GB memory card in a Samsung Galaxy S9+ and copied about 30GB of data to it. A couple of days later, the phone shows a notification saying "Can't open SD card for writing" or something like that. When the card is in the phone, it shows that it has around 30GB used. I can even see the photos in the gallery app but can't read or write to it.
I inserted the SD card into a Linux machine, ran df -h, and it says it exists but it doesn't have a partition. I then set up a Windows 10 VM and opened it. In it, it says "There is something wrong with this drive, do you want to format it?" (I know sometimes it says "scan and fix", but now it didn't and I don't know why). I tried with Autopsy which also sees it as 2TB and I don't have enough storage space to try and pull some data out of it.
I really need to pull that data, can anyone help? Or at least point to some data recovery tools (preferably for Linux)?
One more question: would dd_rescue -A -d -D -b 512 /dev/sdX /dev/sdX work? I don't want to try unless sure because the card and the data are not mine and I don't want to lose any of it.

What you describe would be typical for an forged sd-card: the card claims to be of size xGB but physically it only have a few GB of flash. Once you have stored more data to it as it has physical flash file-system goes defect. But the card is pretty small with only 64GB this makes it unlikely that it is forged. Where have you bought the card, are you sure it is genuine? Alternatively the card may be simply defect.

I've used Recuva from piriform.com for windows in the past.

Sounds like corrupt MBR to me.
Do a little research on data recovery I found a how to geek article pointing towards ZAR, only on windows though. Hope this helps.
Article:https://www.howtogeek.com/232931/how-to-recover-images-off-a-corrupted-sd-card/
ZAR download: https://www.z-a-recovery.com/download.aspx


text:
Restore WhatsApp backup from other phone (two phones, two phone numbers, same Google account)
I have a complicated backup situation.
An Android phone A with a (defunct) SIM card of phone number 1, logged in to Google as Google user G, has active WhatsApp chats. On a new Android phone B, with a spare SIM card using a different phone number 2, but logged into the same Google account G, also has active WhatsApp chats.
Giving up phone A and phone number 2, to use phone B with phone number 1 (using a new SIM card from the same provider), the desired goal would be to merge both WhatsApp chats into a unified WhatsApp chat history for phone number 1 on phone B.
As I already researched that it is not possible to merge two different WhatsApp accounts, we want at least to secure, backup and restore the chat history, including all media (photos and videos) from the recent years from phone A, phone number 1, to phone B, phone number 1.
As the WhatsApp migration guide does not cover this exact case with two different phones and two different numbers but using the same Google account, I am reluctant to put the new SIM card into phone B, fearing to lose the desired chat history and media, either getting the wrong backup (from phone number 2 chats) or no backup at all (as it happened with another replacement device despite having backed up to Google Drive).
Will it help to uninstall WhatsApp to make sure the latest backup is guaranteed to come from  the right source? Thus:

uninstall WhatsApp from phone B (deliberately giving up phone number 2 chat history),
turn off phone B,
explicitly turn on "back up to Google drive" feature on phone A
explicitly "sync" accounts in Android settings
uninstall WhatsApp on phone A
turn off phone A
put the new SIM card for phone number 1 into phone B
turn on phone B
reinstall WhatsApp on phone B,
verify phone number 1 for WhatsApp on phone B,
choose to restore WhatsApp backup from Google Drive onto phone B.
12ff. Only after everything works, put phone number 2 SIM card into phone A, turn on phone A again, reinstall WhatsApp and verify for phone number 2.

Is this the correct way to go?

WhatsApp has an option to export distinct chats but "with media" will only export "the most recent media" so that will not be a complete backup.

I can now confirm from personal experience, that the steps described above have lead to successfully restoring two distinct WhatsApp backups on both phones respectively, using only the full backups stored in Google drive, without having to use manually exported chat history files.
After a further examination of settings and system notifications, also on another phone where a similar backup attempt had failed, I see the important difference of both cases is to make sure that backups are actually created and saved. To do so, I had to allow WhatsApp to create backups and access Google Drive and make that there was enough storage space on the phone and that the phone is either connected to an unmetered network connection (like WiFi) or has a mobile data plan and has settings to allow to upload large files using the mobile connection.


text:
Magisk 25+ on a custom ROM: ramdisk + vbmeta, but no boot.img
According to the release notes in Magisk v25 there was significant rewrite. The installation instructions advocated now say flashing Magisk in recovery is

This installation method is deprecated and is maintained with minimum effort. YOU HAVE BEEN WARNED!

Instead they're pushing a new "Patching Image" method.
My device has a vbmeta and a ramdisk, but I don't understand what they mean with boot.img. What is that?
I'm flashing LineageOS with Micro G, which has

lineage-18.1-20220703-microG-instantnoodlep.zip

There is no boot.img there, and even in the zip there is no .img. So how do you get the patched method working with a custom ROM that isn't an .img? All the instructions say is

If your device has boot ramdisk, get a copy of the boot.img.

But it doesn't say where to get the boot.img?

Related

Here is what I did that worked.

Install TWRP

Download payload-dumper-go

Run go build

For your lineage or lineage-microG distribution which is a .zip, run unzip MyDownloadedImage.zip

Inside you'll have your payload.bin, you need to run
./payload-dumper-go ./payload.bin

This will output a directory like extracted_20220713_181918/ inside which you'll have your magisk_patched-<number>_<hash>.img

After that you must use TWRP to flash the patched image.

Push this file over to your phone with
adb push ./boot.img /sdcard

Run with Magisk and patch that boot.img, this will create a new patched file under Download as magisk_patched. IT DOES NOT REPLACE THE boot.img.

Reboot into TWRP.

Click Install (top left)
Click Install Image (bottom right)
Browse to Download (should be /sdcard/Download)
Select the magisk_patched-<number>_<hash>.img
Select Boot
Swipe to confirm

Not using TWRP?
If you're not using TWRP, you can manually flash boot, by

Pulling the image down from your phone,
adb pull /sdcard/Download/*.img

Flashing with fastboot, like
fastboot flash boot /sdcard/Download/magisk_patched.img

Even if you don't have TWRP, it can be done as explained here https://android.stackexchange.com/q/232257/131553


text:
Aux output (3.5mm) not triggered when inserting headphone
tl;dr: Is there a way to check that my phone is aware of the existence of my 3.5 mm aux port?
I have a Blackview BV4900 Pro running Lineage 19-20220613-UNOFFICIAL-arm64_bvS, and nothing happens (= the sound is still played through the speakers) when I insert a headphone cable in the 3.5mm audio jack slot.
I have:

Checked that the jack slot used to work with the original Rom,
Tried the headphones on a different device,
Tried different headphones on the same device,
Disabled AudioFX,
Disabled bluetooth,
Checked the audio settings,
Restarted the device,
Checked that the slot was not dirty.

How do I try and understand what is wrong?
I have tried adb shell dumpsys | grep headset to see if there is anything related to my issue, but could not find anything relevant.

Did you report to ROM developer? Or search in the ROM discussion forums?

I have not, the rom is "unofficial" and supports (more or less correctly) a wide range of devices. 2. Yes, with no luck. My question could be better rephrased as "Is there a way to check that my phone recognize my jack port"?

IDK if there is a way now but this old answer says there isn't// download this app and under tests, run the audio test. On my phone it plays music through speakers and through earphones when I plug them in// If it doesn't, it's either a ROM issue or hardware issue, since you indicate that there isn't a problem with the headphones

Probably obvious, but did it ever work even before flashing LineageOS? P.S. Andy Yan is one of our users here.

It did, thanks for checking out.


text:
System UI crashes randomly
System UI crashes about 2 to 3 times a week. After looking at a few crash logs, it is the same every time. This information is generated from the Crash Log View application. - https://play.google.com/store/apps/details?id=com.arumcomm.crashlogviewer
Process: com.android.systemui
PID: 1487
UID: 10172
Flags: 0x30c8be0d
Package: com.android.systemui v30 (11)
Foreground: No
Process-Runtime: 1463145
Build: T-Mobile/Sprout/Sprout:11/RP1A.200720.011/SW_S98115AA1_V060:user/release-keys

java.lang.IllegalArgumentException: Service not registered: com.android.systemui.qs.external.TileLifecycleManager@901e525
    at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1775)
    at android.app.ContextImpl.unbindService(ContextImpl.java:1874)
    at android.content.ContextWrapper.unbindService(ContextWrapper.java:792)
    at com.android.systemui.qs.external.TileLifecycleManager.setBindService(TileLifecycleManager.java:203)
    at com.android.systemui.qs.external.TileServiceManager.unbindService(TileServiceManager.java:209)
    at com.android.systemui.qs.external.TileServiceManager.setBindAllowed(TileServiceManager.java:176)
    at com.android.systemui.qs.external.TileServices.recalculateBindAllowance(TileServices.java:151)
    at com.android.systemui.qs.external.TileServiceManager$2.run(TileServiceManager.java:258)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:223)
    at android.os.HandlerThread.run(HandlerThread.java:67)

I don't have enough Android knowledge to have any theories, so any help is appreciated.

Factory reset? Are you running a custom ROM???


text:
What is a vbmeta partition?
One of the optional steps of the Magisk installation steps says,

(Optional) If your device has a separate vbmeta partition, you can patch the vbmeta partition with command:
fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img

What is the vbmeta partition it's referring to there? I didn't do that step. What may occur from that?

It is for verified boot. A lot of details are described here: https://android.googlesource.com/platform/external/avb/+/master/README.md#The-VBMeta-struct It also contains information about what is stored in vbmeta partition.

Bootloop :( // not necessarily, but on some devices, like Samsung and more that's why it is recommended as "optional", if you have that partition

@Robert Thanks a lot for the link. Bless you! It would be nice a summarized but complete answer for newbies. :) I am learning myself about ROMs and, believe me, the information is so fragmented and written in expert jargon that I am just craving for clarity and didactic contributions. :_(


text:
How to build a script to stop infinite scrolling in any app
How can I build a code/script to stop infinite scrolling (or scrolling at all) in any app I want to, like YouTube Shorts, IG Reels and Tiktok. Script should not break any app from running at all and other functions should work.
Rooting is permissible.
I think there would be a need to change some code near to Android base.

"Infinite scrolling" is as far as I know not a base feature of Android, so I don't think you will find code for that in Android. Infinite scrolling is basically loading data from a server and adding new UI elements at run-time when the user scrolls down to a point where the end of the current list is near. This can be implemented in any programming language (Java/Kotlin, Xamarin, ReactNative, HTML in WebView) and in different ways. I the end I would expect that you have to implement an app-specific "fix" for every app you want to stop.

@Robert So in my phone, I can't do anything about infinite scrolling on third party apps? (Which keeps wasting the time)

You can uninstall such apps and search for alternatives.

I guess there are apps that can do time management and prevent the app from opening/running, if it might help instead.


text:
Compiling Android Bootloader Little Kernel
I have successfully compiled Android bootloader from git://codeaurora.org/kernel/lk.git
It produces a lk.bin file which I assume is the code for the bootloader.
How do I pack that file into a bootloader.img file for fastboot flashing?

what other tools can I use other than fastboot?

It's a Qualcomm chipset.

QPST, MiFlash, MSMDownloadTool or similar tool for EDL mode

Thanks. I tried all those tools and after reading articles about Qualcomm secure boot, I don't think it's possible to write  your own bootloader once the oem enables it.


text:
Booting twrp.img with fastboot doesn't work "FAILED (remote: unknown command)
I am trying to boot twrp.img on my LG G6 ThinQ using adb and fastboot. I reboot into fastboot mode and do:
fastboot boot ../users/******/downloads/twrp.img
and then it says
downloading 'boot.img'...
OKAY [  0.500s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.524s

My phone doesn't have root or bootloader unlocked and platform-tools is version r26
Note: fastboot -c "lge.kcal=0|0|0|x" boot ../users/******/downloads/twrp.img also doesn't work

Pretty sure you need the bootloader unlocked for this to work.

@acejavelin when I try to unlock it with fastboot OEM unlock it says failed (remote: unknown command) and lg doesn't have bootloader "unlock.bin" generator.

@WorldOfFun Boot into the device and enable oem unlock and usb debugging from dev settings. If you can't boot into the OS, try flashing the stock ROM. If you can't, then you are screwed.

@acejavelin I already did that on the phone. Guess I can't get twrp or custom os ¯_(ツ)_/¯

I ran into the same issue. Turned out I was actually in fastbootd mode. Once you reboot into fastboot (without the "d" at the end) the problem is solved.


text:
Can the Google Ads identify my phone for ads in apps?
A lot of free apps rely on advertisement. Even the OS in a lot of mobiles show ads in built-in utility applications.
Does the Google Ads framework has a capability to identify an Android user for the ad shown in the following scenarios?

Ad shown in an app where Google log in credentials have been used.
Ad shown in an app where Google log in credentials haven't been used, but the app's data and cache is intact.
Ad shown in an app where Google log in credentials haven't been used and the app's data and cache have been cleared.

Definitely yes for the first case (see "Types of data & collection purposes covered in the Data safety section") and by extension in other two cases (less Google credentials because user hasn't signed - in)


text:
USB C thumb drive is considered as USB host on Samsung Galaxy S10. How to reverse/fix it to "This Device"?
I purchased a USB C thumb drive to make transferring images off my phone (Samsung Galaxy S10) a little simpler. However, upon being prompted for the "Charging Connected Device Via USB" for "USB Settings", USB is controlled by "Connected Device" instead of "This Device". I still went into my developer options and changed the "Use USB For" default so I can "transfer files/Android Auto". However, I still can't successfully change "USB Controlled by".
It prompts me to "Restart Your Phone", stating "a USB storage device was removed unsafely. To prevent your phone from restarting unexpectedly, save unsaved data and restart now"... but it won't allow me to switch, and restarting has no effect.
This USB only does this when attached to my phone - my computer doesn't have the same issue. Formatting the USB had no effect, and I couldn't find any saved connection in my phone to delete to see if it would forget this setting.
I have tried looking into this issue and I can't find any help online.
How to reverse the USB controller so that the thumb drive is controlled by "This Device" instead?

How large is the USB stick and what file-system have you used for formatting?

I tried to clarify the title to summarize the issue. However, if it's not correct, feel free to [edit] and revise it further. Thanks


text:
USB Connected Device - Device Control
I purchased a USB C thumbdrive to make transferring images off my phone (Galaxy S10) a little simpler.
However, upon being prompted for the "Charging Connected Device Via USB" for "USB Settings" USB is controlled by "Connected Device" instead of "This Device".  I still went in to my developer options and changed the "Use USB For" default so I can "transfer files/Android Auto", however I still can't successfully change "USB Controlled by".
It prompts me to "Restart Your Phone" stating "a USB storage device was removed unsafely. To prevent your phone from restarting unexpectedly, save unsaved data and restart now"... but it won't allow me to switch, and restarting has no effect.
This USB only does this when attached to my phone- my computer doesn't have the same issue.  Formatting the USB had no effect, and I couldn't find any saved connection in my phone to delete to see if it
would forget this setting.
Is there anyone that can help? I have tried looking into this issue and I can't find any help online.


text:
Do android roms with only boot.img file available in fast boot rom don’t have separate recovery.img
I have phone named Vivo Y83 /(vivo1802)
I wanted the stock recovery image of my device to port twrp recovery since it’s not officially available for my device.
But after getting hands on my fastboot rom…. There is only boot.img present in rom So my question is is the recovery image is part of boot image in my rom?
And if yes….how would I proceed to build twrp for myself?

Some ROMs have recovery integrated in their main image.

Do you mean no separate recovery image? If so then how can I proceed to build custom recovery for myself

Also my firmware neither have vbmeta image?….strange

I have just recognized that your device is Mediatek based. Usually for those type of phone fastboot isn't used, instead some proprietary Mediatek flash tool is used. Are you sure you have the correct image? As I wrote on older images the recovery was included in main partition. E.g. on some Nexus devices and on booting the image the recovery was flashed if it was different than the installed one. On newer devices AFAIK there is no longer a separate recovery partition but your phone is not that new.

I can very much confirm. firmware I have is fully correct image….as I have grabbed it from official site of phone…..and when I received Bootloop while experimenting with patched boot images, I flashed the stock boot.img from that firmware file to recover without data losses. (And yes my phone is mediatek device-I have successfully unlocked it, but due to weird firmware I not being able to experiment on it)

you should be able to extract recovery.cpio.gz from .ofp with this script https://github.com/bkerler/oppo_ozip_decrypt/blob/fc6aba6/ofp_libextract.py


text:
How to Run Captive Portal Server on Android Device using Hotspot SoftAp and DHCP options
Goal:
I want to run a web server that provides a Captive portal service on an Android Device, using the native Android Soft AP/Hotspot, Termux, NodeJs, and the "new" way to detect captive portals using a DHCP option: Captive-Portal Identification in DHCP and Router Advertisements (RAs),.
Approach:
I want to add an option on the DHCP handshake of my Android Device Soft AP as specified in the RFC, Apple and Android official forums.
(the old way to create a captive portal was to intercept and controll all DNS or HTTP requests of each device conected to the AccessPoint, but in order to do it I need to ROOT my Device and install a DNS server or change the IP tables, and I dont want to do it becouse is very similar of what I already did that on a RaspberryPi)
Current State:
Im able to run a local Http Server running Nodejs in Termux app on an NOT ROOTED Android device,I want to know if it is posible to ADD THAT SIMPLE DHCP OPTION to the Android DHCP native handshake, maybe creating an APP and using the wifi-softap-tethering utilities or changing some kind of DHCP config file in some location like /etc/dhcp/dhcp.conf to add the option.
If adding a DHCP option is not posible Im gonna change the IP tables or run a DNS server and intercept the trafic to provide the Captive Portal Detection as the OLD fashion way.
Previous Attempts:
I was able to create a captive portal using DNSMASQ and HOSTAPD on a RaspberryPi, I suppose that I can do the same on MY Android device, but I want to USe the "modern Way" using DHCP captive portal options.
Unknowns

Where is the configuration of the local Android DHCP?, is it hardcoded in the source code or it exists in a /system/{some-dhcp-func}/dhcp.conf file?
Is it posible to add a DHCP option to the native Android Soft AP functionality?
Can I use or extend some offical Class of Android apk and create my app to add the DHCP Option in the Handshake?
Do I really need to root my device, install a DNS server and intercept all the DNS /HTTP trafic to provide the captive portal functionality?

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.


text:
Unable to install Kik on android
I'm trying to install the kik app from the google play store. I click on the install button and it flashes "pending" but then immediately shows the install button again. I cannot install the app because it won't go beyond this. It just keeps showing the install button. I'm using an Samsung S8+ with android version 9. How do I fix? Thank you.

See this https://support.google.com/googleplay/answer/7513003


text:
Can apps read all files in sd card (external removeable micro sd card) without the storage permission?
As far as i know. The way Android storage works is as follows. There is internal storage and external storage.
Internal storage is for the apps data only and apps can only access their particular data. No permission needed.
External storage is phone's own storage and also removeable storage (removeable micro sd card) both are to store files and media. Apps need Permission to access through storage permission (read/write).
Does storage permission only means phone's own storage or also the removeable micro sd card? I am confused
I just want to make sure that all files in my micro sd card are safe and apps can't access them without my permission.
Edit: Android 12 but I am also wondering about previous versions. Also I have my sd card mounted as Portable Storage (not Adaptable Storage)
Thank you.
Please let me know

It depends on your Android version // see scoped storage // [edit] your question to add Android version (add in tags as well)

I have seen the Scoped Storage Page but i am not clear about the answer. Doesn't tell much about removeable micro sd card. And my Android version is 12 and sd card mounted as portable storage.

See on this site https://android.stackexchange.com/search?q=%22Scoped+storage%22

From the scoped storage link "App-specific directory on external storage
Starting in Android 11, apps cannot create their own app-specific directory on external storage."

Oh okay. Thank you. But can the apps access the content (files, photos, media) of portable micro sd card without the storage permission?

(from first link) apps can bypass scoped storage with legacy storage api (API level 29). user can grant access in developer options


text:
Backup and restore app data via adb
I have a app installed on my old phone with a lot of settings and data that I want to transfer to my new phone. So I tried using adb backup:
$ sudo adb backup -f org.secuso.privacyfriendlynotes.ab -apk
org.secuso.privacyfriendlynotes
WARNING: adb backup is deprecated and may be removed in a future release
Now unlock your device and confirm the backup operation...

Which worked fine:
$ ls -la
...
-rw-r-----.  1 root   root   5057212 Jul 16 10:59 org.secuso.privacyfriendlynotes.ab

But then to import the data on my new phone, I tried using adb restore:
sudo adb restore org.secuso.privacyfriendlynotes.ab
WARNING: adb restore is deprecated and may be removed in a future release
Now unlock your device and confirm the restore operation.

I unlocked and confirmed and the phone said "Restore starting..." and then "Restore ended", so everything seem fine. But the data was not restored.
Comparing /data/data/org.secuso.privacyfriendlynotes on both phones clearly shows that my data wasn't restored at all.
I realize that abd backup and adb restore are deprecated. What are the alternatives now? (I don't want to use Titanium Backup etc. I only use open source software.)
Is there an official alternative way to do this?

If you would remove -apk from command-line you can directly see on the file size of the created .ab file if the backup was successful. If the backup failed the file size will just be a few bytes.

adb backup and restore of Secuso PF Notes works without problems on my devices. Just saved an image and restored it to a different device.

It was around 5MB in size which seems fairly accurate. My old device was an Android 9 device and the new one runs Android 11. I suspect that it stopped working on Android 11. But I dont know. Which version of Android were you using?

I was using Android 11 and 12, both Google Pixel devices. Don't forget that the backup also includes the APK files with is about 3.7MB of size (at least the version I found on apkpure).

Maybe a backup created on Android 9 can't be restored on Android 11.

https://github.com/BaltiApps/Migrate-OSS

Could be that ugly bug introduced around Android 7. If it's that, the work-around is easy: pull the APK separately (or extract it from the backup), and then precede the adb restore with an adb install. Restore should then succeed if the app was already installed before. My little tool Adebar has some scripts for those tasks in its tools/ directory.

The only workaround I could think of was a combination of adb pull, adb push, restorecon and chown:
APP_ID="org.secuso.privacyfriendlynotes"

# Backup (RUN WITH OLD PHONE CONNECTED)
adb pull "/data/data/${APP_ID}"

# Restore (RUN WITH NEW PHONE CONNECTED)
APP_OWNERSHIP=$(adb shell stat --format "%U:%G" "/data/data/${APP_ID}")
adb shell mv "/data/data/${APP_ID}" "/data/data/${APP_ID}_backup"
adb push "./${APP_ID}" "/data/data/${APP_ID}"
adb shell restorecon "/data/data/${APP_ID}"
adb shell chown -R "${APP_OWNERSHIP}" "/data/data/${APP_ID}"
#adb shell rm -rf "/data/data/${APP_ID}_backup"

It does require root though.


text:
Tab S7 FE tablet with external bluetooth keyboard can't write caret ^ instead it writes ˆ
I'm using my tablet Samsung S7 FE with external keyboard Samsung Trio 500. There is a problem with the caret symbol. I can use write ˆ but LaTeX cannot work with ˆ.
I tried installing Google Keyboard but no luck with that. I've read similar posts on the web but there is no improvement. What should I do to fix this?

By the way, there is no problem for me to use "^" with copy-paste method but in Overleaf, I cannot use "}" in text math-mode and I copy "}" to use it in all environments.

Please do not add additional info in comments. Just edit the question instead. Please also add the information about what keyboard language layout the bluetooth keyboard uses. Last but not least I don't understand your question. What do you mean that you can write the caret symbol but Latex can't use it?


text:
Too much "APP_NAME keep stopping" pop-ups
Note: Some Android texts below are translated to English by me. So if something looks familiar to the text in English Android but do not match exactly, could you please highlight it to me.
I have non-rooted Xiaomi Redmi Note 8 Pro MIUI Global 11.0.3.0 Android 9 PPR1.180610.011 (not mine, I am just helping for my relative).
It have started to produce pop-up windows with the following text: "APP_NAME keeps stopping"
First error (after each reboot) is from "Google Play Services" (and it cause the almost the biggest number of the errors). Then the same errors are coming from "App Vault" (almost the same amount as "Google Play Services" but I have disabled "App Vault"), "Security", "msa", "Google", "Emoji Keyboard", "Messaging", "Weather", "YouTube"...
The details of the error are the same for all errors and are placed below.
My assume that the problem was caused by the cache cleaning performed using MIUI Cleaner.
So I have started searching for the ways to fix this. I have read ma-a-a-any things.
I have found several suggestions to fix "Google Play Services" by cleaning cache but I cannot do it using the usual list of apps because it keep closing because of the same error.
I have tried adb but adb shell pm clear com.google.android.gms are refusing to work without root access.
Could you please at least suggest an idea how to deal with this.
Also the ideas how to disable (at least temporary) such pop-ups are also very welcomed.
Bonus question:
I have backed up the Android directory using the file transfer USB mode.
Also I have run adb backup -all but not all application was backed up.
I have seen some suggestions for rooted devices.
But maybe is there any other way to back up every application without root.
I know about some all-in-one toolsets that are needed to be installed.
However, I prefer enter the commands by myself than some third-party software installation if it is possible.
The details of the error message (I have kept border lines on both pictures):

(Sorry for the photo quality, I was fighting with the tons of the messages.)
UPDATE 1: Fighting with the errors I have managed to uninstall Google Market updates and clean its cache. Then the app list and app pages stop closing because of the errors. However the pop-up keeps appearing after all cleaning actions with "Google Play Services" :(

Well try uninstalling the Google Play Store and Google Play Services's updates.
If you can't or it doesn't work, then you can try disabling the Google Play Services (and if it still shows it then the play store itself), and using the Aurora Store instead of the Play  Store.

Thanks for the idea. Unfortunately, the list of apps and the app page keep closing. So I am not unable to uninstall updates or disable service there. adb disable com.google.android.gms does not work because of SecurityException.

See Update 1 in the question. I have tried to disable Google Play Service but there is no button "Disable", only "Close" (produced no effect).

@NickVeld Factory reset?

Before factory reset it is important to backup some application data but I still do not know how :(

@NickVeld use Google Drive's device backup feature. Look for it or do some research.

I have tried to enter into Google account in one app in order to enable cloud-synchronization. The app keeps failing because, I suppose, Google's internals are failing...


text:
What should I do after I install 128 GB of storage on my android?
I install 128 GB extra storage on my android.
The thing is, most of those spaces are empty.
I cannot, for example, move my most space hoarding apps over there.
I can move files but I have no idea which file I should move.
My phone is POCO X3 NFC
I am using MKIUI Global 12.0.7 Stable
Some says I should integrate the flash card with my normal ssd. However, I do not see such option in settings
I installed https://play.google.com/store/apps/details?id=com.a0soft.gphone.app2sd
It says I can move app but I need to format SD card as internal by going to
Settings > Storage > SD card
Well, in settings there is no menu called storage.
It seems that in APP there should be a button that say Change.
I see no such button.

I can go to manage apps and I am supposed to see this

I don't. My typical screen shen I click manage apps look like.
See. No change button. I should format my SD as internal. I do not see any such option. I can format my SD but there is no option that it's formatted as internal.

Why did you add 512GB of extra storage?  What function were you hoping to fulfill by doing so?

I added 128 GB. The internal storage is almost full.

So the device came with 384GB of storage?  With what is it filled?

formatting SD as internal is a waste of real internal storage, sure you want this?

the original storage is 128 GB. it's full often due to whatsapp getting big. So I add another SD card for extra space

Your device comes with (fast) 64/128GB UFS Flash Storage. moving apps to (slow) MicroSD Card requires formatting as adoptable-storage (and makes Internal Storage unused).
In case you really need more storage for apps consider rooting your device. (Along with several disadvantages) you get ability for mounting single apps to MicroSD Card manually.
Partition MicroSD card to exFat and Ext 4 for link2sd?
How to bind mount a folder inside /sdcard with correct permissions?

Any easy way to make adoptable storage? I am using POCO

What do you mean by making internal storage unused? I want to use both internal storage. however, I want some apps to move to micro sd card.

the whole /sdcard is moved to adopted MicroSD card, it's either or

the sm partition commands should work to format as internal. check df when done. then try your app again

Say I have 128GB memory and 128 GB SD card, will I have 256 GB total space?

No. you will have 107G for apps and 119G for movable apps and media. so the max. pictures to be saved is 119G formatted as internal (compare: for portable storage the max. pictures to be saved is 226G)


text:
How to forget a WiFi network that is previously connected to via QR code?
My main phone is Pocophone F1 (Android 10, MIUI 12.0.3)
I connected my phone to home WiFi network via QR code, like this:

It works. And when I click it to show its detail

There's no the usual "forget/remove this network" button.
On WiFI -> Additional Settings -> Managed saved networks -> the home wifi network isn't listed there.
How should I remove it, then?

I had the same issue on my Google Pixel 7.
For me it worked to uninstall the app that I had used to connect to the network, which in my case was a QR reader app.


text:
how to transfer app data from old phone to new one?
There seems to be a lot of questions regarding this topic, but what I want to know is, how do I transfer the data from all of my apps (not just one or two specific ones) from my old phone to my new one? I transferred the apps using Samsung Smart Switch, but all it did was transfer the apps, not the data, so much of my game history and information in other apps is not on the new phone. This also includes my various ringtone and notification settings; they're all set to the default setting instead of what I had on my old phone. (The one exception that I noticed was ColorNote, where all of my note files were copied over. And, there are others like Viber, Facebook and Messenger, which have their own means to get everything across. But most of them, including pretty much all of my games didn't have anything transferred except the apps themselves.)
How do I get all of the app data and settings from the old phone to the new one? Is there a utility available that will automate this? (Note: I'm going from a Samsung Galaxy A50 to an A53.)

Most apps do not allow backup, I assume this is the reason Samsung Smart Switch failed for so many apps. The way Google recommends is via online GDrive backup https://support.google.com/android/answer/6193424

@Robert if an app does not allow backup, how should GDrive backup be a solution? That app should not be included there then either.