text:
Portable hotspot device IP reservation
How can you set IP reservations for devices that are connecting to the portable hotspot that is created by an android device?

Have you seen How configure the DHCP settings of WIFI Tethering(Hotspot) in android?

I don't think that's what I'm looking for. I want always assign the same IP address to a certain MAC Address.

Sure. But that can be done via DHCP as well, and AFAIK that's what hotspot uses.

Correct. I'm not looking to program an app, just want to know if there is an app that already allows this, or if there is a config file somewhere. Aside, both the apps they referred didn't work on my Nexus 4 (4.4.2).

According to an article on nascentstuff, there should be advanced settings in the hotspot configuration. I couldn't find them on my devices (stock 4.0.3, CM 7.2 with 2.3.6), but that might be different for you. Verizon shows a comparable instruction for the Droid X2. Do any of those work for you?


text:
Recovery program only accesible via "adb recovery" but the program closes itself
My tablet (a chinese SmartQ T10 with Android v2.3.4 unofficial Firmware) does not have custom recovery via power buttons combo, nor CWM recovery available to download. The only key combination  (Vol ++Power) that does anything, goes directly to firmware restore from a file named /mnt/sdcard/SmartQT10 (at SD Card) if this file exists.
But if I completely  start into Android, go to ADB on my computer and I do:
adb connect IPTablet:5555
adb shell recovery

It appears a fancy classic recovery program on the tablet's screen (full screen mode), as you can see:

Screenshot (click image for larger variant)
but with a strange behavior: this supposed recovery program lasts for only a few seconds, and my tablet get back to whatever it had just before on the screen (Android desktop, for example). After a few seconds, the recovery program gets back to screen, a few seconds there, and back to the desktop... and so on. The things stay like this until I press Ctrl+C on the ADB console of my PC.
If I touch any key of the tablet or press on the screen, the screen goes back instantly to Android screen and the recovery program disappear, so I can not interact with the recovery program. The recovery program is like any kind of "ghost" screen. And one more (don't know if important) detail: the selection menu of the recovery program moves down once each 2-3 seconds, just like if I were pressing any "down" key or so, a thing that I am not doing at all.
I must conclude that my tablet has any kind of recovery program inside, but it can not start for any reason.
This method:
adb shell reboot recovery

goes into firmware restoration mode, as I told before. This other:
adb shell reboot bootloader

performs a simple reboot.
Having this recovery program available would be great. Could anyone, please, tell me how could I do to keep it working? Or maybe there is any way to start it on boot, as I have seen in many others Android devices?
I see it shows some "can't mount" directory messages, as you can see in the capture, but I don't know how to solve those problems or if solving them would be useful to finally accessing the recovery program.

I don't know for sure if this is your only problem, but I'm posting it as an answer just in case. You seem to be confused about adb commands.
adb shell foo

is a command that tells adb to open a shell on the device, and run the command foo on the device, whatever you say there for foo. Therefore, the command you've been running,
adb shell recovery

doesn't tell the device to go into recovery mode: it tells the device to run a command named recovery, while Android's still running. From your description, it sounds like this is the same program that the recovery mode uses, but it's not intended to be run while Android is running. It's writing to the screen directly, without going through Android, which is why it keeps disappearing and can't accept input. It's actually pretty sloppy work on the part of the manufacturer that you can run this program at all from within Android.
In the same way, the command you want to use to reboot into the bootloader is
adb reboot-bootloader

(On newer adb versions you can replace the hyphen with a space if you like.) There's no shell in the command, because this is an instruction to adb, not a command to run on the device.

Whenever i append "shell" or not to "adb", I get practically the same results. I have just tested what you say: "adb reboot-loader" gets the same as "adb shell reboot bootloader": a simple reboot. Thanks anyway.

How about adb reboot-bootloader as the answer says? You're missing the boot bit before the loader. Hope this helps.

source: Stack Exchange

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

sort: votes


text:
adb for bootloop
I am in the middle of trying to understand the correct procedure to recover my data from a phone that went into a bootloop.

I installed android sdk, with adb tools.
Also installed ODIN (although I don't know how to use it for now)
Following commands I managed to perform and stuck on the last one, mounting sdcard

As I feel, that my phone data can be retrieved. Because I can still go into recovery mode, odin mode, can see the battery charging. Also able to detect the phone as MTP device in device manager although it doesn't show up under my computer as a portable device...

What are the steps should I follow to get rid of this bootloop and recover my data?
If adb command can mount my sdcard, doesn't it mean there's a way to recover the data?
In recovery mode I can see two options:
1. update from adb
2. update from external storage
I have already taken out my external sdcard, so I won't lose data in it along the built in sdcard. Here update from sdcard means built in card or external?
When I chose the 2nd option, I get the following error
 E: failed to mount /sdcard <No such file or directory>

Edit 2:

You will find some useful hints in our adb tag-wiki and especially backup tag-wiki. In the latter, take a closer look at the "ADB Backups" section. Additionally, if your device is rooted, there's also the possibility to use adb pull to retrieve all contents from it.

@Izzy Praised to you! Could you please tell me which direction should I go first? I am now trying to do the command "adb sideload <update 4.2>" to update the phone via adb. But if I can pull all the contents from the phone then I don't have to do any updates because once data is pulled I could simply select wipe all...to reboot I guess..

All depends on whether you have root access on the device (without that, you cannot adb pull your stuff from /data). If you have no experience in that area, I'd recommend using one of the ADB Backup frontends to save your apps' data to separate archives (you could also try a full adb backup, then reset, and then restore all; if you're lucky that's all you need. But chances are you end up in the same situation then, so better be prepared). I guess you have your contacts/calendars synced with Google?

@Izzy I tried adb pull. It says remote object data/data/... doesn't exist. So does it mean the device is not rooted? What are the ADB backup frontends you are proposing? For me apps data not important - probably What'sApp. Most important are contacts, sms and picutre/pdf files. Nope unfortunately I always switch off Sync as Google was too intrusive.. :(

Are you sure you didn't miss the leading /? adb pull /data <target>, see e.g. here. If the device is not rooted, you will get "permission denied" errors. If not using Google Sync (which I can perfectly understand), you should have taken care for backups of your contacts in advance! For recommendations: Please check the links to the tag-wikis I've posted. Information was placed there so we don't have to repeat it over and over again. Documents should be stored below /sdcard, which you can pull without root.

Yup I guess I didn't miss the leading / And thanks for the link which has so many adb sample commands. I feel my phone is at a very shallow soft bricked mode, which can be easily fixed...However as you said it all depends on if it's rooted or not. So looking at adb shell command I don't seem to get # instead $... When I typed adb devices within shell, it says device note found...so I am not really sure which direction I should be heading now.

I'm just a little confused: where did you type adb devices? If your device is not found, you neither could run adb pull against it. And right: $ stands for non-root mode, # for root mode. You could try su to see if you can switch to root mode; adb pull however would require the ADB server on the device to run in root mode; adbd Insecure can be used to achieve that on a rooted device.

I roughly understood what you meant. So that's why I don't want to bring the phone back to Service centre or simply wipe data/factory set if there's a possibility to retrieve data...you can see from my images, what's shown for each command. I was not able to run adb root. After typing it nothing happened and cursor was just blinking in the command prompt

@Izzy I am yet to try out su commands. I realized wiping of cache didn't help until now. Going forward I would like to make a weekly automatic backup of my phone to the pc. Most people are talking about backup at recovery. Can I use clockworkmod software to backup my phone in the future? (given I have the full access and to root), is it really required to root the phone in order to use such softwares? I can read up, if you could provide me with some reliable links or wiki tags.

@Izzy I tried adb shell. However when typed su, I get the following system/bin/sh: su: not found So I managed to do cd /system/ and I am successfully inside the system as well as cd /sdcard/. Now I am not sure what I could do...to retrieve the data...

Please, don't raise additional questions inside comments (in this case, you should ask your rooting/CWM questions in separate posts). This site does not work like a forum, it's a Q&A site (one question with its related answers per "page"). Your last comment confirms your device is not rooted, so there's no way to adb pull all your data from /data.

@Izzy I haven't tried this but can't @ aspiring install cwm using "install from SDCard" then try to root the rom? or after installing CWM make a backup of the Rom?

@RohanKandwal only saw your mssg after I did factory reset... NOw that my phone is back....I am trying to do the adb commands to root it... funny now I dont see anything...nothing detected. Also I want to mount it as a usb, so to try out recuva to retrieve any files....

@Izzy and everyone, I am quite glad, my contacts could be restored via (90%) What'sapp back up... THAT'S AMAZING!!! The backup includes all the messages, pictures I had with my contacts. However internal memory data, documents, pictures are still gone. And trying to recover.

Happy to know that you recovered some of your data. Hope you get everything back. xD

This is indeed one of those blessed times. After do the factory set and pc detected the phone, all pictures were FOUND. I mean how is that possible? But I am very glad that I didn't bring the phone back to Samsung service centre. I am thankful to all of you who supported help here. If it wasn't for you guys advices I would felt helpless and not had the opportunity to trying rooting from my end. At the end it paid off although I couldn't root. It is as bizzare as it looks... :-)

I made a tool do help even the most the computer illiterate person recover their files using this method. You will, however need to follow the instructions in the article if you have not set up ADB.
http://forum.xda-developers.com/showthread.php?p=51822116

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


text:
Realistic preparations to be made beforehand to locate the device and/or ascertain identity of its holder?
What can and should be done beforehand as a precautionary measure to locate the device or ascertain the identity of its holder, should a person unknowingly lose his/her device for any reason?
I am thinking of ways which provides features, such as:

keeping camera turned on nonstop upload data as much as possible to possibly capture holder's face and location along the way, or
perhaps prevent the phone from being turned off and create a loud sound "THIEFS" in the middle of crowded bus

If the solutions requires app, I would prefer such apps which can't be turned off.
Also, perhaps something we can put on our keychain that will cry out loud if the distance between the Android device and the keychain is above 1 meter.

I changed the question

I found one good solution. Cobra Tag. But it's not available anymore.

Hi! Your edit was still focused towards explicitly demand of apps to achieve objective. As you've witnessed based on closure reason, anything that asks us to look for apps or device is off-topic here. But note that if the problem does require an app you would get it as an answer. Just make sure you don't directly mention your demand for an app or so in question since direct demands causes quite a SPAM here. They also make the question obsolete a bit more quickly. // I've edited and tried to make it as much on-topic I can. I can't guarantee though that it won't be considered too-broad now.

It appears that we already have a question along the same lines: How to prepare myself & smartphone/tablet in the event it goes missing or is stolen?


text:
Retrieve WiFi password
How to get saved WiFi password from my android 5.1.1  without rooting?
I checked the path /data/misc/wifi/ using adb pull from terminal, but it's empty

You can't get the passwords without root access because shell (adb) is not privileged to access the file containing those passwords. As you would know, the file wpa_supplicant.conf contains all the saved Wi-Fi passwords. In order to even ascertain the existence of that file, you must have read or executable permission until wifi directory. It just happened that the permissions on that directory is drwxrwx---, is owned by user wifi and  group wifi. Executing id tells us that shell is not part of wifi group, so it ultimately would be considered others. As you can see, the permissions for others are blank --- i.e. no read/write/execute permission is available, hence, you can't enter that directory, let alone copy a particular file residing inside it.
Root the device if you want that file badly.
Related reading: File permissions and attributes

I have to say I am surprised that the answer to this is hidden so well on the internet.
It is a myth that retrieving the WiFi passwords from an unrooted device is impossible.
Prerequisites:

developer mode activated on android device
USB debugging (in activated developer options)
USB data cable
adb (on host computer)
java (on host computer)
an archiver such as winzip or 7zip (can be skipped on Unix systems)

These prerequisites may differ depending on operating system. android version and manufacturer. Answers on how to prepare these on your specific platform can be easily obtained with a search on your favourite search engine. Keep in mind that a USB cable that is good for charging your phone not necessarily provides a data connection. Use the cable that came with your phone if in doubt.
Steps:

Connect your phone to the host computer using the USB data cable
Backup your WiFi passwords with adb (from command line).
adb backup com.android.providers.settings

Enter a password for the file on your phone. The resulting file will be named "backup.ab" and appear in the directory where you executed adb.
Download and install Android Backup Extractor.
Convert the backup file into a TAR archive using the password that you entered earlier:
java -jar abe.jar unpack backup.ab backup.tar *password*

The archive will contain a file called "flattened-data". This file contains all networks that are saved on your phone. The psk entries are the passwords.

Notes:
It may be easier to move the backup file into the same directory as abe.jar before converting it.
Tested on Android 7 and Ubuntu, adb version 1.0.36, android-backup-extractor v20180521. If adb doesn't work, make sure you device is found using adb devices. On the same device, I tried to access the passwords directly using adb pull which didn't work (as was expected).

On which device did you test this?

@Firelord That would have been an LG G5 (H860N). I think the reason of doing so was to access a stored wifi password to use it on a laptop or it was to access a mifi-device that didn't have a reset button, probably the latter.

Hi @life-on-mars, when I unpack I got the tar file but it is empty. We have the same version of the extractor v20180521 and I copied the .ab file to the android-backup-extractor directory. What am I missing?

@Ralph my first guess would be compatibility problems with the adb or android version your tried this on. There is a github page for the extractor with a slightly newer version and additional info. Perhaps you can get answers there.

When attempted on an AGM M7 (android 8.1.0) a file with seemingly correct headers, but empty payload, gets retrieved. Attempting to do adb backup -all creates a larger archive with more content, but it contains no com.android.providers.settings folder.

Reading memorized wifi passwords by device is only possible if you have a rooted device. There are two methods to do it.
1)You can do it manually by pulling file wpa_supplicant.conf
Or
2)By simply using applications like wifi password by farproc on play store. Install app, grant root permission and it will automatically show you all saved wifi passwords.

@Firelord is right but there's a file browser for Android that doesn't require root for some IO operations, and looking from the path for the saved passwords it should have full rights. It's called XPlorer, hope this helps

"looking from the path for the saved passwords it should have full rights." -- I take it as you've not verified your own answer. Please verify it because the app shouldn't be able to access the file or last-level directory per my answer. Hope this helps.

@Firelord works perfectly fine on my nexus testing phone on CyanogenMod 10 and my San Francisco phone on Lollipop.

I see. Can you verify that the permissions I explained in my answer for the relevant file and directory are the same in your devices? Furthermore, have you verified that the app in both CM10 and San Francisco phone doesn't have root access?

@Firelord Yup they are, and my CM12 phone has root access, but my SF phone doesn't (I keep a vanilla android phone for testing too)

I tried the app you mentioned on Nexus 5, Android 6 (stock, rooted), but I couldn't even access /data folder; it gave "permission denied". Could you clarify which location you get the saved passwords, and possibly also the permission?

The location is indeed /data/misc/wifi... What phone do you have? All I can think is that your phones manufacturers have blocked it.

@SyntaxBit All I can think of is that the provider of your San Francisco has messed up the ROM. That file shouldn't be accessible by any user app, as it would mean a serious security flaw. Would you use a password store for your personal passwords which is accessible for everyone in plain text? What sense do passwords make then?

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


text:
Wi-Fi turned off but battery usage shows shows huge drain from it
I have a problem with my Galaxy S3 4G. It's currently all stock and running Android 4.4.4.
It seems the Wi-Fi will not turn off i.e. I can turn it "off" in the settings or notification bar, and this will stop Wi-Fi from being connected and device uses my mobile data instead, however in the battery menu the Wi-Fi is still being shown as on, even when it's turned off.
As you can see in the attached image, it's draining my battery really fast, and will only turn off when the device is in flight mode. I've checked and cannot see any rogue apps causing this, but after searching online and checking all option menus I seem unable to fix this problem.
Is there any way to stop this, save for a factory reset? Is this a KitKat wide problem, or just on my phone?
(Click image to enlarge)

Possible duplicate of Why is my WIFI always on?

Sorry, but the screenshot rather suggests your mobile network as the likely cause. See how it drains whenever the "network signal" shows yellow or red (bad or no signal)? And besides, WiFi was off multiple times (whenever the "bar" is black – though it rather looks like you've been in airplane mode then, as cell signal is also black then).

This is a common misconception with Android. When you turn off Wi-Fi, Wi-Fi does not actually turn off. There is an advanced settings menu where you will find an option that either says Wi-Fi scanning or Wi-Fi always on. Google uses Wi-Fi points to determine the device's location without activating the GPS.
Turn Wi-Fi scanning off to fix this. You might want to turn off Wi-Fi while asleep while your at it. It's in the same menu.
(Click image to enlarge)

Edit: In Android 6.0 (Marshmallow), this option has been moved. It is now located in Location > (Overflow menu) > Scanning (Thanks, nanny)

The location of this setting changed in Marshmallow (6.0). It's now under Settings > Location > (Overflow menu) > Scanning

First reboot your phone! If this doesn't work you should try a factory reset. I would recommend some apps to disable your wifi but they are already disabled! So i believe it's a software bug!

This is a normal behavior of Android.


text:
Getting "Can't open this video" when attempting to open a video
Video with extension VOB and transferred from my PC to the tab doesn't open in latter. When I attempt to open it I get "Can't open this video" and "No thumbnail".
How to play that video in my phone?

What is the extension of that video file? 2) Do you have a video player app that can play a file with that extension?  3) What file manager are you using? My stock file manager doesn't allow me to open an MKV video even when I've MX Player installed.

The extension is .VOB , I am not using any special player app , I just send videos from my laptop to my android tablet and I can just view it in the gallery.So far I've been doing it , but now it says no thumbnails.

Use a video player app, such as  VLC for Android and MX Player.

Looks like an answer to me.  VLC plays a lot of videos that don't work in bundled video player apps on Android.

No i haven't tried that yet , I'll try it and get back to you , thank you..


text:
Charging animation not shown after flashing original ROM
I've been playing a lot with my Samsung SM-T210 lately (Galaxy Tab 3 7" Wifi) replacing its stock recovery with TWRP, rooting it using SuperSU 2.37 and changing some files of the system partition.
Later, I tried modifying the /system/bin/playlpm file (called just lpm in other devices) to make the device boot just as soon as power is supplied. After trying many times I realized that it wasn't working so I went back to flash the stock ROM of the device.
Finally, I did a factory reset using the recovery flashed with Samsung stock ROM. After connecting the charger, I found out that the /system/bin/playlpm file was not been executed at all, since no animation was being played when the charger was plugged, only the initial image of the battery with a static image on top of it.
The animation should be something like this:

The initial image seen is something like this:

After flashing the Samsung stock ROM the device should be as good as new and the standard stock animation should be played when connected to the charger.
Anyone knows why this is happening and how to solve the issue?

@firelord could you tell me why did you erase the other tags?

The reasoning behind tags is not that something is mentioned hence the  tag of that word should be used but tags should define what the question is about. None of the previous tags were defining your question. I used the device tag because the question is device specific. I didn't see other relevant tags though. I was unsure on using stock rom tag.

@Firelord I beg to defer because even though this issue appeared on this device it has something to do with Android OS which have to do with all Android devices. In my humble opinion, the fact that the LPM -PlayLPM in Samsung- service is not starting has to do with the OS and is not device specific.

The usage of device specific tag doesn't mean that it something has only to do with hardware but to software as well. You can always [edit]  and add tags but it is always better to have strong justification for their usage.


text:
Is there an 'offline' version of Google calendar for Android?
For the PC there is a plugin for the google calendar so that edits to the calendar can be made offline. On my Android 2.1 there does not seem such an option.
I am using the calendar though the browser and not an app. On the app market place I cannot find the app so I am using the browser..

Am I missing something here? The native Google Calendar app has offline editing capability.

Because phones often don't have connectivity, by and large apps are made to work "offline". The exception, of course, are apps that are just wrappers around a browser for a web app. I use my Calendar app without connectivity all of the time. There's no concept of an "offline" calendar option because it's baked into the app. Are you perhaps accessing the calendar via the browser?

@Al Everett yes... I worded it wrong, but I am using the calendar though the browser and not an app. On the app market place I cannot find the app so I am using the browser.

Please update your question with this information, and included what device you're using. No calendar app installed with the OS? It doesn't look like it's one of the apps that Google has updated, but there are plenty of alternatives. All that said, the built-in Android browser doesn't support any sort of extensions like the browser on your desktop does. What you're asking for doesn't exist. Use an app.

much related IMHO: http://android.stackexchange.com/questions/21246/how-can-i-search-the-google-calendar-from-the-android-phone?rq=1

As I said in several comments, the Calendar app is the way to interact with your calendar offline.
If you're interacting with the calendar via the browser, you need to be connected. The Android browser doesn't support any sort of "plug-in".

If you sync the Google account used with the calendar to the phone, the calendars can be synced too and viewed/edited offline with your phones' Calendar app.


text:
Remove unknown icon appeared on home screen after mounting SD card
How to remove this icon from home screen of Xperia M2 Dual?
(Click image to enlarge)

May I ask what use it is to move your apps to SD card, and then remove that card? And for your question: which Icon do you want to remove? There is none labeled "this" :)

Looks like you have unmounted the SD card once. Behaviour might change on the implementation of launcher app, basically it should be solved by re-mounting the SD card. The icon with the mark is installed on the SD card.
Settings > Storage > SD Card > [Mount / Unmount]

Readers: Do a reboot if re-mount is not working.


text:
Feasibility of flashing a ROM (meant for original device) on a re-branded device
I have a re-branded smartphone with Android 5.0. The thing is I want to install a custom ROM to remove all the bloatware and get more control. But, as it is re-branded   and not that popular there are not any custom ROMs available for it.
What I'm thinking is that since its hardware is not that old and there are many popular smartphones with exactly the same specifications, is it possible to install a custom ROM that was not built for my smartphone but was built for one which has exactly similar specifications?
Note: I can post the specifications, if required.

Related: Can I install a ROM made for a different device? / Is flashing a ROM made for a very similar model to mine possible?

If all the specifications match, including chip level and GPU Mali blobs, it sounds a reasonable try, though I never owned a re-branded device.
After taking complete backup including EFS and double checking, I would suggest first flash the kernel from the proposed ROM to replace the existing kernel. If it boots properly and basic functionality of phone is fine, then you can flash the complete ROM. This way you are ruling out kernel compatibility issues.

Okay first of all let me help you with some information.
ROM means the Operating System. The visual interfaces of the ROMs for same version of Android can differ between brands but the codes the OS can execute are the same. Therefore, what determines if the ROM can act as intended that differs from brand to brand (or from model to model of a specific brand) is the kernel.
Android ROMs are not made to suit the hardwares. That'd take too much time to do it for every single phone models. Instead, the connection between ROM(software) and phone(hardware) is provided by the middle-man(kernel)
Now to actual answer: So as you can see if you read what I wrote is that the key player is kernel. If the kernel matches your phone then it is good news. My suggestion would be to back up your phone entirely first before doing anything. You can try to find a kernel that will do the trick with the ROM you want. Or you can just partially flash the kernel of the ROM first and use it with your recent ROM for a while to test out how it suits. If you can disclose the name of your phone I can look into it personally.

Well, from your answer it seems that all I have to do is find a custom ROM that matches my existing kernel. But, that seems to easy is there nothing else that has to match?

Well it'll be harder than it sounds if your phone is not very broad.

It'll be equal to try to find a ROM compatible with your device already. If the ROM's kernel is compatible with your phone, so will be the ROM itself since those two are already compatible. Re-branded phones are pretty much of a problematic case. Their hardware components (like chips or camera) and drivers are different than their non re-branded, original counterparts. The other answer by the user beeshyams points that out as well. Therefore kernels made for the originals might not (and probably will not) work with the re-branded ones. ROM, phone and kernel all must be compatible.

Is it safe to use phone while charging with portable powerbank?


text:
Disable option greyed out, how to disable the app then?
(Click image to enlarge)

I am having a problem with the Play Store. I searched for a solution, it noted that we need to make sure our Download Manager is disabled. But the "Disable" button is greyed out.
What should I do?

I'm pretty sure you misread the solution you found. The Download Manager is essential for the Play Store (it is needed to download the apps) and can't be disabled. It's an important system component.

Give us the link for the instructions that you were following. In addition to that, post a new question about your Play Store issue, if you've not solved it of course or/and no other similar question exist on this site.

Does this answer your question? How do I temporarily disable an app when there is no "Disable" option

If its just the connection thats the problem you could install a "no root" firewall and deny it that way. Or , if rooted, find the relevant apk with a root file explorer and rename it temporarily.Reboot, Then do what you need to do, then rename it back again. But as above, play uses download manager to do as the title says!


text:
Error: "Unfortunately, Gmail has stopped", on arrival of an email
Every time I receive an email, this message shows up on my Droid

Unfortunately, Gmail has stopped.

How can I remedy this situation?

did you check out our [tag:gmail] tag wiki? It has information documenting these issues and possible ways to correct them.

I had this bug on my Nexus for about 2 days. Absolutely infuriating. It was stopping me from accessing phone settings because when the error message described above came up, which it did almost all the time, the screen closed.
Opening Gmail settings seemed to definitely trigger an instant error message every time. I tried a few things.
I had never had the Google/android "inbox"app on this phone. I installed it in addition to my Gmail app. Instantly, the bug stopped. This was a really debilitating problem and I'm glad to have chanced on a solution that works for my phone!

I could suggest various things which would most probably resolve the issue.

Uninstall updates to the app and update it again.
Update the app to the latest version (if you've not updated it).
Try to use the previous build (stock build) by uninstalling the recent update. And, check whether the problem has been resolved.

If you've rooted the device, the above three would also be applicable

At last, Factory Reset is the option.

Hope that helps!

For anyone else who has this problem, wait until you have a notification for two new emails, then click the notification and you will be asked which app you would like to use, it wouldn't ask for me if it was just one email I would just get the error every time.

This doesn't sound very similar to the OP's problem.


text:
Wi-Fi is connected but the device shows "Wi-Fi has no internet access"
I recently reconfigured my modem and now only my Nexus phone have problem in connecting to Wi-Fi but other devices work correctly. It  connects to Wi-Fi and works but a message appears in notification:

Wi-Fi has no internet access

The next time when I turn on Wi-Fi  my phone  doesn't connect automatically to a Wi-Fi.
How can I fix this problem?
(Click image to enlarge)

are your other devices able to access internet with the same wifi?

Try connecting other devices to the network - if they can connect to the internet, it might be a (strange) issue with your phone, possibly caused by the reconfiguration somehow - "forget" the network, and then reconnect to it. Otherwise, your router may not have or may not be providing internet access to devices on WiFi, also possibly caused by the reconfiguration somehow (however this one seems more likely).


text:
Is there a way to check DNS cache on an Android device?
Is there a way to check DNS cache on an Android device? For example, you can check it on windows via the command ipconfig /displaydns.

Why do you want to do this?

If you do not tell us, we may vote to close your question.

Never mind.  I found a post somewhere else which explains why checking the DNS cache can be useful.

Why does every time someone asks a question, someone responds with, "Why do you want to do this?"  The WHY is irrelevant: the question is posted.  Answer it if you can, or don't.  I personally want to know because it pertains to a DNS caching issue I'm researching.  Does that help answer your question?  Of course it doesn't--the why is irrelevant.


text:
Getting "Downloading... Do not turn off target!" when trying to boot into recovery mode
I just installed Cyanogenmod on my Samsung Galaxy S2. I want to
install Google Services app ZIP. For that I have to reboot the phone in recovery mode. But it is only showing

Downloading... Do not turn off target!

What should be done?

Remove battery,put it back and hold Volume Up and Power at the same time until you see the Samsung logo appear.This will let you install gapps.zip

@SharathKumar thanks i did the same i got below options now how to install zip?
//reboot system now //apply update //wipe data/factory reset //wipe cache partition //reboot to bootloader //power down //view log –

apply update -> install from internal storage -> locate the zip

You have rebooted to Download Mode by mistake. You needed to reboot to recovery mode. To do that, follow these steps:

Press the Power button until the phone reboots normally.
Switch off the phone as normal.
When the phone has been switched off, press Power and Volume Up together until the Samsung logo displays, then release.

Alternative:

Reboot to system
Find the "Advanced Power Menu" option under phone customization settings, and enable it.
Press the Power button to get the power menu, and choose "Reboot → Reboot to Recovery".

That's it. I think you have a custom recovery installed and can find your way about it.
Edit:
So you don't have a custom recovery installed and have the stock recovery. I have no idea how you installed Cyanogenmod without a custom recovery (so please include the process of how you did it in your question), maybe through ODIN? If so, flashing a custom recovery like CWM or TWRP is similar in process to the way you flashed CWM/TWRP. I'll point you to a guide on how to do this here.

Viewers, if you have a more detailed guide on enabling the advanced per menu in CM, please edit it into the answer instead of downvoting it.

There is no vote as of now but I believe your first revision could've caused that: http://android.stackexchange.com/revisions/127645/1 since it was a one-liner.

I got recoivery mode but no option to install zip file :(
Options are-
reboot system now
apply update
wipe data/factory reset
wiipe cache partition
reboot to bootloader
power down
view log

@Neo then your custom recovery didnt stick, try it again. If it doesnt work look for TWRP or Philz recovery and try one of them.


text:
Change Settings' color scheme in Lollipop
Someone was fiddling with my Android (version 5.1.1) phone and somehow managed to change the Settings' color scheme.
I've tried to reset the theme to no avail. I've also noticed some notifications come through with white text (assuming related issue).
(Click image to enlarge)

From the screenshot, looks like you are using a phone with CM based rom.
Make sure you don't have any theme applied.
A dark/light theme mode option might be available in Display, personalization or Developer settings


text:
How do I install apps to Internal/External SD instead of Phone Storage
I have a dual SIM mt6589 based Android 4.2.1 phone, and I have no idea where the apps are getting installed.
My phone has an Internal SD card(built in), An External SD card and something called Phone Storage(/data ??)
Anyway the apps are supposed to be saved to my External SD but they get saved to Phone Storage.

Screenshots (click images for larger variants)
Also the option move to External SD card is greyed out(It was available before!!).
My vold.fstab file
dev_mount sdcard /storage/sdcard0 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host

@Izzy question rephrased

Did you take a look at the tag wiki I mentioned with my previous comment? It has all the answers you need.

Ah @Izzy It answers my question, hmm looks like I can't move half the apps from my Internal Storage -_-. Also What do I do with the question ?

usually apps get installed to Internal SD(with android 4.1.2) but after updating to 4.2.1, I can install to only Phone Storage

As your question might provide a place-holder to already existing details, I composed a short answer you might want to accept/upvote, so other "searchers" can find their way and follow up. The issue from your previous comment you'll need to address to your manufacturer/ROM baker: They have disabled that functionality, Android itself still supports it (you're in good company with that, seems a few manufacturer decided to do the same).

The answer to your re-phrased question can be found in the app2sd tag-wiki. In short:

App2SD cannot move the entire app to SDCard, there are always things remaining in phone storage (e.g. data, Dalvik cache, and some more)
There are alternative methods moving more stuff, such as e.g. link2sd or Data2SD

For details, please see the linked tag-wiki.

Also there seems to be a way to extend the Phone Storage http://forum.xda-developers.com/showthread.php?t=2296230

Not really -- it can't take stuff from nothing. That tool simply changes partitioning, taking space away from the internal SDCard and adding it to "phone storage".


text:
How do I keep my headphone jack from disabling my bluetooth speakerphone in my car?
I just upgraded to the Samsung Galaxy S III running Android 4.0.4 (Ice Cream Sandwich) and I drive a 2009 Mazda 5 with integrated bluetooth speakerphone.
When I'm in my car, I connect the headphone jack to my car stereo Aux input so that I can play music from my phone through my car speakers.  I got a phone call today and I noticed that when I'm connected to the Aux jack, my phone wouldn't connect to the bluetooth speakerphone.  In fact, I couldn't hear the phone call at all, although the person on the other end could hear me.  When I pulled out the cable from my phone's headphone jack, the bluetooth connection to the speakerphone was restored.
I never had this problem with my Bionic.
How do I make my phone connect to the bluetooth speakerphone even when I have a cable in the headphone receptacle?
Note: my car hooks up to the bluetooth speakerphone only -- it doesn't have an option to play music through the car speakers via bluetooth.
UPDATE (JUL 19)
Having thought about the situation some more, here's what I think is happening:
When I make a phone call using my car's integrated bluetooth speakerphone, my car turns off the stereo input to my speakers and replaces it with the phone input.  At the same time, if I have a cable plugged into my headphone jack on my phone, my phone assumes that I want to hear the call through my "headphones" and not any attached bluetooth device, so my phone doesn't transmit the incoming phone audio to the bluetooth antenna -- it sends it to the audio cable plugged into the headphone jack.  Since my car stereo isn't accepting auxiliary input during a phone call, I hear nothing.
So, I really need a way to tell my phone that when I have a bluetooth speakerphone connected and "headphones" connected, I prefer to hear the call through the bluetooth connection (I don't think it's very likely that I'm going to be able to get Mazda to change their stereo firmware :-) ).
UPDATE (JUL 24)

I tried my wife's Razr (running ICS) and didn't have this problem, so it seems to be Samsung Galaxy SIII problem, not an ICS problem.
I've come up with a couple of work-arounds that I'll submit as a separate answer.

This is really a silly problem that should get improved by manufacturers. +1

What I particularly like about this issue is that it didn't exist in earlier versions of the operating system -- it's newly-added "value."

At the very least, it should work like the selection of a computer's boot order, where the user is able to select the desired order.. first this, second that, third that... etc. Using this approach, would a matter of saying to the system: first Bluetooth, second AUX.. :)

From the Samsung tech support, they say that:

when the AUX cable is plugged in, Blue-tooth audio is dead.

However, from the ICS Options during a call:

During a call, you can also use buttons near the bottom of the screen to:

Switch to the dialer, for example to enter a code.
Controls the audio output as follows:

If a Bluetooth headset is not connected: Turns the speakerphone on or off.
If a Bluetooth headset is connected: Functions as a 3-way switch between the built-in earpiece, the speakerphone, and the headset. The icon changes to indicate the current output. Touch & hold to see a 3-way menu.
If a wired headset is plugged into the phone, it replaces the phone's built-in earpiece.

Note:
The Google Support link refers to the Android 4.0 for Galaxy Nexus (Released 2011, November), but the one you have is newer (Released 2012, May). Since the OS is the same, there's no reason as to not have those options available.

You can try and check if the mentioned option at point 2.2. works, but besides from that, I believe that you're out of luck on this subject.

Thank you for tracking down appropriate discussion on the web.
If I recall correctly, when I had this issue yesterday, I tried to push the bluetooth button. It was "greyed out" and, when I pushed it anyway, nothing happened. I'll double-check on my way home tonight.

There is also the Dock Audio Redirector: https://play.google.com/store/apps/details?id=net.muteheadlight.dockredir but I'm not sure if that only works for docks.

Confirmed: when I plug in my headphones, it disables the bluetooth phone connection.

@Gdalya From the hours that I've invested reading about this before placing the answer, doesn't appear to exist a solution for this (yet). I've came across some supposed solutions with APPs, but were either for a phone dock or music related. If I get to find anything that may help you, I'll update this answer.

Regarding TREE's comment: For the app that you suggested to work, there would need to be an S3 car dock that triggered the car dock event in the OS.  I'm not certain that there is that kind of dock for the S3 -- the description of the offical dock doesn't clearly state that (http://www.samsung.com/us/mobile/cell-phones-accessories/ECS-K200BEGSTA).  My current universal dock certainly doesn't trigger this.  Further, 1) reading the description of the App, I don't think that it will accomplish what I want and 2) I don't think I want to invest in the $50 Samsung dock in order to find out.

I accepted this answer rather than my own, because Zuul did a lot of good research that lends insight into the underlying S3 design decisions that lead to my issue.  If you're looking for work-arounds, see my answer.

I've developed 2 work-arounds:

Turn off bluetooth.
When I do this, I hear the call through my car speakers (using cable from headphone jack to AUX input) and use my phone's microphone rather than the car's microphone.
Drawbacks:
A. I need to make sure that my car stereo is set to AUX input during phone calls.
B. I can't use my car's voice dialer, which has a convenient activation button on the steering wheel.
Get a second bluetooth receiver and connect it to the AUX input in my car.  This has the added benefits of not triggering the S3's "you plugged in headphones" notification (which I find annoying and haven't been able to find a way to switch off) and also doesn't halve the volume automatically, like plugging in a cable to the headphone jack does.
Drawbacks:
A. You have to spend an extra $20 - $30.
I bought the GOgroove BlueGate from Newegg ( http://www.newegg.com/Product/Product.aspx?Item=N82E16875991070 ) although have since found a cheaper receiver ( http://www.monoprice.com/products/product.asp?c_id=108&cp_id=10827&cs_id=1082704&p_id=7364&seq=1&format=2 ) that seems like it would also work.
B. It takes a little bit of playing around to get it to work.  So far, I seem to need to turn on the extra receiver and then manually connect the bluetooth to both the car and the spare transceiver -- it seems like I can't just get in my car and have everything automatically work, but I only started using this setup yesterday so maybe I'll be able to work out some of these kinks.

I tried #2 for a few days.  I had a lot of trouble with getting both Bluetooth hook-ups to work at once.  A lot of the time, the audio would say it was connected, but I wouldn't hear any music through my speakers.  So I'm going with workaround #1 for now.


text:
Is it possible to modify the firmware used when the device is turned off?
On (at least) some Samsung devices there is some piece of software that runs when the device is turned off. It is the one that displays the battery state when charging, along with the red/green indicator light.
It is obviously tiny, native and device-specific. It is also probably (again, at least) somehow related to the initial bootloader that e.g. puts the system in recovery mode if needed.
But would it be possible to modify that piece of software to, for example, change the light colors or other functionality? I'm really asking just in theory; even if extremely hard and non-practical, I'm curious if it would be possible.
EDIT: Just clarifying here, but I mean the software that runs when the entire device is turned off, not just the screen. I have a Galaxy S3 LTE (GT-I9305, CyanogenMod 10.1, CWM recovery 6.0), and CyanogenMod actually allows me to change the light colors when just the screen is off.
Also, I don't necessarily want to change it by any means, I am just curious if it could be changed.
Here's what the software I mean looks like on my phone (sorry for the poor quality, obviously not taken with my phone :P):

Have your tried using Custom Roms... I believe AOPK and some others support light changes... Check it out :)
http://aokp.co/

I am running CM10.1 (you sadly don't have CM11 for GT-I9305 yet) and CWM recovery 6.x, but they at least don't modify it in any way.

Ahh... you might wanna state to the developers (of CM for example) for the feature your require. Not too sure if they find any value in changing the colour of the light while in sleep mode but it would not hurt to ask them).. I am still learning development myself so I cant give you a definitive answer at this stage other than try another ROM which does have a feature to change the light..BUT even saying that the change light feature within AOPK is only when the mobile phone is awake and receiving notifications.

I'm not sure it is related to the ROM. I do not mean the stuff going on when the screen is turned off, but when the entire device is turned off. I updated the question for clarity.

Also, I don't require a certain feature, but I'm curious if it was possible to change the software causing said light to appear.


text:
Google Pixel 3 - Cannot Stop Security Updates
I just recently got the new pixel 3 and have loved the phone from stem to stern but I have this huge issue with it. Since I turned it on and ported all my contacts, photos, etc over it has not loaded all my apps. I found out this was because it has been installing system security updates non-stop for over 24 hours now, rendering it basically useless.
I can't use this phone in this state. I've tried clearing the google app cache and storage and it keeps on chugging through security update to security update. I can't even tell how many it has completed or has yet to do because it has no indication of how many are left, at all. All I can see is the current update's progress. I've had to reboot the phone twice this morning just for the security updates.
Is there a way via rooting the Pixel 3 or entering developer mode, or just some setting i overlooked that I can tell the system to stop updating so I can have a useable phone? Or am I up a creek.

Just find a fast WiFi for your phone and wait. Security updates are released monthly and they need to be installed sequentially. So if your phone is preinstalled with January 2019 version (for example) it needs to install February patch, March patch, and so on... until it catches up.

Unfortunately this this the proper way to initialize a newly bought Android device.
Google usually releases every month a new security update and each security update has to be installed individually, and often after the update installation a restart is required.
Hence if you get a device that for example was produced 6 months before you have to install up to 6 updates one at a time.
In this case the Pixel 3 has been released in October 2018. If the device you got was produced at that time up to the time of the question up to 8 updates have accumulated and each update has to installed one-by-one plus reboot.
Hence the first hours after switching on a new Android device you are busy installing security updates, which usually requires several buttons to be pressed at the correct time.

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


text:
Prevent built in apps (Messages, Photos) from prompting for updates?
I use an android phone without Google Play store, although I do install OTA OS updates when they arrive. I don't have a Google account set up.
My standard Photos and Messages apps checking for updates, presumably outside the Google Play store, and spamming me with messages like "Chat and text on your computer". These links take me to Google Play store, which is disabled.
Is there a way to prevent apps like these from doing their own software update checks?
This happened on Blackberrry KeyOne and Unihertz Titan, though I don't think it's specific to the phone model.
The specific apps I'm talking about are:

com.google.android.apps.messaging 7.2.204 (Isu_RC02.phone_dynamic)
com.google.android.apps.photos 5.30.0.357810041

You mean did I contact Google? No I haven't.

If this was an app I had installed, I wouldn't be surprised. Yes, Messages may be an APK but it's hard to call it an 'app', it's expected minimum built-in functionality for a phone.

I guess the "issue" here is that Blackberry and Unihertz use Google apps as their built-in apps. Note that vendors can customize the built-in apps, like how Samsung uses their own Samsung Messages as a messaging app and Samsung Gallery as an image management app..

So, unless you are okay with/need using Google apps, perhaps blocking the connection to the server might be a solution (sorry, don't have specific reference Q&A for now). Otherwise, installing 3rd-party apps using APK might be an easier alternative.

As far as I know Google apps have a built-in warning notification if the app is older than a certain time like ~6 months (some time ago this was revealed on iOS as Apple was blocking some updates from Google and GMail app was complaining that it is outdated but it was the latest public version). I assume the same is true for Google's Android apps.

This is so depressing (I'm used to Lineage). Thanks for the comments.


text:
How can I disable the status bar on the lock screen?
I want my lock screen to actually lock the phone.  I don't want to be able to unlock the phone and initiate a call by pulling the phone out of my pocket, or randomly select notification items if it bangs against my leg.  Is there a way to just turn all that crap off?
For anyone interested in this functionality, I have logged a bug.

The only way to disable the pulldown is to not use the default swipe unlock.  Switching to a PIN, pattern, password, or face unlock will get rid of that.

That's a bit annoying, really I want the swipe unlock without anything else being swipeable.

@robertc - Yes, I know, but for some reason, the functionality to disable that feature isn't included.  I believe some custom ROMs implement such an option, but nothing stock AFAIK.


text:
Terminal not showing any output?
I have succesfully root and unroot my device but my terminal doesn't show any output only error messages of missing command.
I'm also unable to re-root my device. I copied psneuter to /data/local/tmp but the terminal doesn't give an error.
I have verified it by createing  a file in /data/local/tmp and copied it to my sdcard. The file doesn't exist. Gingerbreak doesn't work and gives an error Couldn't extract asset.
I have an orphaned su on my device but it has only user rights. Is there a way I can fix my terminal and re-root my device?

You may want to mention what device you're having problems with.

@onik:I used a modified boot.img and psneuter or zergrush. My device is a Pioneer Gionnee 100


text:
Can't mount /data, /cache, and /sdcard
I have a Xiaomi Redmi 2, (device ID is 2014813) and there is a serious problem going on with it.
This morning I saw a message from the phone, saying that the full encryption was unsuccessful, and all my data is inaccessible now, so I have to do a factory reset. I booted up into recovery, tried to do a factory reset, but it said that it couldn't mount /data, /cache, and even /sdcard.
I tried flashing in fastboot with MiFlash, without any luck, it fails at setting up the partition table. ADB sideload works, but I can't do much with it, because even if I install a ROM with it, I can't boot that ROM up.
I NEVER wanted to do an encryption on this device, I don't know why did it do that.

That seems strange. Why would a device begin full disk encryption if a user didn't initiate it? Anyhow, when the device tells you that encryption is unsuccessful, does it provide an option to erase/reset the device? If yes, then did you try it? For example, in my Nexus 6, when I choose that option it boots into a certain screen where it shows "Erasing Data". It is different from stock recovery. May be your device also has such provision.

Yes, there was a button, and that "sent" me to the recovery, but it didn't begin erasing by itself. Neither the recovery, nor the ROM was stock; I've used a CM12.1, with TWRP recovery. I know it's strange, I've never seen anything like that before.

At first, I thought it's a bug, and I rebooted the phone. Then this "message" showed up again, and then I pressed that button, and I did a factory reset in the recovery.

Try flashing a stock ROM that will have the partition info.

I'm trying that since yesterday morning. I just type in: fastboot flash partition partition table file, and it always says: "FAILED (remote: failed to write partition)". I don't wanna give up on this device, I really liked it.

It's not like the samsung's ODIN files. It would be the best for me to have one big file, what I can just flash, and it would set up everything by itself. But there are separate files, and one that sets up the partition table. And I just can't flash that file

@Gabe Did you try installing New MIUI ROM from the miui forum.? Download ROM here

If official firmware flasher doesn't work, possibility is that your eMMC is corrupted / dead.

Exactly. That was the case, hardware fault. Phone got sent back to reseller, and they replaced the entire device. Apparently it wasn't an uncommon issue, a few other people had similar experience, and all they could do is getting a use out of their warranty.

There are a couple ways to do this:

Using adb
create a folder named external_sd in /sdcard/  with your file manager
Use  this code in commamd prompt (adb) (to make this folder to mount sd card in /sdcard/):

su
    mount -o bind /mnt/emmc /sdcard/external_sd

Alternatively via terminal (need busybox installed and root):
busybox mount --bind /mnt/emmc /mnt/sdcard/external_sd (as su)

Credits
https://forum.xda-developers.com/showthread.php?t=1724278


text:
Terminal Emulator Problem Mac Spoof
I'm trying to do a Mac Spoof from my Motorola Moto E (Rooted of course!) but I have a problem cause i'm quite sure i'm not succeeding in spoofing!
Well, I installed BusyBox and Terminal Emulator.
Then I go to Terminal Emulator and wrote:
"su"  (so I have permission from SUPERSU)
root@surnia_umts : /  # **busybox ifconfig wlan0 down**

root@surnia_umts : /  # **busybox ifconfig wlan0 hw ether [New Mac]**

root@surnia_umts : /  # **busybox ifconfig wlan0 up**
root@surnia_umts : /  #

Then the terminal doesn't say anything else.
After that,  the wifi from the device doesn't work anymore ( I have to disable and renable the wifi to make it work again) and of course the mac didn't change...... anyone has an idea, need some help, I am new of Android!!!

It appears that Android MAC Spoofing can only be accomplished on "Open" access wifi networks. Try to change the last three sets of numbers from the original mac address. The first three sets identify the adapter/manufacturer, changing them may cause authentication issues.


text:
Is it possible to remove app using connection to computer?
Question
Is it possible to connect android device to pc and make system alternations via that connection?
Why
I'm thinking of possibilities of doing that to remove malware that crawled too deep in device.
For example, I've been recently asked to remove screen blocker that has added itself to administrators. In safe mode, after I removed that admin, banner appeared. While I was able to solve that with one additional safe reboot, the youtuber I've followed claimed that in newer versions of the malware you'd have to go for factory wipe.
In linux you can do anything to system files as long as you've booted in the other instance.
So in case I'll be asked to deal with such problems in future, I've been wondering whether computer could be used as such more authoritative agent for android.
As those are likely to be not my devices so rooting might be undesirable, no backups be present and factory wipe might be too problematic.

You will need to dig into the depth of ADB for that, including the pm (Package Manager) tool and probably others. A thorough answer covering all aspects would probably fill at least a chapter of a book, and go a bit beyond what this site holds.

Yes, you can do that with help of ADB (Android debug bridge). More detailed instructions can be obtained from the above mentioned site.
To use adb with a device connected over USB, you must enable USB debugging in the device system settings, under Developer options.
On Android 4.2 and higher, the Developer options screen is hidden by default. To make it visible, go to Settings > About phone and tap Build number seven times.
Return to the previous screen to find Developer options at the bottom.
On some devices, the Developer options screen might be located or named differently. If connected, you'll see the device name listed as a "device."
Connecting to a device via USB
You will need to connect your device to your PC via USB and open adb through a command prompt. From here simply type adb devices to retrieve currently connected devices.
Connecting to a device over Wi-Fi
adb usually communicates with the device over USB, but you can also use adb over Wi-Fi after some initial setup over USB, as described below:

Connect your Android device and adb host computer to a common Wi-Fi network accessible to both, you might need to configure your firewall to properly support adb.
Connect to the device by its IP address.
adb connect device_ip_address  e.g adb connect 127.0.0.1

Confirm that your host computer is connected to the target device:
From command prompt type:
adb devices
You will see a list of attached devices
You’re all setnow.
There are a couple of commands that can be used to uninstall apps via adb command:

adb remove (full app filename, no extension)  eg adb remove com.developer.appname

or adb shell rm /data/app/(full app filename with apk extension)
to find the file name, use adb shell ls /data/app/

adb uninstall <package_name> e.g adb uninstall com.developer.appname

If you want to keep the app’s data and cache directory, then use this command: adb uninstall -K packagename.apk. e.g.
adb uninstall -K  com.developer.appname

Another variant is used: adb shell pm uninstall com.developer.appname

Acknowledgements:

Can I uninstall an app via adb
Android Debug Bridge
How to Install/Uninstall Applications using Android ADB
Android Studio : How to uninstall APK (or execute adb command) automatically before Run or Debug?


text:
How do I get my lollipop tablet to communicate with my win 7 laptop?
When I attach my win 7 laptop to my lollipop android tablet via USB, nothing happens.
I have googled and found various posts suggesting that I have to load the proper device drivers.
However:

I am not sure which device requires the drivers and
I can't understand how to load the drivers.

I seem to have loaded it properly on the tablet, but when I try to find where to load it on my win 7 machine, and go to device manager, although the devices are connected, there is no sign of it in the device manager.
When I insert an external USB drive into lollipop, the drive works.
Any help here?

It's your win 7. It requires the drivers to communicate with your tablet and since it's not present, it is unable to detect it.Can u tell which tablet you are using?

Thank you for responding - it's an RCA Viking Pro 10 - RCT6303W870K.


text:
Fastboot not working?
I have a Huawei Honor 6. I have an unlocked bootloader, and I am trying to install marshmallow. I have flashed TWRP before (and I can boot to it and use it), so fastboot has once worked. Now when I try to do anything. Even to lock the bootloader, it is not possible. If I try to do anything it gives me Command not allowed error. Here while flashing:
D:\android sdk tools (adb and fastboot)\platform-tools>fastboot flash BOOT "D:\android sdk tools (adb and fastboot)\platform-tools\img\BOOT.img"
target reported max download size of 471859200 bytes
sending 'BOOT' (10272 KB)...
OKAY [  1.084s]
writing 'BOOT'...
FAILED (remote: Command not allowed)
finished. total time: 1.089s

I have searched around, but no answers. The phone shows up in fastboot devices. The only command that works correctly is fastboot reboot. fastboot unlock works, but it's already unlocked.

Have you updated your Android SDK Tools?

These XDA threads may help Honor6 HONOR MultiTool](http://forum.xda-developers.com/showthread.php?t=2963060) and (http://forum.xda-developers.com/showthread.php?t=2433454). I own same device and get my answers from XDA or India specific fb group, needs signing up. Also see Pantomath

Android SDK is up to date.

Also, there are no solutions to the problem on XDA

I'm going to try and run the unlock command again and see if it fixes it. Wish me luck.

It says it's already unlocked, and like I said, I cannot relock it, as it gives me Command not allowed error. Help please!


text:
How to export emails from android stock email?
I need to get around 7000 emails off an Sony Xperia with Lollipop (5.1.1) that which has stock android email 8.0. Not worried about the format, just need to import them to a desktop client such as Thunderbird or Outlook.
The emails were from pop3 account.


text:
Can files be renamed within Droid Explorer
I want to rename otacerts.zip in a KitKat install on an LG G2 LS980 ZVD and can see no way to do this within Droid Explorer.  Is there a way to do this?

As the Developer of Droid Explorer:
If the file lives in a location on the file system that is mounted as readonly you will not be able to rename a file. This is for security reasons. The same thing goes for deleting a file. This is something I look to address in the future, but have not found the best solution to allow this safely yet.
Otherwise; you can select the file, and click F2 to rename. Or select the file and click it a second time. There is not a menu item to do this action, which there probably should be, I will get that into the work items and prioritized.


text:
Windows 8.1 can't access SambaDroid server
I'm trying to set up and smb server using SambaDroid on my HTC One (M7) running Cyanogenmod 12.1 to sync certain folder on my Windows 8.1 laptop. Once the service starts running on my phone, I can see the SambaDroid appear in my networks on my laptop.
If I click it, I see the sdcard folder. However, if I try to open the sdcard folder, a window pops up that says Windows cannot access \\SambaDroid\sdcard. If I try to map the network to a drive I get the same error. Why is this happening and how can I fix it?
Additional details:

My wifi network is on the wifi whitelist.
File sharing is enabled for the wifi network on my laptop.
Both SambaDroid and laptop are connected to the same wifi network.
Under 'Manage Shares' in the app, the sdcard and all its contented show up and have RW access.
In win8.1 in Network and Sharing Center I have allowed file sharing for 40 and 56 bit encryptions (the only other option is allow only 128bit)

Edit: I've seen on some threads that I need to change the local security policy, but this feature of Admin Tools is only available on the pro version of Win 8.1

This is probably an issue with Windows rather than Android. Please add additional details to clarify where the issue might actually lie so we can address it properly.

what sort of details do you need? I'm a newb to the whole file sharing server thing.

For example, does your laptop work correctly with a dedicated (hardware-based) NAS Server (Samba host)? Have you correctly configured the SambaDroid app? Can SambaDroid access the SD card normally? etc.

I don't have a dedicated server to check this. Is there another way I can see what kind of problem the laptop has connecting to a Samba host? I have updated the post a little more. I honestly just don't know much about connecting to a server, but I don't mind reading up on something relevant if you can link any information that might help.

To be honest, I've never used an NAS, so I can't help you enough. I suggested some general troubleshooting steps. +1ed your question as I feel it should get a bit more attention, but I suspect this is the wrong site for the job. You could try SuperUser, but do ask for a migration by flagging it for a moderator, don't cross-post

If you have another device to cross-check (e.g. an Android device with a Samba client, or a Linux machine), that might help narrowing down the issue – and e.g. see on which end the culprit sits. If no other client can connect either, it might be the server; if others can connect fine, it's rather Win8 as client.


text:
How can I get notifications from two Android phones to one Android Wear watch?
I have a Nexus 5 as my personal phone, a Samsung Galaxy S5 as my work phone, and an LG Urbane watch.
Currently my watch is linked to the Nexus 5 and due to Android Wear limitations it seems I can't connect a second phone to it. Surprisingly it doesn't look like I can find any workaround anywhere online to force the watch to allow multiple connections, however I'm sure there is some way I can at least get limited functionality.
So my question is does anyone know how I could get this to work? The two phones are ALWAYS together so I was hoping for something even as bare minimum as call and text notifications on the Samsung being forwarded over bluetooth to the Nexus that will then send it to the watch.
My Nexus has all the fun Android Wear stuff on it, I just need call/text/email notifications from the Samsung, I don't even need to be able to interact with them, just need to see it. Also rooting may be possible if required, for any device watch included. And I'm okay with paid apps (free is better) but monthly charges are a no-go ever.

You can't - https://support.google.com/androidwear/answer/6058799?hl=en

There are a number of applications in the Play Store which are designed to allow a tablet to send/receive SMS/MMS via a connected phone. If you connect your watch-connected phone as the "tablet", you should at least be able to get notifications for some subset of events to show on your watch.
Caveat - I have used Tablet Talk for this purpose on a non-android wear watch, but not recently, and I don't recall all the limitations.


text:
MS-Exchange contacts are not synching even though mail and calendar syncs fine
For a while now my contacts quit synching on Android with an Exchange 2010 server. Calendar and Mail syncing still works, both directions. This problem is described elsewhere ( e.g. here ) and I tried all the proposed fixes:

Click "sync now" in accounts, deactivate contacts, click again, re-activate contacts, click again
Check that the account is really a "Microsoft Exchange" (i.e. active sync) account, not IMAP, etc
Create a new dummy contact on phone or Outlook and sync again...
Use the Dev Tools Sync Tester on Android (always returned empty stats=[], no errors...) :-(

Versions:

Microsoft Exchange Server 2010 14.3.158.4001
Android 4.3 (Cyanogen 10.2 on Motorola Defy+)

Hi! Please make sure that only the question is included in the question, then answer your own question with what turned out to be the answer :)

Thanks, I was wondering how to properly use the Q/A style storytelling over here :) Will do!

I must wait 8 h because of my low rep.

All right, well don't lose hope and please keep contributing :)

It turned out to be a sync error for some contacts with malformed birthday field created on Android which causes exchange to silently fail.
You can debug it, by getting the Exchange server-side logs, by going to your Exchange Webmail (Outlook Web Access, OWA):

Login in to webmail.yourdomain.com
go to: Options -> All options -> Phone
mark your current device and click -> "Start Logging"
Start sync on the phone
in webmail click "Stop Logging" and look at the new mail create in your inbox

In the log I got three of these errors:
X-MS-ASError: Message = The 'Contacts::Birthday' element is invalid - The value '1979-11-24' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:dateTime' - The string '1979-11-24' is not a valid XsdDateTime value.; Severity = Error
... which causes the whole sync and all subsequent contact syncing to silently do nothing. I had to remove the birthday field from these contacts on Android.
I hope this helps someone!
Here is some more information on the various date formats created on Android devices: http://dmfs.org/carddav/?date_format

The links are dead. For "server-side logs" these might help:

https://docs.microsoft.com/en-us/exchange/troubleshoot/mobile-devices/issues-for-mobile-devices
https://support.citrix.com/article/CTX228077


text:
android missed call notifications not going
I have a Samsung Galaxy S6012. Long time back (I do not remember when) I've got a call. Even though I answered that call, it was put as missed call. Since then it shows a missed call alert in my phone.
First I removed that particular number from the list. Still the same alert was there. Then I removed the entire log history – still the same missed call alert. I have restarted the device many times but all my work went in vain.
NOTE By "missed call alert" I mean a numeric ① being displayed on top of the phone icon:

This is the phone I have http://mobile.cdn.softpedia.com/phone-pics/Samsung-Galaxy-Music-Duos-0.jpg The phone icon is at the bottom left side.If any missed calls then I get a number(like 1,2) at the top like this https://i.sstatic.net/bOfXd.png

a number on the phone icon? are you using a custom launcher, or an app for that?

@geffchang the default phone icon,I do not use any app or custom launcher

@geffchang see this http://img.podnova.com/icons_avideo/124/848/848552.jpg I am getting similar type means a phone icon like this http://cesaualberta.files.wordpress.com/2013/01/phone-icon.jpg and a number 1 which is placed at the top like the other picture

@Izzy not exactly the same icon,So rollback the question

You can [edit] your question yourself anytime, it's yours – so my apologies if you didn't want the image integrated, and no hard feelings if you revert this. Alternatively, you could also add a note there that it's something like this (and not exactly this). I'm pretty sure, even though not the exact same image, it helps people visualize the facts immediately – as opposed to reading the text multiple times and trying to imagine. So I would keep it, and optionally comment on it.

@Izzy ok then I will follow your way.I will not edit the question.Thanks

Why is there an SMS icon with an unread count in the question?

@Archer I gave this is an example.Like the image shown(numeric 2 shows 2 unread messages) In my phone icon numeric 1 is shown always


text:
Is it possible to extend a local bluetooth connection over the internet?
I want to play a game on my phone with a friend who lives in a different city.  The game supports local "ad hoc" play over bluetooth but does not support play over the Internet.  Is there an app that can do this, with or without root?  Or is there a device that my friend and I can purchase that can "extend" a local ad hoc bluetooth network over the internet?  Or is it possible to install an application on both of our computers that will do this?

I think the answer to your question is "maybe", depending on the exact implementation details, and my solution is rather complicated...
Assuming the app uses a Bluetooth PAN*, which Android recognizes as a network device (i.e., one which would you can bridge against)
You could connect both devices to the same VPN, bridge the PAN and the VPN, effectively putting both devices on the same bluetooth network, then connect the two games.
You and your friend may need a custom kernel to enable bridging support (CONFIG_BRIDGE) (looking at the two devices on my desk, neither of them supports bridging out-of-the box) (Busybox has a brctl applet, but I've never used it on Android)
On the other hand, it may be easier to just write the Dev and ask for internet play. :)
If you do this, let me know how it goes!
*It's probably how I would do it, but there are other ways

I'd also guess that the added latency that comes from the bridging involved, and the distance being communicated over, would probably kill the game.

Heh. Possibly. My quick test of pinging a computer from the computer hosting the bridge gives me a 2.00ms average time, while a computer on the other side of the bridge pinging the same computer has 2.13ms . Nothing scientific here, but it seems like the bridge itself isn't a big deal. The Internet latency could be why the Dev hasn't implemented it himself.

The game actually does support internet play, but that version doesn't run on my phone.


text:
Associating a particular input method with a specific app
Is there a way to associate a particular input method with a specific app?  For example, I'd like to always use the Hacker's Keyboard with the Terminal Emulator, while using SwiftKey for most other apps.
If this is a feature that requires rooting the phone and possibly installing a custom ROM, please let me know; I'm considering doing this anyway and the availability of such a feature might be my "killer app".

Currently, there's no stable solution available, but you can try KeySwap to associate specific keyboard to an app.
As Android doesn't allow an app to change Input Method programatically, your device needs to be rooted for this to work.

Looks promising, but I didn't see any news since 2011. Found something by that name on github but it's about swapping Pgp keys. Do you know if development has continued since then?

I do it with Tasker.
Note: needs Secure Settings plugin w/ system+ enabled

Start Hacking (11)
      A1: Secure Settings [ Configuration:Input Method/Hacker's Keyboard Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
Stop Hacking (12)
      A1: Secure Settings [ Configuration:Input Method/SwiftKey Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]

Very straightforward - 1 profile linking desired apps with the enter/exit tasks above. Over here someone generalized it to return to whatever the previous input method was: https://groups.google.com/forum/m/#!topic/tasker/gmkPIQy6l7c
But, like OP, these are the only keyboards I use so "hard coding" SwiftKey was alright with me.


text:
Increasing my phone's charging rate while tethered
I have a Samsung Galaxy S3 and a laptop with 2 USB 3 ports.  When tethered to my laptop (to provide Internet access via GSM/HSPA data), the phone charges very slowly, especially if I am using it for anything else in addition to data tethering.  While connected to a USB 3 port using the OEM cable, it took about 5 hours to charge while tethered but not otherwise being used.  Given the 2100 mAh battery, this works out to a bit under 500mA¹.  It has a micro-USB 2 port as its sole means of power input.
The S3's USB-to-AC Adaptor indicates that it provides 5.0 V at 1.0 A.
The Battery HD app, when running on my phone, tells me that an S3 will charge just under twice as fast via AC power as via USB.
I haven't found any apps which indicate, or any other way to determine, the phone's current draw from the power supply.
If I'm reading wikipedia correctly:

Maximum current draw for a normal USB 2 port is 500mA.
Maximum current draw for a normal USB 3 port is 900mA.
Dedicated Charging Ports (which I gather is what the Samsung USB-to-AC adaptor has) can provide over 500mA but do not support data transfer.  I didn't see any indication in the article of a maximum current.
Charging Downstream Ports can also provide over 500mA along with high-speed data transfer.  It sounds like the maximum current was originally 900mA in the 2007 spec but was upped to 1500mA when version 1.2 was published in 2010.

¹: Wikipedia gives battery specs for the S3 as "2,100 mAh, 7.98 Wh, 3.8 V". The rate of charge of the battery over 5 hours works out to 420mA at 3.8V.  At USB voltage of 5V, this is only 320mA.  I'm not sure what the efficiency ratio for charging a Li-Ion battery is—80% perhaps?
How can I increase my phone's charging rate when connected to my computer?  Is it possible for a USB 2 device to draw 900mA from a USB 3 port?  Is it possible (and safe) to connect my phone to two ports at once to increase the total current?

Good recherche on USB specs. So correct me if I'm wrong, but: considered USB-2 provides you with ~500mA, and you use the phone while charging, "a bit under 500mA" should be more than fine – as your device at the same time uses power itself, which then cannot be used for charging. See my answer here for the S3's power consumption details to make up your own calculation.

@Izzy: The 5-hour charge period I mentioned was while the phone was not in use other than for tethering.  I've updated the question to make this more clear.  The current draw actually works out to 420mA, assuming that we're using the battery voltage (3.8V) rather than the nominal USB voltage of 5V (which would give 320mA).

@Izzy: The chart is interesting, though they don't seem to have researched the power consumption for GSM data tethering.  I guess it might be comparable to the Wifi Tether action, which would put it at about 80mA (at 5V).

So combining your two comments with the original question: USB delivers ~500mA. ~420mA go to charging, ~80mA to tethering – summing up perfectly to the ~500mA. But I'm not involved deeply enough in this to give a full/exact explanation, just wanted to point out some backgrounds ;)

Not all of the 420mA will go to charging; some will become heat waste in the charging process.  But that's 420mA at 5V rather than at the 3.8V used by the battery (and presumably the phone).  But the focus of my question on how to increase the supply current above 500mA.

Charging rate is set by hardware and software, and can't be modified by software only.
Charging rate depends on the following:

resistance between D+ and D- (determines is it a official, unofficial or USB charging)
hardware technology and limitations (QuickCharge 2.0, 3.0)
cable length and quality (bad cables usually have more resistance)

For the S3, as far as I know, you can charge slow (USB, 5V 500mA) or fast (wall charger, 5V 900mA).
The charging type is set depending on the resistance, which is different for wall chargers (fixed to activate fast charging functionality in phones chip) and standard USB charging. If you want to charge quickly while tethering, the only valid option is to have your phone connected to an official Samsung wall charger which will ensure a higher charging current. There may be an option to set the USB connection to "Charge only" but that doesn't guarantee that the fast charging will be turned on.

To anyone still reading this. There is an app on play (Galaxy Charging current Lite) that shows the charging current while charging. Uppon reaserching i find out that the phone software limits charging current. The default current for AC charging is set to 800mA, for USB charging to 480mA. But if you are rooted,you can apply new Kernel (mine is AGNI pureCM kernel) and you can change that up to AC: 1500mA, USB: 1000mA. But you must have AC charger that can produce that current. Original Samsung  is 1000mA.

Look into the usb battery charge spec 2.0 for cdp. A simple accessory to test with is an evaluated kit for the tps2546. Available from digikey for about $25.
Note i believe my siii recently stopped supporting cdp after a vzw update...


text:
Workaround with root for inability to set file timestamps
A bug or unfortunate design choice in Android since forever ago prevents non-root users from setting file timestamps to times other than the present.
Apparently this issue has been fixed and the fix is rumoured to have found its way into 8.0 Oreo.  However, I don't have that version of Android (yet).  Anyway, it sounds like it only works for certain apps.
For a different issue, that of write access to the external SD card, there is a workaround that allows this permission to be granted to individual apps provided the phone has been rooted.
Is there a way to allow an app to modify file timestamps on a rooted phone, perhaps by adding a permission to the appropriate section of packages.xml?  Having to copy files over as root is quite cumbersome and insecure.

Maybe your asking the wrong question... Why do the timestamps on these particular files make a difference, and why are you trying to change them?

Because the system-level inability to set file timestamps affects every app and every file operation on the system, with the result that copying files or moving files from one volume to another changes their last-modified timestamp, fouling up workflows which depend on those timestamps. I don't want to change them; I just want them to remain unchanged.

I guess I have uses Android for years and been on multiple ROM development teams, and this has never come up. What real world application would this effect?

Any operation that uses timestamps. File synchronisation, for example. There are a number of use cases mentioned in the comments on the issue pages I've linked to.


text:
How do I reduce the amount of storage my Email application data is taking up?
I’m using an LG Tribute phone (Virgin Mobile service).  The default email app installed is synced with my Microsoft Outlook account.  I only use this account for ticket confirmations, boarding passes and the like.  However, recently I noticed it is taking up the following storage:
Total: 635 MB
App: 24.5 MB
App (SD Card): 0 MB
Data: 610 MB
Data (SD Card): 0 MB

Considering my phone only has 2 GB of storage, the above is a heavy price to pay.  When I hit the “Clear Data” button, I get the message “All this app’s data will be deleted permanently.  This includes all files, settings, accounts, databases, etc.”  I don’t want to delete my account so I was wondering if there is any other way to slim down how much data my Email application is using?

Would that prevent my receiving emails immediately?

I chagned the setting from 3 days to 1 day but my data is still showing over 600 MB.  There is absolutely no way I have over 600 MB of email accumulated in one day so I assume this is not the way to adjust the data limit.

Dave,
I am using LG nexus. Encountered same problem and concern with yours. Here is what I discover then did: tap "Settings"-"Storage"-"Photos&videos"-"Images"(I've chosen "Photos" app to open images always)-"Assistant"-"Empty your trash-bin". In this last step, you will see some other options that the "Assistant" provided. Choose accordingly.
Have a blessed day!

when you delete the app data it will delete the account stored on that app data from the smartphone memory only, not the email account from the cloud.
So, you could just clear the data and re-run the app. It should automatically detect the email you configured for android OS  (that is auto used by all apps).
Or you can uninstall/disable the app and re-install/enable it, may work too.
What you will DO lose is any other settings you may have made like dark theme, etc. But these are usually easy to set again, if not, just take screenshots.
But, if you want to not risk anything, find a very light email app alternative. It will auto detect email account. Let it sync and compare sizes. If you like it, keep and disable the other. Otherwise, clear the other data, setup it again, and uninstall the new email app.
Ps.: i dont have your device model, this is just my general knowledge


text:
How to fix a boot loop caused by editing build.prop. and formatting /system)?
I by mistake edited my build.prop file
it boot looped,  I then in recovery mode formatted every thing
even /system.
I downloaded stock ROM of INTEX AQUA POWER HD and tried to install it using sp flash tools but was unsuccessful. Then I used adb to pull build.prop to edit and pulled it
It was like a folder build.prop in which there was another folder xbin in which there was su file which wasn't the build.prop
How can I resolve this bootloop issue?
note: I have a mediatek device.

Go to recovery and wipe everything
Install the zip file of the stock rom that you downloaded from within the recovery.
Wipe Dalvik and cache.
Reboot.
Make a backup next time before modifying anything.


text:
How to get ip address of a router?
Normally when a modem/router is connected to a computer, there are multiple ways to know the ip address of them. I am using an android device and, I have free WiFi in my colony.
The problem is that previously the WiFi connected without any issues and the speed was great too. But recently they changed the WiFi frequency from 5 GHz to 2.4 GHz and now the WiFi doesn't get much signal from my home, and hence doesn't connect. And they refused to change it, and the problem is they never understood it, and it was the work of the repairman who changed it.
I am able to connect to the WiFi and it works, when in range, so is there any way to get the ip address of the router so that I can change the frequency. And also the ISP doesn't even respond to calls, and comes in months if there is any problem. And also I know the password and username, so don't respond to it that I am hacking something.
And when I connect to the WiFi it assigns me 192.168.43.214 address. So please tell me is there any way to know the ip address of the router.

try installing the app Network Info II. The router IP-Address is listed under "Default Gateway". Using the terminal might be possible to (ifconfig wlan0) but I think it requires root so just try the app

Given your IP address, try 192.168.43.0 and 192.168.43.1.

@mattm .0 is unlikely, .1 a good guess without guarantee. Using a terminal app (or adb shell), the command route would give a definite answer – as the router will be the point the device routes to. So any 192.168.43.X address showing up as gateway (gw) in the route output will be the router.

The Gateway should be the IP address of the router here which you can get from multiple ways. If benjamin's comment doesn't help then try Elixir 2 -> Information -> Wifi -> More information to see the Gateway's IP address. Alternatively, you can use [tag:adb] to query Wifi service. Do adb shell dumpsys wifi | grep Gateway. It is another matter that the log in page for router could be set at a different IP address.

@Izzy, what specific parameter does route needs to get the information relevant to question? It's simply giving me error "Invalid argument".  Works well on desktop though.

@Firelord that confuses me – I had expected "no argument", like the desktop variant. Right, "invalid argument". What worked: busybox route outputs the routing information as expected – no idea what AOSP (or Google) compiled for the native route command – whatever option I provided (-n|-v|-F|-C|-A) only provoked an "applet not found" error. Sorry for that, I should have tested it before.

Nothing works, the router is blocking access to 192.168.43.1 and is unreachable to others. What can I do?


text:
Droid Explorer wont change anything (Delete, Paste, Uninstall)
I want change files in root but I can't.  It can't delete any system file (No change).
In addition it can't add any file in system/app or anywhere in root!
It can't uninstall any system app from system/app. (Droid Explorer Stopped working).
It can't update any system app like secCalculator2. (Droid Explorer Stopped working).
How can I change files from the PC not with an app in my phone.

device: Note Edge Rooted (deodexed Samy Rom) - Android: 5.1.1 - Kernel: Stock (permissive with busybox)

You have to mount the /system folder as r/w. To do this, execute:

adb shell
su
mount -o remount,rw /system

Now you can modify your files.


text:
No USB connection mode available; PC shows the error: "USB device not recognized"
My Huawei Honor 7 is unable to be detected by my computer. Whenever I plug it in, my computer shows the error :

USB device not recognized.

My phone automatically starts charging but there are no options to connect my phone to the computer.
I've already enabled the USB debugging mode (not sure what it does) but it still just charges whenever I connect it to the computer.
I just want to be able to transfer my files from internal storage across.

Did you try plugging the device into other USB ports of PC?

This usually happens when the device drivers are not installed for your specific device on the Windows PC.

Also if you have a lock screen, make sure to unlock it. For some reason some mobile phones are only in charge mode if lock screen is not unlocked.

Update Device Driver
If Windows is not able to recognize the device, you may also see in Device Manager that the device shows up as an “Unknown Device”. You can get to Device Manager by clicking on Start and typing in devmgmt.msc or by going to Control Panel and clicking on Device Manager.
In that case, you should right-click on Unknown Device, click on Properties, then the Driver tab and then click Update Driver.
If this doesn’t work, you can also try to download the driver for your device from the manufacturer’s website. If the USB device is just a flash drive, then it’s probably not a driver issue. However, if you are installing a USB printer, drawing pad, etc, then it might be worth downloading the driver for that specific device.

I can recommend what worked for me and thousand others.
Install PDANET on your PC. Then follow the procedure below.

The procedure above will install PDANET on your PC and Android device which is a Tether application.
  If you need it, you can keep it, otherwise just uninstall from PC and phone.
  Your Device will connect to the PC hardware just fine.

Download HiSuite, it will download the specific honor drivers.

Open devices manager and find USB. Now remove any unknown devices. Restart computer. It will find android device. Install huawei usb driver. You can also use Huawei pc suite for windows. You do not need USB driver.

Your data cable is damaged or broken.. Change it and your problem will be solved! And turn the usb debugging off..
HOPE IT HELPS...

authors: Виктор Огнев


text:
Anitivirus and antimalware apps not working on malicious ads shown during the usage of Times of India app
I have a Redmi 2 Prime phone running Android 4.4.4. I have a news app named Times of India in which if I read some articles, suddenly, an ad popup appears. And these ads seem to be totally fake and malicious. Ads like "your phone has slowed down" or "your phone has virus". They take up the whole space, so it's like a hijack.
There was this same problem, only more severe, in my last phone. Now I have changed the phone altogether, but it seems the problem have crept back in somehow.
I have installed all sorts of antivirus and anti-malware apps with no avail.
How do I get rid of the issue?

I'll also suggest trying avast and Kaspersky if you already haven't. You should find the app that creates such ads and delete it.

Related AndroidSE post

Does this happen only when you use the news app? Is it 3rd-party app? Could we know the name of the app?

The app is Times of India

If the problem persists on two different devices but within the same application, I would suspect that the application is the problem. Looking at the Times of India app, the first sign is the "Mature 17+" rating, which is suspicious for a news app. The second is the ridiculous list of permissions for this app:
Version 3.8.1 can access:
Device & app history
read sensitive log data
Identity
find accounts on the device
Contacts
find accounts on the device
Location
precise location (GPS and network-based)
approximate location (network-based)
SMS
read your text messages (SMS or MMS)
Phone
read phone status and identity
Photos/Media/Files
modify or delete the contents of your USB storage
read the contents of your USB storage
Storage
modify or delete the contents of your USB storage
read the contents of your USB storage
Wi-Fi connection information
view Wi-Fi connections
Device ID & call information
read phone status and identity
Other
receive data from Internet
full network access
view network connections
read Google service configuration
prevent device from sleeping
control vibration

Finally, if you look at the reviews for the app, most of the negative reviews say there are a lot of very obtrusive ads (while a lot of the positive reviews are spam not even related to the app).
I would suggest either finding another news source (like accessing a respectable newspaper through the mobile browser) or continue using the Times of India app and live with the fact that those ads make the app free to use.

It's rated 3+ on my side, though in my opinion, news app having rated for 17+ (or at least PG) is understandable, depending on the contents (sometimes political issues, or entertainment is not family-friendly). But I agree with the rest of your answer.

Try to get in safe mode (google it for your phone)
Then go to applications see in all applications and uninstall applications that are uninstallable
Go check again your phone might be fine and you can also try Adaway

I had tried this in my previous phone. It didn't work. I uninstalled as many as I could, but browser pages would still redirect randomly. Now that is not happening in my new phone. But it has started in this one app.

I think it is inbuilt in that app?