text:
Why don't I see my custom ringtone under Default Notification Sounds?
I just got a Nexus 5X, currently running Android 6.0.1, and managed to get some custom mp3 ringtone files into the Ringtones folder on the phone.
Under Settings > Sound & Notification,  if I choose Phone Ringtone, I can select any of the ones I added.
However, if I select Default notification ringtone, it doesn't list any of the ones I added.
How can I use a custom file as my default notification ringtone?

Just like you put those custom audio files into Ringtones directory for the purpose of using them as Ringtone, you need to put your custom files again but in another directory named Notifications (under /sdcard) to have them listed under Default notification ringtone. That would be sufficient.
Note: reboot the device if the Settings app doesn't show those files after moving in into the relevant directory.
Tested successfully on Nexus 6 running Android 6.0.1.
Edit
Alternatively, you can use a third party file manager app. Quite a lot of popular ones responds to the intent action android.intent.action.RINGTONE_PICKER. When you would tap on Default notification ringtone you would be shown a bottom sheet1 with the option to choose Media Storage or the relevant file manager app. Using your file manager app browse to the location of your custom audio file and select it.
The benefit of the last approach is that you don't have to copy or move the audio file to a particular destination, so you get to save space. Furthermore, once you've selected an audio file using file manager its entry would remain in available tones until you move/delete the file.
1 If you're not shown a bottom sheet then you might be having Media Storage selected as default app to handle that intent or your file manager app doesn't handle that intent. I recommend clearing defaults for Media Storage from Settings app → tap three dots line and select Show system → browse to Media Storage → Open by default → Clear defaults. If that doesn't help, switch to an another file manager app.

I personally found ES File Explorer sufficient for the last approach.


text:
Wifi problem (Lenovo A850+)
The phone wifi seem like blocking the internet after the wifi idle for few second. Then I have to disconnect and reconnect the phone wifi. I think it is related to wifi power saving mode or Wifi Sleep Policy. Any suggestion would be great. Thanks

Hi Nick, welcome to Android Enthusiasts. Pls feel free to take the tour. I can't quite understand what you're asking here - are you saying wifi pretty much never works unless you turn it off and back on again?

Yes, I have to reconnect the wifi after a few second the wifi idle. I think it has to do with Wifi Sleep Policy which it failed to awake from idle state. Thanks for responding.

Alright, the problem solved. I've changed the wifi router setting. Changed Preamble Type from Long to Short. Then restart wifi router. Doing this wont last forever, I have to restart the wifi router once a day.

source: Stack Exchange

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

sort: votes


text:
Tether laptop to Android Pulse Secure
I am using Ubuntu at the moment, and cannot get my company's VPN to work reliably using openconnect. I can, however, connect via the Pulse Connect Android app.
Clearly, I could then tether my laptop to my phone. I'm not interested in adding tethering to my phone plan.
I really only need to use this setup over WiFi (no need to use cellular data or involve the phone company).
I imagine there is some way to route my laptop's connection to the VPN via my phone without using cellular data.
When I disable cellular data and enable USB tethering in settings, the modal hangs, presumably because it is trying to check with the phone company over their network for "permission".
Thanks in advance for any help!

What Android device and version are you using?  (Have you tried using Juniper Network Connect rather than openconnect?)

Nexus 5x L. Network Connect is what I used to use (successfully) prior to my company's IT dept. rolling out Pulse Secure. :-/

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


text:
How can I require my Android (latest version) phone to require BOTH a fingerprint and a password?
Setting up one or the other is easy, but I can't seem to activate both at once.
Before anyone asks, my primary reason for wanting to do this is security.

I don't think this is possible; see this Reddit post.

Use a third-party lock screen for a password. Use native lock screen for fingerprint. Keep both of them active.

@Firelord which 3rd party lock screen is trustless, open source and cannot be prevented by loading at launch?

This thread is about How to demand fingerprint + password on login? I edited the title and body be clearer. I deleted my duplicate therad, archieve here https://android.stackexchange.com/q/174809/9897

You can go trough Android's security using only one at once. For example, if you have both Fingerprint and Pattern activated, only one of them is required to unlock the device. However, with third party apps like Next Lock Screen or Picturesque Lock Screen, you can actually stack them. If you activate Next Lock Screen, Pattern and Fingerprint, you will have to use Next Lock Screen first, then either Pattern or Fingerprint.

So you cannot do this by default without an extra application. I hope the change will come in Android 8 because the issue is about security.

@Susan
If your phone is rooted and has the Xposed framework installed, you can take a look at MasterLock. It's nearly impossible to remove (installs as system app, is device admin, etc). Though, I can't resist to ask, why want to use two lock methods at once? Only you have your finger prints. An additional number lock seems kind of useless to me.

Your assumption that "only you have your fingerprints" is not necessarily correct for multiple reasons, but that is outside of the scope of my question. http://www.bbc.com/news/technology-30623611

Most likely you can only use one security type on your phone. If that is the case, I would suggest taking the fingerprint security type, so that way if your phone is stolen, it cannot be accessed. However, there may be apps that you can download to allow you to have more than one security type.

Now I don't know much about this topic but I do know from past experience that the best way to do both is 1 use the phones actual finger print password then download an app that gives you a second password or an aplock best wishes and good luck

If you want two locks (fingerprint and pattern/pin/password) only once, you can restart your device or else as others said you need to add any other security application.

Look for an option in the settings, if this doesn't work out you can install a third party application like applock for adding up a password. :)


text:
How to install hindi font in kindle 6.4.5 without rooting it?
I have Kindle whose version # is 6.4.5.
I have installed whatsapp in it. But the Hindi messages will not appear correctly , it will be shown in rectangle form. I have tried to install hindi font as mentioned below

Before installing fonts you need to make sure that those fonts meet
  the minimum requirements, such as:
      a. The format used is TrueType or OpenType.
      b. You need to have 4 variants of the files: regular, bold, bold
          italic, italic
      c. The file structure should look like this: [name]-Regular.ttf ,
          [name]-Bold.ttf ,[name]-Italic.ttf, [name]-BoldItalic.ttf

After you make sure they meet these requirements you need to take the
  following steps in order to use your custom fonts:

Connect the Kindle to your PC;
Use the computer and browse the content of the Kindle and create a folder in the root of the drive : fonts;
Copy your files in that folder, following the structure given above;
Start Calibre and go to Kindle Configuration > Modify Kindle Settings;
From the Font Family, choose the fonts you need;
Save the settings and wait for the device to reboot.

But get no success.. Please can any one help me


text:
Save offline Google maps to SD card
I found nice feature in google maps for android - save maps for offline use. But looks it saves maps only to internal memory. How to save maps to SD card?

It looks like you're using Lollipop, but in Marshmallow you can combine your SD card with the internal storage (called "adoptable storage") which might be sufficient for others.

It is definitely possible to do what you want, although it needs a couple of things done, which may or may not be viable to you.
You will need to use Link2SD to link all data related to Google Maps onto your SD card (or just the data(ext) in your case should do the job).
However, using Link2SD requires (1) your phone to be rooted, and (2) a second partition on your SD card, which will be used to store "linked" applications.
Complete details can be found within this answer:
https://android.stackexchange.com/a/145591/167026


text:
How to use Chrome in Google search bar on top?
I don't like the Google search bar on top because of the blue bar on top and I can't change the search time range. How can I make the search bar just use normal Chrome Google search?
I use a OnePlus X with Android 5.1.1 Oxygen 2.2.1-X.

Google Now: Settings -> Accounts & Privacy -> Open Web Pages in App


text:
Multiple partitions on sdcard (fat, exfat) on Android?
How is Android supposed to handle multiple partitions on an extern sd card?
As an experiment, I took a 64 GB SDXC card, looked at it in Gparted, it turns out it is exfat formatted, with some amount of MB unallocated at start. Using gparted and gnome-disks, I managed to split the partition into two exfat partitions, which should be around 32 GB each.
Inserted this into an Xperia Z2, stock ROM (the last Android 5.x update). The phone didn't put out any notification upon plug in of the sdcard, but notified the plug out of the card, and complained it should be unmounted first. I inspected a bit via adb logcat and it looks like mounting is ultimately fine, as /storage/sdcard1. But when I look at that via Settings/Storage, I can only see 29.12 GB for "SD Card". Plugging the card back at the PC, I can see only the first partition has Android files saved, not the second one. Same result if first partition is exfat, and second partition is fat32.
So, basically, is this the expected behavior of Android when presented with an SD card with two partitions - it just mounts the first one, and ignores the rest? Could I mount the second partition from say adb shell, and would I need a rooted device for that?

By default, Android only uses the first partition found on the card and mounts it as described in your question. Subsequent partitions will be ignored. That's what's utilized by tools like link2sd: as the system won't interfere on other partitions, they use those for their purposes – be it moving apps to free up space on internal storage (Link2SD), having a swap partition/file, or something else.
Now, if you want to use multiple partitions for your own purposes, you'll have to care for them yourself – which, next to the obvious creation, also includes mounting. To do so, you will most likely need root; I have not read about a user-accessible FUSE method for this (open to learn if it exists :)

I agree with Izzy. You need to have rooted phone to perform tasks like 'mount'.  And android by default, mount only the first partition.
Android environment pretty restrictive, they even disallows fuse-mount by normal-users! Rooted mobile pretty much required. I read somewhere upcoming Android version allows you to use SD Card for internal storage. I don't know whether they allow partition of sd card too.


text:
Install different recovery from CWM?
I'm trying to switch from CWM recovery to TWRP, my phone is a LG Optimus 4X HD / LG P880. Using Simple Recovery Switcher, I tried to flash the TWRP image, but when I reboot into recovery, I get into the CWM recovery again. ADB fastboot told me "remote: bootloader is locked" when I tried to flash the recovery. So I figure the easiest way would be to install the recovery with CWM. Is that possible?
Thanks!

If you have a flashable ZIP of CWM, TWRP,  PhilZ, or even stock recovery, you can flash that recovery from any working custom recovery. Recovery runs completely in RAM, so you write a new one from recovery. Verified through personal use on several Nexus,  Moto, and HTC devices.

From recovery mode, have you tried adb shell dd if=RECOVERY_IMAGE of=/dev/block/RECOVERY_DEVICE_FILE?

@acejavelin: I can only find *.img's of TWRP, is there a way to make a flashable .zip out of that?

@Firelord: I guess RECOVERY_IMAGE is to be replaced by the image's file name, but what is RECOVERY_DEVICE_FILE?

You need to replace that with location of block device file. You can use Diskinfo app or the command adb shell su -c  'ls -l /dev/block/platform/*/by-name' to know the  block device corresponding to recovery.

@Firelord: It just gets weirder. I tried that command and get error su: not found. But my phone has been rooted for ages...

Did you execute that command when device was booted into recovery mode or in Android OS? If recovery mode, remove su -c as well as the single quotes from the command.

@Firelord: This is the output I got: http://pastebin.com/QLDC0BVm. Is /dev/block/mmcbl then the right block device?

No. And the naming convention of partitions differs from Nexus devices so I can't identify in that output. Would you consider using DiskInfo app now? Make sure you enable expert option in that app's settings.

@Firelord Ok, I've installed that app. What do I need to look for? There are a lot of partitions there.

Did you enable the expert option under its settings? What do you see now?

Just ticking "expert" and not the other options, I see System (APP), Cache (CAC), Data (UDA), DRM, MLT, CAL, SD card and RAM

@Firelord (sorry, forgot @ in last comment) when ticking "show unmounted partitions" I also get SOS, LNX, MSC, USP, NVA, FOT, UDB, mmcblk0boot1 and mmcblk0boot0

If I'm to take this post at face value, /dev/block/mmcblk0p1 corresponds to recovery partition in your device.

@Firelord: It worked! Nearly. DD gave me "no such file or directory" like here http://forum.xda-developers.com/showthread.php?t=1273032, but pushing it do /data/ and dd'ing it from there worked. Thanks!

Now, how should I proceed here? Should I edit the answer to mark it as accepted afterwards?

To install any custom recovery, you first must unlock the bootloader. There is an app for that at XDA which, other than the oem unlock method from fastboot, will allow you to unlock/relock several times.
Once unlocked, remaining steps are pretty easy:
installing CWM
The following works at least for "Open Euro" variants (I cannot tell for others):

Download the image from the CWM page (they have the LG Optimus 4X HD listed there)
give it a short name, for example recovery.img, and copy it to the root of your sdcard
open a terminal app (or run adb shell from your computer), and then
su
cat /mnt/sdcard/recovery.img >/dev/block/mmcblk0p1
sync

power off the device and reboot into recovery to check if you succeeded.

Source: XDA
installing TWRP
TWRP images for the P880 you can e.g. find here. For original links and description, please refer to the TWRP page for the P880. According to the descriptions there:

download the image file
boot your device into fastboot/bootloader mode
run fastboot flash recovery twrp.img to install the recovery image
run fastboot reboot
while the device reboots, hold power and vol- to boot once into recovery (TWRP will then run a patch to prevent your device from reverting to its stock recovery, which according to the details there some P880 do).

Also worth knowing
acejavelin correctly pointed out in a comment on the question:

If you have a flashable ZIP of CWM, TWRP, PhilZ, or even stock recovery, you can flash that recovery from any working custom recovery. Recovery runs completely in RAM, so you write a new one from recovery. Verified through personal use on several Nexus, Moto, and HTC devices.

I can confirm that with one exception: On most devices you cannot flash a custom recovery using the stock recovery, as the latter usually checks the signature. Exceptions exist, however.

You misunderstood me, I already have CWM and want do switch to TWRP, but after every try, I come back to the CWM recovery screen.

Indeed I misunderstood you then. But still: check the last step of above TWRP instructions, maybe that's what's kicking in here somehow?

@Izzy The bit acejavelin pointed out is correct. Do you plan to add it as an alternative method to install a recovery?

@DeathMaskSalesman Thanks for pointing out! I didn't notice that. Done. Though it doesn't solve the OPs issue, it's good to have in this context.

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


text:
(Marshmallow) WiFi takes >30 seconds to turn on
My S7 Edge, running Android 6.0.1, takes quite long -about 35 seconds - from when I turn on the WiFi and until it actually connects to any preferred network . If during this time I go into WiFi settings, the window and the turn-on button seem frozen
On my older Androids, this used to only take up to 5-10 seconds or so.
Can anyone suggest a fix? Many thanks!

That's how it is now. I have a Moto X with near stock M and it's the same. It's an issue with Android. You could create an issue here and see where that takes you.


text:
(Marshmallow) Microphone stops working randomly in Viber, Skype etc
Every once in a while, the microphone on my S7 Edge (running Android 6.0.1) stops working, which I notice when someone calls on the phone/Viber/Skype, and the other side cannot hear me whereas I hear them. Rebooting always fixes it, but is still very annoying nonetheless. Has anyone noticed this and found a workaround? many thanks..

Affects me too on a Motorola Photon Q with the March 21 build of Cyanogenmod 13 (Android 6.0.1) from http://forum.xda-developers.com/photon-q-4g-lte/development/cyanogenmod-13-0-photon-q-android-6-x-t3304838 . I've tried adb logcat and not found any clues so far :(

OK so I accidentally stumbled upon the solution: The problem is caused by the Total Recorder app.


text:
Writing to files from batch using adb not working
I am trying to have an automatic batch file replace a file on my android device, it works when i type it in manualy but for some wierd reason it doesn't in the batch file.
Here is my code:
@echo off
echo Do you want to change the file?
echo 1)Yes

set /p choice=
if %choice%==1 goto :change

:change
cd c:/
cd Users
cd Aidan
cd Desktop
cd My folder
cd platform-tools
adb devices
adb shell < change_file.txt

Then i have a remote file to run the commands, this is needed to run multiple commands is adb shell from a batch file.
Here is my change_file.txt :
su
cd storage
cd sdcard0
rm test.txt
cat > test.txt
test
test
12345 test

In the command window it shows that it executes the commands several times and all it does it delete the file not replace it with a new one.

I got this one. Your cat listens for text, but... it keeps listening. You never signal the input termination, thus it doesn't create the file.
Instead of the following lines:
cat > test.txt
test
test
12345 test

use these:
cat << EOF > test.txt
test
test
12345 test
EOF

This will instruct cat to accept input until the End Of File is inserted, and will create your test.txt with the content of said input. Don't forget the EOF at the end of the input, or the behaviour will be the same as if you used your version of the script.


text:
List body sensors available on Android devices
How can I list body sensors available on Android devices?

Think of any possible sensor, it's available. That's because Android uses the Linux kernel, meaning it possible to utilize any sensor out there. That might require a custom kernel, but it works.

Cool, but I was just wondering about buil-in body sensors available so far. For instance I know there is one that can measure your pulse. What other bio sensors are there?

There are a lot, from step sensors and counters to anything. If you look at the data sheets of some phones and tablets, you will see a lot of different sensors. Feel free to make a community wiki answer and add as many as you can find.

Please note that we cannot give you a list on "all sensors that might be available on the thousands of possible Android devices". This site is for end-users, not for "scientific research issues". To interpret it as an end-user question, for my answer I "rephrased it in my mind" to match: "How can I find out what sensors are available on my Android device".

ADB can be your friend here:
adb shell dumpsys sensorservice

will provide you with a list of all your devices sensors plus details on them. In the following example, I've just captured a list of their names (better readability) using my Linux machine with my Wileyfox Swift connected:
$ adb shell dumpsys sensorservice |egrep -B99999 "^halVersion" |awk -F '|' '{print $1}' |grep -v -e '^[[:space:]]*$'
Sensor List:
liteon-light
liteon-proximity
BOSCH Acceleration Sensor
BOSCH Gyroscope Sensor
BOSCH Magnetic Field Sensor
BOSCH Orientation Sensor
BOSCH Gravity Sensor
BOSCH Linear Acceleration Sensor
BOSCH Rotation Vector Sensor
BOSCH Game Rotation Vector Sensor
BOSCH Gyroscope Uncalibrated Sensor
BOSCH Magnetic Field Uncalibrated Sensor
BOSCH Geomagnetic Rotation Vector Sensor
Rotation Vector Sensor
Gravity Sensor
Linear Acceleration Sensor
Orientation Sensor
Corrected Gyroscope Sensor
Gyroscope Bias (debug)
9-axis fusion disabled (0 clients), gyro-rate= 200.00Hz, q=< 0, 0, 0, 0 > (0), b=< 0, 0, 0 >
halVersion 16973825

Distinguishing the sensor types is a different issue and IMHO not covered that easily. But knowing what sensors are there altogether, you can tell them apart yourself.
Self-promotion: My tool Adebar includes those in the device documentation it generates.


text:
Dark caller ID picture for incoming call
Why does incoming caller ID picture is dark while outcoming call picture is full brightness? Is it some reason for it? Can I fix it? I find it annoying especially outdoors where the screen is pretty dim already.
Phone: BQ Aquaris M5 with android 5.1.1.

Connection status may be the reason: dark picture for not established connection (incoming call not answered yet) and bright picture for established connection on your side (incoming call answered or outcoming call). Android 6.0.1 has the same configuration and it seems can't be changed through stock software.


text:
Reinstall AVD on Ubuntu 16.04
Emulator was not installed upon installing Android Studio. Here is the error when I call tools/android/avdmanager:
sh: 1: glxinfo: not found
sh: 1: glxinfo: not found
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  33
  Current serial number in output stream:  34

After a while, I am seeing a new error in a window popup
Cannot launch AVD in emulator.
Output:
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  49
  Current serial number in output stream:  48
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  49
  Current serial number in output stream:  48

Related to the driver issue: http://askubuntu.com/questions/635851/error-in-installing-steam-on-ubuntu-15-04

I am using Android Studio 2.1.1 and Ubuntu 16.04 (x64). The following solved the problems (sh: 1: glxinfo: not found and libGL error:.) for me.

$ sudo apt-get install lib64stdc++6 (if it is not installed)
$ cd ~/Android/Sdk/tools/lib64/libstdc++
$ mv libstdc++.so.6 libstdc++.so.6.original
$ ln -s /usr/lib64/libstdc++.so.6 ~/Android/Sdk/tools/lib64/libstdc++
$ sudo apt-get install mesa-utils (if it is not installed)

For me, I had to modify step #4 with the following:
"ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ~/Android/Sdk/tools/lib64/libstdc++"
Then I was able to launch the AVD. But it still hangs. Trying to find a solution.

In the end, what worked for me was to install nvidia drivers. See the complete solution at http://android.stackexchange.com/a/158125/188537

That worked for me on Ubuntu 16.04.1 with Android Studio 2.2.3, Thanks @kolim

Install in your system lib64stdc++6
# sudo apt-get install lib64stdc++6

Then link the new installed libraries to the android sdk tools path
$ cd $ANDROID_HOME/Sdk/tools/lib64/libstdc++
$ mv libstdc++.so.6 libstdc++.so.6.bak
$ ln -s /usr/lib64/libstdc++.so.6 $ANDROID_HOME/Sdk/tools/lib64/libstdc++
$ $ANDROID_HOME/Sdk/tools/emulator -use-system-libs -avd YOUR_VIRTUAL_DEVICE_NAME

It helped me.

I add the same error, but solved it by choosing software acceleration (not the GPU HW).
Regards

I was also having a lot of problems to launch AVD on my machine. Struggled with using system libs, creating symlinks to local libraries, etc...
What really made it work for me was to install the nvidia drivers with
sudo apt install nvidia-340

My distro:
$ uname -a
Linux ruapehu 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/issue
Ubuntu 16.04.1 LTS \n \l

Make sure you check the nvidia package suitable for you, as Ubuntu offers different flavors. For instance:
$ sudo apt list "*nvidia-[0-9][0-9][0-9]"
Listing... Done
nvidia-304/xenial 304.131-0ubuntu3 amd64
nvidia-331/xenial 340.96-0ubuntu3 amd64
nvidia-340/xenial,now 340.96-0ubuntu3 amd64 [installed]
nvidia-346/xenial 352.63-0ubuntu3 amd64
nvidia-352/xenial 361.42-0ubuntu2 amd64
nvidia-361/xenial,now 361.42-0ubuntu2 amd64

I tested the list in a bottom-up strategy, from 361 until I found one that worked (340, in my case).
Hope that helps.

I hope this will solve your problem.
I had a freshly installed latest Android Studio and perform all basic steps to run a 'Hello World' project in emulator but had a same problem while running emulator from avd manager.
After that i tried running emulator from command line also but faced same problem.
After long debugging i came to find out that it was missing some core library, and then solved the problem by selecting checkbox and install emulator from Android Studio Options. Tools -> Android -> SDK Manager -> SDK Tools -> Android Emulator
And click Apply and Run project again.
Now its working like a charm.

I am running ubuntu 16.04 LTS. Searching for additional drivers in Software and Updates and changing to NVIDIA binary driver - version 340.102 solved the problem with the AVD

I also have the same issue I resolved it by following these lines write in terminal.
sudo apt-get install lib64stdc++6
mv libstdc++.so.6 libstdc++.so.6.original
ln -s /usr/lib64/libstdc++.so.6 ~/Android/Sdk/emulator/lib64/libstdc++

and thats it....


text:
How to decrypt Adopted Storage?
Using the SD card as Adopted Storage encrypts it. How can it be decrypted?

I think current versions of Android do not use the term Adopted Storage they use SD card formatted as internal storage.

How to decrypt adopted storage.

Your Android device must be rooted.

Browse to /data/misc/vold, e.g. using a file browser app like "ES Explorer".

The .key file there is the encryption key of your adopted storage.

View the 16-byte key using a graphical hex editor or alternatively run hexdump -e '/1 "%02x"' filename_here.key.

Mount your SD card e.g. using a GNU/Linux system. In my case, SD card was mounted at /dev/sdb2.

Then run this command to decrypt the drive:
dmsetup create crypt1 --table "0 `blockdev --getsize /dev/sdb2` crypt aes-cbc-essiv:sha256 <Put the 16-byte hex key here> 0 /dev/sdb2 0"

Some types of errors/warnings can be ignored.

If your key is correct, you can mount it by mount -t ext4 /dev/mapper/crypt1 /mnt/1/

Finally, you can run cd /mnt/1 to browse the decrypted storage.

Related: Corrupt SD card formatted as internal storage. The answer is similar, but gives an alternative approach to finding the 16-byte key.

Is it possible to generate the .key keyfile from a known password/pin code and access to the device? Or is the key completely random? In my case, my internal storage is wiped, so I don't have access to the original keyfile anymore.

@zerwas the right thing is that you copy your key after making your SD as internal, but you can for sure encrypt your storage same as android do and make a key then put it there it will work but if you copy your key once its done by the phone it will be much simpler

the full manual has the correct way of extracting the key using od: http://nelenkov.blogspot.com.br/2015/06/decrypting-android-m-adopted-storage.html

I have unrooted encrypted Android 10 device and I don't see anything of mentioned in p. 2-3. I don't have /data folder in my root storage, no vold folder and I don't have any .key file. When I search my root storage for vold string, all I can see are vold.fstab and vold.rc files. When I search for .key, I am getting a bunch of files with .so extension having .keymaster as a part of file name and now file with filename ending in .key. Is it because these are available only on rooted phone or because this answer is a little bit out dated and no longer valid for Android 10?

@trejder root access is required for /data/misc/vold


text:
Reload Icons on Android 6.0
I am running Android 6.0 with CM13. I installed a theme from the play store which changed my icons. Now even after uninstalling that theme and selecting my default android theme I don't get back my original icons. Is there a way to make android reload its icons to revert to the original icons.

What launcher are you using?

@xangua I am using Google launcher. I tried to force kill the launcher app but that didn't work as well.

Google now doesn't support theme icons, better use trebuchet or a launcher that supports themes.

Provide us a screenshot. I'm not sure which particular icons you're talking about: the ones in app drawer, the system-wide ones or something else?

@xangua The theme that I installed changed all my icons system wide for all apps even though I was using Google Launcher.

@Firelord I am referring to the system wide as well as app drawer icons. This is the link to the theme I installed
https://play.google.com/store/apps/details?id=com.pitchedapps.material.glass.free

Did you change your icon theme before or after installing google launcher?

Disabling the affected app in settings and then enabling them brought back the original icon:

Go to Settings › Apps
Select the "All" tab
Scroll to the app showing up with the wrong icon on your homescreen/drawer
Tap its name to open the app-info
Tap the "Disable" button, which then changes to "Enable"
Tap "Enable" again

Done. Disabling the app cleared its icon from the launcher (cache?), enabling forced it to load the original one. What I did not try but maybe would solve the issue as well is clearing the cache from the launcher, then restart it (or reboot the device).

Haven't try this, and I can tell from personal experience that clearing cache and restarting won't apply the icon theme.

@xangua I was trying to restore the stock icons for Android 6.0 and not apply new icons. The theme changed the icons for Google launcher and after removing the theme some of the icons were still showing up as the themed one. Might be a bug I guess.

It's not a bug, Google now just doesn't support themes natively.


text:
How to know which installed app can show before my native lock screen?
My question stems from this question about an app showing a custom view (with ads) before the lock screen. As of now none of the answers there provides a technical way to filter out the concerned app on your own, without relying on app reviews or a list somewhere on web -  in short, a complete dependence on the experiences of others. In such cases even if the solution is one query away from web search engine I prefer to come up with a technique to hunt down the cause of the effect through means already available in Android.
Anyhow. Let's come to the point. How do I find out which installed apps are potentially capable of showing themselves before my lock screen?
With limited understanding I earlier speculated that an app would need the permission to draw over other apps to show before lock screen. However, my experiments with ES File Explorer v4.0.5.2 and with continuous monitoring of appsops service concludes that ES File Explorer didn't make use of SYSTEM_ALERT_WINDOW (I had appops deny that permission to the said app), yet, it displayed that famous quick charging screen. Swiping it away even dismissed my unsecured lock screen. That said, using dumpsys activity activities and dumpsys window windows I immediately found the activity com.dianxinos.lockscreen.LockScreenContainer responsible for that screen.
I'm aware of certain window manager flags supposed to be used in source code and  helps an app to show before lock screen and that's all is needed. No special permission or an attribute in manifest is needed so it becomes very difficult as well as inefficient to find potential apps until the effect comes into action, forget about symptoms.
True, that I can narrow down the hunt to apps which:

can receive data from internet (to show ads);
listens to ACTION_POWER_CONNECTED (not necessarily needed; may not be relevant in future);
listens to ACTION_USER_PRESENT (not necessarily needed);
requires SYSTEM_ALERT_WINDOW (may or may not be needed);
requires android.permission.WAKE_LOCK (not necessarily needed);
requires android.permission.DISABLE_KEYGUARD (not necessarily needed).

Yet, none of them, used as a parameter alone or combined, satisfactorily solves the original problem I have.
I would like to stress that I'm looking to filter out apps potentially capable of displaying something before my lock screen. I'm not asking for what is this lock screen with ads and how do I remove it?
Note: if it matters: I'm using stock and rooted Android 5.0, 5.1.1 and 6.0.1 on Nexus 6.
Edit
To avoid confusion: By before the lock screen I mean anything that is shown to user before the default lock screen is displayed whenever you attempt to wake up the device. As Izzy noted in a comment, "it places itself in front of the lock screen" might be a better phrase, but I avoided it since it appears to me to be corresponding to an overlay.

Quick thought: Boot the device and attach adb logcat as soon as possible, copying its content to a file. Once the lock screen is visible, cancel logcat. Check the file for where the lock screen was launched, that's your end-point. Now scroll backwards to check what was launched.

@Izzy Thanks, but I've no problem in finding out what is causing to show something before the lock screen. I'm interested in which installed apps are in position to potentially show something before lock screen.

Just for the sake of completeness, FLAG_SHOW_WHEN_LOCKED is the culprit (I know you have noticed that, but this is to give a hint to others, if it can be utilized without reverse-engineering)

Argh, sorry – misunderstood your intention (too bold :) To avoid a second one (and someone coming up with boot_completed etc): with "before the lock screen" you don't mean in tempora, but in locatio (i.e. not "it shows even before the lock screen is loaded", but "it places itself in front of the lock screen")?


text:
Android Marshmallow: How to manually sleep+lock OR manually sleep without locking?
I am using Android 6 (Cyanogenmod) and I would like to have the following simple behaviour:
Hardware button X: Sleep AND lock the phone.
Hardware button Y: Sleep phone WITHOUT locking.
In addition I do not want ANY automatic locking/unlocking going on.
That seems to be impossible. If so, that's clearly a design fault.
Please enlighten me with your Android expertise.
TY

First one is definitely doable using Xposed Additions.

So you are basically  saying it's only possible with mods?

Might be even doable with Tasker and Secure Settings – but will most likely require the device to be rooted.

I've tested the following solution successfully on Nexus 6 running CM13 (a snapshot build) with volume rockers as HW key X and Y.
If you don't want to use an Xposed module such as Xposed Additions, then I suggest you setup AutoInput (free trial) and Tasker (free trial; user guide). You must have the accessibility service of AutoInput enabled and root access enabled under Developer options and already granted to Tasker.
Instructions for Tasker

Create an Event based profile from Plugin →  AutoInput →  Key → Configuration:

Keys: your key X
Key Action: Key Down

Setup a task for it with following actions:

Plugin → AutoInput  → Modes:

Configuration:

Key Suppress: Enable
Keys: your key X

Timeout: None

Code → Run Shell:

Command: settings put secure lock_screen_lock_after_timeout 0; input keyevent 26
tick Use Root

Plugin → AutoInput  → Modes:

Configuration:

Key Suppress: Disable
Keys: your key X

Timeout: None

Create an another Event based profile from Plugin →  AutoInput →  Key → Configuration:

Keys: your key Y
Key Action: Key Down

Setup a task for it with following actions:

Plugin → AutoInput  → Modes:

Configuration:

Key Suppress: Enable
Keys: your key Y

Timeout: None

Code → Run Shell:

Command: settings put secure lock_screen_lock_after_timeout <ms>; input keyevent 26
tick Use Root

Replace <ms> with milliseconds. This is the timeout available under Lock screen settings and I've not tested it beyond 1800000.

Plugin → AutoInput  → Modes:

Configuration:

Key Suppress: Disable
Keys: your key Y

Timeout: None

All of the said instructions would bring to fruition only when the lock screen is secured. Furthermore, during testing I had to temporarily give up the original functionality of my HW keys.
Note: disable the action for disabling key suppress if you find that the actions are not working properly.


text:
Split external SD card partially into adoptable storage and portable storage
I don't want all my external SD card as adopted/internal storage, so I was wondering how I can split it into 1 part adopted storage and 1 part normal file storage (what Android calls "portable storage").

You don't need to root your device but the device i done this with is rooted

You need to enabled Developer Options.
Enable the USB Debugging option.
Make sure your SD card is formatted as portable, then get the adb executable (see our adb tag-wiki for details).
Connect your device to your PC and run the adb devices command. If your device is connected correctly you will see your device listed in the output.
Run adb shell sm list-disks adoptable. This will show you the list of disks that can be used for what we want.
For my device it showed me disk:179,128 so i ran adb shell sm partition disk:179,128 mixed 80 on my 32 GB AS card. It gave me 5 GB as adoptable storage and the rest for other uses. (This will format your SD card.)

Does this really require root as the command to set up adoptive storage in the 1st place does not? (sm partition disk:foo,bar)

@Barleyman Well not really but my device is rooted and i didn't test this with none rooted devices so if you like you can try and let me know if you got any error

I did actually yesterday and today on my Galaxy S5. I didn't use the mixed type but at least the sm partition disk:foo,bar private works just fine without root. Migrating from lollipop with Link2SD to Marshmallow with adoptable storage is a bit of work. Gotta do clean install and copy titanium backup files to PC & back and repartition the sdcard on pc and later on the phone. Also titanium backup does not realize phone storage is running out so you'll have to fight past dialogs to move a single app to sdcard to make enough room that you can use apps2sd to migrate the rest..

Works perfectly on Moto E with CM13 Temasek 10.4. Thanks!

On my device the sm partition disk: disk:179,128 mixed 80 command returned the usage of the command, maybe it's because of the custom ROM, but I replaced the comma with an underscore and it accepted it - eg. sm partition disk: disk:179_128 mixed 80

I searched far and wide to come to this resolution... Was able to follow steps using terminal emulator directly on rooted phone, without using adb or usb phone connection: - Format internal SD as portable in settings, hit eject (unmount), opened terminal emulator, I su (just incase) to become root, then sm list-disks adoptable, found my storage 179_64, then sm partition disk:179_64 mixed 80. It immediately started working. Ignored format prompt. Then rebooted and all prompts asking if I wanted to format went away.

poqdavid's answer is correct.
In addition though, you might get the error that your SD card on your device storage is corrupted. If so, follow these steps.
After you have partitioned the disk and while your SD card is corrupted, enter the following commands in the terminal which will list your volumes, for example:
$> adb shell sm list-volumes all
private mounted null
public:179,1 mounted B5B1-140C
private:179,3 unmountable null
emulated mounted null

Then enter the following replacing 179,3 with whichever disk numbers you are given:
$> adb shell sm format private:179,3
$> adb shell sm mount private:179,3

Now your SD card in device storage should be properly mounted and your portable storage will still be there.
This worked on my LG G5 and should work on the Samsung Galaxy S7.

i tried 3 four time $>adb shell sm format private:179,3
$> adb shell sm mount private:179,3 $> sm list-volumes all  output;_private mounted null public:179,1 mounted 5C8A-85AC  private:179,3 unmountable  emulated;0 mounted why it showing unmountable , can we conver 179,3 to public or mount from other adb shell mount command to

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


text:
Where does go sms store pictures
I use go sms on my L34c phone.  When I download attached pictures from a message it shows /storage/emulated/0/gosms/download/
I cannot find that on either internal stoarage or my sd card
Please help me find thw downloaded pics.  Thanks

Glad to help, I've turned my comment into an answer -- you can hit the check mark below the voting buttons to "accept" it.

/storage/emulated/0 is the path your device uses to reference your storage space. So if you are browsing the storage/SD card, you can simply look for the gosms folder directly.


text:
Interchanging battery with a higher capacity battery
My Redmi 1s has a battery capacity 2050mAh (BM41). And the upgrade of the phone is Redmi 2 with capacity 2200mAh(BM44).
Can I use this battery if it fits in my device? Will it creates any software problems?

Not Recommended in general

Battery Charging has various stages

These stages are regulated and controlled by the the charging circuit in charger/ in device by firmware files to switch to various stages. Battery capacity is very much integral to this. By replacing with a battery of higher capacity (or extended battery unless OEM approved) charging may less than optimal and therefore the performance or life of battery could be affected
Edit: The number of terminals and purpose could also vary ( some batteries have three terminals and some have 4). This would be an issue
Your case: There is hardly a difference in mAh so it may not matter at all , if it fits- normally OEMs like Samsung make sure that the batteries cannot be interchanged between devices - can't say about Redmi. The benefit you would get is marginal, so would recommend playing safe and not replacing to avoid any problems

And also, it's very important to make sure the voltage level matches. Overvolting the CPU is dangerous, whereas undervolting decreases performance. Mention about that too :)


text:
Memory Stick connection
Experia z3 with new marshmallow android has no option of sending data from the internal storage to a memory stick via USB cable.  with previous android it was possible. Is there any way to send data to a memory stick?

Try with a file manager app such as ES File Explorer. It will show you folders in the internal memory, SD card as well as OTG usb connections. Just copy and paste to the required folder.


text:
How to receive notifications from a host on the same Wifi network?
I would like to use my Android phone to display notifications sent by other hosts (PCs) on the same Wifi network. I'm not sure what the exact term is for that notification. Is there a non programmatic solution to this ? Ideally I'm looking for something that would be called from the command line.

I don't know if there's an "easy solution" – but one way I could think of involves two apps:

an SSH Server on the device (plus a corresponding client on the PC)
tasker

Sending a notification to your device could then work as follows:

write the notification text into a text file
by means of your SSH setup, copy that file to your Android device (have a specific directory there for "incoming notifications")
on the device, have setup Tasker to watch that directory on changes. Whenever a new file arrives, Tasker should

read the new file
use its content to create a notification
delete the file

I have never set this up myself, I just know that Tasker has this capabilities (and remember having read of people using such a setup). For details on Tasker, please see our tasker tag-wiki.

That sounds ok. I'll see how well it works in practice.

Please don't forget to let us know the results then :)


text:
Unable to Install TWRP / Cyanogenmod on Moto G 2013
I have a Moto G 2013 (XT1033). The device does not boot successfully - only shows the logo and then just shows a blank screen. So I tried to install Cyanogenmod hoping it might work out. I have unlocked the bootloader.
I tried installing TWRP recovery image (3.0.2.0) from TWRP official site using the command
$ fastboot erase recovery
erasing 'recovery'...
(bootloader) Erase allowed in unlocked state
OKAY [  0.046s]
finished. total time: 0.046s
$
$ fastboot flash recovery twrp-3.0.2-0-falcon.img
target reported max download size of 536870912 bytes
sending 'recovery' (9488 KB)...
OKAY [  0.331s]
writing 'recovery'...
OKAY [  0.175s]
finished. total time: 0.507s

And the device shows the following text:
cmd: getvar:partition-type:recovery
cmd: erase:recovery
cmd: getvar:partition-type:recovery
cmd: getvar:max-download-size
cmd: download:00944000
cmd: flash:recovery
Mismatched partition size (recovery)

When I boot into the recovery, it displays a Unlocked bootloader warning, then a blank screen for 2-3 seconds and then an image of resting android bot with a red exclamation over its belly, with "No command" caption.

No TWRP Recovery Screen.
Then I pressed Vol UP + Power button for 2-3 seconds and that displayed the Android system recovery screen. Now I selected "apply update from ADB". Then I tried the following command:
adb sideload cm-12.1-20151117-SNAPSHOT-YOG7DAO1K9-falcon.zip

I get the following error in the Android System Recovery screen:
E:failed to verify whole-file signature
E:signature verification failed
Installation aborted

The Cyanogenmod zip file is not corrupted since the SHA1 hash is the same as the one provided in Cyanogenmod downloads page. Please help me to install Cyanogenmod on Moto G (XT1033).
Thanks in Advance

You cannot side load zip files through stock recovery which are not signed by your vendor, so don't bother with side load. We can discuss details later. Now, can you rename that TWRPimage to recovery.img and from bootloader mode issue the command fastboot boot recovery.img?

As it's obviously the stock recovery you've used to flash CM, that won't work as it will do a signature check and thus reject the ZIP as being invalid. So here's what you do instead:

put cm-12.1-20151117-SNAPSHOT-YOG7DAO1K9-falcon.zip onto your device's SD card
boot into bootloader
now boot (not install) TWRP: fastboot boot twrp-3.0.2-0-falcon.img
TWRP will show up on your device. Chose "apply update from SD card", navigate to where you put your CM .zip, select it, confirm

Worked for me, though on a different device.

Just saying wouldn't it be better to install and boot? Because if anything goes wrong you can always go back to recovery without being tethered to a pc

@lolreppeatlol you've noticed that OP tried that and failed?

ummm whoops! lol

Giving error
downloading 'boot.img'... OKAY [  0.344s] booting... FAILED (remote failure) finished. total time: 0.359s

@LaxmikantDange Bootloader locked? Then it will fail.

I unlocked the bootloader then it worke, Thanks. :)

FWIW, to unlock your bootloader, this page describes an official way. PS: Some phones are just can not be unlocked, such as my Moto X 1st gen. :-/

This works quite good! Flashing the bootloader had not worked, but booting it does! Installed LineageOS this way. Thanks


text:
Why can't I access /data/data with Droid Explorer on my rooted phone?
For some reason, I cannot access /data/data with Droid Explorer1 after adbd insecure install on my phone.2 I CAN access the folder via adb and su command.
What am I missing? (I want to modify a game file more conveniently)
Rooted stock Samsung Galaxy S5, hacked to work with Xposed framework.

1Note that DroidExplorer is NOT an app running on the device, but a Windows (.NET) application accessing the device over ADB – so suggesting "another file explorer app" is not useful :)
2Of course I also activated insecure mode after installing it

Does it work with other file explorers?

If you run adb shell, does the prompt end with a $ or a #? Do you have to run su to get the #? Background: Just installing the adb insecure app doesn't change things. You must run it and enable insecure mode.

Hey guys, thanks for all the answers, let me be more specfic. SuperThomasLab & Gokul: It does work ON the phone (Rootexplorer etc). @Izzy: Indeed, I ran Droid Explorer on my PC to access my phone. Inside Droid Explorer, you can run seperate adb shell and with "su" and some "cd"' commands, you can access /data/data. HOWEVER DroidExplorer cannot! Of course I also enabled the adbd app after installing ;-).

@user2305193 I've updated your question accordingly (and cleaned up "obsoleted comments"). One question still open from my previous comment: what does the prompt look like when you run adb shell? If it's a $, adbd is not running in insecure mode, so trouble might be located there.

@user2305193 See if this helps: Droid Explorer permission denied when accessing root-only folders

Good find, @GokulNC – I'd almost go as far as to say "duplicate" to that. If OP confirms, that is :)

@"Gokul NC": I read this post and did exactly everything they said - that's what I meant by "I activated it"... unfortunately no duplicate =( my problem wasn't solved by that post. Maybe I have to run the "adb remount" command, but then again, the problem isn't the access via shell but... I guess DroidExplorer does not 'claim' the appropriate su rights? I wish I could give/pipe DroidExplorer a shell with su rights already but I don't know how...

@Izzy: if adbd is not in insecure mode I coulnd't access /data/data with adb/su shell am I right?

Not with adb pull and adb push (which I assume DroidExplorer is using), no. Using su from a shell would work, though. A definite answer must be given from Ryan I guess (he's the dev of DroidExplorer).


text:
Split adopted storage doesn't work
I have a HTC One M8 and I split my adopted storage with adb like this:
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
shell@htc_m8:/ $ sm set-force-adoptable true
shell@htc_m8:/ $ sm list-disks
disk:179,32
shell@htc_m8:/ $ sm partition disk:179,32 mixed 80
shell@htc_m8:/ $ sm list-disks adoptable
disk:179,32

It seems to work, no error, and the phone shows the SD card as internal and external, but both as "beschädigt" - it doesn't work.
So I have to format one partition with the phone. And the result is, either the whole space of the SD card is internal or external; it depends on which part I choose to format.
Is there any help for this problem?

Related: How to split adopted storage? Note that list-disks gave you 173,29 according to your question, but you ran partition disk with 179,32 which doesn't match. Moreover, shouldn't you have used sm list-disks adoptable (note the additional parameter)?

You are entering the wrong disk. The numbers are wrong and you have a space after the ":".
This is the correct command:
sm partition disk:173,29 mixed 80

Or this (I don't know your disk number..)
sm partition disk:179,32 mixed 80

If both commands don't work, please post a screenshot of the output of this command: sm list-disks.

But in the question I write it wrong: I have no space between "...disk:17..." SORRY

@Dawe Can you post the exact output of sm list-disks, please? With copy/paste or screenshot?

I edit the question... Now theres the copied text....


text:
No 4K option Letv 1s
Last week i bought a Letv 1s mobile.
In the device specification it states that the mobile has 4K support. And so the hardware info details. But It dont have 4K options in the default camera app..
The device is up to date.

Camera and DeviceInfo (click images for larger variants)

Your Android version is not latest, it's old, only Marshmallows Android 6.0 support 4k video resolution.

This might possibly be true for supporting a 4K screen for playback, but the question is about recording.  I worked on the BlackBerry Priv which supports 4K recording on Android 5.1.

There is no marsmallow update for Letv 1s


text:
Is data on phone memory accessible by service center?
I used Micromax phone and gave it to service center for display change. I have moved my apps to SD card and removed it.
Is it possible for them to get my chat history and media file (photos, videos) in chat app like (Viber, Line) from my phone memory that may be misused?

Theoretically, yes it is very possible for them pull your personal data. Force phone to ADB debugging, plug to PC, and next would be ingenuity. If you left the SIM card in the phone, pulling that info would be even easier. This isn't an answer because I can't back it with any reference, plus it might go against site policy.

Do you use full device encryption with a secure password/PIN?

No -> yes, it is possible
Yes -> next question

Did you tell them the PIN/password or unlock the device for them?

Yes -> yes, it is possible
No -> It shouldn't be possible, but it will be if (a) Micromax has put a backdoor in the phone software and shared that information with their service centres; or (b) there's a security vulnerability in the phone which is not generally known but the service centre does know about. If there is a backdoor (case a), then there might as well be a remotely accessible backdoor, so you shouldn't worry about giving it to the service centre. And in case b, if there is such a vulnerability, then the service centre might have installed a backdoor, which would let them recover the files after you restore the phone, so you shouldn't worry about them recovering the files anyway.


text:
Play Store - "An unexpected error has occurred. Please try again later."
I've been having this issue since I bought my S7 Edge over a week ago. I am unable to add a payment method or do anything involving payments on both my phone and play.google.com.
When trying to add a payment method, or even redeem a gift card, via play.google.com I get this:

And when I try adding a payment method via my phone I get "We couldn't complete your request. Please retry or try again later." regardless of when or how many times I try.

So it turns out the Google Organisation my Google Account was managed by had Google Payments (formerly Google Wallet) disabled for all users; after enabling it, everything works perfectly.

Amazingly correct, and raspberries to Google for a terrible, unhelpful error message!

Wonderful.....for YOU. Not very helpful, however, unless you give a TINY bit of information about how you "enabled" it.

@MichaelScott This is for Google for business only but if you have that then go to admin.google.com and choose apps. Payments should be in the list. Enable or disable with the three vertical dots on the right.

You need to clear cache for Google play store and Google play service. If that didn't solve it then you have to delete both and reinstall it. Then try again.
If the above option didn't work,  go to Settings/Accounts/Google, Select your gmail and turn off sync. From your web browser, go to Google Wallet delete payment details and add it again. Go back to settings/Account/Google, select your gmail and click sync now. After few minutes, restart your device and try to see if the error still display.
If any of these did not work, please contact Google support or read Payment issues.

"Delete BOTH.......and reinstall IT"? What, pray-tell is.........IT?


text:
Is disabling all the wireless connections the same as enabling "airplane mode"?
I'm confused right now because I don't know if enabling the airplane mode disables all the data connections or it does something more.

Actually "airplane mode" disables all radio broadcasting (voice, text, data, wifi, Bluetooth, etc), which on most devices just turns down the service of each radio device, but with the advent of WiFi on planes, it is often possible to enable WiFi well in Airplane Mode, I know I can on my Moto G 2015.

Which radio is part of being triggered by airplane mode depends, and can even be configured (if one knows where to look). So the answer would be a "Nes": Depends on :)

I didn't dig into the source code for authenticity so consider this as an educated guess. I noted that when turning on Airplane mode only the radios mentioned in the key airplane_mode_radios1 are turned off. That is, the communication through those radios cease to exist. The list of radios in the value for that key I've seen in my devices are: cell,bluetooth,wifi,nfc,wimax,
where,

cell: cellular radio (used for mobile network connectivity)
bluetooth: used for bluetooth connectivity
wifi: used for Wi-Fi and portable hotspot connectivity
nfc: for NFC
wimax: ??

So yes, if you individually disable all the radios listed in the said key in your device then you would effectively be achieving the final result of Airplane mode.

If it matters, I found the value for the said key using adb through the command:
adb shell settings get global airplane_mode_radios

1 The key can be found in the table global of database /data/data/com.android.providers.settings/databases/settings.db. In Android 6.x, the location for the key is /data/system/users/0/settings_global.xml

I'm surprised. I got an upvote under a minute of posting this answer!


text:
Google Maps now shows addresses for some of my contacts
I realized I can see all the addresses of people whose phone number I have on Google Maps. I doubt these people intentionally made their addresses available publicly.
How does the Google Maps app populate the places found under the My Places tab?  Where did Google get these from?

Can't say for sure, but the obvious answer is: Don't you sync all your contacts with Google? If so, you simply made them available to them. And even if that's not the reason: checking the permissions of Google Maps clearly shows READ_CONTACTS, so it can access all contact details on your device. Let's assume you didn't store their addresses as well, there's always "reverse phone number lookup". Be it some "Yellow pages", or details of other people's accounts at Google. Welcome to the "transparent society" ;)

I bus Google must Havre used donne sport of Yellow Pages  service.

As mentioned on Izzy's comment, Google Maps can read the addresses from your Google Contacts. The feature was added on April 27, 2016 (v9.25.1). From AndroidPolice,

Contacts Appear in Your Places and Maps
One of the biggest complaints about using Google Maps for navigation to a friend's house is that the address had to be manually saved or searched; otherwise, the only way to pull it up was through a contacts app. Forget those days because all of your friends' addresses are now listed under the LABELED page on the Your places screen.
Previously, this list contained standard entries for Home and Work, plus any locations with manually added labels. Those items are now followed by a list of addresses pulled from the contacts database. There doesn't appear to be any fast way to sift through them, so there are probably going to be a few more changes to this screen in future releases.
Each entry has an overflow menu with the option to hide the contact from Maps so it won't show up in this list or anywhere else in Maps, and another to remove the address from the contact entirely.
The contacts will also appear as landmarks while looking at maps. You'll have to be zoomed in reasonably close to see them, but they appear like any small business.

One important thing is, Google doesn't publicly show your address to everyone (exception: Google+). It's only taken from the contact info (whether it's right or wrong address), and only shown to you.

Interesting enough. The next thing to wonder about is how some of the addresses under the contacts app actually got into the contacts app itself (for some of these I don't remember adding them). Thanks.

I can't say for you, but for me, if you use Google+ and add them to your circle, then the info is taken from there.

That may be how some of the info got there, thanks.

If you want to hide your contacts on Google maps try this:

Open Google settings.
Tap Personal info & privacy
Tap Activity controls
Tap Web & App Activity
Turn the switch on or off.


text:
Galaxy S6 won't charge after drain to 0-1%, cannot boot
After letting my Galaxy S6 drain more than usual, I connected it to the fast charger a bit after it hit 1%, and left it for the night while still powered on.
Next morning the phone was off. Powering it on, the phone shuts down before completing boot.
I plugged it in to an Anker charger, also supporting Quick Charging, and left it all day. Same problem. Once it managed to finish booting, allowing me to catch a glimpse of the 0% battery indicator in the status bar.
I tried booting into recovery mode (holding Vol. Up and Home while pressing Power) and left it to charge for about an hour before rebooting. Same problem.
Any suggestions, please? :-)

I got the chance to attempt to charge the phone via a wireless Qi-charger which, to my surprise, worked. So it didn't seem to simply be a dead battery, or a weird software loop, but something specifically concerning the USB/charging port.
I decided to bite the bullet and had the phone repaired. They replaced the "Charging Port Flex Cable", a part that can be bought online for 14$ or less, in case you feel like replacing the part yourself.

Connect to a charger
Wait 30 mins-1 hr
Unplug the charger
Press and hold the power key until you see the Samsung Galaxy logo

This sounds like what he already did in the question, and he already provided an answer.


text:
Ex boyfriend remotley erased my phone
Hi wondering if any one would know. Last night my ex boyfriend somehow managed to log onto my account and erase my whole phone   newborn photos of my daughter- all gone. I didnt even know such thing exsisted.
Is there any way of getting the photos back?
Thanks

It depends. What kind of phone is it? Were the photos only on the phone, or did you have any kind of "auto backup" feature turned on? Were they on the phone's internal storage, or on an SD card. Whatever the answer, your best chance is if you don't use the phone until you can recover them.

Was those picture on your google account? You might have log in to your gmail using his computer and he was able to log back in your account because you're password is automatically remembered and then he access your pictures and deleted them... everything is linked these day, you gotta be careful. Try looking in the trash folder of your google image app

This is a comment. What facts are you providing? Its also grammatically confusing in the second sentence. And you ended it with a guess.


text:
How can I enable the "Add user or profile" option on Lolipop (Asus Zenpad S 8) - fw.max_users?
Hi I have been setting up Parental Control for a 9 year old kid on an Asus ZenPad S 8.0, which has Android 5.0 Lolipop installed.
I created a restricted account for him but tinkered trying to remove the guest option as he could bypass security by creating a temporary guest account.
In the end a part from install some aps like Time Limit, Screen Time, Internet Security, Family Time... I didn't actually do much as at some point after trying many different tools () I realised the tablet had to be rooted in order for the guest account to be disabled as described in this article http://slashgenie.com/how-to-disable-creation-of-android-guest-accounts-on-lollipop/
I decided not to root it as I am new to Android and I understood this voids the warranty and can create a "brick" :(
The strange thing is that now with the main owner/admin account I can create guest accounts but I can't create new accounts (I want to create another restricted account for his brother).
The "Add user or profile" option is disabled. This guy seems to have a similar problem Why can't I add any more user?
But I only have two users the admin + the kid. Maybe with my tinkering of file explorer apps and sql editors I did actually manage to reduce the number of accounts to 1 (my original intention with fw.max_users=1)... but this should have show up on the file build.prop, which it doesn't, and how could I do that as my device is not rooted!?

doh! I just downloaded an emulator and ran pm get-max-users... and found out I can only install 2 users...

I don't think I fully understand your question. Anyhow, after making restricted profile if you want the kid not be able to create Guest account than I suggest you first remove/delete Guest account if it is already available, by logging into it and choosing to delete it. Afterwards, using [tag:adb] issue the command: adb shell settings put global guest_user_enabled 0. Root is not required and from then on you won't be able to create a Guest account unless you revert 0 with 1.

I had deleted the guest account and then from the restricted account it was no longer possible to create a guest account.
I have given up on making the non restricted  account safe...As the device is limited to 2 users they will just have to share the restricted account.
How to let the restricted account update the apps that are already installed? The kids want to play Clash of Clans which has regular updates. When 1 is available it doesn't let them play and says that they do not have the correct permissions in google play.I would like them to be able to update apps already installed


text:
2 years old Zenfone 5, how to control battery use?
Sorry for asking about such an overdone subject.
Question is, I have a (as of now) 2 years old Zenfone 5.
Android 4.4.2, ZenUI, not rooted (yet), Energy Management off, stock charger.
Configurations include minimal brightness, only antenna is constantly on, and I have touch feedback from Dev Config on.
For the last 3 months, my battery seems less able to take on Wi-Fi, and Google's apps specifically.
For a measure, I already had my battery last little less than 40h, by not using any Internet whatsoever. Now, I start using Wi-Fi and it drops at a rate of 0.3% per min. I remember a time I could use it the same way, and it'd last at least two hours more than now.
Apps recently downloaded include Piano Tiles 2, Avast and Malwarebytes, both of the latter I already uninstalled. Piano Tiles 2 force-stopped.
As of posting this question, I've force-stopped most non-crucial apps beyond aforementioned and turned Energy Manag. back on, to see if anything change. I'll report back any improvement.
Thanks in advance!


text:
Can I send messages using the SIM from the same carrier as the recipient? (wildcard sending)
Sorry guys am using two sim phone to connect to my gateway for client purchase notifications. I would like to send messages based on receiver phone number carrier. e.g if sender uses MTN number I wish to reply with MTN number, but I figured out the phone only allow the options of "default number" or "always ask" which forces me always to monitor the number to use when sending message. Is there a way I can switch the sending of the messages based on the number of a receiver (something like wildcard sending)?

I assume you mean SMS messages, so I've add that tag to your question. Feel free to [edit] the question again if I was wrong.

#Dan ya you're right. .. so far have you figured solutions or approaches?


text:
How to add a language on a Galaxy S7 Edge without root?
I have a Galaxy S7 and it is locked so I can't add new languages. Can someone tell me if this is possible without root?

Pointer: related questions with answers. Are you asking for a keyboard language, or a system language?

It should be system language i guess.

Even though your device is locked, you can add languages that comes with TouchWiz UI. I am not sure for input language or total language change from English to your choice you are asking but I think this article on Samsung Galaxy S7 & S7 Edge tips will help you. There, you need to scroll till the bottom.

When you say "add a language" do you mean select a language that's already available from the dropdown, or add a new language?

You can do it without root like this

Download MoreLocale2
Run:
adb shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CONFIGURATION

Change the device's language from MoreLocale app


text:
Open RemixOS system.img on Windows and edit init.sh (Faulty Touchscreen)
I installed RemixOS on my Baytrail Tablet but the touchscreen doesn't seem to work properly. It only works in the middle of the screen and the touches are registered 3-4 cm left of the area of touch. I have already tried everything I found by Googling like adding rmmod i2c-hid and modprobe i2c-hid with no luck.
But, recently under OS/BOM configuration in the BIOS I found 6 different options for the touch panel - MSSL, Ntrig, ChipOne, Focaltech, Goodix and Disable. I'd like to try each one of them, but I want rmmod and modprobe to run on every boot automatically.
I tried editing init.sh (in system/etc) with no luck. I am using Windows 7 right now. Can anyone suggest?

maybe try to add your line of code into the init.sh file under Function_misc line 18


text:
How to have an App Factory wait for 30 minutes before performing the next action?
I learned that app factory apps should run in the background no problem, but if that's the case, I'm wondering why the simple app I created randomly restarts when it includes a 30 minute waiting action. When I take it out, it works (starts does its job and stops in a matter of a few seconds). But I'd like it to do another action after 30 minutes and that's when it keeps restarting several times during that 30 minute period. (And by restarting I mean that it re-executes the actions listed before the 30 min wait.)
Any suggestions how to stop it from doing this (or an explanation why it is doing this)?
Here is the XML of a MWE. (Remember that you need to export this as an app in order to reproduce the issue. Running it in Tasker seems to work fine.)
<TaskerData sr="" dvi="1" tv="4.8u4">
<Project sr="proj0" ve="2">
    <cdate>1463986944702</cdate>
    <name>MWE</name>
    <tids>7</tids>

        <nme>cust_warning</nme>

</Project>
<Task sr="task7">
    <cdate>1463986956333</cdate>
    <edate>1463987117854</edate>
    <id>7</id>
    <nme>MWE</nme>
    <Action sr="act0" ve="7">
        523
        <Str sr="arg0" ve="3">Start</Str>
        <Str sr="arg1" ve="3"/>

        <Int sr="arg3" val="0"/>
        <Int sr="arg4" val="0"/>
        <Int sr="arg5" val="3"/>
    </Action>
    <Action sr="act1" ve="7">
        30
        <Int sr="arg0" val="0"/>
        <Int sr="arg1" val="0"/>
        <Int sr="arg2" val="30"/>
        <Int sr="arg3" val="0"/>
        <Int sr="arg4" val="0"/>
    </Action>
    <Action sr="act2" ve="7">
        523
        <Str sr="arg0" ve="3">End</Str>
        <Str sr="arg1" ve="3"/>

        <Int sr="arg3" val="0"/>
        <Int sr="arg4" val="0"/>
        <Int sr="arg5" val="3"/>
    </Action>
    <Action sr="act3" ve="7">
        137
        <Int sr="arg0" val="0"/>
        <Str sr="arg1" ve="3"/>
    </Action>
</Task>

I'm not sure if the entire XML is necessary. To reproduce the issue try the following MWE: set up a single task consisting of 4 simple actions of which the second one is "Wait 30 minutes". Let's say, the first one issues a notification saying "start"  and the third one does a notification "end". The last action is stop. Now export the task as an app and start it. What does it do? In my case, I get multiple "start"  notifications before the end notification shows up.


text:
Contact app with selective sync?
I am using a Xiaomi Mi5 and the default Contact app sync ALL contacts with Google which creates a huge redundant list of any person I ever emailed. There is no option to select which Group/Folder to sync.
I thought I would find a better Contacts app that sync only the 'My Contacts' folder from Google to my Phone to alleviate this issue but that's a very specific criteria and I'm not sure how to look it up.
Please help,
Thanks.

Another contacts app won't help you, as it's not the contacts app that does the sync but Google's "contacts sync adapter". Ugly work-around: store contacts you don't wish to sync into a separate contacts-book (the "local" one, also called "phone", if your device supports that) – basically chose anything but not the Google contacts for them.

I downloaded the App Contacts+ from Play store which, eventhough it has ads which are a bit annyoing, did allow me to select the 'sources' of contacts from both my personal and professional Google accounts.
You can research articles on the best Android contacts apps, in my case this one suited me. Still have my eyes open for a better solution though...


text:
Nexus 6P Heating Issues
I have a Nexus 6P 64 GB which is just 4 months old. I feel that the phone is getting hot more than normal, mainly the display. When I do browsing say for 10-15 mins or shoot videos (4K) 2-3 mins or take HDR photos 10-15 photos in succession, the phone gets hot from every nook and corner. My local service center is not very high tech. The only solution they suggested is to flash the OS. I do not to what extent this is going to help. I did nt buy the phone from Google Store but from other online partners in India.  I sought help of people around here or users of Nexus 6P about their experience.
Thanks.

What's your question?

Question is if other Nexus 6p gets too hot as well or not ;-)

No answer or comments means, this is not a known problem with other Nexus 6Ps???

@V.B my Nexus 6P becomes hot sometimes too. Should be normal.

This might be of interest: https://support.google.com/nexus/answer/3333708

Hi Guys. After updating to Nougat 7.0 the problem seems to be gone now. I am happy with the phone now. No more heating issues.

I recently bought a nexus 6p myself and upgraded it to Nougat (Android 7.0).
It burns like a stove after playing 10 minutes of any 3D games (in my case, Walking Dead: No man's land), and that's both before and after the system update.
I think the following article explains the reason pretty well, it's all about the processor:
http://www.androidheadlines.com/2015/10/huawei-nexus-6p-good-bad-ugly.html
I tried wrapping an ice pack with a towel under my phone while using it and it helped a lot.
I'm not sure if that's good idea though because people say that it will definitely cause condensation inside the device and void the warranty.

Please ensure that you have a fan with a cool cloth(ice water soaked) draped over it blowing on your 6P. Do not use the phone outdoors for long periods, use mainly in air condition and never leave in your car.


text:
Is it possible to install Android apps on mobile running Cyanogen OS?
I have a doubt on Cyanogen OS.
Can I install Android apps (e.g. from Play Store) on mobile (e.g. Lenovo Zuk Z1) running Cyanogen OS?

Cyanogen OS (not to be confused with open source CyanogenMod; is built on Android) comes with Google Mobile Services (GMS) and for GMS to be shipped in a specific device the device must follow Compatibility Definition Document (CDD) as well as pass the compatibility test. Any device which follows the said document and passes the test can be claimed as Android compatible. To know what having an Android compatible device means, refer to the document Compatibility Program Overview.
So yes, you can install (non-device specific) apps from Google Play Store on your Cyanogen OS.

Confirmed (Wileyfox Swift here running CyanogenOS 12.1 – ships with all the Google crap included: Playstore, Maps, Chrome, youNameIt). Unfortunately :) But the good thing with CyanogenOS is 1) most bloatware can be easily uninstalled, 2) as CyanogenOS is based on CyanogenMod, switching to the latter usually is easy :)

Yes, its absolutely possible:
CyanogenOS is a custom version of the Android operating system. It's here to offer a 'better' version than Google can provide, with more features and more control for the hardcore user. You will be having greater access to resources on mobile hardware as compared to normal android users.
For more info visit their official Website .

This is an incorrect answer. Why has it gotten an upvote I don't understand? For instance, the author doesn't know that Cyanogen OS doesn't offer root access at all and the question is about Cyanogen OS, not CyanogenMod.

@Firelord Though I agree, I tend to interpret it as a mis-spelling ("Freudian slip"). Why? Because hitesh gave the correct link (cygn.com is the CyanogenOS domain – CyanogenMod would be cyanogenmod.org). // But you're absolutely correct that the "root part" of the answer is definitely wrong. I own a device running CyanogenOS, and I had to root it myself (easy though, just flashing the supersu.zip :)


text:
Logcat not working on my LG G4 (H815)
I can't read the logcat from my phone. As an Android Developer, this is terrible for me. The message that I'm getting is:
logcat read failure

Looking the sources, it seems like a generic error:
Code from the source (Github, logcat.cpp)
while (!g_maxCount || (g_printCount < g_maxCount)) {
    struct log_msg log_msg;
    log_device_t* d;
    int ret = android_logger_list_read(logger_list, &log_msg);

    if (ret == 0) {
        logcat_panic(false, "read: unexpected EOF!\n");
    }

    if (ret < 0) {
        if (ret == -EAGAIN) {
            break;
        }

        if (ret == -EIO) {
            logcat_panic(false, "read: unexpected EOF!\n");
        }
        if (ret == -EINVAL) {
            logcat_panic(false, "read: unexpected length.\n");
        }
        logcat_panic(false, "logcat read failure");
    }

My phone is rooted and has the bootloader unlocked. I'm using stock kernel. I've no clues. Any ideas, something to try?
Thanks in advance

Flaggers: Despite containing code, this is not a development question -- logcat is a command-line utility that is useful to all power users.

It's too bad that the return value is just dropped completely if it's not one of those three, it ought to be printed.  In any case, when did this start happening?  Does it persist after a reboot?

Thanks @Matthew. It started when I rooted it, and yes, it persists after a reboot (have been one month without logcat).

Hmm, could be some filesystem permissions that were messed up by the rooting.  SuperSU or a recovery like CWM or TWRP should have a "Fix permissions" option that you could try, although sometimes it makes things worse.

I'll try it, thanks. Hope not to make things worse ;)

didn't work... :(

Are you using a custom rom ?
I have the same problem, here is how I solved it partially:
Download this:
https://drive.google.com/file/d/0B7Mx2p0Jd24Jcm9fNEV6d0xDV1E/view
Put this file to root/system/bin an rename it to logd. Attribut -rwxr-xr-x (755) an reboot your Phone. After that logging works.
This file has been deleted because it consumes a lot of battery.
After logging, rename the file in logd.xxx and restart your phone. Thereafter, the battery consumption is reduced again.
More Description
http://forum.xda-developers.com/g4/help/guide-disable-logd-process-battery-drain-t3308921#post65168793
then download a logcat reader app from playstore.
Unfortunately, logcat from computer still don't work :( I'm still searching a solution for logcat from computer

even from computer ? Personally I can't get it working on my computer

no, not from the computer... only with the alogcat app

:( tell me  if one day you get it working from computer....
If you are interested, I have asked the question in this xda thread:
http://forum.xda-developers.com/g4/development/h815-genisys-rom-1-0-classic-v10g-t3192649/page379
no response so far :/

OK, i'll tell you. Mine is not working, but have you tried to access a shell (adb shell) and execute the 'logcat' command?

yes, from window and ubuntu computer, I type ' adb logcat', and it says 'logcat read failure' :(

if I try just 'logcat' from a terminal emulator app, inside android, it says nothing.... this is strange

@n0tis @webo80 This is an old question, I know, but I recently encountered this same problem. The fix? After logd is copied to /system/bin, run chcon u:object_r:logd_exec:s0 /system/bin/logd. That should load it with the correct SELinux context.


text:
Galaxy S6 no longer automatically connects to my home WIFI
Vexing problem. I changed Internet service providers at home. It works fine.  However, my Galaxy S6 used to automatically connect to my wifi whenever I got home and now it doesn't. I have to tap the WIFI icon manually.  I changed none of my settings. Only the wifi changed.  I've looked in the settings and can't figure it out.  Help?

What is different about your new Wi-Fi router?

dunno. different ISP. different wifi.

Is it the same old router or a new router?

New router. I mean, it works fine. We can all hook up to it. but by phone is no longer AUTOMATICALLY going to my wifi when I'm home

Have you tried going to the list of wifis available, finding your network, then clicking forget. Once it's forgotten, reboot your phone. Connect to your wifi again and see if that fixed the problem? Once you reconnect, you can turn off your wifi, wait a few seconds, then turn it back on to see if it automatically reconnects to the network.

http://android.stackexchange.com/questions/108614/att-samsung-galaxy-s6-will-not-connect-to-wifi-automatically


text:
Uber Rider hangs on launch
I am running Cyanogenmod 12.1 on a Nexus 5. It include SE-Linux in enforcing mode and Privacy Guard. Cyanogenmod does not provide a store, so I fetched Uber from Google Play using a download service and installed it via the command line with adb install com.ubercab.apk.
When I attempt to launch Uber, it simply hangs. The screen capture is below.
When I inspect the logcat logs, it shows some minor issues. It looks like the app is not as tested as well as it could be, but I don't see any fatal exceptions. The output is below.
Its also worth noting other apps, such as Textra and Firefox, run fine when installed the same way.
How do I run Uber Rider on this Cyanogenmod/Nexus combination?

I/ActivityManager(  746): Start proc 3207:com.ubercab/u0a18 for activity com.ube
rcab/.UBUberActivity
I/MultiDex( 3207): VM with version 2.1.0 has multidex support
I/MultiDex( 3207): install
I/MultiDex( 3207): VM has multidex support, MultiDex support library is disabled
.
W/ActivityManager(  746): getRunningAppProcesses: caller 10018 does not hold REA
L_GET_TASKS; limiting output
I/Fabric  ( 3207): Initializing Crashlytics 2.2.3.41
W/ActivityManager(  746): getRunningAppProcesses: caller 10018 does not hold REA
L_GET_TASKS; limiting output
W/ActivityManager(  746): getRunningAppProcesses: caller 10018 does not hold REA
L_GET_TASKS; limiting output
W/Settings( 3207): Setting install_non_market_apps has moved from android.provid
er.Settings.Global to android.provider.Settings.Secure, returning read-only valu
e.
W/Settings( 3207): Setting install_non_market_apps has moved from android.provid
er.Settings.Global to android.provider.Settings.Secure, returning read-only valu
e.
W/Settings( 3207): Setting install_non_market_apps has moved from android.provid
er.Settings.Global to android.provider.Settings.Secure, returning read-only valu
e.
W/GooglePlayServicesUtil( 3207): Google Play services is missing.
W/GooglePlayServicesUtil( 3207): Google Play services is missing.
I/art     ( 3207): Background partial concurrent mark sweep GC freed 1582(96KB)
AllocSpace objects, 0(0B) LOS objects, 36% free, 27MB/43MB, paused 7.948ms total
 31.274ms
F/Adjust  ( 3207): PRODUCTION: Adjust is running in Production mode. Use this se
tting only for the build that you want to publish. Set the environment to `sandb
ox` if you want to test your app!
D/OpenGLRenderer( 3207): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
E/ActivityThread( 3207): Failed to find provider info for com.facebook.katana.pr
ovider.AttributionIdProvider
D/Atlas   ( 3207): Validating map...
V/WindowManager(  746): Adding window Window{30dc474e u0 com.ubercab/com.ubercab
.UBUberActivity} at 3 of 9 (before Window{adeae23 u0 Starting com.ubercab})
I/Adjust  ( 3207): Unable to get Google Play Services Advertising ID at start ti
me
I/Adjust  ( 3207): Started subsession 3 of session 1
I/WebViewFactory( 3207): Loading com.android.webview version 39 (1636aa03d7-arm)
 (code 300001)
I/LibraryLoader( 3207): Time to load native libraries: 101 ms (timestamps 1997-2
098)
I/LibraryLoader( 3207): Expected native library version number "",actual native
library version number ""
V/WebViewChromiumFactoryProvider( 3207): Binding Chromium to main looper Looper
(main, tid 1) {2650a87f}
I/LibraryLoader( 3207): Expected native library version number "",actual native
library version number ""
I/chromium( 3207): [INFO:library_loader_hooks.cc(104)] Chromium logging enabled:
 level = 0, default verbosity = 0
I/BrowserStartupController( 3207): Initializing chromium process, singleProcess=
true
W/art     ( 3207): Attempt to remove local handle scope entry from IRT, ignoring

W/chromium( 3207): [WARNING:resource_bundle.cc(304)] locale_file_path.empty()
I/chromium( 3207): [INFO:aw_browser_main_parts.cc(65)] Load from apk succesful,
fd=57 off=46184 len=3037
I/chromium( 3207): [INFO:aw_browser_main_parts.cc(78)] Loading webviewchromium.p
ak from, fd:58 off:229484 len:1089587
W/AudioManagerAndroid( 3207): Requires BLUETOOTH permission
I/Adreno-EGL( 3207): <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/14/15, a
b0075f, Id3510ff6dc
W/chromium( 3207): [WARNING:data_reduction_proxy_settings.cc(331)] SPDY proxy OF
F at startup
W/art     ( 3207): Attempt to remove local handle scope entry from IRT, ignoring

W/AwContents( 3207): onDetachedFromWindow called when already detached. Ignoring

W/ScreenOrientationListener( 3207): Removing an inexistent observer!
W/GooglePlayServicesUtil( 3207): Google Play services is missing.
I/Timeline( 3207): Timeline: Activity_launch_request id:com.ubercab time:652225
I/ActivityManager(  746): START u0 {cmp=com.ubercab/.webclient.app.WebClientActi
vity} from uid 10018 on display 0
V/WindowManager(  746): addAppToken: AppWindowToken{35bf0ab2 token=Token{64a44bd
 ActivityRecord{7734414 u0 com.ubercab/.webclient.app.WebClientActivity t4}}} to
 stack=1 task=4 at 1
V/WindowManager(  746): Adding window Window{adeae23 u0 Starting com.ubercab} at
 4 of 9 (after Window{30dc474e u0 com.ubercab/com.ubercab.UBUberActivity})
I/OpenGLRenderer( 3207): Initialized EGL, version 1.4
D/OpenGLRenderer( 3207): Enabling debug mode 0
W/art     ( 3207): Attempt to remove local handle scope entry from IRT, ignoring

W/AwContents( 3207): onDetachedFromWindow called when already detached. Ignoring

W/art     ( 3207): Attempt to remove local handle scope entry from IRT, ignoring

W/art     ( 3207): Attempt to remove local handle scope entry from IRT, ignoring

V/WindowManager(  746): Adding window Window{2a8f1ffe u0 com.ubercab/com.ubercab
.webclient.app.WebClientActivity} at 4 of 10 (before Window{adeae23 u0 Starting
com.ubercab})
I/Timeline( 3207): Timeline: Activity_idle id: android.os.BinderProxy@28cd19b0 t
ime:652505
I/ActivityManager(  746): Displayed com.ubercab/.webclient.app.WebClientActivity
: +248ms (total +1s663ms)
I/Timeline(  746): Timeline: Activity_windows_visible id: ActivityRecord{7734414
 u0 com.ubercab/.webclient.app.WebClientActivity t4} time:652509
I/chromium( 3207): [INFO:CONSOLE(1)] "Uncaught ReferenceError: Uber is not defin
ed", source:  (1)
CTRL+C

Google Play services is missing. is probably the cause. It likely requires this to be installed in order to function

You most probably need GApps for it to work properly.
https://wiki.cyanogenmod.org/w/Google_Apps

Thanks Divulged. Are there other options? I run Cyanogenmod to distance myself from folks like Google. Sorry to have to aks. Uber Support sucks. They don't allow searching for terms like Cyanogenmod (nothing happens when pressing ENTER) and they don't provide support contacts (no email address or web based support form).

@jww Unable to get Google Play Services Advertising ID at start ti
me ------ That definitely implies, as far as I can see, that Uber's application has google play services as a dependency. In which case its never going to work without it (if it is indeed a dependency for the app), unfortunately.


text:
Why file managers badly recognizes SD cards
If I am understanding well...file managers mostly title some part of file system as "SD card" despite the fact that it is not SD card, or even sometimes when the phone doesn't have a slot for SD card at all (this happens for example on Nexus 5x). It's not just one or two file manager, but lots, so I think it is more Android like "problem".
So I am asking: What is the reason?

There are two types of memory: internal SD card (/sdcard) and external SD card (/external_sd, or /extSdCard).

This is done so that on a device without a removable SD Card 1 - you'd still be able to copy files to and from the device, and 2 - user's data can be stored separately from system and app data.
Regardless if a specific device has a removable SD Card, Android sets aside part of its internal memory that is reserved for user's media such as photos, music, movies, books etc.  That is the area that becomes visible to a computer when you connect the device via USB cable, and is commonly referred to as "internal SD Card" for the sake of simplicity.  If a device has a removable SD Card, you will have another area that is visible to a computer, and that is referred to as "external SD Card."
On older versions of Android internal SD Card was set up as a separate partition, and formatted as a variation of Fat/Fat32 type so that it could be accessible as a UMS device.  On newer Android versions there's some behind-the-scenes logic happening to expose internal SD Card to computers via MTP protocol instead.
Most Android file managers will show both internal memory, and the external card if one is present.


text:
Missing Keyboard on Lock Screen
I got a system message that the keyboard had crashed. Then my keyboard won't restart. And now that my phone is locked, I can't unlock it to try any of the normal fixes, such has disabling and enabling the keyboard. Yes, I have restarted the phone, that's why it's locked now.
I need to save some of the contacts, so a simple factory reset won't work. ADB does seem to be enabled, but I don't know how export the contacts, or install a keyboard.
How can I either restore the keyboard, or export the contacts.

Did you try rebooting the device?

First things first. There's something that I'm confused about. You said that the keyboard crashed, but did you try turning the phone off and restarting it? That should reinstate the keyboard and you should be able to unlock upon restart.
You can also remove the battery from the phone to "kill it" and power it up again, in case it is needed to accomplish the above mentioned. Although removing the battery would be rendered irrelevant on phones with concealed (non removable) batteries (without opening the case, ofcourse).

In any case, to backup contacts from your phone, you can use the command "adb pull" to retrieve the following file:

adb pull /data/data/com.android.providers.contacts/databases/contacts2.db

https://chombium.wordpress.com/2012/09/30/android-how-to-backup-contacts-and-sms-messages/
EDIT: You will probably get a permission denied error, in which case you would need root access to do this. Post that, you could also try "adb shell" and copy the file to /sdcard

Forgot to mention that it requires root access.


text:
Yellow exclamation mark on boot on rooted Samsung Galaxy device
I have Samsung Galaxy S Duos, and after I rooted it by following Root Samsung Galaxy S Duos, I had an exclamation symbol when I turn my mobile on.

What happened? What are the consequences now? How can I solve it?

Just tell me what happened....

This is not an error, its just a counter.
It counts, how often the phone downloads custom binary, for example a root-patch or a custom rom.

what are the consequences now????????????

Just nothing,
This symbole only shows to the manufacturer, or any repair service, that your warranty is lost(cause you rooted your phone)
Its just that - a warning symbole, no errors on device, no performance leaks etc.

How can i solve it????

There are several patches on the internet, you can patch the counter and force the warning symbole to disappeare.
I have something similar on my LG G4, which says that my bootloader is open, but i dont worry.
Greetings,
Fischmaster

You didn't provide sufficient information; such as, if the "yellow exclamation mark" shows, but the phones boots up properly, OR, the phone is stuck on the screen showed in the image you posted.
Generally, that symbol is used to mark unofficial changes to the phone, as Samsung phones maintain a binary counter related to such unofficial modifications.
http://forum.xda-developers.com/showthread.php?t=2078643


text:
Samsung Galaxy S6 Edge Says Connected to Wifi But Can’t Get Internet or YouTube
PROBLEM:
My android device is showing that I am connected to the Wi-Fi network at my community college (where I attend), however, when I try to use anything that requires internet it says there is no internet connection.

Screenshots (click images for larger variants)
WHAT I’VE TRIED:

Clearing cache (as per this TheDroidGuy article)

Rebooting to bootloader

Rebooting phone

Navigated to Google in Chrome

Navigated to Google in Firefox

Called AT&T store: They gave me 3 options:

Try another place and see if there are issues with wifi
To update to Marshmallow: Settings > System > About Device > Update Phone
Dial 611 to get to Customer Support

I tried the last one. The representative in Iowa ended up "sending an OTA switch", whatever that means. In the middle of him explaining it to me the phone cut out.
DETAILS:
I don’t know exactly what info an android-wifi savvy reader would need to be able to help, so I have provided as much info as I could find in an effort to be as thorough and helpful as possible. If any other info is needed, please let me know.
DEVICE:

Provider: AT&T

Brand: Samsung

Model Name: Galaxy S6 Edge

Model Number: SAMSUNG-SM-6890A

Android Version: 5.1.1 (Lollipop)

Android Security Patch Level: 2016-04-02

Baseband Version: G890AUCS3BPCG

Kernel Version: 3.10.61-7277676 (etc...)

Build Number: LMY47X.G890AUCS3BPCG

Security Enhancements for Android:

Enforcing

SEPF_SAMSUNG-SMG890A_5.1.1_0046

Wed Apr 06 20:28:50 2016

Security Software Version:

MDF v2.0 Release 3

VPN v1.4 Release 5.2

CONNECTION:

Signal Strength: Strong(351Mbps)

Security: 802.1x EAP

IP Address:

EAP method: PEAP

Phase 2 Authentication: None

CA Certificate: (Unspecified)

IP Settings: DHCP

Proxy: None

ALTERNATIVE POSSIBILITIES:
Mercury retrograde -- a time when communication between people can be very confusing and when electronics fail more than others times of year -- was supposed to be over yesterday, but maybe it’s still the 22nd in some part of the world (I’m in Western USA).
Virgo astrology horoscope for today said that I was going to be “tired of having to troubleshoot things”. Immediately afterward I realized my phone was only streaming via mobile and not via the wi-fi network it told me it was connected to.
These may be longshots, but I think they are worth mentioning.
Any help is appreciated. From one soul to another, thank you in advance for your kind assistance.
Namaste & Mitakuye Oyasin

Dns probe image no internet error.You can try changing your ip settings from DHCP to static and connecting to GOOGLE dns.
Important: Before you start:
Before you change your DNS settings to use Google Public DNS, be sure to write down the current server addresses or settings on a piece of paper. It is very important that you keep these numbers for backup purposes, in case you need to revert to them at any time.
To change the DNS settings:
Open the Settings on the device.
Select “Wi-Fi”.
Long press your current network, then select “Modify network”.
Mark “Show advanced options” check box.
Change “IP settings” to “Static”
Add the DNS servers IPs to the “DNS 1”, and “DNS 2” fields.
DNS 1 to 8.8.4.4
DNS 2 to 8.8.8.8
Press “Save” button, disconnect from the network, and reconnect for changes to take effect.
Good luck!

Thanks for your reply! I'm at school right now, but I will try this later tonight and report back with my results.

This is good information and since nobody else replied I am marking it as the answer. However, for clariity, here is some important information: Nobody at AT&T support was aware of any update, but the day after I posted this it was common knowledge that an update was pushed. Also, I was able to connect to wifi on my phone the next day at school without a problem.