text:
Android-13 : help with logcat analysis please
logcat does not reveal what might be holding back Android-13 boot, I am not an expert at this.
In terms of Software, we have a setup to build Android-12 succesfully for our specific lunch menu & device spec (arm64 based). For Android-13 we have used the same setup and pointed to the following source branches.
ANDROID_BRANCH=android-13.0.0_r18 KERNEL_BRANCH=common-android13-5.10-2022-12
Console trace ends up in a OnBootPhase_XXX loop continually incrementing with similar output repeating. Nothing obvious seem to stand out in the trace such as Fatal errors
01-17 12:43:14.120  2587  2587 I SystemServiceManager: Starting phase 500
01-17 12:43:14.122  2587  2587 D SystemServerTiming: OnBootPhase_500
01-17 12:43:14.124  2587  2587 D SystemServerTiming: OnBootPhase_500_com.android.server.security.FileIntegrityService
01-17 12:43:14.125  2587  2587 V SystemServerTiming: OnBootPhase_500_com.android.server.security.FileIntegrityService took to complete: 0ms
01-17 12:43:14.127  2587  2587 D SystemServerTiming: OnBootPhase_500_com.android.server.pm.Installer
01-17 12:43:14.129  2587  2587 V SystemServerTiming: OnBootPhase_500_com.android.server.pm.Installer took to complete: 0ms
01-17 12:43:14.130  2587  2587 D SystemServerTiming: OnBootPhase_500_com.android.server.os.DeviceIdentifiersPolicyService
01-17 12:43:14.132  2587  2587 V SystemServerTiming: OnBootPhase_500_com.android.server.os.DeviceIdentifiersPolicyService took to complete: 0ms
01-17 12:43:14.134  2587  2587 D SystemServerTiming: OnBootPhase_500_com.android.server.uri.UriGrantsManagerService$Lifecycle
01-17 12:43:14.161  2587  2587 V SystemServerTiming: OnBootPhase_500_com.android.server.uri.UriGrantsManagerService$Lifecycle took to complete: 26ms
01-17 12:43:14.163  2587  2587 D SystemServerTiming: OnBootPhase_500_com.android.server.powerstats.PowerStatsService
01-17 12:43:14.172  2587  2587 E StatsPullAtomCallbackImpl: Failed to start PowerStatsService statsd pullers

Eventually the following line in trace gives a hint that it has given up.
01-17 12:44:30.645  2160  2791 I keystore2: keystore2::watchdog: Watchdog thread idle -> terminating. Have a great day.

I realise this is limited information. I am new here and could not see a way to attach full logcat output.
How do we identify in logcat, the fatal event that prevents progress of boot process.
Any hints/suggestions on debugging this will be much appreciated.

Many thanks @Firelord I have uploaded it here https://gist.github.com/CJ144/625369040e3317cc1bae06f593fe4049

Any feedback would be much appreciated. Anyone who can help unblock this also have the potential to do an unofficial training session on android bringup debug techniques, paid of course.


text:
Are Android framework and operating system the same thing?
I’m learning about the partitions of Android and in one place, they say that the system partition contains the Android framework (https://source.android.com/docs/core/architecture/partitions)

system partition. This partition contains the Android framework.

while on another page, they say that it contains the Android operating system and ROM (https://web.archive.org/web/20221206114048/https://www.codelivly.com/android-partitions-explained-in-simple-terms-layout/)

/system: This partition contains the Android operating system.

So, are the Android framework and the operating system the same thing? Is framework another word for an operating system? No matter how much I google it, I can't find a direct answer to this question.

OS is the code that runs on a device and allows the users to interact with the hardware components. Linux is the core OS (kernel) on which Android runs. Framework defines how an OS is exposed to the developers so that they can write applications for that OS. So from an end user's perspective Android is an OS. From an app developer's perspective Android is a framework which exposes Java APIs.

@IrfanLatif.   A simple answer here, are framework and os the same thing? So can framework mean operating system? Im learning thats why Im asking… On the android source site they write framework because they are developers?

Almost all operating systems are frameworks, but not all frameworks are operating systems. Your confusion is not mainly about Android but OS vs framework. https://source.android.com explains Android as an OS (for OEMs and ROM developers). https://developer.android.com explains Android as a framework (for app developers). system/vendor partitions contain all the executable code, shared libraries, configurations etc. which the Android OS as well as the third-party apps need to run.

Related: How to quickly understand the Android UI

@irfanlatif.   So when it says that the system partition contains the android framework, it means that it contains the os?

with regards to what partitions are concerned, "yes" it's the "same thing" Is Android based upon Linux?

The Android framework is part of the operating system. The Android operating system has a lot of components. Here's a diagram from the Android developer documentation.

The system apps are Android applications that provide the tools everyone uses on a smartphone: 'phone dialler, e-mail, calendar, camera, and so on.
Those do most of their work by using functions from the Java API framework.
The next layer of the stack is native-code libraries which either do computational heavy lifting for the Java framework, or actually run the Java (or Kotlin) code that most apps are written in.

The Hardware Abstraction Layer provides standardised interfaces to hardware. For example the Camera app will check what cameras exist via the Camera HAL and send commands to it to actually take pictures.

The Linux kernel manages the computer aspects of the device, starts and stops apps, and so on. Power management is mostly done here, and is absolutely vital to give devices reasonable battery life. The kernel also contains the device drivers, which are quite specific to the hardware of the 'phone or tablet it's running on.

All of these parts of Android are built and put together by the device manufacturer, in the "ROM". That certainly contains the Android Framework, which is the part of the operating system that most apps interact with, but it also contains all the other software in the stack.

source: Stack Exchange

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

sort: votes


text:
How do I enable continuous scrolling in the Nook app?
Is there a way to enable continuous scrolling on the Nook app for Android? The Kindle app allowed me to read by scrolling vertically, but I can't find a similar option in the Nook app.

I don't use the Nook app so I don't know, but if there is no option to scroll vertically, then it needs the developer of the app to implement that feature first.

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


text:
Are system image and system partition the same thing?
Are system image and system partition the same thing? Are boot image and boot partition the same thing? Been reading about system root and system-less root. On some pages it says you have to modify system partition or boot partition, while on other places it says you have to modify system image or boot image. So is partition and image the same thing?

Does this answer your question? What system should i back up ? system_image or system

@alecxs A good answer you have written in the linked question, but I don't think this TWRP specific answer matches this question as it seems to be a more general question.

An image is a file you have on your PC that contains the data of a partition (or multiple) that can be flashed to an Android device. On the other hand the partition is the data that had already been flashed. Thus the difference is modifying a file on your PC vs. modifying data of an partition directly on your phone. But there may be users who talk about "modifying system partition" while they actually talk about modifying the image file of a system partition.


text:
Bluetooth terminates calls
My Samsung S9 terminates phone calls or streaming when I turn off connected device.
How do I stop this happening? Its most annoying when I park my car abd have to call back due to disconnection.

Since the phone call is routed to my car when connected, I have never tried this.  Why would I want to risk losing the call ?


text:
SD card Adopted as Internal storage
Using Pixel experience Rom based on Android 12 on Nokia 6.1+.
Mistakenly adopted SD card as internal storage
and while the files/data was being transferred from phone to Sd card/ shared internal storage,
it got interrupted by a notification and I clicked on it to see it thinking that the file must be transferring in the background window.
Then
on seeing the files(Images)
I was able to see just their thumbnails and on selecting individually the files just kept loading.
Then
I removed the sd card without 'EJECT'
which made the matters worse.
So
I then, copied this corrupted data to my PC.
I don't know if while adopting the sd card as internal storage,the files got encrypted or not, as I was able to see the image names as they were stored before in the phone.
Then I formatted the sd card as Portable storage.
Then tried to copy and paste the data stored on my PC to SD card hoping it would be readable but it wasn't.
Then
using this sd card and another Sd card experimented by copying and pasting the PC data to then both as Portable and internal storage multiple times just to make the data readable but couldn't.
Can this data stored on my PC become readable again?
Can it be repaired somehow ?
Almost all of the 30gb data is images and few videos.
Can somebody help me to Get my data repaired and become readable.
How to do so ?
Plz help!

Based on your comment about 30 GB data on the previous question, is it the same issue as your previous questions?

It's related to that. Are there any chances to make the corrupted & encrypted data readable again?

Realistically since the data is encrypted AND corrupt, and you have reformatted the SD card (meaning the encryption key is gone now), the data is lost...

What if I didn't forget or format my 1st SD card as Portable storage & just adopted another Sd card as internal storage. Would the Device be containing 2 separate decryption keys for each card in that case?


text:
Finding Decryption Key and how to use it to decrypt
Nokia 6.1+ device using pixel experience ROM based on Android 12.

Adopted SD card as internal storage and removed it without 'Eject'.
Afterwards couldn't read the data even on the device itself.
Copied the encrypted data ( mainly images and videos) to my PC.
Tried to make the data readable again, copied and pasted the data to another 2nd SD card by adopting it as internal storage, didn't work.
Adopted it as Portable storage as well. Could not read the data any way.
I Adopted 2nd sd card as Portable and internal storage multiple times but neither formatted nor "Forget" the 1st SD card

1 - Does the device store separate Keys for different sd cards when they're adopted as internal storage?

Can the Original 1st key still be inside the device system files as I didn't format or changed any system files?

If just one latest key is present inside the device, could this key decrypt my data which was 1st encrypted??

Could this last key be used to deduce the 1st key ?

I have Root access on my device and Encrypted data on my PC.
Using CX file manager can access data/misc/vold folder which contains the decryption key
But those KEYS inside are not being read by my android device.

How to access and Read the decryption Key(s)?

Then Can I copy and paste the Vold folder and save the keys on PC?

How to read and then use the decryption key to decrypt the encrypted data stored on my PC?

Thanks

Does this answer your question? How to decrypt Adopted Storage?

Please read What should I do if no one answers my question?. Sorry, I'm going to close all your previous questions as a dupe to this question because asking the same question multiple times is discouraged. Please continue the progress on this question so that the info is centralized to help potential answerers. The fact that no one has answered probably means that they don't know the solution, or it's otherwise a really difficult/impossible task, so please be patient. Thanks for your understanding, I really hope for the best outcome.

This seems like a bug in your custom ROM. File based encryption is static whose keys are within the device at secure place so removing the adoptable storage and putting back in is like powering off your phone and turning it on once again. FBE keys for adoptable storage are tied to its GUID which doesn't change. Can you read data which is on your phone?

No the data (mainly images & videos) is not readable in the device. As I said, I removed the adopted SD card without 'EJECT' and Data/Misc/Vold can be accessed as I hv root access. There are multiple .key folders inside it but they are not being read on Android.

The ROM has corrupted your filesystem. Removing the adopted storage without ejection does not corrupt the data. It works once again after reinserting the storage. Your filesystem cannot be repaired because what data block is causing the ROM to not recognize your filesystem is not known. Once you know the error with experiments, you will be able to fix it. Try analyzing the raw filesystem metadata with some tools.

According to your other questions, what you want is decrypting adoptable storage on FBE file encryption.
Nobody knows and nobody will answer. All the information is outdated, it's all about FDE block device encryption.

Let us continue this discussion in chat.


text:
Location of wallpaper and lock screen images on Android 13
I have two different images that I use for my wallpaper and my lock screen. These images are of my two oldest sons and have been used for wallpaper and lock screen for a long time. I just had another kid and it is time to update these images to include all three of my boys. Problem is that I cannot find the images and am afraid that if I update the wallpaper and lock screen images, then the current images will be lost forever. I can't lose these images forever. Can anyone tell me how to locate them so that I can copy them to a safe location. I have seen a couple of posts for older versions of Android but it does not seem to apply to Android 13. The path provided in these posts dose not exist on my phone (or tablet).
Edit:
It was suggested that I include device info. Here it is.
Phone: Samsung Galaxy S20 FE
Tablet: Samsung Galaxy Tab S7+

I'd assume you have seen Lock screen wallpaper location. As the answers hint, the device needs to be rooted for the user to see and access system files. It also may depend on the manufacturer since they can and do customize the Android OS, so mentioning the device model might also help.

Hi Andrew. Thank you for replying. What does "rooted" mean. I am just someone who uses these devices. I do not know much about how these devices actually work (i.e. low level stuff).

Rooted means that the device has been modified to provide access that is normally not granted by the manufacturer. If you just buy and use a phone it is not rooted. As a certain step in the rooting process erases all user data it is also not an option for you. So the only thing you can do is making screen shots of your launcher without app icons to preserver the visible part of your background image.

Thank you for your reply. I know now what I must do.


text:
What is the most modern mobile browser possible to install into an old Android 1.5, 1.6?
I got in my hand an old Sony Ericsson Xperia X10 mini pro from 12 years ago and this is a quite nice, beautiful, and outdated Android. I do have however interest in seeing how modern mobile apps behave on this device.
The default Android browser simply doesn't open any page anymore, but I got it rooted and installed the first Opera version (6.x) I found on APK Mirror.
Does anyone know which exact version is the most modern browser that this Android 1.6 device can run?

Based on the data from Wikipedia this phone has only 256 MB RAM, which is a very very small amount. So even if you find a working web browser just opening the web browser will most likely require more RAM than you have. I would assume that app you test simly crash directly at startup or a little time later just because of missing RAM.

Cross-checking the Wikipedia entry for Android web browsers with APK mirroring sites, looks like only Opera 12.1 is supported on Android 1.6.
For references:

Browser
Android version

Brave Private Web Browser
Android 4.1+

CM Browser
Android 4.0+

Cliqz
Android 4.4+

Ghostery Privacy Browser
Android 4.1+

Dolphin Browser
Android 2.0.1+

Dolphine Zero
Android 2.2+

Lunascape
Android 2.2+

Firefox
Android 2.0+

Firefox Lite
Android 5.0

Google Chrome
Android 4.0+

Kiwi Browser
Android 4.1+

Lunascape
Android 2.2+

Mercury
Android 2.3.4+

Microsoft Edge
Android 4.4+

Naver Whale
Android 5.0+

Opera Browser
Android 1.5+ (10.1.1011151737), Android 1.6+ (12.1)

Opera Mini
Android 2.3+

Samsung Internet Browser
Android 4.4+

Sleipnir
Android 4.0.3+

UC Browser
Android 2.1+

Vivaldi Browser
Android 5.0+

Waterfox
Android 4.1+

Yandex Browser
Android 4.1+

Note however that despite the possibility to install Opera 12.1, it's still not guaranteed that most modern websites will open due to HTTPS-only and only supporting TLS 1.2 and above, which is only supported since Android 4.4+.

I am not sure if the TLS version of web browsers is really an issue. as this only affects the Android Java API but web browsers are usually written in C/C++ and most likely contain their own SSL/TLS library.

Another point is that a small APK size can imply that the app is just a skin over the Android framework WebView which prior to Android 5.0 was only updated with a ROM update. An old embeddable engine for Android 4.0+ results in a APK of about 20MB


text:
How do I disable skipping chapters with two-finger double taps on YouTube?
When I watch YouTube videos on my ASUS Zenfone 8, if I double tap with one finger to skip forward 10 seconds my input is often misregistered as a two finger tap that skips to the next chapter. This can result in skipping ahead 1 hour instead of 10 seconds.
Is there a way to disable the two-finger double-tap gesture to skip chapters on YouTube? Or alternatively, is there a way to disable or reduce the sensitivity of two-finger gestures on my device?


text:
Test for ARM32 compatibility
I'm trying to programmatically test if a phone supports 32-bit binaries.  The command
adb shell getprop ro.product.cpu.abilist | grep armeabi

seems like it should work.  However, are there other ABI names I need to test for?
(Note: I do know that abilist is unavailable prior to Lollipop and that abi should be used instead in such a case.)

See supported ABIs at https://developer.android.com/ndk/guides/abis#sa

The list of current ABIs is available in the NDK documentation. The 32-bit ARM ABI you should look for on modern devices is armeabi-v7a.


text:
Can APK cause any harm on open (without installing)?
We downloaded some APK files and attempted to open them only to encounter the "There was a problem parsing the package" error. So it didn't even make through to the Install screen. However, as it turned out, the files contained malware with a very high probability (according to VirusTotal).
The question is, could it still cause havoc inside the phone even though it didn't go through a proper installation?

If the APK file was not installed this reduces the probability a lot.
The only way I see that could harm a device would be if the file itself would contain an exploit against the Android MediaStore Service. This service processes all files on the internal shared storage sections (/sdcard/ aka /storage/emulated/0).
The Android MediaStore Service has several vulnerabilities since Android 5 where it was included the first time. Video files, picture files and other file formats were affected, but I do not remember that the ZIP format could also be used to trigger an exploit.
It also depends on what Android versions your phone is running and of course what security patch level your device has.

Android 9, the latest version according to the update tool. Under `Android security patch level' it says December 1, 2020. Here's an actual VirusTotal scan report, if it helps.

Quite often, whenever there are problems during a download cycle -say, your browser developed a conflict during the download of a particular package, and if the error appeared to resolve itself to the browser, no flag (or notification to the user) would be raised. HOWEVER, if the issue ACTUALLY was not fixed completely, and only appeared to be fixed to the browser, then the likelihood of the app installing correctly is remote. The first sign of such a problem would be exactly what you experienced. "Problem parsing..." This message, by itself, will tell you nothing.
But the answer to your question, in THIS case (download issues), would certainly not do your device any harm. Before even posting the question, you should have done SOME secondary tests, to reveal additional information on the situation. The only way that the conditions you described could damage your device, would be if whatever you downloaded was actually OPENED, after download. The first thing I would check, if concerned about possible damage, would be the source of the error. This can be done by examining whatever WAS downloaded. A simple text editor could try and open whatever is there, if it is complete. If it isn't, it SHOULD be deleted right away.
Other items to check are any other things you downloaded from that source.  Since it seems you left everything alone, you should be quite fine. Next time run at least 1 test before beginning to panic ;).


text:
Wiped data from MIUI Recovery and now stuck on recovery
I'm really new to custom ROM and I wanted to install ArrowOS, BUT when I installed TWRP, it didn't boot into it. Instead, when I press the volume up button and the power button at the same time, it started this "main menu" and under it said MIUI Recovery 5.0.
Then I saw some tutorials and I thought I had to press Wipe Data, then I wiped all data, and now I have no ROM, only this Main Menu and fastboot.
When I boot into fastboot, adb doesn't detect my device. But when I use the Main menu, then it does detect the device, but it says it's unauthorized.
Please help me, I don't know what to do.

As stated in quite a few other answers fastboot mode is fastboot mode and not adb mode. For fastboot mode you need fastboot binary and drivers.

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Sorry, we discourage off-channel communication because it doesn't leave a trail for potential answerers on here. While new users are prevented to embed images here (due to potential abuse), you can still upload them somewhere else and link them on the comment, then the community can help embed them to your post.

go to the page wherever you found ArrowOS and read the instructions. ask questions in proper support thread/channel

Wipe Data from MI-Recovery Main Menu does not erase ROM, it is only formatting userdata and cache partitions same as factory reset.

I think did erase ROM because when i boot into the Device it says "Redmi" and the only things i can access are MI-Recovery Main Menu and fastboot

and i just found out that nothing detects my phone when i am in fastboot


text:
Intercept system commands from app
I'm on Android 7.1.2 (Nougat). I have an app that I am trying to pull the exact command /parameters that it is sending to one of my /system/bin apps. It is not in logcat and I haven't been able to find it with strace either.
What I'm looking to do is replace the bin file in /system/bin with another file and give it the same name so it logs the command/parameters that's sent to the binary. Is that possible? And is so how?  How would I go about getting this info.

As long as the binary is not required by the system this is possible. You just need an extended hello world program that prints all of it's arguments. But that should only be required if the command that is executed only runs for less than a second. Otherwise simply printing the command-line using ps -Af may be easier (just create a script that executes this command in a loop and redirect the output to a file you can examine later).

Android is not allowing me to use the command ps -Af stating that it is a bad pid.. What am I doing wrong here?

What phone are we talking about (manufacturer and exact model name). Also is the installed ROM a stock or a custom ROM?

I'm on a teclast P10 - Android 7.1.2.  I'm reading the PS binary got upgraded in android 8 to include -Af. I'm trying to see if I can swap binary. I may go the hello world route that you mentioned but I'm not that familiar with Android to know how to go about that easily.

You just need a BusyBox or TinyBox binary for arm cpu, copy it to /data/local or /data/local/tmp, there you can execute it like busybox ps ...

I have tried that. Busybox isn't giving me the option to use -Af either.


text:
Do not disturb mode doesn't work after upgrading to Android 12
I've got a OnePlus Nord CE 5G. "Do not disturb" mode was working fine with Android 11.
Since the upgrade to Android 12, it stopped working properly. It shows as activated but I keep getting some notifications and sounds (not all of them, but no clue which ones they do and which ones they don't). The settings are correctly configured to not get any notification from any application, and still, I keep getting some even with the screen lock.
Any idea of what to do or how to go back to Android 11?

I had same problem with Android 13.
Eventually, I downgraded to Android 11 and now It's working again.


text:
Is there a way to enable Google Location Accuracy via ADB or via some other command on Android 13?
Within location services on Android 13 devices, there are several services such as Google Location Accuracy.

I have taken a snapshot of secure, global and system settings before and after enabling this setting, but there is no change, which leads me to believe that we can't change it via settings.
I have tried the solutions mentioned here
Enable location services via ADB or shell
But these just seem to affect the location setting and not Google Location Accuracy.
Is there a way from ADB to enable/disable this?


text:
How to prepare full APK ready for side loading?
I've just bought HiSense A5 Pro CC (no Google Play) so I have to side load apps. Maybe it is only a coincidence but so far I have mixed results with creating APK files from my other phone (Samsung XCover 3 or A52s using for example APK Extractor or CX File Manager). Some apps runs fine, some do not respond at all. I.e. after installing them, and then trying to launch the icon only flickers and that's it.
On the other hand all apps I found on APK Mirror website runs fine. I noticed also that the apps I extracted by myself are smaller in size than the ones APK Mirror provides. So my guess is the packages created manually by me are missing some resources.
So how to create truly full APK in APK Mirror fashion?
I am asking since APK Mirror does not cover all useful apps after all. OSM Tracker for example runs fine after "manual" extraction, but I had no such lack with Open Weather -- I extracted it and side loaded with no effect, launching causes icon to blink and that's it.

Are you aware that apps installed from Google PlayStore nowadays consist of multiple APK files (aka "app bundle" or "split APKs") see https://android.stackexchange.com/q/228374/2241 and https://android.stackexchange.com/q/245550/2241

As @Robert indicates, it might have to do with the way how you "manually created" those packages. As you sisn't specify, maybe take a look at this script (part of a project of mine) to see what pieces you might be missing – or feel free to use it directly.

@Izzy, By "manually created by me" I meant what I wrote in the post -- extracting APK from other phone using APK Extractor or CX File Manager. There are no settings for this operation so there is not much to write about, you click on app, and the APK is extracted.

@Robert Ah, I see (I think) your point. I should create "APKs" file, not "APK", correct? I just tested SuperBackup (on source phone) and installed it with APK Mirror app, and this combo worked. So far tested OpenWeather but it is promising.

@greenoldman then maybe those apps do not support split APKs. APK Extractor for example wasn't updated for almost 3 years now. I don't know which ones do support this (my script does), but you could take a look at e.g. APK Kit or Kanade. No promises, though.

It seems to me that it is really a programming question and off-topic here.

@RohitGupta, where do you see programming? Using apps like Skype, Backup or OsmAnd  is programming according to you?


text:
How to view the Google Docs File menu on my Lenovo tablet?
I've googled and seen how to restore the File menu to Google Docs. They tend to say to hit the "two arrows in the upper right". For example, the number one hit that pops up (https://www.solveyourtech.com/file-menu-go-google-docs/) says this:

You can make the menu and toolbar visible again in Google Docs by clicking the downward facing arrows at the top-right of the window.

I don't see any of this on my Android tablet (Lenovo) however. It doesn't seem to make a difference whether I am using productivity mode or not.
Does anyone have any alternative steps on how to get the File menu to appear?
Screenshot of open document:

The linked webpage is about Google Docs desktop but it looks that your question is about Google Docs for mobile. Is this correct or you are using Google Docs in a web browser in desktop mode?

@RubénR I think you are right it would be mobile I am assuming since on a tablet.

The Google Docs app for Android hasn't the same look and feel than the Google Docs web app, some features aren't available.
If you need a feature that is not avaible in the app for Android, try using Google Docs web app. For this, open a web broswer, set it work as a desktop web browser then go to https://docs.google.com.
Related

Is there a Google Docs editor for Android that actually works?
Open Google Docs in Browser

I tried that in Chrome and Google decided to do what it wanted to do. It opened the doc in Google Docs. SMH


text:
ADB command to permanently disable Android 12 microphone & camera indicators
I want to permanently disable the microphone and camera usage indicator on Android 12.
I tried the following ADB command, but it only disable for some minutes: adb shell cmd device_config put privacy camera_mic_icons_enabled false default.
I also tried these commands but nothing changes; it only works for some minutes.
echo off
adb shell cmd device_config put privacy camera_mic_icons_enabled 0
PAUSE
adb reboot
(
echo echo off
echo PAUSE
echo adb reboot
)> adbReboot.bat
Enter
adb reboot

How to permanently disable these indicators?

The following answer is provided by community member Bose:

adb shell cmd device_config put privacy camera_mic_icons_enabled false default
adb shell cmd device_config set_sync_disabled_for_tests persistent

If run in sequence, the second line will disable permanently provided it is Android 13 (on Android 11, this command will not work).


text:
After Deleting .thumbdata file all images in sd card are corrupted
I am suffering from media corruption on my SD Card, I have deleted .thumbdata file on my android phone (Samsung J7 Prime) to freeup space on sd card but after deletion all files are corrupted and showing error while opening.
is there any solution for this issue?

Welcome to Android Enthusiasts! Have try to open the images on a PC to check if they are really corrupted? Try to delete the data of Media Storage, restart the phone.

How did you delete it?


text:
Mysterious device
I see a device in my recent security activity:
New sign-in on sdk_gphone64_x86_64
North Carolina, USA · sdk_gphone64_x86_64
I also see it in my list of Google prompts on my 2 factor authentication page.  However, I cannot remove it from my list of Google prompts and it doesn't show up in Your Devices.
I suspect this may be a test phone that I created in Android studio, but it's very worrying that it show up in the list of Google prompts on my 2 factor authentication page, but I can't get rid of it.

Can you see the devices on https://myaccount.google.com/two-step-verification/prompt? Otherwise, you need to sign out of your Google account from the emulator.

It shows up in that list, but there's no way to remove it.  I have turned off the virtual Android Phone and closed the Android Studio, but I still see it in the list.


text:
Nokia T20 tablet suddenly refuses to load any TV streaming apps
I have been having this problem in and out that literally none of my TV streaming apps (specifically Globoplay and LocalNow) are both having problems loading any content whatsoever. Google hasn't been helping at all. I have a Nokia T20 tablet, released in 2021(?)
Is there any way I can fix this?
Many thanks,
SaturaniumYT
Extra info: This has been a problem that has been going on in and out since I got this tablet when it ran on Android 11 in December ‘22, now running on Android 12.

The Nokia tablet is the only problematic device. I also have other non-android devices that work well with one of the apps, Globoplay (the other i never downloaded on those devices)

I also have a Raspberry Pi 4B running on LineageOS 20 (Android 13) that has both apps, one works fine, the other i have not yet tried.

Let us continue this discussion in chat.

The play integrity app gave me all green checks


text:
How to access the App Drawer on Ulefone Note 14 Pro?
Switched to a new(ish) phone:

Unlocked Cell Phone (2022), Ulefone Note 14 Pro Smartphone Unlocked, 4GB+64GB, 6.52" Waterdrop Display, 4500mAh Battery, 13MP Dual Camera, Android 12, Triple Card Slots, Type-C, GPS, Green

from Amazon but cannot locate the App Drawer.
Certainly, I can go to settings -> apps to see all apps.  What I'm looking for are the icons to apps which I can drag-and-drop so that they're copied to the home screen.
Where is the app drawer?
Not all apps seem available by swiping left and right.

@Andrew_T's answer was the right one, i cannot see it now any more. Long press on the home screen, then in the settings choose all apps in app drawer instead of all apps on home screen. Thanks!


text:
Phone connecting to lot of domains when not in use
I have noticed that my Redmi smartphone is connecting to a lot of sites when I am not even using it.
While going through the DNS logs in 1.1.1.1 vpn app, I have found these domains.
FindMYDevice??

find.api.micloud.xiaomi.net

in.find.api.micloud.xiaomi.net

SUS!

account.xiaomi.com

api.account.xiaomi.com

au.ff.avast.sec.miui.com

cryptauthenrollment.googleapis.com

digitalassetlinks.googleapis.com

e11.whatsapp.net

e6.whatsapp.net

footprints-pa.googleapis.com

g.whatsapp.net

geller-pa.googleapis.com

keybag.id.mi.com

notifications-pa.googleapis.com

playatoms-pa.googleapis.com

qcc.qualcomm.com

safebrowsing.googleapis.com

static.whatsapp.net

www.googleapis.com

I couldn't find any information on these online. Can anyone explain what these sites are used for and what will break if I block them permanently?

Use Tracker Control to figure out which app is calling which URL. You can then block some or all of them depending upon the classification groups Tracker Control uses. That way, you can also figure out if blocking them would break a critical functionality of the corresponding app or not. // I think Tracker Control looks for and shows only tracking URLs. Use NetGuard app's logging facility to log URL access attempts of each installed app.

@Firelord It seems network logging of both apps is less helpful than 1.1.1.1. I couldn't understand anything as it only showed IP addresses. I did enable all the permissions and options for the app to work properly.  It showed WhatsApp sticked with some entries but that's no progress at all as I could already guess it from the domains. No other applications appeared in the entries.


text:
What's the difference between preloader_raw.img, preloader_ufs.img and preloader_emmc.img?
I have a Xiaomi Redmi 9 phone, and in case of this device I use a custom ROM - crDroid. From time to time, I update the phone's firmware by downloading a corresponding firmware package from xiaomifirmwareupdater.com.
When you look inside the firmware package, you can see the following content:
Path = fw_lancelot_miui_LANCELOTEEAGlobal_V12.5.4.0.RJCEUXM_67a1671939_11.0.zip
Type = zip
Physical Size = 40808894

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2022-02-28 13:40:44 D....            0            0  META-INF
2022-02-28 13:40:40 .....       280488       171992  preloader_raw.img
2022-02-28 13:40:40 .....       282536       172052  preloader_ufs.img
2022-02-28 13:40:42 .....            1            3  type.txt
2022-02-28 13:40:40 .....          859          364  scatter.txt
2022-02-28 13:40:40 .....       282536       172052  preloader_emmc.img
2022-02-28 13:40:40 .....     59329408     35869684  md1img.img
2022-02-28 13:40:42 .....      2505440      2166963  tee.img
2022-02-28 13:40:42 .....        37984         7454  spmfw.img
2022-02-28 13:40:40 .....       352816       144110  scp.img
2022-02-28 13:40:42 .....       505616       483321  sspm.img
2022-02-28 13:40:24 .....      1302976       522804  lk.img
2022-02-28 13:40:22 D....            0            0  META-INF/com
2022-02-28 13:40:44 .....         1634         1144  META-INF/CERT.RSA
2022-02-28 13:40:42 .....         2217          999  META-INF/MANIFEST.MF
2022-02-28 13:40:42 .....         2270         1091  META-INF/CERT.SF
2022-02-28 13:40:42 D....            0            0  META-INF/com/android
2022-02-28 13:40:22 D....            0            0  META-INF/com/google
2022-02-28 13:40:24 D....            0            0  META-INF/com/google/android
2022-02-28 13:40:24 .....      2340536      1090127  META-INF/com/google/android/update-binary
2022-02-28 13:40:44 .....         3559          863  META-INF/com/google/android/updater-script
2022-02-28 13:40:22 .....          316          220  META-INF/com/android/metadata
2022-02-28 13:40:42 .....         1594         1077  META-INF/com/android/otacert
------------------- ----- ------------ ------------  ------------------------
2022-02-28 13:40:44           67232786     40806320  18 files, 5 folders

So I have the following questions:

Will the preloader be touched in any way when I flash this zip via TWRP/SHRP recovery?
What's the difference between preloader_raw.img , preloader_ufs.img and preloader_emmc.img ?
In the fastboot ROMs there's preloader_lancelot.bin which (according to the scatter.txt file) goes to:

  partition_index: SYS0
  partition_name: preloader
  file_name: preloader_lancelot.bin
  is_download: true
  type: SV5_BL_BIN
  linear_start_addr: 0x0
  physical_start_addr: 0x0
  partition_size: 0x80000
  region: EMMC_BOOT1_BOOT2
  storage: HW_STORAGE_EMMC
  boundary_check: true
  is_reserved: false
  operation_type: BOOTLOADERS
  is_upgradable: true
  empty_boot_needed: false
  combo_partsize_check: false
  reserve: 0x00

Is this preloader_lancelot.bin file related anyhow to preloader_raw.img, preloader_ufs.img or preloader_emmc.img ?

compare checksum for files. read META-INF/com/google/android/updater-script

It looks like it depends on get_storage_type() -- I have no idea what that would be. But if true, then preloader_ufs.img is flashed to /dev/block/mmcblk0boot1 and if false then preloader_emmc.img is flashed instead.

https://fossbytes.com/what-is-ufs-storage

It's not about the difference between the two, but how do I know which one is used?

with get_storage_type() probably ;) or check partitions https://android.stackexchange.com/q/240767


text:
Force USB tethering on an Android
I am using a Windows system and I want to add my old tablet (Acer Iconia A1-810 without LTE) as a second monitor. It is running Android 4.4.2 Kitkat, and I found an app for Android called spacedesk to do that. Wi-Fi connection is very slow, and I want to use USB Tethering to connect the tablet as a monitor, but there is no option in the tablet settings. So I rooted the tablet to use command lines to start it somehow, but I can't figure out a way. Is there a way to use command lines or some way to force start USB tethering on Android?
So far I tried rooted and unrooted apps to start USB tethering but nothing happens. I'm not sure if the tablet  supports it and if it doesn't is there a way to embed it.
Thanks in Advance!

See if any of the solutions work: https://android.stackexchange.com/q/127930/96277


text:
How to gain administrator privileges on a kid's Android 6 phone?
I have an old functional Honor phone with Android 6 which would be perfect for the little ones to use basic apps such as Spotify Kids or Youtube Kids.
I created a Google kids account, added it to my family and got myself a Family link app for parents where I can control the kid's account.
Then, I have factory-reset the Honor and set it up with the kid's account.
But now I am locked out. I cannot seem to find a way get parent's administrator rights. When I go to Settings > Security > Administrators I can only see an active parents administrator but the setting is grayed out. I cannot access it.
Also, I cannot find any button or app that contains the entry to "parent access."
What can I do?
To add more complexity: I cannot install any apps because the Google Play Services are too old and you cannot update the services without updating them first ;)
As administrator I would be able to manually upgrade the services so that I can restore Play functionally completely (I have done this before). But now with the kid's account I can no longer install apps from untrusted sources (fortunately), but it seems I can also no longer gain parent access.
How to gain administrator privileges on a kid's Android 6 phone? Does anyone remember? Otherwise I might have soft-bricked the device and locked myself out forever.

factory reset again?

I cannot factory reset it without admin privileges.

you cannot enter recovery mode?


text:
Use Pixel watch as Heartrate monitor for phone apps?
I have a Pixel watch and a Samsung S22 Ultra.
I want to use the Pixel watch as a heart rate monitor source for an app on my phone.. however, when I try to pick a heart rate source the watch doesn't show up.
Every web search I do talks about tracking the activity using a watch app.. but i don't want to do this, because it kills the already abysmal battery life.
Is there some way to use the Pixel watch as a connected heart monitor only?


text:
I cant flash a phone because it's locked
I cant flash my cousin's phone because it's locked and it keeps saying "erase is not allowed in locked state"
it's a POCO X3 pro and it got bricked for no reason so I tried everything, and now I tried to flash it but it doesn't let me do that, because it's locked, i cant unlock it because i can't access the ROM, i don't know what to do.

https://forum.xda-developers.com/t/no-auth-firehose.4381683/

never installed custom ROM

sadly i cant pay

no worry you can still use it as paperweight

what do you mean?


text:
whoami: bad uid 0 / Magisk vs. Toybox
I replaced old /system/bin/toybox with a new binary from http://landley.net/toybox/bin then I created symlinks with for i in $(./toybox); do ln -s toybox $i. There is su in symlinks.
Now I cannot open Magisk anymore, stuck at splash screen mask.
Also MiXplorer cannot browse root dirs.
With Terminal Emulator I can still browse root dirs.
If I type which su I get /sbin/su which is a symlink to /sbin/magisk.
I have not yet tried to reboot because I fear to get stuck, maybe it would repair by itself but who knows?
If I type whoami I get bad uid 0, after su shell I get bad uid 2000 and so on.
How can I restore root? I can access TWRP recovery.

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

Turned out new toybox has not all applets Android requires. Had to reboot into TWRP, restore original toybox and delete my symlinks, otherwise Magisk would complain about another su.
Thanks @alecxs for his hints and quick support


text:
How do I create a macro to scan my phone screen for a specific color (Black and white) and then depending on the color click on the left/right side
I'm using the mobile app Macrodroid and I am having difficulty creating a macro that scans a specific part of the phone screen (the middle of the screen) for either the color black or white. Then if it returns that the color is black than I want it to click on the left side of the screen, but if it returns as the color white then I want it to click on the right side of the screen.
I've thought of ways that it can do it for example taking a screenshot and than looking at that for the color, and I even found a plugin that can sort of do that, but I am unable to get it to work properly/know how to set it up. The plugin is called TouchTask.

See https://www.macrodroidforum.com/index.php?threads/pixel-color-detector-pixel-scan.1704/


text:
Is there an app or setting for *volume* equalization?
Whenever I go to sleep, I always have a playlist of YouTube videos playing in the background (on my phone, not a computer or TV). There are several videos or series that I would love to add to my "background noise" playlist; unfortunately, the volume itself on the audio wavers far too much, to the point that the volume I set on my phone is either too high that it risks waking me up shortly after falling asleep, or too low that I cannot hear half of the video.
I have tried searching through various apps on the Google Play Store, but it seems most of them try to equalize volume based on frequency (such as treble and bass), and not intensity (in decibels). I am looking for an app (or if it exists, a setting in my phone) where I can set a limit of __ to __ decibels, and all audio coming out of my phone will be within that range (similar to noise gating but with output instead of input).
If anyone has a solution or app out there that would fit this description, please do let me know. Thank you in advance!
I have tried browsing around in the audio settings on my Galaxy S22+ but have not seen anything that would help. I have also downloaded about 5 or 6 different equalizer apps, but again, they all were based on frequency and not intensity/volume itself.

What you are searching for is called "audio normalization"

Possible duplicates, but not yet properly answered: How to automatically normalize loudness system-wide?, Normalization - Automatic global Android media sound (music videos on YouTube) adjustment


text:
How to add Samsung Galaxy backup to a Xiaomi (different Android) phone?
I had a Samsung Galaxy A8 (2018) phone but its display was dying, so I managed to get a backup of the phone through the Samsung Switch app to my laptop.
Now I got a new Xiaomi phone and I want to add the backup to it, how can I do that?

Related: How can I restore a backup made using Samsung Switch onto an LG phone?

You can't.
The Samsung Switch software allows taking a backup from most non-Samsung phones including iPhone and old Windows phones and, of course, other Android phones, but can only recover backups to Samsung Galaxy phones.

Note: Smart Switch lets you transfer content from old phones to Galaxy devices only. For example, you cannot transfer content to an iOS device.

Source: https://www.samsung.com/us/support/answer/ANS00062998/


text:
How may I completely bypass standard DNS on Android 12?
The Android 12 private DNS setting is unfortunately not set up to accept an IP address, only a hostname. Thus, it clearly must resolve a standard DNS query before doing the TLS or HTTPS query.
I frequently find my connection working but with no standard DNS response.
Is there any way on Android 12 to completely bypass standard DNS?

The purpose of "private DNS" is to keep the host names private you use when using Android. With private DNS only the DNS server name is queried so unless you use a custom DNS server that is only used by you there is no privacy issue.

if the standard dns query is man-in-the-middle hijacked, the entire ensuing private dns connection can also be hijacked, thus i claim it defeats the purpose!  But i've edited that out now because it's aside from the point of my question.


text:
Facebook Messenger changing names of sender
I have received several text messages from person A. The name and phone number were correct. Today, I received a text message from person A. Facebook Messenger has the correct phone number, but all text messages from person A now are listed as coming from another name. All other messages/senders in Facebook Messenger seem to be correct.
I have a Samsung Android phone. My contacts are in Google Contacts. I checked my contacts and both person A and the other person have the correct information. Facebook Messenger has permission to access the contacts.  It seems to work for every other message. It seemed to work fine up until today, when it decided to change the name of the sender. I have restarted the phone, and the problem did not go away.
As far as I can tell, there is zero connection between the two contacts. Two distinct people who have no relationship with each other. Phone numbers from different area codes. They do not have the same email provider. Their names are not close/similar. They do not work at the same company. etc.
I have never heard of this type of problem, and I don't really have any ideas as to how/why Facebook Messenger changed the name of the sender, but still shows the correct phone number. Any ideas/suggestions?

As far as I can tell, there is zero connection between the two contacts.  Two distinct people who have no relationship with each other.  Phone numbers from different area codes.  They do not have the same email provider.  Their names are not close/similar.  They do not work at the same company.  etc

That is good info.  Edit your question to include it for other people.

I suggest editing the google cxontact to see if anything changes.  You may be able to "kick it in the butt" to resolve this.  You should try things like adding a new contact in Goole and removing the old one etc.  Note that Google syncs changes across the cloud so in order to know if your tests are working you will need to include a propagation delay.  Do you see similar behavior in Facebook via a browser?

Okay, I tried a few things that did not work:  I tried clearing the cache.  I tried changing the default texting app to message+.  The problem persisted.

Here is how I was able to "fix" the problem.  I have no understanding of what caused the problem, nor why it persisted.      I deleted the contact for the other person.  Then, I checked facebook messenger.  The messages now showed the correct name.  I re-created the contact for the other person, and it all seems fine.

Glad I could help.  You should try things like adding a new contact in Google and removing the old one

But can anyone explain how/why the name on the text messages got fouled up in the first place?

Not based on the information available to us.  Lots of glue behind the scenes matching disparate information between apps.  See many contact issues like this over the years unrelated to FB.  Google is doing a lot of matching behind the scenes  not to mention Samsung  mods to the experience.  I've seen these kinds of issues and have some tricks to resolve but don't know how you got there.

Hi, looks like you've found the solution by yourself, which is great! Consider posting it as a proper answer since self-answering is not only allowed but even encouraged. Don't worry about answering it now, because anyone else is still able to provide more answers to this question.

According to OP's (now deleted) comment,

Here is how I was able to "fix" the problem. I have no understanding of what caused the problem, nor why it persisted. I deleted the contact for the other person. Then, I checked facebook messenger. The messages now showed the correct name. I re-created the contact for the other person, and it all seems fine.


text:
Facebook Messenger notification sound for contact seems to not be in use
I want to set the notification sound for messages from a Facebook Messenger contact.
When showing the contact profile, there is a "Notification Sounds" menu
and when clicking that, I can select a sound.

However, the system default sound will still play when I receive a message from the contact as if the setting was not in use.
Why?

I don't use Facebook Messenger, but based on similar messaging apps: after selecting a custom notification, does it show on the App info's Notifications?


text:
Android MIUI 13 upgrade: app permission messed up
After the upgrade from MIUI 12 to MIUI 13 on my Xiaomi Poco X3 NFC, the app permissions somehow got messed up. For example: I have some apps that usually run in the background and they now get inactive when locking the phone.
When I inspect the granted permissions of the app, they are shown as granted, but they are not. A workaround I found is uninstalling the app and installing it again, but this isn't a real solution for me.
Is there a way to let all apps ask again for their permission without reinstalling them?
P.S. the phone is stock, no root, no custom bootloader.

I'm not sure if this is actually caused by app permissions, it looks more like due to the background process killer. Otherwise, you might want to clarify which permissions specifically since there are behavior changes on every Android update.

Thanks for the comment, this seems to be the problem. This, plus setting the MIUI Battery Saving Mode to "Don't limit the app" for every affected app solved the problem.


text:
My Google activity taking hours to update
I always use My Activity in my Google account which comprises all activity made with my phone for that day. It used to update quite quickly after each interaction on my device such as apps used, phone usage, etc. However, it is updated every 6-8 hours now.
Does anyone know why and how to fix this? I don’t believe I have changed any settings on my device or Google account.


text:
Cant transfer more than 2.1 GBs to my android phone from computer why is that?
I am trying to transfer 14 GB folder from my laptop to my phone using USB cable but the copy stops at 2.1 GB and doesn't give any error message, is there a way I can transfer the whole folder?

Do you copy the files to internal storage or to an "external" SD-card (non-adopted)?

better use adb push

@Robert internal storage

@alecxs dont know how to do that

Then this is strange, because MTP should have a limit of max 4GB per file and internal storage should be formatted with a file-system that should allow the same size or even more. Your laptop is running Windows? Which version?

enable developer options, enable usb-debugging, connect phone, install ADB drivers, extract platform-tools, (optional) set path, open cmd.exe, type: adb.exe push "C:\path\to\dir" /sdcard


text:
Turn off in app sounds in facebook
How do I turn off in-app sounds in facebook for android 397.0.0.23.404?
There seems to be no section named "media and contacts" in the settings menu.
As a result, every time I push a like button, I get a disturbing sound from the phone.

Facebook app (400.0.37.76)
In the Facebook app, you can follow these items to find "Sounds in the app":

Tap the "Hamburger menu" (three lines) in the top right from the main page
Tap the "gear" for settings in the top right
Tap "Profile settings" (with your name and photo next to it)
Scroll down and select "Media and contacts"
Disable the toggle for "Sounds in the app"

For what it's worth, the "Media and contacts" section also showed up for me when searching in settings for "sound"
Screenshots for help:
Hamburger menu

Settings gear

Profile settings

Media and contacts

Sounds in the app

Facebook Messenger
In the settings of the Messenger app, tap your profile picture in the top-left to get to the settings menu. From there, select "Notifications & sounds", then turn off the "In-app sounds" toggle:


text:
How can I voice type :-) using Google speech recognition in French?
In English, I can type :-) by voice by saying "smiley". How can I voice type :-) in French? I use Google speech recognition on Pixel 6 + Android 12.

According to Utiliser l'Assistant Google pour saisir du texte avec votre voix (English version Use Google Assistant to type with your voice), you must say "Emoji souriant".

Pour ajouter un emoji, dites le nom de l'emoji, par exemple "Emoji souriant".

English version

To add an emoji: Say the name of the emoji, like 'Smiley emoji'.


text:
Gabb Phone Plus third party app installer
I am trying to download apps to my Gabb Plus and it once said (KPE INTERNAL ERROR) which might be different since I took out the SIM card and retried it. Is there a way to hook the phone up to a computer and use a third-party installer? Thanks!
THIS IS NOT A DUPE BECASE THIS IS DIFFRENT<3

Related/possible dupe: How to install APKs on Gabb Plus?. While this might not be an exact dupe, all app installation is processed directly on the phone by Package Installer, so it's no different whether the app is installed from the Play Store, from the PC through ADB, or from the APK file directly on the phone.

Andrew.T First of all its not a dupe,and second the phone is completely locked and they even changed the ROM image.More info here:https://gabbwireless.com/product/gabb-phone-plus/

Yes, Gabb phones are deliberately locked by the vendor so the the suggested duplicate (and comments) is applicable and the answer still is no, you can't, with or without SIM (the lock has nothing to do with the SIM), end of discussion.

Your questions are answered on Gabb Wireless site for Gabb Phone Plus phone.
Quoting from the FAQ at the bottom of the page:

Frequently Asked Questions

Can my child access apps or the internet on Gabb Plus Phone?
Gabb Phone Plus does not have access to the internet or third party apps. Only Gabb curated apps like the calculator, contacts, Gabb Music (subscription required) and more can be used.

Can the Gabb Phone Plus connect to WiFi?
Yes, Wifi is available to help with phone features, but only grants access to Gabb approved apps for purposes such as streaming music through Gabb music (if you have a Gabb Music subscription) and software updates. Gabb Phone Plus does not have access to the internet, social media, or third party app store.

Who manufacturers the Gabb Phone Plus?
Samsung

Side note for:
KPE_INTERNAL_ERROR to me seem like Gabb Phone Plus is using Samsung Knox Platform for Enterprise.
Samsung Knox is a mobile device management service for use on Samsung phones in a business/government environment. Such devices can be locked down to prevent unauthorized use of many things including side-loading apps, camera/microphone usage, etc. Workers using such devices are probably using apps/data which is considered sensitive by their employer.
While nothing is unbreakable, given Samsung's interest in maintaining the aura of security and its client base, I have doubts that anyone on the open internet can/will tell you how to circumvent that security. Such things are much more valuable on the zero-day exploit/security vulnerability market.


text:
Outlook doesn't pick up that email has been moved
I have an email account that I read with Thunderbird via IMAP on my PC, and I have rules to move emails into other folders.
I also have Outlook on my Android phone, and it constantly shows all emails in my Inbox, even ones that have been moved by rule to other folders. It is as if Outlook has cached the email and doesn't check to see if it's actually still there.
How can I force the Outlook app to refresh and detect this?

First, verify via Outlook online if the emails have really moved to other folders. If not, make sure you create the rule online.
If yes, you must delete Outlook's data on your phone (Settings -> Apps & notifications -> Outlook -> Storage -> Clear storage), then re-add your account.

I finally moved my rules to the server and this seems to address the problem, I suppose because the emails never hit the original folder in the first place.


text:
How can I change my device's user name?
Modern Android devices (Android 13) show the username in the About screen:

But with no obvious way of changing it. This name is also shown in the "Accounts and Passwords" screen as a heading for the accounts tied to the user but again, with no obvious way of changing the value.
How is this field changed?

By user name, did you mean the one that is scratched off? If so, I'm not sure if it's universal. Pixel3a on Android 12 and Galaxy M12 on Android 13 don't have such info on the About page, only the device name which can be edited directly from there. I think it's better to also mention the manufacturer directly in the question.

Sorry, never mind... apparently it's also shown on AOSP 9 custom ROM for Sony Xperia and stock Android 12 on Motorola Moto g52. I think it's shown on most (near-)AOSP ROM :)

I appreciate the clarification, though

Unintuitively, the user must first enable multiple user support on the device before the logged-in account can be configured. From the Settings menu, go to System, then "Multiple Users".

Flick the toggle to ON and then click and hold your own profile to change the name it identifies as. When you're done, disable multiple users again. Changes will be immediate.

To Google engineers reading this: make this more intuitive!
This has been tested on Android 13 on Sony's build of Android and Stock Android 13 on an up-to-date Pixel phone. Older versions may behave differently.


text:
Samsung Galaxy S22 lock screen: how to revert local and home clocks and reduced notifications?
Since reverting the settings on my Samsung Galaxy S22, the lock screen has appeared as shown in the photo below.

My questions are:

How can I revert the clock to only show 'Home' time (instead of 2 clocks)?
How can I get expanded notifications on the lock screen (at present I have to click on the notification icon to get more detail.)

I have tried turning off 'Hide content' in 'Lock screen notifications'.
Similarly, I have turned off 'Roaming clock' in 'Lock screen' settings.
Neither of these has had the desired effect.

Can you try Settings - Lock screen - tap "Edit" on the "Lock screen" image? Then for 2), tap the notification icons and select "Details". For 1), I'm not sure because I can't repro it on M12, but perhaps tapping the clock and seeing if there are customization related to it?

@AndrewT. Perfect! Thank you! It's easy when you know how.

Glad to know it helps. Feel free to post a self-answer since I don't know the details, probably due to the different customization of One UI :)


text:
2G preferred network type on Android 13
I'm using a crDroid rom on a Samsung S8 phone and I have realized that google decided to fight 2G networks.
I have only 3G and 4G options for preferred network type now in the rom settings. And if I use a method that worked beautifully on android pie, it no longer works on android 13. When I set the type to 2G, the network type doesn't  change and the rom settings displays something like "invalid value, defaulting to 4G".
But I found out I can still change it by using the phone app, inputting *#*#4636#*#* and then selecting 2G. This way 2G is even displayed in the rom settings and it works. But as soon as I change it to 4G, the only way to get back to 2G is to input the code again in the phone app.
I would like to have some automation to switch between 2G and 4G. Preferrably with a quick settings tile.
So, is there a way to achieve this in a more effective way?

Not sure if this can work at all but may be worth a try: create tel link in a web page: tel://*#*#4636#*#*.

didn't try that, but I guess opening the UI for selecting the preferred mode could be implemented using Tasker, for example. What I'd like to achieve is not using the UI at all.

For a Tasker solution, see this. Works on my Android 10 with root. See if it works on your device.

Thank you for your suggestion. I will try granting the adb permission later, but without it I get this error when trying the Mobile network type task. Looks like it's not because of permissions, but I'll check later. The error: 17.15.04/Ew add wait type EasyAction1 time 2147483647
17.15.04/Ew add wait type EasyAction1 done
17.15.04/E add wait task
17.15.04/E Error: 1
17.15.04/E Unfortunately Google disabled this feature for apps that target Android 10 and above (d1).

Firelord, if you don't mind me asking - did you grant the permissions with ADB?

The article lists possible threats and then "And that’s why you can perform tasks in Tasker that previously required root permission.", so I wonder if these permissions are really required if I have root.

No. *#*#4636#*#* is the only way.

I guess there are no commands that could be input to the dialer and would change 2G/4G directly, without additional clicks in the screen that ##4636## opens?

That code merely opens a UI. The modifications the UI provides may be available via API or via a custom hack in some files/databases. It is about giving it an honest try, document the attempts and then make an assertion that the above code is the only way. It is like saying brightness can only be changed through Settings app. That it is the only way. But we all know that's not true.

Exactly, in my comment I was wondering maybe adding some symbols to the code that opens the UI could execute the command directly, without using the UI.


text:
How do I recover deleted WhatsApp database (msgstore.db.crypt12 files) without backup?
I accidentally deleted my WhatsApp database folder and have lost all my chat history. How can I restore it?
Deleted from phone's internal storage, Android 7, no root access and no other copy of the folder exists.
I checked out multiple other links, e.g:
recover whatsapp messages (database folder deleted) |
Recover Whats-app database files (.crypt12) |
How to recover a deleted file from /data partition? etc
...however, the information is old or dealing with rooted devices or dealing with recovery from backups or dealing with SD cards etc none of which work for my situation.
I've also tried Tenorshare UltData, but it can't retrieve .crypt12 files.
Is there a way to recover and restore my databases/chats?

PS: I'm fine with a rooting solution; if it's one that won't overwrite  the files I'm trying to retrieve.

if you read the answers you just have linked, you know you can't recover deleted files. take note that crypt files are backup files, no need to recover them. the actual whatsapp database is in apps data (one can access without root) https://forum.xda-developers.com/t/2770982

the app mentioned is a joke, like all such apps. I made simple test, created picture, the app shows it. deleted picture, scanned right after, the app cannot show it anymore.


text:
Getting keypress sound file
How can I go about obtaining the default Android keyboard button press sound file? If it is not readily obtainable, how can I obtain a similar 'click' sound effect?
-Thanks

You can download them directly from the AOSP source repository:
https://android.googlesource.com/platform/frameworks/base/+/master/data/sounds/effects


text:
Is it possible to get the name of the active activity-alias?
I am developing an application that has the ability to change the icon that is displayed in the launcher. I share the code that does this. I understand that this is not a forum for developers, so you can imagine that there are several icons in the application, but only one is always displayed in the launcher.
public static void setIcon(LauncherIcon icon) {
    Context ctx = ApplicationLoader.applicationContext;
    PackageManager pm = ctx.getPackageManager();
    for (LauncherIcon i : LauncherIcon.values()) {
        pm.setComponentEnabledSetting(i.getComponentName(ctx), i == icon ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED :
                PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
    }
}

I wanted to write a command that would know which icon is currently active. This can just be determined by taking from somewhere a list of only active activity-aliases. Since the control in the code happens through the PackageManager, I assume that in the terminal this is possible with the pm utility. But I didn't find anything to help me. As I understand it, somehow through pm I can get a list of activity-aliases, and then for each get the properties COMPONENT_ENABLED_STATE_ENABLED or COMPONENT_ENABLED_STATE_DISABLED , which I specify in the code. If I find the property COMPONENT_ENABLED_STATE_ENABLED then I should get the name of this activity-alias.

For example if your app has package com.company.Calc and has two activity-alias: com.company.MainActivity1 (default) and com.company.MainActivity2 you can get current active activity-alias like this:
dumpsys package com.company.Calc | grep -A1 "enabledComponents" | grep "com.company" | grep -o '[^$(printf '\t') ].*' || echo "com.company.MainActivity1"


text:
Send android clipboard content to connected Macbook over ADB
I have connected my Android mobile phone to my Macbook via ADB. Through ADB shell commands, I have copied a text from an application to the Android's clipboard. Now, I would like to send this copied text (clipboard content) to my connected Macbook through ADB.
I have tried out either directly pasting the clipboard content with service call clipboard 1. However, the result is a Parcel and seems not to contain the clipboard content based on my visual observation.
Moreover, I have thought about pasting the clipboard content to a file inside the mobile phone's internal storage and then sending this file with adb pull command to my Macbook. However, I have not found appropriate commands for this method.
Please note that I also want to keep running the application from which I copied the text on my mobile phone's foreground throughout the whole copy-paste process.
Any thoughts, ideas, or comments are appreciated. Thanks in advance!

Tasker automation app has Get Clipboard action. It also has File action to save some content into a File. You can combine these two to create a file with clipboard content and then upload the file into your Macbook either using adb or some file sync software. Note: I don't know if Android 11 and above would break this but this definitely can work on Android 10 and lower versions.


text:
permanent storage space warning
I have an UMIDIGI A3X with Android 10 (16GB internal ROM) with an 64GB SD-card, that is formatted as internal storage.
I am using 19,39GB storage but it's so poorly distributed that only 3,8 are on the SD-card.
Thus i am getting constant storage-warnings. I tried to move big apps to the external card, but that does not work (alert: low storage). I'm not sure, if it's smart tobuy a new SD-card, because this old thread indicates it is likely that it's not a card related problem.
There are "old" answers, that prpose to try a 32GB one, but i'm not sure if that is a good idea. Is there any other way to deal with that problem?
(If not, my plan is to buy a new 32GB card, but i would like to have full 64GB. I'm not sure what the smartest problem-solver is.)
I have tried to format the SD-card as external, but i'm also unable to move apps to the SD-card, so i tried formatting it as internal)


text:
What might prevent ADB from writing to a Settings.Secure key?
I am trying to edit the value of a Secure Settings key over ADB with the command:
settings put secure camera_double_twist_to_flip_enabled 1
For some unknown reason, the value of this key is 0 and cannot be changed. Because of this, the shake gesture in the Google Camera app does not work.
I've tried a number of fixes, all with no success:

settings put --user 0 secure camera_double_twist_to_flip_enabled 1 : Fails to set value.
settings put --user 10 secure camera_double_twist_to_flip_enabled 1 : Successfully sets value for the Work Profile (aka user 10), but doesn't affect the Personal Profile (user 0) where Gcam is installed). There are no other profiles set up.
settings put secure camera_double_twist_to_flip_enabled default : Value remains at 0.
Settings > System > Languages & input > Advanced > Flip camera : No such toggle exists in the Settings app.
Settings > System > Gestures > Flip camera for selfie : No such toggle exists in the Settings app.
Boot into Safe Mode, then settings put secure camera_double_twist_to_flip_enabled 1 : Successfully sets value, but only temporarily. When phone is rebooted into Regular Mode, the key value is RESET TO 0.

The device is an unrooted Google Pixel 7 running GrapheneOS 13 (a ROM very similar to stock AOSP).
This issue is being discussed on the GrapheneOS development forum, where a different user running GrapheneOS 13 on a Google Pixel 6 did not encounter the same issue and was able to set the key value via ADB as expected.

Problem solved. I had the app SystemUI Tuner installed, which can manage such settings and apparently had a way to make its own preferences persist even if a setting were changed by another method, including ADB.


text:
What does an orange street symbolize in Waze?
I wonder what an orange street symbolizes in Waze. Example in Washington state, USA:

Traffic jam? No traffic jam, but slow street? Something else? I believe the traffic jams I've seen on Waze were red, not orange.

So found this: https://support.google.com/waze/partners/answer/7246755?hl=en#zippy=%2Cwaze-o-meter Open the Waze-o-Meter tab for color definitions.

@MorrisonChang Thanks! Great find. You are welcome to post it as an answer! "Light red" no wonder why I couldn't find it when searching for orange on Google.

What I find weird are those darker gradient things on the line that are sort of arrow-shaped, which to me would indicate that it's a one-way road, and you're going the wrong way.  I'm sure that's not what it is, but it could be read that way.  Seems a slightly problematic choice in terms of UI design.

So I found: https://support.google.com/waze/partners/answer/7246755?hl=en#zippy=%2Cwaze-o-meter
And as you noted in the comment the description of colors may not match expectations. As that page is for Waze Partners, I'm unclear as to its support in various regions, YMMV.
From the webpage on Use Traffic View:

Waze-o-Meter
The color coding of the Waze-o-Meter mirrors what's displayed on the Waze app.

Green: Free Flow - Great conditions, cars are able to move at speed limit.

Yellow: Light Traffic - Slight congestion, but drivers can still travel at relative speeds.

Light red: Moderate Traffic - Congestion starting to build up noticeably.

Red: Heavy Traffic - Speeds have slowed down, expect significant delays.

Dark red: Bumper to Bumper - Traffic is near standstill.

I still don't understand what orange or purple are supposed to represent, because neither of those is listed in the color coding key...

Orange isn't orange, Waze calls it "Light Red" and purple is just the default route, from: https://www.waze.com/forum/viewtopic.php?p=1500144#:~:text=The%20default%20route%20is%20in,being%20tracked%20by%20someone%20else.

Ah, thanks.... silly me I saw #ff9752 in the above screenshot and it didn't occur to me that it was what #f26a54 was referring to on the linked page.


text:
Please explain this file in /sys class thermal
In /sys/class/thermal/thermal_zone0/type, it reads "pa".
There are also other ones in other folders, like "ddr", "cpu-1-0" and "gpuss-0".
What do they mean? Any documentation I can refer to?

Power Amplifier. DDR RAM. CPU. GPU. They are defined by the OEM in thermal zones' drivers (embedded with Linux kernel).

Any documentation to check the type (at least for common ones)? I can't find it online.


text:
Is there a READ_SMS type permission just for eSIM
I have an app that has READ_SMS permissions, but it doesn't "see" my eSIM, which is the one I want to READ_SMS.
Is there a special permission to see the incoming SMS for the eSIM?
[edit]
As per comments, if no special permission - then is there a variable/ parameter in the data of a new SMS object that has which SIM it was sent to?
Where is the new SMS object detailed, I can't find it on https://developer.android.com/
Thanks
My current phone
Pixel 6 Pro
Android v 13
Build TQ1A.230205.002

What device (especially it's Android version) do you use?

READ_SMS permission is required to get messages from Android's SMS database (which also includes SMS stored on SIM), whatever their source is. There is no special permission for eSIM. In fact Android won't let the apps directly interact with SIMs.

@Robert I have added the version :)

@IrfanLatif thanks - that is interesting - I am wondering if there is the "to" field in there then?
None of the Forward SMS apps seem to have it.

The standard columns are defined in Telephony.TextBasedSmsColumns.

@AndrewT. please use this as the answer, so I can mark it as the answer :)
That, plus some AI chat got me to the answer....
But I want you to have the credit.

@CraigLambie to be honest, I'm not sure what question I answered since I don't think it answered the title, and I don't know what you're really looking for. So, feel free to post a self-answer explaining the detail! :)

@AndrewT. The answer is your comment "The standard columns are defined in Telephony.TextBasedSmsColumns"


text:
How do I decrease page spacing for vertical scrolling in Moon+ Reader?
I reading a manga in Moon+ Reader with vertical scrolling enabled and there is a large amount of blank space between the pages. Is there a way to decrease the blank space between pages?


text:
How to exit `adb sideload` mode in recovery mode?
I accidentally chose to apply a package with adb sideload.

I have tried pressing all the necessary buttons at once but nothing seems to be working.
How do I exit?

What happens if you press and hold the power button for several seconds? IIRC that should cause a reboot even in this situation.

Possible duplicate: Phone stuck in ADB sideload. Let us know if the existing answers help or not, thanks!

just sideload something?


text:
What is `NoxConsole` `list` command output meaning?
From Nox documentation we know that there is following command:
NoxConsole.exe list
It lists existing emulators and some data about them. Example output follows:

0,nox,Business,0,0,0,-1,-1
1,Nox_1,Instagram,00210D2E,00371542,2732,23876

It is easy to understand that the 1st column is emulator index and the 3rd one is its name.
But what information does other column contain?
And why emulator which is currently running contains 7 columns, and stopped one contains 8 ones?

The Yeshen FAQ (Chinese) listed some of them, but it's still incomplete.

Thanks to the link provided by Andrew T. from Yeshen FAQ, and after some my own research, I can write the description of the NoxConsole list output columns:

The device index. You can use the index with -index: command line switch to refer the emulator.
The device virtual machine name. It is possible to use it to clone the emulator instance with -clone:<nox_id> command.
The device name. You can refer to the emulator with -name: command line switch with this value.
Top emulator window handle (HWND?) in hex format. If emulator is turned off, this value is 0.
Toolbar windows handle (HWND?) in hex format. If emulator is turned off, this value is 0.
This column is unclear; it is present when emulator is turned off only, and it is 0 always.
(6 if emulator is running) Emulator GUI (Nox.exe) process ID. If emulator is turned off, this value is -1.
(7 if emulator is running) Emulator virtual machine (NoxVMHandle.exe) process ID. If emulator is turned off, this value is -1.

Regarding 2, perhaps it can be used as the argument for the -clone parameter with nox.exe instead, based on this article?

very good answer


text:
Screenrecording calls with voice
I'd like to ask a question regarding screenrecording calls on discord or phone with sound.
Premise
I know that probably some of the readers will write about how it might not be that allowed or permitted because of privacy concerns, but from the other end I could also say that the speakers should also be wary of what they sort out of their mouths in order to preserve their privacy, and all of the latter shouldn't prevent in any way the first end's party to record the conversation in order to store the conversations and safeguard themselves in case of any contention or litigation. In a nutshell, privacy shouldn't prevent one of the parties to record for precaution and proof concerns, especially when this privacy can be kept by controlling what comes out of the mouth.
After a whole plethora of contentions with lots of people that I had UNJUSTLY lost because I could NOT prove anything of what'd been said to me, I decided to take the safeguard route which I'm currently finding hurdles with.
After this little written digression, how can I screenrecord phone or discord calls with voice? I tried the in-built screenrecorder and the whole set of task-related apps but unfortunately the first does not work and the second type either screenrecords soundlessly or it does not screenrecord at all when it comes to calls. How can I manage to circumvent the whole block? Does it relate only android? I'd be glad to receive exhaustive answers and on point about SCREENRECORDING calls with VOICE, not simple records, not recording with a second or third device.
Thanks to every answerer.

While they may seem related, screen capture recording and audio recording can be on different paths depending on which app/what type of data is being recorded. Regular mobile carrier calls may be recorded using the Google Phone app if permitted by the carrier/local laws. There are flags developers can set in Android 10 (Q) and up which can allow or block recording by third-party apps. All anyone can say is "it depends".

I'm talking about Discord as well, not only phone carriers.


text:
TalkBack Language Accent
apologies if this has been asked before, but I've tried looking around on various websites but still unable to find any solution or explanation.
My father is currently using a OnePlus Nord CE 2 5G, he is visually handicapped and has enabled TalkBack on his phone to assist his daily use.
Both is System language and TalkBack language is set to Simplified Chinese, but after several minutes of use, the voice will speak in Chinese but with an American accent? It's quite hard to understand what the voice is saying due to the accent.
Please let me know if there are any fix or solution for this problem, thank you for your time and help!


text:
Screen recording phone and Discord calls with sound
How can I screen-record phone or Discord calls with sound? I tried the in-built screen recorder and the set of task-related apps but unfortunately the first does not work and the second type either screen records soundlessly or does not screen record at all when it comes to calls.
How can I manage to circumvent the whole block?
Does it relate only to Android or every system?
I want to record on the device itself and not with another device.

You can simply have another device recording everything. Anything you can hear or see can be recorded.
You can run Android in a VM (e.g. on your PC) and record everything again - VirtualBox will do it happily.
There are Android VMs in the Google Play Store. Whatever restrictions apps have won't affect the Android VM - thus you can possibly record everything.
Many Android phones have wireless casting or even an HDMI output - this will probably facilitate in recording everything quite easily.
Discord has a PC version. No recording limitations whatsoever then AFAIK. You can use OBS or anything similar.


text:
What's this icon that looks like a frequency wave with a slash through it on my Motorola One 5G Ace (T-Mobile)?
I have a newer Motorola One 5G Ace, provider is T-Mobile.  I've traveled away from home, still in the US though, and have a strange icon (next to my battery indication) that doesn't go away.  It looks like a frequency band wave, (squiggly up and down and across) with a bar through it.  I would describe it as a "No frequency" icon.

I can't find anything about it, or how it might be indicative of a phone signal problem.  It popped up suddenly and now my camera doesn't work, nor does any voice features (dictation into Google or notes).  Rebooting doesn't take it way.
Update:  I'm back at home and still have the icon and camera/dictation problem so it's not something to do with roaming or being away from T-Mobile's network.

The strikethrough frequency wave notification icon indicates sensors off. It can be used to disable sensors, including the camera and microphone.

When in airplane mode, devices can still access some sensors to enable specific functionality, such as screen rotation and taking pictures. Android 10 provides a developer options setting to shut off all sensors in a device. This feature [...] gives users a way to control the sensors in their device.
When a developer or user enables Sensors off in developer options (Settings > System > Developer options > Quick settings developer tiles), a new tile appears in the quick settings tray. They can use the tile to prevent apps from accessing the camera, microphone, and all sensors managed by the SensorManager class.

(Italic emphasized added)


text:
How to get titles of installed apps on device?
I connected Android device to desktop with Windows using USB. I need to get titles of installed apps. What command for Windows command line to complete the task? I used ADB for other tasks, but while I did not find solution for this task.

Welcome to the Q&A site Android Enthusiasts Stack Exchange. There's an existing question asking a bit more elaborate issue, but the approach is still the same albeit complicated since there's no way to know the app title by ADB only. Please take a look and good luck.

Try this answer.


text:
I cant download a specific app on an emulator
So I am trying to download stockspile (trading app). First I thought that my problem was that internet so I used US proxy. But I keep getting the issue your device isnt compatible with this version.
Does anyone know how to bypass this ?

Because of emulation speed Android emulators usually emulate a x86/x86_64 Android device. real Android devices are ARM/Arm64. If the app uses native libraries and don't provide them for x86 or x86_64 you can not run or install the app on such an emulator. The emulator included in Android SDK/Android Studio includes some images (e.g. "Android 12.0 API Level 31 Google Play | x86_64") that have an internal ARM emulation so it should be possible to install an arm or arm64 only app.
You can check the supported CPU types of an emulator by executing adb shell getprop ro.product.cpu.abilist
Possible values in output:

x86 -> 32bit x86 apps are supported
x86_64 -> 64bit x86 apps are supported
armeabi -> 32 bit arm apps are supported
armeabi-v7a -> 32 bit arm apps are supported (today just an alias for armeabi)
arm64-v8a-> 64bit arm apps are supported

If it outputs for example x86,armeabi-v7a,armeabi then this means it can execute 32bit x86 and 32bit arm code. If your app is only available as 64bit arm version then it won't work.
The best way to check for which platforms an app is available is to look at the available downloads at https://apkmirror.com, https://apkpure.com or any other web site Apps providing apps for manual installation.


text:
SIM not detected anymore disabling a SIM
I have Oneplus 8T with Android 13.
My SIM was on Slot 2 yesterday. Then I accidentally clicked on "Disable SIM".
Now it says "No eSIM" "Disable eSIM to u.." (it only shows second line partially) when I insert it in Slot 2.
When I insert it in Slot 1, it says "No SIM card detected".
Note:

If I use any other SIM, it works on either slots.

When I this SIM on other android phones or even a feature phone, it works correctly without any issue whatsoever.

I've already tried the "Reset Network Settings" feature. Ideally I don't want to reset my phone completely

Check the surface of the affected SIM card. Is it filthy or are there any serious scratches on the connection plates?

@Robert Nope. I bought this SIM just 3 months ago.

Had the exact same issue, ended up getting a new SIM card a few months ago. Now same thing happened again after I disabled the SIM for another reason... any ideas how to fix without getting a new SIM each time?


text:
How to know apps which boots with system using commands in Android terminal?
I need commands for Android 4-6. How to know via Android terminal and command which apps loading on the system's start?
While I tried 2nd command from here.

By "Android terminal" you mean adb? Because Android has no other terminal by default.

I mean I can use commands in Android.

Does this answer your question? Find a list of all apps that launch at boot time

Thank you. I need time to check an information there.


text:
Change adb device name
The Android device identifies itself as "device" for ADB (Android Debug Bridge).
$ adb devices
List of devices attached
5727aa6d        device

In my case of the LineageOS 20.0 test build, the name contains whitespaces and therefore cannot be addressed from scrcpy.
$ adb devices
List of devices attached
CDC ACM Data    device

Which property can we set to change the adb device name?

background

AFAIR adb uses the device serial number so I would expect it to use getprop ro.boot.serialno or ro.serialno

nope.. tried on redmi 6 with magisk resetprop from service.d


text:
How do I install root and su for my LG phone (LM-G820U30b)?
How do I root my LG phone?

Model LM-G820U30b
Hardware version rev.1.0
Internal environment SELinux

Welcome to the Q&A site Android Enthusiasts Stack Exchange. Regarding the device model, could you find the brand name? Is it LG G8 ThinQ? Also, is it locked to a specific carrier?

Possibly related: https://lg-firmwares.com/articles/root-lg-device/

https://www.xda-developers.com/lg-g8-g8x-g8s-v50-thinq-unofficial-bootloader-unlock


text:
Limit maximum screen brightness when using auto brightness via ADB on Samsung Galaxy S23 Ultra
Is there any way to limit the maximum brightness on the S23 Ultra or other Samsung devices, I want to save more battery without having to use it manually. Many thanks


text:
"NFC Service has stopped" dialog repeatedly popping up
Phone: Cubot KingKong 5 Pro
Android 11, Security Update July 5.
A couple of days ago the phone "crashed" and restarted itself. It does that from time to time, at worst it did it once per week or so, now less, like once in one or two months.
After it was back up, I've been getting a "Nfc Service has stopped" dialog, like every 30-60 seconds. If I close the dialog, a new one appears soon. It makes using the phone quite hard as there is constantly that dialog blocking the screen.
App Info says the culprit is "Nfc Service", go figure. I have already disabled it, but that dialog seems to come anyway. I don't use nor need NFC (as far as I know).
If I go to Android Settings -> Connected devices -> Connection preferences -> NFC, I see only "Advanced settings", and clicking on it does nothing. Does this mean NFC is already disabled?
As said, I am fine if NFC is completely disabled, as long as those irritating notes go away. Is there anything I can do, besides resetting the whole phone? I'd rather try to avoid it because I have some apps I have to backup & restore manually, like a VPN token software (it has to be set up again whenever I either change phone or reset the phone), Whatsapp and MapFactor navigator POIs.

It sounds like the hardware of the NFC antenna may not be recognized since it can't see the settings; the NFC settings page should have an on/off toggle.

My Ulefone has been doing this since yesterday, after I restarted it. Running Android 11.

I had the exact same problem with my Armor phone. I contacted the importer, and they replied that a bug in an online banking app (S-mobiili) was the culprit and that deleting it until they got it fixed would do the trick. And it did! Hope it fixes your problem too.

I mark this as the solution as while I can't confirm this was the actual issue in my case, I had the same online banking app installed at the time. I did end up resetting the whole phone to default settings and also removing many apps that I used to have. I haven't had the issue ever since.

This fixed it for me.

I had the same problem on my Unihertz Jelly 2, also with Android 11. I contacted the manufacturer, and they instructed me to install an OTA update available from their website (the System Update under Settings said that no update is available). After installing the update, the problem went away. I'm not entirely sure if it was a new version or just reinstalling the latest update. In any case, I was able to do it without having to reset my phone to factory settings, although I did do a backup beforehand just to be sure.
Some additional details: In my case, the NFC stopped working after the phone ran out of battery during normal usage. I similarly had popups every minute or so, and also the battery was draining extremely quickly (100% to 0% in around 5-6h even if I did nothing with the phone). After the update, both issues were fixed.
(Sorry if this is not helpful for your case, but hopefully someone else benefits from this.)


text:
Set up a contact database and sync it between iPhone and Android devices
Ideally, I like to have one centralized contact database. So if something needs updated, you only have to update it in one place and then it syncs to all the phones.
Thus, is it possible to set up a contact database and sync it between iPhone and Android devices?

If you're using the same Google Account on both phones, you can use the system settings on both phones to sync your contacts with Google Contacts, also available via the web at contacts.google.com.
On your Android phone, go to:

Settings -> Passwords & Accounts -> [Pick Google account] -> Account sync

and ensure the Contacts toggle is enabled.
On your iPhone, go to:

Settings -> Contacts -> Accounts -> [Pick Google account]

and ensure the Contacts toggle is enabled.
You can find more detailed instructions for syncing contacts with your Google Account and your iPhone here and your Android phone here.
If you're trying to use multiple accounts and just need the contacts replicated between devices with no Google (or other) account in common, your best solution may be to export your contacts and import them elsewhere.
Finally, if you're looking at doing this at a large scale, such as for many employees in a business, there are Content Resource Management systems that can accomplish this for a fee, one example of which is Copper.


text:
Shut down Android TV
I have a Philips 58PUS8505/62 4K LED Android TV. Normally, I want to power off the TV by switching off the power outlet the TV is connected. However, the TV or its remote does not provide a menu or key combination (that I know of) to shut down the operating system and power off the TV before I cut the power.
When I press the red (power) button on the remote, the TV goes into standby. However Android continues to run and I see disk IO on the external disk connected to the USB port of the TV. I know how to "unmount" the external disk, but my question is not on this.
I tried to long press the power button on the remote (external TV boxes work this way), but nothing different happens.
There seems to be no way to power off the TV. What am I missing?

Apparently, to power off the TV completely the user manual for your TV recommends the way you already know of. To switch off the TV completely, disconnect the power plug. -- user manual, page 11 at https://www.download.p4c.philips.com/files/5/58pus8505_12/58pus8505_12_dfu_eng.pdf#page=11

Yes. But this is exactly the same as removing the battery of your phone without shutting down Android, unplugging your desktop computer without shutting down Windows / Linux, or turning down the power of a system room's cabinet without orderly shutting down your servers and storage systems in it!

That's exactly what I am searching the answer for, right now.

How would you power on with remote if in android everything is an app?

If you have the ability to install android root apps, create a widget that executes "svc power shutdown" or "reboot -p" (the latter one just kills the android session afaik)

Thanks for the info @alecxs , but I am not going to root the system. :(

This reddit post suggests there might be settings that control this power "feature" either found at Settings > Power > Eco or Settings > About: https://www.reddit.com/r/AndroidTV/comments/93x3xz/how_to_fully_shutdown_android_tv/

Turn off using Google Assistant may work // I don't have any TV, so can't test

there are plenty of shutdown apps in google play. needs accessibility permissions

Termux and Fakeroot  That will let you poweroff. Then create a script and run it after testing the command. This is a rootless solution. If this does not work - vist the nearest Goodwill store  & be generious and get another one that gives you the  freedom. Plernty of CC Cheap China Boxes .