# Question
Title: Running android apps directly on ubuntu or gentoo
I wonder if is it possible to run android applications DIRECTLY on a Linux distribution like ubuntu or gentoo? I mean running the apps on linux without the help of virtualbox,simulators like genymotion, on google chroom...

is it possible to compile a linux kernel in such a way to do this? if so, is there any guide to to describe the process step by step?

any help is appriciated

# Answer
> 0 votes
No, it isn't. Even if you were running Linux on an ARM-based system, or only wanted to run apps for Android-x86, so that you didn't need an emulator, you'd still have the problem that the GNU userspace doesn't have the same facilities and libraries that Android has. The *Android framework*, the standard library used by all Android apps, doesn't exist for GNU/Linux, so the apps would not be able to run. It's nothing to do with compiling the kernel in a particular way.

# Answer
> 0 votes
Yes, there is, though right now it's still experimental. It's called Anbox, and it uses kernel features to share the kernel between the distro and the Android system.

Oh, and no need to recompile the kernel at all.

# Answer
> 0 votes
## Ubuntu 14.04 and later

Anbox has \>=4GB RAM recommended hardware requirements.

The anbox-installer is DEPRECATED.

Please find updated installation instructions for Anbox (64-bit architecture only) at https://github.com/anbox/anbox/blob/master/docs/install.md.

> **Install necessary kernel modules**
>
> In order to add the PPA to your Ubuntu system please run the following commands:
>
> ```
> sudo add-apt-repository ppa:morphis/anbox-support
> sudo apt update
> sudo apt install anbox-modules-dkms
>
> ```
>
> These will add the PPA to your system and install the anbox-modules-dkms package which contains the ashmem and binder kernel modules. They will be automatically rebuild everytime the kernel packages on your system update.
>
> After you installed the anbox-modules-dkms package you have to manually load the kernel modules. The next time your system starts they will be automatically loaded.
>
> ```
> sudo modprobe ashmem_linux
> sudo modprobe binder_linux
>
> ```
>
> Now you should have two new nodes in your systems `/dev` directory:
>
> ```
> ls -1 /dev/{ashmem,binder}
> /dev/ashmem
> /dev/binder
>
> ```
>
> **Install the Anbox snap**
>
> Installing the Anbox snap is very simple:
>
> ```
> snap install --devmode --beta anbox
>
> ```
>
> In order to update Anbox to a newer version you can run:
>
> ```
> snap refresh --beta --devmode anbox
>
> ```

Type "anbox" in the Dash and click the Anbox icon to start the Anbox Application Manager. In the Anbox Application Manager you will see a row of application icons. Click on an icon to launch it. The Android application will launch in a new window and you will be able to run it.

Anbox doesn't come with Google Play Store pre-installed and does not even have a package installer, so the only way to install additional applications in Anbox is through an Ubuntu software package named Android Debug Bridge (*adb*). You have to download the .apk file of the app you want to install, open the terminal, change directories using `cd` to the directory of the .apk file, and then install the app with a command that looks like this:

```
adb install /path/to/file.apk

```

Downloading an .apk file from a warez website is a miserable security risk, however some applications allow you to download the .apk file from the application's official website, for example WhatsApp Messenger for Android.

Then maybe the app will install or maybe it won't install if the app requires additional dependencies that are not installed in your operating system. For example WhatsApp requires Java as a dependency. I already had Java installed in my Ubuntu, so I tried to install WhatsApp.

```
adb install WhatsApp.apk

```

I got an error message that said `error: cannot connect to daemon`. I closed Anbox and reopened it. I got another error message that said `write: Broken pipe`. I closed Anbox and opened it again and got the same error message. Anbox is buggy just like the anbox-installer script says it is. I closed Anbox and reopened it again and finally WhatsApp installed in Anbox.

When you open WhatsApp for the first time it shows you a screen with a message that says:

```
WhatsApp will send an SMS message to verify your phone number.
Enter your country code and phone number.

```

WhatsApp also asks if you want to give the app permission to access the files on your device which is another security risk in my opinion. I think it's OK to give WhatsApp permission to access the files on my phone, but I don't want to give the app permission to access the files on my computer. Permissions are a matter of fundamental importance in Linux. You should be very careful about giving permissions to an application that it doesn't already have by default, and the telegram-desktop snap package in Ubuntu 16.04 has better support than WhatsApp including Telegram Calls voice calls which are currently available to users around the world.

---
Tags: applications, linux
---


# Question
Title: Where does Google Tasks tasks arrived from?
I recently installed Google Tasks and was surprised to find tasks and lists over there. I haven't used Google Tasks on the web (or from gmail) either.

Those were old tasks/notes taken around 3-6 years ago.
I checked my Google keep, Google reminders/assistant and Gmail (which are the platforms I use and used for reminders/notes/lists) and haven't found any origin for them.
(I rarely delete, I always archive, so if it existed in one of them it should've been found).

Where did they arrived from?

By beeshyams' advice is I searched in my Google activity for phrases and tasks I had in the list, but I only found them in the search history, and not in any kind of task/list/note app.

Examples:

# Answer
Google tasks has been since long, but only in Gmail. Here is a 2009 article explaining it. I guess it came around the same time probably. There wasn't a separate app for it back then. It was just a chat-type window popup in the bottom of your gmail screen. Check the old Gmail, the tasks' list comes from the drop down in the top left (circled red)
> 0 votes

---
Tags: google-tasks
---


title: Get into recovery mode on Xperia ray

text:
# Question
Title: Get into recovery mode on Xperia ray
I want to install a custom ROM in my Xperia ray. I have rooted my phone, unlocked the bootloader, and also installed ClockworkMod recovery. I have downloaded the custom ROM and Gapps on my SD card. But I am not able to enter recovery mode. I am always sent to safe mode.

I have tried the first two pages on google but had no success.

Please help.

# Answer
Download Android Studio, install ADB SDK, then open command prompt, change directory to

```
C:\Users\[UserName]\AppData\Local\Android\sdk\platform-tools

```

Then hit the following in command prompt

```
adb reboot recovery

```

Then your phone enters recovery mode. I did the same in my Xperia Ray and succeeded.
> 0 votes

# Answer
**TWRP recovery with modified kernel** I was unable to boot into recovery mode, when trying to root my Sony Xperia Z5 for the first time.

It worked after modifying my Android 7 Nougat kernel with this tool: https://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605

After that I had to but also could enter recovery mode via "adb reboot recovery". Which then worked well for me.

Trying to install lineageos... .zip, the check for right device was wrong in my case.

```
Installing zip file '... .zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
E3004: This package is for device: E6633,E6653,sumire,sumire_dsds; this device is .

E:unknown command [log]
Updater process ended with ERROR: 7
Error installing zip file '....zip'
Updating partition details

```

It can be changed easily as desribed here: https://forum.xda-developers.com/showthread.php?t=2522762

Worked well for me.
> 0 votes

---
Tags: recovery-mode, sony-xperia
---


# Question
Title: Disable Cyanogen Privacy Guard from Shell
I setup privacy guard for some of the ROM-Apps and now the GUI crashes when i even try to get the pin entry field on the lockscreen. My phone is rooted and i can try via adb or recovery. How can i disable the privacy guard or reset it from a root shell?

# Answer
Removing `/data/system/appops.xml` from TWRP (recovery) helped.
> 7 votes

# Answer
Instead of removing `/data/system/appops.xml` you can also edit it, at least if only the permissions to "Google Play Services" are the problem.

As I didn't want to re-configure all the app permissions, I downloaded `appops.xml` through adb (`adb pull /data/system/appops.xml`) and removed the section

```
<pkg n="com.google.android.gms">
…
</pkg>

```

This just removes all settings for Google Play Services. After that I uploaded the edited file again (`adb push appops.xml /data/system/appops.xml`) and everything works after restart.
> 2 votes

# Answer
A solution that worked for me was to simply boot into safe mode, and then revert to my previous settings.
> -1 votes

---
Tags: cyanogenmod
---


# Question
Title: Problems installing Lineage OS 14.1 on Lenovo P2 (black screen/blue LED)
I have a Lenovo P2 (42a) with Android 6, which I tried switching to Lineage 14.1, as my carrier hasn't provided any security/OS updates since 2016. I have previously done this with my old Motorola Moto G from Android 5.

I took a backup with adb (under linux mint), using the -system and -all options.

I unlocked the bootloader.

I flashed/booted TWRP 3.2.1.0 for this phone ("kuntao").

I transferred zip files. At one point the phone switched off while transferring with TWRP having mounted the "Internal Storage" partition, but it appears I got all things over on second attempt. It seems that sometimes TWRP gets stuck if the screen switches off while it is doing something, but the timeout can be increased if that is really the case.

I flashed the Lineage OS 14.1 file for the P2 ("kuntao").

I tried flashing the stock GApps zip, it let me know this was the version for 14.0 and I needed a different GApps file.

I then started over, flashing the Lineage OS 14.1 file and the GApps zip for 14.1 (Android 7.1). This would stop in various places, at least 3 different ones.

I then started over with the Lineage OS 14.1 file and the micro GApps zip for 14.1.

This completed, but when booting I get a black screen, a single long vibration and a continuously blue LED. The phone cannot switch off, only restart into bootloader or recovery, which at least isn't the worst news.

My adb backup does not restore - if I try this under TWRP, it seems to react to it, but get stuck, although with the screen on. When the command line process finishes, the result is the same as above.

Only issue I know of is that the provider can have added a few features, so that the flashing of the 14.1 file doesn't work exactly as intended. That would mean I need a complete image for Lineage OS or an image to restore to the "standard" Lenovo P2 state, as indicated here and here.

Any good ideas/procedures? Thank you.

# Answer
> 0 votes
OK, fixed - in the end I did this:

Tried "flashback" to stock android 6 with this zip file.

That didn't just work, so I tried with the automated script "flashall" in the zip.

That failed for the partition/image prov/prov32.mbn with the error message: FAILED (remote: Do not allow to flash Bootloader image on Unlock device)

I then went into the PRODUCT\_CONFIGURATION\_KUNTAO\_ROW.xml file and looked at the command list.

I then executed all remaining steps except the ones to delete partitions, for instance

```
<KUNTAO_ROW_IFLASH>
...
<step operation="flash" filename="prov32.mbn" partition="prov"/>
(first failure in script)

<step operation="flash" filename="sbl1.mbn" partition="sbl1"/>

```

became

> fastboot flash sbl1 sbl1.mbn (failed with same error)

```
<step operation="flash" filename="sbl1.mbn" partition="sbl1bak"/>

```

became

> fastboot flash sbl1bak sbl1.mbn (worked)

and so on all the way through, but skipping the instructions to erase (although I would have done it if the phone didn't start up). It did and I now have ROW (Rest Of World or normal) firmware rather than a carrier-specific version blocking OTA updates due to compatibility with one of their own apps.

I could then pick up a series of normal OTA updates from Lenovo, including Android 7, so I now don't need Lineage OS to get an upgrade for this device (at least not before they do an official Android 8 ROM for it :) ).

```
<step operation="flash" filename="rpm.mbn" partition="rpm"/> - didn't work
<step operation="flash" filename="rpm.mbn" partition="rpmbak"/>
<step operation="flash" filename="devcfg.mbn" partition="devcfg"/> - didn't work
<step operation="flash" filename="devcfg.mbn" partition="devcfgbak"/>
<step operation="flash" filename="lksecapp.mbn" partition="lksecapp"/>
<step operation="flash" filename="lksecapp.mbn" partition="lksecappbak"/>
<step operation="flash" filename="tz.mbn" partition="tz"/> - didn't work
<step operation="flash" filename="tz.mbn" partition="tzbak"/>
<step operation="flash" filename="keymaster.mbn" partition="keymaster"/> - didn't work
<step operation="flash" filename="cmnlib.mbn" partition="cmnlib"/> - didn't work
<step operation="flash" filename="cmnlib.mbn" partition="cmnlibbak"/>
<step operation="flash" filename="cmnlib64.mbn" partition="cmnlib64"/> - didn't work
<step operation="flash" filename="cmnlib64.mbn" partition="cmnlib64bak"/>
<step operation="flash" filename="emmc_appsboot.mbn" partition="aboot"/> - didn't work
<step operation="flash" filename="emmc_appsboot.mbn" partition="abootbak"/>
<step operation="flash" filename="logo.bin" partition="logo"/>
<step operation="flash" filename="NON-HLOS.bin" partition="modem"/> - didn't work
<step operation="flash" filename="fsg.mbn" partition="fsg"/>
<step operation="erase" partition="modemst1"/> - skipped
<step operation="erase" partition="modemst2"/> - skipped
<step operation="flash" filename="adspso.bin" partition="dsp"/>
<step operation="flash" filename="boot.img" partition="boot"/>
<step operation="flash" filename="recovery.img" partition="recovery"/>
<step operation="flash" filename="systemchunk0.img" partition="system"/>
<step operation="flash" filename="systemchunk1.img" partition="system"/>
<step operation="flash" filename="systemchunk2.img" partition="system"/>
<step operation="flash" filename="systemchunk3.img" partition="system"/>
<step operation="flash" filename="systemchunk4.img" partition="system"/>
<step operation="flash" filename="systemchunk5.img" partition="system"/>
<step operation="flash" filename="systemchunk6.img" partition="system"/>
<step operation="flash" filename="systemchunk7.img" partition="system"/>
<step operation="flash" filename="systemchunk8.img" partition="system"/>
<step operation="flash" filename="systemchunk9.img" partition="system"/>
<step operation="flash" filename="systemchunk10.img" partition="system"/>
<step operation="flash" filename="systemchunk11.img" partition="system"/>
<step operation="flash" filename="systemchunk12.img" partition="system"/>
<step operation="flash" filename="cache.img" partition="cache"/>
<step operation="erase" partition="userdata"/> - skipped
<step var="config bootmode factory" operation="oem"/> - skipped

```

EDIT: On the plus side, I just got the newly released Lineage 15.1 ROM to work for this phone.

---
Tags: 6.0-marshmallow, rom-flashing, lineageos, 7.1-nougat, lenovo-p2
---


# Question
Title: How to run an app on startup in background
How to run an app on startup in background? For example glasswire, kaspersky run in startup, as well as show in top In notification bar tray. I want to run Gom audio in background when start up & show up in tray automatically.

# Answer
Probably the best way to auto-launch an application in the background (without UI explicitly) is using the `am startservice -n command` together with with applications such as Tasker and the like capable of registering a `BOOT_COMPLETED` signal.

Depending on the nature of the application (which may require root), you can set up this in Tasker:

*Note: The application needs to have **a defined service(s)** declared in manifest.xml file*

You can use Tasker (7 day trial available) to accomplish this:

**Objective: Auto start a defined application in background after boot**

**Profile (or Trigger)**

Create a Profile which allows triggering of the Task after boot:

* Go to Profiles Tab and click "+"
* Event → System → Device Boot
* Tap back to exit from this window

**Task**

You will notice as soon as you exit, you will be prompted to link this Profile to a Task;

* Scroll all the way up the Task list select **"New Task + "**
* You can name this Task *AutoStart* or anything.
* Click **"+"** to add new Action
* Code → Run shell → enter command `start the activity` (it can be the main activity of the app or certain parts e.g monitoring data in my example:
* *Using NetMonitor Mini (`info.kfsoft.android.TrafficIndicatorPro`) I may decide to auto start in background the data monitoring service, so in the command box I write: `am startservice -n info.kfsoft.android.TrafficIndicatorPro/.TrafficMonitorService` to start at boot.*
* If it needs needs root, remember to check the box accordingly.
* Press back the way all back until you exit Tasker (your profile is now saved and is ready for execution)

**Extras**: Give Tasker more priority (allow auto-start for Tasker, exclude from battery optimisations, task killers etc)

*Explanation: Soon after boot, the action starts the application in background)*
> 1 votes

---
Tags: applications, boot, auto-start
---


# Question
Title: Completely disable audio jack as a media output
I bought 3.5 mm. dust plug jack and I'm using its buttons, but Android is considering it as a headphone and always routing the audio to it not the phone speakers nor the Bluetooth. I need to completely disable it as a media output. Please advise or guide where to ask. Stackoverflow, Super User, XDA, Android Central or Reddit. My phone is rooted and ready for any solution.

# Answer
https://plus.google.com/100255718384858554176/posts/Bqp8GtkQY9x Mr Ian Grody had posted a solution to be done by tasker and Lesser audio manager.

Edit for in case the link was changed.

You need to send Lesser AudioSwitch intents and it'll switch between headphones and speaker.. By Tasker.

LAIH (232) A1: Send Intent \[ Action:com.nordskog.LesserAudioSwitch.HEADPHONES Cat:None Mime Type: Data: Extra: Extra: Extra: Package:com.nordskog.LesserAudioSwitch Class:com.nordskog.LesserAudioSwitch.SoundBroadcastReceiver Target:Broadcast Receiver \]

LAIS (233) A1: Send Intent \[ Action:com.nordskog.LesserAudioSwitch.SPEAKER Cat:None Mime Type: Data: Extra: Extra: Extra: Package:com.nordskog.LesserAudioSwitch Class:com.nordskog.LesserAudioSwitch.SoundBroadcastReceiver Target:Broadcast Receiver \] Edited for
> 1 votes

# Answer
In android oreo, users can choose where to output the audio on the notification bar. Another way to do this is to destroy your phone audio jack by opening up your phone and unplugging the wires from the motherboard. There might be also root methods like xposed framework or something similar to map the audio output. Hope it helps :)
> 0 votes

---
Tags: settings, audio
---


# Question
Title: Is there a way for a user to tell if their Android device is encrypted or not?
There is a semi-relevant thread on SO https://stackoverflow.com/questions/12640708/check-if-android-filesystem-is-encrypted that explains how a developer would determine if full-disk encryption is enabled, but is there an easy way for a user to know? I tried encrypting (I'm on 4.4.2) and it seemed to fail at some point but did not throw an error, just dropped me back to the homescreen at a certain point.

# Answer
> 13 votes
**On Oreo 8.0.0**

Settings → Security & Location → Encryption & Credentials & it shows `phone encrypted`

**Better method**

Using command `adb shell getprop ro.crypto.state` ( works on unrooted devices also) returns `encrypted` or `unencrypted`

Output examples

* Oreo ( Unrooted, encrypted)

> Vostro1510 ~ $ adb shell getprop ro.crypto.state
>
> encrypted

* Marshmallow ( Rooted, unencrypted)

> Vostro1510 ~ $ adb shell getprop ro.crypto.state
>
> unencrypted

**Source - Adb command to check if the device is encrypted**

Note : Original question refers to Full Disk Encryption which has been replaced by File encryption from Nougat onwards. See this for details

**Edit** Instead of `adb` you can install Termux and type `getprop ro.crypto.state` to get the result - works on unrooted device also

# Answer
> 8 votes
Same place where you start the encryption:

In (I am on 4.3) `Settings -> Options -> Security`, the first entry will report the status and offer decrypt (if encrypted) or encrypt (if not).

# Answer
> 4 votes
If your phone came with Android 5 or above, the storage is encrypted by default. You can verify this by going into `Settings` \> `Security & lock screen` \> `Encryption & credentials`. It should say *Encrypt phone - encrypted* and it won't allow you to turn it off.

Hovewer, the safety of the encryption depends on several factors. Most importantly, you should be using a strong password. PIN codes can be brute forced easily - Android allows you to try 5 different passwords every 30 seconds. That means brute forcing a 4 digit PIN takes less than 17 hours.

Another factor is whether you have the bootloader unlocked and what kind of encryption your phone uses.

## File-based encryption

*Android 10+, some devices with Android 7 - 9.*

Android with FBE enabled encrypts the master key by a combination of the device key and your PIN/password. A device like this is NOT decryptable without your password even if one can run arbitrary code\* on the device.

You can quickly verify if your phone is using FBE by restarting it. If it asks for PIN/password with a default-themed keyboard, it's using FBE.

A more reliable way is running `adb shell getprop ro.crypto.type`. You'll get the response `file` for FBE.

## Full-disk encryption

*Android 4.4 - 6, some devices with Android 7 - 9.*

The master key is encrypted using only the device key by default. If you can run any code\* on the device, your data is as good as unencrypted. To encrypt the master key with your PIN or password, you need to enable "secure startup" (`Settings` \> `Security & location` \> `Screen lock` \> `PIN` or `Password` and tap `Yes` when it asks if you want to use Secure start-up). That makes the master key encrypted with the device key AND your PIN/password.

If you get a black screen with a prompt "To start Android, enter your PIN/password", then your phone is using the secure start-up. If it boots normally and asks for PIN/password with your customized keyboard, your phone is NOT using the secure start-up.

You can check if the device is using FDE by running `adb shell getprop ro.crypto.type`. You'll get the response `block` for FDE.

---

* you can run arbitrary code if the bootloader is unlocked, the device manufacturer (or possibly a very determined hacker) can likely do this even with bootloader locked

Read more about Android encryption here: https://source.android.com/security/encryption/

# Answer
> 0 votes
Try changeing default storage to SD Card

`Settings -> Memory -> Default Location -> SD Card`

if your phone is encrypted than you'll get a warning stating that internal memory is encrypted. Of course its only a hint, not a proof.

My P9 Lite (Android 7) behaves like that, and this is consistent with user guide page 193

> Full-disk encryption | All data on the memory chipset is automatically encrypted

---
Tags: security, encryption, disk-encryption
---


title: How to select the 3G

text:
# Question
Title: How to select the 3G
I am using Moto E with Lollipop 5.1 And I am having this trouble that whenever I am using 3G service, it automatically switches to 2G and i can't able to select 3G (3G selection is not available/showing). How to select the 3G.

# Answer
Go to Settings\>Mobile Network\>Network Mode there will be three modes for you GSM only, WCDM only and both. Just select WCDM only option and then you can use 3G.
> 0 votes

---
Tags: 5.0-lollipop
---


# Question
Title: How to disable Data Usage Cycle's autoreset
I'm using a prepaid card and there's no billing cycle.

How can I disable the data usage tracker from auto-resetting?

# Answer
As of `Android Oreo` you cannot disable the billing cycle from the `Settings`. However, there is an application, which monitors all the data you use, but unfortunately, recently it became `Samsung` exclusive. I'm talking about Samsung Max (previously known as Opera Max). I've tried other apps for mobile data monitoring, but only this one could show a custom cycle. If you don't own a `Samsung` you can try the Play Store for apps, which also offer the monitoring you're looking for, and share your results here :)
> 1 votes

---
Tags: settings, mobile-data
---


# Question
Title: How to turn off Android corner page curl?
I'm having an Android page curl issue. I've read up on it and a lot of people say it's a clean master app.. but I don't have that app, or omniswipe.. or and of the other apps mentioned... My phone died earlier today, and when I turned it on the curl was suddenly there... Idk where it came from or how to get rid of it. Because it's sapping my battery, I can see the difference, and it frankly really annoying. Ive even had to move all my app up to the top of the pages just so I don't inadvertently swipe the tiniest bit and that curl pops up.... Please help.

# Answer
Nevermind, I finally figured it out. It was in my Antivirus Free app. The app that came already installed on my phone. Lazy swipe was a feature added in the settings. Just turn it off~ I at least hope that this helps someone else~
> 0 votes

---
Tags: android-device-manager, swype
---


# Question
Title: Andoird P - How to join mp4 files splitted by the camera
I've done multiples videos larger than 4GB with my Pixel 2XL installed with Android P. The camera as splitted my video in 2 files from continuous shooting. In all cases, the first file is readable but, for the second, I can only see the lenght of the video:

Is there a way or a tool to join these files or to repair the second one ?

I've already try a binary copy with "copy \b" and "cat", a join with `ffmpeg -f concat` and an append with `avidemux` without success.

# Answer
Finally I was able to recover my video using "recover\_mp4". I lost a bit sound quality, but at least my video is readable.

Morevoer, I've opened a bug report and this trouble should be fixed for the next release. (https://issuetracker.google.com/issues/80199853)
> 1 votes

---
Tags: camera, video-recording, mp4, 9.0-pie
---


title: What are these icons on an Android?

text:
# Question
Title: What are these icons on an Android?
Could someone please tell what these apps are?

# Answer
> 2 votes
Icon on the **left** is the notification by the app **Musical.ly**.

* musical.ly is a global video community with editing tools and share video with the world.

Icon on the **right** is the notification by the app **Smart Manager** in Samsung.

* This app is used to manage battery, storage, RAM, Device Security etc

---
Tags: applications
---


# Question
Title: Why doesn't my "Trusted Places" work anymore in my Samsung Galaxy s7?
Since I just got an update for my Samsung Galaxy s7, my trusted places quit working. In fact, I cannot even find the setting in my settings section.

# Answer
I learned today from Samsung via the Smart Tutor app that Smart Lock trusted places can have trouble inside buildings if the location service is set to high accuracy using GPS. If the GPS signal is not found it causes a delay of 10 seconds which is too much for unlock to work.

To get it working I should set the location method to battery saving via:

> Android Quick Settings menu (pull down one finger from top)
>
> -\> `location symbol` (slide one finger to the left)
>
> -\> long press the `location symbol` for a few seconds to open the `Location` menu
>
> -\> `Location method` -\> `Battery saving`

However, Smart Lock still doesn't unlock sometimes. Adding more trusted places which differ only at the last digit seems to have improved the situation a bit. However, it is also still not working well for me.
> 0 votes

---
Tags: 7.0-nougat, samsung-galaxy-s-7-edge, smart-lock
---


# Question
Title: Setting/finding Android 7 encryption password
With some hassle I updated the 2016 firmware on my Lenovo P2 to Android 7 (I think my carrier decided that their own app was more important than security updates).

Now that I wanted to put the TWRP recovery onto the phone instead of the stock one, I find out that the phone is encrypted, which it wasn't before. I have not asked for it (it appears Google does this by default now for Android 7) and I have never entered a password explicitly for encryption.

However, TWRP asks for a password for decryption purposes, I believe.

I use fingerprint/PIN as screen lock. This answer and others suggest it should be the PIN, however while that works fine for a normal startup of the phone, that doesn't work in TWRP.

How would I find or set the right password to use (doubting there is a default password!)?

# Answer
> 1 votes
It turns out that there either is a bug in TWRP in that it won't accept a blank password (or that there is a default password in Android 7).

In either case, if I set the password under

```
Settings -> Security -> Screen lock -> [PIN] -> Password -> Require password to start device

```

(which I have never set before), then this password can be used in TWRP and must then also be used to unlock the phone instead of the PIN.

---
Tags: 7.0-nougat, twrp, encryption, password
---


# Question
Title: Device fails to install provisioning app
I'm trying to provision a Huawei Y6 (MYA-L11) with a custom Device Owner app via NFC after a factory reset. However, once it has downloaded the admin app, I get a message box: "*Oops! Couldn't install the admin app.*" and the only option is `RESET` which repeats the factory reset.

I have tried this method with a Motorola Nexus 6 without any issue. I have also been able to install third party Device Owner apps (e.g. SureLock) via NFC in this way on the Huawei Y6; the issue seems to be with custom apps.

I have also tried provisioning the sample apps in this way without any success. Is there something I'm missing from my apps and the sample app that third party apps aren't?

Provisioning the device manually works but I'd like to make the process do-able by non-technical staff. Manual provisioning can be done by going through the initial set-up process, skipping anything that can be skipped. Once set-up is complete you have to turn on `Developer Mode` in the settings, turn on `USB Debugging`, install the app via ADB and then set the Device Owner via ADB to the receiver specified in the app manifest. *Waaay* too complex for our non-technicals.

# Answer
> 0 votes
Had the same problem and it was because the App I was trying to install was self-signed. I signed it with a real certificate and then the problem went away.

It should also be noted, that I'm using QR codes instead of NFC as the tablet I'm working with does not have NFC.

---
Tags: 6.0-marshmallow, factory-reset, installation, huawei, nfc
---


# Question
Title: Can you test apps on a google locked phone?
I'm an Android developer and I'm looking for a test phone, since I don't want my main phone plugged in and charging all day. I noticed that there are many "Google Locked" android phones for sale on eBay for very cheap. Can you test apps on a google locked phone? I don't care about connecting to wifi, mobile data, etc. I just need to be able to plug-in via USB and run my app on the phone to see how my app looks at a different resolution, performance, etc.

# Answer
> 4 votes
No... Assuming by "Google Locked" you mean it has an enforced Factory Reset Protection which requires the previous owner's (or last active) Google account credentials. When this is active you cannot get to the launcher or perform any actions on the device until it is "unlocked" using the proper Google credentials. It is "locked", is essentially a non-functional device, and you cannot get past the Google Credentials screen in any way.

Some further information that might be applicable in our FRP base question, How to bypass “Verify your account” (Factory Reset Protection)

---
Tags: development
---


# Question
Title: Configuring USB tethering manually with root
I've exhausted the documented methods of programmatically enabling USB tethering:

* The `service` method doesn't work on my phone (Samsung Note 4). It seems to be some sort of protected API, and poking it from `adb` has no effect.
* The `shell input` method is not applicable, as it requires that the device is unlocked, and there doesn't seem to be a way to programmatically and non-destructively unlock a device locked with a fingerprint.

So, I'm looking into achieving this goal "the hard way", i.e. do everything that the Android userspace does when you tap the USB tether checkbox.

As far as I can tell, this involves the following steps (most of which would be similar to how you'd do it on a Linux machine):

1. Establish an IP connection to the host computer through USB. This involves putting USB in `rndis` mode, setting up routes, assigning an IP, etc.

I've already figured out how to achieve this and posted the answer here.
2. Launch a `dnsmasq` instance, to assign an IP to the connected PC via DHCP, and forward DNS requests.

This step shouldn't be necessary if you don't need DNS server detection and assign static IPs on the USB interfaces yourself.
3. Enable IP forwarding (`/proc/sys/net/ipv4/ip_forward`).
4. Set up `iptables` to enable forwarding/masquerading.
5. Update routing tables for traffic accounting.

I managed to write a bunch of scripts which replicate exactly the visible effects (described above) as performed by the Android OS when enabling USB tethering through its UI. To create the scripts, I recorded the system state (`iptables -S`, `ip route show table all`) with and without tethering, then converted the differences into shell commands to apply the changes to the system. However, my replicas are still not enough; some part of the system remains unconfigured which prevents traffic from going through.

Does anyone have a clue as to what I might be missing, or how I can narrow down / debug the problem?

# Answer
> 0 votes
A buddy let me know that there is more than one `sysctl` setting for forwarding (a global one and one per interface, then more for IPv6).

On my phone, the relevant settings are:

```
vars=(
    net.ipv4.conf.all.accept_redirects=0
    net.ipv4.conf.all.forwarding=1
    net.ipv4.conf.default.forwarding=1
    net.ipv4.conf.ip6tnl0.forwarding=1
    net.ipv4.conf.lo.forwarding=1
    net.ipv4.conf.p2p0.forwarding=1
    net.ipv4.conf.rmnet0.forwarding=1
    net.ipv4.conf.rmnet1.forwarding=1
    net.ipv4.conf.rmnet2.forwarding=1
    net.ipv4.conf.rmnet3.forwarding=1
    net.ipv4.conf.rmnet4.forwarding=1
    net.ipv4.conf.rndis0.forwarding=1
    net.ipv4.conf.sit0.forwarding=1
    net.ipv4.conf.wlan0.forwarding=1
    net.ipv4.ip_forward=1
    net.ipv6.conf.all.forwarding=2
    net.ipv6.conf.all.proxy_ndp=2
    net.ipv6.conf.default.forwarding=2
    net.ipv6.conf.ip6tnl0.forwarding=2
    net.ipv6.conf.lo.forwarding=2
    net.ipv6.conf.p2p0.forwarding=2
    net.ipv6.conf.rmnet0.forwarding=2
    net.ipv6.conf.rmnet1.forwarding=2
    net.ipv6.conf.rmnet2.forwarding=2
    net.ipv6.conf.rmnet3.forwarding=2
    net.ipv6.conf.rmnet4.forwarding=2
    net.ipv6.conf.rndis0.forwarding=2
    net.ipv6.conf.sit0.forwarding=2
    net.ipv6.conf.wlan0.forwarding=2
) ; sysctl "${vars[@]}"

```

With these and the other ones, forwarding and tethering works!

---
Tags: usb-tethering
---


# Question
Title: Can i disable spellchecker popup but keep the red underline?
The red underline on misspelled words is excellent, but the popup is awful.

This is the popup I do not want:

My keyboard app has a much better suggestion list, always. I think because it learns my typed words and handles two languages simultaneously, while the native android spell checker can't do either of those things. But the keyboard app cannot underline words.

The unwanted popup breaks my accessibility input (I use a physical keyboard), forcing me to always:

1. click/touch the misspelled word,
2. wait for popup to show up with useless suggestions,
3. press back button to close popup,
4. click the correct word on the keyboard suggestion bar.

Is there any way to only highlight misspelled words and not show any popup on touch/click?

# Answer
> -1 votes
There ought to be a setting for the keyboard you are using.

I use "Gboard - the Google Keyboard (Beta)", it's quite good. Multilingual typing, probably in your languages. Easy to use Emoji searching, .GIFs, Swipe, 'Google Translate' typing, and it has voice input too.

Settings -\> General Management -\> Language and Input, section "Input Correction" - set "Spelling Correction" to off. It still gives 'one line suggestions' but no 'pull down' like in your example.

---
Tags: keyboard, accessibility, text-input, spell-check
---


# Question
Title: Persistent malware despite factory resets
I'd love your thoughts on this. Several months ago I mistakenly clicked a popup on a website, and since then have been getting intermittant popups says "your sim card is infected...etc" and it tries to direct me to the play store to install some sketchy "antivirus" app (which I have never downloaded).

The issue is, I've done multiple factory resets, but after a few days I get the popup again. I've tried 10 antivirus apps from the play store, google chrome's malware detector, but everything comes up clean. Most recently, I used TWRP to completely wipe all data from my phone (wiped Dalvik, system, storage, data, cache, everybox I could check), and before reinstalling Oreo 8.1 I wiped all my data being synced by Google. Still, a few days later, I get the popup, without visiting sketchy websites or downloading non-standard apps in the interim.

I figure there is either something that is being synced to my phone from my Google account (I use google Fi and it requires I use my google login), or there is some niche in my phone that is not getting wiped. The only other thing I can think of is that these are just regular popups, and not part of malware, but that seems unlikely since I didn't get them before I clicked the banner that one time.

Any suggestions on how to get rid of this thing? Thanks!

# Answer
> 2 votes
You can try identifying the app the next time it brings up that popup by checking the foreground activity using dumpsys:
`adb shell dumpsys activity activities|grep mFocusedActivity`
OR
If it's just a window without an activity use `adb shell dumpsys window windows` and search for apps whose windows have `isReadyForDisplay()=true`, this may help you be able to identify exactly what app is responsible for the popup so you can disable or remove it

# Answer
> 0 votes
Thanks for the input everyone. It wasn't an app. That's been the difficulty for people with this issue, is that it isn't some app. At least as far as I can tell.

I got my cellular provide to supply a new SIM card (which they did for free). And while I've cleared my google synced content and used TWRP to blank and reinstalled my OS several times before, I basically did it back to back to back...and probably again.

No problems since.

---
Tags: malware, nexus-5x
---


# Question
Title: What is creating these gibberish files on my SD card?
I recently took my SD card out of my tablet, and put it into my laptop. However, there were gibberish files everywhere on the SD card. A few of them:

* In the Alarms folder, there were two files: `.fgbnm_uyivfqwpo.txt` and `.fgbnm_uyivfqwpo11.txt`. They both contained nothing but the stirng `rAa7m3BIebYuaNAiY2vVfbUMRvRym7Ym#1527480871`.
* In the DCIM folder, there were `.redghj_jklqwpo.hgk` and `.redghj_jklqwpo11.hgk`. They contained the same data as the files above.
* In the Documents folder, there were `iiy_pol_gthqwpo.mp3` and `iiy_pol_gthqwpo11.mp3`. They also contained the same data, and Windows Media Player encountered an error when playing it.
* In the Downloads folder, there were `.ertyui_opikqwpo.ziip`, `.ertyui_opikqwpo11.ziip`, `.y_androidqwpo.ziip`, and `.y_androidqwpo11.ziip`. If I opened them as a .zip file, I got "Please insert the last disk of the multi-disk set" on all 4 files.
* The Movies folder contained `dgdf_configqwpo.con` and `dgdf_configqwpo11.con`.
* The Ringtones folder contained `.ewsdf_oplkqwpo.kjl` and `.ewsdf_oplkqwpo11.kjl`.

The only things in common between all these files is the contents (`rAa7m3BIebYuaNAiY2vVfbUMRvRym7Ym#1527480871`) and the ending before the file extension (`wpo` and `wpo11`).

Searching the files found this question (it's in French!) that just says they can be deleted.

What app is creating these files? Whatever it is I want to remove it immediately.

# Answer
> 3 votes
Here is the answer to your problem: These files come from installing applications from developers Cheetah Mobile. Delete the Cheetah Mobile app that you have installed and then delete these bogus files. Problem solved!

---
Tags: file-management, files
---


# Question
Title: How can I merge Spotify offline music with my local music files on my phone?
I have tracks saved offline in Spotify. I also have individual MP3 audio tracks that I have manually added to my music folder in my phone (Galaxy S6). However, if I want to shuffle everything then I have to jump between Music app and Spotify app manually. Which is a pain, and a bit dangerous if I'm driving.

What I'd like to do is be able to 'merge' all these tracks together. Whether this is a single playlist of everything, or a way of moving my local music into Spotify app, something like that.

One option i had was to just re-download the local tracks in Spotify itself, but not all the music I have is found there.

How can I merge all my music from my device into one usable playlist?

# Answer
> 4 votes
It is not possible to merge them to one playlist. However you can sync local files to one playlist. To do that follow the steps below:

> **Note:** This will require that spotify is installed on one of your computers and that your Android device is on the same WI-FI network as your computer.

# Steps

1. On your pc open Spotify, and go to `Edit -> Preferences`.
2. In preferences, look for `Local Files` and check the sources you want to show the local music from. You can directly add sources like **Windows Media Player** and **iTunes library** by simply checking the respective options. Or you can also add a folder with some music when you click on `Add Source...`.
3. All the files you import to **Spotify** can be viewed and played from Local Files section under Collection in the sidebar. If you have to musch music in your local repository, creating playlists from local files would be a great idea for you.
4. Make sure your Android phone is connected to the same WI-FI network and is signed in with the same **Spotify** account as your PC. (Off-topic: for an IPod connect it with a USB cable)
5. If not already done so: Download Spotify for Android: Spotify Music for Android
6. Once the desktop application identifies the connected device, it will show you a pop-up asking whether you would like to sync the device with Spotify. Click on the button to open the sync window.
7. Now the app on your phone will sync all the music playlist you created on your computer to your mobile device.

> **Note:** It may take some time till it is finished syncing the music to your device.

# Conclusion

If you followed the steps above correctly, then you now should be able to listen to local files stored on your pc.
I hope this will answer your question. For any questions, just leave a comment below.

# Answer
> -1 votes
You can add the local files to your Spotify app then you can listen to Music which you have downloaded as offline tracks and your local tracks on one app.

---
Tags: music-player, spotify
---


title: Stream any audio to DLNA/UPNP speakers

text:
# Question
Title: Stream any audio to DLNA/UPNP speakers
Is there a generic ways how to stream *any* audio from my mobile or table to my WiFi DLNA/UPnP speakers? By any audio I mean any audio output from any application - YouTube, Audible, BeyondPod, any music player etc.

I figured out partial solution for BeyondPod, a podcast client, and BubbleUPnP, where BubbleUPnP streams to the speaker when it is set as "external" player for BeyondPod. It's a partial solution because it works only for applications with support for redirection to external player. YouTube or Audible has no option to use external player.

And it is not ideal solution either. For example playlists are tricky, both BubbleUPnP and BeyondPod have their own playlists and they don't play along well. BubbleUPnP is unfortunately not just just audio *forwarder*, it's full fledged media player and its own broad functionality in this scenario it gets in the way :(

Is there a proper audio forwarding (re-streaming, re-directing) solution, an app or a driver, which would take any audio output and forward it to my external speakers? My speakers support UPnP/DLNA, Airplay and Bluetooth.

# Answer
> 2 votes
The only app I know that streams the entire audio output of your phone is AirAudio. It is capable of streaming to UPnP/DLNA speakers but does also support AirPlay.

It does require root privileges, though.

---
Tags: audio, speaker, dlna
---


# Question
Title: Can applications predinstalled in system/priv-app be updated via Play Store?
we're trying to make our custom launcher default one in our phone. Since it needs system level permissions (placing widgets) we placed it in system/priv-app, and it finally works ok. Problem is that it is not updateing with new version from Play Store. - we're getting error 505 after downloading update, on start of install process

thank you in advance! br Y

# Answer
If the "pre-installed app" uses the same signature as the one on Google Play, it of course can be updated that way – same as e.g. Google Maps and other pre-installed stuff is.

Note that, however, those updates would not be integrated in the ROM, but go into user-space – "overlaying" the pre-installed version. This gives users the advantage of being able to "uninstall updates", but at the cost of "double space" (the original APK remains in `/system` – not that they could use that space otherwise, though).
> 4 votes

# Answer
I found the Google Play is re-signing my package. This used to cause a signatures mismatch. The solution is to install to /system/priv-app/ an apk downloaded from GP (that has been already re-signed).
> 1 votes

---
Tags: google-play-store, custom-roms, 7.0-nougat, launcher, application-autoupdate
---


# Question
Title: How to enable preview in notifications on an Oppo phone
I recently started using an Oppo A77 phone and have no experience with ColorOs. All I am trying to do is to be able to display a preview (sender/subject/body/something) show up on my notification window where Gmails notifications come up. There is no option to select preview messages in the notifications settings. This is my notification setting for gmail:

and this is how my gmail notifications come up:

How do I get a preview of my gmail notifications on an oppo A77 ?

This is the exact question asked on other sites and no one seems to know the answer :

# Answer
Screenshot (click to enlarge)

I think I found the answer. I was also looking for the answer because I also wanted to expand my notifications and I tried it and it works.
> -1 votes

# Answer
Deactivate applock for wtsap etc.. And you will get the preview... Confirmed ..

Goto "settings" "app encryption" and "unlock" the apps you want to preview.
> -1 votes

---
Tags: notifications, oppo-coloros
---


# Question
Title: Fixing "Unfortunately, DMG has stopped working" on Lenovo tablets
My Lenovo IdeaTab S6000H tablet running on Android 4.2.2 Jelly Bean had worked fine before yesterday when suddenly it turned off, and after a restart, it has shown this message periodically:

> Unfortunately, DMG has stopped working

I also did a factory reset, but after turning it on, the same error message has been showing again.

How to fix this error?

# Answer
You should check the mounting state of sdcard, maybe it’s broken. Suggest to call the customer service phone for examining further.
> -1 votes

# Answer
Its an malware app. Go to settings \>apps\>all apps\>DMG\>force stop\>disable or uninstall
> -3 votes

---
Tags: tablet, system-error, lenovo
---


# Question
Title: How to disable Peek / Heads Up notifications globally in Android Oreo?
There are multiple ways to disable Peek/Heads Up notifications in previous versions of Android (e.g. these or these), but it seems that the changes introduced by Oreo (Android 8.X) prevents them all. Is it possible to disable Heads Up notifications globally, for all apps, in Oreo?

I mean without disabling all normal notifications, or other features, but just this one. Ideally with no root required, but root solutions are also ok.

# Answer
It's possible to disable the heads-up notifications with `adb`, without root, using one of the two options below. Sadly, on some of the most recent LG or Samsung phones, this setting is saved only in RAM, hence it only works until the next reboot.

# Preliminary steps (required for both options)

On your phone:

* Disable "Disable alerts during game" feature (see this issue for details)
* Under Android Settings/Developer Options, enable **USB Debugging**;
* Under Android Settings/Developer Options/Select USB Configuration, enable **PTP (Picture Transfer Protocol)**;
* Plug your phone to your computer.

On your computer:

1. Install Android Debug Bridge (adb);
2. Install the Universal ADB Drivers;
3. Run `adb devices`;
4. Verify your phone is listed under `List of devices attached`

On your phone:

* press OK on **Allow USB Debugging?**

# Option 1

On your computer:

* Run `./adb shell settings put global heads_up_notifications_enabled 0`

# Option 2

On your phone:

1. Install SystemUI Tuner
2. Follow the instructions and run the required adb commands
3. Edit *Quick Settings*:

4. Add the *Heads-up Notifications Toggle* to quick settings:

5. Tap on the toggle to disable the heads-up notifications:

As mentioned above, both options work only until the next reboot on some phones which save this settings in RAM, so option 2 is more convenient because it allows to easily re-disable the heads-up notifications after reboot using the quick settings toggle.

# Android 9 and above

It is possible to disable them from:

* Settings \> Custom restrictions \> Don't pop notifications on screen (source)

If that still doesn't work try disabling and enabling:

* Apps & notifications \> Special app access \> Adaptive Notifications (source)

# Samsung Galaxy S21

Unfortunately none of the options mentioned above work for this phone: if you know a way to disable them without root please add a comment to this answer or an answer to the original question.
> 12 votes

# Answer
A root option is available, using the "Nougat / Oreo Quick Settings" app. The app itself doesn't require root, but the Heads Up quick-setting does. It basically enables multiple new quick-setting tiles in the Quick Settings Menu. One of them is "Heads-Up" (in category `System (secure)`), which allows to enable or disable Heads Up notifications. It is pretty easy to use:

* Open the app, search for "Heads-Up", tap on it and enable it.
* Edit the Quick Settings Menu, search for the new tile "Heads-Up", and drag it to the top panel.
* The tile will currently show it's enabled (in white or, in my case, blue). If you cannot disable it, you should make sure the app is granted root permissions.
* I needed to enable the Setting `Run in aggressive mode` in the app settings in order for it to work. It seems it depends on the phone to need that setting or otherwise.

Once it is disabled, Heads Up notifications will be globally disabled. And you can at any time enable them at will using that Quick Setting. This was tested in a rooted Oneplus 5T (OOS 5.0.4, on Android 8.0.0).
> 0 votes

---
Tags: notifications, 8.0-oreo
---


# Question
Title: How to fetch tracked data from *mi Fit* Android app?
I have a fitness tracker band from *mi (Xaomi)*. It has an Android app associated with it on my phone called *mi Fit*. Now, I want to know how to fetch all or some of the tracked data i.e sleep quality, steps taken, calories burned, distance covered etc. into a file that could be read by Windows or Android programs to create a graph out of it. If not, then is there any way to just combine and fetch the data?

# Answer
If it is acceptable for you to use a separate app to collect this data, take a look at GadgetBridge (available on F-Droid). That's an open source app supporting many gadgets, a.o. Pebbles and Mi-Bands. It allows you to export the collected data (see e.g. here). Since v0.24 you can even set it up to do so automatically/periodically.
> 1 votes

---
Tags: applications, xiaomi, app-data
---


title: What does Odin's T-Flash option do?

text:
# Question
Title: What does Odin's T-Flash option do?
When I go to flash with Odin, I see an option for "T Flash". What does it do?

Other options include,

* Auto Reboot
* Re-Partition
* F. Reset Time
* Device Info
* Nand Erase All
* Flash Lock
* **T Flash** (this option)
* Phone EFS Clear
* Phone Bootloader Update

# Answer
> 3 votes
According to this guide it writes the bootloader of a working device onto the SD card. This guide is a bit more detailed and describes it as follows:

> T Flash option in odin is for Samsung boot recovery via sd card. This option is checked when we are going to make Samsung boot able sd card to fix or unbrick Samsung dead boot devices. In this case we must have Samsung original boot recovery.tar file for the exact model witch we are going to unbrick. We must have same and full working phone in hands. This option is used in new Samsung Qualcomm based models that allow boot from external memories. I will explain how to recover Samsung dead boot phones with sd card but in other post i will try to leave a link in this post. So T Flash option is to make a boot able sd card from full working phone to unbrick other Samsung phone.

How that's useful is described in a short guide here (in German). In short: Say you have a device where the bootloader is broken. But you have another device – exact the same model – with the bootloader intact. So you:

1. put an SD card into the intact device and use Odin's T-Flash option to write (copy) the bootloader to the SD card
2. put the very same SD card into the broken device, which now can boot from the card

(booting from the card must be supported and sometimes requires specific additional hardware, a so-called USB-JIG-plug).

---
Tags: odin, terminology
---


# Question
Title: How to use Glase on a rooted Android device?
How can I use the Tap and Pay payment app *Glase* (formerly *SEQR*) on a device which has been rooted using Magisk?

# Answer
> 0 votes
* Step 0. Clean/uninstall everything Glase/SEQR, in other words - start over.
* Step 1. Install Glase from Play Store but don't open it!
* Step 2. Open Magisk Manager, hit "Tap to start SafetyNet check". Allow download of non-OSS if asked for. If Magisk notifies you that it has been repackaged and the check cannot be performed, you'll have to use a third-party app to check for SafetyNet Status.
* Step 3. Ensure both basicIntegrity and ctsProfile are true. If not, ensure Magisk Hide is enabled by toggling its setting inside Magisk Manager settings, under Magisk. On Huawei devices on stock ROM you have to flash a specific "patch" zip file via TWRP recovery. If even after enabling Magisk Hide ctsProfile and/or basicIntegrity are false, please reboot your device, and - if it still doesn't work - reinstall stock firmware/ROM and start over. Please note that on some custom ROMs you'll have to use the "Props" Magisk Module to enable Magisk Hide.
* Step 4. Go into Magisk Hide from the Magisk Manager menu and select/mark your Glase or SEQR app as enabled. You should see an orange ticked (✓) tick box next to it.
* Step 5. Now go into Magisk Manager settings and select the "Hide Magisk Manager" entry from "General" menu. If you don't see it, and instead have "Restore Magisk Manager", it means you have done this already and you can go to the next step.
* Step 6. Now open your Glase/SEQR app and follow the on-screen instructions to set it up. Note: the "Tap and Pay Activation" procedure is sometimes buggy, regardless if you're rooted or not. Please allow up to 2 minutes for Glase to send you an "Activated" notification. If you don't get one, please delete app data of Glase, re-sign in with your account and attempt "Tap and Pay Activation" again

---
Tags: root-access, nfc, hidden, magisk, root-cloak
---


# Question
Title: How to make mobile device powerful as PC/server?
Can we somehow connect mobile device with our pc and use pc's ram, cpu etc. on connected mobile device or is there maybe a powerful external ram and processors for mobile devices?

# Answer
> 1 votes
Let us understand what RAM which is more commonly called Primary Memory in academics actually is. While you are computing in your processor those fast additions and substractions you need to store your inputs and outputs some where for that purpose processors have very small memory bank called registers which are along with processors and are quite fast but your inputs usually come from your storage i.e., a flash drive or a hard disk or something. First thing you need to know about these hard or even flash drives is they are very slow compared to your RAM which is nano seconds while your storage deals in microseconds.

Now bringing your memory in to RAM and computing in ram is helpful because all the memory operations now take nanoseconds. Now let us assume a remote RAM which is connected over WiFi may be. If you have 100Mbps connection to your RAM it takes 10 nano seconds for a single bit to get to your network port. Now you have to transfer it to your cache without loading it into any of the higher memory such as drives including ram, how do you plan to do that? I leave it here for you to brainstorm on these questions. A good exercise will be to look all the memory speed, device a design for your Remote RAM and calculate the latancies you might get and is it feasible to have those latancies at low level such as do a bit operation.

EDIT : Note the memory heirarchy include L1, L2 and L3 caches and Primary Memory. Things get interesting once you know about TLB's and stuff keeps digging.

---
Tags: ram, processor
---


title: Reject calls with WhatsApp message

text:
# Question
Title: Reject calls with WhatsApp message
Is there any app or any way to reject a call with a message sent via WhatsApp? Normally when we get a call there is an option to reject it with a pre-written SMS, but I was wondering if you can use WhatsApp to send these template messages.

# Answer
Looking at `WhatsApp` FAQ, it looks like this feature is currently NOT Supported by `WhatsApp`.

In Summary, When someone calls you, you will see an incoming `WhatsApp` call screen. And you can tap on the message icon on the call screen to decline the call with a quick message.

**But for Above steps to work, the Incoming call HAS TO BE WhatsApp Call and NOT the regular cellular call.**

Hence, currently user needs to use native/in-built app Like SMS/Hangout to Reject call with message.
> 1 votes

# Answer
There is a app for android to cater your need.

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

What it does?

1. Install the app and enable accessibility for BRB.
2. Enable service.
3. Once you reject a call, the app helps you to compose a personalised WhatsApp message on your contacts chat window. You just have to tap send.
4. Apart from this, it reminds you to
> 1 votes

# Answer
If your phone is rooted, you can use Tasker to do this. Set up a profile that runs on missed call and triggers a task that runs the shell commands listed here: (http://tasker.wikidot.com/whatsapp-send-message). Just ignore the AutoVoice commands used to get input and hard-code the message you want sent.
> 0 votes

# Answer
I made this app with the exact requirement as yours, I hoope you like it

Reject Calls With WhatsApp Message
> 0 votes

---
Tags: whatsapp-messenger, call-screening
---


# Question
Title: How can I block ringing of incoming calls of unknown numbers?
I would like to make sure that phone calls from unknown numbers never cause my phone to make any noise. I'm OK with it showing in my call log, but I don't want to be disturbed by someone who isn't in my phone book. How can I do this?

# Answer
> 1 votes
# Samsung phones

Samsung's website has this article: How do I block unknown or hidden numbers from calling me?

Here's how you enable this feature:

1. Open your phone app.
2. Tap the three dots icon, or the "more" icon.
3. Tap "Settings"
4. Tap "Call rejection" or "call blocking" (you can skip this step on some phones)
5. Tap "Block numbers" or "Auto reject list" or "Block list"
6. Enable "Block unknown callers" or "Block anonymous calls" or "Unknown"

I'm not sure what exactly happens when someone who is blocked calls you. Does their call still show up in the call log? Can they tell that they have been blocked, or does it look like I just didn't pick up? I'll edit this answer once I've tested it out.

---
Tags: call-screening, do-not-disturb
---


title: Changing volume capacity

text:
# Question
Title: Changing volume capacity
I have an Android tablet in my car, and the volume it's volume is in the range on 0-30.
It is very low since the last tablet (not an android tablet) had a range of 0-60.

How can I raise the maximum volume to 60? Will I have to root the device?

# Answer
> 0 votes
Maybe you can with root, but if understood correctly I think you're wrong in the basic of your question: A device has a maximum volume (which can or cannot be achieved regularly\[1\]) and the possible range is being split into a numbers range that will allow you to choose.

In your case, if you'll root and be able to change the range, it will do one of the following:

1. Set every 1 current unit to two new units (like jumping in 0.5 each time).
2. Split the volume control in another way so that it's not distributed evenly.

\[1\] Maybe it will be possible with root to increase the maximum volume by reducing the sound quality - but that's not what your question asks.

---
Tags: 6.0-marshmallow, volume
---


# Question
Title: How to import Wikivoyage tourism information to OsmAnd
Wikivoyage is a collaborative travel guide covering 25,000 destinations.
It details hotels/restaurants/bars/attractions with opening hours etc.

OsmAnd is an open source navigation Android app.

How to make OsmAnd display all of the data from Wikivoyage?
So that when scrolling the map, one can see the hotels/etc with their details, even when offline.

# Answer
> 1 votes
**(Update: The data is now available as `.gpx` at https://github.com/baturin/wikivoyage-listings)**

1) Download the latest `.obf` file at https://sourceforge.net/projects/wikivoyage/files/Listings-as-OBF/

2) Using any file management app, move the `.obf` file to the root of your OsmAnd folder, probably `/sdcard/osmand/`.

3) Start OsmAnd, and enable the "POI \> Any" layer (accessible in MENU \> Layers).

4) Hotels/etc should appear, visible in orange circle. Sometimes it does not work immediately, in such cases just restart your phone.

# Answer
> 1 votes
In OsmAnd 3.0 the wikivoyage database is accessible for downloads same as wikipedia. Each article consists of 2 parts: html article itself and GPX information to be displayed on the map

---
Tags: offline, maps, navigation, offline-map, osmand
---


title: Battery of Nexus 7 started draining

text:
# Question
Title: Battery of Nexus 7 started draining
I've had my Nexus 7 2013 for a few months. A few weeks ago, for some reason the battery started draining - it was empty after one day or so.

I the reinstalled whole tablet, and after that everything went back to normal, but after maybe 10 days I again faced the same problem with the battery. How can I find what causing this problem, and how to solve it?

# Answer
> 0 votes
Try seeing if a particular wakelock is preventing your phone from going into deep sleep, which can cause battery drain.

**If you have rooted your device/can root your device:** You can use Wakelock Detector Free to diagnose wakelock problems. You can download it from the play store. Also make sure you have enabled system processes to be shown.

Once you are on the main screen, make sure CPU wakelock is selected (there is a chip on the top right part). If the bar on the top is mostly green, you don't have wakelock problems. If it is mostly red, you probably do. If so, select the first item on the list below. The first wakelock on that item is the culprit.

Now that you have identified the wakelock and the process responsible for the drain, google them to find out how to solve your issue.

**If you have not rooted your device/can't root your device:** Try posting some screenshots of your battery statistics. Furthermore, use those battery statistics to help *yourself* identify the problem. Google "X app uses a lot of battery", where X is the app on the top of the list in battery statistics.

---
Tags: nexus-7, battery, battery-life
---


# Question
Title: How can i make my google maps app close?
I used google maps earlier today and now it won't close. I exited the navigation, even restarted my phone, and it's still showing as running in the background. How do I make it close? I have an LG V10.

# Answer
> 1 votes
I spent a long time trying to figure this out and then I accidentally solved it. When you hit the square button to see all the apps running you will see a "pin" next to the "x" which is what you would normally click on to close a running up. If that pin is highlighted the app keeps running. Just tap it to deselect it and then you can close the app normally.

I read a lot of crazy solutions that required rooting and other stuff. It turns out that things work they should I just wasn't aware of the pin button and what it did. I hope you find this useful

# Answer
> 0 votes
I went into setting, did a force stop and then at the top of the page there was a slider I turned to "off" and it fixed the problem.

# Answer
> 0 votes
On my android phone, I tap the home button and it takes me to the navigation app home page. Then I tap the back arrow and it gives me an dialog asking if I want to exit the app.

# Answer
> 0 votes
on my phone i swiped up from the bottom, which allowed me to see my home button(circle) which i could tap , then went to running apps(the square button on bottom row) and could then swipe sideways to close google maps

---
Tags: google-maps
---


# Question
Title: Xiaomi Mi A1 How to change the screen lock code NOT the sim lock code
The title says it all.

It seems there is no way to change the screen lock code for this phone.

I am not looking to change the sim lock.

# Answer
I am not on stock ROM on that device but as I recall Settings → Security ( and location?) → Device Security → Screen Lock.

You need to enter your PIN to change screen lock
> 1 votes

---
Tags: lock-screens, xiaomi, mi-a1
---


# Question
Title: Location of files: Main Storage versus SD card
I'm trying to figure out what is stored where on my Android phone (an unrooted Samsung Galaxy S8 with an SD card).

I can examine the phone's contents either via any of the several file manager apps I've installed, or by mounting the entire phone as a network drive on my Windows 10 machine.

My File Manager App shows me the contents of "Main Storage" and the contents of "SD Card".

The contents of "Main Storage" show up on the network drive in a directory called /sdcard. The contents of "SD Card" show up on the network drive in a directory called /storage/0000-0000 .

This is very odd, since the directory called "/sdcard" on the network drive is the *opposite* of the directory called "SD Card" in the File Manager app.

The File Manager app shows 57 gigs total in "Main Storage" and 256 gigs in "SD Card". This suggests to me that the former is the phone's built-in memory and the latter is the actual SD card. But I'm thrown for a loop by the fact that the former is called "/sdcard" and the latter is called "storage/0000-0000", which seems backward.

I could, of course, pull the SD card out of the phone and examine its contents directly on another device, but I'm squeamish about handling the card. And no matter what I learned, I'd still be curious about the odd naming conventions.

So:

**Question 1:** What's going on? What's in which directory?

**Question 2:** If I want to back up all of the data (but not the system files or software) on my phone, does it suffice to make copies of /sdcard and /storage/0000-0000, or are there other places data might be stored?

**Additional Info:** The App X-plore confirms the odd naming, in that it shows me two directories, one named both "Phone Memory" and /sdcard (it shows the former in bold and the latter in roman, both labeling the same directory) and another named both "SD card" and /storage/0000-0000.

# Answer
### What's in which directory?

`/sdcard` is the so-called "internal SD card" (, on "internal storage" and not physically removable without breaking the device, hence also referenced as "Main Storage" in your case), while `/storage/<card_id>` is the physically removable .

### are there other places data might be stored?

There are. Without root, you e.g. won't have access to where your apps store their data (`/data/data/*`). To perform a real full backup, you'd need a custom recovery like to perform a . The closest you can come to that is backup – but even an "adb full backup" is incomplete (especially as apps can "opt-out" of that, so they won't be backed up by `adb backup`).
> 2 votes

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


# Question
Title: Can I install Android app without all required app permissions?
For many apps on Google play such as Facebook I would like to install them, but I would not provide all the access they require while installing. For instance, I would not like to provide the access to Contacts. Is this possible?

I am targeting the Android versions 6 and later.

I know how to revoke the permissions later time, but installation time, Facebook prompts me with the big accept list, that at that time I cannot disable.

The `needs access to` dialog pops just after I press the install button.

# Answer
> 2 votes
If an app targets Android 6 or higher, most of the permissions listed in your screenshot will have to be approved (or denied) by the user at runtime – i.e. when you're using the app. There are several permissions not falling into this category, as Google defined them as "normal" (and only "dangerous" permissions are considered worthwhile to be presented to the user). So you e.g. will never be asked for Internet access (if you denied, Google couldn't show ads).

---

OTOH one of course could argue: if you're concerned about your privacy, Facebook is the wrong place to go in general :) And of course again, if you don't trust an app, watch out for alternatives. Best at F-Droid where you can trust every app.

# Answer
> 0 votes
no that is not possible at that time because they are preset conditions in the android manifest which need to be fulfilled before downloading the app on your device

---
Tags: permissions
---


# Question
Title: Is it possible to adjust aspect ratio on an Android device?
I have an Android device that has a 4:3 aspect ratio.

When I watch videos in full screen mode, sometimes the aspect ratio causes the video to be distorted.

Is there a way to temporarily adjust the aspect ratio?

I can see a couple different solutions:

1. Adjust the actual aspect ratio.
2. Add a black bar on the top / bottom of the display that effectively changes the aspect ratio.

# Answer
VLC is the best if they support the aspect ratio you need.

MX Player has a custom aspect ratio setting; and pan, but needs a codec pack to play a couple of audio formats due to licensing issues.
> 0 votes

# Answer
Yes, if the video dimension is equal to your screen, usually the players have a small option in the bottom right/left that looks like a crop symbol. If you click few times on that, the aspect ratio should adjust to your device.

While if the video doesn't match your device screen, there's no way out and you have to crop the video to watch it in full-screen mode. If you are on Android and you know your screen dimension for this cropping task, you can use Crop & Trim Video editor editor that is free and (overall for my standards) watermark-free.
> 0 votes

---
Tags: screen, customization, streaming, video-streaming
---


# Question
Title: How do I install Xposed Framework on Android x86 running in Virtual Box?
I downloaded Android Marshmallow from the Android x86 project and installed it on Virtual Box. I am now running Marshmallow on Virtual Box on my Mac computer.

I looked up instructions on how to install Xposed Framework on Android, only to later realize that it is mostly intended to be used on devices with ARM processors, like smartphones. I have heard, however, that some people have been able to get it working on android emulators running on computers. I am wondering how I might be able to do this on virtual box with the Marshmallow version of Android x86.

I tried to use the instructions listed here: How can I install flashable zips in Android-x86

The answerer gives "fool-proof" steps, which I was able to follow. After I complete Step 14, however, the Terminal Emulator app gives me this error: "Extracted file system/xposed.prop not found!"

Does anyone have any advice for what I can do to fix this? Or should I be going down a completely different path than what I am now trying? I know that on phones, the normal process of installing Xposed involves a custom recovery and whatnot, but I am not sure that is possible on an emulator.

Any help would be much appreciated!

# Answer
> 1 votes
I see you made a mistake,you should do `cd` then the derectory of the extracted file then `sh flash-script.sh` such as `su` enter `cd /sdcard/download/` file name `/META-INF/com/google/android`/ enter" `sh flash-script.sh`

# Answer
> 0 votes
I've figured it out, first install a 32 bit version of Android x86, then go HERE and download the needed files, then modify `installer.bin` to where it says please download the correct zip put a `#` at the beginning of the 3 `echo` and `exit` so it looks like this:

```
 #echo -e "The processor architecture and Xposed version are different."
 #echo -e "Please download the correct zip."
 #echo "sleep 2"
 #exit 0

```

Follow the rest of the instructions and you have xposed. Sorry my last post was incorrect.

I also recommend installing supersu due to a bug in android x86 root, install supersu 2.79 install binary reboot then you can update.

---
Tags: xposed-framework, android-x86, virtualbox
---


# Question
Title: 4 viruses on my phone?? Is this message legit?
I received a message on my phone that says, "Your browser is heavily damaged by (4) virus!" Right above that message it says Google & at the very top is www.cirplana.top. Is this legit? It says that if I do not remove virus now it will cause serious damage to my Samsung SM-S90L. It says this is from recent adult sites. That is not true. Not once have I ever visited an adult site. Do I click to repair? Thank you for your help.

# Answer
It is phishing site, I've just had the same on my Samsung S7, All I did was cleared my chrome browser history and closed all opened pages! Doubled check with a free Avast antivirus run a scan and nothing on my phone at all!
> 5 votes

# Answer
It's just a phishing website and it is **totally normal** if you are seeing this.These kind of websites generally pops up when you are trying to download something (songs,apks etc) and you can't actually do a lot to get rid of these websites but if your device is rooted you can use apps like adaway to block these websites
> 1 votes

# Answer
The Four Viruses is just a scam… Do NOT click OK and/or Repair Now.

Instead, press your Home button and then navigate to:

Apps —\> Settings —\> Applications —\> Application Manager and then scroll down to your browser that has the offending pop-up message… most likely Chrome.

Next, follow these steps (in order):

Click Chrome, Click Force Stop, Click Storage, Click Manage Storage, Click Clear All Data

Finally, Restart your phone.

When you re-launch the Chrome browser, you will need to either login to your Google account, or click No Thanks to continue.
> 1 votes

# Answer
Just say for fun.

> # Your phone is heavily damaged by 100 viruses.

I'm saying it here. Do you believe it? Definitely no!

For the same reason, there's no point in believing that page. It's just a webpage, with tricky phishing information on it. All you need to do is close that page and (recommended-ly) clear your browser's history and cache.

In case you're still worried, you can optionally get an antivirus software with good reputation and review, though this is hardly ever useful. It's just an assurance to your mind that your phone isn't really infected.
> 0 votes

# Answer
This just happened to me so I did some research on it being really scared. I found out it is fake and a scam. If you look you will see that it does not say the site is secure as "Google" pages will, it is not a "Google" Google message.

**DO NOT DOWNLOAD THE WHAT IT TELLS YOU TO.** (Viruses could occur.) If you are still worried try clearing all history, restarting your device, and do some farther research. Just take a deep breath, your device is fine.
> 0 votes

---
Tags: security, antivirus
---


# Question
Title: Access Android SD from Windows 7 via card reader
I want to backup my sd-card, before using it in my new phone. So I used a card reader to connect it to my Windows 7 notebook. Sadly the partition is not mounted to a drive letter, altough I can see it to be free of errors in the disk management.

I suspect android uses an unsupported file system. But which and how can I read it from Windows?

EDIT: My phone is a Moto G3. The device is not rooted. The SD was formatted and mounted by the default Android-dialog for new SDs. I did no customization. I'm using a part of the SD card as internal storage.

Thanks for your support, nils-o-mat

# Answer
> 1 votes
The fact of using your SD card as internal storage explains your problem: partitions for adoptable storage are encrypted, so on your computer you can only see the partition but not actually read its contents, as you lack the encryption key (for details, see: How to decrypt Adopted Storage?).

As you wrote you did no customization I'm wondering why there are 2 partitions on the card – and according to the screenshot, none of them reveals the file system used. By that fact (not showing the file system) I'd assume the second partition is encrypted as well.

As for the file system: Android normally uses some FAT style file system on SD cards. But if adopted, it's rather a Unix file system, most likely ExtFS (ext3 or ext4). Again something Windows cannot deal with unless you install specific software. If you want to know, use a terminal app or `adb shell`, and run the command `mount`. Watch out for the entries of your SD card there, then look at the file system column.

---
Tags: backup, sd-card, file-system, windows
---


# Question
Title: How can schedule an event that doesn't start on 00, 15, 30, or 45 on Microsoft Outlook for Android?
How can schedule an event that doesn't start on 00, 15, 30, or 45 on Microsoft Outlook for Android?

For example, I would like to schedule an event that starts at 14:08, but when I drag and drop the event, the start is always on 00, 15, 30, or 45:

# Answer
> 1 votes
On your screenshot, the top row of "choose time" go to the far right. You will see up and down arrows with 00:00 in between. Select that and you then will be able to enter a specific time.

---
Tags: outlook
---


# Question
Title: TWRP and LineageOS display flipped (180 degree rotation)
I installed the latest version of TWRP and LineageOS on my BQ Aquaris U Plus and followed all instructions. Somehow, both TWRP (twrp-3.2.1-0-tenshi) and LineageOS (lineage-14.1-20180127-nightly-tenshi-signed) are flipped upside down.

As far as my search has led me, I have to edit the `/system/build.prop` and add the line

```
ro.sf.hwrotation=0

```

However, I am not able to push the file back to my phone. Nor am I able to edit the file on the device itself.

I am using the following code (Linux Mint):

```
sudo adb kill-server
sudo adb start-server
sudo adb root
sudo adb devices
sudo adb remount
sudo nano build.prop
sudo adb push build.prop /system

```

After that, adb does not seem to respond (empty line).

Am I missing something? Is there any possibility to fix this issue?

# Answer
> 1 votes
I know, this was asked a long time ago... but, for future reference:

The problem seems to be the phone's firmware. The original stock ROM is still based on Android M ("Marshmallow"), but the current versions of LineageOS are based on Android N ("Nougat"). Apparently this is a problem, because between Android M and N, some things in the phone's firmware changed, causing the screen to be upside down. Flashing a new LineageOS, however, does not update the phone's firmware.

Update: As @loki mentioned in a comment, using the BQ Firmware Flash Tool is a convenient way to revert to the stock ROM and to update to the newest version. Afterwards, LineageOS can be installed as usual. I first assumed it would only be for Windows, but there is also a version for Ubuntu in the zip file.

My solution was:

1. Flash back the stock ROM with fastboot. Note: It doesn't work with TWRP; the zip file needs to be extracted. It contains a script which flashes all parts of the phone's software.
2. Use the stock ROM's updater to update to the newest version. This usually takes 2 update steps (probably because of the switch to Android N).
3. Start over with flashing TWRP. At this point, the screen orientation should be correct in TWRP.
4. Flash LineageOS with TWRP.

One final note: My phone needed a full data wipe in order to get rid of the disk encryption. The phone can be encrypted afterwards from within LineageOS, however, the original encryption from the stock ROM could not be decrypted correctly.

---
Tags: adb, screen, twrp, lineageos
---


# Question
Title: android 8.1 plays random music sporadically and stops after 10 seconds or so
I have an android phone that runs `8.1` and sporadically it will run some random music that I don't know of. It then stops on its own after a few seconds. My browser is turned off, and the phone is on vibrate. Checking the running processes in developer mode does not reveal anything suspicious. I also did not install any shady apps. What can I do to pinpoint the problem?

# Answer
If you have installed apps such as **UC Browser** and similar apps runs on background and plays audio on background. Just check your running apps and kill 3rd party app one by one to know which app is causing this issue. Another way is go to play store -\> My apps -\> Library and uninstall recently installed app to solve this issue.
> 0 votes

---
Tags: audio, music, silent-mode
---


title: Hide Alarm icon in the status bar

text:
# Question
Title: Hide Alarm icon in the status bar
I have at least one alarm set to go off daily so the "alarm clock" icon on my notification bar is really pointless.

Is there a way to make this icon hidden in Android Froyo or Android Gingerbread?

# Answer
> 5 votes
No, for the same reasons detailed in this answer.

Can I hide a program from ongoing activities in the notification bar?

# Answer
> 11 votes
On Android Marshmallow, you can use the hidden System UI Tuner.

Open the quick-setting panel, then press and hold the Settings' cog wheel until it starts spinning. You then get an additional settings entry in **System** \> **System UI Tuner** \> **Status bar**, where you can hide the alarm.

# Answer
> 3 votes
Easiest way *if rooted*: You can use GravityBox, to hide the Alarm-Clock-Symbol.

1. Open the app.
2. Go to "Adapt Status Bar" (I don't know the exact English translation)
3. Choose "Adapt Clock"
4. Tick the box next to "Hide Alarm Symbol"

# Answer
> 1 votes
There is if you use the alarm app, Gentle Alarm. Besides the plethora of amazing features that app has, you can also turn off the notification bar icon and the app still runs in the background just fine. I've been running it that way for a long time.

On a semi-related note, my favorite feature of Gentle Alarm is the ability to keep alarms scheduled, but skip as many of them in order as you want. That way if you are on vacation for one day you can turn off scheduled alarm(s) for just that day and not be annoyingly woken up. I was on vacation for a week and was able to turn them all off and the following week I didn't have to remember to turn my alarms back on, already taken care of.

# Answer
> 0 votes
In Gentle Alarm, you must go to the Settings and turn on Advanced Features. Then Other Preferences \> Notifications, and then you are presented with many options for the type of notification or turning it off.

# Answer
> 0 votes
You can download Wanam Xposed from Xposed repository here.

When you open the app you'll be instructed to install the framework (I've done it personally and haven't had any problems).

Once this is done go back to the original app and there will be many customizable features available including one for hiding the alarm clock icon.

This is not my app. I just use it personally on a stock JB 4.3 (rooted) and find it great.

# Answer
> 0 votes
I achieve this with the app; Smart Alarm Free. It simply has a setting for it. Also it's a way better alarm app.

# Answer
> 0 votes
Yes there is, but you need an app for it.

I was surprised to read that this was something people wanted, and so I ended up writing such an app (disclaimer: I wrote the app, but it is free).

It is small and lightweight, and removes the icon, but will also flash the icon every time another app updates the alarm.

If this is something that you would find useful, you can get it for free on the Google Play store:

# Answer
> 0 votes
Just found this in Marshmallow for anyone coming across this question. Go to Settings \> Status Bar \> Status Bar Icons and from there you can uncheck the alarm icon.

# Answer
> 0 votes
Provided your Android is rooted and a compatible Xposed Framework1 is installed, you can use GravityBox xposed module to hide the alarm icon.

I tested with GravityBox \[N\] and in it, go to *Statusbar tweaks → Clock Settings* → tick *Hide Alarm icon*.

Note that I cannot assure whether earlier Android version specific versions of GravityBox offered this tweak.

(Click image to enlarge)

1 Xposed Framework *for stock Android \[based\] ROMs*: Android 4.x, Android 5.x, 6.x and 7.x

# Answer
> 0 votes
For Oreo, I used SystemUI Tuner. Need to enable the developer options temporarily and grant it necessary rights though a computer. It exposes the necessary system settings and has few other useful settings too.

Bit more detail: In earlier versions it was possible to invoke the "System UI Tuner" on android system by long pressing settings cog wheel after swiping down on the notification bar to expand it. Sadly it has been decided not to expose this to users on Oreo. So we need a 3rd party app (e.g. first link above). And give that app necessary permissions using developer mode. The two links give all the details and steps.

# Answer
> -1 votes
if you are running Jelly Bean (or newer), there is the option of disabling all notifications from an app. The setting is per-app and can be found in Settings \> Apps \> (select the app) \> uncheck the "Show notifications" box. The one caveat to this method is that the app will no longer show any notifications in the notification bar, but if that's acceptable to you than I've found this method to be an easy way to stop my notification drawer from filling up with unnecessary notifications.

# Answer
> -1 votes
Also, if you disable notifications entirely for an alarm clock, nothing will pop up when the alarm goes off. To turn off a ringing alarm, you will have to start your alarm clock app from the home screen, find the alarm schedule that is currently ringing, and turn off the scheduled alarm. You will have no option to snooze the alarm, or silence it but leave it on repeat. You'd have to turn it off and then on again.

---
Tags: notifications, 2.3-gingerbread, 2.2-froyo, notification-icons, alarm
---


title: How do I investigate the memory Usage?

text:
# Question
Title: How do I investigate the memory Usage?
I've a Micromax A74 with (rooted) Android 4.2.2. Recently I've faced the crashing of some application and started to analyze the usage of RAM.

Settings\>Apps\>Running is not helpful:

Sometimes I found only 2 MB free!

**I want to know which applications are consuming the memory?**

I've also tried `top -n 1 -m 8`:

But I can't figure out the top applications which cause for lowering the RAM.

On GNU/Linux I can run `top -n 1 -o %MEM` which displays the applications that consuming most of RAM but such feature isn't available with `/system/bin/top` or `busybox top`.

So, How do investigate which applications are consuming a lot of memory? so-that I can force-stop them.

Note: Don't suggest any app like ram booster, it is the different question.

# Answer
> -1 votes
It seems you wanna order by ram usage, I believe that is

```
top -n 1 -m 25 -s rss

```

But I get it from your question. Thanks.

---
Tags: ram, command-line
---


# Question
Title: I used Google Takeout, how do I remove this data?
Google Chrome Bookmarks, extensions and history. I don't use chrome anymore.

Google Play library, I cleared it in google play but the installs.json and library.json are still huge and contain uninstalled apps.

And lastly all Google Play reviews I did.

(This is not off-topic, since it is about google play and chrome)

# Answer
There's nothing much we can do except giving you a pointer: if you're an European citizen, GDPR article 17 gives you the right to demand erasure of your personal data. Quoting from paragraph 1:

> The data subject shall have the right to obtain from the controller the erasure of personal data concerning him or her without undue delay and the controller shall have the obligation to erase personal data without undue delay …

After that, a list of conditions follows. For your case, the very first one (a) should apply:

> the personal data are no longer necessary in relation to the purposes for which they were collected or otherwise processed;

Some of the others might as well.

**Summing up:** if you want those data erased, you should reach out to Google demanding erasure according to Article 17 GDPR. To my knowledge, "without undue delay" is interpreted "ASAP" with a cap of maximum 30 days.
> 0 votes

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


# Question
Title: Is it possible to view Google reminders on Android without the Google Calendar app?
I use the Google reminders a lot, and I find the integration with the Google Calendar app very useful. However, other than that, third-party calendar apps are generally better, in my view, than the Google one. Is there a way to view (and edit) reminders with third party calendar apps?

# Answer
> 0 votes
Unless you mean something completely other than event reminders: Of course it is possible. The Google Calendar app is nothing but a front-end: you can even delete its data, and your events (including reminders) will still be there.

On your Android device, events are managed by a "background service" and are stored with an app called "calendar storage", which is part of the Android OS. Every calendar app can (and most do) interface with that.

So just give it a try – you will find it works fine!

---
Tags: applications, calendar, reminders
---


# Question
Title: Local IP address of Android device connected via Ethernet
I have an Android Tablet with **Android 7.0** connected to my network via an OTG **RJ45 Ethernet** connector.

I know how to get local IP address when connected via WiFi, but not via Ethernet.

Any idea on how to do that (eventually with an app compatible with Nougat)?

Thanks

# Answer
> 2 votes
You can get the information you are looking for with the `ifconfig` command. On your android device install a terminal emulator app and open a local connection.

> The ifconfig is a system administration utility in Unix-like operating systems for network interface configuration.

* connect and setup your Ethernet connection.
* Open the terminal app.
* Enter the command `ifconfig` into the terminal.
* scroll down and look for eth0 or close to that.
* You should be able to find the ip address there.

---
Tags: 7.0-nougat, usb-on-the-go
---


title: Creating a customized wallpaper

text:
# Question
Title: Creating a customized wallpaper
I have a small doubt about posting my question here. But still posting so that if wrong I might get the right site.

This is a wallpaper I found on the ZEDGE (click to enlarge)

This is a wallpaper I found on the ZEDGE app and I liked it. Now I just want to create my own customized wallpaper like this(to be precise, just replacing the words or some logos in this wallpaper), such as I wanted to put my own words etc.

Can anyone help me by telling me how that can be done on Android (basically).

# Answer
> 0 votes
If you want to modify that wallpaper, then you will need to find a photo editor and change whatever you want on it. For simply changing words on a picture, any photo editor will do, even one as simplistic as Microsoft Paint, as well as more complex options, like Photoshop and GIMP.

Although there are photo-editing apps available for Android, this isn't really an Android-specific question, since this process can be done on any platform, and therefore does not belong on this SE site. However, you probably needed an answer, and I chose to provide you one.

I hope this advice helps you do whatever you needed to do!

---
Tags: customization, wallpaper
---


# Question
Title: DB of GPS Point in APK, is there any way?
I want to extract DB of GPS location in APK. I decompiled the APK and open DBM.Java File as follows:

```
   public DBM open() {
    return open(this.databasePath);
}

public DBM open(String path) {
    try {
        if (!path.endsWith(SQLITE_EXTENTION) && SamaUtils.absoluteFileExist(AppViewer.getContext(), path + SQLITE_EXTENTION)) {
            path = path + SQLITE_EXTENTION;
        }
        this.portalDB = SQLiteDatabase.openDatabase(path, null, 268435456);
        return this;
    } catch (Exception e) {
        e.printStackTrace();
        return null;
    }
}

```

How I can extract the DB of GPS Location in this APK?

# Answer
> 0 votes
The excerpt of decompiled code you've pasted isn't sufficient to know the exact path to the database, because it doesn't give the value of `this.databasePath`, but no matter. The file will be stored somewhere in the app's private data, so after you've rooted your phone, just look in `/data/data/packagename` where `packagename` is the package name of this app. There will be an SQLite database file in there somewhere. The constant `SQLITE_EXTENTION` in the code you've decompiled but not included will tell you the extension to look for: it's probably `.sqlite_db`.

Don't forget you'll need a rooted phone to access the file.

---
Tags: applications, adb
---


# Question
Title: Wrong music player when connecting to car after Android update
I have a Huawei P10 and I use BlackPlayer for playing music. When I start my car and my bluetooth is active my car (Volvo V40) automatically connects to my phone and starts playing music.

Yesterday I did an update of my phone, now my EMUI and Android versions are both 8.0.0, and since that update when my car and phone connect, my phone starts playing music with the standard build in music player. Before the update it used the (installed by me) BlackPlayer.

When I go to my settings and look at the standard selected app to play music it shows that BlackPlayer is still the default to use app. How can I make BlackPlayer start to play again when I connect to my car?

I have a Huawei P10 model VTR-L09 with EMUI and Android version 8.0.0

# Answer
> 0 votes
After some recent updates the problem is gone

---
Tags: updates, music-player, default-applications, bluetooth-audio
---


# Question
Title: How to enable Do Not Disturb for 1 SIM only in a Dual SIM phone?
I have a rooted OnePlus 2 running LineageOS 14 latest.

How can I enable the Do Not Disturb feature for just my personal SIM card, without also enabling it for my work SIM card? Specifically, I'd like to be able to have my personal SIM on Priority mode, if possible, which allows starred/favourited contacts to still ring.

I plan to upgrade to LineageOS 15 soon, but I can do this right away if it is a prerequisite.

# Answer
Method one Disbable the notification tone and the ringtone for the simcard that you do not want to use. Just go yo sounds and set it to none for sim 1 or two.

Method 2: This is a tricky one since there is no default method that i can find to do this, but if you have used tasker before and your phone is rooted then there should be a plugin or a method to do this.

Tasker on Playstore

Goodluck mate
> 0 votes

---
Tags: root-access, lineageos, dual-sim, oneplus-two, do-not-disturb
---