text:
Is it possible for any app to connect to Internet over cellular when the data connection button is off?
I have the following situation on an Android 5.1 phone.
(I don't think this may be a duplicate as the other similar questions I saw were about intentionally allowing or blocking apps from Cellular access.)
Because of an automatic daily-pass (they call it) charge upon any momentary connection to the Internet, I turned off the Data Connection button (from the drop-down quick menu screen) a little before the current day expired as I usually do to avoid an extra day's charge.
I was also at home next to my always-on WiFi.  This I mention because supposedly WiFi is always preferred over cellular network, right?
Hours after the button was off, I got an SMS telling me that I have connected to the Internet (cellular), and I will be charged for yet another day.  I immediately checked the Data Connection button and it was indeed off as I had left it.
So, I'm curious as to how the connection could have happened.
I want to report the company for fraud.  But, I need to be certain.
Is it possible for any application to override my manually selected Data Connection button position and use the Cellular network for data?  (And, even more so when I'm on WiFi at the moment?  But this is not the main issue.)
Now, if by any chance this is indeed possible, what would be the way to be certain my Cellular data connection is never used until I decide to do so?
Thank you.

After complaining to the phone company, it turns out that the issue is (believe it or not) 4G related.
They refunded my unfairly charged amount, and switched me to a different data plan that excludes this daily-pass automatic connection so this won't happen again.
I have found this answer to another post which is correct for here also.

Which phone is that? On some devices there is that feature called Smart Network Switch (Samsung).
Smart Network Switch is a feature  that allows your phone to automatically switch between WiFi and the mobile network. This allows the phone to maintain a high level of internet connectivity if your WiFi connection is too slow to provide a good user experience.
So in your case this may have been enabled and the phone switched to data connection when your WiFi connection was not stable.

It's not Samsung.  It's MLS (which is as good as no-name Chinese phones).  I don't think this feature is available.  How would I verify if it is?

The feature is common to Android devices, every  manufacturers name it their way. Smart Network Switch for Samsung. Depending on device but try going to Settings > Network > Wifi (options) > Smart Network Switch.

Don't see anything like it.  So, I guess this is not the case.

name and path may be different, but the feature can be found in Wifi settings. Or if there isn't, your problem is different

The only thing I see in the WiFi section that may be relevant is 'Keep WiFi on during sleep' with the options: Always, Only when plugged in (which is selected), and Never.  Incidentally, my phone was plugged in to the USB charger at the moment, so I don't think WiFi went off because of sleep, but even if so, the cellular data connection was off.  I don't think it would force data connection on rather than turn WiFi back on if it needed to connect.  And if so, what good is the data connection button if I have no final control in the matter?

On an LG G5 this setting is called "Switch to mobile data" under Settings > Network > Wi-Fi. I agree this setting (whatever it's called) is the most likely reason.

There is no such setting.  I even used the Search feature to look for any of these words separately and didn't get any relevant results.  I did find one called 'Restrict background data' with the description: "If you restrict background cellular data, some apps and services won't work unless you're connected to WiFi."  Could this be relevant?  It was not restricted.  But, if this was the culprit, then the 'Data Connection' button is practically useless -- and even worse, misleading as it lets you think you're safe when off.

I'm pretty sure network switching won't automatically turn on mobile data if it was turned off: it only applies when both mobile data and Wi-Fi are enabled.


text:
I'm unable to remember my old phone's passcode. I've tried just about everything I know of.
I have a Samsung Galaxy Note 4 and it is a typing/word password-my carrier is AT&T. This phone isn't currently activated (as in I'm currently using a different phone, an iPhone to be specific, so my account hasn't been active in a while). I don't think I had the debugging enabled. I also attempted to try "Find my Mobile" and "Android Device Manager", but these require having already downloaded and activated these or require you to be able to have access to your settings which i am unable to do. Is there a way to do a backup with it like this? or is there a way besides  paying apps or factory rest to unlock it? I have very important old scripts, photos/videos, and I don't remember if i did a backup so I would truly prefer not to have to do a factory reset. Please help!

Android Device Manager requires no special setup, but you do have to be logged into the same account you have registered on the device. If it has a working network connection (like WiFi), you should be able to set a passcode and access the device. Does it even show up in ADM?

On TWRP Mount the system,use file manager,navigate to data/system remove all files ending with .key
Done.You got your phone unlocked.
If you like than you can try xda developers site

source: Stack Exchange

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

sort: votes


text:
nexus 7: set static IP address for non-wifi
My desktop PC's second NIC is configured to IP address 10.0.0.2, subnet 10.0.0.0/24.  Other PCs talk to each other, when I give them similar addresses (10.0.0.3, 10.0.0.4, etc.).  All these PCs plug into a NetGear 100base hub.
How can I add a Nexus 7 tablet running Android 6.0.1 to this network?
My USB-to-cat5 dongle successfully connects the tablet to the internet via a router.  But when I plug it into the NetGear hub instead, I see no way to specify an address like 10.0.0.5.  (Were this wifi instead of cat5, then it would be easy.)
If I replace the hub with another router (which would give the tablet a DHCP address), then the host PC gets confused because it has two 192.168 networks at once: https://superuser.com/questions/1101720/if-i-have-two-routers-how-do-computers-choose-which-to-use.
Edit: From google play I installed "wifi static" and, through that, set the IP address to 10.0.0.4.  But then I still couldn't see it on the 10.0.0.xxx net.  Ping from PCs to the tablet failed.  The tablet's TeamViewer  app (for remote desktop) failed to connect to PCs with "connection error."

You can address reserve the tablet by using address reservation on router with the MAC address of the tablet.
MAC address an be found in About Device -> Status

Settings -> about tablet -> status -> (ip address, or wi-fi mac address, or any other item) is a dead end.  None of those, tapped or held, can change any setting.  I see no way to set an IP address there.  Holding an item only reports "text copied to clipboard."

Sorry, do you mean to change a setting on the tablet, or on the router?  (There is no router on the 10.0.0.0/24 net now.  But I can replace that net's hub with a router, if I must.)

on the router, theres a feature for that its called ip reservation

So the full answer is: you can't set the IP address of a Nexus 7's wired network.  Instead, replace the hub with a router, configured to assign DHCP addresses in the range 10.0.0.0/24.

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


text:
Why is Android phones' RAM capacity catching up with or even overtaking PCs'?
In the past few years the RAM capacity of Android phones have rised by a lot. A typically average Android phone has 1GB RAM in 2013, but 4GB in 2017. Comparing with PCs, the typical RAM capacity has only rised from 2GB to 4GB. Even 8GB phones start to show up.
This is somewhat unreasonable, at least to me. Because:

Phones and tablets are rarely used for "intensive productivity" like editing large photos, applying post FX to videos, doing 3D model building and so on.
Heavy gaming hasn't yet been possible due to other limitations (i.e. CPU & GPU). You want COD: Black Ops III on a phone?
Dual channel RAM is almost twice as fast as single-channel, but unlike RAID disks, this has nothing to do with capacity.

So why? How is such RAM capacity useful?

As Chinese, we both know that a lot of devs/companies from our country tend to produce memory-hogging Android apps... Think about it, an IM app taking 800+MB RAM? Ridiculous, but such is what's happening.

More RAM ~= better multitasking . And btw phones are not overpassing PC's in RAM, PC's can have much more than phones does

It depends on screen size and pixel density - so the minimum for 32 bit is close to 1.5 GB for 32 bit 2GB for 64 bit at the highest end - Section 7.6.1 of android Compatibility Definition
This size is only for the OS , radio (modem) is extra, which is not much anyway.
As discussed in this question 2 GB RAM or 3 GB RAM, does it really matter?, RAM requirements from OS per se are not high but as pointed out by Andy Yan in his answer - apps occupying more RAM with usage and apps with increasing functionalities (WhatsApp for instance ) tend to grow in size

But coming to your question, why in Android and why not in PCs , IMO, factors which are unique to Android

Multiple apps being open especially social apps in addition to standards mail, messaging , maps etc can lead to some apps being killed as RAM is less (not so on PCs) - poor user experience
Future platform releases - 4GB is strongly recommended ( see last section of CDD linked above ) . Compare with Windows minimum requirements - RAM: 1 gigabyte (GB) (32-bit) or 2 GB (64-bit). For Linux it would be far less
Selling point, whether it matters in reality or not (on a 5 inch screen does HD make a difference ? Not to me, at least )

authors: Једноруки Крстивоје


text:
Stop Galaxy S7 upgrade nag screen
Once or twice a day, I get a full screen nag from the OS asking me to upgrade to Android 7.  My phone is working great, so I'm not interested in upgrading as that will likely break and/or change things in ways I'd rather not deal with.
So, how do I prevent the nag screen from appear?  Preferably without rooting the phone.
Model: SM-G930U
Android version: 6.0.1
Android security path level: March 1st, 2017
Nag Screen:

I believe you can not. These updates are push over the air from the vendor. You can keep clicking on "LATER" if you manage

By vendor do you mean Samsung or the service provider Republic Wireless?
That is what my service provider said.  I gave them a polite lecture on respecting customers.

If the notification is really annoying you, you could get rid of it by performing the suggested method of disabling the process responsible for handling  system updates and associated activities named com.wssyncmldm.
Head to Google Play store and grab Package Disabler Pro (Samsung)($1.49 not sure if there is free version, but reviews claim this is worth the bucs)
Open Package Disabler Pro and disable the process/service named  com.wssyncmldm and com.sec.android.soagent
 . This should stop the update notification.
Disclaimer: I am no way associated with the app, and this is just for educational purposes, Information is gathered through research from credible sources.
Edit: Package Disabler Pro 6.3 is recommended, read more here: https://www.reddit.com/r/GalaxyNote7/comments/5bnlcj/i_dont_think_so_verizon/

There's a better way to disable any package by using the adb pm uninstall command.
Note that this will not actually uninstall the app, but will only hide it from the system.  Best of all it works on non-rooted devices too!!
Enter this from your adb folder:
adb shell pm uninstall -k --user 0 com.wssyncmldm

If you really want to get rid of a lot of Security+OTA nagging, then run the following list of commands.  Optionally you can save it in a batch file to make it easier to run.  Note: Some packages will fail to uninstall which is fine, since this is a generic uninstall list for various Samsung models.
:Samsung Security+OTA Disabler (BillA 2017-01-01)
:
adb shell pm uninstall -k --user 0 com.android.sharedstoragebackup
adb shell pm uninstall -k --user 0 com.carrieriq.tmobile
adb shell pm uninstall -k --user 0 com.carrieriq.tmobile.IQOOB
adb shell pm uninstall -k --user 0 com.carrieriq.tmobile.IQToggle
adb shell pm uninstall -k --user 0 com.LocalFota
adb shell pm uninstall -k --user 0 com.policydm
adb shell pm uninstall -k --user 0 com.samsung.android.mdm
adb shell pm uninstall -k --user 0 com.samsung.android.securitylogagent
adb shell pm uninstall -k --user 0 com.samsung.sdm
adb shell pm uninstall -k --user 0 com.samsung.sprint.chameleon
adb shell pm uninstall -k --user 0 com.samsung.syncmlservice
adb shell pm uninstall -k --user 0 com.sec.android.diagmonagent
adb shell pm uninstall -k --user 0 com.sec.android.fotaclient
adb shell pm uninstall -k --user 0 com.sec.android.fwupgrade
adb shell pm uninstall -k --user 0 com.sec.android.soagent
adb shell pm uninstall -k --user 0 com.sec.omadmspr
adb shell pm uninstall -k --user 0 com.sec.omadmspr.syncmlphoneif
adb shell pm uninstall -k --user 0 com.sprint.zone
adb shell pm uninstall -k --user 0 com.sprint.w.installer
adb shell pm uninstall -k --user 0 com.tmobile.pr.adapt
adb shell pm uninstall -k --user 0 com.ws.dm
adb shell pm uninstall -k --user 0 com.wssyncmldm


text:
Adb Tool showing No Devices Found
I had flashed v10 stock rom in my coolped note 3 plus,
I was done successfully,
But after that My device stuck in FastMMI mode,
Everyone suggesting me that enable usb ddebugging, but how can i enable it even my devices isn'n starting?
May anybody tell me that how to exit from
Fastmmi mode?

What does adb devices output ?

What is ADB devices output? may you please explain,

What you see on the screen when you type adb devices

USB debugging available on Settings->Developer Options. To activate developer option, you need to tap multiple times on build number.(For some devices it will be by tapping Custom Os version(Eg: MIUI))

This happens when you flash a Coolpad device using SP Flashtool.  The device stick at Fmmi mode.
To get out of this, just open ADB Tool (Minimal ADB and fastboot).
Then type the following:
adb devices

adb shell fctest system reboot

Your phone should boot normally.

Did you see the title of the question, esQmo? Quoting it: "Adb Tool showing No Devices Found". So no adb shell there. Or did I miss something?

I think OP didn't check if the device is detected by adb devices... The phone should be detected in Fastmmi mode as an ADB device

My device is conected properly to my pc, but still I am getting No Device Found Massage, when i type adb shell fctest fectory reboot

Check for drivers


text:
android "insta apps" updating without permission
Happened to open my android Marshmallow based screen on my unrooted phone.  Saw a message that "insta apps" was updating.  Download completed before I could stop it and update history does not show this package as being updated.
I have:

verified that there is no package installed in the settings->apps list with insta apps in it's name.
verified that install from 3rd party source is turned off in my settings->security options
made sure that my play store settings for auto-update apps is set to do not auto-update apps.
did an adb backup and had a look at the package list and did not find any apps with insta in their package name.

I did download a audio recorder application from the play store which kept flashing dodgy messages.  Maybe it installed something else?
Anyway to track down what this is?  My phone is not rooted but I do have dev studio access to it.  Maybe it's time to put the phone in the wood chiper and never use the playstore again?

There's a developer by that name if that's some pointer. My first thought was that new sort of apps you don't install at all, see e.g. here – which would explain why you cannot find it in installed apps. Could that be?

thanks for the pointer.  Aware of the instant apps packages but this was distinctly "insta apps" which appears to be a highly questionable vendor.  The app seems to be targeting my android pay information.


text:
Is it possible to find and recover a Word for Android document?
I have an Acer Iconia B1-A71 which I bought about a year ago, if I remember right. It has Microsoft Word for Android pre-installed. In my naivety I assumed it was a free no-strings-attached app.
Today I was taking a train trip, 2 hours each way, and I thought I'd try using it to work on a fairly large Word document. I sent it to myself via email. Clicking on the .docx attachment started the Word app. It went though an initialization process, but I am very sure that it did not warn me that by using the app I would have to sign up for a Microsoft account and provide permission for Microsoft to access my contacts.
I spent about three hours working on the document during the trip.
When I got home I tried to "share" it by sending it to myself again. What I got was the original unmodified document. Then I tried to "Save as" on the device, and the app crashed or went into a loop, spinning the circular arrow and saying "Working on it". After 4-5 minutes I killed the app.
Now when I start the Word app it demands that I sign up for a free account, and share my contacts with Microsoft. This I refuse to do on principle.
Where I come from this kind of thing is called "bait and switch".
So my question is, is there any way I can find and recover the edited .docx file using File Manager or something (I have tried to find the edited document but can only find the original one), or do I accept that Microsoft has cheated me out of three hours of my time?


text:
Is it possible to reset Engineering mode's audio settings?
I have a Quantum Muv (Brazilian phone) with android 6.0
When I first got it, its max volume for media was really low, both with earphones and without, so I followed a tutorial to change the settings via engineering mode. It worked well for headphones, but the speakers were still too low. Some time goes by and I try to change the settings again, but now it's like there's no volume 'slider': there's either off (0% volume) or max (all other %es). The settings are all a mess and I'm afraid trying to fix it will just mess everything up again.
Is it possible to reset engineering mode configurations without a factory reset?

Open engineering mode using the number *#*#3646633#*#*
Then go to hardware testing
Press audio
Then go to loudspeaker mode
Press ring change to media
Change value 0~255 change to 60.

I.e...., from if you have messed up everything in all the setting  sid, sip, ring, sph and sph2
From level 0 to 6or 14 the value 0~255 should be in increasing order in counts of 12 or 16.
And value 0~160 keep that in 128 default or for increase in volume keep in 135 that's all.
Do this properly and you will get the slider corrected and increase in volume.
While doing this process play a song from the music player.
Even I faced the same issue and got it solved after an hour of experimenting with all 4 audio settings
Don't alter engineering mode again.

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


text:
Does "Image Privacy" (EXIF remover) app still exist?
Does the "Image Privacy" app exist in some form?  It was a very handy method of removing EXIF data from an image expressly for sharing the metadata-free image.  You select "Share" -> "Strip metadata" (the Image Privacy intent) and then the target app.
A screenshot:

image source

You can try Photo Editor for EXIF removal.
See screenshot below


text:
Whats the best way to uninstall an app on 7.0 Nought?
When uninstalling apps on 7.0 nougat, is it best to use the App Mgr. or uninstall it directly from the screen dragging it to the uninstall area?

AFAIK, using "drag to uninstall" and uninstalling from app manager area is one and the same thing - only the the former is a shortcut to the latter.
Here is why:
Consider an application dragged to be uninstalled:

It still accesses the built in uninstaller from App manager

When directly using the application manager to unistall:

The difference, is when you "drag to remove" or when using a completely different uninstaller from third-party developers.

Hope this helps


text:
How to flash Android O image in Moto G4 Plus
I have Moto G4 Plus device which has Android 7.0 - I want to flash Android O system image in Moto G4 Plus. I see https://developer.android.com/preview/download.html where system images are for Nexus, Pixel etc.
Motorola itself will take time to push updates to their devices so I am looking to push it manually.
Does anyone know if there is any system image for Moto G4 Plus ?

I'll supplement the answer of @beeshyams: since Android O is still in Dev Preview phase, the source code is still incomplete, and no custom ROM (LineageOS, etc.) could even base their work off it. LineageOS (back in their CyanogenMod days) also stated time and again that they will not touch Dev Preview code.
To reinforce the fact: until Android O is officially released (name confirmed and source code out), there's no way you can taste it on an unsupported device.
P.S. Historically, there had been ports of Android L and M Dev Previews to other devices, based on the image released alone. However, 1) such ports are often conducted between devices of similar SoCs, 2) those ports are nowhere near stable and usable, and 3) they quickly become obsolete once the proper release source code arrives.

@beeshyams I only saw OP's comment under your answer and decided to write this up, since it'd be too long for a comment... To be honest, your answer is the one that's on point with OP's question.

@RahulGopi I understand the intention of of your edit, but I intentionally made the 3 points in-line since it's part of a P.S. The way I see it, making it a proper list would make it stand out, more so than the body.

I would add point 4) If you're not sure where to find a Dev build for your device, you probably shouldn't be attempting to flash it to your device unless you like shiny bricks. (Said by the guy with an IT background who's fiddled with hardware & software for 30+ years yet still struggles to make it through the rooting/flashing tutorials on XDA.)

Impossible
If Moto themselves did not update your device, there is no way you can obtain an authentic system image. Even when your device is updated,  Motorola is very slow to update the latest image on it's website, and you would have to depend on images obtained through unofficial means hosted on sites like XDA
Related Security Patch level old on Moto G5

Do you have any link for unofficial system image on lineageos/cyanogenmod ?

Sorry, no. Best is to search on XDA


text:
Daily data usage on home screen
Can I see daily mobile data usage (excluding Wi-Fi) on the home screen using a widget?

Yes, with the help of third-party applications, I am not sure if the feature is available in stock, perhaps it depends on ROM

Apps like this do this but as pointed out above not a stock Android feature

I think this 3rd party widget will do it. It says that it can be customized.
Data Counter
PS: Sorry for not using the comments field.


text:
Recover files of encrypted SD card after factory reset without decrypting the card
I own a Samsung ON 7 phone and I was using a class 10 Sandisk memory card which was encrypted by the device in the lock screen and security menu and with no other third party software. Now I have done factory reset on my phone and accidentally forgot to decrypt the SD card, now SD card is detectable and all the files are there and visible as well. but i can't open any file. What to do, please help !

Before you start anything: Did you use the offer of Google Account for storing all your passwords,etc?
If not:
Are you a beginner or an Android Crack? If you are a beginner, then it is very, very complicated - get asap to a data recovery firm (very expensive) or get to the National Security Agency :)). As Android Crack I would try ASAP (hope you've rooted the device by a Custom-Bootloader) mirror the whole smartphone (on a phone shell apk with sudo/su then dd if=/dev/mmcblk0 of=/ disk with same mem size of smartphone mem) as well as the SD disk to a PC disk, then try to use a Linux recovery disk with gpart, disktype, testdisk, and e.g. aeskeyfind etc. to recover the data. So far I know the keys are in a certain folder (look on the web/stackoverflow) in the system partition, but if you overwrote the phone with Odin/Heimdall (DO NEVER THAT NOW) then you can forget all data.
The next time after you've rooted/ made a firmware reset and new encryption the first thing you should do is to backup the key stuff on a new Memory card and duplicate the keyfiles as much as you can!
Afterwards everything is hell :)) (Even there are APK which are offering a recovery/decrypting of private encrypted files, I would be very cautious of that - they're mostly fakes/adware and maybe trojans)

thanks @aprogrammer that's very kind of you to reply. However, I had so much of data in that memory card but now I have lost all the hope to recover and moved on !


text:
How to recover data that was lost when clearing application data?
I was trying to free some space in my android device to install an application update. So I went to my applications and started deleting application data from them but for some stupid reason it didn't cross my mind that the photos taken with a particular app would count as application data. I would like to recover those photos. Is this possible? If so, how?

You could try a data recovery app, but most likely in modern devices it is just gone and not retrievable through normal means since most Android devices do not have that level access to the file system.

Possible duplicate of How to recover deleted photos?


text:
HTC One M9 - Stock, never modified. Bricked after OTA update 15/06/2017
Please note that:
This phone has never been reprogrammed/rooted/changed in any way/anything else like that. It is as stock as the day I bought it 2 years ago. I am happy to do whatever it takes to resolve the issue below.
The phone can be turned on, but will only do one of the following things:
-Black screen, old-style htc logo in centre, short vibrate, turn off, endlessly loop.
-White screen, green htc logo with "powered by android" text at bottom, short vibrate, turn off, endless loop.
Holding volume up+down together gets me to the boot screen with the following:
* Software status: Modified
 LOCKED
 S-ON *
 to previous item
 to next item
 to select item
REBOOT
REBOOT TO BOOTLOADER
BOOT TO DOWNLOAD MODE
BOOT TO RECOVERY MODE
POWER DOWN
When I plug in the phone to my PC, the USB notification sound plays, but only if the menu above is showing.
Selecting any of the options reboots the phone and goes back to the menu above, with the exception of the "BOOT TO RECOVERY MODE" option. Selecting that takes me to a black screen showing the old htc logo in the centre and:
Failed to boot to recovery mode
Press volume up or down to back to menu
This build is for development purposes only. Do not distribute... etc.
Pressing vol up/down at this point gives me the first mentioned menu screen, but below the * S-ON  line is  Security Warning *.
So, my question is:
1) Can I get my phone out of this loop and back to booting normally?

Almost identical happened to me last night.  The only difference is that I don't get the white screen with the green logo - only the black with logo.  Have you made further progress?  Reading up on "phone hacking" it looks like the next step might be to try putting a RUU on a SD card and hoping that will be used to boot.   I haven't yet found a RUU.  The  htcdev devcenter has MR1, MR2 and CRC files for my region (UK) and carrier (three aka h3g) but no RUU files.

I've looked into this. I cannot see how using an RUU on and SD card is possible with the phone as S-ON. Does anyone know if this can be done? I'm in the process of trying to return the handset to HTC for a repair, along with a lengthy argument, no doubt, about how their OTA update bricked my phone. Due an upgrade now anyway, but loathe the idea of discarding an otherwise perfect handset.

HTC have sent me this, but as far as I can tell it's useless in our case:
(Posted as answer, not comment, because of size and formatting)
(Not sure what they've done with the numbering)

factory reset the phone in order to get out of the  boot loader page, please follow the below steps
3.Press  and hold the Volume Down key.
4.Turn the phone on by pressing the Power key until the phone vibrates, then release Power.
  5.Continue holding the Volume Down key.
6.Release the Volume Down button when the black screen with red and blue lines of text appears.
-
1.Press  the Volume Down button repeatedly until reboot to bootloader is highlighted, then select it with thePower button.
2.The device will display a white screen with colored text.
-
1.Press  the Volume Down button repeatedly until BOOT TO RECOVERY MODE is highlighted, then select it with the Power button.
2.The screen will display the white HTC screen, and then turn black.  After several seconds, a picture of the phone with a red triangle and exclamation mark will appear
-
1.Hold the Power button, while pressing and releasing the Volume up button.
  Note: This can be done at any time after the screen turns black.  If this button combination is pressed before the image of the phone with the red triangle appears, it may take several seconds for the recovery menu to appear at the top of the screen.
2.Another black screen with red and blue text will appear.
3.Press  the Volume Down button repeatedly until wipe data/factory reset is highlighted, then select it with thePower button.
-
1.Press  the Volume Down button repeatedly until Yes – delete all user data is highlighted, then select it with thePower button.
2.Once the data wipe is complete, make sure reboot system now is selected and press the Power button.

Thanks for the instructions. I've gone through them, and I get:
Between bullets 5. and 6. my phone goes black, then shows white HTC logo, then vibrates, then goes black again, then endlessly loops.
If I then hold vol+ and vol- at the same time it exits the loop to the bootloader screen. If I select recovery mode, I get a black screen, white HTC logo, and red text stating that the phone failed to enter recovery mode.
I really do wish I could just wipe it and start it again, but it's looking like it's a back to mfr repair. Which is a bit shit.


text:
Samsung Galaxy Tab S2 in bootloop (standard recovery not working!)
Hi enthusiastic community! I would need your help and advice!
The device:

Samsung Galaxy Tab S2 (SM-T819)
bought with Android 6 second hand --> last week updated to Android 7
NOT rooted, original firmware, official update (did not mess around with it at all ...)
I am using it without SD-card or SIM

The problem:
Stucks in boot loop first shows Galaxy Tab S2 logo and then S-A-M-S-U-N-G appears in big letters blinking) stays there forever and heat up a little on the back.
Steps already tried and did not work out:

press powerOn button 10s, 1 min, 2 min ... --> no reaction
press volUp + volDown + powerOn --> reboots put stuck later at the logo
press volUp + powerOn + home --> does not enter recovery mode
press volDown + powerOn + home, in this very order --> enters downloading mode and asks to downloading a custom OS (volUp) or cancel (volDown)
if I press cancel reboots and stuck at the logo again
if volUp then gets into Odin downloading mode and shows the following information:
ODIN MODE (HIGH SPEED)
PROCUCT NAME: SM-T819
CURRENT BINARY: Samsung Official
SYSTEM STATUS: Official
FAP LOCKS: ON
WARRANTY VOID: 0x0
QUALCOMM SECUREBOOT: ENABLE (CSB)
RP SWREV: S1, T1, H1, R1, A2, P1
SECURE DOWNLOAD : ENABLE
download mode !!

[Arrow down]
Downloading ...
Do not turn off target

I guess it is waiting to download from USB.

tried this steps with and without charging cable connected to my
laptop --> does not make a difference!
Eventually it ran out of battery and shut down! Tried the same
steps after it's shutdown (power cable connected) but situation did not change!
I cannot mount the tablet on my Ubuntu Lenovo Thinkpad --> if I do
lsusb the tablet is not listed ...
after the battery ran out I tried this: when Samsung Galaxy S2 logo appears, release the Power key and immediately hold the volume down key --> it is rebooting and showing the battery symbol (0% charged) over and over again.

Questions:

What should I do else?
Should I flash firmware? --> I run the laptop with Ubuntu 17
Should I dismantle it and disconnect the battery (worked
on my Lenovo ...)?
Do I have to root it?

What do I want:
I want the tablet to work again, would prefer not to root it, do not care about data loss ...
Other observations:

I could not start it this morning after installing a new app (via
Google Play) yesterday evening.
Two days ago I could not charge the tablet with the adapter on a
power plug, I needed to charge it via the laptop.
It is alive and charges normally on the laptop (if I press shortly the powerOn button then the battery symbol appears)
Does NOT charge with the charger plugged into a power plug, only on the laptop.

Thanks a lot for your help and patience to read all that!
EDIT:
07/13/2017
I followed esQmo_'s solution in detail but I could not establish a connection between the computer and the tablet. In the end Samsung support fixed it and the tablet is running perfectly again. However, I think that the solution given by esQmo_ is still the right thing to do in this case, but please note that for some reason (maybe my lack of experience or knowledge) it did not work out for me. Thanks!

Seems like you bricked it. You simply need to flash it using Odin (Windows) or Heimdall (Mac OS). I can help you flashing with Odin.  i don't have a linux machine.

@esQmo_: Thanks a lot for your help! It seems I have to find somebody with a Mac or Windows! Could you point me to a good tutorial which help me to flash it or could you post a recipe as an answer?

Seems like a softbrick state. You should try flashing a new firmware.
The steps below are for Windows:

Download the firmware from here (Registration required)
Download Odin flasher from here
Download Samsung Kies and install it. Needed for drivers.

[Update]

Uninstall Kies right after it has installed and drivers set up, this is to avoid conflicts with Odin while flashing devices (See below answer (@Babaks D's answer) for more)
Unzip the firmware, unzip Odin then run the executable file.
Power off the device then boot in download mode (Volume down + power button) then connect it via USB cable. Windows should install drivers.
Now on Odin, you should see ID COM turns blue meaning that the device is detected.
Click on AP button, then browse where the firmware folder is. Select the file. Wait a moment.
Now click on Start and wait till the end. You should see PASS on the screen.

Thanks for your help! Unfortunately it did not work for me. I could not fix my tablet by myself, but the Samsung technicians did. I could not establish a connection between the computer and the tablet maybe due to my lack of experience or knowledge. However, I think that your  answer is still the right thing to do in that situation, there for I accepted it as solution!

You probably didn't install drivers to establish the connection between the phone and the computer or the USB cable was defective . I'm glad you had the issue fixed though.

My solution in the end was to send it in to Samsung and it got fixed by them. That is not a practical solution for everyone especially if your support for your device is already expired. However, with this post I just wanted to state that it was possible to fix it. The tablet has been working perfectly since then and the boot loop might have been connected to the update to Android 7.0.

I tried the solution @esQmo_ suggested. It went all good until the very last stage where Odin failed on installing the firmware. After doing some more research, I figured that you should not be running Kies as you want to interact with Odin.
Kies installs the drivers for you, but if you want to run Odin and download the new firmware on the device, Kies interferes and tries to communicate with the same device on the same port, resulting in having the COM BUS busy and thus Odin won't be able to download the firmware.
So if you want to follow the steps @esQmo_ laid in, make sure that you have closed Kies before downloading the firmware on the device.

Hello, you meant Kies, not 'Keis', or? could you please edit your post?

Hello. Yes, just a minor typo. Thank you for pointing that out.
Edit applied.

Thanks for pointing this out. I fogot to mention that in my answer. The better option would be uninstalling Kies just after it has installed the drivers, so you won't worry anymore about it.

For me, the following procedure helped (SM-T813):
Prerequisites: ADB, ODIN, TWRP-tar-file for device

Initial State: "stucked" TWRP is running on device
Connect device to PC
Reboot device into download mode (I did it via "adb reboot
bootloader")
Start ODIN, flash the latest version of TWRP (I assume its just
important to "reflash" TWRP)
After the flash completed, my device returned to normal boot mode

My tablet was on a recovery boot loop and would proceed to install update only up to 25-32%. I tried clearing the cache by pressing the upVol and Power button but I couldn't get to that menu, perhaps because it wouldn't charge at all and I had to keep it plugged in. I did the power button + downVol and home key at the same time to get to the custom OS install screen, I left it sitting there for a good 15 minutes and I think it was able to sustain a charge so when I rebooted it finally completed the update on it's own. Weird but it finally updated after a few days of installing update loops.


text:
Turn off black notification/clock screen on Samsung Galaxy S4
When I turn on my Samsung Galaxy S4, it often comes with a black clock/notification screen.

How to turn it off?

Cant take screenshot when it's there. It looks like the always on display on newer Samsungs. It is only there for 10sec.

Sounds like a lockscreen widget, anyway try this:
Drag down the screen from where the message and
clock is.
Delete text and uncheck clock then press save (just needs to be edited from the lock screen).
You may need to disable your lock
security while editing.
Then tap save in the top right and your lock screen will be clear

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


text:
How Google Play updates itself?
A few days go I launched my old phone with old version of Google Play. I launched it, but in few seconds application crashed. When I launched it again, a new version (this one that I have on my current phone) was shown infront of my eyes. I'm asking, how? I have a theory that Google Play checking content of server and when detect a new apk, it install it in the background. Am I reasoning it right?

What do you mean "how can it"? Google services are constantly in contact with the servers, when they are outdated they automatically update and you pretty much can't stop it. The Play Store, Play Services, and other Google services are not like normal apps, they are more like system services.

When you're connected to Wi-Fi and Google Play Store is running, it will automatically download any updates for Play Store and Play Services. If you have something like a network monitor, you'll occasionally find Google Play Store occupying large bandwidth and stops after tens of MB.
Updates for Play Services will be installed immediately while updates for Play Store will be installed after you quit it (by pressing back multiple times or home). As noted by @Matthew Read, apps with system privileges do not require user intervention while installing or updating apps.

Just to clarify, it will also update over regular cell phone internet, not just Wi-Fi. Play Store as well as other things it considers important.

Yes, you're correct.  Google Play Services checks for and installs new versions when needed.  As acejavelin mentions, Google services are privileged apps and do not need user interaction/permission to update.


text:
How can I view my facebook email address?
How can I view my facebook email address?
I managed to get to this screen

from there I scrolled down, and got this screen
Then I chose account settings

then I get this screen

and none of these options open up.
I just can't see where i'd be able to see my email address.
added explanations
Those screenshots are from my Android Phone, in the Facebook App. (not from a web browser, i'm not logged in in any web browser, and as mentioned I don't have the email address)

From your last image, click General, it contains your basic information, like name, email, phone number, networks, and inactive account management person.
The full path to this from the Facebook app is press the 3 line hamburger menu, scroll to the bottom section and find Account Settings, then General.
The way to access this information is exactly the same in the mobile web page.
If they are not opening up, refresh the page or try a different browser.
Also, if you have the Facebook app installed, go to Settings, Accounts, then Facebook, the email address associated with your account is right at the top of the page.

this is from the app. I am not using a browser I don't have the email address.   I can't see a "settings" option. I see "account settings" which I showed in my screenshots

If you have the app, you have an entry in Android's account management... Go to your Android device's settings menu {not in the Facebook app), go to Accounts, and open the Facebook entry, the email address is at the top of that page.

Thanks, You can make that the answer.   If I hadn't been talking about the app then it'd have been more of a web browser issue possibly related to mobile views of webpages and not really an android specific question.  But I was talking about the app and it was an android question and thus your comment there is the answer.

@barlop That info was in my initial answer, see the last paragraph. :)

Could've been at the beginning rather than the end.


text:
Galaxy S5 won't connect to laptop (tried everything I could find)
Alright so I'm sure this is something that people ask a lot, but mine seems to be some sort of super weird case of "heck you I don't wanna mate with your laptop."
My Galaxy just will not connect to my laptop no matter what I do. I'm starting to think maybe it's just an issue with my laptop but idk how it could be.
The big things I've tried so far

Using Developer Mode to enable USB debugging.
Dialing *#0808# in order to select MTP
Connecting my phone to my laptop through Bluetooth

Some important things to note

When I pull down my phone's notification bar, there is no selection for Connect or whatever.
I have tried to restart my phone after making changes.
My computer doesn't recognize my phone as a bluetooth or connect device (but can pick up my boyfriend's phone as bluetooth)

I really don't know what to do. I just want to move photos onto my computer but nothing I'm finding online is helping at all. Is there any setting in my computer that I can change in order to fix this? I've tried doing every small and big method I can find online for the past month or so.
Thank you.

What OS does your computer have? If Windows, did you install drivers?

If it's not detecting your phone via usb , you should try changing the cable, try that

This or an issue with the USB port is likely an issue.

I don't know if I want to spend the money on buying a brand new charger when this one is only a few months old and worked fine on my old laptop. I've also tested all USB ports with multiple things and they work fine.

Actually, I might have a spare

It worked, thank you so much omg. That's super weird that this new one will work with my old laptop but not this one. Thank you for your help!

@Star-Lord as it solved your issue, please consider marking it the "accepted solution" (tick the check-mark next to the answer). Thanks!


text:
Enter the "private sandbox folder"
I've been using a voice recorded app on Android called "Parrot" that stores recordings to

SD card\Android\data\com.SearingMedia.Parrot\files\parrot

I know they're here because when I select a recorded file from within the app, and press on details, it says

File location: \data\user\0\com.SearingMedia.Parrot\files\parrot\Jun 09,063342.wav"

However, when I connect my phone to the computer, the folder is empty. The files work, as they can be heard when played from the app, but they just don't appear on the file explorer.
Now, I saw the developers wrote this as an answer to somebody asking the same:

Hi David, Internal recorders are stored in a folder that is in a private sandbox folder which is inaccessible to other apps for security. You will need to share all of your tracks outside of the application. Long press on a row to start the multi-select tool then tap on all of your tracks. We suggest sharing using our SendAnywhere integration.

I don't want to use these wireless methods. Is there any way at all that I could access these files on this protected folder, by merely connecting the phone to a computer?

If you want to avoid the sharing option, your device will need to be rooted.  Is it?

It will if this is a real option. I've rooted phones before, just not this one because so far I haven't had the necessity.

You could use another sharing option such as Share to SD.  This will save the file locally on your device in a non-sandboxed location, and you will then be able to access it from your computer.

I've installed it, but for some reason it won't appear as an option for sharing on Parrot (not along with "Bluetooth", "Drive", "Email", etc).
Also, say I've got a file, that I know is in that folder, that won't be displayed by "Parrot" (so I can't share it in any manner, not even with Internet) - do you think there's any chance of recovering it? I'd need to enter the folder, of course.
And, thanks much for responding.

I also use Parrot for all my recording purposes, so here's the solution:
First, in the settings of Parrot you need to choose External instead of Internal for the memory storage location. Weirdly, Parrot will then store your files in the internal memory in a folder called "Parrot".
After that, when I connect the phone to the PC and I can see "Parrot" folder in the internal memory section, but none of the recordings. So, install an app like "FX Explorer" on the phone, which is pretty much my default file browser. Then browse to the "Parrot", from the menu select Rescan media, and refresh the Windows Explorer on PC, the files will show up. :)


text:
Insufficient SD storage space error!
My SD (memory) card has about 14 GB of free storage space but when I try to open documents saved in my SD card, it says that there isn't sufficient space to open them.
What could be the cause of this and what can I do to fix it? I am using a Samsung Galaxy S4 mini.

Welcome to Android Enthusiasts! That message isn't about your SD card, but rather about your device's internal storage. Maybe those documents are too large to process in memory, and there's not enough space to temporarily store parts? Please also check with our insufficient-memory tag-wiki for hints.

Try clearing data of the apps you dont need. It's probably your internal storage that's used up. You can even clear the cache of the apps in Settings>storage..


text:
Can't mount filesystem from LG-V20 on MacBook
I have a question about connecting an Android phone to a Mac.  I expect you'll need to know some specifics about the hardware and OS versions I'm using.  So let me start with that.
Macbook: MacBook Pro Retina, Mid 2012, OS: OS-X 10.8.5 (Mtn. Lion)

Old smartphone: HTC Rezound, OS: Android 4.0.3 (Ice Cream Sandwich)
Old cable: Micro-USB connector to USB-A connector

New smartphone: LG V-20, OS: 7.0 (Nougat)
New cable: USB-C connector to USB-A connector

For years I've been able to connect my old Android smartphone (HTC Rezound) and my MacBook through a USB cable and OS-X will mount two filesystems from the smartphone so they appear on the Mac as if they were local filesystems.  One filesystem represents the phone's internal memory and the other filesystem represents the MicroSD card in the phone.  In a Finder window on the Mac, two new icons appear when I plug the phone in, one for each filesystem.  And at a shell prompt, if I 'cd /Volumes', two new subdirectories appear.
I should mention that years ago, when I first connected the two, the HTC asked me if I wanted to use the connection to charge the phone or for data transfer, and I selected data transfer.
I'm now trying to set up my new smartphone which is an LG V-20.  When I connect it to the Macbook with a USB-C to USB-A cable, the LG phone displays a number of things I might want to do with the connection, including charging the phone or data transfer, and I select data transfer.  But on the Mac, no icons appear in Finder and no subdirectories appear in /Volumes.
So, I'm unable to access the phone's filesystems from my Mac.
Anybody have any ideas?

I'm sorry I don't have a solution for you, only a small clue.  I have the same issue with my LG V-20 and Windows 10 on a Surface 3.  I run diagnostics on Windows 10 and it tells me that the V-20 does not support USB3. Since the only kind of port on the Surface 3 is USB3 I'll need to try another computer.  (I'm on vacation and have only the Surface with me so I cant try this out right now.)  If your macbook has USB2 ports you might try these or if not, try an older computer if available.

Ignore my post above.  Here's what worked for me.  When you plug your phone into the USB port you should get a notification ON YOUR PHONE (not on your computer) prompting to "Tap to change USB options".  Tap it and change setting of "Use USB connection for..." to File transfer or Photo transfer, etc.

I set "Use USB connection for..." to "File Transfer", but I still cannot see any icon in Finder on the Mac that represents a filesystem in the Android.  And likewise, I can't see any subdirectory of /Volumes on the Mac that represents a filesystem in the Android.  As I said in my first post, I'm running Android 7.0 (Nougat) on the LG and OS-X 10.8.5 (Mtn. Lion) on the Macbook.  What versions of Android and OS-X are you running?


text:
ARM big.LITTLE effectiveness in custom roms
In stock roms it's obvious that the manufacturer tries to make use of big.LITTLE technology as mush as it can (cluster managing, workload distribution etc.); I'm wandering what will happen to "these under the hood optimizations" when we install a custom rom on the phone?
For example Snapdragon 652 has 4 big cores and 4 LITTLE cores and say we flash the phone with Lineageos 14; Does Lineageos can see these two sets of core clusters separately and use them as a true big.LITTLE configuration?

I reckon that depends on the dev of individual devices. Such core dispatching options are definitely there in some custom kernels, and often their "selling point" over the original kernel of custom ROMs.


text:
How to update HTC desire 630 to Android 7 without rooting the phone?
I would like to update my HTC desire 630 to Android 7 without rooting it. I currently have 6.0.1 installed.
Have anyone done it? Are there any good articles? I found this one, not sure if to try it out.

Pointers: Our updates tag-wiki and especially, linked from there, How do I update the OS on my device?

No, you won't, just because HTC does't support it anymore.

can you clarify - doesn't support what? Android 7?

The term of HTC 630 is final. If you want upgrade to Android 7, you need unlock bootloader by yourself, then find the cook roms and flash it


text:
The contacts I save in my lava X1 grand gets automatically saved in another android Micromax canvas .. How to solve this problem?
The contacts added or deleted in one device gets automatically added or deleted in the other .

Did both device uses same Google account? Then turn off sync, in settings->accounts->Google (uncheck , contacts)

If you logged in your google account on both of the devices. It automatically syncs your People details in both device.
If you add one contact in your lava it will automatically gets updated in all the devices which you logged in.
So sign out from the another device or turn off the sync.


text:
can't go to Recovery Mode
i have a oppo neo 7 (android 5.1) that doesn't want to go to recovery mode. when i tried to go to recovery mode, it just goes back to normal restart. So i tried using adb, so i used fast boot mode, but it failed it says : wiping userdata...
Creating filesystem with parameters:
    Size: 838860800
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7328
    Inode size: 256
    Journal blocks: 3200
    Label:
    Blocks: 204800
    Block groups: 7
    Reserved block group size: 55
Created filesystem with 11/51296 inodes and 6651/204800 blocks
target reported max download size of 134217728 bytes
wiping cache...
Creating filesystem with parameters:
    Size: 167772160
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 5120
    Inode size: 256
    Journal blocks: 1024
    Label:
    Blocks: 40960
    Block groups: 2
    Reserved block group size: 15
Created filesystem with 11/10240 inodes and 1705/40960 blocks
erasing 'userdata'...
FAILED (remote: unknown command)
finished. total time: 0.002s

One easy way to get to the recovery mode would be to press and hold all the buttons on your device. That would take it into recovery mode.
Using adb you can get to the recovery mode by the below command.
adb reboot recovery


text:
How to set restricted user as default user on reboot?
We would like to have an already added restricted user account be the default when we restart our Samsung SM-T580 tablets.
At current we have 2 accounts installed, Admin and User
The User is a user with restricted access.
The tablets are rooted
Hope that someone has a solution for our question

I am suggesting two solutions. Both of them require root access, and both were tested on a OnePlus 6 running Android 10.
Solution #1
Have the following script (let's call it switch-user.sh) run during boot but after the user has entered device decryption credentials (PIN/password)

#!/system/bin/sh

while true; do
        flag=`/system/bin/getprop vold.fbe.decrypted`
        if [ $flag ]; then
                sleep 1;
                /system/bin/am switch-user USER_ID          # replace USER_ID term with restricted user's id
                exit;
        else
                sleep 1;
        fi
done

What this script does is to continuously check (with a delay of 1 second) whether the user has decrypted the device or not. If yes, switch to the restricted user after one second, or continue to recheck. Since my restricted user's User Id is 10, I used 10 as USER_ID in it. Change it to whatever User Id your restricted user has. See my answer here if you need help in finding out the User Id.
Note: In the above script I am checking for the value of the property vold.fbe.decrypted which works for my OnePlus 6 running Android 10. Your device may or may not have the same property. You can hunt for the relevant property by looking into the output of the command adb shell 'getprop | grep vold'. Alternatively, see if sys.user.0.ce_available property is available in your Android version.
Next thing to do is to put that script into a location in your Android from where the system would execute it on its own during boot. Since I use Magisk, I placed that switch-user.sh script into the directory /data/adb/service.d (see Magisk's Boot Scripts section for further information on it) and added executable permission to it using the command:
adb shell su -c 'chmod +x /data/adb/service.d/switch-user.sh'

If you do not use Magisk, you can take the help from the answers at How can I run a script on boot?
Restart the device to see if your script works. In my case, whenever I enter my PIN to decrypt the device, than within two-three seconds the system automatically switches to my restricted user.

Solution #2
If you don't want the hassle of injecting a script into boot process you can setup an automation app which would switch the Android to your restricted user once it receives BOOT_COMPLETED broadcast, or in other words, do something during startup.
I can suggest Tasker and MacroDroid as I have tried them and they worked on Genymotion with Android 6.0 and on a OnePlus 6 with Android 10. You can try any app which can run a command/script on startup.
Tasker
For Tasker, the profile and the task should be this:
Profile: Event → Device Boot
Task: Code → Run Shell:

Command: su 2000 -c am switch-user USER_ID
tick Use Root
leave the rest of the settings untouched

Make sure to replace USER_ID there with the actual user id of the restricted user.
MacroDroid
For MacroDroid, the Macro should be this:
Trigger: Device Events → Device Boot
Action: Applications → Shell Script:

tick Rooted
Enter the following command in "Enter script" field: su 2000 -c am switch-user USER_ID
leave the rest of the settings untouched

Make sure to replace USER_ID there with the actual user id of the restricted user. See my answer here if you need help in finding out the User Id.
Note: because many apps would be competing to run their XYZ things during startup, you might notice a delay of a couple of seconds before user switching takes place.

I suggest to add an App that will start at every system start to switch to a secondary user. The method require a version of Android 10 minimum.
Let's suppose that the secondary user is not admin and it's the only secondary user.
Source code:
Manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.example.switchuser">

    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity
            android:name=".MainActivity"
            android:label="@string/app_name"
            android:theme="@style/AppTheme.NoActionBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <receiver android:name="com.example.switchuser.BootReceiver"
            tools:ignore="Instantiatable"
            android:enabled="true"
            android:exported="true"
            android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
            <intent-filter>
                <category android:name="android.intent.category.DEFAULT" />
                <action android:name="android.intent.action.BOOT_COMPLETED" />
                <action android:name="android.intent.action.ACTION_BOOT_COMPLETED" />
                <action android:name="android.intent.action.REBOOT" />
                <action android:name="android.intent.action.QUICKBOOT_POWERON" />
                <action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
                <action android:name="android.intent.action.ACTION_SHUTDOWN" />
            </intent-filter>
        </receiver>
        <receiver
            android:name=".AppAdminReceiver"
            android:permission="android.permission.BIND_DEVICE_ADMIN">
            <meta-data
                android:name="android.app.device_admin"
                android:resource="@xml/device_admin_receiver" />

            <intent-filter>
                <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
            </intent-filter>
        </receiver>
    </application>

</manifest>

res/xml/device_admin_receiver.xml
<?xml version="1.0" encoding="utf-8"?>
<device-admin xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-policies>
        <limit-password />
        <watch-login />
        <reset-password />
        <force-lock />
        <wipe-data />
        <expire-password />
        <encrypted-storage />
        <disable-camera />
        <disable-keyguard-features />
    </uses-policies>
</device-admin>

MainActivity.java
package com.example.switchuser;

import android.app.admin.DevicePolicyManager;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;

import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.android.material.snackbar.Snackbar;

import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;

import android.os.UserHandle;
import android.view.View;

import android.view.Menu;
import android.view.MenuItem;

import java.util.List;

public class MainActivity extends AppCompatActivity {
    public static final int RESULT_ENABLE = 11;
    private ComponentName compName;
    private DevicePolicyManager manager;
    @RequiresApi(api = Build.VERSION_CODES.P)
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Toolbar toolbar = findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);

        FloatingActionButton fab = findViewById(R.id.fab);
        fab.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
                        .setAction("Action", null).show();
            }
        });

        compName = new ComponentName(this, AppAdminReceiver.class);

        Intent intent = new Intent(DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN);
        intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, compName);
        intent.putExtra(DevicePolicyManager.EXTRA_ADD_EXPLANATION, "Explain why we need this permission");
        startActivityForResult(intent, RESULT_ENABLE);

        manager = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE);

        # Get list of secondary users
        List<UserHandle> listUsers = manager.getSecondaryUsers(compName);

        #Switch to the first secondary user in the list
        manager.switchUser(compName, listUsers.get(0));

    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.menu_main, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        // Handle action bar item clicks here. The action bar will
        // automatically handle clicks on the Home/Up button, so long
        // as you specify a parent activity in AndroidManifest.xml.
        int id = item.getItemId();

        //noinspection SimplifiableIfStatement
        if (id == R.id.action_settings) {
            return true;
        }

        return super.onOptionsItemSelected(item);
    }
}

AppAdminReceiver.java
package com.example.switchuser;

import android.app.admin.DeviceAdminReceiver;
import android.app.admin.DevicePolicyManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Build;;
import android.widget.Toast;

import androidx.annotation.RequiresApi;

public class AppAdminReceiver extends DeviceAdminReceiver {

    private static final String TAG = "AppAdminReceiver";
    @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
    @Override
    public void onProfileProvisioningComplete(Context context, Intent intent) {
        // Enable the profile
        DevicePolicyManager manager =
                (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE);

        ComponentName componentName = this.getComponentName(context);

        manager.setProfileName(componentName, "SwitchUser");

        manager.setLockTaskPackages(componentName, new String[]{"com.example.switchuser"});
    }

    /**
     * @return A newly instantiated {@link ComponentName} for this
     * DeviceAdminReceiver.
     */
    public static ComponentName getComponentName(Context context) {
        return new ComponentName(context.getApplicationContext(), AppAdminReceiver.class);
    }

    @Override
    public void onEnabled(Context context, Intent intent) {
        Toast.makeText(context, "Device Admin : enabled", Toast.LENGTH_SHORT).show();
    }

    @Override
    public void onDisabled(Context context, Intent intent) {
        Toast.makeText(context, "Device Admin : disabled", Toast.LENGTH_SHORT).show();
    }
}

BootReceiver.java
package com.example.switchuser;

import android.app.admin.DevicePolicyManager;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.UserHandle;

import androidx.annotation.RequiresApi;

import java.util.List;

public class BootReceiver extends BroadcastReceiver {

    private static final String TAG = "Boot Receiver";
    private ComponentName compName;
    private DevicePolicyManager manager;

    @RequiresApi(api = Build.VERSION_CODES.P)
    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent != null) {
            if (intent.getAction().equalsIgnoreCase(
                    Intent.ACTION_BOOT_COMPLETED)) {

                compName = new ComponentName(context, AppAdminReceiver.class);

                manager = (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE);

                List<UserHandle> listUsers = manager.getSecondaryUsers(compName);

                manager.switchUser(compName, listUsers.get(0));
            }
        }
    }
}

To enable the application as Device Owner in order have permissions to change the user, we need to use ADB:
adb root
adb shell dpm set-device-owner com.example.switchuser/.AppAdminReceiver

User restriction
In order to harden the user you can:

Dump /data/system/users/10.xml where 10 is the id of the user. The file looks like this:

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<user id="10" serialNumber="10" flags="16" created="1598034338552" lastLoggedIn="1598035769294" lastLoggedInFingerprint="Android/sdk_phone_x86_64/generic_x86_64:10/QPP6.190730.005.B1/5775370:userdebug/test-keys" icon="/data/system/users/10/photo.png" profileBadge="0">
    <name>New user</name>
    <restrictions no_sms="true" no_outgoing_calls="true" />
</user>

Add more restrictions. The list of restrictions can be founded on UserManager Documentation
push the changes

adb push 10.xml /data/system/users/10.xml

Reboot
Once the device start the application switch the user to the secondary user.
Tests
The app was tested on AVD (Android Virtual Device)
Source code on github

Hi! I appreciate the source code for the app, but considering Android Enthusiasts Stack Exchange focuses on Android end-users (but not necessarily developers), I'm afraid this answer is a bit too much for the majority of end-users and out-of-scope of this site. Considering that the source code is already on GitHub, I'd suggest removing the source code and providing the link to the APK instead so that non-dev end-users can use it directly, and dev-users can still build it from GitHub if they want. Thanks!


text:
Nougat: Possible to set all notifications from the Gmail app to not make any sound?:
On Nougat is it possible to set all notifications from Gmail to not make any sound?
I want the notifications to appear just that they are not so urgent that they keep making sounds when they arrive. i.e. Immediate attention is not needed.
For Whatsapp it has internal settings where I've turned the sound off. But Gmail doesn't seem to offer such options so far as I can tell.
But is there an external way via Nougat to set what alerts / sounds a particular app's notifications will produce?

Don't know about Nougat but you could try with automation

You could try as in this solution - keep constraints blank

You can edit the notification settings;
Settings -> account you want to make silent -> uncheck notifications or change preferences with the box below


text:
How to find a lost Android phone?
My father's Samsung Galaxy S7 Edge was stolen, and we're having a hard time finding it. He logged on Find My Device and has registered it, but the phone is obviously not connected to the wifi to trace it. It has SMS, and can be called, but the caller keeps hanging it up. Only a matter of time till the caller shuts down the phone and can never be traced. Any options?

Welcome to Android Enthusiasts! Have you already checked with our lost-phone tag-wiki and its links? As you can imagine, you're not the first one in such a situation – so others already have collected details on it.

You can track your phone using his IMEI, usually found in the box of the phone itself, try to use this website
and insert there your IMEI


text:
Sound in smartphone from headset bluetooth
Is it possible that headset a bluetooth microphone to send audio to phones all the time? I would like to make live YouTube and facebook not using the built-in microphone only from bluetooth headset

My Galaxy s4 will record the audio track of a video using a Bluetooth headset.

i have samsung A3 2016 and-6 i can do this , when i start live stream still i have bulid-in microphone....


text:
Dimming service still works after app uninstall
I have installed a sleep monitoring app (Sleep as Android) on my LG G3.
It has a feature that dims the screen when the monitoring starts.
It was very annoying, so I disabled it in the settings of the app.
In the mornings I stopped the monitoring and resumed using my phone.
For a few days now, in normal usage (even if I read emails, or even play games!), my screen dims until it becomes dark grey (it is not locked) and I can't undim it, just lock and unlock.
I stopped the application but the dimming kept happening.
So ultimately, I uninstalled the app.
The dimming still happens, so I presume the app had some service installed that makes the screen dim.
When my phone tries to lock itself (after 2 minutes of idle screen time), the dimming wakes it up and they fight! You can see how it looks:

Can I somehow uninstall the dimming service?

Did you reboot the phone after that?

@esQmo_ Of course, many times. It did not help.


text:
How do I add a desktop link to a youtube video?
Normally I can add a desktop link from Chrome by using "Add to Home screen".  However, when I click on a YouTube video, it automatically opens that video in my YouTube app rather than in Chrome.  Thus I no longer have an option to add something to my home screen.
Any ideas?
I am using:
Android version 7.0 on a Samsung Galaxy S7

I found a way to do this! (It's a bit fiddly).

Find your YouTube video
View the website in Desktop mode
Shorten the URL (using goo.gl)
Turn off Wi-Fi (so the shortened URL won't get to youtube.com)
Enter the shortened URL in your address bar on chrome
You should get a no internet error
Add that page to your home screen
Voila! Now enable Wi-Fi again and the icon will link to YouTube in your browser!

+1. Nice workaround, though I didn't try it out


text:
Permission denied while trying to copy some data from computer on to Samsung Galaxy J5
I updated the firmware couple of days ago. After that I've been trying in vain to copy some data from my linux (Debian box) to Samsung Galaxy J5, SM-J500F
This is the command I have been using -
─[$] sudo cp some-content /run/user/1000/gvfs/mtp:host=%5Busb%3A005%2C019%5D/Card/Android/media/Music_CD

Music CD was a directory made by me some months ago.
I get the following response -
cp: failed to access '/run/user/1000/gvfs/mtp:host=%5Busb%3A005%2C019%5D/Card/Android/media/Music_CD': Permission denied

Any idea why permission denied error is being given even though I'm sudo.
Android version is 6.0.1 . Please let me know if more details are needed as developer options are turned on.

Do you have root access on your phone ? Did you root it?

I haven't rooted it but sometime before I was able to copy effortlessely, without the need of root access.

It was working on lower versions of Android not Marshmallow

I think it was working on marshmallow too, but not the most recent update.


text:
My mobile screen touches itself repeatedly(Ghost Touches)?
I have Swipe Elite Note android mobile phone.
My mobile screen touches itself repeatedly. I tink it might be a hardware issue.
However, it is working well today!
How can I confirm if it was an hardware issue or a software problem?

Boot into Safe Mode... Does the problem persist? If yes, probably hardware, if no, factory reset and try again.

Likely to be hardware but to confirm you could see if this behaviour persists in safe mode - of it doesn't, it may point to software ( you would need to check multiple times given that the problem seems random)

@beeshyams Is there any app using which I can disable that part of my mobile screen touch?

No but they're are questions here on how to that - search for them for possible ways


text:
Weird ghost touch on Moto G4 Plus
I bought my phone (Moto G4 Plus) about 10 months ago. At first, I only used to have ghost touches on it if I use it while charging. But that wasn't an issue for me because I usually don't use my phone while it's charging. But recently, I've been having ghost touches on the screen on two other occasions...
1) While playing Minecraft : Pocket Edition (Happens once in a while)
2) When I set the brightness to 100% (Been having this problem since the past two days)
What could be the reason for why this is happening all of a sudden?

First, if you have not already done so, clean the screen, depending on the type of touch even a piece of dirt could activate it.
Second, get a thin blade and lightly run it around the screen, where the touch meets the plastic/metal casing.
Third, if you can get to calibrate the screen do so otherwise perform a factory restore, if it is android, power off the tab, hold Vol + and power on, let go of power once it comes on and keep the volume button pressed, usually touch is disabled in restore mode so you have to use the machine buttons to navigate and enter. I had to do this to fix a Alcatel OneTouch phone so it is worth a try.
Forth, if all else has failed you may have to disassemble the tablet, it would appear there is a pressure point on the screen which is actually banding the screen causing it to make contact with the touch panel. Not knowing which tab it is I cannot direct you on disassembly but it is generally a simple enough process.
Before trying this part, run your finger around the edges of the screen, with slight pressure, if it has had a fall or a bang a clip for the screen could have popped out of place and just needs to be seated back in.
This is all the help I can give, try them and see if it helps.

Ghost touch is a well known and highly infamous issue with Moto G4 handsets. I have Moto G4 Plus and it too had this ghost touch issue. My screen would shake uncontrollably while charging. I tried many things but then get the screen replaced from service center. That is the only solution in this issue.
On a different note, I am extremely dissatisfied with this phone. Never going to buy motorola again.


text:
Where is data/data?
I play Minecraft but I don't know where are my files saved  (I opt "Application" as my storage). Many people say it's on data/data but when I go to root/data, it doesn't have any folder including root/data/data. My phone has only one storage. No SD card.
How to find my app data?

Application data is stored under /data/data , which cannot be seen by user unless your device is rooted and the file explorer you use has root privileges enabled
Related Where in the file system are applications installed?


text:
Problems in copying files on Android 6
I use a Huawei p9 with Android 6. I notice a big problem. When I connect the phone with a Lubuntu pc trying to share files, I get e.g. that for copying 7 folders - each containing several small files for constructing html's pages - from pc to phone they are required about 10 minutes, when the total size of the folders is just 30MB!
On the other hand, when I perform the same action e.g. using instead 3 multimedia files of the same total size (i.e. 30MB), the amount of time is just 1 second (as indeed I expect).
Can someone explain why do I verify such an exaggerate discrepancy in time between the two mentioned cases? I think it may depend on the Android system (potentially by the emui p9 redesign -- otherwise every Android 6 device should have this problem!).
I  finally notice that with a more dated device mounting Android 4.2, I don't encounter that inconvenience.

@beeshyams mtp seems to be the default usb configuration. Nothing is changed because nothing is changed.

Seems like another victim of MTP. Unless you're willing to resort to pulling out files with ADB, I don't really see a solution...

@AndyYan do you mean that this is a known matter? Is it an Android bug? Using adb shell the process will be fast?

I've always observed such slowness with large numbers of files, and specifically it takes absurdly long to prepare for copying as well. Using adb pull to pull things out will skip that preparation which is good enough for me, but still, the storage chips on phones aren't exactly good at R/W small files (continuous transfer performance is much better), so performance will take a hit.

@AndyYan that's true. I had noticed it me too; sequential data are better than little fragmented files. But with Android 4.2 the discrepancy was acceptable, with Android 6 it is not -- i.e. it is impossible to reasonably complete the task. I really don't understand why such an involution, I thought more recent versions of android were better than the older. Now I will install adb on linux, then I'll try the same tasks -- if I've rightly understood, with this tool it is the linux system that menages files operations.

@AndyYan Compliments! That was the real solution (could be the right answer). With push it copy recursively, and it do it in a reasonable time (just copied a tree of about 1.2GB). Just a little "inconvenience": void folders are not considered. Is there a way to force their copy using "adb" syntax, or is it needed a little script?

Glad you find it useful, and on top of that you don't find it troublesome to use adb :) The empty folder behavior seems to be by design, and I got no solution for that by searching around. I'd probably post this whole stuff as an answer later.

But I am astonished for this behaviour: so many processors, something like Star Trek saga, and a basic operation like data pasting appears as a microbe if compared to a PC from the 80's :)


text:
Inserting Single SIM Card into a Dual SIM Phone
I understand phones having Dual SIM card slots use more battery. However, if we use only one SIM in a dual SIM Phone, will the battery still be drained out quickly? What If i choose not to use/insert the other SIM at all?
Let us have your valuable feedback.

This is new one - can you please link the source which says second SIM drains battery ?

You can insert only one SIM and work fine . See this In a dual sim phone, must both sims be used?
By just inserting second SIM battery won't drain extra. If at all there is any battery drain, it would be because of second SIM being active and checking for signal or registering itself on the network.


text:
Custom font can't display properly
enter link description here
I followed the the link and tried to add a new font on my phone on Word. The font displays properly on PC with Word 2007. However on my phone it just likes ordinary font, not the specific one. How ca I solve it?

What phone are you using? Sometimes changing fonts only works at low level in some devices, others require root to force font to be implemented.

@xavier_fakerat Hi, I'm using LG G4 with Android 6.0.  My phone seems not rooted since I've tried several root explorer to do it but didn't work. Ibreaa

I really need a solution.....


text:
I just got a samsung galaxy tab 3 and i have not used it in a long time and now i cant remember my password
I need help  with my samsung galaxy i got it but forgot th right passwrd is there  any way you guys can some how help me get  it back?

Nobody can help get your password back

OMG! People are now asking help to remember their passwords?

this method will delete all user data
Turn off the device. Then, hold the volume up, home button and power button simultaneously until you see the recovery screen. Now, use the volume keys to select Wipe data/factory reset. Scroll down to yes, delete all user data and click confirm. After that, go to "reboot system now"

You need to bypass Factory Reset Protection

Only if he doesn't know the password of his Google account. If he just forgot the pin / pattern the method I described will work just fine

@iBug OP didn't say they forgot their Google account credentials ;)


text:
Why does googlequicksearchbox use so much memory?
$ adb shell getprop | grep vendor.build.fingerprint
[ro.vendor.build.fingerprint]: [google/sailfish/sailfish:7.1.2/NJH47B/4021576:user/release-keys]

$ adb shell uname -a
Linux localhost 3.18.31-gc22ff6216f1a #1 SMP PREEMPT Tue Apr 11 18:11:27 UTC 2017 aarch64

$ adb shell dumpsys meminfo

Applications Memory Usage (in Kilobytes):
Uptime: 42779575 Realtime: 95413209

Total PSS by process:
    262,738K: com.google.android.googlequicksearchbox:search (pid 2648 / activities)
    224,188K: system (pid 1135)
    114,967K: com.android.systemui (pid 1570 / activities)
     88,623K: com.google.android.apps.nexuslauncher (pid 2742 / activities)
     73,651K: com.coffeemeetsbagel (pid 14865 / activities)
     72,482K: com.google.android.gms.persistent (pid 2404)
     70,038K: com.google.android.inputmethod.latin (pid 1525)
     55,043K: com.google.android.apps.maps (pid 5571)
     52,169K: com.google.android.gms (pid 3358)

More details, please. Maybe you should add some text description about the exact scenario, including how you configured Google Quick Search Box and what you've done with it.

I haven't done any configuration for Google Quick Search Box.   No pun intended, but I ran 'dumpsys meminfo' out-of-the-box


text:
Calls initiated never go to Bluetooth
Recently my android phone stopped sending calls to my car's bluetooth when I start the call.
My phone pairs well with my car, and if I receive a call, it is sent to the car correctly. However, when I use android auto, or use the dialing service of my car's dashboard, the call is always ported via the "earpiece", and I have to manually grab the phone and select bluetooth for it to work, which is very distracting when driving.

Have you checked the call audio option in the Bluetooth setting  for the paired device (Car) ? This option have been resetted after a unparing, re-pairing event

I did, everything seems fine. Also, when i receive a call, it works fine. Something I forgot to mention is that if I place a call using Whatsapp, or any other app, the call audio works fine. It's just with the "Phone" app on my device. I also tried installing a new dialer, and reset the app data.

There seems to be a problem with the default dialer I suspect, can you please try another alternative dialer app such as True Phone Dialer , its been recommended on XDA, and give an update on how it works with current bluetooth setup

See if this app can help, it is rated well or this

Neither solution worked, the True Phone one even made things worse, calls went to the speaker, but no UI showed the call in place, so couldn't even hang up :$ Additionally, I tried a Tasker action that sent the "change to Bluetooth" instruction every 3 seconds, for 15 seconds when a call was placed on my car... works sometimes, but not reliable enough :S


text:
Can't get past android initial setup Wizard, after factory reset (Even after waiting over 24 hours)
Currently looking for help because I am truly stumped. Device is a Galaxy J3 Emerge, it was reset to factory default settings. It seems that the password for the Google account was also reset before the factory reset. After researching online, I found out that the if the account password is reset before the factory reset is applied. You will have to wait 24 hours before attempting to sign in again.
So I sat the phone down after reading the message about waiting 24 hours. I left it there for 4 days. Got the error on Sunday, went to work for the entire week and tried again on Thursday. The same message is displayed! Reboot and tried again, still the same message.

dont know if you found an answer yet or not, but i had the same problem with a galaxy player 5.0. Not sure if your solution would be much different, but I downloaded Odin, and flashed the software, and it works perfectly now.


text:
If I change SIM card, will I lose my memos?
I have a Samsung Galaxy Exhilarate. I have accumulated a lot of memos through the Memo app that came with the phone. I am going to Canada and plan to replace my SIM card with a Canadian SIM card and temporarily buy service from a Canadian provider. Will I continue to have access to the data I've accumulated though the Memo app?

SIM card and application data are not related at all. You can change SIM and the only thing you will lose is contacts and messages stored in the SIM card – if you have them stored on SIM. See this for help Backup SIM message and contact without transfer to phone


text:
How can I stop my Nexus 5X getting stuck in the loading screen?
My phone is stuck on the dots loading screen and won't load. It is rooted and it is a Nexus 5X. (No it is not the bootlooping issue). I cannot boot into recovery because the phone will not fully turn off as when I hold down the power button it just turns the screen off and back on and shows the device is corrupt screen, then goes onto the loading screens.
Do I have to wait for the battery to go down or is there another option. Thanks

Hold the power button for at least 12 seconds then load a fresh new ROM on it.

Possible duplicate of Can I disable USB Debugging on Android smartpones from Windows via adb.exe?

What's the relationship between title and content?

To turn the device off, when it's in the bootloop phase, just hold down the VolDown key until the device restarts and takes you to fastboot. From there, you'll be able to choose the option to turn off.
Hope it's still a useful answer.


text:
Apps missing from Usage Access menu?
I installed Avast Anti-theft on to my Moto X running Resurrection Remix on Marshmallow, and I'm having a strange issue with the accessibility settings. Apps are missing from the usage page. When I search the page for the app, it just isn't there. Is there a way I can manually grant usage without using the settings menu? I'm rooted.
In the app...

And in the accessibility page...

See if you can detect shortcut to this activity using this app. You can then place that on desktop as a widget to trigger without going through settings

@beeshyams take a look at the images I attached. I think you're  misunderstanding the problem.

Indeed this is different.


text:
Use AVD Manager without Starting Android Studio
I would like to use the Android Emulator to work on some APKs. In order to start the Android Emulator, based on the instructions here: https://developer.android.com/studio/run/managing-avds.html
So, I need to start the AVD Manager from Android Studio, then create a device and start the emulator.
Now, the issue is, when I open Android Studio, it asks me to create a new Project or open an existing one before continuing. This takes a long time. Isn't there a way to just start the AVD Manager without opening the Android Studio GUI?
Probably, there is a way to start AVD Manager from command line?
Thanks.

Please check my answer here on stackoverflow https://stackoverflow.com/questions/42718973/run-avd-emulator-without-android-studio/54994569#54994569

You can navigate to the directory where you have installed SDK and launch "AVD Manager.exe"

Any clue how to launch AVD manager on Mac? (without using android studio)

I would like to know as well.

In Ubuntu 19.10!
With the environment variables already configured ($ANDROID_HOME), you should be able to list the AVDs, but if you are unable to start the AVD, do the following:
# Check the AVD target name

emulator -list-avds

# But to start do:

$ANDROID_HOME/emulator/emulator @avd_name

or

/home/$USER/Android/Sdk/emulator/emulator @avd_name

can confirm this works. Launches faster than expected also

I currently use a shortcut with this same path on Ubuntu 20.04.4. It works!

My shortcut at Settings >> Keyboard Shortcuts:
sh -c "$ANDROID_HOME/emulator/emulator @Pixel_2_API_24"


text:
I want to copy a zero width space to the clipboard
I want to copy a zero width space to the clipboard and paste it somewhere else, but after selecting all, the selecting handle thing doesn't pop up. I'm trying on chrome on this site.
Edit: no, I wouldn't want to do it with a character map

What do you mean here? Do you mean
- ONLY the zws
- zws WITH text
ONLY the zws? Go to Emojipedia - Zero Width Joiner (or click here).
Then click on copy.
zws with text: NO IDEA


text:
Android 7.0 call block feature
I have honor 8 lite with android 7.0
I block a number from default dialer app, It should be blocked now but instead when someone calls me from that number he hears 1 or 2 seconds of my phone ringing, then the call hangs. So that the other party can easily understand that his/her call has been blocked.
I want that the call must be blocked silently, without the calling party knowing anything about it.
The caller must get message such as -- Not reachable or phone is switched off.
I know that this feature may be network dependent but my old feature phone was doing it very smartly but my smart phone fails to do so.
Any suggestions on how to block calls with android 7.0 stealthily.
Thank you.

I do something very similar on my device running Marshmallow to prevent tele callers and quite successfully so :)
automation is the preferred option. Many apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn.
Since I don't have Nougat can't test, but should run fine
In the first macro, it is configured here for non contacts. You can select individually the numbers in your case

The SMS portion of first macro is expanded below - you can configure it to your liking

Note: Two macros are strictly not required. You can add action of second macro in first itself - I needed two macros for customisation which is not shown here


text:
KingoRoot is stuck at 90%
I'm currently rooting a Samsung J1 Ace in Android 5.1.1 using KingoRoot in order to give Link2SD root access and move the apps, music, and other data files from its internal storage to a SD card. The internal hard drive has 8 GB and is almost full to the point where it can't update apps.
I've downloaded KingoRoot through the mobile browser as an APK file and enabled USB debugging. Unfortunately, 1 to 2 hours after starting the rooting process, the completion percentage is stuck at 90. When completion is at 90 percent, the rooting process is executed, however it seems frozen. The average duration of the rooting process is usually between 5 to 10 minutes.
I've searched through the Internet and found that switching it off via the power button maybe lead to an unstable root.
Is there any solution to this issue?
EDIT: The problem is gone after I have rebooted the phone and  but I get error code 0x15F6D5 which I have asked a separate question on.

Why do you insist on using a tag for that word apk?

Because Kingo Root can be installed in two ways, either via Window or via Android. I want to emphasise that I chose the latter and therefore specified that I installed it using an APK file. I also have to note that the Windows version of Kingo Root is said to be more stable.

'The problem is gone after I have rebooted the phone and but I get error code 0x15F6D5 which I have asked a separate question on' I posted an answer which I think may be helpful @PradanaAumars

All I did was reboot the phone and the rooting process abruptly, yet safely, halted. Assuming that this issue is related to my other question, it probably means that the device being rooted is not supported.


text:
What are these small icons next to app?

I've seen this home screen on internet and I wanted to know what are the small bars and triangles next to the app's icons ?

What launcher are you using?

This comes from Action Launcher 3.
Those icons are features of the launcher called  Shutters and Covers. As described here,

Both Shutters and Covers are indicated by small shapes in the corner
  of your icons.

See corresponding screenshot:

The equals sign means there's a widget associated with the app and you can swipe up on the icon to display its widget in a popup folder window. These are "Shutters"
Another main feature is "Covers" which is similar. It is basically just folders, but when you tap the icon it launches the first app instead of opening the folder. To open the folder you swipe up.
Source:
Do you use a launcher other than Nova or Google? Why do you think it is better?
Update
Action launcher received a major update sometime ago, and has been renamed just Action Launcher (the 3 dropped).
According to Android Authority,

Not only does it have a bunch of new features, it also includes a new
  logo for the app and a new name... The app is dropping the “3” part of
  its name and it will simply be called Action Launcher from now on.

Additionally you'll notice the shutters and covers have a new polished design with smoother edges, than previously before.

I think it is the new O


text:
What is KingoRoot error code 0x15F6D5?
I'm currently rooting a Samsung J1 Ace in Android 5.1.1 using KingoRoot in order to give Link2SD root access and move the apps, music, and other data files from its internal storage to a SD card. The internal hard drive has 8 GB and is almost full to the point where it can't update apps.
I've downloaded KingoRoot through the mobile browser as an APK file and enabled USB debugging. After a few minutes, it reports that the rooting process has failed and reports ERROR CODE: 0x15F6D5. I searched through forums and have found nothing on this error code.
What is it and how do I avoid it?

Try doing some "general" workarounds like cleaning up your internal storage or resetting.

Possible duplicate of KingoRoot is stuck at 90%

Do not double-post; instead, edit the original to include extra details.

The questions are different, one is a problem where the rooting process is stuck at a certain percentage, the other one is where the rooting process has failed with a (relatively) unknown error code. I'm not trying to double-post, I merely believe that these are two separate issues. Plus, I'm trying to shed light on this error code where I have found zero explanation on the Internet.

I've rebooted the phone and cleaned the internal storage a little, right now it has about 531MB of available space and it still returns an error.

The problem is, does the older issue (stuck at 90%) still occur? If the error code is the only thing you see now, it's definitely wiser to edit the old question to include the new phenomenon as an update; otherwise the separate questions would at least be somewhat justified.

Correct, I'll edit the other question right now. Thanks for the heads-up.

@Andy Yan Editing the OP with a different question is NEVER the appropriate action. SE is not a forum where users to talk each other through their issues. It is a living breathing encyclopedia for users to search through to find a specific answer to a specific question. The main point of asking is not to solve and move on. It is to post a copy of said question and answer for the thousands who will read it in the future.

I don't think this phone model on this Android version can be rooted using any one-click method, especially those using  apps! Those apps/softwares seem to since from android 5 (Lollipop).
You can still try the desktop version which I doubt will succeed.
Only Chainfire's rooting method can work. Works on every Samsung devices I had to root. The method consists of flashing a modified recovery by entering the device in Download mode.
Also, I'll recommend you heading to XDA Developers  for extra details.
Follow the instructions form this site. Or this detailed rooting process from XDA Developers. Alternative solution from Tsar3000 site.
Find all rooting files for many Samsung devices from the developer's site.


text:
Make whatsapp prompt security code each time
The WhatsApp's 2 step security allows to set a code. So, whenever we re-register with the same mobile number, It will prompt for the code and will continue if it is correct.
Alternatively, WhatsApp prompt the code randomly. I mean when opening whatsapp sometimes, It will ask for the code.
But there is no specific frequency for that. It's just random.
So, my question is By editing any file, can I make WhatsApp prompt the code each time when I open WhatsApp.
Because I don't want other app lockers. If I am able to achieve this, it will work as an applock for WhatsApp.
Device : Yu Yureka (AO5510) Cyanogen 12 Official non rooted.

That code input shows to help you remember the 2 Step Verfication code and Yes it is random. So it can't replace your applocker.


text:
GALAXY TAB A PASSWORD RESET
Holding the volume key then pressing the home on button does not work
Whether you hold the volume up or the volume down
Holding the Home Power Button Letting It Go And continue to hold the volume key up or down does not work

Which model is that? When you need help, always make sure all relevant informations are given this is for helping people willing to help you understand your problem better.

Volume up, home and power should do the trick. It sometimes is a bit tricky though. Make sure;

Turn off the device
Press volume up and hold, afterwards press home, afterwards press power and keep holding them
You should be in recovery


text:
How to make SD card internal storage on android 7.0?
I have an LG Stylo 2 and the option to change internal storage to SD card isn't there.. I tried ADB method in this article
[How to format to SD card1
But nothing happen. Any other ideas?

It is my understanding that LG turns this feature off

Can we get to know how you reached this understanding?