# Question
Title: How can I clear recent searches from search bar in Chrome?
To be clear, I don't want to clear my search history in general. I just hate that when I go to search something a few bars beneath my search shows my three most recent searches. I don't mind search suggestions, I just don't want my recent searches showing up every single time.

I've included a screenshot of what I mean.

click image for larger variant

Thank you for your help!

# Answer
> 4 votes
Here is an easy solution to disable recent search history in Google Chrome's (Android) search bar (as shown in OP's screenshot):

1. First of all you have to make sure you sign out of your google account, you can do it from google chrome's settings. The first thing that appears is your account, click on it and search for close session in chrome.

Signing out is necessary for the option to disable search history to appear. Remember this is not your account's search history, but rather the app's history.
2. At the bottom of google.com (or rather you can access it fromhttps://www.google.es/preferences) go to 'settings' -\> 'Search settings' -\> 'do not save searches' -\> Make sure you click SAVE button at the bottom of Search setting page.
3. Now you can sign in again.

Those annoying purple recent searches should now be gone and never reappear!

# Answer
> 3 votes
To delete suggestions, type your search string in the chrome browser

Now chrome will suggest websites, select and hold the suggestion, you will get a popup and you can remove the suggestion.

# Answer
> 2 votes
Well you have 2 ways here -

* Sign out from Chrome. To sign out just navigate through *Chrome\>Settings\>Account(on top)\>Off*. And you won't get these recent search history.
* Open Chrome (use Desktop version when navigating through the webpages I suggested). In address bar type-in history.google.com and sign in to your preffered Google account and remove all the history from using 'Remove items' from drop-down menu (Gear-like settings icon). Also you can 'Pause' this feature permanently by using 'Settings' in drop-down menu.

Second method is easy to follow if you have a PC.

# Answer
> 2 votes
If you (sman) still or anyone who is struggling with this exact same problem, here is the solution.

The problem happens to those who use Android Chrome. Many of these have tried by turning off (paused) one's google account's search setting. But when searching on google.com there are recent search histories still creeping out!

And one can only find tips to disable(pause) resent search history at google account setting. But we need one more step to fully disable search histories!

1. Go to google.com
2. If you are signed in, make sure you are signed out. **Signing out must be done, because those recent search results are not related to your google account, those results are saved in the device'**

**If you are signed in and proceed to step 3, you will only be able to turn off your account's search setting which is now managed under 'My activity' option...**
3. At the bottom of google.com, 'setting' -\> 'Search settings' -\> 'do not save searches' -\> Make sure you click 'SAVE' button at the bottom of Search setting page
4. Now you may sign in again!

# Answer
> 0 votes
The best you can do is just clear your mobile browser history. Also you can use apps like Clear master to clear temp files regularly.

Hope it helps!!

# Answer
> 0 votes
**Option 1**:- You can turn off your Search History to prevent future searches from being saved to your Search History.

But some features, including Google Now, won’t work when your Search History is turned off.

1.Visit your History page.

2.In the top right corner of the page, touch the gear \> Settings.

3.Touch Pause.

Your Search History will now be turned off for any computers or devices you use with your Google Account.

**Note**:-Doing so will disable all the search being saved irrespective of the device you use because your settings are saved based on the Google email id you use.

The bar which pop's is something called as auto fill/auto suggest.

**Ex**:-Your earlier search for Android is stored in your history and later when you simply type Android in the search box it will check for match in the history and display it .(I.e. Although your search is for Android devices and not Android it will display Android in the suggestion bar based on your history)

**Option 2:-**

1.Un-check the search suggestion from Settings Menu \> Privacy \> Search and URL Suggestions (un-check this)

2.Clear your browsing history.(auto search suggestion will be displayed based on the history also so you need to clear the history every time you are done with browsing/when ever you open it)

3.Next time when ever you try a search ,The browser will not display the bar which pop's as the auto suggestion is unchecked and browsing history is clear

**Note**:-If you want to avoid the auto suggestion bar you need to clear your history. If the auto search suggestion bar is seriously annoying for you then you have to trade it with the lost history. Hope this solves your problem

# Answer
> -1 votes
Well, what you can do is tap over the search bar type chrome://history/ clear the history and it shouldn't bother you any more.

Update: You can try incognito mode over the browser if you don't want the logs or any history to be created.

---
Tags: chrome-for-android, search-history
---


# Question
Title: How to install working Play Store on a clean device (CWM13 ROM)?
I did a factory reset recently, and when I installed the latest version of Play Store and Google Play Services on my Android 6.0.1 device from APKMirror, it keeps showing `Unfortunately, Google Play Services has stopped`. Well, I have CWM13 ROM installed on my device, the app settings doesn't have the "Clear Cache" option, so I can't fix it in the common way.

Any ideas guys? Thx in advance.

# Answer
While in recovery, you need to flash the ROM and then without booting to that ROM, flash gapps. If you're using TWRP MultiROM you can still boot into other installed ROMs without bootlooping the one you just flashed. If you're using regular old TWRP, just flash the OS and gapps all in one go.
> 0 votes

# Answer
First you need to find GAPPS (google apps) that match your android version you can find it on opengapps.org And than you need to do system, data, cache and cust wipes. Than you need to flash ROM and than flash GAPPS right after flashing ROM.
> 0 votes

---
Tags: cyanogenmod, google-play-store, samsung-galaxy-s-3, 6.0-marshmallow, google-play-services
---


title: How do I unlock 4G bands?

text:
# Question
Title: How do I unlock 4G bands?
I'm using Xiaomi MI4. In India it doesnt support 4G bands, is there a way to unlock 4G bands for this device?

# Answer
> 1 votes
There has been an unlock method available for most Snapdragon 800/801 devices, and some forums claim it works for the MI 4 too. However, 1) it involves flashing a custom ROM *and* using a dangerous diagnostic tool, and 2) it doesn't unlock what the phone is not supposed to support (e.g. CDMA), nor is it guaranteed to unlock the band you want.

If you're still curious, take a look here.

And before you leave, you should know that MI 4 has 3G and 4G variants. If you have the 3G variant then just give up - there's no hardware.

---
Tags: 4g, xiaomi-mi4
---


title: Android update on HTC Desire 628

text:
# Question
Title: Android update on HTC Desire 628
I'm looking into buying an Android phone, and quite like the specs and looks of the HTC Desire 628. Unfortunately it ships with Lollipop (5.1). Would it be possible for me to upgrade this device to Marshmallow (6) or Nougat (7)? If so, how?

# Answer
For a phone of this popularity you can only expect something to drop officially, the chance of which is slim (especially in regards to Nougat). Decide what's your priority (aesthetics VS updates) then choose wisely.
> 1 votes

---
Tags: updates, htc
---


# Question
Title: Sim toolkit is missing after upgrade os to Android 5.0.2
I've upgraded my OnePlus One to 5.0.2 (CyanogenMod), but the Sim Toolkit app is missing.

Can anyone help to solve this problem, because I need this feature for mobile banking?

# Answer
> 1 votes
This is how I found it out to work. Create a SIM-PIN in your settings, restart the phone with the PIN, and you will have the toolkit in your app browser.

# Answer
> 0 votes
Please use your SIM with this toolkit as a first SIM (SIM1). Otherwise PIN code popup might not pop up. In my case switching SIMs helped.

---
Tags: cyanogenmod
---


# Question
Title: Having an issue with my contacts on my Blackberry Priv
I just got a Blackberry Priv, coming from a Blackberry Classic, both on AT&T. They imported my contacts from the old phone and they seemed to have moved onto my Google account. But for some reason the majority of my contacts don't have any information associated with them, just the names. When I go into my contacts list I see all the names, but most of them don't have any numbers. There doesn't seem to be any rhyme or reason to which came over with numbers and which didn't.

What is really weird is that when a contact that doesn't have a number associated with it texts/calls me I still see the correct name come up. For example, I don't have Kevin's number listed in my contacts, but when Kevin texts me it shows up as Kevin just fine. And even weirder yet, when I click on the "People and options" selection in the text thread it brings up a contact card with Kevin and his number.

Any idea's what the issue could be? How can I get my contacts with their numbers back?

Thanks for any help!

# Answer
I had the same issue. The solution that worked for me was to open contacts and choose `all contacts` (top left 3 bars - Action Overflow brings up a menu where you can choose which list of contacts to use). My Priv was only using a subset of the contacts.
> 0 votes

---
Tags: contacts, sim-card, google-contacts
---


# Question
Title: Unfortunately Google play store has stopped working on one plus x
After updating my One Plus X to Android 6,
`unfortunately Google play store has stopped working` error pops-up
and I can't open Google play store.

I tried all the methods. Please help me.

# Answer
> 11 votes
Disable Google +... Settings\>apps\>Google + and then reboot

---
Tags: 6.0-marshmallow, oneplus-x
---


# Question
Title: How can I use my PC's keyboard in the Android emulator?
I want to run/test Android apps on the Android emulator and I want to type using my PC keyboard, as it lets me type and test faster.

When I use the emulator though, it only accepts input from the native Android (on-screen) keyboard. How can I enable my PC keyboard for use within the Android emulator?

# Answer
> 120 votes
I had the same issue after upgrading the developer tools (v20.0.0v2012...). All of a sudden none of my android virtual devices would accept any input from my physical PC/Mac keyboard.

This is how I fixed it:

1. Eclipse \> `Window menu` \> `AVD Manager`
2. Select your virtual device and click `Edit`
3. Under `Hardware`, Click `New`
4. Select `Keyboard Support` then click `OK`
5. Edit its value to `yes`
6. Now you have to click off onto another item in the list, like "Abtract LCD Density" or something. This seems to make the UI keep the "yes" change.

My other AVDs that don't have this "keyboard support" hardware property added do NOT accept my physical keyboard input.

# Answer
> 19 votes
Please try the following settings. My environment (Target: Android 4.0.3 - API Level 15) successful.

AVD - Edit - Hardware: - New... - Keyboard support - yes

AVD - Edit - Hardware: - New... - Keyboard lid support - no

# Answer
> 11 votes
You need to change the `config.ini` file in your `.android` directory. This file is found under the main hard drive directory.

From there, open the `avd` file and you will see a list of virtual devices. Open the desired device and then open the `config.ini` in notepad. Then copy this text: `hw.keyboard = yes` and then save and close. The next time you open your emulator, you should be able to use the keyboard.

You can also open up the `hardware-qemu.ini` file in the same directory as the `config.ini` file, and then you can see a list of all the hardware options. Change the `hw.keyboard` from `no` to `yes`.

Hope this helps!

# Answer
> 6 votes
This answer is for those who built the emulator from source (i.e. Following instructions from source.android.com). You need to modify a property in the following file:

```
external/qemu/android/avd/hardware-properties.ini

```

In the following section of that file change the default value from no to yes:

```
# Keyboard support (qwerty/azerty)
name        = hw.keyboard<br/>
type        = boolean<br/>
default     = yes<br/>
abstract    = Keyboard support<br/>
description = Whether the device has a QWERTY keyboard.<br/>

```

Then rebuild (using make). At least this worked for me.

# Answer
> 4 votes
I had this issue despite having the correct configuration, and realized that the actual problem was that the focus was on the emulator control buttons windows, as reported in this issue.

To check if this is your problem, see if pressing space actually presses one of those buttons, and if pressing tab moves the highlight focus square between elements in the emulator controls. If that is the problem, then you should be able to work around it as follows:

* Select the extended controls (The "..." button in the emulator controls)
* Change to any item in the extended controls window by clicking
* Close the extended controls window

The focus should now return to the main Android emulator window, not the emulator controls, and key presses should go to Android apps.

# Answer
> 0 votes
Try `Ctrl` \+ `F11` or NumPad `7`. That should enable your keyboard, unless is disabled from somewhere else.

# Answer
> 0 votes
As a few have indicated here, the PC keyboard should be enabled for the AVD Emulator instances. Judging by what the emulator page on the Android Developer website says about key commands and such, it does not appear there is a way to enable/disable PC keyboard usage within the SDK. Your best bet is re-installing the SDK, and try again.

# Answer
> 0 votes
If you are using `Xamarin.Android` in `Visual Studio 2010`, you can enable `Keyboard Support` as follows:

1. Close your AVD
2. In VS2010, go to `Tools > Start Android Emulator Manager`
3. Select the `AVD Name` that you want to add `Keyboard Support` for, then click the `Edit` button
4. In the `Hardware` area, click the `New` button
5. In the `Property` dropdown, select `Keyboard support`, then click the `OK` button
6. The `Keyboard support` `Property` is added to the `Hardware` list. Change the `Value` from `No` to `Yes`
7. Click the `Edit AVD` button

---
Tags: keyboard, android-emulator, text-input
---


title: Turning off vibration on Huawei P9 lite

text:
# Question
Title: Turning off vibration on Huawei P9 lite
My Huawei P9 lite vibrates when it goes to sleep after a short period of inactivity. How can I turn off the vibration?

# Answer
> 1 votes
Try using the Do Not Disturb or silent hour mode of Android.

You will be able to set the window in which the phone will vibrate.

# Answer
> 0 votes
**How To Turn Off Huawei P9 Vibration:**

1. Go to Settings
2. Select on Sound
3. Select Vibration Intensity

**Otherwise I think your device is infected with a virus**

---
Tags: settings, huawei
---


# Question
Title: Which has viruses? Aptoide, or the apps that come with it?
I have heard many things about Aptoide and without any money, I am desperate to get FNAF 2.

But my desperation still makes me ask "Which has the virus? Aptoide, or the apps that it comes with"?

# Answer
> 2 votes
Since Aptoide is not a mediated source for apps (Google Play is), it goes without saying that it's up to the user to use discretion on the things they get from that source.

An alternative market that could contain apps that may have malware could be described as risky but then again so is the internet - all sites are accessible and you must show discretion in avoiding the bad ones.

---
Tags: malware, aptoide
---


title: changing lock screen effect

text:
# Question
Title: changing lock screen effect
I upgraded my samsung phone galaxy note 4 to Android 6.0.1. There is now an animation for the lock screen that I don't find convenient. It looks like a a black curtain is closing. How can I change that ?

# Answer
> 0 votes
Usually you would go to `settings` \> `lock screen` but it could also be in `settings` \> `security`.

---
Tags: 6.0-marshmallow, lock-screens
---


# Question
Title: What 're opened TCP port android need to be connected on?
We've an android TV connected on a restricted WIFI network. Its IP adress is fixed. My problem only the web browser is working well. All other application can not go on the web or synchronize. We got this netstat:

```
 u0_a67@android:/ $ netstat
Proto Recv-Q Send-Q Local Address          Foreign Address        State
tcp6       0      0 ::ffff:10.212.127.251:38388 :::*
LISTEN
tcp6       0      1 ::ffff:10.212.127.251:39643 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:34495 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:46563 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:46332 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      0 ::ffff:10.212.127.251:53406 ::ffff:14.17.41.151:443
ESTABLISHED
tcp6       0      1 ::ffff:10.212.127.251:57860 ::ffff:103.7.30.158:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:39039 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:36796 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:53894 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:53360 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:34809 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:50549 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:38316 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      1 ::ffff:10.212.127.251:43701 ::ffff:157.169.25.15:80
CLOSE_WAIT
tcp6       0      0 ::ffff:10.212.127.251:38207 ::ffff:216.58.198.14:80
ESTABLISHED
udp6       0      0 :::56331               :::*                   CLOSE
udp6       0      0 :::56456               :::*                   CLOSE
udp6       0    688 :::1900                :::*                   CLOSE
udp6       0      0 :::1900                :::*                   CLOSE
udp6       0      0 :::51117               :::*                   CLOSE
u0_a67@android:/ $

```

Regarding on the web information, we opened the TCP port 5228 in OUTPUT mode and we opened the TCP port 38388 in INPUT mode as it's in listen status in the netstat.

That doesn't solve the problem. Any idea about the list of TCP port need to be opened on the network for android working?

Thanks for help.

# Answer
I solved my problem configuring the closest time than universal time, manually. Google play connected itself well. After I configured the ntp server in the network.
> 0 votes

---
Tags: wi-fi, google-account, networking, wifi-direct, udp
---


title: Pin to set lock screen?

text:
# Question
Title: Pin to set lock screen?
My phone recently forgot what my correct pattern to unlock the lockscreen. But when I reset the lock screen to swipe, now I can't change it to anything else because it asks for a pin to change it from swipe. I only ever set a backup pin for the pattern, and it isn't accepting that pin. How can I add security to my lockscreen again?

EDIT: Galaxy S5, Android 6.0.1

# Answer
I'm assuming you've resolved by this point, but for anyone else that comes across this issue:

I just ran into the same issue. I managed to resolve it by going to https://www.google.com/android/devicemanager and used the lock option to set a different password. Then I was able to go into lock screen settings and change to pin/pattern/ect as normal.
> 0 votes

---
Tags: lock-screens
---


# Question
Title: Device no longer listed after clicking ENABLE LOCK & ERASE?
I clicked ENABLE LOCK AND ERASE since someone stole my device. After a day, The device is no longer listed in the android device manager. Can anyone tell, what happened?

# Answer
> 1 votes
```
I clicked ENABLE LOCK AND ERASE

```

And that's the issue. You erased the device, along with its binding to your Google account. That's why it does not appear. *FYI, Erase should be a last resort. Lock it, grab the IMEI, report to law enforcement. That's what you do.*

---
Tags: android-device-manager
---


# Question
Title: Unknown PIN preventing me from changing screen lock on Note 4
One day, I've noticed that the pattern I always use to unlock my phone and the recovery PIN don't work (never gave it to anyone nor have changed it since I initially put them in). I unlocked it using my Google account, but now the lock screen is stuck to Swipe. I then went to the Screen Lock setting and changed it to PIN, but not only has it not changed from Swipe, but the setting is now protected by a PIN, of which the PIN I used doesn't work.

What do I do now to get rid of that PIN without having to fully reset my phone?

# Answer
> 1 votes
I'm assuming you've resolved by this point, but for anyone else that comes across this issue:

I just ran into the same issue on my Galaxy S5. I managed to resolve it by going to https://www.google.com/android/devicemanager and used the lock option to set a different password. Then I was able to go into lock screen settings and change to pin/pattern/ect as normal.

---
Tags: lock-screens, samsung-galaxy-note-4
---


title: Change language of chrome translation

text:
# Question
Title: Change language of chrome translation
I have Marshmallow and the latest Chrome. My phone language is set to Italian.

When I open in chrome sites in foreign languages it proposes to translate it in Italian.

For Japanese pages I noticed using Google translate that English translation is much more accurate than Italian.

Therefore I would like to know if it is possible to force Chrome on Android to translate Japanese into English instead of Italian.

Setting the browser in English would be a good workaround but I found how to do so just in the Windows version.

# Answer
> 1 votes
I found a solution. In Android Chrome go to chrome://translate-internals

Change the only editable parameter from your language code to en

Now restart Chrome.

When you open a page in a language different from yours and English you see the usual "do you want to translate..." question but source and target language are now clickable and you can change them as needed.

---
Tags: chrome-for-android, languages, google-translate
---


# Question
Title: android 4.1.2 apps shortcut disapperead from home screen
I am using Huawei phone with android 4.1.2. Currently I'm losing the app shortcut on my home screen after a crash of the system recently. During the crash, I dragged the Whatsapp and Hoiio apps shortcut to the bottom menu (phone shortcut, browser and messaging by default). After a while, the phone turned off due to battery dry. But after I restarted the phone, the shortcut for the apps disappeared, although the apps are still installed (as shown in Google Play Store). After a few times of re-installation of the apps, the apps shortcut keep disappearing from the home scree. This android does not have applications page, only home page. How can I fix this and make sure that my apps shortcut can remain on the home screen?

# Answer
I found fix for this, just visit xda-developers and dowload the file "**fixdatatoggle.apk**", install it and enjoy. It will show your missing mobile data icon in quick setting panel notification bar.
> 1 votes

# Answer
Two ideas:

1. **Resetting your current launcher:**
Note that all your personalization concerning your homescreens will be deleted this way. I assume something got messed up in its configuration, so by resetting its cache/data we make it a "virgin" again for a fresh start.
    * Go to *Settings→Apps*
    * Select the "All" tab
    * Look for your Laucher (Homescreen) app
    * Open its entry, and push the buttons to "clear cache" and "delete data"
2. **Install an alternative launcher:**
If you're hesistant to "virginize" your pre-configured launcher, you might want to try an alternative launcher first. Simply pick any from the Playstore, good choices include Apex Launcher and Nova Launcher. See if your problem exists with them as well. If you don't like any of those, you can simply remove them and automatically have back your "old one".

My guess is, going with the second variant you will forget about your current launcher, while at the same time your problem has disappeared.
> 0 votes

# Answer
I had the same problem and I solve it by simply moving the application (that lost its icon) from the SD Card to the main memory.
> 0 votes

# Answer
lenovo mobile phone ..tap settings-common-add-applications. Make sure you have space on your main screen or move to other screen
> 0 votes

---
Tags: home-screen-shortcuts
---


title: How to mount in TWRP?

text:
# Question
Title: How to mount in TWRP?
I've never mounted in TWRP, a script advices doing so. Can I mount directly from TWRP's mount screen? I can select the **partitions to mount**, but see no option execute.
Does rebooting/booting to the system the device mount the selected storage partitions?

# Answer
> Can I mount directly from TWRP's mount screen?

Yes. Under the category *Mount* you would see a range of partitions available to be mounted. Selecting an entry (check-mark) would automatically mount the corresponding partition and deselecting the entry would unmount that partition. You can mount/unmount multiple partitions.

You can verify the said method by executing the command `mount` when selecting/deselecting the partition(s), via or through *Advanced* tab → *Terminal Command*.
> 7 votes

---
Tags: twrp, mount
---


# Question
Title: How to factory reset Galaxy Note 10.1 from Odin
My Note 10.1 (N8010) won't boot - sticks at the "Samsung Galaxy Note 10.1" logo. Power+VolUp does not take me to the recovery (just reboots), but Power+VolDown *does* take me to "ODIN MODE", so I presume my options are limited to things I can do from ODIN MODE. Fortunately there is no data on the tablet that I need.

I would like to perform a factory reset.

My best guess is that I need to erase the cache (and possibly data) partitions. Can I erase these from ODIN?

If I need a cache.img or other images, where can I get or how can I create one?

I use Linux so I cannot use Kies. I have Heimdall which appears to do this sort of thing.

I have flashed TWRP (using ODIN) in the hope that it would boot into that recovery, but it does not.

# Answer
> 1 votes
Flashing a whole factory firmware should automatically perform a wipe afterwards. If that doesn't work then you have trouble.

---
Tags: factory-reset, odin, samsung-galaxy-note-10.1, heimdall
---


# Question
Title: Emmc replace (inbuilt memory card mounter) with external memory card mounter
Hi friends i want to increase inbuilt memory at infinity level by replacing Emmc holder (inbuilt memory card mounter) with external memory card mounter, can it be possible? If yes how? If NO Why??

# Answer
> 1 votes
There's more to just internal storage in eMMC - it holds a vast array of partitions. Here's an example I just got from my phone.

As you can see many of those "blocks" (mmcblk\_p\_) correspond to major functions of the phone. Even more, such as EFS (stores baseband info) and sbl\* (bootloader) aren't even listed here because they're even more crucial, are loaded at boot time, and doesn't allow a regular user to tinker with.

Now imagine all those partitions *all* shifted to an external, removable source. With proprietary formats, is it possible in the first place? Even if yes, what if one removes the media in the middle of booting up?

And lastly, eMMCs (and recently-introduced UFS2s) are significantly faster than your average SD card. Running Android on a Class 4 SD card is actually a painful experience - if you don't believe it, burn Android-x86 onto an SD card and try booting from it.

---
Tags: internal-storage, external-sd, sd-card, hardware, customization
---


# Question
Title: How do I know when an app was used in Android?
Is there any way to tell when an app was being used in an Android phone?

I am specifically interested in the camera and gallery functions. I believe my roommate went through my photos without asking, and I've tried to view the cache for the Gallery app but can't seem to figure out how to do it.

Is this even on the right track? He had it for a twenty minute interval, and I want to see if the Gallery was accessed during that period of time.

# Answer
> 18 votes
Android allows usage stats to be seen from GUI. Here's how you can see it. (Source, by Kevin Swartz)

1. In your default dialer, type `*#*#4636#*#*`. It would open a window named **Testing** which is a sub-setting of **Settings** app.
2. Go to **Usage Statistics**.

**For Lollipop**:

* Sort the time in **Sort by:** based on **Usage time** or **Last time used** or **App name**.
    * The order of entries are **App**, **Last time used**, and **Usage time**.

    (Click image to enlarge)

    **For Jelly Bean 4.2.1 to Kitkat 4.4.2**:

    + Sort the time in **Sort by:** based on **Usage time** or **Launch count** or **App name**.
        + The order of entries are **App**, **Count**, and **Usage time**.

    (Click image to enlarge)

    The usage time in these Android versions is shown in milliseconds (ms). You may do calculation on your own, or try a conversion tool like this to instantly convert them into minutes.

## Don't forget ADB

Alternatively, you can directly jump into the **Usage Statistics** window using . Enter this command:

For Android Lollipop:

```
   adb shell am start -n com.android.settings/.UsageStatsActivity

```

For Android 4.2.1 to 4.4.2:

```
   adb shell am start -n com.android.settings/.UsageStats

```

See this answer if you're interested in knowing the role of parameters in those commands.

You can also do `adb shell dumpsys usagestats` (Source, by Jinghao Shi) which for Android 4.2.1 and 4.4.2 didn't give anything more useful than already covered in screenshots posted above for them.

Lollipop shows more end-user comprehensible output in comparison to its predecessors,

```
In-memory daily stats
  timeRange="8/29/2015, 8:34 AM â 8/30/2015, 1:41 AM"
    packages
      package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM"
      package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM"
      package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM"
...
...
events
      time="8/30/2015, 1:34 AM" type=MOVE_TO_BACKGROUND package=com.android.deskclock class=com.android.deskclock.DeskClock
      time="8/30/2015, 1:34 AM" type=MOVE_TO_FOREGROUND package=com.android.dialer class=com.android.incallui.InCallActivity
      time="8/30/2015, 1:34 AM" type=MOVE_TO_FOREGROUND package=com.android.dialer class=com.android.dialer.DialtactsActivity
...
...
In-memory weekly stats
  timeRange="8/27/2015, 5:30 AM â 8/30/2015, 1:41 AM"
    packages
      package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM"
      package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM"
      package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM"
...
...
In-memory monthly stats
  timeRange="8/9/2015, 8:34 AM â 8/30/2015, 1:41 AM"
    packages
      package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM"
      package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM"
      package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM"
...
...
In-memory yearly stats
  timeRange="12/21/2014, 5:30 AM â 8/30/2015, 1:41 AM"
    packages
      package=com.android.documentsui totalTime="00:07" lastTime="8/30/2015, 1:35 AM"
      package=com.android.browser totalTime="00:02" lastTime="8/30/2015, 1:35 AM"
      package=com.android.camera2 totalTime="00:05" lastTime="8/30/2015, 1:37 AM"
```

Now you can browse the list to find Camera and Gallery app, and see their "last time used" value, for Lollipop, that is. Unfortunately, the info in this section wouldn't help the devices running predecessor of Lollipop, unless the device is rooted, or you find an app that can give you package statistics.

Also, in your particular case, all of this info would be helpful only if you've had not launched the Camera, Gallery, or a particular app of your interest after your friend was done using the phone, since the time-stamp for that app gets updated to the new "Last time used", for all Android versions I mentioned.

---

**The following section would work if the device is rooted.**

---

## For Jelly Bean (4.2.1) to Kitkat (4.4.2)

Android keeps a log of when an app (it's component) was last used. You can head down to `/data/system/usagestats/` using a file explorer with root access, or using .

There would be a file named `usage-history.xml` and some other files with naming convention as `usage-YYMMDD` where:

* YYYY - Year
* MM - Month
* DD - Date

E.g. `usage-20150729` is the file created on July 29, 2015.

That `.xml` is a plain XML file, so you should be able to view it in a text editor. Those `usage-YYMMDD` are `data` files (`charset=binary`) and my text editor Kate couldn't open them in human-readable form. However, `cat <FILE>` command does the job, so as the Android app QuickEdit, not completely I should add.

The basic template of entries in that `.xml` file is:

```
<pkg name="">
  <comp name="" />
  <comp name="" />
  ...
  <comp name="" />
</pkg>

```

E.g. These are the following entries for the AFWall+ app:

```
<pkg name="dev.ukanth.ufirewall">
  <comp name="dev.ukanth.ufirewall.MainActivity" lrt="1438134244890" />
  <comp name="dev.ukanth.ufirewall.widget.ToggleWidgetOldActivity" lrt="1435337932669" />
  <comp name="dev.ukanth.ufirewall.HelpActivity" lrt="1416601650972" />
  ...
</pkg>

```

The `lrt` against every component (`comp`) is the Unix time. To make it human readable, use Epoch Converter or anything that can convert Unix time into human readable time.

E.g. `1438134244890` is the Unix time when I accessed the AFWall+'s main activity (it's default view) and the converted time is `Wed, 29 Jul 2015 01:44:04 GMT`, which is correct.

As for the content in `usage-YYMMDD`, you'll see activities of the apps you visited on that day. There is no time-stamp there.

## For Lollipop

Lollipop has considerable changes in regard to usage statistics collection of an app. See official note by Google here.

The concept of `usage-history.xml` and `usage-YYMMDD` doesn't apply here. Instead, you get directories named `daily`, `monthly`, `weekly`, `yearly`. All of them has files which you guessed it right, having numeral names, nothing but Unix Time like `1440374400000`.

A typical file under `daily` has the content:

```
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<usagestats version="1" endTime="66355190">
    <packages>
        <package lastTimeActive="66153798" package="com.android.providers.media" timeActive="2974" lastEvent="2" />
        <package lastTimeActive="66329769" package="net.dinglisch.android.taskerm" timeActive="64172" lastEvent="2" />
        <package lastTimeActive="66150806" package="android" timeActive="1942" lastEvent="2" />
...
...
    <event-log>
        <event time="43080692" package="android" type="5" fs="1065353216" mcc="404" mnc="97" />
        <event time="43087204" package="com.android.launcher3" class="com.android.launcher3.Launcher" type="2" />
        <event time="43087329" package="com.android.settings" class="com.android.settings.Settings" type="1" />

```

Now this is actually the same thing that we saw in `usagestat`'s output but the timing is in its raw form. I've no idea how to understand the time here let alone convert it into human-readable form. Developers should be able to do it.

If you what it is and how to convert (*as an end-user*) then please let me know it or post an answer here.

---

# Answer
> 2 votes
If your phone is last used or if you want to find out apps which runs/connected on internet like(Browsers, Clash of Clans etc) the last used activity is recorded under the my activity in your google account. You can find that out by visiting https://myactivity.google.com and click on Android.

---
Tags: applications, history
---


# Question
Title: How to enable pip, QPython to write to Android filesystem?
I have been following this guide to install youtube-dl on my Android phone.

http://www.arulraj.net/2015/11/download-any-videos-in-android-using-youtube-dl.html

However, when downloading the videos, I get the following error.

ERROR: unable to open for writing: \[Errno 30\] Read-only file system:

How would I be able to give write permissions to the pip console of QPython so I can write to a folder on /sdcard?

Running Android Marshmallow 6.0 with root access.

# Answer
You can create conf file in /etc/youtube-dl.conf . There you can specify the output folder by default.

Please specify an output folder where you have write permissions and it will work.
> 0 votes

---
Tags: 6.0-marshmallow, file-system, python
---


# Question
Title: How to make WhatsApp store media on external SD card (instead of device storage)?
I have a lot of media files circulating between all my contacts and groups in **WhatsApp**. And all the media (images, audio, video) takes a lot of space on the device storage (internal). I have not found a way to change default storage path from internal memory to **external SD** card. Is it somehow possible for a user of no great expertise in Android to adjust it so that all the media will be automatically sent to SD card (smth like: `sdcard/WhatsApp/Media/` ).

---

I have tried to manually create the following folder on SD card:

```
sdcard/WhatsApp/Media/

```

But anyway the messenger does not see it and it creates new folders on the device storage (inspite of my removing the folder on device storage).

# Answer
> 4 votes
Unfortunately, there is no way you can do this without **root access**. If you know what is **rooting** or if you have already rooted your mobile, then follow this answer. But if you don't know, please don't consider this answer. Rooting may cause potential problem to your device if you don't know what you are doing.

1. **FolderMount**: FolderMount is an app which creates a symlink to your sdcard or anyother directory when you specify.
2. **XInternal2SD** (Xposed Module): it is an xposed module in which you can specify internal storage path. For me, I have 32gb class 10 card, so I set my card my internal using this module. So whenever I newly install an app, it will be automatically installed to my SD card. So the media files downloaded are directly download to my SD card. There are several xposed module which does the same, but I'm using this module, cause I'm comfortable with it.
3. **Link2SD**: Using Link2SD you can partition your SD card and use it as internal. If you do this, it will work as same as XInternal2SD xposed module. There are plenty of tutorials available on internet on how to use link2sd.

---

Again I'm warning you. If you don't know what is **rooting**, don't follow this answer.

---
Tags: external-sd, sd-card, whatsapp-messenger, 5.1-lollipop, media-files
---


# Question
Title: How to copy the System folder in stock ROM?
I have a Samsung Galaxy Note 3 sm-n900, i copied the 'system' folder from the root directory to my computer, i used the **JoelDroid Lollipop Batch Deodexer** to deodex my system, now i wiped my original system folder from my device using CWM recovery. How do i push the DeoDexed system folder to my device?

I need this for installing xposed framework, it requires a deodexed rom on my device. i have already tried zipping the system with a META-INF and flashing it in CWM recovey, my device never boots to samsung logo.

# Answer
Try any recovery FileManager like this one Aroma File Manager and make sure you give appropriate file permissions for the system folder..!
> 0 votes

---
Tags: 5.0-lollipop, adb, root-access, samsung
---


title: The most lightweight custom ROM?

text:
# Question
Title: The most lightweight custom ROM?
I'd like to remove the stock ROM and install a custom one. The smartphone has low operating memory - 512MB ram,so I think lightweight custom rom would be a good option. There are a lot of custom roms available but can't choose the right one,please help :)

The phone model is **Lenovo a316i**

# Answer
It is highly depend based on your phone model.. Yes as far as i know, SlimROM is minimal.. But im not sure whether it will be avilable for your phone.. Custom ROMs are not universal, it's device specific.. It is vary from device to device.. you can only flash a custom rom which is developed exclusively for your device.. you cant flash other phone's Custom rom to you.. it might lead you to hard brick your phone.. so before flash anythiong, research..!

Sorry i dont have enough reputation to post this as comment..!
> 3 votes

---
Tags: rom
---


# Question
Title: Moto G XT1039: Random reboots to bootloader with "failed to initialize partition table" message
I have a Moto G 4g (peregrine XT1039), which in every one or two days reboots to bootloader with "Fastboot reason: failed to initialize partition table", see Image(1).

In Image(2), you can also see "Device is LOCKED" on the photo, but I've unlocked it as you can see when I rebooted to bootloader manually.

(Click any image to enlarge it)

Image(1) Image(2)

I was using CM12 but tried to solve this by flashing a stock image following this thread. I also tried to solve this by replacing battery with a new one, but it didn't help. I think my device is defective, but I lost my warranty unlocking it and replacing battery.

Does someone know how to get rid of these reboots?

# Answer
I know that the thread is old but for other people it can help a lot. I had nearly the same symptoms and i found a reason why my phone dont wanted to start again. In my case it was the battery: https://forums.lenovo.com/t5/MOTO-G-MOTO-G-4G-LTE-1st-Gen/Solution-Moto-G-4g-LTE-random-shutdown-2-4-times-a-day-and-after/td-p/3446925
> 1 votes

# Answer
Many Motorola phones with an unlocked bootloader show they are locked because people flash a file to make it LOOK locked, not really sure why but many unlocking instruction tutorials online even include this as a step.

But to your core question, it sounds like your internal storage is corrupt (or worse, possibly failing), or the partition table is corrupt. You should first flash the latest factory firmware image for your specific device/region (available here) and make sure to follow the instructions **EXACTLY** including the factory resets and all sparcechunks or bricking is possible. Although it is not mentioned in the instructions on that page, it is highly recommended that you factory default before flashing the factory image.

Once the device is back in completely stock condition, try it for a couple days to see if the problems continue... if not, reflash CM... If the problem recurs, you likely have a flash module that is failing and it is not a replaceable component and it would be time to start looking for another device.
> 0 votes

---
Tags: fastboot, motorola-moto-g, bootloader, partitions
---


title: how to get screenshots for tablet

text:
# Question
Title: how to get screenshots for tablet
My game is on the google play store (beta testing). How do I get screen shots of the app running on a 7 inch and 11 inch tablet so I can put images of how the game looks in the store listing?

# Answer
> 0 votes
Capturing Screenshot

1. Install the required ADB drivers on your PC.
2. Connect your device with PC using wired or wireless ADB connection.
3. Open Terminal in Linux or Command Prompt and enter the following command.

adb shell screencap -p /sdcard/screencap.png

4. Now the captured screenshot will be placed on your internal sdcard. To copy the screenshot to your pc enter the command.

adb pull /sdcard/screencap.png

5. Now the captured screenshot will be placed on your PC

---
Tags: applications, google-play-store, screenshots
---


# Question
Title: How to bring back Wishlist option for an app which is showing as installed in playstore but not actually installed on my device?
I recently came across some apps in playstore and I want to install those apps. Since I don't have sufficient internal memory I can't install them. It says

> Error downloading app "xyz app". There is insufficient space on the device.

So I want to save those apps to my wishlist and install it later until I free up my phone's internal memory. But once I got the error message that I mentioned above the `Wishlist` icon in the Playstore app and `Add to wishlist` button in http://play.google.com are not visible for the apps that I tried to install.

Weird this is when I haven't installed the app, the web version of playstore is showing "Installed" and my mobile PlayStore app is Showing "Install" button. And the app is not listed in "My Apps" section.

*Hint:* I guess the problem will be solved once I turn the "Installed" button to "Install" button in the playstore website which in turn will bring back the "Add to wishlist" button. But how can I do that?

# Answer
When you mentioned the "app is not listed in 'My Apps' section", do you mean the 'Installed', 'My Apps' section or the 'All' 'My Apps' section?

I think they should be listed in the 'All' section, and therefore, you won't be able to add them to your wishlist because you already have them, even if they aren't installed.

If you go to the 'All' section in your Moto G and find the apps, if they are there, and then press the 'cross' icon for each one, the apps should be removed from your 'My Apps' and you will be able to add them to your wishlist. This will only work if the apps are free because trying to remove paid apps from 'My Apps' means they don't display in 'My Apps' but are essentially still there because you have paid for the apps and Google doesn't want you to discard them.

If the apps are paid, you can refund them (either using the 'Refund' button which will display near the apps for a limited time after purchase or, I assume, contacting Google). The apps will then be removed from the 'My Apps' section and you will be able to add them to your wishlist.

If the apps don't display in the 'All' or 'My Apps' section, try clearing the data and cache of the Play Store and then signing back in your phone and see if the situation changes and if it doesn't, I would ring Google support because they have the power to sort out stuff on the server-side.
> 5 votes

# Answer
-go to settings \- tap "clear local search history" \- search the app again ang wishlist option will appear
> -2 votes

---
Tags: google-play-store, 5.0-lollipop, installation, motorola-moto-g
---


# Question
Title: Lollipop: OpenVPN connects, no data. Jellybean: Connects, gets data
I have 2 Azpen tablets, one running 5.1.1, the other running 4.2.2. I have an OpenVPN server and I am able to connect and use it successfully with a variety of devices (Windows, Linux, and the 4.2.2 tablet).

On both tablets I use OpenVPN Connect.

However, with the 5.1.1 tablet, it connects, I receive 4.02 Mbytes of data, and then nothing else ever happens. Applications are unable to get any data from the network.

Something else is clearly wrong too, because when I hit Disconnect in OpenVPN Connect, it does not disconnect cleanly. It seems to hang for a few seconds, then I get a message about "threads", and the normal network connection does not come back until I power the tablet off and back on. If I try to connect again with OpenVPN before the power cycle, it hangs at the DNS step.

The OpenVPN config files on both devices are identical except for the device-specific items. I have to think there is a setting somewhere on the Lollipop tablet that I'm missing. (I'm much more familiar with the 4.2.2 tablet).

Comparing the logfiles does not shed any light. I keep coming back to a problem or setting on the tablet that I can't find.

Has anyone else had this problem and fixed it?

Note: apparently not a duplicate of Can't connect to OpenVPN properly on Lollipop

# Answer
> 0 votes
It turns out Lollipop has bugs relating to routing of VPN connections when OpenVPN is used. This reddit post gave me the clue that the problem was routing on the client side. After a lot of trial and error, by switching to OpenVPN for Android client (which gives better control over settings) I was able to set up manual routes and get it to connect and work.

---
Tags: 5.0-lollipop, openvpn
---


title: How to enable Android Ip forwarding

text:
# Question
Title: How to enable Android Ip forwarding
In linux we can,

```
# echo 1 > /proc/sys/net/ipv4/ip_forward

```

or,

```
# sysctl -w net.ipv4.ip_forward=1

```

There is no `sysctl` command nor `/proc/sys/net/ipv4/ip_forward` file in Android.
Is there an equivalent operation in Android?

# Answer
This method worked for me, I just setup android as proxy server and need enable forwarding

**Use ROOT explorer and EDIT this file:** ***/proc/sys/net/ipv4/ip\_forward***

**add this syntax:**

```
iptables -F -t filter

iptables -P FORWARD ACCEPT

```

if that file not found, try install busybox first.. but I guess that file by default is available on android system.
> 1 votes

---
Tags: iptables
---


# Question
Title: How to install python on my Android GT-P7510?
My Samsung tablet 10.1 GT-P7510 is running Android 4.0.4.

I have root access to the device.

What is the best way to install python on my device.

I have tried QPython - Python for Android however the pip console does not show any text as I type into it.

Thank you for your time in advance.

# Answer
> 0 votes
You can try SL4A. Which can help you to run python on Android. https://github.com/kuri65536/sl4a/releases/download/6.1.1/sl4a-r6.1.1-arm-debug.apk

# Answer
> -1 votes
I installed the hackers keyboard and and now I can type into the pip console which is visible.

Silly me.

---
Tags: root-access, 4.0-ice-cream-sandwich, samsung-galaxy-tab, python
---


# Question
Title: How will the US version of the Google Pixel perform in Germany?
I am a very happy Nexus 5 owner in general. However, I have noticed that my (US version) Nexus 5 does not offer LTE in Germany --- at least on Tchibo as a carrier, who resells o2 (and maybe E-Plus, I am not sure). Now I am wondering whether the (unlocked) US version of the Google Pixel will have the same problem.

GSM arena has some specs for the supported bands:

> **2G bands**
>
> GSM 850 / 900 / 1800 / 1900 CDMA 800 / 1900
>
> **3G bands**
>
> HSDPA 850 / 1700(AWS) / 1900 / 2100 - USA
>
> HSDPA 800 / 850 / 900 / 1700(AWS) / 1900 / 2100 - Global
>
> CDMA2000 1xEV-DO
>
> **4G bands**
>
> LTE band 1(2100), 2(1900), 3(1800), 4(1700/2100), 5(850), 7(2600), 8(900), 12(700), 13(700), 17(700), 18(800), 19(800), 20(800), 21(1500), 26(850), 28(700), 32(1500), 38(2600), 39(1900), 40(2300), 41(2500) - Global
>
> LTE band 1(2100), 2(1900), 3(1800), 4(1700/2100), 5(850), 7(2600), 8(900), 12(700), 13(700), 17(700), 20(800), 25(1900), 26(850), 28(700), 29(700), 30(2300), 41(2500) - USA

Yet I feel unable to judge the significance of the differences, especially in terms of which bands carriers may be deciding to use in the future.

# Answer
> 1 votes
As far as I know EU carriers use Band 20 and Band 3/7 in conjunction, one to cover the densely populated areas and another to cover the rural places. This Wikipedia page mostly supports my knowledge. Since the US variant has 3+7+20, it should work alright.

P.S. Are you buying from US to avoid the huge price bump in buying the global variant outright?

---
Tags: nexus-5, hardware, google
---


# Question
Title: How to customize android operating system of my smartphone?
I'm wondering how can I customize android operating system in my smartphone? I have LG L90 D410 smartphone. It has Android KitKat 4.4.2.

Like we customize Windows 7 (for PC) by slipstreaming it using RT Se7en Lite or nLite software. We decide which software or updates we want to add or remove to/from the installation disc (iso file). Similarly we have nokia theme studio s40 for customizing symbian s40 nokia phones.

In the same way, do we have any Windows based software which can customize/configure Android operating system so that I can decide what apps will be bundled in the KitKat and what built-in apps (unnecessary factory apps) that I no longer need can be removed to save space and avoid cluttering. Is there any GUI based software available in the market which can enable us to tweak the android phone the way I want and put full hold on it?

**EDIT**

Ok guys; I am willing to root my phone from very beginning but don't know how and where to start on. My phone's warranty has already been expired so no need to worry about it. But you didn't tell me about any software or appropriate article though which I can start the process. I already knew the phone needs to be rooted before any tweaking. But how to and what's next. Any subject oriented stackexchange post will be very helpful too.

# Answer
Check out this XDA Developers subforum: http://forum.xda-developers.com/lg-l90

That's the general discussion forum for your phone, and you can find lots of fun stuff there including mods, themes, guides to root and do other things, custom ROMs, kernels, and more. If you want to play with or change your operating system or its features in any way, XDA is the place to keep a lookout in. But make sure you read posts **thoroughly** to make sure that you know what you're doing and so that you don't end up breaking or bricking your phone.

As for your specific request, this thread in the L90 forums will get your phone rooted quick and easy as long as you follow the instructions well. Make sure you get ADB and download all the files prior to starting the process, and also, please don't jump into it without *making a backup*.

Good luck!
> 2 votes

# Answer
Unless you've rooted your device,you can't absolutely remove built-in apps on your android phones,but you can simply disable them through settings\>apps.
> 0 votes

# Answer
No, you can't remove the stock apps from your phone, you'll have to root it first.

But when you do, you'll be able to not only remove apps you don't want or need, but even always use the newest Android version (even if it isn't even officially supported from your device), install new, custom operating systems and much more like restricting permissions from apps you don't want to give them but still use them. I'd recommend it to you, although many manufacturers don't like that and void the warranty if you root your phone.

How exactly to do that is device-specific, you'll have to do some googling. And, if you decide to root, *always* make a full backup first! This way if you accidentally break anything, you'll be on the save side.
> 0 votes

---
Tags: 4.4-kitkat
---


# Question
Title: How to use your voice to add items to a shopping list?
With iOS Siri, you can say "Add tomatoes to my shopping list" and it will add it to a list titled "Shopping List" in the "Notes" app, easy.

In Android, using S Voice or Google Voice, if you say "Add tomatoes to my shopping list" it will google that, which is unhelpful.

Ideally there should be a way to add items to lists generically in Google Now. Is there such a workflow?

I am aware Grocery IQ app has Voice entry, but then the workflow is tedious: Hold a button, say OK google, say Open Grocery IQ, then tap a mic, then Say tomatoes.

# Answer
You can now say "Ok Google" followed by "Add Chicken to my Shopping List" via Google voice recognition app. See a list of Google now voice commands here.
> 1 votes

# Answer
One idea is to use notes on the front home screen that is easy-access.
> 0 votes

---
Tags: google-now, to-do-list, s-voice
---


# Question
Title: How to update Galaxy S4 GT-I9505 from Lollipop to Nougat Android 7.0 version?
How to update the Galaxy S4 GT-I9505 from Android 5.0 Lollipop to Android 7.0 Nougat (without Root)? Currently not getting or not showing any updates either with Software Update or from Samsung Smart Switch/Samsung Kies in Galaxy S4 device.

Additionally, I do not see Android 7.0 Nougat version updates in SamMobile website with respective to the firmware.

# Answer
> 0 votes
It's simply not available, and likely will not be due to S4's age (3+ years - most manufacturers won't support beyond 2). See how it doesn't even get Marshmallow yet?

There is much 3rd-party development for the device, however, and an AOSP-based Nougat ROM is available. You do need to dive into the world of flashing custom ROMs (\*) which could take some time, there will be bugs in the beginning, and you will lose many Samsung-specific features should you decide to do the switch, but it's the only way out if you want to stay on the cutting edge.

\*: On Samsung devices, flashing a custom ROM usually doesn't require root, but custom ROMs often come with root.

---
Tags: 5.0-lollipop, samsung-galaxy-s-4, 7.0-nougat
---


title: What is the regular Nexus 5X autonomy?

text:
# Question
Title: What is the regular Nexus 5X autonomy?
I bought a Google Nexus 5X a week ago, and I'm surprised by the autonomy. Being 100% charged at 9:00 AM, at ~7:00 PM the battery is empty. I use about an hour of Spotify a day and Facebook & Messenger are installed.

I run on a Android 6.0.1 that seems to be fully updated.

I can give it back to my reseller, but it is really an anomaly ?

# Answer
OH Facebook and messenger theirs your battery killers. plus anything using the net will kill it. i charge my 5X and im good for 3 days. I dont play games but i use it for some web browsing well away from home. also i listen to music on the device which dont eat the battery as bad
> 1 votes

# Answer
For people who were wondering, after a product replacement and a few weeks of use, I had about 12 hours of autonomy with a regular use (without Facebook app but with Facebook Messenger).

Then, I installed the Android Nougat update in the same phone, and I now have about 1.5-2 days of the same use ! The autonomy is almost doubled.

It seems to be really dependant of the software optimization and the usage.
> 0 votes

---
Tags: battery-life, nexus-5x
---


# Question
Title: After update, car radio stopped playing audio through USB from my Samsung S5 using AOA
I've bought a Pioneer radio for my car that supports Android Open Acessory (AOA) 2.0. I was happily living with it playing my music through the USB cable to my Galaxy S5 phone. High quality connection and charging at the same time. Just one cable. It was great.

To configure it, it was just necessary to select the correct USB connection type (MTP, if I remember well).

Now here comes an update to Android 6.0 and everything stopped working. It still charges, but I can't make the music go through the car speakers. The USB options now are inside the developer mode. I've tried all the options, but can't make the music go through the USB cable.

My old Moto G, with Android 5.1, successfully connects and plays through the USB cable.

Any fix, workaround, or help to debug is appreciated.

# Answer
The problem is that I was using an app called SoundAbout that automatically routes the audio output. I've installed the app to use in a car that I rented and forgot about it. It is a nice app, but gives no notification that it is in use. Just had to uninstall it and everything worked fine.
> 2 votes

---
Tags: 6.0-marshmallow, audio, android-open-accessory
---


# Question
Title: Honor 6 missing OTA upgrade to android 6
I recently bought an Honor 6 (specifically the H60-L04 model) which I took from android 4.4 to 5.1 (firmware H60-L04C900B521) using the updater app, all went smoothly.

However, searching around, It would seem that android 6 update has been released in May as a downloadable firmware, and OTA update should have been out by June; yet, if I open the updater app, it says that my phone is already at last version.

So my question is threefold:

1. Is this because the OTA update isn't out yet, or because my phone is not compatible?
2. Is it safe to upgrade using the downloadable firmware? The procedure seems easy enough
3. Will such an upgrade reset my phone, or will it keep the data?

# Answer
> 2 votes
> Is this because the OTA update isn't out yet, or because my phone is not compatible?

Honor 6 user till few months ago. Honor 6 upgrades are a terrible mess:

* They are released region specific, example, India, Malaysia, Russia with the Chinese one completely different.
* Performance / Stability varies from region to region
* AFAIK except for Chinese, they're wasn't an OTA to start with. For Indian market the upgrade was available on their Facebook and then on their website and about two months later, OTA was released and that too had teething problems
* Company preferred mode of informing users is on their Facebook page , so you would need to check out there
* Downgrading is not straightforward and you have to risk that

So, coming to your specific question, it looks like OTA had not been released .

> Is it safe to upgrade using the downloadable firmware? The procedure seems easy enough

You can use update file but make sure you research user feedback because of downgrade issues. With the Indian version there were issues with battery life, missing functionalities, and random bootloops

> Will such an upgrade reset my phone, or will it keep the data?

If it is not OTA, you lose data

---
Tags: updates, 6.0-marshmallow, ota-update, huawei-honor-6
---


# Question
Title: how to send to special number in the new hangouts
before the update I can send messages to number like "2200" no problem but since the update hangouts instantly adds +63 to the numbers and now I can send sms to it and it doesn't even let me compose a new sms for that number.. please help I love using hang outs as my default sms messenger so please help me..

# Answer
You to access Hangouts from the website version https://hangouts.google.com/ and then input the number that you want to send a text to once the conversation is created you can access the conversation from your phone.
> 0 votes

---
Tags: sms, google-hangouts
---


title: Error 927 while updating YouTube

text:
# Question
Title: Error 927 while updating YouTube
I am suddenly getting Error 927 while updating the YouTube App from Official Google Play Store on my Android device.

Android version: 4.2 and Device name: Micromax Canvas 4

I am using 2G Internet connection and the network coverage is sub-optimal. I am using the same device since last 2 years and never saw this issue in past. Also, this issue I am seeing coming only for Updating YouTube App.

For other App's update, there is no problem.

**EDIT: When I tried updating YouTube App using Wi-Fi it worked!! So it seems like Network issue**

# Answer
**Method 1 :**

Go to `Settings -> Applications` and find Google Play. Then \> `Clear Cache`.

or

**Method 2 :**

Go to `Settings > Accounts > Google and remove your google account`. Then add it back to the device and ***try redownload*** or ***reupdate*** the App. If it doesn't work and the error is still there give it some time. It'll likely clear itself out and you'll be able to download the App later.

Sources and other Links :

Error 927 Google Play (Xda forum)

Error 927 Google playstore (androidcentral)

Android Fix: Error 927 while downloading or updating apps in Google Play Store

Different Ways To Get Rid Of Error 927 In Android
> 2 votes

# Answer
Go to Settings \> Accounts \> Google and remove your google account. Then add it back to the device and try redownload or reupdate the App.

Also Check for Phone Memory it might be full due to unwanted applications installed.

Source :- Fix Error 927
> 0 votes

---
Tags: google-play-store, updates, youtube
---


# Question
Title: How to import large files to google drive from a public google drive shares without downloading?
I need to import that file to google drive.

The problem is I can t download it right now, and the file will probably be deleted in few hours as marshmallow for galaxy tab S is out.

# Answer
Just click on Add to my drive. Download it whenever you are free.
> 0 votes

# Answer
I dont think its possible using the Drive app but. If you are using a browser there is a link **copy url to google drive**.
> 0 votes

---
Tags: google-drive, samsung-galaxy-tab-s-10.5
---


# Question
Title: How can I get my contacts back from my Google account
I had saved my contacts to my Google account in my old phone. I signed in with my google account in my new mobile. The contacts were visible for around 5 minutes but they disappeared later.

Does this have to do with the person who has my old phone?

# Answer
Did you do a factory reset on your old phone? Sign in to your google account and verify that the contacts are still there.

https://contacts.google.com/preview/all
> 0 votes

---
Tags: contacts, google-account
---


title: Debug android Device

text:
# Question
Title: Debug android Device
I have a problem with many of my android devices,I figured out that my devices micro usb is easy to damage ( sad reality) so when I try to debug returns for me an empty List of devices attached,

My question is so how i can debug my devices now with a damaged micro usb ?

Knowing that my devices have an ethernet port + usb standard port.

Thanks for your support.

# Answer
ADB is able to work over Wi-Fi, but it needs to be enabled on the Android device first. Usually this is done by using command `adb tcpip 5555` while the phone is plugged in via USB. However if the USB port is damaged, you will need to be rooted to enable the wireless adb mode.

If your phone is rooted, connect it to the same Wi-Fi network as your PC, install a Terminal Emulator app, open it and run the following commands:

```
su

```

Accept the prompt to allow access,

```
setprop service.adb.tcp.port 5555
stop adbd
start adbd

```

If the above succeeded, you should then be able to connect from your PC by using command `adb connect <IP of your phone here>`, for example `adb connect 192.168.1.100`. If successful, you should be able to continue debugging.
> 0 votes

---
Tags: adb, usb
---


title: Cannot install ffmpeg with Termux

text:
# Question
Title: Cannot install ffmpeg with Termux
Why do I get a `404 Not Found [IP: 104.18.36.234 80]` after attempting to install `ffmpeg`?

```
 # apt-install ffmpeg
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
      libbz2 libopus libx264 xvidcore
    The following NEW packages will be installed:
      ffmpeg libbz2 libopus libx264 xvidcore
    0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
    Need to get 5595 kB/6094 kB of archives.
    After this operation, 19.3 MB of additional disk space will be used.
    Do you want to continue? [Y/n] Err:1 http://termux.net stable/main arm ffmpeg arm 3.1.3-1
      404  Not Found [IP: 104.18.36.234 80]

```

The ip can be reached with `ping` and with a browser (link)

It is written `Direct IP access not allowed` is displayed on the page but that is normal since only `apt` from `Termux` may be allowed.

# Answer
Termux requires frequent update: `apt update`
> 1 votes

---
Tags: applications, installation, terminal, ffmpeg
---


# Question
Title: Google Timer :: what is "one raised to one"?
I only recently needed to use Google Timer and I was surprised to see this (highlighted in screenshot) and couldn't find any explanation in Timer Help nor in Android developers

Google search didn't help ( admittedly not deep). It sounds dumb but what is this *1 raised to 1* and how to use it ?

Moto X Play, 6.0.1

# Answer
The button `+1'` will add 1 minute to the timer. It's a convenience function to extend the timer so that you don't have to stop the timer, add a little bit of time, then restart it.

I am not aware of any way to change the extension value. If you want to make drastic changes to the timer running, it's easier to stop the timer and start a new one with a different value. Otherwise, you are constrained by adding 1 minute at a time.
> 3 votes

---
Tags: google
---


title: What is Google Partner Setup?

text:
# Question
Title: What is Google Partner Setup?
What does the `Google Partner Setup` app that is pre-installed on almost every Android device actually do?

Why does it need each of those intrusive permissions, especially the `Phone` permission?

Why does it want internet access, and what data is it transmitting or receiving?

# Answer
Google Partner Setup is an app that helps you run applications in conjunction with Google products. For example, with this application's help, you can use the calendar from your device with a ToDo app that you've just installed.

As for the intrusive permissions, you are right. I don't understand why it needs all those permissions, if all it does is interface with other Google products. This software cannot be downloaded or deleted because it comes with certain hardware.

I am not sure, what the result of deleting this app (on rooted device) could be. I have just greenified this app on my android tablet, I'll report back if I face any issues.

Source: http://answers.informer.com/68993/what-does-google-partner-setup-for-do-i-need-it-on-my-phone
> 9 votes

---
Tags: security, google, permissions, privacy, google-apps
---


# Question
Title: How do I turn off the customized Xiaomi menu on the Mi Box?
The Xiaomi Mi Box has a pretty stock AndroidTV experience, except they have a custom section with all their recommended apps. How can I remove these customized apps from the home screen?

# Answer
> 4 votes
You can go to Settings -\> Apps, then go to the very end of the "System Apps" row, then disable XiamioLeanbackCustomizer.

You then need to reboot the device (or force quit each app) so that the applications populating the recommendations menu can reload.

---
Tags: xiaomi, android-tv
---


# Question
Title: Why can a new battery suddenly drop its charge?
I've been using my Lenovo A328 for less than a year, when its battery started suddenly dropping its charge from ~80% to 15%, then even to 3% and less and the phone switched off. I've now replaced the battery, but after several charge/discharge cycles it started to behave very similarly. Here's its typical charge history:

Click to Enlarge

Since the battery has been replaced very recently, I conclude that it's not the battery's fault. But what else can be the reason? The phone lies in my pocket most of the time, and I occasionally take it to make some calls or use GPS or WiFi. It doesn't seem to be a heavy use, and even if it were, I'd expect battery meter to show a smoother charge curve.

Can it be an OS fault (but I did upgrade firmware to latest version, without any difference)? Or does my device need to be repaired?

# Answer
There are three things at play :

* IC in the battery that communicates battery parameters to the OS - not a culprit since you changed the battery recently
* Hardware issue- unlikely, since you report it happening at random battery percentage values
* Drivers in the OS, that read the values from the battery and amongst other things, display the battery percentage. This seems to be the culprit as you can see from the complaints in Lenovo forum. First post goes in length and after detailed investigation points the conclusion that the battery is fine but the problem lies with OS - system not showing the real amount of energy the battery still has, the reported values are much lower than actual leading to the device being shut down for prolonging battery life ( *deep discharge* is bad for Li Ion batteries)

This problem ideally should have been ruled out after firmware upgrade, but if the upgrade did not address the root cause ( as is evident from multiple complaints), firmware upgrade didn't help.

I guess you can complain to the company and add your voice in the forum
> 1 votes

# Answer
I don't know what version of Android you are running but if I click 'Battery' and then the picture of the battery I can see exactly what has been using my battery. (I found leaving a dictionary application open even after pressing the power off button really drained the battery.)

Charging hardware could also be a problem. Are you sure it isn't your charger? (They do stop working.) Alternatively, is there a problem inside your phone?
> 0 votes

---
Tags: battery-life
---


# Question
Title: Galaxy S7 stopped working - Want to retrieve files
I have a Galaxy S7 whose screen died. I can connect the phone to a PC using a USB cable, and the PC recognizes the device. However, since the device is in "USB Charge" mode, I cannot access the directory structure on the phone to access files.

Is there a way to send a command to the phone via USB cable to change the settings?

If I can change the USB settings, I will be able to see the phone's file structure, and I will be able to retrieve pictures on the phone. (I do not have any extra storage card on the phone.)

Thanks! Jon

# Answer
The screen is black. Nothing on the screen. There is no sign of life whatsoever, other than when I plug a USB cable in and connect it to a computer, the computer does recognize that there is a device connected and installs the drivers. Thanks for your inquiry and interest in helping out!

Jon
> 0 votes

---
Tags: data-recovery
---


title: LG treasure: phone performance issues

text:
# Question
Title: LG treasure: phone performance issues
My phone (1 month old) suddenly takes forever, if at all to browse internet. I haven't downloaded anything and scanned for virus, but nothing shows up. Honestly starting to think LG is scamming the public into buying new phones every month. Any ideas?

# Answer
> 0 votes
This is ridiculous, no mobile company wants your to buy a mobile every month. I assume your phone is *LG treasure L51AL*

Your phone stats are

> Qualcomm® Snapdragon™ 1.1 GHz Quad-Core MSM8909;
>
> Internal Memory: 8 GB (up to 2.87 GB usable)
>
> I was unable to find your Mobile's RAM; please provide that

1. Shut down your phone and restart.
2. Do you close your applications after use or do you minimize them?
3. Download "clean master" and clean your mobile; it gets rid of unnecessary caches and other stuff.
4. Are you sure that there aren't any third party app which has come with the phone?

You processor isn't very good; its 1.1GHz and Quad-Core; so your phone would be relatively not fast. Your storage space is also very little; make sure it isn't almost full, as that could cause your mobile's performance to decrease.

---
Tags: lg
---


# Question
Title: (Marshmallow) Microphone stops working randomly in Viber, Skype etc
Every once in a while, the microphone on my S7 Edge (running Android 6.0.1) stops working, which I notice when someone calls on the phone/Viber/Skype, and the other side cannot hear me whereas I hear them. Rebooting always fixes it, but is still very annoying nonetheless. Has anyone noticed this and found a workaround? many thanks..

# Answer
> 0 votes
OK so I accidentally stumbled upon the solution: The problem is caused by the Total Recorder app.

---
Tags: 6.0-marshmallow, microphone
---


# Question
Title: Installed CWM/TWRP but it isn't installed when booting to recovery mode
I have an LG G2-D800 running 4.4.2 KitKat and it is rooted using an app called Stump Root. I have been trying to flash a new ROM onto it and every time it boots into recovery, it boots into the android recovery, even though I have flashed it using Clockwork Mod and TWRP Manager. Can anyone help with this and suggest good ROMs to flash to it?

# Answer
> 6 votes
Some stock ROM's may replace the custom recovery with the stock recovery. To solve it you should install the custom recovery with `fastboot` and reboot to recovery and don't reboot to system. That will prevent the stock ROM from replacing the custom recovery.

# Answer
> 3 votes
Its because stock roms come with their own recovery. That will always replace custom recovery. To prevent this, whenever you download a rom, open its tar or zip or whatever format is there with winrar and delete the recovery image inside it (if its zip file, then open it and go to system/etc and delete "recovery.img" and if its tar file, again open it and delete the recovery.img or any file with similar name. Keyword here is `recovery`).

The next step is to edit out the scripts so it doesnt give error on missing recovery image. For zip file, the android flash script is inside META-INF/com/google/android/ and you need to edit the file "updater-script". Now various rom builders use various methods to flash recovery using script, so there isnt any specific way really, but look for any line that resembles something that means "copy/flash recovery.img" and delete that line. For ex in one of the roms I downloaded, recovery was flashed using this command-\>

```
package_extract_file("system/etc/recovery.img", "/dev/block/platform/msm_sdcc.1/by-name/recovery")

```

You can clearly see that its extracting recovery image to some location, so delete this line. Then save file inside zip and flash it. Your recovery wont be changed.

For roms in tar or any other format, it should normally be some batch file which carries flash instructions. Again, open it and remove line corresponding to flash recovery.

This may sound haphazard, but try it first before deciding difficulty, its relatively easy ;) All you need to do is just edit the script that controls flashing.

One more thing, if you have lost your recovery, you can flash it using `fastboot`. First, follow guide here to set up adb and fastboot. Next, connect phone to pc with usb debugging enabled. Then open command prompt and enter these commands-\>

```
fastboot erase recovery
fastboot flash recovery PathToRecoveryFileAndItsName.img

```

For ex if my recovery file lies in D:/Recovery folder, then I would use-\>

```
fastboot flash recovery D:/Recovery/TWRPblabla.img

```

Good luck and hope this helps.

Here's more detail on how to deal with this in case of stock roms:

**HOW TO PREVENT STOCK ROM FROM OVERWRITING RECOVERY:**

In stock roms, the general procedure used is to put in a recovery image file. For ex if you open a stock rom archive in winrar, you will see some image file with name and extension similar to "recovery.img". This is stock recovery, you delete this file. Now similarly, we need to edit flash scripts so it doesnt go berserk on not finding recovery image. It actually depends how stock rom is flashed (or rather what method it uses). Some need individual parts flashing (system is flashed separately and recovery is flashed separately and boot or kernel separately, like in samsungs). In this case you can simply skip step for flashing recovery and no script editing is needed. But if its using some script (like nexus stock roms have a batch file script), you will have to edit that script. Its usually batchfile. Open the file in notepad and remove the lines that lead to recovery flashing. To help you identify these lines, look for words like `recovery` or `recovery.img` since it actually depends on how stock rom flash script is made. For ex in my nexus 4. the stock rom I downloaded flashed recovery using fastboot as-\>

```
fastboot erase recovery
fastboot flash recovery recovery.img

```

Here, as you can see its actually first erasing my recovery, we dont want that either. So I remove these two lines. First, to prevent it from erasing my already inserted recovery, second to prevent it from flashing and over-riding my recovery with a new one. So you must also look out for such lines that may overwrite the recovery. As I said, you can simply search for keyword `recovery` in script if you are having difficulty in finding such line.

# Answer
> 2 votes
There is an easy step... I used it to boot in to rec on my N910g (note4) 1 .flash the custom rec using odin (it was TWRP 2.8.7.0 for me)

2. As soon as the device restarts after flashing press and hold menue button and volume up button (this should be so quick, u have to press buttons as quick as the screen get Black screen) repeat the steps it will work.(remember to flash the rec again and again when u repeat steps

:D

# Answer
> 0 votes
Hello i just had a personal experience with my Asus zenfone selfie Z00T Stock recovery kept replacing TWRP. (Boot loader already unlocked)

This is how i got around it i downloaded the latest TWRP for my device and placed directly in minimal adb and fastboot app folder then i renamed it to recovery .

then i put my device in fastboot mode using the buttons on the phone and After i ran minimal adb and fastboot app as admin then i typed fastboot flash recovery recovery.img

once done i then i typed fastboot boot recovery.img. and my phone booted to twrp recovery then i selected reboot recovery directly on my phone and to finish reboot system (still in twrp) that's it.

(OEM commands to boot from fastboot to recovery do not work on some devices )

it only worked for me eventually because i downloaded the latest TWRP from the official TWRP website.

The idea is to flash the custom recovery and then booting from the custom recovery.img that you just used to flash (the one still on the pc) using minimal adb and fastboot app.

IT may not work on all devices as the commands may change from one device to another but the idea stays the same. (example for nexus fastboot -c "lge.kcal=0|0|0|x" boot recovery.img)

I hope this will help some people out.

---
Tags: clockworkmod-recovery, twrp
---


# Question
Title: Did the meaning of „Protection Level: signature“ change with Android 6?
The Developer documentation writes on the protection level "signature":

> A permission that the system grants only if the requesting application is signed with the same certificate as the application that declared the permission. If the certificates match, the system automatically grants the permission without notifying the user or asking for the user's explicit approval.

This was as I always knew it. But it seems to somehow contradict what the same documentation writes about WRITE\_SETTINGS, which is marked as "Protection level: signature":

> If the app targets API level 23 or higher, the app user must explicitly grant this permission to the app through a permission management screen.

Does that mean the behavior towards this has changed with Marshmallow – and a non-system app using a different signature can still access functionality covered by it, provided the user agrees? Also, with the new "mentality" of automatically granting permissions of a group where the user already has another permission granted: is this permission also granted automatically then (like with all permissions of the protection level "dangerous") – or is the difference here that it always requires the user's agreement, no matter what?

---

**Note 1:** there were a lot of changes towards how permissions are dealt with in Android 6+. To not make a "too broad" question, I've tried to split it up; so for the other parts, please also see: Permission system changes with Android 6.0: What are the implications for us users? and Android 6+ and account permissions: where have they gone to?

**Note 2:** This definitely *is* of relevance to the end user, as it's about his/her data – and cross-checking permissions for possible implications should be part of the installation or rather app selection process. I'm *not* asking from the perspective of a developer on how to deal with that when writing an app (though that might be interesting at well ;)

# Answer
No, the meaning of protection level of "signature" is not changed in Android 6.

We can 'git blame' the file PackageManagerService.java and check function grantSignaturePermission. The basic logic didn't change since Android Lollipop. The following logic was added in Android 6:

```
    if (!allowed && (bp.protectionLevel
            & PermissionInfo.PROTECTION_FLAG_PRE23) != 0
            && pkg.applicationInfo.targetSdkVersion < Build.VERSION_CODES.M) {
        // If this was a previously normal/dangerous permission that got moved
        // to a system permission as part of the runtime permission redesign, then
        // we still want to blindly grant it to old apps.
        allowed = true;
    }
    if (!allowed && (bp.protectionLevel & PermissionInfo.PROTECTION_FLAG_INSTALLER) != 0
            && pkg.packageName.equals(mRequiredInstallerPackage)) {
        // If this permission is to be granted to the system installer and
        // this app is an installer, then it gets the permission.
        allowed = true;
    }
    if (!allowed && (bp.protectionLevel & PermissionInfo.PROTECTION_FLAG_VERIFIER) != 0
            && pkg.packageName.equals(mRequiredVerifierPackage)) {
        // If this permission is to be granted to the system verifier and
        // this app is a verifier, then it gets the permission.
        allowed = true;
    }
    if (!allowed && (bp.protectionLevel
            & PermissionInfo.PROTECTION_FLAG_PREINSTALLED) != 0
            && isSystemApp(pkg)) {
        // Any pre-installed system app is allowed to get this permission.
        allowed = true;
    }

```

From the above code, we can see,

* if the permission is specified with "signature|pre23" and the app target sdk version is less then 23, it will get this permission, because this permission was moved to system permission in Android 6.
* if the permission is specified with "signature|preinstalled" and the app is pre-installed system app, it will get the permission
* if the permission is specified with "signature|installer" or "signature|verifier" and the app is installer and verifier, it will get the permission.

**Conclusion**: the signature protection level didn't change its meaning in Android 6. If a permission has signature protection level with other flag, such as pre23, preinstalled, intaller or verifier, it has new meanings.

---

The following explains the confusion about WRITE\_SETTING permission in the question:

The documentation on WRITE\_SETTING is incorrect about protection level. If you look at the Android source code at frameworks/base/core/res/AndroidManifest.xml:

```
 <permission android:name="android.permission.WRITE_SETTINGS"
        android:label="@string/permlab_writeSettings"
        android:description="@string/permdesc_writeSettings"
        android:protectionLevel="signature|preinstalled|appop|pre23" />

```

you can see the protection level is **signature|preinstalled|appop|pre23**.

A non-system app using a different signature can access functionality because of the protection level of **appop**, which means the user can choose if this permission is on or off.
> 2 votes

# Answer
SHORT ANSWER
YES

---

LONG ANSWER from permission documentations

Permission groups

All dangerous Android system permissions belong to permission groups. If the device is running Android 6.0 (API level 23) and the app's targetSdkVersion is 23 or higher, the following system behavior applies when your app requests a dangerous permission:

If an app requests a dangerous permission listed in its manifest, and the app does not currently have any permissions in the permission group, the system shows a dialog box to the user describing the permission group that the app wants access to. The dialog box does not describe the specific permission within that group. For example, if an app requests the READ\_CONTACTS permission, the system dialog box just says the app needs access to the device's contacts. If the user grants approval, the system gives the app just the permission it requested.If an app requests a dangerous permission listed in its manifest, and the app already has another dangerous permission in the same permission group, the system immediately grants the permission without any interaction with the user. For example, if an app had previously requested and been granted the READ\_CONTACTS permission, and it then requests WRITE\_CONTACTS, the system immediately grants that permission.

---

Please Watch This About 23+ Practices
BEST PRACTICES AND CHANGES FOR API 23 +
> 0 votes

---
Tags: 6.0-marshmallow, permissions, 7.0-nougat
---


# Question
Title: send fake accelerometer or multitouch signal to an application on Android x86
I have this challenge: I use proto.io to make demos of application I will develop, but this time I have to run it on a PC running Androidx86, connected to a touchscreen (no multitouch). Proto.io requires at startup to tap the screen with 3 fingers or to shake the device, obiouvsly I cannot do both as the PC don't have an accelerometer. Is there any way to send a fake shake or multitouch to the app? I have already contacted the support team of proto.io, but they confirmed that right now there is no other way to start the application.. Any idea?

# Answer
Solved, this can be done using app WIFI ADB - Debug Over Air installed in the device, after establishing a connection sending the command

> adb shell input keyevent 82

to shake the device. Another solution I found was using app Tasker to send a shake.
> 0 votes

---
Tags: sensors
---


# Question
Title: Location for custom Ringtones/Alarms/Notifications that hides them from Play Music?
There seems to be a lot of misinformation about the proper location and format for custom Ringtones, Notifications, and Alarms in Android and I'm wondering what is correct.

I've read that the path could be any one of the following:

* /sdcard/Ringtones/
* /sdcard/ringtones/
* /sdcard/media/Ringtones/
* /sdcard/media/ringtones/
* /sdcard/media/audio/Ringtones/
* /sdcard/media/audio/ringtones/
* /sdcard/Notifications/
* /sdcard/notifications/
* /sdcard/media/Notifications/
* /sdcard/media/notifications/
* /sdcard/media/audio/Notifications/
* /sdcard/media/audio/notifications/
* /sdcard/Alarms/
* /sdcard/alarms/
* /sdcard/media/Alarms/
* /sdcard/media/alarms/
* /sdcard/media/audio/Alarms/
* /sdcard/media/audio/alarms/

Any of the Ringtone and Notification paths seem to work but nothing seems to work for Alarms.

Regardless of where the files are, Google Play Music still adds them to it's library unless a .nomedia file exists. The .nomedia file however hides the files from the Ringtone and Notification lists.

Is there a correct location for the 3 media types that will make them show in their respective lists and hide them from Google Play Music?

I'm running Lollipop 5.1.1 on an unrooted Nexus 4.

# Answer
Just create a new folder/directory in internal storage of your phone with name 'Notifications' and place all your notification tones that you have downloaded in this folder.

Finally go to settings \> sound \> notifications \> you'll find your tones there, select and enjoy.
> 2 votes

# Answer
All of my ringtone and notification files are on my external SD card and don't show up in Google Play Music:

/extSdCard/Notifications
/extSdCard/Ringtones

Also, on my Galaxy S3 my alarm uses the Ringtones for alarm sounds.
> 0 votes

# Answer
I converted some of my ringtones and notifications to **.ogg** and **.m4a** format and stored in ***media/audio/ringtones*** now the music player not listing them in library. I think this will also work in your case.
> 0 votes

---
Tags: notifications, google-play-music, alarm, ringtone
---


# Question
Title: Voice messages won't play through headphones (messenger)
I have the following problem: since yesterday in facebook messenger whenever someone sends me a voice message, I plug my headphones in and play it, but for some reason the sound comes from the speaker. Before it used to play through the headphones without problems.

I noticed that when I press the volume keys, it says the sound is identified as "sounds during conversation", which wasn't the case before. Before it came as "medias". This makes me believe the phone thinks I somehow told it to go through the loudspeaker as in normal phone conversations.

I'm using a Samsung Galaxy J5 by the way. Thanks in advance!

# Answer
This has been happening to me as well. I Googled the issue and it turn out, that it may just be messenger's update. It started playing through my speakers after I updated, but my friend hasn't updated his and he can hear them through his headphones just fine. Your phone isn't to blame- it's just messenger's faulty update.
> 1 votes

# Answer
SoundAbout (or Pro) helps.

Note: As of now, given the reviews on the Play Store the Pro version merely buys the license but doesn't install the base app (which is no longer available in Play Store), so buying it wouldn't be of any use.
> 0 votes

---
Tags: audio, headphones, voice-message
---


# Question
Title: How to update Google Play Services without having a Google account?
I have installed an app which apparently requires a newer version of Google Play Services. How can I upgrade these services to a newer version without having a Google account?

This is on Android 4.4.2.

# Answer
You will need to goto a 3rd party website that hosts Google apps and download the newest (for your device) version. The one I use is http://gappsandroid.blogspot.com/, you can download EVERY single Official Google app.
> 5 votes

# Answer
You could use OpenGApps. I believe it is sanctioned by Google and allows you to easily select a version for your device architecture and Android version, customizing the package by which apps/services you want.

Once downloaded, you can flash the package via recovery. It is also possible to extract the apps for a manual upgrade; see my answer here for details.
> 1 votes

---
Tags: updates, google-account, google-play-services
---


# Question
Title: How do I know which version of Google Play Services to update to?
I have an Android 5.1 system on a Doogee X5 phone, but this question is a bit more general.

Suppose I want to update my "Google Play Services" manually, without having a Google Account of any kind. This question tells me where to go to get the APK, but - how can I tell which APK I need? Wouldn't there be different APKs for different versions of Android, and possibly different vendors (who may provide modified Android versions)?

# Answer
> 2 votes
You could use OpenGApps. I believe it is sanctioned by Google and allows you to easily select the latest version for your device architecture and Android version, customizing the package by which apps/services you want.

The Doogee X5 has a MTK6735 chip, which is 64-bit ARM. So you should select the ARM64 platform version and 5.1 Android version, and then decide which app package you want from there. Once downloaded, you can flash it via Recovery (recommended).

It is also possible to extract the apps for a manual upgrade. I just tried it this way on OSX (should also work on Linux):

1. Extract your downloaded zip file (to, for example, `~/gapps`)
2. Run the following commands:

```
cd ~/gapps/Core
lzip -d *.lz
find . -name *.tar | while read line; do tar -xvf $line; done

```
3. You'll now have some folders with the APK files. The ones of interest to you are probably:

```
gmscore-arm64/nodpi/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
gsfcore-all/nodpi/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk

```

---
Tags: updates, apk, google-play-services
---


# Question
Title: Using fingerprint lock, forgot password, phone is locked and already at 60 minutes
I have Samsung Galaxy S7 Edge with a fingerprint lock and password as the backup. I forgot the password for backup and there is no way of getting on my phone. When I use fingerprint, it asks for the password when nothing is wrong with my fingerprint. It doesn't show a forgotten password to click when I have many failed attempts. Already at 60 minutes and it keeps getting higher.

I have already tried Android Device Manager and found my mobile and Dr. Fone which I have to enable USB debugging, but I can't do it because the phone is locked. I use Android Device Manager, it says it won't set a new password because one is already set.

I don't want to factory reset because I don't have it backed up since about 3 weeks and it doesn't back up everything, it only backs up like messages and other unnecessary things I think.

I really don't understand why it asks for a password when my fingerprint is absolutely fine. Is there any way to unlock the device?

# Answer
> 2 votes
This is a security feature of Android: it will occasionally ask for the password after being unlocked with a fingerprint (presumably in case someone steals your phone and cuts your finger off, or I don’t know why). That’s just how it works. Fingerprint is only a convenience, you really have to remember the password.

According to Google, your only option is to hard reset the phone and start it all over.

I would not be so worried about backups: nowadays most of your data is stored in the cloud. I don’t know about your situation specifically, but the only pieces of information that are not in the cloud on *my* phone are SMS and call history, which I don’t care about. Therefore, I would not hesitate to erase my phone.

---

Fine print: in case your disk is not encrypted and the bootloader is unlocked, it is pretty easy to extract all the information, but I assume, if you had bootloader unlocked, you would not be asking your question here.

---
Tags: samsung, lock-screens, locked-out
---


title: fastboot does not discover my device

text:
# Question
Title: fastboot does not discover my device
I want to connect my device (Omega T107) in fastboot mode.

1. I reboot in bootloader mode (adb reboot bootloader)
2. Screen is black(0 light comming out of it) computer can discover it and driver installs properly
3. fastboot devices returns empty list

What am I doing wrong ?

# Answer
> 1 votes
`fastboot` is just one of the protocols to talk to the bootloader. Some manufacturers choose to support it (e.g. Google, HTC), others choose to make their bootloaders talk some other protocol (e.g. Samsung).

After googling a little bit, I don’t think that the bootloader of your device supports `fastboot` (at least, there are no mentions of this). Most likely, you will need a special tool from your manufacturer that will be able to talk to your device in bootloader mode.

# Answer
> 0 votes
The command 'fastboot devices' shows only the devices it can access properly with fastboot protocol.

* Check if you have sufficient rights for accessing the device (either do it with root or add aproppriate UDEV rules).
* Check if you really started the device into fastboot mode

---
Tags: rom-flashing, recovery-mode, fastboot
---