# Question
Title: After Rooting my phone, I get a black screen, followed by "[app] has stopped working" for every application, any idea what could be going on?
I just rooted my Samsung Galaxy G4 I9500 today. It was working fine, I even restarted it a few times just to test everything was going nice and dandy. I also installed two apps to see if SuperUser was working properly (busybox and titaniumBackup) and both seemed to work fine.

Now, while trying to make a nandroid backup I entered recovery mode and touched "reboot device now". Afterwords, the device stopped starting properly.

As described in the title, the screen remains black with messages popping up saying something like "\[x\] app has stopped working". Trying to turn off the device gives me the usual windows (turn off/airplane mode/restart). Also, I can change the volume. Any idea of what could be going on?

# Answer
> 0 votes
It could possibly be owing to a) wrong TWRP version b) Corrupted TWRP c) method of flashing TWRP

* You could download the TWRP for your device. I am ssuming you have the exynos version (recheck your device Phone Info Samsung or any other app which gives you chipset information can help)
* Verify MD5
* Flash using Odin or `dd` method. Link above has directions for both. Sometimes, flashing it by other methods doesn't work well with Samsung devices

**EDIT**: I am glad that you were able to fix with a factory reset using appropriate TWRP.

* Now, to restore data from the image created, select *Restore\> choose location of image \>Advanced Restore\> data* (only-don't check anything else).
* Use above method when restoring data to the same ROM from which you took back up NOT across different ROMs or different android versions.
* This should help you learn TWRP Guide

# Answer
> 0 votes
I had the same problem when I flashed cmw12.1. I backed up that Rom and when I rebooted I got same message as you.. Everything saying "stopped working!". Later I noticed that my nadroid backup was on internal storage and I was running out of space. I deleted that backup and everything went fine. Move that backup file to external sd card and try rebooting again.. Hope that would fix it :)

# Answer
> 0 votes
Reset your app preferences. To do it Follow these steps.

1. Goto settings and open apps
2. On the upper part(different for every phone) look for three lines or dots. Tap on it and reset app preferences.

---
Tags: rooting, samsung
---


# Question
Title: Android File Transfer cannot access device storage
I am using a Moto X (2nd Generation). I have a recurring problem that occurs when I plug my phone into my Mac to transfer files (music, etc).

When I plug it in, it is unlocked and on. However, Android File Transfer comes up with a message that says:

`Cannot access device storage`

And I am not able to transfer any files. I tried plugging it in again, locking and unlocking my phone, no luck. Any solutions?

# Answer
The only solution I have been able to find is to, with the phone plugged in to the computer and unlocked:

1. Enable Developer Mode in Settings
2. Go to Developer Options
3. Select USB Configuration
4. Select `MTP (Media Transfer Protocol)`
5. If this doesn't work, select `Charging only`, then select `MTP (Media Transfer Protocol)` again.
> 0 votes

---
Tags: file-transfer, moto-x
---


title: Moto g 3 root failure mashmallow

text:
# Question
Title: Moto g 3 root failure mashmallow
i tried to root my moto g3 with king root and after some time it rebooted and got hanged on bootloader and said AP fastboot flash mode(secure) hab check failed for boot failed to verify hab image boot failed to validate boot image ERROR:failed to pass validation ,backup to fastboot Fastboot reason :fallthrough from charger boot mode

# Answer
> 1 votes
**TLDR** answer: You will need to reflash your phone back to stock or flash TWRP and install a custom ROM image, links and instructions below on how to return to stock and properly root... If you want to ROM your device, a little reading in XDA's Moto G 2015 section will get you there.

# Long answer:

Kingroot, and most all Chinese/3rd party root tools, will brick the Moto G 2015, regardless of whether they say will work or not. Rooting a stock Moto G is almost as simple as rooting a Nexus device and it can be done with little effort, it should always be done manually.

To repair your phone, first make sure you have ADB & fastboot properly working, with connectivity to your device, then download the factory image from this XDA thread, DO NOT obtain the firmware from anywhere but this thread or Lenovo/Moto itself (who has not publicly released these images). Use the image that matches your device model and is the same or newer release, do not attempt to downgrade on a phone that has had an attempted Kingroot exploit applied, it may hard brick. Extract the files to a directory that can be easily accessed with fastboot.

**Return to Stock**

Detailed instructions and help flashing the image are available in this XDA thread, but here is the quick and dirty of it.

1. Factory reset in stock recovery... this is absolutely MANDATORY or else bootloop will occur and you will need to start all over again.
2. Reboot into Bootloader (fastboot) mode
3. Flash the files with fastboot - Do commands manually, one at a time - checking that each one returns an `[OKAY]` response. **NOTE**: Do not simply copy and paste these commands! - system.img\_sparsechunks may differ in number and name. Always check contents of folder you're working with. You must flash all of the sparsechunk files you have. Also, some steps may take considerable time, especially `erase` commands, so be patient.

`fastboot oem fb_mode_set`
`fastboot flash partition gpt.bin`
`fastboot flash bootloader bootloader.img`
`fastboot flash logo logo.bin`
`fastboot flash boot boot.img`
`fastboot flash recovery recovery.img`
`fastboot flash system system.img_sparsechunk.0`
`fastboot flash system system.img_sparsechunk.1`
`fastboot flash system system.img_sparsechunk.2`
`fastboot flash system system.img_sparsechunk.3`
`fastboot flash system system.img_sparsechunk.4`
`fastboot flash system system.img_sparsechunk.5`
`fastboot flash system system.img_sparsechunk.6` (If included in your image file)
`fastboot flash system system.img_sparsechunk.7` (If included in your image file)
`fastboot flash system system.img_sparsechunk.8` (If included in your image file)
`fastboot flash modem NON-HLOS.bin`
`fastboot erase modemst1`
`fastboot erase modemst2`
`fastboot flash fsg fsg.mbn`
`fastboot erase cache`
`fastboot erase userdata`
`fastboot erase customize`
`fastboot erase clogo`
`fastboot oem fb_mode_clear`
`fastboot reboot`

4) The phone should now reboot and be operational in 5-15 minutes. Remember with ART the initial boot can take what seems like forever, be patient.

**Properly Root**

To properly root, obtain the latest TWRP for the Moto G 2015 and the latest SuperSU ßeta and place it in the device's storage (internal or SD card).

Boot or flash the TWRP image, I prefer to boot it the first time and do a complete backup and move it off device, then flash TWRP from the bootloader with `fastboot flash recovery *twrp.img*` replacing *twrp.img* with the current TWRP image filename you downloaded from above. Now reboot into the bootloader and start Recovery, TWRP should load after the Bootloader Unlock warning screen.

The Moto G 2015 needs to rooted with systemless root, which SuperSU does not auto-detect in this device, so we need to force it in TWRP prior to flashing by entering the TWRP terminal and entering `echo SYSTEMLESS=true>>/data/.supersu`.

After you have done this, you can just use TWRP to flash (Install) the SuperSU ZIP file you downloaded/copied to the phone from the link above and reboot.

You should now be fully functional and rooted on the stock ROM.

---
Tags: root-access
---


# Question
Title: Why is Android 5 corrupting my SD card (moving files to LOST.DIR or losing them)?
I've been using VFAT formatted SD cards for years to transfer files between devices (tablets, cameras, GPS, computers) under different OS (Linux, Windows, Symbian, Android) without, as I recall, any significant problems. In some cases (the GPS), that's the only way to copy files.

Recently (May 2016) I got a new phone, and tried to copy a file from my Android (4.2.2) tablet to the Android (5.1.1) phone via SD card, putting the card from the tablet in the phone. The phone trashed my SD card. Hundreds of files were renamed and moved to LOST.DIR, and some I think deleted (I recovered more with **photorec** on Linux, and most have metadata such as EXIF that I can reset the date and name from, but it was annoying).

This seems to be repeatable; I tried with a new card, originally on the phone, and tried creating files under Linux (Fedora 9). If I create a new file under Android 4.2, then move the SD card to Android 5.1, it will rename the file into LOST.DIR. It seems that 5.1 is running an **fsck** pass when the card is inserted, "repairing" it. If I try "fsck.vfat -r" on Fedora, it doesn't like the file .android\_obb, saying it's an illegal filename, but it doesn't trash the FS.

I thought about using an EXT4 formatted SD card, which Android and Linux will recognize, but Android won't it seems automount it. I can mount it manually on my jailbroken tablet, as root from adb, but that seems clunky and besides, I haven't jailbroken the phone.

There are hundreds of complaints online about LOST.DIR, so it's hard to find a good technical answer. Does anyone know more about this, such as why it happens or how to prevent it (apart from not doing that particular transfer) ? For instance, can one disable the fsck on insertion ?

# Answer
> 0 votes
You should probably mount the SD card with a USB reader in the PC, to see if the SD card or filesystem is damaged.

I had that issue a couple of times and it was that the SD card was actually corrupted or broken. So, a filesystem check might fix it or you will know that it needs to be replaced.

In Linux, you could check the filesystem with **fsck.vfat**. It works ok for a fat32 filesystem (not so for ntfs), so you could try that. Or use some other GUI utility like Gparted, Disks or whatever you like.

In Windows you should right click your SD drive (in my computer), select **properties**, the **tools** tab and **check now**. You can leave the auto fix errors checked if you don't mind losing files. *(Disclaimer: I don't use windows, so the way to get to this might have changed in the last few versions).*

If the card has corrupt sectors, the wisest thing to do is to format it (in vfat/fat32) and fill it with files (like mp3 or movies), then run another filesystem check. If it fails again, you should replace the SD.

ps1. Even if you don't have corrupt sectors, re-formatting the filesystem may fix the underlying issues. And if the problem persists, you should replace the SD.

ps2. Regarding **ext4**, it's not supported by default Android, you could use it with a partition if you have rooted the phone and Link2SD installed, but it's not recommended. **ext4** has a *journal system* which would read & write more often to the SD and diminish the cards life. **ext2** is recommended instead (is the last ext filesystem without journal).

**Update after re-reading:**

Android 4 (kitkat), 5 (lollipop) and 6 (marshmallow) use all different methods to handle external storage (sd cards).

I didn't quite understand at first read that you were **moving** the SD card from one phone to the other.

As the access method to external storage changed between versions, this might be a permissions issue and you might be breaking some internal android settings.

You should try sharing the file with another peer to peer (email, telegram, syncthing, bluetooth or bittorrent sync) android utility or cloud based storage (dropbox, mega, wetransfer, etc.).

---
Tags: external-sd, file-system
---


# Question
Title: Enable "OEM Unlock" via build.prop edit!
I need to bypass fingerprint lock on an Samsung Galaxy A8 (A800F) phone in order to save the data stored on the phone, FRP was ON but i managed to fix it and change it to OFF, Now i can flash any custom recovery i want, but it won't boot into recovery (RECOVERY IS NOT A SEANDROID ENFORCING), That error because of the OEM Unlock option isn't activated, So my question is there any other way to enable that option without getting into settings?, can i just modify the stock system.img and add a line to the build.prop to enable that option?

# Answer
> 1 votes
OEM unlock is not a line in the build.prop file or any other user accessible file that we know of, it is a hidden flag somewhere (probably encrypted) and not in the ROM itself (flashing a custom ROM or completely wiping all visible partitions does not change the setting's state). Unfortunately, if you can't somehow access the Developer menu, you will not be able to unlock the bootloader.

The answer is that as of now, this is not possible with this device.

---
Tags: samsung
---


title: Phone downloads mysterious file

text:
# Question
Title: Phone downloads mysterious file
I wasn't doing anything with my phone, when I pulled it out of my pocket a notification saying "-tWW3IHZgSg - Download complete." was visible. This file was in the downloads folder, I copied it to my PC and running the unix "file" command on it returned "Macromedia Flash data (compressed), version 17". I certainly didn't download it and I have no idea what it could be. Here is a DropBox link of the file: https://www.dropbox.com/s/yowi4qlnlxuf6wz/-tWW3IHZgSg?dl=0

# Answer
Possibly a flash animation file. Without access to my computer, I can't find out for certain.

As for why it showed up in your downloads? Most likely an error in a program that caused a download notification when downloading cache data or a temporary file, judging by the filename. Probably an advert or small animation from a webpage or app. It's worth noting that most free apps have ads as well as most websites, and most advert animations are flash animations.

TL;DR: Probably a glitch causing an advert or cached page animation to appear in your downloads.
> 0 votes

---
Tags: updates, hardware
---


# Question
Title: How to mount sdcard1 (external SD) as internal storage?
I understand that there are many tutorials and the like on this very subject, but none ever really matched my exact situation... I have a rooted moto g in which I have a 200gb micro sd card (laptop is down right now, I download all my media with my moto) and a mere 5gb of internal storage. Now it becomes confusing for me... my storage folders are named 0 and 1, internal and external... and my "internal" storage is labeled as"emulated" sdcard0. If I enter the sdcard shortcut from my phone's root directory I'm taken to this emulated SD.
So, okay, I'm assuming that my internal storage is partitioned in two, perhaps the first partition is dynamically allocated so I have a place to store my pics and downloads at the same time maintaining the files in /data...so now I'm stuck constantly moving files from internal to external every time I download something because I get insufficient storage warnings. So how would I go about dedicating the 5gb totally to my /data and having the phone then make my 15gb sd take the place of emulated sdcard 0?

# Answer
> 1 votes
Due to how Android handles SD card permissions, it is no longer possible to "swap" the internal and external storage of the device and trick it to use the SD card as "internal" storage any more.

Since you are rooted, I would look into any of several Android 6 based ROMs that are available for the Moto G, after installing one of those you can adopt the the SD card as internal storage. Be aware that this will make the card unreadable in other devices without reformatting it and it can only be seen via a USB connection since it will be formatted as ext4 and encrypted. I would recommend using XDA's Moto G forum area for more information regarding specific ROMs and how to flash them.

The other option would be to use an application like Link2SD, which would require you to partition and reformat your SD card, and it uses symbolic links to the partition on the SD card. This still requires the app be installed on the device first and moved, but it can free up significant space and using the paid version can move even more data to the SD card. See the application linked above for more information.

---
Tags: internal-storage, storage
---


title: Whatsapp "last seen" issue?

text:
# Question
Title: Whatsapp "last seen" issue?
When I click on an individual chat and it reads "last seen at 8:30," does that mean that is that last time they looked at our chat?

# Answer
"Last seen at XX:XX" shows when they last were using Whatsapp, not necessarily in your chat.
> 1 votes

# Answer
As WhatsApp FAQ say:

> Last seen refers to the last time the contact used WhatsApp.
> 1 votes

---
Tags: whatsapp-messenger
---


title: will gaming destroy my phone battery?

text:
# Question
Title: will gaming destroy my phone battery?
I think games probably destroyed my Note 2 battery. I often play games for hours straight while charging. Last Sunday it was dead with horrible heat. Then I borrowed friend's mpj backup battery, swapped it, and everything worked perfectly again. Now I have ordered a new battery online. I am not sure if playing games while charging could destroy the battery, if so, i swear wont do it again.

# Answer
Charging and playing heavy games damages the battery very quickly. It is caused due to the overheating while charging, short Recharge n discharge cycles while charging n playing games and heat due to the GPU. Heat is the sole enemy of Battery. This is the same scenario in most of the mobile devices.

I recommend you to first fully charge the device n play until the charge drains out. I know it's a bit harsh.
> 1 votes

# Answer
I recommend not using your phone while charging as this can cause your phone to overheat. Also when you are using your phone while charging what actually happens is that the amount of time the battery actually requires for being fully charged increases due to simultaneous consumption. This can also cause the battery to swell and even hurt its life in longer run.
> 0 votes

# Answer
We cannot say as such anything. If u use ur phone for hours, you might probably destroy your battery. So the conclusion is:- Not only games destroy your battery, any other app can also destroy ( Condition is that if u use it for hours and get used to)
> 0 votes

---
Tags: battery
---


# Question
Title: i have a samsung galaxy s6 edge dont have google password
i have the galaxy S6 Edge don't know google account password is there anything i can do to use the phone the phone says there was an unauthorized factory reset i purchased the phone second hand and can no longer find the person i purchased the phone from

# Answer
> 0 votes
You need to flash new ROM using Odin. ***Before*** you do it, wipe the /system and /data partition. If this don't helps, you probably need to take your phone to service.

---
Tags: password-protection
---


# Question
Title: lost all photo in mobile in samsung galaxy core 2
I have a phone name Samsung galaxy core2, my problem is my all photo is save in SD card but it is not showing in the gallery I have even try to remove the SD card n restart it but then also it is not showing any photo n then I again insert SD card n restart it this process I have done near by 5 time but then also photo is not showing in gallery, please try to help in collecting my all important photos.

Thank you angle.

# Answer
First of all check your pictures in file manager. If they are deleted from there too than there is a app which can recover deleted pics or you can recover your pics through computer. Here are both methods.

**Through App**

**Through PC**

* Download Recuva
* Use a memory card reader or connect your Smartphone to PC
* Open Recuva and choose your SD card
* It will show you all things which can be recoverd.
> 0 votes

---
Tags: 4.4-kitkat
---


# Question
Title: how to re-enable first time setup at next boot?
tl;dr: What is the hidden setting that tells the first-time-user-wizard to run? i just want to re-enable that flag so next time the phone boots it shows the new user wizard and UI hints.

A friend gave me his new nexus to install CM11 and a few applications.

To install those applications i created a bogus Google account, downloaded them from the store, configured and then removed my account.

now i want to give the phone back in a way that when it is powered on, it shows the create new account/enable Wifi/etc wizard.

I already tried wiping out data from "one time setup" system application, but that did nothing. Any other ideas?

# Answer
I had the opposite problem. I deleted OneTimeInit and SetupWizard and after a hard-reset my system was acting like in first time init screen:

* notification pull-down is unavailable
* recent screen is unavailable
* home button is unavailable
* limited power menu

So I had to set all those first boot flags manually. Then, I found three of them, which solved my problem:

```
settings put global setup_wizard_has_run 1
settings put global device_provisioned 1
settings put secure user_setup_complete 1

```
> 1 votes

# Answer
did not find the solution. but found the 'good enough workaround'

1. delete all wifi you have saved
2. charge battery to maximum
3. remove account used to install everything
4. clear recent app history
5. delete the home screen app data.
6. open the new account setting
7. lock phone.
8. ship it
9. hope it arrives in less than 3 days which is what it took here to drain the battery :D

now when the phone is taken out of the box, it will have (almost) the same as the welcome screens as the phone is factory reseted, but will keep the apps installed. It will prompt for new/existing account, pair with wifi, and show all the home screen apps hints.

and i was spared the work of adding a few extra apps to the cyanogemMOD image and ship the phone 'factory' reseted. much easier that way :D
> -2 votes

---
Tags: cyanogenmod, user-interface
---


title: Stuck at CyanogenMod recovery

text:
# Question
Title: Stuck at CyanogenMod recovery
I have a Samsung Galaxy Tab p3100 and i can't flash anything. All I have is a Stock CyanogenMod recovery and i can't even go through odin and install a new cwm/twrp. I don't know why but it says USB device is not recognized :(

I've tried to uninstall the usb thing in device manager but no luck. My only chance is flash a rom or a SIGNED cwm/twrp (i guess i'm running out of options) for my device but i can't find any signed zip file to be flashed on cyanogenmod recovery please help.

# Answer
You can install TWRP with root access without the need of a PC.

1. Download the latest image for your device here.
2. Your phone needs to be turned on.
3. Copy the recovery IMG to the root of your sdcard and rename it to `twrp.img`.
4. Open a terminal application and execute this command: `su -c "dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p6"`
5. The custom TWRP recovery is now installed.

> **Note**: Do not use this guide for any other devices, it will be bricked.

---

The reason your device isn't recognised on your PC is probably because you have Windows 8/8.1/10 installed. The drivers (ADB) for Android phones do not work correctly yet. There are some workarounds on the internet.
> 1 votes

---
Tags: recovery-mode, clockworkmod-recovery
---


# Question
Title: Recovering lost or stolen phone using IMEI
I have lost my android phone please help me find its location. I have tried to recover it but all in vain.

What can I do to recover it back using IMEI ?

# Answer
> 0 votes
Call your provider. They have support teams whose entire purpose is to find lost phones.

---
Tags: data-recovery, lost-phone
---


# Question
Title: What Does "[UID]" appended to a root request mean?
I recently got a root request that came up as "Greenify \[UID\]". This looked suspicious to me as I usually get greenify requests as just "Greenify". I have tried to contact the developer of Greenify and I have yet to get a reply. Could someone clarify what "\[UID\]" means?

# Answer
> 0 votes
UID is the "User ID" assigned to an app.

On Android, each app runs on a separate user (for sandboxing). So on install, the system "creates" a UID/GID (UserID/GroupID) pair for new apps, which is what they are identified by. This is also used for file permissions, to ensure private data of an app stay private (and no other app can simply access them; see our file-permissions tag-wiki for details).

> At install time, Android gives each package a distinct Linux user ID. The identity remains constant for the duration of the package's life on that device. On a different device, the same package may have a different UID; what matters is that each package has a distinct UID on a given device.

<sup>(Source: Android package security)</sup>

For further details, please take a look at:

---
Tags: rooting, root-access, malware, supersu
---


# Question
Title: Clash of clans not compatible with honor 4c
I m not able to install clash of clans on my new honor 4c please help me to install it.I search the name of COC but I don't get any.

# Answer
Try following the Play Store link: https://play.google.com/store/apps/details?id=com.supercell.clashofclans&hl=en
> -2 votes

---
Tags: clash-of-clans
---


title: Strange text message

text:
# Question
Title: Strange text message
#tps#16#tpe# if you don't need time for error correction, #lks#click here#lke#. What is this??

# Answer
I wouldn't click on ANY link from someone that I don't know. You are asking for trouble!
> 3 votes

---
Tags: instant-messaging
---


title: "Unfortunately ... has stopped"

text:
# Question
Title: "Unfortunately ... has stopped"
I'm dealing with a brand-new Samsung Galaxy J5 and various apps and services keep crashing, making the phone all but unusable. It's German but these are the services that are stopping:

* Kontaktspeicher angehalten (contact storage)
* Kontakte angehalten
* Weather Daemon angehalten
* Bevorzugte Kontakte angehalten (preferred contacts)
* Dual-Uhr angehalten (dual clock)
* Uhr angehalten (clock)
* Download-Manager angehalten
* LogsProvider angehalten
* Medienspeicher angehalten (media storage)
* Adapt Sound angehalten

Device details:

* Samsung Galaxy J5, SM-J500FN
* Android v5.1.1
* Kernel v3.10.49
* Build number LMY48B.J500FNXXU1AOI6
* rooted (so I can use Titanium Backup) and running SuperSU; using stock recovery

Based on Google results and site searches here, **I have already tried the following without success:**

1. Simply reboot the phone.
2. Free up some space. (this is an 8GB model and there's at least 1GB still free)
3. Don't disable any packages. (after the most recent factory reset, the Samsung package disabler isn't even installed.)
4. In Settings \> Application Manager \> (app name), clear the cache and clear the app data; repeat for all affected apps; also for the Google Play Store and for Google Play Services; then restart the phone.
5. Update the applications via the Google Play Store app. (This fails for any and all apps because the Download Manager keeps crashing.)
6. In Settings \> Application Manager \> Android System WebView, uninstall updates, then restart the phone. (Version is now reverted to 43.0.2357.121 and was 51.0.2704.81 which I first made a backup of using Titanium Backup.)
7. Connecting to *Samsung Kies* software in Windows 7. (This probably fails due to a constant stream of *media storage* crashes while Kies tries to connect to the phone.)
8. Wipe the phone using factory reset.

I would like to re-flash the original stock Samsung ROM on the phone so I could return it to real factory default state, but finding the real Samsung ROM is a jungle of Russian and suspicious paid websites that I don't want to dive into, and it's compounded by the multitude of Samsung Galaxy devices. (**Update:** thanks to Thomas, the link to the original ROMs is here but the downloads only work using IE. I will now try re-flashing the ROM and see if that helps.)

(I'm beginning to regret getting my wife a Samsung rather than a Google Nexus model, but she wanted a physical home button. Why does Samsung manufacture *so many* different models?)

# Answer
> 1 votes
I recommend you to flash the stock firmware on your device.

As you said you didn't know where to download firmwares for Samsung devices; I'll give you some information.

Personally I always use a site called Sammobile. They host every firmware made by Samsung. The firmwares are 100% stock and won't trigger Knox. You will need to register an account on their website, but it's free.

You can download the firmware for your device here. The firmware can be flashed by using a Windows application called Odin (download link in the guide below).

When the firmware is downloaded, flash it on your phone. Here are the steps:

1. Extract the firmware
2. Download Odin 3.11.1.
3. Extract the Odin zip file.
4. Open Odin.
5. Reboot your phone to download mode by holding the home, power and volume down buttons. Release only the power button when at the Samsung logo, and release all of them when you see a green Android robot. Then press volume up to accept the warning and you'll see DOWNLOADING.
6. Connect the phone to your PC, Odin should now see your device.
7. Add the firmware file to AP/PDA. (The "not responding" is normal, just wait).
8. Make sure re-partition is not checked.
9. Click the start button. The flashing can take some time.

> **Note**: The firmware will not factory reset your phone, so if your phone is stuck booting, don't worry. Just boot to the recovery mode, do a factory reset and reboot the device.

---
Tags: samsung, 5.1-lollipop, crashes, samsung-galaxy-j5
---


title: Save images via Chrome for Android

text:
# Question
Title: Save images via Chrome for Android
I can save images from other sites on chrome browser but cannot do it on Facebook. Does it contains any JavaScript which block saving images?

How to save them ?

# Answer
> 4 votes
Try this way. Go to the photo \> Click "View Full size" \> Then click and hold on the photo, where you'll get an pop-up asking to Save image,Open in new tab...etc

# Answer
> -1 votes
type in address 'mbasic.facebook.com' and you will be able to save images.

---
Tags: chrome-for-android, images
---


title: Port a domain address to a LAN address

text:
# Question
Title: Port a domain address to a LAN address
In an Android device, is it possible to port a URL such as `www.example.com` to a local network address such as `192.168.0.2:8081`?

Do I need to install an application on that device?

# Answer
> 3 votes
Not a app, but root access, it can be done editing the hosts file in android /system/etc/hosts, although you likely need a computer with adb and some routing skills. Perhaps a honeypot would get the job done with less hassle.

---
Tags: networking
---


# Question
Title: When I open Gallery phone starts going through a Gmail installation Wizard
My friend has an Android (he's an older gentleman and not very mobile phone savy) and when he opens the Gallery, a Gmail installation screen pops up. This just started today. He doesn't have a Gmail address and doesn't want one. He simply wanted to look at a picture from his Gallery and it went to this Gmail installation screen. I've looked at it and once it lands on that screen, I can't get past it, other than creating a Gmail account, which I'm not going to do. . I was able to get to the Gallery via the attachment function in his email, and all the images are there, so I know the Gallery "content" still exists. I just have no idea why "Gallery" would point to a Gmail setup screen instead of the Gallery I personally have an iphone so I have no idea how to help him. Any help anyone can provide is appreciated.

# Answer
> 0 votes
I have a feeling the "gallery" app somehow links up to google photos or any of google's services and hence it's requiesting your gmail authentication.

It is generally a rule of thumb to association an android smartphone with at least one functioning gmail account. This is what enables you to access the play store and certain other core features of the smart phone.

You may try to do one of the following:

**1. Use android's basic file explorer that is built in.**

Depending on what version of android you are in, you should be able to get to the file explorer via Settings \> USB & Storage \> Explore ( or simply tap on images)

**2. Install a third party gallery app**

You may try to install a third party gallery app on your phone in order to access the photos in your local storage. If you are installing it via the play store, it is again going to prompt you to sign into your google account. Consequently, you can download the apk separately and have it installed as well. You will need to first disable unauthorized app check (settings \> Security \> Unknown sources (uncheck this).

Post this, you can download any gallery apk. I would recommend you download this app called Focus. It should be available in apkmirror.com. Since I'm answering this from my office, I am unable to provide you with the direct link.

You many then click on the downloaded notification in order to install the app. Should you be unable to do that for whatsoever reason, you will still be able to locate the app via android's default file manager (settings \> USB & Storage \> Explore --\> Then nagivage to downloads directory.

---
Tags: gallery
---


# Question
Title: Memory is filled with nothing (dumpstate/logcat?)
I have a Nexus 5 that says that I don't have enough space on the phone. I have checked the storage settings (see screenshots) and it is missing half of the space.

I have searched and people recommend deleting dumpstate/logcat with `*#9900#` command, but when I enter the command nothing happen.

Any ideas?

Click image for larger version

# Answer
As izzy deleted my previous answer (Hard reset isn't just a power off, I cant even take my battery) I repost the answer

Hard reset do the trick, link of "How to do a hard reset"

```
http://www.smartmobilephonesolutions.com/content/how-to-hard-reset-an-android-phone

```
> 0 votes

---
Tags: nexus-5, insufficient-memory
---


# Question
Title: USB tether android to laptop, use laptop as wifi router
I have unlimited tethering via usb, but not wifi via metro... so can I tether my phone to the laptop (via usb) and use the laptop as a wifi router? Virtual routers don't seem to be able to pick up on the "pda net modem" as a viable connection to share, and creating an adhoc isn't working either.

# Answer
If you have the $60 dollar plan with metro your wasting your time with Pda. If your phone can hot spot use. Metro will not charge you anymore for this at the higher price. I did it. You'll get messages that say otherwise.....ignore them...there's a disclosure that now states they no longer charge for Hotspot on the 60 dollars plan.
> 0 votes

---
Tags: wi-fi, tethering, router
---


title: android improve internal storage

text:
# Question
Title: android improve internal storage
is it possible to use an sd card as part of a smartphone's internal storage, even rooting the phone?

I have read that google has been on that feature since android M, but what about versions like kitkat?

thank you in advance for any help.

# Answer
You need to change the layout of the device

You need to build a specific rom and a specific recovery to adopt the sdcard

> **What do the *specific* rom and *specific* recovery means ?**

Let me start by how android manages storage

As per kitakat the storage is determined by the `fstab` and the `storage-list.xml`

This define what blocks should be used for what purpose more specifically they determine the partition

> **To adopt the storage**

* You need to build a new rom with modified `fstab` and
`storage-list.xml` *(till lollipop because android 6 uses only the
fstab)*
* Then build twrp *(or any other recovery)* with modified `fstab` and
`storage-list.xml`
* Then flash twrp and wipe everything using advanced wipe *a word of
caution this will wipe your sdcard*

Enjoy
> 1 votes

---
Tags: 4.4-kitkat, internal-storage, sd-card, adoptable-storage
---


title: How to factory reset a android sunrise

text:
# Question
Title: How to factory reset a android sunrise
My Phone is an Lg Sunrise and it wont let me factory rest nor is the volume down and lock button working so what else could I do

# Answer
1. Install the correct drivers for your device, and install 15-second adb installer from here.
2. Right-click in your ADB folder (usually in root of C:) and open a command line and input the following:

```
adb reboot bootloader

```
3. Check to see if the phone is in fastboot mode.

```
fastboot devices

```
4. If it doesn't show anything, wait a few seconds and try again.
5. Wipe the user data/cache.

```
fastboot -w

```
> 0 votes

---
Tags: factory-reset, lg-sunrise
---


title: How to unbrick my smartphone

text:
# Question
Title: How to unbrick my smartphone
I rooted my android 4.4.1 jellybean custom built smartphone so i could delete some malwares/adwares that installed themselves as system apps. Now i guess i got too "over-excited" deleting the malware/adware apps, that i mistakenly deleted a clean system app. Now my phone doesn't pass the boot stage and hangs after playing the intro animation. I hope you guys can help me since i didn't totally wipe off everything. Plus the phone is exactly like Google Nexus 5X.

# Answer
To flash a new ROM, you need to install a Custom Recovery such as ClockWork Mod (CWM) or Team Win Recovery Project (TWRP). These are what will allow you to flash back to a stock ROM- which you said above was 4.4.1 jellybean. That is actually an issue, because jellybean is 4.3, and kitkat is 4.4.1. Just make sure you get the right one, and you should be good (just wanting to bring that to your attention!). I won't go through all of the details, but the gist of the process is: install your Custom Recovery first, then get the stock ROM onto your SD card (Plug into computer and drag/drop zip into phones internal storage). After that, boot into Recovery mode (which will launch the Custom Recovery you installed earlier) on your phone, find the zip and mount it. I won't go too in depth because there are some great articles that explain it way better than I could even try, but here's a start:

Custom Recovery: http://www.addictivetips.com/mobile/how-to-install-a-custom-recovery-to-an-android-phone-device/

Flashing stock rom: http://lifehacker.com/how-to-flash-a-rom-to-your-android-phone-30885281
> 0 votes

---
Tags: unbricking
---


# Question
Title: unlocking a cracked phone through the computer?
I cracked the screen on my Samsung Galaxy s6 Edge and now I can't unlock it. I have looked all over for a way to unlock my phone using a computer but to no avail. I have tried droid screen, some tools on xda forums and a google chrome app. None of them seem to detect my phone. I distinctly remember turning on usb debugging on my phone but I am not certain. Is there any way to check if usb debugging is enabled on my phone without actually opening it? Also if usb debugging is not enabled, is there still a way to control my phone screen through my computer? I have unsuccessfully tried to install ADB but after the first few steps of the installation I get lost in the technicality of the language. My phone is not rooted. I am running windows 10 and I posses almost zero technical knowledge about the workings of android and how it connects to a computer. I would appreciate if somebody could point me in the right direction or explain what I need to do in simple language. Thanks!

# Answer
> 1 votes
Once the adb files are on your pc, all you have to do is run the command to list adb devices. If no results show up, your device does not have usb debugging enabled. If you get a result, an 8 digit number.. that means you have it enabled and the phone is connected. There is a way to enable usb debugging via command line but then, that is even nore technical. Save yourself the headache and unlock your phone with a usb mouse.

# Answer
> 0 votes
Conect a usb mouse, you will need a usb mouse with a usb type A to microusb adapter to connect the mouse directly to your phone, provided that you can still see the area of your screen needed to unlock your phone, even if touches arent being detected.

---
Tags: usb-debugging
---


# Question
Title: Android software corrupting again and again
i'm using micromax unite 2 mobile for about 1.5 year. After just more than 1 year of its usage its software got corrupt. As the warranty was over so i had to spend money to get it repaired from micromax care. But then after 1 month its soffware again got corrupt. So again had to spend money to get it repaired. Then again after 20 days its software was corrupted. Please tell me why my mobile's software is corrupting again and again?

# Answer
> 1 votes
I am also a unite 2 user and i had faced this problem. However i repaired it myself. May be the problem is with your ROM. Micromax customer care service is of worst level so leave them. Here is a fixe.

* **Flash a new stock ROM. Download ROM And installation guide from here**

Flash ROM with the help of SP flash tool and format your device before flashing(its easy)

# Answer
> 0 votes
As your warranty is over, you may push custom recovery and flash a custom or stock room in your unite 2. You can get all the resources @forum.xdadevelopers.com. Trust me I have flashed my phone and bricked it hundreds of time experimenting and didn't spend a rupee on it

---
Tags: 5.0-lollipop
---


# Question
Title: Why does ulrdispsvcfastwl wakelock keep draining my battery?
I am using Slimkat ROM on a Nexus 5 with At&t. My battery life has been excellent with this ROM. Recently I've been getting a ulrdispsvcfastwl wakelock that will keep the phone awake continuously for hours until it drains the battery. The wakelock is usually set by google play services. Does anyone know what this wakelock does and if it is safe to disable it?

# Answer
Looks like this wakelock is related to google location history reporting. I found this wakelock shown up today only after I enabled the Google Location history. It could be equally true with Google Now location reporting.

Basically, to my understanding, this wakelock is related with reporting the location back to the servers which would help seeing the location history. I disabled the Google location history reporting and the wakelock is not active anymore.

I hope it helps.
> 1 votes

---
Tags: battery, nexus-5, google-play-services, wakelock
---


title: Nexus 5X stays awake after charging

text:
# Question
Title: Nexus 5X stays awake after charging
Nexus 5X running 6.0.1 shows awake after disconnecting charger cable.

**Reboot helps** but later the awake state persists if I connect charger back.

# Answer
> 2 votes
I've found the root cause for awake state - it is **Viber**. To detect this I've completely removed all third party software and left only one came from Google (my Nexus 5X comes only with Google and no bloatware).

So adding apps one by one I was checking the issue appearance after every. The issue back after adding **Viber** and immediately has gone after removing it.

---
Tags: charging, sleep, nexus-5x
---


# Question
Title: my phone is not booting or cant access to recoverymode
I tried to root myGT- i8262 with many apps but it didnt worked and i tried using Odin,after i added TWRP it showed pass in odin window and when my phone was booting it showed a yellow triangle with an exclamation mark,so retried the procedure about 3-4 times and still it was not gone and i couldnt enter my recovery mode,and after searching internet i saw to recover from soft brick use recovery.tar using odin,i done that also and bow my phone doesnt starts ,when i hold the power button it showa samsung name with yellow triangle and screen turns off.please help me.

# Answer
1. Download and install SamsungUSB drivers, if not already present.
2. Download and extract Odin zip file.
3. Download and extract ROMfile. You will either get multiple .tar.md5 or .tar files. Launch Odin Odin3 v3.07.exe asAdministrator.
4. Click on PDA button and browse file with PDA in its name (if there is only one .tar/tar.md5 file then it is PDA).Click on Phone buttonand browse file withMODEM in its name (Ignore if not present).Click on CSC button and browse file with CSC in its name (Ignore if not present).Click on BootLoader button and browse file with BOOT in its name (Ignore if not present).
5. Make sure that only Auto Reboot and F. Reset time arechecked. Also make sure thatRe-partition check box is unchecked.
6. Switch off and power your device into Downloading modeby pressing and holdingVolume Down + Home + Power button and releasing only when you see a Warning! screen. Then press Volume up button to finally entering in downloading mode.
7. Plug in your device into PC using USB cable. If Odin detects your device the ID:COM box will turn into light blue or green. If not, then try reinstalling your device drivers or plug it into a different USB port.
8. Once every step mentioned above is successfully completed, press Start to begin the flashing procedure. **DON’T TRY TO INTERRUPT FLASHING PROCEDURE ANYHOW OTHERWISE YOUR DEVICE WILL BE HARD BRICKED.** Flashing process takes time, so be patient.
9. Once flashing process is successfully completed, Odin will show PASS. Your device will reboot to 4.1.2, first boot is always very long so have patience.
> 0 votes

---
Tags: rooting
---


# Question
Title: How do I view apk information in Mac OS X?
On windows, I have Android Commander installed so whenever I double click on an APK file, the information about it (ie: package name, version, etc) is displayed. I'm looking for something similar for a Mac OS X. What are my options?

# Answer
> 7 votes
The best and quickest way to use it is to obtain the tool from the Android SDK, called `aapt` and invoke it from the command line like this:

`aapt d --values badging some_apk_name.apk`

An example of the output is shown:

```
package: name='foo.bar' versionCode='1' versionName='1.00'
sdkVersion:'7'
targetSdkVersion:'16'
application: label='FooBar' icon='res/drawable/ic_launcher_icon.png'
launchable activity name='foo.bar.activity'label='FooBar' icon=''
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
uses-feature:'android.hardware.touchscreen'
main
other-activities
other-receivers
other-services
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '120' '160' '240' '320'

```

This will extract certain but limited values and parse the encoded `AndroidManifest.xml` (which is binary encoded upon compilation from Java source to APK binary).

# Answer
> 3 votes
You can use QuickLookAPK, a APK Quicklook plugin. It's actually a wrapper of the `aapt` tool t0mm13b mentioned here.

Instructions:

1. Download QuickLookAPK.qlgenerator zip file, unzip and put it in: `~/Library/QuickLook`.
2. Run `qlmanage -r` ; `qlmanage -m`
3. Now press `space` key for selected APK file in Finder and view the `AndroidManifest` file info.

# Answer
> 1 votes
You might want to take a look at e.g. apktool, which is written in Java and will run on a Mac -- the linked page even contains the installation instructions.

You might also want to take a look at APKInspector (written in Python, it seems). Not having a Mac, I cannot say for sure whether it will run on it.

Mentioned for completeness: APK Multi Tool. Will probably not run on a Mac, as the page only advertizes a Windows and a Linux version -- but maybe the latter can be made working with minor effort, so you might want to contact its developer.

# Answer
> 1 votes
As others have mentioned, apk is just a renamed zip file. For a quick look at its content, on the mac terminal, you can type

```
zipinfo apk-file.apk

```

you can also use the command `unzip` to extract its content.

# Answer
> -1 votes
You might want to try apktool. This will run on your Mac.

And as @Izzy mentioned, you can try APK Multi Tool to get the APK properties.

One last thing you could try is viewing the contents of the APK. This can be done by renaming your apk file to .zip and extracting its contents. You will then see a file called AndroidManifest.xml, this will show app version, package name, etc.

---
Tags: apk, macos, system-info
---


title: Charging over USB can be harmful?

text:
# Question
Title: Charging over USB can be harmful?
Considering that charging over USB can take around 5 hours (to only 1-2 hours it would take from the wall mounted plug), can it be harmful for the smartphone battery if it's always charged from USB?

# Answer
> 24 votes
I don't see how the duration of the charge would relate to whether or not it's harmful to the smartphone. I have never seen any documentation that keeping a phone plugged in perpetually (whether plugged into USB, AC or DC) would cause any harm to the phone itself. An argument could be made that it's harmful to the battery.

Constant charging is not generally a problem for Lithium Ion Polymer batteries (which most new cell phone batteries are). It is in fact better to frequently charge them, and not let them fully discharge.

One factor that does degrade the battery life of all Lithium Ion batteries is heat. The more heat it's exposed to the faster it will lose capacity, so I can see how keeping it plugged in may keep it warmer longer and theoretically degrade the battery life.

Here are a couple good resources discussing battery life:

1. http://batteryuniversity.com/learn/article/how\_to\_prolong\_lithium\_based\_batteries
2. http://www.droidforums.net/forum/tech-issues-bug-reports-suggestions/1974-understanding-battery-life.html

# Answer
> 3 votes
The issue is to not let the battery specifically lithium battery be full changed and not let it completely discharge . let it be between 40 to 80 percent. by using USB is more suitable because it let the battery to be slowly charged with significant absence of heat to damage the battery. Thanks

---
Tags: usb, battery, charging
---


# Question
Title: Still old configurations after updating CyanogenMod
I installed CyanogenMod 13 (UNOFFICIAL-20160104-NIGHTLY) on my Sony Xperia M (nicki) and updated it to CyanogenMod 13 (stable-20160527-NIGHTLY) successfuly. The update had no change on the configurations like the wallpaper, applications menu style, notifications menu, etc. I installed the exact version (CyanogenMod 13 (stable-20160527-NIGHTLY)) on my wife's Sony Xperia M (nicki) last day but I saw the wallpaper, applications menu style, notifications menu and some other things are changed.

In our Linux desktop (like Fedora, Ubuntu, etc.) usually there is a `.config` directory in the `~home` that keeps the configuration and if you simply delete this directory, after starting the application, it will run with new default configurations.

How can I delete/change old just CyanogenMod configurations/preferences directory on my CyanogedMod to see the new face and new menus of CyanogenMod? (I have no special customize on CyanogenMod but I do not to wipe all of my data on the internal storage like applications, etc.1)

# Answer
Did you first wipe the /system partition before you flashed the rom? Chances are you didn't. You may want to reflash the rom preferrably after wiping /system and /data
> 0 votes

---
Tags: cyanogenmod
---


# Question
Title: Why is my mobile trying to hide that GPS is getting used?
I've noticed my phone now and then to stop using GPS right in the moment when I switch on the display. This is noticeable because there is the "going away" animation of the notification which tells that GPS is in use. I can find no reason why my phone is trying to locate itself in such a moment.

At least one other user has reported this behavior, here in a comment to How to check which app uses GPS on Galaxy Nexus?:

> \[...\] it's just that when I unlock the phone I can see the GPS icon in the notifications bar for a split second, then it disappears. \[...\] – Dario Solera Jun 22 '12 at 7:01

I've then used logcat to save the log to a file on the phone in order to later examine what's going on:

```
username@desktop:~$ adb shell
shell@jflte:/ $ logcat -r 1048576 -n 10 -f /mnt/extSdCard/logging/main.txt &

```

At 01:52 when switching on my phone, I observed the mentioned behavior again (GPS notification going away the moment I switch on my phone's display). I've later copied main.txt to my desktop computer and filtered with `cat main.txt | grep -a -i location`. The log of the time in question is as follows:

```
06-12 01:34:46.293 D/GpsLocationProvider(  908): receive broadcast intent, action: android.intent.action.SCREEN_OFF
06-12 01:38:36.815 W/ResourcesManager( 9551): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
06-12 01:52:50.265 I/LocationManagerService(  908): remove 2bd78731 by com.google.android.gms
06-12 01:52:50.265 D/LocationManagerService(  908): provider request: passive ProviderRequest[ON interval=0]
06-12 01:52:50.265 D/LocationManagerService(  908): request 325c2a7a gps Request[ACCURACY_FINE gps requested=0 fastest=0] from com.google.android.gms(10055)
06-12 01:52:50.265 D/LocationManagerService(  908): provider request: gps ProviderRequest[ON interval=0]
06-12 01:52:50.275 D/GpsLocationProvider(  908): setRequest ProviderRequest[ON interval=0]
06-12 01:52:50.275 D/GpsLocationProvider(  908): startNavigating, singleShot is false
06-12 01:52:50.275 D/GpsLocationProvider_ex(  908): Data state true
06-12 01:52:50.275 D/GpsLocationProvider_ex(  908): getSKAFEnable : false
06-12 01:52:50.285 D/GpsLocationProvider(  908): setting position_mode to MS_BASED
06-12 01:52:50.505 E/LocSvc_ApiV02(  908): I/<--- void globalEventCb(locClientHandleType, uint32_t, locClientEventIndUnionType, void*) line 99 QMI_LOC_EVENT_LOCATION_SERVER_CONNECTION_REQ_IND_V02
06-12 01:52:50.505 V/GpsLocationProvider(  908): AGpsStatus is V2+: 96
06-12 01:52:50.505 V/GpsLocationProvider(  908): AGPS IP is v4: ffffffff
06-12 01:52:50.505 V/GpsLocationProvider(  908): Passing AGPS IP addr: size 0
06-12 01:52:50.505 D/GpsLocationProvider(  908): GPS_REQUEST_AGPS_DATA_CONN
06-12 01:52:50.505 V/GpsLocationProvider(  908): Received SUPL IP addr[]: null
06-12 01:52:50.545 D/GpsLocationProvider(  908): PhoneConstants.APN_ALREADY_ACTIVE
06-12 01:52:50.585 E/LocSvc_ApiV02(  908): I/<--- void globalRespCb(locClientHandleType, uint32_t, locClientRespIndUnionType, void*) line 125 QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02
06-12 01:52:50.905 V/GpsLocationProvider(  908): reportStatus status: 3
06-12 01:52:50.905 V/GpsLocationProvider(  908): reportStatus status: 1
06-12 01:52:50.905 D/GpsLocationProvider(  908): send an intent to notify GPS has been enabled or disabled mNavigating = true
06-12 01:52:51.055 D/GpsLocationProvider(  908): receive broadcast intent, action: android.net.conn.CONNECTIVITY_CHANGE
06-12 01:52:51.766 D/GpsLocationProvider(  908): receive broadcast intent, action: android.intent.action.SCREEN_ON
06-12 01:52:51.856 I/LocationManagerService(  908): remove 325c2a7a by com.google.android.gms
06-12 01:52:51.856 D/LocationManagerService(  908): provider request: gps ProviderRequest[OFF]
06-12 01:52:51.856 D/GpsLocationProvider(  908): setRequest ProviderRequest[OFF]
06-12 01:52:51.856 D/GpsLocationProvider(  908): stopNavigating
06-12 01:52:51.866 D/LocationManagerService(  908): request 3ec60783 passive Request[POWER_NONE passive fastest=0] from com.google.android.gms(10055)
06-12 01:52:51.866 D/LocationManagerService(  908): provider request: passive ProviderRequest[ON interval=0]
06-12 01:52:51.916 V/GpsLocationProvider(  908): reportStatus status: 2
06-12 01:52:51.916 D/GpsLocationProvider(  908): send an intent to notify GPS has been enabled or disabled mNavigating = false
06-12 01:52:51.916 V/GpsLocationProvider(  908): reportStatus status: 4
06-12 01:52:52.677 E/LocSvc_ApiV02(  908): I/<--- void globalEventCb(locClientHandleType, uint32_t, locClientEventIndUnionType, void*) line 99 QMI_LOC_EVENT_LOCATION_SERVER_CONNECTION_REQ_IND_V02
06-12 01:52:52.697 E/LocSvc_ApiV02(  908): I/<--- void globalRespCb(locClientHandleType, uint32_t, locClientRespIndUnionType, void*) line 125 QMI_LOC_INFORM_LOCATION_SERVER_CONN_STATUS_REQ_V02
06-12 01:52:52.697 V/GpsLocationProvider(  908): AGpsStatus is V2+: 96
06-12 01:52:52.697 V/GpsLocationProvider(  908): AGPS IP is v4: ffffffff
06-12 01:52:52.697 V/GpsLocationProvider(  908): Passing AGPS IP addr: size 0
06-12 01:52:52.697 D/GpsLocationProvider(  908): GPS_RELEASE_AGPS_DATA_CONN
06-12 01:52:53.398 D/GpsLocationProvider(  908): receive broadcast intent, action: android.net.conn.CONNECTIVITY_CHANGE
06-12 01:52:53.398 D/GpsLocationProvider(  908): receive broadcast intent, action: android.net.conn.CONNECTIVITY_CHANGE
06-12 01:52:54.098 D/LocationManagerService(  908): getLastLocation: Request[POWER_NONE passive fastest=0 num=1]
06-12 01:52:54.349 W/ResourcesManager(10089): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
06-12 01:52:54.729 D/LocationManagerService(  908): getLastLocation: Request[POWER_NONE passive fastest=0 num=1]
06-12 01:52:54.859 D/LocationManagerService(  908): getLastLocation: Request[POWER_NONE passive fastest=0 num=1]
06-12 01:52:56.601 I/dex2oat (10211): /system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --instruction-set=arm --instruction-set-features=div --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --dex-file=/data/data/com.google.android.gms/app_fb/f.apk --oat-fd=46 --art-fd=-1 --oat-location=/data/data/com.google.android.gms/app_fb/f.dex --runtime-arg -Xms64m --runtime-arg -Xmx512m
06-12 01:53:05.780 D/LocationProviderProxy(  908): applying state to connected service
06-12 01:53:05.800 D/LocationProviderProxy(  908): applying state to connected service
06-12 01:54:49.651 D/GpsLocationProvider(  908): receive broadcast intent, action: android.intent.action.SCREEN_OFF

```

As you can see, the GPS request is canceled 90ms after the SCREEN\_ON intent was broadcast. I'm sure this is a direct reaction to the broadcast, because I've seen this behavior so many times now.

Is there a reason for hiding the fact that GPS is getting used? Maybe is it better to use GPS while the display is off for lowering peak battery usage? What is actually triggering the GPS request? Is com.google.android.gms the Google Maps App? Why would it request a location update 18 minutes after I switch off the display?

# Answer
Several features in Google Play Services need to check your location in the background, maybe even when you're not using the phone otherwise. These features include geofences, which let apps react to you moving in or out of a particular region (e.g. when you're at home); Location History if you have turned on; Google Now's "current location" weather reports and suggested nearby places; activity or fitness tracking; amongst others.

It would be really bad for your battery life if the phone had to keep waking up to satisfy these requests. When you're not using the phone, normally it goes into a "low-power" state, where no apps run (not even Google Play Services), the main processor is underclocked or turned off completely, and radios (the cell radio, the Wi-Fi radio, the Bluetooth radio, and the GPS) can also be turned off or put into sleep modes. Coming out of that sleep mode costs quite a bit of energy, so Android tries to minimise unnecessary wake-ups, to extend battery life.

For this reason, Android's scheduler for recurring background tasks often delays a background task (such as a location update) while the phone is asleep, or it batches multiple tasks together (such as a location update and a check for new emails). But if the phone has to wake up anyway, because you've just turned the screen on, then any tasks which were delayed will run immediately.

Google Play Services' location update only takes a fraction of a second, especially if your location hasn't changed much, so it looks like it's just stopping when you turn the screen on, when in fact the whole update took less time than it took you to unlock the phone. Stopping the request isn't "a direct reaction to the \[SCREEN\_ON\] broadcast": rather, **starting** the request is a reaction to you bringing the phone out of sleep.
> 2 votes

---
Tags: gps, location-services
---


title: Cheaper in-app purchases

text:
# Question
Title: Cheaper in-app purchases
I play Game of War Fire Age and wondering if I can get cheaper packs on it, I'm from the UK and it costs me £79.99 to buy a pack but my Brazilian friend only pays $60 for the same pack, is there anyway for me to be able to change my region to Brazil and get the same deal, but then the only problem is my billing address, let me know if there is a way.

# Answer
> 6 votes
> is there anyway for me to be able to change my region to Brazil

Yes. But it may not be that easy.

I've done it twice, and each time was hit-and-miss. The first time, it only changed once I made a purchase with my new billing details. The second time it didn't work and I ended up deleting all my payment details, wiping my phone, and setting up the phone and payments, with a SIM card from my target country.

Also note that if you change your country to Brazil, the play store will show up in Portuguese and you will only be able to see/buy services (such as Newsstand, Video, Music, etc) that are available in Brazil (which may be less than what the UK has).

Google changes the country your billing is associated with according to your Google Play billing method. These are the instructions I followed from Google -

> We use the billing address of your default payment instrument in Google Wallet \>to help determine your home country for accessing the Play Store. Our collection of content can vary by country, so your view of the Play Store may differ from what others are seeing when you travel outside of the country listed on your default payment method's billing address.
>
> Please note that you must have a valid payment method with a billing address located inside a country in order to access that country's Play Store.
>
> If you're having issues viewing your intended country's Play Store and would like to change your default payment method or update an existing billing address in Google Wallet, please use the following steps:
>
> 1) Sign into your Google Wallet account to manage your payment methods https://wallet.google.com/manage/paymentMethods
>
> 2) Add a new card or change your default payment instrument to one with a billing address located inside your desired country
>
> 3) Open the Play Store and navigate to any item available for download
>
> 4) Click to begin a download until you reach the "Accept and buy" screen (no need to complete the purchase)
>
> 5) Close the Play Store and clear data for the Google Play Store application (Settings \> Apps \> Google Play Store \> Clear Data) or clear your browser cache
>
> 6) Re-open the Play Store. You should now see the Play Store that matches your default payment instrument's billing country.
>
> If you haven't yet added a payment method to your account for the first time, please add a card directly from the Play Store with a billing address that matches your intended country location. Then, follow steps 3 through 6 to show your intended country's Play Store.
>
> If you believe that you're experiencing a different location-related issue, please first verify if the country of your primary payment method matches your intended country. If the countries match, please provide any screenshots and additional details that might help me resolve your issue.

# Answer
> 1 votes
You can get Google Play Store credits from Google by answering polls through the *Google Opinion Rewards* app. Depending on where in the world you are, you can get a couple of dollars every month by spending 5–15 minutes answering a few questions.

The credits you earn can be used towards in-app purchases and other purchases through the Google Play Store. This way, you would indeed get cheaper in-app purchases but you’d have to work a little to get it.

---
Tags: google-play-store, localization
---


# Question
Title: Cyanogenmod 13: freezes and restarts in Asus Zenfone 5
I have installed Cyanogenmode 13 in my Asus zenfone 5, it works perfectly for few days then started giving the following issue:

**It freezes and reboot**

I have noticed it happened randomly, sometimes while playing game, chatting, opening contact, browsing

Any suggestion.

# Answer
> 0 votes
The reason why this happens is the bootloader being unlocked. There are random models of ZenFone 5s that are shipped by ASUS with some sort of defect in the motherboard (as they say...). If the original bootloader is replaced by an unlocked one and does not match with the bootloader originally installed on your device, the problem manifests. There are only two noted problems on those "lucky" ZenFone 5s: random freezing and disabled camera.

The only solution as of this time is to just get back into your ASUS stock ROM and re-lock your bootloader.

I know. It sucks. No one wants to help fix the problem since most users don't experience them. Just sell the phone, get a new one, and never go back to ASUS again.

I know I ain't.

---
Tags: cyanogenmod, custom-roms, reboot, system-freeze, asus-zenfone-5
---


# Question
Title: How can I securely install an older version of Chrome on a device that won't support newer versions?
I have an Android device that runs Android 4.0.2 and can't be updated any further.

When I tried to install Chrome from the Play Store, I was told:

> Your device isn't compatible with this version.

Indeed, Google says:

> Chrome is available on phones and tablets running Android 4.1+ (Jelly Bean). If you're **on Android 4.0 (Ice Cream Sandwich), Chrome version 42 and lower will work**, but you won’t get any updates to Chrome.

Fine by me, I can run and older version of Chrome. But where can I download the APK? A Google search for `Chrome 42 Android` gives me a lot of domains that I don't trust. I generally try to avoid installing or running executables from sources I'm not familiar with.

From Googles quote above, they seem to recommend that people on 4.0 run older versions of Chrome. But do they provide the APK? Or does any other trustworthy source provide it?

# Answer
> 2 votes
Give this a try:

http://www.apkmirror.com/apk/google-inc/chrome/chrome-42-0-2311-111-release/chrome-42-0-2311-111-4-android-apk-download/

I use APK mirror all the time and have never had any issues. You said 42 and below right? This is version 42

---
Tags: 4.0-ice-cream-sandwich, security, chrome-for-android, apk, unknown-sources
---


# Question
Title: Need to change the application download option
I have updated my mobile software from kitkat to lollipop. While updating, I was prompted to download the software over three option. I chose wi-fi. But when the software is updated, I am getting an error in notification area that "**download size requires wi-fi"**. This is happening for all the application that needs update. I tried to change the option for download in playstore setting to "**Auto update at any time. Data charges may apply**" but no luck. I have Moto E (2nd Gen).

Can anybody help me with this?

Thanks in advance.

--Nitin

# Answer
> 0 votes
Try going into the app manager in the android settings and clearing the cache and data on google play. If that doesn't work try uninstalling updates. If that doesn't work try to clear the default settings if there are any.

I'm pretty confident that one of those should fix it. If not you might want to look in XDA developers for your phone to see if there are any known bugs.

-Asloss

---
Tags: 4.4-kitkat, 5.1-lollipop
---


# Question
Title: After auto update, Samsung Tab S2 will not reconnect to Samsung Tab S2 9.7 bluetooth keyboard
My Samsung tab S2 had an auto update yesterday. Now, the matching samsung bluetooth keyboard will not reconnect. When I try it comes up with "unable to connect" message. Keyboard still shows as paired. Tried On/Off Bluetooth and reboot of tablet. Nothing. Any ideas??

# Answer
> 0 votes
I had the same problem on 6/13/16 with my Samsung Tab S2 and matching Samsung keyboard. In my case, the auto-update had apparently made the keyboard unrecognizable to the tablet. I decided to re-pair the keyboard with the tablet. To make the keyboard 'discoverable' by the tablet during its scan of nearby devices, I pressed and held the Bluetooth function key on the keyboard (which = F11 on my keyboard) until the keyboard signaled OK by flashing its blue-green-red light pattern. Once the keyboard was in that state, the tablet could discover the keyboard as a Bluetooth device and connect to it. Hope this helps!

---
Tags: samsung, keyboard, bluetooth
---


# Question
Title: Any Android keyboards that operate & feel like you're using an iPhone iOS keyboard?
I've been using iOS since iPhone 1 and now am on iPhone 5.

Hence, at times I find bunch of Android things confusing and unfamiliar.

So, in addition to launcher's that work well for iPhone users, I'd like to find suitable way to make the keyboard comfy/ match an iPhone user.

Is there any launcher app that behave like Iphone?

One of the primary interactions one has with the phone is its keyboard which comes into play with every app i.e. messaging, notes and so on.

Few times I considered moving to Android and just felt out of place using Android keyboard.

I do not like the Swype keyboards etc as well.

Given that Android supports variety of custom keyboards, I was hoping that someone replicated the exact "typing feel, interaction & look" of iPhone iOS keyboard on Android for people who are coming in from the other side.

I do not really care for the "look" but would like to have "it feel" as if I am wearing the iPhone "glove" that fits well.

**I'm not just looking for color and shape, but "behavior" & "responsiveness" and full emulation/ copying of iPhone keyboard behaviors E.g. How the iphone letters of "pop up above the key" around when pressed.**

I'm sure there are other intricate behaviors that someone with a fine eye or UI/UX insight would be able to observe and then maybe replicate/ hack towards Android.

# Answer
Admittedly, I haven't tried this one, but I found it by doing a quick Google search. The screenshots look decent and it appears as though it will do the job.

https://play.google.com/store/apps/details?id=com.sixgreen.android.softkeyboard

If you're after the newer style, this one also seems alright:

https://play.google.com/store/apps/details?id=com.arvin.applekeyboard
> 1 votes

---
Tags: keyboard, ios
---


# Question
Title: Is it possible to delete CWM backups without CWM
Previously I have installed CWM as my recovery but then I have flashed the stock rom back. CWM was removed as a result and I can no longer access CWM. I am trying to delete all the backups I made. Ideally I don't want to reinstall CWM.

I tried to find the location of the backups and I came across `/mnt/shell/emulated/clockworkmod/backup`. Is it safe to remove the files in this directory with adb? Or is there a better way to do it?

`/mnt/shell/emulated/` seems to contain a copy of the old files which is different than `/mnt/sdcard/`.

Note that this is on Samsung Galaxy S3 which the version of the CWM is fairly old.

# Answer
Yes. They are just files and can be deleted as normal.

There are probably several symlinks and aliases on your device that all point to `/mnt/sdcard/`, nothing to worry about there.
> 0 votes

---
Tags: adb, samsung, backup, clockworkmod-recovery
---


title: Packages for API level

text:
# Question
Title: Packages for API level
Hi, I'm new to Android development studio. My question is, if I am not using Android Emulator then do I need to install only these checked packages for every API level ?

# Answer
Yes, that is the actual SDK, which is the source code, so definitely install it if you are targetting that API level. About Google API, depends on the use case. If you are going to talk to the internet or use Play Services you will need them for sure
> 0 votes

---
Tags: installation, android-sdk
---


title: Logcat not working on my LG G4 (H815)

text:
# Question
Title: 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

# Answer
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
> 1 votes

---
Tags: adb, logging, lg-g4
---


# Question
Title: Android phone taps touchscreen on its own
I have an LG P690 Optimus Net. The issue I am having is that the phone often enters a state where it keeps on pressing the touchscreen's buttons by its self, and I have to press the back button several times to try and go back while it keeps opening new screens or entering text on its own.

I was wondering, is this something anyone else has experienced? How common is this defect, and has it to do with Optimus Net phones or with phones in general? Are some line of products more susceptible than others? If common then how does the problem I just described typically arise? Could accidentally dropping the phone or humidity in the air cause it for instance?

# Answer
> 3 votes
> I have no Article to show, I have not cross checked on Internet. Below is my personal doing.

Phone screen taps on its own. This usually happens to me when the phone is charging and I try to use it.

## There could be some possible causes which I suspect:

* Phone screen might not be clean. Sweat, dirt, food particles from hand can cause pseudo taps.
* When charging or after charging, static electricity on the phone surface might also be the cause.

## How I fixed it?

* Get a clean cotton cloth
* Rub it steadily on the screen to remove any particles causing taps.
* For static current removal, just remove the battery from phone and press the `Power` button for 10 seconds.

# Answer
> 2 votes
Yes. Seems there is a problem. The touchscreen takes inputs that was never made. Have a look at this http://www.thinkdigit.com/forum/mobiles-tablets/122921-official-android-discussion-thread-73.html#post1836923

There are various problems of Android that LG ships on the P690. I'd suggest installing a good custom ROM, which should fix the problem if it is not a hardware issue.

# Answer
> 0 votes
I had the same problem with the touch-screen of LG p690. I've installed a new custom ROM and searched a lot for answers.

In my experience, it's a hardware issue causing the touch-screen to randomly press itself.

My solution? I have a new phone.

---
Tags: hardware, touchscreen
---


# Question
Title: How to Root Galaxy S5 (SM-G900A) running Lollipop 5.1.1?
# Background:

I currently am in the process of trying to root an Android smartphone with the following device info:

> Device Model: Samsung-SAMSUNG-SM-G900A
> Android Version: 5.1.1
> Build Number: LMY47X.G900AUCS4CPA3

While I have attempted to use all of the following products, they all failed to root, leaving a message that my device was *"Not Supported"*:

# My Questions:

1. Given these device stats, is there ANY way for me to root my device?
2. If yes, how can I go about it?
3. If no, why not?

# Answer
As in the comment by @AndrewT., it appears that AT&T have locked the device against rooting (corrected the exploits used by these one-click root solutions back with Android 5.0).

From the link in the comment:

Emphasis and comments mine

> ...the fact remains that AT&T's Android 4.4.4, released in 2014, and Android 5.0 and 5.1.1, released in 2015, have all been unrootable and no-one in the worldwide rooting community has found a root method apart from downgrading to the AT&T, Android 4.4.2, NCE, firmware/kernel... \[to get\] an exploit that AT&T **closed off almost year ago with Android 5.0**. Make no mistake, this is not Google or Samsung preventing you from rooting... it is all down to your carriers, AT&T and Verizon.

This post appears to be from a reputed member of their community, so we can be reasonably assured that even the great people at XDA-Developers (AT&T SGS5 thread here) have not managed to root this particular device (see here).

Hence, we can say that as of now there is no way to root this particular device (AT&T Samsung Galaxy S5) on this particular Android version (5.1).
> 1 votes

---
Tags: rooting, samsung-galaxy-s-5
---


# Question
Title: Force MarshMallow to keep a Wi-Fi without Internet access
I'm associating a Nexus 5x running MarshMallow 6.0 to a Wi-Fi hotspot that has no Internet access. Android keeps dropping the connection every second and then won't even try to reconnect stating that there is no Internet access.

How can I force Android to keep this Wi-Fi connection even without Internet access?

# Answer
This shell command works on marshmallow: type su to enter superuser mode. Then type the following command: **settings put global captive\_portal\_detection\_enabled 0**

^^ it disables the "drop wifi if no internet connection" functionality.
> 10 votes

# Answer
My gateway was not correct. False problem. It's true that Android offers a message as stated in the question comment by Juozas.
> 0 votes

# Answer
To disable automatically disconnecting from a "poor" WiFi network, you will want to toggle the **Avoid poor Wi-Fi connections** setting.

This can usually be found in **Settings \> Wi-Fi \> \[menu\] \> Advanced \> Avoid poor Wi-Fi connections**.
> -1 votes

---
Tags: wi-fi, 6.0-marshmallow
---


title: (App) has stopped working

text:
# Question
Title: (App) has stopped working
I know there are already several posts about it (this one for example), but all the solution I found on this one, or one the Internet in general, didn't fix my problem.

My phone is a Wiko Fever, with the Android OS 5.1 (Lollipop) :

While launching, or performing a specific action in several apps, I have the error log :

> Unfortunately, (process) has stopped working.

*I guess it's something like that, since my OS is not in english*

---

As I said, I have this problem **only** on several applications :

* The default SMS/MMS application (when **opening a conversation**)
I can still receive messages, but can't open them in a conversation.
* Gmail (when **opening an e-mail**)
* Steam (at **launch**)
* Stack Exchange (when **redirecting to a post**, not in the menus)

I have tried almost everything said on the Internet :

1. Clearing App Cache
*I rebooted my phone afterwards*
2. Removing App Data
*I rebooted my phone afterwards*
3. Uninstalling and Reinstalling the app
4. Rebooting the phone in `Recovery Mode` then cleared phone cache

---

I fear the last resort which is the **factory reset**.

Do you have any idea what could be the cause, but mostly, **the solution** of this problem ? Thank you in advance !

# Answer
> 2 votes
I just found the cause of the problem : It was due to the Android System Webview which was bugging and then couldn't display web UI on several applications.

I just had an update of it and now everything works fine !

One of the update's patch notes (*translated from French, it may not be perfect*) :

> Resolved crashes in applications using WebView in an application context

---
Tags: 5.1-lollipop, crashes
---


# Question
Title: Rooting already unlock phone without losing data, possible?
As far as I have understood it's the unlocking part that requires wiping, and the rooting part doesn't. So, if I am already unlocked, can I root without losing my data? I've got a (red) Nexus 5 16GB Unlocked running Android 5.1.

# Answer
Yes, you can root as many times you want without losing data if your device is unlocked. I've done that on my OnePlus One.

For further clarification, it's the default mechanism in the device set by the OEM, that whenever the bootloader's default (locked) state is tampered it would issue a data wipe (a Factory Reset), most probably to protect the user's data from a possible compromise.

Rooting on the other hand is moving a binary (`su`) under system (usually at `/system/xbin` and placing symlinks at locations like `/system/bin`) which with proper files permissions can be executed by an ordinary user to gain supreme rights on the system.

It is possible that the rooting method you attempt in your device isn't the standard (via Recovery) one but needs a one-click tool, and some users have reported data loss with the latter, so you may take a backup to be on the safe-side.

Further reading:
> 1 votes

# Answer
In most of the cases, rooting won't cause data loss unless it failed. The challenging part is how to unlock the bootloader if there was. For unlocked phone, you can easily get the phone rooted with apps such as AnyRooter or TWRP.
> 1 votes

---
Tags: rooting, nexus-5
---


# Question
Title: Automatically enable/disable data mobile on galaxy s3
i going to turn on my data to use internet, but the Wi-Fi symbol going on then off what should i do... please help me... my phone: Galaxy S3

# Answer
Your initial question seems a bit vague, so I'm goign to assume that you're asking why when wifi is turned on, cellular data goes off. If this is not the question you are asking, please ignore my answer.

---

That is how android is designed to handle data. When Wi-fi is on, Mobile Data does not get used.

If you want to keep mobile data active even while wifi is on, go to Settings \> developer options \> Under networking section you'll find an option "Cellular data always active". Turn that on. This does not mean that cellular data will be used when wifi is on. It only means that automatic switiching between wifi and cellular data will happen a lot faster.
> 0 votes

---
Tags: wi-fi
---


# Question
Title: All apps installed on my SD card have suddenly disappeared
So this is very odd.

Last night my phone rebooted itself. Nothing unusual there - it does it from time to time. However, this morning when I try to read the news I get

> "Application is not installed on your phone".

So I check some more apps and lo and behold I get the same message. Any app that was installed on my SD card has gone - but only partially. The icon still exists on the "desktop" and the system name appears on the list of installed apps on the phone, but the Google Play store doesn't think they're installed - which is different to the symptoms described in these questions:

> All apps moved onto the SD card have disappeared
>
> My apps status suddenly become "not installed on the phone", even the google play store!

which both state that the applications are still listed as installed in the Play Store.

Also - now I think about this a few apps had gone missing earlier. I have gaps in the icon field where I know there was an application, but because I didn't use it everyday I can't remember which ones :).

I've tried removing and reinserting the SD card, but that's had no effect.

When I reinstall applications that have local data and/or stored account details this information is still present. For example when I opened the Amazon MP3 player it didn't prompt me for my Amazon account details, but just showed the list of albums I've purchased. This implies that it's just the folder that hold the executables on the SD card that's been deleted/corrupted.

I've started reinstalling apps, but I'm concerned that this might happen again.

So does anyone have any ideas why this might be the case?

# Answer
As Manishearth wrote, this might indicate trouble with the card (and very likely does). The boot you describe might have been "too abrupt", not cleanly unmounting the card and thus corrupting its file system; in which case the "good ol' `chkdsk`" should help (btw, Android ships with `fsck` for the very same task, which you could execute via a terminal app or `adb shell` – see Check and fix SD card errors within Android itself?).

On the other hand, it could also mean hardware trouble with the card, which even could be the reason for those reboots, reversing cause and effect: Not being able to read/write, or encountering too many "corrupt blocks", might have triggered some event (like re-mounting the card read/only). I'm not sure whether such would trigger a reboot (as stuff counted essential by the system usually doesn't reside on the sdcard), but it wouldn't be impossible. Thus trying a new card won't hurt.

---

**PS –** A little background on : As shipped with Android 2.2+, this only moves *parts* of the app to your card, while other parts remain on internal storage. Especially the app's data remain here (in `/data`), which is why after a re-installation of your apps they were already (or rather "still") available. For more details, you might wish to take a look at our app2sd tag-wiki.
> 4 votes

# Answer
For me all apps disappeared when I extracted the internal sd card which stores internal data of my e-book (the e-book is driven by android 2.1). I made it to change partition sizes to fit more apps. Actually I turned it on without that sdcard accidently and after that all apps became uninstallable but not executable.

Not partition resizing but that accident turn on caused the problem.

So that's what I did: 1. I found a dir where all installed apk's are. for me it was /pb\_data/data/apps 2. Entered adb shell and entered `su` in that shell (yes, root is needed) 3. entered `ls` to list all apk's 3. Called `pm install XXXXX.apk` on each of those apk files.

This install mode didn't cause any conflicts (though it installs apks to the same place so has to rewrite them somehow). Also all apps data/settings was preserved, everything is ok.
> 0 votes

---
Tags: 2.3-gingerbread, sd-card, app2sd, huawei-u8850
---


# Question
Title: How to get fitness apps to locate music on google music
I'm a runner. My music and playlists are on Google Music. I have all of my music downloaded to my device. I can't seem to figure out how to get apps like Runtastic or Nike+ to locate my Google Play Music. Any pointers? Do I need to manually move the files around on my device (android...Samsung GS3)?

# Answer
Short answer you cant. Google Music provides no API to access you music and playlists that are stored in the Google Music Cloud.
> 1 votes

# Answer
You can dump music from a playlist in the Samsung-\>Music folder and then choose to shuffle the library (or just play). This will work similarly to a playlist from itunes/Google Music. Use Explorer to simply copy/paste the files into the folder on your phone.
> 0 votes

# Answer
I've had the same troubles. I had an iPhone for years and didn't even consider for a moment that accessing the music through your running app would even be remotely complicated as with iOS all all just works.

When I switched to Android I found that it's actually a really difficult ask. In fact the running app i have used for years, Map My Run doesn't even have a music option so I've begrudgingly gone back to Nike + (after trying several others in the process) as this allows me to access the music on my phone whilst retaining a half decent running app in the process (something that some of the others didn't quite manage to deliver).

I now use an app called Media Monkey, which is a bit like iTunes, although closer to Winamp, to move the music I want on my phone across to the device. It's annoying as I spent hours uploading all my music to Google Play and setting up my playlists only to discover that I can't access it through the Nike + app. I pretty much only ever listen to the music on my phone when I run so the day Google Play and Nike start talking to each other will be a very happy day indeed! :)
> 0 votes

---
Tags: music, google-play-music
---


title: Mysterious battery drain

text:
# Question
Title: Mysterious battery drain
My battery has dropped more than the sum of the usage by all of my apps.

Has anyone ever experienced this before, or know where the rest of my battery is going?

Click image for larger version

# Answer
* Android depiction of battery consumption isn't very accurate- see How does Android calculate battery consumption by apps? and I am not aware how much it has improved with the latest version. Having said that, the discrepancy in battery percentage as shown is *large* and it *could* be due

a) **Inaccuracy of measurement**

b) **Wakelocks** (see tag for more information)

* **Inaccurate measurement:** To verify this try installing an app like GSam Battery Monitor which gives a more *granular* breakdown of battery consumption (I am not aware how it measures but in my experience is reliable). If your device is rooted , you could install the *helper* file of that app to get better results or use BetterBatteryStats, which by far is the best IMO (requires *Xposed Framework*\- see tag for more details )
* **Wakelocks:** can be a major culprit eating into your battery. To start with, you could install Wakelock Detector\- suggesting this as first step since it works on both rooted and unrooted devices (see here and here for more details on installing/ using the app). Once you identify the culprit, following options are available:
* **System App (rooted devices only):**

1. You could freeze or uninstall using apps like Titanium backup (there is always a risk of doing so, unless you are sure that it is *bloatware* and doesn't affect)
    2. Alternatively, limit the wakelocks without breaking functionality using Amplify Battery Extender -Root (requires *Xposed Framework*)
* If your device is not rooted:

a) If it is a system app, there isn't anything you can do

b) If it is a user app, uninstall that app and look for alternate apps that don't drain the battery by wakelocks or use Greenify

c) Contact the developer and hope that he fixes the wakelock problem
> 2 votes

# Answer
First of all, find out the app which draining your battery from Blueren answer. And uninstall faulty app, but if you unable to find the app try these methods
1.)If you are trying any battery saver app than stop using that, because they cant stop any app to run in background. You can read this article, Revealing bitter truth of these apps

2.)Use Greenify instead, Greenify is one of the app which can stop any app to run in background. \[PLAYSTORE\]. Greenify work on Un-rooted device but with limited feature. If your device is rooted than you can use most of its feature. Check out this Techorfy article for more.

3.) Try another battery, your device battery can be faulty. Head to Customer care centre if your Device has user not-removable battery.

4.) None of them working, than Flash a new Stock ROM. You need a custom recovery, Stock ROM and a full detailed guide.

5.) 3G and 4G consume more battery specially if signal strength is low.
> 1 votes

# Answer
This could be for a plathora of reasons ranging from signal strength to wakelocks. Simplest thing you could do is reboot your phone and see if it still drains out the way it is now.

More often than not, it usually could happen based on the wakelocks present. A badly designed app may very well be a culprit.

If you want to investigate further, you can try installing this app called Better Battery Stats that is available on the play store.

There is a dedicated thread relating to this app on XDA
> 0 votes

---
Tags: battery-life, nexus-5x
---


# Question
Title: S7 Edge RAM usage is extremely high, why?
Why is my S7 Edge using 87% of the RAM all the time? It's not the apps because I use Greenify for stopping background tasks. I see under *Developer mode → Running services* that my system takes 2 GB of RAM, but why? That's not normal, the S7 Edge has 4 GB of RAM and I can use only 600 megabytes.

# Answer
I'd say that is absolutely normal. Because: What benefit would you have if your RAM is empty? You have RAM to be used for caching and hibernating apps. Unused RAM is useless. :-)

Do you experience performance issues? Any lag? No? Then the S7's memory management works as it should. :-)
> 5 votes

---
Tags: ram, samsung-galaxy-s7
---


# Question
Title: Set two different lock setting on different triggers
I am using Android L on Lenovo phone. Mostly I don't hand out my phone to anybody or keep it unattended. So, I prefer not to bother myself with a lock (password or pin) and just keep swipe lock screen. But while many a times when I have to keep my phone away from my attention, I want to put lock password over it. For this I have to go to the settings and change it and change it back when I am done. Is there a way to keep two different lock screen setting(say swipe and pass) on two different triggers (say power button and option on long press power button menu)?

# Answer
You could use Android's *Smart Lock* feature for this, see e.g.:

If you have e.g. any Bluetooth device, you can tell your Android device it's "safe" as long as it can see it (so: no lock), but "not safe" otherwise (device gets locked). To have your device locked, you'd simply have to shutdown or disconnect the BT device (or have it out-of-reach; for Bluetooth-devices usually being away 10m is enough – even less with walls in between).

*Smart Lock* works natively with Android 5+ – and for earlier versions, there are fitting apps (e.g. Zwype Lock Screen, SkipLock, or using one of the more generic automation solutions to build your own: I e.g. use tasker with the *Secure Settings* plugin for this).
> 2 votes

---
Tags: lock-screens, password
---


# Question
Title: What is the difference between "Auto focus" and "Macro" modes of focus?
In Samsung Android phones, I've seen two options for selecting the focus mode which are Auto focus and Macro modes in the Camera settings. So, just want to know what is the difference between them? How it affects the output/result of image captured?

# Answer
> 1 votes
> ....is extreme close-up photography, usually of very small subjects, in which the size of the subject in the photograph is greater than life size...The ratio of the subject size on the film plane (or sensor plane) to the actual subject size is known as the reproduction ratio. Likewise, a macro lens is classically a lens capable of reproduction ratios of at least 1:1....

> Life-size is the typical aim of "full macro" shots, which is to say you are working at a 1:1 reproduction ratio, shooting very small objects at close range. Insects, flower stamens, etc.

While these definitions should be applicable to Android as such, the quality would obviously depend on bunch of things like *lens, zoom,megapixel and pre /post photo processing built in*

---
Tags: settings, camera, focus
---


title: Add obsolete phone to contact

text:
# Question
Title: Add obsolete phone to contact
I have old messages from contact sent using temporary phone number he had on vacation. I want those messages grouped under his name in conversations, so I added it as another number to contact details. Messages are now fine, but this "obsolete" number is now clutters phone list when I tap on contact and need to chose what number to dial.

Is there a way to add a number to contact, but make it not appear in list of numbers to call when you select contact?

As first answer mentions, I can set other phone as default, but this still leaves obsolete phone on contact summary page and you can still accidentally call it with mis-click. I'd really like it to only show on contact edit page and be uncallable or at least not without confirmation prompt.

# Answer
> 1 votes
You can select a number as "default" or "main" and then this number will be dialed when you call that person.

Usually it can be done by long tap on a number and then selecting "Set as default".

---
Tags: contacts, calls
---


# Question
Title: Can I have horizontal scrolling in the installed application on the Sense 5.5?
I have an HTC One with Sense 5.5 installed. In Sense 5.5 the installed application menu have a vertical scrolling. I'd prefer to have horizontal scrolling.

Can I change this setting in some way?

# Answer
You can use a third-party launcher app like Nova Launcher. Nova will let you scroll vertically or horizontally via `Nova Settings > Drawer > Drawer Style`.
> 1 votes

# Answer
I don't think this is possible.

I had a look around in the settings, but also couldn't find something to change this scrolling. But there is not a single Sense version that I can remember where it was possible to change this setting. So seems very unlikely that they will have changed this.
> 0 votes

# Answer
I had the same reaction about missing the horizontal scrolling. I couldn't figure out Nova Launcher the first time around, so I uninstalled it (but might try it again later - looks cool).

However, I also found this in a review, which may help you:

> The app menu in HTC Sense 5.0 has a clean and streamlined feel to it, and scrolls up and down rather than left to right like the S4. However, if you happen to scroll horizontally out of habit, the app drawer will automatically move to the next screen.

I tried it, and it worked for me. Not as smooth as being able to page horizontally by default, but for me it's good enough.
> 0 votes

# Answer
I suggest you to Keep all the needed icons on home pages, so that you can horizontally swipe to launch the application you need and no need of opening Applications menu every time.
> 0 votes

---
Tags: applications, htc-sense, htc, htc-one, menu
---