text:
Internet connection checking blocked by AFWall+?
I have recently installed Android 6 on my Nexus.
I also have AFWall+ for [un]blocking selected application from accessing internet.
However, every time I connect to a wifi an exclamation mark will appear and Android will soon disconnect from it. Also a popup message asks me to disconnect because it cannot connect to internet.
However I can access internet indeed via wifi.
What process should I add to whitelist in order for Android not to disconnectme after a few minutes?

AFWall+ has nothing to do with that. It is a feature of Android. Related: Force MarshMallow to keep a Wi-Fi without Internet access

@Firelord considering AFWall+ requires root, are you sure one could not "accidentally" blacklist the corresponding process as well? // OP: Does that also happen when you disable AFWall+?

If I disable the firewall entirely no exclamation mark on wifi icon. Also I didn't understand. Are you telling me that wifi connection checker by Android OS is running as root? Makes little sense but I don't like to give root internet permission unless really necessary

I had the same problem.  To find which app you need to allow you can turn on firewall logs in AFWall+.  The log gives a log when traffic is blocked and shows which app was blocked.

Enable AFWall+ (if you had it disabled temporarily)
Settings->Preferences->Log->Enable logs
Menu->Firewall logs->Menu->Clear log
Disable and then enable WiFi to trigger the log
Menu->Firewall logs

The apps involved might vary from one device to another so you should check your own log rather than assuming it's the same as mine.  I saw log entries for "root" and "com.quicince.cne.CNEService" (Qualcomm specific, and counts as part of "Android system" in AFWall+).
I have solved the problem by allowing traffic over WiFi for both the above entries.  In fact I think I probably mostly don't need root, but without root the solution was not quite as reliable to remove the error.

Perfect, thank you. For my phone (running CM13) I needed to allow Data Usage Provider

As the other answer and its comment show, the culprit is Data Usage Provider, which tries to connect to Google servers to test connectivity.
You could of course whitelist it in AFWall+, but if you'd rather not have your phone announce your IP to the mothership you need to disable "captive portal detection": as root, run in a terminal (or in adb shell)
settings put global captive_portal_detection_enabled 0

CaptivePortalLogin, as it's called in my device, seems to be used to tunnel a bunch of other requests from other, non Android services so the command is preferable. I still have to see if this command still works on Andrond 13. Don't buy Xiaomi devices people.


text:
Google Maps - prefer 'pleasant' route over fastest
Is there a way of telling the Google Maps route finder that I would prefer the least number of junctions / traffic lights, or if traffic is heavy in areas, the route with least time spent 'sitting'.
A route that is 1 min faster than another, yet involves more stop/start driving can be more frustrating than one which is flowing.
Generally, when routes are within ~3 mins difference of one another, I'm not bothered about the quickest, I just want the least irritating one.

See Leslie post Which implies that navigation and real time data both need to be available and that condition is limited to certain regions only

source: Stack Exchange

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

sort: votes


text:
Greenify ruins my Samsung Keyboard Input Languages
I've installed this Greenify app on my non-rooted Galaxy S3. It really does the magic after hibernating some of the non-system apps (e.g. FB, Twitter, etc.)  - phone runs faster, battery drains down much slower.
But, oh hey, it removes my multiple input languages from the Samsung Keyboard. I can no longer swipe the space bar for another language - it's either English or another language I am heavily using.
Switching the Greenify off of the Accessibility Mode brings the multiple languages option back to the space bar, but practically disables the Greenify itself.
Any chance I could fix that - still run the Greenify and keep my system keyboard options?

Thanks, but you are not reading - disabling Greenify in accessibility does help (I described that above), but my problem is that I still want to continue using Greenify.

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


text:
Android phone display broken
I'm here to find out alternatives to view the android phone's (Galaxy s3, I9300) display to an external display. I have decided not to repair the display and have move on to use an another phone.
I have come across Micro USB to VGA adaptor. Are there any cheaper ways or even a DIY way to view the port the display? The cell is in otherwise good condition.
Thanks

What kind of a DIY do you expect? I really can't think of anything other than building your own cable as a DIY solution in this case.

Probably isn't the correct term.

Please checkout our broken-screen tag-wiki, which links to several related posts.

You're probably looking for an MHL cable.
Here's the cable to connect your Samsung Galaxy S3 to HDMI:
http://www.samsung.com/uk/consumer/mobile-devices/accessories/connectivity/EPL-3FHUBEGSTD
NOTE: 2 Different web sources that I saw right away seem to say it's not a standard MHL cable.  Make sure you check to ensure what you buy is compatible (Or us an official source like above):
http://blog.clove.co.uk/2012/06/08/samsung-galaxy-s3-uses-a-different-mhlhdmi-adapter/
I had the official cable for my Samsung S3 a few years ago and it worked great.

Thanks for your suggestion. It seems to be like Micro USB to VGA.


text:
Update Virus Database on S6
I have a Samsung S6.  I keep getting a message that says I need to update my virus database, that my virus database has not been updated for 26 months (my phone is only 3 months old) and is no longer protecting me from the latest threats.  There is an option to update database and an option to enable all premium features.  Below that there is a security broadcast that lists a virus named a.payment.cola.a and has information on the virus and what kind of threat it is.  This keeps coming up on my phone over and over.  I am not sure if it is legit or is itself a virus.  I have tried googling it, but can't find any info on it.  Is this a virus?  I have Avast security on my phone since I got it and it shows there are no current threats or viruses, but you never know.  Just need to know if I should click to update the database.

I closed it out.  I will have to wait until it pops up again to do a screen shot, unfortunately.  I don't know what triggers it.  It pops up randomly.  As for what android version I am using, whatever comes on the S6.

When it happens again, remember the context: have you been browsing a certain website, used a specific app, done a specific task when it popped up? The irregularity you describe rather suggests it's one of those things wanting you to think it is a virus and to download the real malware. The fact it speaks of 26 months (with the phone first released just 10 months ago) adds to it, making it look like a blatant lie. Why would a manufacturer install such an outdated database on his new flagship device?

You probably downloaded an app that is an AdWare

Thanks Izzy.  I will remember to include that info.  The 26 months thing seemed strange to me as well as the phones haven't been available that long.  How do I get rid of it then if it is AdWare, which I assume it is?

No general rule @LeeSprang (‹ dont forget the @ if you mention someone, or that someone won't be notified ;) We first need to see the context. Could as well be some "malware ad" on some web page you were viewing.

Searching the name of that "virus" returns only results for NQ Security, who are essentially a nobody company accused of creating spyware to trick people into paying for their useless security app.  In my opinion, this is a complete scam.
You should check in Settings → Security (or Safety & Privacy) under Device Administrators and remove any apps that you don't want controlling your device (if present), and then remove anything suspicious under Settings → Applications.  Specifically, remove anything from NQ or any anti-malware software you don't recognize.


text:
Closing a window within an activity using adb shell commands
I have been tinkering around with adb and attempting to control an application and close popup windows using adb shell commands. I trying to close an activity window that I can identify with the following command:
adb shell "dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp"

which returns two different variables while the window I want to close is open:
mCurrentFocus=Window{4e8ee3f u0 myApp/myActivity} (this is what I want to close)
mFocusedApp=AppWindowToken{ee23799 token=Token{5208e0 ActivityRecord{4dac6e3 u0 myApp/myActity}}}

Is it possible to close the current focus window and if so how?

When it comes to closing a dialog or a window, a user uses the Back key of their device. Through command-line you can emulate the functionality of Back key using a particular key event. The key event for Back key is KEYCODE_BACK. It has the constant value 4. Use it with input command in this manner:
adb shell input keyevent KEYCODE_BACK
adb shell input keyevent 4    # alternative

I recommend you read this answer by Rene Barbosa. It lists many useful key events. I also recommend you execute adb shell input to find out how useful that command can be.


text:
How can I install Google Apps on Cyanogenmod for the Samsung Galaxy S2 (i9100)?
When I try to install the latest version of Open GApps onto my phone using adb sideload, and the default CM Recovery that comes with CM 13 for the Samsung Galaxy SII (i9100). However, I get the error message, "Failed to set up busybox."  The suggested solution, which is to use TWRP recovery instead of CM, I have no idea how to do because I don't know where to find a kernel, with TWRP recovery, that is compatible with CM13. I can't find kernels for CM12, since many of the download links on sites like xda-developers.com are dead.
I tried to install with CM12 and CM13 and I get the same result.
I successfully installed a copy of busybox onto /system/bin. I first tried installing Open GApps via adb sideload however, this failed. Running adb shell, I saw that perhaps busybox was runnable, so I ran chmod +x, and ran busybox, after which I saw busybox's help message. Surprisingly, Open GApps still didn't install for the same reason.
How can I install the Google Apps onto my phone?

You don't need a new kernel to use a different recovery.

Rahul is right, but I might contribute to this (I also got the i9100 and ran into the same problem). I had the problem that my google apps were already bricked so i could not install any helper apps.
TAKE CARE: This may brick your system if you are not sure what you are doing.
When upgrading CM12.X to 13 you have to install a new gapps version. The problem is, that with CM13 the old recovery system (which you need to install gapps) is being replacedby a new one which lacks the busybox. My solution so far: flash back the old recovery system using Odin (I used clockworkmod as recovery system which has busybox). Download the gapps and latest cyanogenmod on your sd card (zip files) and insert it in your phone. Boot into the recovery. Clean and wipe your system. Install cyanogenmod from zip file and directly afterwards the gapps zip file. This might take some time. Then reboot your system.
CRITICAL NOTES:
- When installing cyanogenmod from sd card, your recovery will again be overwritten with the new embedded recovery system cyanogenmod (that one that is lacking the busybox).
- If you haven't resized your partitioning, installation of gapps (I used the smallest version called pico) will fail because of insufficient storage. If this is the case, you also have to flash new pit files and format sdcard0 (vfat), system, data, preload and emmc (vfat). Then you may install your custom rom and gapps from recovery.
Links:
Pit files different sizings: forum.xda-developers.com/showpost.php?p=60473209&postcount=1106 (pick one with 512MB preload (!) just to be sure)
CWM Recovery: http://galaxys2root.com/cwmtwrp-recovery/
Philz Recovery for flashing pit files and formatting filesystems: http://d-h.st/SvM
Unfortunately this procedure have to be repeated once you have to upgrade your gapps. I found no better solution so far...

Thanks @Simon! Helpful, but for me, as a novice, not detailed enough, unfortunately... How do I flash a new PIT? How do I format sdcard0 etc? My head is spinning... I would very much appreciate a more step-by-step kind of advice. Thanks a lot!

@Thomas see my additional answer below. This may help you.

Okay, I add another answer because the protocol I am attaching differs from what I posted above. This worked for me, I cannot tell if this will work for you; please don't point your finger on me ;) This is meant for all who have a CM CM12.1 Nightly build  2016-01-19 or later installed - including Cyanogenmod's recovery which IS NOT ABLE to install Zip Files. The Procedure also reorganizes your Partition structure.
== Resizing Partitions, Installing TWRP 3.0.2-0, CyanogenMod 13 nightly and OpenGApps Pico on Samsung's Galaxy S2 i9100 using Windows 10. Phone has CM12.1 nightly build 2016-01-19 or later, but no busybox. ==
CAUTION: Following these instructions may brick your device. All steps are performed at your own risk. This protocol was successfully tested on two independent i9100 devices. Initially both devices had CyanogenMod 12.1 with CyanogenMod's "stock" recovery installed (which lacks the busybox). Build > 2016-01-19. This protocoll will install CyanogenMod 13, OpenGApps and TWRP 3.0.2-0 recovery. This recovery should persist even after updating CyanogenMod to the next nightly build (not tested yet, would be nice if soeone could feedback on this!).
NOTE: All steps were performed on a Windows 10 PC. You may encounter different events using an other OS.
PREPARATIONS:

Read this first before executing ;)
Backup all your personal data.
Eject your extra SD-card from your phone.
Get the latest CyanogenMod Nightly Build: http://download.cyanogenmod.org/?device=i9100 -> store the zip on your extra SD-card you just ejected
Get OpenGApps pico: http://opengapps.org/ Make sure that the build date matches the CyanogenMod nightly build date. Store the zip on the SD-card you just ejected.
Get HeimdallSuite_v1.4.0.zip: http://forum.xda-developers.com/attachment.php?attachmentid=3713767&d=1460278689 -> Extract it to a local folder (from now on called c:\localFolder)
Get Samsung_Galaxy_S2_Pit-Files_Collection_All-In-One_2015-05-04.rar - http://forum.xda-developers.com/attachment.php?attachmentid=3293884&d=1430622849 -> store it in c:\localFolder
Extract yor desired system storage layout from the jujst downloaded pit collection archive. I strongly recommend to pick a file from the "I9100_512MB_Preload" subfolder, because those most likely won't cause trouble with CyanogenMod installation. I decided for the following configuration: I9100_2.0GB_Sys-08GB_Data-512MB_Preload.pit --> store this file in c:\localFolder. This file will be called myPit.pit from now on.
Get SAMSUNG_USB_Driver_for_Mobile_Phones.zip: http://forum.xda-developers.com/attachment.php?attachmentid=3713769&d=1460278744 -> double click to install. When you don't install this, you might won't be able to establish a connection between your phone and your PC.
Get MSVC++ 2012 Redistributable x86, vcredist_x86.exe (Heimdall won't open with x64 installed): https://www.microsoft.com/de-de/download/details.aspx?id=30679 -> double click to install. If you don't install this, you most probably will get a dll not found exception when launching Heimdall.
Get latest TWRP recovery: https://dl.twrp.me/i9100/ -> store the img in c:\localFolder. This file will be called as myRecovery.img from now on.

PROTOCOL:

Connect your device (and unlock it, if locked).
Open windows device manager (enter "device manager" in start). In the device manager, ensure that hidden devices will be shown ("View" menu).
Navigate to "Modem" -> "Samsung Modem". Right click -> "Uninstall".
Enter "change device installation settings" in start end select not to auto install drivers at all. This is necessary to prevent Windows 10 using any cached drivers for the setup.
Disconnect your device.
Reboot your system into advanced startup settings menue: Click the Start menu and select "Settings" -> Click "Update and Security" -> Click on "Recovery" -> Click "Restart now" under "Advanced Startup". When after the system reboot the boot menu appears, click "Troubleshoot" -> Click "Advanced options" -> Click "Startup Settings" -> Click on "Restart" -> On the "Startup Settings" screen press 7 or F7 to disable driver signature enforcement. (taken from: http://acer.custhelp.com/app/answers/detail/a_id/38289/~/windows-10%3A-disable-signed-driver-enforcement)
Turn off your phone. Bring it into download mode by holding "Volume Down" + "Home" + "Power" at the same time. A warning screen will appear. Acknowledge with "Volume Up".
Connect your device to your PC. The device is now in download mode.
Open explorer and change to c:\localFolder\Heimdall Suite\Drivers and open zadig.exe
In the "Options" menu tick "List All Devices"
Select "Gadget Serial" from the drop down menu.
Select "WinUSB v6.1.x.x.x" from the value picker and click "Install Driver". The installation should be confirmed with a success dialog.
Close zadig.exe
Bring your phone in the donwload mode again: Disconnect in from power. Reconnect it. Bring it into download mode by holding "Volume Down" + "Home" + "Power" at the same time. A warning screen will appear. Acknowledge with "Volume Up".
Open c:\localFolder\Heimdall\Heimdall Suite\heimdall-frontend.exe
Open the "Utilities" tab.
Click the "Detect" button in the "Detect Device" panel. Make sure the status message says "Device detected"
In the "Download Pit" panel click the "Save As" button. Enter a name like "backup". This is a backup file of your current phone partitioning. Because you are going to change its size, you will not use this file later on. However, this step is necessary to make the phone communicate with your PC, I don't know why...
Then klick the "Download" button in the same panel. If everything was set up correctly, no errors will appear in the status log. Please check.
Bring your phone in the donwload mode again. Disconnect in from power. Reconnect it. Bring it into download mode by holding "Volume Down" + "Home" + "Power" at the same time. A warning screen will appear. Acknowledge with "Volume Up". Yes, this is necessary.
Open the "Flash" tab.
In the "PIT" panel click the "Browse" button and select your myPit.pit (which you extracted from the pit files collection) and tick the "Repartition" checkbox.
In the "Partitions(Files)" panel click the "Add" button.
In the "Partition Details" panel at the "Partition Name" dropdown menu select "Recovery". Ensure that the "Partition ID" field reads "7". Click the "Browse" button in the "File" panel next to it and select myRecovery.img
In the "Sessions" panel, make sure that neither the "No Reboot" nor the "Resume (...)" checkboxes are ticked.
Now click the "RECOVERY" entry in the "Partitions(Files)" panel so that it is highlighted blue.
Click "Start". Hopefully the recovery will be flashed now. You will see progress when the status bar changes. Also check the output for errors. If just nothing will happen, check again if the the "No Reboot" nor the "Resume (...)" checkboxes are unchecked and/or retry.
Bring your phone in the recovery (!) mode. Disconnect it from power. Reconnect it. Bring it into recovery mode by holding "Volume Up" (!) + "Home" + "Power" at the same time.  The TWRP Recovery screen will appear.
Navigate to "Wipe" -> "Advanced Wipe". A list of available partitions will appear. (It is important to reformat at least "SDCard" (/emmc) so that it will be recognized by CyanogenMod later (otherwise it will most likely be marked as defect).) Check "Cache", tap "Repair Or Change File System" -> "Change File System" -> "EXT4" -> Swipe. This will force reformatting the partition.
Repeat this step with all other available partitions (some of them like "Android Secure" or "Dalvik" won't work. WARNING: when you still have your extra SD-card inserted, you may see two "SDCard" entries in that list. One of them is your extra SD-card. If you format it, your personal data (as well as the cyanogenmod-nightly and OpenGApps zip files) on it will be lost. At this step, I assume you have no extra SD-card inserted...
Finally, just to be sure that all necessary partitions are clean, navigate to "Home" -> "Wipe" -> "Swipe To Factory Reset".
Navigate to "Home" -> "Reboot" -> "Power Off" to tun off your device.
Insert your extra SD-card with the OpenGApps and CyanogenMod nightly build zip files on it.
Bring your phone again in the recovery mode: Disconnect it from power. Reconnect it. Bring it into recovery mode by holding "Volume Up" (!) + "Home" + "Power" at the same time.  The TWRP Recovery screen will appear.
Navigate to "Install" -> "Select Storage" and pick you extra SD-card. Select your CyanogenMod nightly build zip file and swipe to install.
Repeat this step with your OpenGApps zip file.
Navgiate to "Home" -> "Reboot" -> "Power Off".
Turn on your device and let CyanogenMod complete its work. This may take a while (about 10mins).
In CyanogenMod enable development options. Go to "Settings" -> "About This Phone" -> hit "Build Number" seven times.
Protect your recovery from being overwritten: "Settings" -> "Developer Options" -> disable "Update CM Recovery"
Restore your personal data. That should be it.

You can get the appropriate GApps at Opengapps. And to install that, just put some custom recovery in your device like TWRP/CWM. I recommend CWM.
Install ClockworkMod Recovery With ROM Manager:
This is the easiest method available and lets you begin the installation using a graphical interface while you are booted into Android, thus you do not have to download the recovery image and enter any commands. This is the recommended method for most users and you should try other methods only if this one doesn’t work for you at all for some reason.

Install ROM Manager on your device. It is an app that basically lets you schedule recovery operations while booted into Android, and has an option for installing the latest version of ClockworkMod Recovery.
Launch the just installed ‘Rom Manager’ on your phone. The first option it gives you should say ‘Flash ClockworkMod Recovery’. Just tap on it and follow the instructions.
Wait patiently while the system reboots and the latest version of ClockworkMod Recovery is installed. Select to reboot the device if it prompts you to.
Once the device reboots into Android, verify that you have the latest version of ClockworkMod Recovery installed by launching Rom Manager. It should now mention in the first option that you have ClockworkMod installed along with its version you’re running, and any updates that might be available. If a newer version is available, tap on that option and follow the instructions to update.

The complete guide can be found at AddictiveTips.

Get older opengapps version. 2016-02-08 works for me. 2016-02-24 does not )


text:
Can I have two separate minecraft apps on my sole account?
I have my own device and my two kids have a tablet each linked to my Amazon account (kid profiles). They both want minecraft but want to have their own worlds, I.e. Not share. Can this be done?

if you don't want to spend any money buying minecraft you have an option (only if the devices run android) to get apks using the internet which you don't have to pay and you can update them on that site personally I use aptoide

You mean do piracy, in short. Correct?

Yes, the two devices will have independent data and a single purchase of an app can be installed on multiple devices with the same account. If they want to play multiplayer they should make sure not to sign into the same Minecraft account (not sure how that works on the pocket version) and single player will just work.


text:
How to remap device's sensors to touch screen?
I want to play Moto Racer on Fpse (psx emulator) with device's sensors.
I installed Tincore but I have no clue on how to remap the sensors to touch the screen.
In my head you had to remap the coordinates to the area of the analog stick on the screen.
Is it even possible to do that with Tincore or any other way?

I think it is impossible to remap sensors to touchscreen with tincore, but if anyone is interested, I found a way to remap sensors to analog stick on PC with MotionInJoy and PSXfin to play moto racer.
EPSXE runs fine some games like Gran Turismo 2 and Need for speed III but for Moto Racer the right analog doesn't work.
So PSXfin comes to save the day. Moto Racer works with it, so connect everything and GAME ON!


text:
Will a Bluetooth controller work with an Android app running on BlueStacks?
My son wants to play the mobile version of Skylanders Trap Team on his micro tablet a.k.a. LG Optimus Exceed 2 with no service. Apparently, it is not compatible with his phone, even though it runs Android KitKat 4.4.2.
I tried some of the free Skylanders Android games on BlueStacks, and they seem to run well. Before I buy the game and controller pack, I'd like to hear opinions of whether the Bluetooth controller is likely to work.

I am not certain you can install it in BlueStacks, I purchased the Skylanders Trap Team Android kit myself and have been unable to install the app on any of my non-compatible devices, including BlueStacks. The controller and portal, while recognized by my "smart" devices and my Bluetooth 4.0 PC, fail to pair. It requires the app to be running for the portal and controller to pair.
Since Google Play won't let you download incompatible apps, you have to find the APK file elsewhere. Every time I try to install the APK file in BlueStacks, I get the error message, "download failed because you may not have purchased the app" despite it being a free app.
I can tell you that the Trap Team portal/remote is the same as the Superchargers one, and so work on the Skylanders Superchargers app which is free if you own the Hot Streak car. However, that is only available to Apple devices.
My recommendation is that kit is about $10, and Hot Streak is > $15 that is half the price for Superchargers. Otherwise, if you can manage to get the app to run in BlueStacks and your PC has Bluetooth 4.0 (maybe earlier versions), it should work.

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


text:
system ui not responding after changing screen density
I have cm12.1
I changed the lcd density to something low .then phone restarted ,and after restart I got message saying "system ui has stopped."
I couldn't change the LCD density back to normal
so I made a backed up /data using twrp recovery. then I wiped it.
I want to restore that data and I think I got 2 options
1--I can restore /data and use adb to change build.prop myself ..or
2--I have the data.ext4.win file created by recovery. I can change build.prop file in the backup
.
my question is,how can I browse in adb as root user
and or how can I open that data.ext4.win file (I have disabled md5 checking)

See if my answer helps out somehow: Stuck in boot after changing dpi - Lenovo a7000

Rather than manually unpacking the backup created by TWRP, I advise you to restore the whole system to its original state and flash CyanogenMod again. Then, install Titanium Backup, which will let you browse your backup and manually select what apps and data to restore.

Still, if you want to manually fix the build.prop (which resides on /system, not on /data), you can start a rooted adb session by typing adb root from your computer's terminal, pull the build.prop with adb pull /system/build.prop /path/where/to/put/the/file, manually change the ro.sf.lcd_density field to its original value, and then push the file back on the device, with adb push /path/to/the/fixed/file /system.

I tried both of these methods but problem is not solved. there was no change made to the build.prop,I changed to.sf.LCD_density back to normal,
even that didn't help.
there was an entry in /data/data/com.android.providers.settings/settings.db
I changed LCD density in global Field of database and pushed it back .
now phone is struck at cm logo.


text:
Why does my phone receive only 2G data?
I am using a dual sim smartphone with sim cards on both the slots. Sim card inserted in slot 1 receives 3G data but, the other sim card inserted in slot 2 receives only 2G data, even though 3G internet pack is activated.
I swapped the sim cards between the slots, believing that there might be an issue with the mobile network, but the same problem exists.

My smartphone: Moto E 2nd Generation 3G
Android version: 5.0.2

I have even changed the preferred network type to 3G for the sim in slot 2 (Settings -> Data Usage -> Mobile network settings ->Preferred network type) but, no change.
What could be the issue ?

Have you tried only using 1 Sim card? Maybe its your software

Not every device supports 3G or above on both SIM slots. I never tried to know whether it's HW or SW limitation but I know that this is a hard fact. My Micromax A110Q supports 3G on both slots but my Micromax A310 supports only in first slot.

Are you in 3G area?

Thats how dual SIM in this model works. One sim supports WCDMA (3g) bandwitch, while the other one is only EDGE (2g).

The may be true but how do we verify your claim? Can you support your claim using a source?

I had this phone for a while and was wondering about it myself. So no source, just my own experience :-D


text:
ART option in Developer mode Cause a Issue
In my android phone i have a problem,i just select ART option in Developer settings.Then my phone ask me to restart your phone.I just restart my phone.Then when it starts a strange problem occur.
I was not able to type my password i click on password place many times but not at all any response.Then i type on emergency call to use numbers,a message appear that keyboard has stopped working.
I also drawn out my sim card and memory card but still the same issue.
Guys what should i do now.I have no option(not any factory data reset and my phone i think not have recovery option).
My mobile is Q mobile LT250.

Also a icon of less storage is appear above,it was not before this issue.

ART on KitKat is an experimental runtime, so it's (unfortunately) understandable that it could be buggy on some devices. Note that using ART will increase space usage, that's why you have "low storage" message.

Guys is there not any one to solve this issue?

I can only suggest factory reset in this case, or at least try to access recovery option (e.g. holding vol up+vol down+power, or similar combination)

Had you USB debugging enabled before switching to ART? There might be a shell command (which could be executed via adb shell) to witch back to Dalvik (I vaguely remember having seen something like that).

Thank you guys for all of you comments,before your comments i try to figure it out on google.I go through sites which told to get recovery option in many ways.Some said vol, up+vol.down+power and some power+vol.up.But any of them failed to work.

Thank you guys for all of you comments,before your comments i try to figure it out on google.I go through different sites which told to get recovery option in many ways.Some said vol. up+vol.down+power and some power+vol.up.But any of them failed to work.Then i try different combinations then finally i got That Two Options "Recovery mode"and "Factory mode ".I applied factory mode,guys i lost my all saved data but i,m happy my phone is now working fine.That method was, switch off phone after a few seconds press and hold power button.When you feel vibration then at once press both volume buttons(Both in same time).Then that two options will appear.vol.up and vol. down for scrolling.Home and left most touch buttons are for selection and starting procedure.


text:
Marshmallow battery optimisation not working on Moto G
I recently got the Marshmallow update on my MotoG 2nd gen (2014). I was hoping that my battery will last longer if I enable battery optimisation. But I cant seem to enable it. I can go to the battery settings and open battery optimisation. It shows Not Optimised. If I select All Apps, it shows optimising battery use for apps listed. When I go back to battery screen and then again to optimisation it still shows Not Optimised. It keeps resetting to Not Optimised. How can I make the optimisation work ?

The screenshots repeat if I go back from 3 to 1.

"How can I make the optimization work know" just let the phone enter in deep sleep.

You don't need to do anything. Not optimised just shows the apps that are considered system critical and are excluded from battery optimisation. If you select the All apps option, that just lists all the apps that are battery optimised.


text:
Fast Charging by Qualcomm 3.0- impact on battery?
I am thinking of buying HTC one A9
My only concern is with fast charging . I have read this thread How does fast charging work? and understood the downside is mainly on battery life. Accepted answer seems to be  based on Qualcomm 2.0 and not the latest
HTC one A9 uses the latest Qualcomm 3.0 technology which is claimed to be 38% more efficient.  I am confused , whether less charging time means less damage to battery life or more?
My question
Is it better or worse for battery life compared to earlier technology and how / why?

Keep in mind that you can just use a regular charger instead of a fast charger too...

Short Answer
From battery health point of view, Qualcomm Quick Charge 3.0 is comparatively better than Qualcomm  Quick Charge 2.0, since power used for charging is better controlled, resulting in lesser heat

Quick review of concepts (optional read)
Essential concepts  are summarised here in bullet form. Some of these have been elaborated in  How does Fast Charge work?

Charging Efficiency:  Conventional (not fast) charging efficiency is close to 100%

Charge efficiency is about 99 percent and the cell remains cool during charge.

Heating of Battery while Charging:  is inevitable, given the space (lack of) for heat dissipation but needs to be in limits - All about Battery Chargers says

Li-ion should not rise more than 10ºC (18ºF) above ambient when reaching full charge.

Battery charging stages each requiring different Power (= Voltage multiplied by Current) as depicted in Fig 1. As an example, as battery charges up, it slowly draws less and less current, which is partly why it takes longer to charge the last 20 percent than the first.
Adverse effects of quick charging: Quick charging, turbo charging, adaptive fast charging, rapid charging are different names meaning the same- fast charging. OEMs have  implemented it under various trade names ) speeds up charging process by increasing power. This has adverse effects on health of battery
a)  Battery is not fully charged, since it does not spend adequate time in all the stages of charging (which happens during conventional charging)
b)  Heating up of battery. Power which cannot be absorbed by the battery (for charging) is dissipated as Heat, which is the biggest enemy of battery.  Ideally,   Fast charging of most batteries should be

limited to a temperature of 5 to 45°C (41 to 113°F); for best results consider narrowing the temperature bandwidth to between 10°C and 30°C (50°F and 86°F)

c)   As a combined effect of a) and b) above, battery life is adversely affected both in short and long term (incomplete charge and reduced life cycles )

Long Answer

Qualcomm Quick Charge 2.0 supported four modes at varying power levels, 5 volts/2amps, 9V/2A, 12V/1.67A, and a 20 volt option
Qualcomm Quick Charge 3.0  has major new feature  INOV (Intelligent Negotiation for Optimum Voltage), which allows for

A fine tuned power output and a more optimized charging cycle. Quick Charge 3.0’s INOV communicates with the device to request any voltage between 3.2V and 20V at 200mV increments, allowing for a wider selection of voltages
INOV has the added benefit of being able to dynamically adjust the charging voltage over the battery charging cycle

( Linked source has a video explaining this and graphical comparison is pasted in the  section at end of answer )

This granular variation of voltage to control power , results in

27% faster charging than Quick Charge 2.0 (2x faster than the original Quick Charge 1.0) while
Reducing power dissipation by 45%
Increasing power efficiency by 38%, and being friendlier to the battery life cycle.
You're looking at 4 times faster charging compared to regular charging, and devices capable of jumping from 0% to 80% in about 35 minutes.

To summarise, granular fine control on voltage and in turn on power supplied for charging is the key innovation  that results in these improved figures.  Qualcomm Quick Charge 2.0 had only one  voltage level relevant to mobile devices- 5V, whereas Qualcomm Quick Charge 3.0 has  9 variations possible from 3.2V to 5V in steps of 200 mV. This granularity offers tight control on power delivered for charging in a dynamic manner as required
Point to note, is that controlled power supply for charging means less power wasted, therefore less heat and better for battery

To good to be true? This technology looks impressive but there is a major caveat

All comparisons are with reference to Quick Charge 2.0 and comparative figures for version 2.0 over Quick Chargeversion 1.0 or with conventional charging are not available in public domain ( for obvious reasons, for that matter, similar figures for Qualcomm Quick Charge 2.0 over 1.0 are also not available)
These figures reflect the capability of Qualcomm Quick Charge  technology. Realization in device depends on hardware and OS implementation

Compatability with old chargers: Quick Charge 3.0 will be backward compatible with the technology's previous iterations (so your old chargers and cables should still work), and can be implemented with USB Type-C, USB Type-A, MicroUSB, and proprietary connectors.

Conclusion

Qualcomm Quick Charge 3.0 is safer than Quick Charge 2.0 as far as battery health is concerned as indicated by figures shared
Whether you get the claimed performance is yet to be seen. HTC A one 9 appears to be the first device to hit the market with this technology and we should get better feedback as more devices enter with this technology
Charging by power pack/ power bank (to avoid being in a battery drained situation and when you don't have access to mains) is a better option over fast charging
Regular charging using a standard 5V 2A ( conventional charger ) should be preferred mode with fast charging resorted to when actually needed
Most of the battery apps on Play Store measure the battery temperature also. You could measure the temperature after charging and compare with guidelines mentioned at 2, 5 of "Quick Review of Concepts" to get an idea of how it affects your device

Additional Information to dig deeper

List of supported devices: Qualcomm Quick Charge 3.0 lists out the devices using various versions of its technology, though probably slow to update
Evolution of Qualcomm Quick Charge technology:  Comparison between 3.0 vs 2.0 vs 1.0

Choosing a Charger: HTC A one 9 does not come with a charger ! This XDA thread discusses chargers and may be of use

What do you mean with "charging by power pack"?

@JopV. Power bank which is commercially available to charge batteries when you don't have access to mains

And that's better for your battery than regular non-fast charging? That seems unintuitive. Is it better because it is even slower?

@JopV. Thanks for pointing out the confusion. You are right. What I was referring to is the use case of fast charging to have enough juice is not good , it makes sense rather to have a power bank. Good power banks do control charging speed too. But given that QC is backward compatible, using a regular charger when you have access to mains is preferred. Thanks again for catching that mistake. Edited solution

registered to say this answer is amazing. It could further improve by "bolding out" some conclusions: any form of fast charge, QC. Dash, Adaptive, might be faster but are NOT BETTER than standard SLOW, intelligent charge for NOT DEGRADING battery cycles over time. Another important conclusion is that QC technologies compare over previous gens, as the answer says, obviously for hiding the above. Fast charges are a marketing stunt and together with irreplaceable bats, a clever, convoluted way for companies to implement PLANNED OBSOLENCE and get you to buy a new phone every 2.5 years

@leRobot: Thanks a lot - please feel free to edit by making bold what you think would help. Also agree with you on other points but  discerning readers will figure it out. Elsewhere in other answers, I brought out the planned obsolescence bit and avoided being repetitive :)


text:
Audio / Microphone streaming
Is there any way to live stream audio from my Android phone via mobile internet network (broadband), so I could play the stream on VLC player?

Yes, there is an Application Camtest Audio. You can use it for streaming audio/video over the network using WI-FI. I uploaded my app for you in this link:
http://www.droidbin.com/p1alrjvilfvl31joi1evm1qbilfl3
This app is based on an Open Source library called ["Libstreaming"]

This app can't be installed on Note 5 Android 5.1.1.

what is the error that you get?


text:
Picked up a virus that self-installs apps on my phone
I thought that it's not possible for any virus-like app to self-install apps on a mobile phone. But this is happening in the case of my friend. And I have no idea how to help him.
Namely, he has a Huawei G630 mobile phone. He wanted to download an MP3 song using the default Browser (not Chrome, but default one) and got a message like "you need to update the system before being able to listen this song". This was probably a trick to force him to install a virus-like app.
After that, each day at midnight, new apps start to get installed by itself. This is a screenshot of 4 apps installed on his phone.

Screenshot (click image for larger variant)
I searched for Lutu and could not find it on the Play Store.
I also tried to find this 3rd app that does this, but in vain. I uninstalled a few suspicious apps and killed some services, but this did not help.
I also thought that this is a kind of an add-on in the default Browser (like I have it in Chrome), but I could not find add-ons in this app.
Any idea how to solve this issue?
NOTE: His Huawei is rooted so could the app be installed in the root section? This could explain why I cannot delete it as it's presented as a system app.

The app would install itself as system app even if the phone wasn't rooted. You should flash a new ROM.

You should disable third party apps, and setup the Playstore to require a passcode for each new install. That way the virus should not be able to install new apps

@Pit I think that's already set by default

@SarpSTA Can you share more info about that statement? I have not heard about apps that can install as system apps in a virus way. Thanks

@AnDroDroo if you are not sure it is set that way it should not hurt to check ;-)

@Pit I planned that but I cannot do it now :). My friend is in another town now :).

@Pit the fact the apps are not been found at Google Play rules out the Playstore app being part of the game. I rather support SarpSTA's opinion here: the app made itself a system app, by which it got access to the INSTALL_PACKAGES permission and is able to, well, install apps. That's the most plausible explanation. As SarpSTA's recommendation to "flash a new ROM" (or rather "a clean ROM") is the most likely cure, going along with a factory-reset to make sure nothing of the culprit remains. And definitely: "need to update the system to play the song" was a lure.

@AnDroDroo This Malware Can Secretly Auto-Install any Android App to Your Phone / Hackers reveal Android malware that is IMPOSSIBLE to remove / find more articles; related: Malicious Android Apps installed remotely on my device

if it's rooted, try uninstall suspicious system app via Titanium Backup or Lucky Patcher. And install AdAway then change your launcher.

Izzy and Sarp are right: Your only hope is a clean/new ROM, or grab a list of stock apps online and comb through /system/app and see what should be there, whats been dropped in by your friend/google, and what is dodgy.

Are they proper apps? Or are they just shortcuts on the homescreen? I had a malicious app that made this kind of shortcuts before. If that's the case, just find it and delete it.


text:
Updating phone-firmware based on phone carrier
A while ago I bought a Samsung Galaxy S6 Edge with a a dutch site called BelSimpel. This phone came with an contract from a dutch carrier called "Simpel", which is using the T-Mobile network.
When the phone arrived, it was still sealed and wasn't a dutch device based on the EAN number, it was delivered like buying a phone without a contract. A week later my sim-card came in, from the Simpel provider, so this was a SIM-only contract.
The phone is originally from Czech Republic.
When checking for updates on the live samsung updates feed for my phone, I see all updates getting released for a specific region (per provider per region).
Since my phone was delivered without a contract, how are updates getting released for my phone? Because I have a dutch carrier, using the T-Mobile network.

If they have BestBuy in your area, they will update your phone for free at their Samsung Store.

@MichelfrancisBustillos We don't have that store around here, but I know how to update my phone myself. The problem is that I didn't receive it yet, and asking about it when I can determine when it will come for my phone.

In my experience, only phones purchased from a carrier and used on that carrier received OTA updates, meaning you will have to update it yourself.

Well ofcourse I'm going to have to update it myself. But i'm assuming this can just go through the phone itself? I've had a update to 5.1.1 aswell, which I didn't have to flash or anything.

What do you mean, "through the phone itself"? Are you referring to OTA updates (pushed by the carrier)? If not, how are you updating?

What I mean by "through the phone itself" is just going to my Settings, tapping on "About phone" and tapping Software-update. I have no idea if this relates to OTA updates.

When you do that, it sends a request to the carrier checking for an upgrade. Since the phone was not purchased from the carrier, there is a high probability that the request will error or that no updates will be given (this is so people cannot use a carrier just for updates).

@MichelfrancisBustillos Well, I have a SIM-only contract here connected to a carrier. Where did I get android 5.1.1 from then? Plus, where am I going to update android 6 from then?

I am not sure regarding the source of the update since I am only familiar with American carriers. You could always download the Android 6.x.x ROM and flash it to your device.

@MichelfrancisBustillos I think that's kind of dangerous cause it will remove my warranty. While samsung is already rolling out the update for more S6 Edge's?

Depending on where you bought the device from and who unlocked it (best case is it was factory-unlocked and a resale), your warranty might be already void. Besides OTA updates, or a Samsung store, a flash is most likely the only way to update.

@MichelfrancisBustillos Well, a dutch company called BelSimpel. It's an original samsung device, i've had the IMEI checked. But since I have a contract, only a SIM-only, why can't i get OTA off that?

It may be original Samsung, but that doesn't mean that someone didn't unlock it /after/ the factory, voiding any warranty. You can't get an OTA update since the phone is not from the carrier, so their software is not preinstalled.

@MichelfrancisBustillos Can I check if the phone is unlocked? Or attached to a carrier.

If you were able to use your SIM card then it is unlocked.

If you want to get the latest firmware for your Samsung Android device, head over to http://sammobile.com/firmwares/ and type in your Model number found in
Settings->Device Information (or maybe one of the subcategories like Software information)

It can also be found at the beginning of either Baseband or sometimes Build number. As a last resort the box your phone came in has that information on the little sticker with the three barcodes.
Given that you linked the international, unbranded S6 Edge (SM-G925F), I guess your device is unbranded. You will get updates via OTA directly from Samsung (no carrier in between you and the stock firmware) so watch out for any carrier specific firmware. They may replace parts of the firmware with their branding and their bloatware.
Any stock firmware for the SM-G925F will work as long as you don't intend to downgrade.

I'm sorry, but I still don't get it. Since my device is international and unbranded am i forced to actually download a ROM file and flash my phone?

@Bas No, you are not. You can simply wait until the update is available via OTA in your country.

Alright, but that's just the thing actually. I'm checking the live.samsung-updates daily, and now I even saw 6.0.1 getting release for the Netherlands (see http://puu.sh/nuv2v/d279b6cb3d.png). Also another one for Netherlands, t-mobile. How does it come I didn't receive it yet?

@Bas updates are rolled out in waves. If you haven't received it in about a week, flash it manually.

Thanks. I'll wait a week from now. Isn't it that I have to wait for the update to come out in  Czech Republic right now?


text:
Battery charging time calculation
One of the very useful feature of Android version 5.0 Lollipop is that it shows how much time is left for the charging to be completed. How is the time for the device to get fully charged determined?

To put it bluntly? Lets say you were charging from 0% to 100%. It would work out how long it takes to charge a certain amount (like 1%, for instance. In reality, it's a significantly smaller number than that) and then uses maths to work out how long it takes to get to 100% (so how long it took that 1% x 100). In reality, it is constantly doing this math as you are charging, therefore keeping the time accurate.
Many things can affect how long it takes to charge our percentage, though. A charge via USB is slower than via plug, and playing a game or watching funny cat videos on youtube in 1080p is going to really slow the charging speed.

Can you support your answer with credible sources? One might want to  independently verify your claim.

@Firelord tbh, I'm basing it off calculations I done myself, since the internet has no real answer (unless you count app ads) it'd also be the logical approach to calculating it, understandably.

As per the training document Monitoring the Battery Level and Charging State Determine the Current Battery Level section describes a method, which I presume is implemented in OS and measured periodically (most likely at every 1% change of battery level)

You can find the current battery charge by extracting the current battery level and scale from the battery status intent as shown here:

int level = batteryStatus.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
int scale = batteryStatus.getIntExtra(BatteryManager.EXTRA_SCALE, -1);

float batteryPct = level / (float)scale;

Once you know the current level and the time taken to reach that level, I presume time for full charge is stored in ROM (not sure how and where) it is only a matter of extrapolating

Note: This is an educated guess and would welcome inputs


text:
Changing the writing direction in browser apps (firefox, uc browser)
I write in Arabic most of the time, which unlike English you start writing from the right. Now in browsers writing in Arabic in text boxes starts from the left and the text crawls from left to write which is really annoying especially when editing what I wrote. Is there any way to inverse the direction when writing in Arabic?

Do you have control over the web pages those text boxes are in – or does the browser you use support "user styles"? In the latter case the easiest way would be applying a user-style like * input, * textarea { text-align:right !important }. That would put the cursor at the right place (oops). And yes, I've just tested that :)

@Izzy unfortunately I don't have control over the web pages, do you know how can I change this user style thing in UC browser or firefox?

No idea about UC. For Firefox there's the Stylish enxtension (at least for the desktop version) which can do that – but I'm not sure whether it is available for Firefox on Android as well. According to AMO it should be.

I was thinking the 'Force RTL layout' in the developer settings

Basically its due to language you have chosen and the predication search as you type.  You need to off the predication search from the uc browser setting after that you can write from right to left you can check update from ucmini.co.in for more information about language and setting option.


text:
How to remove camera shortcut on lock screen?
I want to remove the short cut from my phone's lock screen I find it quite annoying and have not found anything in settings or through my own searches. I'd like to get rid of the short-cut in the lower right corner.
I have a sprint nexus 6 phone on stock running android version 6.0.1
Places I have checked already have been linked below for further reference.
https://www.reddit.com/r/Nexus/comments/2mrsws/disable_lockscreen_in_50/
Are there any lollipop lock screen settings?

If you're looking to just eliminate its presence (but not the function), get Xposed framework and this module: LINK: Xposed repo. Not just the camera icon - everything you don't want on the lockscreen can be gone.

Also, many custom ROMs such as CM allow you to change where the shortcut goes.

Here I change it to calculator:

All demos done on my own Nexus 6P.
Both require you to unlock and tinker with the phone; then again, what's the reason not to do it when you have a Nexus?

Good points! Note that what's valid for CM also counts for CyanogenOS which some devices ship with. So that option is available on my "stock" Wileyfox Swift, for example. Plus speaking of Xposed: GravityBox allows to even add a row of additional "quick starters" to the lockscreen – a feature also available as separate module :)

Thanks for the helpful info! I plan to root my phone soon and do some tweaking especially since I just got the 7.0 update. :-) any advice for cool things to look at for that?

@KazRodgers Not yet... Xposed isn't available for 7.0 right now. I'll stay on CM13 until CM14 is feature-complete and Xposed is usable.

I tried it on my moto e6i and it didn't go anything.

I don't know about Nexus, but on Samsung (and I am giving this answer as they share a similar operating system), you need to go to:
Settings > Lock Screen > App Shortcuts (or Shortcuts)
then disable right shortcut or left shortcut, depending on where your camera shortcut is located.
There could be a similar option on a Nexus.

I think there is no option to shut that icon down. It was integrated there with the software of android and no way to be removed. It is just like you would like to remove the settings icon from the scroll menu.

personally I think that too so I'll accept your answer for now. I think switching a setting in developer tools or even a custom ROM may help. But I haven't pursued that yet.

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


text:
Move non-movable apps to SD Card on rooted phone
I have some big apps like Spotify on my phone which has not much empty space left on my internal storage. So I considered moving not only movable apps to sd card but others as well. I know that Spotify for example comes with a widget that will be broken but I don't care. How can I move those apps to the SD Card? My phone (LG Optimus L9 II) is rooted and I don't mind creating some symlinks or something like that via adb.
After using google I also tried this command:
pm set-install-location 2

as root, but Spotify is still in my internal storage.

If your phone has a setting like Settings>Storage>Default Storage Location then set it to SD Card instead of Internal Storage. Alternatively there are Apps that can offer a solution.
The App Link2SD allows you to move apps to a second partition on your SD card. You'll need to create that partition first.
https://play.google.com/store/apps/details?id=com.buak.Link2SD
A different approach is used by Directory Bind at xda-developers. You don't need to change your SD card in any way as you have to do with Link2SD.
http://forum.xda-developers.com/galaxy-s2/themes-apps/tool-directorybind-data-to-externalsd-t1410262
I've used both and they both did the job.

The command I executed does pretty much change the default storage location, but I think this only applies to apps installed after that change or?


text:
Disabling Samsung Applications without root permissions?
I currently have a Samsung Galaxy Note II (GT-N7105) which is not rooted and is running 4.4.2 Kitkat, while it still works pretty fast, sometimes if just freezes with all the processes.
I have though about rooting it so i can delete all the applications that might be using hidden processes and storage room but i have read that rooting it could also cause major problems if done incorrectly so i was looking for another way to delete these applications (Samsung Push Service, etc.) without rooting it, and if there is none can someone direct me to an almost fool-proof way to root it with Android 6.0 (or another, doesn't really matter).

The particular ones that you intend to disable, are you not able to disable them from Settings app -> Apps/Applications -> All apps -> your system app -> Disable? If not, then try my answer available here. You would never be able to delete a system app without root access.

This Samsung-only app allows you to disable any system app without root. Only for Samsung devices; it takes advantage of a hidden TouchWiz API.

You can go to your application manager tab in settings, select the app you wish to disable and press disable to block any of the apps processes. This will not remove the app, but it will prevent the app from running or doing anything. The app icon will also disappear so it will be hidden, just as if you removed the app. If you want to delete the whole app, you need root and the free trial of titanium backup will delete all the files of the app.


text:
How can I not have my screen turn on when I receive notifications?
My screen turns on for ~5-10 seconds for every notification I receive. I get Slack notifications too so my screen is turning on all day even when I never touch my phone and by the end of the day it's almost dead.
I downloaded the application 'Screen Notifications' and tried to turn off notifications but it didn't work.
How can I make this happen? I only want the LED to blink I don't want the entire screen turned on.

Your Android version and device?

Samsung S4,  Android Version 5.0.1 @Firelord

Can you verify that this is not "Ambient Display" we're dealing with? Android 5.0 display keeps turning on with black and white notifications

Update: It is posible to disable notifications of individual apps on system level in Jelly Bean (4.1).
Under each application info screen there is now a checkbox for "show notifications" (assuming the app sends notifications). Uncheck that and no more notifications from that app.
You can get to the screen by going to Settings | Apps | {application} or, more conveniently, long-pressing the notification itself and then tapping "App Info".
More details in this article.
Notifications are handled on a per-app basis.
The only way to turn them off is inside that particular application's settings.
This menu - unlike on iOS - can he accessed from inside the application. It's usually an option that comes up after pressing your menu button, or if your phone doesn't have one than it's hidden behind the overflow menu ie. The three dots.
In the case of scramble with friends there's a settings icon on the main screen. There's an option to set the polling interval. The default is 5 minutes.
Richard Borcsik's answer on May 6 '12 at 8:55

Thanks, but it's not even that I want them disabled. I would just not like the screen turned on for them.


text:
Huawei ascend p7: no USB connection methods
The following problem is occurring today, even though I had no problems doing the exact same thing yesterday: I have connected the phone to my USB port on my computer. The phone is charging, so there is an electric connection, however the notification saying "USB connection methods" isn't there. The computer gives no sign or reaction either. What to do now?

I have switched cables.
I took the SD card out today and I have put it back in.
I tried all my USB ports already.
The cable I used yesterday isn't working either.

What does getprop persist.sys.usb.config say? Likely MTP won't be in there. If you're rooted you can setprop persist.sys.usb.config mtp,ptp,adb to restore mtp and ptp.

I have managed to solve my problem. It seems that, due to some reason, my USB port's power limit was exceeded and it froze itself. I'm not fully sure what caused this to occur, but after disconnecting everything and resetting my USB ports it somehow worked again..
The following message occured after trying a few USB ports:

I disconnected my phone and pressed reset after clicking the popup and it seemed to do the trick. A more thorough explanation on what to do in case of this popup can be found here.


text:
In-call speaker volume fixed too "low" while smartwatch connected via Bluetooth
When my smartwatch (a cheap noname MTK 6260A device probably running Nucleus (most likely a clone of the ZGPax S29), and controlled by the BTNotification app on my Android device) is connected to my LG P880 (running CyanogenMod Kitkat 4.4.4), and I receive or make a call, volume is quite low – I hardly can hear the other side. Volume rockers seem to have no effect (maybe connected to Volume Rocker only controls Bluetooth In-call Volume; cannot control all other volumes which I just found – need to check that with the next call I make). I didn't have that issue before I got and connected the smartwatch.
My guess is it is …

the reason of the linked question (volume rockers bound to bluetooth)
that funny "max volume ear protection" we had mentioned here a couple of times

Apart from switching Bluetooth off whenever there's a call in progress (which I probably could do with tasker):

Is there any way I could increase volume (or get the rocker off the Bluetooth part and back to the built-in "ear speaker" to control/raise the volume)?

Note that audio is not routed to Bluetooth (I've explicitly disabled that, as otherwise everyone around would hear the other side via the speakers of my smartwatch), call volume is already set to 100% – and yes, I've checked with Settings › Audio already. Also, I've already checked with …

How to set in-call volume
How do I disconnect Bluetooth headset while in call (different issue)
Disable calls through Bluetooth smartwatch but show call status (remotely related, but no answer)
Why does the in-call volume change on its own on my Samsung Galaxy S3? might be related (that BTNotifier stuff really is a bit buggy), but there's no update to BTNotifier available (in fact, I had to sideload the app from the manufacturer's site as the playstore version doesn't work with the watch)

Trying to get a decent volume out of anything is one of my biggest Android frustrations.

@MatthewRead thing is the volume is decent as long as the smartwatch isn't connected. I'd have gone straight to Tasker if there weren't the issue with the smartwatch not automatically reconnecting properly when BT returns (I have to disconnect and reconnect manually then to get notifications etc. working again). I might still revert to that if there's no other solution – as a phone makes absolutely no sense if one cannot make proper phone calls ;) Given I rarely get more than 2 calls a day, it might even bearable.

Uninstall the BT notification. By uninstalling it, the volume on the smartwatch will return to normal function, the best it will be.
The only other way is to install a volume booster from the Play Store.

Though it's no longer relevant to me as I don't have that watch anymore: how is this solving the issue? It's a comment at best, not an answer, sorry.


text:
Is there a way to access files off a locked phone with a black screen?
So my Droid 2 died on me and went grey screen with lines. I can't see anything and I can't access my files.
Is there any way to maybe project the screen or access it so I can unlock the phone?

Did you happen to have developer options enabled with USB debugging turned on?

Yes, that is normally one of the first things I turn on.

I updated my answer below to point to a different ADB-based solution (Droid@Screen) that works better than the one I originally linked to (androidscreencast).  Please check out the new link and see if it helps you.  I'll delete this comment after a while, but I wanted to make sure that you didn't miss the subtle change to my answer.  Good luck!

Since you have adb debugging turned on, you should be able to use Droid@Screen from your PC to control your device over adb. There's nothing to install on your device, as long as the adb daemon is running.
Once you have that going, you can use the device from the PC as you would if the screen was working.
Also, if you know what files you're looking to pull off the device and how to navigate the Linux filesystem, you can grab them with 'adb pull ' from your PC. Again, this depends on USB debugging having already been turned on and previously used with the PC in question.

If your mobile screen is not working properly then use your mobile model PC suite to access files.Some Android devices require USB debugging option to work PC Suite.First only check your phone without debugging if it is not working then turn on USB debugging option and reconnect USB again to your PC.

Good accept how does one enable debug i the screen does not work.

Sorry my mistake Frank but as you have mentioned in above comment that you have turned on debug before crash so you did not need to do it again so find a PC suite and try.

You can mirror thought mobile screen to your PC via certain apps.
Check them out here.
Try downloading Motorola PC Suite, it might help you.

Not sure this will work if I have to install an application to the phone first.

Did you apply Hard reset(Recovery mode) to get access to your phone.You will lost all of your data but your mobile will start.This is best way to make your phone as when you started it first time.

Broken screen only purpose right now is to access data.

Have you tried yet to make a USB connection with computer?


text:
Does 'LOCK AND ERASE' in Android Device Manager delete all the data in a lost phone?
My Friend's mobile was lost yesterday and I tried to delete all his data using the android device manager. But it shows only the "ring button" and "Enable Lock and Erase". I Clicked "Enable Lock and Erase". I want to confirm weather it has performed already automatically when mobile data is switched on, or does the user need to confirm to perform the next step. Please Help me.

ADM will notify the account owner when the wipe is successful, and the location it occurred, by email.
Once the event is set in ADM, it will occur automatically as soon as the device makes contact with Google servers. It doesn't matter if it's immediately or after several months or even years (theoretically).

In my Nexus 5 after sending "enable lock and erase" command "Android Device Manager" feature automatically enabled. If device gets online yo can wipe device from Android Device Manager webpage. You should check https://www.google.com/android/devicemanager often to do this operation.


text:
Running a Debian installation on Android as a NAS / VPN - what would I lose as compared to a Raspberry Pi or similar comp?
I have a rooted Android phone that is no longer in use.  I have currently been using Linux Deploy on an Android tablet to run a Debian installation in chroot, and have found it so useful that this (very cheap low end) Android tablet has replaced a laptop.  From this experience I am wondering if I could use a similar installation on the old phone as a NAS / VPN at home.  For some reason, the Debian install running on the tablet does not seem to be stopped / offloaded by the Android OS - i.e. I can SSH in at any time, even 10 hours after use, and it still responds.
I could of course purchase a Raspberry Pi or similar device.  However, I live in a smaller city in India, which means this proposal has two disadvantages - 1) unlike a phone, the Pi has no protection against the frequent one or two hour power cuts that take place here (a UPS would not last long enough) and 2) the cost of a Raspberry Pi in Indian rupees is not expensive, but high enough that it's not something I can simply spend on without thinking.
So, what would be the disadvantages of using an Android phone as, effectively, an ARM-based Linux computer?
I am aware of this question but neither the question nor the answer seems specific enough for this purpose.
NB: By a NAS I don't mean a device to which I could attach external storage - the storage in a microSD card in the phone should be plenty.

Anything else??

You seem to be missing major use-cases, though. When you want openVPN, for example, is this just to host ~10gb of files from home? Having an android device act as a VPN gate, over wifi, sounds like a bottleneck.
Basically: "Replacing a laptop by using Linux on a tablet" seems very different from "Running linux on a phone to do XYZ".

A UPS, modified to provide direct 12v/5v power, instead of being upconverted to 120v and back down to 5v should last for numerous hours. Biggest downside to an android device is probably being stuck on Wifi, and not having direct Ethernet access.

@mix3d: why would wifi be a big disadvantage? Is the speed difference that significant?

@ShankarG Latency, mostly, but it depends on your usecase. What kind of storage would you be planning to use it for, that is small in size (likely ~4-8GB max, since mobile device), that access speed wouldn't be an issue?

Disadvantages
I'm assuming that you already know the advantages, so I'll just tell you the disadvantages:
 Hardware errors: Many users have reported this. Issues include (but aren't limited to) WiFi connection errors, Bluetooth not working, Hardware buttons not working, etc. (These obviously vary from phone to phone)
 OS errors: Some users have reported that Linux hangs randomly and that the phone needs to be forcefully shut down by long-pressing the power button or taking the battery out. (These depend on which distro you are using)
Software errors: A friend of mine says that some software doesn't work the same way it would on a PC. You have been warned :/
Driver errors: Some hardware may not be detected by linux. This depends on the distro you are using and the hardware support provided by it.
Hardware Comparison
Here's a comparison:
-------------------------------------------------------------------------
|Criterion              |Android (Android One)  |RaspberryPi            |
|-----------------------|-----------------------|-----------------------|
|Connectivity           |                       |                       |
| (a)Bluetooth          |Built-in               |External Dongle        |
| (b)WiFi               |Built-in               |External Dongle        |
| (c)SIM - 2G           |Built-in               |External Dongle        |
| (d)SIM - 3G           |Built-in               |External Dongle        |
|-----------------------|-----------------------|-----------------------|
|Specs                  |                       |                       |
| (a)RAM                |1-2 GB                 |1-2 GB                 |
| (b)CPU                |1.3 GHz                |1.2 GHz                |
| (c)Storage            |SD card + internal     |SD card                |
| (d)SIM Slots          |2                      |None                   |
|-----------------------|-----------------------|-----------------------|
|Battery                |Internal               |External               |
|                       |(Fixed Capacity)       |(Your Choice!)         |
|                       |(Use Power Bank)       |                       |
|-----------------------|-----------------------|-----------------------|
|Cost                   |INR 6999-8999          |INR 1299-3899          |
|                       |USD 100-150            |USD 20-60              |
|                       |                       |(+Extras)              |
|-----------------------|-----------------------|-----------------------|

Conclusion
So what does all that (^) even mean? According to me, it's worth a try. If it works, congratulations, you are a very lucky man (or woman). If it doesn't, take it as an interesting experience...
TL;DR: Try it, but don't expect too much...
PS:
The are plenty of ways in which this can go wrong [see https://github.com/meefik/linuxdeploy/issues ]
A tutorial and some troubleshooting tips can be found at http://null-byte.wonderhowto.com/how-to/rooted-android-your-new-pentesting-tool-0159093/

I'm  wondering what purpose this paste is serving: http://pastebin.com/zpFUuhRZ?

@Firelord who copied that there?? :/

Thanks, but this doesn't really answer my question. The question was about running an Android phone as a Linux system for tasks such as openVPN or storage etc.  I'm aware of the hardware of an Android phone.

These specs are not the most recent. The RPi3 has built-in WiFi and Bluetooth.

@ShankarG Now??

@RahulBasu Thanks for the effort, and I've upvoted you. But this is still very vague, too vague to actually tell me anything. if you can link to your sources / examples, and provide more specific information, I'll accept the answer.  For now I'm leaving it open in the hope that you or someone else might be able to give a better answer.

@RahulBasu What I mean is that I can't evaluate whether this will affect me in any way, as without links and without information, I have no details of the problems you are referring to.

@ShankarG It probably wouldn't... I couldn't find many resources related to issues with linux deploy but have posted the link to the Github issues page and page which provides some troubleshooting tips...

@tjohnson agreed, but that's even more expensive here in India :(


text:
Force Google Chrome to load background pages
I open links via context menu item Open in background but background pages begin to load only when tab is selected.
Is it possible to force Google Chrome for Android to load pages which are opened in background?

I didn't find anything related on chrome://flags, so I'm not sure if this is possible.

so do I with same result =)

No, it's not possible, because it makes a little sense. Chrome is a multi-process browser and it uses dedicated processes (in Android terms, Services) for rendering pages. On Android, processes working in background are usually aggressively killed by the system in order to free memory for foreground processes. It makes no sense to do loading of background pages as a renderer in background will most likely be killed soon, it will be just a waste of network and CPU resources. So Chrome just creates a placeholders for background tabs and only "fills" them when the user switches to them.

Maybe it makes a little sense from perspective of OS. But for user it's good. It would be nice to have possibility to read current page and at same time download background page. At time when you read current page all background page will be ready. User happy. I thought it is obvious. So, I assume it's not possible, because of system design flaw.

At least Chrome does DNS prefetching for hosts from the links on your current page. As DNS caches are browser- or even OS-wide, this works well.


text:
I lost my android phone, how can I recover all my Whatsapp status and messages
I lost my android phone (MOTO G2) on my marriage day. Now I wanted to check all my whatsapp status to write full story of my life before one year back. (In short my past time)
Is there any way to recover all the whatsapp status from another phone OR any Third party application OR any recovery option?
Please guide me! Thanks all in advance.

You lost your phone a year ago and now you have a different WhatsApp account?


text:
Verify if apps are fully compatible to the intended Android version upgrade
I am on 4.4.2 and am toying with idea of upgrading to Marshmallow, mainly to use doze feature
I have 150+ apps and want to check how many of them are upgraded to work with Marshmallow, before upgrading (upgrading my device Huawei Honor 6 and rolling back is complicated and not fail proof)
I am looking for a way to list all apps (on my device) and compare with Play Store information to know which/ how many apps are upgraded to API 23  to take a call, whether to upgrade or not
Manual verification is an obvious way, which I don't want
Is there a way to achieve this? ( including app based )

My first thought was using pm list packages -3 (results in a bunch of lines of the format package:com.foobar.app) and then … well, how will you tell whether the package "was upgrade to API 23", without grabbing the .apk and running some aapt stuff against it? I doubt even the playstore API will reveal enough details, though that might be worth checking.

I can't tell you about API availability in this context, nor do I know of existing solutions. So all I can offer is obtaining the package names in the hope those can be used for a solution (btw, the -3 restricts the list to "3rd party apps", i.e. non-system apps).

There is no necessity for an app to be targeted or even upgraded specifically for Marshmallow to work with that Android version. Doze is an app independent feature. It will work to affect an app regardless whether the app is targeted at API level 23. From docs: "Doze and App Standby manage the behavior of all apps running on Android 6.0 or higher, regardless whether they are specifically targeting API level 23." // What objective are you trying to achieve by knowing which apps have been upgraded?

@Firelord: Thanks. That solves my concern, which was to test doze in marshmallow. I was under the impression that apps needed to be MM level to fully utilise doze. Huawei (also in kitkat) implements a doze like feature so wanted to see how it is implemented by them in MM. You can elaborate as an answer to close this.  I stated my intention in first line but guess it got missed out. Apart from that, it would be an interesting exercise to figure out , I guess, to view app by API in Play Store?

For the second part of viewing apps by API, if it is not possible, stating reasons would be good for someone else who refers to this in future that being his primary intention

I am looking for a way to list all apps (on my device) and compare with Play Store information to know which/ how many apps are upgraded to API 23 to take a call, whether to upgrade or not [to use doze feature.]

It would be interesting to have a solution for this, but it turned out that you don't have to bother about all of this when it comes to upgrading to Marshmallow. In the document Optimizing for Doze and App Standby, Google has noted:

Doze and App Standby manage the behavior of all apps running on Android 6.0 or higher, regardless whether they are specifically targeting API level 23.

(Emphasis mine)


text:
SP Flash tool mediatek - cannot add download agent
I need to flash a new firmware for my china X-302 Tablet (detail below). From the producer i have got a package containing firmware, stock rom, sp flash tool, drivers etc. When I want to use flash_tool.exe select and add download agent (for example MTK_AllInOne_DA.bin or more) then pops up an error:
ERROR BROM: S_FTHND_FILE_LOAD_FAIL (5008)
[HINT]:
Tablet at that moment I connected. Usb driver da Vcom I have installed.

tablet: x-302 of Dragon - h701
Android 4.4.2
kernel 3 April 67
Build ALPS.KK1.MP1.V2.11
Tested on Windows 7 32bit, Windows 10 64bit (I also tried compactibility mode).
UPDATE
Standard drivers are installed. The tablet normally communicate, install apk using adb, run and Debug android/Xamarin applications using Visual Studio. This is all OK. If you think MediaTek USB VCOM drivers, so you've got installed:
MediaTek DA USB VCOM (Android) (COM18)
MediaTek Preloader USB VCOM (Android) (COM19)
MediaTek USB Port (Android) (COM22)
MTK USB Debug Port (COM20)
MTK USB Modem Port (COM21)
I had to allow installation of unsigned drivers, and then writes were installed OK. But device has warning "This device can not start. (Code 10). I tried different ways to install or other version, but always writes this warning. However, on the forum, I found it's not a problem. SP Flash tool may work...

Assuming your computer runs Windows: have you checked with the device manager (Start › Control Panel › Device Manager) whether your tablet was recognized and integrated correctly?

I finally discovered that the problem was in the path to download agent, where was the Chinese characters for example :
**x-302 NEW firmware \ 线 刷 工具 和 驱动 \ mt65xx preloader 驱动 **
I just retype to :
**x-302 NEW firmware\Flash\mt65xx preloader**
and then it works correctly and retrieve the download agent. In all the tutorials I could see that the used path with Chinese characteristics and it worked. However, in my case not.
Here is some helpfully link :
Tutorial flash device with mediatek chip 1
Tutorial flash device with mediatek chip 2


text:
Read WhatsApp backup from Google Drive
I can see WhatsApp Messenger in Google Drive.

How can we read WhatsApp Messenger files from Google Drive backup? Does anyone know?

The last I time I read an answer, WhatsApp stored messages in databases and they are most likely encrypted. I don't think Drive provides any option to view a database let alone an encrypted one.

The backup stored on Google Drive is actually not encrypted.

AFAIK, you cannot read those files directly as they are encrypted and backed up on Google Drive.
The purpose of that Google Drive back up is to restore your chat history so that if you lose your phone or switch to another Android phone, your chats are safe.
Below is how you should restore back up of your chat history using Google Drive.

Make sure the same Google account that was used to perform the backup has been added to your phone.
Uninstall and reinstall WhatsApp.
After verifying your number, you will be prompted to restore your messages and media from Google Drive.
After the restoration process is complete, tap on Next and your chats will be displayed once initialization is complete.
After restoring your chats, WhatsApp will begin restoring your media files.

Note : In order to successfully restore a Google Drive backup, you need to use the same phone number and Google account used to create the back up.
You can read more on Google drive and WhatsApp Integration at FAQ page of WhatsApp.

but it did not restore my whatsapp status. :( I want to get my all status back... any other way?

did you used the same google account to restore which you used for back up? usually, WhatsApp first gets you chat history and then restore your media (provided you choose to take media back up)

"After restoring your chats, WhatsApp will begin restoring your media files." did not initiate on my end... The backup is almost 4 gigs so the photos and voice notes are definitely in there.

Turns out I had a WhatsApp folder with a Databases folder with a db file inside which caused WhatsApp to think Drive was not necessary, even though it said it was going to use Drive (but now that I've actually seen the process, it didn't even download).

not encrypted.

Following this (now deleted) Quora answer might solve the problem.
It's quite elaborate so I won't re-submit everything here. But basically this:

Copy device database
Copy device key
Use a third-party viewer for WhatsApp


text:
Will a firmware update erase my personal data?
A friend of mine has a Samsung Galaxy S5.
It is actually prompting to update the firmware. But the updatetext (its actually in german) reads ambiguous. Translated it says something along the lines

Initalize the latest Version.
All configurations will be initialized and saved data will be erased.

The problem with the german text is it isn't distingtive this means just the Configurations data or ALL data. I wasn't able to find someone having this problem by googling (I'll just get spammed how to delete/erase the updateprompting...)
SO I'm asking here:
What kind of data is meant to be erased for a Samsung Galaxy S5 when performing the latest firmware update? (If it matters, current version: PDA:OJ1 / CSC:OJ1 / PHONE:OJ3(XEF))

Do a backup of your phone's important files, don't risk it, if the phone reinitialises it isually resets it to its factory version, erasing all the data. Also your apps are very likely saved in a list so that you can reinstall them after the reset, so don't worry about them. Use google drlive or some other service, take the SD card out, and do the firmware update, if you want. Just don't risk it.

My question actually is, is the text actually saying it is going to DO erase my data? In that case I can't see where there is any risk if it is ensured. Otherwise: refer to that please.

"All configurations are going to be initialized and saved data will be erased." The way it is translated, if it's translated right, does say you'll lose the data. Usually settings are juat referred to  as "settings" or "configuration", and when the word data is mentioned it means the stocked data and files, not just configuration files; the alert distincts the two things. So yes it's saying it will delete your data as it appears here.

I know what it is saying, since I wrote it to express that one meaning could be it is doing so. But if my intention would have been to get to know what the exact meaning of that sentence was, I would have asked on EEL and not here. What I'm asking is if the firmwareupdate of a samsung galaxy s5 device is intended to erase personal data by any means.(Since the german text COULD be intepreted that way) But what I'm not asking is: What the text I translated from german into english could mean in german.....

@Zaibis: firmware update is NOT intended to erase personal data

Exactly, but I think he ought not to risk it. By the translation he gave it seems that this will wipe his data away, unusual as it may be, I think it's always better to backup


text:
Android Marshmallow keeps moving apps to internal storage after update
I have a 32Gb SD card as adopted storage in my phone with Android M. It should be considered as the default installation storage for apps, as I have migrated the data to it.
However, I still experience the annoying situation of having to manually move apps back to SD card every time they update (as in Lollipop). Actually it's even worse because the migration systematically fails at the first try saying "Couldn't move app. Internal error". The second try always works. I guess data from the new version clashes with data already in SD card from previous version, and it's deleted when error message pops up, so at second try there's no conflict.
How can I fix this? I'd like to get apps updated directly to SD card, which is how supposedly adopted storage should be working.

What's the phone you are using?  I'm experiencing the same exact issue (down to the "Couldn't move..." error) on my Moto X Play running the official 6.0 firmware.

I have a Moto G3 running official 6.0 firmware as well.

From Google:

Apps can be placed on adopted storage media only when the developer has indicated support through the android:installLocation attribute.

The problem is that some apps that deny this support can be forcibly moved anyways, which it sounds like you're doing when you ignore that error and try the process again.  From reddit:

I have seen screenshots (see this post by Austin Pinto on eyes-free google group, where that device running Marshmallow IS allowing moving all apps (though still excluding system and built-in apps). That is, it is violating the developer's preference for where the app should be installed.

So when the app updates, the Play Store is simply following exactly where the app tells it to be installed.
So, your options are:

Stop moving those apps
Ask the developers to add support for this feature
Stop updating those apps

I am using a Motorola G⁶ and before this all started happening, it was working PERFECTLY fine up until I got several error messages saying that certain applications stopped working. Then, I had to uninstall and reinstall all those applications. Then, some of my Microsoft applications started acting up as well, and those happen to be the ones I can move. They were in the Secure Digital card before, but after awhile, they were gone because of that error. Please let me know when someone has a solution to this.


text:
Mysterious heavy battery drain during device sleep since update to M
I recently updated my Note 3 to Marshmallow, using the resurrection remix rom, and I am experiencing excessive battery drain I cannot pinpoint the source of.
I am a very light device user, prior to updating to M I was using an Lollipop based mod - xnote, and my phone lasted for up to 10 days.
The drain appears to manifest randomly, I cannot tie it to anything in particular, sometimes it goes away after a device reboot, sometime it persists, it has triggered during my sleep, when the phone is completely idle, no wifi or whatsoever. I've taken care to prevent third party applications for running on boot and keeping the device away, and as the phone information shows, the CPU is in sleep 98-99% of the time. It is not the battery either, as until last week it could easily last a week, the battery itself has no more than 200 discharge cycles. I have disabled NFC, WIFI, GPS, bluetooth and pretty much everything non-essential yet the battery drains heavily while the phone is sleeping, doing nothing. Also the phone is set to "power save" settings.
Here is what I am talking about:

The image above shows battery levels from one reboot, with the drain persisting after the reboot, draining half of the battery in 12 hours of idling, as is obvious from the images below. Then shortly before 4 PM I did another reboot which removed the drain.

Here is another image, illustrating a longer period with and without the drain, absent the drain the phone loses 2-3% battery a day.

Any ideas how to pinpoint the source of the drain and prevent it? Marshmallow was supposed to improve battery life, but in my experience so far battery life with it is terrible.

Comments are not for extended discussion; this conversation has been moved to chat.

I didn't manage to pinpoint the actual source of the drain, however it was finally resolved by replacing the stock kernel that came with the rom with idlekernel. Back to losing about 10% change in 24 hours on my modest usage pattern.
Update: several weeks into using the phone with that kernel and I noticed some things were not working properly. This led me to investigate the matter further, to finally arrive at the conclusion that the drain was the product of old firmware. After updating the bootloader and modem the drain has disappeared, most likely it was the modem, now battery usage is normal even without the custom kernel.

How do you update the bootloader and modem?

@Aahrvenos - using ODIN, downloaded the new firmware files from the idlekernel site.

Thanks for the information. I have to check this. I have the same issue. What modem and bootloader have you flashed?

@WormNimda - the latest versions available.  Just make sure you get the right ones - check the letters from your current firmware.


text:
SD not detected afte rupgrade
I just updated to Android 6. I am getting a notification that a new SD card is detected. If I format it it will erase everything. It has loads of stuff I want on it. What do I do?

Do you have a screenshot? AFAIK that prompt is suggesting you to "move to adoptable storage" (i.e. use the card as "internal storage"). If you decide for that, it in fact will erase all contents on the card. If OTOH you decide to keep the card as "external storage", it should not erase anything. Don't take my word on the latter, though, as I was not (yet) able to verify that myself. Please follow the link, compare the screenshot.

Before doing anything, you should fully backup the card in case any data is lost.

It was the screen on top i got. But it just started working again after 20-30 mins. cheers lads.

@Izzy I can confirm that setting the SD as external storage maintains its content untouched.

Thanks, @DeathMaskSalesman – so I wrote this up as an answer, giving credit to your confirmation :)

You can compare your situation with the screenshots in our adoptable-storage tag-wiki: what's going on here is Marshmallow asking you how to deal with the card (it asks only once). If you chose to use it as "internal storage", indeed all its contents will be deleted (see tag-wiki again for details). But if you chose to keep it as "portable storage" (i.e. the same way it was used before), your data on it will remain intact – as Death Mask Salesman just confirmed in a comment on the question itself.

If my info can help, I'm happy to share it, man. For some time, I went with CM13 nightlies, and I selected the "Use as external storage" (or something like that), when the dialog about the SD popped up. The result was that I didn't lose anything.