text:
Screen timeout troubles
My galaxy note 4 is only staying on for about 15 seconds before timing out. And every time I try to change it a pop-up says that it is set to 15 seconds and I cannot change it. I've turned off stuff and messed with my settings as much as possible and am still not able to fix the problem.

Are you using a battery optimization program that controls such settings? I don't know if Greenify specifically does this, but I can envision this type of setting might not be overridden by a similar app in this class.

Check as suggested by wbogacz. If it still does not works, restore the settings to factory default. It is better to have default state before we proceed.

It is better to have default state before we proceed. -- Factory reset should be the last resort for anything, except flashing. Its just an overkill for anyone not familiar with backup and restore. I don't see any troubleshooting you suggested.


text:
Sprint Samsung Galaxy S3 Dropped phone now it won't power on or charge
I have a Sprint Samsung Galaxy S3 (SPH-L710) worked fine until I dropped it. After I picked it up the phone shut off, I tried removing/reinserting the battery, it would go to the Samsung logo, vibrate, and shut off. Power switch doesn't seem to work.
I tried plugging the charger in and it does nothing. I remove the battery and plug in the charger and the red light comes on, but when I reinstall battery it goes off.
I have tried removing battery, holding down power switch for 1 minute, then reinstalling battery. Does the same thing, vibrate, Samsung logo, off. I tried removing battery and when reinstalling it hold down the home key and volume+ key and it will say loading recovery, but then screen black.
The repair store where I live said it needed a new LCD Display and Digitizer??? I shouldn't be able to see the Samsung logo screen, Correct? I need to power on phone to remove some file and photos. Can this be done?
Any help is appreciated, thanks.

That's a very weird situation. You would assume it's a hardware problem... which it probably is, but it's possible the filesystem could've corrupted when the phone lost power after hitting the ground.
I would try inspecting/replacing hardware first (only if you're experienced), just reseating all the ribbon cables, maybe lightly clean the contacts with isopropyl alcohol to remove oxidation (again, only if you're experienced).
The very next thing I would do, is download the "stock SPH-L710 firmware/ROM image" file off XDA-Developers and use the instructions/downloads provided there to flash the image in download mode via Samsung's Odin program. They make it sound like it will wipe all your data, but from my experience (I have a Galaxy Note 2 -Verizon which I bricked), it will not wipe your data as long as you flash the correct image, same Android version (likely 4.1.2 or 4.3). If you don't know, and you know you have updated the device regularly, I would try to find the latest version available.
If you want more details on either of the solutions, I'll edit my answer to provide more details/articles.
Hope this helps,

source: Stack Exchange

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

sort: votes


text:
Can I set up one android phone, create a backup and restore it in multiple phones?
Where I work, we give all salesmen an Android phone with a set of multiple preinstalled apps, a predefined contact list, some predefined settings and restricted permissions over the phone's configuration.
I am responsible for setting up all of these things before giving the phone to the user, and it is a very repetitive and long process (almost an hour). I am looking for a smart way for automating or shortening the process as the set-up is always the same except for certain account information:

Set up the brand new phone with a unique gmail account we create for each salesmen. (THIS IS ONE OF THE STEPS THAT REQUIRE A UNIQUE ACCOUNT FOR EACH PHONE).
Install all predefined apps.
Set up all predefined apps.
Restrict permissions (using an app).

I'm thinking that a viable way of doing this is to completely set up one phone manually and do a complete backup of the phone to a computer. Then, in the future the only thing that I would have to do is to "Restore" the brand new phone with the backup and change only the settings that differ from user to user (i.e the phone's gmail account, the play store's account, the Whatsapp phone number, etc...)
Is this possible and viable?
How could I do this (which app could I use)?
The only caveat I can anticipate is that the original phone would be set up with a particular gmail account, phone number, etc..  Will I have any problem changing this setting in the restored phones?
Thanks !

The user wrote this much but didn't register! Anyway, you can find many backup solutions for unrooted phones here http://android.stackexchange.com/questions/28296/full-backup-of-non-rooted-devices I prefer  complete adb backup.

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


text:
How does SIM unlocking work under the hood?
I know what SIM unlocking is and how to do it, but my question is how does SIM unlocking work under the hood? What is actually going on that prevents me from just popping another carriers SIM in there?
More importantly, since many of us have root access, unlocked bootloaders, and S-OFF for the HTC folks why are there no easy "flash this ROM\file and unlock your phone" scenarios?  Is the locking mechanism physically present on the Qualcomm chip and not actually part of the Android system? I would think it would be in the radio partition or EFS.


text:
Does anyone have a real solution to the "Unfortunately ______ service has stopped?"
I have had a Samsung Note 3 going on 2 years. I love it but this problem is driving me crazy. This has been a problem for at least the past year. I know others that have the problem as well and I have yet to find a real solution.
It usually comes in the form of "Unfortunately Google Play has stopped," but since the update to Lollipop/Android 5.0, it has been Kindle. I hardly ever use the Kindle app.
I have tried everything and searched numerous online forums, etc. Nothing works.
Including the "Clear your cache, settings, etc," and battery removal.
These solutions do not work.
Does anyone know if anything different I can try? It is getting really annoying. Happens on Samsung Galaxy Note Tablet as well. Both unrooted. I'm hoping there's something I'm overlooking.
Thanks.

Welcome to Android Enthusiasts! There can be many reasons for a {service has stopped} error. You can actually use aLogCat to view device logs. This will help you better understand what's actually going on with your device.
It is difficult to pin-point an issue like that with Android because of its very nature. We can all have the same devices but have completely different experiences on them, based on configuration, how we use them, etc. Hopefully that will give you a better understanding of what's going on with your device. aLogCat doesn't work for your needs, try Android Remote Stacktrace.


text:
Unable to delete a file in /data/data with root permissions
I own a Moto G which is in 5.0.2 with KK bootloader. An app created a folder in /data/data which sustains in the memory even after uninstallation of the app. I couldn't remove the folder in any way.

I tried with Root browser, with terminal. Root browser says Deleted successfully. while trying to remove the folder, but it remains.
When I tried to remove it from terminal, it says rm: 00160eb4bb6a2325_0: No such file or directory, but it gets listed while using ls. This fails the nandroid backup with TWRP. :( Is there something I can do? Thanks in advance! :)

Edit: ls lists the file, but ls -l fails showing an error.

Seems to be a broken directory node. The only way to fix this is formatting the storage. I had this issue as well, but with an app folder that prevented me to install that app again.

Sadly, I even tried formatting the entire partition. The creep still remains. :(

Then you never formatted. What did you use to format your /data partition? Seems like CWM to me, which does not format using make_ext4fs like TWRP does.

Yeah, I formatted with CWM. Do you reckon formatting the partition with TWRP work?

IIRC CWM "formats" using something like rm -rf /data/*. It obviously does not format but rather delete everything. TWRP uses a proper binary that creates a completely new partition. As I have written: I was in a similar situation and only TWRP helped me. (Other recoveries might format properly as well, but I had a first-hand experience with TWRP)

Even TWRP failed to remove it. :( It said 'Unable to stat /path/to/folder/' and exited with error.

Finally, I had to repair the file system. Directory got deleted with rm -r after that. Thanks! :) I wish I could upvote your answer.

For delete folder /data/data/ [only for rooted devices]
Install adb tool:  [if already adb install than skip this step ]
Notice that in this method you will only install the platform-tools like adb or fastboot.
1.1) Download:
Download the platform-tools for your OS from https://developer.android.com/tools/sdk/tools-notes.html
Unpack it to <home-drive>\platform-tools

1.2) Mount:
The following steps are for Windows. If you need a different OS like Linux or OSX, have a look at this answer: https://android.stackexchange.com/a/42475/91312

Copy the folder path.Open the Windows Explorer by pressing + E`.
Right-click on This Computer → Properties.
Advanced System Settings → Advanced → Environment Variables.
Variable PATH → Add a ; (Semicolon) & your <home-drive>\platform-tools.
Save all & close.

Commands for delete folder
 $ adb root

 $ adb remount

 $ adb rm -rf /data/data/<folder-name>

or
  $ adb shell

  $ su

  $ mount -o remount,rw /

  $ rm -rf /data/data/<folder-name>

I hope this help you.

Thanks for the reply. I've already told that I tried deleting it from terminal. It isn't working any way.

your device is rooted ? than from adb shell it work

Yes, it is rooted. Adb shell works. But the deletion isn't.

it work for me, i delete one package com.example.example directory

Please read the comments on the OP's question too before you answer, so that you can add something new to the discussion. However, nice answer otherwise, so +1.

Is it possible to delete a folder using a single line, assuming you are in a batch file? If not, how do I do it in multiple lines?


text:
Force Android Update to Samsung Galaxy S3
My Samsung Galaxy S3 which is on EE's network is currently still running Jelly Bean. Is it possible to push an update through to this, or force install one? If so, how do I go about doing so and what are the risks involved. I would be happy with either KitKat or Jelly Bean.
The device is currently rooted if this would help.

Have you checked if you can update via "Settings > About Phone > System Updates"?

@1990clb I have tried this, as the device is rooted they don't give you the option to update

You could use a custom ROM to update, to 4.4 (Kitkat): http://forum.xda-developers.com/galaxy-s3/development/i9300-to-n00t-bring-lte-fun-to-3g-t2886574/


text:
GMAIL App: Fetching already deleted email repeatedly
As we can configure other Email Account like YAHOO email in a GMAIL App, I added my YAHOO Email Account to GMAIL App and can now Access YAHOO Emails using GMAIL App.
But the Issue is, when I delete my YAHOO Emails, somehow, it is again SYNC Back and I have to delete it again!
This is happening repeatedly and I am simply not able to delete my YAHOO Emails from within GMAIL App.
I can delete YAHOO Email from yahoo.com (WEB Interface) and then they don't re-appear in GMAIL App.
I can delete GMAIL Emails, and they don't sync back, it is an issue only with YAHOO emails.
Android device: Micromax canvas 4
Android OS Version: Jelly Bean 4.2

authors: פרג' אבו חלא


text:
Where do I find files that I have chosen to "keep on Device" from Google Drive?
I know that I can save a file to my device from Google Drive but I can't find where they are stored in the File Manager app.  Can anyone help please?

You can find the files after download in :

Storage -> emulated -> 0 -> Download

or also for example just for Pictures after download,
you can go to Gallery and then click on the picture and See Details of the picture you need to file path.

Thank you for that.  Do you know how I can download a folder or multiple files at one go?  Doing it individually is a pain.

hey Alan, Please ask this question with ASK QUESTION  on community.


text:
Is it possible to repack an .apk to install it in an incompatible Android version? ('there is a problem parsing the package'/have 4.0.4-requires 4.1)
It's about an .apk (Inbox by Gmail) that requires Android 4.1 and up.
Trying to install it in my phone which has Android 4.0.4
it shows that "there is a problem parsing the package".
I have enabled installing .apk from sources that aren't from the Play Store on my phone.
As I've read this is caused because the .apk requires a different device API level than that of the phone.
Is there a way to convert/repack the .apk so that it can be installed to my phone?

It'd be easier to flash a new version of android than to make something work on an older OS.

Short answer: No.
Simple repacking cannot solve the compatibility problem. If an app requires "at least Android XX", that usually means it needs some conditions not met before it. There are new OS features introduced with each Android version, libraries get additional APIs/features, etc. – nothing of that can be solved by "repacking" the installation package. If the (required) functionality cannot be provided by the Android version your device is running, the app cannot work (correctly) – even if you were able to install it.

While this may be true for many applications, the "minimum Version"-Flag is a setting which can be set to any value by the developer. Many professional apps will try to target a wide audience and support as many Android-Versions as they can. But often supporting an old version leads to additional support cost and testing on these platforms, so they will simply set the flag to "4.0" even if the app would run perfectly fine under 3.X - so changing the flag is a viable option!

That's also true, @Falco (the developer is free to set min and max API level to what he wants, basically). But even then, simple repacking wouldn't do the trick. Please note the error the OP included: there is a problem parsing the package – definitely pointing to a "newer feature being addressed" which the currently used Android version doesn't know about (or, of course, a broken package – in which case "simple repacking" couldn't solve the issue either).

Ok - I'm not familiar with the exact failure messages of the android installer. I thought the parsing error is a generic message for "something is wrong". - But even these features could sometimes be only relevant for certain parts of the application which the OP maybe doesn't even want to use, so extracting the APK, changing the Manifest/Configuration files and repacking it could be sufficient, which is of course not trivial and requires knowledge of the app and its features.

@Falco I can agree to that, yes. But this way you'll always risk having an "only partly working app" – you never can say what will work and what not. You risk force-closes and data loss as well. This is not something I'd recommend the "standard user" or even "novice" – though it might be a valid option for an "experienced user" to play with and, if it works out, offer the "reworked package" along with hints and warnings (what sometimes is done on XDA). Such an "experienced user" wouldn't ask this question, obviously – which is why I didn't include that with my answer :)

Note as well that "repacking" would void the package signature (you'd have to sign it with your own key), and thus not be "compatible" with a previously installed .apk (it would refuse update – you'd have to uninstall first) or with a later "official update" that might be available for your Android version (admitted, an unlikely update – but things happen). Again nothing a "novice" could easily handle (not if the data should be kept, at least).

Just for reference, I just used apktool to decode the apk,
then edited in the apktool.yml file the line minSdkVersion: '16' (Android 4.1) into minSdkVersion: '15' (Android 4.0.3/4.0.4)
and rebuild it using apktool.
Then I copied it back to the phone and tried to install it: No more there is a problem parsing the package". It begins the installation, but a few seconds later shows "Inbox  - X Application not installed".

Confirms my suspicions :)


text:
Call forwarding from device 1 mobile network to device 2 data network
My brother's new job is underground with no cell reception or 3G. He wants to leave his phone upstairs so it can receive calls and SMS, and somehow forward them to him downstairs to Android / PC / Mac (any of these would be fine) that are connected to the office Wi-Fi.
The upstairs phone may or may not be connected to the same Wi-Fi network; it may just have 3G.
Is there any combination of apps that can do this? And if the request is confusing please let me know.

Welcome to Android Enthusiasts! I'm not 100% sure as I've never tried it (I don't like "network hopping" for privacy reasons), but Airdroid might be able to do that. Oh, speaking of: Your question is off-topic here ("is there an app for X", see our [help/on-topic]) – and should have been asked on SR instead :)

Google Voice could work, if your brother ported his number to Google Voice (about $20). His cell phone could even be off, yet his computer would be able to receive the calls, since Google Voice can route calls to any numbers associated with its accounts. This method would allow text messages as well.
Alternatively, he could get a brand new Google Voice number, and have his cell carrier forward calls to that number if his cell phone is out of range or goes to voicemail. This would only work for incoming calls, though, not text messages.
Granted, this solution isn't Android-specific, but I'm not sure an app on his phone would be the best solution anyway.


text:
App not installed when installing older version of an existing app
I have developed an Android app (Phonegap) in Eclipse with signed key APK file version (1.0.0) and save it on SD card of phone or download from site.
I am able to install it on non-rooted Samsung Galaxy Tab 2 phone having enabled "Unknown sources" and also able to update app with same signed key APK file version (2.0.0). It's successfully installed and working fine.
But now when I am going to install older signed version (1.0.0) app over latest version (2.0.0) by choosing "Install", I'm getting "App not installed message".
App downgrade working fine on Micromax Canvas device but not in Tab 2.
How to install it?

Related: http://android.stackexchange.com/questions/103407/can-the-previous-version-overwrite-the-currently-installed-app

Also, normally Android checks the app internal version (not the displayed version, though you can have same app internal version but different displayed version, and it's assumed as no upgrade by Android). If you install the APK manually, you'll trip this checking. And AFAIK, when installing from Eclipse, it will handle this by automatically uninstalling the app first, then installing from Eclipse build.


text:
Notifications not showing
With the new updates, I can't see any of my notifications on the lock screen. I have to unlock my phone to see anything. It's so inconvienent. How can I change it back or fix it or something???

By "new updates", did you mean Lollipop? We don't know what was updated if you don't mention it. Also, what phone model (and Android version) are you using?

If you are running Android 5.0 or later go into Settings > Sound & notification > "When device is locked" and set "Show all notification content" (as shown here: https://youtu.be/GNFE-S42wgU?t=46s )

This is assuming that the update was indeed Lollipop, which is the biggest possibility, but no 100% certain until the OP clarify it...

Correct, edited the answer


text:
I think someone has hacked my HTC Droid DNA. How can i check and be sure?
My device has been doing lots of crazy things, like uninstalling apps, installing apps that aren't in Google play store. I had questions about it yesterday, but the ones that started last night seem more important.
I went to settings to see what apps were running and to check only the newly do not disturb app that popped up and noticed I have 2-3 of each app. 3 calendars, 3 tasks, 2 Facebook apps, one has some lettering next
To it that the other don't, can't remember what they are. I know these weren't there a few weeks ago because I was trying to find my camera and gallery that were installed on this device, but have vanished. What can I do to track down where they went, as well as who did this?

First, make sure that there's nobody playing with your phone without your knowledge. Second, multiple running processes of the same app is actually normal, unless the apps are similar but different. Third, just for clarification, what phone model & Android version are you using? Are you rooted (if don't understand and can't answer it, then probably not)? Did you install suspicious apps? (e.g. I heard "Super Flashlight" or similar is suspicious)

Are there any apps you've installed shortly before this started? Maybe even from "other sources"? In that case, you might have "hacked yourself" by installing a malicious app (which from your description seems the most likely thing). To really "clean up the mess" then without much background knowledge, you might have to factory-reset your device – which as a side-effect would mean you're losing all your app-data and the apps you've installed. There might be other solutions, but they are a little more complicated to apply.

Have you installed antivirus software?

You need to check the network Input-Output if, there is a hacker or suspicious app installed and its using of your Internet Connection or Internet Bandwidth.
Most of the android hack tools, need Internet Access for Remote Access just for remote hacking or remote connection.so,
the best think is, you need to install the Packet Sniffers or Network Sniffers for find the suspicious Process.with :

Capturing mobile phone traffic

and other Programs (In android - Apk App) if you can install an app.
Also, as Andrew.T said, you can check the phone for suspicious apps and delete them for prevention access of hacker.

I'm afraid that's not something you can ask a beginner to do. This kind of analysis would require some "expert knowledge": What kind of traffic is "good", what is "bad" – and how to tell one from the other? Most apps access the network for one or another reason. And it requires some knowledge to tell the bad guys apart.


text:
Unable to download update for Yureka YU
I have downloaded more than once yureka upgrade to cyanogen 12 based Lollipop 5.1 but my OS is not being updated. I have tried rebooting the phone after download but to no effect. I am still using old version. Unable to download new version. Please suggest how to resolve this issue?

Hard to say without some more details: What Android version (and ROM) have you currently running? What steps did you do to download? Where there any instructions you've been following?

below are not be done before you upgrade:
Rooting, developer mode on, phone memory full - if this is exist then you cant update and the downloaded file must be kept in phone/download not on sd.
If your downloading from OTA then this are not to do list: and to make you simple download from google and place it on the download place in phone memory then you give it a try if this helped you fine else tell me were have you done mistakes so that clearly I can suggest you. as of mine updated and running smooth.

Can you make it  bit more presentable by using http://android.stackexchange.com/editing-help Its good  that you're helping and the method worked for you, but if the answer cannot be understood easily, the answer might not be considered useful.


text:
Does an auto touch app categorize my device as rooted
Does using frep categorize my device as rooted. My device is not rooted right now.
It is an auto touch that can be used without root

Are you asking if your device is rooted?

Frep doesn't necessarily require superuser permissions. A more complicated setup as described in the Google Play description can suffice, though su permissions certainly streamline the process.
So, your phone isn't necessarily rooted. It could be, but it could very well also be not rooted.
That being said, if you say

My device is not rooted right now.

You're the authority on your own device.

authors: กมลเทพ นําวงษ์สําราญ


text:
SuperSu not at all functional, can't uninstall
I installed SuperSU from Google Play, and then from a zip file using ClockWorkMod and now it crashes every time I go to log or settings. I tried factory reset, not quite sure how I thought it would help, and it's still broken. I'd like to uninstall it if possible. Fixes are also welcome, tough.
Edit: I'm using LG Nexus 5 with Android 5.1.1, Cyanogenmod 12.1 and ElementalX N5 2.11 kernel.

I think you should edit and clear the question, for example : download link or refrence for get the best result on reply.

Have you tried re-flashing your ROM?

I have fixed the problem, I installed the newest version of CyanogenMod and fixed root.

Cyanogenmod 12.1 (mentioned in question) is already the newest version. Did you not mean newest build?

Yes! I am not too familiar with software terminology quite yet, but build is what I meant.

Steps:

First, you need to install the SuperSu Zip file from recovery; then,
Install the latest version of SuperSu app from Play Store.

Also, based on my experiences on Cyanogenmod ROMs, these ROMs are rooted before installing. So, you don't need to install any SuperSu file from recovery.

Do you really need SuperSu for Android 5.0x? See this video to learn how to enable root
Enable Root Access in CyanogenMod 12
The Root app tasks are now handled natively by the Privacy Guard in CyanogenMod 12+


text:
ANdorid Lock Out
I have a S5 but I forgot the password thinking that if I locked it using android device manager the new password would allow me access but it didn't. my question is if I wipe my phone using ADM will it open the phone or would it still be locked after I wipe.

If you factory reset your phone, the lock will be gone. But all of your Data will be lost as well.
You could probably try it this way to avoid loosing all your data:
Android lock screen password not being recognized


text:
Nexus 4, Lollipop 5.1 WiFi Issue
My Nexus 4 device stopped connecting to the Cisco router at work for some reason.  I thought it was because the upgrade to lollipop 5.0 (had Kit-Kat before) but I'm not so sure anymore.
I tried:

Restart the device
Restart the device with safe mode
Restart the router
Change the device WiFi frequency settings
Use static IP at the advance WiFi connection configuration
Forget the router AP and reconnect
Factory reset trough the device settings, recovery mode and complete flashing the Android Lollipop 5.1 factory image.

After factory reset I had the connection possible until restarting the device.
I checked with/without signing in, nothing new installed, didn't visit the store, just super clean phone - I could connect the network. after restarting the phone I can no longer connect which means it's not an application issue.
Some facts:

I can connect other Cisco routers at work
Another Nexus 4 after factory reset connects with no trouble

About the device:

Nexus 4
Lollipop 5.1
build number LMY470
kernel version 3.4.0-perf-gf75bb4f

Any suggestion will be welcome, please let me know if I can provide more details.

It sounds like one of your apps is causing the problem. You may have to reload them one-by-one until you find the culprit.

sounds so. do you know an easy way to do it? should I restart after each app uninstallation?

That might be easier than a factory reset followed by installing one at a time until it stops working. The problem, though, is that the culprit app might have modified a setting that won't get cleared without a factory reset.

@JoeSewell It doesn't seems like app issue. I updated the question.

Some sites recommend to restart the router device, and sometime it works.
Instead of every time restart the router to solve this Android 5.1 Wi-Fi problem, it worked for me:
Inside the router configuration (e.g., accessing the IP 192.168.0.1), change the "Group key update" value from 0 to 30 seconds, under the "Wireless > Security" configuration, right below the WPA-PSK/WPA2-PSK item.
My router model is: TP-LINK TL-WR740N / TL-WR740ND.

authors: موتيا اليامي


text:
Why does SSH Server (Ice Cold Apps) with a command fail?
I wish to ssh into my rooted Android Samsung Galaxy S4 v4.4.2 phone and run a command.  I have SSH Server installed.  If I just SSH, it works fine:
bash-3.2$ ssh -p 35151 10.1.10.22
u0_a253@jfotevzx:/ $ pwd
/

But, if I pass a command to execute to ssh it fails:
bash-3.2$ ssh -p 35151 10.1.10.22 pwd
exec request failed on channel 0

What does exec request failed on channel 0 mean? How can I get the SSH Server from Ice Cold Apps to work with a command to execute?  Is there a different ssh android app that I could use instead that would work?

I found a forum post that indicates that the Ice Cold ssh has a deficiency that causes this issue.  By switching to SSH Droid, I was able to resolve the issue.

I tried this app just now and was able to reproduce this error. On the other hand, Servers Ultimate Pro doesn't have any said issues. It worked well with the command you mentioned in the question.


text:
Frequent login failure on Yahoo Mail from GMail app
I have added my Yahoo Mail account to Gmail app on my Android phone (Samsung Galaxy Note 3, latest Gmail version)
However, ~5 times out of 6, the app fails to log in to Yahoo (the username/pwd and other settings are clearly correct since it does succeed in connecting once in a while).
Server is android.smtp.mail.yahoo.com, port 465. SSL/TLS security
Error is "Username or password is incorrect".
What could be causing this and what can I do to fix?

I encountered the same issue. I didn't find a solution yet, but I'd like share my opinion on the possible cause of this issue.
After I re-try the sign-in, the sign-in page shows an error indicating redirection loop or proxy loop error.
Sometimes, I get error message saying that I'm trying to login from an unexpected country, and I have to verify the log-in with a SMS message.
Some other cases, if I login the www.yahoo.com with the browser, with password and CAPTCHA, on the same connection, I re-try the login in gmail app, it works.
Most of the time, in the gmail app, when I re-try the log-in, I just get a dumb error message that leaves no clue.
My theory is that the yahoo server does a lousy job when it tries to balance between the user convenience and security. The server is too sensitive to "suspicious" login attempt, and didn't have a better way to offer CAPTCHA validation with the gmail login.

Remove Yahoo account from device and manually add it later.
In Manual Setup, Port 443 will be assigned  and
Server is set-up with android.smtp.mail.yahoo.com and Security type as SSL/TLS

Gmail used to logged in to Yahoo using regular IMAP, but recently it was changed to Yahoo authentication which failed frequently.
The solution is to find a copy of the Gmail 5.1 APK, install it,  and setup your Yahoo mail. This version allows you to setup regular Yahoo IMAP.
After that,  you can upgrade to a more recent Gmail version.

You can just add it manually as IMAP instead to get the same effect.

No point in manually installing old APKs and stuff from iffy sources.


text:
Apps checking for app data in sd card instead of internal memory
I have an android phone with 13gb usable internal memory. I have many apps installed in it like fifa etc. I have been using the phone for quite some time without any sd card. Today I got an sd card and inserted it, and all of a sudden all installed apps are checking their app data in sd card instead of internal memory. Default write disk is internal memory and no apps have been transfered to sd card. I noticed this when I wanted to play fifa and it asked to download data first. How can I make my apps work without removing my new sd card?
Device
OS : 4.4.2
Model : infinix x507
Kernel: 3.4.67

Is the device rooted? I can suggest something but requires root access and Xposed framework installed.

@Firelord yap, it's rooted


text:
Baseband > 2.0.1700.48 won't work without proximity and light sensor working?
I have the same circumstances as Nexus 4: Stuck on boot animation for baseband version != 2.0.1700.48 and android version > 4.3. I have repeated the first two sets of tests, with precisely the same result. I am currently running build JWR66Y (4.3) which comes with baseband 2.0.1701.0, which I have back-patched with the baseband from the previous release, 2.0.1700.48. Attempts to upgrade past 4.3 fail.
The coincidence that stands out is that I, too, just had a screen repair done. Before my screen broke I was happily running 5.1. Even after the screen repair, with a broken proximity sensor in place, it still ran 5.1 just fine. The trouble happened with I returned to the tech who fixed the screen with a complaint about the proximity sensor. The tech insisted that he could not get the proximity sensor to work. We finally agreed that he could just leave it out. That lead to the current problem.
So I wonder if the difference between baseband 2.0.1701.05 and 2.0.1700.48 is that 2.0.1701.05 checks for either the proximity sensor or the light sensor (they are on the same board) during startup, and hangs the boot  waiting for the sensor(s) to come ready. This idea could be tested by repeating the test before and after doing surgery on a working Nexus 4. That's a lot of work, and fortunately I can't do it myself (no working Nexus 4 proximity/light sensor board!). But maybe someone has relevant experience.
If you look around on the net, you see lots of Nexus 4 problems relating to 4.3->4.4 upgrades failing, lots of Nexus 4 problems relating to the proximity sensor breaking after screen replacement, and several apps that do nothing but disable broken proximity detectors. There also hints that the exact placement of the rubber grommet separating the proximity and light sensors from the front glass is critical.
The reason my question is interesting is that I could go back to the tech and ask him to replace the proximity sensor (so the thing boots in 5.1) and hopefully adjust the sensor grommet (so the proximity sensor works). Even if the proximity sensor never works again, I could still use one of the software solutions that disables the proximity sensor.

I have good news.  My tech put the sensor card back in my Nexus 4, reversing the rubber grommet that separates the sensors from the front glass.  The promity and light sensors then both worked, booting from 4.2.2.
I then used the stock image of 5.1 from https://developers.google.com/android/nexus/images to update the phone to the latest L release.
Everything works.  I take this as good evidence in favor the hypothesis that the absence of the sensor board was causing the boot loops described here and in the earlier article.

Small correction:  at the end of the first paragraph "...booting from 4.3 with the baseband from the previous release."


text:
How to root "Infocus M2" (smartphone on sale at snapdeal from March 2015 in India) so that pre-installed apps can be removed?
Infocus M2 is on sale at snapdealdotcom. Its specifications are as below:
4.2-inch (1280 × 768 pixels) 355PPI LTPS display
Android v4.4 (KitKat) OS
1.3 GHz quad-core MediaTek MT6582 processor
Mali-400 MP2 (500 MHz) GPU
1GB RAM, 8GB internal memory, Expandable memory up to 64GB with micro SD
8MP Auto Focus Camera with LED flash, f/2.2 aperture, 5P lenses
8MP front-facing auto-focus camera with LED flash, f/2.2 aperture
Dual micro SIMs
3.5mm audio jack, FM Radio
3G, Wi-Fi 802.11 b/g/n, Bluetooth 4.0 + BLE and GPS
2010 mAh non-removable battery

Would appreaciate help on rooting this mobile. Thankyou

Querying Google with How to root Infocus M2 results in this link at first page http://www.androidrootguide.com/2015/04/how-to-root-infocus-m2-and-install-custom-recovery.html I can post the content as an answer but that's not worth if the guide fails to root your device (if followed properly), not to mention that would be just copy-paste and nothing else. Try it and post ([edit]) the results.

Since its a MT6582 processor, SP Flash Tools and MTK Droid Tools can also help. Google them for their latest version and support for your device's chip. These tools are  well known amongst Mediatek users for their  capabilities.

Basically, all you've to do is install USB drivers and use iRoot software to root your Infocus M2.
Be aware that this will void your warranty.

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


text:
turning off email preview on lock screen after update
Galaxy S4 just updated to latest Android and now my email is previewed on my lock screen. Any way to turn this off?  I'm using Gmail. Thanks

Go into Settings > Sound & notification > "App notifications" and set Gmail as sensitive (as shown here: https://youtu.be/GNFE-S42wgU )
If you want to prevent all apps from showing notifications on the lock screen go into Settings > Sound & notification > "When device is locked" and set "Don't show notifications at all"


text:
USB Debugging grayed out
I'm on an unrooted Verizon Galaxy Note 4 running Android 4.4.4.
I have not accepted the Lollipop preparation updates, because Android 5.0 on Snapdragon processors is known to have poor performance when using Gear VR.
In the last week I've noticed that USB debugging is grayed-out, even when plugged into a Windows 7 computer. I have tried using different USB cables and different computers.
I need to be able to use EasyTether, which requires USB debugging.
I have tried rebooting to Safe Mode, but this didn't help. USB debugging is still disabled.

Is it because I have deferred the OTA updates? How can I restore USB debugging without accepting the OTA update?
I've been using Samsung KNOX for months now and it hasn't interfered with USB debugging. Has something changed with Samsung KNOX?

It's probably because of the fact that you are running a Verizon phone. Carriers like Verizon tend to replace parts of the firmware (Bootloader, Android itself etc.) with their custom one to restrict things like Network Unlocking.

I have used USB debugging as recently as three weeks ago on this exact same phone running the same version of Android.


text:
Moved out with my router : Location services don't get it
So I moved out, carrying along my WiFi router. I set it up at my new place, but now, every time I use a location service, it recognizes my router and places me at my old address... Any way I can force the new location to be recognized for my router?
Thanks!

Seems like your IP's location has not changed. If you have a static IP (commonly used in the US, less in Europe) then you need to wait for the record to change. Make sure you have informed your ISP that you moved.

@gianttree - this is a location services issue not a IP problem.  Google has stored his network's location as the previous location

AFAIK your location is stored at your ISP's network switch (at least where I live). Google may or may not save that location based on various different properties (MAC, IP, SSID etc).

No, this is nothing to do with ISP.

Do you have multiple access points that moved with you? Even something like a wifi enabled printer that you forgot about might do it, even if you changed the SSID of your main wifi AP.

To submit a request to Google to have them update their database, send feedback from within the Google Maps application.

Open Google Maps.
Touch the menu (three lines).
Touch 'Send feedback'.
Touch 'Report location issues'.

This what Google requests you do.
To address the problem without contacting Google:
The location databases use the MAC address of the router. On most routers, you can change the MAC address, which will prevent your old address from showing up. If there are other access points in your area, this may also be sufficient for the location service to return the correct location.

On most routers you CANNOT change the MAC address using the normal configuration options! It requires special software or a non factory firmware. Fortunately it apperas that changing the SSID is enough for Google's wiif location service to not use that wifi network for location services.

I have the same problem with a WLAN router I have bought recently. When I connect my mobile without GPS on it usually places me at the location of the former owner.
I assume the router location is bound to the router's unique MAC address - not to it's IP or the SSID which both have changed now.
ZdNet's article says, the location database will become updated when connecting a mobile with it's GPS "on" to this router. More info about Google's location service can be found here.

Do you have multiple wifi access points that moved with you? If you changed the SSID on one of them, A Google device may use the others for location services. It could even submit the new SSID back in to the database with the current incorrect location! I don't know if the MAC address alone influences location services, but it must be tied to the SSID (both a MAC and SSID match are required to recognize an AP).

Another possible solution is to change the SSID on the router. That should force location services to retry its location

Same Problem here.
FIXED. Took about 5 mins to update and correct location.

Connect your mobile to the Wifi router with GPS on. Run Google maps and ensure the blue dot moves to correct location (Get sat signals near window). Mine gradually glided from old address to new.
Connect a tablet (Eg. I used Samsung S2), connect to Wifi and turn on GPS. Run google maps and again ensure blue dot moves to correct location (get sat signal near window)
[Prob optional] - Get you home location on google maps by dropping a pin at your new address and calling it Home. I also changed Icon to a house

Once blue dot had relocated on a couple of devices with GPS, then my laptop / desktop also updated the blue dot location. (on closing and reopening G maps)
hope it works for you too.
Wile E Coyote

This worked temporarily on mine, but went back to the old address the next time I connected to wifi...

It apparently take as while, and possibly data from multiple devices, for Google to update their wifi location database. So when GPS location service is turned off, or the GPS signal is lost, it reverts back to the wifi location service which can contain outdated access points for quite some time.

FIXED: I had the same problem, my router is a gift from my brother who is in Cape Town, which is about 1400km from me. But my phone started showing that I was in Cape Town which was frustrating.
What worked for me is the following (I use Huawei B315s router)

Used routers IP to view it's dashboard from my computer screen
Updated SSID
Under System --> Device Information --> Refresh

Location updated instantly on my phone.
I hope this helps.

Turn off Developer Option under Settings -> System and restart your phone and it will clear any mock location data.  This worked for me.

What worked for me was to download a "Fake GPS" app on my phone, placed the fake position on my house and activated the WiFi position setting.
Then I just waited several hours and at the same time opened Google Maps every now and then.
None of the solutions above worked, but this did.

The router location seems to be linked to a database of locations, referred to in Google's 'Location services' by its SSID. So ...

Turn location accuracy to GPS only on your phone and let it find
itself correctly.
Change the SSID of your router to something new. This may have to be a permanent change as I don't know how quickly Google purge unused entries.
Turn location accuracty back to high, using your router as a location hint.
Check location on Google maps, fingers-crossed it should now be ok, and stay that way.

Hat tip to @user276467 and a Netgear forum for putting me on the right track.

I found a fix for this. Worked beautifully for me but YMMV

Open Google Maps while connected to Wifi so it bounces to your old location
Open Your Timeline. It should have your old address/suburb listed
Click on the address/suburb.
Click Edit.
Scroll down to the bottom and click SEARCH FOR A PLACE
Search for your new address and choose it.

Google Maps SHOULD now associate your wifi AP to the new address.


text:
When reinstalling apps/ game reset and started all over
I got a new phone and when I go to the play store it shows all the game apps and updates I installed over the past 2 years, but when I try to reinstall the game it resets and starts all over, is there a way I can get back to the level I was on instead of starting all over again ?? Please help I worked hard to reach this status in the game and I don"t want to start all over again. I f I try to add my old google account it gives me problems because it sync'd my Google and Yahoo accounts together and I don"t know the old password from 3 years ago.
Thank You,
Christina

What game are you talking about?  Can help in identifying what can be done to restore your access.

I was playing  Restaurant  Story & Dragon  Story. Tried to save game from my phone to my SD Card, but it still started all over again. Never tried rooting, not very tech. save

Do you root your phones?  There is an app called "Titanium Backup" that can back up and restore an app's local data, which should include the game data.  It needs root though.
If you are not comfortable with rooting or don't know what it is, that might not be an easy option for you though.
Lifehacker suggests Helium App Sync and Backup, which doesn't require root.  I haven't tried it, but LH usually offers good suggestions:
http://lifehacker.com/5843206/how-to-upgrade-to-a-new-android-phone-and-take-everything-with-you


text:
Google's location history minute by minute
My phone was stolen. Is it possible to get the location history as realtime as possible from Google?

Related http://android.stackexchange.com/questions/18644/my-phone-was-just-stolen-an-hour-or-so-ago-are-there-any-options-for-tracking     and http://android.stackexchange.com/questions/2492/how-can-i-find-a-lost-phone-or-help-people-return-it

It's quite easy, You have to just login here with your Google account which is configured on your mobile - https://maps.google.co.in/locationhistory/b/0/
Then you can get location.

You can use The Phone Locator by Google. As they show you the pin on the map click the pin it will redirect you to a new tab, keep refreshing. the data is there.


text:
Stop non-VPN traffic from going through VPN
I have set up a L2TP/IPSec VPN set up on my phone. Now all my network traffic goes through the VPN. However I am not a fan of that. Not only does it add unnecessary overhead, it also makes me unable to access any host in my current LAN. I only want traffic to and from VPN hosts to go through the actual VPN. (or even better, a setting to toggle that). (How) can I do that without rooting my phone?

Okay, with the help of a friend i figured it out myself. Basicly you have to go to advanced settings of the VPN profile and put the subnet of the VPN as forwarding route.
If you want to have an easy time to change inbetween tunneling everything and not, i'd say the best approach is to create two profiles.

I have an openvpn setup. I'm in Mexico, and using some services that can only be reached from a US ISP. In my setup, I have two routers. The one from the Mexican telephone company, and another as a wireless hot spot, plugged into the first.
Everything that goes through the second router is on the VPN. Everything that by-passes the second router, and uses only first goes through the Mexican ISP.
I have turned off the radio in the first router, and can only use it 'wired', But there is no need to do that if the two routers are set to channels that are far enough apart.


text:
I have an emergency. Lost Android
We have lost an Android phone. Every possible aspect that could make it more difficult has happened to be an encouragement to surrender.
We do not have the IMEI, it does not have access to internet that we know of (Unless the thief connects it to Wi-Fi), and so on. I was wondering if there is a way to locate the phone via Cellular Towers. I know a tower CAN locate a phone using just its connection strength. Maybe that's a good solution??? Any help is appreciated! :)

You have two ways to locate your device:

If your phones gets some cellular data, try going to Android Device Manager and remotely wipe it to make sure that nothing is traced.
File a police report. Sometimes, it can communicate between nearby towers and get some signal nearby. Tell them that you lost your phone and may suspect that your phone is taken already.

Hope this helps. It will give some helpful ideas when you lose a phone.


text:
Unknown Permissions on VirusTotal analysis
I have noticed unusual and unwanted behavior from a few of my system apps, most notably Google Play Services, Google Account Manager,  and Google Services Framework. These apps cause force closes on their own operations as well as those of other apps, they seem to have the capability to take over functionality of my phone completely at times.
So, I used the Virustotal.com tool to analyze permissions on these apps to determine if they are present with the right capabilities built into them for the version that came pre-installed on the phone. For each of these apps, they returned between 10-20 additional permissions each that they were not designed to have, suggesting that they have been tampered with.
My phone is not rooted or modified in any way and I have had it for less than a year.  These additional permissions were labeled:

(Unknown permission from android reference)

designating these specific permissions as not being native to these apps. Some of these permissions are specifically designed for transmission and communication of data via C2DM and Gtalk to other devices, as well as exposure of saved account details including passwords. This leads me to conclude that sensitive personal information has been leaked to third parties. Here is the output for Google Account Manager as an example:
VirusTotal
SHA256:     602db0ceb05877fb6996fd2a3510721d0e32463a6e784ba5cc60ae1f71bb3226
File name:  GoogleLoginService.apk
Detection ratio:    0 / 53
Analysis date:  2014-07-20 19:04:51 UTC ( 9 months, 1 week ago )
0
0

    Analysis
    File detail
    Additional information
    Comments 0
    Votes
    Behavioural information

The file being studied is Android related! APK Android file more specifically. The application's main package name is com.google.android.gsf.login. The internal version number of the application is 19. The displayed version string of the application is 4.4.4-1215936. The minimum Android API level for the application to run (MinSDKVersion) is 8. The target Android API level for the application to run (TargetSDKVersion) is 17.
Risk summary
The studied DEX file makes use of API reflection
Permissions that allow the application to access Internet
Permissions that allow the application to access private information
Other permissions that could be considered as dangerous in certain scenarios
Required permissions
android.permission.CHANGE_NETWORK_STATE (change network connectivity)
android.permission.READ_SYNC_SETTINGS (read sync settings)
com.google.android.providers.gsf.permission.READ_GSERVICES (Unknown permission from android reference)
android.permission.USE_CREDENTIALS (use the authentication credentials of an account)
android.permission.DUMP (retrieve system internal status)
android.permission.READ_LOGS (read sensitive log data)
android.permission.WRITE_PROFILE (write the user's personal profile data)
android.permission.CHANGE_COMPONENT_ENABLED_STATE (enable or disable application components)
android.permission.READ_SYNC_STATS (read sync statistics)
android.permission.RECEIVE_BOOT_COMPLETED (automatically start at boot)
android.permission.INTERNET (full Internet access)
com.google.android.googleapps.permission.GOOGLE_MAIL_SWITCH (Unknown permission from android reference)
android.permission.BACKUP (control system back up and restore)
com.google.android.googleapps.permission.GOOGLE_AUTH.youtube (Unknown permission from android reference)
android.permission.SUBSCRIBED_FEEDS_READ (read subscribed feeds)
android.permission.MANAGE_ACCOUNTS (manage the accounts list)
com.google.android.gtalkservice.permission.GTALK_SERVICE (Unknown permission from android reference)
com.google.android.permission.BROADCAST_DATA_MESSAGE (Unknown permission from android reference)
com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser (Unknown permission from android reference)
android.permission.PERSISTENT_ACTIVITY (make application always run)
com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES (Unknown permission from android reference)
com.android.vending.TOS_ACKED (Unknown permission from android reference)
android.permission.ACCESS_NETWORK_STATE (view network status)
com.google.android.providers.settings.permission.READ_GSETTINGS (Unknown permission from android reference)
com.google.android.providers.settings.permission.WRITE_GSETTINGS (Unknown permission from android reference)
com.google.android.googleapps.permission.GOOGLE_AUTH (Unknown permission from android reference)
android.permission.WRITE_CONTACTS (write contact data)
android.permission.WRITE_SYNC_SETTINGS (write sync settings)
android.permission.AUTHENTICATE_ACCOUNTS (act as an account authenticator)
android.permission.BROADCAST_STICKY (send sticky broadcast)
com.android.vending.billing.BILLING_ACCOUNT_SERVICE (Unknown permission from android reference)
android.permission.WRITE_SETTINGS (modify global system settings)
android.permission.READ_PHONE_STATE (read phone state and identity)
com.google.android.googleapps.permission.GOOGLE_AUTH.mail (Unknown permission from android reference)
com.android.vending.INTENT_VENDING_ONLY (Unknown permission from android reference)
com.google.android.providers.talk.permission.READ_ONLY (Unknown permission from android reference)
com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD (Unknown permission from android reference)
com.google.android.providers.talk.permission.WRITE_ONLY (Unknown permission from android reference)
android.permission.VIBRATE (control vibrator)
com.android.chrome.TOS_ACKED (Unknown permission from android reference)
android.permission.SUBSCRIBED_FEEDS_WRITE (write subscribed feeds)
android.permission.ACCESS_WIFI_STATE (view Wi-Fi status)
com.android.vending.billing.ADD_CREDIT_CARD (Unknown permission from android reference)
android.permission.WAKE_LOCK (prevent phone from sleeping)
android.permission.CHANGE_WIFI_STATE (change Wi-Fi status)
android.permission.READ_CONTACTS (read contact data)
com.android.vending.billing.IBillingAccountService.BIND2 (Unknown permission from android reference)
android.permission.READ_PROFILE (read the user's personal profile data)
com.google.android.gtalkservice.permission.SEND_HEARTBEAT (Unknown permission from android reference)
android.permission.GET_ACCOUNTS (discover known accounts)
Permission-related API calls
ACCESS_NETWORK_STATE
Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo; called from Lcom/google/android/gsf/loginservice/BaseActivity;->hasNetworkConnection()Z
READ_PHONE_STATE
Landroid/telephony/TelephonyManager;->getLine1Number()Ljava/lang/String; called from Lcom/google/android/gsf/login/RecoveryDataActivity;->initViews(Landroid/os/Bundle;)V
USE_CREDENTIALS
Landroid/accounts/AccountManager;->invalidateAuthToken(Ljava/lang/String; Ljava/lang/String;)V called from Lcom/google/android/gsf/loginservice/GoogleLoginService$GlsImplementation;->invalidateAuthToken(Ljava/lang/String;)V
INTERNET
Ljava/net/ServerSocket;-><init>(I)V called from Lcom/google/android/common/http/TestHttpServer;-><init>(I)V
Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V called from Lcom/google/android/common/GoogleWebContentHelper;->initializeViews()V
Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V called from Lcom/google/android/gsf/login/CustomWebView;-><init>(Landroid/content/Context;)V
VIBRATE
Landroid/app/NotificationManager;->notify(I Landroid/app/Notification;)V called from Lcom/google/android/gms/auth/GoogleAuthUtil;->a(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Ljava/lang/String;
ACCESS_WIFI_STATE
Landroid/net/wifi/WifiManager;->getWifiState()I called from Lcom/google/android/gsf/login/SetupWirelessActivity;->tryEnablingWifi()Z
GET_ACCOUNTS
Landroid/accounts/AccountManager;->getAccountsByType(Ljava/lang/String;)[Landroid/accounts/Account; called from Lcom/google/android/gsf/login/BaseActivity;->isFirstAccount()Z
Landroid/accounts/AccountManager;->getAccountsByType(Ljava/lang/String;)[Landroid/accounts/Account; called from Lcom/google/android/gsf/login/AccountIntroActivity;->maybeSkipAccountSetup()Z
Landroid/accounts/AccountManager;->getAccountsByType(Ljava/lang/String;)[Landroid/accounts/Account; called from Lcom/google/android/gsf/login/EduLoginActivity;->removeAnyNewAccounts()V
READ_SYNC_SETTINGS
Landroid/content/ContentResolver;->getIsSyncable(Landroid/accounts/Account; Ljava/lang/String;)I called from Lcom/google/android/gsf/login/SyncSettingsFragment;->updateListViewData(Landroid/accounts/Account;)V
CHANGE_COMPONENT_ENABLED_STATE
Landroid/content/pm/PackageManager;->setApplicationEnabledSetting(Ljava/lang/String; I I)V called from Lcom/google/android/gsf/login/ShowErrorActivity;->onClick(Landroid/view/View;)V
MANAGE_ACCOUNTS
Landroid/accounts/AccountManager;->removeAccount(Landroid/accounts/Account; Landroid/accounts/AccountManagerCallback; Landroid/os/Handler;)Landroid/accounts/AccountManagerFuture; called from Lcom/google/android/gsf/login/EduLoginActivity;->removeAnyNewAccounts()V
Landroid/accounts/AccountManager;->removeAccount(Landroid/accounts/Account; Landroid/accounts/AccountManagerCallback; Landroid/os/Handler;)Landroid/accounts/AccountManagerFuture; called from Lcom/google/android/gsf/loginservice/GoogleLoginService$GlsImplementation;->deleteAllAccounts()V
Landroid/accounts/AccountManager;->removeAccount(Landroid/accounts/Account; Landroid/accounts/AccountManagerCallback; Landroid/os/Handler;)Landroid/accounts/AccountManagerFuture; called from Lcom/google/android/gsf/loginservice/GoogleLoginService$GlsImplementation;->deleteOneAccount(Ljava/lang/String;)V
AUTHENTICATE_ACCOUNTS
Landroid/accounts/AccountManager;->getUserData(Landroid/accounts/Account; Ljava/lang/String;)Ljava/lang/String; called from Lcom/google/android/gsf/loginservice/GoogleLoginService;->accountHasFeatures(Landroid/accounts/AccountManager; Landroid/accounts/Account; [Ljava/lang/String;)Z
Activities
com.google.android.gsf.login.AccountIntroActivity
com.google.android.gsf.login.AccountPreIntroUIActivity
com.google.android.gsf.login.AccountIntroUIActivity
com.google.android.gsf.login.PlusQueryActivity
com.google.android.gsf.login.PlusFaqActivity
com.google.android.gsf.login.NameActivity
com.google.android.gsf.login.BadNameActivity
com.google.android.gsf.login.PhotoActivity
com.google.android.gsf.login.LearnMoreActivity
com.google.android.gsf.login.WaitForDeviceCountryActivity
com.google.android.gsf.login.CaptchaActivity
com.google.android.gsf.login.SetupWirelessIntroActivity
com.google.android.gsf.login.SetupWirelessActivity
com.google.android.gsf.login.LoginActivity
com.google.android.gsf.login.EduLoginActivity
com.google.android.gsf.login.UsernamePasswordActivity
com.google.android.gsf.login.PrepareAccountSetupActivity
com.google.android.gsf.login.LoginActivityTask
com.google.android.gsf.login.ShowErrorActivity
com.google.android.gsf.login.SyncIntroActivity
com.google.android.gsf.login.CreateAccountActivity
com.google.android.gsf.login.PlusActivity
com.google.android.gsf.login.PlusCheckTask
com.google.android.gsf.login.UsernameActivity
com.google.android.gsf.login.CreateAccountTask
com.google.android.gsf.login.ProfileTask
com.google.android.gsf.login.NameCheckTask
com.google.android.gsf.login.CheckAvailTask
com.google.android.gsf.login.SuggestUsernameActivity
com.google.android.gsf.login.VerifyProfileActivity
com.google.android.gsf.login.ChoosePasswordActivity
com.google.android.gsf.login.RecoveryIntroActivity
com.google.android.gsf.login.GetCountryListTask
com.google.android.gsf.login.RecoveryDataActivity
com.google.android.gsf.login.AccountSecurityActivity
com.google.android.gsf.login.PicassaInfoActivity
com.google.android.gsf.login.GoogleServicesActivity
com.google.android.gsf.login.TermsOfServiceActivity
com.google.android.gsf.login.BrowserActivity
com.google.android.gsf.loginservice.GrantCredentialsPermissionActivity
Services
com.google.android.gsf.loginservice.GoogleLoginService
Receivers
com.google.android.gsf.login.DevicePolicyActivatedReceiver
Service-related intent filters
com.google.android.gsf.loginservice.GoogleLoginService
actions: android.accounts.AccountAuthenticator, com.google.android.gsf.action.GET_GLS
Activity-related intent filters
com.google.android.gsf.login.AccountIntroActivity
actions: com.google.android.accounts.AccountIntro, android.intent.action.MAIN
categories: android.intent.category.DEFAULT
Receiver-related intent filters
com.google.android.gsf.login.DevicePolicyActivatedReceiver
actions: com.google.android.apps.enterprise.dmagent.AUTO_REGISTRATION_FINISHED
Code-related observations
The application does not load any code dynamically
The application contains reflection code
The application does not contain native code
The application does not contain cryptographic code
Application certificate information
Issuer
    DN: C=US, ST=California, L=Mountain View, O=Google Inc., OU=Android, CN=Android
    C: US
    CN: Android
    L: Mountain View
    O: Google Inc.
    S: California
    OU: Android
Subject
    DN: C=US, ST=California, L=Mountain View, O=Google Inc., OU=Android, CN=Android
    C: US
    CN: Android
    L: Mountain View
    O: Google Inc.
    S: California
    OU: Android

Who should I bring this information to the attention to? Is it pretty much certain that my phone is completely compromised?

While there may be something wrong with Google apps' compatibility, it's unlikely that those apps are compromised.
Android SDK (Software Development Kit) provides some standard permissions that are listed on its official documentation (and some of the details on Android.SE).
In addition to that, Android allows its developers to declare new permissions to be used by other apps. As it can be seen, Google does that with an example of Gtalk (com.google.android.gtalkservice.permission.GTALK_SERVICE). It's normal for an app (even more, from the same developer) to use custom permissions for their needs.
Now, the reason why VirusTotal labels them as "unknown permission" is because it only checks for standard permissions, which is reasonable since there are no references for all custom permissions defined by other apps. (VirusTotal could probably work together with Google or other trusted companies to store their custom permissions as "known", but it's outside of the context).
So the conclusion is, that "unknown permission" doesn't mean the app is tampered with/compromised. It's just not a standard permission from Android SDK. In fact, many other apps also use the same permissions to use Google-provided services, such as C2DM (or GCM, Google Cloud Messaging), GMaps, etc, which are not standard Android permissions (and components).


text:
How to root OnePlus One?
I want to root my shiny OnePlus One device aka flagship killer. There is no dearth of guides available on Internet and accessible easily via Google, but I'm not sure which one to follow as I don't want my device to face issues during rooting which could make my phone unbootable.
How can I root my phone safely?

Device : OnePlus One (bacon)
Android version : CM 11S, COS12, or COS13
Status: Untouched bootloader
Storage: 16GB or 64GB

It is true that the guides available for this device are extremely large in quantity. Rooting OnePlus One is fairly easy, safe and doesn't require any prerequisite knowledge of Android OS internals, though having it would ease you to root with confidence.
Note #0: The instructions will wipe everything on your phone including Stock Recovery, and you might possibly not receive OTA updates (I although receive them with no issues). Also, while this guide may seem lengthy (since written from the perspective of a completely new user), the instructions are one of the safest to ensure that any troubleshooting, if required, can be done easily.
Note #1: If you're worried about your data, whatsoever it is, please refer to this one-stop guide - Full Backup on non-rooted devices. I personally prefer adb backup combined with Helium app available at Play Store for free.
Following instructions require ADB and Fastboot tools to be installed. Regarding installation, there is a very helpful guide here - Is there a minimal installation of ADB.

Windows users may look here and this for dedicated solution, or use this popular hassle free installation tool called 15 seconds ADB Installer suggested at this guide.
As for Linux users, ADB and Fastboot are usually available in the repositories of most of the popular distributions and covered already in this aforementioned guide. See this if in want of an easy installation. Many errors faced in using them are already answered on Android Enthusiasts. Otherwise, running as root user on system (not recommended) solves most of them.
I'm unfamiliar with OSX so can't recommend anything :(

Note #2: Before proceeding for further instructions, make sure your device is working fine with ADB and Fastboot.

This is required for any OS user to verify (step 3. in Windows section, and Useful fastboot commands) here for smoother further experience.

Also, when you'll try adb related commands, a confirmation on your device will be shown to accept the ADB connection initiated from your system. Allow it and check the box to remember it for future,

Note #3: - I'm instructing this as an Ubuntu Linux user, although rooting from Windows is fairly simple.

Once you have everything setup and backed up, you need to open a Command Prompt with elevated privileges and enter into the ADB installation directory.
Mostly the command will be like cd folder_location\ where folder_location is the location of the ADB installation folder.
If this is overwhelming at first, you may refer to this guide (see instruction 0. Installing proper fastboot and adb drivers).
About Linux users, I'm assuming they are aware of basic know-how of playing with their favorite terminal application. Google is your friend, always remember.

Note #4: Keep your phone adequately charged, possibly above 70% before venturing into anything unknown to you such as rooting or flashing. Also, this guide  summarizes many points of this answer.

Part #1: Unlock the Bootloader of OPO
While this is not important to continue, you may look them out of curiosity:

What is a Bootloader?
Why it is locked?
What happens when the Bootloader is unlocked on a device?

Instructions:

Plug OPO into system using USB cable and enable the USB debugging.
Gain Administrative in Windows or Superuser in Linux privileges in your CMD/Terminal. For Windows, enter into the ADB directory as well.
Type adb devices to confirm that your device is connected. If you can't see your device somehow, consider querying Google.
Enter  adb reboot bootloader to put into Fastboot mode.
Enter fastboot devices to confirm fastboot mode is getting detecting by system. In case if you can't see any device serial no. or something similar, then query the same into Google for troubleshooting.
Enter fastboot oem unlock -  this will unlock the Bootloader of OPO and as a default mechanism, will wipe your device.
Enter fastboot reboot to reboot your device. If this doesn't reboot the device or stay stuck at Fastboot screen, you can power-off and power-on by pressing down power key consecutively with few seconds gap.

Congrats! your device is now unlocked for innumerable modifications.

Part #2 : Install and boot into a Custom Recovery via Recovery Mode
You may check them out of curiosity:

What is a Recovery and a Custom Recovery?
What is Recovery Mode and what does it do?
What are Clockworkmod (CWM), TWRP and Philz Touch?

Instructions:
While I personally prefer Philz Touch Recovery (being elegant), I've instructed for the most popular one, the TWRP recovery. Instructions for Philz Touch Recovery and CWM are also similar. Apart from these three, I'm unaware of any other recovery for OPO.
(The instructions in this section are divided into two parts: 2.1 and 2.2)
2.1:

Download any recovery viz. TWRP Official (preferred), Philz Touch, CWM, or TWRP Unofficial. Some folks prefer fork of Official TWRP called TWRP Unofficial. You may Google them to suit your needs.
Rename1 the downloaded .img file into recovery.img. For Windows users, place this file into your ADB folder. For Linux users, either cd into the selected Download folder, or know the file path of downloaded file.
Go to Settings -> Developer Options and uncheck Enable Cyanogen Recovery.
Repeat steps 1-5 from Part #1 to enter into Fastboot mode with surety.
Enter fastboot flash recovery recovery.img. Linux users who didn't cd into the selected download folder should replace recovery.img with file path of .img. This command will flash your downloaded Recovery into the Recovery partition of OPO, and as obvious, Stock Recovery can't be booted into.
Repeat step 7 of Part #1.

Congrats! You've successfully replaced Stock Recovery with Custom Recovery.
OR,
Some folks claimed that OPO can be booted into live Recovery without replacing the Stock Recovery which ensured them OTA updates survives. I could not achieve success but they did. Follow 2.2 to boot into a live Recovery.
2.2:

Repeat steps 1-4 of 2.1.
Enter fastboot boot recovery.img. Linux users who didn't cd into the selected download folder should replace recovery.img with file path of .img. This Fastboot command will boot into the downloaded Recovery without touching any installed Recovery. It may take few seconds-minute to boot into this Recovery.

If you can see the Recovery with options like Install Zip, Advanced, etc, and TWRP or the name of your downloaded Recovery mentioned somewhere, then you've booted into your downloaded Recovery. Congrats! Otherwise, you may troubleshoot using Google or go with 2.1 straightly.

Part #3: Flash SuperSu zip and install SuperSu app to enable root access
You would be aware of rooting if you've come here for it. But in any case, you may look at some nicely written answers about Rooting, what rooting would enable you to do, or this short but useful guide at Lifehacker.
You can find many superuser clients that intercepts root access by apps in your device and interactively asks you to take action. Popular ones for OPO are SuperSu app by Chainfire and Superuser by Koush. I'll use the former one here.
Note that most of these Superuser apps requires their own binaries to be flashed into the system to work with their apks.
Instructions:

Download SuperSu zip file from here. The name might be similar to  UPDATE-SuperSU-vX.YZ.zip.
Put this .zip file into the root directory (Home folder) of your Internal SD card. You can do so by firing up your favorite File Manager.

Users who used 2.1:

Easy way : Go to Settings -> Developer options and enable Advanced Reboot. Hold Power button, tap Reboot option and choose Recovery. Your device will now boot into the Recovery.
Typical way: Repeat steps 1-3 of Part #1 and then enter adb reboot recovery to boot into Recovery.

Users who used 2.2:

Repeat all the steps of 2.2 to boot into live Recovery.

Tap Install Zip. Select .zip file you downloaded and choose Yes to install the file. It will show some text as output and will eventually complete. This step will flash SuperSu app compatible binaries into your Android OS. If any unexpected error shows up, query the same into Google Search.
You may now Reboot you device.
(Update: not needed anymore) Go to Play Store and install SuperSu app.
Launch the app. If it shows a popup, choose Continue and you'll be presented with two options where you've to choose TWRP/CWM. It would cause a reboot. If you're not asked for anything by that app, then everything went fine and you're ready to use SuperSU as a superuser manager.
You may now launch this app to tweak some settings suitable to your needs. Also, check whether it has been successfully installed and working or not by using any app that requests root access, such as  these apps.

You've now successfully rooted your OnePlus One device. There are many  methods which claims to be one-click, completely automated, etc. However, I can't possibly cover all of them and wouldn't, to keep the focus at only one method. :) Anyway, some notable mentions are:

Bacon Root Toolkit
OnePlus One Toolbox
See Methods/Apps in this answer to see what popular rooting methods exist for other Android devices; some might work on OPO as well.
You can look for a solution more easily on OnePlus Forums, since it's the common shared source of information for many OnePlus One users including me.

Objective Completed.

1 Per the information received from Rob W here, it is necessary to rename the downloaded recovery to recovery.img, else the fastboot command may execute but wouldn't take effect.

"While not necessary, rename the downloaded .img file into recovery.img". This step is necessary. Without renaming, fastboot boot trwp.img did not have any apparent effect, even though fastboot reported a successful execution. Only after renaming to recovery.img, using fastboot boot recovery.img caused the phone to into the desired recovery image.

This is a comprehensive answer! Thanks!! By the way, I was able to boot into a live TWRP recovery. :-)


text:
How can I extract .rar file in my SD card?
I have downloaded a VPN configuration file in .rar format but i can't extract it in my SD card. I tried Andro Zip and WinRar app for this purpose but still I can't do it. It only opens the files and not extracting it.

I have ES file explorer but it only extracts zip files and not .rar files.

It must be the reason why I fall back to ZArchiver, since ES only limits to zip,7z,gz and I'll be removing the previous one since its no useful.

There is an official .rar extractor https://play.google.com/store/apps/details?id=com.rarlab.rar which is produced by the inventor of RAR.
And it's also the only(?) legitimate one to make RAR archives.
P.S. I'm not sure whether your 'WinRAR' is this 'RAR for Android'. If yes, try to get the latest version from Google Play.

Try Root Explorer. Navigate to the path where the .zip file is present and long press on it. There will be an option called Extract All. Click it, and its done...! Your .zip files will get extracted at sdcard/SpeedSoftware.

Attach the phone to computer and then extract it over the card.

Use ES File Explorer
This app will solve your problem.
Just Select the file and Destination and its done.
It has also the feature of ROOT Browsing.

I have ES file explorer but it does not allow to extract or view .rar files. It supports .zip, 7z and gz files only.


text:
What is kcjlogger on Kyocera phones?
I have a Kyocera Hydro. There is a directory on the phone kcjlogger. It sounds suspicious. Does anyone know what it is or how I can investigate to find out? I was unable to find any answers searching. Thanks
shell@android:/data/kcjlogger/tmp # ls -al
ls -al
-rw------- system   system          0 2015-04-15 22:38 kcjlog_from_tombstone_00

Could you try to open the file using text editor and see what its content? Researching that didn't return any useful info. It could actually be KCJ Logger, and not "keylogger", but researching that returned nothing either.

@Andrew the file is size 0 it has no content unfortunately.


text:
Unwanted underlined in words when using Fleksy Keyboard
I have recently downloaded Fleksy Keyboard from the Play Store.
I am facing issue with it. Although the issue is not so much important but I don't want it.
Whenever I tried to type word, my word are underlined.
I have disabled the auto correction, but I'm still getting that line.
How can I remove this?

It's not about autocorrect, but word suggestion (as can be seen by "who" and "ego" words). I haven't tried the keyboard, but maybe you can try finding the setting for "suggestion".

I researched on Fleksy Keyboard and there's not Spell checker for disable it. so,
 Goto -> Android Settings -> Language & Keyboard -> Touch Input -> Text input -> Spell correction

or, on Lollipop :

Goto -> Android Settings -> Language & Keyboard -> Spell checker

and then, turn it off
How to turn off red-dotted-underline spelling check when text-messaging?

I am using xiomi red mi note 3G and in my keyboard settings I don't have such option

updated, please trying to find the Spell Checker.

i checked ..but there is no setting like that..

I also think that this is the solution ... i remember that i have seen this feature in my phone but now it is not showing

can you do an reflashing ? or just, factory reset.maybe its fixed/added in above androids...

Untick the Spell Checker Box in android language & input setting and the underline will disappear automatically :)

it tooks a couple of hours before i got the option how to stop this unwanted red underline in the text..I never stop to find solution until suddenly came along my mind a one question  "what if i add another language instead of only English?"Because when i reviewed the matter of what causes having underline in some words but others are not.Of course the spelling,right?I checked my language input which were English US and UK. So it could be possible that u can use two languages on the same time.Then i did type some words of English and Tagalog. English word got no underline but Tagalog got underline.So i got the hint over and over! Thinking like that was really got me to try adding more language!I switch on and added the Tagalog which is my native language in the input language and yeah it works!..then i started hating my self when i found out that it is so easy to solve it..so guys u should try that..adding your language can can stop the underline!

Please organize your answer so that others can easily understand it later. Your answer is to add another language; it is not so important that someone later understand your entire thought process leading to this.


text:
What vCard formats/versions and encodings are supported for import?
I have tried to import vCard files using default Contacts app in Samsung Galaxy S6 (details here), but I am not sure about format required (vCard version supported) and Encoding to be used.
I have used Windows-1250 encoding and it worked but all the special characters were imported as ?.  When using UTF-8 it failed to import completely. What is the recommended character encoding and recommended vCard format/version?
Currently my vCard file looks like this with Windows-1250 encoding:
BEGIN:VCARD
VERSION:3.0
NAME:XXXX Günzel
N:Günzel;XXXXX;;;
TEL;CELL:+XXXXXXXXX
END:VCARD

Have you specified the charset with your vcard records? See here for examples.

No I did not... Should I? What is the default charset?

That's not really an Android question, but assuming you were asking "how can I import this vCard file correctly into my Android address book": Some adjustments might be required to the vCard file. I found a specification summary in this Github issue comment:

vCard 2.1 is US-ASCII by default. Individual properties can be overridden with the CHARSET= parameter.
vCard 3.0 requires the mimetype to include a character set, e.g. Content-Type: text/vcard; charset=ISO-8859-1.
vCard 4.0 is always UTF-8.

Giving an example for 1., taken from this article:
BEGIN:VCARD
FN;CHARSET=UTF-8:Mr. Dr. John Maurice Benjamin Doe Ph.D.\, J.D.
N;CHARSET=UTF-8:Doe;John;Maurice,Benjamin;Mr.,Dr.;Ph.D.,J.D.
END:VCARD

Further readings include RFC 6350 :)

So when I have 3.0 version vCards with UTF-8 encoding, then I do not need to do anything, I suppose? The charset (see [RFC3536] for internationalization terminology) for    vCard is UTF-8 as defined in [RFC3629].  There is no way to override    this.  It is invalid to specify a value other than "UTF-8" in the    "charset" MIME parameter (see Section 10.1).

That's how I would read it, yes. Not that I've played with it, though :)

Seems I had two invalid characters at the beginning of the file created by C#, will check it later.

BOM? :) Have that issue quite often with SQL scripts on Oracle. Even with charset being UTF8, SQL*Plus cannot handle the BOM at the beginning of files (they must be saved as "UTF8 without BOM"). Not sure if that's the case here, though.

Yes BOM. Your answer was useful, thank you, will give it a try but the phone is not mine so it will take me a while.

As an additional information based on comments, most Android only supports vCard 2.1 as of Android 12, while vCard 3.0 might be supported by some, but no support for vCard 4.0.
Dan wrote:

As of Android N / Nougat / 7.0, the AOSP Contacts app can only import vCard 2.1 (which is also the format it exports). Any deviation from the vCard 2.1 format, including just changing the version identifier, will cause it to fail to import. - source
[...]. I'm unsure if it's device- or ROM-specific and I can't find any particular source code to demonstrate it. [...] - source

DJCrashdummy wrote:

sadly i have to confirm that shockingly still only vCard 2.1 is exported and only vCard 2.1 and 3.0 can be imported. - still no support for vCard 4.0! - source

Suncatcher wrote:

[...] the situation hasn't changed since 2018 to 2022 unfortunately. Am writing this from Android 12 and it is still vCard 2.1 :( - source


text:
Vanilla Lollipop on Sony Xperia Z3?
I'm new to the Android camp (having used iOS for many years) and whilst there are many things I like about my Sony Z3, the performance isn't one of them. At its core my question is;
Is it possible to install the vanilla version of Android Lollipop on my Z3, and revert back if needed?
A bit of background.
Since getting the phone about a month ago, I have had the phone crash on me at least every couple of days, and whilst doing a variety of things. Sometimes when trying to open an app, and sometimes just trying to unlock the phone.
Additionally the overall performance seems sluggish for a 'flagship' phone compared to my iPhone 5S.
I don't have many additional apps outside of the pre-installed ones and they are all well known apps, I'd like to think.
I am hoping to remove the Sony version of Lollipop and replace it with a 'vanilla' version in the hope that the phone becomes a bit snappier due to not having to run all of the Sony stuff in the background.
Alternatively, is there anything that can be done to speed up an Android phone, like how you can turn off some services in Windows?
Thanks

Welcome to Android Enthusiasts! The question-and-answer format of this site works best if you put each question in a separate question post – though your goal is identical with both, the approaches are completely different. Please [edit] your post down to one question, and create new posts to ask any further questions. You'll get better answers that way.

For the first part of your question, also see: Is there an official Android “Google” ROM? In short: unless someone built such a ROM, you cannot install it – ROMs are always device specific. So, next place to check: Where can I find stock or custom ROMs for my Android device?. For the second part, our bloatware tag-wiki might be a good start.

Also for the second part: What are some general tips on improving overall performance of an Android phone? / How do I identify apps or settings that cause performance problems? / other questions using the performance tag.


text:
Insufficient Space on Mobile Device
I have searched for an answer to my question because many others have asked this before me - but i guess i have to find more creative answers because all the given answers don't really work for me.
I am trying to install a new app of 18.1 MB but it's impossible. What can I do?

I un-installed 2 apps (together should be more than 18.1 MB)
I only have a few downloaded apps (mostly linked to google like google play music, google play newsstand etc) but still its says with Application Manager > Downloaded > 1.7 GB used ( Id say thats too much), 315 MB free
(and with those apps I uninstalled all updates)
I have an SD card , which has space, but I cannot move any of my apps there

Maybe its time for a new phone

Welcome to the Android Enthusiasts! I highly recommend to check with our insufficient-memory tag-wiki for a starter. Gives you some background and first-aid. Then come back here and either answer your own question (when solved), or [edit] it to include what you've tried and where you're stuck. Good luck!

This problem may occur when your memory cache is insufficient.
When you download an app, the data goes in the cache so that the phone can install it when the download is completed.

In order to be sure that this is the problem, try to download smaller apps. There must be a point where the size is small enough for your android to install it.
I had this problem on my Acer Stream years ago and this is what the support told me, which was right. What is your smartphone model ?

That doesn't appear to be the case. Follow the comments here and the links posted in them. "Insufficient storage" when trying to install new app

@Firelord Your link is off topic : It's not the same error, the answer you link to clearly says that we are not in this case (neither with the 10% nor the 25Mb). Please let Floor, the one who asked the question, determine if answers we provide help or not.

I said follow the comments, not the answer and the links in the comments. It's not like system would tell you by any notification or toast that it is following a 10% rule.

you can try out the following methods to get most of your internal storage back:
Look for LOST.dir folder in your internal SD
If you frequently transfer lots of files between your Android device and PC or MAC, chances are there are huge recovered corrupted files in your LOST.dir folder. In my case I had about 2GB of those. Is it safe to delete them? Yes. Deleting the Lost.dir folder will not cause any harm. However, if important files such as Clockword Recovery files are corrupted, chances are that they have ended in Lost.dir, you might want to try and recover them using Recuva or other similar software. Follow this thread if you have want to recover your lost clockworkmod recovery files.
No matter how many times you delete this folder, chances are it will be recreated each time you transfer files and mount/unmount your device. You can prevent those large files from piling up in LOST.DIR by always safely ejecting or unmounting your android from the PC or MAC and by avoiding  dismounting or ejection at the middle of a transfer
Look for large thumbnail files in DCIM folder in the internal storage
A common issue experienced by many android users is that their pictures and videos folder (DCIM) increases in size by itself i.e. even when no picture or video is taken. It appears that overtime large thumbnail files are created by your default gallery and have sizes that are far greater than the actual images. This is some sort of bug which still awaits a solution. However as a temporary fix you can simply delete the large files in the
mnt/SDcard/DCIM/.thumbnails
folder. I freed a total of 1.5 GB by deleting those files.
You might also want to install Quickpic and use it instead of default gallery to browse and view pictures. Quickpic gallery loads up very fast, has a clean interface and is currently the best gallery replacement for your Android. Download Quickpic
Install Cleanmaster to delete junk files
Cleanmaster is a really nice app which will clean your system cache, residual files from apps previously uninstalled or deleted and also delete your unwanted search histories, call logs etc. I saved over 600mb via this app. However, you might want to de-select some cache files that are important. For example- I use Pulse reader and once your news are loaded in the app, you can view them without network connection later. Hence, before cleaning, I uncheck Pulse from the list of caches.
Run Cleanmaster at least once a week to avoid system cache from piling up later. Download Cleanmaster
Link2SD
Link2SD is a simple application which will allow your rooted Android to force move apps to external storage or SDcard, This will save you lots of internal storage. With Link2SD even system apps are converted into user apps so that you can move them out of phone memory.This means you can now install apps beyond the limited internal system memory. Download Link2SD.
Note: It is better to partition your SD card for storing apps on your SD via Link2SD.  It is very easy to partition if you have Clockworkmod recovery installed. Most rooted devices have this. First turn off or restart your phone into recover mode. From there, select advanced->partition SD Card. From there, select how much space you want to allocate for that partition. Alternatively, you can install and use partition tools on your PC.There is one called . From the minitool wizard you can select your SDcard, format it and then partition it into primary and extra partition using the “Create” button. From there, select Fat32 as your SDcard’s file system and allocate space for your primary partition and secondary partition. Now when you open Link2SD you can select your new partition. Then, select the apps from the internal storage that you want to move to your SD. Then click on the action button to and click create link.Now, check all the three boxes and click “OK” to create links.  Now all your internal storage apps are moved to SD card. To make your external SD as default storage for apps and games, go to settings -> Auto Link -> Now, Check all three boxes and press ok.
As you can see, I managed to free more than 4GB of space by following these methods to clean unwanted files eating up my android’s internal storage. Go ahead and try these solutions and free up loads of space in your Android device.

And what if there isn't a 1GB thumbnail in the thumbnail folder under DCIM? Please elaborate the answer.

then only cache needs to be cleared  with cache cleaner .


text:
What should I do about this pop up on my android device?
Any ideas what this is? It keeps popping up randomly on my device. I can be completely ignoring my browser, and going through my gallery and apps and it pops up.

Click image for larger version

Definitely, do NOT press the "update now"!!! That for sure introduces malware. Though batteries do have some kind of firmware (mainly for charging control), it is never ever updated this way (in fact, it's not updated at all to my knowledge).
Having made clear what you should not do leaves the question: What should you do about it? You must find out what produces this popup. In 90%+ of all cases, it's a "bad app". So check all apps you've installed shortly1 before this started. Especially check those apps you've installed from "other sources" (see: side-loading). The risk catching such a "bad app" is highest with sources you don't know you can trust. Remove those and see if the issue goes away. If not, as a last-resort you might need to do a factory-reset.
If those popups only occur in your browser (the screenshot looks like such an example), it might also be a "bad website". Avoid it then, see if it happens on other sites as well.
For one thing, the popup tells the truth: pressing "update now" has a "high risk level" – you will get worse stuff installed on your device …

1: "shortly" is a relative term here; some malware waits up to 30 days before acting such

I was thinking, behind the scenes, there must be some permissions that an app would be using here. I don't know much here but I found that restricting many View functions using XPrivacy helps a lot. What if someone needs an app but wants to get rid of this pop-up created by the same app? Do you suggest something? I'm open for its dissection :) Factory-reset is always an overkill for me despite having a backup.

If it's an app behind it, and the pop-ups are "full screen", you might be right about the permission. I'd check e.g. for SYSTEM_ALERT_WINDOW then.

Generally, the possibility of it to be a malware is high, because normal update notifications are too ugly to notify users and this one looks pretty, doesn't it?

Batteries don't have firmware.  That should be enough to dissuade you from falling for this obvious phishing scam.

If batteries didn't have firmware – how could there be Faulty Firmware in Lenovo Batteries? And why then would a DEFCON deal with Battery Firmware hacking? And why would Lenovo even provide a Battery Firmware Update Utility? But fact is: No battery firmware updates are done the way that popup suggests (via Google Play). So the popup is right: pressing that button has a "high risk level" :)

It's just an unwanted pop-up that you should avoid clicking on. Bad websites mostly with extensions .mobi, .biz, (sometimes .com also) etc and all torrent and file hosting websites use these pop-ups for installing malware apps or redirects you to some app the Play Store.
My recommendation:
1. Use Firefox for Mobile along with the extension AdBlock. Chrome still doesn't support extensions.
2. Use Maxthon Browser which comes with AdBlock preinstalled.
3. If the device is rooted just install AdBlock from here.


text:
Linux on Android - viewing file structure
I have installed Linux (Ubuntu distro) on my Android tablet, a Nexus 7 (no SD card at all), in a so-called CHroot install.
I am a Linux beginner, so my understanding is quite limited.
When in Linux (using a terminal emulator on the SSH service, logged in as root), I list the contents of the top level "/" directory and can see 18 directories, including: bin proc sys mnt srv home srv ..... and others
When using the Android app "ES File Explorer" (aka FX), I can only see 13 folders.
There is some overlap, but some directories are unique to the FX view, and some are missing.
For example, the folder '/vendor' is visible in FX, but not on the linux terminal.
Also, the folder /mnt shows different contents when I check it in FX versus the linux terminal.
I created a new test directory on the linux terminal, but cannot "see' it when I use FX.
I should note that my Android tablet has been rooted (verified), and I have turned on the Root option inside ES File Explorer, which allows me to successfully browse the "/" directory and subdirectories.
Why do I see a different directory structure when I view it via linux terminal versus the Android File Explorer?
Hours later:  Having read up more on Linux Deploy, it seems to me that use of the "chroot" feature is part of the explanation - the root level and tree structure for the Linux environment is located at a lower level somewhere within the Android 'main system's tree structure - a "virtual" root so to speak.
However, that still means I should be able to "see" it using FX, shouldn't it?  And how do I know where this virtual root is located within the Android tree?

Thank you Stephen Schrauger for your detailed answer (see below).  I have not been able to find the "*.img" file that contains the file structure for the installed Linux, but your answer explains why I would see a different structure once inside the Linux sandbox.

It might not be a '.img' file, but it would probably be something like that. You could try using DiskUsage to find large folders and files; it may help you pinpoint the location (find a folder/file with the same size as the Linux "hard drive").

And how do I know where this virtual root is located within the Android tree?: execute mount and look for the directory where Linux loop file is mounted.

This is due to your CHroot install. The entire Linux hard drive is probably contained inside of a binary file or disk image.
When you start Linux, you have to use the Android app. It acts like a virtual machine controller. The app mounts the Linux disk image in memory and loads Linux. Linux can never see outside of this sandbox virtual filesystem, and native Android cannot see into it either. Since Android sees it as a single file, ES File Explorer can't view the contents directly (it would see a file named something like Linux_HD.img).
The reason some folders are the similar is because Android OS and Linux OS share a similar codebase. Both Android and Linux (and Mac) have some default folders, such as /mnt, /etc and others. But the naming is purely coincidental for your purpose; changing files within the folder on the virtual Linux install won't modify the Android files.
Depending on the app you use to install and run Linux, it may have an option to mount parts of the Android folder within the Linux file structure.

Linux can see outside of this sandbox virtual filesystem: ls /proc/1/root (unless chroot is inside a PID namespace). Native Android can also see into it: ls /path/to/mountpoint or use any GUI file explorer app (unless chroot is inside a mount namespace, so nsenter is also required).