# Question
Title: Samsung Galaxy S6 Edge Says Connected to Wifi But Can’t Get Internet or YouTube
## PROBLEM:

My android device is showing that I am connected to the Wi-Fi network at my community college (where I attend), however, when I try to use anything that requires internet it says there is no internet connection.

Screenshots (click images for larger variants)

## WHAT I’VE TRIED:

* Clearing cache (as per this TheDroidGuy article)
* Rebooting to bootloader
* Rebooting phone
* Navigated to Google in Chrome
* Navigated to Google in Firefox
* Called AT&T store: They gave me 3 options:

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

I tried the last one. The representative in Iowa ended up "sending an OTA switch", whatever that means. In the middle of him explaining it to me the phone cut out.

## DETAILS:

I don’t know exactly what info an android-wifi savvy reader would need to be able to help, so I have provided as much info as I could find in an effort to be as thorough and helpful as possible. If any other info is needed, please let me know.

### DEVICE:

* Provider: AT&T
* Brand: Samsung
* Model Name: Galaxy S6 Edge
* Model Number: SAMSUNG-SM-6890A
* Android Version: 5.1.1 (Lollipop)
* Android Security Patch Level: 2016-04-02
* Baseband Version: G890AUCS3BPCG
* Kernel Version: 3.10.61-7277676 (etc...)
* Build Number: LMY47X.G890AUCS3BPCG
* Security Enhancements for Android:
* Enforcing
* SEPF\_SAMSUNG-SMG890A\_5.1.1\_0046
* Wed Apr 06 20:28:50 2016
* Security Software Version:
* MDF v2.0 Release 3
* VPN v1.4 Release 5.2

### CONNECTION:

* Signal Strength: Strong(351Mbps)
* Security: 802.1x EAP
* IP Address:
* EAP method: PEAP
* Phase 2 Authentication: None
* CA Certificate: (Unspecified)
* IP Settings: DHCP
* Proxy: None

## ALTERNATIVE POSSIBILITIES:

**Mercury retrograde** -- a time when communication between people can be very confusing and when electronics fail more than others times of year -- was supposed to be over yesterday, but maybe it’s still the 22nd in some part of the world (I’m in Western USA).

**Virgo astrology horoscope** for today said that I was going to be “tired of having to troubleshoot things”. Immediately afterward I realized my phone was only streaming via mobile and not via the wi-fi network it told me it was connected to.

These may be longshots, but I think they are worth mentioning.

Any help is appreciated. From one soul to another, thank you in advance for your kind assistance.

Namaste & Mitakuye Oyasin

# Answer
> 1 votes
Dns probe image no internet error.You can try changing your ip settings from DHCP to static and connecting to GOOGLE dns.

Important: Before you start: Before you change your DNS settings to use Google Public DNS, be sure to write down the current server addresses or settings on a piece of paper. It is very important that you keep these numbers for backup purposes, in case you need to revert to them at any time.

To change the DNS settings: Open the Settings on the device. Select “Wi-Fi”. Long press your current network, then select “Modify network”. Mark “Show advanced options” check box. Change “IP settings” to “Static” Add the DNS servers IPs to the “DNS 1”, and “DNS 2” fields. DNS 1 to 8.8.4.4 DNS 2 to 8.8.8.8 Press “Save” button, disconnect from the network, and reconnect for changes to take effect. Good luck!

---
Tags: wi-fi, connection-issues, samsung-galaxy-s-6, att, samsung-galaxy-s-6-edge+
---


# Question
Title: Why aren't my app icons showing up after installed?
I have Moto X Style phone having Android 6.0.

Today I installed "Stereo Bluetooth Headset SBH52" app on my phone, but I am not able to open this app because there is no app launcher icon in the launcher. In Play Store, it's also showing *Uninstall* button only. I am able to see the app in *Setting \> Apps*. Here, only *Uninstall* button is enabled.

I have one more app "Exchange Server" which is there in Apps list, but the icon is not available in the launcher.

I also have restarted the phone. I removed the SD card, then again installed these app from Play Store, but still the issue is there.

Why are there no app icons showing up?

# Answer
> 2 votes
Not all apps have explicit launchers (or app icon).

Take an example from Stereo Bluetooth Headset SBH52 app:

> **This application will not be visible in your phone's home screen**. Access application settings via Smart Connect (LiveWare™ Manager), or via your phone's status bar.
>
> <sup>(Emphasis added)</sup>

As for Exchange Server (or Exchange *Services* on Nexus stock ROM), it's only a back-end service used for communicating with Exchange server, with stock E-Mail app as its front-end UI.

Another example is Google PDF Viewer, where it's only prompted when opening a PDF file. (see How to open Google PDF Viewer app?).

If you want to force open the app, you might be interested in List all activities of an app.

---
Tags: applications, launcher, app-icons
---


# Question
Title: Can I get an app package name as a Tasker Variable upon a package updated event?
I'm trying to use Tasker to create custom notifications with AutoNotification with the Event Context of "Package Updated \*". But what I really need is to know if when a package is updated, does the updated app package name get passed to a variable? I already know about the intent of Package\_Added from this other question, but it doesn't say anything about having an intent of Package\_Updated.

# Answer
You can always employ at your service to do the hunting on your own. For example: after a successful update of an app if you immediately execute the following command and follow the section *ACTIVITY MANAGER BROADCAST STATE (dumpsys activity broadcasts)* you would come across the intent *android.intent.action.PACKAGE\_REPLACED*. You would also observe that the data in that intent contains the much sought package name.

```
adb shell dumpsys activity

```

Relevant demo output:

```
#0: BroadcastRecord{dec5090 u0 android.intent.action.PACKAGE_REPLACED}
    act=**android.intent.action.PACKAGE_REPLACED** dat=**package:com.koushikdutta.backup** flg=0x4000010 (has extras)
    extras: Bundle[{android.intent.extra.UID=10185, android.intent.extra.REPLACING=true, android.intent.extra.user_handle=0}

```

As for using the information in Tasker, setup your profile and tasks like this:

* Profile: Event → System → Intent Received

+ Action: `android.intent.action.PACKAGE_REPLACED`
    + Scheme: `package`
    + leave the rest untouched
* Task: (Actions):

+ Variables → Variable Search Replace

    - Variable: `%intent_data`
        - Search: `package:`
        - tick One Match Only
        - tick Replace Matches
        - Replace With: leave this untouched since we want to delete the match

        The package name alone would now be available to the value of the variable `%intent_data` (a local variable). Use it wherever you want.

In order to get the app label, you can either use Tasker's inbuilt functionality or use `aapt` (latter requires root access)

+ App → Test App:

    - Type: Package Name
        - Data: `%intent_data`
        - Store Result In: `%label`

        The app label can now be retrieved from the variable `%label`.

See Accessing Intent Data for more info on intent handling in Tasker.

*Homework*: if you follow the output of *dumpsys activity* carefully you would note that the information that the app has been updated can actually be retrieved from *android.intent.action.PACKAGE\_ADDED* alone.

Related: Get new installed app name with Tasker
> 2 votes

---
Tags: applications, tasker
---


title: Automatic WiFi disconnect

text:
# Question
Title: Automatic WiFi disconnect
I am running Android 5.1.1 on my Samsung Galaxy Grand Prime 4g.

My institute WiFi network that I connect to requires a login everytime to use the internet. However, my phone first connects to the network and then disconnects, wwithout my permission, stating 'Sign-in is required'. I have to connect it again, on which ot leads me to the sign-in windoe, where I plug in my credentials.

If it ultimately has to lead me to the sign-in window, why does it disconnect in the first place? How can I solve this problem?

# Answer
> 1 votes
While the phone is connected to this Wi-Fi that needs log-in, it's keeping the Wi-Fi module busy. The phone can't scan for other Wi-Fi networks. Apps might see that there's a Wi-Fi connection and try to use it, expecting to get the Internet but actually just burning power for nothing. The phone also disconnects from mobile data while a Wi-Fi connection is active (though this is just from the way it's designed).

Disconnecting from the useless Wi-Fi connection keeps the mobile data connection alive, so you still have Internet access. Apps aren't trying to use a connection that's useless to them. And it lets the phone keep scanning for other networks, which you might be able to use without log-in.

I don't understand why you want to "solve this problem": everything works as designed. When you use the "Sign into Wi-Fi network" notification, the phone can immediately reconnect and you can sign in and get a working connection. Automatically disconnecting from captive Wi-Fi portals lets your phone keep working before you're ready to sign in, and it doesn't stop you signing in when you're ready. There's no problem at all.

If you want to sign in automatically, avoiding the disconnect and reconnect entirely, we have a very old question about signing into captive portals, but I'm not sure if the answers are still relevant to newer Android versions.

---
Tags: wi-fi
---


title: Downgrade Android N beta to M

text:
# Question
Title: Downgrade Android N beta to M
I opted into the N beta and installed it via OTA. Now I want to downgrade back to M and opted out of the beta. The page says that the downgrade should automatically come via OTA, but my device (Nexus 5X) doesn't seem to see any available updates (downgrades).

Should this be instant or can it take a few hours to get the OTA?

# Answer
> 3 votes
Ok solved it.

I opened g.co/androidbeta **directly** in Chrome **on the device**, opted back in and out again. Did it via a Desktop browser the first time and didn't work.

---
Tags: 7.0-nougat, android-beta-program
---


# Question
Title: Is force stopping an app equivalent to uninstalling it, as far as increasing the performance of a phone is concerned?
Suppose I force stop an app and it stays that way for long. Will this boost the performance of my phone in the same way as uninstalling the app would?

# Answer
> 2 votes
In some cases, yes, if your performance issue is not caused by low storage space. The improvement may be temporary, however, as apps can be restarted if they are registered for certain actions or events.

---
Tags: applications, performance, uninstallation, force-stop
---


title: Auto refreshing the signal

text:
# Question
Title: Auto refreshing the signal
When we go to the area where signal is not reachable, we experience "Emergency calls only" or "No service". But after coming-out from that area we sometime found phone is not receiving signal and still showing "Emergency calls only" or "No service" in-spite of no problem of signal in that area. And in that case I usually do "Flight/Airplane Mode" off-wait-on and phone starts receiving signals again.

So, in order to overcome situation (and also consider a case of network-jam), I think should have some solution like running script that auto refresh signal after every n minutes or an application that provides such function.

So, How can I refresh signal from command-line? (or interested in turning "Flight/Airplane Mode" on and off vial command-line) and how about making script that can do this job as per requirement (for example every 30 minute)?

Also suggest any application available and does such job at specified interval of time.

Note: I use rooted phones

# Answer
I suggest you try an app in this case. For example:

You can use Automate app here.

<sub>(Click image to enlarge)</sub>

* The block for Airplane mode is available under Connectivity category. (Requires root access.)
* The Delay block can be traced back to Date & Time.

Configure them as you wish. Make sure to have the flow run in a recurring manner, such as shown in above screenshot. You can also setup a trigger for full automation or manually start the flow.

---

You can also try Tasker to setup a home screen shortcut or a fully automated profile in Tasker. The task should have the following action at least:

Code → Run Shell

* Command:

```
while true; do
settings put global airplane_mode_on 1;
am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true;
sleep 2;   # requires BusyBox or Toybox installed and available under $PATH
settings put global airplane_mode_on 0;
am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false;
sleep N;    # where N can be any number of (s)econds or (m)inutes or (h)ours. Make sure to use the relevant suffix, such as Ns, Nm or Nh.
done

```

Instead of *while and sleep* command, you can use the Wait and GoTo actions available under Task category.

The commands are drawn from this answer of DavisNT, re-posted here by Andrew T.
* tick Use Root

**Note** that once the task is initiated it would continue to run unless you stop Tasker's service or force stop it or reboot the device.

You can get rid of all the command-line stuff by using Secure Settings with Tasker. It also requires root access however.

---

MacroDroid is yet another app capable of achieving the task. It has all the relevant actions i.e. to toggle Airplane mode, wait for certain time and run a macro (including current macro) to achieve a loop. Give it a try.

It is to be noted that a home screen shortcut can be made by all the aforesaid apps.
> 1 votes

---
Tags: applications, mobile-network, command-line, network-signal, airplane-mode
---


title: Remove ransomware-like malware

text:
# Question
Title: Remove ransomware-like malware
I downloaded `android-6-marshmallow.apk` from

> `marshmallow-google(dot)com`

(**Warning, ~~ransomware~~ fake malware! Do not install!**)

It was a fake application and I couldn't delete that because of the screen below, and I can't go pass through this screen.

How to remove it?

# Answer
> 8 votes
I will start this with the most funniest thing the malware developer did. The developer who created this malware with label Android 6.0 Marshmallow, version 6.0(6) and package name *com.xtrlee.fiehan*, didn't bother with an Activity or an overlay (was trendy) or with a lock screen (the latest trend as of now) either. They decided to employ a full screen Toast (you read it right). Here's what `dumpsys window windows` and `dumpsys appops` reported on Android 5.1 (tested on Android-x86).

That explains to me why the view was not constant but flickering.

Now, contrary to the permissions a typical ransomware would need, this malware *comparatively* didn't demand anything significant. The dangerous permissions it requested consist of listing out all the files available in your external storage (both internal and external SD card) and listing out device information, such as Android ID, IMEI and other information to uniquely identify your device.

The app is targeted at SDK version 21 (Android 5.0, not 5.1) and would work on Android 2.2 and above (the author must have planned to subdue the whole world). The user's data in my opinion would never be touched by this app as it didn't ask for the permission to write external storage.

# Interesting components

As far as what I understood, the malware is definitely not a work of art. It has one main Activity which is responsible for showing the app's icon in app drawer. It also acts funnily. If you launch the app the very first time, the user would be shown a dialog to make it a device administrator. If you cancel the dialog, it would spawn again. However, *if the user doesn't act under the next 10 seconds, the dialog is immediately dismissed and the main Activity is disabled*. Automatic disaster aversion, so cool.

This is how that dialog looks like:

The rest of the components are various receivers which helps in device administration and starting the app once boot process completes.

# The solution

So, you made a series of terrible mistakes and you think your data is held as hostage. What do you do to save the data and get rid of this supposed update-cum-ransom? Follow any of the approaches noted below:

## USB debugging already enabled and authorized

Using and root access, you can find the apk under */data/app/*, remove it and reboot the device. You can also achieve this from a custom recovery as well. Alternatively, with alone, you can force-stop the app.

```
adb shell am force-stop com.xtrlee.fiehan

```

If the above command doesn't help, in Android 5.1.x, you can have appops deny the malware permission to show the toast.

```
adb shell appops set com.xtrlee.fiehan TOAST_WINDOW deny

```

Use this window of opportunity to go to Device administrator settings and deactivate the ransomware. Post that, you should go into application manager and uninstall that malware.

## USB debugging not enabled or authorized

If your device doesn't have USB debugging enabled, your only hope seems to be to boot into . Fortunately, the app doesn't obstruct the power menu (not at least in Android 4.3 and above) so you can long-press Power button → long press Power off → tap OK when asked to reboot into Safe mode. Once the device boots into safe mode,

1. you should open the security settings which usually comes down to Settings app → Security → Device administrators → deactivate the ransomware. If you're shown any dialog that the data would be wiped, ignore it. It's not going to happen anymore at this stage.
2. you should remove the app from application manager which is more or less the Settings app → Apps → All apps → tap the app's entry → Uninstall.
3. you should do a reboot to boot the device into normal mode.

And that's how I removed that malware multiple times on this day.

# Recommendation

If you're not a power user, do not venture into the unknown territory. This comes down to

* not side loading any app;
* keeping Unknown sources setting always disabled;
* never granting Device administration privilege to any app (even to ones installed from Play Store) until you've certain the app is safe to use;
* taking a minute the report the malicious page/site if encountered to your favorite web search engine. For Google, you can report here.
* using your head before the fingers jump in.

---
Tags: malware
---


# Question
Title: Terminated app install corrupted SD card data
I was downloading an app for my LG-90 and it was taking forever. It had been minutes, so i restarted my phone. The phone would not restart; I'd see the T-Mobile logo and LG logo but it would not get as far as the home screen.

I started playing around with it and I found that if I took the SD card out it'd restart fine. I kept a lot of data on that card so I mounted it while the phone was powered on and was able to copy it's contents to my PC. The Lost.DIR seems to be full with all the data I had on the SD card; all photos, videos, etc. But none of them have a file extension so I can't tell what's what. I have to rename things to .png or .mp3 and see it they play or whatever.

I've unmounted and erased the SD card an remounted it, but the phone still seems to think the old data is on there. It says there's not enough space if I try move an app there. Also Photos has never worked right since (black screen when trying to view photos).

Anyone had an issue like this before? Any suggestions on how to recover this data & get the SD card working again?

# Answer
> 1 votes
So the bad news is the solution to this issue was;

1. Back up all phone data
2. Restore factory settings
3. Get a new sd card

I went with a 16GB SanDisk to replace the 32GB Samsung EVO sd card. Good news is it only cost $11 and restoring contacts from Google servers is a great feature.

---
Tags: sd-card, lg
---


# Question
Title: Does switching my phone from 3G to LTE only matter if I use mobile data?
I have a Xiaomi Redmi Note 3 Pro with Android 5.1.1 and MIUI 7.3.2.0. In my settings I have the option to choose a network type. The options are "2G", "Prefer 3G", and "Prefer LTE". I only use WiFi to connect to the internet so my mobile data is off all the time although my phone automatically turns it on while downloading/sending MMS, then turns it off again). In my APN settings I have set the APN type to "mms" to ensure that my mobile data can only be used for MMS (so only my Messaging app can use data).

Does choosing LTE only affect mobile data? I read that LTE is a faster network than 3G. Will I notice any improvements in my phone if I switch from 3G to LTE? (faster MMS download?)
Will it consume more battery?
Is my signal strength more likely to increase or decrease?

# Answer
If you keep your mobile data off, it rather depends on coverage:

* Good 2G coverage? Use that. Your battery will last much longer.
* Shaky 2G but stable 3G? Use 3G. Same reason: shaky coverage makes the phone permanently switch cell towers, which eats your battery.
* 2g & 3G shaky, but stable LTE? Well, you guess it.

For a more detailed answer backed by "hard data", see 2G versus 3G: Does it really save battery? Doesn't mention LTE, but you can "extrapolate". Apart from that, with LTE in an early implementation, yur device would need to switch to 3G anyway for phone calls (that was only fixed later).
> 2 votes

# Answer
Yes LTE is faster. Making the switch from 3G to LTE is a bittersweet change. now get substantially faster data speeds, but may have to keep an eye on usage to avoid overages. If you’ve signed up for a data plan that matches average monthly usage, do you really need to worry about running up your bill? While LTE has its advantages over 3G, there's a downside to faster data speeds. The first thing you may not notice, is how much more you’ll browse the Web. Because pages load faster and the connection is more reliable, you’re more likely to browse longer. That may not be the biggest factor that wastes away your limited data plan, but all that extra browsing can certainly add up throughout the month.
> 0 votes

---
Tags: mobile-data, mobile-network, 3g, 4g
---


# Question
Title: Play Store - "An unexpected error has occurred. Please try again later."
I've been having this issue since I bought my S7 Edge over a week ago. I am unable to add a payment method or do anything involving payments on both my phone and play.google.com.

When trying to add a payment method, or even redeem a gift card, via play.google.com I get this:

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

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

# Answer
You need to clear cache for Google play store and Google play service. If that didn't solve it then you have to delete both and reinstall it. Then try again.

If the above option didn't work, go to Settings/Accounts/Google, Select your gmail and turn off sync. From your web browser, go to Google Wallet delete payment details and add it again. Go back to settings/Account/Google, select your gmail and click sync now. After few minutes, restart your device and try to see if the error still display.

If any of these did not work, please contact Google support or read Payment issues.
> 0 votes

---
Tags: google-play-store
---


# Question
Title: Fix Android stuck on boot animation without deleting data
I tried to do a backup from within my custom recovery (CWM or TWRP) but it failed due to a lack of space. Since then, my phone will not complete the boot process but remain on the boot animation for hours. (In case it matters: it's not a boot-loop in the strict sense as the phone does not go through the boot process over and over again. It's just stuck and doesn't go all the way through.)

I have tried wiping dalvic-cache and cache. I removed the memory card (to see if it had gotten corrupted and was blocking the boot process). I even re-flashed my ROM and GApps, but to no avail.

Since I did not flash anything or really make any changes to the phone at all, I am stubbornly refusing to believe (as many posts and videos on the net seem to suggest) that the only way to proceed in this situation is to do a factory reset (or some other method like an odin flash) which will delete all my precious data. **There must be a way to get this phone going again without losing any data.**

# Answer
Stubbornness sometimes pays. Here is what solved the issue for me (and since I did not see this idea anywhere, I'm posting it here): it turns out that the (attempted) backup filled up the internal memory so that there was not enough left to complete the boot process. So I used the file explorer in TWRP 3.0 (Not sure if CWM has one, if not, just flash TWRP) to delete the backup and voilà, the phone boots again.

Obviously, you could also delete something else (make sure you know what you're doing), the point is to **free up space** on the phone's internal memory. In fact, I actually tried to move the backup to the external SD card but there seems to be a bug that (sometimes) lets the move command fail so what I did was copy and delete instead.
> 2 votes

---
Tags: boot
---


# Question
Title: How to get out of stuck boot animation?(Android One)
I am stuck at the google boot animation of the android one phone(Micromax AQ501). I had just flashed it into custom recovery for the first time. It rebooted for the first time after that and then got stuck. It shows its OEM unlocked. I tried to boot into the recovery mode but it gets switched off on its own. Please help.

# Answer
> 0 votes
You might have to flash the Factory Image now using SP Flash tool. I have provided a link below, but confirm it's for AQ501. Alternatively, you can also try flashing the stock recovery.img for your phone.

Warning - You might lose data!

Source - http://forum.xda-developers.com/canvas-a1/development/official-stock-rom-canvas-a1-t2887150

---
Tags: root-access, recovery-mode
---


# Question
Title: Micromax a104 SP flash not detecting mobile and stuck in bootloop
Device Micromax A104. The phone is not rooted neither the usb debugging mode is on.

the phone was fully affected virus or some other bugs. It was hanging and responding very slowly. so i decided to factory reset. I went to recovery by pressing Power+Vol up. the result was an android robot icon with a red triangle mark and saying No command. but by pressing the Power button again i logged into system recovery. there is selected wipe data/ factory reset selection was difficult because phone was not responding properly when i press the vol down button either Vol up button somehow i manage to select the wipe data/Factory reset and wipe cache partition.

after that i select "reboot system now" then i am stuck in bootloop. i downloaded stock rom SP flash tool. but my laptop Windows 10 64 bit is not detecting the mobile. i downloaded ADB drivers and installed it manually and by exe files. In device manager it still says Code 10 Error device will not work properly Yellow triangle. tried a several website for drivers .. all failed. I tried in Windows 8 64bit system also. Failed again Is there any hope left for this mobile??? is there any chance to save this phone?

SP flash tool is latest version and in Ubuntu Linux also SP Flash tool is not able to detect the phone.

# Answer
> 0 votes
Just a suggestion - try using a Windows 32 bit system, preferrably Windows 7. After connecting the phone in Flash mode, check the Device Manager to see if drivers are properly installed.

I'd like to mention that I haven't heard viruses making even the recovery too slow. I am not sure, but you might have to consider the possibilities of your phone having a hardware issue. If under warranty, now is the time to claim it.

---
Tags: adb, micromax
---


# Question
Title: How do I get sound out of galaxy 4 to come through Aux port in my car?
I have a Toyota Sienna. I am trying to get an audio book located on my Galaxy S4 to play through the Car's sound system. I attach the cable to the Aux port in my car and turn on my Galaxy 4 audio book. The Sound comes out of the phone but I can't get it to come out of car's speaker system. When I plug in my iPod tothe Aux port, the music plays just fine in the car's speaker system. What am I doing wrong?

# Answer
Check that the app you are using to play the e-book is correctly outputting the sound to the aux-cable (in case it has some setting to disable/enable audio output to headphones). Alternatively, try some other apps, to check sound output through the phone, to the aux cable, into the aux port and to the car music system. Also, as @Zeiss Ikon suggests check sound output from your S4 to a pair of headphones, external speakers etc.

Most of the times, the volume is also reduced for headphones and Android warns on possible ear damage. So also try increasing the volume.

Try with a different aux cable. Though if the iPod is being connected with the aux cable and it is working, theoretically it should work.
> 0 votes

# Answer
Thanks for your feedback. It actually turned out to be the aux cable. Interestingly, the cable I had been using for my iPod (which worked perfectly) would not work with the Galaxy. I bought a high end cable with the same specs and now it works fine
> 0 votes

---
Tags: samsung-galaxy-s-4
---


# Question
Title: Majority of apps deleted themselves (including Google Play services) on a Samsung device
My Samsung Galaxy Note 3 has developed an interesting fault.

It happened one evening, after the phone shut down due to low power. Its symptoms:

1. It has deleted (or appears to have deleted) most of the applications - including system applications. For example, I had at least 3 browsers installed, I now have none.
2. The majority of other applications do not work, for example: Messages still appears, and I can view a listing, but as soon as I try to access a message it says "Unfortunately, Messages has stopped". Less than a second later, that dialog also disappears, without me having to press OK. The Google Play Store app shows a blank white screen, then crashes - this time, without the dialog. Apps that were received through Amazon Underground (those that still appear) complain that Amazon is not installed and logged in.
3. I have a notification in the notification area that says "Get Google Play services / Google Play Music won't run without Google Play services, which are missing from your phone" - and again, when I press it, it transitions to a blank white screen which then promptly crashes, dialog-less.
4. Phone now takes at least 5mins to boot, every single time.

So my question is: what could cause this? I've resisted rooting this phone, so I never (theoretically) had the capability to delete these files.

I intend to try and reflash GApps etc, then probably install a cynogen or something - if my phone is imploding even with a stock rom, I may as well have fun. And I have backups of most of the important stuff. So I can rectify the situation - the question is purely what could cause this.

Would a Google Play service update during the phone shutdown be enough? (I guess no...)

Maybe registry corruption of some sort? (My best guess for the extended boot time)

And has anyone ever succeeded in doing this through some intentional action?

---

\[Edited\]: Small update: Firstly, I forgot to mention, a large portion of my contacts seem to have disappeared too. So I can see the phone numbers in my Messages, rather than their names, for probably about 80% of people. I guess this might be because it cannot access Google for some reason?

Secondly, I have now tried reinstalling Google Play Services (installed using `adb install`) and nothing seems any better. Have looked at the logcat, and I suspect that chromium webview is the real cause of many of the above symptoms. Downloading now.

\[Edit 2\] Also, forgot to mention, most of my contacts disappeared. They were mostly synced with Google though, so when I installed a new rom, they mostly reappeared - I guess with the exception of recent contacts that hadn't synced.

But yes, crisis averted (more or less). I now have a Samsung Note 3 pretending to be a rooted Samsung Note 5 and am pretty happy, but still curious about what went wrong.

# Answer
The same thing has happened to me.

The fact I also have a Note 3 with exactly the same symptoms makes me believe it is a faulty system update or other service installation/upgrade error.

Google Play Services v7.3 (according to https://play.google.com/store/apps/details?id=com.google.android.gms but maybe it's 9.0.82 or 83 or something) rolled out from May 16, I reckon this is the culprit.

I woke up to my phone complaining the same error: "Get Google Play services / Google Play Music won't run without Google Play services, which are missing from your phone".

I managed to install Samsung Internet for Android via Samsung Galaxy Apps.

I then downloaded a Google Play Services apk after searching Google for one and installed it.

That kinda got Google stuff working again, but I had to reinstall a lot of my apps. Authenticator still works thank god.

Boot still takes ages, and every time Google Play Services is gone again.
> 2 votes

---
Tags: samsung, google-play-services, system-apps, application-autoupdate, shutdown
---


# Question
Title: How do I prevent apps from automatically closing during updates?
I don't use my Android tablet very often, usually only once every week or two. Therefore, when I do use it, it likes to pull down a bunch of updates each time. That I don't mind. What I do mind is that I'll be using apps and this updating is happening in the background, so all of a sudden my app goes away and I lose all my work. Is there a way to tell the system, "hey, don't just blow away apps I have running to update them without me OKing it first"?

# Answer
> 3 votes
There is no way you could stop from an app from getting terminated when getting updated.

**Because** when app is getting updated the apk inside the /data/app/nameoftheapp/base.apk gets updated and a .dex file must be made of the new base.apk

So the current process of the app is terminated and then daemon is invoked and it does it job of installing the app

---
Tags: application-autoupdate
---


# Question
Title: Clearing stuck paused download notifications by Play Store
I was downloading an app from Play Store which got paused due to an error "enable background data". I could get rid of this error, but in the notification center, I still see incomplete and paused downloads which I am not able to erase or remove.

I tried restarting my phone but it didn't fix it.

# Answer
> 0 votes
If you are on Android Lollipop, you must disable the battery saver to let Google Play download the app.

**OR**

Stay on the Play Store and wait till it downloads, not even let the screen shut.

---
Tags: google-play-store, notifications
---


title: Bluetooth keeps getting turned on

text:
# Question
Title: Bluetooth keeps getting turned on
I have a Samsung Galaxy S5 with Android 5.0 and since about 2 weeks or so my Bluetooth keeps getting turned on.

Until now I only used Bluetooth for connecting with my Bluetooth speakers.

I already tried: rebooting the phone and checking for viruses with Kaspersky Mobile.

Maybe there's an app that shows me all apps that have the permission to turn on Bluetooth so that I can deinstall those to see if that helps? Or any idea what the issue could be here?

# Answer
The solution was to deinstall FireChat.
> 0 votes

---
Tags: bluetooth
---


# Question
Title: Android - Treat external storage as internal storage?
I bought a Blu Dash smartphone at frys. It's a nifty little 40$ phone. The biggest problem is that it only comes with - I shit you not - 100 mb of internal space. I can decide to install apps on sdcard and choose it as default write location, but it still installs some data on internal storage, and gives me the "insufficient space" error when installing apps.

So my question is, can I trick my device into thinking my 7gb sdcard is the internal storage so I can install apps?

Edit: Forgot to mention I'm rooted and know my way around ADB and the like, so feel free to suggest some long convoluted process.

# Answer
> 0 votes
Not directly... only Marshmallow can adopt external storage as internal, but assuming this is the Blu Dash 5.0, you can root it, and use an app like Link2SD or App2SD to move apps to the SD card. You way want to consider a larger SD card though, since you have to partition the card and will lose some normal storage space.

The real problem is that you only have 100mb of internal space available, to use these apps you need to install them normally on internal storage, then move them to the SD card. With so little space to work with there may be several apps which cannot be installed so they can be moved.

This is the problem with buying a phone with only 4GB of space, although the price seems right if it is almost unusable for anything besides a basic phone, it may not be the right phone for you. I would suggest getting a phone with a minimum of 8GB of storage and 1GB of RAM.

---
Tags: storage
---


# Question
Title: is it possible to install 6.0 marshmellow on a non nexus
im new to this community but is it possible to install android 6.0 on a non-nexus phone with a universal install image

if not please tell

# Answer
I guess, the answer is NO, unless the phone you are using is Nexus or is the exact copy of Nexus (with the same specs, no changes at all).

The factory images that Android releases for Nexus are optimised for Nexus devices only and won't work on others. Trying to fastboot flash such images might brick your device for good.
> 0 votes

---
Tags: 6.0-marshmallow, installation
---


title: Android for work with KNOX 0x1

text:
# Question
Title: Android for work with KNOX 0x1
I have a device supported by Android for Work (Samsung Note 4, Android 6.0.1) but the security policy will not install saying "there is a custom OS installed". Device security status is "Official", but the KNOX counter is on 0x1. From what I can see, the bootloader and firmware are all official, standard region and non-rooted. Is there any way I can create a security profile that will still work with a 0x1 KNOX counter? What is the relation of KNOX with Android for Work?

# Answer
**No, you can't.**

Knox creates a secure and encrypted container for your work profile. Once created it separates the information stored in your working profile and encrypts it.

The working profile is not accessible from outside its container, unless you enter a given key

The Knox flag is set because

1. You or someone else rooted the device previously or
2. Something went wrong while OTA
> 0 votes

---
Tags: security, samsung-knox
---


# Question
Title: Message: Unfortunately Google Play Store has stopped
The problem is happening on a very old HTC Sensation running Android 4.0.3, and all the help found online refers to more modern versions.

In `Apps` -\> `Google Play Store`, I forced stop, cleared data and cache, rebooted but it didn't cure the problem. I also performed a factory reset without success. Someone in the Google Play Help Forum advised me to call the Play support team which I did. They sent me an email, I followed the procedure but it didn't fix anything. They told me to contact HTC if the bug still persisted, which I did a while ago but no reply, so far.

# Answer
I have solved this problem and I am posting the solution here in case someone else would have the same problem. I downloaded, installed and ran Lucky Patcher apk file V6.4, for Android 4.0.3, 4.0.4 from here and it did the trick.
> 2 votes

---
Tags: google-play-store
---


title: Where does go sms store pictures

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

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

---
Tags: go-sms
---


# Question
Title: How can I copy a NFC badge to my (rooted) Android phone for Daily Usage
For the Cafeteria a school we have NFC badges with which we pay meals or drinks. I was wondering how is it possible to have the card on my phone? I lost it 5 times last year.

I've tried to copy the data on the card this didn't work so I possibly need to emulate the card on the phone. Like i said it would be usefull to use it in such way and gives me something to brag about to my non geeky friends. B-) My phone is rooted, Xposed Framework is installed (when this helps) I have Android 4.1.2 on My Xperia P it's stock. Thanks in Advance

# Answer
Depending on the type of card used in your school, copying is not a simple task: The data is may be **cryptographically protected** and you need to **emulate the UID**, an ID which gets transmitted by the card early in the communication process. Here are some tips:

* At first you need to find out which type of NFC Tag our card is. You can use this app from the Google Play Store
* If the card is a *MIFARE Classic* Tag you might be able to clone the data on it. These cards have had some security problems in the past.
* Emulating the UID is not possible by default on Android (related)
    + But we developed an App which is capable of emulating the UID on some Android devices, for more information see the first answer here
    + It is also possible that your badge only uses its UID to know who you are. In this case there is no data saved on your card. If this is the case the app for emulating the UID could already be enough to have a badge on your smartphone ;-)

I hope this helps.
> 2 votes

---
Tags: root-access, nfc, xposed-framework
---


# Question
Title: Where are the battery capacity files located?
**Background**

My current device Huawei Honor 6 comes with a 3100 mAh battery. I was therefore surprised to see 3C Toolbox Pro report the capacity as 4000 mAh.

I mailed the developer of the app and his reply was on these lines

> In Android, one can get the stock hard-coded battery capacity from battery profiles, an hidden API in Android. That’s the one of the 2 sources the app uses.
>
> The other source is in the kernel, **usually** under /sys/devices/power\_supply/battery/charge\_full\_design

( To know the path on your device, from 3C Toolbox, tap *request support* from *Help and support* menu. An email will be generated to the developer having information about your device, including *battery\_info.txt*. This file amongst other things specifies the path of second source )

So, the battery capacity and state of battery as reported in percentage depends on *from which of these two sources it is being read and the two sources could hold different values* (In my case, it was the stock ROM shipped with wrong capacity in the battery profiles)

This explanation fits in well with battery capacity being reported differently by apps as also mismatched battery readings using an extended battery (**Note:** These two questions are of '14 vintage and based on the location of battery files as mentioned, I have answered)

**Question**

I have been scouring the net, various forums, Android Developers etc to get an authoritative source for this rather than a mail communication. This would help me understand better and also answer such questions with a good reference

**Can someone point to an authoritative source that supports or offers an alternative explanation ?**

**Edit:** I am looking for generic information , not specific to my device

# Answer
> 3 votes
**I think the answer in the email is legit, here's why:**

*All of the following information is based on the Google Nexus 5, but the general procedure should apply for all Android phones.*

The mail describes two possible sources for an app developer to get the information on how high the battery charge is on full capcity:

1. Reading from the sysfs file in the Android file system (*/sys/devices/power\_supply/battery/charge\_full\_design*).
2. Using the Android private API. Private in this case means that only system apps (from Google) have access to this information. But an app developer can use a few tricks (described here) to get access to this information too.

Both of these methods have their own source for the "charge at full capacity" value.

**1.:** In the Nexus 5 this file is created by the driver responsible for handling the chip (Maxim MAX17048) which measures the remaining capcity on the battery. The source code of this driver can be found here. The driver uses additional files to get device specific information. This information is fixed and usually provided by the smartphone manufacturer. The file used for the driver in the Nexus 5 also contains a value called `fcc-mah`. You will get the content of this value if you read from the */sys/devices/power\_supply/battery/charge\_full\_design* file in the Nexus 5.

**2.:** Another way is provided by the private Android API. This API uses *power profiles* to know how much energy every component approximately consumes. The Google documentation says:

> Device manufacturers must provide a component power profile that defines the current consumption value for the component and the approximate battery drain caused by the component over time. This profile is defined in platform/frameworks/base/core/res/res/xml/power\_profile.xml. For guidance on these settings, see Power Values.

The `power_profile.xml` also holds a value called `battery.capacity` which can be read via the API. This value also holds the maximum capacity of the battery.

To get the `power_profile.xml` for your device, do the following:

* Use ADB to get the the framework-res.apk: `adb pull /system/framework/framework-res.apk`
* Follow these instructions to get a readable version of `power_profile.xml`
* Path to the extracted file is: `framework-res/res/xml/power_profile.xml`

---

So depending on how a developer chooses to get the "charge at full capacity" value, he may get different results. Especially when I look at the driver file for the Huawei Honor 6, one can see that there are different values depending on the used battery type.

One could assume that a lazy manufacturer does not update the files in the driver or the power profile appropriately for the used battery, which in return causes the different values.

Form a developers perspective the second method is more attractive and easier to implement (again, see this answer). The first method needs access to the Android file system and root privileges.

---
Tags: battery, charging, huawei
---


# Question
Title: How do multiple accounts on Play Store work?
I have 2 accounts on the device:

*abc@gmail.com* \- Main Account

*xyz@gmail.com*

---

1. With account **abc@gmail.com** selected on the Play Store, I've downloaded app XPTO and bought some stuff via In App Billing.
2. I then uninstall it
3. Change to account **xyz@gmail.com** on the Play Store
4. Downloaded the app with that account.

What I'm seeing is that **all bought items by account abc@gmail.com are present**, although I've downloaded with the account xyz@gmail.com, is this a normal behaviour?

Besides that whenever I try to buy a new product via In App Billing, the Play Store popup to buy it, shows the account abc@gmail.com and not xyz@gmail.com

Can someone explain this behaviour?

---

**Update:**

I've found another thread about this: Change Gmail account to make in-app purchase?

# Answer
To answer the first part of your question, your list of purchased apps in the Play Store is a union of all of the purchased apps on all of your Google accounts. As long as your **abc@gmail.com** account is logged in on your phone you will have access to all apps purchased on that account. This does **NOT** mean that they in any way become affiliated with any other account, as removing the purchasing account from your device will disable any paid app that checks for a license and it will no longer show up as `PURCHASED` in the Play Store. Migrating paid apps from one account to another is a task that Google has left up to app developers to handle and you have to appeal to them to grant your other account access.

So in summary, the list of purchased apps in Google Play is completely independent of which account you have currently selected within the Play Store.

As far as changing your main account, the only way to do this is to perform a Factory Reset and sign in initially with your other account. The main account is so tightly ingrained in Google services that it cannot be changed without wiping your phone. And this process affects a lot more than just In-App purchases.
> 1 votes

# Answer
I assume *abc@gmail.com* was the first account you added to the device presumable at the initial Android setup on first run. What Android does is it makes this account the primary account unless removed. All other accounts are secondary to that. In earlier versions of Android, it was difficult to remove the Primary account, if my memory serves me right. So, I think what you experience is normal.
> 0 votes

---
Tags: google-play-store
---


# Question
Title: Identify if a user is online in Google Hangout
How can I know if a user is online or offline in Google Hangout? In the Hangout on Gmail web it shows a green line under the user's profile pic. But there no such thing in Android app.

# Answer
Just released today, version 1.2 says this in the "What's new" section:

> * You can finally see who is on Hangouts! When you start a new Hangout, green icons show who's on, and gray shows who's not.

Also of note:

> * Contacts are now organized by People you Hangout with, Suggested People, and Other Contacts.
> * Long press contacts in the New Hangout screen to hide them.
> 2 votes

# Answer
Hangouts doesn’t use the green or grey dots that Google Talk used to identify if someone is online or offline. Instead, you can tell **if a contact is online or not if their profile picture is clear or faded**. A faded profile picture means your contact is unavailable, and a clear picture means they’re online. One downside is that Hangouts doesn’t support the “invisible” status like Google Talk did
> 2 votes

# Answer
It depends on whether the user has the Gmail webapp open and what platform you are using. As September 2014's version 2.3.757 on Android, here's the breakdown

If they person is...

On Gmail Webapp or Chrome Extension Open They appear online in all places

* Webapp/Extension is open, but not active \[GChat "busy"\] - they appear online everywhere, but you cannot see their device
* active recently in Hangouts \[Gchat "online"\] - online and can see device
* conversation open - online, can see device, and bolded avatar

Only on a Mobile App \[Gchat "away"\] You will see no status icon in Gmail

* not active recently in mobile app - online, but you cannot see device
* active recently in Hangouts mobile app - online AND you can see device
* conversation open - online, can see device, and bolded avatar
> 1 votes

# Answer
If the user is offline, their tiny picture that sits in the chat is faded.
> 1 votes

---
Tags: google-hangouts
---


# Question
Title: Do I have to buy or need a 3D-enabled phone to use Google Cardboard?
Google cardboard comes with 3D glasses. Does that mean that we will be able to watch 3D videos using a smartphone like the Moto-G (1st edition) which is not 3D enabled?

# Answer
I'm able to use the YouTube VR 3D app to view 3D YouTube videos on my Samsung Galaxy 4S. I can also view Cardboard specific content with the Cardboard app on this same phone; as I understand it, Cardboard is designed to work with ordinary smart phones.
> 3 votes

# Answer
Google Cardboard is a Virtual Reality product which uses two images, one in each of your eye. Cardboard uses magnifying lenses in order to create a fake 3D image, your phone only splits as a display to both eyes. You need high resolution for VR, because the horizontal display is cut in half for each eye. I wouldn't use a Moto 1 at 720p, go for a Moto G3 with 1440p if you want decent results. Any Samsung models past the 4th generation (S4, Note 3) work good too.
> 1 votes

# Answer
To be fully Google Cardboard compliant, your phone needs to have gyroscope. If the gyroscope is not present, Google Play will report the phone as not compatible. If it is for watching side-by-side format 3d videos, we have a tiny ad-free utility app called iPlay SBS Player which does not need gyroscope.
> 0 votes

# Answer
No, not required. Instead you need applications made for Google Cardboard. It is a simple and an innovative idea from google. I have not tried it but had read and understood it in detail. You can find many applications from the below link. Also this works by splitting the screen of your normal phone, and presenting different views to each eye for creating 3D view.

Apps

Google cardboard
> -2 votes

---
Tags: google-cardboard
---


# Question
Title: unable to download from google play store
My device is micromax nitro 2..downloading over mobile data has become impossible ..when I try to download from playstore,it shows infinite downloading. Even to download a 1 mb app.I have another device in possession,which is Gionee pioneer p1..By tethering internet from micromax,the internet acess and downloading has been super fast in it..So is my micromax device experiencing any problem or can it be solved???

# Answer
> 0 votes
Clean Google Play Store cache, force stop it and reboot your device if it doesn't work clean data from play store and add new google account

# Answer
> 0 votes
I too had the same issue and i have gone through several forums for the help.All have suggested the same .

> Clear cache and clear data of the playstore. Force stop the playstore. Remove and add google account.

I have tried all of the above but not found any good.

But after lot of trail and error i have resolved the issue.

Solution is the same as above but the sequence order is very important.

Please follow the exact order given below.

1). Google Playstore - Go to Settings \>\> Apps\>\> 'All' tab \>\> Select Google Playstore - Now Uninstall all updates \>\>Force stop \>\> Clear Cache\>\> Clear Data. 2). Download Manager - Go to Settings \>\> Apps\>\> 'All' tab \>\> Select Download Manager - Force stop \>\> Clear Cache\>\> Clear Data. 3). Downloads - Go to Settings \>\> Apps\>\> 'All' tab \>\> Select Downloads - Force stop if the button is active. 4). Remove the google account. 5). Restart the device. 6). Add Google account.

(Assuming you have followed the sequence properly)

In case the above steps don't resolve the issue and you are using Mobile data then follow the below steps

1 \> Check your storage space in your phone and ensure required space is available. 2 \> Please go to Settings \>\> Mobile Networks \>\>Access point Names /APN \>\> Go to APN Protocol Change it to IPV6 and APN Roaming Protocol to 'IPV4/Ipv6'.

Thats all !!! - Enjoy , Don't forget to vote for the reply

---
Tags: 4.4-kitkat
---


# Question
Title: Does the Bluelight Filter for Eye Care app really work?
Does the Bluelight Filter for Eye Care app really work? Can you tell me why it is helpful to protect eyes?

# Answer
> 1 votes
These apps really work. There are lot of apps that I have used to reduce eye strains such as lux auto brightness, darker pro, juice defender's brightness settings, etc.

# Answer
> 2 votes
Sorry to tell you that no app can really filter the blue light emitted from your digital screen. This kind of app does reduce our eye strain because it helps to change the contrast, adjust the brightness, and add some shades. Want to know whether the eye care app filters blue light effectively, you should use a spectrometer.

In this video, you can see clearly how blue light has been filtered by T’amie blue-light protection glasses with the use of a spectrometer.

https://www.youtube.com/watch?v=nmUebEu3GzE&noredirect=1

In fact, most of us computer workers pay more attention to eye care from blue light and eye strain. But we should make the right choice to protect our eyes.

Hope this helped!

# Answer
> 1 votes
Bluelight filter apps do help to reduce blue light.

Assume you have a fully blue screen on your mobile. Each pixel would obviously be emitting blue light. The effect of blue light is not the effect of the waves unlike UV rays that damage cells. Its effect on human beings arise from the fact that our biological processes associated with sleep is linked by nature to an absence of blue colored objects in nature at night. Now, let us place a red opaque screen on top of the blue screen described earlier. Obviously, the eye now sees a red screen and it does not trigger any sleep hormones. A blue light filter app uses this phenomenon by using a semi-transparent non-bluish overlay that increases the reddishness and/or greenishness of the screen.

We have developed an app to reduce the bluishness of the screen. It has no ads, over 400 good reviews, and small file size (~86kb). You can try it out or just read through the reviews to understand how it is helping users.

https://play.google.com/store/apps/details?id=com.panagola.app.bluef

Affiliation: Developer, Non-profit

# Answer
> 0 votes
Some useful apps can truly block blue light and offer eye protection. And I also approve the upstairs' point: blue light blocking percentage differs due to the different apps and products. Generally speaking, I enjoy the F.lux on my Android phone very much.

Besides, a blue light protective eyewear is great for eye protection, too.

---
Tags: applications
---


# Question
Title: Can you download app to your ad card and still play then
I want to down load app to my ad card so I can download mode apps but it won't let me download apps to it and still play them

# Answer
You can install Link2SD. Its an app in the Playstore. But you need a *rooted* device.
Also if you want to move `.obb` files to your SDcard, you need to pay for it.
There is also a "How to" in the description of the app in the Playstore.
> 0 votes

---
Tags: sd-card, storage, android-versions
---


# Question
Title: I turned off some apps that were necessary, now things dont' work
I have a Samsung Galaxy 3, around a year old. Recently it started spontaneously rebooting all the time (like every ten minutes). I looked on line for possible explanations, and found sites telling me to delete unnecessary apps that could cause it.

So I looked at what apps I'm running, found lots of things that I didn't know what they are, and turned some of them off. And now - no surprise - things don't work right. Symptoms:

* When I try to send messages, it (messages) sometimes (not always) immediately shuts down and I can't send them. Sometimes (not always) I can't read them (beyond the first line that shows in the message list).
* I no longer have phone call logs - old logs are gone, new ones not created.
* I keep getting messages saying Touch Wiz Home is not working. What is Touch Wiz Home? It is on my list of "all apps" but not in the Running list, nor in the Turned Off list. Same for TouchWiz easy home. What is the difference between them?
* Almost ever time I get a call, it rings maybe once and then I get a message saying I missed the call. (This may have been happening before as well - I don't get many calls, so I'm not sure.)

I assume I turned off things that I shouldn't have, but I don't know which things. I don't know how to take screen shots on the phone and post them here, but here's a list of things that are turned off:

BadgeProvider

Best face

Blurb Checkout

Bubbles

CapabilityManagerService

ChatON

com.android.providers.partnerboo...

DirectConnectManager

DirectShareManager

Drive (google drive)

Dropbox

Dual Clock (digital)

Favorite Contacts

Flipboard

Google Backup Transport

Google Calendar Sync

Google Contacts Sync

Google Play Games

Google Text-to-speech Engine

Group Play

InteractiveKeyguardTutorial

LogsProvider (that sounded likely, I just turned it back on)

Market Feedback Agent

MobilePrintSvc\_CUPS

MobilePrintSvc\_CUPS\_Backend

Multimedia UI Service Layer

S Memo

Samsung Link

Samsung Print Service Plugin

Samsung Push Service

Software Update

Story Album Widget

TalkBack

Trim

Weather (that's accuweather, which I thought I'd uninstalled - though it shows 0 bytes, so maybe it's just an icon?)

Can anyone tell me what else I should turn back on to solve these problems? it looks like logs might work again now that I turned it on. I now have the logs predating when I started turning things off, though not those from the past week. Progress, maybe?

Thank you!

catteau

p.s. In the interim I put in a different battery, and I don't think I'm having the spontaneous reboot problem any more.

# Answer
> 1 votes
Turn on all apps names Google

Favorite contacts

Story Album Widget

CapibiltyManagerService

Multimedia Ui Service layer

MobilePrintSvc\_CUPS

MobilePrintSvc\_CUPS\_Backend

com.android.provider...

---
Tags: applications, samsung-galaxy-s-3, system-apps
---


# Question
Title: I see ads on my phone and apps auto install
Usually, I find full screen ads on my Android mobile. Also, apps like task bucks automatically install on my smartphone.

# Answer
This can be caused by either an app you installed or one that comes with your phones ROM, especially if your phone is a really cheap one, such as knock offs from China.

1. Preinstalled app causing the issue

I experienced this when I bought a phone to fiddle with, a cheap one. Check if you have an app entitled: com.android.systemservice running the service "systemService" This is a trojan and uses Webkit to display fullscreen ads and installs apps without your permission. This is rather common thus can be the culprit.McAfee reported on this here. To uninstall it, you will have to root your phone and use an app such as \`System app remover.

2. Apps you installed

Happens often, especially if you download APKs off unknown sources other than the Play Store. Either uninstall an app you recently installed and check if the adds appear, as user4847410 suggested. Alternatively, use 360 Security, Malwarebytes or anti-adware (play.google.com/store/apps/details?id=com.keerby.adaware&hl=en)

Proxyserver and proxyhandler can't be the cause as they are core parts of Android.
> 0 votes

---
Tags: stock-android, privacy
---


# Question
Title: Nexus 4 on cm 13 nightly - application cannot download files
I have recently downloaded cm 13 and flashed it on Nexus 4. Since then none of my applications can download any files. Google apps can do that though.

I have tried to capture the relevant debug info from adb:

```
03-23 14:39:57.576 717-717/system_process W/PackageManager: Permission android.permission.DOWNLOAD_WITHOUT_NOTIFICATION from package com.android.providers.downloads in an unknown group android.permission-group.NETWORK
03-23 14:40:12.658 717-717/system_process W/PackageManager: Not granting permission android.permission.ACCESS_DOWNLOAD_MANAGER to package com.android.browser (protectionLevel=18 flags=0x3849be45)
03-23 14:40:12.658 717-717/system_process W/PackageManager: Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x3849be45)
03-23 14:40:13.419 717-1141/system_process W/PackageManager: Not granting permission android.permission.ACCESS_DOWNLOAD_MANAGER to package com.android.browser (protectionLevel=18 flags=0x38c9be45)
03-23 14:40:13.419 717-1141/system_process W/PackageManager: Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x38c9be45)
03-23 14:42:03.712 2170-2232/com.android.nfc D/NfcService: checking on firmware download
03-23 14:42:06.057 659-659/? E/kickstart: Successfully downloaded files from target
03-23 14:42:06.743 717-2057/system_process I/ActivityManager: Start proc 2727:android.process.media/u0a9 for broadcast com.android.providers.downloads/.DownloadReceiver
03-23 14:42:16.443 3255-3274/? I/MessagingAppDataModel: Fixup: Send failed - 0 Download failed - 0
03-23 14:43:36.458 659-659/? E/kickstart: Successfully downloaded files from target
03-23 14:44:25.562 2727-2752/android.process.media W/DownloadManager: Path appears to be invalid: /storage/emulated/0/Download/com.coolapk.market-6.4.0-1603173.apk
03-23 14:44:25.707 2727-4566/android.process.media D/DownloadManager: [1] Starting
03-23 14:44:26.198 2727-4566/android.process.media W/DownloadManager: [1] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:44:26.199 2727-4566/android.process.media D/DownloadManager: [1] Finished with status WAITING_TO_RETRY
03-23 14:45:09.370 2727-4758/android.process.media D/DownloadManager: [1] Starting
03-23 14:45:12.006 2727-4758/android.process.media W/DownloadManager: [1] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:45:12.007 2727-4758/android.process.media D/DownloadManager: [1] Finished with status WAITING_TO_RETRY
03-23 14:45:37.961 2059-2059/com.android.systemui D/StatusBar: Clicked on content of 0|com.android.providers.downloads|0|1:com.android.browser|10009
03-23 14:45:38.055 717-2014/system_process I/ActivityManager: START u0 {act=android.intent.action.VIEW_DOWNLOADS flg=0x10000000 cmp=com.android.providers.downloads.ui/.DownloadList} from uid 10025 on display 0
03-23 14:45:38.115 2727-2727/android.process.media W/System: ClassLoader referenced unknown path: /system/app/DownloadProviderUi/lib/arm
03-23 14:45:38.146 717-2014/system_process I/ActivityManager: START u0 {act=android.provider.action.MANAGE_ROOT dat=content://com.android.providers.downloads.documents/root/downloads cmp=com.android.documentsui/.DocumentsActivity} from uid 10009 on display 0
03-23 14:45:55.276 2727-2868/android.process.media W/DownloadManager: Path appears to be invalid: /storage/emulated/0/Download/com.coolapk.market-6.4.0-1603173.apk
03-23 14:45:55.383 2727-5648/android.process.media D/DownloadManager: [2] Starting
03-23 14:45:55.773 2727-5648/android.process.media W/DownloadManager: [2] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:45:55.776 2727-5648/android.process.media D/DownloadManager: [2] Finished with status WAITING_TO_RETRY
03-23 14:47:08.190 2727-6824/android.process.media D/DownloadManager: [1] Starting
03-23 14:47:08.192 2727-6825/android.process.media D/DownloadManager: [2] Starting
03-23 14:47:08.420 2727-6825/android.process.media W/DownloadManager: [2] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:47:08.420 2727-6825/android.process.media D/DownloadManager: [2] Finished with status WAITING_TO_RETRY
03-23 14:47:08.601 2727-6824/android.process.media W/DownloadManager: [1] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:47:08.615 2727-6824/android.process.media D/DownloadManager: [1] Finished with status WAITING_TO_RETRY
03-23 14:48:21.289 2727-7951/android.process.media D/DownloadManager: [2] Starting
03-23 14:48:24.624 2727-7951/android.process.media W/DownloadManager: [2] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:48:24.629 2727-7951/android.process.media D/DownloadManager: [2] Finished with status WAITING_TO_RETRY
03-23 14:50:30.886 2727-9818/android.process.media D/DownloadManager: [1] Starting
03-23 14:50:35.682 2727-9818/android.process.media W/DownloadManager: [1] Stop requested with status 403: Unhandled HTTP response: 403 Forbidden
03-23 14:50:35.683 2727-9818/android.process.media D/DownloadManager: [1] Finished with status 403
03-23 14:52:10.358 2727-11049/android.process.media D/DownloadManager: [2] Starting
03-23 14:52:10.911 2727-11049/android.process.media W/DownloadManager: [2] Stop requested with status 403: Unhandled HTTP response: 403 Forbidden
03-23 14:52:10.911 2727-11049/android.process.media D/DownloadManager: [2] Finished with status 403
03-23 14:57:23.790 659-659/? E/kickstart: Successfully downloaded files from target
03-23 14:57:24.879 659-659/? E/kickstart: Successfully downloaded files from target

```

Any possible fix?

*Edit: Similar problems(practically the same errors) exist on CM 12.1 latest snapshot and Slimkat (4.4 builds). As for the slimkat build, it has been used for over a year with no problem. Now it happens out of the blue.*

# Answer
It turns out that I used root to copy files onto the SD card directory (/storage/emulated/0), locking out non-root users.

`chown -R media_rw:media_rw /sdcard/*` in recovery fixed the problem. (Note that sdcard mount point can be different in different recoveries. I use TWRP)

Silly me :P
> 0 votes

# Answer
`chown -R 1023:1023 /sdcard` is even shorter

I would also give `chmod -R 770 /sdcard` for completeness
> 0 votes

---
Tags: 6.0-marshmallow, download-manager, cyanogenmod
---


# Question
Title: Extract App Data from Nandroid / CWM Backup
I use ClockworkMod Recovery, and Slimbean.

Recently, my slimbean started hanging at the loading screen and getting insanely hot. So I took a backup, and cleaned flashed AOKP rom. It's working fine so far. Initially, I tried to do a flash without clearing data. Then, a clean flash with "advanced restore"ing the data alone from the backup, but both resulted in the above-mentioned problem of hanging at boot screen.

Is there a way to extract the app-data from CWM backup and restore it manually? Or an app for this?

# Answer
> 6 votes
In addition to the well-known Titanium Backup app (for which you must purchase the Pro key to unlock the CWM/TWRP nandroid backup support), there is another app now: Nandroid Manager, which according to its description can restore apps from nandroid backups even with the free version (there is a Pro key too, but it is required if you want to restore special data such as Wi-Fi access points, Bluetooth data, user dictionary and browser data). However, I did not try using this app.

# Answer
> 3 votes
Titanium Backup Pro can do that.

> \[✔\] Restore individual apps+data from CWM backups!

Similar question.

# Answer
> 1 votes
It looks like there are several options, though I was hoping for something simple like "rename to .tar and open in 7-zip". Anyway, some options:

See also this very similar question.

# Answer
> 1 votes
Most of the answers have become a bit dated so here is an update: Nandroid Manager doesn't seem to be developed any more and doesn't work reliably with the latest versions of Android anymore. But it's worth a try. In my case, about half of my apps were successfully restored and for most of the ones where "restore app + data" failed, **"restore data" alone worked** (and you can just reinstall the app from the app store).

As regards Titanium Backup Pro, it is still updated but the "Restore from Nandroid" function doesn't seem to work too well either on Marshmallow. Over the past months, there have been multiple reports of it either not seeing the backup files at all or failing to read their contents. I guess it's not a priority for the developers to fix this.

---
Tags: clockworkmod-recovery, data-recovery, restore, nandroid
---


# Question
Title: Fastest way to set a contact picture on Android
Recently, I got an Android for my father instead of the iPhone he always had.

Well, his main complaint is that his contacts have no picture associated, that would be simple to sync with facebook. I had done that before in the old days for my phone using an app, but now, since facebook removed the capability of apps to access users pictures, all the apps that should do that, such as "Contact photo sync" became useless and are nothing but a swamp of ads.

Now, the only method I found is manually is going to someone's picture on Facebook, doing an export to external application and then choosing "Set as contact picture" in the export selection.

Would be simple if it wasn't for this simple feature missing in pure Android, the contact photo export does not appear in the "export options" as an application (I am using 6.0 on Nexus X5) . So now what I have to do is save the picture on the device, then setting it as a contact picture, having to navigate on multiple windows instead of directly exporting.

I am pretty sure I've seen the "Set as contact picture" before on another version of android, or some branded version.

Ultimately, my question is: how to export to a contact without having to save it on the phone? Are there any apps that would export from the "transference area" directly to the contact picture?

# Answer
Unfortunately there is no simple, fast solution to this, Facebook has actively made this difficult and even though there were solutions for older versions of Android, they all related to the Facebook API, not Android which was just doing documented calls that are not supported any longer.

However, if your father uses Google+ you CAN sync Google+ and Google account pictures to contacts.

Open Google+ and go to Menu (3 lines) and select Settings, then tap the Google account used on the device, scroll down to Contacts, and in that menu enable "Keep contacts up to date". Note that this will also put your user account and Google account avatar in sync, and most SMS/MMS Messaging apps will use this information as well and display the contacts profile picture in the message stream.

Contacts can also be edited online by logging into the Google account in question and going to Google Contacts page. Again it is not speedy, but it will work, and there is some import/export functionality on this page as well, but I don't believe it relates to profile pictures.
> 1 votes

---
Tags: contacts
---


# Question
Title: Cryptfs : unmounting /data failed: Device or resource busy
I am trying to encrypt my rooted Nexus 5 *(running CyanogenMod 13/Marshmallow)*.
Here is how I am doing:

1. With the phone running and connected to USB, make sure that `/mnt/asec/` is empty
2. Long-press the power physical button, this makes the Power off dialog pop up
3. Long-press the "Power off" option of the pop up, confirm that you want to reboot in Safe Mode
4. Without starting any app, run `adb shell` on the computer then `su` to get root then `pkill -KILL daemonsu` to kill the SuperSU daemon
5. Settings \> Security \> Encrypt phone, confirm
6. The phone reboots, from the computer type `adb logcat`

Here is what I see:

```
I ServiceManager: service 'drm.drmManager' died
D libEGL  : loaded /vendor/lib/egl/libEGL_adreno.so
D libEGL  : loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
D libEGL  : loaded /vendor/lib/egl/libGLESv2_adreno.so
I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 09/02/15, 76f806e, Ibddc658e36
E BootAnimation: couldn't find audio_conf.txt
W BootAnimation: Audio service is not initiated.
D BootAnimation: Use save memory method, maybe small fps in actual.
D BootAnimation: Use save memory method, maybe small fps in actual.
E Cryptfs : unmounting /data failed: Device or resource busy
E Cryptfs : Bad magic for real block device /dev/block/platform/msm_sdcc.1/by-name/metadata
W vold    : type=1400 audit(0.0:19): avc: granted { read } for name="mmcblk0p28" dev="tmpfs" ino=6735 scontext=u:r:vold:s0 tcontext=u:object_r:userdata_block_device:s0 tclass=blk_file
W vold    : type=1400 audit(0.0:20): avc: granted { read open } for name="mmcblk0p28" dev="tmpfs" ino=6735 scontext=u:r:vold:s0 tcontext=u:object_r:userdata_block_device:s0 tclass=blk_file
W vold    : type=1400 audit(0.0:21): avc: granted { ioctl } for path="/dev/block/mmcblk0p28" dev="tmpfs" ino=6735 ioctlcmd=1260 scontext=u:r:vold:s0 tcontext=u:object_r:userdata_block_device:s0 tclass=blk_file
D Cryptfs : Just asked init to shut down class main
W vold    : emulated unmount requires state mounted
E Cryptfs : unmounting /data failed: Device or resource busy
W SocketClient: write error (Broken pipe)
W SocketClient: Unable to send msg '200 8 -

```

At that point the CyanogenMod loading screen keeps animating for 10+ hours and probably forever if I don't stop it. Pressing the Power physical button for 5 seconds makes it reboot and start normally this time. Obviously encryption has not been performed.

I tried the whole procedure twice.

What could be causing this `Cryptfs : unmounting /data failed: Device or resource busy` problem?

# Answer
As I've found in this bug report, you can watch the current open files by running this command in a second shell:

```
while true; do lsof | grep /data; sleep 0.2; done

```

This checks every 0.2s which files are still in use on /data. In my case it was chainfire's SuperSU, which had a logfile opened.

Additionally, I've found out that a 2nd SDCard partition was mounted to /data/sdext2:

```
mount | grep "/data"

```

This was due to an app "Link2SD". With this command I was able to figure out, where the mounting happens:

```
adb shell
# make system partition writable
mount -o remount,rw /system
grep -R "/data/sdext2" /system

```

I've commented the "mount" commands out and restartet my phone. Now encryption works fine.
> 2 votes

# Answer
I've spend all day with the issue of the never ending encryption (LG Nexus 5, Cyanogenmod 13) and somehow figured out to check the logs and eventually came across this question here on Stack Exchange. @mattelacchiatos hint is a good one, but a little bit complicated. **TL;DR I was able to fix this by simply booting into safe mode.**

For the record, this is the log of the error I had (same as OP):

```
01-24 00:15:05.132   871  1170 D CryptdConnector: SND -> {1 cryptfs getfield SystemLocale}
01-24 00:17:05.077   871   910 D CryptdConnector: SND -> {2 cryptfs setfield SystemLocale de-DE}
05-26 20:33:36.401   871   910 D CryptdConnector: SND -> {3 cryptfs setfield SystemLocale en-US}
05-26 20:35:05.696   871  1760 D CryptdConnector: SND -> {4 cryptfs setfield PatternVisible 0}
05-26 20:35:05.697   871  1760 D CryptdConnector: SND -> {5 cryptfs setfield PasswordVisible 1}
05-26 20:35:05.706   871  3096 D CryptdConnector: SND -> {6 cryptfs setfield SystemLocale en-US}
05-26 20:35:06.491   871  3095 D CryptdConnector: SND -> {7 cryptfs enablecrypto inplace default}
05-26 20:35:06.495   150   162 E Cryptfs : Bad magic for real block device /dev/block/platform/msm_sdcc.1/by-name/metadata
05-26 20:35:06.498   150   162 D Cryptfs : Just asked init to shut down class main
05-26 20:35:37.010   150   162 E Cryptfs : unmounting /data failed: Device or resource busy
05-26 20:35:37.140   150   162 E Cryptfs : Bad magic for real block device /dev/block/platform/msm_sdcc.1/by-name/metadata
05-26 20:35:37.145   150   162 D Cryptfs : Just asked init to shut down class main
05-26 20:35:57.212   150   162 E Cryptfs : unmounting /data failed: Device or resource busy

```

What I did, was the following. Since I tried a lot and wiped/flashed the device around a hundred times, I assume it only works on a clean install of cyanogenmod. Also, I read something about issues with Team Win Recovery Mode (TWRP) and how it formats the partitions. So here is what I did:

1. Flashed the **Cyanogenmod recovery image**

```
sudo fastboot flash recovery /path/to/cm-13.0-20160418-SNAPSHOT-ZNH0EAO2NM-hammerhead-recovery.img

```
2. Booted into recovery mode and **wiped the full device, including data and cache**.
3. Booted into the bootloder, wait in the boot loader menu and **flash the TWRP image**

```
sudo fastboot flash recovery /path/to/twrp-3.0.2-0-hammerhead.img

```
4. Still in the bootloader, go into the recovery mode, twrp this time.
5. Push the cyanogenmod zip to the phone.

```
adb push /path/to/cm-13.0-20160418-SNAPSHOT-ZNH0EAO2NM-hammerhead.zip /sdcard

```
6. Use twrp to install cyanogenmod from the zip. **Do not wipe cache or format data**! It's tempting since a button pops up, but I read that there might be issues with malformed partitions. Also, **do not reboot yet!** Just go back.
7. Reboot into the bootloader. **Don't boot cyanogenmod yet**. Make sure you are in the boot loader.
8. Flash the **Cyanogenmod recovery image** again.

```
sudo fastboot flash recovery /path/to/cm-13.0-20160418-SNAPSHOT-ZNH0EAO2NM-hammerhead-recovery.img

```
9. Now, boot cyanogenmod, set language, date, time, timezone. **Don't change any settings yet**, don't connect to wifi.
10. Press the power button until the **Shutdown dialog** pops up.
11. **Long press the shut down option** until a confirmation dialog comes, which askes you to confirm rebooting into **safe mode**.
12. Confirm and **reboot into safe mode**.
13. Go to settings and security, **hit encrypt phone and confirm encryption**, again.
14. Wait a few minutes. On a clean install, it should not take more than 5-10 minutes on a Nexus 5.
15. It will reboot into normal mode as soon as it finished. Confirm in security settings the phone is encrypted.

Here's the `adb logcat` to confirm it worked out:

```
05-26 21:17:20.694   799   897 D CryptdConnector: SND -> {1 cryptfs getfield SystemLocale}
05-26 21:17:33.095   799  1055 D CryptdConnector: SND -> {2 cryptfs getpw}
05-26 21:17:33.096   149   160 D VoldCryptCmdListener: cryptfs getpw
05-26 21:17:33.097   799  1055 D CryptdConnector: SND -> {3 cryptfs clearpw}
05-26 21:17:33.098   149   160 D VoldCryptCmdListener: cryptfs clearpw
05-26 21:18:42.691   799   981 D CryptdConnector: SND -> {4 cryptfs setfield PatternVisible 0}
05-26 21:18:42.692   799  1637 D CryptdConnector: SND -> {5 cryptfs setfield PasswordVisible 1}
05-26 21:18:42.701   799  1055 D CryptdConnector: SND -> {6 cryptfs setfield SystemLocale en-US}
05-26 21:18:43.476   799   981 D CryptdConnector: SND -> {7 cryptfs enablecrypto inplace default}
05-26 21:18:43.480   149   160 E Cryptfs : Bad magic for real block device /dev/block/platform/msm_sdcc.1/by-name/metadata
05-26 21:18:43.484   149   160 D Cryptfs : Just asked init to shut down class main
05-26 21:18:44.950   149   160 D Cryptfs : unmounting /data succeeded
05-26 21:18:44.951   149   160 I Cryptfs : keymaster module name is Keymaster QCOM HAL
05-26 21:18:44.951   149   160 I Cryptfs : keymaster version is 3
05-26 21:18:44.951   149   160 I Cryptfs : Found keymaster0 module, using keymaster0 API.
05-26 21:18:44.954   149   160 I Cryptfs : keymaster module name is Keymaster QCOM HAL
05-26 21:18:44.954   149   160 I Cryptfs : keymaster version is 3
05-26 21:18:44.954   149   160 I Cryptfs : Found keymaster0 module, using keymaster0 API.
05-26 21:18:45.553   149   160 I Cryptfs : Using scrypt with keymaster for cryptfs KDF
05-26 21:18:46.034   149   160 I Cryptfs : keymaster module name is Keymaster QCOM HAL
05-26 21:18:46.034   149   160 I Cryptfs : keymaster version is 3
05-26 21:18:46.034   149   160 I Cryptfs : Found keymaster0 module, using keymaster0 API.
05-26 21:18:46.035   149   160 I Cryptfs : Signing safely-padded object
05-26 21:18:47.040   149   160 D Cryptfs : Just triggered post_fs_data
05-26 21:18:47.090   149   160 D Cryptfs : post_fs_data done
05-26 21:18:49.091   149   160 D Cryptfs : Just triggered restart_min_framework
05-26 21:18:49.091   149   160 I Cryptfs : Using scrypt with keymaster for cryptfs KDF
05-26 21:18:49.676   149   160 I Cryptfs : keymaster module name is Keymaster QCOM HAL
05-26 21:18:49.676   149   160 I Cryptfs : keymaster version is 3
05-26 21:18:49.676   149   160 I Cryptfs : Found keymaster0 module, using keymaster0 API.
05-26 21:18:49.685   149   160 I Cryptfs : Signing safely-padded object
05-26 21:18:50.297   149   160 I Cryptfs : Enabling support for allow_discards in dmcrypt.
05-26 21:18:50.297   149   160 I Cryptfs : target_type = crypt
05-26 21:18:50.297   149   160 I Cryptfs : real_blk_name = /dev/block/platform/msm_sdcc.1/by-name/userdata, extra_params = 1 allow_discards
05-26 21:18:50.300   149   160 I Cryptfs : Encrypting ext4 filesystem in place...
05-26 21:18:50.300   149   160 I Cryptfs : Encrypting group 0
05-26 21:18:50.301   149   160 I Cryptfs : Encrypting from sector 0
05-26 21:18:50.371   149   160 I Cryptfs : Encrypted to sector 790016
05-26 21:18:50.371   149   160 I Cryptfs : Encrypting from sector 802816
05-26 21:18:50.378   149   160 I Cryptfs : Encrypted to sector 813568
05-26 21:18:50.378   149   160 I Cryptfs : Encrypting from sector 819200
05-26 21:18:50.388   149   160 I Cryptfs : Encrypted to sector 840704
    [...]
05-26 21:19:43.819   149   160 I Cryptfs : Encrypting group 215
05-26 21:19:43.821   149   160 I Cryptfs : Encrypted to sector 3590587392
05-26 21:19:43.821   149   160 I Cryptfs : Encrypting from sector 3607101440
05-26 21:19:43.896   149   160 I Cryptfs : Encrypting group 216
05-26 21:19:43.898   149   160 I Cryptfs : Encrypted to sector 3607364608
05-26 21:19:43.898   149   160 I Cryptfs : Encrypting from sector 3623878656
05-26 21:19:43.971   149   160 I Cryptfs : Encrypting group 217
05-26 21:19:43.974   149   160 I Cryptfs : Encrypted to sector 3624141824
05-26 21:19:43.974   149   160 I Cryptfs : Encrypting from sector 3640655872
05-26 21:19:44.108   149   160 I Cryptfs : Encrypted to sector 3641183744

```

Good luck encrypting your phone in **safe mode**!
> 1 votes

---
Tags: cyanogenmod, root-access, 6.0-marshmallow, disk-encryption
---


# Question
Title: I need authorization from Google before downloading Messenger but it wants me to sign into my Google account. I am signed in everywhere
I need to authorize to download Messenger. It says sign into your Google account, but I'm already signed in everywhere. I don't understand what I'm not doing right.

# Answer
> 0 votes
You need to relogin as it may be a play services error. just remove your google account/accounts, reboot your phone, relogin to your account/accounts. if it still fails then look for google play services in

> settings \> applications \> google play services

and do a clear data. after restarting, relogin your account/s it should work fine.

---
Tags: google-play-store, google-account, facebook-messenger
---


# Question
Title: Will i lose device storage if i get a new screen
Last night I dropped my phone on the bathroom floor, there is a tiny crack in the top left corner, but now my screen wont work. Phone rings, home button lights up but screen is dead. If I take the screen to get fixed, will I lose photo's I didn't have stored on my SD card?

# Answer
No, the screen and board should be different assemblies, so they should be able to replace just the screen only.
> 0 votes

---
Tags: samsung-galaxy-s-5
---


# Question
Title: How to cancel email account setup without accepting server specified security policies?
This is a similar question to How do I avoid the server-specified security policies for my work e-mail? but whereas they are trying to use an Exchange email account without accepting the server's stringent security policies, I'm trying to **cancel** setup of the account.

The problem is, I can't open my Mail app without accepting these security policies. I get a dialog:

> \[Server\] requires that you update your security settings

...with two options - accept the security policies, or cancel, which simply closes the app.

How can I remove this half-complete Exchange account from my Mail app, when the Mail app won't open without accepting the policies and completing the setup of the account I no longer want to set up?

I'm on Android 5.0.2, non-root.

# Answer
Found it - you have to go through the phone's general settings, not the Email app.

Settings \> Personal \> Accounts \> Exchange ActiveSync, then select your account, then there's a option "Remove" in the menu from the ... dots menu icon at the top right of the screen.
> 2 votes

# Answer
Just an update to the solution for Android 5.1: you may have to deactivate auto sync before selecting the exchange account to be able to access the settings where you can remove it. Otherwise it kept kicking me back to the "accept/cancel" notification and not allowing access to alter the settings.

Auto sync is a checkbox option in the "..." menu on the account listing screen. You can turn back on auto sync after the account has been removed.
> 2 votes

---
Tags: email, stock-email-app
---


title: Question about nandroid backus

text:
# Question
Title: Question about nandroid backus
I am using twrp 3.0.2 for backup and restore on my galaxy s4 i9506 and i dont understand some things.

I wanted to be able to switch between 5.0.1 and 4.3 by having backups of both versions.

So i backed up my phone running android 5.0.1. I then wiped my phone and flashed the 4.3 rom. Now my phone is on 4.3.

After that i made a backup of my phone on 4.3. Now i have the backups of 4.3 and 5.0.1.

When i tried to restore the 5.0.1 backup on the 4.3 system, it would get stuck at the "galaxy s4" boot screen. The 4.3 system would only accept 4.3 backups. (likewise, if i flash 5.0.1, it will also only accept 5.0.1 backups)

Furthermore, when i restore the 4.3 backup with a 5.0.1 system, the "galaxy s4" boot screen will be still be the one from 4.3. (the one from 4.3 has vibration while 5.0.1 doesnt).

This also happens when i try to flash custom roms (it gets stuck at the galaxy s4 boot screen, and it is the same screen as the previous OS). Hence, i am unable to flash any custom rom.

I thought that nandroid backups are supposed to restore the entire system to the way it was (exept internal and external sd cards), i dont understand why it does not. I also dont understand why the galaxy s4 boot screen does not change when restoring or flashing custom roms.

I tried to make this as clear as possible, thanks for reading!

# Answer
First of all, be advised that Nandroid backups, in some situations aren't able to backup the "boot.img" properly, or isn't able to properly restore the "boot.img", even if it was backed up properly. When either of that happens, you're going to end up stuck like the way you are at the moment. The issue you're facing can also turn up, in case the partitioning structure is different between roms of two different android versions (one being more recent than the other, probably). Difference in the number and type of partitions being created by each backup can also lead to situations in which some data is wiped (upon restoring another), which some traces are still leftover.

> I thought that nandroid backups are supposed to restore the entire system to the way it was (exept internal and external sd cards), i dont understand why it does not.

Nandroid backups rely on the state of other things such as the custom recovery, the "boot.img" and the rom, in order to work properly. Think of it as having multiple variables in an equation; wherein even if one of them isn't working well with the others, its probably not going to be working as smoothly and perfectly as you would expect it to.

Therefore, my first suggestion would be to make a second copy of your existing nandroid backup on your computer (being extra safe here, so as to not possibly corrupt the existing one).

**0\>** Then, open/extract the nandroid backup and see if it contacts a "boot.img". If it does, you're in luck. Otherwise, you will need to source a "boot.img" for your phone from the internet (which may or may not work). Either way, this recently obtained "boot.img" will be used in a moment.

**1\>** Backup your existing boot.img using TWRP as a **separate** backup, selecting only the boot partition and nothing else for this particular backup. (This will give you a backup containing your existing "boot.img", which is present on the phone at the moment. Also make note which rom this "boot.img" goes with (4.3/5.0.1), based on what is currently installed on the phone)

**2\>** **Wipe all partitions currently existing on your phone using TWRP**. Use the fastboot mode to flash the "boot.img" obtained in **step 0**, above. Please make sure this "boot.img" goes along with the rom you will try to use with it, thereafter.

**3\>** Within TWRP, do a partial restore, restoring **ALL** partitions existing within the backup except the boot partition (as we have already dealt with that).
> 0 votes

---
Tags: rom-flashing, recovery-mode, restore, twrp
---


# Question
Title: Power button functioning as volume up key
I just want to know if it is a software or hardware problem? What I think is If the key is working fine and performing different function, It must be software problem but I am afraid that I I tried anything I might not able to turn it back on again. neither I would be able to enter recovery mode

# Answer
TL;DR It's most likely a software problem

## Check for incorrect ROMs or button remapping root mods

It sounds like a software problem. Do you have custom ROM installed? Is your phone rooted? With either of those two cases, you likely have some software setting that overrode the button mapping of the hardware keys. Perhaps you installed a ROM that was designed for a slightly different version of your phone.

In any case, the functionality of the power button cannot be rewritten at the hardware level. I feel confident in telling you that you should be able to turn off your phone, and the power button will act as a power button to turn the phone back on. That's built in to the hardware, and only after the ROM boots should it be able to act as a different button.

If you want to test it safely, I suggest pressing and holding the power button for 15 seconds, (don't use the Android power menu to turn the phone off). Almost all Android phones will force shut down if you hold the power button down for long enough, including the Zenfone 5.

In the case that it's only a software problem, your volume will turn up (as if you are holding the volume up button), but then the lower-level hardware will still shut the phone down after you continue to hold the button down. Since the phone detected the power button and shut down, you can be confident that it will detect the power button to turn back on.

## If holding the power button down for 15 seconds doesn't power off the phone:

If, on the other hand, the phone does not turn off after holding the power button down, and it only acts like a volume button, then you may have some bizarre hardware problem.

Perhaps the phone got wet and the contacts got shorted. The Asus Zenfone 5 has the power button and volume buttons next to each other (are you sure you are actually pressing the power button and not the volume button?). In this case, if holding the power button down for 15 seconds doesn't turn the phone off, then try the rice bag method to dry out the phone. Normally, these methods tell you to turn the phone off, but if you are already out of warranty, I suggest keeping the phone plugged in and on, or else it may never turn on again if indeed the power button is completely broken.
> 1 votes

---
Tags: asus-zenfone-5
---