title: why android takes so long to start up?

text:
# Question
Title: why android takes so long to start up?
I met a strange problem when i started up a android device. Below is the log i got from the console port. I found it took **more than 4 minutes** for function **rknand\_buffer\_thread** executed. But before with the same device, it only takes only **10 seconds**. Is there anyone meeting this issue? Why it happens and what this function is used for? My android version is 4.2.

> \[ 13.430222\] init: sys\_prop: permission denied uid:1003 name:media.cfg.audio.soundeffect
>
> \[ 17.935034\] warning: \`zygote' uses 32-bit capabilities (legacy support in use)
>
> \[ 26.592006\] rknand\_buffer\_thread write data begin 224000 0
>
> \[ 278.908582\] request\_suspend\_state: wakeup (3-\>0) at 278857509285 (2000-01-01 00:04:56.640167033 UTC)
>
> \[ 280.226573\] Current WiFi chip is AP6210. \[ 280.232740\] init: no such service 'dhcpcd\_'

# Answer
Finally I got the reason. Because i called a API function which needs WAN, so it retrys all the time during android starting up.
> -1 votes

---
Tags: 4.2-jelly-bean, boot
---


title: Lenovo a390 hangs at the boot logo

text:
# Question
Title: Lenovo a390 hangs at the boot logo
My Lenovo a390 freezes when I open it. It stops on the Logo 'Lenovo: for those who do.' I removed the battery but it is still hanging on that part. What should I do?

# Answer
You can try doing the soft or hard reset. Soft Reset is to delete the cache and temporary files that causes your website to get stuck in Lenovo logo. It can be done when phone is at On position, press and hold the Power button for several second, then LENOVO A390 will show the pop-up menu to give option for Reboot the phone. Choose restart/reboot than the LENOVO A390 will do the soft reset or restart.

For hard reset, makes sure that the battery is fully charged. Turn off LENOVO A390 \> Press together : POWER + VOLUME UP about several second, that the warning will appear at the LENOVO A390 \> Choose: Reset Device or Wipe data or Clear eMMC. Also, keep in mind that hard reset will result to complete deletion of your applications and data.
> 0 votes

---
Tags: boot, lenovo
---


# Question
Title: Getting screen dimensions in a shell script
To run a game on my Nexus 5 (5.1), I need to change my screen resolution. I'm trying to write a shell script that will detect the current resolution and change it, basically a toggle.

I know that I can actually change the resolution using `wm size XXXXxYYYY`, but I don't know how I can check the current resolution. I know very, very little about regex, and I tried to figure out how to pull the results from `dumpsys display`, but I really had no idea what to do.

How can I get the current screen resolution for a shell script that will use `if` to check it, like a toggle?

# Answer
> 1 votes
you nearly answered your question already. `wm size` shows you the current resolution.

Saving the output of the screen reoslution into a shell variable: `A=$(wm size | busybox cut -c16-)`

---
Tags: screen, shell
---


# Question
Title: Does android use cellular data when connected to WiFi with no internet
We have a WiFi hotspot setup with no internet. A website has been hosted locally on a server connected to the same hotspot. Necessary DNS entries have been made in the Access Point to ensure the DNS query for a particular web address (say http://www.facebook.com) resolves to ip address of the server. Users are expected to access only single website (facebook.com) on the WiFi which is hosted on the server. Some users that have cellular data turned on connect to the WiFi hotspot. These users when they enter web address (facebook.com), instead of the phone using the WiFi connection to get to the locally hosted website, the phone turns to cellular data and opens the website hosted locally.

Any clues why could this is be happening?

Is it because the user previously access the web address on internet and the ip address was cached by the browser. And now when the user enters the same url in their browser when connected our WiFi, the browser directly queries the router for the IP address. And since there is no internet on our WiFi, the phone automatically switches to cellular data.

# Answer
Have you tried opening sites which are not locally hosted via the same hotspot? I think having the site hosted on the same hotspot as that of the phone's wifi might be giving such a problem. May be an IP conflict or something else like that.
> 0 votes

# Answer
It does sound like the device is using a DNS Cache to cause such an error (you've alluded to this yourself) I'm not aware of an option to flush dns cache on android, short of a good old fashioned reboot. Some suggest clearing browser cache , and switching wifi on and off to force a flush, however a reboot is surefire.
> 0 votes

---
Tags: wi-fi, dns
---


# Question
Title: Nexus 5 gives Status 7 error when flashing 5.1 OTA
I've been trying all day to install 5.1 OTA via ADB. In my struggle, I tried installing TWRP to try to get it to work, but it didn't. I since flashed the stock recovery.

When trying to flash via ADB, this is my output log:

```
Finding update package...
Opening update package...
Verifying update package...
Installing update...
Verifying current system...
"System/bin/install-recovery.sh" has unexpected contents.
E:Error in /sideload/package.zip
(Status 7)

Installation aborted.

```

# Answer
> 2 votes
Your clue is in the output log:

> "System/bin/install-recovery.sh" has unexpected contents.

Since Android 5, OTA installs verify each partition as a whole so any changes will result in verification failing even if the file is not changed by the update. Something has changed the `install-recovery.sh` file, so you will need to revert the change or copy the original file back from a backup.

---
Tags: adb, nexus-5, stock-android, fastboot, ota-update
---


# Question
Title: Prevent or Mute "Device Location Shared" notification from showing
Starting yesterday (March 23 2015) whenever I access Android Device Manager page I get a notification prompt on my phone saying:

"**Device location shared**. Android Device Manager located this device"

I really don't want this to show up. In case someone steals my phone, I don't want them to know I know where they are located.

I don't want to know other alternative apps to do this (as I already have airdroid which I can use to do this) I just want to be able to mute this notification.

Does anybody knows how to mute this notification

# Answer
**To disable application notifications for versions prior to 5.1**:

1. Open "settings".
2. In the device section of the settings menu, choose "**apps**" from the list.
3. Choose "all" from the menu to show a list of all installed applications.
4. Locate the application, in your case Android Device Manager, it may be labelled "Device Manager".
5. Highlight the application, then select "**app info**"
6. In the App Info screen, uncheck the "**Show notifications**" box.

You should no longer receive notifications for the the application.

Please note that not all applications enable to uncheck the "show notification" check box. At least not those on LG G3 device.

**To disable application notifications for version 5.1**:

1. Open "Settings".
2. Under "Quick Settings" open "**Sounds and notifications**".
3. Under "Notifications" open "**App notifications**".
4. Select the desired application from the list.
5. Use the on/off switch for "Block notifications". Turn on to block the application's notifications.
> 3 votes

---
Tags: android-device-manager, location-services
---


# Question
Title: Rooting the Micromax Canvas A1 Android One Phone (Micromax Canvas A1 AQ4501)
Can anyone share experiences rooting the Android One device Micromax Canvas A1 (Micromax Canvas A1 AQ4501)?

I am looking for a trustworthy way, as far as possible.
Please don't say rooting is inherently risky - I know that. I am still looking for *relatively* safe technique(s) and using third party software, if that's required, that is known to be generally reliable.

If any one has rooted this device, were you able to upgrade to the latest Android version after rooting? (It runs Kitkat 4.4.4 by default)

Thanks.

# Answer
I hope you haven't rooted your Micromax A1 till now. I have Xolo Q1010i and i've rooted it using Kingroot. I am not sure it will works the same for you but anyways you can always give a try.

I have gathered some information from droidviews for your solution to root Micromax A1.

## **Requirements and Precursors**

* Download Minimal FastBoot tool from here and extract the contents to a folder of your choosing. This will help you in setting up fastboot quickly and counter the need for installing the full Android SDK.
* You’ll have to have ADB drivers setup on your PC. Refer to this guide if you don’t have them already setup.
* Once ADB and FastBoot are setup, you’ll have to install your device specific drivers by connecting it to the PC via a USB cable. The drivers specific to your device will be automatically installed to your PC if you have a working Internet connection. If a problem arises in driver installation, just download these drivers and manually install them by pointing your PC’s Device Manager to them.
* Enable USB debugging on your device in the Developer Options menu.
* Download SuperSU installable.

**NOTE:** **Remember to backup your personal data and charge-up your Canvas A1.**

## **Unlock Bootloader**

* Connect your device to your Computer after enabling USB debugging from the above-mentioned steps. If the first time you connect your device to the PC and a pop-up like this appears on your Canvas, click on ‘Always allow’ and then OK.

---

---

* Now, open the FastBoot folder and right-click on an empty space while holding down the SHIFT key, and then click ‘Open Command Window here’.
* Next, in the Command prompt, type the following code:

```
         adb reboot bootloader

```
* Your device will now reboot into fastboot mode.
* The bootloader can now be unlocked by entering the following simple command

```
        fastboot oem unlock

        fastboot format userdata

```
* That’s it! your bootloader is now unlocked!

## **Install ClockWorkMod/TWRP/Philz Touch Recovery**

* First and foremost, download the recovery you want to install from the below link:

ClockWorkMod v6.0.5.1

* Now extract recovery image from the zip file to the fastboot folder.
* Open cmd command prompt and enter the following command:

```
        fastboot flash recovery recovery.img

        fastboot reboot

```
* Done! Your phone now has a working recovery.

## **Root Micromax Canvas A1**

* Start by copying the SuperSU installable update.zip to your device.
* Now, to boot into recovery, just open the command prompt and type:

```
         adb reboot bootloader

```
* And now comes the time for the good old method of flashing SuperSU via recovery by browsing to its zip file. For this, go to ‘choose zip -\> /external\_sd’ and go ahead with the install.
* On reboot, you may or may not get a warning similar to ‘su may have been removed’, ignore that and click ‘No’.
* Once this is done, you’ll be sporting a rooted device!
> 1 votes

---
Tags: 4.4-kitkat, rooting
---


# Question
Title: How transfer documents (not music/video/photo) from Mac to Tab S 10.5?
HELP: Really stuck just can't seem find a solution to move documents (powerpoint etc) from my Mac to a new Galaxy Tab S 10.5 - nothing seems to work - any suggestions please (of course i can fall back on dropbox I suppose but why can't the device be seen as an external memory source same as the Galaxy Note??

# Answer
The Galaxy Tab S 10.6 seems to use MTP as USB connection mode. Since Mac OS X doesn't support MTP, your Mac can't see your device. I suppose that your Note has Micro SD card installed, and your Tab doesn't. If your Tab has a Micro SD card, it might be able to connect with your Mac.

For your question, I suggest using Airdroid (the first version) or anything similar to it. Since it transfers your file via LAN, transfer speed is a lot faster. Hope this help ;)
> 1 votes

---
Tags: samsung-galaxy-s-3, macos
---


# Question
Title: Odin does not Detect "Samsung Galaxy Note 3"
I'm trying to upgrade the firmware from `4.3` to `4.4.2` or even `5.0`.

But; `Odin` *does not detect it* !

Is there a way for fix it?

# Answer
Download `Samsung Driver` With below links :

> http://www.samsung.com/us/support/downloads
>
> http://downloadcenter.samsung.com/content/DR/201406/20140624231220544/SAMSUNG\_USB\_Driver\_for\_Mobile\_Phones\_v1.5.45.0.exe

Or Download `Samsung Kies`.
> 1 votes

---
Tags: rom-flashing, device-firmware, samsung-galaxy-note-3, odin
---


# Question
Title: Samsung Galaxy S3 does not appear on Windows computer or Mac?
I'm trying to unlock a Samsung Galaxy S3 Gt-i9305 on EE running Android 4.3. I know how to unlock the phone however, when I connect the phone to my computer it does not appear at all. Usually, Android phones have a notification saying the phone is connected as a media device or something but it doesn't appear.

I've tried this on Windows 10 technical preview and Mac Yosemite. I've tried the following:

* Installing new drivers (however I don't know if they were the correct drivers I tried several though)
* Installing Kies and updating to the latest version on both Mac and Windows
* Putting my phone in download mode to download drivers (no drivers downloaded)
* Restarting the phone and taking out the sim

Is there anything else I can possibly do? Is it a hardware problem? I don't have USB debugging on either. Thank you for your help.

EDIT

I've tried different USB ports, they work with my S4 but not my S3

# Answer
> 0 votes
I had the same problem of not having my device appear on my Mac running OSX Yosemite. The only difference is that I am using a Galaxy Note 3. What made it work for me was to change the USB port. I think it may have to do with the COM port not automatically selecting or something similar.

---
Tags: samsung-galaxy-s-3, usb, samsung, usb-drivers
---


# Question
Title: How do I flash to a newer Android version when TWRP has trashed recovery image and boot?
Hi to all Android Enthusiasts!

I have done something stupid :D

Some website claimed that Cyanogenmod would not work unless twrp was installed. (ChristianTroy)

I had already rooted my device (Denver Tablet TAQ-80053 ARMv7 with Android 4.1.1) so I thought why not flash to TWRP with the file: "CWM-based-Recovery-v6.0.3.3-signed.zip"? BAD idea :( I admit, this is a bit confusing since CWM and TWRP are not the same thing AFAIK. Could be another file .....

Now "Recovery Mode" is only the "TeamWin Logo" then BLACK SCREEN and nothingness ??

Everything else is working somewhat normal: 1) I can boot normally into the start screen of Android 4.1.1 and run applets etc. 2) I can connect to Windows 7 (x64) and get file access to everything.

But: Any flashing tool for windows (with ADB) cannot "see" my device, and I very much doubt it that the driver is the problem since I get full access to drives and files on the tablet (USB-connected to Windows 7 x64). Do you have any thoughts about that? To me it seems most logical that a working windows-driver would also work with ADB or am I wrong about that?

I also tried the ADB (Windows) installation with SDK etc. Everything installs fluently with no errors but when I do the "adb devices" command no devices are listed at all ?? The command "ADB Shell" returns an error.

Since I know about the settings needed on the tablet I have: set USB Debug Mode to ON and everytime I plug it in I select "Mass Storage Mode" to get file access from Windows; and it works fine.

As stated above, everything works except "boot into recovery mode" and ADB being able to "see" my device. Not even CWM Rom Manager can boot into recovery mode ??

I want to be able to flash a new OS but recovery mode seems to be the only way apart from the USB to Windows. I cannott accept the notion that the device is "almost bricked" just from installing the wrong recovery image and now I cannot go back ..... (backup got lost in the process).

I have discovered that I am not the only one with this problem but I cannot find any solution (that actually works) anywhere.

Last "development" is this: I UN-rooted my device trying to get back OTA. I think that made things worse :\

Q: Is there a way to "wipe and re-install" without ADB or Recovery Mode /Fastboot ??

/Pete

Update #1: I have tested ADB and FastBoot (Windows prompt) with two other devices, both Samsung Smartphones, and everything works like a charm. This tells us that it is definitely the tablet that's got a problem or two ;)

Upd #2: I found a log file in the cache folder on the tablet called "last\_log" and one line got my attention: "TW\_NO\_REBOOT\_BOOTLOADER := true" Isn't that a bit odd ??

Upd #3: Seems like internal sd is write protected. cwm boot manager and tw(e)rp manager cannot update files needed. bootanimation app works fine with root. that is so weird :-\

# Answer
First off, make sure you have the proper ADB drivers. Use the PDANet ADB Installer. It should install the right version of ADB.

Next, you're going to want to enable Developer Mode. To do this, open up your settings app. At the bottom of the screen (you may need to scroll), there should be a `Developer Options` button. Open that up.

> If you do not see `Developer Options`, go into your `About Tablet` and follow these steps:
>
> 1. Find the "Build Number" value.
> 2. Tap the "Build Number" five to ten times. You should eventually see a toast saying "You are now a Developer!" or something similar.
> 3. Exit out and go to the `Developer Options` menu.

In `Developer Options`, find the toggle for "Android Debugging." You want this to be on. It will ask you for confirmation. Go ahead and give it.

Now, go back to your computer and run `adb devices`. You should see the device there. Download whatever ROM you want to flash, and place it on your device's SD card. If you need Gapps, place it there as well.

> If you still don't see your device, make sure your USB storage mode is set to **PTP**. Go to `Storage` in your Settings app and tap the menu button. Select USB Computer Connection and set to PTP.

After this, you're going to want to run `adb reboot bootloader`. This will place you into Fastboot mode, so that you can flash a clean TWRP.

Once you have downloaded a clean TWRP and gotten into fastboot mode, run this command from the folder that the TWRP image is in (it may be helpful to move TWRP to the folder `fastboot.exe` is in):

```
fastboot flash recovery your_recovery_image_name.img

```

Give it a couple minutes, and your recovery should be installed. Reboot into TWRP using the Bootloader.

> If the bootloader has no such option, let the system boot into full Android and run `adb reboot recovery`.

When you're in TWRP, you're going to want to install your custom ROM. Consult the ROM creator for instuctions on how to do this.
> 1 votes

# Answer
It is possible to flash the recovery from within android itself without requiring any kind of USB connection. I'll get to that in a second-- First though, I am curious if you tried adb over the network (without USB). If you look at the adb documentation, you will see that there is an ADB-over-network feature (on CyanogenMod there is an "adb over network" option in Settings-\>Developer options-\>Debugging-\>ADB over network) I'm not sure if this is the same place in regular Android, but it's a standard adb feature, and you can find help with this online.

To get to the gist of your problem-- you basically want to do a fastboot-style flash of, let's say for simplicity "`recovery.img`" but without a USB connection. Effectively you want to flash an image of a partition into a particular partition, which is what fastboot does. You can do from your device without a computer, if you have the following:

* Root on your device
* the Terminal Emulator app
* The `recovery.img` file for the new recovery you want to install. It needs to get on your device somewhere (let's say onto `/sdcard/`, but anywhere works. ). You might transfer this file from your computer via Google Drive (or download it with your device's browser, or whatever). Note that the file should **not** be a .zip; it should be the recovery image in its uncompressed `.img` format.
* the `busybox` binary with `dd` compiled in (or the `dd` binary itself) in `/system/bin`. If you don't have this binary, you can find it in any CyanogenMod installation, use an app to install it, or compile it yourself. You want to have a statically-linked version so that it's self-contained and not dependent on other library files.
* And finally, you need to know the location of your recovery partition. This is absolutely critical to get right, as you are going to dump the .img file over this partition, so you want to be 100% sure it's correct. Getting the partition wrong can have dire consequences. It might look something like `/dev/mmcblk0p18` or it may look different. One way to figure this out is to look at the updater-script contained within a .zip that flashes the recovery to see which partition it flashes the recovery.img.

Once you have the above, the procedure would be something like:

1. boot up the device
2. launch the Terminal Emulator app and type `su` to get the root `#` prompt
3. Use the "dd" unix command (either the standalone version or in busybox) to flash the `recovery.img` file into place in your recovery partition. Here's an example, assuming (1) you have dd installed, (2) the recovery image is on an sdcard, and (3) the recovery partition is at `/dev/mmcblk0p18`:

`# dd if=/sdcard/recovery.img of=/dev/mmcblk0p18 bs=1M`

The above command would reflash the "good" recovery into place, and you should be able to boot into it from there. Just so you understand the command:

* `dd` : the name of the command.
* `if=/sdcard/recovery.img` : this means the "infile" (the input) is the recovery file.
* `of=/dev/mmcblk0p18` : this means the "outfile" (where you're flashing) is partition 18 of the internal emmc, which in our imaginary example is where the recovery is supposed to go.
* `bs=1M` : this means to use a "block size" of 1 Megabyte, effectively speeding up the flashing process.

There are more examples in the wikipedia page for `dd` I linked above, but the example is the kind of command that should work fine. Incidentally, `dd` can be used for the reverse purpose-- if there is a partition you want to back up to a file in its entirety, you can use the partition as the infile (`if=`) and the filename is the outfile (`of=`) and you've effectively copied the partition into a file...

Good luck. If you get stuck on figuring out the partition for your recovery via searching update-scripts in update .zips from the manufacturer, you may just be able to ask around in forums for your device and someone who has the device will tell you.

Another idea is to use the above technique to `dd` your own backup copies of the various partitions into files, then compare each of them with the bad file you accidentally flashed. If you get a match, you'll know which partition it is!
> 0 votes

# Answer
I asked the vendor for the stock files plus flashing tool for PC and that solved everything. So the key thing to do in this case was to use a tool that matches the gs702a device.

FYI: I found the English versions of "Actions Pad Tools". Now I just have to figure out **how** to get from Android OS 4.1.1 to 4.2.2 but that is another topic in a future thread.

Case closed! ;-)
> 0 votes

---
Tags: updates
---


title: upgrade to lollipop 5.1 using twrp?

text:
# Question
Title: upgrade to lollipop 5.1 using twrp?
In a burst of energy in the past I installed twrp. But when I attempted to install 5.1 on my nexus 7 2012 by following the prompts, it dumped me into twrp with no information on how to proceed. Do I just hit the install button and find the update in my downloads folder and install that way?

# Answer
> 1 votes
I tried to flash the rom manually but failed miserably (ran into this page).

I decided to use the Nexus Root Toolkit (download here) to go back to stock Android 5.1 (losing everything on the device of course). That worked like a charm and re-rooting it afterwards was simple enough Rooting guide for 5.1.1.

In the past whenever a new Android version came out I had to flash back to stock Android to get the update and then re-root it. I'm sure some people manage to update without erasing everything...

---
Tags: twrp, 5.1-lollipop
---


# Question
Title: Truly hands-free voice recording over bluetooth
I know that there are lots of "voice recorder" apps out there. Some of them will let you record using your bluetooth headset instead of the built-in mic. However, all the ones I have looked at say things like "tap the button to start recording". This defeats the purpose of what I am trying to do, which is to record thoughts I have while I am out and about walking, biking, driving, etc. when I can reach up and hit a button on my bluetooth phone, but I am not able to stop, pull my phone out of wherever I have it stashed, take off my gloves so I can touch the screen, power up the device, enter my lock code, jump to the record app if needed, and tap to start recording. By the time I have done that I have lost my train of thought, and wasted a lot of time.

Voice activated recording is probably not going to work, because, even though my headset has some degree of wind cancellation, there is a lot of ambient noise from time to time.

I can use voice commands, which is still a bit of a pain but at least keeps me mostly hands free, that is, I can tap the button on my headset, say "activate" and my headset will connect to the phone and bring up voice commands. However, I am not sure what I would do next. The commands offered are things like "Go To \<\< Shortcut \>\>", and "Check \<\< Item \>\>" - these are the only two that seems remotely related to what I am trying to do. I assume that maybe if I said something like "Go To Voice Recorder" it might open up the voice recorder, but I couldn't get it to work and am not sure what it expects for \<\< Shortcut \>\>. Even then, assuming that part would work, I would need to have some way of telling the app to start recording, for instance, if the shortcut was not just the app but a full-blown intent. I am not sure how I would set that up. There is also the question of how to stop it, but hopefully hitting the headset button again would work as that already as a similar function while on a phone call.

Am I on the right track here? Is there some kind of app that will help me out here? One thing I don't understand is, does the app have to explicitly support bluetooth audio for this to work? I would think the OS (Android) would abstract away the input source, yet some apps explicitly claim Bluetooth support (even going so far as to only support it in the for-pay version) while others don't say anything about it.

# Answer
> 2 votes
The Google Now option for Note to Self might work for you... It doesn't do a voice memo, but it will let you leave notes to yourself.

# Answer
> 0 votes
Are you aware of the AutoVoice plug in that works with Tasker? Both are paid app (free version available with reduced functions and time based deadline) and offer great features; the only downside is that it involves a learning curve to effectively use them.

---
Tags: bluetooth-audio, voice-recording
---


# Question
Title: How to unlock the Lock Screen in Android Lollipop
How can I unlock the screen lock in `Android Lollipop` *without losing data*?

I have forgotten the pattern.

# Answer
> -1 votes
**method 1**Try using adb pull with the android SDK In recovery mode.

**method 2**If you have a phone without an SD card wiping data will only remove the apps otherwise the data will be fine. This works even in some phones without SD card.

**method 3 easiest**After several tries it will give you option of forgot password. Which will ask you Google account details. Fill it and you are good to go.

---
Tags: 5.0-lollipop, lock-screens, locked-out
---


# Question
Title: Can the previous version overwrite the currently installed app?
Suppose the new version of APK of any project is currently installed on the Android phone, but I want to install my previous APK on the phone. In that case, what will happen? Will it be updated to the previous build or showing error?

If it's updated to the previous build, will it only show specific things from that build, or also include the current (latest) things?

# Answer
**Since Android 4.0, downgrading an app is not possible anymore**. The installation will fail (with error code `[INSTALL_FAILED_VERSION_DOWNGRADE]` if installed from ADB).

Normally, app/update uninstallation is needed before installing the specific version from the APK, but **doing so will also clear the data**. There are alternatives to prevent that:

**In case of using the first 2 alternatives**, only features from that build are available, ignoring the data from newer version. (This may or may not affect the app compatibility)
> 11 votes

---
Tags: applications, 4.4-kitkat, updates, downgrade
---


title: Internet does not connect despite WiFi

text:
# Question
Title: Internet does not connect despite WiFi
I was making an Android app that sends data using Bluetooth. My internet was working fine until I started using my app on the phone. I noticed that the WiFi would randomly disconnect (the WiFi icon in the status bar disappeared). Weird. Now, the phone refuses to connect to the internet.

Here is what I did so far:

1. Switch off the WiFi and turn it back on.
2. Restart my phone.
3. Power off, wait, power on my phone.
4. "Forget Network" and then connect to my home network, again. Ironically, my phone authenticates with the home router but refuses to connect to the internet. **It even refuses to connect to 192.168.0.1** which is the IP of the home router with which it just authenticated.

Chrome says that 192.168.0.1 is an unreachable address but the phone is assigned 192.168.0.101 as the address which means they are on the same network.

Can someone please tell me what is going on?

Stock ROM, Galaxy S3 International Edition GT i9300. Mobile data works flawless.

**Update:**

```
Iface   Destination Gateway     Flags   RefCnt  Use Metric  Mask        MTU Window  IRTT
wlan0   00000000    0100A8C0    0003    0   0   0   00000000    0   0   0
wlan0   00000000    0100A8C0    0003    0   0   312 00000000    0   0   0
wlan0   0000A8C0    00000000    0001    0   0   0   00FFFFFF    0   0   0
wlan0   0000A8C0    00000000    0001    0   0   312 00FFFFFF    0   0   0
wlan0   0100A8C0    00000000    0005    0   0   0   FFFFFFFF    0   0   0

```

# Answer
> 1 votes
This is sometime because your phone save the paswrd of your wifi and sometime it doesnt connect it just show this that it is connecting to but does not become successful in doing so . . . . so remove or forget your wifi connection

restart you phone

and try to connect again with that wifi

may this can help you

worked fine with me many times

---
Tags: wi-fi, samsung-galaxy-s-3, router
---


# Question
Title: How to disable cellular when WiFi is present?
I perform all my communication via the internet (Jabber, SIP), so I only need cellular as a backup.

Additionally, coverage at my home is near to nonexistent and as a result, battery drains in a few hours (as opposed to few days when GSM is disabled).

Is there an app for disabling cellular communication *entirely* (airplane mode) if a WiFi network is present, and enabling it otherwise?

I'm not interested in solutions which disable just the data connection: Android handles that already.
I'm OK with solutions which require rooting, rebuilding Android, etc.

# Answer
> 3 votes
Might help to look into @Izzy's solution involving tasker.

A tweak is needed:

* Instead of detecting a GSM/CDMA signal, check if a Wifi network is present nearby
* Switch to/enable airplane mode and enable Wifi and connect appropriately (this part am uncertain about - if its an open public Wifi point, good (*its bad but another story about open Wifi's*) What if it's a private Wifi network and need to input the key? Tasker might be able to help you with that, unsure!
* If moving away from network point, switch off/disable Wifi and disable the Airplane mode.

Having a look here at this wiki titled "*Turn on Wifi at home*" entry might also help you as well, to quote, in case of link rot:

> My route to and from work is populated by open networks from cable providers that require log-in via webpages and unsecured home networks. Whenever I pass them my phone tries to connect, disconnecting me from 3G. Leaving WiFi on all the time means I'm left with constant service interruptions. forgetting to turn on WiFi at at home runs the risk of eating up my data plan. For this reason I turn off WiFi when I'm out and turn it on when I get home. But what if I forget?
>
> With this Tasker profile, my phone now uses cell location data to turn wifi on/off.
>
> Steps:
>
> Turn GPS on (just for now). You don't need to keep it running all the time, but it helps to pinpoint where your location for the context step.
>
> First, go home (the place your wifi router lives).
>
> Profile: WiFi At Home Context: Location \> Net=On, GPS=Off, Radius 500m, Get Fix
>
> Task: At Home Action: Net \> WiFi \> On Task (optional): Alert \> Popup \> Text "WiFi On"
>
> Task: Leaving Home Action: Net \> WiFi \> Off Task (optional): Alert \> Popup \> Text "WiFi Off"
>
> Get Fix locates where you currently are on a map so you need to actually be at home for this step.
>
> You have several setting options depending on how much power consumption vs. accuracy. See \[html http://tasker.dinglisch.net/userguide/en/loctears.html "Location Without Tears"\]. The least accurate (Net=Off, GPS=Off) needs a really large radius. The most accurate (Net=On, GPS=On) will drain your battery faster.
>
> I find Net=On, GPS=Off, Radius 500m to work fine. My phone knows when I'm home.

# Answer
> 8 votes
You can give a try to an app developed by a XDA Developers Forum user gyagapen that essentialy the app intelligently manages switching between both your WiFi and 3G data connections as you move about:

# CleverConnectivity

> CleverConnectivity is an application that helps you to manage your data and wifi connection in order to save battery.
>
> ## How does CleverConnectivity work?
>
> This application will automatically turn on and off connectivity (data/wifi/sync) while screen is OFF.
> For example if the user chooses below configuration:
> Time On: 2min
> Time On Next Check: 1min
> Time Off: 10m
> Usage check Interval: 3s
> Once the screen is OFF, CleverConnectivity will keep connectivity alive for 2min. Then it will check if data is used during a period of 3s.
> If data is used, connectivity will be kept for 1 minute (Time On Next Check).
> If data is NOT used, connectivity will be desactivated for 10min. After this, the connectivity will be re-activated and Time On will kick in.
> Once screen is ON, connectivity will be automatically re-enabled.

## Links:

---

You can give a try to an app available from Google Play Store that automatically controls your WiFi status:

# Smart WiFi Toggler

> ## Description
>
> Smart WiFi Toggler is an application designed to control your phone's WiFi using location based rules. Its aim is to conserve battery and minimize data charges by turning WiFi off when not connected to a network, and turning it on when a known hotspot is present. It constantly learns where your hotspots are located to make its decisions.
>
> It's a very useful application if you frequently forget to turn WiFi off when leaving a hotspot, or if you want to automatically switch from mobile data to WiFi to conserve battery whenever you're back into a hotspot.
>
> Here are some of cool features Smart WiFi Toggler has to offer:
>
> * Automatically learns your WiFi hotspot locations.
> * Turns WiFi off when disconnected from WiFi network.
> * Automatically turns WiFi on when near a known hotspot.
> * Uses your network location. No GPS battery drain.
> * Provides the ability to control "auto-connect" behavior for each hotspot.
> * Ability to lock WiFi to a disabled state.
> * Warning notification and auto-locking WiFi when a hotspot is down.
> * History, logging, and a troubleshooting screen in case you face any problems.

# Answer
> 0 votes
just go to airplane mode, and enable wifi afterwards

---
Tags: wi-fi, data-connection
---


# Question
Title: How do I take screenshots on a Samsung Galaxy A3?
I've been trying to take screenshots on my Samsung Galaxy A3 by using both the "home + lock" key combination and the "volume down + lock" key combination, and neither have worked. I don't want to install a Screenshot app on my device.

Does anyone know how to take screenshots on it without downloading any type of Screen Capture, Screen Grab, or Screenshot app?

# Answer
Try **holding** **Power + Home** together a few moments. it works on all Samsung phones.

Also there's an alternative solution which works only on Samsung and Android 4.0+ phones (has to be activated in `Settings` \> `My device [tab]` \> `Motions and gestures` \> `Palm motion` \> `Capture screen`). It works by **Swiping screen with the side of your hand**.
> 3 votes

# Answer
Have you tried Home+Volume Down? My other idea would be that you did not hold the combinations you tried for long enough.
> 0 votes

---
Tags: 4.4-kitkat, samsung, screenshots
---


# Question
Title: Factory reset: will home screen order, file, and folder layout, and account usernames and passwords be restored after adding Google account back?
I have a Samsung Galaxy SIII device. I would like to know:

* if I configure a Samsung account and factory-reset my device, then when I add the Samsung account back will I get my Android home screens, default home screen, and all the folders and free as well as paid apps they contain be restored so that everything looks exactly the same as it was prior to resetting my device, or do I need to add support for a separate cloud service in order for such configuration to be preserved?
* Also, once I add my Samsung account back after the factory reset, can I also restore all other accounts (Facebook, Twitter, etc..., including these services' username and password) by restoring a single Samsung account?

As you can see, I have both `Samsung account` and `Google` configured under `Settings | General | Accounts`, but I'm not sure which does what:

# Answer
No it can't.

In this case its safer to use a backup app **like Titanium Backup** which can backup folder structure or full system and downloaded apps data + apk. it'll also keeps your Settings, Home & Lock screen wallpapers, app widgets, bluetooth pairings, bookmarks, call logs, WiFi Access points and every other data which will be backed up with Google or Samsung account. Also your backups can be restored on any other phone since you can specifically choose which option to restore.
> 0 votes

# Answer
I am not sure with samsung account but I am sure it works with Google account, if you have backup and restore enabled from day 1 of the account setup. Then you will get everything back.
> 0 votes

---
Tags: samsung-galaxy-s-3, samsung, factory-reset, google-account, restore
---


# Question
Title: Factory reset not working in Samsung Tab 2
I want to factory reset my Samsung Galaxy Tab 2. I have tried to factory reset it through `Settings` and through hard reset but it again reboots with same account and applications. I have also tried to uninstall some applications but they reappear on reboot.

How can I factory reset my device?

# Answer
> 0 votes
Try resetting through **Recovery mode**. if you have installed a custom recovery like philz or CWM try **wiping dalvik cache** and **user data** before Factory Reset.it will prepare a clean ROM for you to proceed.

hope it helps.

---
Tags: factory-reset, samsung-galaxy-tab-2-7
---


# Question
Title: Remove Google Search Bar on Nexus devices running on stock Lollipop
I have been reading for days about how to remove the Google Search Bar from the top of my Nexus 6 since I never use it. I have gotten mixed answers on exactly what file to delete and where it is.

I have heard `quicksearchbar.apk` but it's not in `/system/app` like in previous versions. Does anybody know where the file/files are I need to delete in order to get rid of the search bar, or else, how to remove it? Preferably not downloading another launcher, since I don't want to bloat my phone when I could reduce the size.

# Answer
You need to use a third-party launcher app like Nova Launcher. In Nova Launcher, you can hide the persistent search bar by navigating to : Go to `Nova Settings > Desktop > Persistent Search Bar > Select "None"`.
> 3 votes

# Answer
I heard you can go to Settings \>\> Apps \>\> select all apps tab -\> find and click "Google Search" and disable it, then reboot. However this will disable all Google search functions.

Otherwise you may be stuck with the alternate launcher option.
> 0 votes

# Answer
I tried using Nova Prime launcher. It totally changed my home page but did remove the bar and the google cards page too.
> 0 votes

# Answer
I finally found how to remove it in this case:

* No Nova installation nor any other issues with launcher installation
* No "three dots method" as they don't appear on my screen
* No apparently root needed
* No apk removal

I found the way (in my Spanish interface):

1. Ajustes -\> Aplicaciones -\> Todas -\> Aplicacion Google -\> Borrar Caché / Borrar Valores por defecto
2. Ajustes -\> Aplicaciones -\> Todas -\> Launcher3 -\> Borrar Datos / Borrar Caché / Borrar Valores por defecto

Sorry if I make a mistake in direct translation but I really don't know how it appears in English interface:

1. Settings -\> Apps -\> all -\> Google App -\> Remove cache / Remove defaults
2. Settings -\> Apps -\> all -\> Launcher3 -\> Remove data / Remove cache / Remove defaults

I use katkiss ROM - Lollipop 5.1 on an Asus Transformer TF101. Hope this works as it worked for me!
> 0 votes

# Answer
I know how irritating it is to see this Google bar. You don't need anything to remove it. Just tap on your home screen in the middle of the screen. The bottom options open up showing wallpaper, widgets etc. Just above those options is the tiny dots. Click on those dots and you'll see that the first option is to remove the search bar. Hope you enjoy your clean home screen with this :)

Gaurav
> -1 votes

# Answer
for turning Google search bar OFF, hold finger in screen, swipe up the 3dots up the widgets button, in the top of page you can turn search bar off. was it as easy as it looked?
> -2 votes

---
Tags: 5.0-lollipop, google-now, stock-rom, google-search
---


# Question
Title: lollipop update for hp 7 voice tab 1351ra
i am using hp 7 voice tab 1351ra

i am not getting update of lollipop operating system if you are interested to give the update from other external sources please give me or else please tell me might hp give update for this tablet?

# Answer
> 1 votes
According to this site, the only way to get **lollipop** with your **HP tab**, is to use a **custom ROM**.

You will find **tutos** on this site to upgrade your device.

Hope this helps.

# Answer
> 1 votes
Lollipop `Not available` yet for your Tablet.

update for hp 7 voice tab

as Maxime said, you should use Custom Rom.Follow Below Link for find :

Where can I find stock or custom ROMs for my Android device?

good day.

---
Tags: 5.0-lollipop
---


# Question
Title: HTC Desire 516 dual sim ROOT FAILED (BRICKED?)
I've tried to root my HTC Desire 516 dual sim by following this guide:

http://forum.xda-developers.com/android/help/bootloader-fastboot-recovery-htc-desire-t2845467/page8

But obviously, I did something wrong. Now, when I turn on my phone and unlock the screen, suddenly there is a message saying "Unfortunately, HTC Sense has stopped", and I didn't make a backup and now don't know what to do. Can someone help me to fix it? I cannot do anything on the homescreen or even to get in the app menu, only in settings menu.

Also, when I try to wipe cache or go for the factory reset it returns a string saying "E: failed to mount/sdcard (no such file or directory)"

I tried to find a stock ROM for this phone but seems that there's none on the internet.

# Answer
> 0 votes
I just did what you did , i was already ready to brick my phone. I received the same error of HTC Sense Stopped.

you can still reach settings menu. just pull the menu from the top of screen , and enter settings. and stay away from home screen as much as possible. thats where htc sense stucks.

from your computer play.google.com and install google go launcher to your phone.

from settings-\>apps\>find htc sense . enter inside do clear cache, data and app defaults.

Now press home button . it will ask which launcher do you want to use . choose google go launcher , ALWAYS!

there you go.

---
Tags: root-access, unbricking, htc-desire, htc
---


# Question
Title: when sending text it directs me to use skype instead why
when i try to send a text to someone new it sends me to skype. why. SayI get a call and want to send them a text it sends me to skype instead of allowing me to send a regular text message

# Answer
Check your default SMS application. Go to `Settings > More` and tap `Default SMS app`.You can select the desired one from here.
> 0 votes

---
Tags: skype
---


# Question
Title: Should you remove recent apps from multitasking drawer?
I own Nexus 5 with 5.0.1 Lollipop in it. I was wondering weather or not it is beneficial to remove recently opened apps from multitasking drawer or is it harmful for battery life and maybe performance? What exactly happens when you remove recently opened app from multitasking drawer?

# Answer
If you remove an app from the multitasking drawer it's marked to be closed very soon (just a few seconds) and it's memory is cached (instead of used).
This releases used RAM and prevents Android from closing running applications if another one needs more memory.
Depending on what applications you close with the multitasking drawer they will eventually restart (if a service is running in the background and launches the application again eg. *Facebook*) or they will just be closed.

Performance wise it's not a problem, applications you have closed might just take half a second longer to load up but that's it.
Battery life can be improved a little bit if you close down applications that would else run in the background and do some weird stuff that causes your battery to be drained quicker than usual.

Also: I'm not the best in understanding how the Android LMK (low-memory killer) works but it first uses available RAM instead of closing applications.
> 1 votes

# Answer
Removing/clearing an app from recent tasks/apps menu actually clears it from the cache processes area. You can confirm this by going to `settings` \> `apps` \> `running tab` \> `show cached processes`.

When your app has a syncing/background service (e.g. facebook which syncs its feed) then that is in your RAM since it running continuously. Your RAM also houses foreground (on screen apps) plus system processes .

When you switch apps then it goes to a cache area so that it can be opened faster and also it's state (e.g. webpages in chrome ) is retained. If you clear it, this is removed from cache and state is lost causing it to reload again and take more time to open.
> 0 votes

---
Tags: nexus-5, 5.0-lollipop
---


title: Android stuck on roaming mode

text:
# Question
Title: Android stuck on roaming mode
I own a Samsung Galaxy Note 3 (SM-N900), with Android 4.4.2 installed on it. It was purchased through Partner (Israel) and I have recently moved to Germany for work.

Upon my arrival, I purchased a SIM card from a carrier called Lycamobile and I regularly top up my account per demand.

**Problem** \- the device is stuck on roaming mode.

**What I've done so far:**

1. I toggled *Data Roaming* in the *More Networks* --\>*Mobile Networks* menu; when enabled, the device is set on Roaming Mode automatically (see figure #1).
2. When *Data Roaming* is disabled, mobile data is disabled, too (see figure #2).
3. Taking the SIM card in and out several times hasn't helped much (I've see that it helped Verizon users in the US in some forums online).
4. I manually changed the carrier to my carrier (*Lycamobile*) instead of letting the device choose one automatically.

Now, the mobile data works as I'm obviously not roaming, but it doesn't work great and I also have to be on roaming mode enabled, which is simply wrong.

Is any one familiar with this behaviour? Thanks in advance for the helpers.

# Answer
> 0 votes
You will find it hard to believe, but the only thing that helped my peculiar case was **moving to another carrier**!

Needless to say, I did not leave the carrier (Lycamobile Germany) for this reason, I left it because they had bad service and a bad product.

Again, nothing helped, nor did the carrier's finest technical advisers could determine why this was happening.

So here's to 7 months of roaming coming to an end.

# Answer
> 0 votes
Try Switching your network mode to manual head over to the Settings\>Under wirless and networks\> tap more settings\>Mobile Networks\> Network operator\> Search for the Network again now after searching select the appropriate network. This keeps happening with my device too there are actually two Mobile Networks, it usually arises because you may be living in border and somehow the signals from other Lycan network, I am sure you are doing the same, I know its weird but I guess you can't help it its up to you carrier, you could give them a call about it.

---
Tags: 4.4-kitkat, mobile-data, roaming
---


# Question
Title: Problem with updating from cm-12-20150228-NIGHTLY-taoshan
I've installed the `cm-12-20150228-NIGHTLY-taoshan` to my C2105 and now I want to update to `cm-12-20150303-NIGHTLY-taoshan` but I get this error.

```
This package is for device: C2105, C2104, c2105, c2104, taoshan this device is .

```

What can I do to solve this problem?

Same problem is with the `cm-12-20150301-NIGHTLY-taoshan` and also with downgrading to the `cm-11-20140827-NIGHTLY-taoshan` (which I had previously installed). It seems to me that the information about my device is missing. How can I add the information that this device is C2105/taoshan?

I've tried to get some information from my `/system/build.prop` file but it looks like the C2105 identifier is OK. Is it possible to turn off the device validation during new CM installation? This is what my current `/system/build.prop` looks like:

```
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=LRX22G
ro.build.display.id=cm_taoshan-userdebug 5.0.2 LRX22G a166b92e84 test-keys
ro.build.version.incremental=a166b92e84
ro.build.version.sdk=21
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=5.0.2
ro.build.date=Sat Feb 28 10:03:21 PST 2015
ro.build.date.utc=1425146601
ro.build.type=userdebug
ro.build.user=jenkins
ro.build.host=cyanogenmod
ro.build.tags=test-keys
ro.product.brand=Sony
ro.product.name=C2105
ro.product.board=qcom
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.manufacturer=Sony
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=msm8960
ro.build.characteristics=phone
ro.cm.device=taoshan
# end build properties
#
# from device/sony/taoshan/system.prop
#
#
# system prop for taoshan
#

ro.sf.lcd_density=240

#
# ADDITIONAL_BUILD_PROPERTIES
#
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.carrier=unknown
com.qc.hardware=true
ro.vendor.extension_library=/vendor/lib/libqc-opt.so
ro.telephony.ril_class=SonyRIL
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
persist.hwc.mdpcomp.enable=true
wlan.driver.ath=0
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heapsize=256m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=2m
dalvik.vm.heapmaxfree=8m
ro.opengles.version=196608
ro.ril.transmitpower=true
persist.radio.apm_sim_not_pwdn=1
DEVICE_PROVISIONED=1
rild.libpath=/system/lib/libril-qc-qmi-1.so
ril.subscription.types=NV,RUIM
telephony.lteOnCdmaDevice=0
ro.use_data_netmgrd=true
ro.telephony.call_ring.multiple=false
ro.ril.telephony.mqanelements=6
ro.qualcomm.cabl=0
ro.cwm.enable_key_repeat=true
persist.debug.wfd.enable=1
persist.sys.wfd.virtual=0
ro.qualcomm.bt.hci_transport=smd
persist.timed.enable=true
qcom.audio.init=complete
persist.audio.fluence.mode=endfire
persist.audio.vr.enable=false
persist.audio.handset.mic=digital
persist.audio.lowlatency.rec=false
media.aac_51_output_enabled=true
ro.qc.sdk.audio.ssr=false
ro.qc.sdk.audio.fluencetype=none
lpa.decode=true
persist.gps.qmienabled=true
ro.gps.agps_provider=1
ro.error.receiver.system.apps=org.cyanogenmod.bugreport
ro.rommanager.developerid=cyanogenmodnightly
ro.com.google.clientidbase=android-sonyericsson
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dataroaming=false
ro.build.selinux=1
persist.sys.dun.override=0
persist.sys.root_access=0
ro.cm.version=12-20150228-NIGHTLY-taoshan
ro.cm.releasetype=NIGHTLY
ro.modversion=12-20150228-NIGHTLY-taoshan
ro.cmlegal.url=https://www.cyanogenmod.org/docs/privacy
persist.sys.recovery_update=false
ro.cm.display.version=12-20150228-NIGHTLY-taoshan
ro.config.notification_sound=Argon.ogg
ro.config.alarm_alert=Hassium.ogg
ro.config.ringtone=Orion.ogg
persist.sys.dalvik.vm.lib.2=libart.so
dalvik.vm.isa.arm.features=div
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt

```

**EDIT** so I checked the "updater-script" file and it seems that the CM installer is trying to validate the property `ro.product.device` which is missing in my `build.prop`. So I've added it to the `build.prop` file and tried to install the CM again but... Still the same error!

I also tried to modify the `build.prop` and remove the validation but now I get error that the package is not valid because of checksum or something like that (I don't remember exactly)

# Answer
I faced the same problem, exact same error message and was going crazy. :P

The problem in my case was that the recovery was corrupted. I just downloaded the recovery from here and update successful.

Hope this helps :)
> 0 votes

# Answer
You are already very close. If you are sure that the download isn't corrupt and you are sure that the file downloaded is indeed for your device, you can open the zip file, go to the updater-script and remove the part of the script where it validates which phone you have.

After this edit, the update should work fine.

Also, I'd mention it to the maintainer of the ROM, as multiple people may be experiencing the same issue.
> 0 votes

---
Tags: cyanogenmod, 5.0-lollipop, sony-xperia
---


# Question
Title: How can I recover files from a phone that won't boot?
I have a Galaxy SII, and it is stuck on the boot screen. How can I recover the files on the phone?

# Answer
> 3 votes
I had the same problem with stock Nexus 7 2012 GSM.

The relevant documentation for this is

First of all, the bootloader has to be unlocked.

```
fastboot oem unlock

```

Unlocking the bootloader deletes user data on the device (as a security precaution). If you haven't unlocked the bootloader before, you are now out of luck. Try to find if you have backups. (Contact data may be synced with your Google account, you might have Dropbox installed, G+ backups photos and so on).

Assuming unlocked bootloader, you can **flash a custom recovery** which will allow you to access data on the phone.

I tried ClockworkMod, but after I booted into it, `adb` listed my tablet as `unauthorized device`, similarly as this person describes. He solved the problem, I did not.

Therefore I next tried TWRP recovery.

```
fastboot flash recovery path_to_twrp.img

```

With TWRP, `adb devices` listed my device with `recovery` permissions (whatever it means) and I could copy out my data

```
adb pull /data .

```

In addition TWRP seems to enable MTP on the device. That is another possible way to get data out. I haven't experimented with it, because I did `adb pull` first and I got my data that way. Additionally, in my experience, MTP clients for Linux are rather flaky.

# Answer
> -1 votes
You will need the Android SDK and your phone's appropriate drivers so you can use Fastboot ADB and pull the files manually. Here's how to get into Fastboot mode:

1. Pull battery and reinsert
2. Hold VOL DOWN, press and release PWR button (continue holding VOL DOWN)
3. You should see a menu with the following options: Fastboot, Recovery, Clear Storage, and Simlock; select Fastboot.

Here is a fantastically detailed guide for how to recover files (post #22):

http://www.galaxyforums.net/forum/galaxy-s2-help/6232-screen-cracked-need-recover-very-important-data-3.html

To address the custom recovery question: if the OP is running 4.2, he/she is most likely running a custom ROM and therefore a Recovery, as the latest official build from Samsung for this device was 4.1.2 (at least on the Sprint and AT&T versions).

Hope this helps!

---
Tags: samsung-galaxy-s-2, 4.2-jelly-bean, boot, data-recovery
---


# Question
Title: Incorrect button mapping when using Xbox 360 wireless controller on LG G3 running Android 5.0 Lollipop
When I plug in the Xbox 360 wireless controller dongle to my LG G3 running Android 5.0 Lollipop and load up a game such as Goat Simulator or Stranger Oddworld, the triggers are mapped to the right analogue stick. This means my view constantly rotates and moves upward. This is because the inputs are registering `-1.0`. When I move the triggers toward the centre of movement, the view stabilises.

Can the triggers be remapped?

# Answer
It seems as if the LG G3 doesn't support the wireless controller. Upon plugging in a wired controller, it worked perfectly
> 1 votes

---
Tags: 5.0-lollipop, usb-on-the-go, lg-g3, game-controllers
---


# Question
Title: Why do some earphones work but some have garbled audio on my phone?
I recently bought a rebranded Innos D9 from China. When I tried using the earphones that came with the phone and the Sony earphones I have, the audio is fine. Really awesome too.

However, when I use a generic Samsung earphones, I hear garbled audio, like the sound is coming from a cave. When I play a video, the voices / speech of people are distorted. Also, I don't think equalizers would fix this because I know how they work. I also tested Apple's Earpods, to the same effect.

I would like to know why this happens. Maybe I could download an app to correct the sound, or at least know what earphones to buy in the future.

Note: The phone has a built-in Yamaha music amplifier that boosts AAC or something, if that information would help.

Another update: Found a relevant thread on XDA and the fix I did was to push the answer button on the Samsung earphones, and the audio was fixed. Do note that for the audio to stay that way, the button should be pressed always. This is not a good fix.

# Answer
> 2 votes
The pin layout between the working and not working head phones might be different and hence this behaviour. Though it appears to be simple there is no one standard to which all these manufactures seems to stick with. For instance my LG P500's stock ear phones exhibit this issue with Sony Ericsson SK17i, while Sony's head set played well in my LG P500.

The same problem exhibits when I use my LGP500 head phones in my desktop computer. While doing so, I just pull out the head phone slightly out to solve this issue.

# Answer
> 2 votes
I have Nokia earphones which I got with my MusicXpress, and they behave the same way. The audio in the human-voice range gets really really garbled.

Over time, I learned how to use it relatively well:

1. If your earphones have a button (generally for answering calls, etc), when that is pressed the sound comes fine, but when not pressed, sound is garbled. I use a clip to hold the button pressed mostly ;)
2. If on a computer, you can adjust the balance of your sound output to either 100% left or 100% right. Then the sound comes alright, although sound from one channel is lost, but the vocals come perfect.
3. Downmix to mono. Not supported in Windows 7 & Linux by default, but there are plugins which can do it (like DFX).

# Answer
> 0 votes
If we have the same headphones, I figured out o way for them to work for me. The little plug you put into your device has a little button on the top, I had to peel back my case and fully press plug in and now it works. Perhaps you don't have them plugged in enough. Hope this works:)

---
Tags: audio, music
---


# Question
Title: Why I cant scan the the Whatsapp QR code?
I have tryed to scan the QR code using whatsapp for web, also I see the: ok, I got it, then a green line start to scan but noting happened, I just downloaded the app yesterday night and also Im in the right position of the phone and monitor.

Please can you help me? I have a: Samsung Galaxy Pro B7510.

Thanks a lot!

# Answer
Personally I noticed that if I move the device further back from the screen it seems to help.Try moving it a bit from the screen.
> 0 votes

---
Tags: samsung, whatsapp-messenger, android-sdk, qr-code
---


# Question
Title: Disable screen turn-off during phone call
I know this might be a possible duplicate question but I haven't found an answer yet.

phone\>call settings\>proximity sensor is not available in my version of android.

Is there another way to disable the screen turning off when i dial or receive a phone call?

Is there an app i can install that does it?

Regarding the duplicate question: This question is different because i'm targeting android 4.x and beyond and because I want to disable the proximity sensor completely, it's broken on this device but even if it did work, I would like to override it somehow, preferably without having to install an app with ads etc.

# Answer
Proximity sensors allow the screen to turn off when close to the ear during a call. It should automatically come back when it's uncovered i.e. when it's not close to the ear.

That said this app seems to promise that functionality -\> Smart Screen On Off
> 3 votes

---
Tags: calls, screen, proximity-sensor
---


# Question
Title: Google Play, can i get past purchases on new tablet?
I am halfway through season 3 of Homeland and bought a new galaxy tablet. It was purchased from the Play Store on my old galaxy tab.

Since I have the same Google account associated with both tablets, is there a way to download the show to the new tablet?

# Answer
> 2 votes
When you download a paid or free app on Google Play, the app is connected to your Google Account. This means you can `reinstall` downloaded apps to new or reset devices without purchasing them again.

source : Reinstall apps & games

This is About Apk apps.but for Download this, if you can download this again in `Old Device` so you can Copy Downloading Link and Sign In With Purchased Device in New Device.

Also, as this link said : OIT HelpDesk - Knowledge Base

> Your purchases are tied to your Google Account and can be installed an unlimited amount of times on any device. So, for example, if you remove "My Favorite Game" to save memory, you can reinstall it at a later date with no charge by simply visiting My Apps. You can also re-install apps from play.google.com from the My Android Apps section.

So, just `Sign in` With *purchased Google Account* in `New Device`, and Find what you want and Downloaded it.

Hope this helps.

# Answer
> 1 votes
The answer is simply yes. As long as you've added the same account the TV show was purchased from to the new device, you're good to go. Open the Play Movies & TV app, swipe in from the left and verify you're using the account that owns them, and tap My Library. And then everything you own will be visible.

---
Tags: google-play-store
---


# Question
Title: How do I set the duration of a "calendar insert" in tasker
Declaring the starting time to be now seems to be easy in tasker. I just put 0 into the "In / For(Minutes)" field. However how do I define the length of the calendar event?

# Answer
The `In / For` field actually serves both purposes. You can enter two numbers, delimited by a `/` such that:

* The first number is the number of minutes from now when the event starts, and
* The second number is the duration of the event

If you wanted to insert a one hour event starting "now", you would, for example, set the value of the field to `0 / 60`.

This is summarized from the "Calendar Insert" entry in Tasker's Action documentation.
> 1 votes

---
Tags: tasker
---


title: error:not enough internal storage

text:
# Question
Title: error:not enough internal storage
I have 12 GB remaining on my SD card and 200 mb remaining in my phone storage than also when I went to install a 800KB app then it says "low internal space" in my phone geoniee M2 and have android jelly bean 4.2.2

# Answer
Well this is quite a common problem for some users.

Try this out...

* go to settings
* then go to apps section
* then go to all apps section
* find google play store
* click on clear cache

Hope this will work...
> 0 votes

---
Tags: internal-storage
---


# Question
Title: Different notification tone only for one contact
I want to have a different notification tone for one specific contact, but I can't figure it out.

I can change the tone only for All Contacts, but not for only for one contact.

Any ideas?

# Answer
> 0 votes
You can define a specific ringtone as detailed below. For message notifications you will need to find a messages app that supports that option.

To define contact-specific ringtones: From the `contacts` app open the `Groups Tab`. Create a new group with the phone numbers that belong to the contact (home, work, cellular, etc.). Select `Ringtone` and choose the tone you want for this contact.

---
Tags: notifications, lg-g2
---


# Question
Title: How do I Delete the 5.0.1 OTA Update on my Rooted Nexus 4?
A while back I rooted my phone with the stock 5.0 image, and was then pestered by the OTA 5.0.1 update that came shortly after.
Research led me to find a way to disable the event listeners that pop the notifications -- FANTASTIC! This worked for months...

Today, Snapchat decided to reboot my phone (as it regularly does) in a spectacular fashion that included a long vibration while the screen went dark. Since my phone's come back online, the "System Update Downloaded" notification is sitting at the bottom of my notification tray; something that wasn't there before.

I've dug through my event listeners and confirmed the correct ones are still disabled, but now I'm hunting for a means to delete the downloaded update so as to remove the notification (Hopefully?)...

Most of my search results show the files should be .APK files in the /system/apps folder, but I have a /system/app folder -- no /apps. Another post mentioned they'd be in the /cache folder --- they are not....

Does anyone know where these OTA Updates are stored on Lollipop 5.0 so I can nuke 'em?

Thanks in advance for your assistance!

# Answer
Just download an factory image From :

`https://developers.google.com/android/nexus/images`

**Steps :**

> 1.Unlock bootloader
>
> 2.root phone
>
> 3.flash new image
>
> 4.lock Bootloader

How do I uninstall the Android update 5.0.1 back to 5.0?

hope this helps.
> 1 votes

# Answer
Resolved by successfully updating to 5.0.1 without losing my data: http://aaronhastings.me/updating-to-android-5-0-1-on-rooted-nexus-5/
> 0 votes

---
Tags: updates, delete
---


# Question
Title: Reenable Setting app on rooted Galaxy S 4G
I need to command my partially rooted Samsung Galaxy S 4G on KitKat 4.4.3, to simply re-enable the core app: `settings.apk` (a.k.a `com.android.settings`).

After flashing a ROM, I found no settings UI nor root capabilities. I see the APK is where it belongs, so I just need to enable it. How do I enable this app service (what terminal commands)?

APK location: `/system/priv-app/`

Data path: `/data/data/com.android.settings`

# Answer
If you have a root shell via ADB, try `pm enable com.android.settings`
> 0 votes

---
Tags: 4.4-kitkat, adb, samsung-galaxy-s, terminal, application-manager
---


# Question
Title: Is there a way to use an Android tablet as a wifi handsfree device?
My situation:

* Android (4.0.3) tab hooked up to my car stereo using the headphones connector.
* Android (2.3.5) phone (HTC Desire HD), which I use to call, text, browse, etc.

Since my car stereo's Bluetooth device died I thought I could use the Android tab as a audio relay device. Problem is: the tab has no Bluetooth. It has wifi though.

Is there any way to use an Android device as a handsfree adapter over wifi? Some kind of wifi relay between the phone and the tablet, perhaps?

# Answer
> 0 votes
Does the tab has USB port. How about adding an external custom BT device. BT device talks to android app on tab via any serial library for example scm (http://www.embeddedunveiled.com/scm-wiki).

---
Tags: wi-fi, audio, hands-free
---


# Question
Title: Nexus 6 OTA from 5.0.1 to 5.1 fails - Error in block.map
I am trying to upgrade my Nexus 6 with version 5.0.1 (Build number LRX22C) via OTA to Android 5.1.

The OTA update is downloaded successfully and after pressing "Restart & Install" I see a dead droid with the message "Error!".

The phone was rooted and I unrooted it via SuperSU. Did not help. Wiping cache partition also did not change anything.

These are the logs:

```
Finding update package..
Opening update package..
Verifying update package..
Installing update..
Verifying current system..
/dev/block/platform/msm_sdcc.1/by-name/system has been remounted R/W: reflash device to reenable OTA updates
E: Error in 0/cache/recovery/block.map
(Status 7)

Installation aborted.

```

I would really like to upgrade without wiping the data.

# Answer
Unfortunately it will not work, google checks some files for integrity (meaning: that they were not changed) and it seems that some of the files have been changed, possibly by the root process. I assume you have no other option but to install the image manually, which will wipe your phone entirely. You can learn more about the process here: https://developers.google.com/android/nexus/images
> 0 votes

---
Tags: 5.0-lollipop, ota-update, 5.1-lollipop
---


# Question
Title: Is there a browser that will display Armenian letters?
I have just got a an HTC Desire as a present and I want to view www.mathnet.am which is an Armenian site. But insted of Armenian letters I see squares. I have read some advices in some forums, but could not solve the problem. Please help.

By the way I can't see www.Google.am (this is the Armenian variant of it) letters too. The same squares :(

# Answer
> 0 votes
Here is the link, where that kind of browser (Hay Web Browser) can be downloaded: http://webdroid.life.am/ Here is the facbook group, where Hay Web Browser is being discussed, and the creator can answer to your questions: http://www.facebook.com/home.php?sk=group\_191625270874191&ap=1

# Answer
> 1 votes
I've tried visiting both those sites in a few browsers, and see the same problem with the square boxes rather than letters. It looks like this probably isn't a problem with the browser(s) but more that the fonts being used to show the sites in the browser don't have all the necessary characters.

Are you able to see Armenian letters in emails or text messages at all?

There was a previous question about installing Hindi fonts, that no one's come up with an answer for yet. Android 2.3 (Gingerbread) does add support for more languages, but unfortunately Armenian doesn't seem to be one of them.

# Answer
> -1 votes
You just need to update your OS version into latest - that's all you need to do.

---
Tags: browser, localization, browser-add-ons
---


# Question
Title: Filter out ARM native apps in Play Store
I have ASUS Zenfone 5. How could I filter out or identify ARM-native apps on x86 phones in Play Store or in other app market?

# Answer
> 3 votes
The Google Play Store automatically filters your application to devices with compatible CPU architecture. E.g. if you have a library which is only compiled for ARMv5, your app will only show up for devices with ARMv5 and ARMv7 processors. Your device should show you only apps that are compatible to your device.

Source: Android Developers - Filters on Google Play

---

Short answer: no, you can't filter those apps manually. You may try to uncompress the APK file and check its configuration, but it will be too much complicated work.

If you need a detailed answer, read further. You may not have understood me completely with above answer I gave, let me explain in details:

There are two types of applications based on native library use (native library is compiled with Android NDK)

1. Apps with Native library (i.e. these apps use native library with CPU specific architecture and these libraries directly execute on CPU instead of using Dalvik VM/ART)

These kinds of apps are filtered in Play Store, because there are multiple version of apps present in the Play Store specific to device (for x86 with x86 compiled library, and for ARM with ARM compiled library. Source \- Developer can publish multiple APKs with different configuration)
2. Apps without Native library (these apps execute on Dalvik VM/ART)

These apps are CPU-architecture-independent, so there is no effect with which device you use these. Also here Dalvik VM will be compiled for your device by device OEM (in your case, ASUS)

---
Tags: android-x86, filter, arm-processors, asus-zenfone-5
---


# Question
Title: How to add new rows on a Google Docs spreadsheet?
Usually, in desktop version of Google Docs spreadsheet, I will enter a number of new rows if current document has no rows remaining, so I can extend down the document. I installed Google Drive on my Gingerbread and has a spreadsheet file in it. When I open it, I want to do so with my Android app but how can I do it? Which button should I press?

# Answer
> 4 votes
1. Click on the row number in the first column.
2. Click the number again; a menu should pop-up.
3. Click 4th button; a menu should popup with the following options:
    * Insert above
    * Insert below

# Answer
> 1 votes
If you have a **keyboard** (bluetooth, tablet dock...), you can do:

1. Click the row number in the first column
2. Using **shift + up or down arrow on the keyboard**, select as many lines as you want to add at the end of the sheet
3. Click the row number of one of the selected lines, a menu should popup
4. Click 4th button ; a menu should popup with the following options:
    * Insert above
    * Insert below

This will extend the number of lines in the document by the same number of lines that you have selected at step 2.

---
Tags: google-drive, google-sheets
---


# Question
Title: Atrocious battery life with Cyanogenmod 11 on Galaxy S4 mini
I love so many things about CM10, but the battery life is an absolute nightmare. I made a comparison against the stock firmware by leaving the phone unused for as long as I could. Results:

Stock: **~5.2 days standby** to full discharge

CM10: **~1.7 days of standby** to full discharge

**Is there anything I can do about this, or is CM10 simply not supported properly on my device?**

---

Made these screenshots on my S4 mini by leaving it unused for as long as I could. In the CM10 example it actually powered off due to low battery and I had to plug it in before it would even turn on again, so this is NOT due to any calibration; the battery was *actually* empty at the end of the test. But even if you take the final charge as 15%, the numbers are still atrocious.

# Answer
These are the settings I use on my phone, which have helped with the power consumption.

Under Performance

-\> Processor

* CPU governer: ONDEMAND

-\> Profile

* Power save

General Settings page

-\> Location Services: off

-\> Bluetooth off

-\> Mobile Data (3g): off

There are also some apps that may be helpful, one of which (I've only heard of it not actually used) is called SnapDragon Battery Guru.

If you can't find the performance settings turn on developer options (instructions here)
> 2 votes

# Answer
Calibration needs to be done after flashing a new ROM. I've solved this problem by using "Battery Calibration" app from the Play store.

http://zoranpetrovic87.blogspot.com/2014/10/cyagenmod-battery-problem.html
> 1 votes

# Answer
I'm now on CM11 and battery life remains a constant struggle. There are just too many things that will happily keep the phone awake, almost always due to bugs or incompatibilities. You're lucky when it's just a bad app you've installed: kill it and the problem is gone. But far too often, the thing keeping your phone away is Google Play Services, and then you're basically stuffed.

So my best advice is to simply decide whether a constant battery life problem is worth CM's improvements (it is for me, but it might not be for you).

You should also expect that whenever you do manage to track down and fix a battery life killer, it won't be a week before something else crops up. Just recently I had finally found an amazing fix that made my phone *actually enter sleep*, and it was to set Wi-Fi to turn off when the phone is off. I had a few weeks of bliss, but fast forward to a few days ago and it's back to the usual battery-eating never-sleeping state.

So yeah, you will probably experience battery life issues with CM, but I think it's totally worth it.
> 0 votes

---
Tags: cyanogenmod, samsung-galaxy-s-4-mini
---


# Question
Title: How to delete a misnamed file on Android?
I’ve a file called like `t0.t1 t2 t3` on my Android Device.

first it had a bad name from download and I tried to rename it. Something has to gone wrong. It was `o1.o2` before.

I tried to rename it to something else - only `o2` should be the same and *`t0-t3`* the name before the file ending

Now the name is like above, but without file ending.

RootExplorer shows me the file like above (first line)
the custom ROM file explorer `.o2`.

I cannot rename, move or delete it.

Any ideas?

# Answer
You could install ADB on your computer (part of the Android SDK), plug in the device then use the adb shell to delete the offending file. Something along the lines of,

```
$> adb shell
your-android-device> rm '/path/to/file'

```
> 0 votes

---
Tags: linux
---


# Question
Title: Change the language back from Chinese to English on Samsung Galaxy Tab 4
My grandson used my Samsung Galaxy Tab 4 and now the language is all in Chinese. What do I have to do to get it back to English as I do not read Chinese?

# Answer
Go to:

> `Settings > My device > Language and input > Language`

then set any language you want it to change the menu language. Should be similar to this, just find this icon and follow it step-by-step.
> 6 votes

# Answer
Follow exactly the same steps as shown. (Note: the text is in Japanese, but you could follow the icons and position of the menu)

>
> 3 votes

# Answer
you can also try go to MENU \< SETTINGS \< LOCALE AND TEXT \< SELECT LOCALE and choose your language. For more details you check in support option of Samsung India site.
> -1 votes

---
Tags: languages, samsung-galaxy-tab-4
---


# Question
Title: Is there such a thing as touchscreen calibration
I have bought a generic touchscreen replacement (**not the actual screen** where pixels are drawn, but rather the **touch sensor** where touches are captured) for my Defy/MB525, and replaced it myself.

It doesn't work, it seems to register many random touches in a few seconds (while the charger is disconnected, and no screen protection films are present). I know I probably either did something wrong or got a malfunctioning touchscreen, but maybe I'm missing something?

Do I need to perform some calibration? If so, how can I proceed? My phone is asking for a locking code and I can't enter it as it is.

# Answer
As you asked for a calibration tool: The Playstore seems to have some suitable candidates, e.g. Touch sensitivity calibration. But while this *might* be helpful, the permissions look quite suspect: The only job of the app is screen calibration, but it requests permissions such as accessing your contacts, call phone numbers, read and send SMS/MMS, and more -- according to a screenshot on the apps page at Google Play. Funnily, the permissions tab says differently: No permissions required... So I'd give it a try, and abort installation in case those permissions really turn up.
> 2 votes

# Answer
Its not the malfunctioning in the screen but when you disconnected your screen, phones default values/drivers got messed up and are unable to find the new or the old screen driver you connect.

visit XDA forum thread you can fine more info on that.

BTW is it happening when you connect charger?
> 0 votes

# Answer
Are you having any screen guards in the new screen ? Because low cost screen guards also can cause this. I had the similar issue in my Nexus 7 after applying the new screen guard.

Also other possibilities are like user2541963 mentioned , if you are having a charger that is overcharging the phone , while charging the phone wont respond.
> 0 votes

# Answer
If you have the touchscreen gestures in the Accessibility part of your Settings on, you might be experiencing this problem. Disable touchscreen gestures, and I think it should work out fine. Enable them after you don't require them.

P.S.: I had the same problem while playing with Piano Tiles.

Thanks,

S Sandeep
> 0 votes

# Answer
I once had similar sounding behaviour when I replaced the screen on my HTC phone. It turned out that I had damaged the very delicate ribbon cable that linked the touch screen to the motherboard.
> 0 votes

---
Tags: screen, touchscreen, calibration
---


# Question
Title: Samsung Galaxy S3 phone - typing additional symbols
There are some symbols available when using the on screen keyboard on my Samsung Galaxy S3 phone, but I would like to access additional symbols, like percent sign and degree symbol. How can I do that?

# Answer
Originally I had 3 pages of symbols, including the degree symbol. There was an "update" and it's gone. I use it a lot and miss it.

I just downloaded the GO keyboard and it has a degree symbol °. Yay!
> 1 votes

# Answer
I'm using the Samsung keyboard on my S3. I can tap the "123 Sym" key to reveal the symbols keyboard. Then, tap the "1/2" key to reveal the second page of the symbols keyboard. You should find what you want there. The confusion may result from the "1/2" key. It's not intuitive that there's a second page of symbols under that key.
> 0 votes

# Answer
there is no degree sign on the second page. It looks like there is 3 pages of symbols (123 Sym) but in fact there are only 2 pages..
> 0 votes

---
Tags: samsung-galaxy-s-3
---


title: How to read geolocation using adb shell

text:
# Question
Title: How to read geolocation using adb shell
Is it possible to read geolocation data (either one provided by GPS or by GSM) using adb shell?

# Answer
> 1 votes
Input `adb shell dumpsys location` and look under "Last Known Locations".

---
Tags: shell, geolocation
---


# Question
Title: Play store - Wishlist server error DF-DFERH-01 - ZTE Blade III
My android was working fine until one day, i saw

> **Error retrieving information from server. \[DF-DFERH-01\]**

with a `RETRY` button.

This is happening only in the "My wishlist" menu. No errors before.

I have ZTE Blade III with android 4.0.4 Ice Cream Sandwich.

**SCREENSHOT:**

# Answer
> 1 votes
> 1. First you have to go to Settings \> Applications \> Manage applications Once here you go to the "All" tab.
> 2. Seek the Google Play Store app and press "Clear Data" button.
> 3. Then look for "Google Services Framework" or "Google Service Framework" application and do the same.
> 4. Then restart the phone, wait a minute and ready.
>
> I hope they work.

http://wikitechsolutions.com/6496/how-to-solve-the-df-dferh-01-error-when-you-are-into-google-play

---
Tags: 4.0-ice-cream-sandwich, google-play-store, system-error, zte-blade
---


# Question
Title: Is there a universal way for a circuit to detect battery life and report it to the stock OS?
It must be noted that I know very little about programming, and don't even own an Android device, however I am considering building one(Learning whatever it takes.)

My question is simply, if I were to build an android computer, using a development board such as the Odroid C1, is there a standard way, using any battery, that I could make a circuit to detect battery level and connect it to the board using IO pins, and report the level to the OS in a way that doesn't need a custom driver to be developed, so that the stock Android OS can display the battery level.

The purpose of this is so that if I were to replicate many of these computers, I could simply install the stock Android OS and it automatically detects the battery level, so that I would not have to install a custom driver on every single one.

Everything I have asked may not make any sense, as I am not very familiar with android at all. I'm asking under the assumption that Android works similarly to a typical Linux OS.

# Answer
Short answer: I think not. You'll need to create/install the appropriate battery driver if you want to run it from battery (and be effective).

In Linux power management is done via APM/ACPI which is handled at the BIOS layer. So when you buy a motherboard/dev board the expectation is you'll be plugged in. If you go into any mobile shop, you'll see a variety of batteries even from the same manufacturer. As batteries pack a great deal of energy, every one of those batteries could either have a microchip which communicates the handset informing it about battery charge state or some read-only storage which contains the appropriate necessary parameters so that charging can be done in safe manner.

I'm going to point you to the slide deck where I found regarding Android Power Management: http://www.slideshare.net/jerrinsg/android-power-management

While I'm not sure if you can immediately understand everything in it - it should give you some scope as to the complexity involved.
> 0 votes

---
Tags: battery, hardware
---


# Question
Title: Quantum Gamepad doesn't work on Xiaomi Redmi 1S
I have Quantum PS2-like Gamepad which doesn't work on my Xiaomi Redmi 1S. My phone's Android version is 4.3.

I use a USB OTG cable which works fine with keyboards, mouses, and pen drives.

Whenever I attach the joystick, just the red light in the joystick blinks, and nothing happens.

# Answer
USB OTG doesn't work when high power output is needed. It usually doesn't work with joypads which have analog sticks. If you want to use it, you'll have to attach USB hub with external power source, or make DIY externally-powered USB OTG.
> 0 votes

---
Tags: usb-on-the-go, game-controllers
---


# Question
Title: SMS notifications on Moto G2 no longer appear
Recently my Moto G2 device stopped showing text message notifications on the notification bar.

* The device has been running on Android 5.0 (the upgrade caused no issues)
* I am using the stock messaging app and there are no other messaging apps on my phone
* Notifications are turned on
* There is no option to enable or disable app notifications for the stock message app since it does not appear on on the "Apps" menu.
* Notifications from other apps like Whatsapp are shown
* I have not done a factory reset yet

I have uninstalled a dozen other apps like DU Batter Saver and Applock just to narrow down things that might be interfering with the stock messaging app. Powering off and powering back on does not work either.

I need some help.

# Answer
In *Settings › Apps*, you have to chose the "All" tab: by default, *Settings* usually shows the "Downloaded" tab, which holds all the apps the *user* installed. The stock messaging app does not fall into that category, as it comes pre-installed – hence you'll find it on the "All" tab.

Now you've found it, you can take the approach you initially had in mind: calling its context-menu to re-enable notifications by long-tapping the entry here.
> 1 votes

---
Tags: sms, 5.0-lollipop, notification-bar
---


title: How can I delete a group in Viber?

text:
# Question
Title: How can I delete a group in Viber?
I made a group in Viber. I wanna get out all of members from this group. How can I do that?

# Answer
> 1 votes
1. Open Viber.
2. Go to the group conversation screen.
3. Swipe the group you want to leave.
4. Select 'delete' then select 'delete and Leave group'.

# Answer
> 1 votes
Directly from **Viber** :

> ***Groups cannot be deleted by any one user***. When a user leaves a group,
>
> the group continues to exist with all remaining participants. When all participants leave a group, it will automatically be deleted.

How do I use group conversations on my Android device?

---
Tags: viber-messenger
---


title: Force Android to display in grayscale

text:
# Question
Title: Force Android to display in grayscale
Is there a way to force all of Android to display in monochrome(also known as grayscale)?

I'm working with a someone who has ADHD (and I am mildly ADHD myself). The colors are too much for him/her to handle.

EDIT: Ideally I'm looking to create an easy way to toggle such a setting.

# Answer
Android 5.0 Lollipop provides this feature by default:

1. Enable Developer mode (by tapping build number within `Settings` \> `About phone` multiple times)
2. Go to `Developer Options` and turn it on.
3. Under `Hardware accelerated rendering` you will see option called `Simulate color space`, click it and set it to `Monochromacy`.
> 50 votes

# Answer
A launcher will not put the whole system in grayscale, only your home screen.

The Samsung Galaxy S5 has a true grayscale function you can enable system wide.

If you don't want to buy a Samsung Galaxy S5 then try CF.Lumen https://play.google.com/store/apps/details?id=eu.chainfire.lumen

It can color the screen to a specific tint. As a side effect the battery life will increase a lot.

If you have a Samsung phone, but not necessarily the S5 then you can use this root app to put everything into true monochrome (grayscale):

https://play.google.com/store/apps/details?id=mobi.pruss.GalacticNight
> 2 votes

# Answer
I think you need this Root your phone and install the following app from play store by Famous Developer Chainfire

https://play.google.com/store/apps/details?id=eu.chainfire.cf3d

then change the setting to grayscale
> 0 votes

# Answer
I think Lunar Eclipse Lite is also a good choice for you. it works well on my phone.

<sup>Click image(s) for larger version </sup>
> 0 votes

# Answer
There's no built-in function that does this on an android phone. The bast way to achieve this is to install a custom launcher. Check on the Play Store, there are a bunch of them.
> -1 votes

---
Tags: applications, google-apps, color
---


# Question
Title: How can I select multiple images when uploading them to a website?
Does anyone know how to select multiple images when uploading them? I've attached a screenshot of where im trying to use a long press to select multiples but it's not working.

Update: I'm on a work website in an area where I can upload documents to a report. The image below is what I see when I click upload. I've also attached a second pic that shows what I see when I tap "Gallery". Uploading multiples works well on a PC but not on this tablet. There are a few guys in my company that it seems to work for but they aren't near me and this is something that IT would take forever to get to.

Specs: Samsung Tab S 8.4 (SM-T700) Android Version 4.4.2

# Answer
**first Step :**

When you open the *Gallery*, you should see three soft keys at the **Button**, **Share**, **Delete** and More.

Click `Share` and you should get a *pop-up menu*. Select your method of sharing. Now, you should see little check boxes in the upper right hand corner of each pic. Check whichever pics you want to send. Deleting multiple pics works the same way, except obviously you'd select "Delete" instead of Share.

**Example :**

Also, this feature maybe added in latest Rom, you need to try it.this reply just for give you more information and acquaintance.

good day.
> 1 votes

---
Tags: images, uploads
---


title: Export WiFi x509 client certificate

text:
# Question
Title: Export WiFi x509 client certificate
My Android (4.4) device has a WiFi configured which uses WPA2-TLS authentication with client certificates.

I got my hands on the wpa\_supplicant configuration and the relevant entry looks like this:

```
network={
        ssid="fobar"
        key_mgmt=WPA-EAP IEEE8021X
        eap=TLS
        identity="000123"
        password="000000"
        ca_cert="keystore://CACERT_fobar_WPA_EAPIEEE8021X_TLS_NULL"
        client_cert="keystore://USRCERT_fobar_WPA_EAPIEEE8021X_TLS_N"
        engine_id="keystore"
        key_id="USRPKEY_fobar_WPA_EAPIEEE8021X_TLS_NULL"
        engine=1
        proactive_key_caching=1
}

```

How can I get hold of the certificates and the key?

# Answer
Go to :

> `/data/misc/keystore/user_0`

And find the file's with similar name like below :

```
USRCERT_fobar_WPA_EAPIEEE8021X_TLS_N

```
> 0 votes

---
Tags: wi-fi, backup, wpa2, wpa-supplicant
---


# Question
Title: Flashing ROMs means Installing zipped apps?
My sister and I have Galaxy S4 and a Galaxy S3. Along the time of usage we have only downloaded common apps like social apps and games. We've never downloaded any system-related apps such as those used to root a phone. Thus, **both phones are not rooted.**

Questions:

1. Is it possible for an app (before installing) to be in the form of .zip file instead of its usual .apk file (before installing)? (not the normal archive .zip file)
2. Does flashing a ROM mean putting a .zip file (with app inside it) in an external SD card, then pressing the Volume-Home-Power keys, later installing it?
3. Let's say I did all the steps in question 2 using the unrooted S3 and S4, will I successfully install the zipped app to the phones?
4. If question 3 fails, what other ways do I have to install the zip file? And I don't have access to the computer.

Those are the things that bother me. If there are things very wrong please correct me.

# Answer
1. Android can only install `.apk` files (though `.apk` and `.zip` are interchangeable)
2. Yes, it does mean that, but you'll need a custom recovery which has the ability to flash .zip files. **Note** that such .zip files are not just applications packed in an archive, those .zip files are specifically designed for recovery flashing, and have specific scripts that run when they are flashed
3. installing custom recovery requires root
4. As said before, you need root to have recovery so that you could install .zip files. To achieve root access, you'll need a PC.
> 1 votes

# Answer
About this **Question** and **Answer** ;

**Question :**

> 1) Is it possible for an app (before installing) to be in the form of .zip file instead of its usual .apk file (before installing)? (not the normal archive .zip file)

**Answer** :

> Android can only install .apk files (though .apk and .zip are interchangeable)

This is Proccessing to Create an Apk file :

```
.java => (javac) => .class => (dx tool) .dex => (aapt) .apk

```

It called \> `Android application package (APK)`.More Information : (Android application package Apk From Wikipedia)

> APK files are a type of archive file, specifically in zip format packages based on the JAR file format, with .apk as the filename extension. The MIME type associated with APK files is application/vnd.android.package-archive

Also in older `Android Versions`, users can run ***Java*** files with applications similar called `JBED`.(Untested in newer Android Versions)

So, ***Zip*** files ; usually use the file extensions `.zip` or `.ZIP` and the `MIME media` type is : `application/zip`

(Wikipedia-Zip file)

And just for archiving and compressing used.and on android, you can't without Decompresser Use it or Open it.

But in Android or Apk file as i said, you can rename the Apk file to Zip and extract All contents like `Classes.dex` or `layouts` and ...

(But Of course these files, ***Compiled*** and need some Reverse Engineering )

and for Other questions, follow `Aleksandar Stefanović` Reply. good day.
> 1 votes

---
Tags: rom-flashing
---


# Question
Title: Accidentally bought OMTP headphones for a CTIA phone, what now?
I made the mistake of buying the old Sony Ericsson MH1-LB LiveSound headphones for my Sony Xperia Z1 phone, thinking the two would work together, sound, microphone, controls and all.

I have found out that this is not the case, and the reason is that the headphones use a standard called OMTP, while my phone uses another standard called CTIA, which basically just switches a couple of things around - as far as I've understood.

What options do I have now? Should I start looking for other headphones, or is there a way to use these headphones with my phone after all?

I've looked around on Amazon, and found CTIA to OMTP adapters, branded as "iPhone to (older) Android converters". Is it safe to assume that these can be used the other way around as well, that is, to convert OMTP to CTIA? The way i see it, the cable just switches around the mic and earth components, so it should be able to work both as CTIA to OMTP, as well as OMTP to CTIA. Is this correct, or am I missing something?

In case someone would like to know, this is the adapter I've been looking at.

PS: In case an adapter like this can work as an OMPT to CTIA adapter as well, people are welcome to leave a comment, if they know a similar but better product. Note however, that this is not the purpose of this question.

# Answer
> 1 votes
I think the OP has already bought a converter and is enjoying the MH1, but in case someone else stumbles upon this, I have Xperia Z2 and an old MH1. I use a Sony Ericsson EC250 adapter. Everything on the MH1, including the mic and all four buttons are working fine. The converter is basically a CTIA to OMTP converter for old phones, but those converters work in both directions. You don't specifically need the EC250. Any OMTP to CTIA or CTIA to OMTP converter should work.

---
Tags: headphones, microphone, headphone-jack, headset, headset-controls
---