text:
reason of slow share it app how to make it fast
I use share it app. The version on my Windows 10 desktop of Share it app is the latest and updated screenshot below

Now when I try to transfer from my android phone anything to desktop using share it app there is speed variation I have captured screenshots these will make situation clear

You can see in the above screenshots speed for the same transfer is varying from 0 Kbps to 2 Mbps.
Occasionally large transfers broke also as in the screenshot above 9 Gb telegram files could not be transferred.
So I want to understand what is the problem. Which log file I can check to understand the problems and how can these be fixed? Is there a better solution for me?
Mobile phone is having android 9 OS.XiaoMi A3

I have the same problem


text:
Phone manufacturer prevents installation of apps signed by third paries, does anyone know a way around this?
I'm trying to put apps on an LG Exalt VN220, which is a flip phone that runs on a limited version of android. Whenever I try to install an apk using adb I get the following message: INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES. From a quick Google search I learned that this usually occurs when you try updating an app with an update that has a different certificate. This can not be the case because these apps were never installed on the phone before. When I pulled stock apps from the phone and tried to install them I got: INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION. However when I install apps by LG that did not come on the phone they successfully install. Does anybody know if there is a way to get around this?

Hi and welcome!  This is a rather old phone.  ❧  When was the last firmware update released?  Maybe it has some security vulnerabilities.  Can you somehow root the phone?  ❧  Why do you want to install apps on a flip phone?  You could buy a different low-end phone (maybe a refurbished Moto E6 or something) for not much money.

How many apps and which specific apps have you tested?

I've tried WhatsApp, eReader Prestigio, Waze and a ton of other apps. It seems to be all apps that are not signed by LG.

Reading responses from the folks on XDA Forum, they haven't been successful either, and looks like this is a very locked-down phone. I'm afraid there's no solution for this issue.

Not sure how it works with LG exactly because I don't own an LG phone. But I had similar issue with my mi phone.
Before you can install any apps using adb you need to enable developer setting allow usb debugging, and allow install via usb. LG might have some other flags too
In older version of android there was a switch - "allow install from unknown sources". Please look for these settings and do the needful.

This phone is locked down by the manufacturer and will not allow 3rd party apps. Apps compiled by LG will usually pass though, if they meet specific criteria.
Because it is a flip phone running in a dumbed down android environment, the system state is fragile and warrants extra protection.
Also, as of now, there is no known root method for this device, and it is unlikely that the device will generate enough interest in the dev community to produce one. (See Here.)
4G Flip phones from other manufactures are more susceptible to hacks and workarounds than the LG Exalt.

You need to edit the manifest.xml to com.android.cts.originalpackagename, if you only edit the xml, and not a recompile of the app, it will get past the signature check. as esaphire mentioned, apps4flip and kosherappsforflip have a bunch of already edited apps.

source: Stack Exchange

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

sort: votes


text:
Nokia 6.1 stuck in "Download mode"
One day my Nokia 6.1 goes into "Download mode" and rebooting doesn't help.
Flashing TWRP doesn't work:
$ fastboot boot twrp-3.3.1-0-PL2.img
downloading 'boot.img'...
OKAY [  1.235s]
booting...
FAILED (remote: unlock device to use this command)
finished. total time: 1.236s

Unlocking doesn't work:
$ fastboot oem unlock
...
FAILED (remote: Flashing Unlock is not allowed
)
finished. total time: 0.000s
$ fastboot flashing unlock
...
FAILED (remote: Flashing Unlock is not allowed
)
finished. total time: 0.000s

Repeatedly calling fastboot continue just prints a bunch of system info on my phone screen (e.g. DEVICE STATE = locked).
How do I recover the phone?

Factory reset
For some reason, my device was on slot b:
$ fastboot getvar current-slot
current-slot: b
finished. total time: 0.001s

After changing to slot a,
$ fastboot set_active a
Setting current slot to 'a'...
OKAY [  0.009s]
finished. total time: 0.010s
$ fastboot continue
resuming boot...
OKAY [  0.319s]
finished. total time: 0.319s

I got a menu offering a factory reset, after which the phone booted into the OS.

...then download the Nokia Bootloader Unlocker app and follow Nokia's instrucitons to unlock.

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


text:
On the Samsung galaxy watch, do I need Spotify premium to be able to access Spotify?
I've recently bought a Samsung gear S3 Frontier and I want to listen to Spotify with it. Do I need to have a Spotify premium account as well as on my android phone to be able you access Spotify on my watch?

Dunno.  Why not try it and see, then answer your own question and tell us what you learn?


text:
How to configure and Enable WiFi Hotspot through terminal without root
How can I configure and enable/disable the WiFi Hotspot using the terminal without root? Also I want to kick a user from my hotspot using the terminal.

Hi and welcome! Why do you want to do this using the terminal? Also, are you using an on-device terminal emulator, or a remote shell using adb and a USB cable?

@unforgettableid on device terminal

Why don't you want to just create a hotspot in the normal way, using the Android GUI?

Setting and enabling hotspot (software access point) is possible by calling methods setWifiApConfiguration and startSoftAp of wifi service. But at least since Android 8, the former requires permission OVERRIDE_WIFI_CONFIG while the latter requires NETWORK_STACK. Both permissions have Protection Level signature, not to be used by third party apps. Neither adb shell has any of the both permissions. So it's not possible without root access.
A workaround is to simulate taps and keyevents using adb shell input command, though it's not a commandline solution in true sense.

RELATED:

How to create a WiFi hotspot from the terminal?

How do you set ap band through these commands


text:
How to embed Android material icons such as "☰" or "⋮" in SMS / social-media messaging
I often find myself in a difficult situation while trying to explain how to do something on an Android device or app to  people who are not Android literate.
For instance, if I write

Press the hamburger menu or 3 dots menu

it doesn't make sense to them
whereas if I say

Press the ☰ menu or ⋮ menu

they immediately understand
How do I copy paste or embed material icons in text messages or in social media like WhatsApp ? App solutions are fine
As a last resort, root solutions are acceptable.
You can find a list material icons linked in Android Developers.
This SO question tangentially addresses but with no solution.
Even on this site, it would be far easier to explain using symbols, instead of cut-copy-upload-resize

Would it work to just phone the person? A lot of tech support is easier to do by phone than by SMS.

Thanks for your time. No. I am not into tech support. Besides, I can tell a group what to do and they act at their convenience

Would it work to copy and paste the text "Press the ☰ menu or ⋮ menu" from your question into a WhatsApp message? I don't use WhatsApp, but I know that many Android apps have good support for Unicode.

Yes, it does work on WhatsApp or SMS. That is the reason I chose them as examples :). I did search for apps having unicode support but somehow these codes aren't available - though they should be going buy comments on the SO question, I linked

Which material icons (other than "☰" or "⋮") do you want to embed, and in which app? Some of them have Unicode equivalents; others don't.

Most of the material icons linked in the question, if not all. SMS and WhatsApp is the target

Let us continue this discussion in chat.

Some workarounds might be to upload image files (showing the icon) or screenshots (annotated with bright red circles showing where to tap).  Or you could upload video with audio showing what to do.


text:
How can I disable the official YouTube app's incognito mode?
Preface: A warning for parents
If you want to protect your kids, disabling Incognito mode is usually not enough. If your kids are under age 13, it's wise to use a good filter to block the YouTube app and website altogether. You can then switch them to YouTube Kids.
To prevent late-night video viewing, and to avoid the late-night reluctant messaging problem: At night, you can take away your kid's laptop. And you can configure a bedtime for her phone and tablet. This will also make it harder for her to secretly use Facebook and games overnight.
Background
The official YouTube app for Android includes an feature called "Incognito mode". I'd like to prevent myself from using this mode, in order to discourage myself from viewing risqué content.
I'm logged into a Google Family Link "child account". Family Link has automatically disabled Chrome's incognito mode. Unfortunately, the YouTube app's incognito mode still works fine.
My phone is not rooted. Please assume that, if necessary, I'm willing to root it.
My options
I assume my options include:

To downgrade to an older version of the YouTube app, from before the feature was rolled out.
To disable the app altogether. (If I still want to watch YouTube, my only remaining options will then be to use a web browser or a third-party YouTube client app. The website works quite well in both Chrome and Firefox Mobile. Maybe some of the third-party apps work equally well; I haven't yet tried many of them.)
Or to contact the Family Link team with an enhancement request.

My question
Do I have any options other than the three options mentioned above? For example, can you offer me some instructions for modifying the decompressed YouTube .apk file contents, or can you suggest some other options?

YouTube is a part of stock OS and if you want to permanently disable features,  device needs to be rooted to even explore the possibility // Crafty kids can circumvent easily the options you listed out - Google will tell them. Some  app like Family Link may be a better option. I haven't used it or need to but this link, which I happened to see yesterday may help in setting it up - https://www.androidauthority.com/google-family-link-how-to-1067082/amp/?__twitter_impression=true

Family Link can't merely block the YouTube app's incognito mode.  All it can do is disable access to the official YouTube app altogether, which is a much more coarse-grained solution.

Same situation as yours, but one idea click on my mind. I have one temporary solution:

With the help of Family Link app, incognito is disabled in Google Chrome and Google Search app.

using Family Link, block the original YouTube app so that your child/brother can't use original YouTube app.

With help of Chrome, open YouTube website, and install YouTube icon using "add to home screen" option present in Chrome. In this YouTube, no incognito option is there, so our motive is complete to safe monitoring of YouTube.

Instruct your brother/son to use this app for YouTube.

Another option may be paid apps.


text:
How to open links directly in Firefox full browser?
In some apps (Google News, Read - Simple RSS Reader) when I tap on a link, it won't directly open in Firefox but in a simplistic viewer, supposedly also by Firefox. From there I only have two choices, close the viewer (which brings me back into the app) or open the actual Firefox browser. The problem is that all plugins are disabled in this viewer, so I always need two taps to open a link from those apps. How can I disable this viewer?

I have Firefox 68.3.0 installed, but the problem has existed for a long time.

Some app developers prefer to keep user within the app as much as possible, even when visiting external links. WebView embeds external web content seamlessly in an app activity so that it looks a part of it. However large contents like complete webpages which cannot fit inside app layout require a minimal browser to show them. Some apps have their own in-app browsers. A relatively recent addition is the ability of standalone browsers (including Chrome and Firefox) to show Custom Tabs inside other apps the same way an in-app browser looks.
When you tap a link, app may fire an explicit intent.action.VIEW to web browser or an implicit intent with URL as data. In latter case if there are more than one apps which can handle the given scheme in URL (e.g. https://) and a default app isn't selected already, system activity resolver (com.android.internal.app.ResolverActivity) shows Open With dialogue (with help from package manager which shows last selected app on top (see more details in this answer):

Then an explicit intent is forwarded to user selected app. So here if you select a browser (or other app) which doesn't provide Custom Tabs functionality, full browser is launched. But if the intent is a CustomTabsIntent (with EXTRAs) and the selected app (e.g. browser) supports Custom Tabs, the URL is opened within the calling app. Browser may start a CustomTabsService in background to receive intents with ACTION_CUSTOM_TABS_CONNECTION:
~$ dumpsys package | grep CustomTabsService
      android.support.customtabs.action.CustomTabsService:
        b5a09c8 org.mozilla.firefox/org.mozilla.gecko.customtabs.GeckoCustomTabsService

Firefox, at least, provides an option in settings to disable Custom Tabs:

Similarly some apps can provide a configuration option to open links externally, disabling in-app browser and/or custom tabs. Or you can customize the custom tabs behavior using third party apps like Lynket - an open source project (I have no affiliation). Theoretically the same approach can be used to disable custom tabs by selecting such app when "Open with" dialog is shown.

I get a preview that comes from Chrome, with an option to "Open in Firefox", which is my default browser. How can I disable this Chrome preview?

To answer my own question: go to the Firefox custom tabs option as shown above and do this sequence: off / on / off. I guess that turning it "on" steals the option from chrome, and then turning it off again finally solves the problem.


text:
No way to restore apps and data from Titanium Backup
Recently I switched from Lineage OS to Pixel Experience on my Xioami Mi 9t device. I made a backup of all my apps and data trough Titanium Backup and an update.zip file.
After flashing Pixel Experience and going through the setup I installed Titanium Backup on my phone and rebooted into TWRP to install the update.zip file. It flashed the zip file with no errors and automatically rebooted the phone into system.
However nothing happened and my apps and data were not restored. Then I wanted to restore them manually but trying to access my backup location on my external USB drive I found out I could not access my backup folder anymore, which was located at: /storage/extSdCard/Android/data/com.keramidas.TitaniumBackup
It is extremely frustrating knowing I have done everything to backup my apps and data but not being able to restore them anyway. If anyone knows a solution to this problem tell me, I would really appreciate your support.

I created the zip file from batch actions. 2. The size is 1.3 GB. 3. I tried to open it from > settings > Storage and from solid file explorer. However I can't access the subdirectories anymore from Pixel Experience. Strangely enough I can access them from twrp recovery. 4. I tried that but I can't copy and paste them from usb to my computer using a file explorer. I think it's a matter of not having the right permissions.

How does one change file permissions with Solid Explorer? Since I only have one usb port on my phone I can't 'adb push' from my usb-drive to my computer.

Android folder is for apps, not for user. you have installed TB on another rom. the uid for folder does not match uid for TB anymore (because it's random given in order how apps was installed). android apps cannot access foreign uid's, thats why the "new" TP deletes "old" folder (and all it's files in it) read more

As a matter of fact I can't access any folder anymore unless I open them from TWRP. I assume that the files are somehow encryted. I can copy/paste them from TWRP to my internal storage.

try the sdcard Fix Permissions script

Here is what worked for me. I booted into TWRP recovery. From there I copy pasted my backup files from my usb drive to internal memory. Then and only then I was able to access and restore my backups from Titanium Backup.

Sadly however, It also did not restore my apps, but one then it freezed and somehow magically removed all my backup files from the internal storage. :/

from Titanium Backup HOWTO:

install desired app (from Play Store or apk)
open the new app once
enable “System data migration” in preferences
Restore “data only”

(repeat this for each app)

i must say i never used TB and cannot test. but as long as you have the backup files on your PC, there is definitely a way to restore, no worry. as last option you can extract files manually and set new uid's


text:
Where is the "android_id" stored and when does it change?
I want to build a device_id with android_id, any one knows the answer to these three questions?

Where is the android_id value stored?
When is the android_id value initialized, i.e. the first time the value is set?
In which cases does the android_id value change?

please see this answer, especially the links to developer.android.com.

Where can I find the ANDROID_ID on my device?

Where is the android_id value stored?

On Android 5 and earlier this was stored in secure namespace of device Settings. So you can extract using:
~$ content query --uri content://settings/secure --projection value --where "name='android_id'"

Or:
~$ settings get secure android_id

Or directly read the secure table of settings.db database file. For device owner:
~# sqlite3 /data/user/0/com.android.providers.settings/databases/settings.db 'select * from secure where name="android_id"'

Since Android 6 settings are saved in xml files. For device owner:
~# grep android_id /data/system/users/0/settings_secure.xml

Since Android 8, android_id is "unique to each combination of app-signing key, user, and device" so as to deny "developers the ability to track users across multiple applications". These unique IDs are stored in /data/system/users/<User_ID>/settings_ssaid.xml.

When android_id value init, the first time set the value?
Which case does the android_id value change?

As evident, android_id "is randomly generated when the user first sets up the device and should remain constant for the lifetime of the user's device" unless a factory reset is performed which clears all settings.
On Android 8+ the app specific android_id "value may change if a factory reset is performed on the device or if an APK signing key changes".
Keeping all in view it doesn't seem a good idea to build a device_id with android_id.


text:
Flashing stock firmware deletes everything from / (root) directory?
Hello i have a Xiaomi Mi 8 and i was playing with adb shell servies commands and now it shows "android phone service stop working" and it keeps rebooting.My question is when i flashing stock firmware from xiaomi tool, deletes everything from / (root) directory and installs new one folders/files?I want to check this to make sure if it's hardware or software problem

"when i flashing stock firmware from xiaomi tool, deletes everything from / (root) directory and installs new one folders/files?"
Most likely yes, if there is no option to keep them in Xiaomi tool. All internal storage will be cleaned except external SD card if you have inserted it.


text:
Do Magisk modules pose a privacy risk? How to overcome?
Further to this excellent answer here by Irfan Latif How Magisk works? and considering that Magisk modules need not be open sourced (Are all Magisk Modules Open Source?), the question is
Do they pose a privacy risk?
(Risk as defined here)
I guess the answer is yes, for instance a battery performance module needs to know the device identifiers to tune the parameters (Lspeed d, FDE etc) but wanted to be sure
and if so, what can one do to protect privacy - outside of not using them :(
Note:Some modules like Lspeed create an app too but restricting app using XPrivacyLua seems pointless if the module itself is a risk.


text:
How to decide which MicroSD card to buy for your Android device
You have an Android device running Android 5.0 "Marshmallow" or better, and it's running low on storage space.
Some modern Android devices don't have a slot for a MicroSD flash memory card. But yours does; it's hidden underneath the (removable) back cover.
You want to buy a MicroSD card; how can you decide which one to buy?

You may find this answer useful

Dear all:  This is not a specific hardware-recommendation question; it's general-purpose advice on how to choose hardware yourself. Therefore, it looks from here like it may be a suitable question for this website.

@beeshyams:  A1-rated cards can be hard to find. It may be possible to find cheaper and more commonly-available cards which are still fast enough. Instead of looking for an A1 rating, you can look at benchmark scores; or you can rely on a third-party hardware-review website where they looked at benchmark scores for you.

I find A1 rated cards easily and have bought from Amazon India. But I do see your point about benchmarks

This answer assumes that your phone is running Android 5.0 "Lollipop" or higher, and that your phone lets you move apps to a MicroSD card. (Most ancient Android 4.x phones, and even some modern Android phones, lack support for moving apps to MicroSD cards.)

Choose a card good enough for fast app performance
It's quite possible that you'll eventually decide to store apps on your MicroSD card. Therefore, I recommend that you choose a MicroSD card which is good enough for fast app performance.
Lots of product-review websites offer recommendations. The Wirecutter's recommendation article is a fine choice; it looks like they've been periodically updating it for the past few years.
I'm reluctant to offer a specific recommendation here, because I may not return here to update this answer every few years.
Don't be cheap: upgrades may be impossible
Before storing apps on a MicroSD card: Consider buying a card large enough so that you'll never need to upgrade your current phone to a larger card. This is because, once you've installed apps on a MicroSD card, it may be difficult or impossible to upgrade your phone to use a bigger card.
MicroSD cards can fail
MicroSD cards store your data on a tiny flash-memory chip. Unfortunately, the profit margins on MicroSD cards can be razor-thin. To cut costs, manufacturers use low-grade flash-memory chips which may be far less reliable than the flash memory built into your phone. See, for example, this source.
MicroSD cards can fail irreparably, without prior warning.
If it only holds photos, music, and videos, a MicroSD card will probably last for years. If you store apps on the card, though, this puts more stress on the card, and it may fail significantly sooner.
If you plan to store any irreplaceable data on your MicroSD card, make regular backups. If the backups are encrypted, keep extra copies of the encryption key in two different places.
High-endurance MicroSD cards
You can buy special "high-endurance" MicroSD cards. These may be more reliable, but are often slower. (Source.)  I therefore assume it's probably unwise to store frequently-used apps on "high-endurance" cards.
Avoiding counterfeit cards
Counterfeit cards can fail, permanently, within an hour or two of purchase. The Wirecutter offers some good advice on avoiding counterfeit cards. One good option is to shop in-person at a trustworthy local store.
Detecting counterfeit cards
There are lots of tools which can tell you whether or not a card is counterfeit. Some such tools are very slow. The fastest tool is ChipGenius (for Windows). If its reported card capacity matches the advertised card capacity, then the card is genuine. Another reasonably-fast tool is FakeFlashTest (for Windows). These tools are freeware. (Source.)
Dealing with counterfeit cards
If you bought a counterfeit card, you may or may not be able to get your money back. But it's worth trying.

First, you can ask the retailer for a refund.

If that fails, you can try any of the following:

If you bought the card from an online marketplace, contact the website operator.
If you paid using a credit card, contact your credit-card issuer.
Contact your local Better Business Bureau, if there is one.
Contact your local small-claims court, if there is one. You don't need a lawyer.
Contact another local court.
Contact your government.

Speed matters. If you wait too long, it may be too late to try to get your money back.


text:
Change web browser and text message app in Huawei P30 Lite
On my Huamei P30 Lite, I am using Firefox as a web browser app and Silence as text message app. Although I changed the default app in the settings, I am not able to change the app in the bottom navigation bar, see circled icons in the attached image. I did it on my previous phones (LG GT540, LG Optimus L5 II and Samsung Galaxy S7 Edge). How can I change those apps?

Try press- holding it for a few seconds and you may be able to move or delete as with many launchers. Or simply Uninstall those default apps (if permitted). Last resort change to a launcher like Nova or any other which doesn't force default icons to be displayed

After two days, I finally figured this out. Long press on the icon only display a new menu. In order to change it, I pressed another upper icon, e.g. Play Store, then, dragged this icon into the lower bar, e.g. beside Chrome. Only then, one is able to drag icons away from the lower icon bar.


text:
How to know about MIDI controller via OTG latency on device?
I have both these devices. I read somewhere that Android doesn't support good latency for MIDI devices as iOS do. But when I connect MIDI device to Sony Xperia M5, it has high latency. If I connect to Lenovo Tab 10, it's much better. I can even play normally on MIDI keyboard with Lenovo Tab 10. Both devices run Android 6.0. Is it possible to know if device has good latency or not?

So High Performance or Low Latency Audio on Android has been a work in progress for quite some time as seen on the Android Developer Audio Latency page.
Ideally the device will report supporting android.hardware.audio.pro feature flag indicating some level of compliance with the Android Compatibility Definition Document regarding 20ms round trip latency.
Superpowered is a company that makes an Audio SDK does provide test app and chart of devices/OS versions & buffer sizes with their latencies. While I'm not sure of the model versions that you have, you can use the APK on the page to test your current devices and use the list to inform future purchasing decisions.

Thank you very much. My devices are Sony E5603 and Lenovo X103F. I didn't see my devices in that page. But where can I see if it has android.hardware.audio.pro? I recently ordered this phone (still waiting for it). But here I can't see anything about audio pro or audio latency.


text:
Encryption on SD card. Not recovering data after crashing
My SD card on Nokia 5 suddenly stooped being recognized one day and all my apps and data was lost. I switched off the phone and reinserted the card, but no use. Then I took the card for recovery with a data recovery company - Stellar Data Recovery in Gurgaon. They inspected and told me that all they can see on my SD card is garbage and it could be encrypted or its logical drive could have completely been wiped. I had encrypted my phone but I haven't encrypted my card. Any pointers on what should I do next? The data is very precious to me and I need to recover it.
This is a SanDisk SD card 64 Gb, class 10 used with a Nokia 5 with Android 9 version
Update:
Thanks for all the answers people. The data recovery company I gave my disk to were unable to proceed with these steps because I suppose they were not as technical to try these steps. So, they returned my card stating that my card is encrypted and also has physical damage so they can't do anything. That left me heartbroken because this data is important to me.
I am planning to do all these steps myself.

Meanwhile, can I insert another card in my still-unrooted phone, which still has the old corrupted card as an adoptable storage in its settings?

2.Can this new card be made adoptable? Will doing so make the old card's vold keys disappear from the phone?

Can I make this new card partly adoptable and partly removable through disk partition on Android 9? Will this also affect my old card's vold key?

I just need to know that I will not permanently lose all my old cards vold keys if I insert a new card and make it adoptable as well.
Thanks.

you say apps and data was lost - implicates apps are stored on sd card, which is in fact only possible when sd card is formatted as adoptable-storage (which is encrypted)

You should ask it in another community.

@alecxs He's said the logical drive could have completely been wiped.

Please edit your question to clarify if you formatted your external SD card as Adoptable or Portable Storage. Is your device rooted and/or bootloader unlocked? Did you perform a factory reset after SD card corruption?

Hi,
Thanks for all the comments. The recovery company is saying that the disk is encrypted and hence data is not being recovered. Since I was storing apps on it, I think it was being used as adoptable storage. My phone is not rooted and I did not format the card or factory reset my device after corruption.
Is there anyway to recover the data now? Also, what should I do in future to prevent such mishaps? How does one select between Adoptable and Portable Storage on Android 9?
Any answers will be appreciated. Thanks!

first you need keys from /data/misc/vold. this directory is not accessible without root. you need to find a exploit to access the (encrypted) userdata partition (which can only decrypted on device itself). rooting is not an option because this usually requires unlocking bootloader (which will reset the device). once you have the key, you can decrypt and try to recover files. nothing is impossible, but its very hard

the proper way is give your sdcard + device + screenlock pin to the expert
the Nokia 5 is listed as exploitable. someone with skills can do:
on the device itself

make a full ROM dump of all partitions including encrypted userdata partition and encryption key using the read command in EDL mode
downgrade the bootloader to make bootchain vulnerable
flash avb/ dm-verity disabled vbmeta from EDL mode
flash (unsigned) magisk patched boot/recovery or twrp custom recovery from EDL mode
get root access to (decrypted) userdata partition
extract the encryption key of adoptable-storage from /data/misc/vold

on linux machine

dump the corrupt sdcard with ddrescue
decrypt the sdcard dump with extracted key
recover files with testdisk photorec extundelete binwalk etc

Important: scroll down and read Qualcomm-EDL-Exploit-and-Encryption also read Exploiting-Qualcomm-EDL-Programmers(2):Storage-based-Attacks&Rooting i post in comments until i have time to improve answer because just-link-answers not allowed


text:
Where map applications get live traffic data?
Nowadays, there are a lot of traffic applications that help us to choose the better path to being arrived at the destination.
Therefore, it's the common question for people, "How does it work?"
I need some professional information about it. Please tell me in deep detail.
Any help would be appreciated.
UPDATE:
I don't mean "How does Google know where I am?" or something like that which asked in THIS link.
Look at this picture and you'll understand my objective.

@beeshyams No, I just updated the question.

"Google Maps check the traffic by tracking moving of Android phones on roads." Question is about a Google's proprietary product, not Android.

@IrfanLatif Thank you. Now I got something.

when i am on the freeway at 3:00 a.m. it shows me yellow (slow traffic). but in fact the road is free, not much traffic, except for 90% of vehicles are trucks (which have speed limit). this makes google believe all cars driving unusual slow https://fossbytes.com/google-track-live-traffic

I can't go into 'deep detail' about the exact mechanics as I simply don't know them.
Google own the 'social' navigation app Waze.
Waze allows you to report traffic accidents and roadworks and such so that other users can be made aware of them before they get to the affected area and, hopefully, adjust their route accordingly.
One of the permissions you give Waze in exchange for this free service is the permission to track your location.
Waze and Google then use this information to calculate your speed.
Obviously live traffic mapping wouldn't work very well if there was only one person using the app.
Thankfully many people use Waze every day and Waze and Google use the data from all  users to accurately map out traffic jams and calculate average speeds and journey times.
I can't say for all places but, in my local area I know the local radio station help to report traffic accidents and roadworks on Waze and also use Waze for their traffic updates.
For a brief explanation on Waze specifically you can read this page https://support.google.com/waze/answer/6078702?hl=en


text:
My Android phone will not boot
I have an adroid phone Samsung Trend Lite and it won't boot. It goes off immediately.
Let me explain the situation more clearly.
I got this phone from a cousin and he said that it was broken and he couldn't fix it. I got the phone and tried to power on but it shuts down in the moment it appears the words: Samsung Trend Lite.
I thought it was a battery moment so I plugged it and I let it for sometime. I tried to power on the phone while charging but no luck.
While charging I tried to press the power button and the home button and it showed me the battery that was charging. In beginning I thought it was a circuit fault but after that, I came to a conclusion that it wasn't.
After 1 hour passed I pressed again the Home button and the Power button in an attempt to go to the boot menu. I made it but it showed me an error. A yellow triangle with an exclamation mark.
Though I wasn't able to read the message because it disappeared too fast. I searched on google with the hopes that I could actually find something but I couldn't find anything.
If you know anything that could help me, I would be really happy. Thanks in Advance :)

it is a very old device, the emmc is probably weared-out, the usb-connector may weak, or the battery is dead. there is not much hope, but if you like replace battery (or charge with external charger), you may be able to flash CWM or TWRP and play around with manual formatting partitions, flash ROMs etc from recovery mode

Your phone bootloops. As I know, the only way to solve this problem is reflashing firmware and most likely you'll lose your data. Possible reason: modifications with root privilegies.

"message disappeared too fast" - which kind of boot loop will exit itself from bootloader?


text:
Amazon Fire TV stick adbLink Device Unauthorised
When following the tutorial to disable the annoying 20 minute Amazon Stick sleep timer and using the method that changes the sleep time value in the core shell, you might not be able to connect to the amazon stick using adbLink with the error: Device unauthorised press refresh or see help.”
The tutorials that you will find will be completely useless, they will be a horrible video of the developer pressing the refresh ADB button, and a badly written developer tutorial that tells you to delete some files somewhere on some device.

Welcome to Android Enthusiasts. I strongly recommend to edit your question to improve it and especially to make it more clear what your actual question is. Also note that a good question should link to the external tutorial it refers to.

@Robert my question is the tutorial because I found the solution, other suggested fixes on the internet are a joke

If you want write a tutorial first create the question without the solution and afterwards answer your own question with the solution. Anyway I don't see where your post contains helpful information. Please make it more clearer.

The issue is easily resolved by connecting the amazon stick to the correct primary WiFi channel, usually that is 2.4GHz channel by default. If your stick is connected to the 5GHz channel of your network it might not be discoverable by the adbLink.

I found toggling the developer mode off then back on on the Fire Stick worked for me.


text:
Is it possible to use Google speech recognition in the Google Translate application for Android while offline?
Is it possible to use Google speech recognition in the Google Translate application for Android while offline?
When I try, it says that Google voice typing can't be used "in this field", and the built-in speech recognition in Google Translate doesn't work when offline.
Google voice typing does work in other applications when I'm offline, as I download the speech recognition model:

From Google forums as of September this year

You cannot translate voice offline.


text:
Nokia 7.2 running slow with Android One version 9
I have Nokia 7.2 which is running Android One version 9. Since 2-3 weeks there I have observed a visible sluggishness in my phone. For e.g. it takes 1-2 seconds when I turn on/off WiFi or mobile data. Below are some of the steps I have taken to resolve this but none have succeeded so far.

Deleted all the unused few apps
Reduced animation to 0.5x from Developer Options
Periodically verified Settings > Battery to check any misbehaving app. But it always shows 'Phone has typical background battery usage'
Made sure all the apps and Android is updated as and when an update is received. The current security patch is for 5 Dec 2019.

The sluggishness seems to restricted to the Android functionality itself like unlocking the phone, turning on the camera. The apps themselves run fine once they are opened.

There are some reports in Nokia Community that the most recent MR update (December 2nd update) release to the Nokia 7.2 has caused some lagginess for a number of users. You will need to wait for Nokia to push a release which fixes this.
My Nokia 7.2 has been working normally. So, not all users are impacted. And some users already tried with a hard reset with zero luck.


text:
Main super user app not working on Redmi note 6 pro
I rooted my n6p (after unlock of bootloader) using TWRP and flashed Magisk which installed Magisk manager. Many root checkers showed my phone was positively rooted.  After that I was using titanium backup as superuser  app, it was working fine and other apps also got super user access. But titanium b. has known issues with Magisk (https://github.com/topjohnwu/Magisk/issues/672).
After titanium backup was denied superuser access a couple of times I tried to uninstall and install tb, but now it just keeps stopping whenever I open it.
I tried using all sorts of superuser apps, root explorers, bash scripts, ads remover etc but ALL of them are "denied superuser rights".
Also other super user apps including tb I install are not detected by Magisk.
Thanks, I'm new here so sorry if I left out any details.

Maybe uninstall and re-install Magisk?

Flashing Magisk Canary is an option too

Yeah but I'm scared that uninstalling it will result in it stop working too and I'll have to flash it again

Right now also it's not working..... Your call

don't mix up magisk with other superuser apps. if you uninstall magisk manager from settings - apps only, your device keep it's current modifications (so you can just install magisk manager apk any time) try another backup app http://play.google.com/store/apps/details?id=balti.migrate


text:
Sahara fail while trying to flash a rom into my phone
I tried to flash a custom rom into my phone but it was an unsuccessful try and I decided to update the TWRP recovery in order to increase my chances to flash a rom. But istead of updating TWRP I bricked my phone somehow I even don't understand. The phone is Lenovo ZUK Z2. I tried to flash a stock rom via QFIL previously installing all drivers needed.
But when I actually press the download button it says:
Validating Application Configuration
Load APP Configuration
COM:20
SAHARA:True
SAHARA:C:\ZUI\prog_emmc_firehose_8996_ddr.elf
SEARCHPATH:C:\ZUI
RAWPROGRAM:
rawprogram0.xml
PATCH:
patch0.xml
ACKRAWDATAEVERYNUMPACKETS:False
ACKRAWDATAEVERYNUMPACKETS:100
MAXPAYLOADSIZETOTARGETINBYTES:False
MAXPAYLOADSIZETOTARGETINBYTES:49152
DEVICETYPE:eMMC
PLATFORM:8x26
VALIDATIONMODE:0
RESETAFTERDOWNLOAD:False
MAXDIGESTTABLESIZE:8192
SWITCHTOFIREHOSETIMEOUT:30
RESETTIMEOUT:200
RESETDELAYTIME:2
FLATBUILDPATH:C:\
FLATBUILDFORCEOVERRIDE:True
QCNPATH:C:\Temp\00000000.qcn
QCNAUTOBACKUPRESTORE:False
SPCCODE:000000
ENABLEMULTISIM:False
Load ARG Configuration
Validating Download Configuration
Image Search Path: C:\ZUI
RAWPROGRAM file path: C:\ZUI\rawprogram0.xml
PATCH file path:C:\ZUI\patch0.xml
Programmer Path:C:\ZUI\prog_emmc_firehose_8996_ddr.elf
Process Index:0
Start Download
Program Path:C:\ZUI\prog_emmc_firehose_8996_ddr.elf
Binary build date: May 13 2015 @ 14:41:37
QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.exe -p \\.\COM20 -s 13:C:\ZUI\prog_emmc_firehose_8996_ddr.elf 'Current working dir: C:\Users\vladi\AppData\Roaming\Qualcomm\QFIL
Sahara mappings:
2: amss.mbn
6: apps.mbn
8: dsp1.mbn
10: dbl.mbn
11: osbl.mbn
12: dsp2.mbn
16: efs1.mbn
17: efs2.mbn
20: efs3.mbn
21: sbl1.mbn
22: sbl2.mbn
23: rpm.mbn
25: tz.mbn
28: dsp3.mbn
29: acdb.mbn
30: wdt.mbn
31: mba.mbn
13: C:\ZUI\prog_emmc_firehose_8996_ddr.elf
17:01:24: ERROR: function: sahara_rx_data:194 Unable to read packet header. Only read 0 bytes.
17:01:24: ERROR: function: sahara_main:854 Sahara protocol error
17:01:24: ERROR: function: main:265 Uploading  Image using Sahara protocol failed
Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
Finish Download

Screenshot of QFIL
The phone is in fastboot mode all the time. I tried to follow a dozen of howtos but no of them helped. I also used MiFlash, here are the error and the phone state:
Fastboot
MiFlash screenshot

you need to switch device into EDL mode and install Qualcomm HS-USB QDLoader 9008 driver

@alecxs, I had an "failed to turn into EDL" error before that Sahara issue if it means anything. Thank you, I'll try

@alecxs, haven't I already done this? How do I distinguish normal and EDL modes?

something like fastboot -i 0x2b4c oem reboot-edl you will see 9008 in device manager

https://forum.xda-developers.com/android/software-hacking/guide-how-to-reboot-to-edl-fastboot-t3394292

https://youtu.be/QmT1rHqSINo

@alecxs, thanks for your help. But I already have it as a 9008 port. You can see it on the screenshots I provided. Correct me if i mistaken

i don't own this device but i don't think it can be in fastboot mode and EDL mode same time. sahara_rx_data:194 Unable to read packet header looks like the program did not receive data from phone (if rx mean receive / tx transmit)

is fastboot working or not? fastboot getvar all

according to this thread the issue can be a timeout. click the Download button right after entering EDL mode https://forum.xda-developers.com/showthread.php?t=3624264

See here how I solved this problem. Somehow Windows is blocking the flashing of the device, that's why the sahara error occurs.
https://superuser.com/questions/1538067/cannot-flash-qualcomm-with-stock-image-lenovo-tab-m10-tb-x605l-lte-android-8-o
Sorry for posting it as an answer, I don't have enough reputation yet to comment on questions. But, in fact, it's a working solution for the problem exactly as described, which - I hope - is anyway enough to qualify as an answer.

Error:-
Sahara server is failing : sahara protocal failed.
Ans:-
I have adjusted the cable connection and it work perfectly. ADB Cable was not connected properly.
another fix
just go to fastboot
hold power button as soon as mobile switches off , hold vol up and down button  to go to download state .
Now fastly press download button in QFIL tool it will start programming and download successfully . worked for me

Welcome to Android Enthusiasts! Are you sure your answer is intended for this question? OP didn't state the device was not detected, and the description doesn't suggest a connection issue (as the other answer confirms). If you indeed intended to answer this question, can you please provide a few more details to make that clear?


text:
"fastboot set-active" command fails
I'm trying to flash a custom ROM on my Xiaomi Mi A3. When I flashed the ROM using TWRP and rebooted my phone, it got stuck on fastboot mode, won't even boot to recovery.
I found a friend with a similar problem and he said that all he did was changing his current active slot, so I am now trying that. However, when I try to enter the command fastboot set_active a on my computer, it returns the usage message (the list of commands) and when I try the command fastboot --set-active a, it says unrecognized option.
I am using the platform-tools r29.0.5.

The command shouldn't have any spaces. The correct command will be:
fastboot --set-active=a

Or if you want to write it in short:
fastboot -aa to set the active slot to A.
fastboot -ab to set the active slot to B.


text:
Can any mediatek android use HotKnot as long as the appropiate files are included in the ROM?
Where I am currently living, my government has blocked internet access.
We are sending important messages to each other using various mesh network apps like 'firechat', but the problem is, many of my friends don't have these apps installed on their phone and they can't access them from the app store or the internet.
Since I often have to troubleshoot without access to the internet, I like to be prepared for various file delivery methods in case one method doesn't work.
My phone is using a ROM that I have compiled myself and thus I can include functionalities into it that are not normally present on many phones, like FM radio, call recording, IMSI-catcher detection, etc...
Could I use HotKnot to send files to another phone if my phone is not a Chinese phone which had HotKnot installed on it originally?
I am wanting to know if it would be worth integrating the HotKnotBeam Service, Share, and Connectivity apks on my mediatek phone's ROM just in case I might need them?
If not, which devices could still use HotKnot even if the service wasn't on the phone originally?

Can someone add the HotKnot tag please?

"There is no such  thing as a Hot Knot app, because it’s part of the hardware of the phone." source

Thank you, you are correct. I have edited my question so it was more specific. I was wondering if all mediatek phones could use HotKnot. As I was wondering if I should include these drivers in a new ROM or not.

@GabrielFair MediaTek is SoC manufacturer. That's no way linked to touch panel.


text:
preview a vCard without adding it to the contact list
Is it possible to preview a vCard (placed online, as a file or QR code), the same way it's done for NFC?
How it works for NFC: https://youtu.be/NCkBAELTODk
Firefox just saves vCard silently, without asking any questions. Trying to open it with contacts asks where to import it.

vCards are plain text files, so you can directly open them with any text editor. There you will find details like Name & Number.

This question is not about how to read vCards, but how to preview it the same way as for NFC.


text:
SELinux permissive kernel - is it a security risk?
As in title. I am talking of Kernel, not ROM (plenty of questions dealing with ROM on this site).
I have a OnePlus 7 running stock Android 10 and prefer a custom kernel. Of late, OnePlus hasn't released source for kernel and this has played havoc with all custom kernels in OnePlus 7 and other variants. So, I want to flash a kernel
that is independent of the changes One Plus makes.
Only problem is that it is SELinux permissive and therefore I want to understand the security risks before flashing it.
Edit:
As requested in comments (deleted) :
-# zcat /proc/config.gz | grep CONFIG_SECURITY_SELINUX
CONFIG_SECURITY_SELINUX=y
# CONFIG_SECURITY_SELINUX_BOOTPARAM is not set
# CONFIG_SECURITY_SELINUX_DISABLE is not set
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_AVC_STATS=y
CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=0
- # zcat  /proc/config.gz |grep CONFIG_DEFAULT_SECURITY_SELINUX
CONFIG_DEFAULT_SECURITY_SELINUX=y
-# mount | grep selinuxfs
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)

Let us continue this discussion in chat.

With the permissive kernel flashed the output is identical to the one in question

SELinux is a security framework which restricts (kernel and userspace) processes within their domains according to defined policy. So the ultimate goal is to load a working policy, label filesystems with proper contexts and set SELinux enforcing. It doesn't matter who does this; kernel or some userspace process, though the sooner the better. And permissive is an SELinux mode always ready to be switched to enforcing mode. However switching other way may or may not be allowed by the policy.
In other words, kernel being SELinux permissive by itself is not a risk, if the the ROM overrides that to make it Enforcing. What SELinux permissive kernel gives you is a flexibility to flash ROMs that demand SELinux permissive or for any other app that needs it. But it is always advisable to keep the device in SELinux Enforcing state (getenforce on Terminal Emulator will reveal).
Mostly ROM developers build kernel with CONFIG_SECURITY_SELINUX_DEVELOP=y. From kernel configuration:

With this option enabled, the kernel will start in permissive mode (log everything, deny nothing) unless you specify enforcing=1 on the kernel command line.  You can interactively toggle the kernel between enforcing mode and permissive mode (if permitted by the policy) via /selinux/enforce.

Some vendors may disable the said configuration or may add enforcing=1 boot parameter to kernel cmdline when building boot.img, so that SELinux is always enforcing even before the very first userspace process init is started. Going a step further ahead Samsung kernel sources are patched with options SECURITY_SELINUX_ENFORCING and ALWAYS_ENFORCE. Other extreme is that SELinux is disabled at all by building with SECURITY_SELINUX_DISABLE=y and writing to /sys/fs/selinux/disable, or by building with SECURITY_SELINUX_BOOTPARAM=y and passing selinux=0 kernel parameter.
Starting kernel in permissive mode gives the ROM developer and end users freedom to set SELinux mode permissive or enforcing on boot (or even during running OS by writing to /sys/fs/selinux/enforce), and develop a policy according to the requirements. That's how userdebug/eng builds of ROMs are debugged. init can be forced to set SELinux permissive on boot by setting androidboot.selinux=permissive boot parameter.
OEMs switch to user builds when releasing stock ROMs once sepolicy is fully developed. init on user builds always sets SELinux enforcing, so it won't boot with SELinux disabled. Custom ROMs, however, usually remain userdebug which allow root access (adb root and /system/xbib/su) and other relaxations. Some more details can be found in What sepolicy context will allow any other context to access it?
So while disabled or permissive SELinux in kernel or ROM makes the device equally vulnerable, a permissive kernel is usually a good thing (at least for ROM developers and power users). Enforcing kernel is an overkill unless the user is glued to the stock ROM throughout life of a device. However if SELinux is disabled (e.g. built without CONFIG_SECURITY_SELINUX=y), stock ROM will get into bootloop.

If kernel is built with CONFIG_IKCONFIG, extract-ikconfig shell script can be used to check build configuration without flashing to device. On running OS zcat /proc/config.gz can be used.
ROM build type can be checked with getprop ro.build.type.
Kernel commandline boot parameters can be checked by extracting boot.img. On running OS cat /proc/cmdline can be used.

As always, a very thorough answer from you. Much appreciated :)

For readers - I flashed the kernel in question and happily so after the thorough explanation by Irfan

@beeshyams thanks :)

Great explanation!  I couldn't figure out how to build a kernel with SELinux permissive until this post.


text:
How to perform a hot reboot using the terminal emulator?
How do I perform a hot reboot on my device using the Terminal Emulator? I do not have busybox installed, but my phone is rooted.
EDIT: I am looking for a solution to perform a hot reboot(see Quick Question - Hot Reboot - Android) using the terminal emulator/shell.

if device is rooted you can kill the gui process from root shell, it will restart immediately. terminal app and all subprocesses are killed too, but adb shell processes will survive. all current mounts remain intact (even manual mounts) device is not fully rebooting
killall system_server

for devices with property init.userspace_reboot.is_supported enabled (Android 10+)
svc power reboot userspace

or
adb reboot userspace

While the other answer correctly states a way to force a (very) soft reboot, I'd like to add some in-depth details (which may not make sense to everyone :).
WHAT IS HOT / WARM REBOOT?
In order to answer your question we need to define what a hot (or warm) reboot is on an Android device. Terms cold (or hard) boot and warm (or soft) boot are more associated with PCs, particularly Windows. For mobile phones or embedded devices it's difficult to draw a clear line between cold and warm boot. In case of cold reboot, usually power is cut to CPUs, and also possibly to RAM and even to whole motherboard. Soft reboot only kills and starts the processes, while retaining power to hardware components. Power management is part of open-source ACPI/UEFI/BIOS standard on PCs while on phones PMIC firmware is usually used with SoCs.
HOW REBOOT WORKS ON ANDROID?
On (re)boot SoC firmware loads bootloaders in memory which then load executable binaries and start processes (actual OS). From my answer to What is the fastest way to shutdown un-rooted Android phone?: Android is based on Linux kernel - the very first executable of operating system which is run during boot process. Kernel initializes necessary hardware and prepares a basic environment before executing init - the very first userspace process we can see. It's init which then starts and takes care of all services and processes.
A civilized way to do reboot or shutdown is to let all processes terminate themselves saving any pending work, un-mount filesystems and then ask the kernel to reverse the boot process. init can handle this on modern OSes or you can do manually through /proc/sysrq-trigger interface. Or we can ask kernel to perform a quick reboot killing everything. However this may cause data loss, particularly due to filesystem corruption.
A brutal way is the long press of power button (handled by PMIC) which is a cold reboot (or shutdown) in true sense because the power to CPUs (and RAM) is suddenly cut without waiting for userspace processes and kernel to terminate gracefully.
DOES ANDROID PERFORM COLD REBOOT?
On Android phones (and on other systems as well) a normal reboot is not completely cold as power is not cut at least to RAM because it holds an area where kernel panic logs are stored which can be accessed on next boot (refer to ramoops used for last_kmsg or pstore). See some more hints in bootloader boot reason specification. Similarly some other memory regions allocated to SoC components and signed firmware which are isolated from application processor (AP on which main OS runs) may also not be erased. They include Baseband Processor (modem), Digital Signal Processor (DSP), WiFi / BT module etc.
However a normal reboot isn't a warm reboot either. During reboot kernel kills itself and hands over the control to bootloader(s) which may boot device in different possible modes (fastboot/bootloader, recovery or normal boot). The low level details are vendor and hardware specific; if a device performs a complete power-on reset (PoR) or if the hardware is not reset at all. Which components are powered down during different types of reboots depends on the interaction between kernel, bootloader, SoC, PMIC, watchdog hardware etc.
HOW TO DO A HOT REBOOT?
Linux kernel also supports another form of warm reboot: kexec. Kernel can terminate userspace processes and itself, executing a new kernel which then may start new userspace environment without doing hardware reset, POST and re-initialization by BIOS. See kexec-reboot for instance. However the new kernel has to consider that the hardware devices aren't reset, so they won't be in sane state. This approach is theoretically possible on Android too i.e. kernel re-executes itself with proper commandline and then starts init. But it requires some device-specific changes to kernel and ROM. See an example use case of kexecboot.
Stock Android doesn't provide soft reboot functionality but some custom ROMs implement this feature by triggering restart method of activity service. This kills zygote and its associated processes including wificond, netd, mediaserver, cameraserver, audioserver and some vendor daemons. However init itself and other core daemons like ueventd, vold, installd, surfaceflinger, logd, servicemanager, healthd and a long list of vendor daemons aren't restarted.
ActivityManagerService.restart requires android.permission.SET_ACTIVITY_WATCHER and calls ActivityManagerService.shutdown which requires android.permission.SHUTDOWN. Both permissions have Protection Level signature, so third party apps can't have them. adb shell also doesn't have the SHUTDOWN permission, so root is required.
On Android 9 code for restart method is 179, so to initiate a soft reboot:
~# service call activity 179

Or you can ask init to restart zygote and dependent services (SELinux won't let the property be set, so root is required):
~# setprop ctl.restart zygote

It's also possible to restart more init services from comamndline, or change init code to kill and start all userspace processes instead of calling kernel on reboot. It depends on your actual purpose of hot reboot.


text:
How do I create fast backup of camera photos to cloud storage
One of my friends have taken some photos which were deleted by some elements by forcibly taking their mobile device and deleting them.
So I searched for ways (including app searches) for fast backup  newly captured photo by his camera to prevent this problem in future.
I need to find a way of doing this backup efficiently and automatically. Please suggest ways of doing that

Explicit app recommendations are off topic on this site. Edited your question to make it on topic. If you want only apps you need to ask on SE. Software recommendations

You can try this app. It can instantly upload taken photos to Google Drive or Dropbox. There is option in settings to upload using cellular data.

Hello vasik988. The app concerned seems to have incredibly low installs count (100+) as of now. Are you affiliated with this app? If yes, please do disclose your affiliation along the lines of our site's policy. See [help] to know more about this.

Hi, no, this app just was at the top of Google search.

I use pcloud, a cloud storage app. It has an automatic upload feature that uploads every photo or screenshot as soon as it is taken, even via mobile data.
Free version of the app gives you 5 GB cloud storage. I am not affiliated with the app but a happy user of paid version.
Alternatively, you can use Folder sync to create folder pairs to sync with practically any cloud service of your choice  (see app description for supported clouds). But to make it upload automatically you may need to automate the process or you can upload on schedule. I use folder sync to schedule my device folders with Pcloud and Google Drive.

I use official google photos app. It also provides free storage as well as also shows suggestions based on artificial intelligence for gifs, colleges, and colorpop etc.
Update depending on comments
I would like to clarify that photos app does not immediately upload photos but it processes all uploads in background.


text:
Which physical remote controls work with android-tv?
I have an old ADT-1 dev kit laying around at home. I want to bring it back to life to use for Netflix and other streaming stuff.
It came with a game controller, which is fine for gaming, but not so convenient for TV.
What specifications should I look for to get a physical remote control? I searched AliExpress for "android tv remote" and got all kind of things, many using dongles.
Would any "bluetooth" controller work? I want to know what I should be looking for ...

Before buying stuff I would first evaluate if Netflix or your preferred streaming service really works in the preferred resolution on this device, because that a streaming service works may just mean you can get SD-TV resolution (no HD streaming)...

My Netflix subscription is SD. You have easy test for HD?

I probably will try popcorn time as well. I haven’t researched how yet


text:
[Sony Xperia XZ1]Remapping camera button
Hello {darkness my old friend}
I have a Sony Xperia XZ1(G8341) with AOSP GSI
What I would kindly like to ask  how to map the "dead" camera button to any function
Currently the button doesn't work at all presumably because my custom rom didnt hsve plans for it
Tried any root app i could find, msgidk modules and others however i wourld prefer not using xposed as it gives negative results on ctsProfile
Any suggestion is welcome since I have a throughout knowledge and understanding of technology in general ,you can trust me on that{pushes pile of softbricked deviced under bed} but i would prefer being guided to the right direction on how to make s script to accomplish that
Thank you in advance

Tried this app? https://play.google.com/store/apps/details?id=flar2.homebutton

Yes I have, unkown(0) when i try to add the button, on settings both "alternative" settings fail, combination of those settings fail as well.

Try this:
https://play.google.com/store/apps/details?id=com.irishin.buttonsremapper
It works on my Xperia x compact. It's just a workaround. On my phone the problem is with camera button that was deasappeared after the rom unlocking aldo with drm fixed in...


text:
Samsung S7 speaker phone not working + echo in call
Phone: Samsung S7 SM-G930F
Problems:
1) Person I am calling or that is calling me hears delayed playback of their own voice
2) When speakerphone is activated a very loud noise is heard from the other caller's speaker making it impossible for them to hear me speaking
When I'm in a call (cellular service) and I activate speaker phone the other person can't hear me (I can hear the other person perfectly fine when on speaker phone). When I call (via regular cellular service) the people I call often report 'hearing an echo' in other words 'hearing themselves talk' , I have already changed providers which did not help. The 'echo' is always there from beginning till the end of the call from what I've heard.
I have a Samsung s7 SM-G930F. Previously had android 8.0 installed (which was the OS that came with the phone originally. I recently installed a different ROM (Lineage OS 16) but this had no effect on the speaker phone problems.
I tried starting the phone in safe mode as suggested in this video: https://www.youtube.com/watch?v=Z6qcYwyTl-w
But this didn't have any effect on the problem (same 'echo' still there). Suggesting it might be a hardware problem (assuming what's being said in the video is correct)
The following post suggests another possible cause:
"Apparently there is some kind of rubber band around the microphone that keeps the sound in the same place" (source: https://us.community.samsung.com/t5/Galaxy-S-Phones/S7-Other-side-hear-echo-on-phone-call/m-p/119530#M7152) . I think this might also explain the 2nd problem (loud noise on other caller's side when speaker phone is activated). Does this seam probable to you?
Voice recordings work fine. The 'echo' doesn't appear to be present for all people, I'm told it has approx 1.5 seconds delay (the other caller hears their voice back with approx 1.5seconds delay).
When I start a call in whatsapp and talk to the other person they say they have no echo and can hear me just fine, if I activate speaker phone I can hear them properly but they say they have the echo again and there is a lot of background noise coming from their phone (sounds like 'some sort of electrical interference'), the 'echo' gets played back louder on their phone when I activate speaker phone, so loud that they cannot hear me talk.
When I turn speaker phone off on whatsapp and continue talking the other caller says the echo persists for some time (maybe 8 seconds) after which they hear a 'tick' sound and the echo disappears (also the 'electrical interference' background noise disappears immediately as soon as I turn the speaker phone off).
It happens regardless of how many 'bars' of connection I have.
Could it be a broken microphone? Could it be an issue with my antenna/connection?
What tests could I perform to track down the cause of the issue.
i have tried with and without the case (I thought the case might have a negative effect since the s7's speaker and mic are right next to each other)
Would love to hear your input
Thank you very much for any suggestions!

I got exactly the same problem with my Phone(Oneplus 5).
I've tried a lot of things software side but nothing helped.
Due to my work, my phone was exposed to flour and I got flour in every opening of my phone, therefore also my charging plug didn't work perfectly. So I replaced the charging plug and with it the bottom microphone. Afterward all worked perfectly again.
So I guess your microphone is broken too.
Hope my answer helps.

It turns out it was indeed a dirty microphone port that was the issue. I cleaned it out with a toothpick/needle which helped a bit but problem was still present. Proceeded to disassemble phone, lifted up microphone, blew through the hole from inside to outside with a straw and that improved it even more. It's still a bit noticable but much much better than before. Thank you for your suggestion!


text:
Restricting data usage monitoring to certain days
My data plan includes unlimited data during the weekend (so any data usage during the weekend is not taken off the 50Go afforded by the plan), and I would like to monitor my data usage taking this into account.
I could not find any setting/application that allows to restrict the monitoring to certain days, did I miss one?

App recommendations are off topic. Edited slightly to make it on topic

Glass Wire Data Monitor let's you customize your monitoring period. But it has to be done manually every week

(Click to enlarge)


text:
How to get acces to offline YouTube videos downloaded to my Android 9 Cellphone?
I use to download youtube videos so I can watch then offline. But I don't like the "YouTube video player". So, how could I have access to the offline youtube videos so I can open them using my video player of choice?
I have a Android 9 cell phone.

The offline videos in YouTube app can only be played within YouTube. You cannot play them in an external player.
Your alternate option is to download those videos as MP4 files and then playing them in your favorite player. But do remember that downloading videos are against YouTube's terms and you won't find more help on that topic over here.


text:
WhatsApp messaging interrupts Music while the wireless headset is connected
I just discovered that when I tap the send button on WhatsApp the music stops for while. Actually it doesn't stop. The headsets goes silence for a second and then continues normally. The same thing happens when somebody sends a message to me. But, it doesn't happen when I receive messages while I'm on another screen. For example, at the very moment I'm writing this question and music plays on. I saw that I'm gathering new messages on notification area, but no problem occurs.
I'm using JBL TUNE 600BTNC Bluetooth headset.
My phone is Realme 3 Pro.
Android version is 9.
The music players I tried are VLC and PowerAmp.

Have you enabled notification sounds for whatsapp?

you can try to change the settings Sound->Earphone mode->Notification ringtone in earphones to never. Downside: you won't get any notifications on your Headset anymore.
I hope it helps.
Edit: This setting is available in OxygenOS if anyone else is facing this problem

I couldn't find related settings

@ÇağlayanDÖKME but you are running Android 9 right?

Can the Realme UI affect the settings screen? Maybe, it is disabling some of them.

Oh that's right, on my Oneplus is running OxygenOS and the corresponding Settings UI, don't really know if it's possible to do this on a Realm device, but probably searching for this on the internet could help u find the solution to your problem

Anyway, thanks for your time and suggestions :)

your welcome, hope it helps a bit! ;)

This worked for me
Go to your WhatsApp app > Settings > Notification > Conversation tones and turn conversation tones off. Your music will start working just fine even when you're sending messages.


text:
wiped android OS accedentely in twrp in sm-j700h/ds
I was trying to do a factory reset from the twrp recovery, but wiped system partition mistakely.. my device has no system now. i can only access the twrp recovery and download mode. However, i tried to install many firmwares using odin but odin gave me a red Failed every single time. help me plz.
model j7(2015) or (sm-j700h/ds)
region Syria

https://www.sammobile.com/samsung/galaxy-j7/firmware/#SM-J700H
you can flash different region from modded odin https://forum.xda-developers.com/showthread.php?t=3762572

Have you tried marking also the NAND ERASE option in Odin? Although marking the nand erase option would wipe the whole phone including the twrp and everything...and then try reflashing by going into download mode on your phone and then to Odin, you'll see a green/blue mark on the ICOM or something like that. If you pass on flashing and it gets stuck on bootloop, don't panic, just restart the phone and boot into recovery mode and wipe/reset user data! That should do it c:
There's also another thing you can do, you can extract the .tar.md5 using this guide
There you can find the system.img file and from there, you can flash the system.img using fastboot, needless to say that you must have your bootloader unlocked!
You could also try Samsung kies/smart switch, whichever suits you c:

thank you guys for your help
really appreciate it .. I solved the problem first by installing a custom ROM using TWRP. the system worked
then i discovered what i was doing wrong .. i was trying to flash a one-file stock OS .. which can only serve as an update
a 4-files stock ROM also worked.


text:
Metronome sound for disk encryption password prompt
In the previous android version (Lollipop, Marshmallow, Nougat and may be Oreo) there was a metronome sound when the phone was waiting for disc encryption password: "To start Android, enter your password".
It was very useful, as it indicated that user action is required.
But now, Pie (and may be Oreo, I don't remember) it's gone. I don't know the behavior of android 10.
Is it possible to bring the metronome sound back?

The older Android versions were using Full Disk Encryption (FDE) mode, therefore the password enter dialog was a small mini-OS booted before the actual Android-OS.
This mini-OS was playing what you are a calling the "metronome sound" when it was waiting for the user password.
I assume this sound was introduced to ensure the user recognizes that the boot process requires user interaction. Because while the mini-OS is waiting for input the whole system is offline and no app is running - including no mobile voice/data or Wifi.
Nowadays Android use File Based Encryption (FBE) which means that every app can specify if a data is encrypted using the system key or the key that requires the user to unlock the device first. Therefore in theory if all apps are correctly implemented a large part of the system should already work before you enter your user password the first time after a reboot.
May be you are able to simulate the old behavior by installing an app that runs only after the Android device has booted up (BOOT_COMPLETED) and then plays a sound similar to your old system. Unfortunately I don't know a suitable app, but I assume programmable scripting apps like "Tasker" may allow you to create a script that plays a sound after the device has booted up.

Sorry for bad explanation, but the question was only about FDE, so it isn't an answer. The Android 9 that I have uses FDE, but has no metronome sound.

@sergio Then most likely your device was upgraded from a lower Android version. Therefore when asking here on Android stackexchange one should always mention the device model.


text:
Is Android showing app ads in share menu now?
Android is showing an Adobe app in the sharing menu and "Open with" dialog as if it's installed but will install it when I click on it.

Is this a new perk of advertising with Google Play? Is Adobe paying money to place an ad right in Android?

I have Android 8.1 LineageOS installed. Instant apps is turned off

Blame Microsoft not Google

This behavior was reported in July this year. Microsoft was the culprit. See this XDA blog Microsoft is abusing Android’s share sheet by inserting ads for its apps with reddit
and Android Police
links.

This clearly is a violation of monetisation and ads policy as stated in the blog. See Google Play Content Policies

Your example shows Adobe products. I don't know if Adobe also started doing this or if it is a result of Microsoft - Adobe collaboration

For reporting use Report Inappropriate Apps but I am not sure how far it would help.

Somewhat related Is it allowed to offer incentives for 5 star ratings on the Google Play app store?

Of course, Google is allowed to push apps onto people.


text:
Smartphone won't connect to specific Wifi
my Smartphone(Oneplus 7) won't connect to the Wifi at home. Every other device connects perfectly to the Wifi and my Smartphone connects to every other Wifi.
The problem started with my old device(Oneplus 2), it suddenly didn't connect to the Wifi anymore. When I got my new device, at the beginning the phone connected to the Wifi, the next day (after all got synchronized from the old phone) it didn't connect to the wifi anymore. It gets stuck at "Obtaining IP address..."
Strangely, after 2-3 days the old device(Oneplus 2) can connect to the Wi-Fi again.
I've already tried to reset all network settings and I have already removed all saved networks. I've tried with a static IP but nothing worked.
Logcat Output below (1000 Lines)
Thanks in advance
Full Logcat:Pastebin
Interesting part(i think so):
12-27 16:26:08.860 22079 22079 I wpa_supplicant: wlan0: CTRL-EVENT-CONNECTED - Connection to 18:d6:c7:ba:3c:c9 completed [id=0 id_str=%7B%22configKey%22%3A%22%5C%22Patauner+Privat%5C%22WPA_PSK%22%2C%22creatorUid%22%3A%221000%22%7D]
12-27 16:26:08.862  1198  1282 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: true
12-27 16:26:08.865  1065 22084 I LOWI-8.6.0.41: [LOWI-Scan] get_intf_mode: WLAN interface type 2, err 0
12-27 16:26:08.872  1931  1931 D DPMJ    : |SERVICE| DPM received action android.net.wifi.STATE_CHANGE
12-27 16:26:08.873  1931  1931 I DPMJ    : |SERVICE| sendWifiStatus - subType: 21 networkState: 0 softApState: 11 rssi=0 ssid= bssid=00:00:00:00:00:00 ipV4Addr= ifNameV4= ipAddrV6= ifNameV6=
12-27 16:26:08.873  1931  1931 D DPMJ    : |SERVICE| DPM received action android.net.wifi.STATE_CHANGE
12-27 16:26:08.874  1931  1931 I DPMJ    : |SERVICE| sendWifiStatus - subType: 21 networkState: 0 softApState: 11 rssi=0 ssid= bssid=00:00:00:00:00:00 ipV4Addr= ifNameV4= ipAddrV6= ifNameV6=
12-27 16:26:08.876  1198  1548 D ConnectivityService: registerNetworkAgent NetworkAgentInfo{ ni{[type: WIFI[], state: CONNECTING/CONNECTING, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]}  network{252}  nethandle{1085737455629}  lp{{InterfaceName: wlan0 LinkAddresses: []  Routes: [] DnsAddresses: [] UsePrivateDns: false PrivateDnsServerName: null Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,4194304,524288,1048576,4194304}}  nc{[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED Unwanted:  LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SSID: "Patauner Privat"]}  Score{20}  everValidated{false}  lastValidated{false}  created{false} lingering{false} explicitlySelected{false} acceptUnvalidated{false} everCaptivePortalDetected{false} lastCaptivePortalDetected{false} clat{null} }
12-27 16:26:08.877  1198  1606 D ConnectivityService: NetworkAgentInfo [WIFI () - 252] EVENT_NETWORK_INFO_CHANGED, going from null to CONNECTING
12-27 16:26:08.879  1931  1931 D DPMJ    : |SERVICE| DPM received action android.net.wifi.STATE_CHANGE
12-27 16:26:08.880  1931  1931 I DPMJ    : |SERVICE| sendWifiStatus - subType: 21 networkState: 0 softApState: 11 rssi=0 ssid= bssid=00:00:00:00:00:00 ipV4Addr= ifNameV4= ipAddrV6= ifNameV6=
12-27 16:26:08.882  1198  1224 D WifiStateMachine: send CMD_GET_CONFIGURED_NETWORKS
12-27 16:26:08.897  1198 22095 D ApfFilter: (wlan0): begin monitoring
12-27 16:26:08.900  1198 22096 D DhcpClient: Receive thread started
12-27 16:26:08.909  1198  1606 D ConnectivityService: NetworkAgentInfo [WIFI () - 252] EVENT_NETWORK_INFO_CHANGED, going from CONNECTING to CONNECTING
12-27 16:26:08.910  1198  1606 D ConnectivityService: getDefaultDataSubscriptionId, sub id = 1
12-27 16:26:08.915  1198  4174 V LocSvc_HIDL_Subscription_jni: wifi_supplicant_status_update
12-27 16:26:08.915  1198  4174 V LocSvc_HIDL_Subscription_jni: [wifi_supplicant_status_update][686] [HC] =>> [HS]
12-27 16:26:08.915   764   764 V LocSvc_HIDL_IzatSubscription: [wifiSupplicantStatusUpdate][675] [HS] <<<<= [HC]
12-27 16:26:08.916  1198  4174 V LocSvc_HIDL_Subscription_jni: Exit Result 0
12-27 16:26:08.919  1198  1224 D WifiStateMachine: send CMD_GET_CONFIGURED_NETWORKS
12-27 16:26:08.924  1198  1606 I chatty  : uid=1000(system) ConnectivitySer identical 20 lines
12-27 16:26:08.924  1198  1606 D ConnectivityService: getDefaultDataSubscriptionId, sub id = 1
12-27 16:26:08.926  1198 22091 D DhcpClient: Broadcasting DHCPDISCOVER
12-27 16:26:08.928 27631 27631 D WifiSettings: onAccessPointsChanged (WifiTracker) callback initiated
12-27 16:26:08.929  1198  1224 D WifiStateMachine: send CMD_GET_CONFIGURED_NETWORKS
12-27 16:26:08.930  1198  1277 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
12-27 16:26:08.931  1198  7038 D WifiStateMachine: send CMD_GET_CONFIGURED_NETWORKS
12-27 16:26:08.933  1198  7038 D WifiStateMachine: send CMD_GET_CONFIGURED_NETWORKS
12-27 16:26:08.935  1198  3444 D WifiStateMachine: send CMD_GET_CONFIGURED_NETWORKS
12-27 16:26:08.937  1198  3444 D WifiStateMachine: send CMD_GET_CONFIGURED_NETWORKS
12-27 16:26:08.941  1198  1270 D BatteryStatsService: @@@@ awaitUninterruptibly in 24 ms
12-27 16:26:08.941  1198  1270 D BatteryStatsHelper: ===processSingleAppUsage===
12-27 16:26:08.945 27631 27631 D WifiSettings: onAccessPointsChanged (WifiTracker) callback initiated
12-27 16:26:08.946 27631 27631 I chatty  : uid=1000(system) com.android.settings identical 4 lines
12-27 16:26:08.946 27631 27631 D WifiSettings: onAccessPointsChanged (WifiTracker) callback initiated
12-27 16:26:09.115 27631 27631 E ndroid.setting: Invalid ID 0x00000000.
12-27 16:26:09.121  1198  3444 D WifiStateMachine: send CMD_GET_CONFIGURED_NETWORKS
12-27 16:26:09.121  1198  1606 D ConnectivityService: getDefaultDataSubscriptionId, sub id = 1
12-27 16:26:09.153  1198  1606 I chatty  : uid=1000(system) ConnectivitySer identical 20 lines
12-27 16:26:09.154  1198  1606 D ConnectivityService: getDefaultDataSubscriptionId, sub id = 1
12-27 16:26:10.733   768   808 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
12-27 16:26:10.766  1198  1478 V AlarmManager: Triggering alarm #0: 2 when =194417731 package =android operation = null listenTag =DhcpClient.wlan0.KICK flags =0x9
12-27 16:26:10.767  1198 22091 D DhcpClient: Broadcasting DHCPDISCOVER
12-27 16:26:11.160 27631 27631 W RenderThread: type=1400 audit(0.0:8798): avc: denied { map } for path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs"
ino=15819 scontext=u:r:system_app:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
12-27 16:26:11.160 27631 27631 W RenderThread: type=1400 audit(0.0:8799): avc: denied { map } for path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=15819 scontext=u:r:system_app:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
12-27 16:26:11.160 27631 27631 W RenderThread: type=1400 audit(0.0:8800): avc: denied { map } for path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=15819 scontext=u:r:system_app:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
12-27 16:26:11.171 27631 19120 E libc    : Access denied finding property "persist.vendor.fps.history.enabled"
12-27 16:26:11.173 27631 19120 E libc    : Access denied finding property "persist.vendor.hwui.skia.multithread.enabled"
12-27 16:26:11.173 27631 19120 E libc    : Access denied finding property "persist.vendor.hwui.skia.reduce.overdraw.enabled"
12-27 16:26:11.190 27631 27631 W RenderThread: type=1400 audit(0.0:8801): avc: denied { map } for path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=15819 scontext=u:r:system_app:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
12-27 16:26:11.190 27631 27631 W RenderThread: type=1400 audit(0.0:8802): avc: denied { map } for path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=15819 scontext=u:r:system_app:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
12-27 16:26:11.208 27631 19120 E libc    : Access denied finding property "persist.vendor.hwui.skia.multithread.enabled"
12-27 16:26:11.208 27631 19120 E libc    : Access denied finding property "persist.vendor.hwui.skia.reduce.overdraw.enabled"
12-27 16:26:11.253  1923  1923 D QcrilMsgTunnelIfaceManager: handleMessage what = 1
12-27 16:26:11.255  1923  1923 I QcrilOemhookMsgTunnel: [0]invokeOemRilRequestRaw: serial=1869 length=25
12-27 16:26:11.257  1923  2014 I QcrilOemhookMsgTunnel: [0]processOemHookResponse serial no: 1869 error: 0length=0
12-27 16:26:11.257  1923  1923 D QcrilMsgTunnelIfaceManager: handleMessage what = 2
12-27 16:26:12.410  1198  7038 I WifiService: getWifiServiceMessenger uid=1000
12-27 16:26:12.414  1198  1547 D WifiService: New client listening to asynchronous messages
12-27 16:26:12.431  1198  1548 D WifiConfigStore: Writing to stores completed in 10 ms.
12-27 16:26:12.432 27631 27644 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@6aeb7d4[Settings$WifiSettingsActivity]
12-27 16:26:12.433  1198  3444 D WifiStateMachine: send CMD_GET_CONFIGURED_NETWORKS
12-27 16:26:12.445   751 22086 E WifiHAL : Few pkt stats messages missed: rcvd = 288, prev = 0
12-27 16:26:12.445   751 22086 I WifiHAL : Fate Tx-Rx: Packet fate stats stop received
12-27 16:26:12.445 22079 22079 I wpa_supplicant: wlan0: CTRL-EVENT-DISCONNECTED bssid=18:d6:c7:ba:3c:c9 reason=3 locally_generated=1
12-27 16:26:12.448  1198  1282 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
12-27 16:26:12.449 22079 22079 E wpa_supplicant: eap_proxy: eap_proxy_notify_config
12-27 16:26:12.449 22079 22079 I chatty  : uid=1010(wifi) /vendor/bin/hw/wpa_supplicant identical 1 line
12-27 16:26:12.449 22079 22079 E wpa_supplicant: eap_proxy: eap_proxy_notify_config
12-27 16:26:12.450  1198  1282 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
12-27 16:26:12.453  1198  1548 E WifiVendorHal: stopRssiMonitoring(l.2440) failed {.code = ERROR_NOT_AVAILABLE, .description = }
12-27 16:26:12.453  1198 22091 D DhcpClient: doQuit

i bet the problem is more related to router than client. maybe you will find something useful for keywords https://www.google.com/search?q=CTRL-EVENT-DISCONNECTED+reason=3

please try with WPA2-AES-only instead of WPA/WPA2 compatible mode. another workaround seems to disable IEEE 802.11n when running in WPA mode

@alecxs it's running in WPA2 AES-only, I have tried with 11bg instead of 11bgn, but didn't work eighter. I think the problem is caused by google backup.

WPA2 seems to require 11n-only


text:
How can I search for a specific string in an email thread in Microsoft Outlook for Android?
I have opened an email thread (aka conversation) in Microsoft Outlook for Android. I would like to search a string (e.g., word or phrase).
How can I search for a specific word in an email thread in Microsoft Outlook for Android?

Unfortunately, it is not possible as of today with Outlook version 4.0.90.
You can always open the mailbox in your web browser and use the Find in Page functionality.


text:
How to flash stock ROM using TWRP on Tecno Spark K7, leaving TWRP intact
What are the right steps of flashing stock ROM using TWRP (Tecno Spark K7, Android 7.0 Nougat, TWRP v3.0.2), and still have TWRP Recovery on the phone, after the process.
I already have the phone backed up and have the stock ROM as a zip file.

you need a linux machine for converting sparse image into raw partition image
sudo apt-get install android-tools-fsutils android-tools-adb android-tools-fastboot
simg2img system.img system.ext4

connect phone in twrp
adb push system.ext4 /dev/block/bootdevice/by-name/system

if file smaller than < 4 GiB you can rename to system.emmc.win, copy to sdcard and restore from twrp directly, or manually restore from built-in terminal
cat /external_sd/system.emmc.win > /dev/block/bootdevice/by-name/system

repeat this for vendor/odm (if exist). boot.img is already in raw format and can be renamed into boot.emmc.win directly
your data and internal storage is maybe encrypted, if you want to backup you need to adb pull /dev/block/dm-0 or /dev/block/bootdevice/by-name/userdata + /dev/block/bootdevice/by-name/metadata
or
make twrp backup and adb pull -p -a /sdcard

find /dev/block -name by-name

https://unetbootin.github.io


text:
Looking for help choosing the correct stock recovery.img file for my phone
I have a Moto G5 XT1676 with Android 7.0 stock firmware.
I rooted the phone with Magisk and installed TWRP but I never backed up my recovery.img partition. Now I want to flash a stock recovery partition so I can apply an ota update and in case I want to sell on the phone I want to be able to take twrp off and unroot. I don't want to flash an entire firmware.. Can someone help me in choosing the correct stock recovery.img for my phone?
Here are details of the firmware currently on my phone:

Baseband version: M8937_22.29.02.56.01R CEDRIC_EMEADSDS_CUST
Kernel Version: 3.18.31-perf-g4a0c859 Wed May 2 06:29:31 CDT 2018
Build Number: NPPS25.137-93-12
Blur Version: Blur_Version.25.321.18.cedric.retail.en.US RETGB

Here are the details of another stock firmware I downloaded.

SW Display Build ID: NPP25.137-93
SW Version: cedric-user 7.0 NPP25.137-93 12
release-keysM8937_22.29.02.56R
Build Date: Wed Nov 22 03:19:24 CST 2017
Blur Version: Blur_Version.25.281.12.cedric.retail.en.US

You see the two firmware are almost identical but I don't have enough experience to know if it would be safe to take the recovery.img out of the second one and use it in the first?
I tried booting into bootloader then..
# fastboot boot recovery.img

... to test the recovery .img file from another firmware but I got a picture of an Android lying down with red above him and his lid open and the words "No Command".
I think that # fastboot boot is disabled on Android OS these days.
Any help much appreciated !!
Flex

I asked my question because I don't want to flash the recovery.img from a different firmware unless I know it is safe to do that. Do you know if it would be safe to flash the recovery.img from the second firmware I listed onto my phone?

you already "destroyed" recovery with twrp, so as long as recovery is a separate partition it is "safe" to flash "any" file (for testing). just check file size is fitting partition size. if it does not work, just flash twrp again

I tried # fastboot boot recovery.img again and used the button combination from singhnsk and it booted into the stock recovery partition ok. Cheers.

The stock recovery booted perfectly fine. On Pixel, Moto , Nokia and several other devices, you will be presented with No Command screen. You need to follow the following combinations to proceed to recovery from there:
At no command screen:

Press and hold Power key.
Press and release Volume Up key.
Release the power key.

You will be in the stock recovery. If that works, you can flash the image to your recovery partition.

Thanks for your help. Regarding the first sentence in your answer.. are you saying that you tested the recovery.img from the second firmware I listed above on a Moto G5 with the first firmware listed above and it worked? Or do you mean that you tested the recovery.img from the second listed firmware in some other phone and it worked or are you saying you just think it "should" work? Thank you.

@FlexMcMurphy Hi, I didn't test it myself. I only sourced your info and answered based on that. If you arrived at the No Command screen, that does mean that the recovery booted fine and can be used. Also, as much as I remember, the recovery image wasn't really modified with most of the OTA updates on those old phones. So, this build of stock recovery should allow you to install further OTA updates too. You can check it and confirm.

The difference between the two firmware I listed isn't that one is the other but with an OTA applied. My understanding is they are slightly different versions of Android OS 7.0 firmware for Moto G5 (Cedric). Thanks for the advice about the button combination to get past No Command. The recovery.img from the second firmware version worked in the first so I guess I will stick with that solution. Thank you.


text:
Captions on with every video even if I switch it of
Ever since youtube last update captions with every video auto on, eventhough I switch it of in my settings. On a different noteI find the captions very irritating because the captions are realy bad not sync different of what the people say in the video and captions to slow. That is way I do not want any captions in my videos.

I u installed all the YouTube updates in the app store and now it seems to work OK, no more irritating captions.

This would have been my suggestion too.
Since YouTube is often installed as a system app you are able to uninstall any updates through setting or through the Play store.
Clearing cache and data through app settings is also a possible solution as this will remove any settings and return the app to its default.


text:
Increase target device Volume to maximum using adb command - Android Pie version
How to increase target device Volume to maximum using adb command on android pie version. I have tried below commands in adb, but volume did not volume got increased.
adb shell service call audio 7 i32 3 i32 0 i32 1

See https://android.stackexchange.com/a/218574/96277

Since Android 8 there is adb sheel media volume available. To get a well-formatted values of volume streams: for s in $(seq 0 100); do media volume --stream $s --get 2>/dev/null | awk -F'[()= ]' '{if($3=="control") printf "%-22s %-3s: ",$7,$5} {if($2=="volume") printf "%-3s %s \n",$4,$7}' | grep ^STREAM || break; done. You will get all stream names/numbers, their current values and possible values.

To set media volume (MUSIC_STREAM) to maximum: media volume --stream 3 --set 25. Where 3 is media volume stream and 25 is its maximum value. It's also possible to use service call as explained in above linked answer. Are you trying to change in-call earpiece volume or some other?


text:
How to open Facebook app with page share link?
I am sharing a page in FB, when the link is opened in mobile it opens the particular page in browser and not in FB app. I want that link to open FB app with the page displayed in it.

How the link looks (initial characters) and what app you are using to open the link?

Note for future answerers: please don't post code. This site focuses on end-users solving their issue, not developers.

Make sure you have installed the latest version of the fb app
Make sure fb app is capable of opening the link you are clicking on - may be check on your friends phone to see whether the link opens in the fb app
Go to application settings and clear defaults if any for the browser in which the link is opening

--- let me explain in detail the 3rd point
when you click on the link that fb app as well as your browser or any other app could open, you may get a prompt to choose which app you want to use to open the link.
If you choose your browser and tick on remember choice button, the link will then always open in browser.
clearing defaults or uninstalling and installing fb app will help remove this issue.


text:
Dial phone, screen blanks -> can't hang up
My Nokia 4.2 (Android One 9, security patch for December 5, 2019) is lately exhibiting a very weird behavior. If I dial a number, either using the keypad or from history or a contact, the screen blanks. I don't mean the autoblank when it's held to my face, I mean it goes black immediately. As a result, I can't hang up a call (or conference a third person, or anything).
If I tap power ... nothing happens. If I hold it to my face and remove it ... nothing. If I hold Power down, the phone doesn't turn off. When the other person hangs up, the screen turns back on. Sometimes if I press Power repeatedly I can get the screen on. Sometimes not.
Of course, I can plug in earbuds and use the earbud button to hang up, but for a quick call I hate having to do that.
Otherwise the phone mostly works OK. No other obviously incorrect behavior.
Odd. Any suggestions will be greatly appreciated.

Please check if it happens in safe mode too:

If the problem is not resolved, factory-reset is next step.
If it is resolved, it implies one of the installed apps is the culprit. First step could be to remove all apps having telephony related permissions and then check. Add apps one by one and check. Painful process, yes, or go nuclear and factory reset after backing up your data.

Experimenting by removing recently-added apps, Facebook Messenger Lite appears to have been the culprit. Removing that seems to have resolved the problem. I'm going to try the non-lite version and see if it has the same bug.

@CarlF:Thanks for inputs

Messenger (non-Lite) does not cause this issue.


text:
How to share the file names of all the files in a folder in Android?
It is being surprisingly hard to achieve. I've tried so far:

Download file manager apps from Google Play. Unfortunately, "share" shares the files, not the file names. None of them had a option like copy file names
Download backup apps. Unfortunately, none of them backup the file names of a folder.

Any idea to copy to the clipboard or share the file names of all the files of a folder?

The currently written query is not acceptable for SoftRecs.SE. You should follow their guideline to make it on-topic on there.

@AndrewT. I already wrote the question on Android Enthusiasts Stack Exchange. They say it was not acceptable for Android Enthusiasts Stack Exchange. They asked me to ask the question on SoftRecs.SE. So I did. Now, you guys has migrated the question back to Android Enthusiasts Stack Exchange, so it has been marked as duplicated. This is remembering me the bureaucracy / public system xD

FWIW, the question you asked on Android.SE is on-topic (otherwise, it'd had been closed). However, for explicit app recommendations, SoftRecs.SE is more suitable, but the question must have clear criteria of what kind of apps you're trying to find, like "straightforward to be used by elderly people" or something. Otherwise, there's nothing we can't do to help either.


text:
How can one reduce Microsoft Outlook's background mobile data usage?
How can one reduce Microsoft Outlook's background mobile data usage?
For example, today I wrote only one email (text only), received 5 text-only emails, and open 5 conversations (also text only), yet it used 16 MB of background mobile data:

See Microsoft's offical website for the full details: https://answers.microsoft.com/en-us/msoffice/forum/all/outlook-data-hog/a88b5e3f-2982-4558-a190-1afa93044e1f
You can do a number of things to reduce background data usage:

Turn off mobile data when connected to Wifi.
This may sound strange, but apparently Outlook sometimes still uses mobile data, even when connected to a stable Wifi network.
Turning off the "Sync" feature
If there is the feature, set a data limit on Outlook.
This will prevent it from eating up your data when you arn't using it.