text:
Autodialling app that allows timed selection of phone line menu options
I have searched the Google Play store with a number of likely terms to find this, and Googled also, only to find "simplistic" options for auto dialling.
Am trying to get through to a government department that allows call backs, but don't just want to select the number at a pre-determined interval from the last call (to give their system a chance to clear some of those call backs), something I can relatively easily do myself, it would be most helpful to have dialpad numbers sent down the line at predetermined times once the phone connects, so I don't have to wait to be able to select each of them.
This seems like it would be the most programmatically simple part of a auto dialler app. Does an app to do this really not exist for Android?

Seems one needs to search for "meeting auto dialers" to find the (as of writing this) only result https://play.google.com/store/apps/details?id=com.technochakra.meetingautodialer&hl=en_US
Alas the aforementioned app doesn't do auto redialing, and in the reviews from some years ago there doesn't appear to be great interest from the developer to implement this, instead suggesting the use of https://play.google.com/store/apps/details?id=com.llamalab.automate to launch widgets of templates in the Meeting Auto Dialer app that can be added to one's home screen.


text:
Can't update the Walmart app on ONN tablet
I have an ONN tablet that was sold by Walmart.  It comes with the Walmart app built in.  But whenever I try to run the Walmart app, it says I need to install an updated version.  But when I try to install the update,  it tells me that the new version is not suitable for my device.
As I understand it,  ONN is the house brand for Walmart.  So I would expect any updates to the Walmart app to be supported on any ONN tablet.
I've tried getting support from Walmart via their website,  but no luck.  Can anyone suggest a workaround?

How old is the tablet (tablet may be just discontinued and hence no longer supported)? And the new app may require more RAM, or display resolution or whatever your tablet does not have.

I had the same problem with my 10.1" ONN tablet.I couldn't even access the Walmart web sight through chrome because it will revert you back to the app. So what I did was go into settings/apps/Wamart. Then disable the Walmart app. On my tablet this eliminated the app symbol on my home page. Now I accessed the Walmart websight homepage through Chrome, bookmarked it and put it on my tablet hompage. Works great.

Didn't work for my 7 inch.  I still upvoted your answer.

source: Stack Exchange

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

sort: votes


text:
How do I prevent any app from being installed on an android device?
There's a similar question which discusses preventing app installs on the device.
I'd like to prevent any app from being installed, as a child will be using it, including from a computer at play.google.com.
I tried using Family link but it only allows preventing app installs rated PG13 and above.
Can I prevent the android device from accepting any new apps?

You should expand on the use case for app prevention: e.g. letting a child borrow a phone, corporate device restriction, for use as a kiosk, etc.

It's a device that's used by a child

So Family Link's "All Content" approval requirement isn't sufficient? https://support.google.com/families/answer/7039872

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


text:
Samsung galaxy a7 2018 hangs after update android 10
Recently I updated my device from android 9(one UI 1)to android 10(one UI 2)
After updating to android 10 it freezes again and again,not the whole phone freeze, only display hangs but background working properly, when i push power button and lock device, and after unlock by power button it works normal, but after sometime it freezes again. I repeat this task again for unfreezing.
I checked device logs for hangs reason, where I found
EGLNativeWindowType 0x79466cd890 disconnect failed

It looks like openGL problem, is some driver corrupt or missing in new update,
Samsung block downgrade from bootloader,So I have no choice,
Note:*I updated with latest ota update,there is no new update from Samsung,
*Device was working well with android 9 one ui1(means there is no hardware fault)

Model: samsung sma750f

Bro Downgrade by Odin.
Then it'll work nicely.
I've face same issue and after Downgrade it's working nicely.

Could you please describe how to do that? Not everyone is familiar with Odin (or knows what it is – some might turn to Heimdall (wow, cool, that exists indeed) or Asgard (huh?) in search ;)


text:
TWRP 0MB Internal storage issue
I have a Lenovo tab 4-10 TBX304L
I flashed it with TWRP and It shows 0 MB for Internal storage.
I Tried changing file system to ext 2 and ext4.wiped data and system.
Reinstalled android stock rom via QFIL tool.
Any help?

fastboot format:ext4 userdata

Tried it......Even formatted data.....

after formatting, boot straight into TWRP (fastboot boot ) otherwise partition becomes encrypted again

Well Ill tell U Brother!!!..After flashing twrp....ill let u know if it works...Thankss


text:
AFWall+ block entire internet in Oasisfeng Island (work mode)
I have a OnePlus 6 running Android / OxygenOS 10 and have AFWall+ installed. It works fine as long as I don't use the Island app inside the island (v.4.54) of OasisFeng.
I set finally a profile which allows ALL apps to access wi-fi and in / outgoing and forward traffic is allowed to tese whether there is any service / app needed for the 'work' user (the island).
Even then, in the 'mainland' everything works normally but on the island internet is fully blocked.
What is going wrong here ?

Apps in work profile have different UIDs than their main profile counterparts. A 3 digit number (like 100, or 110, or 999) is prepended to the main UID (see details here). You need to enable multi-user support in AFWall+ app. Then every app in work profile would appear in AFWall+ as a separate entity.

I tried this, enable 'experimental => Multi user', but in 'mainland' I could still not see the apps on the island. This thing is that I want to use the firewall in Mainland only.

It's Experimental → Dual Apps Support. Multi-user is somewhat different than work profile


text:
Is the root file different if a custom rom is installed?
Do I need a different root file if I have installed a custom rom on Android?
Who creates root files for devices?

no (yes). no. vendor (proprietary)

@alecxs Please be descriptive for the main question. I didn't understand "No(yes)"

sorry i am lazy.. with "root file" you probably mean kernel image. usually that boot.img is the same for stock and custom rom. just some options will changed inside, for example dm-verity must be disabled. so the file is different but it's the same kernel

I mean the update.zip file :-) that they provide to enable root access. How do I change options in side? How do I disable dm-varity? Where would I find it?

Does this answer your question? How do I root my Android device?

https://android.stackexchange.com/tags/systemless-root/info

Systemless root didn't answer my question completely but it did solve my problem. Thanks!

basically root method is pretty generic. the leading tools are

Magisk
SuperSU
phh's SuperUser
AddonSU

in that the order, where former one is recommended for all devices and ROMs while the last is ROM specific
However, while the rooting process is nearly the same, every device is different and there is no generic root method. First you need to unlock bootloader. Some vendors (like Huawei) decided to lock devices completely, others (like Samsung, Xiaomi, Lenovo) have there own special protections
Second, you need custom recovery (or at least, modified boot.img) which is definitely device specific and not interchangeable with other device models
Usually every device has it's own section in famous xda forum where developers share custom recovery or custom rom
Always search for root method specific for your device model
(Note: i am aware of exploit based temp root methods but decided that is out of scope and not worth a timeless answer, because development is ongoing and that exploits become outdated)

I know how to root etc. I have installed a custom rom on my device. Now I want to root too. I just want to know if the root file is different if the stock rom is not installed. Is the root file changes with rom. Thanks :)

Magisk is good. It also had the option to unroot back.

However, it has some incompatibilities with GSIs and fails to patch dm-verity with FEC enabled Strictly Enforced Verified Boot with Error Correction

Do you know of any app that blocks internet from a specific app, not a whole system firewall or VPN that always run in the background?

FEC link updated because xda doubled posts per page


text:
Galaxy S8 Stuck After Update
My Galaxy S8 is now locked on the Samsung screen after receiving an Android update via Verizon. According to the Samsung site, it was running Android™ 7.0 (Nougat). I have attempted a hard and soft reset then moved on to Odin.
I downloaded Odin v3.13 and using the latest firmware version of Nougat from the Updato site my attempts to restore my phone continue to fail. Recommendations? Thanks for reading.

Thank you for the reply what info would I be looking for? I see - Carrier - VZW; RPMB fuse blown; RPMB Provisioned; Current Binary: Samsung Official; FRP Lock: On; Warranty Void: 0x0; Qualcomm Secureboot: Enable; RP SWREV: B7(2.1.1.1.1) K6 S7; Secure Download: Enable; DID: 205ED0955789.    Where would I find the Odin log files?

Does this answer your question? How I can downgrade from U3 to U1 "oreo to nougat"

not sure about the FRP lock as well...doing some reading. I guess the challenge is finding the correct FW version. This is all new to me..thx

From reading it appears that FRP is only engaged after the phone is working. Is there a way to find the correct FW version?

sure you have S8 (not S8+)? just search for G95*FXXU7****

Hmmm...S8 on the phone and Samsung says S8, SM-G950U, so I'm fairly confident.

the last letter is also important because that devices shipped in two different chipset (Exynos/Qualcomm) look at sticker for the exact model no

Excellent...thanks. I have started a new download based on Frija's results.

Still failing with the latest FW...any recommendations?

FYI...you must run Odin as an Administrator.

if that was the solution please post that as answer, not comment


text:
How to automatically enable ethernet tethering on Android 11?
Each time the router reboots, the ethernet tethering (introduced in Android 11) breaks, and I'm trying to make it recovers automatically.
Developer options have a setting for enabling USB tethering on USB cable plug.
Is there anything similar for ethernet tethering?

You could set your router not to reboot.

it's rebooted by power outage of entire house which happens on a regular basis

Can someone help to create a solution using a shell at startup? https://android.stackexchange.com/questions/247954/how-to-enable-ethernet-tethering-via-shell-android-12-for-a-start-up-script

Ok, got it working with Interact block in Automate.
It has a nice inspector I used for capturing an ethernet tethering tap event.

Reproducing tap only works with the screen unlocked so I used Tasker with AutoInput plugin to unlock the screen on the cable plug.


text:
How can I identify apps that trigger events in MacroDroid
MacroDroid can be triggered for a broad set of events. In particular it can detect and log when GPS location is enabled or disabled. This is useful but I would like to understand which app made the request.
I would like to find a way to identify the app that made the request associated with the event i.e. which app is requesting GPS location be turned on. Does MacroDroid have the capability to identify the app triggering the event? Alternatively if this is not possible could MacroDroid capture the app that were running at the time GPS location was enabled?
For completeness phone is a Galaxy Note 8 (SM-N950F) running Android 8.0.0

If the app that is triggering GPS change is in foreground, you could add [fg_app_name]:[fg_app_package] to the event and have an notification display that as well. I am not sure but I think an app needs to be in foreground to trigger location change

You can add those by tapping action and use configure option to select those and any other parameters like time etc from the blue box with dots on right

Re : the first comment. I don't think apps by themselves can switch on or off the GPS. Such apps like MacroDroid need system permissions. It's most likely in your case (guessing) that your OS is triggering and in which case the event log should show system

@beeshyams I'll keep an eye on this over the next few days to see what happens. The reason I am trying to get to the bottom of this is the GPS is being switched on without my explicit consent (that I know of). Additionally in some cases GPS is toggled on and off immediately so it wouldn't be noticeable if one wasn't capturing events. I am trying to find out why this is.

Cool. If my guess is right you will see this in event or something similar having system in it - System UI:com.android.systemui.  If that is the case and you are satisfied, please self answer and flag my comments for deletions. Thank you


text:
Any way to stop youtube or videos in chrome from playing over bluetooth in car?
Are there permission settings to block apps from playing over bluetooth? Every time I've been messing around on the internet or youtube and my android phone connects to the car, the last video I've watched appears on the head unit. I only want to allow play music to stream over bluetooth; nothing else...
The only way I've managed to get this to work is by using an automate flow, but I feel this should be built in functionality.
https://llamalab.com/automate/community/flows/6043


text:
Recover data on Samsung galaxy s4 mini with broken screen
I have broken the screen of my Samsung Galaxy S4 mini.
Nothing can be displayed and I can't touch anything.
I would like to recover data (at least contact and photos) but I don't find a way to do this.
I can't connect it via usb, it isn't recognized by the system (Mac or Windows)
Do you have an idea ?

Does this answer your question? Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen

I have tried but no :(

you can root the device and flash a modified system with adb root enabled (or some init.d script which places the RSA-key from MicroSD Card into data partition, if required) someone needs to guide you through cf-auto-root and inception

any success?

No I can't detect the phone with usb cable. I think it's not just the screen that's broken.

https://www.youtube.com/watch?v=uMoVqoVuPns

CWM recovery can be installed from MicroSD card. with this you can create a backup. it can be done all from volume keys. only problem, you must do it blind. i recommend to buy another device for test (if backup fails you still can use it for spare parts to replace display)

as you can see in this video the desired entry 'apply update from external storage' is right above the unwanted 'wipe data/factory reset' option. consider that timing and count of input key sequence is important. (Note: you need a signed variant of update.zip) see https://android.stackexchange.com/q/222262


text:
Banking apps not working after flashing OxygenOS
Today I clean flashed OxygenOS OB16 Crocus V2 (Android 10) using OrangeFox Recovery in my Redmi Note 5 pro (whyred).
And before this, i was using Pixel Experience Plus (Android 10) and before that stock MIUI
I never rooted my device as only unlocked bootloader was sufficient for flashing PE and OxygenOS.
And I never flashed Magisk or SuperSU.
All my banking apps were working fine in Pixel Experience but after flashing OxygenOS today 3 apps (U-mobile, DigiLocker, UBI rewardz) are telling me "This app does not support rooted/jailbroken devices"..... 1 (PayTM) displayed this message but let me in on my own risk while 1 (GooglePay) doesn't show anything.
What I already tried :
I tried different apps from playstore to check for root access and SafetyNet check....but every single one of them told me I didn't have root and passed SafetyNet check.
I don't know why they're not working in OxygenOS while all 5 worked in Pixel Experience !!
Any solution/suggestions are welcomed.

Are you sure your device passes both SafetyNet attestation tests (basicIntegrity + ctsProfile)? By installing a custom ROM even without root the ctsProfile test should always fail because the system is different and the open bootloader.

Yes, I've used the most reputable apps in playstore. Root Checker by joeykrim and SafetyNet Test by Free Android Tools. Btw, never had a problem running these banking apps in Pixel Experience....which is a custom rom too.

Edit : I've added images for proof.

The correct way to proceed would be to contact the banks and open an issue for that problem. Unfortunately from a bank perspective a custom ROM is the same as a rooted device (it is not stock and hence manipulated). Therefore this way is most likely a waste of time. There must be something on this ROM that is common for rooted devices. Try what happens if there is an su binary or an app installed that has a package name similar to a root related app.


text:
Tethering issues on OnePlus 6T (not operator related)
My 6T (unrooted) Android 10.3.5, won't tether - not by USB, not by Wifi nor by Bluetooth.
Not a carrier issue - I can tether with my wife's phone.
Weird behaviour - occasionally the tethered device (PC) will have internet, but not the phone, sometimes the phone will have internet and not the tethered device.
I have AdGuard and NordVPN installed, but I turn them both off before trying to tether.
I have disabled Private DNS before trying to tether.
Doesn't work in Safe mode either. Shows connected device to hotspot on phone.
If I connect the phone to Wifi then the PC has internet and the phone does also - not very helpful.
It used to tether months ago.
Any ideas please?

See routing table (using ip) and firewall (using iptables) when tethering turned on. The simple way to troubleshoot networking issues. Latter requires root.

Out of curiosity, do you happen to have any battery optimizations enabled, or any installed apps that purport to make your battery life more efficient?

No battery optimization apps - OnePlus is aggressive enough without help and offers good controls.  FYI - I found the answer below - thanks for your interest @czarmatt

@IrfanLatif  Thanks, I made a note of that tool for the future

Editing the APN didn't help.
Recreating a new APN from scratch resolved the issue - even though they look identical to me on the screen.
Leaving here for others to hopefully benefit.


text:
System Update Failure on Rooted Device
I have a Lenovo Tab M8 tablet (FHD FB-8705F) that's rooted. There is a System Update available. When I download this update I get a pop up screen to install. When I click on this the phone restarts and i see the Android Bot. On this screen it says Error and after a few moments it restart. After the restart I get a message "Failed to install ota package"
Is there a way to install the package on a rooted device without having to revert to the stock boot.img?

FlashFire or Magisk

After downloading the ota file to my tablet, where do I find it?

@alecxs From what I can see both options require to revert to stock boot image. I'm looking for a way to upgrade without reverting to stock.

it is done automatically, if that makes a difference for you

FlashFire is reporting that it doesn't support 20.4 Magisk. Is there a way around this? Or can I install an older version that will let it work.


text:
How to fix a phone that always boots into TWRP when OS exists
A friend of mine has this small Samsung device. He forgot the PIN he set on it and decided to hard reset the phone using power button+ volume up
+home. That booted into TWRP. He then used the Wipe option. See image below

Then he used swipe to factory reset. That completed successfully. Problem is when he reboots the phone, it goes straight to TWRP. Android OS isn’t booting. Does that mean the OS was wiped when he did the factory reset?
This is the screen he gets when he restarts the phone

it's too late now, but with TWRP installed one could simply delete /data/system/locksettings.db* to reset screen lock without data loss (as far as login credentials aren't involved in encryption)

The Reboot button shows an option to reboot to OS. After rebooting, Android OS starts


text:
How to keep notification badge when dismissing notifications?
I am running LineageOS 17.1 (which is based on Android 10). When I receive e.g. an e-mail or a Telegram message, the notification appears as you would expect and the app icon on the home screen gets a notification badge with the number of unread messages.
When I swipe such a notification away, the badge disappears. I have found posts on the internet claiming any of the following:

This is intended behaviour, system-wide.
This depends on the launcher.
This depends on the individual apps and the best way to get the badge to stay is to write to the respective developers.

Question
How can I make the notification badge persist until I have actually read the message?
I'm hoping for some hidden setting, but I'm willing to install some magisk module or if it's easy enough to contribute some code for adding such a setting to lineageOS (though I'm unaware yet of both their guidelines and the complexity of adding such a setting).
Use Case
On my old phone with android 7.1.1, that was the default behaviour and it was highly convenient.
Example Case 1
A friend sends me 20 messages on Telegram. I see in the notification that they are not urgent and swipe the notification away because it is not currently relevant to me and should not clutter my notifications.
After work, when I have the time to reply in detail, I do so. Or rather, I would, if I hadn't forgotten about the messages because there is no indication that they still exist.
For this example case, Telegram explicitly has options under the heading "Badge Counter" called "Enabled", "Include Muted Chats" and "Count Unread Messages". This implies that the app itself would feature the badge independently of the presence of notifications (since muted chats don't generate notifications).
Example Case 2
I receive an invoice on gmail. It's something I'll get to later. I don't open the e-mail yet so that it stays unread, and swipe the notification away.
System Information

Android version 10
Build number lineage_beryllium-userdebug 10 QQ3A.200705.002 5b9e5cef6f
rooted
POCO Launcher 2.7.4.6

One option could be to use an app like this ( I use it), to keep track of notifications even if you swept them away. Of course, it requires an extra step of opening this app to look up //  other similar options// Title of question is probably misleading, since it's not so much to do with retaining badge count after swiping notifications but more to do with knowing the notifications after you swiped them

@beeshyams Thank you for making me aware of the notifiction log in the settings, so far I only knew of apps like the one you mentioned and the ones I've used tend to be loading for a long time. If there is no way of making the badges stay, I can see myself using this as a workaround.


text:
how to to restore apps without reinstalling them after ROM change
I installed a custom rom on my Android phone which is havoc  GSI 3.1   I am not happy with certain features that don't work and I would like to go back to the original ROM what is preventing me from doing that is the fear of losing my app data and building the phone from scratch. all my app APK files as well as the data be it internal or external is on the second partition of my memory card ( app2sd )  . now if I change the ROM and go back to OEM I do not want to go through the hassle of restoring all app data. titanium backup used to be good at doing it but now it's crappy and it does not do its job especially if there is a change in the architecture between phones or version changes in the OS. besides it will just hang whenever it cannot restore the app and you have to start all over again in batch mode. my understanding is that there is no registry equivalent in Android what we find in windows. so is there a method where I can recreate the links and point em to existing APK files on my second partition.  the other option would be in Nandroid backup of my internal data and then restore it to OEM.  which of these approaches should work..

https://forum.xda-developers.com/showthread.php?t=3862763

the registry is /data/system/packages.xml

@alecxs packages.xml only contains the app listing not the app settings hence it is not really comparable to Windows registry.

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


text:
I want to restore my contacts from a broken and black screen android device
I have a Samsung galaxy s5. Its screen has gotten smashed and now it displays nothing (black).
I can turn on the phone, and also I can enter recovery mode (by pressing home+power+volume up).
I have ADB installed on my laptop. But ADB can not access my phone and it shows it is unauthorized after typing adb devices, because it needs debugging mode to be enabled on the phone and I can not do that because the screen is smashed and black.
I have read that after entering recovery mode in your phone you can access it with ADB without USB debugging being enabled. So I entered recovery mode in my S5 then I connected it to my laptop, in my laptop I typed adb devices but nothing was shown. Does somebody know how to do it?
Is there any better solution?

You need a custom recovery already installed/flashed to access your data through recovery mode. If you did not do it earlier (before the event that smashed your screen) or if you don't understand what I am saying, than it means that recovery mode technique is a dead end now. Did you not use a Google account in your device and synced your data (including contacts) with your Google account? If you did, you can try finding them at contacts.google.com

Actually I did not install custom recovery before my screen got smashed. But I have 2 questions please, first how can install/flash a custom recovery in order to access my data through recovery mode? If the recovery mode technique is a dead end now, what can I do else?

Like I said, try the Google contacts route if you had sync enabled or at least a Google account added into your device. As for flashing a custom recovery, you can try searching for that on the web, but I wouldn't suggest going down that path. Not only do you have a broken screen which would frustrate the hell out of you when following tedious instructions, flashing recovery often require unlocking bootloader which would DELETE your data altogether, so proceed with the instructions elsewhere with extreme caution.

Is trying to unlock the screen code a good idea? (since when the screen is unlocked, you can access phone data on the laptop)

Does this answer your question? Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen


text:
How to backup files from a phone that's constantly freezing 20 seconds after turning it on
So I have a Huawei P Smart that's freezing 20 seconds after I open it and type its password for the first time. And after that, 2 minutes later, it's restarting.
I would like to save the photos and files from it before I factory reset it, but the computer simply doesn't have the time to save anything before the phone freezes. I have the time to enable USB debugging and data to access tho'.
I have tried opening it in safe mode, I googled and watched videos on youtube, but I couldn't retrieve anything.

What have you tried to prevent freezing? Connect charger, enable airplane mode, deinstall unused apps, keep the phone cool...

Is the device rooted? Does it have a custom recovery? The latter usually offers you ways to get data off the device.

it's a 2018 device. Huawei stopped unlocking bootloader 2018


text:
How to connect 2 smartphones via WiFi Direct ADB to get the 1st to control applications run on the 2nd?
How to connect 2 smartphones via USB to get the 1st to control applications running on the 2nd?
I don't mean the connection to be limited to screen mirroring or off-lione file transfer only.
I need 1st smartphone to control applications running on 2nd smartphone in interactive mode, exactly as I can control applications run on Android board connected to PC via USB cable.
Ok, OTG and host mode supported since modern smartphones intended to work in parallel.
Another related question: How to start an application using android ADB tools?
A couple of examples:
adb shell am start -a android.intent.action.MAIN -n
com.android.settings/.Settings

will launch Settings, and
adb shell am start -a android.intent.action.MAIN -n
com.android.browser/.BrowserActivity

will launch the Browser. If you want to point the Browser at a particular page, do this
adb shell am start -a android.intent.action.VIEW -n
com.android.browser/.BrowserActivity http://www.google.co.uk

From: How to run (not only install) an android application using .apk file?

follow-up 2
connected my 5.0.2 Android smartphone to 4.0.2 Android tablet via microUSB2USB cable inserted into OTG USB2micxroUSB to get microUSB on both hands Enabled usb debugging on both devices, run adb daemon on port 5038 on smartphone. None device connected, no TCPIP established In programming mode I need to select debugging app on tablet: one suggested by default is: com.android.partnerbrowsercustomizations.example other option is None Should I select the above or install one another, called ???

great related question, comments and answers with examples
https://stackoverflow.com/questions/4567904/how-to-start-an-application-using-android-adb-tools
"We can as well start an application by knowing application type and feeding it with data:
adb shell am start -d "file:///sdcard/sample.3gp" -t "video/3gp" -a android.intent.action.VIEW

If an application  can be started and run via adb, fed with data and if such application run generates output data, is it possible to fork and redirect that data to usb port for viewing, processing, saving on the 1st smartphone running adb ?

1st please don't post links to search engines because every body will get different search results. If you want to link to an external page include the link to the final page. 2nd please don't use comments for just adding info. Instead just edit the question.

@iknow thank you for your edit help
"adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings"
BTW
not sure why select & C&P generated extra signs
"adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings"
it must be MS Windows > Linux ASCII string conversion

If there any manual in htmlized / Javascript form, listing syntax to run every native Android app via ADB USB
How to gues the following :
"adb shell am start -a android.intent.action.VIEW -n
com.android.browser/.BrowserActivity http://www.google.co.uk
or
adb shell input tap x y
can broadcasted output from app run via ADB USB be redirected (fork) to USB interface for postprocessing by a script to keep interactive communication via USB continued ?
how to get to more advanced examples or learning course on video ?

I have worked really hard for the last 2 weeks to get to the following conclusion:
I need to connect 2 smartphones via WiFi Direct only, no usb cable, no wifi router, since I need to use usb slot for charging.
There are tens of WiFi ADB applications in Play store  but many described as wireless ADB still requiring usb cable.
My search for WiFi only ADB still generates many discussions on SE, many answers, many comments, not listing the right solution, not requiring root access.
So I need to test 20+ apps one by one to get the answer

The USB cable is required for initially enabling wireless adb. On a unrooted device there is AFAIK no other way to enable adb wireless. After enabling you can remove the USB connection and adb wireless stays enabled until you reboot the device.

@Robert thank you for your kind explanation
Just got 2 bluetooth keyboards to make life easier, one is mini-bluetooth keyboard, supporting MS Windows, another is ultrathin keyboard cover for iPad (bluetooth )
Unfortunately, they fail to support Press Enter as Linux Return key in Android shell emulator, so I have to look for remapping solution (how to emulate Linux Return key press)
I have a number of 4.2, 5.2 smartphones and tablets, so hope to start tests with adb very soon

@Robert connected my 5.0.2 Android smartphone to 4.0.2 Android tablet via microUSB2USB cable inserted into OTG USB2micxroUSB to get microUSB on both hands
Enable usb debugging on both devices, run adb daemon on port 5038 on smartphone
None device connected, no TCPIP established  In programming mode I need to select debugging app on tablet: one suggested by default is:
com.android.partnerbrowsercustomizations.example
other option is None
Should I select the above or install one another, called ???

So the adb connection works? The debugging app setting is AFAIR useless as it just stops the app if it starts until a debugger connects.

@Robert
My smartphone fails to connect to tablet via usb cable, can connect to PC but fails to detect usb mouse connected via OTG cable, the same for USB pendrive, so microUSB port in my smartphone seems not to support connecting to another Android device.
I will try powered usb hub tomorrow.
In the meantime I charge my another Android 4.2 10 inch 3G tablet, unused for 2 years for Tablet2Tablet connection via usb cable.
changed connection mode to PC via usb cable to tethering  - connection established with PC . smartphone 2 tablet failed to connect via usb cable

This looks like part of your answer: install the Termux app, and then adb to run within it. I have not tried this yet.


text:
Mute Google Meet's audio completely without muting the participants
In the Google Meet app, I want to watch the presentation of the meeting, but I don't want to hear anything. I can't just mute people because that will mute them for other participants.
I can't seem to find an output mute control or volume control in the app itself. I tried turning the volume all the way down on my Android device, but the volume slider won't go all the way to the bottom. Even if I set my device to silent, it doesn't seem to affect Google Meet.
How can I mute Google Meet's audio output completely? If it matters, the device is a Samsung Galaxy Tab A 10.1 (2016) (SM-T580).

This seems to work:
Use Companion mode for hybrid learning & collaboration - Google Meet Help
https://support.google.com/meet/answer/11295507
I tried opening a meeting in the app with a link like:
https://meet.google.com/abc-defg-hij?companion=1
and that let me turn the volume all the way down.  If that doesn't work for you, you might check the icon under the volume for more volume controls.
When I want to screen record a meeting on a desktop, I just mute the mic, and use an external display for the speaker device which I also mute.  A Bluetooth earbud, wired headset, or wireless speaker with volume control, might do the job as well on a phone.  Since this article came up when I did a search like how to come in to a Google Meet muted, I thought having this answer with the url argument (parameter or query string) "?companion=1" here which works on all platforms might be handy.

As of January 2024, the Google Meets app (v221.0.x, earliest version unknown) supports muting the audio output.
On the top bar, besides the meeting code, there's an icon to control the audio output. One of the options is to mute the audio output.


text:
Cannot view PDF files inside an iframe on Chrome for Android
I have this screenshot displaying a PDF in an iframe on Chrome for Android. My device is Samsung Galaxy S9+.

When I click on the open button, nothing happens.
I've also opened the same page in the default Samsung Browser and the PDF begins to download immediately.
Does anybody know what is going on with this PDF on Google Chrome?

AFAIK, unlike its desktop counterpart, Chrome for Android (and also iOS) doesn't support opening PDF files directly inside the browser. (Possibly related: Open PDF files directly in Chrome for Android)

For anyone looking for more information on this topic, I never figured out a way to display the pdf in an iframe. Instead, I setup a download link to an html element to allow the pdf to be viewed outside of the browser.
I first had to convert the raw data to an object URL like so:
const byteArray = new Uint8Array(atob(rawPdfData).split('').map(char => char.charCodeAt(0)));
const pdf = new Blob([byteArray], { type: 'application/pdf' });
const pdfUrl = URL.createObjectURL(pdf);

After this, it was simple enough to create a download link:
const pdfDownload = document.getElementById('pdfDownload');
(pdfDownload as HTMLAnchorElement).href = pdfUrl;


text:
How to disable "Mini Call View" feature in Google's latest Phone app?
The latest version of Google's Phone (v 23) app has a feature called "Mini Call View" in which when you answer a call it won't open the phone dialer. Instead, there is a notification in the notification bar and if you expand the notification bar you will see an on-going call and a button to hang up and another button to start speaker phone.
I don't like this feature and I want to disable it. I want the full phone dialer to open up when answering  a call.
Does anyone know how to disable Mini Call View in Google's Phone app? Or at the very least does anyone know how to open the phone dial pad by default when answering a call?

This app isn't available in my country. Anyway try installing an activity shortcut or any other such app and check if  the phone app exposes an activity to display the dial pad. If it does, you can make a shortcut of that on your homescreen and use that instead.

It looks like this mini call view primarily happens when you have Do Not Disturb enabled. If you disable, the regular Phone app view should appear when you answer a call. Same with if you add an exception to your Do Not Disturb list and that person calls.
I was able to fix my issue by adding the particular contact to my Do Not Disturb exception list.

If I'm not misremembering, this may also happen on full-screen apps/games.


text:
I get the following message on my phone: "confirm if it's you recovering your account"
But I didn't do any recovery and of course I didn't press any button.
It happened already two times.
What does it mean? Does somebody is trying to hack my google account?
I have 2 factor google authentification, but didn't get any SMS, which is supposed happens if somebody is trying to change my password.
I found the following discussions on:
google community
reddit
but it isn't clear for me what does it mean and what should I do.

If you were actually trying to recover your account, you should have received such a message.

You didn't, and it looks like a glitch as the Google help you linked suggests.

One option is do nothing, a better option would be review your account, sign out of unused devices, and change the Google password to a strong one. This question from our sister site is useful XKCD #936: Short complex password, or long dictionary passphrase?. Generate new 2FA codes, keep them securely.

Obviously, the second option is better because, you did a security check and changed passwords / 2 FA codes. As an added precaution, be on the lookout for Google security mails in your inbox.


text:
Broken recovery on Huawei Mate SE
So a while back I was trying to flash an unofficial TWRP recovery, and I ran into a bit of an issue. The process involved fastboot flashing a recovery partition that is unique to Huawei phones (something like recovery_ramdisk). Anyways, I essentially flashed an incomplete recovery that gets stuck in a boot loop whenever it tries to boot. To further complicate things, the phone will always try to boot to recovery after forcing it to power off. It always boots to this broken recovery regardless of other button combos or ADB commands (i.e. I can't get into download mode). The only way it boots to the system is when the battery drains to zero. It's as if a flag is reset when the phone drains to zero. It remembers to boot to recovery if I try to restart however.
My question is, is there a way to repair the recovery? Why does it forget to boot to recovery after it's battery expires, but then remembers after it powers on? Can I somehow get it into download mode? It's also running lineage 14 which I guess I flashed properly before TWRP.

on zero battery keep holding Volume Down and connect charger, that should bring you fastboot mode


text:
High ping in emulator
I want to play mlbb on pc android emulator since it does not run on android x86. I have 70~90 ping on my network. But i am getting more than 150 in emulator. I tried switching netork mode and used bluestac and nox. But no difference. Why is my emulator ping high?
Pc:
Cpu=core i3 6100
Gpu=gtx 1050 ti
ram=4gb(8gb page)

Have you checked the CPU usage while playing? Your CPU is a five years old dual core, torturing it with an ARM emulator does not make it better. Even on a recent very fast CPU an ARM emulator is typically slower than a middle class real phone.

But the game runs smooth

An emulator uses a virtual network, this means that the CPU has to process each sent/received packet multiple time (one time for each virtual component). If the CPU is highly utilized the time increases before each packet can be processed. Hence the latency increases. However because of all the involved virtual network components the latency always increases compared to a native network access. But having a slow CPU additionally increases the latency.


text:
Download all Reviews/App-Rattings from a App on Google PlayStore
I'm searching for a way to download all Ratings with Comments from an App on Google Play Store.
The best way would be to do this directly in python.
I have tried to download the whole website with the python package request. It works but load only about 140 - 160 Rattings with comments.
On the website, there is a way to click the button "see all comments". But then i must scroll to infinity. That is not the way I am searching for.
For clearness I want the data for a private NLP Projekt, so I don't have my own App.
Therfore all ways with the Developer Console not possbile for me.
The question is related to this one: See all Reviews/AppRatings on PlayStore in a better Way?
But the ways don't work anymore or I have no developer acces.

Have you tried python modules like google-play-scraper? They claim to be able to download app reviews.

@Robert thanks for the hint. The google-play-scraper was exactly the tool i was searching for.


text:
Turn on a Quicksettings tile automatically when I open a specific app?

I want to turn on proximity service tile when I open an app and turn off proximity service tile automatically, when I close the app.

MacroDroid automation is one possibility, or any other [tag:automation] app

Thanks, but I can't find option to toggle quicksetting tile of my proximity service app (note that this is a separate downloaded app and not a feature of mobile), is there such option?

In that case, it may be better to search for an app that allows an automation shortcut. Not sure if such apps exist

Can you tell what do you mean by "automation shortcut"?

Apps that allow automation say so explicitly in their description. They provide a shortcut for activities such as on/off/toggle, that can be used by automation apps. If you find such an app, you can use automation tools to do the needful when an app is launched or closed


text:
Allow USB debugging for any PC without confirmation
My phone display slowly turned black for an unknown reason; Maybe moisture (SM-A320F Android8 - no root). I use scrcpy to show phone screen on my PC (and voice assistant when I don't have access to any PC). This software needs USB debugging.
I checked "Always allow USB debugging..." for my PC. However, each time I use Nox android emulator, computer RSA key changes and I should confirm it again. Once voice assistant stopped working in this situation and I luckily and hardly found Allow button in dialog by guess.
Is there any way to always allow USB debugging from any PC? I know it will cause security risks but if both scrcpy and voice assistant stop working again, maybe I can't find Allow button! I tried adb disable-verity but ADB says:
D:\scrcpy>adb disable-verity
disable-verity only works for userdebug builds
verity cannot be disabled/enabled - USER build

To avoid adb authentication problems I recommend to you to install and use only adb from Android SDK. scrcpy contains an own adb version which I would not use. Set the system environment variable ADB and let it point to the adb binary of the Android SDK then scrcpy uses Android SDK adb. Also make sure to use the same Windows user profile so you always use the same adb authentication key.

@Robert I added ADB to path and deleted ADB from scrcpy directory. But still have to confirm USB debugging after running Nox emulator.

Check what happens to the files adbkey and adbkey.pub in the directory %userprofile%\.android\. I assume NOX replaces them which is a very bad behavior. Backup those files before starting NOX and restore them afterwards. These files are your identity the device authenticates ADB for. If they are changed or deleted the authorization is gone.

Additionally you should send this issue to the developers of Nox. Deleting/replacing the adbkey is a big bug.

@Robert Thanks about that path. I edited permissions of adbkey and adbkey.pub so they aren't editable now. However, I still want to disable confirmation. Is there any way to do this (actually without root)?

keep a copy of that keys safe in a zip somewhere in your emails or cloud, you can use that from any PC

I’m voting to close this question because it is a cross post to this question

@Robert They aren't same. This one is about disabling USB debugging dialog in android phone. That one is about preventing RSA key change in windows. This question isn't answered yet.

OK then let me answer it: what you want is not possible without root respectively a custom ROM with adapted adbd on the device.

@Robert Thanks. You may post it as an answer so I can mark it as accepted answer.


text:
WhatsApp data directory is empty
I wanted to know where does WhatsApp store its profile pictures so I searched on google and found this article. The top answer of the above article said that WhatsApp stores its profile pictures in /data/data/com.whatsapp/cache/Profile Pictures directory. I used JRummy Root Explorer to view the above mentioned directory. When I went to /data/data/com.whatsapp directory, it was empty. There were no files or folders. So am I doing something wrong or WhatsApp stores those pictures somewhere else? If you know the answer, please write it. Thank you for reading.

Is your phone rooted?

Yes it is rooted.

Wait, I just checked and found that it is not rooted. Should it be rooted to view that folder?

Can you view the contents of others (app) folders in '/data/data/`?

No all the directories in the "/data/data/" folder are empty

To view those folders you need root access. Without it, there is no way to check their contents.

And how to get Root access?

You can view questions related to root-access or use your favorite search engine. You have to search for your apps that can root your phone, install it and the drivers on your PC, and follow the instructions of those who have done it before. Just know that if things go wrong, the phone can be bricked.

Can't I just check the data folder without rooting my phone? Because, as far as I have read, rooting may trigger privacy and security issues.

If you just want the image file of someone's profile picture it might be easier to open it in the app and use the share button to "share" the image into a file manager app like Total Commander, from where you can save it to your internal storage. That way you don't need to root your device.

I don't want to store them. I want to see where (in the system) are they stored. I've got my answer. So thank you all for your kind support ☺.


text:
Android image copy break original file date and time
I have found that if I have a WhatsApp image that I want to copy into a different folder on my Android device, keeping the original in place, then the date and time changes for the image.
So if I go into the phones gallery the date and time of both the images show the time of when I have copied the file. Why does copying break the original image? And lose important data on when the images were originally taken.
If I delete the second copied image, so only the original is the there, then the date and time reverts back to the original date and time when viewed in the gallery. It looks like the gallery when displaying the file date and time.is looking at the wrong version of the file??
I have tested this on multiple devices now and the same happens. I copy the file by connecting to the computer.
Using the native copy to in the photo gallery works on devices pre android 10, but has the same affect on android 10.

Apps behavior is never consistent. Simply use cp -p to retain timestamps. See manpage

Usually you don't lose the data when the picture has been taken because it is saved as EXIF meta-data inside the picture data structure (invisible).

you can preserve timestamp with adb pull -a /sdcard/DCIM/Camera

I guess I'd just like to understand why when I copy a WhatsApp image from one folder to another folder on the device, so I have now 2, the original and copied. When I go to the native gallery both images are there in the album's but both with todays date. Why has the original file changed and showing today's date when that has had nothing done to it.

could be a bug in gallery app, maybe related to cache or thumbs


text:
When "might" reported spam be sent to my carrier, and when "might" this incur an additional cost?
From https://support.google.com/messages/answer/9061432?hl=en

Learn about spam reports
If you report spam, Google will get a copy of up to 10 of the
spammer's last messages so we can improve spam detection across Google
products. Your past replies to the spammer are not sent to Google.
Your name and phone number are not linked to the spammer’s messages.
The spammer won't see or know about your report.
Your spam report might create a separate “Spam reporting” conversation
that sends a copy of the spammer’s number and most recent SMS message
to your mobile carrier, which might have an additional cost.

A variant of this message appeared on my phone screen when I attempted to report a text message as spam.
Before going ahead with this, I have some questions.

When "might" these messages be sent to my mobile carrier?
Why can't Google tell me definitively whether or not this will happen?
Why don't I get to choose whether or not this happens?
When "might" this incur an additional cost?
Why doesn't Google know if it will?

I am not comfortable with the vague warnings that "stuff might happen" and that I "might be charged for it". These are not statements that inspire confidence; and without knowing under what circumstances they will take place, it is impossible to make an informed decision.

To 4.: Sending an SMS usually costs money (unless you have an SMS flat), I would assume that these are the "additional costs".

But this is a message to the carrier. You'd expect this to be free. And if it isn't, then there should be an option to not send it.

Even if it would be free in your case the general FAQ is for every Google user world wide and therefore has to cover hundred of different mobile network providers.  It might be the case that the SMS is not free for a lot of users.


text:
Disable/enable second DualSIM card command
I use the MarcoDroid app to change phone settings depending on events.
I want to turn on and off the second sim card depending on the event. I found a command option where I can type the command to enable/disable the second SIM card. I just don't know what the command will be for the Moto Z2 Play phone?
The settings are shown in the print screen. Can anyone tell me how to search for a command and its parameters?
EDIT:
I found a command that you can use to change whether the phone is to be multisim or singlesim.
For dual sim:
su -c setprop persist.radio.multisim.config dsds

For single sim:
su -c setprop persist.radio.multisim.config none

The problem is that when I run the command to turn off the second sim card from the console, in the settings there is no option to choose which sim card should be responsible for what, but the card itself remains turned on. Incoming calls do not show up, but the caller has a call tone.
Maybe someone has an idea what other parameter in the console is responsible for turning off the second sim card?

This service call needs device to be rooted. If your device is rooted and has gravity box installed, you can use gravitybox shortcuts to disable SIM using MacroDroid. As in this somewhat related answer instead of trying to figure out device /OS/ version specific code as the first link says, unless you have other reasons

I installed root, but GravityBox hasn't option to disable the second sim card. But I found command to change state SIM card, but it works halfway. I described it in the post.


text:
the android_expand partition in the sd on android can be resized?
Can the  android_expand partition be resize?
I need change the SD because start  to fails but i have a lot of thing on the SD partition well i try dd if=/dev/mySD of=/dev/NewSD both are same capacity even same brand but  fails whit not enough space let  and the partition get corrupted then android do not read it, i have done that in a bigger SD in the past and works but right now i have not posses a bigger SD then 64 GB then i need shrink the partition, It is possible ? sorry i post something from android here but I'm using Linux and it is related to part and i have ask the same in android enthusiast but no one answer Thank you !


text:
How to get a split apk from a device via adb?
There is a well-known question on how to get APKs from an Android device with adb.
However, this fails for split APKs, because there, adb shell pm path com.example.someapp does list you not only one path, but many as shown in this example:
adb shell pm path com.example.someapp
package:/data/app/com.example.someapp-5Vnt5z8Kiyfka4DG7cFr3Q==/base.apk
package:/data/app/com.example.someapp-5Vnt5z8Kiyfka4DG7cFr3Q==/split_config.en.apk
package:/data/app/com.example.someapp-5Vnt5z8Kiyfka4DG7cFr3Q==/split_config.x86.apk
package:/data/app/com.example.someapp-5Vnt5z8Kiyfka4DG7cFr3Q==/split_config.xxhdpi.apk

So how to do that?
Do you need to pull all? Or is base.apk (the filename you always get for non-split-apks) e.g. enough?
And how to reinstall them then later?

For a split APK you need all APK files present on your device if you are lucky. If the device you want to install the app on is too different it may happen that the APK files on your device do not match and you are missing a required APK file, e.g. if the source and the target device have a different CPU architecture.
Usually a split APK consists of (can be more):

a base APK
one APK containing the native libraries for the current platform (if the app uses native libraries)
one APK for the preferences / config UI
one APK for the translation / localization texts, images,...

If you want to get the APK files without using adb there are apps available that are capable to export all split APK files that belong to an app to a folder on the shared storage of your Android device. One such app is the Open Source File manager Amaze that is available in Google Play Store or FDroid. In Amaze use the "App Manager" to export all split APK files to the app_backup folder in shared storage.
For installing a such a bunch of APK files as one app see this question.


text:
How to Create batch SYMLinks
I'm installing legacy Termux on an Android 6.0 device. I downloaded the legacy app- and the legacy packages. There is a txt file with all the symlinks that need to be created. I'm looking for a way to make all the links in one batch run. Either with bash or some other way.
This is the format that the file is in
gawk←./bin/awk
dash←./bin/sh
xzgrep←./bin/xzfgrep
xzdiff←./bin/lzdiff
xzgrep←./bin/lzgrep
xzgrep←./bin/lzegrep
xz←./bin/unxz
xzmore←./bin/lzmore
/data/data/com.termux/files/usr/bin/bzdiff←./bin/bzcmp
/data/data/com.termux/files/usr/bin/bzmore←./bin/bzless

I searched around on the net and have only found a way to make links from one folder with many files to another folder with the same names of the files. but as you can see from the sample above I need different names and also different folders.
Thank You

Question isn't specific to Android but about general shell usage. cd <dir>; cat <file> | sed 's|←| |' | while read file link; do ln -s "$file" "$link"; done

Thanks @IrfanLatif. I don't use this anywhere besides on my Android so wasn't aware that this isn't an android question. I will try your suggestion BTW Where would be the right place to ask this.?


text:
How to search Google Play and Huawei Store for applications coming with ADB supported public API?
re.:
How to search Google Play and Huawei Store for applications coming with ADB supported public API ?
I am interested to implement Software Interoperability Act into force and practice
and ask developers to offer API versions of their applications to be offered via Google Play Store, Huawei Store as an extra option (fee/no fee).
I am aware, it may take some time due summer holiday time but learn today, which one comes with API as add-on and how to search for API enabled Android applications for basic tests via ADB.
I would like to know, which applications can output results, actions, data via USB ADB link and what data formats are offered for postprocessing and scripting.
I would like to build directory of API enabled Android applications with full step-by-step manual on how to start, what input data are accepted and what output can be generated.
Since it may not be smart to install applications for testing,. one after the another to smartphone, I am looking for smartphone's emulator which can be run remotely via Internet, supporting USB ADB emulation via www JS scripting, coming with working API scripts for individual applications.
I would like to know state-of-the-art within the above to let me assess my efforts and time to be consumed, the above project to ccome true if not already offered or supported by third parties./
thank you

Does this answer your question? How to search the Play Store by permissions?

Also realize that adb is a developer tool, so geared toward app developer workflow. Individual apps unless written, do not interoperate as mobile devices contains lots of personal data and increasingly in a sandbox due to bad/malicious actors. Getting developers to use any particular API is off-topic (and akin to herding cats) unless you are the platform owner like Google or can financially pay people to support any third-party API.

@MorrisonChang thank you for your kind comments and answers
" Individual apps unless written, do not interoperate
exactly, but may interoperate and how to call this feature by default to let developers to expose it to users ?
Not sure how to learn ADB API support from permissions
__
https://android.izzysoft.de/applists.php?topic=search
Search apps by category and permission
__
https://play.gqqnbig.me/
Google Play Advanced Search
https://developer.android.com/guide/topics/manifest/manifest-intro

@MorrisonChang
example of the preferred use of ADB API:
heart rate + oxygen saturation app getting data from sensors installed in smartwatch.
Live chart is generated but I need to add datalogger functionality via ADB API, studying AndroidManifest.xml file for offered Intents  https://developer.android.com/guide/topics/manifest/manifest-intro -
https://developer.android.com/guide/components/intents-filters -
https://developer.android.com/reference/android/content/Intent

What data can be received by an app is noted in the AndroidManifest.xml. The only way I know to get the manifest is to download the app. What data an app provides is defined by it's "Content Providers". An indicator for a content providers are special custom permissions in the AndroidManifest.xml.

@MorrisonChang ok, I need to start with https://developer.android.com/guide/components/intents-filters
Intent to sendBroadcast() or sendOrderedBroadcast()
since "A broadcast is a message that any app can receive.
"Implicit intents do not name a specific component, but instead declare a general action to perform, which allows a component from another app to handle it. For example, if you want to show the user a location on a map, you can use an implicit intent to request that another capable app show a specified location on a map.

@Robert thank you, is it possible for a developer to publish direct download link to AndroidManifest.xml file via Google Store to let a user to get prior knowledge on what intents are supported and what broadcast can be processed via USB ADB to receive data output redirected to USB interface ?
Example: to study quality of Audio2MIDI conversion I would like to live overlay on display: MIDI, raw FFT data and Equilizer app chart.
Ok, I can run 3 applications individually on 3 smartphones and have camera to record images from 3 displays to generate live conversion quality analysis

Search by permissions, offered by https://play.gqqnbig.me/search?q=ADB%20API&ap=false&ad=false
Google Play Advanced Search
is down
Taking too long to load result. Something might be wrong.


text:
Samsung Galaxy S20 camera cannot use the flashlight
I wanted to use the light with the camera, then it said that some other app is using the light and I see that the two icons on the right on the top are faded out. It's so horrible getting a high-end smartphone and I cannot even use the light with the camera. What can I do?

The first thing I see from the image you posted, it appears there is a line through the Flash Lightening Bolt on the left, meaning it is disabled. So I would attempt that button first. Otherwise...
Exit out of the camera app and use the following steps. Go back to camera app after each one to see if it allows normal flash use.

Clear cache on camera app
Force stop one app at a time that you believe may be the culprit, stopping you from using flash.
Try another camera app.
Verify you have a working light with some flashlight app.
Verify your phone hardware is legit with one of the verification apps in the play store.

All else fails, you can always factory reset. But if it is all original hardware, it's probably from something you recently downloaded.

I could activate the flash and like that take a photo with the built-in flash to get around the problem but it would be better to be able to use the flashlight and shine light on some object as an alternative.

Most "Camera apps" are made to be used as cameras, not flashlights. It sounds like what you're trying to do is just not a feature of your Camera app. Use a flashlight app instead.


text:
How to re-enable apps using ADB?
I got a samsung galaxy folder 2: https://www.samsung.com/hk_en/smartphones/galaxy-folder2-g165/
It runs Android 6.0.1
Anyways I am not new to ABD and have used it to uninstall system apps on my other phone (Samsung S10) with no problems. So when I got the folder 2 and started removing system apps using pm unistall -k --user 0 as I did with my other phone. Then I decided to remove the contacts app (com.android.contacts) because I installed google contacts.
Well apparently, in doing so that contacts app actually housed the phone app as well. So now I have no phone app on my phone. That's kind of a big deal.
How do I re enable the contacts app using ADB?
My device is not rooted and I don't want to root it. Also I know factory resetting should fix this, but I'd prefer not to do that either. Thanks.

system partition is mounted read-only and nothing can be added/removed without rooting phone.

you probably meant pm disable (not uninstall) so you can just pm enable back

@alecxs it's quite for a while now that, without root, one can use pm uninstall --user 0 <packageName> to get rid of bloatware for the main user – so OP indeed meant that (the --user 0 is a good indicator).

@Izzy ...but uninstall doesn't uninstall system apps in that case?

@alecxs it does make them completely unavailable for the "main user" as if they were completely removed, but the .apk file remains on the device (and the app available to other users, if there are any established). You can check that with dumpsys package. Hence the install-existing, basically telling the system to look for the /path/to/apk in packages.xml.

Unfortunately there is no way on Android 6 (and even 7) to reinstall a system app uninstalled with adb shell pm uninstall PACKAGE.
The command adb shell cmd package install-existing PACKAGE can restore the uninstalled package but it has only been introduced with Android 8.0.
On these older android versions, it is safer to use :
adb shell am force-stop PACKAGE && pm disable-user PACKAGE && pm clear PACKAGE

so you can revert it if necessary :
adb shell pm enable PACKAGE

Note: PACKAGE everywhere above means package name of the app.


text:
Is this Kindle Store App Legit or Bootleg?
This question is inspired by the answer I received to this question: What is This Strange Symbol When I Try to Play Youtube on Kindle?
User @Banal Vulgarian reports that he has the same problem as I do in Silk Browser, but a specialized Youtube app works. I downloaded a specialized Youtube app and experienced the same success.
But I am suspicious of this app. Is this a legit app published by Google/Youtube,or is it sort of a "bootleg" app developed outside of Google's supervision which may be risky to my device?
Here is the app info:
Here you see the app in the Kindle store search results, with a non-standard Youtube logo (minus!), it has the best reviews of all results (plus!), and the most reviews of all results (plus!). Inexplicably it is the third result rather than the first result (minus!)

I'm looking at the one right in the middle with a blue logo (unusual for Youtube) but it says the publisher is Youtube.com
So I would assume that Kindle Store would sort of vet the names of publishers to make sure they are not impersonating a major company, right? But now look when I click on the contact info for the developer of this somewhat questionable app:

That email address looks a bit sketchy to me. Like a Youtube impersonator, to be honest.
Is this app officially sanctioned by Youtube? If not, what are the risks to me by having it on my Kindle?

To my knowledge, the only "official" Google apps are on Fire TV:
https://blog.google/products/chromecast/prime-video-chromecast-android-tv-youtube-fire-tv/
https://techcrunch.com/2020/07/09/youtube-kids-app-is-now-available-on-amazon-fire-tv/
And only consist of YouTube and YouTube for Kids.
I believe these are the apps referenced above:
https://www.amazon.com/s?rh=n%3A2350149011%2Cp_4%3AGoogle+LLC
Everything else is a third-party wrapper/interface.
As for the blue YouTube app, here is a 5 year old reference in a different forum. It may be that as long as the app is just a web browser wrapping the YouTube site (and showing ads), Google/YouTube will look the other way.

Aha, you put me on the right track. I follow your link for "I think these are the apps referenced above" and THOSE are indeed real bona fide Youtube apps. But they don't appear on my device's app store! When I view the app info page on a web browser, there is a little box that indicates the app is not compatible with my device, so the Kindle store must automatically filter for compatibility. That solves the mystery of why there is no legit Youtube app available to me.

I have to say I'm a big flabbergasted that both Google and Amazon look the other way when some dev guy in his mom's basement calls himself "youtube.com" publishing wrapper apps.

+1, but I have very low rep so you may not benefit much. I'm going to go ahead and wait the customary 24 hours on acceptance.

I would agree with the discussion that I linked to, the blue YouTube app was made by Amazon and only wraps the YouTube site including ads, so that Amazon can put it in their marketing and say YouTube is available.


text:
How to find the PID of an app without ADB?
The ADB method is easy enough, but I may not have a computer at hand. Can I retrieve the PID with a Termux package or an app, or any other methods (including those which require root)?

If root is required, F-Droid https://f-droid.org/ apps are certainly preferred.

@Firelord: A root method is fine, I forgot to mention this in the question.

@ReddyLutonadio: It seems that you deleted the answer -- do you know what the number string displayed on every app page in Netguard was? As noted by Firelord apps can't retrieve PID in modern Android versions.

I deleted it after realizing that I misunderstood UID for PID. So, it would have given information that would not have been useful.

@user598527 that must be UID. Also an app might have multiple PIDs e.g. if it forks native processes.

If you are using Android 7 or above, you need to have access to ADB (either command-line client, or an app which used adb on localhost) or root access to see the PIDs of other processes.
If you are in Terminal emulator app or in Termux app, and you have root access, do this:

su
ps -A -o PID,USER,NAME

This would output text segregated in three columns: first column as PID, second column is the user which owns the process, and the third column showing the name of the process.
Example output (posting only a snippet of it here):

28574 system       net.oneplus.odm
28622 u11_a149     com.oneplus.gallery
28646 u0_a149      com.oneplus.gallery
28701 u11_a149     com.oneplus.gallery:recyclebin
28727 u11_a149     com.oneplus.gallery:contentdetector
28778 root         [kworker/1:2H]
28789 u0_a329      su
28794 root         sh
28872 u11_system   com.oneplus.opbackup

Instead of ps command, can also use pidof as suggested by Yahya Uddin here.
Note: PID and UID are altogether different things. If you are after UID, see How can I find app name by UID?


text:
"Now unlock your device and confirm the backup operation"...when trying to backup through abd (TWRP)
Phone: Moto C Plus
Phone OS: Android 7.0
PC OS: Windows 7
TWRP: 3.1.1
Rooted
I'm trying to backup directly to PC from TWRP recovery through adb cmd.
The cmd adb devices shows the device id and the word "recovery" next to it, meaning i'm connected successfully and that i'm in recovery. USB debugging is on.
But adb backup --twrp shows...
WARNING: adb backup is deprecated and may be removed in a future release
Now Unlock your device and confirm backup operation
followed by the current directory.
But nothing happens on the phone. This is what's supposed to happen. Skip to 3:26.
Any insight?

Ifyou have no space left the only option would be to create the backup on-device and stream the backup file data directly to the PC using adb exec-out .... See for example this answer which performs a low-level backup. Not sure if twrp backup support this on a higher level.

@Robert Can you help me breakdown this cmd 'adb exec-out dd if=/dev/block/(bootdevice/)mmcblk0 > emmc-backup.img' What changes would i have to make to suite my particular need?

'adb pull /dev/block/dm-0 data.img' or if not encrypted 'adb pull /dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/userdata data.img'

There is nothing wrong with your backup. You are just impatient. Please ignore WARNING adb backup is deprecated... Now Unlock your device and confirm... that is just because the adb.exe doesn't know what's going on at phone side.
You should see TWRP backup starting at phone display immediately without any confirmation
watch the backup.ab growing until backup process is complete
i recommend to backup each partition for it's own, that way you avoid trouble with some old bug TWRP just restoring first partition
adb backup "-f twrp_data.ab --twrp --compress data"

you can convert that backup.ab later into data.ext4.win with twab.sh (linux only)

Comments are not for extended discussion; this conversation has been moved to chat.

fyi: reason for adb backup --twrp not working is adbd isn't running with root privileges in this TWRP built (claim it to TWRP maintainer)


text:
How to get back the information that the Matlab keyboard might have acquired(including passwords,etc)? Should I change them?
When I switch into the Matlab keyboard it warns me that the entry methods might retain every information I type,including passwords,credit numbers,etc. I've already used the keyboard so I'd like to know which information has it retained, whether it's already shared it and erase it if posible.

To be fair, this is a general warning for all keyboard/text input apps due to its nature, including the default keyboard app. The question is still valid and can be applicable to any keyboard apps though.

Thanks, that's reassuring


text:
Can't access recovery partition Android 8.1 (Go edition)
Phone Maker: TECNO
Model: F1
OS: Android 8.1 (Go Edition)
Memory: 8GB ROM 1GB RAM
I have asked a question here:
Android fastboot restoration points
In summary the phone was updating then the battery died and now it is stuck in fastboot mode. It shows the text  => FASTBOOT mode...  in the bottom left corner of the fully black screen.
I discovered its possibly a single slot device (does NOT support seamless system updates) and obviously the update process got bad. What are the ways to recover from this (fastboot mode screen) so the phone boots up correctly. I am currently using ADB, Fastboot to interact with the phone via USB. Below is the output that I get when I run 'fastboot getvar all' on a windows 10 system.
(bootloader)    max-download-size: 0x8000000
(bootloader)    partition-size:flashinfo: 1000000
(bootloader)    partition-type:flashinfo: raw data
(bootloader)    partition-size:userdata: 14ff80000
(bootloader)    partition-type:userdata: f2fs
(bootloader)    partition-size:cache: 7000000
(bootloader)    partition-type:cache: ext4
(bootloader)    partition-size:system: 59000000
(bootloader)    partition-type:system: ext4
(bootloader)    partition-size:keystore: 800000
(bootloader)    partition-type:keystore: raw data
(bootloader)    partition-size:secro: 600000
(bootloader)    partition-type:secro: raw data
(bootloader)    partition-size:oemkeystore: 200000
(bootloader)    partition-type:oemkeystore: raw data
(bootloader)    partition-size:metadata: 2500000
(bootloader)    partition-type:metadata: raw data
(bootloader)    partition-size:nvdata: 2000000
(bootloader)    partition-type:nvdata: ext4
(bootloader)    partition-size:tee2: 500000
(bootloader)    partition-type:tee2: raw data
(bootloader)    partition-size:tee1: 500000
(bootloader)    partition-type:tee1: raw data
(bootloader)    partition-size:frp: 100000
(bootloader)    partition-type:frp: raw data
(bootloader)    partition-size:vendor: 12000000
(bootloader)    partition-type:vendor: ext4
(bootloader)    partition-size:expdb: a00000
(bootloader)    partition-type:expdb: raw data
(bootloader)    partition-size:odmdtbo: 1000000
(bootloader)    partition-type:odmdtbo: raw data
(bootloader)    partition-size:logo: 800000
(bootloader)    partition-type:logo: raw data
(bootloader)    partition-size:para: 80000
(bootloader)    partition-type:para: raw data
(bootloader)    partition-size:recovery: 1000000
(bootloader)    partition-type:recovery: raw data
(bootloader)    partition-size:boot: 1000000
(bootloader)    partition-type:boot: raw data
(bootloader)    partition-size:lk2: 60000
(bootloader)    partition-type:lk2: raw data
(bootloader)    partition-size:lk: 60000
(bootloader)    partition-type:lk: raw data
(bootloader)    partition-size:seccfg: 40000
(bootloader)    partition-type:seccfg: raw data
(bootloader)    partition-size:persist: 3000000
(bootloader)    partition-type:persist: ext4
(bootloader)    partition-size:protect2: a00000
(bootloader)    partition-type:protect2: ext4
(bootloader)    partition-size:protect1: a00000
(bootloader)    partition-type:protect1: ext4
(bootloader)    partition-size:nvram: 500000
(bootloader)    partition-type:nvram: raw data
(bootloader)    partition-size:proinfo: 300000
(bootloader)    partition-type:proinfo: raw data
(bootloader)    partition-size:preloader: 40000
(bootloader)    partition-type:preloader: raw data
(bootloader)    off-mode-charge: 1
(bootloader)    warranty: yes
(bootloader)    unlocked: no
(bootloader)    secure: yes
(bootloader)    kernel: lk
(bootloader)    product: K80_BSP
(bootloader)    version-preloader: 0.1.00
(bootloader)    version: 0.5
all: Done!!
Finished. Total time: 0.142s

I tried the command
 fastboot reboot recovery but it responds ok and still displays the fastboot mode text
How can I:
1.) Recover the data by booting into the recovery partition (right now I am unable to access the recovery partition)
2.) Recover the data and boot the device via other means apart from recovery partition
Flashing the phone is a last resort. But is it possible to Flash the phone and still retain the data I had on it before this incident occured?
PS: For obvious security reasons I only intend to stick with official tools (ADB, Fastboot) to solve this problem. I am NOT willing to install any unofficial software on my computer.

@alecxs I intentionally removed the actual values and replaced them with xxx. It shows actual values I am able to see it in the command line output. When I use key combos I am able to get into recovery mode. But I do not want to do a factory reset, at least NOT yet.

fastboot reboot recovery is a command I have seen in the xda forums while researching into this matter

@alecxs I have modified the question above. been doing some research and found its possible to flash the stock rom via fastboot.

fastboot is disabled (bootloader) unlocked: no therefore your only hope is SP Flash Tool. in your case most likely only system.img must be flashed, and cache partition should be cleared. in any case your personal data is on userdata + metadata partition and should be backed up with valid scatter file (just to keep it safe)

scatter does not fit scatter file. you must create scatter file for your own. Do a "read back" of your phone. in SP Flash Tool select DA_SWSEC.bin as Download-Agent (source). you can follow below instructions afterwards

please note there is no official site for SP Flash Tool, but the tool itself is. however, the software provided by it's origin sources spflashtools.com and 4pda.ru (registration required) can be trusted

The plan is to unlock the bootloader to allow me flash the stock rom. Hopefully the phone will allow me to unlock the bootloader using the  fastboot oem unlock (not tried yet). Then I can download the ROM for the phone then flash it. Do I need to wipe my phone first before flashing? I intend to keep my data.

i have checked the scatter file provided by theggputest55 as you can see the discrepancy is for userdata partition (type ext4 vs f2fs) size 1.5 vs 5.25 GiB https://pastebin.com/upMT5X1v so you can use that scatter for flashing system but you can't use it for backup userdata

thanks for all the useful input. So in the current state the phone is in how do I backup the contents (all partitions)? Then I can flash using you suggested method then restore when the flashing is successful.

update the scatter file with proper partition size (0x14ff80000) for userdata (or create new one), backup partitions from "read back"

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

@alecxs , Thanks a lot for all of the feedback. I have obtained SPFlashTool using the link provided. Questions: 1)How do I create a scatter file for my device?(is it possible with SPFlashTool or can it be done via command line?)Now I know scatter file is basically a .txt file how do I get it from my device with SPFlashTool? 2)When I have the scatter file how do I use it to make a backup of my partitions? 3)Now when I want to flash the ROM, it is this same scatter file that I will use in SPFlashTool yes?

download some similar scatter file and change the values with wordpad 2) you can't straight use the scatter file for readback but you can create readback entries with that values 3) yes, except the ROM requires repartitioning (not recommended)

it is important first to install VCOM preloader driver. the phones preloader is detected only for first ~1-2 sec when connecting, and only when phone is powered off. Therefore you must click start readback as 1st step and connect usb cable as 2nd step, readback will start immediately as soon as preloader is detected. Tutorial step 5 (skip step 1-4)

You may be able to restore your phone using SP Flash Tool since you phone uses MediaTek CPU
1- Download  SP Flash Tool
2- Download the ROM from here
3- Download the driver from here installation steps inside the zip "README" file
4- power off you phone
5- open SP Flash Tool. Go to Download tab Click Scatter and Load Scatter File from ROM Folder

6-Select Download Only. Click Download & Connect the Switched off Phone

Thx for that answer. You could improve that with a warning one should always uncheck preloader https://android.stackexchange.com/q/227124

Thanks for the response. I hear fastboot can flash ROM also. Stumbled on instructions here https://forum.xda-developers.com/android/help/adb-fastboot-commands-bootloader-kernel-t3597181
I am comfortable with the command line so running commands isn't scary to me. Any input on how to achieve this with fastboot via CLI?

be aware fastboot flashing unlock will perform a factory reset which causes data loss

Thanks a lot for all of the feedback. I have obtained SPFlashTool using the link from @theggputest55.
Questions:
1)How do I create a scatter file for my device?(is it possible with SPFlashTool or can it be done via command line?)Now I know scatter file is basically a .txt file how do I get it from my device with SPFlashTool?
2)When I have the scatter file how do I use it to make a backup of my partitions? 3)Now when I want to flash the ROM, it is this same scatter file that I will use in SPFlashTool yes?

@thinkhjj Very sorry for the late reply modern android phones has about 50 to 100 partitions the Scatter File is like a map which tells the program where to read from the phone eMMC. in order to use SP Flash Tool you need two things
1- a Scatter File which you can create by yourself by following is guide.
https://tinyurl.com/helpyou148
or watch this vide to make yourself comfortable with tool
https://tinyurl.com/help458
2- DA agent aka download agent is a file that allows SP Flash Tool to read and write to the phone eMMC
usually these two files exist with the backups created by users,


text:
Stop receiving text messages in my Samsung Note 8 that are sent from spammers email address
I have been getting unwanted text messages on my Samsung Note 8 coming from a spammers email account.
I have not found a way to block these text messages coming from email accounts.  The feature that I use to block phone numbers is not available.
Any help will be appreciated.

You receive only spam from one account - you are lucky. Typically is an mail account gets older you receive spam from hundred of spammers once your mail address has been recognized by a spammer.
Spam protection typically a job of your mail provider. Often the "SPAM detection report" is hidden in the mail header. On most mail providers you can use the fields in the mail header to move mails to certain sub-folders, e.g. in this case to a "potential spam" folder in your mailbox. Mail provider can reject spam messages so that they never reach you. I would assume that this already happens if you only receive SPAM from one sender.
Additionally you can check if your mail provider allows you to provide new SPAM samples so that they might get recognized in the future. Sometimes there is an e-mail address you can forward SPAM messages (as attachment) to or you can mark message as SPAM in the mail provider web GUI.
Very few mail clients include a client side SPAM protection based on machine learning. Bt typically such systems are more common on desktop PCs (e.g. in Thunderbird). In Android apps such a self-learning SPAM protection is not that common (I don't know any app that would provide such a feature).


text:
Do unlocked phones get re-opened at the factory?
This question is so borderline, I hesitate to ask it but will anyways. I recently received a new phone from a reputable online retailer, but when I opened the box there appeared to be a fingerprint and another smudge already on the device (before I touched it). I called the retailer and the customer service rep suggested that unlocked phones may be re-opened at the factory to be unlocked... which seems strange, because I would have through they are already unlocked and would only need additional work on them to load carrier skins.
I know I'm unlikely to get a completely satisfactory answer, but was hoping to tell if it's normal to see smudges on a supposedly new phone from the factory - maybe someone has worked in one before. While I think it's unlikely they need to re-open and seal the box, I would have thought they would use gloves (now and before to prevent any fingerprints). My main concern is someone loading malicious software/firmware on the device although I could factory reset it again (setup was not complete when I started the phone).

I left the retailer and phone manufacturer anonymous here to start, but can add it later if appropriate.

Most phone manufacturer place a seal on the phone package that gets broken when you open it the first time. Was there a seal on the package and was it broken?

If you have reason to believe that firmware could have been modified/compromised, than factory reset wouldn't fix anything. You must flash the original firmware from your OEM for peace of mind or flash a custom ROM (but even custom ROM makers don't have good solutions for malicious low level firmware modifications which they have to take for granted unfortunately).

guess it's returned one just selled again without proper cleaning but it most likely was anything beyond brand new. regarding modifications: check bootloader is locked from download/fastboot mode. if it is not ancient device it is safe with factory reset, because on locked bootloader no modifications allowed

@Robert Yes, I should have mentioned this. The seal did not appear broken, but the seal wasn't the most secure. I was able to peal off the remaining portion of the seal without much damage.

@alecxs Would the phone likely have been repackaged by the retailer or the manufacturer? Also, after following the steps here I can be assured that there's no malicious firmware after a factory reset? (i.e. there is no way to change the bootloader back to locked after unlocking or otherwise modify the tamper status after it has been changed).

retailer, probably? re-locking bootloader on modified partitions will brick device. except for corner cases where dm-verity implementation is weak, depends on phone model. for example samsung, huawei, xiaomi, lenovo are secure


text:
How to back up/export the work profile?
My phone is rooted: I can use OandbackupX to back up apps (APKs) with their data and TWRP to create recovery images, but the work profile appears to lack root rights and I have no idea how to grab the app data from there.
Shelter's app-cloning feature doesn't transfer app data based on my experience, only reinstalls apparently.

Termux with su might be an option?

I wasn't able to find when Android introduced the work profiles, but I'm on Android 9 if this makes a difference.

/data/users/ has apps' data from all the users. Use a command line utility such as tar to backup app data. Make sure to preserve permissions for the app directory and files (search web to get examples). Saved the APKs too if you don't have them and can't get them from elsewhere anymore.

@Firelord I see, my work profile was called 10.


text:
Hacker keyboard 5 row compact layout - where is the euro sign?
I've been using the hacker keyboard for ages, and with a bigger screen, I started to use the 5 row compact layout - the US international layout that is used for normal keyboards on laptops and desktops.
My problem: where is the € or euro sign?

Too bad you deleted it, because that could be the answer.

I uninstalled the keyboard, removing all settings, then reinstalled it. I enabled the 5 row compact layout (US QWERTY only). It looks exactly the same as my screenshot. I think you don't have this keyboard selected.

I have English (India) & English US as languages & keyboard set as 5 row compact layout (US QWERTY only), with the keyboard having default settings with only change being  Popup mini keyboard settings to the last one, Add Self

Press Alt and letter e, together and in the menu that appears, you see € at the end as in screenshot (see video)

If it doesn't work for you because of system language, you can try other Popup mini keyboard options

In theme and settings, I enabled ASCII (labelled alternate keys), I don't think that has any bearing, just clarifying so that you know why keyboard looks slightly different

Did it not work for you? Curious


text:
How to clear cache for all apps at once?
I want to clear all app caches mainly to reduce the size of and speed up backups. This feature has been supported in Android 4, but appears to have been removed a long time ago.
A root-only method is fine.

With root: for cache in /data/user*/*/*/cache/*; do rm -rf "$cache"; done. For other possible locations see https://android.stackexchange.com/a/218507/218526

@alecxs https://f-droid.org/packages/theredspy15.ltecleanerfoss/ - "Android API 23+ (Marshmallow) no longer allows apps to clean other app’s caches, thus the claim of cleaners clearing them is completely false."

...from the Google Play page: "✔ Clear all apps cache at once (1-tap cache cleaner without being root)"

@alecxs: Root methods are accepted, yes, I was only confused how the app clears caches without root since that doesn't be supported by Android anymore?

Link2SD requires root permissions for clear cache widget

This app let's you add an widget to clean cache. I have a paid version of app, not sure if it is available in free version or by the same developer, try this one (developer has all features built in in the first linked app and smaller apps separately)

I'm considering deleting this question due to potential risks and questionable benefits. Neo Backup (formerly OAndBackupX) has an option to exclude app caches.


text:
"Find My Phone" shows "No active devices"
I am having an issue very similar to this one. However, all the settings noted in the accepted answer are turned on for me. I have used find my phone in the past (though not for a while). I don't know how or when it changed but I haven't had this problem before.
I am able to see my phone on my account's devices, but the options there are not very useful:

As per here I also installed the Find My Device app on the phone. I can see my phone there, but I don't understand how that's useful (I could only find my phone from my phone if I have my phone already). The phone still doesn't show up on the web. Any help/ideas are appreciated.

Try 1.signing out of your phone and after a while signing in 2. Different browser 3.this 4.and this

Check on your device under Settings -> Security if it shows that "Find My Device" is active.


text:
Troubleshooting Device Policy Manager library failure on Android 9
Running MIUI 11 EU ROM/Redmi Note 7 (x86, x64,arm).
Logcat:
08-09 02:07:13.089 20371 20371 F linker  : CANNOT LINK EXECUTABLE "/system/bin/dpmd": "/system/lib64/libdpmframework.so" is 32-bit instead of 64-bit
08-09 02:07:18.098 20372 20372 F linker  : CANNOT LINK EXECUTABLE "/system/bin/dpmd": "/system/lib64/libdpmframework.so" is 32-bit instead of 64-bit

This repeats few thousands times.
Dmesg:
←[32m[25524.718572] ←[33minit←[0m: starting service 'dpmd'...
←[32m[25524.727366] ←[33minit←[0m: Created socket '/dev/socket/dpmd', mode 660, user 0, group 1000
←[32m[25524.728779] ←[33minit←[0m: Created socket '/dev/socket/tcm', mode 660, user 0, group 3003
←[32m[25524.730283] ←[33minit←[0m: Created socket '/dev/socket/dpmwrapper', mode 660, user 0, group 3003
←[32m[25524.750409] ←[33minit←[0m: Service 'dpmd' (pid 21932) exited with status 1
←[32m[25524.750512] ←[33minit←[0m: Sending signal 9 to service 'dpmd' (pid 21932) process group...
←[32m[25524.750803] ←[33mlibprocessgroup←[0m: Successfully killed process cgroup uid 0 pid 21932 in 0ms

(^this is very odd, I've actually disabled DPN autostart in /etc/init/dpm.rc but it still executes and I cant find any more entries for dpm service anywhere)
Props
←[0mlavender:/etc/init # getprop | grep dpm
[init.svc.dpmQmiMgr]: [running]
[init.svc.dpmd]: [restarting]
[persist.dpm.feature]: [1]
[ro.boottime.dpmQmiMgr]: [10482924682]
[ro.boottime.dpmd]: [10648556660]

I tried to google and there are plenty of results for the specific error however they are all related to the program build/compilation against specific platform and for these cases solution is fairly straightforward. In my case, though, I'm not compiling anything, I have no idea why this happens on stock. It looks like some application or service is built against different arch and it tries to bind that lib of specific arch but fails? But how can I find what app/system app exactly does it? As you can see, logcat and dmesg don't have much info.


text:
I was running an AVD on Android Studio and I got the following 2 errors. What do they mean?
Error number 1:
Emulator: E0809 05:21:56.677723102 2704 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1596930716.677712232","description":"SO_REUSEPORT unavailable on compiling system","file":"/mnt/tmpfs/src/android/emu-master-dev/external/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":169}

Error number 2:
Emulator: KVM: injection failed, MSI lost (Operation not permitted)

The AVD works fine otherwise with no issues, I was just worried why I was getting these errors. I was not compiling an app or anything while running the AVD. The first error appeared when I started the AVD and the second error appeared upon shutting it down.
I get two other messages that don't seem to be errors but I am including them anyway (both of these below appear upon closing the AVD. Only the first error appears when the AVD is started):
Emulator: Process finished with exit code 0

Emulator: deleteSnapshot: for default_boot

The AVD is running Android Q (API level 29) x86_64 image with Google APIs and the device I am virtualizing is Pixel 3
Here are my PC specs:
16 gigs of RAM

16 Gbs of RAM
Intel i3-8100 CPU
Linux Kubuntu
120 gig SSD (that Linux installed on)
1TB HDD and another 240 GB ssd for Windows (unncessary info I think but I included it anyway)

Error in the emulator log are nothing unusual. If everything works you can ignore them.

@Robert you sure?


text:
How to enable "Disable HW overlays" at startup?
Question is simple, is there an easy way to enable developer options on startup from a command line script or 3rd party app? I want to set the flag for 'Disable HW overlays' on startup because it gets turned off every-time I restart the system.
For reference I am on Android 10, with bootloader unlocked, custom recovery, and rooted.

Source-reddit, which references Android documentation

to DISABLE the h/w composer:
adb shell service call SurfaceFlinger 1008 i32 1

to ENABLE the h/w composer:
adb shell service call SurfaceFlinger 1008 i32 0

These need to be run as root and can be in a script or using the Termux Boot app as described in wiki
For some reason, this works the opposite way for OP (command for enable disables and vice-versa ; maybe a case for a separate question)


text:
Getting Root Access on Android 6.0.1 in Recovery Mode
I am trying to get root access from recovery mode with the Dirty Cow exploit. I have adb access and my device is on Android 6.0.1. When I use VIKIROOT it's stuck at "waiting for reverse connect shell".
I cannot open the clock/alarm app or toggle the bluetooth switch in order to trigger the backdoor. How can I root the device from recovery mode and decrypt the data (I know the passcode) of the device? Thanks.

Asus Zenfone 3. I am trying to use Dirty Cow as there is no other way that I know. I don't want to unlock the bootloader as it would wipe the data.

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

My device doesn't have a programmer and Kingoroot won't work on recovery mode.

I tried those programmers and they didn't work. A programmer is specific to a device and they need to be signed.

which one exactly you tried? usually signing is just vendor specific

I confirm that prog_emmc_firehose_8953_ddr_asus.mbn does not work.

thx for testing! too bad.. i assume you can't boot android anymore?

Sadly, I can't. Is there any other way for me to root my device on recovery mode? I can use adb just fine.

you can wipe cache partition, or install official updates from adb sideload or MicroSD card. nothing more you can do. even chip-off won't work for encrypted device

not sure about this (it's 9006 DLOAD mode) https://forum.xda-developers.com/general/rooting-roms/how-to-backup-qualcomm-phone-root-t3570178

Sadly that didn't work. Thanks for help anyway.