text:
What does data partition in nandroid backup contain?
I've been trying to find information on what's included in the data partition when doing a nandroid backup.
I couldn't quite figure if it includes:

Media files (images, videos, music)
User apps + Configs
System Apps + Configs
Whatever else...

Reason being, I wondered if I could just backup system and boot:

The media files are synced using rsync.
The system apps are updated anyway when flashing new ROM.
The user apps are backed up using titanium or whatever.

This could save some space of my backups,
since I don't have much to spare -
having no external sd slot and only 16gb of storage...

Based on the TWRP versions I used (v2.8.7.0 in OnePlus One and v3.0.0.0 in Nexus 6), TWRP doesn't backup /data/media but everything else stored under data partition. This means:

media files stored inside internal SD card are not backed up. This is a noted issue with no fix so far in mainstream code.
user+system apps, their data and other things such as Wi-Fi configuration and credentials and whatnot are always backed up since they are not part of /data/media.
Note: some apps store their data which ends up under /data/media/userID/Android/. After a reset of data partition, an app, if restored with its private data, might not be able to reload the public data stored under the said location. That's one of the reasons folks wants TWRP to backup /data/media as well.

Good, yet there are still questions left unanswered.
Mostly, let's say I do a nandroid backup with only system and boot partitions.
Let's say I then backup all my user and system apps using titanium backup.
Let's say I then want to restore the system, by first flashing the nandroid backup and then restoring the apps.
Will my system work as expected?

What do you mean as expected? You would find your apps in a state similar to what they were in prior to taking the backup.

As expected is the system would be up and running, with all configs/wifi settings/widgets etc etc. If it does, again - why would I want to backup the data partition in the first place?...

I think that the best answer is here.  As an Android Expert, I couldn't have said it better myself!

To my knowledge, TWRP does a nandroid backup. As you can read in the
  tag wikis of the mentioned tags (nandroid, backup), a Nandroid backup
  takes images of your partitions. It's not a backup on the file level,
  but on partition level. So it includes everything stored on those
  partitions. Doing a full Nandroid backup of your system thus includes
  the entire system, one file per partition. There are only very few
  things not contained, such as the radio-firmware.
So to put it as a short direct answer to your question: Yes, a full
  Nandroid backup would include all your apps, app data, messages,
  contacts.
Though it might be complicated to extract them separately (Nandroid
  can't do that, it's always an "all-or-nothing". But e.g. Titanium
  Backup can read data from Nandroid backups. Just in case you'll need
  that :)

Great, but still...I'm talking specifically of the data partition, and whether I can omit it from the nandroid backup and use the above mentioned solutions instead to reduce the weight of the backup and not risk losing any data. I don't want to have my media files included, for example.

Going into my TWRP right now so see what I can come up with for you.  :)  Have you went into the File Manager through TWRP and tried to edit the backups by hand?  Trying to think of anything I can, being new here is hader than I thought!


text:
Overlay a semi-transparent image on top of the Camera app
I'd like to take a picture in the exact spot as another photo I've take a while back.
To help lining up the shot, I wonder if it would be possible to overlay the camera app with a semi-transparent version of the older photo?

You can crop the picture and then create a scene in Tasker to load that picture which should be shown as an overlay when your camera app is active. This might give you an idea: How to add screen filter with tasker?

You can use the Overlay Camera app on Play Store. I tried it, and it matches exactly with your description.

Suggestion - you cold improve your answer by providing a summary of features and/or screenshots.

This does not install on Google Pixel 7

source: Stack Exchange

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

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

sort: votes


text:
Application update
Actually I'm bit confused as I don't know where to ask. But it is mostly related to application update from play store so asking here.
  Many times update size is almost equal to original installation download size. So I want to know that the application is patched with new update or new version is reinstalled?

The Google Play Store supports both full application updates and delta application updates.

A delta update is a broad term that means only changes to a package will be downloaded and the changes will be merged into the existing files inside the package. In this case, the package is the apk file that's installed on your phone. In the end, it means less data is used and sent.1

As far as I know, there is no general way to force an application update to be either a full update or a delta update. Even though Google Play Store supports both, you have to take whatever type of update that the application provides.
1What are delta updates? | Android Central

The Greek letter delta is pronounced like the letter D, which is the first letter of the word difference, and the delta character is used to denote difference in mathematical expressions.

How to get delta updates?

As far as I know, there is no general way to force an application update to be either a full update or a delta update. Even though Google Play Store supports both, you have to take whatever type of update that the application provides.

Thanx for information

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


text:
How can I activate UDP forwarding for USB communication between a PC and an Android app
I have an real Android device connected to a computer via USB. I managed to activate TCP port forwarding with adb forward tcp:<port> tcp:<port> and successfully communicate with sockets but I don't know how to do the same for UDP.

EDIT : I launched my application on the emulator and typed telnet localhost 5554 and redir add udp:<port>:<port> and it
  worked, my function executeCMD is functionnal because when I try ls
  it's working.

Some websites said to use redir like this redir add udp:<port>:<port> but when I do so I obtain an error :
usage:
    redir --lport=<n> --cport=<n> [options]
    redir --inetd --cport=<n>

    Options are:-
        --lport=<n>     port to listen on
        --laddr=IP      address of interface to listen on
        --cport=<n>     port to connect to
        --caddr=<host>      remote host to connect to
        --inetd     run from inetd
        --debug     output debugging info
        --timeout=<n>   set timeout to n seconds
        --syslog    log messages to syslog
        --name=<str>    tag syslog messages with 'str'
        --connect=<str> CONNECT string passed to proxy server
        --bind_addr=IP  bind() outgoing IP to given addr
        --ftp=<type>        redirect ftp connections
            where type is either port, pasv, both
        --transproxy    run in linux's transparent proxy mode
        --bufsize=<octets>  size of the buffer
        --max_bandwidth=<bit-per-sec>   limit the bandwidth
        --random_wait=<millisec>    wait before each packet
        --wait_in_out=<flag>    1 wait for in, 2 out, 3 in&out

    Version 2.2.1.

Then I thought this command should be launch on the Android device so I created this method :
 public String executeCMD(String cmd){
    StringBuffer output = new StringBuffer();
    try{
        Process process = Runtime.getRuntime().exec(cmd);
        BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
        int read;
        char[] buffer = new char[4096];
        while ((read = reader.read(buffer)) > 0) output.append(buffer, 0, read);

        reader.close();
        process.waitFor();

    } catch(IOException e){ e.printStackTrace();
    } catch(InterruptedException e){ e.printStackTrace(); }

    return output.toString();
}

And when I called it like that :
executeCMD("redir add udp:" + UDP_PORT + ":" + UDP_PORT)

I get no output and the UDP server on the Android app can't communicate with the UDP client.
So I'm a bit lost... I'll continue searching but If you can help me; go ahead.
Thanks.

When I adb shell onto my device I get /system/bin/sh: redir: not found when I try to execute the redir add command.

As I recall, redir need to be run on the android device via adb but as I saw that it wasn't the thing that I needed, I abandoned the idea...

So finally, I did not find out how to enable UDP forwarding for USB communication but I did somethings else that works pretty well, but you have to enable USB tethering (from the computer ping the phone to see if it's properly enabled):

Create a TCP server on the phone and a TCP client on the desktop.

Execute adb forward tcp:<port> tcp:<port> on the desktop so it can communicate with the phone on localhost via TCP sockets.

Make the TCP server send the IP address (on the USB tethering network) of your phone to the TCP client.

Then you can close the TCP connection and with the address you can initiate an UDP connection with socket as you would in a normal situation.

But this would mean that you'd transfer data through wifi. I'd like to transfer UDP streaming data through USB tether.

When you enable USB tethering your phone and the computer forms a LAN so no needs for Wifi as long as you have the USB cable plugged.


text:
Stock Huawei Honor7 Notification Question
Im developing a small app which shows notifications continuously, also when the app is stopped via swipe in the task manager or when the device reboots.
It works fine on old Samsung Galaxy Tab2 7 (Android 4.2) and Nexus5 Emulator (stock Android 5.1) among other Android 4.x.x emulators.
Unfortunately it doesn't work on my Huawei Honor7 with Android 5.1 and EMUI 3.1 overlay. Process stops as soon as the app is closed via swipe. Also autostart after boot up doesnt work. I'm not sure if its a Huawei-Power-Safe-Something (killing background processes) or if Android 5.1 generally introduced a new notifications-policy. At least the 5.1-emulator shows, that its still works.
If its a Huawei-thing, maybe someone may tell he, how to tweak the settings for apps right? I already installes PM Plus and granted all possible access to my app but no success yet =\
Any help would be very much appreciated. Thanks in advance!!

Ok, I finally found the solution - problem was (probably) within the MIUI-Overlay:
I had to install PM Plus-App for Huawei/Honor to unlock the "Startmanager"-menue within the preinstalled "Telefonmanager-App" (german version - english may be "security app"??)
Inside the "startmanager"-menue one can toggle on/off autostart for installed apps. After switching the mode, the phone has to reboot to take effect. BUT in my case the desired app HAD TO BE RUNNING when turning of the phone for the reboot.
Its now working fine and i receive notifications even with closed app and after a reboot.


text:
How to charge a newly bought Nexus 5X(lithium polymer)?
I just bought a new Nexus 5X, how should I first charge it? (It's a lithium polymer battery)
I plugged it in the charger and the phone turned on. Phone almost had a full charge already though (out of the box).
I usually left my new phones to charge for 12 hours before using them or unplugging them from the charger. Now I know batteries have evolved, so I'm not sure this is beneficial anymore.
I'm not sure what I'm supposed to do for the first charge and it doesn't come with instructions about it.
Any advice?
Thanks!

When I get a new device, I usually fully charge it, let it sit an hour to cool, then drain it completely, before fully recharging again.

Also worth a look: our charging tag-wiki. Basically: It cannot hurt to charge it fully, then simply start using it. I never made a ritual out of that – and still use my original devices with their original batteries, some for 5 years already ;)

Batteries are way better than they used to be... Use it, try to charge it at about 20% and let it charge to at least 80% if you can, if you can't, or well... The full charge/drain thing is a myth, just use it.

Charging a new battery for x hours before use is a "legacy hangover" from the days when Nickel Cadmium batteries were used. Those batteries had a "memory effect". As a result, over a period of time, they "remembered" lesser battery capacity than rated capacity. To prevent this, it was advised to always fully charge these batteries
This is not the case with Lithium Ion or Lithium polymer batteries. There is no logic to charge fully or x hours before use. Just use the battery normally, as suggested by others in comments
Table 1 corroborates with additional information


text:
How to configure Simplenote client to use external storage?
I've just installed the official Simplenote client on my Samsung Galaxy S3 mini (Android 4.2.2). I don't have a lot of space on the "on board" storage, so want to ensure that Simplenote uses the external SD card.
I cannot find any settings for file storage, however, and I failed to find its files poking around with a file manager.
Question How can I ensure Simplenote is using the external SD card for storing its data?

Simplenote files are hidden in Android. No way to access or export beyond the syncing provided by the app.


text:
How to get rid of these marks?

I'm 100 percent sure that it's possible because I managed to do it a few months ago, but now I do not know (don't remember) how to do it again. It looks like someone can help here.
Thanks in advance.

This should be in the keyboard settings, go to Settings -> Language and Input or similar.

It would help to know which keyboard app you are using (looks like Google Keyboard, but you can never be sure) and Android version on your device.

I'm using Android 6.0.

Matthew Read, your response isn't full, I knew about those settings, but I've not managed to find the settings allowing to change the appearance of the keyboard (I mean deleting these marks).

You can do by hiding the auto correction in android Keyboard Settings under Settings,
 (Click image to enlarge)

Else, Try as mentioned here.

Much obliged. It was helpful.


text:
Google Play Store claims background data is disabled when I'm not on cellular
When I try to run the Google Play store app on my Android 6.0 device, I get an error message telling me:
Background data disabled

Google Play Store needs background data to be enabled.

When I click on "learn more" I am taken to this page: https://support.google.com/googleplay/answer/1663315?hl=en
That page claims that, under Android 5.0 or higher I need to open the Settings app and select  "Wireless & networks" or "Connections" and touch "Data Usage", or on some devices "Battery & Data Manager" and then "Delivery".   I have none of these, the closest I have are "WiFi" and "Battery", neither of which have "Data Usage" or "Delivery" under them.
I do however have "Data Usage" as a top-level menu item in Settings but it deals exclusively with Cellular Data limiting.  And in that I do have Google Play Store restricted to "Disable background data on cellular networks".  I am not going to change this as this was one app I identified which was using excessive mobile data usage.
However, I am not on a cellular network when I am trying to open the Google Play store, I am on WiFi, so I'm not sure why it is complaining.  Is there some other location that background data has to be enabled for WiFi?  I find that when connected to WiFi my phone is automatically updating apps in the background every day or two which would seem to suggest it does have background data when on WiFi, so why can't I open the Play Store under the same conditions?

I just ran into the same thing, and rebooting fixed it for me.

@FabianTamp Huh. That fixed it for me too. Thanks!

@Michael from  what I can see on Background data for devices 6.0 and above, Enabling/Disabling background data affects cellular networks and not WiFi..but there's a specific configuration for WiFi networks that allows you to restrict background data on apps when using specific WiFi networks under more>restricted networks. Could you have engaged this option?

Hi, looks like you've found the solution. Consider posting it as a proper answer since self-answering is not only allowed but even encouraged. Thanks.

I've just experienced this problem, and worked around it by completely disabling mobile data in the SIM card's "Data Usage" configuration page. Once wifi was the only possibility to connect, Play Store stopped complaining about not being allowed to use background data.


text:
How to clear erroneous unread sms indicator
I am using the stock SMS app on Android 4.1.2.  I received an SMS message and read it but when I return to my home screen, the (1) in the top right corner of the app is still there.  Inside the messaging app, it lists no messages as unread on any of my threads.  I have tried killing the SMS app, restarting the phone, and even using a third party app that marks all your SMS as read, but the notification indicator on the app icon persists.  How do I remove it?

Go to Settings -> Application manager.  Find an application called "Badge Provider" and clear it's data.  Then restart the phone.  The (1) goes away.


text:
notifications on top of a group chat
On the top of the group chat there is nearly a 3 page long list of who left group or joined or change in group subject..icon etc...Is there a way to delete these lines from the chat without deleting the entire chat? When selecting individual messages to delete you cannot select these lines

No. There is no way for selecting/deleting these information in group chat.

I discovered how to do it...star the messages you dont want deleted from a chat and then use the "clear chat" option making sure that your "keep the starred messages" option is ticked. When you clear the chat these messages get cleared.


text:
thl 4000 can't install apps - insufficient storage
On my thl 4000 I can't install apps - I get 'insufficient storage' massage, but I have 168M of free storage and the apps are 2 - 8 M
I tried to follow all the instructions on the different forums, it helped at first but now nothing works.
android v - 4.4.2

Hint: Our google-play-store tag-wiki has a list or Play errors linked to corresponding questions/answers :)

I found the following work around - go to 'play store' 'app info' and do - 'Uninstall updates'.
This works but
finally I end up resetting my phone to factory setting - and the message doesn't appear any more and also I have lot's of free storage.


text:
abi reported for Samsung Galaxy Tab S2
When I run:
$adb shell getprop | grep abi

I get:
[ro.product.cpu.abi2]: [armeabi]
[ro.product.cpu.abi]: [armeabi-v7a]
[ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
[ro.product.cpu.abilist64]: []
[ro.product.cpu.abilist]: [armeabi-v7a,armeabi]

However according to http://www.phonearena.com/phones/Samsung-Galaxy-Tab-S2-9.7-inch_id9385 and https://en.wikipedia.org/wiki/Exynos I was expecting a ARMV8a architecture to be reported. For instance a Sony Z4 tablet reports as expected. What does for instance Nexus 6P report (I don't have that device).
Any idea why the Samsung device reports as it does?
The background to my question is that I'm planning to write an application with some C/Assembler code (using the NDK) and I would like to understand how many devices I can target if I go for the ARMv8 instruction set instead of ARMv7a.


text:
Map Whatsapp media to external SD on rooted Lollipop
I've wanted to create a symlink from the Whatsapp media folder on internal storage to external. So I installed FolderMount from XDA, which is claimed to work. Instead, what I've seen is that Whatsapp is unable to write to the new location on the external SD card. When I click on a picture or other media file sent by someone, it downloads it but the blurred thumbnail persists, and when you click on it, it says 'the file was not found on SD Card' or similar.
Does Lollipop deny writing to the external card for apps somehow? The other option I've used is Link2SD to a separate internal partition, but that doesn't work well with Whatsapp either.
Do I need to make sure I'm mapping the actual path to the internal/external storages and not symlinks/aliases, and in that case what would the actual path be?

Don't you remember? With Kitkat, apps suddenly were limited to their own folder (Android/data/<package_name>) on the SD card, which led to a kind of sh,tstorm. So with LP, they opened that a bit more again – but now the app must use a specific API to access the card. Not being aware it accesses the card, an app is unlikely to use that API. So you could try linking to the one I've mentioned for KK in the hope it's still available to all apps.

There was a hack where you edit an xml file and grant write permissions to the sd card..i tried that too but it didn't work.

Symlink should work
Run ln -s /ext/directly /ext/dir/no/fat

Please explain in detail..


text:
Is it possible to only use your Google account for Google Play only?
I'm developing Android applications on a phone (5.0.2) provided by my company so I'm supposed to log on Google Play in order to download other applications and test them.
The thing is with that, all of my Gmail, Drive, Photos, Hangouts, Youtube, Keep (and the list goes on) are automatically synchronized and made available with a simple "login button"... Which is quite embarrassing.
Everytime I try to log out from any of those google services, it redirects me to Android's parameters accounts tab... like it's all or nothing.
So the question is : How can I login to Google Play alone ?
Thanks

"Which is quite embarrassing." - are you suggesting you are using a personal Google account "on a phone provided by [your] company"?

If you go to "Settings>Applications>Google" you can turn off automatic syncing to the device. For the login button there's two things you can do:

I think you can deauthenticate the device from your google settings.
Simply solove the problem by creating another account you use just to do work-stuff. You shouldn't mix private and business life.

Hope this helps :)

That's what I did, I disabled the automatic syncing for all the Google applications. Thanks


text:
Vehicle tracking
All office buses would have Android 4G mobile phones with the driver, always switched on and always charging. These mobile phones need to broadcast realtime location possibly from an Android app, or perhaps from a web application running on Chrome. Office administrators and employees waiting for buses would then track the realtime location and recent path on a public URL using Chrome, without requiring to download any app. Is this possible?

Possible it is (some of the Fleet maintenance apps might even have such a feature). But asking for the corresponding software would be off-topic here; please see Where to ask for app recommendations?

Google Plus location sharing.

No need for Android commuters to install any app. Request iPhone commuters to install and sign into Google Plus.
Provide each office bus with a 4G Android phone. Sign into Google Plus with a new Google Account for the bus, say TFL27@gmail.com.
Request commuters to be added to the circle of their bus.
Request office admins to be added to the circles of all buses.
Enable Google Plus location sharing on the bus-tracking-phones: Open the Google+ app Google+ icon. Touch the menu button or icon menu > Settings. Touch the account name, say TFL27@gmail.com. Touch Location sharing > next to "Location Sharing", turn the switch on. To share your precise location, scroll down to where it says "Pinpoint Location" and touch Edit. Choose the people and circles you'd like to share your precise location with > DONE at the top right.
Commuters and office admins should not share their location
Make continuous charging and anti-theft arrangements for these bus-tracking-phones.
Commuters will be able to see only their bus on Google Plus. Office admins will be able to see all buses on Google Plus.

Sample Google Plus location sharing screen from CNET

Reference: Four ways to share your exact location with family (and why)

Reference http://www.cnet.com/news/location-tracking-apps/

@beeshyams, Stackexchange says that I need higher reputation to put more URLs in the answer.


text:
How to activate clock on lock screen?
I am using Android 6.0 / Cyanogenmod 13.
Somehow I have deactivated the clock on my lock screen and I can not find the place where to activate it.
Now I have only the unlock pattern there, the place for the clock above is free.
How to activate the clock?

Try Settings > Lock Screen

That was the first place I looked. Nothing about a clock or any widgets there...

The thing you are searching is known as daydream. You must have changed its setting while doing something in settings. It can be any place but generally found under display setting.

Really? From what I understand we're talking about different things here. Daydream is the "screensaver" that can be triggered anywhere when docked / plugged in; lockscreen clock is what's shown on the lockscreen itself.

Hmm... I thought it's about clock daydream. Since I faced something like this before. So

It is currently impossible to have a clock above the pin/pattern lock screen on android 5, 6 or 7. There is no work around yet.

Please stop including unnecessary profanity in your posts. And, instead of posting duplicate answers, flag the questions as a duplicate.


text:
How to import an OBF map file into OsmAnd?
The map file provided by OsmAnd for a particular region has inaccuracies, so I would like to use this fixed OBF file instead.
How to do that?
Below is the procedure described on the website providing the fixed map, unfortunately it did not seem to work (when viewing the whole country the regions downloaded within OsmAnd (official OBF files) are highlighted in green, but the non-official region does not show in green).

First, uninstall any standard OsmAnd maps of the region, because they
  will conflict with your custom map.
Copy the map file to the Android device. If you have downloaded the
  map file from this site, be sure to unzip it first.
For example, use a network-capable file manager, such as ES File
  Explorer.
Put the map into the osmand data folder (you can check which it is
  under Settings → General → Misc → Data folder )
It seems that the map needs to be renamed once within OsmAnd's Map
  manager (Map management → Local → Select your file → Rename) before it
  is actually recognized by OsmAnd.
Afterwards, don't forget that you have to change the description
  language (Configure map → Description language) to English to see the
  transliterated place names.
Also, as the base world map has not been created using
  JapanMapTranslate, you will need to zoom in a bit so that your local
  map is actually used.

Note: Unlike my other question How to import a .obf POI file in OsmAnd this question is about maps, not POIs. Answers at that question do not solve the problem here.

To view OBFs that I didn't download through OsmAnd, I first had to change the directory where its data is stored to one where I can push stuff (non-rooted phone).
For that, I first went to Settings > General settings > [Miscellaneous] Data storage folder and switched it to "Manually specified...". I decided it would be /storage/emulated/0/osmand as this is a place I can see when connecting the phone to my laptop. OsmAnd asked whether it should move all its config files there, I said sure, go ahead.
I put the OBFs directly at the root of /storage/emulated/0/osmand. It lost all the maps I had downloaded through the app after the folder change, so I had to download the world map again, for example, and it ended up at the root of the folder too, that's how I figured it out.
It may take an OsmAnd kill and restart for it to detect new maps, and the trick above of renaming the file through the map manager indeed made it be inspected by OsmAnd and marked in green as a region for which a detailed map was available. Even before the renaming, its content would still be used though, so as soon as you see something corresponding to your OBF in the map manager, everything should be OK.

When I try this, I get an IO error. I have created the destination directory with a file manager. Osmand creates just an empty directory called travel and fails next.


text:
kitkat 4.4.4 connecting usb devices to samsung tab e
I need to connect a USB printer and a Vivitar camera to a Galaxy Tab e. I currently have a USB OTG cable, and a USB-A --> Mini-B cable

For the printer, you'll need a USB-A --> B cable, along with:
Print Hand, Printer Share, or a similar app from the Play Store.
Make sure your printer is compatible with the app you choose before dropping the $.


text:
How to make Bluetooth tethering work?
I have a Samsung Galaxy S4 (Lollipop) and a Visual Elite Prestige 10Q tablet (Kit-Kat rooted with KingRoot), and I'd like to be able to use Bluetooth tethering to let the tablet share the phone's data connection.  Wifi tethering works fine, but it creates a heavy draw on the phone's battery to run both the cellular and wifi radio systems; as I understand it, Bluetooth uses much less battery than wifi (less power required to transmit, hence the shorter range).
Unfortunately, even though I went through the process in this answer the tablet was unable to see the internet connection via the phone.  The two devices are paired, and I've used the phone's Bluetooth for months to play music in my car.  How can I trouble shoot this and get the connection working?

As noted, the other question linked in the question above is very similar, but for older versions of Android.  I did finally manage to connect my phone and tablet after finding android weasel's answer to this question.  Apparently, the prompts and status messages are poorly designed, but once I understood what I was supposed to see, I got the connection working.  Now, I can tether my tablet to my phone in under a minute, and use the larger screen and keyboard online anywhere I have cell service.

As you mentioned you want to share Internet from Mobile to your tablet using your phone's Bluetooth tethering.
So first lets understand a little bit about Bluetooth services: A device which need to access internet via Bluetooth from other device should have Bluetooth PAN Service (BT Personal Area Networking) installed/enabled. While the device offering the internet should have the Bluetooth DUN Service (BT Dial-up-networking Service) installed/enabled.
How Connection is established:
Device with (with BT PAN) establish a wireless dialup connection by dialing a certain code (#99 for GSM devices & #777 for CDMA devices) required to make use of the modem of the internet providing device (equipped with BT DUN). If all goes well connection is established.
Your Case:
Since most of the mobile phones and tablets are only equipped with BT-DUN Service and not with BT-PAN Service.. Your tablet is not able to establish the internet connection using your phone's mobile data service. But they can however do other BT exchanges using BT FTP (file Transfer) BT Audio (for headphone/voice) etc.
Since most of the PC's and Laptop does have this BT PAN service enabled, they are able to use the BT tethering from devices offering it.
Solution for You:
The most hassle free and easiest solution for you is to use Mobile Phone's WiFi Hotspot for sharing internet to your tablet. this should work well, provided u arent using a illegally unlocked phone (as hotspot functionality gets disabled in some unlock cases like this)
Hope that answer your query. If you still require any help feel free to let us know, we are always here to help :)

As noted in the question, the phone has BT tethering installed, and the tablet is paired and recognizes the phone, allowing me to go through the process in the answer to the linked question.

Obviously I know your phone has BT Tethering Installed.. Thou it was too descriptive, you still didn't even tried to understand what was explained in my answer, about the various BT services & their dependencies. I've marked it clearly with technical facts, why its not possible using it on tablet. As you repeatedly mentioned that "devices are paired" So, dude, pairing is just an allowance from devices to device to be able to connect various offered BT services.
One should think twice before marking a technically appropriate answer as (-ive) that too just because they didn't understood it :(

"why it's not possible using it on tablet."  And you obviously didn't read my own answer above -- which said I got it working after I understood what the check boxes on the tablet side actually did.  There are multiple reasons to prefer BT tethering over wifi from a phone hotspot, and your only solution is to use wifi instead.


text:
Does CPU and RAM affect MTP file transfer speed android?
I am testing an application for file transfer using MTP the transfer speed is getting vary in different android devices. Can anyone help me to know what are the factors that may affect the MTP file transfer speed.

The number one factor in transfer speed is the actual R/W speed of the phone's internal NAND chip.


text:
Android 5.0 FDE stopped asking for password during boot
The settings still says encrypted, but it no longer asks for passwod during boot. Lockscreen password is still there. How did this happen (bypassing encryption)?
Google search indicated this is not unheard of. Imo this is a serious security issue.

Are you definitely still on 5.0? The developer preview for Android N adds a feature where it can boot to lockscreen but not need the encryption password until you want to run apps.

Yes no system update in 2016 so far

Are you using Greenify or some app that uses accessibility services? This blog explains the behaviour you reported, if you are

There is a registered bug report here related to accessibility

Indeed it's caused by Lastpass fill helper, but only on 1 device with android 5.0. My other android 5.0 devices did not have this problem.

Some people claim this can be caused by fingerprint scanner as well.

On other devices, are there any apps that use accessibility ? If not it points to accessibility using apps on your device to the problem. Can you please check and comfirm

All use Lastpass fill helper (accessibility), only 1 has this problem.


text:
How can I disable 'factory reset' function?
This is not a duplicate as I'm not trying to protect it against being stolen. I'm trying to protect it from tech illiterate people that keep resetting it. I basically need to make it so that I can only reset it though the PC. I have root and everything and I thought I disabled anything dangerous to them.
If we don't get any good ideas, can I just set it up to some sane defaults and then just delete the Settings app? (Good thing "Recovery" is protected by a hardware key combination.)

When you say "protected by a hardware key combination", it sounds like the people who are resetting your phone don't have access to the physical buttons. Perhaps your situation is one where [tag:kiosk-mode] would be easier and more helpful.

They don't have access to the combination because they don't know it. It's not like they're actively trying to find ways to mess up the device. I just need to do the equivalent of baby proofing.

Yes, you can disable Settings if you have root.  From a root shell or terminal:
pm disable com.android.settings

Run it again, changing disable to enable, when you want to use it later.


text:
USB reverse tethering - netcfg not found (marshmallow CM13)
I have been attempting to get reverse tethering working on my phone. I have a Galaxy S5 (g900t), running cyanogenmod 13 (marshmallow)...rooted, and with busybox.
*Edit: I've made some progress. I ran this on my ubuntu machine:
sudo ip addr flush dev eth0
sudo ip addr flush dev usb0
sudo brctl addbr br0
sudo brctl addif br0 eth0 usb0
sudo ip link set dev br0 up
sudo dhclient br0

And then I ran this in the adb shell:
dhcptool rndis0

After doing this, I seem to have internet.
I can do wget -s google.com. However, it only works as su.
root@klte:/ # wget -s google.com
Connecting to google.com (4.59.40.99:80)
Connecting to www.google.com (4.59.40.99:80)

2000@klte:/ $ wget -s google.com
wget: bad address 'google.com'

I verified that I can do wget as a regular user when I am connected through cell network or wifi.
So my question is:
Why would I be able to apparently access the internet as su, but not as a regular user? I've checked my ifconfig and route settings, and they all look the same either as su or regular user. Does anyone see what I'm doing wrong?

Config setting printouts
These settings are all the same, whether I run them as su or not.
Here is my ifconfig:
1|root@klte:/ # ifconfig rndis0
rndis0    Link encap:Ethernet  HWaddr 62:91:0C:85:FD:6B
          inet addr:192.168.22.6  Bcast:192.168.22.255  Mask:255.255.255.0
          inet6 addr: fe80::6091:cff:fe85:fd6b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:582 errors:0 dropped:0 overruns:0 frame:0
          TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:62495 (61.0 KiB)  TX bytes:15839 (15.4 KiB)

And here is my route table:
root@klte:/ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.22.1    0.0.0.0         UG    0      0        0 rndis0
192.168.22.0    *               255.255.255.0   U     0      0        0 rndis0

And it appears that my DNS servers are set correctly:
root@klte:/ # cat /etc/resolv.conf
nameserver 8.8.4.4
nameserver 8.8.8.8

I cannot help you with all the command-line setup, but if you are willing to install an app, you could try my app ReverseTethering NoRoot: https://play.google.com/store/apps/details?id=com.floriandraschbacher.reversetethering.free

I just recently stumbled across what seems to me to be a much better (or at least easier) solution for reverse tethering: gnirehtet
It sets up a VPN on the android which redirects all traffic across an adb reverse port connection. Doesn't even require root at all.

I know I'm answering an old question here, but I've run into the same problem with Android Nougat (LineageOS 14.1), and I might as well post the solution I found:
Run the following as root on the phone (through adb) after starting tethering:
dhcptool rndis0
ip rule add from all lookup main pref 99

(the commands to run on the computer aren't in question here; in my case, I had to modprobe usbnet and modprobe rndis-host to even see the usb0 interface, but that's a completely different problem).
The thing is, Android uses a fairly complex routing setup, with different routing tables (see below for a dump).  The dhcptool rndis0 command puts the appropriate routing lines in the standard main routing table, but the main table is only consulted under a rule that says uidrange 0-0 (that is, for root).  What the second line above does is force the use of the main routing table for everything.  This should be undone aftewards with
ip rule del pref 99

This seems to work for me, but I'm not sure how robust it is.  Maybe it subtly breaks something that I didn't realize it would.  Maybe there's a higher-level Android-specific command that's better and that I don't know about.
As a reminder, one can use ip rule show to display the current routing rules, and ip route show table wlan0 to show the content of table wlan0 (say).
For reference, here are the routing rules I found on my Android once tethering was set up:
0:      from all lookup local
10000:  from all fwmark 0xc0000/0xd0000 lookup legacy_system
10500:  from all oif wlan0 uidrange 0-0 lookup wlan0
10500:  from all oif rndis0 uidrange 0-0 lookup local_network
13000:  from all fwmark 0x10063/0x1ffff lookup local_network
13000:  from all fwmark 0x10064/0x1ffff lookup wlan0
14000:  from all oif wlan0 lookup wlan0
14000:  from all oif rndis0 lookup local_network
15000:  from all fwmark 0x0/0x10000 lookup legacy_system
16000:  from all fwmark 0x0/0x10000 lookup legacy_network
17000:  from all fwmark 0x0/0x10000 lookup local_network
18000:  from all iif rndis0 lookup wlan0
19000:  from all fwmark 0x64/0x1ffff lookup wlan0
22000:  from all fwmark 0x0/0xffff lookup wlan0
23000:  from all fwmark 0x0/0xffff uidrange 0-0 lookup main
32000:  from all unreachable

I can just confirm that 'Android 6.0.1' has the same behavior.
USB reverse tethering is only working for user 'root'.
For the user 'shell' it does not work.

USB cable is plugin to PC with Window 7
Enabled 'USB tethering' on the phone
Window automatically installed 'Remote Ndis Driver'
Manually enable 'Internet Connection sharing' on my LAN Ndis(I get the internet from) for the 'USB Remote Ndis'. Doing so Windows assigns 'USB Remote Ndis' the IP 192.168.137.1
^ by this setup on the PC is complete

Now I use "adb.exe shell" to login to android
-> su
-> ifconfig rndis0 192.168.137.2 netmask 255.255.255.0
-> route add default gw 192.168.137.1 dev rndis0
Now test it:
shell@j5nlte:/ $ su
root@j5nlte:/ #
root@j5nlte:/ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.137.1   0.0.0.0         UG    0      0        0 rndis0
192.168.137.0   *               255.255.255.0   U     0      0        0 rndis0

root@j5nlte:/ # wget --s google.com
wget --s google.com
Connecting to google.com (216.58.205.238:80)
Connecting to www.google.de (172.217.20.67:80)

root@j5nlte:/ # exit
shell@j5nlte:/ $ wget --s google.com
wget --s google.com

Here it just hang's wget gives no reply and after some time:
wget: bad address 'google.com'
Update:
In the registry change the ICS setting
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters
ScopeAddress  "192.168.137.1" => "192.168.42.1"
since android uses that as default as you can see here:
    shell@j5nlte:/ $ ifconfig rndis0
    rndis0    Link encap:Ethernet  HWaddr E6:D3:B6:BC:7B:D4
              inet addr:192.168.42.129  Bcast:192.168.42.255  Mask:255.255.255.0
now the only line that's left to enable USB reverse tethering for at least root is:
route add default gw 192.168.42.1 dev rndis0

Now I'm just experimenting with
    ip route
    ip route help
....


text:
How do I enable Direct Boot feature on Nexus 6 running Android N Preview 1?
According to these instructions there should be a "Convert to file encryption" option in Developer settings, but it's not there on my Nexus 6 running stock N Preview 1.  When I try to search for it in the Settings app, it does show up:

click for larger image
Unfortunately, tapping on it simply brings me right back to Developer settings where that option is not found.
The alternative instruction is to reboot to bootloader and issue the fastboot --wipe-and-use-fbe command, but it fails with "fastboot: unknown option -- wipe-and-use-fbe" error.  I am running the SDK Tools version 25.1.1 rc1, and Platform-tools version 24 rc1 from the preview channel of Android SDK, with latest fastboot utility (version 102d0d1e73de-android).
I performed a complete wipe (system and userdata), and flashed all the NPC56P images manually (bootloader, radio, recovery, system, cache, userdata.)  The phone is encrypted, Screen lock is set to "PIN", and Secure start-up (requiring PIN before boot) is enabled.
Is this feature simply not available in Preview 1 and/or Nexus 6?  How can I enable it?

Are you sure the fastboot you're calling is the one from the new SDK you installed? I've been caught out before by having two fastboot binaries of which the older was the first on the path.

@DanHulme I am fairly certain that I am running the latest preview version of fastboot.  The current stable one (rev 23.1) doesn't even have a "--version" switch, whereas the preview one (rev 24 rc1) does, and reports it as "102d0d1e73de-android".  I have only one fastboot.exe installed on this machine, and just in case I navigate to the installation directory in Command Prompt before issuing the commands.

No idea of Android N. So a very humble opinion. disable system level encryption first and then go for fbe. might work.

@IftekharAS System-level encryption cannot be disabled on stock Android 6.0 and above.  On Marshmallow and N the phone gets encrypted by default, and the only way to remove encryption is to use a custom kernel.

I'm afraid that in Preview 1 this is only available on the Nexus 5X and the Nexus 6P. In Preview 2, support for the Pixel C is added. No other devices are supported at the moment. Sorry!

That's a bummer. Any source for this information?

I'm not sure where it's been publicly stated. But the option only appears in the developer menu if it's supported on the device.

To be clear: source is me, just now; I'm very closely involved in working on this feature, and I just checked our source tree.

Thanks for the information, @PaulCrowley. Is the feature going to be rolled out to all devices (that get updated to N) eventually?

Definitely you are using old version of fastboot.Please use newer version of fastboot of Android N.It worked for me.
You can check various option available with your fastboot.
fastboot --help.
--wipe-and-use-fbe                       On devices which support it,
                                           erase userdata and cache, and
                                           enable file-based encryption
But it does not enable file encryption for me after executing the above command.

I tried this. Was successfully able to --wipe-and-use-fbe but my internal storage was left unencrypted. I encrypted it again from settings > security, and it encrypted. However, this is the usual entire partition encryption and not the file based encryption. Did you get it to work?


text:
Android Encryption
If I encrypt my phone i know it will protect my data, however if for example my phone is stolen or lost, the person with it, would they be able to just hard reset it and use it or resale it, or encryption renders it unusable unless you get the pass code?

What you describe is nothing encryption can protect against. Encryption protects your data; although FRP (factory reset protection) requires to enter the login information of the last owner (you) before you can use the device again. However there are many ways to bypass this so even this won't protect your phone.

If your encrypted phone gets stolen, person with it can factory reset and erase all your data permanently.
But if he tries to resale it, he has to overcome factory reset protection, which will ask for previous owners info. Unfortunately, by many ways this can be bypassed unless you are on latest security patches and updates.


text:
ES Chromecast Player no longer works for ES File Explorer
The brilliant ES File Explorer has been my go-to app for quite some time now. I particularly liked using it for Chromecast. However the ES Chromecast Player has recently stopped working for me.
When I select ES Chromecast Player the screen goes black and I no longer get the dialog popping up that allows me to select the device to cast to.
I've tried uninstalling both the ES File Explorer and ES Chromecast Player apps and then re-installing them, but the problem still persists.
Any idea what the issue might be, or things I might try to fix the issue? All other apps are still able to cast to my Chromecast device.
My device is a Sony Xperia Z1 Compact. The device is not rooted or anything like that.

Please see this new article 2017/02/10 10 most useless apps and games for Android. Most prominent, but specifically named in the list: ES File Explorer (along with quote-Booster apps, Anti-Virus apps, and Task Killers-unquote)

This is an issue with the app's latest update, and the developer has to fix that. Other users have got this issue too. (Play store reviews)

Interesting, when I originally encountered the issue no-one else was complaining via reviews and I found old posts from way back by people with the same issue so I figured it was user device / setup related. Thanks for prompting me to look at the user reviews again.

The addon ES Chromecast seems to have been removed from Google play. I also failed to install it from APK for Android 9.0. Any idea how to make it working?


text:
Is there a way to determine what mobile network frequency band is in use?
I use a Nexus 5X on T-Mobile's network in the United States. Is there a way to tell what frequency band is in use when using LTE? A Sony Xperia Z3 compact also on T-Mobile is unable to use LTE in many situations where the Nexus 5X can use LTE. I suspect it may be that the Nexus 5X has support for frequencies that are not supported by the Z3 compact, but I would like to see what is in use.

The LTE Discovery app can give you this information.
Incidentally, your specific situation is likely a result of the 5X supporting band 12, and the Z3 lacking it. This tends to be relevant in situations where reception differences are significant (one device with service, one without) because band 12 is T-Mobile's only low-frequency LTE band, meaning that it penetrates buildings better and will cover wider areas more effectively.

BTW, do you know if it can detect LTE bands supported by phone?


text:
Password not working?!?!
Ok this is so frustrating... The Problem im having is i set a new password on my note 5, the password will work to get me into the phone but i want to change it to fingerprint but when i go into setting and Screen Lock Type is asks for current password so i put my password in it says incorrect... I have put in like 15 times making sure i haven't messed it up! Like why would it work to get me into the phone but not to get it to change lock types im so frustrated! I have restarted the phone and nothing! any help would be appreciated!

Does it ask for a pin or password? If needed you can also unlock it with your Google account.

It says enter your current password and then it says incorrect when I use the same one that unlocks the phone? How do I change it with my Google account? I tried android device manager already if that's what you meant, it says they have verified that it has a password already so there is no need to for the new one...

If you enter a wrong password on your lockscreen for about 5 times, there should appear a "sign in with Google" button. Then the lockscreen will be disabled.


text:
How to edit /system/bin/lpr in Samsung S4 i9295 running 5.0.1 Lollipop
How do I edit /system/bin files in Android since after 4.x? Has something changed? I seem to recall just opening the file playlpm on the device in a text editor and seeing and making needed modifications thusly:
#!/system/bin/sh
 /system/bin/reboot

Now I am seeing black diamonds with question marks and unintelligible character strings. What's changed here? Are these shell scripts compiled?!? Have I spaced out an important step? TIA for clarification.
PS...device is rooted, browser is Root Browser v2.2.3, and test editors I've tried are RB Text Editor, and DroidEdit.

If an editor displays weird characters, that means your file is compiled (e.g., a binary, not a shell script).

Yeah, roger that, but they were editable in a text editor prior to 5.x , correct? There are lots of posts about editing /system/bin files by what appears to be simply opening them and changing code with a text editor...I'd just like to confirm that something has changed w/out having to load a 4.x ROM. Thanks.

As said above, /system/bin can contain two different types of files: shell scripts (editable via a trivial text editor) and binary executables (compiled, can be edited via an hex editor).


text:
Can't reroot my K3 Note
I installed a rooted Android 6 ROM on my Lenovo K3 Note. Then I unrooted the phone. Now I want to reroot it, however it doesn't work. I have tried flashing all sorts of version of SuperSU in TWRP and they all claim to install fine but every time I reboot the phone and test if it is rooted it fails. The SuperSU app says "there is no SU binary installed". I have tried wiping the cache/dalvik. Like I said, I tried various versions. I don't know what else I can possibly do.

Have you tried different methods of rooting your device, like Framaroot, Kingo Root, etc. ?

I did try Kingo Root. Wasn't compatible.

I used to have the k3 right before I bought my 5x.  So here's what I would try if I were you.  First, when you're in twrp, are there red bars on the top?  Like in the menu is most stuff red instead of blue?  If this is the case then you need to relock and unlock your bootloader.  Twrp is unusable and it means something along the lines that your bootloader is messed up.  Reflashing twrp or another recovery won't fix it.  If you dont have red in twrp, then I would try this forum.  It's a guide on how to root manually, and it will definitely work on whatever rom you are using and you won't need to flash a new one.
Good luck.
-The 14 year old androider

There was no red in TWRP. The link you sent me to is basically exactly what I have already attempted except using CWM instead of TWRP. Maybe that would work but who knows. I gave up attempting to reroot the existing ROM and ended up flashing a new rooted ROM. So I guess this will remain unresolved.


text:
USB Ethernet on Galaxy S6 without root
On a stock Verizon Galaxy S6 running 6.01, I'm able to connect two different USB Ethernet devices by way of a USB OTG adapter cable.  One is a generic USB hub/Ethernet combo.  The other is an Apple USB Ethernet adapter.
Both of these devices seem to work with the drivers already built-in.  I found an app on the Play Store that does nothing but dump the output of ifconfig.  After plugging in the devices, I see them show up in eth0.  (In fact, I can even plug the Apple adapter into the hub side of the other adapter and get eth0 and eth1 simultaneously... the phone powers them both.)  I also get link lights on my generic adapter.  (The Apple adapter doesn't have link lights.)
It's clear that the interface is brought up, but it seems DHCP client isn't running for these adapters.  After reading around, many folks suggest tips for assigning an IP and setting up routing manually.  There are also several apps for doing this, but all require root.
I know it's a long shot, but is there any way at all to enable the DHCP client on eth0 without root, on this particular device?  The hard part of getting drivers in place seems to be already done.  The adapters are working, I just need the network stack up and running.

The usual dhcpcd and dhclient programs need to be run as root, unfortunately. How about restarting the phone with the adapter plugged in? (Perhaps the OS only runs a DHCP client on interfaces detected on boot)

@Piskvor Excellent idea, I haven't tried that yet.  I'll give this a try once I find my adapters again.  Thanks!

Tried on S5, doesn't work there :(


text:
YouTube updates not showing up
I have the YouTube app built into my device but the problem is when I open the YouTube app, there's always a reminder to get that latest version of it. When I click that reminder, it directs me to Google Play, and there is no update button there. It isn't showing on the My Apps list too. How do I update the YouTube app now?

Try clearing cache of Play Store and Youtube. You could also clear data to be sure, but you might have to log in again in that case

you may also try going into Settings app and choose YouTube app. And try to "Uninstall updates" option. Note that, doing this will REMOVE your Offline videos from YouTube app which you may have downloaded earlier.


text:
How can I block incoming connections?
I've been looking for a firewall app for Android for a couple hours now and all I could find is apps that only let me block outgoing connections (for specific apps). Is there any way to set which incoming connections and on which ports should be allowed/denied (something like Inbound Rules in Windows Firewall)? I'm OK with with the app requiring root.

If you don't mind with the solution not being an app, then you can use iptables. They are included in the AOSP kernel. You can access them by downloading a terminal app off of the app store. You might however need root for this.
The usage of iptables on android should be same as the ones on desktop Linux, so you can look up some GNU manual for it.

It's simple to achieve with iptables; thanks to Linux kernel. Since Android uses default policy ACCEPT, drop any unwanted packets. For instance you want to allow port 22 and block all others:
~# iptables -N MYCHAIN
~# iptables -I INPUT -j MYCHAIN
~# iptables -A MYCHAIN -i lo -j RETURN
~# iptables -A MYCHAIN -p tcp ! --dport 22 -m conntrack ! --ctstate ESTABLISHED,RELATED -j DROP
~# iptables -I FORWARD -j DROP

This will also block incoming connections from tethered devices on hotspot network. You can exclude those, see this: Is There A Mobile Hotspot App With A Firewall to Block Incoming Connections?

Note that, on older Android Linux kernels, (for eg; mine is kernel 3.10.xx) the match state, -m conntract --ctstate should be -m state --state because conntrack wasn't implemented yet on older linux kernels. Conntrack is a bit advanced than state, as conntract uses more granular forms to match packets.


text:
How to toggle USB debugging on?
My phone says failed to validate boot image. I need to flash it with stock or custom rom but my usb debugging is off. How to toggle it on from outside coz my phone is dead now , it goes nowhere from fastboot screen.
When I switch on my phone [moto e], it is going into fastboot mode instead of normal powerup. And it says
hab check failed for boot
failed to validate boot image
Fastboot Reason: Fall-through from normal boot mode
Except that my touch and display is fine.
what to do now??
-thanks for replying

Please mention your device details.

You don't need USB Debugging to flash anything -- that controls ADB access while the phone is running.  What issue are you encountering with flashing from recovery or fastboot/download mode?

@MatthewRead      My phone is not listed when I type 'fastboot devices' in fastboot cmd prompt after connecting to pc, so cannot go further to flash recovery img.....usb drivers are updated, doesn't  it need usb debugging to be enabled??

That sounds like a connection or driver issue.  Assuming you're using Windows, run Device Manager and ensure that your phone is listed there without the yellow error symbol and that there are no unknown devices.  (For OS X see here and for Linux run lsusb).  You may need to try a different USB cable or port.  Try also manually booting into Fastboot with the key combo (see the first 4 steps under the Step 4 section here).

Go to http://forum.xda-developers.com/showthread.php?t=2759495
It shows you step by step how to recover from brick, also on this site you will find all you need to fix your phone


text:
WhatsApp frequently sleeping
I have three Android devices:

Lenovo A7000 with Stock ROM Lollipop 5.0
HTC Desire 620G with Stock ROM KitKat 4.4
Samsung Galaxy Tab 2 with custom ROM (Resurrection ROM) Lollipop 5.0.2.

In all these devices, WhatsApp sleeps frequently when the screen is off. When I turn on the device screen and use WhatsApp, I am getting messages normally. But when the screen is off after a short span of time, it stops receiving messages. I need to turn on the screen and open WhatsApp to start getting the messages. Then a bunch of messages will be received.
I am facing this problem in all three devices in both Wi-Fi and mobile networks. My Wi-Fi network is fast enough (40 Mbps) to receive messages at an instant and mobile networks are decently fast (>3 Mbps).
In WhatsApp Web, I am getting Phone Not Connected yellow messages when I turn the screen off. After researching on the Internet, I learnt this may happen when the device enters power-saving mode or when background data is restricted. But in my devices, I never turn on power-saving mode and never restrict background data too.
Any other reasons? For this reason, I have changed the screen timeout to 30 minutes and left the WhatsApp open. Is this an app bug or some other problem?

It's common. I've tried all sorts and still don't receive messages until I manually turn the screen on.
The only thing I can think of is using Wake Lock - PowerManager.
May use a little battery but will fix your problem

The app does not resolve the problem mentioned above.

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


text:
No SIM detected after installing CM13 nightly on Galaxy S III (AT&T) SGH-i747
After CM13 was installed on my Samsung Galaxy S III, I faced unstable camera and browser and whenever I attempted to turn the cellular network on, I received the following error:

Unfortunately, the process.com.android,phone has stopped

I put the SIM to another cellphone and didn't get the earlier mentioned error. I asked AT&T to provide me a new cellphone and got the same error after I inserted the SIM card onto the device.
What I already did:

I did wipe phone, SIM and contact storage cache and data in two different ways,
I did delete Phone folder and Sim Toolkit
I did dial and type *#*#3646633#*#*,
I did disable Automatic Time Zone
I did factory reset the phone many times,
I did flash it again with following list:

cm-13.0-20160402-NIGHTLY-d2att
twrp-3.0.1-0-d2att.img
modem_CWM_I747UCDMG2
Odin_v3.09

I would greatly appreciate it if you kindly advice me on what I can do to get my cellphone running back again.
My device is Samsung Galaxy S III (AT&T), device model SGH-i747.


text:
After upgrading to Android 6.0.1 (Marshmallow), can't send or receive SMS texts?
After upgrading to Android 6.0.1 (Marshmallow), I can't send or receive SMS texts.
I'm on a Galaxy S6 on Verizon. I tried rebooting in Safe Mode, disabling Google Hangouts, uninstalling Mighty Text, with no change in status. I used Samsung Messages, Google Messenger, all with no results. I don't have permission to edit my Access Point Names.
Help?

I had the same problem. I fixed it by doing this:
Go to Settings -> Privacy and Safety -> App permissions -> SMS
Turn off the Messages app and turn it back on.

Unfortunately I had to factory reset my phone in the meantime, so have been unable to check if the above worked! Shoot.

Settings>Privacy and Safety> App permissions> SMS> more (top right corner)> Show system> and finally turn on Message service. Helped for me. ;)

I Found the problem on my phone, uninstall all other messaging apps like (whats app,Telegram, imo , Facebook messenger ... ) then your phone starts to work, mine was Telegram app that cause the problem .


text:
My device isn't booting after moving an app to /system and then uninstalling it
I have Huawei p8 lite ALE-L21 dual sim running Lollipop. I downloaded an app called Game Killer which I converted to a system app.  It didn't seem to work so then I deleted it by using link2sd. It asked me to reboot the device, and afterward it was stuck on the Huawei welcome screen. I thought it would need some time then open, but it's been like this since yesterday. I tried so many ROMs but non are working. Does anyone know how to I could fix my device?

Could you add more details about what ROMs you tried, and how you installed them?  Flashing the stock ROM ought to have fixed this issue.

Did you try to hard reset your phone after installing the ROM? Turn your phone off and press volume up and power key until the device starts. Then factory reset it. It may help.

First, plug it into a computer and see if you can connect to it and pull stuff you might need off of it, although I would hope you have photos and contacts already backed up. If it won't connect to your computer, I'm not sure what to do about that.
Does your phone have a recovery menu? I don't know what ROM you're running, but this page here details how to boot into it, or find specific instructions for your ROM or phone, which I would expect to be in the manual or online. If you can get here, try resetting to factory settings.
If it did connect to your computer, wipe it clean through the recovery menu or otherwise and flash either your ROM or stock on to it.
If you can't connect it to a computer for one reason or another, you might be able to load a ROM onto your SD card and flash that from recovery, but no guarantees on this.
And if you haven't, try restarting it once more.


text:
BQ Aquaris X5 - Unable to mount sd card rw via USB
I just bought a new Aquaris X5 with Cyanogen OS from BQ and inserted the freshly formatted sd card into the phone. When I am connecting the phone via USB cable with my Fedora laptop, I am able to view the contents of the SD Card, but it's impossible to write files there. The card is freshly formatted but Cyanogen OS created some folders there:

Android
LOST.DIR

For testing purposes I connected the phone to a Windows 7 Laptop -> same result, but of course a less verbose error message. This is the error message from my Fedora kernel:
[ 4699.538538] sd 7:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 4699.538543] sd 7:0:0:0: [sdc] tag#0 Sense Key : Medium Error [current]
[ 4699.538546] sd 7:0:0:0: [sdc] tag#0 Add. Sense: Write error - auto reallocation failed
[ 4699.538549] sd 7:0:0:0: [sdc] tag#0 CDB: Write(10) 2a 00 00 00 08 01 00 00 01 00
[ 4699.538551] blk_update_request: I/O error, dev sdc, sector 2049
[ 4699.538554] Buffer I/O error on dev sdc1, logical block 1, lost async page write

In Cyanogen OS I configured in the Settings -> Storage menu that the Phone should be connected as a Mass Storage Device (UMS). When I change the connection type to MTP device I am able to correctly transfer files to the phone. I am also able to create new folders and files with the file manager on the phone. So there is apparently nothing wrong with the SD Card and hardware of the phone.
Any ideas how to fix this? Help would be greatly appreciated!

Under Linux, use the tool gMTP (available from the standard repos of most distributions as package gmtp). Then it works. I also have a Aquaris X5 with Cyanogen OS.


text:
Samsung Galaxy Note 10.1 went from functional to completely dead in 12 hours
My Samsung Galaxy Note 10.1 tablet was working normally before bed. When I woke up, the screen had gone to just grey stripes like a bad test pattern, and I couldn't turn it off whatever I did, so I left it on hoping it would drain the battery and then I could restart it. However it won't turn on whatever I do now.
I have been charging it for days and it's completely dead. Samsung said they thought it was the power cable, but that doesn't explain why it cannot turn on and the grey stripes.
I have pretty much kissed it goodbye but need photos and other files off it, any ideas?

Welcome to [android.se]. This is a Q&A site best for specific question. As of current, I read about 3 interrelated issues here: power, screen, and data recovery. This make this question too broad, so could you clarify which one do you want to have answered first? You can browse some existing questions on [tag:data-recovery]. Otherwise, please ask each specific issue on separate post.

You could try changing the battery, but that might not solve the problem.
When I had similar problem, there was nothing I could do about it, because the charging unit inside the device was dead. But I'm sure it has something to do with the battery, your best option would probably be sending it to a help / service / repair center...


text:
My phone is lost how do I track it?
I can't get in to my Google account because I can't remember my password.
I can't get a password changed as it won't send to my Gmail.
What can I do?

Do you have the password to your Gmail saved in your browser on any PCs that you use?

Also, for a starter, see our lost-phone tag-wiki.

You can't track or locate your phone without access to your Google account, or unless you have some 3rd party recovery software that you would have had to have installed previously such as Where's My Droid or Find My Lost Phone!. But again, you would have had to have these installed previously to losing the device and not having access to your Google account. There are some ways to push an app and install it remotely, but those require access to your Google account, and if you have that you could just use ADM.
Your best bet is to use Google's Account Recovery system and once you have successfully logged into your account then access Android Device Manager in an attempt to locate your device.
And just for future reference, if you setup a Google account ALWAYS setup the account recovery options or going through the Security Checkup as soon after account creation as possible


text:
Will charging a phone with a different USB *cable* affect the battery life?
I recently realized that I've been using the wrong USB cable to charge my Moto X Play(2015) for probably a couple weeks. The phone is specifically designed to charge very quickly with its' default charger, and I've been feeling like the battery life has dropped slightly over the past week or two (roughly the duration of time that I would have been using the wrong cable.)
I was using the correct wall-plug, but the wrong USB cable. I'm hoping that the chip to control fast-charging is in the wall-plug and that the cable wouldn't matter, but again I feel like the battery is dropping faster now than when I got it only a few weeks ago. Not by any great margin, but enough to be frustrating, considering it's my own stupid fault.
If anyone has any idea whether this would cause any damage to the battery, I would really just like to know for the future. Feel really stupid, the only reason I got this phone was for the large battery capacity it has.

Beshyams provided a good answer already. For additional details, also see our charging tag-wiki.

Moto X Play supports fast charging, though this review says a fast charger is not supplied with it, maybe they supplied it subsequently
Fast charging needs to be supported by the USB cable as well. The D+ and D- pins of the cable negotiate the charging voltage and current with the device, in tune with the charging circuitry in the charger (see Overview of USB Charging for more details
If a cable/ charger that does not support fast charging is used, there is no harm caused -  charging will be normal charging instead of fast charging. In the case of cable, it is because it may not be designed to carry adequate fast charging current, which is usually higher than normal charging

Additional Information  you may like to refer:

How does fast charge work
How to choose micro USB cable for my device


text:
How to mount external SD card at a fixed path in CM13?
In Marshmallow (and consequently in CM13), the external SD card is mounted at a path that contains its serial number. I have a bunch of Tasker tasks, the occasional script, and lots and lots of apps configured with a specific path to the external SD card (in my case, /external_sd because that's where it was in CM12).
Is there anything sensible I can do about this change in Marshmallow? Fixing paths everywhere just because I've upgraded to a faster/larger SD card (which has a different serial number) is not going to be fun.
How would I go about making the external SD card available under "/external_sd" on CM13/Marshmallow?

I've found a reasonably easy way to do something close enough: just set the volume serial number to something fixed. This is easy enough for FAT32-formatted SD cards: just use Sysinternals VolumeID:
D:\>vol D:
 Volume in drive D has no label.
 Volume Serial Number is 07F5-432C

D:\>volumeid D: ECAD-ECAD

VolumeID V2.01 - Set disk volume id
Copyright (C) 1997-1999 Mark Russinovich
Sysinternals - www.sysinternals.com

Volume ID for drive D: updated to ecad-ecad

("ecad" for "external card" but there are other possibilities, of course)
Now my external SD card is mounted at /storage/ECAD-ECAD, which is easy to remember for typing in those apps which don't let me pick a path, and more importantly, can stay the same when I upgrade to a faster card, for example (if I repeat this procedure).
The only complication is SD cards larger than 32 GB, which Windows refuses to format into FAT32. The best tool to work around this is Rufus, an open-source tool with a focus on bootable drives, but it can also just format a large FAT32 drive.

Another option would be to use a init.d script to re-create the sdcard link.
#!/system/bin/sh

SERIAL=`ls /mnt/media_rw/ | head -n 1`
FULL_PATH="/mnt/media_rw/$SERIAL"
SERIAL_LENGTH=${#SERIAL}
LINK_NAME="/external_sd"

if [ -e $LINK_NAME ] ; then
    echo "Link already exists!"
elif [[ $SERIAL_LENGTH -lt 1 ]] ; then
    echo "Badly formed path!"
elif [ ! -d "$FULL_PATH" ] ; then
    echo "SdCard path not found!"
else
    mount -o rw,remount /
    ln -s $FULL_PATH $LINK_NAME
    mount -o ro,remount /
fi

This script assumes:

that init.d scripts aren't being blocked by SEAndroid,
that your device needs to be turned off to change the sdcard, and
that it only has space for one sdcard.

I assume the reason for the introduction of serial numbers in the sdcard path is for devices with space for more than one sdcard.


text:
Adding a status bar UI lollipop 5.1.1
I'm quite new to modding android UI.I recently bought an android tv box, the firmware doesn't have status bar enabled, is there any way to create one or port one from another rom and which of the system file would I need to modify to do the job? It's just a stock 5.1.1 firmware but has NO pull down or status bar.
Any help very much appreciated
Andy =)


text:
Problem related to pictures not displayed in gallery
In mi note prime pictures downloaded from any media like whatsapp are not displayed in gallery but are present in system and are shown in file explorer

If update for gallery app is available, then update it.
Else go to > setting > apps > gallery app and clear the data and cache.
And then open the gallery app.

Possible duplicate of How do I make older images in my /sdcard/DCIM folder show up in Gallery?

The answer cannot be absolutely foolproof, but, since you mentioned media files downloaded from WhatsApp as your example, I'll tailor my answer against that specific issue.
Now, there does exist a file whose behaviour is to act as a flag. Whenever said file is put into a folder containing media files, such media won't be indexed by a gallery-type of app.
This flag's name is .nomedia, and, as the period at the beginning of its name implies, it's also invisible by default. It can, logically, be created even from an app, it consists of a mere blank file, and its simple deletion (as tested by myself on a CyanogenMod 12.1) won't make the stock Gallery display the media previously hidden by it flawlessly (in my case, I needed to reflash the whole firmware).
There does exist a gallery that is able to ignore a .nomedia file, though: its name is QuickPic (and my intent is not to advertise, but to explain a way of resolving the issue that avoids a complete reflash: wiping the stock Gallery's data won't suffice), and, if you search in its settings, you'll be able to display every single folder containing media files, even those potentially unwanted, such as profile photos and avatars.
Summary: if your gallery does not display a media you know to exist, use a file manager to check if a .nomedia file exists in the same location. If it does, and you wish to view such media, either reflash your firmware (hard way), or try another gallery app (soft way).


text:
Max SD Card Size For Note Edge
I have a 16 GB SD Card in my Galaxy Note Edge and only have 1GB of storage left.  I read that some Android devices can only hold up to 32GB - can my phone support the 64GB card?

Yes
Galaxy Note Edge SM-915G user manual says

Your device accepts memory card with a maximum capacity of 128 GB

Also in this review (S6 Edge+ does NOT)

Samsung does offer a 128GB option for its Galaxy S6 and Galaxy S6 Edge


text:
App´s won´t install even if I have the default writing location set to the SD Card
I recently bought a phone with the horrible android 5.0 Lollipop. Now I regret I ever bought it. I have some major issues with the playstore and the gallery.
First of all I cannot download any app, I´ve got an SD card and have it set to be my defualt writing location, it has over 1 GB of free space left, all the big apps like facebook and whatsapp are on the SD card but it still will not let me download any app. Everytime I try download an app even if it is just
3MB in size.
Then the gallery.... I don´t know what they were thinking but they removed the almighty "move from album to album" function.... smart move..
Does anyone know how to fix these problems? otherwise I'm just going to downgrade to 4.0 which will feel like an upgrade in this case.

Sounds like you have a good plan! Just make sure you either: a) disable stagefright in your build.prop file, or b) use Textra as your default SMS messaging app, and you'll be just as secure as everyone else. (Btw, why 4.0 instead of 4.3 or 4.4? If you can find a 4.0 ROM I'd be surprised.)

May be you need to update Google Play Services. You can do this through the Google Play Store.


text:
Can I set the labels in Inbox to show the number of unread messages?
I use many labels with GMail, and I filter messages so they appear unread under the labels but skip my inbox. In the GMail navigation drawer (the left menu), each label shows the number of unread messages. In Inbox by default, the labels provide no information about unread messages. Is there a way in Inbox to display the number of unread messages for each label?
This remains a problem with Inbox 1.37 (142224063) running on Android 7.

I don't know if this is what you're looking for, but each label shows it's number of unread messages. The problem is, that it shows them after the name. So if the label name is too long, you won't see the number.
Also, the label name changes to bold if you have any unread messages in it. And there is an option in settings, that sends to the top of the list any labels that have unread messages.
Hope it helps.

This answer is not helpful. My Inbox application does not show unread message counts for custom labels, even for short labels (3 characters). No labels show as bold, regardless of the presence of unread messages. In GMail, the labels do show counts. There is no indication of where the setting in Inbox is to move labels with unread messages to the top.


text:
Can't find music purchased
Had a Motorola x phone which was defective.  Lost over 100 songs purchased through Google  play. I now have a Samsung  7 edge.  How can I find these purchases and download  them on this phone?  Please, please, please  help.

You use the Google Play Music app available from the Play Store.  You should be able to sign right in to it and access all of your songs and playlists right away.

(just make sure you use the same username / credentials as you did on the last phone)

Hadn't  thought of  that. That might  be  my problem. Thank you  so much


text:
Change adopted storage to a larger storage?
I have Shield Android TV device. Everything was working well until I decided to adopt an SD card following Android 6.0 release. Everything still works mostly well, a little bit slower but OK. The problem I have is with the applications which need to write/read a lot of data.
I'd like to buy a faster external storage (probably an external SSD USB drive) and adopt it. Is there a way to clone the SD card to a new adoptable storage without resorting to moving everything from the SD card to external USB drive, changing the adopted storage and moving the data back? I'm not sure will it even work?

Afraid nobody has tried that yet. One of the drawbacks of adoptable storage is you cannot easily replace the card (see our adoptable-storage tag-wiki) – especially not if you need more room and want to use a bigger card. Your case might be different, though, if the new card is faster but of the same size. Do you have a Linux machine available, where you could attach the card using a card reader? If so, you might be able to use the dd tool (disk duplicator) to create a bitwise copy and write that to the new card.

I can install a virtual machine, no problem. I'm not sure if that will work with the external USB SSD drive. I was hoping that at least I can use Shield to copy the files to USB and back to new adopted storage but I can't find if anyone tried that procedure. The more I'm reading about adoptable storage I'm realizing how bad idea it was to include it in Android in its current form.

Well, I wouldn't use it at all – but that's a different thing. As copying file-wise is unlikely to be successful on restore (how will you ensure a "consistent snapshot" with the system running?), a "cold copy" might be the better approach. Here my theory: shutdown the Android device, pull the card, put it into a card reader, attach to PC. PC won't mount it ("unknown file system"). Do a dd of the entire card (e.g. dd if=/dev/sdc of=sdcard.img, then restore that to the new card (swap if/of). Put the new card into the device, boot. If it doesn't work, you still have the original card.

I tried the same method (as Izzy described) and it failed. I'm using ad sd card of same size yet after inserting the 2nd card (Samsung EVO) the system was complaining about not finding the old card (Sandisk). Do you have any clues about what else I need to do so that it works for me too ?

I tried the dd method as described by Izzy and it worked, the new sd card is recognized as the same adopted storage and all the apps and data is available.
However there are two big caveats:

the dd command creates an exact copy so even if your new card is larger than the old you will still get the same size for your drive and some empty space after that. Say you go from 16GB to 32GB, on the new card you will get 16GB adopted storage and 16GB free space.
It took ages to complete, especially the second step. Much longer that would have taken doing a manual backup/restore.

So even if your mileage may vary, I wouldn't recommend cloning in any case.


text:
HTC One M8 Network Name
I have a verizon HTC One M8 running Android 6.0.  I recently noticed that the network name that appears on my routers DHCP list for this device is "X2E GmbH".  I confirmed that this device is indeed my phone by comparing the MAC address, but I can find no information where this network name came from.
This seems awfully suspicious as the first result for X2E GmbH on google results with a German company which sells datalogging equipment. This is not a rooted phone, so it seems more likely that the network name change may have come from something malicious within my computer network.
Does the network name originate from my phone?  What should a default network name be?

Could you verify that Settings -> Developer Options -> Hostname (at the bottom normally) shows the same value? If you don't have dev options enabled, go to Settings -> Device Info and rapidly click the build number a few times. Then go back and check the developer options.

I can access the "Developer Options" menu, but I can not view the "Hostname" value.  From my research, it is because this is not a rooted phone. @ionree

Good point. At this point I think I can only do research myself, and you seem to have done plenty yourself. Here's just what I'm thinking: It seems to be impossible to change the hostname without root. This leaves two options: Something secretly backdoored root access, or something on your network is spoofing your device. The latter is more likely, yet also more scary. Try changing your WiFi password, restarting the router and only connecting with your phone.

One last thing: X2E GmbH seems to be a german company specializing in AUTOMOTIVE data logging, that probably being hours/distance driven by truck drivers etc. That makes this whole thing even weirder.

Install Elixir 2 -> launch it -> go to Information -> Wi-Fi (under device tab) -> More information. Now, what do you see as Hostname?

Interesting, it appears you are right.  I assumed there was a bit of a translation issue and that Automotive ~ "Automated" and that BUS was in the sense of serial bus, not school bus.  Seems like a legit company despite the lackluster website design (also suspicious).
I concur that it couldn't have come from the phone.  I have checked my DHCP lease log and it shows what I expected to see for hostname: "android-xxxxxx..." @ionree

@Doug Ah, good call on the log. At least now we know where not to look. Are there other people using your WiFi or should it be just you? PS: Being fluent in German, I can assure you it's not a translation error.

Elixir 2 shows the hostname as expected: "android-xxxxx..." Time to start digging through my network @Firelord

@ionree All connected devices are accounted for.  My phone, which appears with the client name "X2E GmbH" in the DHCP list is the only device connected on the 5GHz band.  I can watch it disappear/reappear when i turn off/on the Wi-Fi on the phone

@Doug I'm trying to find out how feasible it is to kick all devices and gradually reconnect, as this would be the fastest way of locating the cause.

@ionree LINK It appears someone else had a similar occurrence.  We have the same router, and I did recently (3 weeks ago) update to Marshmallow.  I can't think of any logical reason as to why any sort of update would change the client name to an arbitrary company name (unless a clever programmer at google inserted a few fun lines of code)

Ok. I have figured it out. I've learned quite a bit trying to figure this out, I don't have all the details but here is my Hypothesis:
I believe it is a bug in my router. The router performs a search on the IEEE Standards website to look up the manufacturer of each device based on the first three "octets" of the MAC address WIKI. The first three octets (xx:xx:xx) of the MAC address are unique to the manufacturer of the device. For me, my phone is HTC and so the first three octets for HTC are "50:2E:5C". The router must have a bug where it is doing a search and pulling the first manufacturer from the result and using that manufacturer name as the "Client Name". For instance, for my device: Example you'll notice the first hit is "X2E GmbH" which is what my phone is showing up as in my Client List. I don't know why only the android device seems to have the Client Name replaced by this result from the IEEE lookup and not other devices (as all the manufacturers are incorrect, but the client names are correct), but I think it is enough energy spent solving this mystery.

From my experience of messing with DHCP, normally clients communicate back and forth with the router a fair bit to prove their identity and whatnot. On android, this behavior is sometimes absent, which may contribute to what you're seeing.


text:
Micromax Canvas 2 Restarting Problem. Show modem log on the way?
I got sick of this.
Whenever i restart my phone it shows "Modem log on the way". I don't know what type of log they are but it creates a folder in my internal storage named "mtklog" which contains some other folders like "mdlog","mobilelog" and "configlog".
The size of these folders are approx 1GB. It gets all over my internal storage. If i delete this folder or stop the process "Modem log on the way", my phone doesn't displaying any contacts and call logs.
And the most important thing after this so called "log" process gets over the contacts in my phone memory gets duplicated.
Please help if any one has solution.
Thank you.

Did u try disabling it from System UI Logger screen ?

yup if I disable the logging my contacts are not displying

Try this,
     formating your device that will solve your problem regarding to      restarting device sucessfully.
I hope above solution will help you.


text:
Unexpected system app battery usages
Today, I have noticed that, an application named kworker/u:4 using phone's battery. I haven't seen this app before on battery usage section. Also, I have noticed kswapd0 application using battery, last week. Are they normal operations?
I am using unrooted Xiaomi phone.

Yes, this is completely normal (although on Android you would expect it to be combined with the "System" usage).  See Kworker, what is it and why is it hogging so much CPU?

"kworker" is a placeholder process for kernel worker threads, which perform most of the actual processing for the kernel, especially in cases where there are interrupts, timers, I/O, etc. These typically correspond to the vast majority of any allocated "system" time to running processes.

Similarly, kswapd is responsible for managing some kernel memory swapping; you may have seen this because your were running low on memory at some point.


text:
2 step verification fears
My company have set up all of their shared work via Google apps. They are now insisting on everyone setting up two-step verification. I am a freelance and although they want me to share via Google, I have other Google accounts that are personal and for college that I can't risk losing access to. The main issue is with emails on my phone, but I'm worried about the whole safety of these personal accounts should I leave my firm/lose my phone. I understand they can just block accounts. Is there any way of separating the accounts out?

The 2 step verification process does not affect all the accounts in the mobile. It would only ask for the account which is registered with the 2 step verification process.

You should be able to create new account, only to use with the company and set two-step verification only for that account. They wouldn't be having any access or rights over any account other than that one whatsoever.
 Having a quick look trough the app, it gives me the option to add an account and not automatically do it for my primary android gmail account ...

I can confirm that: the procedure for setting up the two-factor authentication has been made complex for this same motive: forcing the user to pay attention. No account is automatically chosen, and the one you choose is the one that will be protected.


text:
Download paused in play store and doesn't resume
I am a Gionee M5 user. Recently I have encountered a problem with my play store. Whenever I start downloading any apps, the download pauses automatically and doesn't resume. So I am unable to download or update any apps. I have already tried factory resetting my android. I have also cleared the data and uninstalled updates of play store and download manager. I couldn't figure out it is the problem of playstore or the download manager. None of these above techniques worked. So, I am hoping for someone's help.

How do you use your network access in your mobile? Have you tried with both the mobile network and wifi? Slow connections might also cause this problem

Same question asked before (unfortunately, no answers yet): Paused Download on Play Store / Google play store not working

@Izzy We could use someone with this issue that could reflash their own firmware. Since a factory reset didn't help, I'm wondering if the issue is an odd configuration somewhere in the /system partition.

@Izzy By the way, by looking at the questions you linked back, I can see that the issue seems to affect only "Gionee" devices. Perhaps those devices run a factory customized version of Android, and, if that's the case, I guess that the culprit is indeed the download manager.

@DeathMaskSalesman Good catch with the device! If it's something in the /system partition, I wonder if a flash (of the same firmware) would accomplish anything. Apart from that, I agree with your reasoning: if the issue survives a factory-reset, a (different) firmware might be necessary (unless one can attack the underlying issue with root powers).

@Izzy I'll now formulate a completely absurd theory, so correct me if I'm wrong. The thing is that, in my experimenting, I once force closed the download manager (CM12.1). The result was that the Play Store went in an infinite loop: it downloaded the app, didn't acknowledge the fact and started downloading it again. In my case, a simple reboot proved to be enough, but in OP's case, I'm wondering that the download manager doesn't recognize that the device is connected to the internet, and this causes the download to freeze.

@DeathMaskSalesman that's a different issue, rather similar to those we had here where OP disabled the DownloadManager app. It might be related, though, if the DownloadManager doesn't "start up correctly" due to some misconfiguration.

Thanks all of u for the comments....so what would you all suggest me to do now??

I too had the same issue and I have gone through several forums for the help.All have suggested the same.

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

I have tried all of the above but not found any good.
But after a lot of trial and error, i have resolved the issue.
Solution is the same as above but the sequence order is very important.
Please follow the exact order given below.
1). Google Playstore - Go to Settings >> Apps>> 'All' tab >> Select Google Playstore - Now Uninstall all updates >>Force stop >> Clear Cache>> Clear Data.
2). Download Manager - Go to Settings >> Apps>> 'All' tab >> Select Download Manager - Force stop >> Clear Cache>> Clear Data.
3). Downloads - Go to Settings >> Apps>> 'All' tab >> Select Downloads - Force stop if the button is active.
4). Remove the google account.
5). Restart the device.
6). Add Google account.
(Assuming you have followed the sequence properly)
In case the above steps don't resolve the issue and you are using Mobile data then follow the below steps
1 > Check your storage space in your phone and ensure required space is available.
2 > Please go to Settings >> Mobile Networks >>Access point Names /APN >> Go to APN Protocol Change it to IPV6 and APN Roaming Protocol to 'IPV4/Ipv6'.

this can help me fixed the problem. but in new android, some app doesn't exists such as download manager, downloads

bro i am also using m5 just do one thing
when your download pause just go out and close play store from left button and your internet connection
wait for 30 seconds  and start internet connection  it will resume finally


text:
How to disable pin/pattern lock in android device
I am not sure this is the right place to ask this question.? I have enabled pattern lock in my android device. Just for curiosity I am trying to disable and keep only swipe to unlock option but I can't do that. Is there a way I can disable these patter/pin lock in device?
Thanks

is the options disabled in your phone? what is your phone model and version of the android you use?

Do you have an Exchange email account on your phone? Some companies enforce certain security measures, including that you must have a pin.

@Chro no but I have installed android administrator app. I guess it stopped to me to do that.

This is the right place, but it seams easier for people to help if they know your device as pretty much every settings screen is different for every device manufacturer.
For instance in my G4 I can:

Go to Settings
Go to Display
Go to Lock screen
Select from (None, Swipe, Pattern, Pin, Password)

As it seams None is disabled for you, I'm guessing you had an app installed that required an Administrative rights.
Go to settings -> General -> Security -> Phone administrators -> Remove the app that made you set the screen lock from the administrators list
(Or if it was a certificate from an app, go to Certificate Management and clear credentials)

but none is disabled in my Moto G2

Go back to swipe first.

Okay let me check.

If this doesn't help check my answer, added more to it.

I have rooted device. Device is connected to computer with USB cable. And those commands helped me out:
adb devices
adb shell
cd /data/system
su
rm *.key
reboot

Credit to: https://appuals.com/delete-android-security-pin/

This helped me wipe my screen lock on my damaged Honda Clarity headunit after an accident, the digitizer was damaged but thankfully i had turned USB debugging on once before.  Thank you!


text:
uninstall app that was installed under another account
I have an android with an app installed. The app was installed with one account that I have no access to. I removed the account but now I can't uninstall the app. Does that make sense? What can be done?

how are you trying to uninstall app? Using Google play store or via Settings?

What have you tried? There are several methods to uninstall an app: via PlayStore, via Settings › Apps, via ADB …

using the play store

And what happens when you try from the Play Store?  Try via Settings too.

I just ran into a very similar issue, where I was trying to update an app owned by a different account. The fix was simple: I logged into the play store with the desired account on the web from my desktop, then installed the app from there. The app updated successfully and its ownership switched to the desired account

I had the problem today and I found a solution that worked for me. All I did was remove the account under which the app was installed, reinstalled the app and then re-added the account the I removed.
I hope this will help you and others with the same problem.
Cheerio!

I had a similar problem
When we have a problem we can remove the application with adb
# find your package
pm list packages -f | grep [package_name]
# uninstall your package
adb uninstall [package_name]

But in my case it did not work. This was due that I have a Samsung (Galaxy S10) with the application "Security Folder", And I forgot that I added this app in the security folder.
If you have an application of this type, which clone an application in a container in your Android, you must also delete it in the contents of this application because it is installed a second time via another user, used by the application to secure, to be installed a second time on your phone