# Question
Title: How to run 2 shell scripts from ramdisk?
I am attempting to setup my ramdisk to fire off 2 sets of scripts. 1 is ramdisk /sbin only, the others are user allowed scripts

```
# Check Properties
on property:dp.early_init.done=1
    chmod 0777 /data/dp_scripts/onearlyinit.sh
    exec /data/dp_scripts/onearlyinit.sh &
    start dp_early_init

on property:dp.init.done=1
    chmod 0777 /data/dp_scripts/oninit.sh
    exec /data/dp_scripts/oninit.sh &
    start dp_init

on property:dp.late_init.done=1
    chmod 0777 /data/dp_scripts/onlateinit.sh
    exec /data/dp_scripts/onlateinit.sh &
    start dp_late_init

on property:dp.post_fs.done=1
    chmod 0777 /data/dp_scripts/onpostfs.sh
    exec /data/dp_scripts/onpostfs.sh &
    start dp_post_fs

on property:dp.post_fs_data.done=1
    chmod 0777 /data/dp_scripts/onpostfsdata.sh
    exec /data/dp_scripts/onpostfsdata.sh &
    start dp_post_fs_data

on property:dp.boot.done=1
    chmod 0777 /data/dp_scripts/onboot.sh
    exec /data/dp_scripts/onboot.sh &
    start dp_boot

on property:sys.boot_completed=1
    chmod 0777 /data/dp_scripts/onpostboot.sh
    exec /data/dp_scripts/onpostboot.sh &
    export PATH /sbin:/system/bin
    start dp_post_boot

on property:sys.shutdown.requested=1
    chmod 0777 /data/dp_scripts/onshutdown.sh
    exec /data/dp_scripts/onshutdown.sh &
    start dp_shutdown

# DP Services
service dp_early_init /sbin/bash /sbin/0/onearlyinit.sh
    user root
    disabled
    oneshot

service dp_init /sbin/bash /sbin/0/oninit.sh
    user root
    disabled
    oneshot

service dp_late_init /sbin/bash /sbin/0/onlateinit.sh
    user root
    disabled
    oneshot

service dp_post_fs /sbin/bash /sbin/0/onpostfs.sh
    user root
    disabled
    oneshot

service dp_post_fs_data /sbin/bash /sbin/0/onpostfsdata.sh
    user root
    disabled
    oneshot

service dp_boot /sbin/bash /sbin/0/onboot.sh
    user root
    disabled
    oneshot

service dp_post_boot /sbin/bash /sbin/0/onpostboot.sh
    class late_start
    user root
    disabled
    oneshot

service dp_shutdown /sbin/bash /sbin/0/onshutdown.sh
    user root
    disabled
    oneshot

```

While the services themselves all fire off, the execution of the `/data/dp_scripts/*` scripts never happens.

This is a lollipop kernel, running on a Note 3

How can I force the execution of `/data/dp_scripts/*` at the moments specified?

# Answer
This appears to do the trick

```
# Check Properties
on property:dp.early_init.done=1
    start dp_early_init
    start dpu_early_init

on property:dp.init.done=1
    start dp_init
    start dpu_init

on property:dp.late_init.done=1
    start dp_late_init
    start dpu_late_init

on property:dp.post_fs.done=1
    start dp_post_fs
    start dpu_post_fs

on property:dp.post_fs_data.done=1
    start dp_post_fs_data
    start dpu_post_fs_data

on property:dp.boot.done=1
    start dp_boot
    start dpu_boot

on property:sys.boot_completed=1
    export PATH /sbin:/system/bin
    start dp_post_boot
    start dpu_post_boot

on property:sys.shutdown.requested=1
    start dp_shutdown
    start dpu_shutdown

# DP User Services
service dpu_early_init /sbin/bash /data/dp_scripts/onearlyinit.sh
    user root
    disabled
    oneshot

service dpu_init /sbin/bash /data/dp_scripts/oninit.sh
    user root
    disabled
    oneshot

service dpu_late_init /sbin/bash /data/dp_scripts/onlateinit.sh
    user root
    disabled
    oneshot

service dpu_post_fs /sbin/bash /data/dp_scripts/onpostfs.sh
    user root
    disabled
    oneshot

service dpu_post_fs_data /sbin/bash /data/dp_scripts/onpostfsdata.sh
    user root
    disabled
    oneshot

service dpu_boot /sbin/bash /data/dp_scripts/onboot.sh
    user root
    disabled
    oneshot

service dpu_post_boot /sbin/bash /data/dp_scripts/onpostboot.sh
    class late_start
    user root
    disabled
    oneshot

service dpu_shutdown /sbin/bash /data/dp_scripts/onshutdown.sh
    user root
    disabled
    oneshot

# DP Services
service dp_early_init /sbin/bash /sbin/0/onearlyinit.sh
    user root
    disabled
    oneshot

service dp_init /sbin/bash /sbin/0/oninit.sh
    user root
    disabled
    oneshot

service dp_late_init /sbin/bash /sbin/0/onlateinit.sh
    user root
    disabled
    oneshot

service dp_post_fs /sbin/bash /sbin/0/onpostfs.sh
    user root
    disabled
    oneshot

service dp_post_fs_data /sbin/bash /sbin/0/onpostfsdata.sh
    user root
    disabled
    oneshot

service dp_boot /sbin/bash /sbin/0/onboot.sh
    user root
    disabled
    oneshot

service dp_post_boot /sbin/bash /sbin/0/onpostboot.sh
    class late_start
    user root
    disabled
    oneshot

service dp_shutdown /sbin/bash /sbin/0/onshutdown.sh
    user root
    disabled
    oneshot

```
> 0 votes

---
Tags: 5.0-lollipop, shell, kernel, scripts
---


# Question
Title: How to copy and paste an event in Samsung Galaxy A7 S-Planner running KitKat?
I've just bought a Samsung Galaxy A7 running on Android 4.4.4. How do I copy and paste calendar event in S-Planner app?

# Answer
It would be great if this function was added again... sooooo frustrating. It existed before:

here's a print screen from my galaxy S2 running android 4.1.2 (Jelly Bean)

Now on my galaxy S4 running android 5.0.1 (Lollipop) it isn't available anymore:

For Kit Kat I don't know... don't have any device using it unfortunately. But if it doesn't appear in the popup menu when keeping finger on the event, it's likely that it has been removed since that version.

Hope this helps and that this function will be added again in the future.
> 0 votes

# Answer
You can't. Functionality has been removed. Time to use a different app!
> -1 votes

---
Tags: 4.4-kitkat, s-planner
---


# Question
Title: my phone won't reboot from fastboot mode it keeps coming back to fastboot mode
I wanted to flash recovery.img in my phone but I accidentally flashed boot.img and now my phone is stuck in fastboot mode.

# Answer
Download stock boot.img for your phone and flash it using same command
> -1 votes

---
Tags: 4.4-kitkat, fastboot, usb-debugging, flashtool
---


title: Organizing apps not in folders

text:
# Question
Title: Organizing apps not in folders
This is a bit hard to explain.. I like having my apps categorized at the home screen (games, Google apps etc.) but I don't like how folders do it. Placing apps in folders makes them too small to see which makes me just go to the app drawer and search for them individually. Instead I need something to pop out and let me see all of the apps in the folder without having to click it.

I have tried just placing similar apps together but that doesn't give you such a folder-like effect.

Is there a way to have large folders on your home screen which shows every item or even a way to add small dividers to make some apps look like they are grouped?

I am using lollipop with CyanogenMod 12

Thanks in advance!

# Answer
> 0 votes
First, let me suggest that you specify your device, OS, etc.

Second, it sounds like you would benefit from an app (like Circle Launcher or Folder Organizer) or a completely different launcher in order to achieve greater flexibility.

---
Tags: home-screen, user-interface, accessibility, home-screen-folders
---


# Question
Title: Editing Android phone contacts on the fly from a Windows PC
Is there any way to edit contacts on my Android phone from a Windows PC and without internet connectivity? Perhaps by using USB debugging?

# Answer
Assuming that your contacts are synced to some service like Google or your mobile carrier, you should be able to do that right through their website (or Gmail, if all of your contacts are synced with your Google account). Any changes you make in your account on a PC, including contacts, will automatically sync to your device.
> 0 votes

---
Tags: contacts, usb-debugging
---


# Question
Title: Add specific website to Chrome's New Tab Page
Is there a way to explicitly add a URL to Chrome's new tab page dial pad?

# Answer
Does not look like there is a way to specifically add a URL for it to appear in the new tab page - generally that page is Most Visited (depending on what you have set to appear).

Would be a very useful feature instead of accessing bookmarks but you could create a bookmarks folder and add you important sites there - should be two clicks away at most.

Here are a possible of work around:

https://productforums.google.com/forum/#!topic/chrome/VnDvOnYvZrQ
> 1 votes

---
Tags: chrome-for-android
---


title: Factory data reset

text:
# Question
Title: Factory data reset
I have done a factory reset and had the Back up my data and Automatic restore on. But I login with my other Google account first by mistake and now that I have logged in with the Google account that I had when I made the recovery I can not find my photos. When I did that so I took out the microSD card. Is my pictures away now , or is that a way to restore them ?

Best regards

# Answer
> 0 votes
Backup my data and automatic restore, doesn't necessarily means all data. It really depends on the Android version. In the case of pictures, it should be backed up to Picasa. Check it out first there if it's available, then you could proceed with another forced sync to force the download of your pictures.

---
Tags: samsung
---


title: Better Readability with epub Books

text:
# Question
Title: Better Readability with epub Books
I'm seeking a method to re-format epubs to be more readable on an Android phone (specifically the SGS5).

Epubs are awesome, however there are some issues I've come across with a huge majority of them: they weren't meant to be read on a phone. This leads to, for instance, the contents of a single page being compressed into a single, massive paragraph with annotations at the end of the paragraph. A single one of these paragraphs takes up about 2.5 "pages" in the reader I use. As you can imagine, this makes it difficult to read. I would like a method to ameliorate this issue.

I have seen a few methods for reformatting epubs, but they all require ready access to a PC, which I do not have, or manually editing the config files themselves, which is a more time-consuming endeavor than I care to undertake. So I need a quick method of reformatting epubs for readability on the Galaxy S5. I am also open to suggestions for an epub reader that might fix them for me.

# Answer
> 0 votes
I use "UB reader" on my galaxy s5 and It has alot of customisation with epubs such as, font size, background/text color, index, bookmarks ect. Seems as I can change the font size i find it comfortable at 9pt witch for an average size book is 2 screens to one book page. hope this helps.

---
Tags: samsung-galaxy-s-5, ebook-reader, epub
---


title: Shutdown animation sound

text:
# Question
Title: Shutdown animation sound
I have an issue, when I shutdown the phone, it gives a custom sound. I want to remove it. The phone is LG G3 (Rooted).

I tried to delete the sound using root explorer.

# Answer
To mute them, Simply do the Following :

In System \> Sound and Display \> System volume you can set it, unfortunately the power on/off sound is also tied to the touch feedback sound.

You can also use Silent Boot.

> Note:Disable annoying startup sounds! Silent Boot mutes your phone on shutdown to keep it silent on boot and restores previous volume settings after startup is complete. Please note: This workaround does not apply to all phones

***Lastly, Here the one which I followed :***

1) First off all download the Root browser from play store.

2) Open it, the app will ask you to install some additional data, don’t cancel it – otherwise the app may not work properly.

3) Now when the additional download complete, search for the System folder & open it, followed by Media or sound folder.

4) Here you will get two files namely PowerOn.mp3 & PowerOff.mp3

5) So long press the PowerON.mp3 file \> choose Rename \> rename the file to PowerON.mp3.bak. Same with the PowerOff.mp3 file, rename it to PowerOff.mp3.bak.

That’s it, now reboot your phone and there should be no shut down and start up sound.

So if you’re happy with permanently turning off the sound, then your steps end here. You can leave this guide now. But if you want to replace the default android boot sound with any mild music then follow this steps.

6) Now download the soft sound which you would like to set as boot sound.

7) Copy that to System / Media folder & rename it to PowerON.mp3 & power Off.mp3

8) Now long press on new sound file, select permission from popup.

9) Tick all the boxes that appears after selecting permission, then press OK

10) Now every time your reboot your phone you will be welcomed with your new boot sound.

***Note :- Make sure to keep the new boot sound file length with in 10 sec. Otherwise you will feel double irritating.***
> 1 votes

---
Tags: shutdown, custom-sounds
---


title: play store not working

text:
# Question
Title: play store not working
I am unable to download anything from play store..and I am also not able to access any service of google like gmail, picasa google+ . I have already reset my phone after half hour till reset my phone works properly bt further it starts behaving the same as it was before reset

# Answer
You root ?? Reinstall services google play, perhaps it hurts you. With a browser sees root / data / app / and reinstalls com.google.android.gms.apk If you are not root then geting rooty if you want your android root flashes. Of course you'll have to find your rom.
> -1 votes

---
Tags: huawei, huawei-honor-6
---


# Question
Title: how to unlink google account from oneplus two without access to the phone
I just have sold oneplus 2, unfortunately I have used my email account on it. before sale I have wiped all the data and formatted device through recovery but I just got a call from a buyer that my account is still linked to the phone and he cannot use it. is there any way to unlink it without meeting him? I dont want to send him my pass/one time code.

regards

# Answer
it's like explained here

> Go to Google's security manager page, find the phone you logged in on and click "deauthorize".
> 1 votes

---
Tags: oneplus-one
---


# Question
Title: How to determine in which version an Android bug was fixed?
How does one determine when a specific Android bug was fixed?

Specifically, I'm interested in learning in which Android version bug 58779 was fixed.

Someone marked it *obsolete*, which either means it has been fixed or someone erroneously marked it that way.

# Answer
> 0 votes
You already link the open source issue tracker. So I will assume you want a more in depth inquiry. Then just Go to Androids Gerrit code review and you can go directly here. Or you can go through Googles Git repository here then code review in the upper right. Once there you can search for changes here is a tutorial. You can also review the code that will give you detailed information and here is a tutorial for that.

---
Tags: android-versions, bugs
---


title: Missing 20 Gigabyte of Free Space

text:
# Question
Title: Missing 20 Gigabyte of Free Space
I've recently noticed that my Galaxy Note 3 32GB model ran out of storage. My Samsung File Explorer App says that I've got about 3GB of storage left of 32GB. My problem now is that I can't figure out where the remaining ~30GB (I know that there aren't really 32GB of free space) are? My SDCard directory has a size of approximately 10GB, plus I've got about 6GB worth of apps. That means, I should have 16GB left (or less) instead of 3GB?

Here's a table:

Files: 10 GB Apps: 6 GB

Free Space: 3 GB Total Space: 32 GB

Either is the total space more like 19GB instead of 32GB (That would be kinda much, right?) or there are hiding some files somewhere worth about 10GB.

Any suggestions?

Best regards

# Answer
Thats a big diff but maybe you use spotify with offline files or something? Also its worth checking Settings-\>Storage. Click on "Cached data" for instance and clear, here you see what it taking space more in detail.
> 1 votes

# Answer
In the Android settings you should be able to find a screen where you can see more details (probably in "Settings-\>Storage") about how your storage is used.

But from the list above I can see you are missing two important items that typically use storage: The Android system and the Cache. Those two items may not be available to the File Explorer app since they're not necessarily located in the user accessible location of the storage. Adding those items to your list, using the numbers I can see on my 32GB Galaxy phone as an example, the storage breakout is more along those lines:

* Android system - 6GB
* Cache - 3GB
* Apps - 6GB
* Media/Other Files - 10GB

TOTAL 25GB

This is definitely closer to the actual used space you should see you your device. If you need more room the Cache is something that can be cleaned because it contains temporary data used by your apps therefore no important data for sure.
> 0 votes

---
Tags: internal-storage, file-system
---


title: Relock Y300 Bootloader

text:
# Question
Title: Relock Y300 Bootloader
I have hauwei Y300-0100. I unlocked Bootloader Of My phone before for root it. Now i want to flash my phone with stock rom but i cant. I tried to lock my phone with fastboot but i gave an error: I cant solve this problem and i dont have access to phone menu. I have access to TWRP recovery. How can i lock Y300 boot loader? or How can i install stock rom on unblock phone? note:

> system and data folders wiped and there is no data in this folders. My phone is freezing between first logo and welcome picture (A block screen)

# Answer
> 0 votes
solved = `fastboot oem relock "xxxxxx.."` xxxx.. = 16 digital code But if you flashed custom recovery or boot before you cant relock it

---
Tags: fastboot, bootloader, huawei, bootloader-lock, stock-rom
---


title: dtb not found error

text:
# Question
Title: dtb not found error
am trying to boot philz\_touch\_6.55.0\_dior.img in my xiaomi redmi note 4G through the andRoid debug bridge to my phone but when I write the command " fastboot boot philz\_touch\_6.55.0\_dior.img " I get " FAILED " what seems to be the problem,please HELP

# Answer
> 3 votes
The custom recovery .IMG is corrupted and you should go download a different one. In the error you received DTB stands for Device Tree Blob. The device tree blob is a default mechanism to pass low-level hardware information from the bootloader to the kernel.

---
Tags: adb, fastboot, usb-debugging, xiaomi, xiaomi-redmi-note-4g
---


# Question
Title: Empty SIM contacts list, but they still show up in contact details
I use solely Google contacts as my contacts repository and display only the Google "My Contacts" group in my contacts list.

When looking at contacts details, most of them have in the "connection" field both the Google and the SIM logo - implying that this is a fusioned contact between Google and the SIM (both small logos are also visible in the contact list).

Strange thing nr 1: When I limit the display to "SIM" only the list is empty. So what does that SIM logo mean?

Strange thing nr 2: in contact details I can separate both contacts (Google and SIM) - I am asked if I really want to separate both contacts and, abracadabra, the SIM contact is gone. The SIM logo is not displayed anymore and the SIM contact list is still empty.

I have no idea how the logos got there, some contacts have it, some others not -- apparently randomly (there is nothing special in contacts which have them and do not -- all are managed from my Google account).

Any ideas on how to fix this (= remove the SIM logo in batch if this is a bug -or- understand what the SIM logo really means)

Than you!

# Answer
> 0 votes
Once you're in the contact list, go into the options. Your sim contacts are probably filtered.

# Answer
> 0 votes
About SIM contacts: they were copied from the SIM card to the database when you first set-up your Android, and Android does not read automatically your SIM card anymore looking for contacts. If you added more contacts to the SIM card outside of Android (by puting the card onto another phone for example) then you should copy them manually again to the database (there is an option to do so in the contacts app).

I wrote an app that lists all your raw contacts with their belonging account (groups). There you can see how your contacts database is populated: every contact is attached to an account that determines its origin and synchronization, like Google, Facebook, LinkedIn or even SIM and Local Phone. Link: https://play.google.com/store/apps/details?id=com.brapeba.minicontacts

My app shows you the contacts that there are in the database, but those in the SIM card that never were copied won't show (they don't really exist for Android). To see them, go to the contacts app and choose import from SIM (on some brands you'll see first the list, on others you only have the option to import all them without having a preview).

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


# Question
Title: None of any chatting apps shows contact list
Today I updated my Lenovo `A6000Plus` to `Lolipop` Via `OTA`

Now I am suffering from a very weird problem.

WhatsApp Hike doesn't show any contacts in List. Although When I open my contact List I can see all of my contacts.

What I tried :

1. Checked the permission of each app. Every app is allowed to read contacts.
2. Rebooted my device
3. Removed my google account and sign in again
4. Navigated to whatsApp setings-\>contacts their Show all contact is already Checked.

All these methods doesn't work

Whenever anyone message me on hike or whatsapp i only see the number.Even When I add that Number I am not able to see the name.

I googled but nothing found.

# Answer
> 0 votes
Now I realized no one can help you except yourself.

Finally i Found a way.

> Navigate to Settings - \> Apps - \> All Apps
>
> Search For contact and Contact Storage
>
> Clear Both Apps Data

Booom You Are Done.....

**Note** Clearing Contact and Contact Storage Erase Your all Contact SO make Sure you backed up your all contact online or somemwhere else. In my case I use google account.

---
Tags: applications, 5.0-lollipop, contacts, whatsapp-messenger, permissions
---


# Question
Title: Is there an easy way to count the number of installed apps in my Android phone?
Maybe this info is in some file. I can also have it mounted in my computer and run a bunch of linux commands.

# Answer
Was about to say the same as Firelord – he missed the "ease" part, by the way, and has you counting lines manually. Rather try `adb shell pm list packages -3 |wc -l` (when on Windows, better use quotes: `adb shell "pm list packages -3 |wc -l"`). Takes a few seconds, and then shows *the number*.

Example, with one of my test devices:

```
adb shell "pm list packages -3 |wc -l"

```

Output: 15
> 3 votes

---
Tags: resource-monitoring
---


title: Insufficient memory message in error

text:
# Question
Title: Insufficient memory message in error
I have a brand new 32GB SD card barely used, my phone even shows that it has 31.23GB of storage available, however when attempting to download an app it says I do not have enough memory. I have double checked that the SD card is the default storage on my device, but to no avail. Please help, I just got the memory card and can't even use it.

# Answer
> 0 votes
Google Play downloads app data to internal storage first then installs the app to external, hence the low storage message. There is no way to change this without rooting and using a symbolic link.

# Answer
> -1 votes
You can't have apps on an external SD card without you phone being rooted.

---
Tags: internal-storage, insufficient-memory
---


# Question
Title: Can I use my phone as a WiFi-WiFi hotspot?
I have a (non-rooted) Sony Xperia Z3 with default Lollipop installed. One challenge I often run into is that I can connect to a WiFi network, and my friends with iPhone cannot (I've also encountered the opposite, but that's another topic). It seems the hotspot functionality only works with connection to a telephone network, and not as a regular WiFi-WiFi hotspot. Do any of you know of a built in functionality that will do this, or an app I can download that will solve this issue for me? Thanks :)

# Answer
> 0 votes
Unfortunately you can't, at least with today's hardware standard. To be able to do that (connecting to a WiFi and tether that through WiFi again), you would need two WiFi beacons on your phone. Since this is not the case, it is not possible to do so.

---
Tags: applications, wi-fi, wifi-hotspot, wifi-tethering, wifi-direct
---


title: List of apps ever downloaded

text:
# Question
Title: List of apps ever downloaded
I bought myself a new Android phone since my last one died (overheated). So I've lost all the applications.

Is there some kind of download history to find what you've downloaded via your Google Account or something? I'm aware of something similar in `Market > My Apps`, but that contains only what you have on the current device.

# Answer
> 9 votes
I ran across this by accident, but it is *exactly* what I was after! Hope it helps others.

**https://market.android.com/account** and the **Orders** tab

**Update** \- this is now **https://play.google.com/apps**

# Answer
> 0 votes
As for today, in Play Store - My Apps, there is an **ALL** tab that shows us every downloaded application

# Answer
> -3 votes
No, There is not any such facilities yet.

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


# Question
Title: How to create nested folders on home screen in Lollipop?
Example:

* Assume that a folder F1 has ABC app icons (shortcuts) in it.
* Another folder F2 has XYZ app icons in it.
* The default launcher in COS12 doesn't allow inclusion of more than 16 icons in a single folder.
* Neither it provides the option to include one folder (F2) into another one (F1) so that the included folder (F2) would show up as a normal icon in F1 amongst other ABC icons, but when touched, would show its XYZ icons, hence achieving the proper nesting.

**How do I achieve this folder nesting in Lollipop?**

I've found that Folder Organizer can do the job but it hasn't been ported to Lollipop's Material design. Result, your host folder looks in sync with rest of the UI (white background, smooth font) but the nested folder gives you a somewhat black background with not so smooth or crisp font. It also doesn't respect the current theme in place. Pretty much a *weird* combination in hand.

I believe Tasker's scenes can do this but I would like to have consistency between folders when it comes to their appearance.

---

I've a OnePlus One running rooted Cyanogen OS 12 with Xposed Framework installed.

# Answer
> 1 votes
I've created a Scene in Tasker, loaded it using a task and created a shortcut using **Task Shortcut** widget to launch the scene.

* First image is showing a normal folder with some app shortcuts. See the folder icon titled "Nest". It is a task shortcut for the Scene.
* Second image is the Scene created in Tasker which is launched from a shortcut .

(Click image to enlarge)

* To maintain consistency in appearance I took the background from Material Palette, cropped the color I wanted and loaded it into the Scene as background image.
* All the app icons are loaded using Image element in the Scene.
* Because it isn't a folder, so there is no drag and drop in it.

As for how to create this scene, you can see YoutTube videos or search Tasker sub-reddit or the numerous websites filled with cool tutorials. You may consider my answer here to get a rough idea of how to create a Scene in Tasker and how to use it then.

# Answer
> 0 votes
An alternative would be to use a third-party launcher app. I had SlimROMS installed already and I noticed that its SlimLauncher doesn't lag when Tasker is enabled. I grabbed it from that ROM and installed it on COS12. It feels like Trebuchet in terms of aesthetics, but much smoother and faster.

Anyhow, the point is, it doesn't restrict you to 16 icons per folder. You can have as many icons in your folder as much as you've in your app drawer.

Nova Launcher also allows you to add as many icons in a folder you want, so the need of nesting can be put on hold for a while.

(Click image to enlarge; First two images are for SlimLauncher and the last one is for Nova Launcher.)

---
Tags: home-screen-shortcuts, home-screen-folders
---


# Question
Title: Is there a way to hide all notifications during the night?
I mean something like this:

I'd like to hide them like this during "downtime period" or "do not disturb mode". I'd like to hide them both on the lock screen on the status bar at the top of the screen.

# Background

I'm interested in something like this because I like not to be disturbed around bedtime, or when I wake up during the night and glance at the screen to check current time.

For example: today morning I woke up ahead of time, very much not refreshed, and when I went to check for time on my phone, I saw a notification which got me excited and unable to fall back asleep. It's situations like this that I'd like to avoid.

*Source for the picture. I presume the notification-hiding functionality might not have made its way into Lollipop -- since I haven't seen it in settings. Or has it?*

### Any ideas?

# Answer
> 3 votes
You could use an app called Notifications off. (Root required )

It has a settings that lets you block notifications at night.

---
Tags: notifications, lock-screens, notification-bar, sleep
---


title: Liking a YouTube comment from the app

text:
# Question
Title: Liking a YouTube comment from the app
I've been using Android for a few months now, and I'm mostly happy with it. I just can't find the "Like" button for comments.

Can someone help?

# Answer
Its still not possible to thumbs up or down a comment using the Youtube app. People have been complaining for years about it.
> 1 votes

# Answer
As already mentioned in the earlier Answer, as of this writing, there is **no way** to Like comments in Android YouTube App.

Below is the screen shot confirming this, taken from Official link.

Source Link
> 3 votes

---
Tags: youtube
---


# Question
Title: Can adb start my android device that shows up as "offline"?
I can see my device in `adb devices`. It shows up as "offline". When it is "ready":

```
$ adb shell
$ su
# reboot

```

This would reboot my device. The exact problem is that my cellphone has been turning off on its own with no specific reason, so I was wondering if I could check the logcat to see the problem. I cannot start my device, I have to remove the battery and then start it, and when I do the log is empty... But my questions here are:

* If adb can detect my device why can't it reboot it?
* Why can't I turn on my android device from adb when I can reboot it?
* What does offline mean: is it turned on or not? (when it isn't usually it doesn't even show in adb devices)

# Answer
I only encountered device shown via ADB as offline in two cases:

* Device not authorized (ADB security features)
* No proper udev rules setup

As the first case is most likely not your problem as these security features were not implemented in android when you asked this question. Your problem is most likely that you dont have proper udev rules.

You can fix this **temporary** bei starting adb on your computer as root:

`adb kill-server; sudo $(which adb) start-server`

or **permanently** by adding proper udev rules for your desired device vendor:

See https://wiki.cyanogenmod.org/w/UDEV for a collection of well-known vendors. if your vendor is not part of this you can add it by yourself. Plug the device via USB to your computer and check the output of: `lsusb` get the right vendorID of your device and add it to the udev rules file.

Also useful: http://developer.android.com/tools/device.html
> 2 votes

# Answer
"adb: offline" reason is generally because of usb cable. If you are not using your stock cable, try with another microusb cable..

Also, while it shows offline, try this: (not everytime but sometimes it helps)

```
adb kill-server
adb start-server

```
> -1 votes

---
Tags: adb, reboot
---


# Question
Title: How to delete a file (e.g. malware app) that cannot be even removed with root access?
I have root access in my device, but there is a malware in `/system/app/` that I can't delete. This malware installs `TimeService`, `MonkeyTest`, and also some other apps like `DR battery` and `privacy guard`, and also shows ads.

I'm using ADB shell & I have tried Root Explorer in Android. Dr.Web also can't delete it. When I tried to delete without root access, it gives the following error message:

> ```
> rm failed for <filename>, Permission denied
>
> ```

With root access, I got the following error:

> ```
> rm failed for <filename>, Operation not permitted
>
> ```

Is there a Linux command to delete this kind of files? Should I install BusyBox first?

# Answer
> 3 votes
Most likely this files attribute is set to "immutable". Which means nobody will be able to edit, rename, move or delete it. (Not even root)

You can check this in linux with the command: `lsattr file`

If this output shows an "i" my assumption is right.

The immutable attribute can be removed by `chattr -i file`. After doing this you should be able to delete this file as root again.

As far as I know the android toolbox does not include these binaries. You need to cross compile(your device is ARM based?) busybox for your device and take care that both binaries are included or take a prebuilt busybox binary from a trusted source which includes them.

---
Tags: linux, malware, command-line
---


title: Pattern lock/factory reset

text:
# Question
Title: Pattern lock/factory reset
My daughter put a pattern lock on my phone and now I can't unlock it. What can I do? Have tried the master resets but just reset the phone. Is anything else? HTC desire 510

# Answer
Try This it will Hard reset your phone

> 1.Remove the battery, wait for a few seconds, then reinsert the battery.
>
> 2. Press and hold the VOLUME DOWN button, and then press and hold the POWER button.
> 3. Wait for the screen with the three Android images to appear, and then release the POWER and VOLUME DOWN buttons.
> 4. Press VOLUME DOWN to select FACTORY RESET, and then press the POWER button.
> 0 votes

# Answer
You could miss 30 times or more, you should get the username/password prompt. Then enter your email+password and your phone will unlock.

Also, note that your wifi/3g/4g needs to be on in order to verify with email/password combination. I had to make an app which would turn it on first, then I managed to unlock it
> 0 votes

# Answer
You can boot into (see our recovery-mode tag-wiki for details on how to achieve this) and choose wipe data/factory reset there. Then reboot your phone.

Note: this will delete all user-installed apps and data from the device.
> -1 votes

---
Tags: factory-reset
---


# Question
Title: Preserving a whatsapp account from an inactive/foriegn SIM on a new device
My dilemma is as follows:

* I signed up for WhatsApp in a foreign country on my Tecno R7 and used it happily even after returning back to my home country.
* When i returned, I of course restored my home country SIM cards, but WhatsApp was unaffected and ran normally.
* However, my Tecno R7 malfunctioned and I had to change to a Samsung Grand Prime. So, when I tried to move my whats-app account to my new device, it initiates a new registration.
* I do not wish to open a new account and lose my old history, all my contacts were also already hooked on my old account.

Is there a way to transfer my old WhatsApp account from Tecno R7 to Samsung Grand Prime, without effecting a new registration (changing numbers)?

# Answer
Just take a backup of the WhatsApp conversations in old phone and copy the entire folder `/sdcard/WhatsApp/` and send (copy) it exactly to the same location in your new phone..

Now open WhatsApp from new phone and Enter the desired number (It may or may not require verification)
After verification is over, it'll prompt you asking for restoring chat backups..
Just restore them.

The latest version of WhatsApp supports backing up of data to Google Drive.
So, if you can update to a latest version, better sync it and try the same.
> 3 votes

---
Tags: whatsapp-messenger
---


title: Install motog stock framework

text:
# Question
Title: Install motog stock framework
I installed cynogen mod 12 to my motoG, now I want to install stock rom, I got it from XDA, But how can I install? can anyone please give me steps to install it?

# Answer
> 0 votes
The XDA post you referenced tells you how to do what you are asking (taken from the XDA post):

How to flash:

1. Download ROM to Internal SD.
2. Boot into Custom Recovery.
3. Factory Reset (System, Data, Cache, Dalvik)\*
4. Flash ROM with TWRP and reboot.

\*NB: It is often also necessary to Wipe \> Format /data \> Yes (Warning: This will erase internal storage) - Do this before reporting any bugs.

---
Tags: rom, motorola-moto-g
---


# Question
Title: Where to download android for galaxy S5 (G900FZHU1ANE3)?
I have problem with my android. Even if I do factory reset. I decide to install another copy of android.

My phone is samsung galaxy S5. Even though finding android for US models is easy (link), my phone model is `G900FZHU1ANE3` from Hong Kong and I could not find any android file to download.

Could any one please help he to know where I could download the correct version of android?

# Answer
The newest available Image ( Android 5.0 ) for your Sm-G900F Samsung Galaxy s5 is available on **sammobile**.

Look at the instructions for flashing on this site:

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

```
> 2 votes

---
Tags: samsung, factory-reset, samsung-galaxy-s-5, downloading
---


# Question
Title: I want to stop ringtone silence feature while incoming any call and shaking my phone in Intex Cloud Y2
I have not installed any app in my phone like shake it off or any but whenever I get any call on my Intex Cloud Y2 it gets silenced when I move this phone or shake it.

This case usually occur when I get a call and my phone is in my pocket so it will be automatically silenced while walking on road and I can't notice it.

Does anyone faced this issue? How can I stop this feature in my phone?

I did full factory reset also, but it doesn't work.

Thanks in advance.

# Answer
> 0 votes
Root your phone and change specific entry in database using sql editor app . I don't have this phone so can't hands on by myself.

---
Tags: ringtone, cloud
---


# Question
Title: I accidentally disabled a game app, and want to enable it again
I have an app called `Episode Choose Your Story`. Every time I open it, it closes. I've tried unistalling and reinstalling it, but it's not working. I think it's disabled. How do I get it to work again?

# Answer
Sometimes when app gets updated, its hardware requirement, like more requirement of ram or better graphics, increaces which cause app to crash like you mentioned.
> 0 votes

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


# Question
Title: Where does SafariOnline (Safari Queue) store downloaded books?
I used the Safari Books Online "Safari Queue" not Safari to Go app to download a book to its "Offline Bookbag". In what format is the book stored? I ask because I'm hoping to use a reader other than Safari's own app to read the downloaded book.

# Answer
> 5 votes
The data is stored in `/data/data/com.safariflow.queue/app_data/`

---

Video books are stored in `/data/data/com.safariflow.queue/app_data/videos` folder.

---

Ebooks are stored in `data/data/com.safariflow.queue/app_data/books` folder - not as PDF, but as HTML folder (+supporting files css,jpg i.e metadata,images etc)

(*Maybe, they can be viewed (/rendered?) on web browsers*)

---
Tags: applications, storage, ebook-reader
---


# Question
Title: Android app downloading but not installing
My Device is Motorola Moto G 1st Gen. running Android Lollipop 5.0.2

From the last 2-3 months, my phone is not installing apps. It downloads the app and even shows installing but never completes. After showing "Installing " for some time, the notification will go. If I go back to Play Store, it says "Install" and not Installing. So I have to repeat the same procedure.

I have tried clearing Data and Cache of Play Store, Download Manager, Google Play Services. I have over 5 GB space available on phone.

I have tried the above solution many times but it doesn't works. The only thing I don't want to do is factory reset.

**Update:**  After I updated to Android 5.1, apps started to install properly so I think it was a bug related to 5.0.2

# Answer
Try following the methods below:

1. How about you try installing the app by manually downloading it's apk which I believe, shouldn't disappoint you. You must have "Unknown sources" enabled from Security option in Settings menu in order to be able to install APKs.(Settings\>Security\>Check the Unknown Sources option). For example, visit http://www.whatsapp.com/android/ and click on Download apk, when download is finished you shall copy the apk file anywhere in your SD Card or internal memory which you can access, or download the apk right-away in your smartphone. You your favorite file explorer(I use ES File Explorer) and navigate to the apk file location in your smartphone and touch to open it just like you would open any file and you will get an option of installing the app.
2. Power off your Moto G and reboot to bootloader by pressing `Volume up + Volume down + Power button` and you will be taken to bootloader, from there you should use `volume down` to scroll down to `Recovery` option. Use Volume up or Power button to enter Recovery mode and than `wipe cache`(do not execute wipe data as it will wipe the internal memory/sdcard) which can take 5-10min if on stock ROM. When done, reboot and post if you face the problem again.
> 0 votes

---
Tags: google-play-store, download-manager
---


# Question
Title: Android equivalent to Remote Messages/WiFiSMS on iOS?
One of my favorite things about my iPhone was the ability to receive/send SMS/MMS through my web browser on my computer. As far as I know, Android has alternatives for this, but they all rely on an online service which isn't ideal.

Is there any way to send/receive SMS/MMS through a PC without the use of an online service?

# Answer
You could use AirDroid which offers more functionalities.
*It does not need internet service*

> ✔ SMS: Send and receive individual or group messages.
> ✔ Files: Transfer files between Android and computer from any network. Share files and chat with friends.
> ✔ Notification Mirror: Mirror phone notifications from any allowed apps to computer.
> \- Contacts: View and edit all the contacts.
> \- Photos: Transfer photos between Android and computer.
> \- Music & Videos: Play and manage music & videos on Android and transfer them between Android and computer.
> \- Ringtones: Set music as ringtone and export ringtones.
> \- Screenshot: View the real time screen of Android devices, take static screenshots. (requires root)
> \- Apps: Import and export .apk files.
> \- Camera: See through the lens of both front and back cameras.
> \- URL: Push url to Android and open it with default web browser.
> \- Clipboard: Share clipboard content between Android and computer.

Alterntively, Wifi SMS for android offers to send/recieve SMS
> 0 votes

---
Tags: sms, mms
---


title: How do I log off from WhatsApp?

text:
# Question
Title: How do I log off from WhatsApp?
I'm trying to exit WhatsApp, but it seems that there is no "Log Off" button. Currently, when I want to exit, I turn off my Wi-Fi/cellular data.

How do I log off from WhatsApp?

# Answer
after some experiments i think best way is use `Force stop` button in Application manager
go to `Setting > Application manager > WhatsApp` and tap `Force stop` button

As sayHere:

> Android do not kill the apps totally when you exit from it, this button is for close completely the app and remove it from the stack (apps running), also this button free the memory used by the app

so Thanks to User pacoespinoza this is what i want to do!
> 2 votes

# Answer
Settings\>apps\>WhatsApp and press clear data. You might want to first backup your messages in WhatsApp settings. This resets WhatsApp to like when you first downloaded it before logging in. Alternatively, you can go to settings\>apps\>WhatsApp and turn off notifications for WhatsApp if it gives you the option. If it doesn't, it means your version of android doesn't support turning off notifications. You can also go to a WhatsApp chat, press menu, and mute conversation for an amount of time.
> 1 votes

# Answer
Go to applications and clear data
> -2 votes

---
Tags: whatsapp-messenger
---


# Question
Title: retrieving contacts from my Google account
I stored my contacts to my Google account however I lost my phone and had my service suspended now I have a new phone I'm not sure how to retrieve them I was under the impression that once I logged into my account they would automatically be stored in my phone

# Answer
If they are in your Google account, once you log into Google via your phone it should sync your Contacts. You may want to check to make sure that Contacts is checked under Settings - Accounts - your Google account.
> 0 votes

---
Tags: google-contacts
---


# Question
Title: Galaxy Tab Pro SM-T520 does no longer see wifi networks
I had a very weird problem with my Galaxy Tab Pro SM-T520. After working fine for a while the tab suddenly was not able to see any wifi network. None of them. Not mine, not from my neighbors, just the whole Wi-Fi networks list in the Connections Settings was empty and the "Scanning..." process was hanging.

Reboot the tab, on\off, etc. the wifi did not help.

Only the factory reset did help. However after some time the same problem came back :(

It has happened after the WiFi network was disabled for a while. Android 4.4.2

# Answer
> 1 votes
It turned out that the problem was the Passpoint setting enabled by the default. You can find it only in Advanced wifi settings. On Samsung tablet, while in Wi-Fi settings, you have to click on vertical ... at the top right corner, then select "Advanced" and there you can disable that Passpoint setting.

It took me a while to find a solution to this problem, so I hope my post may help someone!

---
Tags: wi-fi, 4.4-kitkat, samsung, tablet
---


# Question
Title: Is there a hands free way to manipulate pandora while driving?
I was wondering if anyone knew of a handsfree way to manipulate pandora while driving.

(On Linux, there is an app available known as PianoBar, which is open source and can interact with Pandora servers without using an official client; this includes BASH integration, which allows you to....)

Well, that's neither here nor there, I'm in engineering school and I hardly have time to program any apps.

I have a Galaxy S4, and what I really want is a way to manipulate Pandora Radio while driving. (They don't seem to have an disabled accessibility, either \>.\<) It certainly does not have to be complete, but it should at least let me like and dislike songs without using my hands.

I'm really just looking for a way to listen to my music without having to look away from the road.

I've tried S-voice, and it can start Pandora, but after that you appear to be on your own..

Thanks for any help!

PS: Assume I have no more than an aux jack to use in the car, so the answer can't be "install something"... it's an integrated head unit.

# Answer
> 0 votes
This would really have to be enabled by the developers of the app, unfortunately. An always listening app would be very risky to distribute, as it would generate many complaints about battery life...

I have an Android Wear watch, which makes interaction minimal and on your wrist as you drive. This is my best suggestion, though this also would depend on the developers, if they have implemented Wear functionality.

I know this is a more costly solution than an app, but there's more to it than just this functionality. Wear apps can also implement voice functionality, so those developers better get working...

---
Tags: user-interface, driving-mode
---


# Question
Title: What is the use of Android System WebView?
I have seen some Android phones where this application comes installed on the device. What is the use of this application?

<sub>(Click image to enlarge)</sub>

Does installing this app have any advantage on any other Android devices which does not have this application installed?

# Answer
> 8 votes
Some applications require what is known as WebView, a mini browser for functions like approving logins from Facebook and Google+. This is essentially a miniature version of Chrome.

It used to be that WebView only updated with the OS. In Lollipop, Google detached it from the Core OS in a way, and added the functionality for it to be updated via Google Play, like other apps, automatically. This allows it to keep up with Chrome and provide a better browsing experience.

The next time you log into an app and you are brought to a Web Page in the app saying "Allow 'The App' to assess your Google Account" or what not, see if you get get to the Google homepage via the "About Google" link. Then search for and open http://WhatBrowser.Org You will see how it is a mini chrome-based browser inside the app, provided by the system, and updated by Google Play.

Having this installed will keep it updated. You will not have to wait to upgrade the Android OS.

---
Tags: system, webview
---


# Question
Title: Is there any downsides to rooting the tab s?
I was recently given this stunning tablet from my company I work for, in the hopes that it could be turned into an offline development platform. I have been looking at alternatives to gain this setup without the requirements of root.. Whilst there are options out there, I always find myself resorting back to the original trail of thought of being manually installing necessary packages to achieve a stunning development platform.

I come here today to ask the following question: *Is there any downsides to rooting the tab-S?*

As lets face it, unlocking the maximum potential for a tablet is a brilliant feeling. The unrestricted usages it provides & the removal of the touchwiz bloatware.

Now, I have done alot of research into the rooting process done on the tablet, it's fairly straight forward and can be acomplished with minimal effort with the use of the auto root tool available, or rooting with the odin tool.

But, the downsides are vaguely listed, most of which revolve around tripping KNOX.. Which in turn makes the use of Samsung pay useless, but on a tablet.. Is it really necessary? On a mobile, I can understand the slight inconvenience it can cause as with the S6 will support Samsung pay and what not.. But regarding the tablet.. What actually are the real reasons to why most people avoid rooting Samsung products?

In the past, I have rooted a selection of Sony mobiles and a few Lenovo tablets, without a problem as they all came with an extremely short list of downsides.. regarding Samsung though.. There are quite a few documented downsides for this process, which are not properly explained.

# Answer
> 0 votes
I don't see any harm in rooting unless you brick your tab.

Also, if your tablet in under warranty you will void the warranty on rooting the tab.

---
Tags: rooting, 5.1-lollipop, samsung-touchwiz, samsung-knox, samsung-galaxy-tab-s-10.5
---


title: Android Lollipop Forgot Password

text:
# Question
Title: Android Lollipop Forgot Password
I forgot my number password and I am unable to unlock my phone. I have tried looking things up online and the only solution I haven't tried is to perform a factory reset. I would prefer not to delete all of my data.

How do I reset/unlock my phone without knowing the password for the phone?

# Answer
The following steps may help you to reset the moto-g without loosing your data.

step 1: Unlock Motorola Moto G Bootloader

step 2: Root your phone with M-TOOL

step 3: install CWM(clockworkmod) recovery on your moto-g after rooting

step 4: choose RECOVERY from the Fastboot menu using your volume keys and enter recovery

step 5: then backup your moto-g using your volume keys and store it on sd card

step 6: reset your phone using recovery ,and restore the backup
> 0 votes

---
Tags: 5.0-lollipop, motorola-moto-g, locked-out
---


title: Root vs USB ADB

text:
# Question
Title: Root vs USB ADB
As root is triggering knox, I would like to ask: Can I do everything root does through USB and ADB terminal?

What are the things I won't be able to do that root gives me?

# Answer
If you need to do something that requires root privileges, your device must be rooted.

You can't circumvent this via ADB because what ADB does is to provide a shell on your host machine through which you can run commands on the Android device. So essentially you are running commands on your device through your PC. Hence you can't do anything that requires root privileges just because you are doing it via ADB.

Once it is rooted, it doesn't matter whether the commands requiring superuser privileges are run from a terminal emulator or ADB or say, an SSH session.
> 6 votes

---
Tags: rooting, adb, root-access, samsung-knox
---


# Question
Title: How to listen to loud music from an android device?
I have a music app on my phone. I want to listen to it through nicer speakers than the phone's built-in speakerphone. If I had an iPhone, I'd either use a speaker dock (which both charges the phone and receives music through one port on the bottom of the phone), or I'd use AirPlay.

Neither of these options seem to be available for Android devices. So, what are the alternatives? Note, this is NOT a request for recommendations of specific products, but a list of available options.

# Answer
> 0 votes
Here are the options I can think of:

1. Plug a speaker into the headphone jack on the phone. Optionally also plug the phone into a charger.

* Will work with any existing equipment.
2. A bluetooth speaker.

* This recompresses the audio, reducing the sound quality, and inconveniently requires manually going into the settings app to connect to the bluetooth speaker every time you want to use it.
3. Use a Chromecast to stream to the speakers connected to my TV.

* If you don't have an AV receiver, this means you're probably using the crappy speakers built into the TV. This also only works with apps that support chromecast.
4. Buy a Sonos.

* Great sound. Works with any audio app. Expensive, proprietary system.
5. There's a system in some cars that can play music through some android phones' USB port, but I can't find any information on non-car systems that do this, or whether it uses an open or proprietary protocol, or even what it's called. I don't know if it works with all music apps.

If this is it, it seems to me that the state of Android audio is pretty shoddy. I hope I'm missing something. Am I? Is there any new standard on the horizon that might make things better? (If somebody knows of more options, feel free to plagiarize my answer and build on it for your own. I'd rather not accept my own answer! :)

---
Tags: audio, music, bluetooth-audio
---


# Question
Title: Facebook woke up by Google Services and don't want to be Greenified
Facebook and it messenger apps are eating up my Galaxy Note battery (rooted). When I Greenify them, they are activated by Google Services.

How can I stop their activation without uninstalling?

Many thanks!!

# Answer
> There are quite a few apps which will wake up Facebook in the background. In particular, any apps which offer to allow you to sign in via a Facebook identity. Even though you might not have signed up via Facebook, those apps will often wake up FB anyway. If you want to ensure FB doesn't wake up, then you need to install Xposed framework, enable the Greenify module in Xposed and then tick the option on Greenify for Wake-up Tracker and Cut-off. You can then disable having other apps open FB.

Source Thread
> 1 votes

---
Tags: facebook, facebook-messenger, greenify
---


title: Device suddenly unauthorized for adb

text:
# Question
Title: Device suddenly unauthorized for adb
I have a Samsung Galaxy S5 with Lollipop and recently broke my screen so that it is now black. adbcontrol worked somewhat okayish - I did not see the whole screen but it was just enough to navigate to my memos and share them. But now I remembered that I hadn't synced my Browser bookmarks so I started my PC again, connected the phone, `adb devices` showed the device - but unauthorized. That already happened to me once so I ran `adb kill-server && adb start-server` but the phone stays unauthorized. Unplugging and putting it back in or restarting the computer did not help either.

Why is it suddenly unauthorized? And why can't I fix it with what I tried - because that worked already a few times... And most importantly: Has anybody got any idea how I could make this work again (or maybe a different screen-replacing tool that doesn't require adb) ?

# Answer
> 0 votes
You can try the following:

* adb kill-server followed by adb start-server
* (on device) Settings -\> Developer Options -\> USB Debugging -- switch off and on
* \[Windows\] Make sure you have the proper driver (your best bet is Universal Adb Driver by Koushik Dutta -- will handle any device)
* \[Windows\] Try turning off all fancy on-the-fly anti-malware scanners/firewalls
* \[Linux\] Make sure you have the proper UDEV rule in /etc/udev/rules.d/51-android.rules (again, universal solution: https://github.com/snowdream/51-android)
* \[Linux\] Try using adb as root
* Restart your phone
* Replug cable, try different cable, different port, remove any extender cables

I hope somthing works for you :)

---
Tags: adb
---


title: Download purchased APK from play store

text:
# Question
Title: Download purchased APK from play store
I am using CyanogenMod on my Android devices without Google Apps (and consequently without the Play Store). Nevertheless, I have a Google account bound to my device ID and have purchased various apps with the account.

I want to download the APK files of the purchased apps and install them via ADB. About a year ago that was no problem using Real APK Leech or the APK Downloader extension for Chrome. Today Real APK Leech is seemingly unable to download any APKs, and the Chrome extension can only download APK files of free apps, even though the used Google Account has purchased the apps.

Are there any currently working ways of downloading purchased APK files without using the Play Store-App on the device itself?

(Similar questions I found on this site suggest outdated answers)

# Answer
> 10 votes
There are multiple possibilities for this. One is using the appropriate counter-parts from the µg project (pronounced "micro-G"; formerly known as NOGAPPS) – in this case Phonesky (the inofficial Google PlayStore Client) or BlankStore (same thing, basically). Each of these two would run directly on the device, no Google-Apps required (hence the name "NOGAPPS", or "micro-G(oogle)"). Check with FakeGApps, which has a good ReadMe to get you started with that on a Google-free device.

*Blankstore* (source: XDA; click for larger variant)

Then there's Raccoon, available for Linux, Mac, and Windows, see the article Raccoon is a desktop downloader for Google Play Store apps at AndroidCommunity. *Raccoon* can be used on your computer to download the APKs, which you then would need to install by other means (`adb install`, or copy to your Android device and manually install there). *Raccoon* also keeps track of updates available for apps you "watch". I'm not sure if it can deal with apps already bought (didn't give it a try yet), but as it works with your normal GPlay credentials, it should. As with *BlankStore,* just the *process* of bying apps will not be available – but you can do *that* using the *Google Playstore* with your web browser.

*Raccoon* (source: Tutonaut; click image for larger variant)

With payed apps, trouble often is they use Google's license service to verify their "legitimacy". That would fail with *Raccoon* if you've got neither GApps nor NOGAPPS on your device. *BlankStore* and *Phonesky*, on the other hand, were reported to take care of that as well (though I've experienced *BlankStore* to fail with payed apps recently, which might be caused by some API changes on Google's end – I didn't dig deeper into that yet, so I cannot tell for sure, but I don't seem to be the only one).

---
Tags: google-play-store, apk, downloading, paid-apps
---


# Question
Title: CM10.1 now cannot record any inbound audio on phone calls
```
CM10.1 now cannot record any inbound audio on phone calls

```

I was running Jellybean stock on my i9300 and used Total Recall to record telephone calls, recording both inbound and outbound audio correctly. I have now flashed CM10.1 and tried Total Recall to record telephone calls and I can no longer call inbound conversation.

I have also tried Sanity, Call Recorder Demo and Digital Call Record. Whenever I change the source for each of these respective programs to MIC everything works - except of course I cannot clearly record the inbound audio (the voice of the person on the other end).

When testing this I was sure to uninstall the other recording applications as I understand that 2 or more recording applications may cause conflict.

Any ideas about what I should do?

# Answer
> 1 votes
The issue is related to, as far as I know, Cyanogenmod policies.. In some countries call recording is illegal and therefore CM team hasn't implemented this feature. It's really annoying because the issue applies to certain (but not all) regions of the world.

I do hope that CM developers will come up with some sort of hack in the future. For now I am using Auto Call Recorder (https://play.google.com/store/apps/details?id=com.appstar.callrecorder) and using Mic as a source. The volume of inbound audio is very low unless the mic is turned on during the call.

Call recording is the only feature I lack in CM...

# Answer
> 0 votes
I have sort of successfully enabled call recording of both inbound and out bound using Callrecorder and ALSA. The problem I have is callrecorder crashes multiple times during the phone call and restarts another session.

# Answer
> 0 votes
I faced also same problem after update with CM 10 but as I updated with CM 12 so total recall call recorder is working again or should I say it's working amazingly. And it can record a phone call continuously.

Also one thing i must say that It can be possible because of total recall app updates too. I got the latest version from here : https://play.google.com/store/apps/details?id=com.killermobile.totalrecall

---
Tags: cyanogenmod, 4.2-jelly-bean, call-recording
---


# Question
Title: 3G/4G not working in Samsung galaxy S3 SGH-I747M
My 3G and 4G is not working on SAMSUNG SGH-I747M. It's an AT&T version of S3 so according to specifications it must support both. Can anyone tell what should I modify in order to get it working?

# Answer
Check if your settings are correct.

Go to Settings → More networks → Mobile network → Network mode and select as the image below is selected. If this doesn't work it may be the signal strength in your area

<sub>(Click image to enlarge)</sub>
> 1 votes

---
Tags: 3g, 4g
---


# Question
Title: How can I restore the original ringtones and sounds?
Without really thinking, I used the "clear data" command on the Media Storage app, which deleted all the stock ringtones and notification sounds from my Nexus One. How can I get them back?

# Answer
"all the stock ringtones and notification sounds" cannot be deleted without root. What happened here is, you've "dropped the index": the "Media Storage" app is what scans your media files from all over the device (including those on SD card), and maintains an "index" in form of a database. This is done for faster access, so apps using your media files have not all to scan the entire device themselves, but use a "cheaper and faster" call to that database instead.

What your "clear data" on this app did was not removing the media files themselves, but emptying that database – so apps relying on it won't see the files anymore. This gets fixed the next time the runs. If you don't want to wait for that, the easiest way to force the media scanner to run is rebooting the device, as it always runs on "boot completed".

See also:
> 2 votes

# Answer
If you are rooted, you can push this collection of media files to /system/media/

Without root, android should still locate the files if you place them in a folder on your SD card called "media" and retain the rest of the file structure from the zip.
> 4 votes

# Answer
I did a restart of my phone and everything was back to normal. Hope this helps someone.

I have been constantly facing no-enough-space-remaining errors, which would block certain services and this had probably did some messing up with my ringtone settings. After restart, I was able to find my ringtones back where it should have been.
> 0 votes

---
Tags: nexus-one, audio, restore, ringtone
---


# Question
Title: How to install apk in 2nd user of android 5.0 without playstore
So, android 5.0.2 doesn't allow side loading of apks for 2nd user (irrespective of whether it is guest or standard user). "Unknown Sources" is disabled and is uncheckable. And I use a pure Cyanogen Mod 12 (android 5.0.2) without any Google apps. So, there is no Play Store app.

But I have root access.

As shown in the pics, Unknown Sources is Uncheckable and installation is blocked.

<sub>(Click image to enlarge)</sub>

With this situation, how can i install apks on to the 2nd user account??

**EDIT:**

It seems Google intentionally (in the name of security) blocked sideloading apks for 2nd user in android 5.0.2. There is a bug report here. And sideloading was reenabled in android 5.1.

I will post how to sideload apks on lolipop 2nd user using adb. If this can be done without adb please post.

# Answer
Using the command,

```
adb install -r whatever.apk

```

will install the application in 2nd user of android 5.0.2 .

Source
> 6 votes

---
Tags: applications, 5.0-lollipop, apk, side-loading, unknown-sources
---


# Question
Title: How do I manually configure the DNS of my tethered connection?
In my new moto E, tethering my internet connection isn't working. I configured my nexus tablet to use my mobile phone connection. Everything looks fine, it looks like it is connected, but I can't access anything.

Using a terminal app, I can successfully ping a domain with numbers: ping 8.8.8.8, but when I try to point a domain name (Google.com), it fails.

I've tried with other devices and the result is the same.

How do I manually configure the DNS of my tethered connection?

Any other suggestion to fix this problem is welcome.

Some tests that I did:

* I tested tethering with two android devices, and both had the same problem.
* These devices used to successfully "theter" in my old Moto G.
* The problem happens in wifi and usb tethering.
* A few apps work fine, like WhatsApp. I believe they use the IP Address directly.

The moto E has Android 5.0.2.

# Answer
I've installed the DNSet app and it solved my tethering Moto E bug. The pro version allow you to configure any DNS server, but it wasn't necessary.
> 0 votes

---
Tags: 5.0-lollipop, tethering, dns
---


title: Removing dalvik from Android

text:
# Question
Title: Removing dalvik from Android
I have no experience in that so please forgive me if it sounds a bit silly:

Is it possible to remove all "user layer" application and DalvikVM from an Android, just to obtain plain linux-based embedded OS with all libraries and drivers already configured? Does graphical environment requres DalvikVM? Could I get a classic terminal in that case?

Maybe somebody already have done something like this or knows good resources about it?

# Answer
> 6 votes
You can. Understand that it's running Bionic rather than glibc, and not everything you're used to having on desktop Linux will be available.

The simplest way to experience this is to shut the Android framework down with `adb shell stop` (while running as root). At this point, anything you can do on the device is being done without the VM.

You can run native programs, sending stdin/stdout over ADB. You can interact with HardwareComposer to get access to the display, and use OpenGL ES to render stuff. (You might want to keep SurfaceFlinger around, but that's entirely native code.)

Having the VM available doesn't stop you from doing anything, so getting rid of it doesn't do anything but free up disk space.

You might be better off with a Raspberry Pi for hobby projects.

# Answer
> 1 votes
As far as I know, without Dalvik, you can't be running any application packages (APK's, like SystemUI or framework-res.apk) and JARs without which there would be no means to run the logical Android UI as we know.

Maybe you could get some shell running if you really know about Android and its stuffs.

And yeah, Android is not Android without Dalvik or ART :)
Removing them makes Android meaningless.

If you really are a Linux genius, you can completely wipe the phone's SD and somehow modify a Linux distro from its source and put it to the device, that too provided you know how to link the drivers (yeah, drivers are just compiled binaries, it'd be good if you had the source), and that's way more difficult than what one can think.. :)

---
Tags: system, dalvik
---


# Question
Title: Simulate menu button in older app (Android 2.x) on Android 4.x tablet
I've got a new Android 4.1 tablet. I am trying to run an old app which was created for Android 2.1 and relies on the menu button.

Can somebody points me to a ready-made application which returns the new menu button? Any idea?

# Answer
> 3 votes
When a newer device loads an app that targets an old Android version, it displays a menu button on the system bar, near the home, recents, and back buttons. It has the same "three dots" icon that you see on newer Android apps. Pressing this has the same effect as pressing the menu key on a device that has one.

# Answer
> 2 votes
On my S6 Edge plus (just upgraded from an S4), I found a long press on the back button solved it.

---
Tags: menu
---


# Question
Title: Are Apple headset volume control buttons not compatible with Android phones?
I have recently transitioned from the iOS ecosystem to the Android ecosystem, and I just realised that although my iOS headsets can be used to pause and play the tracks and receive calls, their volume control buttons do not work, while the stock headset from the Samsung phone has working volume control buttons.

The only source I can find for this is this Stack Overflow answer, which states that Android cannot ever achieve compatibility due to Apple's patents. However, it does not cite a source.

Can anyone confirm that this is indeed the case with a reputable source?

# Answer
I tried this a while ago and they didn't work for me either. So no, Apple stuff won't work on Android phones.
> 0 votes

# Answer
This would be a fly-by-night shot, but, has anybody try Tasker at all? One should be able to set up the media controls for Tasker to pick up the buttons pushed on the headset/ear buds and forward them to the media control for the current media player, in theory at least. This would only work if the hardware even registers the volume button presses.

If I get the time I'll see about snagging a pair with volume and answer buttons to test it out and I'll come back here if it works to post the steps to make it work. My two cents, enjoy.
> 0 votes

---
Tags: hardware
---


# Question
Title: I can't plug in my charger to my Samsung Galaxy tab 3 I think something is broken but i don't know how it happened
I really need help because I have no money to buy a new one. I was charging my tablet before a party and when I had to leave I unplugged it came home and it wouldn't plug in and I have tried all kinds of chargers with a micro USB but none of them work

# Answer
If the screen shows the status "Charging" but it's stuck, Try the following:

If the device simply not charges:

* See if there's something in the hole(You were at a party, who knows what might be in there!)
* Go to a shop and fix your phone.
> 0 votes

---
Tags: charging, samsung-galaxy-tab-3-7
---


# Question
Title: Wrapping text after zooming in Google Docs
When I pinch zoom the page in Google Docs to make the text bigger, the text does not reflow/recalculate the wrap, so I cannot read the document without panning left/right to view the whole line.

This is an issue as I would like to use Google Docs on my tablet for presentation notes when I present.

# Answer
> 1 votes
**Workaround:** Select all text and set the font size bigger (20pt worked for me) then zoom out so the whole line is visible. The text will still be quite large.

---
Tags: google-drive
---


# Question
Title: my screen is broken on my moto g. How can i put it into discovery mode on bluetooth?
My motorola moto g smartphone has broken screen. Is there any way to connect to pc and sync my music.? I cant see the screen to turn bluetooth on so i cant get it into discovery mode.

# Answer
> 1 votes
To turn on bluetooth with root access it is this command:

> adb shell su -c service call bluetooth\_manager 6

To turn off Bluetooth with root access it is this command:

> adb shell su -c service call bluetooth\_manager 8

# Answer
> 0 votes
If you want to control your Android device from PC then you can use Vysor

Chrome extension : this

Demo Video : this

---
Tags: motorola-moto-g, touchscreen
---


# Question
Title: Galaxy S4 Mini not recognized by Linux in Download Mode
I'm currently trying to root my Samsung Galaxy S4 Mini, so to install CWM, I boot the device into download mode using my Linux Mint 17.2 laptop:

```
$ adb reboot bootloader

```

Now, as intended, my phone boots into download mode, yet fastboot doesn't recognize the device:

```
$ sudo fastboot devices
$ sudo fastboot continue
< waiting for device >

```

However, in `lsusb`, the phone clearly shows up:

```
Bus 001 Device 005: ID 04e8:685d Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (Download mode)

```

As you can see above, I run fastboot as root, so it certainly isn't a permission problem.

I can't find a solution anywhere on the internet, so any help is appreciated. If you need any further information, let me know.

---

Let me throw some additional stuff on you, in case it helps:

My PC:

```
$ dpkg -s android-tools-fastboot
Package: android-tools-fastboot
Status: install ok installed
Priority: extra
Section: devel
Installed-Size: 154
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: android-tools
Version: 4.2.2+git20130218-3ubuntu23
Depends: libc6 (>= 2.14), libselinux1 (>= 2.0.65), zlib1g (>= 1:1.2.3.4)
Conffiles:
 /etc/bash_completion.d/fastboot df71a6a847b1d7c6499ad718502b651f
Description: Android Fastboot protocol CLI tool
 Fastboot is a diagnostic protocol primarily used to update the flash
 filesystem of Android devices over USB.
 .
 This package provides the fastboot command-line tool.
Homepage: http://developer.android.com/guide/developing/tools/adb.html
Original-Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu>

$ uname -a
Linux dracarys 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

```

My phone:

```
Samsung Galaxy S4 Mini GT-I9195
Android 4.4.2
Linux version: 3.4.0-3173303

```

# Answer
Samsung devices do not support *fastboot*. To flash a custom recovery, you can either use the `dd` command from within your ROM (assuming you're rooted), or use Heimdall. Instructions on using Heimdall can be found in the Heimdall Linux README.
> 1 votes

---
Tags: rooting, linux, fastboot, samsung-galaxy-s-4-mini
---


# Question
Title: Phone isn't detected via USB but still charges
My Galaxy GT-S5360 is not being detected via USB when I connect it to my PC. It still charges however. It used to work and there was a prompt to connect it to the computer but now it just charges directly. I have downloaded Samsung Kies but it still won't connect.

# Answer
A USB connector has two pins for 5V and two for the data signal. Seems like the first are still connected while the latter are not.

* Have you tried another cable and restarted your PC?
* It's also possible that the phone's socket is damaged or has connectiviy problems.
It's soldered onto the phone's logic board. Did you once drop it with the cable inserted?
> 5 votes

# Answer
I have just experienced same kind of problem for my Samsung Galaxy S3-SGH i747. I overcome this issue by:

1. Go to dial pad & type `*#0808#`
2. It displays USB settings
3. Select MTP+ADB option
4. Press OK button
5. Connect to USB cable to PC
6. It shows Connected as a media device.
> 3 votes

# Answer
Please check your phone while connecting the screen should be unlock then only all your Internal and Card memory will be visible.
> 0 votes

# Answer
Check out this link at Microsoft - It seems to be a problem with Windows 8.1. USB Plug-and-Play: Plug in your Galaxy Y and then unplug/plug a different device on your PC where the Plug-and-Play works - this will cause the Galaxy Y to be detected.
> 0 votes

---
Tags: usb, samsung-galaxy-y
---


# Question
Title: How can I test functioning of internal component (sensors, NFC, pedometer etc...)
I recently dropped my LG G3 in water. I opened it and let it dry for a long time.

It now work properly but some components does not seems to work anymore. For example light sensor, proximity sensor or pedometer seems broken.

Is there any way, or application, to have a full check-up of my phone component to see what is going on ? I want to see if all component are still detected or not and if I can do anything about it.

Thanks in advance for your help.

# Answer
> 2 votes
Try these :

## Sensor Kinetics

The Sensor Kinetics app is an advanced monitor for the standard sensors that are available on Android devices. It offers a comprehensive look at the dynamics of the combined functionality of the sensors. The app demonstrates the use of each of the sensors and provides a look at the charts associated with each of them to know how fast the sensors are operating. The chart viewers allow users to measure the accuracy and behavior of the sensors.

<sub>(Click Image to enlarge)</sub>

## Sensor Box for Android

Sensor Box for Android detects all available sensors on your Android device, and vividly shows you how they work with amazing graphics. Sensor Box for Android also tells you which sensors are supported by the hardware, and provides extremely useful sensor tools that could be used in our daily life.

## Sensor Test

The Sensor Test application is a capable tool that is ultimately designed with the aim to detect the functionality of each of the sensors that are available on the user’s Android device. It displays the default sensors and shows the real time data and information of each sensor. This app provides support to Triggers sensors and supports devices running on Android 4.3 and above.

## Phone Tester

The Phone Tester is an application that lets users to analyze and detect if the components and hardware of their device are operating correctly. Apart from checking the functionality of the sensors on the device, users can also detect Wi-Fi, telephony, GPS, multi-touch, battery and system information. The app also comes in a Pro version that shows more information including phone memory, CPU speed and SD card memory without any ads.

## AndroSensor

The AndroSensor is a complete diagnostic tool allows users to know everything about their Android device and its status. It supports all the sensors on the device and detail on which of these sensors actually work or which of them are supports by the device hardware. The tool displays the real time sensor details in both graphical and text form and users can also record sensor data using the AndroSensor QuickBar into a CSV file.

## Sensor Checker

Sensor Tester checks the functionality from Your Android Device. Many Apps use sensors, but it is possible that Your device doesn´t support these sensors or are defective. With Sensor Checker You see which sensors are supported and if they work right. An example for a sensor app is a magnetic field sensor app like compass, or some apps where You have to shake your device.

Try also: Sensors Multitool & Sensors Test

# Answer
> 0 votes
You can try Lg G3 hidden testing menu to test all the components

Depending on the carrier, your codes will be different. Check out the list below:

* AT&T: 3845#\*850#
* Sprint: 5689#\*990#
* T-Mobile: 3845#\*851#
* Verizon Wireless: ##228378 (+ send)
* International Models: 3845#\*855#

Just dial the codes in your dialer.

Source:http://lg-g3.wonderhowto.com/how-to/unlock-hidden-menu-run-diagnostic-test-your-lg-g3-0156740/

---
Tags: applications, hardware, lg, lg-g3
---


# Question
Title: Reverse Tether Android Tablet without Rooting
What are some ways I can use an Android Tablet's USB cable to leech off a PC's wired internet connection? I have a PC with fast and unlimited internet and I want to connect an Android Tablet to it *without* using Bluetooth or Wi-Fi.

Additionally, I do *not* want to "root" the Android Tablet.

# Answer
You certainly don't need to root it. Unless you're a farmer.

On your PC go to start \>control panel.

Go to Networking and settings Center, and then clicking Manage network connections. Right-click the connection that you want to share, and then click Properties. There should be a share option.
> 0 votes

---
Tags: wi-fi, router, tethering
---


# Question
Title: How to secure personal data on a factory reset tablet with broken microUSB port?
I recently sold a Nexus 7 (1st generation 2012 model) online after performing a factory reset. Today, I learned that factory resetting does not completely erase your data. I am very paranoid about selling this tablet now. I read that the best thing to do is to encrypt your data and then do a factory reset. Am I correct to assume that if I've already done the reset that won't help?

If encryption is still a solution in my case, then I have a further problem: the microUSB port is broken, the device will not charge and is not detected when plugged into my computer. You can't perform the encryption without a fully charged battery, so that no longer seems like an option for me.

Given that I've already sold the tablet and am expected to ship it out on Tuesday, is there anything I can do at this point to assuage my fears of personal data theft?

# Answer
If the battery lasts long enough, you can use a tool to perform a Secure Wipe. As you've already factory-reset the device, one that cares to sanitize free/empty space should suffice, such as Secure Eraser or the free version of iShredder.

What those apps do is overwriting empty space with random patterns (or just zeros, or just ones) – so all a potential "restorer" can find afterwards is garbage.

If your battery gives up inmidst of the process, you've got at least something sanitized – and cannot do anything about the rest anyway. Still better than nothing I'd say, so I'd give it a try.
> 2 votes

---
Tags: nexus-7, factory-reset, tablet, privacy
---


# Question
Title: How to find and remove malware from some chinese smartphones?
I am planning to buy a chinese smartphone. However, I've read that some come with extensive spyware straight from the factory.

Will I be able to detect such malware (Android.Trojan.Uupay.D and the likes) using any (free) android antivirus ? Is it really impossible to remove them (GData says so) ?

# Answer
> Will I be able to detect such malware (Android.Trojan.Uupay.D and the likes) using any (free) android antivirus ?

No, if it was detectable by a free or even paid antivirus, the company wont ship the device with the malware, as it will bring down sales drastically. They have a reputation to maintain!

> Is it really impossible to remove them (GData says so) ?

No.

If you want to be 100% sure that the device is clean, then you must remove the OS that came with it and flash a trusted(opensource) ROM like official CyanogenMod. So before buying the phone, check if you can get one. Here is a list of devices that support CyanogenMod.

If a official cyanogen or other ROMs are not available and you still want to buy the same device, an impractical advice to the average user would be to port/compile CyanogenMod or AOSP from source.
> 1 votes

# Answer
I'm thinking on only one way. After receiving your device, root it! Why root? Well very simple. After rooting the device go to the location `/system/app` and remove any "bonus" application who you got on the cell phone. Plus, after that install some antivirus application to your device, I recommend `Kaspersky Internet Security`, and/or Malwarebytes Anti-Malware for malware ofc.

I'm using both of them on PC and my Android device, and I'm very pleased with their abilities.
> -1 votes

---
Tags: malware
---


title: Moto G Lollipop update

text:
# Question
Title: Moto G Lollipop update
I'm in Ireland and recently got the Lollipop update for my Moto G. Ever since then although the emoji's appear and I send them the people receive the messages but with no emoji's attached is anyone having the same issue.

# Answer
Go to message settings, SMS Encoding Method, set to **Automatic**

This worked for me
> 0 votes

---
Tags: 5.0-lollipop, motorola-moto-g, emoticons
---


# Question
Title: Do any google apps have any special privileges that normal apps don't have?
Every android app has a series of permissions which is granted at install time. Some google apps seem to be able to do some pretty global things that not many other apps have (eg. google now constantly reading the microphone to hear when you say "ok google").

Just wondering, are there any permissions which only google are allowed to have or do all apps have access to all of the same permissions?

can I technically create an app with any of google's features?

# Answer
> 1 votes
Google's apps don't have any special privileges just for being from Google. But certain permissions are only available to apps that are preinstalled on the device (as opposed to installed later by the user), so some of Google's software gets special privileges by virtue of being preinstalled. On something like a Kindle Fire, which comes with Amazon's services installed instead of Google's, Amazon's software would get those special privileges instead.

# Answer
> -1 votes
In android development you can access almost any permission who is defined here. While developing an android application, in the AndroidManifest.xml file you write down if your application will be using internet,microphone or others. In practical usage, to allow your application let's say internet, you write this line of code.

```
<uses-permission android:name="android.permission.INTERNET" />

```

Now there is one "special" permission. It is the Super User permission. Super User is also called "root". More about root or Super User you can read here.

---
Tags: permissions
---


# Question
Title: Google play store is missing after installing Cyanogenmod 12.1
I installed CyanogenMod 12.1 to my galaxy S2(GT-I9100) along with gapps. (Later I tried the same with different gapps too) and everything went good, I successfully installed both zip from CWM 6.0.4.x.

But after I switch on my phone, after all initial steps, I noticed Google Play app is missing, all other gapps are present.

I have used same gapps file for installing in Galaxy note (GT-N7000) along with CyanogenMod 12.1 and Google play store is present

This is first time I'm facing these kind of issue with CyanogenMod installation.

Anybody can help on this issue?

# Answer
> 1 votes
I forgot to wipe system partition. I just performed factory reset and wiped dalvik cache.
After wiping these and installing gapps again worked for me.

---
Tags: cyanogenmod, google-play-store, samsung-apps
---


# Question
Title: Why do I have to authorise HTC Sense to access Facebook?
Why do I have to authorise HTC Sense to access Facebook when I do not use Facebook on my phone and have no desire to do so?

# Answer
> 0 votes
These days social media is built into many OS's. You can't disable some features such as integration with Facebook in this instance.

---
Tags: htc-sense
---


title: Monitor file owner

text:
# Question
Title: Monitor file owner
There's a file (`stream.wav`) which appears from time to time on the `/sdcard` and it grows large and eventually eats up all available space. I need to find out the application which opens this file and keeps it growing.

Is there any way to determine this?

PS. The Android device is rooted.

# Answer
> 0 votes
For rooted phones only, on the terminal (or after `adb shell`):

```
su
lsof | grep -i stream.wav

```

The output will look like

```
sdcard     206   media_rw    7   ... /data/media/0/stream.wav
XXXXXXXXX  6226     u0_a94   27  ...  /storage/emulated/legacy/stream.wav

```

which shows `XXXXXXXXX` (masked) is responsible for the file.

Thanks to Izzy's comment, this is his answer, but a bit reformulated.

---
Tags: file-management, resource-monitoring
---


title: playstore in app purchase application s

text:
# Question
Title: playstore in app purchase application s
i have downloaded in app purcahse app from playstore but i have not entered any bank a/c so will i get any bill from playstore.it was written that it is in app purchase but it was in Top Free list. please help me

# Answer
> 0 votes
In-app purchase means just that. You can purchase, for real money, additional features or upgrades to the app. The app is free, but a lot of games almost require spending money after beginning gameplay in order to proceed or finish. You do not need to enter credit card information to download or use an app with in-app purchasing and you will not be charged without purposefully selecting and confirming an in-app purchase.

Hope this helps!

# Answer
> 0 votes
It is just an indicator to indicate that selected app has few purchases that can be purchased after you download the app and open it.

You can purchase any item you want after you open the app.

Image shows the in-app purchase indicator below open button.

---
Tags: 4.4-kitkat
---


# Question
Title: Reinstalling KitKat after upgrading to Lollipop
My Asus Google Nexus 7 has failed completely after upgrading to Lollipop from KitKat 4.4.4.

Now the tab can not handle running more than one app at a time and frequently hangs requiring power shut down and restart. Can some one detail how KitKat 4.4.4 can be reinstalled? The tab worked marvelously earlier.

# Answer
You can use this nexus-7 link to get started. There are nexus-7 developer forums where you can look for rom (other OS) to install it on your nexus-7.

Also, you can install cynogenmod 12+ which is modified lollipop version of Google's Android OS. CM12+ is lot smoother in terms of performance and also has many features like themes and audioFX.

**Please note** \- While installing anything on your phone voids the warranty of your phone. Also, remember to follow each and every step as described in forum. Otherwise, there is a chance that phone will get bricked. So, please be careful.
> 1 votes

---
Tags: 5.0-lollipop, nexus-7
---


# Question
Title: Modify hosts file on Android without rooting device
Is it possible to add entry to hosts file on Android without rooting phone?

I am contractor working in remote and I have to use AirWatch and Cisco AnyConnect to get access to VPN, but if I root Samsung tablet (SM-T700, 5.0.2) then I can't get access to VPN. All what I actually need is to access web application behind that VPN with either Firefox or Chrome. It's just adding: ip.ip.ip.ip jbossWorker100.intranetOfCompany.com

I already rooted tablet, changed host file, but then I can't get access VPN, and if I unroot it then I can get through VPN but I can't get to the app.

# Answer
This is not possible. You can, however, run your own DNS server on a local network, that could emulate this behaviour on all appliances that are connected via it.
> 1 votes

---
Tags: vpn, hosts
---


# Question
Title: Black screen, but the phone is working (Moto G LTE)
I have a Moto G 4G (with Lollipop) with the following problem. As soon as the boot sequence completes the screen turns black. It is not broken because the boot animation is shown, and I can take screenshots by pressing the power button and VOL DOWN. I can also see the screenshot animation (a white square that shrinks on the screen) and hear the shutter sound. By holding the power button the "Shut down" dialog appears and it can be touched, resulting in the phone shutting down.

I have tried running the phone in Safe Mode. Nothing changes (except from the Safe mode text in the lower left corner). I have also tried wiping the cache from the recovery twice to no avail.

Can you help me diagnose the problem? Or at least, is there a way to backup the data from the phone before attempting an hard reset? Please notice that the phone is locked, unrooted and the usb debug is not active, so I can't use ADB.

# Answer
This is likely a factory reset situation unless there is a known vulnerability in the recovery image or bootloader that could allow you to either flash your own recovery or at least use some means of ADB to access the phone.

As a long shot, try ADB backup from within recovery. Some recovery images tend to keep adb accessible to some extent.
> 0 votes

---
Tags: backup, data-recovery, unbricking
---


title: Adjust SMS length limit?

text:
# Question
Title: Adjust SMS length limit?
I just bought my new Samsung Galaxy S5. When texting, when I exceed 160 characters it automatically converts to MMS. I have researched the remedy,gone to settings and clicked the MMS Alert to 'on' which alerts me when I have exceeded the maximum amount of characters, but it still converts to MMS. How can I revise the amount of maximum characters so I won't need to use my data? I certainly don't want to have to send multiple texts every time I text over the 160 limit.

# Answer
There is no way to increase the number of characters you can send via SMS. SMS (Short Message Service) is a fixed standard that is currently defined as a way of sending messages up to 1120 bits in length. This means 160 7-bit characters or 140 8-bit characters or 70 16-bit characters. More here http://www.en.wikipedia.org/wiki/Short\_Message\_Service
> 4 votes

# Answer
I had the same issue with my Samsung Galaxy S4. When I exceed 160 characters, it automatically converts the message type to MMS. I installed Google messenger app to solve this issue.
> 2 votes

# Answer
I found that using a 3rd party messaging app would solve the problem! But then, the functions of the built-in Samsung Messages app would be gone. Such as the swipe to call and also my favourite feature, the quick contacts.
> 0 votes

# Answer
i think you are using s5 prime. With 160 sms limit.there's no way to increase it. But if you root your s5 prime to s5 It can be solve.
> -1 votes

---
Tags: sms, samsung-galaxy-s-5
---


# Question
Title: S6 Duos: Toggle for Data Service Network
I have a **Samsung Galaxy S6 Duos**, with two SIM cards set up. Each of them has a data plan. In order to switch the active data plans from one SIM to another, I go to *SIM Card Manager* under *Settings* and change the preferred SIM for *Mobile Data Network*. Is there a more convenient way to do this?

I can switch between active SIMs using the pull-down menu, but this does not switch the active data connection. Is there a setting or utility that lets me do this from the pull-down menu as well?

# Answer
In most of the dual SIM Samsung devices, changing the active SIM does not change the Data Network SIM same time. You need to go to Settings and change the mobile data network. As a quick shortcut, you can touch and hold the Data Network button from the pull down menu and it will open the Data Network settings. Then you can switch the SIM for the data network.
> 0 votes

---
Tags: samsung, samsung-galaxy-s-6, dual-sim
---


# Question
Title: Why 'Add what you're doing or feeling' option/icon is missing from my Android Facebook app? How should I enable it?
I'm using Sony Xperia C Android smartphone. Facebook app is pre-installed in it.

The issue I'm faing is I'm not getting an option for 'Add what you're doing or feeling' when I want to update my status. Only three options are there as follows :

1. Tag people in your post
2. Add a location to post
3. Add photos to your post

The missing one is'Add what you're doing or feeling'. I checked all the settings but no success.

The same option appears on facebook website. Can someone please help me in this regard?

Thanks.

If you want any other information please do let me know.

# Answer
Facebook released v2.3 around 20th March 2013, Here's a snapshot of the page with Facebookv2.3.

Facebook announced it's enhanced status update on how they're feeling around 10th April 2013 which is the reason it's not included in the App.

Update the app, you'll get this feature.
> 5 votes

---
Tags: facebook
---


# Question
Title: Droid Explorer is unable to browse device
I love the idea of being able to browse root directories on my laptop.

But I can't for the life of me get droid explore to work, I have a note 4 (rooted of course), I am running stock Sammy ROM, I have installed adbd insecure on my device and I can access root via adb, but I cannot do anything with this software. I also have busybox installed to `/xbin`.

When I click connect device, my device does show up, but when I click on said device, the application grays out and i cannot click anything other than min/max or close. It is the same with a rooted Samsung nexus that i have, running CM11. Any input would be appreciated. Thanks in advance.

EDIT: i am running 64bit win 7 and I have tried reinstalling the software twice.

# Answer
> 3 votes
*Disclaimer: I am the developer of Droid Explorer*

Without knowing the exact version of the SDK platform-tools you have installed (but I will assume the latest), I think the problem is with the Android SDK platform-tools.

Droid Explorer uses a feature in ADB called 'status-window' to keep track of the connection state of the devices. In the latest version (rev. 23), they removed this feature.

You can manually download an older version of the platform-tools and put them in your SDK directory:

* Download rev. 21 of the platform-tools from platform-tools\_r21-windows.zip
* Rename the `platform-tools` directory in your SDK to `platform-tools-23`
* Extract the zip file, downloaded previously, to the root of your SDK directory. It contains the `platform-tools` directory in the zip.

This will be corrected in the next version of Droid Explorer so it will again work with the latest SDK. I have been working on multiple ways to replace the functionality that was removed in the latest revision of the platform-tools. Once I am happy with how it functions and am confident that it is stable, I will release an update.

---
Tags: connection-issues, droid-explorer
---