text:
I can't register my device in samsung account?
When I open my android device and open my user details in Samsung I can see registered devices. There is no option to add my device. When we buy a new phone we activate our new device with the sim card. Here what is this registered devices section and how do I register my device. Do I need to go online for device registering?
I want to know how to register my device.

Please refer to How to register a Samsung product with your Samsung Account

@AndrewT. Thank you so much. I am able to register my device after entering my sim 2 imei number. Still not showing in phones settings registered devices list. I will update If there is any change.

You just have to add your Samsung account to the new device.  Similarly, if you want to see the new device in Google's list, add the Google account to it.

That is not the issue. I have a Samsung device and when I click settings I can see my Samsung account on top of the settings list. Then I clicked the Samsung account and then I can see the list as Profile info, Devices, Places and so on.... Then I clicked Devices and I can see my device name and all other devices connected to my Samsung account. Now scroll to bottom and see Registered devices in the More section. Click the Registered devices and I can see "No registered devices". How do I add my device details here in the Registered devices section.


text:
Data protection (making files persist across time)
In this post I am addressing a real issue that Android users may face.
Suppose, over the course of my lifetime, I have been storing my files in Google Drive. These, may be important files. Perhaps I have taken years to put them together, and put them together well.
Storing my files, as a backup place, in Google drive, has allowed me to keep my stuff in one place, through college, as I moved apartments, as I went to hospital, and as I moved households.
Alas, the files were not safe. For example, changing partners, is a tough one for your files.
For example, your partner may go into a fit and take your Android device, use the shared accounts feature, log into your Google drive, and delete your files.
Perhaps you were sick at one time, and needed to share your password with your partner. You may even develop some mind disabling condition, your partner may become your carer, and your files will not be safe because your partner may do whatever they want with your files, including deleting them, while you are too disabled to access them manage them and go through them.
Or, perhaps, you moved households. Your new partner is your only resort. Perhaps your parents won't keep you at home, and you need someone to live with, you cannot handle being alone.
But your partner won't talk to you or get into conversations.
One day, they log in to Google Drive, and, decide there is not enough space for Google Pictures, and, without even understanding anything about space or file sizes, and, without even asking you, deletes all your important files from Google Drive.
Perhaps, at your former home you bought a safe, with a hardware lock, to place copied USB keys into it, so that you may not lose your files and others may not take it. Perhaps you have placed the safe key into a hardware device with a programmable numeric lock, so that you do not lose it.
Perhaps, your home is not a home.
It is just a place where people do whatever they want with your stuff. They break hardware devices at times, so that your always have to buy cheap ones (and always make sure you store your data in a safe remote place so that when your hardware breaks you do not lose everything).
Perhaps, you need one apartment for yourself, and one for living with the rest of the family, but that is not affordable.
Well, all of this may seem of topic. But these are real social problems, and it would be nice if Google and Android somehow solved them.
I have asked on the Information Security stack exchange, but they don't seem to care less that my files could go lost.
The question is, can I store my files in the Google cloud from Android, so, that they cannot be deleted (not even from my Android device)? Why doesn't anyone provide such a service?
A service that would require phone verification to delete your files in the cloud, with voice recognition, or fingerprint access, and, even then, the files are moved, but not deleted.
A service where you pay for storage of files that once stored cannot be deleted, where storing a file in the cloud requires voice or fingerprint access, because, you have to prevent someone from uploading files that will take up too much of your file quota as a malicious action.
Please don't delete my post, or migrate it to the psychology stack exchange. I need a solution really badly. This would be really important.
It would be nice for people to have more support with regards to file handling and household file handling and safety.
Please don't just delete my post and leave me with no support. Give me a solution. I cannot change household just to protect my data.
Thanks.
Thank you for being a good fellow programmer and sharing or providing solutions to deal with these use cases.
Why do I care so much about my files? Because it's my work. It's my lifetime. It's my time. It's my intellectual investment. What have I been working for if I must lose everything?
Perhaps I am even concerned that my children may one day find themselves in the same situation.
Why doesn't anyone implement a solution?

If you care about your data that much, you should keep multiple backups. And the best form of backup (from multiple aspects) is a local drive, not the remote backup services. Keep at least 2 portable SSDs and backup your data to them on daily, weekly, or monthly basis, depending on how much data loss you can afford at maximum. Want to avoid the hassle of connecting drives? Run a small server like Raspberry Pi (which you can also use as a home router and) which you can connect to from your mobile phones and PCs for backup purpose even on hourly basis. Or you can get a server in cloud computing.

Why doesn't anyone read what I wrote. I need a storage solution that backs up, does not store files at home but remotely, and does not allow file deletion.

We are not Google, we don't control the access policies for Google accounts. Anyone authorized by you via Google data access rights to delete/modify files/data can do so. 2) Be aware of Does adb backup/restore still work because it says it's deprecated? which means that for those apps without cloud backup/exporting data support,  app data may be lost. 3) Please look at How to automate regular Google Takeout backups to cloud storage if you still wish to use Google services.

I found the following site iDrive Google Workspace Backups. However, I'm not sure whether I understand whether that takes care of my problem.

Because you can automate a Google Takeout, but you still have the problem of figuring out a place where to put it where nobody deletes it or gets rid of it.

Hi. iDrive does not solve my problem because you can still accidentally delete backups on the servers it someone can log into your account and delete them. No solution yet.

Perhaps what I need is an immutable backup service.

Unfortunately veeam only services companies, not individuals searching for an immutable backup solution.

source: Stack Exchange

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

sort: votes


text:
Downloading everything from Google Drive and putting everything in a USB key
This post is related to my former post on internet security and Android.
I want to download my entire Google Drive and put it on a USB key.
The USB key will not be safe. It can be lost. It can be formatted and overwritten.
However, I could store it in a safe in a bank, if I had the money.
Alternatively, I could just take my chances.
However, I am afraid Google Drive won't let me do this, because doing so would just take up too much bandwidth.
Other apps such as Google Keep may not even provide the support to do this (a backup from which notes could be restored).
Is there a way to achieve what I'm looking for, without having to download one file at a time.
Thanks.
Is this a use case that Google has been taking into account to catering to.
I don't think that Google, a big giant concerned with user friendless and customer support, would be concerned about losing customers by catering towards bulk data downloading.
If anything, users would appreciate it.
Some users could be concerned about someone logging in and downloading all of their data at once.
If this is the case, they could make the bulk download accessible though phone voice verification or fingerprint verification on a separate date section, is it not so?
Thank you.

If you want to download everything from Google Drive, then I believe Google Takeout should help.

You forgot one way of losing data stored on an USB stick: as USB sticks typically contain the cheapest available flash memory chips available on the market a lot of them simply go defect after some time. So keep I mind that USB st.icks is the most unreliable way to store data. Also keep in mind that flash memory is not a good long term storage. Flash memory should at least be powered on one a year so it can detect corruption and try to fix it before it reaches a critical level.

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


text:
How to exit and close FX Text Editor (the text editor of FX File Explorer)?
Though I have used FX File Explorer (by NextApp) occasionally for over 10 years, I just used the text editor of this app for the first time. This was to paste a URL into an empty file. ok, this was done, and the file was saved. But I cannot exit, and I cannot close the editor. No key sequence does it.
For many hours, I have googled to find documentation, a reference manual, or any relevant internet article. I found nothing.
Please give me some advice.
Regards

When asking a question about third party apps please always include a link to the app in Play Store.

Have you tried the usual system-wide "Back" gesture?


text:
Is there a way to keep the audio playing on the BBC iPlayer app when the screen is off / locked?
The BBC sounds app allows this - it will keep playing when you turn the screen off. The iPlayer app doesn't seem to allow this, presumably because the BBC think that you are watching the programme on the screen. However I want to be able to just listen to some programmes like the Sounds app.

My version of the app does this (BBC iPlayer on my Pixel 8 Pro running Android 14). I did have to say "yes" to the notification access permission, which may allow the app to stay "alive" and active when the screen turns off. Could you check whether or not you have allowed this permission?

@jlehenbauer, why not make it an answer

@RohitGupta, if it ends up solving the issue I'll be happy to!

Xiaomi's MIUI has a special function for that purpose and works with any app.


text:
Google Sheets unbold text within parentheses
How can get Google Sheets to automatically un-bold any text typed between parentheses?
Thanks in advance


text:
Termux processes killed on Android 13 even with phantom procs off
On Android 11, I am able to run text-generation-ui under Termux, with 3b models. I've got a Samsung A53 phone, with 6GB RAM & 2GB swap (by default).
However, on Android 13, I'm currently running LineageOS 20 GSI (Android 13), installed over stock Android 12. (with some custom kernel from Andi Yan), the OS is killing Termux processes. When I start server.py, it goes just "killed" with no messages at all.
In the developer options, I've turned off the feature flags monitor_phantom_procs. I also ran these commands in adb:

adb shell /system/bin/device_config set_sync_disabled_for_tests persistent
/system/bin/device_config put activity_manager max_phantom_processes 2147483647

What can I do to stop the OS from killing procs?


text:
Can I force Pixel 6 Pro to slow charge?
There are long periods of time when I know I will stay in place so I would like to be able to connect the phone to the charger and have it charge slowly to try and curb issues created with fast charging.
Preferably it would be something that I would be able to quickly switch to fast charging when needed.
Phone is not rooted, but I'm willing to root it if need be. I already use adaptive charging during the night. I was hoping for something not linked to the alarm.

If you are ready to root , see answer here

This could be possible just using hardware - if you use a 5V/1A (5W) charging block, for instance, your phone would charge at a maximum of 5W, which is rather slow for today's charging standards. That being said, even a 5W charger will charge your phone within several hours.
Another option, again hardware-based and assuming you're somewhere where it would be practical, is the Pixel Stand 2, which allows you to choose "Max charge" or "Charge quietly," which is effectively equivalent to "slower." These can be switched at any time, and wireless charging for the Pixel phones is generally slower than wired regardless.
These being possible, Pixel phones already offer several built-in and features that can be enabled that make this not as necessary as it used to be. See especially the "Protecting your battery" section linked.


text:
Save a web page to Google Drive from Android phone
If I'm browsing a web page on my android phone I'd like to save the entire web page to Google Drive in as few clicks as possible.
Best option I've seen is Share > Print > to PDF. Switch to file manager, share to Google Docs. This takes about 30 seconds and many clicks.  I do this a LOT. Looking for something that would be just a few clicks and take under 10 seconds.

In Kiwi browser (Chromium based; supports Google Chrome extensions), see if this extension works for you: https://chromewebstore.google.com/detail/save-to-google-drive/gmbmikajjgmnabiglmofipeabaddhgne

@Firelord I used that extension in Chrome and its very very slow (20 to 30 seconds) and sometimes just doesn't work.   Have you've seen it work faster in Kiwi?

@Firelord Does Kiwi run on Android?  Does it support Extensions on android? (AFAIK, Chrome doesn't support Extensions on android)

I have not used that extension (I forgot to mention that). Yes, Kiwi browser does work on Android. See Kiwi Browser: https://play.google.com/store/apps/details?id=com.kiwibrowser.browser&hl=en&gl=US


text:
WhatsApp media missing, not on either new nor old phone
I really hope someone can help me.
I have recently bought a new phone and when I logged into WhatsApp on my new phone, the files weren't restored.
What's more upsetting is that I can't find WhatsApp folder with all my files, including very important images, on my old phone.
I've seen all kinds of suggestions online, including reinstalling WhatsApp and restoring all over but
I'm afraid to do anything now in fear I might lose my files forever!
How can I get access to my files?
They don't even have to be available in the WhatsApp on my new phone, I just want to have files somewhere, on my laptop.
Couple of things that might be relevant:

My old phone was Galaxy S10, my new phone is S23, so when I got the new phone, I used SmartSwitch to transfer the apps but not the files.

I was hoping to go through all the photos and videos and delete stuff I don't want to have transferred, so my new phone is clutter free.
Now the files are gone on my old phone! I've tried logging back into the old phone to see if WhatsApp media folder would appear in the gallery but it didn't.

My WhatsApp backed up regularly overnight to a Google Drive account but recently that Drive reached capacity so I changed it to another account so I'm not 100% sure where the bulk of the files is.

I know there are loads of questions like these but I'm too panicked to trial and fail. I've lost some family members in the past several years/months and there could be some mementos amongst the files. You just forget they're there.
Thank you in advance.

Having backups is must. If the files are important you shouldn't rely on the app itself and in any case, before transitioning, you should've saved them elsewhere, locally or at a cloud service.


text:
undeletable "permanent File" Android 11 phone
I have this file:
/storage/emulated/0/Tones/test1/test2/test3/test4/brooke-shields,-a�os-80.jpg
Cannot delete. I get a <java.lang.illegalargument> response when I try to delete using several different file managers. My phone is unrooted. Tried through javascript, termux, iShredder, and others. Have tried to understand the black diamond with the question mark, but unclear what it truly is. Am a real novice, so have patience.
Any suggestions on how to delete this file.

Have you tried an alternative file manager like Solid Explorer, or a similar tool, to delete or rename the file?

Related/possible dupe: How to delete miscoded file in Android

I did try several different file managers, not specifically Solid Explorer. I will try that. Thanks.

Solid Explorer did not work. Cannot delete file. Thanks for the suggestion.

As per related/possible dupe, I got the same result with Termux as in the question. Says file does not exist....but it's there.

Can you just delete the entire directory? Move anything you want out of it first...

play with find until you get the single line with (1) result.
~ $ find -L /sdcard -mindepth 6 -type f -name 'brooke-shields*80.jpg' -print

add the -delete flag to delete result(s)

Rename the file and check if you can delete it. Also, have you tried the same with adb?

adb shell rm /storage/emulated/0/Tones/test1/test2/test3/test4/brooke-shields,-a�os-80.jpg

It won't let me change file name, I can't move it, I can't copy it, I can't delete it. Per iShredder, it's a "permanent file." Don't want to Factory Reset, but might be my only option. Have ordered a new phone, exactly the same as the one I have (other issues prompted that change), but am concerned that backed up files will contain same undeletable file. Tried several different file manager apps, was suggested to us Solid Explorer. Will try that. Thank you for responding.

Solid Explorer did not work. Cannot delete.

I have not tried that, nor do I have any experience with that, but it's worth a shot. Hopefully I'm smart enough to figure it out. Thanks for the suggestion. I'll let you know.

adb seems to require the use of two (2) Android phones or a PC. I currently don't have access to either one. Not sure if I will be able to utilize adb.

apps cannot access the app-specific directories that belong to other apps, therefore adb is recommended

@JimmyB: Yes, you will need to use a Windows, Mac or Linux computer.


text:
How to exit and close FX Text Editor (the text editor of FX File Explorer) - end of question
Thanks for your answers - here my final report:
1.
The "FX file explorer" is in one of the windows and cannot be removed.
I intended to kill the process by its PID. To get the PID I used the App "Activity Monitor" (other task manager for Andoid I have forgotten). But this App had not discovered and not listed "FX file explorer".
I made a test: In another terminal I have run "FX file explorer" and have it work in Google Drive in order to not be idle. Also for this test was true: "Activity Monitor" App had not discovered and not listed "FX file explorer".
2.
Regarding if FX is good or not: In some articles of Journals in Internet, FX was commented as the best Filemanager in Android. Many days I have dealt with a task, but I was forced to give up.
Regards

We appreciate your input, however I'm afraid you mis-posted this as a question instead of an answer on your own question. Being a Q&A site, questions are only for asking questions, but you can post an answer on your own question by filling the Answer box below :)


text:
Can I add a shortcut to a Google Drive file by name?
I have a file on my Google Drive that I want quick access to from my home screen.
The app that updates the file seems to do so by renaming the original file and then creating a new file with the original name.
This breaks my shortcut every time.
Can I set up a home screen shortcut so it links to the file by name, instead of whatever ID it's using?
(ETA a little background: The file in question is a KeePass database. I manage it on my phone with KeePassDroid, and on my desktop (Mac) with KeePassXC. My Mac syncs it to my Google Drive with Google Drive for Desktop. So I'm not in control of how the file gets saved, nor do I want to take the manual step of uploading it.)

Related Google drive links. What version they shows?

Thanks @beeshyams – I don't think this is a versioned file, strictly speaking, but that might help someone else


text:
Can we use Bluetooth to transfer money from one person to another?
Is it possible to transfer money from one person to another using Bluetooth technology without using the Internet?

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

As you can copy every digital data (thus also digital coins) you always need to have a central instance to register money transactions. Usually these instances are a central server (e.g. of a bank) or a distributed system like Bitcoin.

Thank you for the information.

I dont think that there are existing apps to do this.  But if you are going to write an app, then you can do what you want, within reason.  Whether it will be usable, secure, fast enough is up to you to determine and solve.

Thank you.. Is there any guide line or documentation to follow


text:
How can I copy emails stored in the Samsung Email app?
I've bought a new Samsung phone and am trying to move the email stored on my current Samsung phone in the Samsung Email app.
Samsung's Smart Switch only moves the most recent emails in each account, I want all emails moved.
These emails are no longer on the email server.
I'm comfortable installing adb or running scripts.
How can I copy emails stored in the Samsung Email app?

maybe that helps (untested) Where do I find emails sent from the Samsung Mail App using a POP3 Mail Account?


text:
How can I unlock my Pixel phone?
Last night I added a pattern lock on my Pixel 4a before sleeping. After waking up today, I cannot remember the exact pattern. I can only remember that it was a zigzag pattern. After failing several times trying to figure out the pattern, I got locked out and cannot even use my fingerprint anymore. Most of the resources on the internet seems to suggest that I will need to erase my phone to unlock it. That will be very disheartening since I did not backup any of my photos. I am wondering whether any of the following is possible-

Use my google account on a different device to unlock my phone.
Use my google account to remotely backup my photos in google photos
Use a third party software to extract photos from my device without unlocking it

Any suggestions would be highly appreciated.

Do you make updates? https://twitter.com/xdavidhu


text:
How to access a private network on Quest2's Android 12
I am trying to connect MetaQuest2's Android 12 to a Wi-Fi network that does not broadcast SSID, but the connection button is not enabling. The certificate installation was successful and the proxy settings are correct, so what could be the cause?

What is your definition of a private network? A wifi network that does not broadcast it's SSID? But usually you don't need certificate for a Wifi. Certificates are mostly used in combination with a network that sues  802.11x radius authentication. So please edit your question and describe in detail what type of network you are trying to connect to and what requirement this network has.

This Wi-Fi network is a company network with a "WPF/WPF2-Enterprise" authentication.

I was able to press the connection button by changing the save location of the certificate file, but I can't connect. Am I doing something wrong with the installation of the certificate itself?


text:
Wipe Data(Factory Reset) related logs should persist in the recovery log file right? (Stock android)
(Stock android.)

"E:Cannot log to file /dev/fscklogs/log"
-Other phones don't prompt this during the data wipe(factory reset), this is fecking intentional.
Also it got no battery charging cycle count in the bug report neither.
Is there any other reliable way to determine if the phone is genuinely brand new?
Through Recovery Mode and Android Settings, Wipe Data(Factory Reset) related log entries should persist in the recovery log file under Recovery Mode right?
The related log entries should persist even after reboot, power off, wipe data(factory reset), right?
Other phones I've used will retain all wipe data related log entries.
Currently I've a brand new android phone that doesn't do that.
'Wipe data' related log entries will disappear after powering off or rebooting the device(the recovery log file still exist, and judge by the changes of the numbers inside every [ ] at the start of every line, all remained log entries are actually newly generated, though the log file's size will shrink back to the exact size before the wipe data action).
(It proceeds like this:
Go into the recovery mode;
No wipe data related entry inside the recovery log file;
Perform wipe data;
Related entries appear, the log file's size increases;
Reboot or power off then on again;
Wipe data related entries disappeared, the log file's size shrink back to before the wiping, the numbers inside every [ ] at the start of every lines have changed.)
Such shady doing, alternating the default logging behavior.

Does this answer your question? Retrieve stored logger data (Android Oreo or Pie, maybe even higher)// See the accepted answer

@beeshyams shouldn't the recovery log unaffected by that? Since the developer option certainly will be turned off after the wipe data(factory reset) and any alternation done through that. Also I've never needed to turn on anything for the recovery log to persist on other phones.

@beeshyams it's the wipe data related log entries are disappearing, the recovery log file itself is persisting. But judge from the changes in numbers inside '[ ]' at the start of every lines, all remaining entries are actually newly generated.

I guess another question is: what is the device model? As you may have noticed, manufacturers can and do customize their Android OS including system logging.

recovery logs are in cache partition. on factory reset usually cache partition is formatted too

I have no technical understanding. I was  only pointing to an existing answer and it looked to me that what you are asking in your question is covered there

@alecxs On me other phones the recovery log file contains multiple 'wipe complete' and related entries. Everytime I perform the wipe data(factory reset) action, one 'wipe completed' and other related entries will be added into the log file. Some of the phones even have multiple recovery log files. If what you've described holds true that wouldn't be possible, non of the wipe data(factory reset) related entries should've survived the formatting.

@alecxs And for this brand new phone, the wipe data related entries will persist before reboot or power off the phone, but after reboot or power off, the log file itself still exist just the wipe data related entries are all gone.

Other phones don't prompt this during the data wipe(factory reset), this is fecking intentional: "E:Cannot log to file /dev/fscklogs/log"

you say "data wipe(factory reset)" but that's two different things. on data wipe only userdata partition is wiped, while on factory reset usually userdata + metadata + cache partition is formatted (and keystore in TEE is erased). also note that a copy of current session is hold in RAM (/tmp/recovery.log for TWRP) and may saved to /cache on exit (usually rotated)

@alecxs Are you trolling pally? It's verbatim 'Wipe data'/Factory reset ' in the Recovery Mode of ely Android phone I've ever seen.
And after entering the 'Wipe data'/Factory reset', there is no other options other than confirm to execute or not.
Here's an example: https://www.hardreset.info/devices/onda/onda-v919-3g-air-97-dual-boot/

@alecxs and the screenshot I've added at the beginning of the post clearly shows "Formatting /data" and "Formatting /metadata" when executing the wipe data action.

I apologize for confusing custom recovery with stock recovery. you are right, if you have separate entry for wipe cache partition, apparently only userdata and metadata (and keystore) is formatted on factory reset


text:
Can I remove an app that I've bought from my account and re-purchase it again?
To thank the developer on Steam you can repeatedly buy games as gifts or remove them from the account and re-buy them again (I think it still works).
How to do a similar thing on Google Play Store?

Nowadays repurchasing apps should not be necessary as most apps provide some sort of time limited in-app purchase options which you can buy multiple times once the configured time span is over.

App purchases are tied to the account. You can't re-use that account to buy again. Create a different Gmail account , add it your device and buy from that account (you can use the existing payment method set up for the main Gmail account you had set up)


text:
Ghost Singapore Safe app will not delete
I purchased a Samsung phone while in Singapore, it has the usual pre installed apps and the covid 19 SGsecure app. The app is greyed out and has no delete option when clicked on it says "app not installed". I ve just re-flashed the firmware using ODEN with what i thought was Australian firmware but the SGsecure app icon is still there,  did i not flash it correctly ?is it possible to delete?


text:
What are the inner workings of the zygisk process?
I'm using Frida over USB debug and when I run frida-ps -U, I see zygiskd64, zygiskd32 and zygote appearing in the process list. This alarms me as some of my apps might be detecting those as an anti-root measure.
Obviously, I'm rooted on Android 12 with Magisk, and modules Play Integrity, Shamiko and Lsposed installed.
Is it possible that it's only me seeing the zygisk process but Magisk effectively filtered out (hidden) those from the apps are can apps see the same thing when they emulate running process? If so, is there a way to hide (or at least rename) those processes? Of course apps have very diverse range of anti-root measures, some are easily bypassed some are stronger, but I'm sure this is one of them.

Use Shamiko and see if it makes a difference

Non-root apps cannot see running processes except its own. See the reason 3 here.

@IrfanLatif so my question is it is possible for apps to implement process enumeration the same way as frida-ps -U either in native or Dalvik code that will give them the same output which they can use to check for certain processes? Even when not running in a root environment

@dazzleworth frida does no magic in getting process list. It can see all running processes because it has ADB or root privileges. Apps don't have, unless they explicitly ask for, and you explicitly grant them.


text:
Tecno BC3 failing to push notifications
Notification features not available
]1]1

Tecno BC3 runs Android 10 Go, which is covered in the duplicate question.


text:
Install phone version of app on tablet instead of tablet version?
Is there any way to force an app to install its phone version rather than the tablet version on a device? The particular app I have in mind is Microsoft Edge, whose tablet version is missing several features found on the phone version.

If there are really two different app versions then it depends on the developer what app version is available for what devices in Google Play Store. If the phone version is not available then you can only get it from third party sites like apkmirror.

According to APK Mirror, there is only 1 dpi variant (nodpi) of Microsoft Edge. This might mean that the app only changes its behavior when it detects the device as a "tablet", e.g. smallest width, DPI, etc.


text:
How to show all of my data usage as tethering?
I have a 50 GB tethering package but I want to use it on my phone too. My carrier said I can't use this package from a Windows phone. Probably because Windows phones don't support their check method. My Mi 9T Pro is rooted so I can change several configurations within the system. Can I mark all of my data transfer as tethered so I can use it on my phone as well?


text:
simg2img silenting failing to convert Fairphone 4 super.img?
I want to mount super.img from Fairphone 4's factory images.
> file super.img

super.img: Android sparse image, version: 1.0, Total of 1572864 4096-byte output blocks in 229 input chunks.

I installed the android-simg2img package to convert this to an ext4 image. After executing simg2img, no errors are generated, but trying to mount the file fails.
> file super.raw.img
super.raw.img: data
> sudo mount -o loop ./super.out.img /mnt/image
mount: /mnt/image: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
> sudo dmesg

[1074956.090619] loop0: detected capacity change from 0 to 12582912
[1074956.092396] FAT-fs (loop0): bogus number of reserved sectors
[1074956.092398] FAT-fs (loop0): Can't find a valid FAT filesystem
[1074956.092450] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[1074956.092560] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[1074956.092632] EXT4-fs (loop0): VFS: Can't find ext4 filesystem
[1074956.093484] NILFS (loop0): couldn't find nilfs on the device

How can I mount the image?

super partition is a superset of different file systems, you can only mount single partitions on its own
How to mount system under super portion?


text:
Nandroid backup/restore alternative(s)?
I'm running Android 13 on a device for which there is no TWRP nor OrangeFox recovery module: it's a Pixel 7 Pro.
I'd like to perform the equivalent of nandroid backup/restore, and I'm wondering if there are any ways to do this.
To be clear, I'm not looking for any "backup" apps (e.g., SwiftBackup, TitaniumBackup, etc.) which only back up apps and maybe call logs and messages. I want to be able to back up and restore all the OS partitions such as /system, /boot, etc., which a working nandroid implementation can do.
I know that partitions can be backed up using dd-based methods, but if I take a dd backup, then upgrade my OS, and then decide that I want to return to the earlier OS, I can't use dd to restore, because the encryption would have changed.
Is there perhaps an EDL-based method for doing what I'd like to do?
Thank you in advance for any ideas and suggestions.

backup of partitions is useless because after factory reset there is no way to decrypt. Nandroid backup is dead

Thank you.   OK, so dd is out of the question. But what about my other suggestion: backup/restore via EDL mode?

PS: Nandroid backup isn't totally dead. There are a few implementations of TWRP and OrangeFox which still offer nandroid under Android 13 and 14 for a small number of devices.

I've seen but not used [this](https://github.com/Magisk-Modules-Alt-Repo/data backup) Magisk module that claims to do this. It's unfortunately archived but you can give it a try

Thank you. I've checked that out. It does take backups, but they can't be used for restore, unfortunately. When someone argued that backups without restore capabilities are useless, the developer said that even though normal restores are not possible using the app's backups, they can still be useful if you want to manually parse the backup file to extract apps or files or directories that have been present on the device.

what is the difference between partition dump made with dd and partition dump made with EDL? nothing. I still use TWRP too but my device isn't encrypted and I don't use apps that rely on keystore (or I am not aware of)


text:
Totally automated way to check device's integrity level?
I'm looking for a way to check for my device's integrity level which can be done in an automated way ... for example, within a script.
By "integrity level", I mean querying whether my device has "MEETS_BASIC_INTEGRITY" and "MEETS_DEVICE_INTEGRITY".
I know I can manually do the following to query that info:
To first enable ...
PlayStore Options=>Settings=>About
... and then click Play Store Version seven times to enable "PlayStore Developer" options
Then, after enabled, I can manually do the following any time I want to see the device's current integrity level ...
PlayStore Options=>Settings=>General=>Developer options=>Check integrity
However, I'd like to avoid this set of manual steps and instead, return this integrity info via some method which can be automatedly used within a script.
Is there any way that I can do this?
Thank you in advance.

Google Play Integrity API is a documented API by Google, just search for it. It can be used in apps so it should be possible to develop a command-line program that provides the result  (but that would be more a topic for stackoverflow.com). Note that checking the integrity result locally on the device is a bad idea as a non compliant device may be rooted and thus your script or the result of the program to check the integrity level may be manipulated, too. Usually such check should be performed on a trusted server.

Oh, OK, I'll check the Google Play Integrity API. As long as it's a Java interface, I could probably use it to build the CLI program that I'm looking for. If I do, and if I have any further questions, I'll go to StackOverflow.  Thank you!

I see that you asked this in the Pixel Flasher thread. I hope you can decode and come to a solution, which would be of use while a laptop isn't available. I would be keen to know too! +1

Thank you, @beeshyams! I'll post there and here if I find an answer.

There are SafetyNet checkers like this one or this coming close to what you want. Not sure if they fully cover your needs. My devices are google-free, so I don't care much about what Google thinks about them ;)

Thanks @beeshyams for pointing to play integrity, section updated. And right, I don't really care about Play – same as Play doesn't really care about integrity, if you've noticed their violating their own policies, replacing apps installed from other sources by those with the same package name but a different signature on devices (KDEConnect, AnkiDroid and others reported lately). At least with that it's clear to me PlayStore is not a safe place to use. Signatures are there for a reason, not for being ignored…


text:
Huawei Y6 (2019) stuck in boot-loop after stand-by, how can I recover my data from the device?
My, completely unmodified, Huawei Y6 (2019) is stuck in a Boot-Loop since I wanted to leave the Stand-By a few days ago. Generally it's unresponsive, cannot be put into recovery mode either. Only when I plug it into a power source does it turn on for a short moment, displaying the Huawei-Label before turning black immediately and repeating that loop until I unplug it. While I am aware that there are options like flashing the phone or doing a hard reset, I would like to know if it's possible to save some of my data from this phone. Several notes, photos, videos and contacts are stuck there. That's pretty much the only relevant stuff on it, so if it's possible to get that data off this phone, even if it might brick the device, it would be appreciated to hear some thoughts and answers in that direction.

Unfortunately the only way to recover data is fix the issue and boot into android, then unlock screen with credentials. TL;DR data is lost


text:
Is the Pixel 7a GWKK3 is a locked or unlocked phone?
I've tried to find if my new Pixel 7a GWKK3 is locked or unlocked by looking at its box. I have not opened it yet.
I could not figure out for sure if i can open it and install grapheneos on it.
Do you maybe know if it's a locked or unlocked?
How can I tell for sure?
Thank you.


text:
Does Android AOSP communicate with third-parties?
I'm trying to eliminate all Google and Meta services from my digital life. (I don't like their policies.)
So I thought about buying a new smartphone, removing the pre-installed ROM, and installing Android AOSP without Google Gapps.
However, the question I would like to ask is whether programmatically, a lot of information from my AOSP smartphone will communicate some information with Google despite not using their services. Is removing Gapps enough, or could something else be done? Is there empirical evidence in the code that confirms this?
Considering that for web browsing I would mainly use Mozilla Firefox with DuckDuckGo thus avoiding any Chromium-based browser, and for messaging Telegram downloaded from their Website. (I haven't used WhatsApp for several years.)

Just saying. Not using google in some way is pretty much impossible. You can see in this page's source code that https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js for example is accessed which is hosted by google as you can see in the url, so even using this website makes you connect to google in some way

Recently? Google bought Android 18 years ago...

@Ivo Yes, well, actually from this point of view you are absolutely right. It is difficult to replace some libraries that depend on CDN. However, the whole thing is to reduce data exchange with Google to zero, or close to it

Possibly related/duplicate: FakeStore, BlankStore, GMS, MicroG, UnifiedNLP - what's best for Android without Gapps?

A very large portion of the applications for Android depend on Google Play Services and Cloud Messaging, even if you don't want to use a Google account. AOSP and most alternative "Google-free" Android distros like LineageOS are therefore not very useful for running anything until you install the core Google Apps suite, including Play Services, on them. And then you're back to Google controlling your phone.
Unless you just want to run some unpolished FOSS apps off F-Droid, there are basically two ways out of this that get you near-complete Android app support:

microg - a minimal alternate implementation of Google Play services and other system components, not controlled by Google. It will connect to Google services for the purposes of cloud messaging and to login to a Google account if you want to do that (e.g. to use with the GMail app or YouTube app, if you choose to install them, which you can do as normal unprivileged apps). Unfortunately, in order for it to work, the system has to lie to apps that microg is the real Google-signed Play Services, and most popular distros, including LineageOS, refuse to do this, despite it being the right and necessary thing to do. (LineageOS will even ban you from their IRC channel or other support venues just for asking about microg.) If you want to go this route, the easy way that doesn't require lots of hacking and breaking automatic system upgrades is to get the build of LineageOS from microg: https://lineage.microg.org/

GrapheneOS has a system whereby, rather than using microg, they sandbox the real Google Play Services to run as a highly restricted normal app rather than a system app. This gets you full functionality, including access to paid apps and in-app purchases, without Google having any control over your device.

Wow, you showed me something really important. I didn't know this aspect. just as I didn't know about microG. Now I will go into more detail about the issue (as far as I can). It would seem like a subtle difference between LineageOS and MicroG but it is so important. I ask a stupid question: these two OS are the best that the open source world can offer for an experience without monopolization by companies? Thanks anyway for your super useful contribution. I know grapheneOS, and for now it's the most valid solution I've found, but happy to be proven wrong

Note that some apps incl. banking or DRM secured content will not work with microG

@VahidAmiri: I haven't encountered that, but have heard it's a problem. I'm not sure what workarounds are available.

I know the project has always been open-source but recently purchased by Google.

You are mistaken on that point. The original Android, Inc. was founded in 2003 and acquired by Google in 2005. Google develops AOSP as open source, but you can't just install that and go. The reason for that is device drivers: those are almost all proprietary, written by SoC and/or device manufacturers, are not released as open-source, and aren't in AOSP.
If you want an Android-like smartphone OS without Google apps, the easiest way to get that is to pick a device that LineageOS supports, buy one, and put LineageOS on it. You'll find that most of the devices it supports are obsolete: this is because reverse-engineering hardware to write open-source drivers takes time, and nobody gets paid to do it.
There are other custom Android versions, but LineageOS is the most widely used.
Addendum: There are also a few manufacturers who provide their own Google-free alternative ROMs. SHIFT ships their phones with all the Google stuff (as any manufacturer must if their device is certified by Google), but you can download their Google-free ROM directly to the device and use its updater to switch.
The Fairphone 2 had the similar Fairphone Open. That doesn't seem to have been repeated for later models. You can download Fairphone's source and build yourself a new OS, but this is a big job and requires skill.
Further lists of alternative ROMs are here and here.

Hi John and thanks for your reply. I apologize for the mistake I made. I hadn't considered the drivers, this unsettles me a bit. In my ignorance I thought that the AOSP versions were ready to use, but this is not the case. This slows down my project, I know LineageOS but I don't love it much. But apparently it seems to be the only solution that is closest to what I thought. I admit my ignorance for having left out some details such as drivers. I thought it would be easier to give up these services.Paradoxically, this also applies to Pixel devices, right?.Thanks for your time and knowledge John

@BruceEcurb: There are many other customised versions of Android: see my updated answer.

Almost none of the phones sold in China communicate with Google/Meta, but...

LineageOS without Google apps won't be able to run much of anything, because Play Services/Google Cloud Messaging will be missing, and most Android apps need those to run. When you complain they'll just tell you to install Google Apps, then you're back where you started. The solution is to get microg, but mentioning that in any LineageOS support venue will get you banned. The easy way to do this is getting the build from microg: https://lineage.microg.org/

Thanks @JohnDallman for integrating that with your answer (I'll clean up those comments now as they're no longer needed)! If you want to link to SHIFT, you can find their site here: https://www.shiftphones.com/


text:
How can I setup multiple/restricted users on S6 lite?
I have an S6 lite that I would like to share with the kids.
So, I would like to have a normal account that I can use, and another account that the kids can use with some supervision.
I would like to restrict the apps available on this account, which I am able to currently do.
I would also like to restrict the usage time of the tablet; the option in the tablet takes me to Family Link, which it seems I cannot install in the desired way.
From what I have understood, if I go for Family Link, it should be added in the only account in the tablet.
I have a google account configured as a child account in Family Link, but I am not able to add this account to the tablet along with my parent account.
Is there a way I can configure the S6 lite like this?

Main Profile - No restrictions
Kid Profile - Restrictions on available apps and time allowed

Are there any other tablets that would have allowed me to do what I wanted?

Please note that device recommendation is off-topic here. You might be interested in our sister site, [HardwareRecs.SE], but please follow their guidelines to get a suitable device for your needs.


text:
How to setup a good defense from unwanted content
I have an android phone, xiaomi if it matters. I want to set-up a defense for my phone, so that:
I can't view pornography in any possible form. No websites, no games, and not even "soft pornography" - things like "dating simulators" or anything like that. Not only on the web browser, I also wantnot to be able to download from the playstore any app that contains content like that.
Block access to youtube or anyway to reach it.
Possibly (I'm still thinking about it) completely blocking access to a web browser.
I still want to be able to use everything else of course: navigation apps, bank apps, etc.
I want to do it for free if possible.
It is very hard, almost impossible, to remove the defense. So an app that i can delete any moment isn't going to do the job.
I searched the web for a good solution, but i'm quiet confused by all the information. If anyone knows how to setup such a defense that would be amazing.

You havent explained why, which is part of the question/solution.  Is it for a child or are you trying to protect yourself?

Getting all of what you want may be quite hard. Your classification of apps doesn't seem to match Play Store categories, and those are not completely reliable in any case.
Parental controls could be used, if you have someone who will organise them for you, but they won't block the results of searches, and they may not allow banking apps.
There is a market for "Kosher phones" which are used by some Hassidic Jews who see the Internet as a major danger to their culture, but feel that mobile telephony and GPS navigation are OK and useful. Those don't allow web browsing at all. The problems for you are that they don't allow installing apps, so you can't have your banking app, and they are quite expensive.


text:
How do I access information about my samsungs app activities from months back
How do I access information about my samsungs app activities from months back. What apps I used and for how long? I need this information for school.I know about the 7 day interval. I want to find information about the 25th of Oct.
Plz HELP!!!


text:
Prevent charging when connecting to notebook via USB
I have Android 14 on a Google Pixel 7, and whenever I connect my phone with my notebook via USB it starts charging the battery. I'd rather to choose not to charge the phone. Is there any way to prevent this? Ideally, I don't want to root my phone.
These are the options I see (sorry, only German):

It is an English only website.  However the options match my phone.  Have you tried selecting any other option under Use USB for than Charging phone only?

Sorry, the screenshot is only for illustration. I haven't tried another option from the "Use USB for..." because they seem not to imply that it won't charge. But let me try. Because PTP and MIDI might be worth a try.

To my knowledge you can not prevent charging when there is an USB connection on a stock device. The only options are rooting or prevent charging on hardware level.


text:
How do I adjust the double click speed of my wireless mouse on Android or Samsung DeX?
The default double click speed of mouse seems so fast that I have to try many times before it works.  It is a big trouble for me. I could not find a way to adjust it in Settings.  I am using Samsung Galaxy S21 5G Android phone with DeX connection to a TV.  Thanks.


text:
What all methods can be used for detecting malware on lower partitions where antiviruses cannot reach?
I had bought a used phone from a friend and was facing issues like password changes and media leakage as shown by my other friends
so I scanned using antiviruses like Malwarebytes,Kaspersky,lookout, dr web etc, but it came clean so I then flashed it along with factory reset(only factory reset didn't remove it)i think it's gone, is there any way any way to confirm this?
(I think It's a malicious rom that my friend flashed)
But afterwards I think I somehow got reinfected and the above symptoms persist even after I started all services from new accounts
I am running an redmi android 7 so exploits exist, can this be detected and patched?
Does it matter if my phone is unlocked if exploits come into play?
I suspect it is either ransomware/stalkerware and I'm getting infected just by visiting a friends profile on Pinterest(suspicious)/Twitter (sus)/Spotify link(clean)
I tried to scan the links using virus total but only got one low suspicious warning saying wiper ransomware seems far fetched but it's the only lead I have so far
I did report it but they later confronted me about it, how did they know about me reporting it?
How do I detect malware on lower level partitions where antiviruses cannot reach like system partitions, recovery, bootloader and etc?
I know only know of
I want to know the source of infection if there is one
What are all the reinfection possibilities other than me doing something obvious?

Patching old Android versions is not really practically. Vulnerabilities in the kernel may be patchable, but vulnerabilities e.g. in the Bluetooth soc drivers are a big problem. Also Google does only patch vulnerabilities in recent AOSP versions (I think at the moment 10+) so older versions are unmaintained.

that's too many question marks, is the device even infected, what is the malicious exploit, is it vulnerable on locked bootloader, is bootloader even locked, did you flash firmware or just ROM?

@alecxs Sorry for being all over the place i think whole fastboot rom is the firmware

Instead of device malware, have you considered the possibility that the account is compromised, and they're exploiting the cloud-sync password vault and media backup?

@AndrewT. Yes I've tried making Google account from scratch on the device and use that account for everything else but its still the same could you please enlighten me though I tried cleaning the drive too

Once you have flashed it and  factory reset it, then it can no longer be infected.  Also, if Kaspersky and MalwareBytes can't find anything then

Either there is nothing to find
Or your so called friend is a super genius.

If you are getting re-infected then

You are not running a decent virus scanner
Or you are installing suspect apps or visiting dodgy sites.

You forget that there are exploits that work without user interaction. For example in baseband (infection via SMS) or Bluetooth. Also on some versions a simp!e saved files can case an infection as it is processed by Androids media store service.

As far as I know antiviruses don't scan the recovery/bootloader/system partition where i think the malware resides
I am assuming that the phone was flashed with a malicious os, so to detect these conditions was my question
My friend is not a super genius I think he bought the malicious program from a company that does these stuff
What exactly do you mean when you say I'm not running a decent scanner I tried Kaspersky, Malwarebytes etc as you mentioned, if not what else do you recommend?
Thanks for the answer.


text:
I can't connect my pc's Ethernet to my mobile
I have an ethernet connection in my pc, but the administrator banned it's Wifi connection.
I want to connect my pc's internet through USB, but I don't know how to connect it.
Whenever I use USB tethering, it connects my mobile internet to pc, not my pc's internet to phone.
Finally, if you give simple and understanding guidelines so that I can connect and share my pc's internet to mobile.
yours sincerely

Please provide specs on your PC, OS, brand and model of you phone and what OS it is running


text:
How to inspect any android app's HTTP/HTTPS request using Requestly.io?
Requestly.io currently allows to intersect the HTTP and HTTPS packets if requests are made from google chrome as the SSL certificates can not be installed for "VPN and App".
How to inspect any android app's HTTP/HTTPS request using Requestly.io if the phone is running Android T (13)?

Android apps by default do not trust user CA certificates so it doesn't matter which proxy you use you can not intercept SSL/TLS respectively https connections unless the phone is rooted or you modify the app to accept user CA certificates. See also https://stackoverflow.com/a/62731432/150978

I have seen examples from Brup suit that allows that

Those examples were written for a much older Android version. They don't work for recent Android versions and recent Android apps from Play Store.

To Intercept and modify HTTPs Requests from Chrome, Firefox & Edge browsers, you can use the native browser extensions. You can install them here

Chrome Store
Edge Store
For Firefox

To Intercept and modify HTTPs Requests from Mobile Apps, Mobile browsers, or Desktop Apps like Terminal, Slack, etc, you can use the Desktop App.

Desktop App Download for Mac, Windows & Linux

Once you download the desktop app, Setting up Interception is a two-step process

Donwload and Install the SSL certificate generated by the Requestly Desktop app on your Android device
Configuring Proxy Settings so that traffic can be passed through the Requestly desktop app installed on your device

To set up interception traffic from Android apps, you can refer to the following

https://developers.requestly.io/setup/android-apps/
https://requestly.io/blog/modify-http-traffic-from-android-apps/

Hope it helps!

The question is about Android apps and the linked instructions can only work for apps that allow user CAs (which means it works with next to no app except Chrome).


text:
OnePlus Android loses data whenever on a voice call
My OnePlus Android cellphone (OnePlus 9R Android version 13) always loses the data / internet connection whenever a voice call arrives.
Is there any way to get the phone to continue the data connection even when on a voice call?
Voice and data work in parallel if I am on wifi but otherwise a voice call stops data.
Any setting that would fix this? I am on a 4G network.


text:
Show touch point with S-Pen as well (instead of just finger)
Samsung's android shows a cursor while using the S-Pen but hides it when you actually start touching.
In the Developer Options there are 2 relevant options, one shows a nice white circle where you touch, but does not react to the pen, and the "cursor Position" setting does react to the pen, but is in my opinion a bit too much on the screen, especially with the path and all.
So is there some way to get a simple touch indicator that also works with the pen, e.g. for screen recordings?
I am using a Galaxy Tab S6 Lite with Android 13.

There is a small circle on my phone

the small circle generally only appears only when the screen is using capacitive touch (like using fingers or a capacitive stylus, usually recignizable by a wide round rubber tip like 5mm in diameter), but when you use an inductive stylus like the s-pen the circle will not show

The Samsung support page mentions behavior close to what you're describing:

Maybe you’d like to see a pointer displayed on the screen to show the path of your S Pen.

But neglects to describe the setting that would enable this. They do say, however, that it should be found at Settings > Advanced Features > S Pen.
The Verizon support page seems to call it Show pointer. Additionally this video shows an S Pen causing different display responses when screen recording that are available via the screen recording settings through the Samsung floating Screen Recording menu (shown in the video) and further customizable from Settings > Advanced Features > Screenshots and screen recordings.

the pointer is the one I mentioned in the original post, it s only shown while in "air view" which means the stylus is floating just enough above the screen to still be recognized but the tip isnt pressed in by e.g. touching the screen. as soon as you touch down, the pointer goes away.
on the screenshot from the samsung page also shows it under air view.
the integrated screen recorder looks neat (the effect is hilariously huge, maybe it can be tweaked, must have been a comparatively recent addition, I dont remember it being there when I got the tablet a few years ago

Let us know if you find it in the settings of your Tab S6 lite!


text:
Possible to use h264_mediacodec hardware encoder in Android?
Is it possible to use hwaccel h264_mediacodec encoder in Android?
Here is the error I get in Termux:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_mediacodec))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help                   [swscaler @ 0x7493629240] deprecated pixel format used, make sure you did set range correctly
    Last message repeated 3 times
[h264_mediacodec @ 0x73933efe40] Use 1 as the default MediaFormat i-frame-interval, please set gop_size properly (>= fps)                             [amediacodec_ndk @ 0x73633f47d0] Encoder configure failed, -10000                                   [h264_mediacodec @ 0x73933efe40] MediaCodec configure failed, Generic error in an external library
[vost#0:0/h264_mediacodec @ 0x73833f5b10] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.           Error while filtering: Generic error in an external library                                         [out#0/mp4 @ 0x73333f9070] Nothing was written into output file, because at least one of its streams received no packets.                             frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:01.02 bitrate=   0.0kbits/s dup=1 drop=0 speed=2.94x
[aac @ 0x73933f20c0] Qavg: 5968.975
Conversion failed!
~ $

The default h264 codec shipped with ffmpeg in termux seems to be broken (also mentioned here: Hardware accelerated ffmpeg using MediaCodec on Android? )
Meanwhile, you can use the software libx264 encoder with -c:v libx264 as mentioned in this comment on the packages repo: https://github.com/termux/termux-packages/issues/18023#issuecomment-1741926145


text:
I renamed magisk.apk to magisk.zip using fastboot then flashed to /boot, I am on a bootloop
I have a Lenovo TB125FU device, that is the "technical name" for the Lenovo Tab M10 Plus 3rd Gen. I was trying to root it. I already have unlocked bootloader and had PixelExperience Plus by Ponces ROM.
I accidentally flashed magisk.zip instead of magisk.img to /boot using fastboot flash boot magisk.zip. I tried to enter both recovery mode, recovery mode LRM (Lenovo recovery mode) and failed. First recovery mode was I guess non-existent because of the Android 10 fastbootd change, however I was able to boot into LRM, but tried fastboot reboot fastboot from just fastboot, not fastbootd. That didn't change the bootloop, but didn't let me be able to go back into bootloader.
So just fastboot, I suppose that the bootloop after the command is the system trying to go to fastbootd. I tried the hard reset/shutdown mode but didn't work. After doing it, I tried once again rebooting to LRM but it didn't work. The black screen that appears when it's mid bootloop just stays there longer.
I tried adb and fastboot commands during that period but nothing happened. I tried volume down which is what I would use to reboot to bootloader from LRM but nothing happened. fastboot devices command outputted nothing.
I do not know how to fix it and orange state is gone, it doesn't appear anymore when rebooting, it just shows Lenovo and Powered by Android.
I need help please. I'm certain that it's just a soft brick but I have no idea of how to fix it. I don't care about data. I just want a functional system again.

so why you don't flash boot.img or magisk.img afterwards from just fastboot not fastbootd


text:
How to upload HDR videos to Facebook?
Facebook already supported HDR video months ago

https://engineering.fb.com/2023/07/17/video-engineering/hdr-video-reels-meta/
https://about.fb.com/news/2023/07/facebook-video-keeps-getting-better/

I'm using a Pixel 7 Pro and can view HDR videos on Facebook without problem. However when I upload HDR videos captured with my P7P it always result in an SDR output even though the above articles seem to claim that Android can upload HDR. I've also tried on Z Fold 5 and the same thing happens
So how can I upload HDR videos from my Android phone?


text:
Restore WhatsApp data to respective chat locations
My phone has been running low on space lately. WhatsApp gave me the low storage error and then crashed. After freeing a couple of gigabyte on my phone, I went back to WhatsApp, only to discover that my chat history (for all contacts) has been wiped out. However, I discovered that in my phone's settings, it says WhatsApp is using 70 GB (probably all my WhatsApp chat data).
I don't think any files are corrupted, because I went to the WhatsApp data folder in the "My Files" app and I was able to play WhatsApp videos from there.
How can I get my chat history to show up again in their respective WhatsApp chats?


text:
What does the button labeled "intelligent Wi-Fi" do?
My Android cellphone has a drop-down menu with four options:

Wi-Fi Direct
Intelligent Wi-Fi
Advanced Settings
Contact Us

It is Android 13 (Tiramisu). Additional information from the "about phone" menu:

Software information
One UI version
Android version
Google Play system update
November 1, 2023
Baseband version
A546USQS5AWJ1
Kernel version
5.15.78-android13-3-27100863
#1 Tue Oct 3 10:39:23 KST 2023
Build number
TP1A.220624.014.A546USQS5AWJ1
SE for Android status
Enforcing
SEPF_SM-A546U_13_0001
Tue Oct 03 10:49:29 2023
Knox version
Knox 3.9
Knox API level 36 HDM 2.0 - 7
Service provider software version
SAOMC_SM-A546U_OYN_CCT_13_0019
CCT/CCT,CCT/CCT

According to reporting from SamMobile, it allows for more detailed settings about Wi-Fi connectivity to help create a more seamless transition between various Wi-Fi networks and cellular data. Samsung's feature announcement from 2022 has some good details although a no-longer-working video, and their Knox documentation page has some more technical information. It implements features like:

Grey area detection
Preference tracking
Suspicious hotspot detection
Prioritizing preferential traffic (like video calls)
Preemptive switching to cellular data if Wi-Fi is likely to be unstable

Here is an example of some of the settings that may be present (as Andrew T. mentioned, this is Samsung only and may vary among Samsung devices):


text:
Slow Contact Search and Message Forwarding in WhatsApp
I'm facing noticeable delays when using WhatsApp on my Samsung Galaxy A30s. This issue particularly affects searching for contacts and forwarding messages.
The problem manifests in two scenarios: (1) when searching for a contact to start a new conversation, and (2) when trying to forward a message from one chat to another. In both cases, the process can take an unusually long time, sometimes up to two to three minutes.
I have attempted basic troubleshooting steps such as restarting WhatsApp and the device, clearing the huge chats, and updating the app to its latest version, but these actions haven't resolved the issue.
I am seeking advice on how to address or minimize these delays. Is this a common issue with specific resolutions, or are there particular settings I might need to tweak?
My phone is a Samsung Galaxy A30s. The WhatsApp version is 2.23.24.82.
Any insights or assistance with this matter would be highly appreciated. Thank you in advance for your help!

May I know the number of contacts on the device? Also, does the issue also happen on other apps that look up contacts? I wonder if there may be a corrupted contact inside the Android centralized contacts database.

About 1,500 contacts. As far as I see, the issue is unique for WA.


text:
Why am I getting a separate notification for each incoming e-mail?
I recently did a factory reset on my Pixel 6a (running Android 14). Now I find that I get a separate notification in the notification shade for each incoming e-mail. So, for example, if five e-mails have come in since the last time I looked at my phone, I have to swipe away five completely separate notifications.
Before I did the factory reset, the behavior I was accustomed to was a single expandable notification that showed all new e-mails together. I'd still hear the notification alert sound for each incoming e-mail, but it would then just be added to the existing notification rather than generating a new one. I could either swipe them away individually, or swipe them all away with one gesture.
I assume that, at some point, I have changed a setting that governs this behavior, but I can't figure out which setting is relevant. I tried Googling this behavior, but I can't find anything directly on point. What am I missing?


text:
How can I turn on automatic updates of applications or at least notifications on new app updates?
I have a Nokia G22 phone with Android 12. I would like to have automatic updating working, or at least to be notified on new app updates in Google Play Store. In Applications > Google Play Store I have "Updates available" notifications turned on. I even have automatic updates of apps turned on through wi-fi. I am connected to wi-fi most of my daily phone use. Currently I need to check and run the updates manually in Google Play Store > tap to my profile > Manage applications and devices > Updates Available, and each time I check it, I see tens of updates available. How can I automate this? What else should I check to be turned on?

Play Store only does automatic updates on a very specific condition listed in Manage app updates, particularly when the device is charging and not being used.

The specific condition (connected to wi-fi & charging & phone not used & apps not running) is met every day.

You can try clearing the cache of Play store first and if that doesn't help clear data too followed by a reboot. You might need to do some extra things like setting up cards in your wallet etc if you delete data but nothing catastrophic


text:
"Double-tap to wake" does not work after a few hours of non-use on Realme
I always use the "Double tap to wake" feature on my Realme device running on Android 13. But lately, the feature suddenly cannot be used after my device has not been used in a few hours (usually when I sleep).
After I look at Settings > About phone > Status > System uptime, it shows a time of about 2 or 3 hours active system, where it should have shown more than 2 days. Even though I'm sure if I don't reboot my device.
Is this normal?

"Even though I'm sure if I don't reboot my device." your device could have reboot by itself. I don't know which device you're using since you haven't mentioned it, but Samsung has a setting "Auto optimization" that will reboot the device automatically when it is not being used.

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

I use realme, in my case can it be caused by the battery settings?


text:
How in Termux to kill a process by PID when this process is running non-stoppable, e.g. vim after a typo cannot be closed?
In my case it often happens that vim becomes non-operatable, does not accept key-strokes nor mouse actions and cannot be closed.
When vim runs in bash in one of the many windows below Konsole in  KDE/Kubuntu, I can switch to another window and can kill vim by
kill -9 PID

How to do such kill when vim runs in a single instance of Termux?

Some more details:
I have done:
:!ps

And I have seen the PID of vim.
Then I typed
:!kill -9 PID

Result: this instance of vim with this PID was killed, but automatically an new vim process was invoked with a new PID.
Now I thought, I have to stop this procedure, and I gave
:!kill -SIGSTOP PID

Result: all was dead.


text:
Q1: When one instance of Termux is running, how to launch a second instace? - Q2: If two instancies running, is there a way to merge the two shells?
My installed Termux is currently blocked, not working due to problems of a process the shell is executing and additionally because the shell  itself is in the SIGSTOP state.
On the one hand I would like to continue the current work by the second instance of Termux. The existing data could be used.
On the other hand I would easily raise the SW blockade if I would be able in one shell to read the PID and to kill the PID in/of the other instance's shell. I.e. as if the shells of the two Termux instances would be the shells of two windows under Konsole in KDE.
How to do?
Regards

This is quite easy, once you find out how. The Termux Wiki's User Interface page has the details.
To summarise, there's a "navigation drawer" which allows you to create multiple sessions and switch between them. Swipe inwards from the left edge of the Termux window to access it. It shows you a list of the current sessions, whose default names are [1], [2], [3] and so on, along with two controls. KEYBOARD toggles the on-screen keyboard on and off, and NEW SESSION creates a new session.
From within a Termux session, ps will list the processes of that session, ps -e lists the processes in all the Termux sessions, and ps -ef shows more complete information about the same set of processes. There's also top available, which may well help your find out which process to kill.

== 16.12.23 11:30 thanks, I will use this when Termux is running again. But I think we have a missunderstanding: You mean within one Termux instance to run multiple shell instances, each one called a session. I need to launche a second Termux. Regards

There doesn't seem to be a way to launch a second Termux. However, it appears that the Termux supervisor is a separate process from the bash shell that it runs. Have you tried launching a second session within your stuck Termux?

== 18.12.2023 16:05:: thanks to john dallman. But I do not understand your "have you tried launching a second session session within stuck  Termux?" -- Fact is: Termux presents only running crazy vim. In this vim I can come into the Ex-cmdline by ":".  There I can execute shell commands  by prepending them with "!", e.g. "!ps:.Within Termux (ordered by start time) folliwing processes are running: login-bash_1, vim, bash_2, bash_3, my ps.  bash_3 not sure, not always. All these stages are self-relaunching. If I kill one, it revives and revives its children. ..continue

== 18.12.2023 17:35 ..continueing:: I need to act from outside of Termux effecting Termux and what in Termux runs. I have installed all 3C-tools, 3C Task Manager etc. I can kill Termux. If I type on Termux icon, Termux runs again with the described problems. I think, Termux to know that it has to run in the same kind again, can have this knowledge only from cashe. But if I clean cashe by 3C App Manager Termux makes again all the same: runs vim, runs all processes revivable. My agenda: I will try to clean cashe in another way.  Regards

But I do not understand your "have you tried launching a second session session within stuck Termux?" What I meant was: Start Termux. Swipe a finger across the screen, starting at the left edge of the Termux display. Does a menu of sessions pop up?

== 19.12.2023 01:40:: Thank you for having recalled swipe gestures. I have lost uncountable many emails after gestures were invented in email clients. Now, in this case, swiping from left edge to right opens a side menu. On top is "[1]", i.e. one shell level, called one session. At bottom two buttons: "keyboard" and "new session", If I hit right button a new session is created with "[2]". Both sessions have the same behavior with revivable processes. The terminal names differ: /dev/pts/0, /dev/pts/1. In the neantime I have made cache clean by  settings of Android, yields 0 B. No help. Regards.

== 19.12.2023 20:25 I am about to find the cause. There is an error message "E282: Cannot read from "~." ". This comes from vim. vim is being executed with the command line: "vim -u  ~.". This means vim cannot read the .vimrc file. I dont know since when and why the complete file path specification does no more exist. Now, how to kill processes. In the Ex-cmdline of vim executing bash commands:  set priority of vim to lowest value; then killall -9 -g vim; This kills all, even Termux is no more running. No Termux window more ...

== !9.12.2023 21:10 cont. No Termux window more. In Android settings -> Apps -> storage -> cache clean. I clean cache. 0 Bytes is displayed. Then to begin again, I hit the Termux icon. Then all is the same again, Termux running with the described processes with all described problems. Open question: where is that stored, that Termux despite cleaned cache starts with the same behavior. Regards

== 21.12.2023 14:20 Found somewhere in Internet that "Failsafe" mode is possible. Tried. Invoked below of Termux a bash session in "Failsafe". Moved "vim" to another name. Proved, was done. Result: In this Failsave shell vim cannot be executed more. But in other bash sessions and if Termux is  invoked anew, vim is no more renamed, and all problems again. Next steps and next questions: I will write a new post: "When restoring Termux from a backup, how can I specify which shell Termux to use (sh or bash or ...) and how to specify which init files this shell to use?" Regards

== 25.12.2023 10:40 after some measures, problems continue, but differ: I have temporarily restored a Termux from the second last backup. by this I have with tar deleted the archive member in the last backup archive: "./usr/bin/vim". Then I have re-restored the last backup. Now process vim cannot be perpetually relaunched after killing it. Now it is login shell and  process less. The processes below Termux in start-time order are: login shell, less +G, sigsus, my ps. I am afraid that, if I would remove member less from archieve, another process would be relaunched continuously. Regards

== 26.12.2023 13:20 The first shell below Termux has the PID of session leader, calked SID. I have managed to write a shell script which gets the SID and which then kills all processes below SID by means of pgrep -d " " -P $WE_sid. Ru

== 26.12.2023 13:20 The first shell below Termux has the PID of session leader, called SID. I have managed to write a shell script which gets the SID and which then kills all processes below SID by means of pgrep -d " " -P $WE_sid. Executing this script in SID shell it does what it should do but additionally it kills the SID shell. Then the SID shell and all processes below are re-launched, revived, all with new PIDs, also the SID shell with new PID. That should not be. Is that a bug? Is there a way for me to heal the defficiency or have I to wait for the developers? Regards


text:
Stuck on Recovery Mode 3.0 screen in Redmi Y2
My Redmi Y2 phone was working fine for long time but suddenly I found that "VOLUME UP" key is not working so I tried to restart the phone but it got stuck into Recovery 3.0 screen. It only gives 3 options:

Reboot
Wipe Data
Connect with MIAssistant

Pressing on "Reboot" displays two option:

Reboot to System
Go back to Main Menu

Pressing "Reboot to System" reboots device and again goes back to "Recovery 3.0" screen, this keeps going on. I don't want to loss data so I didn't try "Wipe Data" option. Its not moving out of this screen no matter how may times I reboot it. I tried FAST BOOT by pressing (VOLUME DOWN + POWER) button, but it has no effect, it shows logo for a moment and ended up to same "Recovery 3.0" screen.

Is your device rooted and did you install A Magisk module? This happened to me once when the recently installed module misbehaved//I got out of it by booting into safe mode and disabling that module//Whether this is the case for you or not try booting into safe mode and boot into normal mode from there. Google for instructions to boot into safe mode for your device

Volume Up button is for recovery mode. Repair the button.

thanks, this worked for me after fixing the button. I tried to lift the volume button a little and then reboot the phone by pressing "VOLUME DOWN + POWER" button. It goes to FASTBOOT (took some time to come out of this) and then started normally.


text:
Chats are no longer RCS after restore
I have Android 14 with root. I restored my text messages from a backup made with Swift Backup. Now no conversations are using RCS, even the ones that did before the restore. For example it's now showing the received and red check marks. RCS is already turned on in settings. I tried toggling it but it didn't help. I'm using the stock SMS app. How can I fix this?

Restoring RCS messages is hacky as there aren't real APls in Android to deal with them from Swift Backup Telegram ss stated but developer

Actually, this may be Google's doing:

Google is cracking down on rooted Android devices, blocking multiple people from using the RCS message feature in Google Messages. Users with rooted phones — a process that unlocks privileged access to the Android operating system, like jailbreaking iPhones — have made several reports on the Google Messages support page, Reddit, and XDA’s web forum over the last few months, finding they’re suddenly unable to send or receive RCS messages.
One example from Reddit user u/joefuf shows that RCS messages would simply vanish after hitting the send button. Several reports also mention that Google Messages gave no indication that RCS chat was no longer working, and was still showing as connected and working in Google Messages.

Looks like the question is about restoring text messages as RCS, not about being unable to use RCS after rooting.

That's exactly what I thought at first but then the description explains that conversations are not RCS. Maybe the OP didn't test sending and receiving new messages.
I also wonder if anything can restore the messages to a new phone as RCS rather than them converting to SMS/MMS.


text:
Stuck on Recovery Mode 3.0 screen in Redmi Y2
My Redmi Y2 phone was working fine for long time but suddenly I found that "VOLUME UP" key is not working so I tried to restart the phone but it got stuck into Recovery 3.0 screen. It only gives 3 options:

Reboot
Wipe Data
Connect with MIAssistant

Pressing on "Reboot" displays two option:

Reboot to System
Go bak to Main Menu

Pressing "Reboot to System" reboots device and again goes back to "Recovery 3.0" screen, this keeps going on. I don't want to loss data so I didn't try "Wipe Data" option. Its not moving out of this screen no matter how may times I reboot it. I tried FAST BOOT by pressing (VOLUME DOWN + POWER) button but it has no effect, it shows logo for a moment and ended up to same "Recovery 3.0" screen.


text:
Terminal - restorecon -R isn' running recursively
Device info:
I'm running Phh-Treble GSI Android 13 on a Lenovo TB-9707F device.
Rooted Tablet.
I'm trying to run restorecon -R on a folder to recursively restore SElinux context for the whole tree. If seems that the -R option doesn't work since the results are that it's only restoring the context fof the folder. How can I get it to recursively restore fod the entire tree.
In the following code you can see that when I run restorecon -Rnv on the folder it shows it will only change the folder. Adding the * shows it will change all in files inside tha initial folder. But, again nothing further down the tree.
root:.../ext4-fs/Other# restorecon -Rvn _backup
SELinux: Loaded file_contexts
SELinux:  Relabeling /data/data/com.termux/files/home/ext4-fs/Other/_backup from u:object_r:unlabeled:s0:c232,c256,c512,c768 to u:object_r:app_data_file:s0:c156,c257,c512,c768.
root:.../ext4-fs/Other# restorecon -Rvn _backup/
SELinux: Loaded file_contexts
SELinux:  Relabeling /data/data/com.termux/files/home/ext4-fs/Other/_backup from u:object_r:unlabeled:s0:c232,c256,c512,c768 to u:object_r:app_data_file:s0:c156,c257,c512,c768.
root:.../ext4-fs/Other# restorecon -Rvn _backup/*
SELinux: Loaded file_contexts
SELinux:  Relabeling /data/data/com.termux/files/home/ext4-fs/Other/_backup/Package.list from u:object_r:unlabeled:s0:c232,c256,c512,c768 to u:object_r:app_data_file:s0:c156,c257,c512,c768.
SELinux:  Relabeling /data/data/com.termux/files/home/ext4-fs/Other/_backup/Package.list.txt from u:object_r:unlabeled:s0:c232,c256,c512,c768 to u:object_r:app_data_file:s0:c156,c257,c512,c768.
SELinux:  Relabeling /data/data/com.termux/files/home/ext4-fs/Other/_backup/Repo.keys from u:object_r:unlabeled:s0:c232,c256,c512,c768 to u:object_r:app_data_file:s0:c156,c257,c512,c768.
SELinux:  Relabeling /data/data/com.termux/files/home/ext4-fs/Other/_backup/desktop-files from u:object_r:unlabeled:s0:c232,c256,c512,c768 to u:object_r:app_data_file:s0:c156,c257,c512,c768.
SELinux:  Relabeling /data/data/com.termux/files/home/ext4-fs/Other/_backup/sources.list from u:object_r:unlabeled:s0:c232,c256,c512,c768 to u:object_r:app_data_file:s0:c156,c257,c512,c768.
SELinux:  Relabeling /data/data/com.termux/files/home/ext4-fs/Other/_backup/sources.list.d from u:object_r:unlabeled:s0:c232,c256,c512,c768 to u:object_r:app_data_file:s0:c156,c257,c512,c768.
SELinux:  Relabeling /data/data/com.termux/files/home/ext4-fs/Other/_backup/sources.list.save from u:object_r:unlabeled:s0:c232,c256,c512,c768 to u:object_r:app_data_file:s0:c156,c257,c512,c768.
root:.../ext4-fs/Other#

Try with -D option.

Thanks, I had thought this option meant that when restoring context on a apk it should apply to its data as well. therefore I was worried to try.


text:
Is it possible to only show a subset of calendars on the Pixel Watch 2?
I have several calendars associated with my Google account. Some are my calendars and others are other people's calendars. I only want to display a subset of calendars on my Pixel Watch 2, but keeping access on my phone and desktop. I don't want certain calendars to show up in the Next Event tile or the Next Event complication.
In the Watch app on my phone, under System > Calendar sync, "Sync calendar" is enabled and only the calendars I want to see are checked. Some calendars are unchecked and I don't expect to see these calendars in the Google Calendar watch app, in the Next Event tile, or displayed on the Next Event complication, but I do.
On the watch, I don't see any settings to control which calendars are visible.
Is what I want possible? If so, how?


text:
How can I permanently change my USB tethering IP address?
Question is: How can I permanently change my USB tethering IP address?
Using Android 11 with a known problem of changing IPs.
Only answer I found is How can I permanently change my hotspot tethering IP address? by @irfan-latif .
It would be best to comment there, but I do not have 50 points...
Problem is that I could not make fixed Android IP when tethering USB. I have rooted Andorid with Magisk, which I understood is a requirement.
With Method 2, I added to /etc/init/usbd.rc (there it is said any .rc file) this, changing to rndis0:
on property:init.svc.hostapd=running
    exec - -- /system/bin/sleep 2
    exec u:r:magisk:s0 -- /system/bin/ip address add 192.168.43.100/24 dev rndis0

But I do not see it working, also 'ip address' on Android does not show that range.
Note: there is a related question at How to make Ethernet work on Android over OTG?.
Anyone may also help with mentioning this question there, hopefully mr. Latif would notice.


text:
Deploy Android apps via Microsoft Intune from alternative sources
Has anyone experience or knowledge of whether it is possible to deploy Android apps via Microsoft Intune when the source of apps is e.g. the F-Droid app store?
I am considering setting up fully managed Android devices at work, and I am also quite fond of the idea of using open-source apps.
However, installing F-Droid and giving the users the privileges to install apps somehow defeats the purpose and premise of the devices being fully managed.

Have you tried this for providing non Play Store apps via Intune?  https://learn.microsoft.com/en-us/mem/intune/apps/lob-apps-android

@Robert, not yet. I guess the lack of alternative methods means that there's not integration for alternative app stores.


text:
How to prevent mobile Android app from tracking when you uninstall and reinstall apps?
I would like to create 2 accounts for the same Android app. First one account, them remove the app, install it again and make new account. However I need to make sure that the app cannot recognize that I already installed that app in the past.
Do Android apps have ability to keep some kind of cookies or some other type of history when you uninstall it? If yes, is there any option to remove that history?

usual ways for an app to detect your device //If you root your device you can possibly spoof some methods. As a normal user, there is no way

There is ANDROID_ID which stays the same if you uninstall and reinstall an app (or simply clear app data). On unrooted devices only a factory rest changes thus UD.

Would factory reset and changing ANDROID_ID do the trick?


text:
Notifications randomly stop being shown from Telegram
I recently bought an Android 13 phone (Ulefone Armor 24 if that matters), and I stumbled upon a problem that oftentimes I stop getting notifications from Telegram about new messages.
Judging by my research that might affect other apps. But I don't have any other app whose notifications I heavily rely upon to confirm or disprove that.
Further research showed that most of the times when that happens, if I go Settings → Applications → Telegram, I see that the Stop button is grayed out, which implies the Telegram background service got stopped.
At first I was blaming Duraspeed, which is default-enabled on this phone and presumably might cause such problems. But after I added Telegram to Duraspeed exceptions nothing changed. So apparently that is not it.
Today that problem got repeated, so I tried to peek at system logs with adb logcat, and found this hint:
12-16 03:01:01.577  1458  1489 I ActivityManager: Start proc 27895:com.pri.morning.kill/1000 for service {com.pri.morning.kill/com.pri.morning.kill.service.MorningKillService}
12-16 03:01:01.616  1458  2488 V ActivityManager: New death recipient com.android.server.am.ActivityManagerService$AppDeathRecipient@ffe6c1f for thread android.os.BinderProxy@33fab6c
12-16 03:06:58.537  1458  2790 D CompatibilityChangeReporter: Compat change id reported: 171306433; UID 1000; state: ENABLED
12-16 03:06:58.537  1458  2790 D CompatibilityChangeReporter: Compat change id reported: 218533173; UID 1000; state: ENABLED
12-16 03:06:58.541  1458  2790 V SettingsProvider: packageValueForCallResult, name = null, value : Bundle[{_track_generation=android.util.MemoryIntArray@bd, value=null, _generation_index=3, _generation=825}]
12-16 03:06:58.563  1458  1487 W UsageStatsService: Unexpected activity event reported! (ru.perekrestok.app/ru.perekrestok.app.presentation.MainActivity event : 23 instanceId : 37428045)
12-16 03:06:58.564  1458  2488 D WindowManager: setParent old=Task{a725e80 #844 type=standard A=10182:ru.perekrestok.app U=0 visible=false visibleRequested=false mode=fullscreen translucent=true sz=0},new=null,this window=ActivityRecord{a4602 u0 ru.perekrestok.app/.presentation.MainActivity} t844 f}},callers=com.android.server.wm.WindowContainer.removeChild:772 com.android.server.wm.TaskFragment.removeChild:2592 com.android.server.wm.Task.removeChild:1499 com.android.server.wm.Task.removeChild:1482 com.android.server.wm.WindowContainer.removeImmediately:828 com.android.server.wm.WindowToken.removeImmediately:350
12-16 03:06:58.567  1458  2488 D WindowManager: setParent old=DefaultTaskDisplayArea@84346286,new=null,this window=Task{a725e80 #844 type=standard A=10182:ru.perekrestok.app U=0 visible=false visibleRequested=false mode=fullscreen translucent=true sz=0},callers=com.android.server.wm.WindowContainer.removeChild:772 com.android.server.wm.TaskDisplayArea.removeChildTask:359 com.android.server.wm.TaskDisplayArea.removeChild:350 com.android.server.wm.WindowContainer.removeImmediately:828 com.android.server.wm.TaskFragment.removeImmediately:2672 com.android.server.wm.Task.removeImmediately:2587
12-16 03:06:58.578  1458  1478 I ActivityManager: Killing 23027:ru.letobank.Prometheus:pushservice/u0a184 (adj 920): remove task
12-16 03:06:58.579  1458  1478 I ActivityManager: Killing 22707:ru.letobank.Prometheus/u0a184 (adj 910): remove task
12-16 03:06:58.595  1458  2488 D ActivityManager: Calling pid 27895 killed pid 26945
12-16 03:06:58.601  1458  2488 I ActivityManager: Force stopping org.telegram.messenger appid=10181 user=0: from pid 27895
12-16 03:06:58.602  1458  2488 I ActivityManager: Killing 24470:org.telegram.messenger/u0a181 (adj 700): stop org.telegram.messenger due to from pid 27895
12-16 03:06:58.610  1458  2488 W ActivityTaskManager: Force removing ActivityRecord{8102054 u0 org.telegram.messenger/.DefaultIcon} t846 f}}: app died, no saved state
12-16 03:06:58.611  1458  1487 W UsageStatsService: Unexpected activity event reported! (org.telegram.messenger/org.telegram.ui.LaunchActivity event : 23 instanceId : 221610919)
12-16 03:06:58.613  1458  2488 D WindowManager: setParent old=ActivityRecord{8102054 u0 org.telegram.messenger/.DefaultIcon} t846 f}},new=null,this window=Window{1ea58b4 u0 org.telegram.messenger/org.telegram.messenger.DefaultIcon},callers=com.android.server.wm.WindowContainer.removeChild:772 com.android.server.wm.ActivityRecord.removeChild:4475 com.android.server.wm.ActivityRecord.removeChild:388 com.android.server.wm.WindowContainer.removeImmediately:828 com.android.server.wm.WindowState.removeImmediately:2514 com.android.server.wm.WindowState.removeIfPossible:2704
12-16 03:06:58.617  1458  2488 D WindowManager: setParent old=Task{ded0031 #846 type=standard A=10181:org.telegram.messenger U=0 visible=false visibleRequested=false mode=fullscreen translucent=true sz=0},new=null,this window=ActivityRecord{8102054 u0 org.telegram.messenger/.DefaultIcon} t846 f}},callers=com.android.server.wm.WindowContainer.removeChild:772 com.android.server.wm.TaskFragment.removeChild:2592 com.android.server.wm.Task.removeChild:1499 com.android.server.wm.Task.removeChild:1482 com.android.server.wm.WindowContainer.removeImmediately:828 com.android.server.wm.WindowToken.removeImmediately:350
12-16 03:06:58.620  1458  2488 D WindowManager: setParent old=DefaultTaskDisplayArea@84346286,new=null,this window=Task{ded0031 #846 type=standard A=10181:org.telegram.messenger U=0 visible=false visibleRequested=false mode=fullscreen translucent=true sz=0},callers=com.android.server.wm.WindowContainer.removeChild:772 com.android.server.wm.TaskDisplayArea.removeChildTask:359 com.android.server.wm.TaskDisplayArea.removeChild:350 com.android.server.wm.WindowContainer.removeImmediately:828 com.android.server.wm.TaskFragment.removeImmediately:2672 com.android.server.wm.Task.removeImmediately:2587
12-16 03:06:58.625  1458  2488 I ActivityManager:   Force stopping service ServiceRecord{ec3cd7a u0 org.telegram.messenger/.NotificationRepeat}

So apparently some MorningKillService appears and just kills everything on left and right. And there is no matches on the internet for that word ATM. Any idea what is this about?

Trying to search the word kill over the settings came up with some built-in app called "Smart Killer", with "Disable" button grayed out and only "Force stop" being active. No idea what is that. Tried "force stop"ping the app, will see if that changes anything.

Seen this? https://www.reddit.com/r/ulefone/comments/ls2y5w/ulefone_armor_7_and_background_app/

@beeshyams thanks, no, I didn't; however the post is about Duraspeed app which I found on my own (thankfully at random times it posts a notification that it suppressed some apps), and as I mentioned in the post I added Telegram to its exceptions. So unless there's some bug in Duraspeed regarding its exceptions, it's not the root of the problem.

That is unfortunately a quite common problem with cheaper brands - they're gaming the battery life metrics by very aggresively terminating apps in background and preventing them from receiving messages. They usually have some kind of allowlist for most known messaging apps, but Telegram commonly doesn't make a cut.
There's even a website dedicated to that problem: https://dontkillmyapp.com/
Usually it's possible to allowlist Telegram by finding an option related to smart battery savings, "app killer", "app suspend" or "app blocker".
In case of Ulefone, it's probably called "Duraspeed", here's Threema's entry on how to allowlist it - for Telegram it will probably be the same: https://threema.ch/en/faq/push_ulefone_armor_8

I mentioned Duraspeed both in my question and in the comments to someone else who brought it up  I found indeed battery-related settings about restricting rarely used apps, however the list does not include Telegram. I'll write an email to Ulefone on Monday if no ideas would come up, but as it stands I tried everything that was mentioned.


text:
adb daemon started but no device detected
I need help with adb. I'm using rooted Xiaomi Redmi 6A (Android 9). Recently, I flashed the Magisk ADB Root module, which is used to access adb root command (adb push, adb pull). This module utilizes the adbd daemon running on your phone with root rights. It did actually work, but with one problem - now I can't use adb outside of TWRP recovery.
Since I already did what I wanted to do with adb root, I uninstalled this module - but it didn't do anything. Every time I'm trying to use adb, the daemon is started successfully, but adb doesn't see any devices attached. This isn't a problem with the cable or PC - before using this module, it all worked without issues. Inside the module file, I found a setpolicy.rule file:
allow adbd adbd process setcurrent
allow adbd su process dyntransition
allow su * * *

I'm looking for a way to reset adb/adbd settings to default, which hopefully would fix my problem.
(I did try to contact them via their Telegram, but it seems inactive).

After seeing the module, I think the module only replaces adbd daemon on Android with the patched adbd binary. If you have any problems after installing this module, you can uninstall them, and reboot, since the Magisk module doesn't affect your system permanently.
You can restart adb daemon on a Windows PC with adb kill-server and then relaunch with adb devices.
And make sure you activate adb on developers mode.
If you want to automatically turn on adb on boot and allow adb root, try my Magisk module: Adb-Root-Enabler

Thanks for the help. Unfortunately, I did uninstalled this module and rebooted, but the problem persisted - 'adb devices' still can't see my phone. I'm hoping that if I reset all command modified by setpolicy.rule to default, it would fix my problem. Do you know the default values for these three arguments from my post?

I have no idea to revert back, afaik, magisk will not apply that sepolicy.rules after the module uninstalled, for reference, start from here, latest magisk will copy all sepolicy rules
https://github.com/vvb2060/Magisk/blob/bb39a524d05f0fb08cf4c8d9698d35e4725563d8/scripts/util_functions.sh#L715C8-L715C8
then line 584 will copy to directory $(magisk --path)/.magisk/preinit/module_name/sepolicy.rule,  in order to show current policy you can use magiskpolicy