text:
Will un-rooting return stock apps
I've recently rooted my phone - mainly to remove a bunch of the stock apps that I never use, e.g:

Google+
Google NewStand
FM Radio
Google Books

I'm wondering, can I now un-root my phone, and if so will this leave these off my device? Or will un-rooting return them back to my phone?

Our of curiosity: why do you think un-rooting would revive the dead out of their grave?

@Firelord I guess because unlocking the bootloader wiped the device, I thought the reverse might reset back to a factory reset

@Ian Factory reset doesn't actually revert your phone to the factory state. A factory reset just wipes and reformats some partitions of the phone. It doesn't install anything new.

@Ian the term "factory reset" might be a bit misleading. It just refers to the device's configuration (i.e. /data) and /cache – not to the "read-only" areas (/system) where the pre-installed apps reside. For details, see our fine factory-reset tag-wiki.

Yes.
You can unroot your phone. Use the method that GUI app (SuperSU, Superuser etc.) you use offer you to do it.
No.
It won't bring those apps back. Rooting is just a process of adding a binary in the /system partition that will let the apps approved by the GUI app execute commands as the root user, a user that is not an object to the standard rules other users are. This process is completely unrelated to the presence of the stock apps (assuming what you mean by it are the apps sit in /system/app directory of the phone) If these apps are deleted then the only way to get them back is to install them again. If you want them to be stock apps again you need to move them (or install them in the first place) to /system/app directory.

This is awesome information. So now I have a very similar question. I have an app that I want to become a system app (that is not a system app by default). Can I root, make that app a system app and then unroot?

@DustinPoissant Yes.

I tried it, it doesn't work the new system apps dont show up after unrooting.

@DustinPoissant Can you describe the process you went through with details? With information like your phone, OS version, rooting method etc.

Nexus 5x, Android 7.0, SuperSU rooting method, installed an app as a system app, confirmed it was a system app after a restart, unrooted using SuperSU's "fully unroot" button within their app. And then after the restart the system app was no longer in the app list.

Since I am yet to poke around Android M and newer I really can't tell what is wrong. But far as I know, you can't manage the '/system' partition afterwards and including Android 6.0

Its a systemless root method that modifies the bootloader to allow access to the \system. It doesn't mount system like pre Android 6 root methods.

@DustinPoissant At that point, I really can't say a lot. I haven't been checking Android and rooting methods for a while and I didn't stay up to date with them.


text:
my file manager uninstalled accidentally
i have xolo a500s jellybean version cellphone...i give root access... and by accidentally my file manager uninstalled... and i have a backup apk of my file manager...i try to install it but after some install processing it says “×app not installed",i need my file manager back...and i don't like and don't want to use other file explorers so please give me suggestion what can i do for it..??
:-(

What do you mean backup .apk? Is it the base.apk?

Place your apk under /system/app, reboot and then tell us the result.

This file manager app is a system app thus you will not be able to install it as a user app (using the default package installer) due to extra permissions that can be granted only for system apps.
To fix this you need to push that app to system/app using one of the methods below :
1. ES File Explorer (or any other root explorer):

Install ES File explorer from the Google Play Store
Open it and swipe right to open the left panel containing the the settings list.

Scroll down and toggle root explorer
Grant root access then click on root explorer item.

You will be prompt with a set of settings. Locate system and choose rw (rw stands for read/write)
Locate your backed up apk file and make sure the file name contains no special characters or spaces.
Long tap on the apk file. The file will be selected. Now click on the copy icon in the top bar.
Navigate to /system/app and paste the apk file.
Reboot your phone the file explorer will be installed

2. ADB (root and a computer needed )

Make sure adb debugging is on under settings >> developer settings

On your computerm make sure you have adb in your path and drivers are installed if you are using windows or udev rules if you're using Linux. adb works out of the box for OSX.

Plug your phone to the pc and copy the backed up apk to your pc (in the example I will assume you put the apk under c:\myApk.apk

Fire up a command line/terminal and type the following commands.

Make sure your phone is unlocked
adb kill-server
adb remount
adb push c:\myApk.apk /system/app/fileExplorerStock.apk
adb reboot

After the phone reboots the apk should be installed

source: Stack Exchange

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

sort: votes


text:
Moto G 2 (2014) Not Charging!
My phone is a Moto G (2014) XT1068. It has recently stopped charging for some reason. This morning it was charging and tonight, it decided that it would be a prick and not charge. Anyhow I tried cleaning the connector, using various cables/plugs, wiping the cache partition, booting it up in recovery mode and nothing has worked. Could someone give me any more suggestions. I can't go to the phone repair shop at the moment and my warranty has expired :( as I am in boarding school and cannot leave for another 2 and a half weeks.
Does anyone know any suggestions on what to do??? Thanks in advance.

I am not sure if you changed the charger as well. Try doing that. If you don't have a charger, try charging from USB port of a lap top. If that works, then it looks like your charger is culprit. If this suggestion works, will convert into answer

Thanks for the suggestion. I put a micro usb port into my laptop. The phone doesn't charge but there is a constant notification on my mac saying "unplug usb device using too much power"

Am guessing it to be a hardware issue...Sorry can't be of help

I have found myself in the position that all my micro-usb cables had gotten worn out, and even after having tested several, I had to buy a new cable to charge my device.  Those connectors just aren't that robust.  Can you find anyone who has a shiny new USB cable that you could try for a minute, just to see if that solves the problem?

You can try other battery and charge. Also check 3 point connector of battery on PCB.

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

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


text:
How to get files from a Galaxy S6 Edge with Android 5.1 to a computer with Windows 10 by USB
How is it possible to transfer file over USB from an Android phone to a computer?
Situation: Windows 10, Galaxy s6 Edge on Android 5.1.1.
(I've read articles, followed dozens of tutorials, installed drivers, on differents winX computers, upgraded a lot of things, and it still doesn't work.)

And what was your actual problem that you were trying to solve?

Windows 10 is currently not compatible to galaxy s6 edge.
I've made it works on some windows 10 computers sometimes, but sometimes there is nothing to do to make it works.
If you want to be able to connect your phone to your computer, do not upgrade to windows 10.


text:
Google Search Bar Missing (after OTA update)
I recently discovered the Google search bar which used to appear between the notification area and the topmost Widget has disappeared. Shortly before, I had received a largish OTA system update and at around the same time my father had gotten at my phone and accidentally knocked some things off the screen the way that fathers will.
Note that this is not the search widget, but the toolbar that appears (appeared) above the widgets.
I found one similar question
"Google Search Bar Widget is gone from Galaxy S5, it is not in the widgets section anymore"
but that didn't solve my problem. (The toolbar does not appear on the "Disabled" tab of App Manager.)
I have a Kyocera DuraForce E6560C running Android 4.4.2 unrooted. Any help is appreciated.

Have you tried clearing data of your stock launcher?  Settings -> Apps -> All (Tab) -> StockLauncherName -> Clear data -> OK

The closest match I can find for StockLauncherName is Launcher. When I tap "Clear Data" the warning is sufficiently dire-sounding that No, I have not done that.

Do you have any apps called Kyocera Home or such?I have Touchwiz home on my samsung and Xperia Home on Sony device. I don't know about this device. Also there's a XDA-super thread on Kyocera Duraforce with information about your device. If possible install APK extractor and Open App-> App settings ->Toggle OFF Show All Applications -> Back to App main screen -> Menu (option overflow button) -> Show system Apps (NO root needed).

Thanks for the link. It'll take me some time to read through it. I'm new to Android, though, so could you please explain what APK Extractor will do for me?

It's built to extract apps to your sdcard for installation later but you can use it see the system apps by filtering. You may get the launcher name there. And clearing data only deletes your settings and widgets. No data other than that is lost

@DarwinvonCorax- Nothing serious happens if you clear data and cache of Launcher. Any previous configs related to homescreen will be lost. That is it.

Didn't work, and now I have to track down and organize all my apps and widgits again.

How about installing a new Home/Launcher app? This is Google Now Launcher and has decent reviews:
https://play.google.com/store/apps/details?id=com.google.android.launcher

The widget may be listed under the ridiculously renamed Google Search app called "Launcher3" - find the 4x1 widget and drag to the desktop.

That isn't it. Whatever this thing was, I'm fairly certain it wasn't a widget.


text:
Enable software menu without virtual keys
I have a broken touch screen at the bottom of my Jiayu G45 (Android 4.2.2) phone. Thus the capacitive buttons are not available any more. I've found a program (Soft Buttons) which enables software menu in apps but as a side effect it occupies a part of the screen at the bottom and renders virtual buttons there (back, home etc.). Those buttons don't work for me and I don't want to dedicate a part of screen for them. So I wonder whether it is possible to enable the software menu without virtual buttons?
I have root access.
Soft Buttons does almost what I need. When "enable virtual keys" option is selected it sets two properties in /system/build.props
# added by Soft Buttons
qemu.hw.mainkeys=0
ro.show.navigationbar=yes

and asks to reboot. What I expected that setting
qemu.hw.mainkeys=0
ro.show.navigationbar=no

will do exactly what I need. But it looks like the second prop value is just ignored in case first one is set to 0, as navigation bar is still shown.
Here is a screenshot (just an example, not a screenshot from my phone)
(Click the image to enlarge).

do you have root access ?

@Firelord that comment should be an answer

@lord-ralf-adolf I'm done, thanks, but after reading the question again, why do I feel like I misinterpreted the question? Do you see a mismatch in the question and my answers too?

@Firelord no I see no mismatch the OP asked for enabling software menu without virtual buttons as he said an I quote "I don't want to dedicate a part of screen for them" so the gestures is the best way to go ,all though there is a possibility that the OP is asking to activate (show) the tree dots button on apps

Thanks, and I'm sure now the answers should suffice. They can be extended to a full scale replacement for all navigation buttons.

For that navigation part still being shown, see if this answer can be of any help to you: Enable On-screen navigation in CM12 (Lollipop) using shell?

can you please tell us what it is exactly that you are looking for ? do you want to force the three dot menu button without navigation bar  ?

@lord-ralf-adolf, please take a look at uploaded screenshot.

oops, sorry, it looks like it will appear just after my accounts merging, here is a link to the image http://i.stack.imgur.com/j3DfF.png

Please refer help center to merge your accounts.

@gumkins i saw the new edit and I posted a new answer

After the OP made his question more clear ,I have a more simple solution since he doesn't need a navigation bar he just want the virtual menu called The three dots button
requirements :

Xposer installer get it from here (JB/KK only ) for Lollipop or Marshmallow it's over here
3dot Mod xposed module get it from here

Procedure :

Install the module on you phone ,activate it under Xposed installer >> modules ,reboot the phone when activating it for the first time
it's Done the nav bar will disappear and the 3dot button will always show up.

This solution looks interesting. My main concern is current Xposer code state: Experimental (high risk of bugs). Also, I have to do  (but first to learn how to) a full system backup before installing it. Honestly, I didn't think this requires such dances with a tambourine.

I use xposed on my phones all the time it is a must have and a more safe solution to mod any Android phone

Yes, certainly I should (and now have to) try it. Thank you!

Unfortunately, I can't install Xposed framework as it reports about a known issue with my ROM http://forum.xda-developers.com/showpost.php?p=52289793&postcount=5

LMT Launcher
Requires root access.
I won't go into the details, but know that it doesn't replace your home launcher but gives you PIE navigation among other things, which comes down to this:

(Click image to enlarge)

You can set a PIE to Menu/Overview action from LMT app → PIE → select a PIE item → Menu
Make sure you activate the LMT service from the Settings and then you can test the navigation.
For starters, PIE can be navigated from left, right and bottom of the screen. Swipe from the edge towards the screen and you'll see the PIE.
It has support for some limited gestures too. You would have to manually activate the feature from its Settings → Set Active Features.
And don't tell anyone: it even has a PIE pointer.

Perhaps, Pie Control would also work.

In case you're wondering about the current state of question and this answer, know that the answer was posted when  revision 2 was the current revision

sorry I can't find this app in google play store.

It's not in the Play Store. Click the heading of the answer. It has the link.

I saw links to apk files. I just don't install applications from untrusted or unknown sources.

I see. In that case, see if this comment here helps: Enable software menu without virtual keys

GMD GestureControl
(Click image to enlarge)

The app has Lite versiontoo. Requires root access and not guaranteed to work on every device.
As the name hints, you can control your device using gestures. You can choose to set a predefined gesture or you can create a custom one. The touch is supported for up to five fingers.
Anyhow, for our case, create a gesture, select number of points, and when selecting an action go to Action → Navigation → Menu. Exit the app and try your new gesture wherever an app has a menu. It should work.
Should you need any guidance in settings up the gesture, you can refer to my answer for Unlock different Apps from lock screen

In case you're wondering about the current state of question and this answer, know that the answer was posted when  revision 2 was the current revision

All in one Gestures
Has in-app purchases and may require root access.
It helps you to control the phone using gestures. The gestures are divided into two categories: Hover and Swipe. Both categories have predefined edges such as top, right, left, bottom and more, and you  can configure the actions there.
For our case, the action is Menu and can be selected by ticking your desired edge under any of the category.
(Click image to enlarge)

In case you're wondering about the current state of question and this answer, know that the answer was posted when  revision 2 was the current revision

Tasker
Paid software, has 7 day free trial and requires root access for our case.
Tasker can create and show scenes in overlay blocking mode. What it means is, you won't have to dedicate specific part of the screen for the scenes and still can have virtual buttons.
Set the size of the scene to the size of the button you would want, assign an action to tap and show it using a task in overlay blocking mode. You can see the supplementary details in this answer.
(Click image to enlarge; can you spot the alien here?)

In case you're wondering about the current state of question and this answer, know that the answer was posted when  revision 2 was the current revision

GravityBox [JB]

For KitKat, Lollipop and Marshmallow: GravityBox [KK], GravityBox [LP], GravityBox [MM].
Offers Pie controls, like LMT Launcher but  with very limited options.
Requires root access and Xposed Framework.
Per description, it should only be installed on a stock AOSP Android ROM.

Once the module is successfully enabled, go into GravityBox → Pie Controls → and configure the settings.
By limited options, I meant that you cannot remove a Pie but only change its action. In essence, it gives you a traditional navigation bar but with the ability to launch it using gestures from three edges of the screen  and customize the actions behind the keys. Note that you can always customize the color and size of your Pies.
(Click image to enlarge)

Other apps with Pie navigation: Pie Control, Handy Soft Keys, Floating Toucher. Note that they are in the comments because I didn't or couldn't test them.

Answering myself.
Most of the suggested solutions require Xposed framework to be installed.
Unfortunately, Xposed installer warns about known critical issue with my ROM - Aliyun OS.
Though I was not able to find how to enable 3dot menu button in applications (without navigation bar) I've found a suitable application duplicating required buttons.
It is My Home Button.
It is free, available in Google Play Store, no ad, but root is required for the menu option.
Go to Settings->Floating buttons and select Floating buttons (root) option.
After that, a floating button appears on the phone screen and expands with all buttons duplicating capacitive buttons functionality (home, back, recent apps and menu). In addition "home" and "recent" options appears in system shutter.
P.S. I still would like to enable 3dot menu in applications themselves.


text:
Problem with zeki tablet: no space
Ok, so my tablet is a 4 gig and has no space. I factory reset it because it had some major problems. Anyways, when I go into the settings I go into the apps part and it says 147mb free yet I have nothing installed or downloaded so I don't know what to do. It's stupid and pissing me off. I've tried alot of things. I've taken all the updates out of the apps and still no space. Please give me some direction. Is there a program to root, because if so I need it bad because this tablet sucks.

Give us the output (screenshots) of Diskinfo and DiskUsage. You may have to delete an app or an app's data  to get some space for the said apps' installation.

Try moving your apps off tablet drive and put them on the internal sd card.
Go to settings-Apps. Slide the screen to "on sd card" (upper right of screen). Check box the apps to move. Then go back to "downloaded" screen. Click each app and clear data, clear cache.
That freed up 100mb on mine. Good luck

I downloaded an app to move apps from the internal storage to the SD card and the message I received was "the internal storage and the sd card SHARE the same space" so apps CANNOT be moved from the internal storage to the sd storage.


text:
Nexus Player 5.10.31-leanback developer options
I just purchased Nexus Player after doing a bunch of research on it capabilities. However the one i have appears to be stripped of the "developer options" that will allow me to side load the apps I want. When I click on "Build version" 7 times nothing happens. Is there a way to do this on the new software version?

After speaking to support at Google and Asus it seams the folks at Google removed it. However, if you hard reset the device you'll get the original Asus software and Developer Mode can be entered.


text:
t Google Keyboard gesture typing intermittently stopping after switching keyboards
Sometimes when I switch keyboards (from Google Pinyin input) back to English the gesture (Swype) typing doesn't work. There may also be a several second delay when switching. Occasionally the app I'm using loses its bottom half to a glitchy-looking keyboard. The problem goes away on its own after some time has passed or after force-quitting the app that was open when switching.
This problem is present on both a Nexus 4 and Nexus 6 running Lollipop and Marshmallow respectively.


text:
Synch on mobile data not only wifi
It appears my S planner synchs when I am on Wi Fi but not when wi fi is off and I am connected to mobile data.  There is probably a switch "synch only when on wifi" to save paying for mobile data, but where do I turn that off if I want to synch in a hurry and there is no wifi handy?

Specifying which Samsung model, Android version will help in others give a specific answer


text:
Difficulty in accessing Internet through University network [require proxy setting]
I use university's wifi network for accessing internet. When I connect to internet from Academic area, some of the apps does not connect (especially whatsapp), whereas when I connect to internet from residential area all of apps works fine.
The network requires prxoy settings and authentication. A few of my friends uses ProxyDroid app for accessing internet which requires to root the device and I would not prefer that. Other option include running a Python script through SL4A. Any suggestions?
I am using Zenfone Laser 550kl working on ZenUI.
Thanks

Probably you need to consult with your university's IT department to set-up this correctly. Otherwise, bypassing it can be considered as "breaking rule". (it's probably blocked to avoid cheating on exams)

your point would be correct if all android users face the same restriction, but this is not the case many are using whatsapp without any additional program.

Related: Configuring Wifi Proxy Settings

I use Psiphon available on Google play. Doesn't require root.
It's a proxy server, and bypasses filters in my college.
Try it out.

Link to the app, brief description?

https://play.google.com/store/apps/details?id=com.psiphon3&hl=en

It's a proxy server, and bypasses filters in my college

Just an update, apparently when using this app one cannot detect which apps are using internet. Hence even 'blocked' apps can have internet access. All internet appears to have been used by the Psiphon itself, and not by the app.


text:
Windows 8 does not recognize HUAWEI Y536A1 for debugging
The problem: My device (HUAWEI Y536A1) isn't getting detected in Android Studio
The solution: Install the correct usb drivers
The problem that arises to the solution: I am not able to...and here are the details:
I have recently system wiped my computer due to slowness. This brings me back to the tedious task of setting up my computer for Android Studio. I have tried everything to get  the USB drivers to work in Android Studio, but for some reason, I can't update my USB driver:

Now, here is the annoying screen that always pops up when trying to update my usb driver:

My usb driver is installed:

This is pretty pathetic. I have tried everything. I even tried to go into my computers BIOS and disable Intel xHCI. I also checked, and the virtualization (VT-x) is enabled I remember when I first started Android, I had this same problem, and the solution was to do something in the computer's BIOS, but the problem still persists.
By the way, I have done lots of research on this topic, and this is a code 28, which means it doesn't have the correct drivers:

I have been on this for 3 hours now (3 HOURS!) and would really appreciate any help. How can I get my phone recognized on my Windows 8 laptop? I have done it before, so I know my phone is compatible. I remember doing something with the bios before I had system wiped my computer...

First make sure that you have virtualization on in the BIOS.
Next, make sure you have done what I have done in my question.
What I forgot to do was install the android_winusb file in the usb_driver folder. The path should be sdk\extras\google\usb_driver. In my case, C:\Users\Ruchir\AppData\Local\Android\sdk\extras\google\usb_driver
After doing that, go back to device manager and go to the install as path. At the bottom of that should be another option:

Let me pick from a list of devices on my computer

Select your Android phone; it shouldn't have a yellow exclamation point over it any more. After that, select Composite ADB Interface. THAT'S IT.

After 48 hours from when you posted your question you can accept your own answer by clicking the check mark beside the answer to change its color to green.

@karel I know, and I'll accept it day after tomorrow. Any way, I hope this answer will be helpful for others, and save them 7 hours also


text:
Helium (carbon) won't recognize backup files
I backed up to an SD card using Helium before factory resetting my Samsung Galaxy S5. Helium could find my backups and gave the option to "restore" before factory reset - after, it's not.
I've tried this method:

Start Helium
Pick any "dummy app" to create a backup from
Exit Helium
Check where it placed the backup files, and which files those are (a backup consists of multiple files)
Copy your backup files to that location
Check if for each app there are all the files you've checked above1
Start Helium again, it now should find the backups
Restore whatever you wanted to restore

But it still only sees the recently backed up apps, not the many others I've pasted there.
What is different about my previously backed-up apps that it is not recognizing?

Just a suggestion, in case the Helium issue does not get solved: you can use those backup files (those with .ab extension) with [tag:adb] to restore the backups. Example usage: adb restore com.carly.app.ab.

That looks like you've already seen my corresponding answer (your method seems to be copied from there), so you've also seen the suggestion @Firelord made. I vaguely remember we had a similar question, and it turned out a file was missing for each app. Unfortunately, I cannot find the post :( Could you compare a "new" backup with an "old" one, to see what kind of files exist for the resp. app?

@firelord I'd love to try that, but another thing that's confusing me about this app and backup is that I don't see the files - I see all the folders that look like the backups, but they look empty. The strange part is, the folders of the "dummy" backups I create, as per Izzy's method that I tried, those folders look empty too, but the app still sees them and gives me the option to restore.

@izzy Are the files hidden somehow?? Sorry I'm not too good with this stuff, but is there something silly that I'm missing to make the files visible? I mean, I guess they could be actually empty, but the fact that the app took a bit of time to backup leads me to believe there had to be SOME kind of files moving, right? Also the fact the app sees the new backups I make without showing me files.

@Carly AFAIR there were no hidden files involved. Is the number of files from an old backup and from a new backup identical? The backups only consisting of "empty directories" irritates me. As they reside on the SD card usually, it shouldn't be a permission issue either. Could you try ls -la (from a terminal or ADB shell) on those directories?

It's because the files within the com.koushikdutta.backup/files are deleted whenever

You uninstall Helium Backup, or
The phone has been factory reset

If those files are missing, Helium Backup will fail to recognize any of your backups, even if they exist and is easily restorable.
Requiring those files to exist in order to restore backups is honestly quite a retarded system.

If you have the premium version of the app (which enables cloud saves) then backup any of your apps to Google Drive, this will create a folder in your Drive which Helium will use for future backups. Then upload your old backup to the Google Drive folder created by Helium. Open Helium again and choose restore from cloud/Google Drive and your old backup will show up.

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


text:
How to show all braodcast events of a particular app?
I know its possible to show all broadcast events/intents that are triggered in android. But I wanted to list all the broadcast events of a particular android app. My purpose is, I want to test a particular app for broadcast theft vulnerabilities. It may be possible to reverse engineer the app and analyse the code. But its too time consuming. Is there any other methods to do this?
Is it possible with logcat? Can it be retrieved from the manifest file? Any input is appreciated.

Dexplorer app on play store has the ability to read manifest file you can find all the intent there

@lord-ralf-adolf It appears that not all the broadcasts receivers (and hence their intent filters) are mentioned in the manifest of an app. See Registering BroadcastReceiver Programatically.

Yes, that is the problem. :( Is it necessary that I should reverse engineer?


text:
Xposed goes into bootloop -Can I still make Xposed work somehow? (Device Pipo X8)
I have installed Xposed onto my Android device and it doesn't work and goes into a bootloop. If I disable Xposed I get out of the bootloop so no problem there, except that I really need for Xposed to work. Is there something I can try to make it work? I tried rm -r /data/dalvik-cache but it doesn't help. What else can I do?
The device is a Pipo X8 media center with Android 4.4.4 and Windows dual boot, however I only use Android. For Kernel-version it says:

3.10.20-00003-g7240abc-dirty ibuilder@Exdroid #26 Thu Jul 23 17:21:56 CST 2015

It would really help, if you add specific details about your phone, software, firmware, Xposed version etc.

You say you are under 4.4.4 are you using dalvik or art ?

I don't have the option to select runtime in developer options. How can I know/choose dalvik or art?

If there's no option, it will be Dalvik. ART was still experimental with Kitkat. Something else to check: How did you install Xposed? Did you use the installer? If not, did you pick the correct version (AFAIK there are 3 different versions: one for up to Kitkat, one for Lollipop, one for M)?

Did you use the installer here: http://repo.xposed.info/module/de.robv.android.xposed.installer?

Yes I used adb to install de.robv.android.xposed.installer_v32_de4f0d.apk (stable for Android 4.0.3 or later.)

I managed to get Xposed Framework 2.6.1 working on Pipo X8. I have described the steps necessary in my reply #15 on XDA forum. Please have a look:
Xposed for Pipo X8 -infinite bootloop


text:
Adding music to the Play Music queue
In "play music" mode must I be using a play list for the 'add to queue' function to work?  Can I create an empty playlist with which to start queuing function? Add to queue does not seem to work when playing off the music library. Why?

No, you don't need to be using a play list to add stuff to the queue. As soon as you select music to play it adds it to the queue. To add more to the queue, navigate to an artist, album, playlist, or song and there should be an "add to queue" option in the overflow menu.


text:
Forcing higher USB current
The big problem: Like a lot of people, we are finding that our tablet does not maintain charge when connected to USB (PC or other device, not AC jack, we need data and charging simultaneously).
What has worked so far:  On two tablets, we have been able to successfully force the tablet to draw a higher current by writing a higher value to the files

on Acer Iconia Tab 8: /sys/devices/pci0000:00/0000:00:18.1/i2c-1/1-0035/power_supply/smb34x-usb_charger/
on Samsung Galaxy Tab A: /sys/devices/soc.0/i2c.65/i2c-13/13-0066/max77849-charger/power_supply/max77849-charger/

on those tablets in the above directories, after setting the appropriate permissions (Acer: chmod 777 input_cur_limit, Tab A: chmod 777 current_now) we can change the USB charge current by writing to the files with the commands:

Acer: echo "1000" > input_cur_limit
Tab A: echo "1000" > current_now

This works great on these two tablets.  An inline meter on the USB shows the current going higher (close to 1000mA, or whatever we specify) and we are not frying anything (PC, OTG device, tablet) and when the battery fills up itself regulates to a lower value.  All good.
The Problem now: We have a new tablet. The Samsung Galaxy Tab 4 - 7" (also tried on an 8" with the same results).
We found the file we thought we should modify:

current_now in sys/devices/platform/3.i2c/i2c-8/8-0049/power_supply/sec-charger

We changed the permissions and used echo "1000" > current_now to try and modify the file and nothing happens. It keeps returning instantly back to 450 and the meter reading does not go up.
Any ideas? It worked on the first two devices we tried, but not on these last two (Tab 4 - 7" and 8").  Maybe someone has a completely different method?  Maybe there is another file to change (we have tried several other similarly named files). We understand that this breaks the USB 2 spec, but we need to charge the tablets and send data at the same time.

I gotta refresh my memory (look for it), but I think there's a kernel/acpi option that prevents certain power-related changes by default (on laptops). The idea being that if it's really needed, the potential dangers associated with these hacks will be made known to the user; and if it's worth pursuing it's really needed.

What's the directory listing of /sys/devices/? # ls -alh /sys/devices/ will list the contents. There might be a platform-/vendor-specific way to enable/disable this.

Plug it into a powered hub with a Charging Downstream Port or USB-C high-current port.

This is to point out a possibility of replacing echo option, with a copy paste option
( Before that, here is a similar search Prevent complete charging?. .)
Related efforts  and success for AC charging by replacing the file itself, when echo was not possible, (for reasons I still don't know) is my answer for Honor 6 phone here How do I override charging current on Huawei Honor 6?.
On a side note, similar effort for Samsung Note 2 https://android.stackexchange.com/questions/127288/over-ride-charging-current-on-note-2-n-7100 has not yielded a solution. Unconfirmed views are :

Kernel alone can do that for this phone (from two kernel chefs who made kernels for this phone)
Chipset limitations. This from a developer

Since their views are based on email, cannot quote names
All the best and will be looking to find if there is yet another way

Some one else in the office has tried the copy and paste method (just found this out now, didn't know they had already tried it to no avail).  Thanks for the suggestion though.  I hadn't found too many references to other people trying similar methods, so thank you for those links.

The suggested solutions did not work for the tablets in question.  The methods worked on some tablets, so we selected a tablet for which the method I described in the original question worked.  As far as I am concerned there has not been a general answer provided (and there may not be one).  Having moved on, I hope my question and the posted suggestions help some people, but non are yet deserving of being considered THE answer.

Don't modify anything in the device to change its power settings.
You need to connect it to a port that can provide the desired level current. You don't make the device draw more current.
On a PC, some motherboard USB ports can provide more current. Check your PC motherboard's manual. If you don't have that, then you can try this. From the OS, shut down the PC. Do not cut the mains power supply to the SMPS (motherboard). Now, connect your tablet or any mobile phone to each one of the ports on the PC. The ports that are designated for device charging will charge device. Others will be switched off by software. Sometimes, the device charging USB headers on the motherboard may not be connected to the ports. You may have re-map the cables or add additional ports that connect to them.
http://www.gigabyte.in/MicroSite/185/on-off-charge.htm
The simplest way to charge tablets is to use a wall charger.

Unfortunately that's not necessarily how it works.  We have devices capable of supplying a higher current but if the tablet is obeying the USB spec it will not request more than 500mA while a data connection is open.  Sure a wall charger will send more current because to tell the device that it is a wall charger it shorts the data lines.  This defeats our requirement for data and higher current simultaneously.  We have had success on breaking the spec on some devices, but not the one we want.  Hence my question.  I appreciate your input, but unfortunately this will not work for us.

@JimInCanada A Charging Downstream Port will also short the data lines temporarily and indicate that the phone can draw large currents even while data is active


text:
Can't view contacts while call in progress
While a phone call is in progress, the phone is always on the "call in progress" screen (with options to access the keypad, just in case I need to key in something, but that's about it), without any way to access Contacts or Favorites tabs of the phone's Dialer.
If press Home I get the home screen and I can select (run) any app there, but as soon as I select the Contacts app, all I get is the Dialer screen back! (call in progress...)
Is this the standard behavior of every dialer/contacts app on Android smartphones?
Is there any way or workaround to access my contact information while call is in progress? (e.g. while talking with someone who asks me for a phone number of someone else in my Contacts list).

One thing for sure - this is not a common behavior on phones especially Android. You should be able to access contacts while a call is in progress.

@MANI Thank you. My smartphone is an iRulu U2 running KitKat. I wonder why iRulu released a smartphone with such severe limitation. Is there an alternate dialer and/or contacts app that can replace the built-in ones? The dialer needs to support dual-SIM.

There are too many apps. I don't know if they support dual Sim. Try true dailer app and the similar ones.


text:
How can you prevent Google from saying "if you just said something..."
If I start a voice search but change my mind and cancel it, sometimes it will say " if you just said something I didn't hear what it was".
Is there any way to disable this?

Are you rooted ?

Yes. Sorry I forgot to mention it.

Xposed module App settings..give it a shot and see if you can mute...too busy for me to check

and if you're not rooted? I don't want things to activate on their own or if i accidentally knock against something


text:
Nexus 7 stuck on google's logo after flashed the building of AOSP
This is my first time to flash the AOSP build on the device. I just followed Google's instructions to download and build the Android source code. Since I have a Nexus 7 (2013), so I chose the target to "aosp_flo-userdebug" before starting to build. Then I ran "make" to build, and the building was successful.
After that I rebooted the device and went into the bootloader, flashed the device by the command:
$ fastboot -w flashall
The flash succeeded. Then after the device rebooted, it just got stuck on the Google's logo screen and never continued. If I flash it back to the factory image, it can continue booting. So I think maybe there are some mistakes I made during the building or flashing that causes the problem. But I don't know how to find the problem.
I also tried to flash only system.img by:
$ fastboot flash system system.img
But it's still the same result. Hope someone can give me some suggestions. Thanks.
PS: the build version is 5.1

Thanks to @Tamoghna Chowdhury for linking this to a similar question i had posted. I had similar issues and struggled with it for a while. You need to check some things. Did you flash the device specific binaries ?
In my case there was a version mismatch with the device specific binary  and the device. FLO should always have FLO binaries. Otherwise it wont start. Check this post
https://code.google.com/p/aosp4nexus5/wiki/AOSPforNexus5#Automatic_Installatin_of_GApps
I did this long ago, so I don't remember exact step i had take, If you post details of what you have done, maybe i'll remember something.
EDIT :Updating answer based on below comment from OP
Use the second link you mentioned https://developers.google.com/android/nexus/drivers#flolrx22g
Your device is flo. That is the first step. Now, your AOSP build should match with the binaries version. So you cant use 5.1.51 along with binaries of version LMY48G since that is for 5.1.1 . SO checkout AOSP with the same version, i.e 5.1.1 in your case and build again with the LMY48G binaries. I remember i had the same issue but with version 5.0.1 i.e LRX22G. It worked when i checkedout an older source code.
I dont know why this happens, ideally any new version should work. Perhaps another quirks of android.  I did not update android later on when the tablet booted correctly. Too big a risk to take :)

Thanks for replying. I think I missed the device specific binaries on previous building. So I downloaded the binaries for flo (LMY48G), and ran a building again. But still doesn't work. I noticed there are a bunch of binaries on Google. https://developers.google.com/android/nexus/blobs-preview and https://developers.google.com/android/nexus/drivers#flo, I think maybe I used the wrong version of binaries. But how to know which version should I use? The source I'm using is 5.1.51

I solved my problem by getting the binaries from  https://developers.google.com/android/nexus/blobs-preview eventually. Thanks again.

I think this is now documented in the official site: "AOSP cannot be used from pure source code only and requires additional hardware-related proprietary libraries to run, specifically for hardware graphics acceleration."https://source.android.com/source/running.html#obtaining-proprietary-binaries

This also explains why the preview binaries are needed: "To instead build the AOSP master branch, use the Binaries Preview for Nexus Devices." Anyway, thanks for the sharing : D

Download binary can solve this issue
for example
https://developers.google.com/android/drivers#tilapialmy47d
download all the link, untar *.tgz, and execute all shell script.
Then rebuild code.


text:
How to identify the WhatsApp sender of a media while playing it from the gallery?
When media are received through WhatsApp groups and contacts, they are stored in the storage and are available for the media scanner to list them. When I view the WhatsApp videos folder in MXPlayer, I see the videos that I received through WhatsApp.
Occasionally, when I see such an interesting video or image, I forward it to some people or groups, but later to realize that I received it through them. This strikes only when I open the chat history to see the same media sent by someone else.
Question:
In this situation, I want to find out the sender (or the group) without opening and scanning the WhatsApp messages to avoid this embarrassment.   I guess the file naming convention only helps to find the date and time.

You can take a look at the media's metadata. If the sender's name is there, you can identify it that way.
Otherwise, you can ask WhatsApp developers to add the sender's name to the title or something.
Or if you want, you can manually sort the files.
It's all up to the app.

How do you look the metadata? I tried to view the properties of a media in /sdcard/WhatsApp/Media/WhatsApp Video/ and could not figure out who sent it.

@Narayanan Go to a picture in gallery -> Open menu -> Click Details -> Profit

Metadata contains no info about the sender.

I am a member of "many" groups of which friends added me there.
So, I had one idea on how to know without checking all the messages and going to Chat Rooms, etc.
Just click on Group Icon, select the Info icon now, and there you will find Media.
Within media, now you have the Name of sender.
You can actually check all the media without them knowing that you read the messages.
I don't think it's the exact answer to your question, but it's called 'Workaround'.

When you open the Video/Image in the gallery, sort to view it by dates, and open the details, it will show 20170622 which is the YYYYMMDD.
If you hadn't deleted the WhatsApp Chat, it would be easy to figure out from Media's Metadata, just a suggestion.


text:
Sync Issue from Phone to Gmail contacrs
I deleted all my contacts from my android phone But have all of them in my gmail account,

What will happen if i sync my accounts ?

means

It will copy all contacts to phone or delete all contacts from gmail ?

Your best bet is to remove the account and then reconnect to it.
It however, is likely to have already synced and removed these contacts.


text:
The QR code doesnot work for WhatsApp web. What is the issue?
While I click on the whatsapp web from menu , it opens scanner but can't read the code. Why?

We will need much more information to give good recommendations here. Please [edit] your question and include at least: The device you're using, Android version it is running. Also check and update the tags you've used to match your issue.

It is Most probably due to the bandwidth of either Computer or Mobile me too have faced the issue when i had a bad bandwidth as the WhatsApp web changes its QR in a very short period of time within which the Android should capture it and process it online I'll prefer you to connect your mobile in wifi and try the same :)

I tried to scan it in portrait rather than landscape mode and it worked.

It could happen if you're using high contrast theme on Windows. If that's the case, then just set the theme to Windows Basic theme and it will work.
I regularly do it because I use black contrast theme.


text:
How to root ZTE prestige
I've looked at XDA and couldn't find anything and nobody will answer my question there. Please let me know if it is possible and if it is, how to do it?
Methods I already tried:

Framaroot
Kingoroot
Towelroot
Rootmaster
One Click Root
 root

Download Cydia Impactor to your desktop – Windows | Mac | Linux
      32-bit | Linux 64-bit   Extract the package to your desktop
Run the Cydia Impactor tool
On your Android device, enable USB Debugging from Settings > Developer
  Options
Connect the device to a USB port on your computer
On Windows, you would need to have the USB  drivers for your device
  installed. If not, you can also use the inbuilt Driver Scan function
  in the tool to automatically construct and install a driver for your
  device
Click the Start buton, after making sure that # drop SuperSU su to
  /system/xbin/su is selected in the dropdown menu
Once done, download and install SuperSU from the Play Store
Enjoy Root access on your Android device

Your source of info?

Looks like this was copied-and-pasted from https://dottech.org/138826/how-to-root-any-android-device-with-cydia-impactor-guide/, and a few comments said that it didn't work.


text:
How can I install odia language in my sony Xperia mdual mobile phone
Kindly give me suggestion,How can I install odia language in my sony Xperia mdual mobile phone.

Odia fonts are supported only in Android 5.1.1 and later. However you can read Odia fonts in a web browser by following these steps:

Install Firefox browser from Google Play Store.
Launch Firefox and go to the Oriya fonts package Add-Ons page and select Add to Firefox.
Click Install.

To add read/write support for Odia language globally in earlier Android versions than 5.1.1, install Odia keyboard app. From Odia keyboard app's Google Play Store webpage:

Features
Type in Odia or Oriyai and other Indian languages using normal keyboard

Content can be formatted with different styles, colors, sizes and shades.
Share as image or text with popular apps
SMS or message the text
Copy the text and paste anywhere
Save as text or image
Open or edit the saved work

Odia keyboard app requires Android 2.1 and up.

(Click image to enlarge)


text:
uninstall preloaded apps on intex aqua power II
i currently use the intex aqua power 2 smart phone with android 5.0 . There is a bunch of preloaded apps on it and i want to remove them . How to do it?

Root your phone and delete the applications from /system/app or /system/priv-app. If no root is available for your device (which is the case here I think) then you can try to disable the apps from settings->applications-> select application you wish to deactivate and deactivate it.

@benjaminS anything i need to be wary of

@user3594202 Don't delete apps you don't know.

Always 1) make a backup first 2) only freeze apps (to figure if they're really not needed) 3) delete only after steps 1+2 had positive results :)

Possible duplicate of How can I uninstall applications that are locked by phone vendor?

Its just a cake walk I'll prefer to use kingRoot apk which can be downloaded by searching in Google and then root your phone using it which need internet connectivity and then it creates an app named King user in that you can see an Option as uninstall Tool which can be used to uninstall the bloatwares and just restart after uninstall to get rid of completely its Completely trustable as i done it in my Phone Micromax A106 contact me if you need more any clarifications :)

Root your phone.
Enable USB debugging mode.
Download debloatware tool from XDA Develpers.
Open up the tools and select the application in the Tools.
Tool will backup the application and remove it or hide it.


text:
what changes are done, while rooting an android phone?
I've rooted my phone running 4.2.2 jb through computer (I tried all mobile rooting apps but nothing worked for me)
I want to know what's the difference rooting program did?has it switched me to root user? To do that something has to be changed. Then what is it?

This question has been asked and answered many times. Over 1000 questions are associated with the tag [rooting] you added to your own question. Have you scanned any of them for background? Especially this one.

Also see How exactly does "root" user access/account works? Do all applications run as root on my phone after rooting?

You have added a binary named su to your phone's operating system file. Android is based on Linux OS. Not all users can do everything they want in Linux. For example, an app in your phone, can't access to another app's data. It doesn't have the necessary permissions as a normal user. All apps you install are assigned a UID (User ID) by the system. There is however, another user in Linux OS that can execute all commands and can access everywhere and has all permissions. That is the root user (UID 0). When you root your phone, you add a binary and an app to manage it. (usually SuperSU) When you grant an app root access, it can execute commands and have permissions it normally can't. So beware of the apps you grant root access to.

No Much Changes are Done on rooting the Android Device the User can access  even the Android OS files which are responsible for All operations so This helps us to uninstall bloatware and it can also make the system potentially vulnerable i.e. Many Apps can easily Exploit the root access to spy on Your Phone even key logs can be sent over internet when the device is rooted so, if you know what thing you are messing up just go ahead else i'll better say you to stay On Unrooted mode and its true You can get the most from Android after rooting your Phone !!  ;) **Root With Caution and if you are really ready to face the consequences ** Some in complete Roots may make your phone cause Boot loop i.e.To stay on boot screen itself To be short this is like the su command in Linux Systems !  :)
2nd :
      You can even Root your Computer without Computer its not that always a Computer is needed to root the phone Except for some Phones :)

please rephrase your answer, use punctuation and try to make your second point clearer. Personally I have no idea what you are trying to describe


text:
flashing update from recovery
I have cwm recovery installed (not the official version) and I backed up my current stock Rom through it. It backed up bootloader, system etc... And reported some backups have failed . Which are backups necessary to retain current stock Rom if I flash another custom Rom?

/data, /system/ should be enough, /cache and /dalvik cache if you want to be on the safe side. What backups have failed?

I don't know exactly. But following files have 0 bytes in backup directory data.ext4.tar, cache.ext4.tar, system.ext4.tar

The important ones are /boot (this is the kernel and is very critical), /system -> this contains the rest of the Android OS,  /data -> this contains user data such as apps, their settings, wifi and some misc stuff. This gets cleared when you do a factory reset, so it is optional but convenient to have as a backup. /recovery -> often not flashed by a ROM. The first two must be backed up to retain a ROM.


text:
PIN longer than 16 digits
I was wondering if there was any way to use an unlock PIN longer than 16 digits on android lollipop - in the settings it allows you to enter a PIN less than 17 digits. I would like to stay away from 3rd party lock screens if possible. I am running resurrection remix (Lollipop 5.1.1).
Thanks

Appears to be hard-coded: see L108 and L318

Far as I know, no. Now of course wait for more answers but far as I know, if it is set to be 16 characters max it means it is a 128 bit variable. If that is all Android has saved for the PIN, then that is that.

It would help if you  explain the reason for mentioning "it means it is a 128 bit variable". Alternatively, tell us what is it about and why does it matter? Perhaps, something in the source code , or maybe a security policy for Android, or something else?

@Firelord I am not a developer so I don't know very deeply about security measurements of Android. I know that PIN is not meant as the ultimate security tool though. Anyone who had enough time and required tools can certainly crack the PIN code eventually. Let's not get sidetracked though. Far as I know, when you set a PIN code, the combination you picked is assigned to a variable with a pre-defined size. You can't assign a literal value greater than the variable can take or it will fail. Youtube used a 32bit counter and Gangnam style was watched more times than it could take and it broke.


text:
Need some clarification on Developer Settings
We have a bespoke app that uses a WebView to play some locally stored CSS animations.
I'd like to get full clarification on whether the following Developer options can have any impact on the animations playing in the WebView:

Animation and transition scales
Forced GPU Rendering
Disable Hardware overlays
Do not keep activities
Limiting background processes

EDIT - Can I also get an explanation as to what "Disable Hardware overlays" does exactly? Would checking it help in any scenario?

First of all ,those options are meant for development reasons ,mainly for developers to get different debugging outputs for every situation their app may face.
For the first part of your question :

Will those options affect the play of animations in a webView ?

I will go throw the options one by one :

Animation and transition scales :

This option is for the system-core animation the ones included in framwork-res.apk and other system framework  or in any android application under res/anim

Those animations are used by the system to change between views or par third party applications to change between activities view or for playing animations so if you change the Animation and transition scales only those animations will be affected ,since your Application uses the Webview to render and play the animations it will not be affected by those sittings.

Forced GPU Rendering :

As you may already now in any computer or phone there is two types of rendering software rendering  and Hardware rendering the first one is when the screen is displayed by the CPU it self ,the second is when the GPU is the one rendering it ,in android the system decides when and where use softrendering or hardrendering if you activate this option the system will always choose the GPU to render the screen ,which may give you a small performance gain because the CPU will remain free for other operations ,the power consumption may increase (corect me if I am wrong) GPU uses more power than the CPU.

Do not keep activities :

This option will kill any activity as soon as it goes to the background means that as soon as you leave an activity it will be destroyed so when you go back to that activity it will start a new one rather than resume the previews session ,this may not affect your application when you are on it but the second you leave it it will be destroyed ,this option may give you a little bit more performance because all other apps on the phone will not run in the background which may free up some resources (note that the background services will not be killed by this options only activities that are no longer displayed will be killed ) .

Limiting background processes

For this one I will quote @Dan Hulme in this answer

Setting this option forces Android to stop each process as soon as it
  is empty (that is, when no services are started and no activities are
  on screen for that app).
To be clear: this option won't stop apps that would normally run in
  the background from doing so. Your mail client will still run
  periodically to check mail, if it's configured to do that. Apps that
  use Google Cloud Messaging to receive push messages from Internet
  servers (such as Gmail and Facebook) will still be able to do so. The
  option would be better named "Cached background process limit", since
  it limits apps that would otherwise show up with that label in the
  apps manager.
Next time each app needs to start, Android has to load the app from
  storage, from scratch. This uses more power and takes longer than
  running it again when the process was in memory. This doesn't just
  mean when you start an activity from that app deliberately; it also
  means the email client has to be loaded after each time it wants to
  check email. Over time this can build up to a huge battery drain.
Because this is a development option, it can also trigger rare bugs in
  certain apps, and those apps' developers may not be keen to fix them.
  One example is that, on Nexus devices running 4.2.2, when this option
  is on, the in-built Calendar app will keep restarting itself with this
  option set, because stopping the cached background process causes the
  calendar's content provider to be removed, which causes a loop of
  services restarting each other to check for calendar updates. If this
  happens, the loop will run down your battery very quickly.

So as you can read this option will not affect your application all side affect of this option are noted in the previous quote.
For the second part of your question :

what "Disable Hardware overlays" does exactly?

To answer this I will define what is Hardware Overlays :
In computing, hardware overlay, a type of video overlay, provides a method of rendering an image to a display screen with a dedicated memory buffer inside computer video hardware. The technique aims to improve the display of a fast-moving video image — such as a computer game, a DVD, or the signal from a TV card. Most video cards manufactured since about 1998 and most media players support hardware overlay ,The overlay is a dedicated buffer into which one app can render (typically video), without incurring the significant performance cost of checking for clipping and overlapping rendering by other apps. The framebuffer has hardware support for importing and rendering the buffer contents without going through the GPU or CPU.
Now to get back to your question will it affect your scenario ,if you disable this feature android system will not allow hardware overlays which may cause a reduced performance , in other words Without a hardware overlay every application that is displaying things on the screen will share video memory and will have to constantly check for collision and clipping to render a proper image, this can cost a lot of processing power. With a hardware overlay each application gets its own portion of video memory, getting rid of the need to check for collision and clipping .Basically, using hardware overlays can reduce CPU usage by quite a bit, so I would leave it enabled in your case.
like I said earlier those options are meant for developers to get different debugging outputs for different scenarios their apps may face.
References
Hardware Overlays Wikipedia / Hardware Overlays on ComputerHope.com

Excellent, thank you very much! This will help a lot. Would it be correct to assume that if someone claimed using these settings gave a performance increase, it's likely a placebo effect?

well ,as I said in the answer the performance gain if there is any will be little and barely noticeable ,so if someone claims that the was a significant  performance gain that's likely to be a "placebo effect" or a lie


text:
"com.android.phone has stopped" after dirty flashing CM13
After dirty flashing my OnePlus One (bacon) from CM12.1 to CM13, I am constantly getting force close dialogs popup
Unfortunately the process com.android.phone has stopped

Logcat is filled with stacktraces like this:
Shutting down VM
FATAL EXCEPTION: main
Process: com.android.phone, PID: 13148
java.lang.RuntimeException: Unable to get provider com.android.providers.telephony.TelephonyProvider: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow.  Make sure the Cursor is initialized correctly before accessing data from it.
    at android.app.ActivityThread.installProvider(ActivityThread.java:5205)
    at android.app.ActivityThread.installContentProviders(ActivityThread.java:4797)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4737)
    at android.app.ActivityThread.-wrap1(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5466)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow.  Make sure the Cursor is initialized correctly before accessing data from it.
    at android.database.CursorWindow.nativeGetString(Native Method)
    at android.database.CursorWindow.getString(CursorWindow.java:438)
    at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
    at com.android.providers.telephony.TelephonyProvider$DatabaseHelper.getStringValueFromCursor(TelephonyProvider.java:993)
    at com.android.providers.telephony.TelephonyProvider$DatabaseHelper.copyPreservedApnsToNewTable(TelephonyProvider.java:905)
    at com.android.providers.telephony.TelephonyProvider$DatabaseHelper.onUpgrade(TelephonyProvider.java:641)
    at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:256)
    at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
    at com.android.providers.telephony.TelephonyProvider.onCreate(TelephonyProvider.java:1457)
    at android.content.ContentProvider.attachInfo(ContentProvider.java:1748)
    at android.content.ContentProvider.attachInfo(ContentProvider.java:1723)
    at android.app.ActivityThread.installProvider(ActivityThread.java:5202)
    ... 10 more

Once I somehow get rid of the persistent UI popup, it seems like com.android.phone is crashing at least 10 times per second, flooding logcat, and making it almost impossible to use the phone.
Is there any hope for a fix, or is a hard reset the only option?

Do clear data for com.android.providers.telephony (app goes by the label "Phone/Telephony storage/providers"). While you're on it, do it for Phone app as well (com.android.phone), restart and tell us the results.  It appears that the database of com.android.providers.telephony cannot be read. It may be possible that you can't clear data for those apps. In that case, remove their /data/data directories from the face of earth.

Clearing the cache (from recovery) may help

I tried to remove these folders using Total Commander in root mode. I managed to delete but it didn't help. I made a reboot as well :( I can't call anyone...

This was because of a change in the code.
As Firelord has said, clear the data for the apps, This can be done like so (this will also delete your SMS/MMS database, so make sure to backup them beforehand):
adb shell
rm -fr /data/data/com.android.providers.telephony/
rm -fr /data/data/com.android.phone/
exit

The -f flag is for force and -r flag means recursive.

That worked! Thanks. I also noticed this line in my logcat: TelephonyProvider: dbh.onUpgrade:+ db=SQLiteDatabase: /data/user/0/com.android.providers.telephony/databases/telephony.db oldV=1114120 newV=1376264 After removing the data dir and a reboot, the force close dialogs stopped. What was in the database? I noticed all my text messages are gone. Anything else?

Readers: make sure to reboot the device after deleting those directories.

Interesstingly it was not possible to delete the data from the App menu. I needed to reboot into TWRP and delete the folder there (the first one was sufficient)

This method doesn't work for Cyanogenmod 14/Android 7

@Adem Nov , whats the logcat?

I purged cm14 and reinstalled cm13 because cm14 was too unfinished for me. Everything works fine for me on cm13.

@Adem databases may have moved http://android.stackexchange.com/a/155895/136434

I had the same problem while upgrading to CM13 from CM12.1. You can solve this problem without deleting your database files and therefore losing data as suggested in the other answers.
The culprit seems to be broken database onUpgrade code  in the TelephonyProvider of CM.
The ppp_number column of the carriers table does not exists, but the upgrade code assumes it already exists.
I solved it by copying the telephony.db to my local Linux machine and reverting the database version to version 16 << 16 | 6 = 1048582 to force the upgrade code to add the missing columns. The ALTER TABLE statements in the linked code are guarded by try-catch-blocks, so that it doesn't matter if some of the columns already exists. Boot the phone into recovery (e.g. TWRP) to have adb root priviliges and avoid lock races with the Android Runtime which is constantly trying to start the telephony provider.
% adb pull /data/user/0/com.android.providers.telephony/databases/telephony.db
% adb pull /data/user/0/com.android.providers.telephony/databases/telephony.db-journal

Create backups
% cp telephony.db telephony.db.bak
% cp telephony.db-journal telephony.db-journal.bak

Then open the database with sqlite and set the version
% sqlite3 telephony.db
sqlite> PRAGMA user_version = 1048582;
sqlite> .quit

Upload the changed database back to the device and fix permissions
% adb push telephony.db /data/user/0/com.android.providers.telephony/databases
% adb shell
~ # cd /data/user/0/com.android.providers.telephony/databases
/data/data/com.android.providers.telephony/databases # rm telephony.db-journal
/data/data/com.android.providers.telephony/databases # chown radio:radio telephony.db
/data/data/com.android.providers.telephony/databases # chmod 660 telephony.db

You could also try this on the broken system, which I wouldn't recommend. You would probably have to become root with adb root in order to copy and modify the files with adb.

Excellent attention to detail!  The explanation is much appreciated.  Like @gedenkt, I followed these instructions, but they didn't work for me either. :-/  Simply deleting these two *.db* files did solve the problem though.

You can use the "vacuum" command to merge the journal to the db. $ sqlite3 telephony.db VACUUM

I tried Sebastian's solution, but the error persisted.
The accepted answer results in losing all your SMS, therefore was not an option for me.
However, after booting into recovery mode and deleting the files
/data/data/com.android.providers.telephony/databases/telephony.db
/data/data/com.android.providers.telephony/databases/telephony.db-journal

the phone worked perfectly again. The files seem to contain only auto-generated data, so it is safe to delete them.

How can I delete certain files in recovery mode?

@Hinrich If you use a full-featured recovery like TWRP, you can use the built-in file manager.

Here's a bit more detail on TWRP.  In my case, I'm running Safestrap 3.75 (TWRP v2.7.1.0), and I had to use the "Mount" button, then check "Data," then go back, then use the "Advanced" button to use the "File Manager" button (then navigate, starting from the "data" folder).

If you are unable to get in to an adb shell or remove the directory from your phone because it is unusable you can also remove the directory from whitin TWRP recovery.

Please add the necessary directions to do that in your answer. What if the OP doesn't have TWRP?

Had the same poblem after updating from CM12 to CM13. Here is how I was able to fix it:
I removed these two directories
/data/user/0/com.android.providers.telephony
/data/data/com.android.phone/

completly from my phone (Nexus 5). I used ES Explorer to do so, I had to turn on Root Mode and Show Hidden Files to be able to delete files in that directory.
Call log and SMS are still there, cannot see any disadvantages resulting from deleting those directories. Everything seems to work smooth again.


text:
Can't see 'My Maps' in Google maps app
According to this, I should be able to see 'My Maps' from the main google maps app in android.

Open the Google Maps app maps.
Touch the menu  >Your places.
Scroll down to see your maps.
Touch one to show it on the map.

However, when I scroll down (3), there are non of 'My Maps' shown.
Does anyone know why that might be?  Do I need to enable something?

Is location sharing off? Or location in general?

Probably just needed an update

Download My Maps and then check Google Maps again.

Thanks, but I already have the my maps application installed. (I want to use the offline google maps fucntionality)


text:
Nexus 4 2G/3G not working
The phone is running AOSP Marshmallow, is rooted and has Xposed installed. Mobile operator is Latvian Mobile Phone with working data plan. I can send and receive calls and texts and use WiFi.
So far I've tried:

Turning radio on and off - failed
Rebooting - failed
Rebooting in safe mode - failed
Going to lollipop stock image - failed
Going to jellybean - failed
Flashing radios - failed
Checking APN at the service center - failed
Replacing the SIM card - failed
Doing all the stuff mentioned above with the new SIM card - failed


text:
Custom notification sound for particular Hangout keeps reverting
On my stock, unrooted Samsung Galaxy S3 running Android 4.4.2, with Hangouts version 6.0.107278502 set as my default SMS app, I have the following settings (only giving you those I deem potentially relevant):
General Settings

Enable merged conversations: yes
SMS

SMS account: (my gmail)
Send SMS from: Carrier number
SMS sound: Flowers

Account Settings
Notifications

Hangouts messages & invites

Notifications: yes
Sound: Hangouts Message
Vibrate: yes

Google Voice SMS

Sound: Hangouts Message
Vibrate: yes

Additionally, I have set custom sounds under People & options for three conversations. One is for 40404, the short-code for texts from Twitter; which is set to:

Chat message sound: Chirps

This is so that I can ignore that particular notification if I'm even remotely busy, since Twitter messages are generally less important than a text from a friend.
Another is for another short-code, this one for deals from a local pizza place:

Chat message sound: Good news

The only other custom sound I have set is for my wife, so I can make sure I always read her messages, even I'm in an important meeting; her message could be even more important. For her, I chose the sound I found to be easiest to hear when the phone is in my pocket, yet not an annoying sound to hear often if I should receive many messages in a short timespan:

Chat message sound: Pure bell

While this conversation history does include some SMS (and possibly also MMS) messages, our standard practice is to use Hangouts messages between each other.
The problem is, every so often (on average, two or three times per week), my wife's notification sound spontaneously changes to Chirps, causing me to miss her messages because I think "that's just Twitter". If I open up the Hangout and go into People & options, the sound setting has been changed. I change it back, and it takes effect, but eventually it reverts back to Chirps again.
One time I actually "observed" the change as it happened: I was actively using the Hangouts app, and had exchanged messages with my wife within the last few minutes. As I was looking at my conversation list, the screen blanked, and then the splash screen appeared, along with a toast notification "Signed in as d***@gmail.com" - apparently Hangouts had crashed and restarted itself. When the next message arrived from my wife a few moments later, it played the Chirps sound.
The change coincided with Hangouts experiencing some kind of crash! On that one occasion, anyway.
My question is:
Why is this happening, why only for this one Hangout and not for any others, why does it always change to Chirps (i.e., why not the default sound of Flowers or Hangouts message), and, most importantly, how can I prevent it from continuing to happen?
I'll accept any answer that fulfills the last part of the question; the rest would be interesting information, but should be considered optional.

I'm seeing the same issue on my Droid Turbo. Also, it seems to me that every time it changes the notification sound it goes to the next one down the list, at least in my case.


text:
Verify Cyanogenmod update - checksum?
I am running Cyanogenmod 11. The OS made an automatic check for updates, and there are new nightly builds available. I downloaded one of them, but have not yet installed it.
Can anyone advise what security features are built into this automatic update process?

Where is the update downloaded from?
Is it possible to see the checksum of the update in question?
Are updates signed?

You dont have to worry about corruption of update. If its corrupt, the zip file will not be parsed and recovery wont flash it, no damage done.
Still, if you want checksums, you can go to http://download.cyanogenmod.com/, find your device and check the checksum of latest build for your device.
If you are still not comfortable installing update, backup first using recovery. You can always restore if it doesn't work out.

Are updates signed?

I dont get what you meant by that. CM updates are signed with Android's default debugging keys (test-keys). Ofcourse feel free to research about this on your own at Cyanogenmod Wiki.

This wasn't exactly what I was looking for, but I did manage to run a checksum of the downloaded file (it's in the cmupdater directory). That matches with the checksum at https://download.cyanogenmod.com/

Did you guys mean https://download.cyanogenmod.org/ because the .com link is  a 404. Also, these pages on the cyanogenmod site give a 503 error saying they're "over quota" so you can't even get the sha1 hash directly from them, but you can load the google cache version of the site.


text:
Safe to uninstall AOSP keyboard?
Using XPrivacy, I noticed that the AOSP keyboard is loading once in a while.
The interesting thing is that I don't use the AOSP keyboard on that device.  It came preinstalled, but I use a different keyboard.
Is it safe to uninstall the AOSP keyboard, or will that cause problems?
Details for that device: Stock KitKat ROM (rooted)
Bonus points (but certainly not required) if you can explain why the AOSP keyboard is still getting called.  It's not set to autostart.

To play it safe: why not simply "freeze" it to find out?

@Izzy That will probably be the first step, although I don't want that to mess up anything either.  I figure if it's safe to uninstall it, it's safe to freeze it first! ;-)  Also, even if frozen, I have a hunch it will still get loaded, similar to http://android.stackexchange.com/questions/129427/why-are-disabled-apps-still-running

Yes it is safe to uninstall AOSP keyboard.
I kinda feel uncomfortable writing a one lined answer... So I'll explain things a bit more in detail.
Basically, you can remove any app from android system as far as its not used by critical system functions. I dont not know of any specific up to date list that contains all apps that can be removed. But consider it this way:
What can a keyboard app be required for? Can it be used by some other app? The answer is pretty simple. The keyboard app only inputs user data. So if you have alternative, its pretty safe to remove. Even if you dont put any keyboard app at all, your system will work just fine even then. It will just get a little trickier to input stuff.
Again, precaution is always better than cure. So keep that in mind and backup first ;)
For the second part:
Correct me if I am mistaken, but thats a general thing in android. If you are not running an application does not mean that system is not running it. There could always be background services which can trigger some activity from an application. Especially for something as common as input methods, they generally stay in memory so they can used as soon as required.
So to keep an app dead, you must make sure that no background service ever calls it.

Anything to back your claim? I vaguely remember someone else who thought so, and ended up unable to unlock the device (pin code or password), as the lockscreen was "fixed" on the pre-installed keyboard app. Didn't help that person much there was another keyboard app installed, the lockscreen ignored it.

I dont really have a super plan to backup what I said, but maybe my explanation might help you a little. If you are worried, you can always backup your system partition first with recovery. And even if you mess up, its not that difficult to fix this especially using custom recovery. You just have to push the apk back to /system/app and set permissions.

Backup never hurts, right – and should be a precaution to take before modifying any system stuff. That should be part of your answer (and feel free to include my warning as well – it was a real case a while ago).

@Izzy The lockscreen example you gave is concerning.  Things like that can be hard to notice right off the bat (especially if you don't use a lockscreen now, but choose to use one later).  Do you think that's the only situation that needs to be tested?

@RockPaperLizard I'm not sure. E.g. I've never worked with device encryption, so I don't know whether that might ask for something in specific situations (except for the lockscreen). Currently I'm not aware of anything else: as soon as the screen is unlocked, you are able to switch IMEs if necessary.

Maybe.
If your device requires the AOSP keyboard for the lockscreen password, device encryption, or other such features (and one or more is enabled), then uninstalling it can lock you out of your device.  Many devices will allow any input method to be used (some even let you select it), but not all.
Furthermore, if you uninstall the AOSP keyboard, it is possible that you will lose the spelling check feature in Android.  A sure sign of this is if, under Language and input (in Settings), your device has a Spelling correction feature, and the only option within it is Android Spell Checker (AOSP).  That feature then requires the AOSP keyboard to be installed.
Bonus points answer: If the AOSP keyboard is being called but is not set to autostart, then it is likely being called to perform spell checking functionality.


text:
Audio on both bluetooth headset and onboard speakers simultaneously?
I'm attempting to use a Bluetooth pair of headphones on my Nvidia Shield Tablet, but I'd also like the on-board speakers to remain on so I can stream that audio to my PC to broadcast on the internet. Any ideas on how I can get both the Bluetooth headphones and on-board speakers working at the same time?

This StackOverflow Answer provides some insight into why this is hard.


text:
How can I access the folders where Firefox mobile stores its application data
I know the information is supposed to be at data/data/org.mozilla.firefox/ but I cannot seem to view/access them.
My device is rooted, and I've checked device storage as well as external storage, using multiple file browsers.
Specifically I'm trying to find where it stores the information that it saves for the top sites tab.

Have you looked at /data/data/org.mozilla.firefox/? Your profile should be under /data/data/org.mozilla.firefox/files/mozilla/

Before you ask for the next app, here's a recommended reading: Where Android apps store data?

I only asked because, despite it already being said elsewhere, the location given doesn't show the data for me, even though I'm on a rooted device.  The suggestion by Ankush to try accessing from with Firefox itself does work, but that still leaves the mystery as to how I can access those files for editing/etc.

Can you give is the result of su -c "ls /data/data/org.mozilla.firefox" or su -c "ls -l /data/data/"? Use a terminal emulator app for that. Also, use @ to notify someone, such as @Izzy.

I'm positive I'm looking in the correct location.  I've tried ES File Explorer as well as another Root Explorer app.  I've even tried looking through Tasker.  Only one folder is visible inside /data/data/ and it's not for Firefox.

When running that command using a terminal, it does list the contents of the firefox folder as expected.

Hmm, then the issue comes back to file explorer apps. Have they been granted the root privileges? What does Superuser app says?

@vertigoelectric though you're using root capable apps, you might have to enable "root mode" for them. I vaguely remember ES had a setting for that (it's quite a while ago I've used it last). Often that's disabled for security reasons (so you don't accidentally do something "unlucky").

I have already considered your suggestion but haven't found a "fix" for it.  I know ES is root capable, but it hasn't asked for permission, it isn't listed in the SuperUser app list, and I'm not sure how to 'force' it to ask.  I'll look into that.

Apps on Android store their data in /data/data/[package_name],
so Firefox should be keeping its data in /data/data/org.mozilla.firefox.
NOTE: To access this directory you need root access.
Use file:///data/data/org.mozilla.firefox/ from inside Firefox to access the folder (without root). This work because Firefox owns the folder (see the comments)

Does file:///data/data/org.mozilla.firefox option work without root?

@SarpSTA, I tested it on FF 40.0, and because Firefox owns the directory, it does work.

@Firelord Yeah I figured it would. Just the fact that it was given after the notion of requiring root access it kind of confused me.

I see.  I am able to view the files from inside Firefox as suggested.  However, I need to be able to access these files from outside of Firefox, particularly with Tasker.  My device is rooted, so I'm not sure why I cannot access these files...

@vertigoelectric Are you using a file explorer that supports root? The default file explorer installed on your device will likely not display any of the / (root) directory on your device aside from the internal and external storage. Something basic like ES File Explorer should do the trick!

Yes. See comments to my post.


text:
Replace su binary with another one
I have the SuperSU installed (with su binary in /system/xbin), and another su binary compiled from SuperUser sources by myself.
I want to replace the existing su binary by my one via the command line.
But when I'm trying to do this, I'm getting an error:
# cp /sdcard/su /system/xbin/
cp: /system/xbin/su: Text file busy

Of course, the existing one is busy because it's in use now. Is there any way to replace it with command line only? I can't do it from recovery.

Try killing the superuser daemon and the superuser app in background. See if it works. And, any reasons why you can't do it from the recovery?

@Firelord it's universal application that should work on any rooted device, and I can not support all of thousands of various devices with various recovery (or without custom recovery at all)

Are you developing an app?

@Firelord it's MDM/KioskMode app. For some reasons, it requires custom su binary.

mv /system/xbin/su /system/xbin/su.orig && cp /sdcard/su /system/xbin/. Then try whether apps requiring root still work (that failed in my case, so I was happy to have the original file backed up ;)

And make sure to give proper permissions to the su binary after moving it from /sdcard to xbin.


text:
Use an usb printer from an Android device
I have an old usb printer and I'm wondering if it's possible to use it to print from an Android device.
I'm thinking a micro-usb-to-usb adapter and then just plug it in... Will it work? If not out of the box, how simple is it?

It likely wont. Because two things:
1) Drivers: Android wont know how to operate that printer. All ends here.
2) Even if printer has some Gandalf's spell to be detected by android, AFAIK android doesn't have a mechanism to pass out binary pixel data to printer to print the image.

There are a couple of options out there, here is a good article detailing them -
Everything You Need to Know About Printing From your Android Phone or Tablet
Personally, I've had some luck with my old printer using an OTG cable and the PrintShare app. It seems to have a good library of drivers.
PrintShare - Google Play:

I would plug the USB printer into a nearby computer and enable network sharing, meaning you should be able to find a way to print from your Android; I use Google's cloud print app to print from my my phone to a shared network printer.
As for a direct connection between the printer and the Android, I don't think it's possible.


text:
Android studio emulator start without response
So I am new to android developer, the AS start first for the default 6.0sdk, emilator runs well but after I download the 4.0.3sdk and the exact emulator, the emulator crashed while starting, the emulator screen keep black without response. what is the problem?thank you

I have solved this problem,for I delete

C:\Users\chcc.android

and redownload the sdk and Emulator,it runs!


text:
Samsung asks for software update with weird random version
Today, I suddenly received this update for my Samsung Galaxy Prime Kit Kat 4.1 and it tells me to update to a weird random version which I searched on Google and received NO results (even when typing the 6th letter of the version). I hope this is not a glitch or someone trying to hack my phone.

Update details
Size : 124.17 MB
Version G360GDXU1BOJ3/G360GOLB1BOJ1/G360GDVU1BOJ3

This appears to be a fine update to me. If you check this page on sammobile, it has firmwares named similar to yours. The final base number is pretty same (UIBOJ3).
Besides that, android phones cannot be hacked that way unless you install some real (real) bad app, even then you should be able to recognize such a thing. So I would say just go ahead, this update is fine from security point of view :)

Thanks sir! This is just a wierd update. First update I seen with a wierd coding number.

No problem. In any case... I always backup first if I have even the slightest doubt no matter what reason. After all there's nothing to loose... :)


text:
Accessing my phone whose screen died
My Samsung's screen (Samsung S-III mini) seems to be dead (it suffered mechanical damage at the top, mostly the right corner).  I can't really tell if the phone boots completely normally or not, tho it does generate the usual little tune that it does at boot, so it seems like maybe it does boot more or less normally.
When I connect it to the charger, it does give me the usual "beep".
I tried to access it via adb but adb devices doesn't list anything and adb shell says error: device not found.  I did access it via adb before, and IIRC it required some interaction on the phone to enable incoming access via ADB, so maybe the problem is that I'd need to perform this interaction but without seeing anything it's rather impossible.
So I'm looking for some kind of "secret handshake" I could use to get access to the machine, so as to extract the data it has on the internal flash?
Maybe some tool that can just extract a raw image of whole flash partitions (i.e. the reverse of rom-flashing)?

Do you have a custom Recovery?

Not that I know, it's a stock firmware with no hacks (other than the 7 magical clicks that I needed to use to enable ADB access a few months ago).

I ended up installing a new screen.  Interestingly, it's a lot easier than I thought, especially if you're only interested in recovering data: you just need to connect the new screen, so you don't even need to remove the old one and/or try to properly insert the new screen such that the whole device can be closed and stays closed properly.

The screen can be replaced.
In the interim, you can install the Android USB driver. The device will show up. After that, you can take screenshots of the screen using Eclipse with ADT plugin or Android Studio. You can also check the Log Cat window.

Where would I install the "Android USB driver"?  If you mean on the phone, I don't see how I could do it without a working screen.  If it's "on my PC", what does it do that ADB (which I already have installed and working) doesn't?

ADB needs the driver to communicate with Android devices via USB.

ADB is already installed and configured (and I'm on GNU/Linux where there's no need for such USB drivers).

You got the /etc/udev/rules.d/51-android.rules created for your device after executing lsusb?


text:
I need unbrick my samsung galaxy tab 10.1
I tied to root my samsung galaxy tab 10.1 wifi + IR PT-5133
I used this method https://www.youtube.com/watch?v=8-gOZh7OxWM
After I completed the root prosses, my device was in a boot loop!
I tried rooting one more time,
but the tablet continued in a boot loop but now IS IMPOSSIBLE start in a DOWNLOAD MODE
any suggestions

Steps to enter Recovery mode here

it may be possible that the tablet has not installed any recovery?
with the tablet in download mode, run the process to make ROOT from the PC installed with Odin. This process makes Root and installs RECOVERY???

Connect your tablet to your computer and run

adb devices

If your tablet is detected then execute

adb reboot bootloader

Your tablet will then be in the download mode.

You need to use the "ADB mode", have the option enabled "Android debug" (enables debugging mode ADB) from development ????

@MauroEmilianoFerrara adb is enabled during boot and while in recovery.


text:
Why my pc usb discharge my smartphone?
When i'm using regular cable to my smartphone connecting to the electric in my house it's charging the smartphone fine. My smartphone is lg g3.
But when i'm connecting my smartphone to my pc usb and i tried two cables i see the percentages on  my smartphone getting down. I see the charging sign on my smartphone like it's charging but instead the percentages getting down until my smartphone is shut down. Then i need to go to my other room and charge it from the wall again.
What could be the reason on the pc it's not only that it's not chraging but also discharing ? Strange. It's not the cable tried two already, I guess it's something with my pc usb but what could it be ?
My pc: intel i7 2.67ghz and 6gb ram windows 8.1 pro 64bit

You're probably using high resistance USB cables or your USB port is not supplying the proper power. Try with other USB ports.

Depending on the your PCs USB host controller, you computer might only be able to output 250mA of current. Another possibility is outdated usb drivers. If if is charging with the wall adapter, it is likely you have a USB host controller that can't output 2A of current like your wall adapter does. Your best bet is to try all of your USB ports, and try to update your computers drivers.


text:
Is there any Android distribution statistic for single countries?
I'm looking for statistics for android distributions for individual countries but the main source of information, Google themselves, only have information for the entire world. There was also this stack exchange question but it hadn't really received a satisfying answer (it points to a blogpost with statistics for specific apps which is not terribly useful).
If I'm making an app for a single country I need information about what distributions are being used in that country. Google doesn't seem to be releasing such information, even if we were willing to pay for it (which we might if pricing was reasonable).

Here you can find statistics of mobile operative systems reach by country, based on the web traffic generated by mobile devices. The web interface gives the possibility to filter the data, choose the country, differentiate by distribution of OS. The data are collected by the domain registry Afilias, which manages domain names like .org, .mobi and .info. Of course the statistics cannot be precise, as they are bounded to accesses on the particular domain names owned by Afilias, but I think they can serve well for an overview.


text:
Prevent registration to web scams
I just got a strange SMS claiming that I've registered to some weird service and based on that they took the money from my account. This was proceeded by a popup related to some mobile games while I was browsing. At no point did I register or click enter my information or telephone number.
I'm using Chrome 46.0.2490.76 and Android 4.3.0
Does anybody know what is the general technical background of this fraud and what can be done to prevent it in the future (popup blockers or similar approach?)?

This largely depends on the carriers (and might be country-specific) – but have you contacted your provider? They might offer to opt-out of "mobile payment" and "value-added services".

Yes, and they have disable the future registrations. The motivation for the question is to understand on what happened. To know if this mechanism it purely link based? Or it relies on some other means?

Hard to say. While it mostly relates to some (accidentally) clicked link, malware programmers might have found other means. If you can convince your carrier you didn't "order that service" (so it was fraud), they should cancel it as well. Not sure whether you can force them to, however. The bill should also name the company behind that scan, so you could report that to get it "shot down".

Does anybody know what is the general technical background of this fraud and what can be done to prevent it in the future (popup blockers or similar approach?)?

Android allows you to link javascript to an application. This seems likely the service provider added a "bad browser", check if you have any custom browser on your device, and if the device has any program that enables JS communication (this link for documentation)
Then again more details are needed to help...
Most likely your browser is a custom one, tampered by the manufacturer (so, post your device Model, as well as build number and source) that "sells" informations... such as getting phone number, re-routing add requests, or even an explicit malware being run in the browser, or in the device.


text:
WiFi problem when connecting to DSL
When I connect to DSL Wi-Fi it automatically disconnects and "sign into Wi-Fi network required" option appears, clicking on which opens Google only.
I tried many times to fix this problem, but I did not succeed. Can you please help me?


text:
How to get data (text and pictures) from server via http get request using a NFC Tag (NFC tools)?
On my Android phone I use NFC Tools pro and I want to do following:

get text from my server (i.e. to show it in a popup or text-to-speech)
get picture from my server and show it

I found the "HTTP GET" request task but couldn't find out, how to use it.
(It is similar to following post/request: http://forum.xda-developers.com/showpost.php?s=21b5d890966b165096d73b83bd07cd9a&p=57083540&postcount=41).
I also can show pictures, but only those which are located on the local phone.
So the question is, how can I set up the tasks in the Android app "NFC Tools" (or maybe another app), to realize the above mentioned points?

You can do it with the following setting: Trigger (free) + Tasker (2.99$, if memory serves).
The basic idea is:

Trigger will read an NFC tag which will launch a Tasker's task;

Tasker will use Net -> HTTP Get to, either:

get html from your server and parse it to extract text data (mime type = text/xml) and save it in a variable and show it with Alert -> Flash

or:

get your picture (mime type = image/jpeg) and save it, then show it with another task.

If you want to change the image you get each time, use a first HTTP Get task to get the picture location on your server, and a second to get the actual pic. Depending on how your server is set up, you will have to fill the fields of the tasks with the right data (this is why my answer is so general, if needed I can try to go some more deeper with my explanation). Here you can find a basic guide to the use of HTTP Get and in this comment on the Tasker forum the use of the two phases request to get a picture from a server.

server:port

Server is HTTPS
Port is the site address like //www.google.com
Path - starts without the forward slash "/"
Example for image downloads
Server - https:
Port - api-assets.clashofclans.com
Path - badges/200/NVwKVgJpNPNfeRvB7imM_nD5kD3RVzy1kkoXwT_wrx0.png
Mime type - image/png
Output file - download/test.png

Example to download any type of file
This is excel sheet
Server:port - https://www.clashleaders.com
Path- request-n-leave-yyclqyjl.xlsx
Mime type - xlsx
output file - download/excel.xlsx

Create a test task and run it where Tasker and file manager in split screen view