text:
What application is "using my screen" with some kind of overlay?
I want to turn on accessibility permission to Greenify app. But I'm unable to click "ok".
I also have Twilight and since some security built in the system, I have to disable,  stop or uninstall the aforementioned app which uses an screen overlay to adjust color temperature at sunset and sunrise.
Thing is that I'm still unable to click the ok button. I believe some other app is using some screen overlay but I don't know which one.
How can I find out? Other that trial and error uninstalling and reinstalling every app and their combination (in case there are more than one).
P. S. Already found it,  was Nav Layer.  Anyway, I keep the question for research.

There are three places to check for screen overlays: http://android.stackexchange.com/questions/154274/screen-overlay-detected-dialog-turned-off-everything-doesnt-work/157029#157029

The Application which applies the overlay can be found using application permission manager. Simply go through the native application manager (or download from play store) and check whether any app has permission for "Draw over screen" or "Apply Overlay" or "draw over other apps".


text:
Motorola g2 flashing issues
I have installed cm 13 on my moto g2 xt1068.I have twrp installed.I want to install gapps but flashing that it gives me binary file issues.is arm or x86 suitable for moto g2 xt1068? Which 1 is okay ?reply fast.

Almost all phones are ARM.  The Moto G2 is no exception.

source: Stack Exchange

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

sort: votes


text:
How to send the "open menu" command to an application
So, I have an application I'm trying to use, and on one phone, the buttons are soft-buttons on-screen, and on the other phone, the buttons are hardware buttons.
On the hardware button phone, when I launch the application, I don't see the triple dot to open the menu (The phone has the Box [hardware button] and Back Arrow).  On the software phone, there's the triple dot on the screen (Triangle, Circle, Box, Triple Dot).
I think my generic question is enough to answer the question, but here's the rest of the details if you're one not afraid to read the less relevant details:
The application I'm trying to use is: KTSync
The phone with software buttons is: Motorola Moto E
The phone with hardware buttons is: Samsung Note 4

Edit: Firelord suggested this, which works perfectly for devices you can access with ADB, but in my case I'm looking for how to do this without ADB:
adb shell input keyevent 82

You can long hold the recents button on your device and that will open the menu.

In case you have root access and the above didn't work, you can still do it without using adb. Just open a terminal application and type this:
su
sleep 10; input keyevent 82

Switch to the other application within 10 seconds, and the menu should appear.

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


text:
What happens if i flash a custom ROM on locked bootloader?
i want to know if i can flash a custom ROM without unlocking the bootloader if this impossible then what happens to the phone if i do that? Thanks.

Most phones with locked bootloaders with prevent this as they need a custom recovery such as CWM or TWRP to flash a custom rom which cant be installed unless you unlock the bootloader and root your device.

Generally speaking, you can't.  A locked bootloader prevents flashing.
On some devices you might be able to gain root temporarily while the device is running, and could "live" flash a ROM.  Some bootloaders will refuse to boot the device at all at that point, whereas others will let you proceed after trying and failing to restore the original.  (Or, if you didn't remove the backup image, the restore will succeed.)
The best advice is to avoid attempting any of this with a locked bootloader, unless you want an expensive paperweight.

Go for it. The locked bootloader can't do anything if you succeed. I've used custom Roms on a locked xt912 for years


text:
Gallery opens itself on ZenPad10 while the screen is off
I've got myself an Asus ZenPad 10 (model P023) last year, and I'm more than happy with it but there is one small issue I have with it: sometimes, while the screen is off, the Gallery app launches itself and wakes the screen up.
While not particularly a hinder, I haven't been able to reliably reproduce it; it usually happens when I put the tablet down, but not always. I know that I can double-tap on the screen to wake it up (which is a great feature), but that's about it. I have tried to swipe the screen in various directions, and tapping more than twice, each with more than one finger too, to no avail.
Note that although I'd like to know how to stop it from happening, I'm mostly curious about how it happens.
The Android version running on this is 5.0.2, Gallery version is 1.5.0.150826_3_PROJ.

After fiddling with some options earlier, I actually came accross the answer on accident. This is from a feature called ZenMotion, something ASUS started implementing in their Zen phones and tablets, I believe.

Note that not only this answered my question, it also showed me that there were 5 other shortcuts available, with each letter being able to be linked to a different app if I chose so.


text:
How do I dismiss just the next occurrence of a recurring alarm?
Tomorrow is a Bank Holiday in the UK so I don't want my "Work" alarm to go off. I could turn the whole alarm off, but then I'd have to remember to turn it back on again before I go to bed on Monday night. Or I could turn off Monday's occurrence, but again I'd have to remember to reinstate it before next Monday.
So what I'd like to do is just dismiss the next occurrence of the alarm. A Google search came up with this help page - https://support.google.com/nexus/answer/2840926?hl=en-GB :

Dismiss next alarm
If you have an alarm that's set to repeat, you can dismiss the next instance of the alarm. That way your alarm will still be turned on for future instances.

Which describes exactly what I want to do. It goes on to list the procedure as:

Open the Clock app.
At the top, touch the alarm clock iconalarm.
Under the alarm you want to dismiss, touch "Dismiss Now" dismiss alarm.

However, I'm not seeing the "Dismiss Now" option.
Where is it or what am I doing wrong?

I have just discovered that Google have added a "Pause alarm" function to their standard clock since version 7.3:

It allows the alarm to be paused for a range of dates at any point in the future, not just for the next occurrence of the alarm.

Update: since version 7.3, Google Clock allows pausing repeating alarms. Below explanation is only for historical purpose.

It was impossible to dismiss the next repeating alarm, and looks like the help page was different.
Cross-checking with the help support in English (US), and for the same topic, it instead mentions,

Dismiss next alarm
If you have an alarm scheduled to go off within the next two hours, you can dismiss the next instance of your alarm. If your alarm is set to repeat, your alarm will still be turned on for future instances.
(Emphasis mine)

The alarm can only be dismissed if it goes off in 2 hours (like for other alarms), but for repeating alarm, Android will set the next alarm automatically.

This issue has been reported on Google Product Forum.

I tried to add a reply there, but got an error. Is there a procedure for making feature requests at all?

@ChrisF not sure why you can't reply, you have to be logged-in with Google account though. As for feature request, I'm not sure either if they accept it, but that forum is for Google apps and Nexus in general. For stock Android OS (AOSP), you should post it on Android Issue Tracker though.

My Samsung S7 (running 6.0.1) doesn't seem to have the "Dismiss Now" option. Do you know if there's a way to do this with Marshmallow?

@TripeHound this question is actually talking about Nexus stock clock app, which is Google's Clock. As for other stock clock app (e.g. on Samsung, etc), I'm afraid I can't help because the vendor may customize and provide their own clock app...

Thanks. It looks like Samsung have (they seem to do this a lot).

Add a do not disturb rule for the duration. Not a complete solution, but that's what I do.

That's a good workaround. Your answer could be improved if you add instructions for how to do that. Maybe the questioner has never used the do-not-disturb feature.

The problem with Do Not Disturb is that it silences phone calls as well as alarms. Definitely not a solution for me

this doesn't work anymore

I have just discovered this alarm clock app:
https://play.google.com/store/apps/details?id=com.urbandroid.sleep&hl=en_GB
One of it's features is the integration with Google Calendar:
http://sleep.urbandroid.org/documentation/integration/google-calendar/
The two relevant features are:

your alarms can be automatically disabled for public holidays
your alarms can take your calendar events into account

This will do what I'm looking for, though I'm not sure I want my holidays on my Google calendar for all and sundry to see.

Check my app on Android playstore - Alarm + Task Logger PRO
It has skip next next functionality for recurring alarms. You can skip any number of upcoming occurences.

On my Samsung Galaxy S6 I open the clock, choose Alarm at the bottom, then tap the slider on the repeating alarm to turn it off. A prompt appears below the alarm asking to Turn on again . Tap this prompt. Will turn on again appears on alarm.
[tag: V11]

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


text:
Updating the Moto G 3rd gen from Lollipop 5.1.1 to Marshmallow 6.0.1
I'm on a UK Moto G, 3rd gen, 8GB storage, 1GB memory, currently on Android 5.1.1.
I have numerously been prompted to update to 6.0. The 6.0 on Moto G 3rd gen has some bugs, like the shutter sound cannot be disabled. So I am ignoring the notifications, and have remained on 5.1.1.
How come I am being constantly prompted to update to the buggy 6.0 instead of the rectified 6.0.1?

Update: I have now updated to 6.0. However, when I go to About Phone and check for new OS software, I am being prompted that my software is already up-to-date. This is contrary to this Moto UK website. Restarting did not help. How can I update to 6.0.1?
This has been posted as a new question.

How come I am being constantly prompted to update to the buggy 6.0 instead of the rectified 6.0.1?

It depends upon the manufacturer pushing the update. For many number of devices you would end up in same situation even if the first release of a platform upgrade was buggy. Let's take it this way:
Assume that these are the Android versions - build numbers for your device:
Android 5.1.1: build LJKRTY;
Android 6.0.: build MOUIPV;
Android 6.0.1: build MOUIPW
When you would switch from build LJKRTY to MOUIPV a lot of the files  required for Android 6.0 would be upgraded. Since the manufacturer came to know about a couple of bugs in the recent release, they decided to only patch the bugs and release the patch as an update with build MOUIPW instead of packing and releasing the whole platform upgrade again.
Now there is no point in applying a patch if at the first place both the vulnerable and relevant code isn't there. You may also not be able to apply such a patch manually since manufacturer can require an update to check whether the currently installed build is compatible.
So over and all, switch from Android 5.1.1 to 6.0. and then to 6.0.1. That's the way to go.
By the way, it is possible that the update for 6.0.1 may be a full blown platform upgrade but your software updater is stuck at 6.0 simply because it is silly. You can attempt to clear its data (if it is a separate app), force stop it (or reboot) and attempt to check if it still requires to download Android 6.0. I won't keep hope here.

I have now updated to 6.0. However, when I go to About Phone and check for new OS software, I am being prompted that my software is already up-to-date. Restarting did not help. I just edited my question to point out that this is a UK Moto G, if that is relevant. Do you know how I can update to 6.0.1?

Your original question was "How come I am being constantly prompted to update to the buggy 6.0 instead of the rectified 6.0.1?" and I've addressed that alone. Your new update in question is not in consonance with your original question but can suffice as a new question.

Agreed. I have created a new question. http://android.stackexchange.com/q/145703/39058


text:
ADB pull error: remote object '/dev/block/mmcblk0p24' not a file or directory
I'm trying to pull the partition /dev/block/mmcblk0 directly to my Windows PC, following the instructions from: How to pull mmcblk0 to a windows pc? while the phone is in TWRP, using the command:
adb pull /dev/block/mmcblk0 mmcblk0.img

But it keeps returning the error:
remote object '/dev/block/mmcblk0' not a file or directory

What am I doing wrong?
Thanks in advance.
Additional information:
The reason that I want to do this is because I want to restore deleted files from a Samsung Galaxy S4 Mini (GT-I9195), so I need the entire partition.

It looks like you only read the question you linked to, not the answers. The question specifically asks why the command you mentioned doesn't work, and Rhaegar's answer explains what you have to do instead.

adb pull is for files.  /dev/block/mmcblk0 is a block device.  user1133275's answer to that question doesn't work; try the other one, i.e. run adb shell and then:
$ su
# dd if=/dev/block/mmcblk0 of=/sdcard/something.bin

Then you can run adb pull /sdcard/something.bin.


text:
Hard brick phone exchange and deleting data
I have a Samsung Galaxy Note 4. While it was charging (it was near full charge) it rebooted on its own and continued to charge. It then must have shut itself down because it was off. I could not turn it on when I checked again. I recently completed the OTA update to Android Marshmallow. That was about a week or two before this happened. I was reading why this could happen and something about a failure of the eMMC seemed to make sense.
I've tried to replace the battery with a new battery and tried a new charging cable. Neither of those worked. I read some posts that suggested removing the SIM card and the SD card and also holding different combinations of buttons but none of those work. Unfortunately the PC doesn't see the phone either (and I tried a Mac too). So I see no chance to revive the device myself, and thus have to send it in for service.
For a cost, I have an exchange pending through my mobile carrier. Should I be concerned that I can't turn on the phone to delete my data (pictures, messages, work related notes)?

I assume that I will be required to turn in my phone to my mobile carrier and they will replace the motherboard and send it out as a refurb but what if they find a simpler fix and the phone is operational without replacing the motherboard?   Then my data will be there.
I do have additional third party insurance so I could mail the phone for repair to the phone manufacturer (for a fee that the insurance would later cover) rather than continue with the exchange thorough the mobile carrier.  I'll still likely lose my data and there may be a long delay in getting the phone back.
I've just been told to never turn in a phone without wiping it and that is why I am hesitant.  I know some people who don't turn in phones at all (they keep them or destroy them) out of concern that information can be retrieved.  I've tried some local shops but when simple battery changes don't work most shops aren't interested in finding a fix for the problem.  While it may be extreme, with the phone in my possession, I am still hopeful that I can find a fix whereas if I exchange it I won't have that chance.  However exchanging is my cheapest and fastest option to have a working phone.
Any advice?

Well, that really seems to be a brick (see: What does it mean to “brick” your phone?) – and obviously leaves you right at the beginning. As I've said, the possibility exists your data could be read. How likely that is is a different question. If the storage is really dead, unless you're the president of something big, efforts to do so wouldn't seem worth it (if I were the repair man).

Thank you very much for the link.  That was very helpful.  I have done updates when the battery power is low so I wonder if that could be a cause. I also have unfortunately used Kies (a long time ago though).  I had read about the JTAG process too previously.  It seems like that is the only thing that could work.  Like you mentioned, I'm guessing a repair person wouldn't try that.  Instead it seems he would switch out the motherboard, recycle the old board (melt the parts down for the metal), and sell the phone as a refurb?  Obviously who knows but then data should be gone right? Thanks again.

No guarantees – but yes, that's what's most likely.

Summing up from the (now purged) comments:
As the device really seems to be bricked beyond the chance of repairing it yourself, there are indeed only two options left: Keeping it as a paper-weight to protect your data – or sending it in under warranty/insurance to get it repaired, with the risk that someone might try to get a hand on your data.
While the latter is definitely possible, and there's no 100% guarantee against it, check the facts on how likely this will be: the harder it is (and currently, it looks pretty hard), the more valuable data one must expect to be on the device to consider the efforts worthwhile. If you were the president of "something big", or there were other reasons to suspect "top secrets" on the device, it would be one thing. But – no offense meant – the device of some "average user" hardly seems to justify it:

if the eMMC chip was really fried, it would require very expensive forensics work to recover even parts of the data
if the motherboard broke, considering the SoC design repair costs would demand to simply replace it. To get to the data, the chip would have to be unsoldered and placed on another board, or at least JTAGged (too much effort again)

So, no guarantees – but it's quite unlikely someone would care restoring the data. Not even as a special service to you – unless you're willing to include a bank cheque holding at least a 4-digit sum (in front of the decimal of course).


text:
how to enable debugging USB Moto x vesão Player 6.0.1 with ADB commands?
hello please can help me need to enable debugging USB with adb can someone please help me?

What are you trying to achieve?

I want to save the mother of my deceased photos , this one with the broken screen .

You can't.  USB Debugging must be enabled for ADB (Android Debug Bridge) to work in the first place, that's what it is for.


text:
Why does Android extract native libraries to 2 locations?
I have recently noticed that Android extracts the native libraries in the 'lib' directory in the APK to two different locations. They are in the app folder (/data/app/package/lib/) and the app data folder (/data/data/package/lib). Not to mention they're already contained in the APK. For games where these libraries total up to 50MB each, this wasted 100MB of my storage space on my SD card.
Why does this happen? Is this normal? Is there any way to stop this from happening?
I am on an Android Lollipop (5.1.1) running a Resurrection Remix ROM for Samsung Galaxy S3 Neo+.

In truth, the lib folder you can found under /data/data/com.package/ is called a symlink. The real position of an app's libraries is located to /data/app/com.package/lib, while the reason for the libraries to exist outside the APK, is for performance purposes: since APKs are compressed files, it would be a waste of time (and a considerable negative impact on usability) to have the OS extract them anytime you launch an app, don't you think?

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


text:
Is WiFi data usage included in the "Data Usage" screen?
Android devices feature a Data usage screen, accessible from the main pull-down menu.
The data usage page lists both the total data consumed and the data consumed per application.

Is WiFi data included in this count, or only Cellular data?
P.S. It makes sense that the metered data count only includes Cellular data, but I would like to have a canonical source to settle this issue.

Based on your screenshot it only measures Cellular data. Can you please check if the menu / 3-Point overflow button includes the option to show wifi data aswell? It does on my device - but I'm running Cyanogenmod so I'm not sure if this option is included in a Stock-Rom aswell :)

No, There's no such option - I can't add or remove WiFi from the summary.

What is your device model and Android OS? On Nexus 5, Android 6.0.1, the WiFi usage can be enabled by going into the overflow menu (3 dots), and select "Show WiFi" (AFAIK, it's added since Marshmallow though). But by default, it only shows cellular data.

Did you check this resource: https://support.google.com/nexus/answer/2819524?hl=en?

What you are seeing here is cellular data (mobile data) only.
I am not sure what you would count as a "canonical answer", but the following three screen captures have been taken from a stock android ROM with Android 5.1.1 (as you can see by the presence of the Samsung bloatware):

Data Usage (default) / with hamburger-menu / data usage, WiFi tab (click images for larger variants)
The first screen capture is the same as yours.
The second screen capture shows the menu that pops up if you touch the kebab icon (the three vertical dots.)  As you see, the menu contains a "Show Wi-Fi usage" option.  If you enable showing Wi-Fi usage, two tabs are added to the screen, one for mobile data (probably "cellular data" in your case) and another for Wi-Fi.
The third screen capture shows how the "Wi-Fi" tab looks like on the screen.


text:
Is it possible to back up the encryption key of Android?
Is it ever possible to get a backup of my Android smartphone's decryption key (I have my /data partition encrypted) in case something goes wrong?
My phone is rooted. I have Galaxy Note 4 SM-N910C.

Related: How does Marshmallow encryption work technically? According to that, it seems to be impossible to extract the key for later use. I might be wrong with that conclusion – please let me know if you found out.

This does not specify FDE or FBE key.

You didn't specify in your question whether you're looking for the FDE, Full Disk Encryption, key or the FBE, File-Based Encryption, key. Technically they can both can have their keys recovered (so long as the FBE key is not hardware wrapped), but I've only needed to find a practical method for FDE so far.
Full Disk Encryption
The way to get the FDE that should work across devices and android versions is using the cold-boot method, you don't even need root. I suspect this isn't the answer you're looking for as I don't consider it in the practical realm for most even technically advanced people.
The easiest way, that I've discovered, to get the FDE userdata encryption key is to ask for it, and you might be lucky enough to get it. I've tested with on a Nexus5 Android 6 device, but other devices or android versions may have a kernel that prevents this. You'll need root for this to work.
They way to ask the system for the key to perform the command: dmsetup table --showkeys. Just as you would on a linux desktop with a dm-crypt device loaded. The 4th field of the output will be the encryption method used, aes-cbc-essiv:sha256 in my case, and the 5th field will be the hex encoded key. If the 5th field is not a 32 or 64 character character hexidecimal string that looks random (ie. not all zeroes), then this method won't work. It could be that some android phones use the kernel keyring service, which may be configured to not allow showing the key.
The trouble is that you'll need the dmsetup binary, which is not distributed with android. So you'll need to find a binary compiled for your architecture. Ideally there would be a statically compiled binary that one could download, but I've yet to find one. Or using termux would be nice, but at the time of writing this termux has no package which installs dmsetup. For my test, I used Debian's armhf binary packages instead of building my own dmsetup binary. I haven't looked up your device, but if its 64-bit RM, you'll need to download the arm64 versions.
One gotcha with this approach is that you must also install the libc6 package because the dmsetup binary can not be loaded with the android dynamic linker. You also must set the appropriate LD_LIBRARY_PATH for dmsetup to find the dynamically linked libraries it needs to start. Furthermore, you'll need to download all the packages that the dmsetup package depends on an their dependencies. It's about 7 packages total. And since you can't install Debian deb packages on android, the paths are right, you'll have to unpack them manually using dpkg-deb -X <pkgs> <install dir>. In the end, the command I needed to use to run dmsetup looked like this, assuming my current working directory is the <install dir>:
LD_LIBRARY_PATH=$PWD/lib/arm-linux-gnueabihf \
  $PWD/lib/arm-linux-gnueabihf/ld-linux-armhf.so.3 \
  $PWD/sbin/dmsetup table --showkeys

File-Based Encryption
There is also an updated cold-boot attack for retrieving FBE encryption keys, but again not in the realm of practical for most people. I suspect that there is a way to get the FBE keys via user-space if you have root and the keys are not hardware wrapped (and may be if they are), but I'm not currently aware of how to do so.
The FBE implementation that stock android uses is fscrypt and seems to only be using raw protectors. In order to unlock the FBE on a linux desktop you'll need to make sure your kernel has the proper support for it. There are 2 fscrypt keys per user, a Credential Encryption (CE) key and Device Encryption (DE) key. Once you have the raw key for the directory you're wanting to decrypt you should be able to unlock the fscrypt'd directory using google's fscrypt program. The trick will be in getting the raw key for the particular directory you want to unlock. The data used to construct the raw key and fscrypt parameters are in /data/misc/vold/user_keys. The android docs give some clues as to how to create this raw key and suggest that the creation of the key must be done on the phone (needs a special master key from the TEE). Ultimately, vold will get this raw key and use it to setup the fscrypt instance. So I think the easiest way to get the key(s) will be to hack vold to output them to a file. Here seems like a good candidate because vold just did the kernel call to setup fscrypt, so we have the raw key and the directory that the raw key goes to. If its a hardware wrapped key, then the key data from that ioctl won't likely do us any good unless its known how to "unwrap" the key, which, if even possible without hardware hacking, would likely involve interfacing with the TEE.


text:
What are all these security certificates on new phone?
This is a new T-Mobile Samsung Galaxy S7.
Is it normal to have all these certificates? Many look dodgy.

Image resized. Click to see full-version

Completly normal. Just the usual list of Certificate authorities. As you can see - all of them were imported by the system - not a user. they are pretty much on every smartphone - no need to worry in my opinion

Yes, it is normal to have these security certificates.
To trust a security certificate you encounter on the Internet, your device needs a way to verify a certificate is good. You can't just accept any certificate that is presented because any adversary able to become a man-in-the-middle (like a public WiFi access point) would be able to spoof any website.
This problem has been solved by giving each device a list of certificates initially, like the one you have shown, and requiring all certificates to have a chain of valid certificates (signed, not expired) that terminates with a trusted certificate. These initial trusted certificates are for organizations that are in the business of signing certificates for other organizations. People need certificates all over the world which is why there are certificates for authorities from all over the world. To verify a certificate, the device looks for a chain of valid certificates.
This means that if you run a server and want a certificate, you have to go to one of the companies that issues certificates (often called a certificate authority) and get them to sign a certificate for you to identify your server. The certificate includes the name of the server so you cannot just take a certificate and use it anywhere.
With certificates, an adversary can still try to spoof any website, but if you require a certificate (use HTTPS) the client can detect the spoofing.

The certificates are very necessary! Without them your phone would just say that any site you visit is trying to steal your data and is not secure.


text:
Samsung Galaxy Tab 4
How can I replace the operating system? I am experiencing various problems - especially connectivity - and I suspect the operating system might be corrupted. I would like to clean the device completely - reload the operating system and apps.
Can I do this and if so how?

If you want to change the OS, or called ROM, you need to ROOT your device.
Google has so many tutorials about this action.

You have to flash the firmware of your device with ODIN to reload the operating system and apps. Go to this and this thread to download the firmware as per your device. If you didn't find it, please provide more information about your device so that I can show you the right way.


text:
How can I stop problems with the screen when I change the font size to "Large"?
When I change my phone font to "Large", the screen layout is messed up. The screenshots how that the right margin is increased. The left screenshot shows the normal margins. The right screenshot shows how the Google Now field, the camera and the Settings icon are bumped to the left. (I drew the blue arrows in a paint program.)
If I change the font to "Normal", then back to "Large", the increased margin does not appear right away. But, when I have the font setting on "Large" and then exit a phone call or message or an app, the margin gets increased.
Phone/app details:
Phone: Moto E 2nd generation with 4G LTE
Android version 5.1
Added Apps:
iNaturalist,
Audubon Birds,
Clipboard History,
eBird,
Excel,
GPS Coordinates,
Overdrive,
Simplenote,
Yahoo Mail,
Zinio
Along with the ones that came with the phone:
Google Calendar, Camera, Chrome, etc.
No alternate launcher.
Multiple windows is not enabled.

What is your device, the OS version, and, especially, are you using a 3rd party launcher like Nova? Also provide whether you have multiple windows or gestures enabled, since they can rely on the borders or corners of your home screen.

Not repro on Nexus 5, Android 6.0.1, stock Launcher, so I think it could be something dependent. Please include the info asked by wbogacz to help all of us analyzing the problem.

Thank you very much for replying to my posted question. I also posted to How To Geek. Someone there suggested that it is a bug that should be reported to the Google Android Issues forums, which I did. The result was that it was marked as being "obsolete" with no explanation. I am wondering if it is because Android will have a new operating system version (?). I think it is called Marshmallow (?). My phone runs on the older operating system.  I don't fully understand all of the Android systems because I am new to smartphones. But, for now, I will keep my phone font on "Normal".


text:
Does disabling stock apps cause problems with phone on Android 6.0
So I disabled all the stock apps and other apps I don't use or need in my phone and I am just curious if that could cause issues with the phone where audio eventually breaks.
I've been on support with verizon and after several resets I've ran my phone without any apps installed and the issue came back and the only thing I've done was use blue tooth with my car and disable stock apps.
I'm trying to convenience them that my Refurbished Droid Turbo 2 is a bad phone and while the issue seems like it would be software I can't explain what is triggering the issue software wise that even makes sense unless it was a bad firmware/software upgrade from 5?
The weird part is even if audio breaks, if you blue tooth up to the car it works just fine.
EDIT:

Can you provide us the list of stock apps you disabled? The command pm list packages -d using [tag:adb] or with a terminal emulator could work.

Sure. Updated with disabled apps.

There are many stock apps which you defenetely shoud'nt disable as it can problems to your stock frimware behaviour. I also once disabled lots of packages as i thought it will save battery and ram but it turns out there are extensions or side apps which are required by other apps to get/run their content. for example there is an sideapp called media storage which scans and stores media changes in your storage locations i.e. if you disable your music players like play music,phonograph,musixmatch,etc.. wont work and will show previous catched files insted of new files or currwent files. same way you may be facing same problem here. Just check which app does your audio player needs to run audio smoothly. re-enable it and restart your phone..this should solve the problem.

Your answer tries to address only the second half of the OP's question. Actually, they asked if disabling stock apps can potentially cause problems or not, as well. The lack of elaboration justifies my downvote.

well i explained how it caused problem in detail...duh bro!


text:
If I delete Google account entirely will it delete all the photos saved on my phone?
I want to delete my present google account, entirely, but I'm unsure as to whether doing so would delete all the apps on my phone, and all the pictures I've saved, from the Internet and screenshots and being sent them etc.

This link about deleting google account gives you the required information.
As far as I understand, it would not delete the apps and screenshots from your phone.

No, it won't delete your pics. But, if there are some synced photos of some folder from your Google photos app, those will vanish only from your phone not from cloud storage.

No. It won't delete any photos saved on your phone. It will delete photos backed up to your Google Photos account though. So make sure you move any photos on your Google account to your phone if you want to keep them.


text:
How do I record slow motion video on the LG G5?
With the camera in auto mode I can select slo-mo from the mode menu and it displays 'Tap (camera) to record slow motion video'.
However, when I record it's at normal speed and I see no options for changing the record speed.
Any help appreciated...

It does actually record in Slow motion but you need to go to the inbuilt LG video player to play back in slow speed. It is here that you can modify the speed when you edit the video. You can also set sections of the video to work in certain speeds which is pretty cool.

Thanks - accessing the video via gallery works fine (I was using google photo)


text:
Firewall software not working as expected on Samsung Galaxy S5 [G900H]
I bought a Samsung Galaxy S5 [G900H] and I installed custom rom from here to get rid of most unwanted applications and having a pure and de-bloated android on my smartphone.
After installing this rom it's working perfect except that when I install (root)firewall applications like DroidWall they do not work as expected and if I create an allow rule for an application, application could not be connected even when I set it to be allowed to use wireless/mobile data. But if select allow rule for all rooted applictaions it works fine but its useless this way.
I also tried to use unroot firewall but it is giving this error message "The VPN is not supported by your device."
I also checked blacklist/white list mode and mode is set to whitelist only.
Does any expert know what problem should be and is it required for me to install other roms to cross over this problem?

Update:
Now I restored my android to its official stock version (I had created a full backup before installing a new custom rom) and tested both DroidWall and AFWall+ and the problem still persists. Seems this problem is a bug coming from Samsungs TouchWiz.

DroidWall is ancient. Please switch to its successor AFWall+ or some other regularly updated firewall app.

@Firelord Ok I'll check it now.

@Firelord I tried AFWall+ it is better than DroidWall but it is not working as well. It works for some applications while not working for other. Very strange.

I finally solved this problem in the case of very strange and share my experience here; maybe useful for someone with same or similar problem:
After a few days struggling with this, Using AFWall+ enabled on my restored official stock android, I tried to change Wifi settings (got to wifi->advanced->[disabled most of Samsung/Google features being there] plus using manual IP[192.168.1.129] and DNS[192.168.1.1 - 192.168.1.2]) and finally I found out the problem has gone away! So after that I tried to test which option was causing the problem (trying to remember restore my previous choices) to restate the problem but the problem did not restate and everything is well till now.


text:
How does NFC unlock work?
I am not asking for instructions on how to set it up. I can't find any page or diagram detailing Android's scheme for using NFC modules to unlock devices. What algorithms are used? How about the steps in the scheme? How is the NFC module used if encryption is enabled? Are digital signatures used? Do the tags get programmed when they are set up with a device?

This may help

@beeshyams That link doesn't offer any explanations of how Android uses NFC as a method of unlocking.


text:
How to add a contact on the device only?
WHenever I try and add a contact, it only gives me the option to choose which account to add it with.
How do I get the 'on this device' option?

Many modern Android devices do not have this option anymore in their stock ROM, it is device dependant, or ROM dependant if you use a 3rd party ROM. Perhaps if you have details of what device and Android version you are using, we could be of more assistance.

@acejavelin latest version, nexus 6p

Related: Add contact without using “Google account”?

On some devices, the "local phonebook" simply doesn't exist. But you can add it, e.g. using an app like MyLocalAccount. Here's this app's description from Google Play:

This app does represent a local contact account. This is helpfully for devices without local contact account (f.e. Nexus series) if you don't want to sync your contacts with Google servers. These contacts can be synced then f.e. with MyPhoneExplorer to your PC.

If you wonder why MyPhoneExplorer is mentioned here: the app is from the same developer, so a well-known one. It wasn't updated for a while, but I've not yet found an alternative to it. Worth a try at least – it's free.

Will this work with other apps?  Like if whatsapp says it wants to access my contacts, will it have access to MyLocalAccount?

I have not tried that myself, but I'd suppose so. If it's accessible from the contacts app (which it is, or it wouldn't make any sense) it should also be available from other apps having the corresponding permissions to read contacts. To my understanding, it integrates with the contacts provider. As the app is available for free, why not simply test it out? Let us know then, so we can be sure :)


text:
Waze voice commands never work
I love using the Waze navigation app. However, when I am driving, I can never get voice commands to work. I've tried and tried. It always complains it didn't catch that, and sometimes without even waiting to try and capture my voice. I don't understand why.
In Marshmallow, I've disabled its ability to record audio completely because it screws up Google voice's ability to capture any commands at all, and for a pointless feature that doesn't work right.
Is there something I have set up wrong? Is there somewhere I can report a bug (with the hope of getting a response)?

I used Waze on Xiaomi Mi 4s and had the same problem. When I put three fingers on the screen, the microphone appeared but never had time to pronounce any words. It said, "I didn't hear you" (or something like that). It does that two or three times and the microphone disappeared.
Here is the solution for people who use Android phones (it worked for me). I don't know for others. The problems came from Google settings.

Open Google settings
Select Settings for Google apps
Select Search, Assistant & Voice
Select Voice
Select Spoken results
Select Hands-free searches only

Then I can start Waze and the voice command should work (of course you have to activate it in Waze)
In fact, we deactivated the voice answer from Google voice. It means that you still can ask questions in "OK Google", but the answer will be in text and not by voice. (It was this that made a problem with the voice command in Waze). To reactivate the voice answer in Google Now (OK Google), you have to reactivate it in the Google settings.
P.S. the voice command in Waze is a bit slow, so, wait a bit after your voice command.


text:
My tablet is not turning on
I have a tablet not  two years old, a few days ago it was left in a hot truck for about two days. Now it won't go past "fast boot menu".
I have tried everything, I even tried charging it and the battery keeps saying 0%, how can I charge my tablet and turn it on?

There's a fairly good chance you overheated a component in the device. Most likely a charging component or someone. There isn't much you can do besides going to a phone/tablet repair shop. But that could cost more than the tablet itself.

Heat is the worst enemy of batteries and your battery being two years old would have suffered damage by "baking" it in the truck for two days
Batteries tend to self discharge , higher the temperature, more the discharge
As a result, the battery voltage could have fallen to a very low level, wherein a protection circuit kicks in and prevents further charging. There are ways to overcome this but it is best left to  qualified technicians to handle it

That said, all I can suggest is take it to a service center. Don't attempt to charge


text:
I deactivated Android System Webview. What can go wrong?
I'm a day 1 Firefox user. I recently faced lots of changes in Google's apps like News or Google (Now) that forced me to use Chrome from within the app, against my will.
I read that I could deactivate Chrome to have taps on Google's apps open links in my Firefox as they used to. So I did and it worked. But sometimes there's that video that Firefox can't read but Chrome can so the solution was only half good.
Today I learned about Android System WebView. It's the component that allows Chrome to run in other apps, amongst other things I think. I decided to deactivate this one instead and everything seems as I want again.
But what are the consequences of this action in the long term? Are there side effects I should fear?

Well nevermind, some apps still use Chrome and not ASWV. I finally had to deactivate Chrome as well. The question is still valid in itself so I don't delete it.

Related, or dupe: What is the use of Android System WebView?. In short: it's better to have it enabled, unless you're sure about the possible security vulnerabilities.

The Webview is used to open websites in apps so that you are not redirected to the internet browser every time an app tries to open a url (this includes sign-in urls) and apps that run off a website might not operate properly if the Webview is disabled.

Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.


text:
Keeps restarting, stuck in Ultra Power Save Mode
I'm asking on behalf of a family member who has a Samsung Galaxy S5.  The phone is unrooted and has been updated but not to Android Marshmallow.  The OTA had not been released for Marshmallow for this phone by our carrier.
There were many previous issues months ago but permanently removing the SD card and a firmware update through Samsung Kies solved those.  The phone has had no significant issues for the last 5 months.
Recently, the phone was put on Ultra Power Save mode to save battery life.  Immediately it shut itself down and kept restarting into Ultra Power Save mode and has done this for 3 weeks.
When it starts there are a few seconds before it restarts again.  The screen is grey (no color) and most apps are disabled or not shown.  The settings menu has very limited functionality and there is no way to disable Ultra Power Save Mode.
Going into safe mode does not change anything (the phone just restarts again in a few seconds).  I've gone into Recovery Mode and cleared the cache but that did not do anything.  I have not done a factory reset as I would be losing a family member's numerous wedding pictures if I did that.
The phone has not had any physical damage.  It is out of warranty but locked to a 2 year contract.  The only solution to stop it from restarting is to remove the battery.
Is there any way to get it out of Ultra Power Save Mode?  Would a factory reset help at all? We really would prefer to do that as we would lose the many pictures.  I read about bootloaders but I don't understand that well enough (also note that I've permanently removed the SD card -- if I would need that in order to use this feature).  I read something about trying commands through Google Now but I can't do that unless I am doing it wrong.  I tried connecting the phone to a PC and starting Kies but Kies does not recognize the device (as the device is not on long enough).  The PC itself only recognizes the device for the few seconds that it is on.  I've tried charging it, removing the SIM card, and also leaving the phone off for days but nothing has worked.  I use Ultra Power Save Mode often on my own phone but had not used it on this phone before.
Thank you for helping.

Seems like a really tricky situation. You might have luck with reflashing the stock firmware - this should not delete your user data. You can check sammobile for a matching firmware - country does not have to match though. Please use the exact product number of your Galaxy S5. Instructions for flashing can be found on the download page of these firmwares. If you have further questions, don't hesitate to ask :)

@benjaminS Just as a warning (and as an unpleasant experience as well), I once flashed the stock firmware for my device via Odin, and I discovered that my internal storage had been completely wiped out, and "set up" with the default Samsung folders. Pay extreme attention before flashing a stock firmware.

Thank you both for your comments.  Should reflashing be my last option then?  Would there be any other options to try or does it seem like this is the only option at this point?  I am guessing this is a software issue but is there any reason to be concerned about the phone eventually failing or "short circuiting" itself if it keeps turning on and off?  I recently experienced my own phone completely shutting down and not turning on (hard brick) and I posted about that separately on StackExchange.  I fear that will happen with this family member's phone too.

I guess this is the only option which might help. Flashing your phone via Odin should not erase your data. There should'nt be any problems aslong as your phone runs stable on Download Mode without rebooting - you can try it ( Power off the Phone, then press Volume Down + Power Button ). If you don't see random reboots happening for like 10 minutes then you should be good to go and you can flash your firmware. Make sure to charge your battery >80%.

Thank you for all the suggestions.  I tried this now and unfortunately it didn't change the problem (initially installed and optimized apps but then back to the grey screen and cycling on and off).  Right now the phone also does not turn on any more.   If it does start again, one forum suggested rebooting to bootloader and then "am enable com.sec.android.emergencylauncher" .  I can't get this command line with the phone connected to the computer.  There were other forums that suggested other options (like dragging or removing apps).  Thanks again and hopefully the phone starts up again.

It doesn't consistently power on but it has a few times since I last wrote.  What about using Odin to update to the latest firmware (not the firmware that was on the phone when it started do this)?  To clarify my last post with an example, one other suggestion was to drag the Google app to "App Info" and then click "More" in the right hand side and click "Delete Updates."  I did not see the "App Info" heading or "More" though unless I am looking for the wrong thing.

You can always backup all of your photos and everything else to a Google account (here tells you how), and then factory reset the phone.
If this does not solve the problem, it may be worth taking it into a shop to see if they could do anything, or contacting Samsung directly.
Hope this helps


text:
Android support for TLS
I have found that TLS1.1 and TLS1.2 is supported from API level 16 and on by default from API level 20. This corresponds to Android 4.1 (supported) and Android 4.4W (wearable) or Android 5.0 (on by default)
From a server perspective this means that you will only support clients using 4.4W or higher, since you can't rely clients to turn on TLS 1.1 and TLS 1.2 support.
Now the real question comes:
Do you even need to care about the Android version?
Hu, what do you mean? Well, should you look at the version of Android OR at the version of the browser being used. For example, Chrome on a desktop has OpenSSL libraries compiled into it (if I'm not mistaking). So couldn't a new version of Chrome on an old version of Android, support TLS1.1 and TLS1.2?
The same story goes for other browsers. I know this is an Android StackExchange, but does anyone know what the deal is on iOS? Will the browser use the system libraries for SSL or will it use it's own? Do I need to look at the browser or the OS for TLS support?
Kind regards,
Roel

Assuming you are not doing Android development, you do not need to worry about Android version.
Any serious security-minded application like Chrome on Android will use TLS 1.2. You can verify this for yourself by going to a secure website (make sure it supports TLS 1.2!) and inspecting the certificate and protocol used on the client. I have checked this on Chrome on a 4.4 Android device, and it uses TLS 1.2.
A security policy should basically rely on the TLS version, and not pay attention to what kind of client is running it. It's not worthwhile to determine the Android OS version, because the Android OS version is not what finally determines the security used.
Let's be pedantic about enumerating the possibilities.

Android API 20+: All browsers and applications should work with TLS 1.2
Android API 16-19: Some browsers and applications will work with TLS 1.2.
Android API 15-: I think we are not discussing these because no version supports TLS 1.2

Here are the server choices I think we are discussing:

You allow only TLS 1.2 and do not check Android version. All Android API 20+ clients, and those Android API 16-19 clients using TLS 1.2 applications are expected to work.
You allow TLS 1.2, 1.1, 1.0 and do not check Android version. All Android clients are expected to work. System is less secure.
You allow only TLS 1.2 and check the Android version. Only Android API 20+ clients can work because you are excluding API 16-19. This is fewer supported clients than in option 1, with no increase in TLS security. So this option does not make sense.
You allow TLS 1.2, 1.1, 1.0 and check the Android version. Only Android API 20+ clients are expected to work because you are excluding API 16-19. This option does not make sense because you are making the system both less usable and less secure than other options. Fewer clients will work than under option 1, and those clients will be less secure.

Checking the Android version makes your system support fewer clients, at no increase in security. Therefore, do not bother checking the Android version.
The basic security tradeoff is always how usable a system is versus how secure the system is. This applies to physical security measures, cipher suites, TLS versions, and more. TLS 1.1 and 1.0 are not as secure as TLS 1.2. You have to answer the following questions for yourself:

Do the vulnerabilities in present in TLS 1.1 and 1.0 make them unsuitable for your system?
Would using only TLS 1.2 be worth the tradeoff in some people not being able to use your system?

What do you mean by: "A security policy should basically rely on the TLS version, and not pay attention to what kind of client is running it."? We should only allow protocols which are secure and we should not disable any that are secure? Regardless of how many clients are able to work with this policy?

I get what your saying. But the trade-off is influenced by MY users, the ones that are using my web application. If they use a more up-to-date client then the general population, the trade-off might lean towards a higher security standard. So the usability of my system does not only depend on the technology used but also on my users.
Therefor a policy that takes into account usability needs to take into account it's users.

You also say that you don't need to look at the Android OS. But what when the user is using the Android browser? I think the Android webkit browser is based on Safari, so you need to look up that Safari version?

@silver By "You have to answer the following questions for yourself", I mean you need to consider your own application and users when making a decision. I do not think there is any reason to worry about Android version. I have tried to be more explicit about why this is a choice about what TLS version(s) to allow, and not Android version.

reading your updated answer I see where the confusion is coming from. I am not intending to disable access to certain clients. I am merely trying to estimate the impact on my users if I would only allow TLS1.1 and 1.2. To measure the impact I am looking at the user-agents that have been logged to know which users MIGHT not be able to use my application. So I am not putting any restrictions on clients directly but only indirectly through the requirement for TLS 1.1 or 1.2.
Thanks for you answer, I have accepted it since it states that you need to look at the browser and not the OS.


text:
Whats the easiest way to sync Outlook with Gmail?
I found gSyncIt to be a bit complicated.
Binary has too many options  so I get a bit lost.
So far EVO Collaborator was very easy to setup, but its not build on Google's API so its not very compatible with task synchronisation and its limited to 1 address book.
Any other recommendations?

just found your question. I have been browsing for solution last week as well. Gsyinit was one of them, and it is complicated indeed. I found a better solution - Sync2, it is a very convenient and useful software with a number of cool features. I would also like to mention their support team, as it is truly amazing.


text:
Will samsung gear S2 be compatible with red mi note 3?
I am thinking of buying Samsung Gear S2
It says that it will be compatible with any android phones with higher than 1.5 GB ram.
I have Xiaomi Red mi note 3. Not a pro one. However, the only difference that I know is that red mi note 3 doesn't have extra space for sd card

As per compliance list released by Samsung mi 3 is compatible


text:
Unexpected result when using trigonometric function on KitKat's calculator
I get unexpected results when using the trigonometric functions on my Android 4.4.2 phone.
For example, if I enter sin(30)= I get the result -0.9880316 when I expect the result 0.5. It appears the phone expects trigonometric numbers to be expressed in radians rather than degrees which is uncommon - the phone's manual certainly did not mention it. Most calculators work in degrees. Decent calculators have a deg/rad/grad switch.
Is there a way to do this on the phone or am I forced to include a degrees-to-radians conversion in all my trig calculations?

This is a known feature / bug, depending on how you look at it. It is even there in Lollipop and supposed to have been fixed in Marshmallow_bug report. It is supposed to have the deg/rad switch. (Edit: Thanks to benjaminS for confirming that Marshmallow incorporates this). Couple of ways you can get around it:

Store the conversion value of ( pi/ 180) and multiply by value to convert into radians- very tedious
Use alternative from Play Store from reviews like this
Upgrade to Marshmallow if this is important for you. Calculator has additional features with screen shots, Thanks to benjaminS again for pointing this out.  :)

I can confirm that there is the option to switch between DEG/RAD in the stock calculator app on Marshmallow. :)

You can link to this article from androidpolice - there are screenshots available which show the difference and the added options quite well


text:
sent emails getting cut off
every so often i send an email to someone from my androids email app and the message gets cut off somewhere in the middle
example:

hi buddy
it was great talking to you yesterday, would you come tomor

i cant find any rhyme or reason to when this happens, it can be ok for a few weeks, then one day happen to one email or more then go away, seems entirely random
its causing terrible miscommunications...
i only found one similar question online about it, but with no answer. here: https://productforums.google.com/forum/#!topic/gmail/hte02K16JxM
Addl Info

the messages are clipped also in my sent items folder (viewed in standard gmail on desktop browser), and also by the recipient in his inbox
im using the standard email app. not the one form gmail.
im not using any template as far as i know of

please advise
UPDATE
i now find so.ething very odd
the email is not getting cut off necessarly towards the end, but raher per what was added later in time! i.e.
i write an email

hi. how are you?

and then i wait a few seconds and then i edit it like this

hi BUDDY! how are you?

then i press send, the recipient gets the 1st version, not the edited one! this is sooooo odd. as if theres some internal caching going on
btw,if it makes any difference, my macine is attached to a AirWatch policy system.
any ideas guys?

Which one gets cut off: Message in the inbox of the recipient, or the message in your sent box, or both? What email client you use, Gmail?

hi fellows! i added the additional data

does anyone have any idea whats going on? this is really important to me. id be glad to provide any additional data that might be neccessary. thanks!

can anyone please help? this is so annoying... its causing angry clients and misunderstandings all the time. thanks!

"standard email app" - Different manufacturers include different stock email apps, so what phone do you have? If it's from a no-marks manufacturer, it could just be a bug in the app.

hi. samsung note5. in any event i stopped using that app since... so at the moment its irelevant to me. thanks anyway!


text:
Chrome opens PDF files only through Google Drive, other apps work fine
Bug: pdf files from Chrome open only in Drive app directly, disabling Drive gives me "cannot open file" error.

I can open them from Adobe PDF app or FBreader app directly but that is annoying.
Selecting file in File Commander also brings up app chooser correctly and respects default settings. But Chrome insists on "Drive or nothing"
Firefox works fine too

How can I get the "choose app" dialog in Chrome and Downloads app to work?
Device: Xperia Z4 tablet, Android 6.0, chrome latest, non-rooted, updated to 32.1.A.1.185
Reinstalling drive, reinstalling chrome, reinstalling adobe pdf, resetting app defaults for all apps does not help.

Try clearing defaults for BOTH of these apps. This should be in Settings > Apps > Chrome/Google Drive.

resetting app defaults for all apps does not help.
I meticulously went thru all apps in Settings/Apps and re-set the defaults. No luck. Even Firefox opens PDF in adobe reader, but not Chrome.

@wizzard0 Are you rooted with a custom Rom? If so, you might be able to remove all chrome data and reflash gapps.

Not rooted, stock Sony firmware.

@wizzard0 Do you have another off viewer installed? If not that's most likely the issue.

Umm. Please read the answer text :) I have adobe pdf reader, google drive, and fbreader - 3 readers. And 2 browsers, Chrome and Firefox. I enter the URL to pdf file, Chrome opens it in Drive, FF opens in Adobe. I disable Drive, Chrome says "cant open file", FF still opens fine. Thinking about resetting the tablet...

@wizzard0 Ah, sorry. I can't think of anything right off the top of my head. I'll get back to you in the morning. (It's 2:50)

@wizzard0 Do you have an app in "Settings > Apps" called  "DocumentViewer"? If so, clear defaults for that too.


text:
My cellular networks slower than USB tethering, what shoud i do?
In the first glance to my title, it doesn't really make sense because the hotspot itself should equal/faster than the client who borrow/tether the network, but due to unknown reason, it always slower, and not a bit slower.
I'm not the only one have this problem.
My phone model is Oukitel K4000(non-root). Originally i'm not even can access the https website, such as https://www.google.com:

But USB/wifi tethering works fine even though slow which take 1 minute to load mobile(spoof with mobile user agent) https://www.google.com.
Then i found it's because of Oukitel misplaced MMS proxy and port in normal proxy and port field, the https works after i remove this fields:

And it's faster, USB/tethering which take 1 minute to load https://www.google.com now only require 30 seconds.
But still, there's something wrong because cellular network is ALWAYS slower than USB tethering.
Speedtest app in my phone:

In average, downland speed is 3 times slower than my laptop who tethering:

I also test with chrome remote debugging, http://android.blogspot.my/ (no https), spends 25 seconds:

And the result of laptop chrome(mobile user agent) who use USB tethering(wifi tethering is slower but still faster than mobile), spends 1.5 seconds:

I perform a lot of testing, so i can conclude that my phone is abnormally slower than USB tethering. I also test my phone to connect wifi, it spends only 1.25 second to load http://android.blogspot.my/, so i can conclude that the problem only exist on cellular networks.
I tried to use DNS changer app but i think the app doesn't works because even i set custom DNS to invalid ip like 10.3.6.8, my phone still able to load web pages.
I failed to root my phone too.
I wonder it might because the app in my phone use ipv6 as first priority(which always fail if i request ipv6 in USB tethering), i'm not really sure.
I get lost, what should i do ?


text:
Lenovo Tab 2 Partition Layout
I own a Lenovo Tab 2 A7-20f.
When I try cat /proc/emmc:
partno:    start_sect   nr_sects  partition_name
emmc_p1: 00000400 00000002 "ebr1"
emmc_p2: 00004800 00005000 "protect_f"
emmc_p3: 00009800 00005000 "protect_s"
emmc_p4: 0001ec00 00003000 "sec_ro"
emmc_p5: 0002e800 00300000 "android"
emmc_p6: 0032e800 0003f000 "cache"
emmc_p7: 0036d800 00b18000 "usrdata"

And when I use cat /proc/partitions:
major minor  #blocks  name

   7        0       9570 loop0
 253        0     524288 zram0
 179        0    7613440 mmcblk0
 179        1          1 mmcblk0p1
 179        2      10240 mmcblk0p2
 179        3      10240 mmcblk0p3
 179        4       6144 mmcblk0p4
 179        5    1572864 mmcblk0p5
 179        6     129024 mmcblk0p6
 179        7    5816320 mmcblk0p7
 179       64       4096 mmcblk0boot1
 179       32       4096 mmcblk0boot0

I don't think this is the typical Android Partition Layout. Any Idea which one is the Recovery and the Boot partition?
Or how to find it out?
Update:
When I lookup /proc/dumchar_info I get
Part_Name  Size    StartAddr   Type    MapTo   Region
preloader    0x0000000000040000   0x0000000000000000   2   /dev/misc-sd     BOOT_1
mbr          0x0000000000080000   0x0000000000000000   2   /dev/block/mmcblk0     USER
ebr1         0x0000000000080000   0x0000000000080000   2   /dev/block/mmcblk0p1   USER
pro_info     0x0000000000300000   0x0000000000100000   2   /dev/block/mmcblk0     USER
nvram        0x0000000000500000   0x0000000000400000   2   /dev/block/mmcblk0     USER
protect_f    0x0000000000a00000   0x0000000000900000   2   /dev/block/mmcblk0p2   USER
protect_s    0x0000000000a00000   0x0000000001300000   2   /dev/block/mmcblk0p3   USER
seccfg       0x0000000000020000   0x0000000001d00000   2   /dev/block/mmcblk0     USER
uboot        0x0000000000060000   0x0000000001d20000   2   /dev/block/mmcblk0     USER
bootimg      0x0000000001000000   0x0000000001d80000   2   /dev/block/mmcblk0     USER
recovery     0x0000000001000000   0x0000000002d80000   2   /dev/block/mmcblk0     USER
sec_ro       0x0000000000600000   0x0000000003d80000   2   /dev/block/mmcblk0p4   USER
misc         0x0000000000080000   0x0000000004380000   2   /dev/block/mmcblk0     USER
logo         0x0000000000300000   0x0000000004400000   2   /dev/block/mmcblk0     USER
expdb        0x0000000000a00000   0x0000000004700000   2   /dev/block/mmcblk0     USER
tee1         0x0000000000500000   0x0000000005100000   2   /dev/block/mmcblk0     USER
tee2         0x0000000000500000   0x0000000005600000   2   /dev/block/mmcblk0     USER
kb           0x0000000000100000   0x0000000005b00000   2   /dev/block/mmcblk0     USER
dkb          0x0000000000100000   0x0000000005c00000   2   /dev/block/mmcblk0     USER
android      0x0000000060000000   0x0000000005d00000   2   /dev/block/mmcblk0p5   USER
cache        0x0000000007e00000   0x0000000065d00000   2   /dev/block/mmcblk0p6   USER
usrdata      0x0000000163000000   0x000000006db00000   2   /dev/block/mmcblk0p7   USER
bmtpool      0x0000000001500000   0x00000000ffff00a8   2   /dev/block/mmcblk0     USER
Part_Name:Partition name you should open;
Size:size of partition
StartAddr:Start Address of partition;
Type:Type of partition(MTD=1,EMMC=2)
MapTo:actual device you operate
Now how can I found out which one is the system partition and why are Boot and Recovery one partition?

What does ls -l /dev/block/platform/*/by-name reveal?

After enabling expert mode in its settings, what does DiskInfo  show?

Related: How to list all major partitions with their labels?

There is just a "by-num" directory. Nothing new in it. Just the known numeric names.
http://imgur.com/tMimJwW http://imgur.com/soJuVXR

Thanks @Izzy! Your solution seems to be the best I found until now. Will check if it really helps. You may post this as answer in the meantime so we can close this. ;)

That would be duplicating the answer. Better idea would be I check a little deeper and give an answer closer matching your issue :) Also be welcome to give my Adebar a try for that. Works on Linux, but also on Windows in Cygwin.

Agreed. Your tool seems interesting. Will have a look at it.

@Izzy I updated the Question. Boot and Recovery are on one partition what seems to be a bit curious to me.

Why are Boot and Recovery one partition?
This you can find answered in a Wiki entry at Github. Quoting the relevant part:

Since MTK devices use the uboot mechanism, partitions including boot and recovery, are not revealed as separate partitions, but rather accessed sequencially by size and start parameters.

You can see that reflected in your output of /proc/dumchar_info: size is the second column, start sector the third. Think of it like "disk images stored on a raw medium" (not an exact description, but easier to visualize).
Which one is the system partition?
My first guess (by the name) was sec_ro (as system is "ro", read only). But that's not exact enough. To find out, you'd need the sector size and the size of your /system partition, then you can do the maths: /proc/emmc gives you the "number of sectors" each partition occupies, in HEX. sec_ro accordingly occupies 0x3000 sectors, that would be 12288 in decimal. At a sector size of 512 bytes1 that would be 6 MB – too small :) A better guess probably is p5 named "android", which sums up to 1.5 GB – that seems to be the correct size. cache is /cache and usrdata will be the /data partition.

1: according to Understanding MTK’s MBR/EBR File Format

Thanks, very helpful. I think I solved the problem through that.


text:
Windows 10 won't recognize my Samsung Galaxy S6
After an update to Win10, my phone will only charge.  I downloaded Samsung's USB drivers, installed Smart-Switch, checked my Device Manager...  Nothing.  The cable I'm using is definitely a data transfer cable.  Any ideas?

What is the Android version? What does the notification say when you connect to laptop?

No notification at all.  It's like it's not even there.  I'm using 6.0.1.  I finally figured out that if I turn on Media Share I can copy everything to my PC.  Over WiFi.  There's got to be a better way.

That's the default for marshmallow to connect in USB in charging mode. You have to change it you can try this

@beeshyams I don't think that's what's happening here, because there's no notification at all, not even a "USB for charging". Also the question you linked is about changing the default, not just about getting it to work at all.

Funny, just yesterday I had a similar experience trying to connect my camera to a relative's Windows 10 laptop, ended up having to grab a recent firmware update for the camera, the changelog for which basically just said "Windows 10 compatibility"... so it's not just you.

OK, I just noticed that the phone has a message that says "Connected for charging" if you pull down the menu from the top of the phone.  It also has an option to connect to transfer files.  So this isn't a Windows issue, it's an Android issue.  I've seen about 30 pages (including on Microsoft's forum on their website) where people are going ballistic thinking it's a Windows issue.  Hopefully in the future people will find this post and take a closer look at their phones.

10,000 views, not a single upvote.  That's gotta be some sort of stack exchange record.  :o)

I'm going to drop this in as an answer, since it solved my problem.  Credit goes to beeshyams and Dan Hulme who set me on the path to see this.
The issue is an Android issue, not a Windows 10 issue.  Apparently Android's new OS defaults to charging due to a perceived security issue.  When you connect your phone to your PC, pull down the menu from the top of the phone (start at the top of your phone's screen and swipe downward).  You should see a message saying that you are connected for charging:

Press on that message and you will see a screen where you can change how you're connected.  On that screen, choose Transferring media files:

Now, if you go back to the first pulldown menu, you'll see you're connected as a media device:

Go back to your PC desktop and open File Explorer and VOILA!  You can now copy your data to your PC.


text:
How to remember/cache a client certificate
I support a web-application that requires an https connection with client certificates as part of the authentication scheme. On most browsers (Desktop clients, iOS Safari, etc) if you are prompted for a client certificate and select a valid one the browser remembers this selection for future connections attempts.
Unfortunately, this isn't the default behavior of Android's Chrome. Every time the Chrome instance leaves memory (or maybe after some timeout) it shows the certificate selection dialog again.
This isn't something our users like and I would like to be able to tell Chrome how to remember the selected certificate for a given domain.
I've noticed this question asked every once and a while across the Internet, even here on the Android Stack Exchange site. Unfortunately, I've yet to see an answer to this problem, but I suspect someone out there has solved this already.
I'm looking for any effective solutions. Some things I've seen and tried to research:
Adding a policy -- such as the Automatically Select Client Certificate for These Sites which sounds promising but doesn't explain how to actually set this. There doesn't seem to be an analog to this if you visit chrome://policy in Android

I believe the above website is aimed at MDM / remote device management, but that isn't something that we can access here. Instead, I want to be able to set a one-off policy with for a phone that I have been given access to.
There are even posts about setting this policy on StackOverflow but they deal with desktop versions and I cannot seem to find someone whose done this for Android.

I'm also open to any solutions that involve wrapping a WebView or Chrome instance in an Android app that then programatically handles supplying the certificate.

The problem with this is that it seems as if WebView disables all JavaScript interaction and is a bit more "read-only" which isn't acceptable
I haven't seen an example of someone creating an app that starts a Chrome instance and is able to intercept anything like client certificate management for Chrome.

Thanks for any help.

EDIT: I thought that WebView doesn't allow Javascript (because Google states that in their docs. But they say by default and proceed to explain how you can write something for WebView that does in fact enable Javascript:
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setDatabaseEnabled(true);
webView.setWebChromeClient(new WebChromeClient());
webView.setWebViewClient(new WebViewClient() {
    @Override
    public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
        handler.proceed();
    }

    @Override
    public void onReceivedClientCertRequest(WebView view, ClientCertRequest request) {
        // TODO: Supply the client certificate
        request.onProceed(privateKey, certificates)
    }
        });
webView.loadUrl("https://some.app.url");


text:
Gear VR + Trinus VR using a cable
I want to use Trinus VR with the cable using Gear VR. I could disable booting the Oculus app with Package Disabler Pro, but I'm not sure if I could pair PC and phone with cable since it's through Gear VR.
Does anyone know if it works?

I don't think it's possible, because Gear VR isn't just the lens system, it also has better sensors.

My friend has a Gear VR headset and I have wanted to do this for a while. I eventually just made it myself with Google Cardboard.
Dan Hulme has a good point. The Gear VR does incorporate multiple other sensors the communicate with the phone. However, the phones compatible immediately with Gear VR all have a gyroscope in them so you don't really need the extra sensors.
You should be able to use the Trinus VR app but with only the built-in gyro, it might drift or lag a tad bit.

Try VRidge by Riftcat. It will use your phone sensors data.

That's an interesting suggestion, but their website says they don't support Gear VR (yet), only Cardboard. They're hoping to add Gear VR support but can't promise anything.

2021 update: looks like it supports Gear VR (and other VR headsets) now.


text:
Close/reset Chrome tab(s) without launching Chrome
I've got into a peculiar situation with Chrome on my Samsung Note 2 running Android 4.4.2. I've been playing with JavaScript and apparently created some bad code. I know it because PhpStorm showed the warning that the code was likely to cause an exception. Still, I've tried seeing this page on my smartphone. (I need the smartphone because I am playing with the navigator.vibration function.) Chrome crashed.
Now when I run Chrome, it tries to re-open all tabs, the last being the one with the erroneous page (hosted with a web-hosting company). Apparently, Chrome is trying to open the cached page. It makes the whole smartphone practically unresponsive, with app icons sometimes disappearing from the desktop. I can revive the OS by closing Chrome from the app manager (long-press the home key).
I have already corrected the page online, it works fine in a desktop browser. And no warning in PhpStorm any more. But Android Chrome is hopeless. Restarting the phone doesn't help.
I wonder if I can somehow reset Chrome or simply close all tabs without running Chrome itself. It would also be great to understand what could have brought it to this amazing condition.
The problematic code in the page was
while (true) {
    navigator.vibrate([500, 500]);
}

I wanted to create an infinite loop (for as long as the tab was open).

You could try killing Chrome and then clearing cache in the settings app.

Awesome, that seems to be what I was looking for! Thanks!

@texnic Glad I could help.

Just in case no better answer is given, I found a workaround by mere chance. Another program (Play Store) decided to open some web-page. Since Chrome was a default browser, it launched Chrome with a new tab. This means that the last opened tab (which was my problematic one) was not made active and hence Chrome hasn't tried to display it. I was then able to close that tab as usual, and then open it again. This time Chrome downloaded the content from the web and since I corrected it, the problem was resolved.

TEXNIC- your workaround answer worked perfectly. the simple backdoor is sometimes the easiest option, so thank you!

You have to have it set to false because any infinite loop in javascript will crash the browser. The reason it is not crashing on the desktop is probably because it ingroring the function. Sorry if my understadning is wrong im not too good at javascript.

Actually, now I know that I should use setInterval.


text:
WiFi direct on 5Ghz band?
Can an Android device with a 5Ghz-capable Wi-Fi chip, such as the Nexus 5, use Wi-Fi direct on the 5Ghz band?
If so, how? Couldn't find anything of substance on the net.

Only did a quick research, but seems Wi-Fi direct is not supported on 5GHz. While probably unrelated, from Sony Bravia Smart TV manual: "Wi-Fi Direct compatible devices: 2.4GHz connection (5GHz not supported)." Otherwise, it might be possible by forcing the configuration of Wi-Fi direct to use 5GHz on Linux, but I can't promise anything on Android.

Post 45 May help you

@beeshyams That seems to relate only to certain channels.

You might or might not be able to depending on your device. I tested this on OnePlus 5 with Android 8.1 and 5GHz P2P GO works (channel = 48, i.e. freq = 5.240GHz). Only a few 5GHz channels however actually works though.
Basically you need to use a hidden (light greylist at the time of this post) API Landroid/net/wifi/p2p/WifiP2pManager;->setWifiP2pChannels(Landroid/net/wifi/p2p/WifiP2pManager$Channel;IILandroid/net/wifi/p2p/WifiP2pManager$ActionListener;)V. See here for example usage. You can also try out my app to test whether your phone supports it if you have root.
You might also need to remove an entry named p2p_no_go_freq in your p2p_supplicant_overlay.conf if there is one. It's located in /system/etc/wifi or /vendor/etc/wifi depending on your Android system version.


text:
Samsung Galaxy s3 mini Wifi Connected but not working
I have a Samsung Galaxy S3 Mini and my Wi-Fi worked perfectly fine.
Later, I went on my phone and my Wi-Fi said it was connected but when I went on social media and stuff it said it wasn't connected. I tried everything. Please help.

First off try turning airplane mode off and on. That will often fix things. If that doesn't help, restart the phone. If that doesn't help, try hard-reset.com/samsung-galaxy-s3-mini-hard-reset.html but make sure to backup the phone data first.


text:
storage device problem
I have InFocus M2-4G mobile.There have no option of 'Default Write Disc'. When installing any apps  it has directly Installed   to the Internal storage after that move it manually  to sd card .but do not directly Installed  to sd card.so
how to directly  install to sd card. Pleas suggest me the details solution.

Default Write Disk option is available only when the option is included by your phone's manufacturer. Unless it's included by default, you have to manually move apps to SD card.
If your phone is rooted, there are many apps available in store that does this job. Link2Sd is one such app. This app can be used in 2 ways

Move apps to sdcard automatically/manually
Create a secondary partition in memory card and link apps to that partition automatically/manually

To automate installation of apps to sdcard, do the following:

Goto Link2sd→Settings
Under Native App2sd Settings, select Install location
Set it to External

If you haven't rooted your phone, just Google it


text:
How could I fix google play store with new gmail account?
I was using google play store with gmail. But when I remove that mail account from the google play both the Google play and gmail apps stop working. How could I fix this?

Go to Settings - Account - Add account - Google?

What I have done when I experience a similar issue was this, put ALL of your (ever precious) music photos and files in a SD card, and do a complete factory data reset. Try this if you haven't fixed it by now and let me know how this works for you.

Play store, gmail, youtube, google play services, play music, google news, google keep, maps, google drive, google photos,
All the above apps are Google products, so when you first start your phone you need to give a google account to run the google play services and google play store. Now when you have installed any google application then it will take the default google account in you accounts (if you have 2 accounts it will ask you choose the account).
So now technically you have removed account then all the google products will stop working.

Although the previous answers identified the problem and explained why it doesn't work, the answer is not so clear in those posts.
Basically, you must have a working Google account on the phone, that will apply to all Google Apps on the device, including the Play Store and Gmail. So the solution is to add a valid Google account to the device and the Play Store should start working again.
If you don't want the Gmail portion, go into Settings -  Accounts - Google and turn off syncing of Gmail. The account will still be there, but will not update the Gmail portion.


text:
How to Prevent CM13 Calling by Itself?
I noticed today that my Samsung Galaxy S4 with CM13 (unofficial Kyasu's ROM) called two my contacts itself; those contacts were those which I keep in my blacklist; which was also why I had react to the incident.
I have a passlock in my phone so calling itself is not possible without a break into my system.
This implies me that my ROM was cracked, and used for own targets.
This is the second time, I notice that my phone calls itself; first time, it called my favorite contact one week ago; in the other end, my friend heard only machine/random noise.
Therefore, I would like to add additional measures to control the security/privacy of my phone.

How can you prevent your phone calling itself?

Android devices don't make calls by themselves... if you had the phone in pocket and accidentally "butt dialed" someone, set a lockscreen password or pattern to prevent it from happening.

@acejavelin No. I have a passlock in my phone. It is not possible. It implies me that my phone was hacked by using the security wholes existing in kuysu's unofficial ROM.

Don't use unofficial builds of unstable ROMs?

@eldarerathis Yes, I understand it now. I would still have some extra protective features even in official unstable builds.

I found out more stable ROM. It was not the official one which has noise artifacts, for instance.
I found some patches made by Temasek/arter97 here at points (8) and (9). Using them solves the artifact noise problem, which occurs in the official CM13 and kyasu's ROM. I also switched to Temasek ROM which seems to be one of the most used unofficial ROMs. It is the most stable ROM that I have found for the device. It also supports updates directly in the software.


text:
bypass killswitch on lg16c?
I am trying to factory reset a recycled Lg16c phone, but it has killswitch. Is there a default or master password to bypass this lick?

What kind of kill-switch is it?

https://www.youtube.com/watch?v=vEh2VpbNj_c

A freshly reset LG phone (like most other Android devices these days)
  will ask for the Google account it was used with previously. You can
  bypass by going into accessibility settings and adding a button combo
  for triggering overview. Then, you use the talkback settings to open a
  web browser, which lets you download an APK from& RootJunky that
  basically just opens the system settings. Because you added an
  overview button combo, you can use that to access
  overview/multi-window and install the APK. Once you're in settings,
  you can add a new user, gain access to the full device, then switch
  back to the owner account and reset without protection. The video
  above gives the full rundown.

Source: http://www.androidpolice.com/2016/01/12/lgs-factory-reset-protection-can-be-bypassed-in-mere-minutes/


text:
No ADB driver for medion e4001 (MD 98500) for remote debugging
For testing purposes I need to debug an older android device:
MEDION LIFE e4001 (MD 98500)
There are no drivers available online and I wrote to the MEDIUM guys receiving the following answer:

Thanks for your feedback. We are gladly share the following information with you: There are currently no plans to develop debug drivers for the  Medion smartphone e4001. If you want to transfer data they are not necessary - when connected to a pc the phone will appear as a usb storage device.

So no official ADB driver for that device. Is there any chance to get a working ADB driver for that device somehow?

Welcome to the site. Thanks for sharing your knowledge by answering your own question!

I found a solution (for windows):

Download the official MEDION ADB driver for some other tablets they offer
Unpack
Open the android_winusb.inf file in a texteditor
Add the following lines at the end of the two sections [Google.NTx86]up and [Google.NTamd64]
;
;MEDION Life E4001
%SingleAdbInterface%        = USB_Install, USB\VID_109B&PID_911E
%CompositeAdbInterface%     = USB_Install, USB\VID_109B&PID_911E&MI_01

Go to the device manager, select the unknown driver (called generic in my case), update driver and select the folder.

Off you go!


text:
Galaxy S5 isn't getting any notifications but WhatsApp messages
I have a Samsung Galaxy S5 Device running Android Lollipop 5.0.
Recently I've noticed that I'm no longer getting any notifications, but WhatsApp messages, which causes me to miss important emails from my work place, and from my boss.
It is very irritating, and I don't know what I can do in order to solve it...

If you want to turn off notifications for whatsapp go into settings -> application manger -> Whats App -> Then uncheck the box at the top that says show notifications. If you are using gmail click the side bar -> click settings -> click you account -> check notifications. Hope i helped and good luck!!


text:
How to determine the amount of app space available?
I have recently experienced the "Can't install app in default location" error (code -20), despite 700 MB still free on my phone (no SD card present). Having googled and read, I now know that not all memory can be used to install apps. So while I have some space available, the app-partition (?) space may be up.
But I've never encountered any partitions on my phone. So the question is: how can I determine how much space I have on my phone for the apps?
I use Samsung Note 2, Android 4.4.2.
df output (using Terminal Emulator; please note that by now I have already uninstalled several apps, so the available space might have increased. I still don't know how to see it in this listing):
/mnt/secure/asec: Permission denied
/mnt/shell/container: Permission denied
/mnt/shell/emulated: Permission denied
Filesystem                   Size     Used     Free   Blksize
/dev                       892.5M   140.0K   892.3M      4.0K
/mnt/secure                892.5M     0.0K   892.5M      4.0K
/mnt/asec                  892.5M     0.0K   892.5M      4.0K
/mnt/obb                   892.5M     0.0K   892.5M      4.0K
/system                      2.0G     1.7G   253.6M      4.0K
/efs                        19.7M     9.5M    10.2M      4.0K
/cache                       1.3G    21.9M     1.3G      4.0K
/preload                   551.2M   141.9M   409.3M      4.0K
/data                       10.5G     9.8G   702.1M      4.0K
/storage/emulated          892.5M     0.0K   892.5M      4.0K
/storage/emulated/0         10.4G     9.8G   682.1M      4.0K
/storage/emulated/legacy    10.4G     9.8G   682.1M      4.0K

Your Android device, Android version? Is the space left more than 10% of userdata partition?

@Firelord, added the device and OS, thanks for the remark. I am not aware of partitions on Android. I have: 16 GB total memory, 5.54 system, 7.04 used space, 142 MB cached, 2.62 GB misc and 680 MB available space. And I cannot install a 26 MB app.

Can you post the output of the df shell command?  Easiest way is to use the ADB utility from Android SDK, but you will also need the proper USB drivers installed on your PC.

Yes, df command would do. Alternatively, you can try DiskInfo app: https://play.google.com/store/apps/details?id=me.kuder.diskinfo&hl=en

@Chahk, added. Actually, the current listing might be misleading, since, in the attempt to install the app, I have uninstalled some other apps already. Please explain how to read the listing, if it does answer my question. (And post it as an answer, to make it acceptable.)

Time to clear some space. I would presume that Samsung didn't tweak the default low disk space which is 10% of userdata. Try to delete some stuff, possibly make the free space close to 1100MB and then attempt the installation (with an optional reboot).

Hmm...  There does seem to be enough space in important areas like /data (app storage area), /storage/emulated/ ("Internal SD Card" area) and /cache.  @Firelord could be correct with the 10% "low space" threshold.

Also, before uninstalling more apps, try deleting the logs that sometimes clog up the internal storage on Samsung devices by using a dialer code *#9900# to bring up the SysDump utility and selecting the "Delete dumpstate/logcat/modem log" option.

A clear case of the "insufficient memory" error (see our insufficient-memory tag-wiki for first aid and hints). It's your /data partition: less than 10% of its space is free.

@Izzy, guys, come on! You want to say I have to have 1 GB of my device empty to install a 25 MB app??? (1) Can you please post it as an answer, if that's what you are saying. (2) Any reference?

@texnic Have you followed up my reference (tag-wiki)? "Storage low is triggered when free space reaches 10%". And please, I didn't define that limit (or I had chosen some absolute limit – percentage doesn't make much sense here, I absolutely agree).

@Izzy, yes, I've read that of course (I appreciate the effort people are putting in trying to help me). I am not sure why a warning (which makes sense) is converted to an error by Play Store, nor why I am still able to install at 720 MB free and was unable to install when it was about 100 MB less.

Updated my answer accordingly with additional details, @texnic

@I zzg,  looks good now, the other comment removed. Thanks.

It's your /data partition running low on free space (as always when this error occurs – see our insufficient-memory tag-wiki for details, first-aid and further information). According to the output you've provided, only 700 MB out of 10 GB are available. The "storage low" error is triggered when free space here reaches 10%.
This limitation was introduced to keep a "safety margin" for the system. So the user gets a warning when it was exceeded. In this state, of course Google Play Store refuses to install any new app, as it considers the system alreading running "low on space" and doesn't want to "worsen the situation".

When the 10% rule was introduced, devices came with much less internal storage, so it was quite reasonable (think of those devices with less than 512 MB). Nowadays, it does no longer seem a good idea – especially with MTP being introduced to have the "internal storage" and "internal SD card" on one partition, spanning multiple Gigabytes. Looks like this is an issue not yet addressed or "simply forgotten".


text:
What are the implications of doing fastboot erase modemst1?
I installed a Cyanogenmod 12.1 snapshot on my Moto G 2014 when I got it, it previously has only had the stock ROM installed, no other custom ROMs. I soon discovered that the GPS wasn't working on Cyanogenmod, some searching quickly revealed that this is a known problem. Because I don't use GPS very often and because I haven't really needed it yet, it didn't really bother me too much and I was hoping it would get fixed in a future update. Today I discovered that there apparently is a fix for this issue, namely executing:
fastboot erase modemst1
fastboot erase modemst2

in bootloader mode. (Known issues with CM for the Moto G 2014) Apparently this erases 2 partitions, my question is, doesn't erasing these partitions have any implications? Wouldn't I remove the firmware of the modem? Don't I have to replace the contents of these partitions with some other image? The instructions in the XDA thread that the CM wiki page links to don't mention anything about the above. I am a bit reluctant to run these commands as my G 2014 has been working perfectly for months now and I've got everything set up, I'm not interested reflashing currently. I have already searched the web about this but I didn't find much, except for some guy with an Xiaomi device who did the same thing resulting in the phone saying the IMEI number was unknown.

It appears that my caution was a rather good idea...: Reddit - Moto G getting no service after erase modem partitions

I ended up taking the risk after all other "fix GPS" methods failed and I can report that it was successful and to my knowledge had no side effects, like the ones reported with other devices.

Worked for me. After first boot mobile data was not working (but phone was working). After a second reboot also mobile data working.
Moto G falcon
Android 4.4.4

Double reboot necessary for me on a Moto G7 Power - Motorola must really like the double reboot.

In order to get my Moto G4 Play (harpia) to recognize a new SIM, I too have had to erase my modemst1/2 partitions. I did it via the TWRP recovery console, by running dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1, and then the same for modemst2.


text:
How can I know if newly released phone will be developer friendly?
What are the facts to look for if someone want to buy a developer friendly phone (other than nexus phones) which means this phone is gonna have a lot of custom roms, mods and can stay up to date with the latest version of android for as long as possible with the help of custom roms.

Related: How to check if a device can be made root-able

Not sure how to answer this kind of question, since we can't expect vendor to explicitly says their devices are developer-friendly. Next, it's related to the popularity on the modder community (e.g. XDA). In the end, there will be someone who is brave enough to buy and experiment with the device, and let the rest of the world know.

A good starting point would be reading up on how cooperative the manufacturer of the SoC in the device has been with the (open source) Android community in the past. For example some GPU vendors have a bad reputation when it comes to providing information and the sources of the drivers for their products. If the developers/porters of ROMs have to go through hell to get stuff working, chances are it won't be very popular with the modding/custom ROM community, unless there are other very good reasons to persist (for example if the device is very high-profile, think Galaxy S or Nexus series).

Agree. My HTC One X stucks at Jellybean and didn't get more version update from vendor because of Nvidia Tegra 3. Because of that, no more Sense ROM ports.

Google Nexus phones are developer phones.
AOSP is the basis for ALL Android custom ROMs.
Here is the complete list of Supported Devices.
AOSP is ONLY released for Nexus devices.
Android Factory images are ONLY released for Nexus devices.
Nexus devices will ALWAYS have more custom ROMs than non-Nexus devices.
What does "developer-friendly" mean?
100% of the software needed to develop for the device has to be GNU/Linux compatible.So that serious Android developers can use it on their development machines(GNU/Linux).
There is a popular misconception that you can be an Android developer without using GNU/Linux. The truth is, you can run a barely-functional neutered version of Android Studio on Windows/OSX. You can start out with Win/OSX, and at some point you will realize that you need to figure out GNU/Linux if you want to be an Android developer.
People learn at different speeds, and some people figure this out quick, while others may tinker around on a Mac for a decade, all the while saying things like "Actually, Mac works great with Android", or laughing nervously and saying "It does everything I need."
Sony and Samsung phones (ALL of the phones made by either brand, with the notable exception of the excellent Nexus models made by Samsung) both FAIL TERRIBLY as developer phones because of their dependence on software that is NOT compatible with GNU/Linux. So basically a ton of the software that is required to interact with their "developer phones" is INCOMPATIBLE with precisely   the type of computer a serious Android developer requires.