text:
USB internet option for tethering greyed out. How to fix it?
Under Settings → Wireless and networks, USB internet will not highlight nor will it let me activate it. Therefore, I can't connect my smartphone to the PC.
Is there an alternate way to check why this is occurring and fix it?

Please make sure your data cable is functioning properly. There are also some USB cables that are not for data use. Perhaps try a different cable. Please also specify your device/OS/PC OS.

I wrestled with greyed-out USB tethering for 3 days.
I factory reset, changed VPN settings (when for an unknown reason I lost data capacity), read all the forums, etc.
It's embarrassing. Despite having a $40 metal-braided, multi-tipped cord with amazing mall-metal jacks that works for charging, for tethering it wouldn't. Trying the $3 cord I had the same effect, I discovered it was the cord. That's all.
The expensive cord obviously isn't made to do anything but charge, and the cheap factory cord was simply defective. (When I wiggled the wire where it goes into the hack, my phone beeped and all the charging/tethering options appeared.)
That whole time it was the cord, poorly manufactured or damaged.
Try a brand new cord. It's likely just that. (My defective cord was only 1 day old!)

In my case it was a matter of unplugging, rotating the plug 180 deg, and plugging back in.

When "Data saver" is turned on, USB Tethering is not allowed.  Turn it off and you may be able to USB Tether (Android AOSP 7.1):

Settings
Data usage
Tap "Data saver"
Tap "Off" to turn it on.

You're steps may be different, you know the OS guys like to move the cheese.

And apparently as I found out, not all USB type-c cables that advertise themselves as DATA cables will allow USB tethering

Unplug the USB.
From Settings > Developer options, enable it by switching the "on" option at the top.
Connect the device with USB.
When asked, choose "MTP".

The USB tethering option will be available.
Tested on Sony Xperia C4.

I faced the same problem of USB tethering option being disabled when I updated the software on my Samsung Galaxy On5.
The solution was simple though.
When you connect your phone to the PC with a USB, a message will pop up on your phone "Allow access to device data - An MTP connection will be established to access the data on the connected device - DENY ALLOW " (Please note this message did not pop up prior to the software update...which means the phone was directly connected to the PC via USB)
When you select the ALLOW option on this pop up, then only the USB tethering option will be available for selection.
If you select DENY, the USB tethering option remains disabled.

I was using a USB connection on the front of the PC house, it seems it's only connected with power because the phone didn't connect to it. As soon as I plugged it in to the back of the house onto the motherboard's backpanel, everything worked.

I called up MI Customer Care, and this is how it worked out for me.

Install the latest system update
Go to Installed Apps> System Launcher> Clear Data and/or Clear Cache

Simple, gray means connection error (any how).
In my case,

Connect my PC & smartphone by a USB Cable.
Under Setting>Tethering & Mobile Hotspot>USB Tethering
check the radio button.

That's it.

This turned out to be a hardware issue. Tried a couple of cables, but they were all the same. After removing the phone from its case and blowing in the connector and trying again it showed up. Presumably the charging pins were OK but there was some crud on the data pins (or maybe the case was not letting the plug go all the way in).

I had the same question (but I didn't have carma to post the answer), now i have and I'm going to copy my question+answer (the original ones are here)
For years I used my phone (with Android v12) as a backup connection to the internet (and you know - airports...). Today I connected my phone to the laptop with my factory-default cable and tried to enable tethering - but the USB Tethering button in the menu was disabled.
I checked the cable (several), and I use one that does the trick with another phone.
So it turned out that I needed to dance around the phone a little. Maybe the menu items on your phone will have other names.
1. enable "Developer options"
In two words: Settings > About device > Version and here tap "Build number" several times.
Or google this: android YOURBRAND enable Developer options
2. reset default USB settings
Settings > System settings (at the bottom) > Developer options > Default USB configuration
I had "No data transfer" there, I changed it to "USB Tethering"
And also check the neighbor menu item Select USB configuration, my default value was "Charging", so I changed it to "RNDIS (USB Ethernet)"
Now disconnect-connect the cable, and it should work
original answer

For me, I had to use a USB-C to USB-C cable, as it wouldn't work for me trying to connect my Galaxy S20+ USB-C to a USB-A port.

As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.

Its just your cable that was faulty.  Some cables are power only, some are data only and some are both.

USB-C (what many Androids use to charge now) is double-sided - you can plug it in either way and you'll be right.
But USB-A is not double-sided, so often, a USB-A to USB-C cable only works one way. It can help to mark the side that does work with a sharpie.

For people still looking for the answer, connect the USB cable to the PC. This enables USB tethering and it longer is greyed out. Hope this helps.


text:
Tasker: continually check for shell command result and run task when it matches
I've got the following shell command that checks to see if a particular process is running:
pgrep -x com.package.name

It either returns a process ID if the process is running, or it returns empty if it's not. How can I pop this into a tasker profile that checks every few seconds and runs a task when it sees that the result is empty?
The ultimate goal here is to keep near 100% uptime on a process that has a tendency to crash multiple times a day.

I see two ways to do what you want.
Run a time based profile and set it to repeat after every n minutes. Then follow your logical actions in the task of what to do when it crashes.
The other option (since the former doesn't give control on seconds but minutes and hours) is to execute the task manually or at some point automatically (say at 10:00 AM) but make an infinitely looping task.
For example, consider the following actions:
Note: Anything with and between <> has to be replaced with your custom values.

Code → Run Shell

Command: <YOUR_COMMAND>
Store Output In: %Grep

Create this action based on what to do when the above command returns nothing i.e. when the process is not running.
When doing so, set an 'If' condition under that action. E.g. under the action  App → Launch App, the If condition would be %Grep Isn't Set.
Note that I'm not talking about using a separate If action.
Add a wait of the amount of seconds/minutes/hours you want using Task → Wait
Now is the time to make an infinite loop. Use the action Task → Goto

Type: Action Number
Number: 1

All we've done here is to execute a command then execute an action if only the first command didn't yield anything, then wait for sometime and then repeat the whole procedure.
At some point, you would want to get rid of that infinite loop. You can either consider disabling and re-enabling Tasker or make a stop action in another task using Task → Stop, and execute it manually.

source: Stack Exchange

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

sort: votes


text:
How to root ZTE Optik (ZTE V55)?
I have a ZTE Optik (also known as ZTE V55). I've rooted a ZTE Force from FreedomPop using only towelroot, and it has it's own problems but that's a different story.
I've tried a number of one-touch root apps and used Kingo root on the computer as well but nothing works. Everytime I use one, it says root failed. I've sent requests to each of their devs and I've got nothing back in 2 years. If it's any help the most I've ever gotten from one of the app was my tablet would restart when I tried using Kingroot.
I really hope somebody could help me, I'm not a noob at this at all but I wouldn't call myself a dev, I'm more than comfortable with downloading apps off the web straight to my tablet because I don't have a PC of my own yet, I just wanted to put that out there.
I have used the following one-touch root apps, all have failed:

Towelroot
Kingo root
Kingroot

(I have also tried using a terminal emulator to root but I just gave up after a while)

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


text:
galaxy s6 build number LRX22G.G920W8VLU2A0G2 root help
Its been like 3 hours that I am looking about how to root this build number of my galaxy s6, I have found some links but I don't know whether they will work or not. Please can you tell which method will root the phone.
My phone details are
Android version 5.0.2
Build # LRX22G.G920W8VLU2A0G2
Methods I found to root phone are -
Method # 1. forum.   xda-developers.   com/show...&postcount=175 [ someone did root it with build number G920W8VLU1AOCG , mine is G920W8VLU2A0G2 so can I use his method over my build number? ] and cf auto root is only available for G920F (international version).
Method # 2. http://www.skipsoft.net/?page_id=1197
Method # 3. http://galaxys6root.highonandroid.co...twrp-recovery/
Please tell me which method should i use to root my galaxy s6.
Thank you very much.

can you please relink xda? also, most users a reporting success on 5.0.2 with the highonandroid method.


text:
How to display, hear, and control an Android device using PC?
I used Mobizen. However, only the screen shows up. The sound doesn't come from my PC. Also I do not think I can control my Android device from my PC.
Any way to do that?
I want to connect via Wi-fi. Mobizen seems to be web based which means information would go through Internet first before showing up on my PC.

If you want to control your android device from you PC you just have to install "AirDroid" app from play store you can control all you media of your device from PC and read/write/send/ SMS messages live screen control use device camera from PC and so many features.
You just have to connect your device with a WiFi also with the same WiFi your PC !

airdroid cannot display my android device full screen.

So not sexy enough

Just go to screenshot icon in the AirDroid desktop in your PC browser it can display your device screen with live screen


text:
Remove Google App from non-rooted phone

Is it possible to Uninstall Google App without root permissions ?
It consumes more internal memory and drains battery.
I already gone through a thread to disable it but uninstalling may free-up some space and saves battery.

AFAIK, no. It's considered as a system app and thus, impossible to remove (though I'm curious how you disabled it without root)

Its my primary phone that's why I'm worried off. rooting makes phone bit unstable and shows annoying popups asking root permissions every time.

I would just disable it just as you would do to any bloatware, but besides removing updates it is impossible to completely remove the app.

It's not rooting which causes those (annoying) popups. It's a superuser app which shows them whenever an app demands root access, and you would see them if only you've not set a custom default policy. // I'm curious how exactly did you conclude that rooting decreases any amount of stability?

It's not just about Google apps. You can't remove any system app without root privileges. The reason is very simple. You need higher privileges (system; root) to write the system partition which contains those system apps and you don't have it. system partition is mounted in read-only mode by-default.
Unless that partition is already mounted in read-write mode, a system app uninstaller would first have to remount the partition in read-write mode and then would begin the procedure of removing the app. To remount, they require root permissions while you're asking something impossible here.
Thinking about adb wouldn't help here because it doesn't have the privilege to remount that partition too.
As for freeing some disk space, know that disabling those Google apps and clearing their data from Settings → Apps → All apps should be enough because even if you somehow end up achieving the impossible, you won't be able to see any difference since the insufficient-memory issue is associated with data partition, not with system.
See Where in the file system are applications installed?
As for any concern about the battery, you may be able to save some juice using Greenify.


text:
search and delete select sms?
I get all these spam sms from everywhere...
I tried the phone's usual search feature. I search for a spam keyword in my messages, and then try to delete all those messages.
The problem here is that I don't have the option to select all those messages at once and delete them; instead I've to manually delete those messages.
Is there a better way to manage this problem?

Is the SPAM messages you receive come from the same number or different numbers?

Its from multiple sources

SMS Search and Delete have option to select all found messages and delete  them all at once.


text:
Regex Caller ID (match suffix)
I get calls from a queue from my phone provider. The phone provider distinguishes these calls by adding a suffix.
12345678
becomes
1234567801
I would like to make a contact with a phone number which matches all numbers matching the suffixed numbers in order to have an at a glance recognition of queue calls, as opposed to direct calls.
Is there any way to achieve this? Can it be done with tasker?

I don't know about any app that would allow creating a contact with wildcard or regex but you can consider Tasker to execute a particular action as a recognition of those particular numbers.

Profile: State → Phone → Call

Type: Incoming
Number: *01
* is the wildcard here which would  match anything. 01 is the suffix you want at the end of the number.

How you want to recognize those numbers is up to you. Under a task you can show a:

Toast: Alert → Flash
Notification: Alert → Notify
Popup: Alert → Popup
May be, a Scene like this:
(Click image to enlarge)

You can also block the calls if you want to. There is also a dedicated app I know which can block calls based on numbers using certain regex. See my answer here: Customize call blocking

While it includes the solution, wouldn't it also show non-provider calls ending with 01 as provider calls?  Where I live, the first 4digits of number are specific to provider, I'm not sure if that is standard everywhere.

Not really my concern if you ask me. OP asked us something to take care of which I perfectly did and I also knew this point would be raised by somebody too. If OP raises your point then I would ask them to provide a definite use-case in the question itself so that I can update my answer accordingly (subjected to my discretion).

You may create a single contact with multiple numbers. Just copy >> paste the original number into a new number field and add the suffix. I don't think there is a limit to the number of phone number fields.

IMO, the question is about expecting any number ending with a particular suffix to be get recognized by OP when the call from that number comes and OP prefers to have a contact amassing all those number under a hood. I understand, as per your answer, a person has to already know all the numbers ending with that suffix but how can we expect anyone to supposedly know all those numbers already. Could it be that I've misunderstood something here?

Op should have misused the word suffix instead of prefix. General phone provider calls will have static prefix. I think the OP meant numbers like 12345678, 1234567801, 1234567802... Blocking *01 will have a much wider range of numbers, even numbers out of a single network operator . If what I assume is true, OP might need to create single contact with 100 numbers only changing in suffix.

@BharatG Firelord is correct.

@Magnus Rose in such case my answer is invalid. Could you post 3 or 4 such numbers, im just curious. :)

1234567801
2345678901
3456789101
4567891201
The first 8 digits are unknown. Could be any valid phone number.

Are the first 8digits always ordered numbers (digits n, n+1, n+2, n+3...) ? Or could they be randomized as well?


text:
My android apps sometimes crash
Say I am playing clash of clans or boom beach. A crash in the middle of an attack could be very fatal.
What happen is I was playing and then suddenly the screen go back to the home screen. No other apps are running. I can click the multi task button (or whatever button in bottom right) and the original apps shows up. However, it seems to be a crash because if I select it it reloads.
Does android have event logs I can check. What's going on? I got 4 GB memory. It's asus zenphone 2

How can I view and examine the Android log?

That one is for the crash. This one is for the log reports location

They'll lead you to the same thing because ultimately you want to see why the crash occurred? I don't see any difference in the questions but take this as my opinion only. Besides, I did point you to the right source in the comment on your original question. Did you see it?

Yea. May be I should delete the other question if not too late?

Use logcat, the goto Android crash report tool. There are a few ways to use this utility: over adb, in an Android terminal shell, or with an app. If you have root, I suggest using an app like Logcat Extreme.
Basically just start up the app, go to settings >> Priority Level, and check "Errors." Go back to the main screen, hit the record button. Now repeat everything you explained in your post, opening apps and checking recents. When you're done, go back to Logcat Extreme and hit the record button again. The log will be saved in the folder /sdcard/LogcatX.
The best method, which doesn't require root, is to use logcat in the terminal or over adb. There are a lot of guides for this. This one can help you logcat on Windows or Linux.

When system don't get required resources it generally hangs but due to hanging some apps make memory full, so to avoid data loss system restarts. Same as human brain, if brain is unable to get fresh oxygen it shutdown itself( getting consciousness). You just need to force stop all your apps before playing game. & run game in controlled environment like using some kind of game booster app. I recommend CM SECURITY app, contains inbuilt game booster. It works fine even game is 4 GB & available RAM in your phone is 1GB.

(Click image to enlarge)

In all Samsung devices with all Android versions OS, try this - Go to phone dial and type *#9900# and press button "Run dumpstate/logcat" and then once it is done, press "copy log to SD card".
You would have your entire log activities of your phone from boot until you press this button. Your log would be copied to your SD card.

I am using asus zenphone


text:
How to set lock screen wallpaper in OnePlus 2?
OnePlus 2 doesn't have the head of 'Themes' under 'Settings' menu. Nor is it giving an option of lock screen when choosing 'Set as' for a photo.

Related post on one plus forum for oxygen os https://forums.oneplus.net/threads/how-to-change-lockscreen-wallpaper.290408/

If you've root access, you should be change the current wallpaper (/data/system/users/0/wallpaper) to your desired wallpaper. Replace the file with your wallpaper (PNG file). Make sure the file name remains wallpaper and not wallpaper.png or any extension as suffix. Reboot and see what happens

Soon this option will get added through OTA update! probably it will be releasing in 2-3 days. It's oxygen version 2.1.2

authors: Хамидя Аберхаева

authors: ณรงค์กร ชูวงษ์วาน


text:
Getting "Application relies Google Play Services, which is not supported by your device. contact the manufacturer for assistance" error on custom ROM
I have Micromax A114 Canvas 2.2 and I change its ROM every time I'm bored of the existing one. But this time, when I changed ROM of mobile and tried booting it with Note 4 ROM (though it is not Note 4) which upgraded my Android 4.2.2 to 4.4.4., Google apps do not work here and giving this error

<Application Name> relies Google play services, which is not supported by your device. contact the manufacturer for assistance".

I have tried upgrading Gapps for 4.4.4 and also installing version which is compatible for 4.2.2 but it does not solve my problem.
Can someone please help. I don't want to change this ROM because I'm liking it for now.

I'm guessing that ROM just isn't compatible. Sorry.

Rest of it is working just fine apart from the google play services. Even when i stopped  play services it stopped prompting with the error but the some google applications are not working.

You may install any unofficial version of ROM made for your device, but you cannot expect everything to work.
If you really want newest Android version on your mobile, you may forward your request to the device manufacturer, which in your case is Micromax.
The Google Apps packages for particular Android version doesn't mean they work on every device with the appropriate Android version. They can be guaranteed to work on devices that pass the CTS. On such devices, if a bug like you have encountered occurs, you can file a bug report.
There is nothing much you can do to make Google apps work.
Alternatively, you may use the last Android version that your manufacturer released. Google apps on almost all devices get auto updated to the latest versions, and you wont encounter any such force close issues.

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


text:
How to correctly identify your phone model and version?
I have a Samsung Galaxy Nexus and I'm trying to do a fresh reinstall of Cyanongenmod.
I see in their website that there are three different versions of this phone: https://wiki.cyanogenmod.org/w/Devices#vendor=%22Google%22;searchable=%22galaxy%22;
Now I am confused and don't know which version I have? I bought it in Portugal. But is there a way to automatically identify the phone?
Thank you

Go into settings then About Phone and it should display everything you need

From there I could only see that Cyanongenmod's version was implying that the phone was the maguro model. I'm not sure if that confirms that the phone is maguro as the first time I installed Cyanogenmod I might have done it wrong

Well, my assumtion is that the Cyanongenmod code get's the model using a GET command, so I'd say it was pretty accurate, I guess one way you can do it is type a model number into Google and see what model it comes up with

also what Gaurav said is a good path to take... tis a good, safe app!

Download CPU-Z. It helps to correctly identify your phone model, among other features.

Link for the app, a brief description and optionally, a screenshot would help.


text:
How to play song unlimited time?
There are 2 songs in my playlist. I want to listen first song once then secondary song unlimited times. How to do that ?
Thank you !

Which music player do you use? Have you tried the repeat mode on?

There should be an option "Repeat all". That would do the job.

@Firelord Repeat all would repeat both infinitely, not just the second one.

Just listen to the first song as normal.
When the second one starts playing click on the repeat(1) button and...
Enjoy!

VLC allows you to easily loop files/playlists.


text:
Fall back to pattern lock if fingerprint not recognised
Can I make my phone fall back to pattern lock (instead of password) if the fingerprint isn't recognised? I've got a Samsung Galaxy S6 with the stock rom, Android version 5.1.1. Ideally I'd like a way of doing this without rooting the device.

If you're willing to fall back to pattern, why use the fingerprint at all? Is it more convenient? (I'm assuming you know that if you did do this, you'd be giving up any security benefit of fingerprint locking).

As you have seen yourself, that is not the standard procedure. Hence, if you like to have that I would suggest to have a look at Trust Agents (Smart Lock feature uses them). You probably could write your own Trust Agent app that checks for failed fingerprint authentications and then call the pattern authentication.


text:
Update Lava Iris X1 Grand to Lollipop
I have Lava Iris X1 Grand. When I first bought it, the update was available. I was not interested at that time. Now I feel it should be installed but it doesn't work.
Anytime I click software update in About phone menu option, it doesn't respond at all. I installed third party app but it says "No update available & your device is already updated".
What to do then?

I have KitKat now. &want to update to lollipop, I have mentioned in this question. I have used SYSTEM UPDATE app

even I was facing this issue, but some how got the solution by trial and error. The funny part is its very simple. I hope you have downloaded the update package form the link: http://www.lavamobiles.com/support/iris-x1-grand/android-lollipop-upgrade
once you have downloaded it, just rename it from "Update_KK to L_SD card.zip" to "Update.zip", try the steps to update now.

Renaming the package is not necessary actually. Just remember to put the file in the root of SD card.


text:
Google Play : An error occurred while getting the status of your purchase
I'm unable to buy apps from the Play Store.
This is the message I get when trying to buy the app from a desktop computer :
(Click image to enlarge)

This is what I get when I try to purchase the app from my device (Nexus 5) :
It's in French, in English :

Unable to process your order. please try again

I have already tried clearing the cache for the Play Store app on my device, cleared the cache on my browser on my desktop computer, and I tried 2 different credit cards (one Visa, one Mastercard, both working on Amazon).
I am able to download free apps, and was able to purchase apps from the Play Store in the past.
My phone runs Android 5.1.1 and is not rooted.
Does anyone know what the problem could be or even where I could find more helpful error messages?

Sure. Imgur provides an easy resize functionality. Append the URL and the image is resized. See here to know what to append: Thumbnail image on Stack Overflow

Silly me, I was trying to purchase the app with the same Google account as the one I use for publishing apps, which is clearly forbidden by Google's policies :

Please note that it is against Google’s policies to purchase your own
  application. You will receive an error message when you try to
  purchase your own application.

Pitty that the error message wasn't a bit more helpful, but the mistake was mine anyway.

Unfortunately, this is not a universal answer. Getting exactly the same error when trying to rent a movie, and I have never published any apps.


text:
Mark an email as read when read on Gmail app
Sometimes I read my emails on my lg g3 but every time I open my mac I have those emails as unread. In other words, it seems that the gmail app does not mark the emails as read on the Google's server ...
How can I solve this problem?
EDIT: Solved! I just deleted the app's data and it worked as someone mentioned here

If you have found an answer to your question, you should write your own answer and mark it as the correct one.


text:
Android doesn't feel as responsive as iOS?
I have a Moto G 2 on Lollipop and it doesn't feel as fast as like say an iPhone 5C. I know that it should be the same,  as they have similar specs,  but why does Lollipop feel so slow compared to iOS? Everything just feels snappier on iPhone. I think part of it is that iOS opens apps immediately then loads,  but android loads the app,  then opens it. How do I make my phone feel more responsive? It is rooted.

See if changing Window, Transition and Animator duration scale to a low value would help you here. They are under Developer options. See how to enable the Developer options, if needed.


text:
Pause download using wifi
Am downloading WWE immortal on Google play store and am  using WiFi connection, pls how do I pause the download, each time I close the connection it's starts from the beginning again, pls I need help

No this is only possible in the MIUI because it uses a separate download engine. There is no option to pause play store download in stock Android as of now.


text:
How can i disable android permission manager notification?
I have an android 4.4.2 device and permission manager app enabled.
I have facebook messenger installed for example and i deny it permission to read my sms or phone contacts.
It works, but keeps displaying "Messenger is denied " in the center bottom lower screen for ages. Sometimes i need to reboot my device to make it go away.
absolutely annoying

That's called a toast. Permissions manager is part of Android (android) and you can't do anything about it without root access. See if there is an option to not show toast/notifications, in your permission manager app.

Thank you for clearing that up. I had no idea it's called like that. Will search google on toasts and whatnot but my device is rooted. any advice on how i can do something about it given that it's rooted ?

I can give you the way, but as I said, it is part of Android (android). It's take or leave approach. There is no compromise. My solution would make you end up with no USB connected notification, no low storage notification, may be many more native notifications that you will not be able to see. Do you still want the solution?

i think i can adapt it or something. so please tell.

Things are different in my case. Sorry I mixed things up with my Lollipop. I need some clarification. Do you see a notification in the notification bar about Permission manager? Or do you know the app responsible for that toast. I see that in my Android 4.4.2 the relevant app is named "Permissions Control"  whose package name is com.mediatek.security. What's the name in your case?

See this answer. It lead me to Untoaster app (requires Xposed Framework). Once you're done installing it, you have to use a regex pattern. For example, if you choose com.mediatek.security as app or all then then the pattern would be [a-zA-Z]+ is denied. You've to tweak it until the toasts are stopped coming.

"Toasts" are implemented in an app's java programming, so that needs to be modified in some way, assuming the app doesn't give you the option to configure toasts. The following assumes you're rooted.
The easy way: Use Xposed. There are many modules available to block all toasts, block toasts for a specific app, or even customize toasts, e.g. EnhancedToast and UnToaster Xposed. Xposed supports Android 2.2(Froyo) and up, with increasing support for 5.0+(Lollipop). If your Android is bootloader locked, aka no TWRP/CWM recovery, you can see if your device can run FlashFire to install Xposed. Note: To use Xposed modules on an app, it needs to be deodexed, e.g. data apps, apps you download from the Play Store are deodexed.
The hard way: You can usually decompile an app into smali code, edit the smali code to disable toasts, and then recompile the app. Without smali modification, this process is known as deodexing. If you're interested, check out this Lollipop compatible deodexing guide for decompiling an app's java code, and this smali code editing guide to learn how to edit smali code.


text:
Recover deleted SIM contacts
I have an Android phone. I accidentally deleted some of my SIM contacts which were not synchronized with my gmail account (actually, I hadn't synchronized my SIM or Phone contacts ever). Is it possible to recover those deleted SIM or phone contacts using software or any other method?
Please someone help.
Thank you.

There are couple of Contact Recovery App on Google Play Store. You can find out them here. Try them as suits you.

Unfortunately, you cannot.
You need direct access to sim memory for that to work. Any app that exchanges data (standard read and write of contacts, sms, few other id's) with sim card will pass the request to the micro controller on the sim card. And I don't think it is possible for apps to have data recovery level operations on the sim card's memory.


text:
"Ok google" doesn't work
Device: LG G3 F400k
Rom: CM12 Nightly (12.1-20151004-NIGHTLY-F400)
Google App version: 5.3.23.19.arm
Google services version: 8.1.15 (2250156-230)
Google Play store version: 5.9.12

Everything seems up to date. But I don't have the options to use Ok Google on other screens/apps. And the hotword won't even work in the app itself.
Screenshot:

Click to enlarge

I had the same issue with my device as well.
Device: SM-G360T
Android version: 5.1.1
Google App version: 5.13.31.21.arm
Google services version: 9.0.83 (234-121911109)
Google Play store version: 6.5.08
My solution was to download the Google Now Launcher (version 1.3.large). It replaces your current launcher, but I thought it was a good exchange. Warning! Replacing your current launcher will change your current home screen applications layout, but you can always uninstall Google Now Launcher from the Applications Manager to return to your old launcher.

authors: Арина Морозова


text:
Applications lost permissions after flashing Marshmallow
I upgraded my Nexus 5 from Android 6 preview 3 to the 6.0 final version by manualy flashing image files from google factory image.
All my applications lost permissions and crashing. I am unable to give permissions through settings too. The only solution I found so far is to reinstall applications. However I don't want to reinstall all of them for obvious reasons.
Please advise how to fix it.

Flashing factory image solved the issue.
https://developers.google.com/android/nexus/images

For me the boot.img modification by Chainfire worked partially: device seems to be rooted (with supersu 2.51 beta), but twrp asks for password and cannot mount anything (I've posted a question about the latter). In particular I could not install supersu via adb sideload from recovery, as Chainfire recommends. Rather I just installed apk from system (using simple explorer).

Sorry, could you clarify if this answer solve OP's problem? (particularly, about restoring apps permissions). I don't see if OP has any issue with flashing, and I didn't have this issue after flashing, so I'd like to know if flashing & rooting will help to solve OP's problem.

@AndrewT. I've posted this because of the comment to Andi's answer - Sergey asks for a working root which is required for that answer to work. In fact I believe the source of OP's problems is that Marshmallow blocks root access (among other things).

Thanks @მამუკაჯიბლაძე. I managed to root with the guide. TB reports errors though during restore, so I am not sure if the solution works.

@Sergey As I discovered today (see this answer to my own question), Chainfire's instructions do not mention one important step: after booting into recovery, one must wipe data. Did you do this?

(having your backup at safe place of course; I am just restoring playstore apps from my Google account and have apk files of the rest on pc)

@მამუკაჯიბლაძე That wiping seems to be related to forceencrypt on Nexus 6, 9 and newer devices. Not relevant to Nexus 5

@Sergey I don't know that much but there might be some other things besides forceencrypt, like ro.debuggable or ro.adb.secure...

I had the same problem. For me the following helped (root needed):

backup the app with Titanium Backup (TB); its an app available in PlayStore
restore it immediatly with TB
done (no uninstall needed; app data wont be affected)

Can you recommend a working root for 6.0?

authors: მამუკა ჯიბლაძე


text:
How to restore contacts in android 6
Today I flash android 6 on my nexus 5. It is really not ready to use the system. I have many problems. For example, all my SMS have been deleted. It is OK. But I lost my contacts too. How to restore them?
Of course, I logged into my account. Of course, I have WIFI. Usually, contacts restore from Cloud backup, but not now.

Contact means your Phone contact or gmail contact ?? Well if you are asking for gmail contact then go to your gmail account and check out your contacts are visible or not ? Go to this link - - http://www.google.com/contacts , if the contacts are there then you can easily access that on your phone via google sync.
Try this software - ->  Android Data Recovery
1) Download the software from the below link, install the software in your PC
2) Connect your Mobile with PC .
3) Turn on USB Debugging by going to - -> Settings - -> Application --> Development- -> USB Debugging.
4) When your Phone get connect with PC, you have to press Start button to start the scan, it will take 20-30 min to scan.
5) When scan get complete, you will see your contacts and other options like SMS on the  left pane. Select the relevant option that you want to restore and Press - -> Restore.
6) Disconnect your phone and check out your contacts in the phone.
Taken Reference:
http://www.androidphonesoft.com/resources/recover-deleted-contacts-from-samsung-galaxy-s4.html

Same happened to me. It helped when i opened recent calls tab in dialer and loaded full recent history. It managed to get most of the lost numbers from there or anyways it helped. Worth of trying.


text:
How to log all user interaction on my device?
I would like to know whether on an Android device it is possible to:

Log the date and time of every time a password is entered on my Android phone (this security measure would mean that if someone in my home sees me enter a password without me noticing it, and then uses it to log into my phone, I would then be able to see whether this happened or not to take care of my suspicion).
As an extra step, I would like to log all activity once the login screen is bypassed as well (for instance the date an time and application name for each time an application is opened. This is because, while my phone is password protected, once I make the screen go blank by pressing the hardware button on the right, some time goes by until a password is required: I have things set up this way so that I don't have to enter the password just so often). So, is there a way to log all user activity when the lock screen has been bypassed as well?

The device I have is a Samsung Galaxy SIII Neo running Android KitKat 4.4.2.
The device has been rooted.
Thanks!!!

A bypass technically is a mockery of the security of a particular thing for which bypass has been used. In your second case, I see no scenario of bypass. It's just a user (not you) entering your password and gaining access in a technically legitimate manner. Please explain what kind of bypass scenario is supposed to be considered in second point. How do you technically differentiate between your access and the other person's access to the system? I currently find no difference.

Also see How do I know when an app was used in Android?

@Firelord, if I leave my phone on the table, and know I didn't touch it in the last 8 hours, and go back to it and see that a password has been entered correctly (1.) and that some applications have been opened (2.), then I know there has been an intruder accessing the stuff on my phone. No, I don't distinguish between myself and someone else. I just happen to remember when I last personally interacted with my phone.

@Firelord, I've tried following the instructions in your link, but it does not work on my Samsung Galaxy SIII Neo. The error I get is that there is a connection problem and that the code I entered is not valid.

John, in that link I also mentioned alternative way using ADB. Does that also not work in your device?

Well, for one I cannot get to the Testing window, is there some other code I need to type on my Samsung Galaxy SIII Neo KitKat to get this to show up. Secondly, when I am on vacation I don't usually bring my computer with me, so I cannot really rely on using 'adb shell' to get to the last time, especially since I may use the app after someone accesses it, and this would overwrite the last time with some other time, not desirable.

I'm wondering if I could have an app built (e.g. on freelancer.com or elance.com) to support the behavior I'm looking for, or whether what I'm afeter is impossible to carry out. Thanks.


text:
Better battery life by factory reset?
This is a bit odd. I thought I fairly well grokked how things worked, but this seems weird to me.
I have an original Moto X. I've had it for almost two years now. It started off with Android 4.2 (Jelly Bean) and, slowly but surely (because Verizon) got updated through to Android 5.1 (Lollipop). It has never been rooted.
I figured it's been getting a bit long in the tooth, and the battery life has reflected that. I could leave the house at 100% charge in the morning and, a two-hour train ride later, without ever touching the phone, would be down to about 60% battery. If I didn't charge at work, it would be dead by 2:00, with minimal usage. If I work at home, with reliable wifi all day, I can usually get to about 4:00 before having to charge. But, I figured, this is just what happens to a well-used phone toward the end of its life.
I finally got the Lollipop upgrade and had been using it for a couple of weeks. Things were okay, but not quite right. So I decided I had nothing to lose by doing a factory reset.
So, I did. I restored all the same apps back to the phone, with the exception of a couple that I finally realized I never use and some Verizon bloatware that I disabled.
But now, my battery life has improved tremendously. At home, with a fair amount of use, I never put it on the charger in the middle of the day and went to bed with 40% on the battery. I use an app that graphs my battery usage, and the slope is significantly shallower when I'm not using the phone than it used to be. I'm not using it any differently, but battery life is way up.
What could have happened? I used to check fairly frequently what was using my battery and there was never anything "weird" there. There also weren't any unaccounted for amounts. I am seeing the apparently irksome "Cell Standby" draining some, but even so the whole thing is lasting much longer than it used to.
I don't want to look a gift horse in the mouth, but I'm kind of wondering what I did by doing a factory reset.

I have similar observations, although I didn't use an app to track battery (good idea!). I often recommend people to factory reset once a year or so. Not just the battery life but also internal storage improves significantly.

You cleared Android's batterystats file by doing a factory reset, specifically the file /data/system/batterystats.bin was deleted and regenerated. This file holds a calibration for your battery. Before you did a factory reset, your batterystats was probably miscalibrated. It's a common practice, for rooted devices, to delete this file every now and then with a fully charged battery. This correctly recalibrates batterystats.

In an another universe, we have this: Google Engineer Debunks Myth: Wiping Battery Stats Does Not Improve Battery Life.


text:
Spotting Cause of Excessive Battery Drain
I have a Nexus 6 phone and it has always been amazing with battery power, I can usually go 2-3 days before absolutely needing to charge it and that's with heavy news reading, game playing, phone calls, texting, using the camera, and updating apps. It does all this while having this configuration:

It IS rooted, wouldn't have it any other way.
It has a STOCK Google provided image from Google Developers (currently running LYZ28M)
It is connected to an AC 5.0 ghz Wireless channel.
Bluetooth is OFF by default, use very infrequently to connect to a headphone to listen to things for about 10-30 mins.
All animations are disabled in developer mode.
By default the auto-rotate is disabled.
Location is set to power-save mode (wifi only).
Display lighting is set to auto with ambient enabled.
Camera is to HDR+ (no flash).
Most background services are disabled (except Play Services, UI, etc which are required).
SMS auto-retrieve is off (even though I don't have the original Stagefright issue anymore, can't speak to the Stagefright 2.0)
Power history puts the distributions as follow (no shockers there):

Cell Standby (46%)
Screen (23%)
Android OS (11%)
WiFi (5%)
Google Play Services (4%)
Android System (3%)
Phone Idle (3%)
Voice Calls (1%)

Now that all being said, the set of apps installed on it have always been the same between each re-image that I have done since 5.0 to 5.1.1 now.
However, starting about 1-2 weeks after the latest update, it is draining BADLY, when I said badly I mean within a max of 6 hours (minimum usage) to less than 2 hours (heavy/normal usage) it will drain. To add to the mystery, I have Battery Saver Mode enabled to kick in at 15%, when that happens, if I click on turn off battery saver, it will IMMEDIATELY begin shutting down, which makes NO SENSE, I have turned it off in the past with no issues.
Does anyone have any idea what's going? or can suggest a tool that allows me to snoop with a greater degree of granular control to see what is causing it to actually drain so badly? I have read all the other similar "battery drain" questions and none of them seem to really apply to me (at least I don't think) but resulted in why I included so much detail about the device, so it will save the trouble of having to ask about details of the system.
Much appreciated, thank you in advance.

You want granular control, try BetterBatteryStats. Let it run and monitor the device. Come back after sometime and you would know what's going on. It requires Xposed Framework.

@Firelord thank you very much, I will look into that right away. I have played with coding on the Xposed framework, in fact there was a patch for the radio bug that floated for it, so I will look into it, thank you. Gotta love XDA ;)

GSam Battery Monitor is an excellent program that will give you an extremely detailed report of what is using your battery and to what extent.
However, what I believe this may be is the Mobile Radio Active bug. It is one of the most starred Android bugs in existence. Essentially, when apps that use data are turned on (such as Facebook or Skype), the Android system forgets to turn off the radio until the app that asked for the radio in the first place is force stopped. Google has acclaimed that the issue is fixed in Android M, but I do not believe they have plans to fix it for Lollipop. (I am looking for a source of proof and will edit this when I find it)
In the meantime, Greenify will automate the process of force stopping apps when you don't need them, however, you may stop receiving notifications from these apps.

Thank you for the recommendation. Aha, I knew about the bug but hadn't considered it because it was supposed to have been fixed in the image BEFORE this one that I have active (part of the WiFi calling protocols specifically for T-Mobile), perhaps it got reintroduced somehow or still playing a role, I'll look into that. Thankfully I don't use Facebook or Skype (by choice) and the ones that I have running mostly if not all have a WiFi over Data priority but will do some snooping to be sure. My "data" usage is so minuscule its obscene. Thank you for your recommendations, appreciate it +1


text:
Using the Cerberus shell to input commands
I'd like to use the Cerberus shell to input commands like taps, swipes, and text. I know how to do it using the command line and ADB shell, but I don't have USB debugging enabled on my Nexus6, so I'm trying to do it using Cerberus. I was under the impression that the same commands should work, but they don't seem to be.
I tried sending "input keyevent 26"; it sends, but nothing happens on my phone (the screen should turn on). I also tried "adb shell input keyevent 26", but it just says "error: device not found".
Am I doing something wrong? Or is this something the Cerberus shell can't do?
Background:
I've got a Nexus 6 with a broken screen: no display and no touchscreen. My goal is to run the app SMS Backup and Restore so I can backup my texts before sending in my phone to be replaced.
I don't seem to have USB debugging enabled (though I thought I did -- I reinstalled the OS a few months ago) -- when I type "adb devices," the result is blank.
I can use the ADB shell to input taps, swipes, and text/numbers to my Nexus4. I think I could blindly use the SMS Backup app by inputting the proper sequence of commands into the Cerberus shell. (Or, maybe even easier, just use the shell to get my phone to cast to my tv or Chromecast; then I could use a OTG mouse.)

ADB means Android debugging and you can debug the Android if only the USB debugging is enabled in the device. Since it is not, attempting any ADB command is futile.


text:
Prevent multiple recipients of group message to be displayed on other recipients
I once sent a message to multiple recipients and my friend told me he could see the other recipients and that it was a group message. This was a while ago and he was using a BlackBerry (though my phone was Android).
How does this work and can you make it so that if a message has multiple recipients, they appear to each one as if they're the only recipient?

You mean like a BCC field in an e-mail message?

yea...so when you add multiple recipients it appears as a cc?


text:
cannot sign in on my Android device - Google 2-factor authentication
So I'm trying to add my google acct to my device and it seems to be working fine up to the point where's it's asking me for the code sent to my phone via SMS.
I correctly put it in but the page goes to my "My Account" page which is not normal. On other devices, the page would normally close automatically and it continues on with adding my acct.
I've tried:

updating Play Store services to 8.1.x. I made use the -xxx matches when I downloaded the APK.
I tried verifying using backup code.
I tried verifying using Google Authenticator app.

Any ideas on how to fix this? thanks! :)

Are you trying to sign in to google in a browser?

no. I was trying to add my gmail account to my Android device. Settings => Add Account.

As a workaround you can disable the 2step authentication and add the email to your device and then turn on the 2 step verification.


text:
Check Email on Time / Turn on Wi-Fi on time
I really need this piece of advice, I've been tortured for months now and don't really know how to solve this.
The problem is I can receive working emails at night. But I don't want to be waked up at 5am. Still, I don't want to wake up at 7am if there were no emails at night. I had a temporal solution which was to use apps for automatic turn on of wi-fi. It would sometimes turn on wifi on 7 am, so my Gmail app would check emails. But these apps fail once in a while so you are never quite sure if it's working or not.
Some people suggest using different audio profiles, but it won't help since, for example, if there was a letter at 5 am and audio profile starts working at 7 am it won't ring again, because it was already in my inbox.
Please, your suggestions are very appreciated. I'm tired of sleep deprivation. If you know any mail apps that can check email in specific periods of time this would be perfect.

It won't ring again, but you'll have notification about the received email right? Also [edit] your question and add phone model. Is your phone rooted?

Some smartphones come with "Do not disturb" functionality. You can use this function to mute all calls and alerts, apart from your selected exceptions on the time range that you set.

Thank you for your reply, still I've already mentioned that this way I won't know at particular time that there were already some emails. It won't ring at 7 am. Though I don't have this feature anyway.

You can use "Tasker" app to switch off sync at night and turn back on at 7 a.m. This way, your email application will only start to sync at 7 a.m. and you still able to receive the email notification


text:
How do I disable HTML5 player for Chrome on Android?
Whenever I click on a video link, it automatically takes me to the HTML5 player and doesn't even prompt me as to which player I want to use.  Is there a way to force a prompt by altering the application files or something?

I'm stuck with the same issue.
A workaround is to use another browser: I tried Firefox, Dolphin & Opera so far.All of them use embedded video playback.
Only "Opera Mini" asks for external playback app.
See download link below:
https://play.google.com/store/apps/details?id=com.opera.mini.native

Try Clearing the Defaults for the app.
Since I don't know what version of Android you're running, I'll explain generally.

Head to Settings -> Apps

Click on the Google Chrome App, then scroll until you see "Reset Defaults"

Now it should prompt you again what type of media player you want to use when opening videos.

If that didn't work, you can try to reset the app to factory defaults. To do that just Clear Cache, Clear Data, Force Stop, then Disable the app. Restart your phone and re-enable the app.
You could also, of course, try disabling Chrome and using a different browser (such as Firefox, Dolphin).

Nope, doesn't work on Chrome 45.  I tried both clearing the data/cache and the defaults. It's still the same issue. Actually, it's different from what OP wrote. If I tap a video link then I do see the "Open with" dialog but if I open the link in a new tab then the default HTML5 player kicks in.

@Firelord If it's different than what the OP wrote, and you're not the OP, your problem could be different than his and you don't know if it works for him or not. (Unless you refer to yourself in the third person)

Fair enough. I didn't consider that point.

authors: มิ้ว ตัวตั้ง


text:
Is Snowden snowing us with his "Smurfs Suite" interview?
I hope this is not too off-topic. This morning when I read news it was full of articles quoting Snowden in his most recent interviews. Apparently the UK's GCHQ and the USA's NSA can
(1) turn your phone on and off at will
(2) turn your mic on and off at will, listening
(3) take pics at will, watching
etc. all by sending an encrypted text which we will never actually see.
Check me if I'm wrong, but this seems hopelessly conspiracy-theorish when I consider it from a technical perspective.
(1) When my phone is off, what signal exactly are they going to send to wake it up? When my phone is off my battery goes for months with a barely perceptible drain - is the idea that this barely perceptible drain is intentional and being used by the security agencies? Or that they have a special battery in each and every handset ever made which somehow (magically) has never been discovered in any of the thousands of tear-downs that have been done?!
(2) I have tried some of the apps that are out there to work with my phone remotely. Inevitably they work great on the phone that the developer used in his original testing and they work like crap on most other phones. Are we saying that the NSA/GCHQ has developers dedicated to this on every single platform available? And they do it in advance of every single release so it can be part of the ROM? And they do this regardless of what country the handset maker is in?!
(3) And isn't android open source after all? Doesn't that basically completely rule out the possibility of some huge gaping hole like this?! Surely some 13-year-old would have run across it and once it's discovered how can it not be publicized with internet 2.0 the way it is today?!
I've got friends who were already convinced they needed to take their battery out of their phone when having a conversation (like the NSA cares who won the latest football match?!) - this is just going to throw gas on that fire. I'd like some technical responses to this question...
(No need to just quote the articles or tell us how much Snowden knows - I'm interested in the technical side of things as to whether something like this is remotely feasible.)
To make the question more focused: Is it technically possible that someone could turn on your phone remotely when it was completely turned off (but with battery still in)? Is it possible that spyware could be of sufficient quality to be useful (listen/pic and then send somewhere, presumably) and still buried so deeply that nobody was aware of it? So the question is strictly limited to the technical viability - could it theoretically be done?

Ah, I didn't realize android was both closed and open source. That would make a difference. However, I would think that at some point every line of code in the android open source collection has been gone over by multiple independent developers - it's not like some unknown software project attracting little notice...

@PeterBowers I think you overestimate the motivation of people looking at open source code.

Yes, the government can perform nefarious acts on your phone to listen in on what your are doing.

If you phone is truly off, there is no signal you can send to wake it up. But:

You can spoof the phone turning off.
In some older feature phones, turning your phone off was not good enough because some things on the phone stay awake, and the FBI used this to eavesdrop on mobster phones.

One of the best ways you can ensure your phone is truly off is to remove the battery.
This is something they do to particular people. It's not technically feasible to do this to every possible phone, but the government doesn't have to because any given mobster or other target has a particular phone.
This is why there is a market for undiscovered software exploits. Once you get root access, you can basically rewrite software to do what you want.

In conclusion, this is technically possible. But that doesn't mean you shouldn't buy your friends some tin foil hats as a gag gift.


text:
Insufficient storage error on android phone
Please help me, my thL T6 pro device has enough memory available but I can't download. It's so annoying. Please help me.
Available storage 3.5g but it says insufficient storage.

Also see  wiki of the tag insufficient-memory.

Download Clean Master (Boost & AppLock) and clean your device. Then try to install the apps. I think this would work.

authors: Роман Степанов

authors: Самвел Миносян


text:
Problem installing paid app using google play on mobile
I have previously bought an app from google play and I am trying to install it on a new phone I just bought.
On mobile: When I go on MY APPS on Google Play on mobile, it is there but asks me to buy it again or redeem it.
on PC: when I go on the app's page on Google Play on PC it says the app is installed and compatible with all my devices (but doesn't show this new phone, even though I have logged in there and already used google play).
I have only installed it once, on my previous phone.
Can you please help me out?
Thanks

Do you use same accounts on both the PC and your mobile? Also, try to visit the playstore website and reinstall the app again by clicking the installed button. It will let you install again and select your new device and see if the app is installed in your phone.

Yes, it was the same account. I synced everything in my phone and made sure the new phone had been identified in devices on google play on PC. However, nothing worked...
...until now. For some reason, the app is now working and installed and wasn't asking my purchasing it again.

Did you update something or rebooted your device? How did it solved itself? May be you have done something that sorted the issue.

well, things I did: I checked it again in the google play on PC, google play may have been updated (I'm unsure I had done it before or after). I did not restart my mobile


text:
Did factory reset, attempted to flash CWM using SP Flash Tools and fastboot but to no avail. How to unbrick Lenovo A316i than?
Phone isn't mine, nephew got it bricked and doesn't know what was the  reason of it.
Well, phone shows some life, if booted in normal way logo appears (for some reason instead of "Lenovo for those who do" there is "Globe" text appears) and it probably indicates custom firmware, though I didn't found one with this name in internet. Now - list of what I can:

Can start device in normal way,  but it freezes on logo screen
Can enter the recovery mode, but it is stock version and capable of quite few things!
Can enter the diagnostics mode, but it's quite useless.
Can charge phone, related animation with battery shown whilst.
Can do something with ADB or fastboot, as Ubuntu recognizes device normally (I've set up /etc/udev/rules.d/51-android.rules)
Can do something with SP Flash Tool 5.1532 (and probably older versions of 5.x, but I didn't try them).

Device is - Lenovo A316i, based on MediaTek MT6752, with Android 4.4.2.
PC: Ubuntu 14.04.1 x64
What I've tried:

To wipe all data and set settings to factory default - didn't change a thing
To change default Recovery with CWM Recovery using SP Flash Tool, but it freezes on red load bar, console output tells that COM Port is opened and program is waiting for something:
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
BROM connected
Downloading & Connecting to DA...
COM port is open. Trying to sync with the target...
This doesn't help much and doesn't hurt too;
To flash Recovery with fastboot tool, using command
"fastboot flash recovery recovery.img" and here some bug appears too:

sending 'recovery' (5394 KB)... OKAY [  0.252s] writing 'recovery'...
  FAILED (remote:  partition 'recovery' not support flash) finished.
  total time: 0.267s

I spent about 6 or 7 hours on it, reading tons of text and my head slowly started to melt, so I decided to ask about this to specialists.
Is there any way to upload firmware knowing there is no way to root it first since OS doesn't load, probably impossible to upload CWM Recovery tool, and there is fastboot mode which doesn't work properly?

Sorry for a bit sensational title but I think this one reflects the body much better than the previous title.

I spent another few hours trying things, and ended up going to a friend who had Windows on PC, with this guide: Lenovo A316i Stock Firmware - xdafirmware on this site placed archive which had everything needed in it:

Unmodified stock firmware which doesn't require modified Recovery
Lenovo USB Driver executable
Smart Phone Flash Tool 3.x (probably 3.1336 I didn't watch concrete version)

And guess what? I managed to install driver and flash firmware in matter of minutes, and got phone booting fixed!
P.S. So, the solution is to use 3.x SP Flash Tool and right firmware, but since 3.x isn't runnable on GNU/Linux, well you have to install windows first!


text:
Built in Wireless file management?
I connected my Nexus 7 tablet (stock Android 5.1.1) to my Windows 10 computer via USB a few days ago, and saw a notification on my tablet saying something like: "Still using USB file transfer? Try out Wireless file management". I was not running any apps at the time, I had just turned on my tablet. I clicked on it and it directed me to a page in the settings, but I immediately switched applications (i.e. tabbed out) as I was in the middle of something else and decided I would check out this built-in wireless file transfer later, which I assumed must have been included in the latest update I installed.
Unfortunately I forgot to go back and have a look at it. I've tried to search for it again in the settings but cannot find it. Google searches do not help, as they are cluttered with links to third party applications for wireless file transfers. I've also tried connecting the tablet to my computer via USB again, but the notification doesn't show up.
Does anybody know how to enable this built in wireless file management that seems to have been included in a newer update? (I know there are many third party apps that can do this, but I am not interested in them)
Also, I assume "wireless file management" means that I can see and access my tablet as a media device (or whatever) when it is connected to my local network through wifi; allowing me to then transfer files to it.
Thanks!
PS: Additional data: Stock android 5.1.1. The build version is LMY47V and the kernel version is 3.1.10-gf5d7b8b. I haven't installed any special drivers, so it must have been the default Nexus 7 Windows USB driver. Couldn't find any relevant setting in developer options.

Yupp, now everything should be there. Not familiar with Windows, so I cannot help further unfortunately – but with the facts all there, it should be easy for those who are. If you don't get your question answered, and are open to 3rd party solutions, consider asking for them at SoftwareRecs (link goes to the quality-guidelines on their Meta site), there are several available. // Meanwhile: shall we cleanup our comments here, as you've integrated their details with your post?

No worries. I hope someone has seen this notification too and will be able to let me know where it comes from. And sure, I'll remove my comments. Thanks for your help


text:
Mount Android encrypted data partition on PC
My Nexus 4 screen met a tragic end due to violent contact with flooring tiles. Everything works except the touchscreen (which displays fine but does not react to touch any more).
I would like to get a full copy of my data partition, but my device uses Full Disk Encryption, with a lock pattern. I can easily get image files of my partitions from CWM recovery through adb:
adb pull /dev/block/mmcblk0p23 ./userdata.img

which gives me a nice 6GB file, but mounting this image is another story since it is encrypted. My PC uses XUbuntu (I also have Windows at hand if necessary, but I guess a linux system is more useful here). My phone is rooted.
I know my unlock pattern of course, so there should be some way to mount/read my userdata.img file. Any pointers ?
Thanks !

Apparently there is no tool on PC to decrypt Android's encryption at the moment, but the TWRP recovery can be used on the device to decrypt everything... Even with a broken touchscreen, as long as your device is supported by TWRP recovery:

Download the TWRP image (2.8.7 worked for me)
Boot into fastboot (power + vol. down on Nexus 4)
Start the recovery, from your PC:
fastboot boot twrp-2.8.7.0-mako.img
Once you are in the recovery, you can decrypt your data from the command line:
adb shell twrp decrypt yourpassword

where yourpassword is your encryption password. In case of schema, translate it to numbers:
1 2 3
4 5 6
7 8 9

if you go through the same point twice, it is ignored after the first time.
Then it will tell you that your decrypted data is available in a block device, I think this was /dev/block/dm-0 for me (not sure). You can back it up to your PC with:
adb pull /dev/block/dm-0 ./decrypted-data.img

And finally, mount the image as ext4 on your Linux PC ! (or use some program that can read ext4 partitions on Windows).
HUGE thanks to the TWRP folks on IRC who told me about the twrp decrypt command !

I think the pattern starts with 0 and ends with 7.

Does successful decryption output a success message indeed? And does it make /dev/block/dm-0 available? Asking for: https://android.stackexchange.com/q/212261/55085

sorry for bumping old thread. but will this work if the TWRP device and the backup source was different device?

I can confirm with 100% certainty that the numbers are indeed 1-9 for the pattern unlock.
My Nexus 4 met the same unfortunate end (except on concrete) and after some Googling, I found this post and was able to follow personne3000's answer in order to mount my pattern-encrypted userdata partition.
I'm running Ubuntu 15.04 x64 and had to apt-get install android-tools-adb android-tools-fastboot in order to continue the procedure.
My pattern is this (3x3 in order from 1-6):
[_   1   2]
[3   5   6]
[_   4   _]

Booted my phone to recovery from bootloader by running fastboot boot twrp-2.8.7.0-mako.img, and then when TWRP loaded, ran adb shell twrp decrypt 234856 and it successfully mounted my encrypted userdata to /dev/block/dm-0.
My 234856 decrypt password, ordered from 1-6 starting on the left, correlates to the positions on the above pattern grid, where '2' in the password correlates to '1' in the grid.
@Rhaegar Android sees the pattern as 0-8, because those are the bytes it uses when generating the SHA-1 hash for storing the pattern (http://www.cclgroupltd.com/a-rainbow-table-for-android-pattern-locks/), but TWRP sees the pattern as 1-9 when decrypting the userdata partition from the command line.
Huge +1 to personne3000 as without him providing that highly valuable information straight from TWRP devs I would not have my Android data right now.
I <3 Stack Exchange :)

While this would work for 3x3 pattern, it wouldn't work for more complext patterns>
Please see the following link if you are trying to decrypt a 4x4 or higher pattern https://twrp.me/faq/openrecoveryscript.html

Does successful decryption output a success message indeed? And does it make /dev/block/dm-0 available? Asking for: https://android.stackexchange.com/q/212261/55085

thanks a lot! this works for decrypting passphrase encrypted phones. tested on xiaomi mi 9, android 10. first adb shell twrp decrypt <passphrase> didnt work, then I ran adb shell and ran twrp decrypt <passphrase>, and boom! data was decrypted. lifesaver.

A much simpler version: Connect a USB mouse (or keyboard, but that didn’t work in my case), using a standard USB-OTG (OnTheGo) cable, and use the appearing pointer like a finger, to tap in things.
This even worked inside of TWRP for me!
From there on, the whole endeavor should be much easier. :)
(Like just copying the files over, the regular way, and syncing PIM data to your hopefully existing personal “cloud”.)


text:
Reboot alternatives
So my situation is this. About a week or so ago my power button fell out and I dont want to get it repaired until I back up my stuff. For some reason my pc hasn't been able to link to back up but that has been since i got the phone.
So anyway, my internet has gone down on my phone so I want to restart it (turn it off and on). The turning off is fine but I'd rather not sit there for an hour doing the unpluck power, pull out and reinsert battery to make it turn on again. I know on Blackberry phones there is an app as standard which acts like the power button but is there one (or an option somewhere) for android where I can restart my device? The only option I can see is a factory reset option.
My phone is a Note 3 if that helps.

What is your android version? Do you have root access? There are many soft-key applications that give power button functionality, but they need root access. When you have root, you can even enable on-screen navigation bar and use hardware home button as power button (maynot work on some devices) by tweaking some .kl file in /system/usr/keylayout/.

Internet suddenly started working again so im going to look up getting an app to deal with this incase there's a relapse while I backup. Thanks for the info Bharat G


text:
How does Location based Wi-Fi work?
I have turned on Location based Wi-Fi Setting, I have followed the steps to enable this feature for a Wi-Fi Network at Home and at College,  so, whenever I am at either of these two Locations Wi-Fi automatically turns on,
But I wish to know how this happen, because the Wi-Fi automatically turns on when near the saved Wi-Fi, it happens even when Mobile Data is switched off. I want to further add that I had kept the GPS off during the entire process mentioned above. I don't understand how can it know that the device is near a Saved Wi-Fi region.

A google search got me this Wi-Fi Positioning system and a related SU post

Location based Wifi apps such as  Wi-Fi Matic will remember the cell tower ids of your mobile network operator and link it with the connected wifi network. The cell tower id is area dependent, and wifi network in most cases is area dependent. So, it works.
These apps or services constantly monitor the cell tower id of your phone's connected network. And if they find the matched cell tower ids, they know that phone is in/around known wifi network and turn the wifi on.
Similarly, when the cell tower id doesn't match the ones linked with remembered wifi's, it just turns off wifi.
And monitoring tower ids doesn't require data connection. There is no reverse lookup of location here. Just known cell tower ids linked to known wifi networks.
In recent versions of android, there is an option in Wifi advanced settings, called Scanning always available. If you turn on this setting, background scanning always happens even when wifi is off, knowing the access point names of detected wifi networks. Such apps can also use this data to turn on/off wifi based on saved networks.


text:
Import .vcf files from old Nokia fails
I have to transfer 50 contacts from an old Nokia phone to a Motorola running Android 5.
I managed to Export an nbf backup from the Nokia and Export all contacts vcf files from that nbf file.
But now every time I try to import those vcf files from the default contacts App, Theres a notification "will import 1.vcf soon" and then "finished importing 1.vcf".
But the imprted contacts wont show up in the App.
Further more I can only import single contacts as when I select more than one it will say importing but never finish
Thank you for your help :)
Edit: Just tested the import on my note 4 with stock Samsung OS and it worked just fine

This post might be helpful.

Thanks but the APP mentioned there didnt work

Got it to work with the app Tranfer Contacts by Maine Avenue Technologies SL. It's pretty much self-explanatory and easy to use but works only with Bluetooth devices.

Ok sry will update it

Note: If you have less than 100 Contacts, operation is 100% free. else fee is about 1$, depending on your region and currency.

Well as I said in my post normally every mobile device is capable of importing vcf files

No, I'm not saying it's not supported by all mobiles. But you forgot to mention that limitation of the app in which the import work free only if the contacts numbered less than 100. More than that would be no free of cost. ;)

I just wanted to make sure that its just the way I got it to work (after 2 hours) and that I dont want to get people to buy that app.

I just wanted to update my question for anybody coming to this and wondering how I solved it, I didnt even know it would cost for more contacts

You are welcome to add your own answers. And I just wanted to mention the limitations of the app if someone is gonna import more contacts without knowing its cost. No criticism intended, but added the comment as a sidenote for future readers.

Yeah sure, it was constructive critisism I just dont See why my answer got downvoted(I think it will misleed future readers into thinking its wrong while it clearly worked for me.. :))

FYI: I didn't downvote. But someone who downvote should have commented the mistake in your answer. Anyway, will upvote it now. You can accept your own answer after two day of posting it.

I dont know who did either, btw thank you for correcting my answer if it was you. I will accept it tomorrow :)


text:
How to pull mmcblk0 to a windows pc?
So here is what i want to pull : mmcblk0 whith it's size 15.7 GB.
C:\adb>adb shell
shell@android:/ $ su
su
shell@android:/ # fdisk -l /dev/block/mmcblk0
fdisk -l /dev/block/mmcblk0

Disk /dev/block/mmcblk0: 15.7 GB, 15758000128 bytes
1 heads, 16 sectors/track, 1923584 cylinders
Units = cylinders of 16 * 512 = 8192 bytes

This is what I tried:
C:\adb>adb shell su busybox cat /dev/block/mmcblk0 > C:\1.bin

I only have 1KB output with content inside said "unknown id". Also tried with pull but seems also doesn't work.
What should I do to get this 15.7 GB mmcblk0  ?

Try: dd if=/dev/block/mmcblk0 of=/sdcard/something.bin
You can do that in a Terminal Emulator or ADB shell.
It requires only root access.
You can then pull this file to your desktop. I don't know of a way to do it simultaneously.

Would this include the recovery image as well?

Show Developer Options (Settings > Developer> tap build 7 times)
Enable USB Debugging (Settings > Developer > USB Debugging)
use TWRP recovery to avoid OS root limitations
adb reboot recovery
check your mount points
adb shell mount | FINDSTR /R /C:"^/dev"
do the pull
adb pull /dev/block/mmcblk0 mmcblk0.img

For those using a unix like system use grep instead of FINDSTR;
./adb shell mount | grep -P "^/dev" | perl -pe 's/ .*//g' | sort -u
/dev/block/platform/msm_sdcc.1/by-name/cache
/dev/block/platform/msm_sdcc.1/by-name/modem
/dev/block/platform/msm_sdcc.1/by-name/persist
/dev/block/platform/msm_sdcc.1/by-name/system
/dev/block/platform/msm_sdcc.1/by-name/userdata
/dev/fuse

You cannot adb pull a device, sorry – so that won't work. Not even in recovery.

Strange. If you check ADB pull error: remote object '/dev/block/mmcblk0p24' not a file or directory, it just gave remote object '/dev/block/mmcblk0' not a file or directory – which is what I had expected here.

@user1133275 you might have a point there – but then dd if=/dev/block/mmcblk0 of=/sdcard/something.bin shouldn't have worked either. If you checked that yourself and it worked for you, guess we've simply got to believe you and add "this might not always work. If it doesn't, use the other approach" :)

if you're in shell, you could use sh instead of su
from windows, using ADB, set the device in a custom recovery then from a cmd window:
adb remount
adb root
adb shell

if done while the device is in recovery mode (and not bootloader or sideload) you would drop into a terminal/command line with "~:" instead of "shell@android:" then proceed with:
cat /dev/block/mmcblk0 > /sdcard/mmcblk0.img

[then there's no need to use sh since you're already in as shell] and then open another separate cmd window from your pc to pull the file you made (20-30 mins ago****) and use:
adb pull /sdcard/mmcblk0.img

you can name "mmcblk0.img" to whatever you want it just needs an output file name and extension
****HOWEVER, please be aware and be patient when you run cat, because the cmd window in windows wont show anything while it's "creating" the 15gb .img file, it will just show a line break in the cmd window and seem to provide no response as it processes your command. And you'll know it's finished when you get a fresh line to enter a new command.
since its over 15gb, if your device doesnt have that much storage space to create the file on, you can change the output path after ">" to /storage/sdcard1/mmcblk0.img or what have you, but be sure to have a fast (class 10 or better) microsd because 15gb will take a while to write. Id estimate around half an hour on an external micro sd.
aside from that, why would you want to extract that? it would make more sense if you asked about mmcblk0p05 or mmcblk0p03 but ehh, if you're not planning to read through the binaries by hex then i guess to every man (or woman) his (her) own...

If I am right, you've done nothing wrong but the way you run su.
From su --help (SuperSU Version 2.79):
Usage#2: su LOGIN COMMAND...
Thus, you should run
C:\adb>adb shell su root busybox cat /dev/block/mmcblk0 > C:\1.bin
and everything's fine.

authors: กฤษณพรรณ มีแก้ว


text:
Marshmallow USB connection type
I just flashed the Android 6 Image to my Nexus 7 (2013) LTE a few minutes ago. It was a clean flash, so I copied my files over to my PC.
When I plugged it in after it booted, Windows detects it, installs the drivers automatically and shows the device in My Computer. From it's icon, It's in MTP mode. But when I open it, I can't see the usual "Internet Storage" disk that lets me access my files. The device shows a blank folder.
I searched the Settings app for "MTP" & "PTP" but found nothing. (Unlike in Lollipop) In the "Storage & USB" section also, there is no mention of a USB connection other than in the title.
I can't swipe down the notification area while the device is plugged in because the screen is broken (I use a mouse)

What might be my problem?
PS: The device has an unlocked bootloader so I can edit system files.
Thanks.

Related: http://android.stackexchange.com/questions/126195/browse-file-system-from-pc-in-marshmallow

Go into Developer options, and cycle the USB host mode, the files will show up on my PC.

what do you mean by "cycle"? I've tried putting it to charging, back to MTP, and various permutations, including power cycling, but I can't see anything from by desktop. This used to work before Marshmallow, and I never get anything in the notification area (maybe I added a harsh permission? Don't know what to whitelist now.)

The answer means to go to Settings > Developer options, and turn "USB debugging" off and back on (= cycling). I had issues getting MTP working after a Marshmallow upgrade until I did this too.

Doesn't fix the issue.

You can swipe down the Notificationbar and it will show Charging only. If you click that entry you can select the desired mode. The selected mode won't be set as default, so if you plug your device again, it will be on Charging only again.
To set the default mode you first need to enable developer mode (don't ask me why...). This can be done by going to About phone settings and clicking on the build number a few times.
Then go to the now accessible Developer Settings -> USB-Configuration (should be under the Network section). This should be set to the desired mode. In my case it was allready set to MTP (the desired mode), so i had to set it to another mode (for example Charge only) and then set it back to MTP.
Hope this helps!
EDIT: This only seems to work once. So if you disconnect and reconnect the device 2 or more time, the default is again on "Charge only". It is mentioned in the changelog of Android 6. Link-https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-usb

Right, you have to do this EVERY SINGLE TIME, sometimes it still won't work, dumbest shit ever. I think I'm gonna stop updating my Android from now on, after every single update lately, something ends up breaking. I also lost my Google Now launcher with this update as well.

@Hank i am not sure, if they will even correct this issue... It seems like it is a known issue since they released the preview. What i really can't understand, is why they put this (not working) function of choosing the default behavior into the developer options...

Exactly, and why don't they tell you about all the changes they are making BEFORE making them? I had to look online and find out for myself that I'll have to manually download Google Now from the Play Store to get back what used to be one of the stock functionalities of the device! WTF?

USB Mode: Set Default to MTP (file transfer) Marshmallow/6.0
Default is set to Charge only mode, You can enable developer options and enable MTP feature by following below steps:

Settings -> About phone -> Touch 7 times on Build Number to enable Developer options
Settings -> Developer Options -> Select USB Configuration -> MTP

oops this only works one time...so this suggestion does not fix the problem

exactly that would be Settings -> Developer Options -> Networking -> Select USB Configuration, the number of options keeps increasing, hard to find one

Swipe down the notifications window with the device plugged into the computer, there should be a persistent notification for USB Mode, make sure it isn't set to "Charging Only".  I had this on my Nexus 6 after a clean flash of Android 6.0 as well.  I've seen others report this as well.

The thing is, I can't. The screen is broken. I can only attach either the mouse or the other end of the cable from the desktop, not both. Can I do this by editing some xml file or the like on the device?


text:
Facebook Messenger crashing after update, persists after force stop and clearing data
I updated Facebook Messenger to the latest version (44.0.0.2.51) via the Google Play Store and now I keep getting the following message on my screen:

Unfortunately, Messenger has stopped.

I get that message, even though I did a Force Stop and cleared data via the App Info settings. I then reached out to Facebook Android Beta and their answer for any issue is same:

Try reinstalling the app and if you still experience the issue, report
  it within the app. -Kevin

I'm not sure how reinstalling the app would solve coding issues, but just to be fair, I went ahead and reinstalled it anyways. Needless to say that did NOT solve anything and I cannot report the issue within the app as it keeps crashing and I can't even launch it.
Is there anything else I can do besides uninstall it?

If you've recently updated to Marshmallow, reinstall it again - it may need to ask for permissions again.

I took following steps to resolve my issue:

How do I stop using the beta version of Messenger for Android? | Facebook Help Center
How do I test the beta version of Messenger for Android? | Facebook Help Center

I followed first link and opt-out from beta tester, and then later that day I opt-in back as Facebook resolved issue that caused for Messenger to crash.

Uninstall it for now, I have also gotten this last week and again today.  It appears to be an update with the app that causes this.  I uninstalled it today as well because it was constantly popping up.

My bad, updating now...


text:
Tried to root android tab 4 10.1 with Supersu and odin, now i think it's soft bricked
so my android tab 4 10.1 with 5.0.2 android lollipop only wifi is so wrong atm.
What did i do? Try rooting with odin-supersu. Failed over 10 times it didn't work. I wanted to start it all over with a clean tablet, so i did a hard recovery with volume up, home and close button. Pressed boot and its stuck at SAMSUNG word. Can't turn off totally only by letting it out of battery. I can charget it, it shows that it is loading (by the big green bar).
What i want? Well obviously it to work like a new (or at least work).
I will probably try to root it after i manage to make it work again, do you know any reliable root?
Thank you guys in advance. Have a good day.

You might want to reinstall the stock firmware. That should make your device bring back to life. To do that, please download one of the available firmware images from sammobile.
Please note: I'm assuming your model number is "SM-T530NU". Check that again. If this is not your device model number, please don't try these steps without the correct files for your device. Use the latest available firmware and download it. To flash it, simply follow the instructions on the download site.

Extract (unzip) the firmware file
Download Odin v3.10.7
Extract Odin ZIP file
Open Odin v3.10.7
Reboot Phone in Download Mode (press and hold Home + Power + Volume Down buttons)
Connect phone and wait until you get a blue sign in Odin
Add the firmware file to AP / PDA
Make sure re-partition is NOT ticked
Click the start button, sit back and wait few minutes

Afterwards, you may want to try to root your tablet again. Please refer to this thread: How to root a 10.1 Tab 4 (T530/NU, T531, T535), also links for 8.0, 7.0. Thanks to user thisisapoorusernamechoice on XDA for providing such a detailed answer.

Preparation: Read everything and make sure you understand. I attached Odin v3.09 and v3.10.6. I've always used 3.09 successfully but other users have had problems with it and used 3.10.6 successfully instead. Download the one you want and extract the zip to PC desktop. Also on the tablet enable usb debugging and mock locations in developer settings. Make sure you have the proper USB drivers for your PC. A quick note on file names: development code names for the Tab 4 series are as follows: matisse = 10.1, millet = 8.0, degas = 7.0

Download the openrecovery-twrp-2.8.6.0-matisse_wifi_3g_lte.tar file  and save to PC. Download the superSU zip file and save to tablet storage. Obviously save the files somewhere easy to remember, and easy to navigate to.
Power off tablet. Boot into download mode (hold vol-, home, and power all at once in that order), then hit vol+ to continue
Run Odin. Disable the "Auto-Reboot" and "Re-Partition" options, this is critical to success
Connect tablet via USB. Hit AP button in Odin, select the TWRP tar file
Flash (click start). When it's done, the progress bar will be full and Odin should say something like "RESET!"
Hold the power button to power down the tablet. Then immediately hold vol+, home, and power (all at once, in that order) to boot into recovery.
  [This must be done before rebooting normally!]
Install the SuperSU zip file that is saved to your tablet (tap the install option in TWRP, navigate to the zip file)
Reboot system (normal reboot). When android is booted, run the superSU app and follow the prompts; i.e. update the binary if it asks you to, choose normal install, be patient while it installs (takes a while) and reboot if it tells you to

If you have followed the steps correctly, your device should run a rooted Lollipop ROM.


text:
Phone's battery is draining unusually fast even when not in use
The hardware I'm using:

OnePlus One, bought late december 2014
Stock Cyanogenmod, version 12.1 - YOG4PAS1N0 (= Android 5.1.1)
no apps to improve battery life in any way

Basically, the battery is just draining without any obviously strenuous activity. Previously, I would have competitions with a fellow OP1 user about who could push their battery life beyond the 3 day threshold. Now I go to work fully charged, the battery drops by 10% while I'm still on the 45min train ride to work and I return home with single digits or an empty battery.
After having a look at the battery stats I noticed this:

During work, I turned the screen on and off periodically to check WhatsApp and a little Fallout:Shelter (5min) on the loo but beyond that nothing happened. Screen battery usage was at 6%, so that can't be it.
Details for "Email" (Email, app version 2.6.1 (237), Boxer Inc):

CPU total/foreground: 2h 16m 30s / 52s
Keep awake: 1h 55m 54s
Mobile packets received/sent: 1655/1985
Mobile radio active: 53m 2s
Wi-Fi packets received/sent: 58/68

Details for "Android OS":

CPU total: 2h 3m 12s
Keep awake: 23m 48s
Mobile packets received/sent: 3293/3039
Mobile radio active: 1h 1m 15s
Wi-Fi packets received/sent: 293/282

Does anybody have a clue what's going on here? Because I'm straight out of ideas after checking if the Boxer Email has a recurring memory leak, restarting the phone, looking for a way to disable syncing the entire email archive in the app (who knows, might just be it) or testing if it is caused by push synchronisation...

See this question: http://android.stackexchange.com/q/125070/126899 I'm fairly sure it's the same situation.


text:
Can I charge my android cell phone with another usb chager?
I have an Android phone and a Tablet. Sometimes, when traveling, I just want to take one of the chargers. Is this ok?
Can I just use any usb based charger in any android phone or tablet or can there be differences leading to issues in battery life?
Although there are several questions about this here, I didn't see the situation where one uses a charger with a lower intensity to charge an equipment that is supplied with a charger with higher intensity.
Another thing that may happen (I ask) is if there are some flavors of Android refuse to charge when the wrong intensity is given?

Check http://www.extremetech.com/computing/115251-how-usb-charging-works-or-how-to-avoid-blowing-up-your-smartphone

Is my phone liable to explode if I charge it with a charger that came with a different phone?, Can I charge my tablet with a plug that has different output voltage and current?, Are Android chargers universal in terms of power (Voltage, amperage)? ...

Is using chargers of phone not meant for it harmful to the battery?, Exclude possibility of damage of Android device while chargin with another charger, What happens when I connect a 2 amp charger instead of the 0.7 amp charger provided?,  may be more here.

@firelord I actualy read some of those question. But I thought it would still be a valid question. First because I dont want to enter in technical details, second because I don't see anyone mentioning the case where you actualy use less amp to charge a high demanding amp device (phone charger connected to a tablet). Not everything is only about tension and intensity. Some equipments software may detect the input intensity and refuse to charge.

Well in that case consider sharing your search/research in the question itself. We can't really read your state of mind.

The basic answer is that any charger with the right connector should work, so basically you should be able to use either charger with either device.
But note that in order to charge the battery, the charger has to provide power to both the device and its battery.  For this reason, some devices will need a more powerful charger (e.g 2A or more) in order to be able to charge the battery.  Furthermore there are ways for the charger (and cable) to indicate to the device how much power it can provide (since, according to the USB spec, a device is not allowed to consume more than 0.5A, and even for that it first needs to negotiate it), so some devices will not use up all the power provided by a charger simply because it lacks the indication (from the charger and/or cable) that it can consume more.
This is a fairly murky area, in my experience, but the rule of thumb is that the charger of your more power-hungry device will usually work for a more frugal device, while the reverse is not necessarily true.


text:
Google.proccess.gapps has stopped working
I have a Lenovo tablet and I updated the system. Now I keep getting the annoying messages, such as

Google.process.gapps has stopped working

and

Google play services are not working

I tried getting into the apps to uninstall Play Store and to clean the cache. It won't let me uninstall or clean the cache.
I don't have the regular settings like on a computer so I'm lost.

Go to into settings/ application manager/scroll to left until you reach the all applications screen/ touch menu screen left of the home button/ reset app preferences.


text:
Change hardware name
I'm using official Android Emulator. When I run this I get:
adb shell getprop | grep hardware

I get
[ro.boot.hardware]: [goldfish]
[ro.hardware]: [goldfish]
[ro.kernel.androidboot.hardware]: [goldfish]

I want to rename goldfish to any other word.
I can run emulator in debug mode emulator -avd test -show-kernel -verbose to see kernel parameters:
  kernel.path = /home/artyom/android-sdk-linux/system-images/android-19/default/armeabi-v7a//kernel-qemu
  kernel.parameters =  androidboot.hardware=goldfish android.checkjni=1
  kernel.newDeviceNaming = no
  kernel.supportsYaffs2 = yes

So, Android Emulator passes androidboot.hardware=goldfish to the QEMU.
Lets dive into Android source.
http://androidxref.com/5.1.1_r6/xref/system/core/init/util.c#407
Here we can see, that passing hardware via kernel command line makes it unchangable.
void get_hardware_name(char *hardware, unsigned int *revision)
{
    const char *cpuinfo = "/proc/cpuinfo";
    char *data = NULL;
    size_t len = 0, limit = 1024;
    int fd, n;
    char *x, *hw, *rev;

    /* Hardware string was provided on kernel command line */
    if (hardware[0])
        return;

According to this, hardware name used to init file init.machine_name.rc, so renaming goldfish to any other name must be combined with renaming init.goldfish.rc to init.anyname.rc.
So my question is, how can I force different hardware name ? How I can different androidboot.hardware value to the qemu ? What files, other than init.goldfish.rc should I change ? Different hardware name must be forced while compiling ?
I've tried adding this to .config file:
CONFIG_CMDLINE="androidboot.hardware=randomname android.checkjni=1"
CONFIG_CMDLINE_EXTRA=y
CONFIG_CMDLINE_FORCE=y

It didn't help.
Related question: https://stackoverflow.com/questions/20572781/android-boot-where-is-the-init-hardware-rc-read-in-init-c-where-are-servic
Additional info: https://wiki.diebin.at/Under_the_hood_of_Android_Emulator_(appcert)#Initialize_Goldfish_hardware

3 years later but.. did you manage to do it?

authors: ณัฐฐ์ฎาวรรณ มั่นต่าย


text:
How to bring back the Google Now card?
I've accidentally swiped off the Google Now calendar card on my Nexus 4 with Google Now launcher, and I missed the "undo" button. How to bring it back?

Do either:

Go to the Google Now > Menu > Refresh, or
You could try clearing the cache for Google search.

Hope that helps.


text:
Boot loop after flashing Android 6.0 Marshmallow on my Nexus 5
I had Android Lollipop installed on my Nexus 5 (Was Rooted, had TWRP and MultiROM installed) and wanted to simply start fresh with new clean install of Marshmallow.
So I followed the instructions (step 1 to 6): https://developers.google.com/android/nexus/images?hl=en
After running the flash-all script the device rebooted I see the Marshmallow boot animation but it has been running for 45 minutes. Is this normal?
Is there any suggestions beside reflashing because I've tried 3 times with the same results (45 minutes is the longest I've waited).
Many thanks for your time and help.

OK the problem was that I used the wrong version of fastboot. It was already installed on my Mac so when I was running the flash-all script it was actually running the system version.
So I modified the script to make sure the path to fastboot was actually pointing to the good version.
And voilà, it took about 7 minutes after reboot.

what do you mean by running the system version? and what is your "good" version? more details please

follow up question here

@abbood the version of fastboot was not the latest. I was using the old version that was already present on my mac. When running the script it was this old version that was used instead of the new one I've had downloaded. Using the latest version solved the boot loop problem for me.