# Question
Title: What permissions are granted to an app with device administration privileges?
Does a Device Administrator application have any/all permissions such as contacts, storage, etc.. ?

It's not clear from developer.android.com device-admin whether or not these admin rights also imply application permissions.

Or does device administrator simply mean that it can *only* do the things in the policy it's allowed to such as lock the screen, wipe the phone, prevent (easily) uninstalling the app, etc.. and that permissions to access private information is managed via the permissions settings only ?

# Answer
Yes, a device administrator **only** has permissions to do what it says.

If you change the permissions of the app that the administrator is associated with, the **administrators permissions will not change**

(Answer made from the following sources):
> 7 votes

# Answer
As you explicitly pinged me for an answer:

AFAIK, apps can only use permissions declared in their Manifest – so there should be no way an app could add itself permissions it never requested there.

DeviceAdmin gives high extra powers (apps are e.g. protected against uninstall, and can access some extra stuff they couldn't do without). What exactly this includes, I'm not sure. I only can refer to a specific part of the page you've linked, where the powers are explained. I cannot vouch for the pages completeness (or correctness at that: wouldn't be the first time some error made it in there).

Enabling Device Administrator (source: Android Developers; click image to enlarge)

You might remember there's something else carrying a similar name: ADM, the Android Device Manager. Checking above screenshot with that in mind, gives you an idea on the basics: ADM allows you to permit those functions (though AFAIK it doesn't feature "Monitor screen-unlock attempts" and "Disable cameras"). But this is a typical example of using most of those features.

---

**TL;DR:** AFAIK *DeviceAdmin* cannot grant permissions to any app (including the DA-app itself), especially not if the app-in-question did not declare them in its `Manifest`. It just gives the app carrying this permission access to specific system features not available otherwise.
> 4 votes

---
Tags: root-access, security, permissions, privacy
---


# Question
Title: How do you encrypt your device running CyanogenMod 12.1?
CyanogenMod 12 and 12.1 'Encrypt phone' setting is broken, and has been for quite a while. Is there any way to encrypt the phone in some other fashion? Can CM be sideloaded onto a phone with an encrypted /data directory? Are there any other ways to keep your data safe and sound? The device I'm working on is a Verizon LG G3.

# Answer
There are low(er)-level commands that can be used in a shell to encrypt your user data partition. Disclaimer/Warning: the following instructions **will wipe your data**, ensure that you make a backup if needed.

Following these steps, you *should* be able to wipe your data partition and have it encrypted afterwards (similar to a factory reset):

1. Boot your phone normally (either recovery does not work anymore, or I ran into a different issue).
2. Ensure that *USB debugging mode* (adb) and *Root access* for ADB is enabled.
3. Enter a root shell with `adb root` followed by `adb shell`.
4. Optional: watch logs by invoking `adb logcat` in another shell.
5. Enter this command, type your password and press Enter. This will actually set your password. This command reads one line of input (`head -1`), strips the trailing newline from Enter (`tr -d '\n'`) and converts it to a hexadecimal representation (`hexdump ...`). If it looks scary or if you are not sure what this command does, see below.

```
vdc cryptfs enablecrypto wipe password $(head -1 | tr -d '\n' | hexdump -ve '1/1 "%.2x"')

```
6. If everything goes okay, your device will set keys and reboot to complete the encryption.

The above `vdc` command ("Volume Daemon Client") communicated with `vold` (Volume Daemon) has some subcommands like `cryptfs` for encryption. The `enablecrypto` subcommand has two modes: `wipe` (clear `/data` completely) and `inplace` (supposedly applying encryption while copying your original `/data` inside the container).

Then, four options are available starting with Android 5.0, one of them is `password` which accepts a single hexadecimal sequence as key. Thus if your password is `foo`, then the hexadecimal representation is `666f6f` (`f` is `66` in hex, `o` is `6f`, see http://www.asciitable.com/). The command for this is:

```
vdc cryptfs enablecrypto wipe password 666f6f

```

This was tested on a Nexus 5 (code name hammerhead, running cm-12.1-20150814) which has a separate partition for storing metadata. It is **important** that the userdata partition has the `encryptable` flag set followed by either the path to a partition or the special string `footer`. An (abbreviated) line from my `/fstab.hammerhead` file:

> /dev/block/platform/msm\_sdcc.1/by-name/userdata **/data** ext4 ...,check,**encryptable**=**/dev/block/platform/msm\_sdcc.1/by-name/metadata**

When the special string `footer` (`encryptable=footer`) is present, then 16 KiB at the end of the data partition is used to store encryption metadata.

For further reading, see:

---

Appendix: logcat excerpt from the moment I executed the encryption command until it finishes and reboots (omitting unrelated graphics messages at the end). Note that this Nexus 5 has hardware-accelerated crypto (QSEECom).

```
--------- beginning of main
08-16 12:57:15.459 W/DrmManagerClientImpl(Native)( 2108): DrmManager server died!
08-16 12:57:15.459 I/ServiceManager(  184): service 'drm.drmManager' died
08-16 12:57:15.467 D/Cryptfs (  186): Just asked init to shut down class main
08-16 12:57:15.470 D/Cryptfs (  186): unmounting /mnt/shell/emulated succeeded
08-16 12:57:15.599 I/ServiceManager(  184): service 'media.audio_flinger' died
08-16 12:57:15.599 I/ServiceManager(  184): service 'media.player' died
08-16 12:57:15.599 I/ServiceManager(  184): service 'media.camera' died
...
08-16 12:57:16.695 D/Cryptfs (  186): unmounting /data succeeded
08-16 12:57:16.695 D/QSEECOMAPI: (  186): QSEECom_get_handle sb_length = 0x2000
08-16 12:57:16.696 D/QSEECOMAPI: (  186): App is already loaded QSEE and app id = 2
08-16 12:57:16.697 I/Cryptfs (  186): keymaster version is 3
08-16 12:57:16.697 D/QSEECOMAPI: (  186): QSEECom_dealloc_memory
08-16 12:57:16.697 D/QSEECOMAPI: (  186): QSEECom_shutdown_app, app_id = 2
08-16 12:57:16.697 D/QSEECOMAPI: (  186): QSEECom_get_handle sb_length = 0x2000
08-16 12:57:16.697 D/QSEECOMAPI: (  186): App is already loaded QSEE and app id = 2
08-16 12:57:18.058 D/QSEECOMAPI: (  186): QSEECom_dealloc_memory
08-16 12:57:18.058 D/QSEECOMAPI: (  186): QSEECom_shutdown_app, app_id = 2
08-16 12:57:18.058 I/Cryptfs (  186): Using scrypt with keymaster for cryptfs KDF
08-16 12:57:18.208 D/BootAnimation( 2683): Use save memory method, maybe small fps in actual.
08-16 12:57:18.208 E/QCOM PowerHAL( 2683): Failed to acquire lock.
08-16 12:57:18.691 D/QSEECOMAPI: (  186): QSEECom_get_handle sb_length = 0x2000
08-16 12:57:18.691 D/QSEECOMAPI: (  186): App is already loaded QSEE and app id = 2
08-16 12:57:18.692 I/Cryptfs (  186): Signing safely-padded object
08-16 12:57:18.797 D/QSEECOMAPI: (  186): QSEECom_dealloc_memory
08-16 12:57:18.797 D/QSEECOMAPI: (  186): QSEECom_shutdown_app, app_id = 2
08-16 12:57:20.056 I/Cryptfs (  186): Using scrypt with keymaster for cryptfs KDF
08-16 12:57:20.690 D/QSEECOMAPI: (  186): QSEECom_get_handle sb_length = 0x2000
08-16 12:57:20.691 D/QSEECOMAPI: (  186): App is already loaded QSEE and app id = 2
08-16 12:57:20.691 I/Cryptfs (  186): Signing safely-padded object
08-16 12:57:20.796 D/QSEECOMAPI: (  186): QSEECom_dealloc_memory
08-16 12:57:20.796 D/QSEECOMAPI: (  186): QSEECom_shutdown_app, app_id = 2
08-16 12:57:21.429 I/Cryptfs (  186): Enabling support for allow_discards in dmcrypt.
08-16 12:57:21.429 I/Cryptfs (  186): load_crypto_mapping_table: target_type = crypt
08-16 12:57:21.429 I/Cryptfs (  186): load_crypto_mapping_table: real_blk_name = /dev/block/platform/msm_sdcc.1/by-name/userdata, extra_params = 1 allow_discards
08-16 12:57:21.431 I/Cryptfs (  186): Making empty filesystem with command /system/bin/make_ext4fs -a /data -l 13725837312 /dev/block/dm-0
08-16 12:57:21.447 I/make_ext4fs(  186): SELinux: Loaded file_contexts from /file_contexts
08-16 12:57:21.447 I/make_ext4fs(  186): Creating filesystem with parameters:
08-16 12:57:21.447 I/make_ext4fs(  186):     Size: 13725835264
08-16 12:57:21.448 I/make_ext4fs(  186):     Block size: 4096
08-16 12:57:21.448 I/make_ext4fs(  186):     Blocks per group: 32768
08-16 12:57:21.448 I/make_ext4fs(  186):     Inodes per group: 8144
08-16 12:57:21.448 I/make_ext4fs(  186):     Inode size: 256
08-16 12:57:21.448 I/make_ext4fs(  186):     Journal blocks: 32768
08-16 12:57:21.449 I/make_ext4fs(  186):     Label:
08-16 12:57:21.449 I/make_ext4fs(  186):     Transparent compression: none
08-16 12:57:21.449 I/make_ext4fs(  186):     Blocks: 3351034
08-16 12:57:21.449 I/make_ext4fs(  186):     Block groups: 103
08-16 12:57:21.459 I/make_ext4fs(  186):     Reserved block group size: 823
08-16 12:57:21.465 I/make_ext4fs(  186): Created filesystem with 11/838832 inodes and 93654/3351034 blocks
08-16 12:57:21.465 I/make_ext4fs(  186):     Total files: 0
08-16 12:57:21.465 I/make_ext4fs(  186):     Total bytes: 0
08-16 12:57:42.926 D/Cryptfs (  186): Successfully created filesystem on /dev/block/dm-0

```
> 6 votes

# Answer
For me, the original answer did not work as expected. It looked like it encrypted successfully, but the UI came back very quickly and the "Encryption" setting did not show that the devices was encrypted. I then applied the commands given in the update, but it still didn't work. I then reduced the size of the data partition and it encrypted successfully. I.e.

`mount | grep data` to find the actual block device of the data partition. Let's assume it is `/dev/block/mmcblk0p26`.

`umount /data` for the ext-tools to work.

`e2fsck -f -p /dev/block/mmcblk0p26` to not run into trouble for the upcoming resizing.

`tune2fs -l /dev/block/mmcblk0p26` to obtain the Block count. Let's assume it is `3057395`.

`resize2fs /dev/block/mmcblk0p26 3057375`, i.e. substract a sufficient amount like 20 from the original block count.

`e2fsck -f -p /dev/block/mmcblk0p26` found a wrongly placed inode for me.

I also needed to mount the `/system` partition in order to get hold of `resize2fs`. On my system, that binary was linked against a 64bit version of libc, but the TWRP I was used did not seem to provide that. So I needed to prefix the commands with `env LD_LIBRARY_PATH=/system/lib64`.
> 5 votes

# Answer
As of *CM12.1 2015-10-15* the answer by Lekensteyn no longer works.

Apparently the *mkfs.f2fs* which is needed to create the file system, has been moved from `/system/bin/` to `/sbin/`

Also we have to contend with SELINUX. This means that we need to do several additional steps:

1. ```
adb root
```
2. ```
adb shell
```
3. ```
setenforce 0
```
4. ```
mount -oremount,rw /system
```
5. ```
ln -s /sbin/mkfs.f2fs /system/bin/mkfs.f2fs
```
6. ```
vdc cryptfs enablecrypto wipe password 666f6f
```
> 3 votes

# Answer
Another update- *CM13 Jan 9, 2016* build, using Nubia Z7 Max, NX505J phone

This command (`ln -s /sbin/mkfs.f2fs /system/bin/mkfs.f2fs`) is no longer needed as the file lives here again. There is no need to create a symbolic link.

This command no longer needs to be in HEX and if you enter hex your PW will be hex.
`cryptfs enablecrypto wipe password 666f6f` \- This literally created a password for me of `666f6f` not `foo`

I am still researching this issue because I got past the extra blocks needed for the meta data. I now need to get past the fact the GUI and the manual commands to encrypt both result in encryption that is viable only through one boot cycle. I will report back when I have a successful encryption.

Right now I encrypt and it works fine and I boot the first time and it says the phone is encrypted. Using TWRP I can confirm /data is encrypted but the HEX and ASCI passwords I try in TWRP both do not work. On the next reboot the Android OS cannot fully boot CM13. It confirms I have the correct encryption password and then I only get 1 encrypted boot. After the first successful encrypted startup it locks on the animation stage of boot cycle thereafter. Security best practices now recommends AES256 phone encryption.
> 2 votes

# Answer
Having a Moto X 2013 running Cyanogenmod 12.1 I also was not able to get it encrypted. Finally, I succeeded with these steps:

1. Enable root in Developer Settings on the phone and open a shell (Terminal app, can also be enabled in Developer Settings)
2. Enter `su`, and confirm root access
3. Enter `setenforce 0`
4. Now open *Settings*, go to *Security* and select *Encrypt Phone*. Android will then reboot and start encrypting the phone.

I came to this solution by combining Art's answer and this forum thread.
> 2 votes

# Answer
After 6 hours of mental pain and sweat I might have stumbled on a solution what worked for me. And it was an accident too. I did this for the Samsung S4 Mini with CyanogenMod 13.0 and Android 6.0.1. Important key factor here is, that I started it off from a clean phone (fresh firmware and unrooted), because when the phone was previously rooted, then the phone didn't want to work at all.

I used the Firelord's and Lekensteyn's solution to the problem, but I managed to to forget one line from the commands.

Here is how I did it:

1. I turned on the *Android debugging* and *Root access* to *ADB only* in the *Developer Options*.
2. In the ADB Command Prompt I used the `adb root` and `adb shell` command. After that I opened another ADB Command Prompt and used the `adb logcat` command.
3. In the first ADB shell, I went forward with `setenforce 0` and after that `vdc cryptfs enablecrypto wipe password YOUR-PASSWORD`.

***IMPORTANT NOTICE:** The password command might vary from the Android version what you are using. If you are using **Android 5.X**, you **must** use the **hexadecimal** system (In the Chr line is the symbol in your password the hexadecimal value is on the Hx line). If you are using **Android 6.X**, then the YOUR-PASSWORD will be the password what you entered there.*

As you notice then I forgot to use the `mount -oremount,rw /system` command. After that I the screen will go black. When I saw, that the ADB shell with the log stopped and finished, then I rebooted the phone. But as for everyone, the problem is, that CyanogenMod wont load. And I managed to fix it quite easily:

1. Hold **Vol Up & Home & Power** down till the TWRP boots up. It will ask you for your encryption password.
2. Do the CyanogenMod install part with the additional Google Apps (The second part of the guide).
3. After it is done, then reboot the device. When it boots up, then it will take a while. First it will start up the phone, then it will ask the encryption password and then it will take a while till it boots up.

There you go, it should work. At first, when the phone set up comes up, then let it be for a minute. There might be a little crash for the Setup Wizard if you rush it too quickly, but it will automatically restart when it crashes.

In my very small knowledge of how the CyanogenMod and the Android Encryption works, I think during the format it deletes some important Cyanogen or Android files, what stop it from booting.
> 1 votes

# Answer
Encrypting didn't work on my phone (SGS5; CM13, TWRP 3.0.2-2) - I always got a black screen.

I didn't want to use shell commands, so I found another way :

I had SuperSU installed, I uninstalled it in the App and then flashed the SU-Remover.

After that, I was able to use the encryption from the menu.

**Warning:**

* Encryption deleted all of my Data & Apps (including Files on internal SD), **so make a backup first**!
* After Encryption, i only had 2 GB internal Space left (normally 11 GB) - I had to do a full wipe (also removing Cyanogenmod itself), reinstall Cyanogenmod and another encryption attempt to get my Space back.
* You also have to reactivate root, i used BETA-SuperSU-v2.68-20160228150503 for that (flash with twrp).
> 1 votes

---
Tags: cyanogenmod, encryption, privacy, disk-encryption
---


# Question
Title: insufficient memory error but i having enough memory
Although I have 500 mb space left on my android lollypop internal memory, When I try to install or upgrade any of the apps I got a message that your memory is full.

How can I sort out this problem? I have searched for this problem a number of times but nothing helped, Please any body sort this problem.

Currently I am using lenovo a2010 model.

# Answer
> 1 votes
According to the specs, the A2010 comes with 8GB internal storage. Taking a look into our insufficient-memory tag-wiki tells me that error is thrown when there's less than 10% free space in internal storage. 10% of 8 GB are ~800MB – your free space, as pointed out in your question, is 500 MB. So sorry to contradict you, but no: you really don't have "enough memory".

As for solutions, please check with the very same source (our insufficient-memory tag-wiki), which contains some first-aid hints and links. We've collected that there as this is a question asked frequently on our site.

# Answer
> 1 votes
There comes a great feature to solve this problem,
You can change your primary storage card from internal to external SD card
In order to this,
**Step 1**
Go to "settings"
**Step 2**
Select "Storage"
**Step 3**
Select "Default storage location"
**Step 4**
Choose External SD card
**Note:**  This feature is **special** because mostly many apps can't be moved to SD card (like Google products), so by changing default storage location, the result will be APP's **main** resources will be in internal but **rest** in external SD card which saves a lot of storage. (I did it).
**Some extra tips:** Also change default storage location (this option available in few apps) like in camera, google offline maps, youtube offline videos etc. And don't install a junk cleaner app, they are useless cause more harm then helpful.
*Hope, this solves your problem.*

# Answer
> 1 votes
I would suggest you to do the below ones.

* change your setting --\> storage --\> from internal to external SD card. At times, after reboot the system takes the internal as default memory.
* Download appmgr 3 from google play store and follow below steps or documentation.

This will help you to select multiple apps at once to be moved to external sd card.

I had similar problem but I have documented the steps. Please check out my documentation.

If you get stuck, feel free to comment.

# Answer
> -2 votes
Go to device storage and clear the cache memory.

---
Tags: google-play-store, 5.0-lollipop, insufficient-memory
---


# Question
Title: Can't pair my phone with my Windows 8 computer on a Cyanogenmod 13 install without Gapps
Long story short, I managed to pair once, but I couldn't send files. I un-paired and can't re-pair to it.

The phone keeps saying "Failed to communicate, incorrect pin or passkey" and my computer says "Adding this device failed, please remove the device and try again" during the *pairing* process.

I have installed Cyanogenmod 13 over the Android 4.0.1 kernel it had before, but I haven't installed gapps on it yet. I've seen some other issues here and there, but they haven't really impacted much, but I'm worried it might have something to do with it.

Edit: I should mention that I want to send files both ways, forgot to in the original question.

# Answer
> 0 votes
I assume you are sending files from your android device to your PC.

Just download the **Xender app** from google play store and open that app.

I will provide you 2 solutions.

* Both PC and android device should be on same wifi network. In PC, open a browser and type web.xender.com. You can pair the device.

In your android device, create a hotspot and connect the PC with it. Just proceed with respect to the instruction given by the xender app.

I had similar problem before and I have documented the same.

https://tjosepraveenblog.wordpress.com/2016/05/14/transfer-files-from-my-phone-to-pc-without-using-a-usb-cable-and-vice-versa/

---
Tags: 6.0-marshmallow, bluetooth, windows, bluetooth-pairing
---


# Question
Title: PM error Could not access the Package Manager
I am trying to freeze an app on my phone using the solution given here.

I am using the *`Terminal Emulator`* app to execute the commands:

```
su
pm disable {package_name}

```

But am getting an error:

```
android.os.TransactionTooLargeException
Error: Could not access the Package Manager. Is the system running?

```

This error is being generated regardless of the app I try to disable.

How do I resolve this error?

My phone is a rooted Micromax Unite 2 A106 running on Android 4.4.2.

# Answer
> 1 votes
The problem has to do with your version of the `su` binary. I was using ChainFire's updated binary and it didn't work. I re-rooted with Kingoroot and it's now working.

---
Tags: 4.4-kitkat, root-access, terminal, disable-app
---


# Question
Title: S3 On CM 14.1: Made SD Internal Storage, Reversed, Now "Empty" Internal Shared Storage On PC
I have a Galaxy S3 on CM 14.1 (Android 7.1.1). I formatted the SD Card as internal storage. Then I couldn't access my internal storage from my PC, so I switched back. I formatted the SD Card to portable storage.

Now, my internal storage (now listed as "internal shared storage") is "empty" when I connect it to my PC. I've tried:

* wiping data, cache, and reinstalling CM 14.1
* taking out my SD Card
* reconnecting to PC as PTP, etc.
* using another USB cable, port, etc.
* restarting multiple times

Nothing seems to work. What can I do?

# Answer
I fixed it by doing the following on Clockworkmod Recovery:

* Clearing all caches (go to mount/unmount --\> clear all caches (system, etc.))
* Unmounting, then mounting everything (System, SD Card, Media, etc.)
* Format SD Card (from CWM). (then I had to restart to connect SD Card with CM 14.1 zip file).
* Reinstalling CM 14.1

Now I finally have the internal storage and portable SD Card formatted correctly.
> 0 votes

---
Tags: cyanogenmod, samsung-galaxy-s-3, internal-storage, sd-card
---


# Question
Title: How can I used my old whatsapp account with new sim
Good day,

My old sim is expired and I bought new one , I forgot to change my number in whatsapp before I formeted it...

It is possible to retrieve my old whatsapp account?

Thanks

# Answer
> 0 votes
Yes you can, only if you have access to the number with which your WhatsApp account is associated. Your question does not give all the necessary details.

---
Tags: backup, whatsapp-messenger
---


# Question
Title: Internet always on when VoLTE enabled in Redmi 3s Prime
I m using Redmi 3s prime with jio 4G. Whenever VoLTE is enabled, my device internet is always active, regardless of whether mobile data is on or off. I can browse the Internet and watch online video even when mobile data is off. How can I turn off internet when VoLTE is enabled?

# Answer
Voice over LTE (VoLTE) uses mobile data (LTE). You can't turn off mobile data and use VoLTE. You can turn off mobile data and use a different voice connection like 3G.
> 2 votes

# Answer
I had the same issue and I fixed it like this:

Go to `Settings` =\> `Mobile networks`. There, select `SIM 1(JIO)` and go to `Access Point Name (APN)` and click on `Restore to default`.

It is caused by changing APN Settings. I tried this fix on two R3S Prime devices and it worked on both of them.
> 0 votes

# Answer
Voice over LTE (VoLTE) does not use mobile data. This feature is specifically for voice calling over a 4G (LTE) network, as the name suggests & it enables the user to make voice calls over a 4G network without the use of data. For more explanation, see the video https://www.youtube.com/watch?v=PpgFPR9mvpk
> 0 votes

---
Tags: data-connection, 4g
---


title: Why do we need emulated sdcard?

text:
# Question
Title: Why do we need emulated sdcard?
Why is there an "emulated sdcard" in Android? I suppose it is located on the same internal flash memory (there is only on physical default memory, right? (excluding separate physical sdcards of course)) as Android itself, so why do I need to "emulate" it? Could we not just write to the "internal" storage?

# Answer
Historically virtually all the early Android phones had a removable SD card and a very small amount of internal storage (by modern standards). Apps were written expecting to be able to get access to the external storage and use it for data storage. Then phones started shipping with more internal storage but no sd card and to keep these older apps working had to emulate external storage. We now had the ridicules situation of real external storage with an sd card and emulated external storage being quite a common setup and some older apps not being able to use the actual real sd card.

If you were starting from scratch now and could ignore all the old software then things could be tided up but as it is it's a confusing mess for the consumer and the developers.
> 3 votes

---
Tags: sd-card, internal-sd
---


# Question
Title: Unable to download apps from Play Store using cellular data
Hi while i am in home network i can easily able to download anything in playstore with my mobile data when am in roaming that time i cant able to download anything from play store it is showing downloading when i click on install but it wont download....please help me what to do

# Answer
There is an issue on android - https://code.google.com/p/android/issues/detail?id=211038

It's reported almost 6 months back, since may! ( In developer preview). It's supposed to be released in the next update.
> 1 votes

---
Tags: 7.0-nougat, motorola-moto-g-4g
---


title: execute ussd from shell-script

text:
# Question
Title: execute ussd from shell-script
Every month I need to execute USSD-command. I want to automatize it. My idea is to write shell-script for SManager. I found two ways to make a call (tested from adb):

```
service call phone 2 s16 '*100#'

```

and

```
am start -a android.intent.action.CALL -d tel:*100#

```

But this commands **call** to `*100#` instead of execute ussd.

My Android is `4.2.2`, rooted Cyanogen `10.1.3`

# Answer
> 2 votes
replace `#` to `%23`, so:

```
service call phone 2 s16 '*100%23'

```

or

```
am start -a android.intent.action.CALL -d tel:*100%23

```

---
Tags: cyanogenmod, adb, scripts, ussd
---


# Question
Title: I can't re add google account after factory reset , edited host & after clear cache and data. Pls help
i changed my simcard last month and since then i have noticed that i can't log in to my google account, gmail and also instagram. Play store always stopped as well.

1. I tried some of the solutions provided on youtube like editing host (my host is already 127.0.0.1 local host), i dont know whether i should change it or just remain it like that coz some said delete everything and type host (127.0.0.1 local host) and some need to add the # (but i don't have the other line).
2. I've already clear cache & data, force stop Play store, Google play services, Google Framework, Google account manager & remove google acc (my account already unable 2 steps verification) then tried to re add again but failed.
3. I've already factory reset my phone as well and try to re add google account but still failed. Now im using application which I downloaded thru apkmirror.com.(play store didnt work). I really appreciate anyone experts could help.

Thanks in advance.

# Answer
> 0 votes
I had the same problem but I tried doing the same on a high speed WiFi and it worked out for me.. meanwhile if this doesn't fix you can take important backups and try:

* flashing your phone with its stock ROM
* switching to a WiFi network or try the same with another SIM card
* make it *localhost* rather than *local host* in the host file (as described by you)

---
Tags: google
---


# Question
Title: Last Android update removed icons from several apps
I have a Moto G 3rd generation, and updated it with latest Android version (24.11.25). After the Update the icons for some APP disappeared.

I think it were all the applications i had moved to my SD card.

The APP is not showing on my desktop neither on the menu that shows all applications, but its still installed, because i can open the APP from its page on play store and it is on the list of installed applications on the config page. How can i restore the icons to these apps?

# Answer
> 0 votes
Go into Applications, click on the app affected, force stop, then select the storage, then click change. Force stop may restore the icons, but if you prefer you can move the apps back to internal for safety.

# Answer
> 0 votes
Download All-in-one Toolbox from the Google Play store and when entering the app go to the toolbox option (it's on the right side) and then tap app2sd and have it scan your SD card. Voilà! All of your apps shall appear.

---
Tags: 6.0-marshmallow, motorola-moto-g3
---


# Question
Title: How to read the data of a SD card configured as "Internal Storage"
I have made a factory reset in my moto g2(Android 6.0) after removing the SD card which was configured as Internal storage. After the reset, my phone is unable to detect the SD card and asks to format it for either use it as an Portable or Internal storage. The SD card is failed to be detected by any card reader/other devices. How to access the data's in the SD card?

# Answer
> 4 votes
You don't... if the SD card was encrypted adopted storage, and you removed it and factory reset the phone then you have lost all possibility of accessing any information on the SD card. You are better off just to reformat the card and start over.

The encryption "key" was stored on the device, but when you factory reset it the encryption key was deleted, it was a random key and cannot be regenerated. You have lost all possibility of accessing this card.

If the card was portable storage, then put it in a PC and try to read it, if it still won't read the card is probably bad or corrupted and should be formatted or replaced.

---
Tags: factory-reset, internal-sd, adoptable-storage
---


# Question
Title: How to use Windows headset as Android call headset
I have a Windows PC with USB headset. I want to connect it to Android phone, so I can make calls using my computer's headset. Can I do so with usb, bluetooth, minijack or lan?

# Answer
Yes, this is definitely possible - but not without special connective devices. You can actually use a variety off available connectors to extend comopatibility to the device, such as USB to 3.0 headphone adapter, and if your device will support the connection type, you could also use the MICROusb to USB 2\3.0 adapters.

Do a search online for one of the above mentioned devices, and learn more about them and your phones compatibility. You may also purchase of from almost any online electronic supply chains, as well as finding information regarding where to purchase one of the adapters locally.
> 0 votes

---
Tags: headset
---


title: sync contacts gets stuck midway

text:
# Question
Title: sync contacts gets stuck midway
I have about 1700 contacts in my google account. When I try to sync on my android it gets to 938 and then stops.

The last sync date shows for about a month ago, and there's always a black sync icon next to it.

I tried removing and re-adding the account to no avail. I even did a complete factory reset. No luck.

What gives?

Is there some error log somewhere where i might glean something?

Thanks a million

FWIW: There were a few days that showed 939 or 940 contacts, but most of the time it's 938.

**UPDATE** I managed to find aLogcat for viewing logs. I tried to resync while the log was running. I'm pasting the log here, though I can't seem to find anything relevant.

===LOG START===

```
W/IInputConnectionWrapper(22844): showStatusIcon on inactive InputConnection
I/Timeline(22844): Timeline: Activity_idle id: android.os.BinderProxy@364c5b66 time:1222199
I/Timeline(22844): Timeline: Activity_idle id: android.os.BinderProxy@364c5b66 time:1235668
I/Timeline(22844): Timeline: Activity_idle id: android.os.BinderProxy@364c5b66 time:1267336
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
V/BitmapFactory(22844): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/ic_media_play.png
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
V/BitmapFactory(22844): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/ic_menu_share.png
V/BitmapFactory(22844): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/ic_menu_save.png
V/BitmapFactory(22844): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/ic_menu_preferences.png
D/AbsListView(22844): Get MotionRecognitionManager
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
I/Timeline(22844): Timeline: Activity_launch_request id:org.jtb.alogcat time:1298449
E/ViewRootImpl(22844): sendUserActionEvent() mView == null
V/BitmapFactory(22844): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/sym_def_app_icon.png
D/AbsListView(22844): Get MotionRecognitionManager
D/AbsListView(22844): Get MotionRecognitionManager
D/Activity(22844): performCreate Call secproduct feature valuefalse
D/Activity(22844): performCreate Call debug elastic valuetrue
I/Timeline(22844): Timeline: Activity_idle id: android.os.BinderProxy@35c53605 time:1298728
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/AbsListView(22844): Get MotionRecognitionManager
W/InputEventReceiver(22844): Attempted to finish an input event but the input event receiver has already been disposed.
E/ViewRootImpl(22844): sendUserActionEvent() mView == null
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/AbsListView(22844): Get MotionRecognitionManager
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
W/InputEventReceiver(22844): Attempted to finish an input event but the input event receiver has already been disposed.
E/ViewRootImpl(22844): sendUserActionEvent() mView == null
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
I/Timeline(22844): Timeline: Activity_idle id: android.os.BinderProxy@364c5b66 time:1321370
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/AbsListView(22844): Get MotionRecognitionManager
V/BitmapFactory(22844): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/ic_media_previous.png
V/BitmapFactory(22844): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/ic_media_next.png
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
W/InputEventReceiver(22844): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver(22844): Attempted to finish an input event but the input event receiver has already been disposed.
E/ViewRootImpl(22844): sendUserActionEvent() mView == null
--------- beginning of system
W/ViewRootImpl(22844): Dropping event due to root view being removed: MotionEvent { action=ACTION_MOVE, id[0]=0, x[0]=543.0, y[0]=501.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=1336367, downTime=1336357, deviceId=9, source=0x1002 }
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/AbsListView(22844): Get MotionRecognitionManager
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
E/ViewRootImpl(22844): sendUserActionEvent() mView == null
I/Timeline(22844): Timeline: Activity_idle id: android.os.BinderProxy@364c5b66 time:1389772
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/AbsListView(22844): Get MotionRecognitionManager
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
W/InputEventReceiver(22844): Attempted to finish an input event but the input event receiver has already been disposed.
E/ViewRootImpl(22844): sendUserActionEvent() mView == null
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/AbsListView(22844): Get MotionRecognitionManager
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
W/InputEventReceiver(22844): Attempted to finish an input event but the input event receiver has already been disposed.
E/ViewRootImpl(22844): sendUserActionEvent() mView == null
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
D/AbsListView(22844): Get MotionRecognitionManager
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
I/Timeline(22844): Timeline: Activity_launch_request id:org.jtb.alogcat time:1403435
W/InputEventReceiver(22844): Attempted to finish an input event but the input event receiver has already been disposed.
E/ViewRootImpl(22844): sendUserActionEvent() mView == null
V/BitmapFactory(22844): DecodeImagePath(decodeResourceStream3) : res/drawable-xxhdpi-v4/sym_def_app_icon.png
D/AbsListView(22844): Get MotionRecognitionManager
D/AbsListView(22844): Get MotionRecognitionManager
D/Activity(22844): performCreate Call secproduct feature valuefalse
D/Activity(22844): performCreate Call debug elastic valuetrue
I/Timeline(22844): Timeline: Activity_idle id: android.os.BinderProxy@e740a46 time:1403642
D/ViewRootImpl(22844): ViewPostImeInputStage ACTION_DOWN
I/Timeline(22844): Timeline: Activity_idle id: android.os.BinderProxy@364c5b66 time:1406873

```

===LOG END===

# Answer
> 1 votes
After short google search I found something that suppose to help: https://play.google.com/store/apps/details?id=ru.ivary.ContactsSyncFix try using it . if not, then you could do something like this : 1. Go to Google Contacts and Extract ALL contacts in CSV 2. Delete the contacts (Note that Google contacts has a recovery tool in case one messes up!) 3. Import the contacts in Google Contacts from the CSV file

# Answer
> 0 votes
in the end the solution was a combination of 2 steps:

1. i deleted all the contacts in the browser as suggested by @br0k3ngl255 , then i reran my sync function, and it was basically ok.
2. actually my sync function also had an issue, that a single contact had more then 1000 email addresses, which had kept the sync from running due to an over quota issue.

now that both these issues were resolved, everything is working ok

Thanks!

---
Tags: contacts, sync, google
---


title: ultra stamina mode in Sony Xperia Z3+

text:
# Question
Title: ultra stamina mode in Sony Xperia Z3+
Can not turn off ultra stamina mode in my z3+ no application could be started can not access the phone from the computer help please

# Answer
> 0 votes
*Ultra STAMINA mode* extends battery lifetime significantly. You can use this mode when you know you won't be able to charge your device for a long time. Only a few basic functions, such as Phone and Messaging, are available

To deactivate Ultra STAMINA mode

* Drag down the status bar to open the Notification panel.
* Tap Deactivate Ultra STAMINA mode

---
Tags: 6.0-marshmallow, sony-xperia-z3
---


# Question
Title: Is there a real time wifi traffic analyzer for Android?
I'm using SugarSync to sync files between my phone and my computer, but I'm not sure if things are actually working as they should.
It would be great to watch Android network traffic in real time.

Does anyone know of an app?

# Answer
There is an app called 3G WatchDog.
It can monitor 3G data transfer and Wi-Fi traffic. A pretty neat application.

Click image for larger version
> 5 votes

# Answer
Isn't really an answer, but...

There is WiFi Analyzer which shows more information on the wireless networks your device can reach. It gives you more detail than the average user would require.

As far as I know, there is no application available on Android (yet?) that can *"sniff packets"*.

Would be an interesting application to have in the pocket.
> 6 votes

# Answer
You can view, sniff, and save actual network packets, however this requires root access.

Shark for Root app does this.
> 3 votes

# Answer
You don't need root to do this! Android apps can utilize the VpnService API to capture packets without root.

Here are some apps I found that do not require root:
> 1 votes

# Answer
Internet Speed Meter Lite is an app which exactly does it.
> 0 votes

# Answer
I use CoolTool to get current information about my phone. And with this you can monitor traffic data (ascending and descending).

The pro is that it displays as an overlay then you can monitor while using the app. Hope this will be helpful.
> 0 votes

# Answer
Network Log is an app quite simple to use. It shows real time packets in a human-readable way as well as statistics. It takes it directly from iptables, hence you need a rooted device.
> -1 votes

---
Tags: wi-fi
---


# Question
Title: Cannot install GAPPS on fresh CM12.1 on Galaxy S2
I've just done a fresh install of CM12.1 on an S2 GT-I9100, and cannot figure out how to get GAPPS on there. Stock and mini versions fail with the `Insufficient storage space available in System partition..` error screen. I don't understand this as it's a fresh install. Looking at storage options shows two internal storage (partitions?) - one with 1.97 GB and the other with 11.33 Gb free space. Does this make sense?

One method I've tried is based on this question \- to resize the partition using `Odin 3.07`, but as I'm on Mac I've had to try `JOdin3` instead , which fails to detect the device. So that method looks unworkable.

Very grateful for assistance!

---

from this source, given the official site requires JavaFX, which doesn't work on Yosemite..

# Answer
Aside from XDA threads on Gapps, which can refer to dead links, especially since your device is quite old, I would recommend you to download the Gapps from OpenGapps, which will let you choose both the Android version, and the preferred size of the Gapps package.
> 1 votes

# Answer
OK the only GAPPS version that seems to work is Pico - see this XDA page.
> 0 votes

# Answer
Try sideloading gapps from recovery. In my case, open\_gapps failed to install for odd reason that there was insufficient space in system partition - I don't know why... I was using about 10%...

eg. TWRP. Boot into TWRP Recovery, Advanced, ADB Sideload

from PC,

> adb sideload open\_gapps-arm-7.1-pico-20161230.zip Total xfer: 1.28x
> 0 votes

---
Tags: cyanogenmod, samsung-galaxy-s-2, google
---


# Question
Title: Moving apps from android phone to nobis tablet
Is it possible to transfer the apps from my phone the HUAWEI Raven H892L to my NOBIS NB09 tablet if I hook them both to my laptop even though I don't have internet ? I really need the help on my nobis tablet I have two internal storages one is empty and the other is maxed out full but nothing is downloaded onto it no apps except for the ones that came on it So what does anyone say about all this.

# Answer
> 0 votes
Possible by copying APKs from Huawei to Nobus.

Download one of the many apk extractors on the Google play and extract the APK of the apps you want to transfer.

Connect the Huawei device into the computer through MTP Mass Storage and copy the extracted APK to the computer then to the Nobus.

---
Tags: applications
---


# Question
Title: Android phone constantly loses Wi-Fi connection
My Android phone loses the Wi-Fi connection when I'm at home in the very short time after it is connected, usually around the first 30 seconds. Sometimes it works fine, but not often. When it isn't working, the Wi-Fi icon remains present. But I can't for instance browse to the IP of router 192.168.0.1.

The same phone is working properly with my work Wi-Fi. Other devices don't have problem with the home WiFi.

I'm a little lost and don't know how I can find the reason an fix it.

# Answer
> 5 votes
I can't say that I completely understand how but the issue was solverd after I changed the DNS settings of my phone (for my home WiFi). I set it to Google default DNS 8.8.8.8 and 8.8.4.4.
And since that never this problem again.

Why the phone was loosing the whole connection is still unclear to me (though it remains now pure theoretical question)

# Answer
> 2 votes
Depending on the version of android you are running you can try going to System settings\> WiFi\> Advanced\> Tap "Keep Wi-Fi on during sleep" and select "Always"

# Answer
> 1 votes
It sounds like you have a bad router, or possibly too many devices connected. Many routers can't handle that many devices connected at once via Wi-Fi.

# Answer
> 1 votes
I solved changing the modem setting. The last versions of Android has problems with the WiFi channel 1 and 13, so the better way is to setting the transmission channel NO automatic, but fixed to an intermediate channel like 5, 7, etc... Since I've done this change the connection works great.

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


# Question
Title: Transfer downloaded google play music from phone to computer?
I downloaded some music from Google Play on to my phone. Right now I cannot get my (Ubuntu Linux) computer connected to wifi. So my question is if there is any way that I can use a USB/micro USB cable to get the music transferred to my computer?

# Answer
> 0 votes
On **rooted** android, you can find Google Play Music library in

```
/data/data/com.google.android.music/files

```

There is no other way to extract music library from android. You can probably use friend's computer to do that.

---
Tags: usb, google-play-music
---


# Question
Title: How do I disable weird lockscreen camera shortcut in Emotion UI 4?
**Device:** Huawei Mate 8 EU (NXT-L29), EMUI 4.

When my phone is locked and I press volume down or up quickly, camera app opens, takes a photo and displays on the screen a time I don't know the meaning of (like *1.0s* or *0.3s*). I have searched through all settings but I still can't find this feature. When I listen to music this is VERY annoying: lowering or increasing the volume with the keys causes a photo to be taken. It happens both when the screen is off and on in the lockscreen, but never when the phone is unlocked.

Also before rooting my phone I did a factory reset (which now I can't do), and it didn't change anything, of course.

# Answer
> 1 votes
Found it! In Huawei Camera, in the settings, there is a feature called "Ultra Snapshot", which by default is turned on, and it does what I have described in the question.

---
Tags: lock-screens, camera, huawei, stock-rom
---


# Question
Title: How to make Gboard (Google Keyboard) look like the 4.4 version?
With the advent of Android 5.0, Google has switched to a new design (Material) for their keyboard.

Can one install a theme (or change a setting) to make it look like the classic version again (or close to it)?

# Answer
> Still looking for an answer.

There is a way to do this, but it doesn't necessarily solve the problem.

http://www.howtogeek.com/253941/how-to-change-google-keyboards-theme-on-android/

which makes the keyboard look like this:

However, the keyboard still doesn't look much like 4.4's keyboard:
> 0 votes

---
Tags: gboard
---


# Question
Title: Android pm command throwing transactiontoolargeexception
I am using rooted android phone and have installed AIDE for android. I am doing tutorial lessons in the app. When I click run app in any tutorials, it says "Starting… " and after few seconds "App not installed error". I looked at the superuser app's log for AIDE, and it says "unable to access package manager". Here's a screenshot:

Screenshot (click to enlarge)

Edit: I tried `pm` command in terminal emulator app with su access, it shows same error: "package manager not running…" I guess there is a problem with the `pm` command. How to solve this problem?

# Answer
> 0 votes
The problem has to do with your version of the su binary. I was using ChainFire's updated binary and it didn't work. I re-rooted with Kingoroot and it's now working.

---
Tags: stock-android
---


# Question
Title: How to hide ongoing persistent notifications on Lollipop lockscreen
It's driving me nuts seeing those notices each time I open my phone, leaving no room for the transient notifications and messages I've received.

# Answer
Not possible, it seems. There is a thread on XDA about this: http://forum.xda-developers.com/google-nexus-5/help/hide-ongoing-notifications-lockscreen-t2938422
> 2 votes

# Answer
An app called Notific does the job beautifully. It has a pro version which allows you to select which apps you want to show notifications for. It has many more useful customisations too.

Here's a link to the app
> 1 votes

# Answer
I've discovered one way to temporary remove it. Go to app manager in your phone settings menu and disable the notification and then enable it back. This will remove the icon from the notification bar and from lock screen, but you will get the notification for new emails/events
> 0 votes

# Answer
In Android Lollipop 5.0.2, under Notifications I could suppress notifications on lock screen, while still being able to see persistent status message in status bar (for example, Skype's status). This is what I wanted, so that owner information would still be visible on lock screen.
> 0 votes

# Answer
In Android Marshmallow at least, you can block all notifications per-app. Go to Settings -\> Sound & Notifications -\> App Notifications, choose the app, and then select "Block All". This works great for apps like Adguard which seem to require a persistent notification.
> 0 votes

# Answer
Go to accessibiliry. Turn OFF PERSIATANT NOTIFICATIONS. that will work.
> -1 votes

# Answer
Under sound and notification settings/app notifications you can block notifications on an app by app basis
> -3 votes

---
Tags: 5.0-lollipop
---


# Question
Title: How To Quickly Turn Off Audio On Nexus 6P (Android 7.1.1)?
My phone is locked (pin required) and the volume is on. I receive a text message and the appropriate sound beings to play.

How can I *very quickly* acknowledge the text message, and get the phone to shut up, but still play the audio when I receive the next text?

* Hitting volume up/volume down while the screen is locked do nothing for me.
* Hitting the power button only turns the screen on and off
* If I turn the screen on I can see the text, but if I touch it, I need to enter my pin. Only after I successfully enter my pin will the audio stop.
* If I turn the screen on and then hit volume down, the audio will reduce in volume. But I need to hit it many times before it gets silent. Beyond that, the audio hasn't stopped playing, so I now need to wait for the tone to complete and then remember to turn the audio back up on the phone, or I will miss a future audio alert.

I have to imagine there is a better way. My previous phone would simply treat the message as acknowledged with a pressing of the power button. The best I can come up with is to replace my audio alert with a very short sound - but then I risk not hearing it/missing it.

So I want a long sound to play when I receive a text, but I want to be able to immediately acknowledge it, leaving the volume of the phone at it's current level.

I've looked in the Settings area of the phone, but haven't had any luck.

# Answer
> 1 votes
Setting short notification sound should be the fastest way. You can also consider flashing a custom ROM based on stock android 7.1.1 which enables you to mute ringing by pressing volume button. And a lot more.

**Video review of AICP ROM**

Setting up root and custom recovery on Nexus 6P

AICP ROM 7.1.1 for Nexus 6P (officially maintained with daily builds)

---
Tags: nexus
---


title: How to judge a better app

text:
# Question
Title: How to judge a better app
I installed a verity of android apps in my android device. And almost all apps require verity of permissions. Apart from these, these days we’re doing online transactions on android smartphones and using banking apps also.

In such scenario, please guide me that which android apps is vulnerable or malware or Trojan.

Also please guide me that how I can be assured with security of my android device.

My android device is 4.4.2 and its rooted.

# Answer
It's pretty had to give a list of malicious android app.

In general: always download appss from play store, Google check all these apps with an antivirus.

Furthermore some app can be open-source (generally it's in the description) but if you want a list you can get F-Droid. Nearly all apps exist in opensource version: OSMand (GPS), FaceSlim (Facebook), OpenTasks (ToDoList), QKSMS (sms app), Red Moon (blue screen filter), Syncthing (file synchronisation) etc...

As you have a rooted device, there are some apps that allow you to uncheck app permission (as Android 6) a little google search will give you results (you may certainly need BusyBox)

Also there is the excellent Xposed framework that propose (if I remember) some modules to get rid of some permission.

Be aware that sometimes disabling permission may block the app, just give back the permission to restore.

I'm sory I can't provide you more link cause I've got too low reputation.
> 0 votes

# Answer
As Homer pointed out, putting a list of confirmed malicious android apps together is impossible, within reason. You can, however,

* Disable App Permissions (In your case, you will need to download an AppOps Launcher from the play store. The are fine, they're shortcuts.)
* Use AntiVirus. I don't personally, But it can help.
* Ensure Google Play Services stays up-to-date, to get bug fixes and shizzle.
* Ensure your root manager is updated and working at 100%.
* Make Sure SELinux is 'enforcing'. (Type 'getenforce' into an emulator. It will either say '1' or 'enforcing'. I says neither of them, type 'su', grant root, then 'setenforce 1')
> 0 votes

---
Tags: applications, security, privacy
---


# Question
Title: Ran "adb reboot bootloader" now can't boot past logo (Azpen A746)
So I bought a cheap Azpen A746HD tablet to tinker with (running Android 4.4.2, I believe). This is my first time messing with an Android tablet, and it seems I've probably bricked it, but from what I can tell I didn't do anything "dangerous." I'm hoping for some insight from more experienced folks and any possible suggestions on how to get it to boot again.

I did not yet root the tablet (I was in the preliminary steps of figuring out how to do that). From what I can tell, what bricked it was simply running `adb reboot bootloader`. The current state of the device is as follows:

* The device won't boot past the initial Azpen logo screen. Doesn't appear to be looping. Just stuck.
* Pushing the device's "reset" button with a paperclip doesn't help.
* I can no longer boot to recovery mode (power + volume up) because it doesn't boot far enough to register the volume up button being pressed.
* The device no longer shows up with `adb devices` and it isn't listed in `lsusb` from my Linux terminal (it was showing up previously after I added the vendor id to `~/.android/adb_usb.ini`).
* I've tried pressing the volume up/down button and power button in various combinations from the logo screen, with no result.

I don't have access to the battery, so I can't disconnect it. The device appears to be heat or glue sealed, so I can't disassemble it to access the battery (without making it unreturnable). Currently I am trying to fully drain the battery by leaving it powered on in its current state (stuck at logo screen).

Since I'm new to this, here are a few questions: Am I correct in understanding that this state a "hard-brick"? **Why would `adb reboot bootloader` cause this?** Is there anything more to try beyond the battery drain I'm currently doing? (I will just take back to the store and exchange if I can't get it booting again.)

FYI, the manufacturer's site is pretty much devoid of information, but what would you expect from a company that sells tablets for 30USD?

# Answer
> 3 votes
Fully draining the battery will unbrick an Azpen A746HD in this situation.

I did further testing and was able to repeat the conditions for bricking and unbricking the tablet:

* Running `adb reboot bootloader` will render the tablet unbootable as described in the original question (hard-brick).
* Fully draining the battery will clear out whatever issue was preventing boot, unbricking the tablet.

---
Tags: adb, boot, unbricking
---


title: PDF Reader with MP3 player?

text:
# Question
Title: PDF Reader with MP3 player?
I'm learning a new language using a PDF book and audio dialogues on an Android tablet. My problem is to have a MP3 player near my PDF viewer so I can start/stop audio reading text.

Is there an application for this? Or, is there a method that simplify respect quitting PDF reader to pass to MP3 then reopen PDF reader?

# Answer
As long as your tablet is running Android 4.1 or newer then there are a number of music players that can put player controls in the Notification area on your device. This is so that you can just access the notification bar while you're running another app, without exiting the original app.

I haven't got a screenshot handy of how it looks on a tablet, but here's an example of one on a phone:

Try searching the Play Store for something like MP3 Notification Bar Controls
> 3 votes

# Answer
EZ PDF Reader pro (There is also a trial version) will allow you to read and have the mp3 file play at the same time. I have used it while performing. I can have lyrics and cords on the screen and have an mp3 file playing at the same time.
> 1 votes

---
Tags: audio, pdf, media-player
---


# Question
Title: Play RTSP stream from stock Android video player?
Is it possible to configure the stock android video player (Galaxy S3) to play an RTSP stream as defined in an .xpsf file?

```
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
    <trackList>
        <track><location>rtsp://192.168.8.108:554/live/ch00_0</location><title>Full resolution</title></track>
        <track><location>rtsp://192.168.8.108:554/live/ch01_0</location><title>Half resolution</title></track>
    </trackList>
</playlist>

```

If you have successfully performed this task, please state this in your response and any lessons-learned. Thank you

# Answer
You can simply place one of the url from the .xpf fileand run it in browser.It opts you to choose media players from device and selects one of them.The stream runs smoothly.
> 0 votes

---
Tags: rtsp
---


# Question
Title: Whatsapp Problem - How to Restore my Phone number after changing to a new one on whatsapp
I have been changing my whatsapp number by using my son's phone for a short time, but just notice both my son's account and mine has been join together, any suggestion how can i separate up both account now, or how can I restore the setting to the original number.

# Answer
> 0 votes
This happend because of the database stored in your phones storage. Two accounts cant be merged in one. You have been seeing the chats of your son. Just delete the database from the storage and then reinstall Whatsapp with your number.

---
Tags: whatsapp-messenger
---


# Question
Title: What is the solution for external sd card unexpectedly removed
Please give me the solution to this problem. My external sd card memory is about 2 gb available, yet is is removed.

When I reboot my phone then it supports but in a few seconds it gets removed.

Please give me solution

# Answer
> 0 votes
Change your phone. This is happening because of the Card slot error. Hardware problem.

# Answer
> 0 votes
There are many possible causes for this issue. Usually it's one of these:

* Your SD Card is malfunctioning. Try if it's working on other devices reliably.
* Your Android is corrupt. Depending on what you have done (root, custom rom, etc.) your Android might be buggy (e.g. a system component relevant to storage might crash after startup).
* Your SD Card Slot is malfunctioning. If it's none of the former causes your phones SD Card slot might be defective. There isn't much you can do about it, besides sending it in for repair or buy a new phone.

---
Tags: micromax-a110
---


# Question
Title: adb and platform-tools not working anymore on Mac Lion
Ok, I had that eclipse + SDK + all projects working fine on my Mac (Osx Lion). After updating the SDK recently, everything stopped working. It seems that some very smart guy there forgot to allow adtand platform-tools to Mac Osx Lion (possibly because he has a newer version and he didn't care too much that other people don't. So, now I am stuck because I can't find a way to downgrade it back to where I was before the update. It seems there's no page from where I can download just the platform-tools in the version I had before. Any hint? Does anyone have a previous version of that folder?

# Answer
> 1 votes
Hint, Google repository. Ah here you go a better example from the past

1. Find your Sdk folder then locate both tools and platform-tools subfolders.
2. Check the Google repository find what version you want to downgrade to and download the .ZIP for both.
3. Unpack the the .ZIP's you just downloaded move the Tools subfolder over to your Android Sdk folder. Then move and extract the Platform-tools subfolder to your Android Sdk folder.

Now you should be good to go.

# Answer
> 0 votes
I can confirm that this version of platform-tools is working on MacOS 10.7.5 with a device running Android 7.1.1.

https://dl-ssl.google.com/android/repository/platform-tools\_r20-macosx.zip

---
Tags: applications, adb, macos
---


# Question
Title: Change USB connection mode while on Fastboot mode
I would like to unlock the bootloader of my Huawei P8 that has Android 6.0 and is not yet rooted.

It is shown as connected to the PC when running "adb devices" before rebooting to Fastboot&Rescue mode but after that I cannot change the USB connection type so that it can be connected to the PC in order to unlock it.

# Answer
> 2 votes
You don't need to change the USB connection type of the device due to whenever you boot into `fastboot` mode your device connection type will be the needed one.

So if your computer not recognize the device in `fastboot` mode you have driver(s) issue(s).

Try to reinstall your phone's driver and ADB.

---
Tags: 6.0-marshmallow, fastboot, usb-connection-mode
---


title: Can't access photos on Nexus device

text:
# Question
Title: Can't access photos on Nexus device
I have connected my phone (Nexus) to my windows 10 computer. I have entered the pin number on the phone and the driver for the phone is installed on the computer. The device shows up on Windows Explorer but the folder is empty so I can not access my photos. Any ideas?

# Answer
> 1 votes
On Android 6.0 and above you have to select USB connection type on your phone after you attached a computer or other device because the default USB connection type is charging.

You can do that when you plugged in your phone to your computer pull the phone's notification bar and tap on the appearing notification, something like this: `USB for charging` and select the desired USB connection type - in your case: File transfer (aka `MTP`).

There is a way to set the default USB connection type to MTP. You should enable `Developer options` on your device and in it search `Select USB Configuration` and set it to `MTP`.

---
Tags: photos, windows, nexus
---


# Question
Title: 2X Parallels Client App - Too Many Shortcuts!
Without going into too much painstaking detail, I'm connecting to a 2X server setup remotely on my Android phone (LG Nexus 5X) using the official Parallels 2X client app from the Google Play store.

It works well enough, but every time I log in to my work servers... the app creates a shortcut on my home screen for every application link we have, of which there are a ton. Pages worth. If I don't remove them, the client just keeps piling copies of the shortcuts on top of shortcuts on top of shortcuts. It's a huge mess, and I have to manually delete each shortcut one by one every time I log in to clean up my home screen.

Is there any system-wide setting on the Android OS (v7.0) to not allow apps to create shortcuts (not just when they install, I know how to disable that, but in general)? Or perhaps anyone with knowledge on the official Parallels 2X client app might know how to stop this? Thanks!

# Answer
> 1 votes
As far as I can tell, you only have the possibility to block an app from creating a shortcut on install. I believe that it's against Googles Playstore rules to spam the user with such shortcuts. You can try to contact the developer and if they don't react you can contact Google.

\[edit\]
Additional information: How to Block Third Party Apps from Creative Spam Shortcuts on Home Screen?

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


# Question
Title: Can I report phone numbers as spam callers?
Google recently introduced a feature that lets me know if someone is a suspected spam caller. However, sometimes I get calls from numbers that aren't listed as spam callers but are still spam callers. Is there some way I can report these?

Click image for larger version

# Answer
Yes, you can report callers as spam.

From Google support:

> You can mark all calls from a number as spam to keep from getting any more and to report the spammer.
>
> 1. Open your device's Phone app phone.
> 2. Go to Recent calls Recents.
> 3. Tap the call you want to report as spam.
> 4. Tap Block / report spam. You’ll be asked if you want to block the number.
> 5. If you have the option, tap Report call as spam.
> 6. Tap Block.
> 2 votes

---
Tags: phone-app, spam
---


# Question
Title: Your connection is not private - NET::ERR_CERT_AUTHORITY_INVALID
I'm using: `Huawei Nexus 6p` with `Android 7.1.1` and latest stable version of `Google Chrome Browser`, and whenever I'm trying to access my website and I'm getting:

> Your connection is not private (see screenshot)

I removed my website name out of screenshot(s):

Please advise.

# Answer
I was able to address my issue with following steps:
> 1 votes

# Answer
This may or may not be an issue on your side:
**Make sure you are not using a proxy, VPN or any other kind of *traffic redirection*.**

Inform the owner of the website that because of HSTS, you are not able to visit his website.
He needs to configure a trusted SSL certificate that is neither self-signed, nor expired (read as: *You can't connect via plain HTTP for the next year, until the HSTS entry on your device expires. This implies that the site in question was not added to the HSTS preload lists of any browser vendor*).

The error you presented implies an untrusted certificate chain, with the certificate used by the Certificate Authority not being trusted.
This could be because of a private certificate authority (often used for VPNs to revoke certificates) or an outdated system configuration (CA certs are updated regularly, CAs like *Let's Encrypt* are very young and switch their CA certificates/add new ones once they are approved).

> **If you are the web admin**: Configure your Web Server to serve HTTPS requests with a valid certificate.
> 0 votes

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


title: Split second blue screen flashes

text:
# Question
Title: Split second blue screen flashes
I get flashes of the blue screen when opening or watching videos or when i open apps. It's only a split second but doesn't seem right and have never had this happen before. I think happens when I play Spotify also. Somethings up and just wondered if anyone has had this happen . I have the samsung tab e.

# Answer
> 0 votes
Try resetting application cache, it will take a few minutes but, this can most likely not being fixed even with factory reset, as it seems to an **production issue**.

# Answer
> 0 votes
I received a Galaxy Tab A as a present, had blue flashing when google browser home page opened. Returned for new one, same issue. Tried full factory reset and data wipe, opening in safe mode, all to no effect. Samsung on-line chat support could not help. Recommend it be sent to Samsung service depot.

---
Tags: samsung
---


# Question
Title: Weird dot on screen that captures all input
Forgive me for the unclear title. Some time ago, my HTC M8, which is rooted and runs on a Venom ROM showed something weird. Firstly, in the Google Maps App a mysterious blue dot appeared, that captures the screen completely and makes it impossible to quit or use the application. It looks like this (I could make a screenshot)

When this happens in Maps, the only thing I can do is a hard restart with `Power`+`Volume Up`.

Since I have seen this occasionally in the camera app as well, I suspect it is not a bug of Maps itself. I know that the Venom ROM is not standard but maybe this is connected to some setting and anyone has seen this. Btw, the Venom ran smoothly for almost 3 years now.

**Question:** Has someone a clue what this could be and how I can get rid of it?

# Answer
> 1 votes
I found the answer to my question in this xda thread. What I experience is the white dot that can be switched on in the developer options, although there, I have never turned it on.

I guess my only solution is to either install a new ROM or return to stock :(

---
Tags: touchscreen, htc-one
---


# Question
Title: Phone keeps prompting for pattern confirmation
About two weeks ago, my Motorola Droid Turbo on Android 5.1 Lollipop started popping up the confirm pattern screen for no apparent reason.

It happens like every 10-15 minutes whether I'm using the phone or not. My attention span isn't long enough to time it properly.

I took it in to the Verizon store and the guy played with some settings but that didn't help. I watched a process monitor to see if I could see anything spike CPU usage when it happened but didn't see anything. I've tried uninstalling apps but I hadn't installed anything new when this started. I've tried to confirm the pattern multiple times, and when I do it just goes back to the security options screen. I've tried changing the pattern to no avail, as well as setting it to PIN and then back. (I can't set it to no security due to a work app, unfortunately.)

Any ideas what could be causing this?

# Answer
> 0 votes
If you've root permissions, try these steps via ABD: **MUST HAVE A BACKUP BEFORE PROCEEDING**

* removing your **gesture.key** file located at **"/data/system/gesture.key**
* dumping the database of settings app. The location of file is - **"/data/data/com.android.providers.settings/database/settings.db"**

# Answer
> 0 votes
Then the best way for you is rooting your device and following my previous answer.. else take all your backup to cloud or something and hard reset your phone.. hope it helps

---
Tags: security, lock-screens, pattern-lock
---


# Question
Title: How to store reminders from Google Now offline?
I find it very convenient to set reminders using voice "OK Google" with Google Now. However, I cannot seem to get it to work when I do not have an internet connection.

Is there a way I can set reminders with voice that will also work when offline?

# Answer
You can do it on the calendar. Press the plus button, the reminders option will come up. It has slightly fewer options to it but is still a useful reminder.
> 0 votes

# Answer
Go to the time on your phone and then go to alarms and set it up.
> -1 votes

---
Tags: google-now, voice-recognition, offline, ok-google, reminders
---


# Question
Title: How to "really" delete whatsapp images that were already deleted?
I've deleted around 800 images from WhatsApp folder using Google's `Photos` app, but the problem is no space was free'd at all, I'm guessing those images are still available at /sdcard/WhatsApp/Media/WhatsApp Images.

Is there a way to delete those 800 *"original photos"* without having to manually select them again?

I'm using Motorola Moto X Play, Android 6.0.1, no sd card at all.

PS: I have Google Photos backup disabled even before that event.

# Answer
It turns out the pictures were actually totally removed, I didn't notice any significant space change because WhatsApp compress every image, so 800 pictures probably was less than 200MB.
> 0 votes

# Answer
If you are deleting all the images in the directory, just delete the directory. If not, unfortunately Google Photos is a backup and unless you have it enabled to delete backed up photos off your device, I don't believe there is a way to mirror the deletions.
> 1 votes

---
Tags: whatsapp-messenger
---


# Question
Title: How to stream screen from two phones to one video?
I am trying to do a Challenge with my friend, (who gots faster to arena4 in Clash royale) and I need to stream from two phones in one video. I have computer and Asus Zenfone ZE551ML (mine) and Lenovo A536 (from that phone will be streamed friends' screen). Can you help me? I also have additional wi-fi receiver.

# Answer
You could use a vnc server on each phone, and use a vnc viewer on your computer to connect to both the phones. You could then just record your computer screen.
> 0 votes

---
Tags: lenovo, streaming, asus-zenfone-2
---


# Question
Title: Odin error : NAND Write Start!! FAIL! (Auth) can't flash stock rom SM-G530H
Can't complete the Stock ROM flash on my galaxy grand prime SM-G530H. The following error is shown inside the Odin message box.

```
<ID:0/010> Added!!
<ID:0/010> Odin v.3 engine (ID:10)..
<ID:0/010> File analysis..
<ID:0/010> SetupConnection..
<ID:0/010> Initialzation..
<ID:0/010> Get PIT for mapping..
<ID:0/010> Firmware update start..
<ID:0/010> aboot.mbn
<ID:0/010> NAND Write Start!!
<ID:0/010> FAIL! (Auth)
<OSM> All threads completed. (succeed 0 / failed 1)

```

I hope the problem is with the `NAND Write Start!!` part.

I tried with three of the stock ROMs and getting the same result. What should I do to overcome this problem?

# Answer
I'm pretty sure you're in Recovery mode. Put your device in Download mode (turn your device off, press and hold volume down and home buttons, then press and hold the power button until the download warning appears, then volume up to continue, connect USB and run Odin) to flash with Odin.

Putting your phone in Recovery mode is done the same way except volume up is pressed with the home key instead of volume down.
> 0 votes

---
Tags: device-firmware, odin, samsung-galaxy-grand
---


title: Password Recovery

text:
# Question
Title: Password Recovery
Hoping you can help me fix my problem. I reset my phone (Acer z150) , all data erased. This is my problem how can I sign in in Clash of Clans without my google password. All I know is my Google email.

# Answer
> 0 votes
You need to either follow the instructions in forgot my google account password to reset your Google account's password, or follow Supercell's instructions (quoted below) about recovering your lost account.

> If your account was at any point linked to Game Center or Google Play, logging into the respective account and opening the game should retrieve it.
>
> If that does not work, please start a new game, and message us directly from within that new game.

---
Tags: google-account
---


title: Pixel C no longer connecting to wifi

text:
# Question
Title: Pixel C no longer connecting to wifi
The Pixel C (serial # 620\*******) is no longer connecting to wifi. We have 3 wifi networks and it does not connect to any of them (it did before). It vacillates between saying "Obtaining IP address" and "Ip configuration failure". I've tried "forgetting" each of the wifi connections and reentering the password, but this does not help. Also tried restarting the device.

I discovered this on Tuesday morning, coming back from the holiday. During that time the device's battery went dead. Not sure if that is related or not. The battery is fully charged now.

What can be done?

Edit:
Just noticed the clock has been reset to Jan 1, 2000. Fixing that fixed the wifi problem.

# Answer
> -1 votes
Our network has a security feature that checks any connecting device for a correct date and doesn't allow connection if the date is not correct.

---
Tags: wi-fi, google-pixel
---


# Question
Title: Problem playing large MP4 (500 MB) video files in Android 2.1
When I try to play a large MP4 video file (500 MB), say a film on my phone, it plays the audio but not the video.

I have checked running a smaller MP4 file (5 MB), and it plays fine.

Even when the video is listed in the video gallery, the video thumbnail is not displayed. LogCat shows that video frame cannot be obtained with a status -24.

What changes are needed to fix this problem?

# Answer
Does the .mp4 play as a video on a desktop OS? Can you 'vouch' for the source?

.mp4 is a container format and may well only contain audio, or is corrupt and the player can only salvage the audio...

http://en.wikipedia.org/wiki/MPEG-4\_Part\_14
> 4 votes

# Answer
Maybe the MP4 file contains video packed with a wrong/unsupported codec. Try recoding the video to a format that's supported by your phone.

A quick search showed Videora Android Converter. It seems easy to use and converts to formats supported by Android.
> 1 votes

# Answer
The MX Player app is the best one I've found for playing a variety of file formats and codecs. I suspect that the problem might be, as @onik suggested, that the codec used is not supported by your video player. There's also an "app" that supplies additional codecs.
> 0 votes

---
Tags: 2.1-eclair, video, files
---


# Question
Title: How can I find out the developer of an app from its APK file?
Given only an APK file, how can I find out the developer of a non-market Android application?

# Answer
A "non-techy way" would be, given the `package_name`, doing a web search on it. Chances are it's available on some store, which then would give you the developer's name.

A different way is, as indicated by ottucsak's answer, extracting it from the certificate. The way to do that is described here, and basically involves the following steps:

1. unpack the `.apk` file. As that's a `.zip` in its structure, unpacking would mean unzipping.
2. use `keytool` to view the certificate:
`keytool -printcert -file META-INF\CERT.RSA`
3. in the output, check for the "Owner" and "Issuer" lines.
> 3 votes

# Answer
It isn't really is possible. However there is a workaround. If you have got the `package name` of the `apk` you can see the developer name. Something like this: `com.<developer_name>.<app_name>`. Example: `com.google.drive`. If you don't know the package name you need to extract the `apk` and then the `package name` is somewhere in the `android-manifest` file.
> 2 votes

# Answer
You can use the Java Keytool to pull information about the developer.

```
keytool -printcert -file <extractedFile.RSA>

```
> 0 votes

# Answer
I found the developers name in the app's signature in the `*.apk/META-INF/CERT.RSA`
> -1 votes

---
Tags: applications, apk
---


# Question
Title: My android phone is stuck and won’t boot past its logo
After I root my phone to uninstall some not used apps, my phone failed to reboot and stuck, it seems that I uninstall some system apps by mistake. my phone model is sony Xperia t2 and my android version 5.2 how can I fix that ? note that the power button is not working on my phone

# Answer
> 0 votes
if your phone is still able to display boot logo, that's a good sign that the bootloader wasn't corrupted;I suppose that you accidentally removed a program ("init", "surface flinger", ...) necessary for booting the user space environment.

I guess you're still able to boot into bootloader mode; if so, just load a fresh firmware (a.k.a ROM).

---
Tags: 5.0-lollipop, recovery-mode, boot, reboot, sony-xperia
---


# Question
Title: Is there a way to make Android in general play sound a little louder on the right side?
For some reason my earphones have a lower volume on the right side and it throws me off, is there a non-root way to make the phone's audio (at least via earphones) play a little bit louder on the right side? I'm using an Xperia Z Ultra on the latest available Android version for it (Lollipop).

# Answer
> 1 votes
**Settings** -\> **Accessibility** \> **Hearing**,

There you can control the left/right sound balance.

---
Tags: audio, music, google-play-music
---


# Question
Title: Where is Telegram for Android developed? (Or: is it really free software?)
Telegram is supposed to be free/libre software, but where is Telegram for Android developed?

1. Copy of the code: I can't find recent code. https://github.com/DrKLO/Telegram claims to be the official repository but was last updated 2 months ago at 3.10.1, while 3.11.2 is currently being distributed. **Is there a way to get the actual code in use?**
2. Patching the code: as far as I can see, pull requests are never merged, even when they aren't explicitly rejected. (Perhaps some of them get merged in another repository and the recent code is sometimes published to this repository?) **How to send a patch?**
3. According to https://core.telegram.org/tsi/bugs, Telegram uses Trello as issue tracker, but no link is provided and auchry says the issue tracker was just between 2014 and 2015. **How to send bug reports?** Should one use https://telegram.org/support?

In short: is Telegram really free software? Is it even open source?

# Answer
Actually, it's on the private repo of Owner, and sync time to time with the public repo on the github repo.

DrKLO:

> I have my own private repo except this on github, where i pushing all changes with unfinished things, because i can work from not only one place. After all new features are tested, I pushing new code to github, So github contains only major updates that will go to google play, so i think there is no need for tags, because every commit is release version. If i remove something from this repo, for me it will be harder to merge all new changes from my private repo.
>
> I will think about this pull request later, when I finish all important features.
> 1 votes

# Answer
The App is free and will always be.

> Telegram is free and will stay free — no ads, no subscription fees, forever. \- Telegram FAQ

Apparently they are not updating the code right after each release, but after a month or two they do (Usually.)

To submit a bug you can Contact Telegram Support within the app, Settings \>\> Ask A Question.

In short: It is a free software, And its somewhat open source...
> 0 votes

---
Tags: open-source, telegram
---


# Question
Title: Notification settings reset after reboot
I just bought a new smartphone and the new Android (6.0.1) has this peeking thing that really annoys me. I wanted to disable it, for example for WhatsApp, so I went to

`Settings -> Sound & notification -> App notifications -> Whatsapp -> Allow peeking (off)`

This solves the issue. The problem is that when I turn the device off and then turn it on again, these settings go back to default and the peeking is re-enabled without my doing anything.

Is there a way to permanently disable peeking?

**EDIT:**

I've found this link and option 1 seemed very promising. However, I did that and it didn't work either. Still looking for the solution, though.

# Answer
Well, I finally got it to work. I'm going to post the solution just in case someone is having the same problem. I did exactly as it is stated here: just toggling another one of the other two options in the notification settings did the magic.
> 1 votes

---
Tags: 6.0-marshmallow, notifications, settings, reboot
---


title: Can't send mms with Hangouts

text:
# Question
Title: Can't send mms with Hangouts
I have a Galaxy Note 4, running Android 6.0.1 and I can't send MMS with Hangouts. I can receive and send MMS with the stock SMS app, but only receive MMS with Hangouts and I can't find whats is going wrong because it worked perfeclty fine before.

Hangouts is my default SMS app.

I deinstalled/reinstalled Hangouts, no changes.

I can sens MMS with other apps, I tried Textra, but now my battery drains really fast.

# Answer
> 1 votes
On many devices, messaging apps (even those with full access to SMS) are unable to send MMS messages unless they are set as the default SMS app.

This same issue affects to me on my Nexus 6P: my default SMS app is the Messenger app, and even though other messaging apps on my phone (Textra and Pulse) have access to SMS & MMS, neither can send MMS without being set as the default SMS app in Settings. Both of those apps prompt me to set them as the default SMS app when attempting to send MMS, I'm surprised that Hangouts does not.

So, to fix the issue: go to `Settings` -\> `Apps` -\> `gear icon in the top-left` -\> `SMS app` -\> `Hangouts`. Or, alternatively, search through Settings for "Default apps" or "SMS app".

**tl;dr:** Setting Hangouts as your default SMS app will fix the issue.

---
Tags: google-hangouts, samsung-galaxy-note-4
---


# Question
Title: How to move tasks from GoTasks app into another phone
I've just changed phone.

Using Samsung smart switch app, I was able to transfer all my stuff from my old phone to the new one. Everything has been transferred with this app, except tasks stored within GoTasks app. I know this application can synchronize with google account, but back in the days, I didn't care about that and just used local task saved directly into my phone for the convenience of it.

Overtime, I've put a lot a task with a lot of detail there so rewriting them in the new phone isn't really an option.

So here, it would seem Titanium Backup could rescue me. With it, I could backup data of the app from my old phone and restore the backup into my new phone. The problem is that this application need to phone to be rooted. Apparently, my old phone was and I wasn't even aware of it. My new phone is a Samsung Galaxy S5 running android 6.0.1 and I was unable to root it so far using "kingRoot, kingo root" and others. (sad) Yet, there is probably other thing to try to root it, but here the thing, rooting is almost illegal and void warranty. I might not care about this, but I wonder if I really need to get down that path to get my TasksGo tasks transferred into my new phone.

Is there a better way to transfer the tasks of GoTasks from my old phone to my new phone? I would love something as easy as copy pasting a file from my old phone to my new phone, but sadly it doesn't seem that simple... There is no tasks saved in gotasks app of the new phone.

My old phone is a Samsung Galaxy3 running android 4.1 if that could help.

# Answer
> 0 votes
In the end, I was able to use google synchronization and a reasonable amount of manual work to get the tasks on the new phone.

Here is what I did. Step 1 through 5 are on the old phone, after that they are on the new phone.

### Step1

Rename a list of tasks in TasksGo to add "local" or "old" at the end.

### Step2

Create a new task list with the original name of the list renamed at Step1. Here, you need to link this new list to your google account.

### Step3

Put the new list below the old one. Then, from the last to the first one, start drag and dropping all task from the old list into the list.

### Step4

Delete the now empty old task list and repeat step 1 to 4 until there isn't any local task list anymore.

### Step5

Hit synchronise in the app's menu. This wasn't enough for me because automatic sychronisation is off on my old phone. I had to go into Android:"Setting\account" to mannually hit synchronise on GoTasks's data there. If you don't have a google account linked to your phone, this is also the place to add it.

### Step6

On the new phone, open goTask and hit synchronize and to import all the good stuff. Your might need to do the manual sych. in the phone's setting like for step5 if automatic synch is off.

I had many list of tasks that each had plenty of tasks, so I had to find a way. With the amount of data I had, it took me an hour, but it should be much less than that if your usage of this app is lightlier than mine.

Author of this application is Evgeny Shurakov. Since the app was renamed, searching for the author is easier to find back this application now a day.

---
Tags: data-transfer, app-data
---


# Question
Title: Why does my phone keep restarting when trying to dial any number?
My Yureka Cyanogen restarts whenever I try to make a call. When I dial a number it restarts but not when I receive it.

What could be the problem and how to solve it?

# Answer
> 0 votes
Looks like you have applied any buggy CM themes.Use default theme and checkout. Try to clear the data of that particular phone app. Most of the time it happens when we replace CM phone app by google phone app during the open gapps installation. use another phone app A dirty flash can be helpful. Also which version you are running. Is it nightly or stable version?

---
Tags: cyanogenmod, bugs, micromax-yu-yureka, cyanogen-os
---


# Question
Title: Gmail not working with the background data restriction
My device is YU YUREKA with android 4.4.4 and Cyanogenmod 11.0

Restriction of background data in android devices is very much in now-a-days and I always use it. But recently I am facing problem with the Gmail app. Sometimes it is not working with the data restriction even when it is not a background process.

Therefore to get my mails I have to un-check the data restriction option every time, for which other apps are consuming unwanted data.

Is there any way to make Gmail working again with the restriction?

# Answer
Gmail app is used to show only the mails that is received by another core app called Google play services using synchronization that needs background data connection,When we open Gmail app then the play services app get restricted by DATA restriction. I want to say that some app like Play Store and Gmail will not work If you have restriction on background data. I think it will help
> 0 votes

---
Tags: cyanogenmod, 4.4-kitkat, micromax-yu-yureka
---


# Question
Title: Pair Sony DualShock 4 v2 with Sony Android TV
I am trying to pair a Sony Dualshock 4 controller (CUH-ZCT2E) with my 2015 Sony Bravia Android TV (KDL-55W808C).

The TV has a DUALSHOCK™4 settings menu, through which one should supposedly be able to pair a Dualshock 4 controller with the TV. The on screen instructions says "press and hold the share and PS-buttons until a white light starts flashing on the controller". The white light starts flashing, but the TV is unable to locate the controller.

Then I found this page listing many Sony Android TVs from 2014 to 2016, including mine, as not supporting the new Dualshock 4 controller (CUH-ZCT2E). Only the older Dualshock 4 controller (CUH-ZCT1E) is supported.

Surely this must be a software limitation which Sony should be able to resolve through an OTA update? Are there any known workarounds? Would the sixaxis controller app help me to pair the controllers, and would I require root for that? Any known hints of if/when Sony is going to add support for the new 2016 Dualshock 4 to their Android TV sets?

Edit 2016-12-08: Sony Nordic customer support didn't have information about if Sony will add support for Dualshock 4 v2.

Update 2016-12-10: I just found out online that the rollout of Marshmallow to the 2015 (and the spring 2016) TV Sets has begun.

Update 2017-04-25: The Marshmallow rollout which was halted and postponed by Sony is now officially available as USB download for Nordic customers (link in Swedish). After upgrading to Marshmallow I'm still not able to pair through the Dualshock™4 settings menu.

# Answer
Yes, it is possible to pair Dualshock 4 v2 controllers on a Sony 2015 Android TV. I have had no success when trying to pair through the TVs Dualshock 4 settings menu, but I successfully paired three controllers (simultaneously) using the Bluetooth settings menu:

1. If you have a PlayStation - start by unplugging your PlayStation's power cord, since I've noticed that the controllers otherwise sometimes pair with the PlayStation instead of the TV
2. Press the home button on your TVs remote and go to settings.
3. Go to bluetooth settings.

4. Go to device list

5. Add accessory

6. **Now press and hold the share button on your controller. While still holding the share button - press and hold the PS button on your controller.** Your controller's light should, after a couple of seconds, start to flash in a pattern of two short blinks followed by a pause repeatedly. Soon your tv should identify the controller as "Unknown"

7. Press the "select" button on your TVs remote control (the center button of your remote) to start pairing. The TV will identify the controller as "Wireless controller"

8. The controllers light will turn solid white when pairing is complete.
9. You should now be able to control your tv using the Dualshock 4 v2 controller.
10. If you want to use the controller(s) with PlayStation again, you will need to pair the controller(s) to the Playstation using an USB cable.

While running Android Lollipop I was able to control the TV's menus, play games downloaded through Google Play Store and use the controllers in emulators. **After upgrading to Marshmallow I'm still able to control the TV, but the experience is now pretty much ruined by heavy input lag starting about 30 seconds after pairing. I still hope to find a solution for this.**
> 4 votes

---
Tags: android-tv, game-controllers
---


# Question
Title: Automatically forward specific WhatsApp group messages as SMS
I learn in a school, where a large portion of the students don't use smartphones (because of addictions, pornography, and so on).

My classmates and I have a WhatsApp group, and sometimes we send important messages, which the smartphone-less students don't know about.

Is it possible to have a code that you write at the start of an important message (something like "important message" or emojis that nobody uses like ), and the message will be copied and sent to the smartphone-less guys?

# Answer
> 0 votes
Nothing is really impossible per say unless not allowed; restriction may be the veil that may prevent such a process and or action.

---
Tags: sms, whatsapp-messenger
---


title: HUGE battery drain GS7E

text:
# Question
Title: HUGE battery drain GS7E
So, as I say in the title, I have a GIANT battery drain proble: the battery will lose like 30-60% while idle and in airplane mode. Same but worse when listening to music (Spotify and LTE).

Yesterday night (Nov. 28-29) as it was charging (extremely) slowly ('7 hours 11 min until fully charged'), it decided to stop charging by itself and discharge fast (when obviously not using it) until 5 PM.

See attached image for details:

Annotated screenshot (click for larger variant)

# Answer
> 0 votes
First of all, try uninstalling Facebook, which is using the most battery according to your statistics. You could also try to reduce your screen brightness and use a dark, static wallpaper.

Slow battery charging can indicate a faulty battery. Try to charge your battery when the device is OFF and if the battery is still charging slowly, you should think of replacing it.

# Answer
> 0 votes
I agree that you should try to uninstall your facebook app since we can see that it has the most battery usage. Have you ever tried to calibrate your battery? Lately, I've got a problem about a battery draining, after I calibrate it, somehow it's fixed (at least better). You can see how to calibrate your battery here. http://andronuts.com/3-easy-way-to-calibrate-smartphone-battery.html

# Answer
> 0 votes
There are a lot of different things that can cause this, but a "miscalibrated battery" is not one of them. Android does not store battery information through a reboot.

There are 2 apps you can download to help understand what is using battery on your phone and slow down apps' energy usage. I do not represent either of the developers, I've just used them for years with a lot of success.

1. GSam Battery Monitor- this is a replacement for the built in battery monitor which, on my device, is about as accurate as if you asked a 3 years old how much battery my phone is using. It takes far more accurate measurements that the default monitor.
2. Greenify- this app is an interesting type of task-killer. It uses the phone's accessibility system to force quit apps for you when they no longer need to be running, such as the insane amount of background battery drain from Facebook. Apps that are "Greenified" are shut down for you if you are rooted, or with a tap of a shortcut on the home launder if you are not. Be careful what you use this on though. Anything that you need notifications from or needs to be running in the background (like any messaging services) should not be killed.

There are some other little things you can do in the settings too. Wifi is normally a very large drain on the battery because of Google's wifi scanning for geolocation. This can be turned off in the location setting's advanced menu. In the wifi advanced settings, there is also an option to return wifi off while asleep. This saves more power than you'd think it would.

Finally, if your battery is removable, you have the advantage of being able to replace the battery at a fairly low cost.

---
Tags: battery, samsung-galaxy-s-7-edge
---


# Question
Title: How to flash and root OnePlus 3T on Linux?
I Recently bought a `OnePlus 3T` and want to flash and root it.

Most resource focus on `OnePlus3` and on Windows.

How do I do that on Linux?

# Answer
Gather the steps in a gist.

---

# How to flash and root OnePlus 3T on Linux

## Update

## Requirements

> **Disclaimer:** I've already done those kind of install on different phones and I'm familiar with the steps. So be sure to read the resources to get an understanding of what happens.

* \[ \] battery are `>60%` ;
* \[ \] **know what you are doing?**
* \[ \] remember that version used worked **for me**.

Screenshots are not mine, thanks to their author.

## Flashing Recovery to TWRP

> Flashing require to do a factory reset. Backup your data.

### Prepare Phone

1. **enable `Developer Options`**
    1. in `Settings` -\> `About Phone` -\> `Build Number` (at the bottom)
    2. by tap on it for 5-7 times to enable Developer Options
2. enable `USB Debugging`
    1. in `Settings` -\> `Developer Options` -\> `USB Debugging.`
3. enable `OEM Unlocking` (in the same list).

developer-options http://cdn3.freeandroidroot.com/wp-content/uploads/2016/11/Enable-OEM-Unlock-USB-Debugging.jpg
4. Install `adb` and `fastboot` tooling:

```
sudo apt-get install android-tools-adb android-tools-fastboot

```
5. Reboot to bootloader either with ~~`adb reboot bootloader`~~ or through power button ;
6. Unlock the bootloader:

```
sudo fastboot oem unlock

```
7. Flash the recovery with `TWRP`:

```
sudo fastboot flash recovery twrp-3.0.3-0-oneplus3t.img

```
8. Reboot to recovery to *wipe cache* ;
9. Reboot to recovery to *mount* the device ;
10. Download SuperSU and no-verity-opt-encrypt-5.0.zip
11. Copy to your smartphone *Internal Storage* directory (using *nautilus* or *nemo*¹) ;
12. install both of them with `TWRP` ;
13. reboot and **enjoy!**

## Root

> The rooting procedure given here is not a data-loss process but it won’t hurt to have a backup of your smartphone’s personal data.
>
> source

## Resources

## Footnote

* ¹: I didn't manage to access my smartphone storage with `Dolphin` ;
* ²: `SR1-SuperSU-v2.79-SR1-20161221223537` didn't work for me.
> 2 votes

---
Tags: rom-flashing, twrp, supersu, oneplus-3
---