# Question
Title: Galaxy S7 Edge will not stay in software installation mode
I've been suffering through this for a couple weeks now, hoping that an update would fix it, but now I don't know who to turn to. So, I develop apps for android and iOS. Typically I just test on my own phone, which is a Galaxy S7 Edge. When I got it, I looked up how to access developer mode and did that. I then turned on USB debugging, however, when I hooked up my phone, my Android Studio could not find the device.

I looked at my options under the "Use USB for..." menu and picked 'Software installation'. My Android Studio found my device and I started using it to test apps. It worked great, so I didn't ask any questions, until a couple weeks ago, after a security update I started getting a weird error. Every time I was connected to my computer and I set my usb mode to Software installation, after about 30 seconds it would change to File Transfer mode on its own.

I cannot be in Software installation mode for more than a minute at any given time, and when I am in File Transfer mode, my Android Studio won't register my phone as a debugging device. I downloaded the most recent update today, but that didn't fix my issue. I Googled the issue, but I can't find anyone who seems to have had this problem. Has anyone had this problem? Does anyone have a clue how to fix it?

Tl;dr: My phone cannot stay in Software installation mode long enough for me to download an app from Android Studio to test. I'm using 6.0.1

# Answer
> 1 votes
Sorry, not an answer but rather some information, too much to put into comments. perhaps this could help someone determine what could be hapening.

Scenario **Windows 7**, **AS 2.1.2**, **Genymotion 2.8** (but initially using a 2.6 device API 22). Working fine for a few hours (*actually a bit of a lie as had tablet plugged in as well but need to start somewhere in the viscous circle*). Started **ADM** (Android Device Monitor) (better/easier feedback). Still OK (i.e just genymotion device visible).

**1)** Plugin in Lenovo A10-30 API 24 with **MTP** enabled but **NOT USB Debug**. All fine.

**2)** Switch to charging. No change in AS or ADM.

**3)** Turn on USB Debug. Immediately disconnects Genymotion Device and tries but fails to connect tablet (and less frequently, I think the Genymotion device). Log ADM extract :-

```
[2016-10-27 13:47:19 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:47:20 - DeviceMonitor] Connection attempts: 1
[2016-10-27 13:47:21 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:47:22 - DeviceMonitor] Connection attempts: 1
[2016-10-27 13:47:24 - DeviceMonitor] Connection attempts: 2
[2016-10-27 13:47:27 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:47:28 - DeviceMonitor] Connection attempts: 1
[2016-10-27 13:47:30 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:47:31 - DeviceMonitor] Connection attempts: 1
[2016-10-27 13:47:32 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:47:33 - DeviceMonitor] Connection attempts: 1
[2016-10-27 13:47:35 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:47:36 - DeviceMonitor] Connection attempts: 1
[2016-10-27 13:47:38 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:47:39 - DeviceMonitor] Connection attempts: 1
[2016-10-27 13:47:40 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:47:41 - DeviceMonitor] Connection attempts: 1
[2016-10-27 13:47:43 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:47:45 - DeviceMonitor] Connection attempts: 1
[2016-10-27 13:47:46 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:47:47 - DeviceMonitor] Connection attempts: 1
[2016-10-27 13:47:49 - DeviceMonitor] Connection attempts: 2

```

Adroid Monitor in AS shows the following message frequently (Genymotion devices shows Disconnected) :-

```
01-01 00:00:00.000 0-0/? E/Internal: An existing connection was forcibly closed by the remote host

```

**4)** After about **5 minutes** turn **USB Debug** off on Tablet.

Aprrox 3 minutes later, after :-

```
[2016-10-27 13:54:07 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2016-10-27 13:54:08 - DeviceMonitor] Connection attempts: 1

```

***Genymotion device is now re-connected.***

---

**6)** Turn **MTP** on (File Transfers on on Tablet), USB Debug still off.

Other than the windows dialog, nothing changes (AS and ADM show Genymotion device as connected).

**7)** Turn **USB Debug** on on the Tablet (from developer options)

Basically the same happens again. So I stop USB debug on Tablet and wait.

**8)** **Revoke USB debugging authorisation** on the Tablet and try **USB Debug** again. Allow it always.

Same Again. So stop USB Debug on Tablet and wait another 3 minutes or so for the Genymotion device to reconnect.

**9)** **Stop** the Genymotion device. So nothing is connected.

**10)** Turn **USB Debug** on on the Tablet. Tablet connects OK.

**11)** **Start** Genymotion device connects OK and tablet still connected.

**12)** Plug in an an **HTC Sensation XL (Android 4.0.3)** same again but disconnects both the Tablet and the Genymotion device. Disconnect the HTC phone and wait the obligatory 3 minutes or so. Both reconnect.

**13)** Stop the Genymotion device (tablet still connected) and try connecting the HTC phone. HTC phone connects and the Tablet remains connected.

**14)** Start the Genymotion device, it connects and the other 2 (Tablet and Phone) remain connected.

> A thought, is it due to the Genymotion virtual device? Perhaps a virtual device must be the last to be connected. Perhaps you may be using an AVD if so perhaps try disabling that and see what happens (I can't use AVD I think due to having an AMD chip).

**Updated 23/11/2016** In brief I don't think that Genymotion is the issue but perhaps Android Studio.

Today I purchased another Tablet, an Onix 10.1 Quad Core. Pretty similar spec to the Lenovo. The main difference being a smaller screen (1024x600).

However, I have been experiencing similar issues connecting to it. That is the dreaded *"An existing connection was forcibly closed by the remote host"*.

It appears to be even harder to get connected than the Genymotion devices.

My last successful attempt was made after numerous failed attempts and was when I closed and then restarted Android Studio. Hence why I now suspect that AS is perhaps the cause. If I look into this further I may update this with my findings.

# Answer
> 1 votes
I had this error on my Verizon S7. The fix was to go to applications, and force stop KNOX. This allowed me to use adb from regular file transfer.

# Answer
> 0 votes
When you say you're setting the mode under "Use USB For", do you mean the one that should show up as a notification, or the one in Developer Options?

If you mean the notification, check the one in Developer Options, in stock Android, there's an option in the Networking subsection labeled "Select USB Configuration"

---
Tags: 6.0-marshmallow, samsung-galaxy-s-7-edge
---


# Question
Title: Unsure why Android has issues with certain Opus files
I'm not 100% sure where to post this cause it's kind of a strange issue. I recently discovered the Opus format and converted all my songs to it, so they would fit on my phone. However a few cd's I've converted from MP3 to Opus are having a strange issue. I did have to rename all the files from .opus to .ogg so they could be read by media players, but what's odd is that some of the cd's I've converted seem to lose their information when I copy them over to my device (Nexus 6 running 7.1.1).

Like, all the tag information is gone and every media player that's able to see it says the song is 00:00 in time. Yet when I actually play the song, it works totally fine. I can't even edit the tag information in any apps because it just disappears. Is there any reason it would do this? I've tried re-converting the songs a few times but the same problem still happens.

# Answer
Alright well I figured out what seems to be the issue. Apparently if the file has a large size album art (from what I can tell, anything 1MB and over) causes the tags to be unreadable. I went and re-tagged the file with a smaller album art and now it works fine. Unsure why this causes an issue, but I'm glad to have figured it out.
> 0 votes

---
Tags: ffmpeg
---


# Question
Title: Does Play Music download songs more than once if they are in different playlists?
I have several playlists which overlap in terms of the songs they contain. I have these downloaded on my phone. If a song is in two playlists, will it be stored twice on my phone?

# Answer
No.

I went ahead and downloaded my master playlist that contains all my songs, then the other playlists. The latter all took zero time, indicating the songs were not downloaded twice
> 1 votes

# Answer
Yes. I downloaded an album and added to a playlist to check this (and deleted everything from my library first) and after downloading the album alone I had 118mb of music. Then I downloaded the playlist and I had 236mb. . So yes yes it does
> 0 votes

---
Tags: storage, google-play-music, offline
---


# Question
Title: Fetch date and time of last activity by any Android app
I am trying to find the last used time of an Android application.

`UsageStats` is the way, but prior to Android Lollipop, this information is not accessible programmatically. Please suggest to me some way if it is possible to access `UsageStats` for the version below Lollipop.

What I tried to get the last used is the access date and time of the folder generated by apps in `/sdcard/Android/data/pkg_name`, but the problem is not all the apps make this kind of `data` folder.

Is there any other possibility to access the date and time of the applications?

# Answer
> 0 votes
One can access the last modified date of `/data/data/{package_name}` programmatically. The directory structure inside `{package_name}` is not visible in a non-rooted device, but the last modified date of the `{package_name}` folder can give an approximation when the user last access an app.

---
Tags: applications
---


# Question
Title: How to close Google account on the phone
I let my friend borrow my Android phone. She never returned the phone and she is still using my account. Please, help me.

# Answer
> 5 votes
Sign in to your account here and delete it like that:

More info on deletion you can find in help article. After the successful deletion your account will be signed out from the phone as well and your friend will lose the opportunity to use it.

If you want not to delete the account per se, but to delete it from phone (i.e. log out) without physical access to the phone, you can try to use Device Activity tab and revoke access there:

---
Tags: samsung, 4.0-ice-cream-sandwich, google-account, samsung-apps
---


# Question
Title: Help! android device manager... will enable lock & erase appear after resetting the device?
I lost my phone, it's an LG G2 Verizon, it wasn't factory reset and when I go to ADM it showed the device with the options of Lock and Erase separately... At first I locked it, but then I erased it, and I received an email from the ADM saying ( Android Device Manager will try to erase the data on your Android device and SD card. If the data is successfully erased, your device will display the Android Welcome screen the next time it's turned on. ) after moments both buttons disappeared and I only had one option which is Ring or Enable lock & erase, so does that mean that my device has been reset ? trying to get the phone back but at the same time I don't want my private things to be in the wrong hands.. thank you in advance!

# Answer
> 0 votes
It is clear that all the data is deleted. But after you reset the phone, if the **location** is turned on, then only you will get the exact location on map. Otherwise, you cannot get the location.

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


# Question
Title: Does selecting "delete thumbnails" actually delete "save as" images from your phone?I
I just started using "save as" on Firefox for Android and I saved a lot of important images that meant a lot to me. Then unrelatedly my phone started acting weird, it became very slow and laggy. So I installed ccleaner and since it couldn't do much for my healthy and not crammed full system I simply selected Delete thumbnails and let the app do its work. Minutes later looking for my photos they only came up in Download history and when touched it says the file is gone. Did CCleaner "delete thumbnails" actually delete all my recently downloaded jpg??? If not, where are they? I've been in Gallery, searched files by name, everything. I don't use an external memory card and I'm using a Samsung J7.

# Answer
Since you use **Save as** instead of **Save target as**, the image actually getting saved is the **view** created by firefox which is of very low size that is less than 50kb.

So, some cleaner apps consider images with less than some size (say 60/100kb) as thumbnail and remove it.

Here, the same happened to you.

Next time, consider **save link as** or **open image -\> (and when full image is loaded) Save image**
> 0 votes

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


# Question
Title: Format Preloader and reflash (mtk6582) Sp flashtools
The problem is that spflash tools says:

**"PTM changed for the ROM: It must be downloaded."**

The solutions are, download the preloader.bin (not work for me), and format all + download....

**but I want not format /system either /data** .....

I've try do manually format (except bootloader, system and data) but the problem is not solved .... Can some one help me?

---

## I have a Importart question

What happen If I manually format the Bootloader of my mt6582, If I do manually for example (it's for my phone), erases from (0x0000000000000000 to 0x0000000000c00000) \>\> (bootloader to begin of mbr).... Then I would like download the preloader.bin with spflash tool.

**Could it brick my phone?**

Note: I want not do a readback

# Answer
@Milor123 when the flashtool say that "pmt change for the blah. blah.." the only thing you can do is to format(auto) your device through the tool and then click download next step.it is the BEST way to do it and succeed with what you want to do with your phone. hope this helps you.
> -1 votes

---
Tags: bootloader, formatting, flashtool
---


# Question
Title: Convert Internal Storage to Phone Storage
I have a Wiko Darkmoon running 4.2.2 (Wiko hasn't upgraded to 4.4 yet). The phone is advertised as having 4gb storage, which breaks down as

1. Cache: ~123MB, /cache
2. Internal: ~1008MB, /data
3. Protect:~9MB, /protect\_s
4. Sdcard2: ~1749MB, /mnt/sdcard2
5. System:: ~690MB. /system

Total: ~3579MB ~ 3.5GB.

(info retrieved using FreeSpace https://play.google.com/store/apps/details?id=ru.krikun.freespace).

On top of this I have mounted a 32GB SD card (/storage/sdcard0). My options are to by default use the external sd card. Unfortunately the /data is full and it basically prevents me to install more programs.

Also, the Sdcard2 thingy is supposed to be internal and it's completely free.

My question is, can I convert Sdcard2 to mount with /data? Having +1GB in /data would alleviate my storage constraints a lot.

I googled and searched here and it seems this is not a common issue. Most of the things I've read are about mounting everything in the external SD card, which is not the same I want to do: I want to reuse the internal 1.7GB by joining it to Internal (/data) partition.

Cheers!

# Answer
I'm not saying this for sure ! But as far as i had checked the partitioning topics and also in my own experience i'd dived into actions about that .

i do not recommend you delete a partition completely , Because first of all it may cause an error so you can safely reduce it's size to very low & keeping that tiny space for the system presentations and checks (android checks much much things that we can't even guess those are counted as an important thing for the system to run) . I'm not a pro at all Just hoped to be usefull :)
> -1 votes

---
Tags: 4.2-jelly-bean, internal-storage, internal-sd
---


title: why can't we format bootloader code

text:
# Question
Title: why can't we format bootloader code
Some phones had locked bootloader. As far i understand bootloader is a piece of code responsible to load the os. but that is still in the harddisk right? so why can't we delete that code and put our own.

# Answer
> -1 votes
First, the definition of a bootloader (as described by Technopedia):

> A boot loader primarily manages and executes the boot sequence of a computer system. A boot loader program is typically started after the computer have finished performing the initial power. It fetches the OS kernel from the hard disk or any specified boot device within the boot sequence, into the main memory. A boot loader is associated with only a single operating system. An operating system can also have multiple boot loader programs classified as primary and secondary boot loaders, where a secondary boot loader might be larger and more capable than the primary boot loader.

On samsung devices you can enter into download mode and plug your phone into a pc and open up Samsung Odin 3 and flash a bootloader by selecting BL and the file

Also flashing bootloaders is EXTREAMLY RISKY. Flashing the worng or incompatable bootloader is worst than flasing a boot.img that wasnt meant for your device. It will result in A hard brick and its very rare to recover from that unless you have a Programmer JIG/JTAG

Also flashing items in a locked bootloader is very dangerous because theres 100% cHance of Bricking your device if you flash a custom item..

And a bootloader is programmed into a ROM chip it cannot be easily changed fomating. Its better for you to not interfare with your bootloader unless you want to unlock it and root or flash things to your device.. Custom roms are made with these 2 CRITICAL IMGs BOOT.IMG SYSTEM.IMG

Also theres no need to make a custom bootloader because almost every device has the same bootloader type but differ from code and compatibility

---
Tags: rooting
---


# Question
Title: Can't install Lineage OS due to outdated bootloader on Moto G 2013 XT1034 falcon
I just bought a Moto G XT1034 and I'm trying to install Lineage OS 14.1 (lineage-14.1-20170307-nightly-falcon-signed.zip). I'm following the wiki instructions (http://wiki.lineageos.org/falcon\_install.html). I successfully unlocked the bootloader and installed the custom recovery (Team Win Recovery Project) but when I try to install the new OS I get the following error message:

`This package supports bootloader(s): 0x4118, 0x4119, 0x411A; this device has bootloader unknown.`

Apparently my bootloader version is 4105:

`$ fastboot getvar version-bootloader
version-bootloader: 4105`

How can I overcome this issue? Should I update my bootloader? Is there a safe way to do so?

# Answer
I ended up following these instructions to flash a newer stock ROM with a up to date bootloader and installed Lineage OS afterwards.
> 1 votes

# Answer
Use this tool to upgrade your bootloader to a compatible version.

You should also update your TWRP to the latest version, as older versions aren't compatible with the new bootloader either, and will display a moving line across the screen if you insist.

After these steps you are clear to proceed to flashing LOS 14.1.
> 2 votes

---
Tags: bootloader, motorola-moto-g, lineageos
---


# Question
Title: How do I disable the "Screen overlay detected" security bandaid?
I use Toucher Pro (whose whole point is to always be on top) essentially in place of a homescreen, insofar as I launch apps from it 95% of the time instead of using a launcher. Now, thanks to the recent security update which doesn't let you change permissions while an overlay is running, I have to disable Toucher, change the permission, and re-enable Toucher immediately because I can't use my phone without it.

This is most ridiculous when installing a new Marshmallow app, since this includes initial permission requests even for basic behavior:

I'm an advanced user, and I can smell when a malicious app is trying to fool me, so I feel reasonably safe disabling this. **Is there any way to disable this kludge?**

# Answer
> 1 votes
This bandaid seems to have been removed in Nougat. So... I suppose the answer is to upgrade to Nougat?

---
Tags: security, permissions, overlay
---


title: Executing script on device shutdown

text:
# Question
Title: Executing script on device shutdown
For custom scripts at boot, we have `init.d`. I want to know if there's a possibility of executing a custom script when shutting down, something similar to `init.d` or by using an APK?

# Answer
Our default answer on questions like this is – whenever it comes to , this is the most powerful tool to be mentioned. *Tasker* combines *Contexts* (Events, states, location, time) with *Tasks* to be fired when such a context is met. For your case, there's an event called *Device Shutdown* – which you could combine with the task *Code › Run Shell* to execute your shutdown scripts.

For further reading, I strongly recommend you visiting our tasker tag-wiki, which also links to additional resources like the tasker user-guide or my collection of tasker resources.
> 1 votes

# Answer
This is not easy. especially for scripts that have to run after zygote was stopped. Try to digg `/*.rc` scripts. may be attaching to the `swapoff` action help you. There are some mod projects at xda too https://forum.xda-developers.com/showthread.php?t=1387692
> 0 votes

---
Tags: customization, scripts, shutdown
---


# Question
Title: are the apps being uninstalled during OS update?
I haven't updated my *Nexus 5X* OS version for a long time already, due to the fact that I'm really afraid that something might go wrong with the state of some of my apps.

For example, my *WhatsApp* history goes back to 2011. The folder size is ~5GB and holds more than 29,000 files. A few times before the app produced a warning shich stated that its state is corrupted for some reason (*"something went wrong"*) and that a restore is needed -- each time it took hours, and almost never succeeded immediately (I had to re-install and change some backup file names).

So, my question is basically -- what are the steps of the *Android OS* update installation process? Does all the apps being uninstalled, then the new version of the OS is being installed, and then the apps are being installed again? Or is there some "intermediate state" for the apps, which can provide an option for the apps not to be uninstalled in the first place?

# Answer
> 2 votes
If you do a normal system update (no restore or something like that) your apps are not uninstalled. The system doesn't really do anything with your apps at all until it finished the system update. Then the system will recompile all apps (The 'android is optimizing apps' dialog) in order to make them run faster. This should not interfere in any way with your data.

I do not know about your specific problem with WhatsApp or if a system update could cause your error but your data will not be touched by the system during the update. This means if something breaks whatsapp your data will still exist in order to restore your history.

Btw. what android version are you running? With android 7 the recompile step will partially change (to the good).

---
Tags: applications, updates, whatsapp-messenger, operating-system
---


title: Connecting tablet to VGA projector

text:
# Question
Title: Connecting tablet to VGA projector
Is it possible to connect an Android tablet to a VGA projector to make presentations of what's on its screen – and if so, how can this be done?

TL;DR:

I am searching the market for purchasing an Android tablet. The only feature that I want it to have is being able to be connected to VGA projectors for making presentations concerning my Android applications. So before buying any device, I need to know if this is possible (not looking for "device recommendations" explicitly here, but for the technical possibility).

I've searched similar question but I didn't find a definitive answer. I know I must also buy a converter but I've found out that is more difficult than it sounds. So I would like to hear some suggestions, better yet if you have achieved such a connection.

# Answer
> 2 votes
Yes, it's possible. Some devices even have an official (branded) adaptor for doing this, such as the Asus Transformer TF-101. As you surmise, though, if the tablet doesn't support it, external convertors are quite unwieldy and typically need their own power supply, as they typically have to buffer a whole frame at a time in order to work.

Newer data projectors support HDMI or even MHL input, which allows you to use any tablet or phone with micro-HDMI or MHL output, with the appropriate cable.

Using either method, the presentations don't have to be of what is on your screen. Android 4.1 and up provide a way for apps to send different visuals to the external display from the built-in screen, so (for example) presentation apps can show your slide on the big screen and notes and controls on the tablet itself.

# Answer
> 0 votes
you can simply go for a tablet that comes with a mini HDMI port then buy a HDMI TO VGA cable or converter to connect the tablet to your projector. you can follow the link here to get a list of six tablets that comes with an integrated HDMI port: cnet.com/news/top-tablets-with-hdmi-connections

hope this helps, and that if its coming too late you already found a better solution.

---
Tags: settings, connection-issues, hdmi
---


# Question
Title: Galaxy What does 'Secure JTAG Disabled' mean?
On my galaxy, when I enter Download Mode it says the following

ODIN MODE (in red) Download Speed: Fast (in red) Product Name: SM-G925F (in white) System Status: Official (in white) FRP Lock: On (in white) Secure Download (in blue) Warranty Void: 0 (0×0000) AP SWREV: B:2 K:0 S:0 Secure JTAG DISABLED!!!

What does it mean

My sisters other phone(same model) is hard bricked. Does 'secure JTAG DISABLED' mean that it doesn't support JTAG debugging?

# Answer
> Does 'secure JTAG DISABLED' mean that it doesn't support JTAG debugging?

**Yes**

Secure JTAG explains

> **Disabled JTAG:** This mode provides maximum security. All security-sensitive JTAG features are permanently blocked, preventing any debug.....

Related What is JTAG in regards to Android?
> 1 votes

---
Tags: samsung, unbricking
---


# Question
Title: Tasker getting wifi info for unconnected networks
Is it possible to discover signal strength info for unconnected networks? I want to switch networks if the current signal is weak AND there is a stronger signal available. I have hunted for a relevant plugin to no avail. Thanks

# Answer
Here is a workaround you could use:

This workaround involves:

* creating a simple tasker profile which notifies you when an unconnected WLAN with a good signal is detected.
* creating a notification (flash/blink/notification flash)-as you wish which will alert you when a good signal is available nearby.

+ connecting to a WLAN AP which has been classified as having a good signal

This involves using a %WIFII which shows information on detected WLAN APs ( useful info on mac address, signal strength, broadcast channel etc)

**Task**

A1:Alert \>\> Flash (or Notify LED or vibrate). Text: WLAN APs with good signal available Since WIFI signal strength ranges from 1-9 you may define strong signal as those above 5 (its up to you) See screenshot.

Screenshot (click image for larger variant)

A2: Net \>\> WiFi \>\> Set-On \[If %WIFI~Off\]

**Profile**

You can accomplish this by using a WifiNear profile to detect nearby WLAN APs.

In the profile tab, select State \>\> Wifi Near (You may put additional info for SSID/MAC/Channel if you want to connect to a specific AP) but if you want detection for any access point leave as it is. Also you can leave toggle wifi unticked if "Keep Wi-Fi ON" option is enabled in advanced wifi settings

Note: When any profile has a WiFi Near state, it will do regular scans for nearby APs (roughly every 120 secs default). You may change this in preferences of Tasker

Limitations:

* Once connected to a WLAN AP automatically, the context scan will be ignored until you move out of range of your currently connected AP.
* Only previously saved APs are connected automatically since one can't access an encrypted WLAN except that they previously saved the password in the device.
> 0 votes

---
Tags: tasker
---


# Question
Title: Download Manager does not stop . Cannot clear cache and data
I have tried stopping download manager . But as soon as I stop it , it starts again . I cannot even clear its data and cache . Tried rebooting the phone, it doesn't work.

# Answer
I have an Asus Zenfone 2 still running Lollipop, and I've had the same problem for a long time. Force-stopping the Download Manager app and clearing the data usually works, but I recently stumbled upon a new way to cancel the download, making sure that it is permanently cancelled and doesn't pop up again annoyingly.

It merely involves going to the Storage section under Settings, and clicking on the Downloads tab. This brings up a list of previous and ongoing downloads. From here, long-pressing on a download lets you cancel it.

Hope this helps.
> 0 votes

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


# Question
Title: How can I stop the Skype notifications from re-enabling?
I have Skype on my Moto G, but I don't use it much. It's primarily for contacting cow-orkers at work. I *certainly* don't want to get notified every time anyone says one in a group chat while I'm on my day off.

So I switched off the notifications by selecting "block all" in the notification settings for the app. Then I got a notification. So I switched off the notifications *again*. Then I got a notification. So I switched off the notifications *yet again*. Then... you get the picture.

**How can I *keep* the notifications from Skype switched off?**

Or do I just have to uninstall it?

# Answer
Skype running in background annoys me so much that I keep it signed OUT when not using. To turn of notifications of SKype on Android : Tap the **menu icon** (three vertical lines), tap **Settings** \> **Notifications**, then tap **Notifications** to turn them **off**.

what you have been doing is , you were telling your android to mute the notifications its better to tell the app itself
> 2 votes

---
Tags: notifications, skype
---


# Question
Title: Phone sometimes can't detect any WIFI networks
I have a fully rooted Lenovo A328, and at random times, it would just totally not detect wifi. Even if I place the phone right in front of my wifi router, it still doesn't detect it. In the WLAN settings, it gets stuck at the 'Searching for WLAN networks'.

And I also can't seem to turn the WLAN setting off. Heck, the settings would sometimes suddenly freeze also. The only temporary fix I've found for this is restarting the phone, but then, the problem would usually return after a few minutes or so, prompting me to restart it again and again.

Is there a reason for why this is happening? And is there a permanent fix for this?

# Answer
This is an issue happening because of problem in the wifi module of the ROM you have flashed.

Try to get a fresh ROM and also don't forget to read the bug reports of it.

If you see many download links, download the **stable** instead of **nightly / experimental**.

Flash it. Or else, go back to stock ROM
> 2 votes

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


title: How to export a single WhatsApp chat?

text:
# Question
Title: How to export a single WhatsApp chat?
I'm trying to export the *complete* chat between a user on WhatsApp. I have tried using the "Email Chat" option, but it seems this feature does not export the complete conversation. I believe it has some sort of size limit. I experimented with several large conversations (dating back to 2 year ago) - they should definitely be 4 MB+ in file size when exported, but when I export them via Gmail, the file size is always 2 MB. The messages before that are ignored.

I also tried using web.whatsapp.com and scrolling upwards using iMacros and then selecting the text using jQuery but that is proving to be difficult. Browser crashes after a certain point.

I don't believe the database backups in `/sdcard/WhatsApp/` are of any use - they're heavily encrypted.

Any interesting work-arounds or solutions?

# Answer
**Requirement**: rooted device.

Download WA Tweaks and install it. Close WhatsApp process, open WA Tweaks inside the WATweaks App and there you would find a "Conversation" tab. Load conversation. As your chat sizes are huge it may take alot of time. From there you can get complete conversation backed up / emailed.

You can see demo video of the app here on my channel. This should solve your issue. If you have a low end phone it will get stuck.
> 0 votes

---
Tags: applications, 6.0-marshmallow, whatsapp-messenger
---


# Question
Title: " - Package id platforms;android-23: error!
I wanted to use Android studio 2.3 and my samsung galaxy note5(android 6.0.1) to run simple default `hello world` app on my phone, but I got this error message:

> ```
> All packages are not available for download!  The following packages are not available:
> - Package id platforms;android-23
>
> ```

And after closing the message I see this message in a green box in the bottom of the IDE:

> Instant Run is disabled: Instant Run requires that the Android SDK for the API level of the device you are deploying to is installed. To use Instant Run, open SDK Manager and install the missing platform.

Although program works on my phone and it's installed and I can open and see it in my phone but I like to know why I got this error message and how can I fix it?

Thanks a lot!

# Answer
It simply because you don't have that package installed. Use the SDK manager to download them. In the SDK Platforms tab, you must also install at least one version of the Android platform. Each version provides several different packages.

* Open android studio
* Click on Tools \> Android \> SDK Manager
* Go in the SDK Platform tab. To update an item or install a new one, click the check box so it shows a checkmark.
* To update the selected packages, click **Apply** or **OK**, then agree to any license agreements.

Check also the **compileSDKVersion** in the Gradle(app) file and change it accordingly to the platform you'll download
> 0 votes

---
Tags: 6.0-marshmallow, samsung-galaxy-note
---


title: No installed apps

text:
# Question
Title: No installed apps
I removed three apps that I never use from my phone so I would have more storage. Now I can't update any apps because I have no installed apps. How can I fix this without a factory reset?

# Answer
Go to recovery , wipe cache.

Or

Uninstall all apps, remove corresponding folders from `{default storage}/android/data` and again install apps.
> 0 votes

---
Tags: applications
---


# Question
Title: Mounting cifs/samba volume as a directory in android
I'm using a custom rom based on cyanogenmod 13, my device is rooted and I have Xposed installed. I'm looking for a simple app to mount samba or cifs volume in a directory on my android devices, years ago I used Cifs Manager and Mount Manager but it seems they have been discontinue and now I can't find valid alternatives. I tried the latest versions of Cifs Manager and Mount Manager I could find but they didn't work.

Thanks

# Answer
Make your sure kernel supports SELinux and cifs module

You additionally need SELinuxModeChanger Alternatively type: `setenforce Permissive` as su in terminal.

A patched version of CIFS manager which uses (mount command) and needs SuperSU from chainfire. You can get this from XDA developers; Patched CIFS manager

Alternatively you can create a cifs mount point from terminal and give IP address and username of your NAS:

```
su --mount-master -c busybox mount -o username=guest,rw,noperm,iocharset=utf8 -t cifs //192.168.xxx.xxx/cifsshare /path-to-mount-in

```

change back SElinux mode to enforcing:

```
setenforce Enforcing

```

And you're done

Credits

Mounting a network share into the filesystem \[ROOT\]
> 2 votes

---
Tags: root-access, mount, cifs
---


title: Paid Messages: Don't ask again

text:
# Question
Title: Paid Messages: Don't ask again
HOW DO I FIX IT? When I was texting my local radio station (which had a less than 7 digit number) my phone said this may add charges to your account (aka may cost money). And my being quick pressed "never ask me again" then okay but instead I hit declined and it won't let me text any number that has less than 6 numbers and charges me. How do I fix it so I can again?

# Answer
> 1 votes
In Android N;

Settings, Apps, Your messaging app, SMS App (below Memory), Special Access (bottom option), Premium SMS access.

Alternatively - Settings, Search, "premium" or similar

---
Tags: samsung-galaxy-s-5
---


title: How can I bypass stock tethering app?

text:
# Question
Title: How can I bypass stock tethering app?
I have a rooted Coolpad catalyst with no cwm. I plan on creating a workaround for cwm but, that's another project. Anyway I have MetroPCS I've tried apps like barnacle, but I get WAN interface not found. It seems newer phones have a guard against root tethering methods, I thought about changing the settings app but can't risk it yet. I am running Android 5.1.1

# Answer
> 0 votes
This app CWM Tether should help you.

# Answer
> 0 votes
If you prefer doing this wirelessly, then you will to route your internet traffic via VPN.

You can obtain an Open VPN from playstore (e.g OpenVPN)

Basically whenever you wish to tether you will need to perform this code via terminal:

```
iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -I FORWARD -j ACCEPT
iptables -t nat -I POSTROUTING -j MASQUERADE
ip rule add from 192.168.43.0/24 lookup 61
ip route add default dev tun0 scope link table 61
ip route add 192.168.43.0/24 dev wlan0 scope link table 61
ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61

```

Benefits include:

* Secured connections through the tunnel
* Re-routing of traffic simulates a local connection and not tethering

However connections may be slow depending on server chosen.

Alternately you can get Foxfi Wifi tether and is already configured to tether.

*(Disclaimer: This is not a hacking proceedure, carefully read the Ts & Cs of your ISP if they allow tethering with 3rd party applications)*

---
Tags: 5.1-lollipop, wifi-tethering
---


# Question
Title: Android mount external sdcard obb to internal SD card succeed
(I posted this question on Stack Overflow before(https://stackoverflow.com/questions/42738392/android-mount-obb-to-external-sd-card-failed), then I found here may be a better place to post this question.)

I want to move a game's obb(1GB) to SD card. Copied the obb file to SD card, and symbolic link by:

```
su
ln -sf /storage/sdcard1/Android/obb/com.game /sdcard/Android/obb/com.game

```

but failed with "function not implemented".

I googled it, and got "some filesystem doesn't support symbolic link".

So I tried to use mount by command:

```
su
mount -o bind /storage/sdcard1/Android/obb/com.game /sdcard/Android/obb/com.game

```

but I found only root can see the files in the folder. Then I do:

```
cd /system/bin/
chmod 4777 ./toolbox #make anyone can use mount(in toolbox)
su u0_aXXX #the game's uid
mount -o bind /storage/sdcard1/Android/obb/com.game /sdcard/Android/obb/com.game
ls -l /sdcard/Android/obb/com.game
$ -rwxrwx--- u0_aXXX sdcard_r com.game.obb

```

But when I

```
cat /sdcard/Android/obb/com.game/com.game.obb
$ cat: /sdcard/…ame.obb permission denied

```

I'm using android5, any solution? Thanks.

# Answer
> 0 votes
(If you're finding how to move obb to external sdcard and mount it back to internal, here's the right place!) Finally I found the solution of this question by myself! The app can't access the obb by itself, it requires media\_rw to access it. Found by lsof:

```
sdcard 340 media_rw 15 ??? ??? ??? ???
/data/media/obb/com.game/com.game.obb
sdcard 340 media_rw 17 ??? ??? ??? ???
/data/media/obb/com.game/com.game.obb
com.game 26335 u0_a266 36 ??? ??? ??? ???
/storage/emulated/0/Android/obb/com.game/com.game.obb
com.game 26335 u0_a266 37 ??? ??? ??? ???
/storage/emulated/0/Android/obb/com.game/com.game.obb

```

So I have to mount the external sdcard folder to two places and each has to have its right owner:

```
owner    folder
u0_a266  /storage/emulated/legacy/Android/obb/com.game
media_rw /data/media/obb/com.game

```

But if I mount /storage/sdcard1/Android/obb/com.game to those two places, it will become:

```
owner    folder
u0_a266  /storage/emulated/legacy/Android/obb/com.game
u0_a266  /data/media/obb/com.game

```

Then I found if I do:

```
mount -o bind /storage/sdcard1/Android/obb/com.game /storage/emulated/legacy/Android/obb/com.game
mount -o bind /mnt/media_rw/sdcard1/Android/obb/com.game /data/media/obb/com.game

```

I found this works fine, because the mount command's source and destination is their original owner. The app can run very well!

---
Tags: external-sd, insufficient-memory, mount, app2sd, link2sd
---


# Question
Title: LG Watch Style USB Debugging - computer not recognizing presence of watch
I am trying to develop for my LG Watch Style and I am having trouble getting my computer to recognize its plugged in. I've tried reinstalling the Google USB drivers and resetting the watch.

It's almost like the charger that came with the watch is not capable of sending data.

Does anybody know any debugging secrets?

# Answer
Looks like the LG Watch Style's charger has NO DATA PIN.

The workaround for me was to use Bluetooth debugging, you will need an Android phone with a USB cable and a computer running the ADB server. Wifi debugging is also an option but that requires a USB connection initially (maybe it can be bootstrapped through bluetooth?)
> 2 votes

---
Tags: adb, usb-debugging, lg, android-wear
---


title: What App is this?

text:
# Question
Title: What App is this?
From times in times, when I unlock my screen comes up an automatic installation attempt, blocked by my settings (block from unknown sources). I would like to know if this app, called **Calculator Exchange** is a safe one to install.

KitKat 4.4.2 Z4

Thanks a lot in advance.

Sandro Vieira

# Answer
If an app prompts always, it is not safe to install.

It is an ad by any of the app in your phone and it may or may not be a malicious app.

If that app is from playstore, it is less vulnerable but it is directly from an apk. So it is highly vulnerable.

Go to filemanager, search by possible keywords, find and delete the apk file.
> 1 votes

# Answer
Your device might be infected with **virus** that is actually trying to install the app **Calculator Exchange**. So I strongly recommend you to take **backup** of you data such as contacts,photos,videos,etc., and Reset your device to Factory settings
> 0 votes

---
Tags: 4.4-kitkat, settings, security, installation
---


title: Download Mode. What does this mean?

text:
# Question
Title: Download Mode. What does this mean?
RP SWREV B:3 K:0 S1

Searching online, I haven't found any clear information.

# Answer
> 2 votes
**download mode** is related to recovery where your device is ready to accept a new system image from the computer.

It is used to flash a new OS to the device.

In download mode, you can inject and install the OS (flashing).

**but be careful while using this**

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


title: mobile network and Wi-Fi are blocking

text:
# Question
Title: mobile network and Wi-Fi are blocking
The problem of my phone is, mobile network and also Wi-Fi connection are sometimes blocking. it happens randomly. On the screen, it shows everything is regular and there are connections, however, if I try to connect to network/Wi-Fi, it fails. The only solution is to restart the phone. Do you know what is the problem? I guess old rom....

My phone is Samsung Galaxy s II lite (AKA Samsung I9070 Galaxy S Advance).

Model number: GT-I9070

Baseband version: I9070BULK1

Android ver: 2.3.6

Kernel: 2.6.35.7-1211698

Build number: GINGERBREAD.BULK1

# Answer
This issue happens for many models.

Let me say a simple scenario

You are in a call, suddenly the signal has gone and call drops. Then even waiting for a long time, the signal is not coming.

This is because, the phone didn't attempt to connect to a network anymore.

The solutions

1. Turn on airplane mode and after 5-10 seconds, turn off it.
2. Go to operator selection -\> manual -\> search and choose the operator, later change to automatic.
3. As you said, restart the phone.
> 0 votes

---
Tags: samsung, samsung-galaxy-s-2, mobile-network
---


title: Deleted Google Play app by accident

text:
# Question
Title: Deleted Google Play app by accident
My friend accidentally deleted his Google Play Store app. It is a Samsung phone. I don't know much about android because I use apple.

I clicked on settings --\> app manager. It shows that Google Play Services is still running.

1. Does this mean the phone is jailbroken? How can someone delete a system app?
2. How can I get this app back?

# Answer
> 0 votes
first of all **not jailbroken** the word is used for Apple. for android, we use **Root**

The device is rooted I think. Otherwise, the system app cannot be deleted.

This google search will give you a lot of result. Download and install a playstore from it.

google play store apk download

# Answer
> 0 votes
The other day I did a hard reset on a htc that I didn't know was rooted I found out it most defiantly rooted when it booted up and it didn't have google play services no App Store. I basically did the same thing they are suggesting for you to do it works fine. I used a site called APKbucket I thought it was a little sketchy at first but it been safe so far and I've downloaded some pretty kickass apps. Good luck

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


# Question
Title: MOTO E 1st Gen From Dalvik to ART : com.android.systemui stop and loop
May I first apologize for my english : non-native speaker, some erratic grammar might happen.

*Si un francophone passe ici, ce sera bien plus facile pour moi ;)*

I'm NOT skilled in android fix, so be patient and please forgive if i ask you more precision to understand what you say ! Some previous questions were on the same problem, but i did not succeed on performing the solution, or \[doesn't dare other\] for i did not understood it

I own a Motorola E, 1st Gen, since feb.2015.

* Legal warranty void six weeks ago...
* No root, no boot, no custom rom.
* Kitkat 4.4 (or maybe 4.4.2, can't remember)

In the last weeks, a trouble appeared : i could neither listen or speak to my interlocutor, but by pluging in a wire headset or putting the phone on speaker (the one you shan't but still use while driving). The normal "phone pressed against the ear" did not worked anymore.

The first times, a simple reboot was all it needed to go back to normal.

Since a few days, reboot have no effect.

After an extend search on the internet, i found a solution for the Moto G (2nd gen) that appeared to work perfectly.

**Going from Dalvik to ART, which i did friday (march 10th).**

* 1st reboot, upgrading 150 apps =\> Several error messages stated that XXX app has stopped. Then "com.android.systemui" has stop, and i cannot validate the prompt : once I click "OK", it comes back before i could even read the next error message. I can't do anything with the phone. ==\> Reboot by long hold on POWER
* 2nd reboot, upgrading 39 apps =\> Several messages again, com.android.systemui again ==\> Reboot by long hold on POWER
* 3rd reboot, the same
* 4th reboot, upgrading 29 apps
* 5th reboot, the same
* 6th reboot, the same
* 7th reboot, upgrading 28 apps.
* xxth reboot, the same ...

Today, After a day's rest and no manipulation, count on upgrading application dropped to 27. By repetivly pressing "ok" and 'report" when avalaible, i somehow managed to get as far as parameters menu. Can't scoll in the microscopic time given between two prompt. However, -\> The phone seems to receive calls (it ringed about an hour ago) but not to show the screen (caller ID, accepting the call, etc.) -\> Afterward, the led flashed again.

The android buttons (back, home, active application list) doesn't show up.

And here i'm stuck !

What i tried :

* A coffee. Did nothing to the phone, but improved my optimism
* Shut it down, let it rest, power it
* Fully charge it
* Make it reboot by a long hold on power button while it was "upgrading 28 apps".
* Pluging it to the computer, to see if it did anything (it didn't)
* Making loud assumption on the engineer's mother honour and weight.
* Go to recovery mode, and let it boot (if i understand well, it's just a normal boot for long inactivity)
* Go to recovery mode, and wipe cache partition
* Tried to do this : Moto E is not switching on after changing runtime to ART =\> I made it up to the 5th step ; but 6th don't work "Not recognized as a command or program" I tried the shell on E:\Programmes\AndroidSDK and E:\AndroidSDK\platform-tools. Neither works.

What should i do now ?

Thanks a lot,

Kaldui.

# Answer
Don't ask why, don't ask me how ... **Android automatically reverted to Dalvik.**

My best guess is : there is an idiotproof security somewhere that revert automatically after to much fails (at least 20) on booting under the new runtime. Maybe installing the motorola drivers on my computer before repetivly booting in normal and safe mode while the USB cable was plugged had a positive effect. Maybe the little bug felt that i painfully resolved to fetch the electronic axe (aka hard reset) and flew away ...

It seems that no data was lost. It's a true relief !

> *If you cross this topic, and face the same trouble, well ... it took me five day of patience, two full charge and discharge of battery, stubborn booting and prompting closing, ten cache wipe, and utter infuriation before everything settled down by itself. Try your luck !*

Kaldui.

PS. To the android engineer : i was mistaken, you weren't making overtime to pay the attorney for your divorce, yo mama is a fine women, she ain't this overweight, and her reputation is of a loving, caring and faithful person. I also own you a beer.
> 0 votes

---
Tags: 4.4-kitkat, boot-loop, motorola-moto-e, dalvik, art
---


# Question
Title: File transfer with linux pc through mobile hotspot
How do I transfer files with a PC running Linux (Ubuntu) via the mobile hotspot (not through wifi)? (Perhaps with another third-party application)

# Answer
The set up of file transfer between **Android device and Linux PC** is similar to Windows and can be achieved in a variety of ways.

I created simple tutorial illustrating the simplest way to do it (without need for extra tricky terminal commands in Linux, or installing additional packages)

**Requirements:**

* Mobile hotspot
* Linux PC (running any linux distro eg Ubuntu, Mint, Kali etc but for this tutorial I used Zorin OS) with **Wi-Fi functionality**
* Android file explorer capable of **FTP/SMB/SFTP** protocols (I used ES explorer for this task)

**Instructions**

1. Connect Linux PC to hotpsot.
2. Open ES File explorer and go to Networks \>\> Remote Manager (FTP protocol) and turn on service. See screenshot.

3. Open terminal Ctrl+Alt+T and type `ifconfig` (just to be sure the PC was assigned a correct IP by the DHCP) The dhcp range is `192.168.43.xxx`

Using File manager from Unity Launcher head to Connect to server under Other Locations and input FTP server details and port number (ftp//192.168.43.1:3721/)

Enter login details or leave as anonymous:

From now you can access files in your android device on Linux PC, and can perform various actions e.g copy,paste etc (some names hidden for other reasons)
> 2 votes

# Answer
There are many FTP clients for android in play store, you can use that to create a FTP serever on phone, and access the server from computer,
> 0 votes

---
Tags: applications, file-transfer, wifi-hotspot
---


title: Media silence during do not disturb

text:
# Question
Title: Media silence during do not disturb
When i turn my phone to silent now it goes to do not disturb mode and it silence media also How can i make my phone silent and also be able to listen to media on my phone??

# Answer
With android 7 the do not disturb mode has changed. I do not know of anyway (at this time) to change the behaviour of the dnd mode.
You can, however, instead of turning on dnd simply switch to the priority mode. If you have not configured any priority contacts or anything like that it does behave exactly like the pre-android-7 dnd mode including normal media playback.
> 0 votes

---
Tags: settings, 7.1-nougat
---


# Question
Title: Why can't this application be deactivated after screen is locked?
I recently installed WhatsApp. I thought it would be clever to deactivate it while my screen is locked to save battery: data can update when I have my screen active.

But it looks there is something special about this application that prevent it from being deactivated.

* I often get notifications involving WhatsApp in high consumption while my phone is locked
* there is a red message ***Can't refresh when closed*** on it's side when I go to "Battery \> Close apps after screen lock" ... well, that's pretty much what I would like!

Anyone knows what I can do to avoid this? (*apart from uninstalling this tyrannic application*)? Is there a feature I'm missing and that I should change?

# Answer
WhatsApp employs a mechanism that ensures messages are always notified (as long as data connectivity is present) , which is well explained here How is WhatsApp able to receive messages when not in use?. That's the reason on your device, the red warning is displayed

You can instead *Greenify* WhatsApp . For details see questions like How does hibernating an app work technically? and XDA - Greenify

**Edit** *Protected apps* feature may be used. I am not sure if this feature exists in the emui version you have. What is protected apps in Huawei phones?
> 1 votes

# Answer
My solution was to deactivate unwanted "battery usage notifications" for Whatsapp: it doesn't consume that much after all, compared to other applications.
> 1 votes

---
Tags: whatsapp-messenger, battery-life, huawei
---


# Question
Title: Moto X(1G) not updating. Gives error during update
My MotoX is not updating. It is giving error during installation and restart it. Even I uninstall SuperSU by unroot option. My mobile is rooted how can i do unroot it. Because some banking apps is not working due to root set

# Answer
You must have a completely stock, unmodified device to take an OTA... No root, no TWRP, to Xposed, nothing. You have changed the /system partition so you cannot take an OTA. You need to restore your device to pure stock condition by flashing a factory firmware image or restore your TWRP backup from before any modifications to the device.
> 1 votes

---
Tags: moto-x
---


title: Share WIFI from PC over USB

text:
# Question
Title: Share WIFI from PC over USB
All the questions with similar titles are the inverse of what I want. I would like to connect my tablet (that is "blocked" on the Wifi) to my Windows 10 computer over a USB cable and have the computer "share" the Wifi. Is this possible?

EX: My tablet is blocked from the internet (home policy) but you can get Wifi by asking and staying in the main rooms, I want to have my tablet access the internet by having the computer "share" the internet with the tablet. I don't know if this is possible and if it is would like to know how.

I have a Nexus 7 2013 32GB Wifi on 6.0

# Answer
> 9 votes
**Different ways of sharing interet connection from Windows to other devices**

Nowadays there is a lot of ways to share internet connection to other devices and each method has its pros and cons.

Here is a breakdown of methods:

1. Using Windows 10 Mobile Hotspot Feature:

Newer editions of windows 10 (after 1607 anniversary update) have a built in mobile hotspot feature which allows internet sharing to other devices

**pros**

* easy to use as its built-in
* no extra tools needed
* internet is shared over Wi-Fi (no need for cables)

**cons**

* some network types are not recognised e.g 3g dongles.

---

2. Using 3rd party tools

Nifty tools such as mhotspot, or Connectify provide the ability to share internet to other devices by making use of Microsoft Virtual Wi-Fi Adapters

**pros**

* provide many additional tools to monitor and customising created networks
* improved encryption
* internet shared over Wi-Fi

cons

* some of these are commercial softwares and are relatively expensive

---

3a. USB Reverse tethering

Reverse tetherng is a relatively newer method of sharing internet especially from devices that do not have a wireless adapter. It uses the USB cable to share internet from the computer to the target device and oftern requires 3rd party tools and drivers as well as system modification of target devices.

* Reverse Tethering (root) Requires the target devices to be rooted prior to connection and a USB server application or server to be installed on android. **For better coverage this method often requires another Xposed module Hack connectivity service to increase internet coverage to most apps if not all.**

+ Reverse tethering (no root) Similar to root based method but requires extra programs to be installed on windows

Specific requirements of reverse tethering no root:

pros \- can provide faster connections usually with low latency \- reverse tethering (no root) works on windows, linux and mac

cons

* requires usb cable
* installs additional apps on PC and phone
* connections can be difficult to establish
* **some of these workarounds only work for some apps and not every app is guaranteed to have internet access, but from my experience browser, Gmail, google play were working just fine**

---

**Update**

3b. **Using adb to reverse tether**

Using bash script

```
alias t='r && sz $tether && r && sz $n'
tether='am start -n com.android.settings/com.android.settings.TetherSettings && input keyevent 66 && input keyevent 66'
n='netcfg rndis0 dhcp'
alias sz='ad shell'
alias de='ad devices -l'
alias r='ad kill-server && ad start-server'
alias ad='adb'
alias pu='adb push'

```

Special thanks to user42276 for this script

Pros

* One good thing about scripting is that it eliminates the need for third party apps which may bloat the device/PC

Cons

* Pretty much similar to method 3a above

---

4. **Using Windows ICS**

Another way is to just use ICS in Windows with no third party software involved:

Requirements:

* Terminal Emulator on your Android
* Alternatively using adb shell commands (to use adb, you need to enable "USB debugging" on your Android).
* Optional, BusyBox on your Android.

**Instructions**

* Connect your Android to PC by USB cable and enable "USB tethering". You are still allowed to enable this option even when your 3g/wifi on your Android is off.
* Windows will automatically search Windows Update and install driver for you.
* Open "Network Connections" in Control Panel. Right click on an Internet connection that you have i.e WiFi connection (other connections like LAN also work), so right click on WLAN connection with Internet, and select "Properties".

+ In tab "Sharing" click "Allow other network users to connect through...", then select the USB connection in dropdown list below.

* Click OK. Windows will automatically setup your USB network connection and assign to it an IP address (usually `192.168.xxx.xxx` or similar; for Win 7 and later its `192.168.137.1`)
* Your Internet connection is now "Shared" and your USB connection is now "Unidentified network".

Type the following command in Terminal Emulator:

`netcfg rndis0 dhcp`

The name for usb interface inside Android may vary. It is usually `rndis0` or `usb0`. Type `busybox ifconfig` to identify the name.

**It can happen that automatic dhcp method does not work. In this case we have to do it manually:**

Type these following commands in Terminal Emulator:

```
ifconfig rndis0 192.168.137.2 netmask 255.255.2 route add default gw 192.168.137.1 dev rndis0

```

If route fails, try: `busybox route add default gw 192.168.137.1 dev`

Some applications (download in Google Play, Gmail, Facebook...) don't recognize the internet connection. You can try this way:

* Enable temporarily 3G connection on your Android
* Type: `ifconfig rmnet0 0.0.0.0` The name for 3G interface inside Android may vary: ppp0, rmnet0... (Type `busybox ifconfig` to identify the name).

This will make applications see your Internet connection via USB as 3G/4G

Well its up to user to know which method suites them best. Hope it helps

---
Tags: wi-fi, 6.0-marshmallow, usb, windows
---


# Question
Title: How to disable flashlight in lock screen in Lollipop on Xcover 3?
Since upgrading my Samsung Galaxy Xcover 3 phone to Android 5.1 Lollipop, I've noticed that the flashlight keeps getting turned on in my pocket. Apparently, pressing the "Xcover button" on the side of the phone will now toggle the flashlight on and off even in the lock screen.

I've tried to find some way to turn this behavior off, but I'm not seeing anything in the settings that would look promising. My attemps to Google for a solution just yield instructions for *enabling* flaslight access from the lock screen on versions *prior to* Lollipop.

Short of getting a more robust case for my phone, how can I keep my pockets from shining in the dark?

# Answer
> 1 votes
I had this same problem, and found a solution!

Download a random app (one that you don't actually need) from Play Store, then go to Settings (*Personal* / *Xcover key*) and change the button to open that app. Test that it works, and then delete the app, and now the button does nothing. ;)

# Answer
> 2 votes
Today my girlfriend's father ask me how to solve it.
I've just written an lightweight app (7kB) which does nothing at all.

Download it from here and set as your XCover button app :)

# Answer
> 1 votes
I have found that this will disable the torch: Go to SETTINGS then ACTIVE KEY press SHORT PRESS and select NO ACTION, this should now disable the torch but leave the camera active on a long press.

---
Tags: samsung, lock-screens, 5.1-lollipop
---


title: Can't change to other language anymore

text:
# Question
Title: Can't change to other language anymore
I sed to can change language into etc(BM, CHINESE, ENG )but now all I can use is ENG. Why ones that happen when is used to work perfectly?

# Answer
Well, that issue have become common like Chinese as default or vice versa. But you can fix it by using Android language changer apps or Chinese to english.
> 0 votes

---
Tags: keyboard
---


title: DroidWall and Wireless Tethering

text:
# Question
Title: DroidWall and Wireless Tethering
I have a very simple problem: when I run `Wifi Tether` on my Galaxy S3 the computer won't get the IP address unless I disable `DroidWall` firewall.

DW runs in whitelist mode, but I ran across its menu to enable all wireless related applications it found. Nothing. I have to stop it at all to make DHCP server work.

What application in Android 4.1, or at least in the stock GS3 ROM, governs DHCP in wireless tethering and should be enabled with DroidWall?

Or else, how do I find it out without try-and-fail across a large number of applications.

# Answer
As of version 1.2.5, tethering has been included in AFWall+, you should only need to enable

* (Tethering) - DHCP+DNS services
> 5 votes

# Answer
I had the same problem with wifi tethering after I installed Droidwall. Though the wifi connection was successful but I got no internet access.

I got it working simply by adding the DNS in my laptop. Hope, it works for you or anyone facing the same problem.

Change/Add DNS 4.2.2.2 and 8.8.8.8 in your PC/Laptop. That's it.
> 3 votes

# Answer
It is normal to disable Droidwall, for the reason that it blocks any incoming packets for port 67, to allow Wifi Tethering to work. Or quite simply, allow a custom script that matches the port number 67 which is dhcp to pass through.

FYI about Droidwall - the functionality and development efforts have been discontinued and the author sold it off to Avast.

The fork of Droidwall is called AFWall+ which can be found here and found on Google Play which is apparently better than the old Droidwall.

# Edit

Since Wifi-Tether operates on both TCP/UDP's port number 67 (for dhcp to work), here's the rules necessary:

```
$IPTABLES -A "droidwall-wifi" -p TCP --destination-port 67 -j RETURN
$IPTABLES -A "droidwall-wifi" -p UDP --destination-port 67 -j RETURN

```

This rule here enables adbWireless to work with DroidWall enabled.

```
$IPTABLES -A "droidwall-wifi" --destination "0.0.0.0" --destination-port 5555 -j RETURN

```

You also have to enable Wi-Fi access for "Apps running as root" for this to work.
> 2 votes

# Answer
In my case allowing user id 9999 (nobody) to connect through WiFi fixed the problem. So I added this line as a custom script to DroidWall:

```
$IPTABLES -A droidwall-wifi -j RETURN -m owner --uid-owner 9999

```
> 1 votes

# Answer
This solution should work for all firewalls, on root or no root. Initially I tried both kinds of devices and neither worked and after I found this info both worked. So I'm fairly sure this will work for you. To make it into a complete answer, as I'm sure it would be unclear how/where to change DNS for most users. Basically no change is done on the app side, just on the PC.

I used NoRoot Firewall (on unrooted device) and USB tethering wasn't working. I also used a rooted device running AFWall+ and though it has specific setting for "(tethering) - DHCP+DNS services" enabling it didn't make tethering work. So in the end I disabled it. In fact I tried only enabling Chrome browser on it, and none of the other things, and with this solution tethering still worked.

---

Having the phone connected and tethered, Go to Control Panel\Network and Internet\Network and Sharing Center, and click on the Local Area connection "Connections:"

On the next screen select Properties, then highlight "Internet Protocol Version 4" and press properties below.

Now in the lower portion you see Preferred and Alternative DNS server boxes. Enter 4.2.2.2 and 8.8.8.8 there (thanks @michaelsangma)
> 1 votes

---
Tags: wifi-tethering, firewall, dhcp
---


# Question
Title: Can I make Android require Fingerprint + PIN to unlock the screen?
I have a Galaxy S5 with a fingerprint reader. I'd like to be able to unlock my phone with a PIN or pattern unlock, but I also want to protect myself from shoulder-surfing.

Is there a way to require **both** a fingerprint **and** a PIN/pattern to unlock the phone? If the fingerprint fails to read correctly, then a much stronger password would be required to unlock.

This would let me scan my fingerprint and put in my PIN/pattern without worrying that someone might see my PIN and unlock my phone later. It also protects me more from governments that can require me to unlock my phone with my fingerprint, since a PIN would also be needed.

Is there an lockscreen app, XPosed module, or other method that can enable this two-factor-like authentication?

I have a rooted Galaxy S5 running Android 5.0.

# Answer
One solution is to use Tasker. Set up your phone to use a fingerprint as the standard unlock mechanism, with a strong password as the backup unlock (required if the fingerprint fails, or every time the phone reboots).

Next, create a Task named Screen Unlocked (or similar). In the Task, make it run the `Display`-\>`Lock` action. Set the Code to whatever pin you want. Check the `Remember Till Off` and `Full Screen` options, and make sure `Allow Cancel` is unchecked.

Next, create a Profile in Tasker for the Event of `Display Off`. When that profile is triggered, have it run the new Task you created. Add a second trigger to the same Profile to prevent this lock from happening if a call is in progress (using Invert). Otherwise, putting the phone to your head will turn off the display and cause the PIN lock (even though android knows it isn't actually locked and doesn't require tour fingerprint),and removing it from your head will show the PIN and block the call end and other buttons.

Finally, add a second Profile for the event Display Unlocked, and have it run the same Task. That way, if you do manually lock the phone while in a call with the power button (tripping the standard android fingerprint lock), it will properly show the PIN request on the screen again, without interfering with the end call buttons. Don't worry, having the lock show for display off and display unlocked will not, in fact, require you to type the pin twice.

With this setup, you unlock your phone with a fingerprint. When that is accepted, Tasker will prompt you for a PIN as well.

The reason you run this task on Screen Off instead of Screen Unlocked is that the Screen Unlocked creates a delay between unlocking the phone and showing the PIN request. By running the task on Screen Off, the PIN request is shown the instant you unlock with your fingerprint.

Note that this setup requires the PIN even if you use your backup password (if your fingerprint can't be read). However, I'm willing to live with that, since I rarely need to enter the master password anyway, and typing in a PIN afterwords is fine.

## Protect Tasker

Since the PIN is stored in plaintext in Tasker, you should probably setup a PIN to open Tasker. Tasker has this built-in to its preferences, so you can require a PIN to view and modify any Tasker profiles and settings. Otherwise, if you leave your phone unlocked, anyone could find your PIN by viewing the Tasker config. In any case, don't use the same PIN for your screen unlock as you do for any other service like ATM cards or voicemail.
> 3 votes

# Answer
Yes you can, you can install "APPLock" from the playstore (download the one with a "silver-coloured safe" icon). Then you can use PIN, Fingerprint and Pattern to unlock your phone or app
> 0 votes

# Answer
I use NOTE4 N910C. After upgrade to 6.0.1 such feature is avaliable by default. As I can see on http://www.sammobile.com, MM 6.0.1 is available for S5 so simply update Your phone via Odin
> -1 votes

---
Tags: lock-screens, samsung-galaxy-s-5, fingerprint
---


# Question
Title: Can I track a deactivated cell phone that is using a textnow app through wi-fi?
My 16 year old daughter ran away 6 days ago with her 23 year old boyfriend who also happens to be a convicted child molester. She is using a textnow app on a deactivated cell phone she got from one of her friends. I'm desperate to find her.

# Answer
It appears that TextNow can provide some potentially meaningful details to law enforcement. It is however unlikely they would comply with a request directly from you. Their info page is here: https://supportfree.textnow.com/hc/en-us/articles/204431979-Law-Enforcement-Subpoena-Requests

If you have not yet involved the police (and if you are in USA requested an Amber Alert to be issued) this would most definitely be the time to do so. You'll need the authorities to request this information anyway, and they will have their own ways of trying to locate them which may be far faster than getting info from TextNow.
> 0 votes

---
Tags: wi-fi, calls, gps-tracking
---


# Question
Title: High "unstability" of phone internal memory
Few days ago a problem appeared. With memory. I have phone with 8 GB internal storage and 64 GB external storage. I keep my photos, songs etc. on external storage of course. Applications are partially on internal and external memory. My phone is **Samsung Galaxy Grand Prime** powered by **Android 4.4.4 (KitKat).** **It has a root.** For a few months, free memory remained at the level of 700-600 MB. Not bad for Android. I know that the level of free memory may vary, but not as much as now. Yesterday the "diagrams of memory" began to jump on the gargantuan value. Only system memory remains the same. Used memory jumps from **~4,50 to almost 4,90 GB.** Various files....it's not worth talking. Every second value varies in the range from **43 MB** upwards. Several times the pointer took on unrealistic values such as an **increase to 700 MB** without free memory shrinking, another time memory decided to multiply magically so that the values of all the diagrams exceeded the total memory. Free memory jumped from 625 MB to 140 MB, next returned to ~600 MB and back to ~160 MB. Now it's varying in the range from 160 MB to 150 MB. Can I repair this without hard reset? Maybe it's a kind of memory leak and another bug.

PS. My phone doesn't slow down. And if it's necessary I can do hard reset.

# Answer
I have seen greatly inflated file sizes on the thumbnails storage file, which is a sparse file (in other words, it's not literally as large as it says it is--it's more like a reservation of maximum size). Deleting it always fixed my issues with space, but it gets rebuilt eventually.
> 0 votes

---
Tags: insufficient-memory, ram, system
---


# Question
Title: Questions about safety and reversibility of SD card partitioning.
In connection with my previous problem, I want to dedicate part of my memory card to the condition of the internal memory using the application Link2SD. I know that I should create a second partition "for the apps". So I have questions about the process of partitioning (to be sure that I won't break something, or I won't do something that I won't be able to reverse):

**1. To make the partitioning should I deallocate (remove) the main partition (G or another letter, NTFS logical), then create the first partition (G, Primary, FAT32), then create a second partition (Primary, ext2)?**

**2. Can I reverse the above process? By simply remove the two partitions and return to one big partition (G, NTFS logical)?**

**3. In the Android's filesystem, files from memory cards are available at the path /storage/extSdcard/. Will after partitioning the path will be still available or changed?**

**4. I have a strange path /storage/sdcard0/. For what it is responsible? Will the partitioning can change this folder?**

# Answer
Basically your approach is sound, with some minor adjustments I'd suggest:

1. You could do that. But it would be easier to simply *shrink* the existing partition. Using the right tools, that would even keep the data.
2. Of course you can, but you'd lose the data from one of the partitions: Simply remove one partition, and resize the remaining one to fill the entire card. But do NOT use NTFS :) It must be FAT then again, as it was before partitioning.
3. Depends on your device/ROM. If `/extSdcard` was, before repartitioning, the place you found the external card, after repartitioning you should find the first partition there. If not, simply use a terminal app (or `adb shell`) and issue the command `mount` (or, possibly easier, `df`) to list all mounted partitions and find where it went to. Should be the only one using FAT, so easy to tell ;)
4. That "strange path" points to your *internal* SD card. In case you wonder what then `/sdcard` is pointing to: to `/storage/sdcard0/` (it's a so-called symlink).
> 2 votes

# Answer
I can't speak to all of your questions, but please realize that any repartitioning is 100% destructive of the data. So, yes, you can break your single-partition SD card into two partitions, but the single-partition data will all be erased as part of the repartitioning. Again, if you choose to combine two partitions full of data back into one all of it will be erased. There is no non-destructive way to join them back or break them apart. While the partition changes are completely reversable the data on those partitions will be gone unless backed up elsewhere.

I wasn't sure if you were totally aware of that from your question, so I thought it best to make sure you understand that part of things.

As far as item #4, /storage/sdcard0 is your internal storage. It's not really an SD card at all, which can be a little confusing as to why they named it in that way.
> 1 votes

---
Tags: file-system, partitions
---


# Question
Title: Samsung Galaxy A5 screen has broken, want to retrieve data
My samsung galaxy A5 mobile is dropped and its screen has been broken though the hand set is ringing when some one calls my nomber but I am not able to receive it. Now I want my all media and whatsapp data back before going to give it to service center. I would be very thankful if anyone help me to provide solution. Thanks.

# Answer
> 1 votes
Perhaps it is achievable if the "USB Debugging" option is enabled on the phone and you authorized the computer for this USB Debugging purpose.

I know of 1 method which doesn't require you to touch your phone only if you have USB Debugging enabled:

> adb pull /sdcard/ %USERPROFILE%\Desktop\

this shall copy every file and directory from your sdcard to your Windows Desktop

Note: For internal memory you will have to check the internal memory folder, you can check it by the *`ls`* command in `/storeage/` where you should `cd`(change directory) to folders inside and check if it is your internal memory stored files.

There's another way to get a backup of your whatsapp app and whole system backup as well(system backup, not data files like whatsapp media, pictures and songs etc.) but it can only work if you are able to touch the bottom of the screen so that you can authorize for the backup, you can do so by `adb backup` and the steps are listed here :http://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351

# Answer
> 1 votes
Step 1: Install ADB on your PC. You can download it here: http://forum.xda-developers.com/showthread.php?t=2317790. The program will create a shortcut on your desktop that can then be used to open a command prompt.

Step 2: Once the command prompt is open enter the following code:

Adb shell

echo "persist.service.adb.enable=1" \>\>/system/build.prop

echo "persist.service.debuggable=1" \>\>/system/build.prop

echo "persist.sys.usb.config=mass\_storage,adb" \>\>/system/build.prop"

Step 3: Reboot.

Step 4: At this point, simply connect your Android device to your PC and the Android Control Screen will popup allowing you to control your device via your computer.

While this solution will work for some, it is best suited to those who love coding and who have already installed USB debugging on your phone. Is this you? If so – you’re in luck!

---
Tags: samsung-galaxy-a5
---


# Question
Title: How to make Android app always run in background in Huawei Honor 6X?
I am having Huawei Honor 6X in which if I open any app and minimize it, after 1 minute it automatically closes. For example, I want to download using ADM (Advance Download Manager) where I plan download to automatically start at night, but as soon as I minimize it, it closes.

How to fix this?

# Answer
For you to download on schedule, ADM requires a running service program. Make sure you do not close the service after you have enabled your scheduler.

You can do this by:

* Giving ADM a higher memory priority (so that it will not be killed when system memory is low)
* Whitelisting ADM in phone's power saving features, task killers or hibernation programs
* Enabling a persistent notification to keep the program's services running in the background. (Settings \>\> Notification Manager \>\> Always allow) See screenshot:

See: How to schedule downloads in Advance Download manager, and check if it works

Also keep it running in background through phone manager:

I had a similar issue with other apps automatically closing but this solved may problems. Hope it helps.
> 0 votes

---
Tags: downloading, background-process, huawei-honor-6
---


# Question
Title: Can PowerTutor app measure exact whole power consumption of device's GPU?
I'm developing face detection app using OpenCL for heterogeneous devices with CPU-GPU. My app uses CPU - GPU simultaneously, so I want to measure app power consumption, comparing only GPU version which most calculations are executed in GPU kernel.

I found PowerTutor app. It measures power consumption of each app. The PowerTutor app measures about utility of CPU, LCD, 3G, WiFi respectively and weighted average of power consumption.

Can PowerTutor app measures exact whole power consumption of devices which uses GPU?

# Answer
As already mentioned, Power Tutor doesn’t display power for the GPU. Power Tutor is a very cool app, but it's based on research that was done in 2011. It uses modelling to estimate power consumption. No actual power is displayed. Power Tutor is surprisingly accurate when it is run on the phone that was used to create the model, but that phone (the HTC Dream) was released back in 2008. According to Google Play, the Power Tutor app hasn't been updated since April of 2013.

On my Samsung Galaxy Note 3, Power Tutor only reports LCD and CPU power and both are very inaccurate. The actual power consumption of my device when idle is 528 mW. Power Tutor says it's 623mW to 818mW. That's an error of up to 55%. The per-rail estimates are off even more. On my device it shows the GPS uses up to 400mW. That's an order of magnitude off. It shows my audio power usage is around 350mW, which is also way too high. Power Tutor shows my screen uses a little under 600mW. That's too high. It shows the processor uses around 0-150mW. That's too low. On my device the per-rail WiFi doesn't work.

It's true that Android has power profiles, but those don’t appear to be accurate either. I can provide more details if anyone cares.

A better way to measure total system power is an app called Trepn Profiler. It doesn't estimate power. It reads the actual current and voltage from the power management IC and converts that to into power. Because it runs on target, that does make readings a little higher than they should be, but it’s a very useful tool for this who are lucky enough to have a device that reports accurate battery power.

If you have money to burn and you want to measure accurate per rail power of the CPU (Cores 0-3), CPU (Cores 4-7), Graphics (GPU), LCD Backlight, Front Camera, Rear Camera, System Memory (RAM), Internal Memory/SD Card, Wi-Fi/Bluetooth, Sensors and USB, you could get a Snapdragon MDP tablet from Intrinsyc. I don’t want to provide more details here because I know this isn’t a commercial forum. In the unlikely event that you are willing to share both versions of your app with me, I’d be happy to let you know what the power consumption is of each. You could also get a Monsoon Power Monitor and measure this for yourself.

**Disclosure**: I’m part of the team who produced Trepn Profiler. Trepn is free in Google Play. We’re working on a new app that will be released later this year that will also show modelled system power on the most popular mobile processors. Sorry for the blatant plug. I only mention this in case some of you would like to Beta test this app.
> 6 votes

# Answer
I know this is an old post, but if you are developing for APi level 21 and above you can use Google Batterystats and Battery Historian.

Look at the Android developer documentation
> 0 votes

---
Tags: gpu
---


title: Some Profiles on takser doesn't work

text:
# Question
Title: Some Profiles on takser doesn't work
I have 2 simple Tasker profiles. The notification says "No active profiles", but the first task (Keyboard Out) doesn't work. The second task (Call Outgoing) works well.

Root access has been granted, Accessibility is enabled and Administrator is active.

What could the problem be ?

Galaxy S5 With stock Android Marshmallow..

Click image for larger version

Thanks in advance

# Answer
There must be a missing action which links your Profile state to the Task,

also check if in your created Task, all parameters are accessible to the device,

(for example you forgot to choose the app that will be effected that trigger even - say you want keyboard out ttigger when you open Dictionary app, and you forget to include all parameters to enable that dictionary app or it may be that it no longer exist in the phone.
> 0 votes

---
Tags: tasker
---


# Question
Title: Easy Flashlight/Torch Toggle easily using tasker
I want to turn on the torch on the device by pressing the power button 3 times(or something convenient) and display a notification saying "Flashlight ON" and turn it off by simply swiping out(clearing) the notification.

I have achieved this by creating 2 macros in Macrodroid.

But I wanted to do the same exact thing with Tasker because obviously tasker can do a lot of things whereas macrodroid is limited to only a set of things and its not worth using both of them at the same time.

# Answer
> 1 votes
Here is a workaround you could use.

Create a Task to toggle torch ( alternatively get a TeslaLED plugin -it supports a lot of devices).

I am not sure if this is my device limitation but the Hardware state is only limited to media button **and not power button** but nevertheless I believe the outcome will be the same.

**Profile** State \>\> Hardware \>\> Media button (Check both held down and stop event)

**Tasks**

Task 1 (entrance) You can name it TorchlightCtrl or anything.

1. A1 Alert \>\> Torch
2. A2 Alert \>\> Flash (text: "Flashlight ON" Enabled Long: On)
3. A3 Alert \>\> Notify (e.g Torchlight Enabled)

Save and exit this Task

Create another task

Task 2 (exit)

1. A1: Alert \>\> Notify Cancel (title: Torchlight Enabled) Press back to exit
2. A2 Task \>\> Stop (Put the task created earlier -in this case TorchlightCtrl)

Explanation: Pressing the media button will trigger Task 1 (TorchlightCtrl) to flash the torch, and a persistent notification is displayed in the notification bar. Dismissing the notification will trigger Task 2 which stops Task 1, additionally turning off the trigger.

Unfortunately my device Camera light is not working so could not expiclitly test it, please give me feedback if it works or not, so I can further improve it. Cheers

---
Tags: tasker, camera-flash, macrodroid
---


# Question
Title: Stolen phone - does Android Device Manager's lock override the thief's password?
I'm currently trying it on another phone and it seems that as long as I have a pattern lock set up, the ADM lock screen shows up but the old pattern is requested instead of the remotely set password. The stolen phone had a simple swipe lock (Android 5.1) - if the thief set up a pattern/pin in the meanwhile is the ADM lock basically useless?

---

Okay, in my case the thief can definitely still use the phone - he receives WhatsApp messages and can read them eventhough I've set up the remote lock over 50 times. This is absolutely revolting - an utterly useless feature. I can guarantee he's not circumventing it another way - if they were even at the least bit technically savvy they would have wiped the phone, switched the Google account or at least disabled ADM long ago.

# Answer
> -1 votes
There might be a case if the Thief has formatted your phone to factory settings. Then in that case, ADM will be useless. Also, Hard resetting a phone is so easy, He was a thief, He would have done that till now...

---
Tags: lock-screens, android-device-manager, anti-theft
---


# Question
Title: Record video in QHD then reduce to FHD is the same thing of record in FHD
I have a Galaxy S7 Flat, and I use Google Photos Unlimited backup free (which means at max/reduce videos to Full HD).

So I was wondering if I record in Quad HD (4K) has the same quality of recording in Full HD since the beginning.

# Answer
Quad HD recording is superior to full HD as you can see from table

**Source**

But if Google photos is reducing it Full HD, then the quality will be *superior* to that of a video recorded in Full HD and uploaded based on Google Product forums

> Videos higher than 1080p will be resized to high-definition 1080p. A video with **1080p or less** will look close to the original.

(Emphasis Added)

In other words, if the quality of recording is **less than or equal to** 1080p, it will suffer compression losses, not if it is higher
> 1 votes

---
Tags: samsung-galaxy-s7, video-recording, google-photos
---


title: No audio out with headphones

text:
# Question
Title: No audio out with headphones
When I plug a headphone into my Nexus' audio port, the headphones simply don't play any sounds or music. The device seems to detect them, because the built-in sound output stops working. I tried it with another headphone and it didn't work either. There is no error log output.

It really sucks, because I can't hear any music.

How can I solve it?

(Galaxy Nexus with stock Jelly Bean)

# Answer
> 4 votes
I own an OG Droid and a Droid Bionic and both phones eventually had similar audio jack problems.

On one phone I found the issue to be a wad of dust crammed in the jack which I had to fish out with a \[enter your choice of small pointy tool\].

It could be a result of the internal contact points being pushed back from repeated tension. This would weaken the contact with the audio cable. In your particular case I don't think this is true however.

Other things you can try:

* Pull the audio cable in and out several times wiggling it and testing it. (Ideally you'd want to test it with something that plays audio continuously so you don't have to keep hitting play)
* Getting a different and potentially better quality audio cable to test with.
* You can also try resetting to factory default which may help if the problem is software related. (As long as you have a google account synced with your phone, all your apps will be automatically re-downloaded)
* If all else fails, take it back to the phone manufacturer or your phone service provider. They should be able to fix it for a reasonable price.
* There is the option of trying to fix it yourself but that isn't recommended if you are uncomfortable working with small/delicate electronics, not to mention voiding your warranty.

# Answer
> 0 votes
I also had this problem. I thought something was wrong. As soon as I inserted the headphone jack the sound got cut off and there was no sound coming thru the headphones. I tried pressing the volume button and found that it was turned all the way down by default. Now there is no problem

# Answer
> 0 votes
My fix was to first play the media/music like first put a song or first open a game , when the sound is playing plug in the headphones or earphones

# Answer
> -1 votes
I faced a similar issue. Tried increasing, decreasing volume.. removed, put back headphones... nothing worked.. So.. did a restart of Samsung S7 Edge and it started working...

---
Tags: audio, samsung-galaxy-nexus, headphone-jack
---


# Question
Title: How to recover deleted words in samsung mobile
I am using Samsung s duos 2 7582 mobile. Accidentally I deleted few words like ***to***, ***this*** etc. I want to recover those words. Kindly help how to recover these words.

# Answer
Please go the following way to add a new word:

* Settings
* Language and keyboard
* User dictionary
* Press the menu button
Select *Add*
* Type in the new word
Select *OK.*

These steps are intended for the stock JellyBean ROM which Galaxy S7582 should have been equipped with, for other ROMs steps may be different.
If User Dictionary applet is not available in Settings, you can try to use QuickShortcutMaker app to access it (manual here)
> 1 votes

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


# Question
Title: Force Portrait Screen Rotation in MS Remote Desktop App
I'm using Microsoft's Remote Desktop Client v8.0.11.25133 to connect to a Windows Server 2008 R2 Remote Desktop Session Host (Terminal) Server. I want to force the RDP session to display in **Portrait** mode only, regardless of the orientation of my Android phone. My RDP session is established in Landscape mode and nothing I have done changes this.

What I've tried:

* Disabling (and enabling) auto-rotation in Android Settings. Despite this setting, the RDP session *never* displays in Portrait mode, even if I rotate the phone
* Searched the Remote Desktop Client app for settings to control rotation
* Searched the Internet for appropriate terms. I found this post in which a commenter complains:

> The MS-ified version \[of the RDP app\] locks you into portrait mode.

So I am hopeful this is possible.

I am using a Cubot X6 phone running Android v4.2.2

# Answer
The Microsoft RDP android app didn't support portrait mode... but with your input on https://remotedesktop.uservoice.com/forums/272085-remote-desktop-for-android/suggestions/6851819-portrait-mode it finally got implemented:

> Our latest update to the app supports connecting in portrait mode. The remote session adapts to your device orientation dynamically. You will get the best experience using Windows 8.1 and newer.
> 1 votes

# Answer
The solution is Ericom AccessToGo RDP have both portrait full screen mode and barcode scan option
> -1 votes

# Answer
There is the Microsoft Remote Desktop Beta app in the play store which supports both portrait mode and auto rotation.
> -1 votes

---
Tags: 4.2-jelly-bean, remote-access, orientation
---


# Question
Title: Google Maps shows constantly rotating direction despite other compass apps working correctly
Google Maps reports rotating direction (0.5 rotations / minute) with stationary phone. The compass is calibrated and works correctly in compass-specific apps.

https://www.youtube.com/watch?v=x6uOI5g8xbc

**Steps to replicate:**

After booting into Safe Mode and calibrating the compass via rapid figure-8's (or slow, or rotations on table), the direction in Google Maps slowly rotates.

EDIT: I did a factory reset and, before logging in, Google Maps still has this error. I think it may be a hardware bug at this point.

**Apps affected:**

* Google Maps (Safe Mode and normal mode)
* GPS Status (only available in normal mode)

**Apps not affected:**

**Troubleshooting steps I've tried:**

* Calibrating compass

+ Rebooting in Safe Mode
    + Disabling/re-enabling Google Maps (includes data/cache deletion)

**Specs:**

* Nexus 5X
* Android 6.0.1
* Google Maps 9.34.1

# Answer
Same issue here on my Galaxy S-6 Edge Plus. The blue dot/shadow spins rapidly. Master reset did not fix. Verizon actually replaced the phone and the new phone acts up as well. I went to Best Buy Samsung help desk and they mentioned an issue that is going to be corrected (soon) as an update to Google Maps. I hope this rapid spinning doesn't mess up any of the sensors on the new phone...
> -1 votes

---
Tags: google-maps, sensors, nexus-5x, compass
---


# Question
Title: Acer A3-A40 Fastboot erase system, OEM not unlocked, not rooted, cannot find stock rom
I erased the system with fasboot, now I cannot find the stock rom for it. What can I do ? There is no root and it is not OEM unlocked.

# Answer
> 0 votes
The easieast way if your stock rom isn't available on the internet is to try multiple system.img files from different brands which have the same specs with your device (same SoC, same TP...).

Good luck!

---
Tags: fastboot
---


# Question
Title: HTC U Play - No root access after flashing insecure boot image
This is my first post here and I hope I am posting it in the right place.

I have modified stock boot image following a few guides on XDA. Now running "id" command in adb shell returns:

```
root@htc_alpine_uhl:/ # id
id
uid=0(root) gid=0(root) groups=0(root) context=u:r:shell:s0

```

But I am unable to mount /system as rw or even execute simple tasks like "ls /data/media/0" etc.

I am trying to do all this because there is no custom recovery or any other root process available for this device until now.

Any kind of help will be greatly appreciated. I am new with this stuff so please bear with me.

Thanks for reading.

# Answer
The correct way to root your phone is to flash a custom recovery then install SuperSU zip, modding the boot will not give you root access until there is a real su binary on the system

Have you checked if su command works on your phone or not?
> 0 votes

---
Tags: 6.0-marshmallow, root-access
---


title: Connectify doesn't work with Android

text:
# Question
Title: Connectify doesn't work with Android
I use Connectify Hotspot Pro to create Wi-Fi network. However, my Android phone is unable to display this Wi-Fi hotspot at all. What do I need to do to make it work?

# Answer
> 1 votes
While it is an understatement to say that Connectify doesn't work on android, the software developers claim that this is due to a bug in android, which occasionally causes the device not to get assigned an IP address, causing the device to be stuck at "Obtaining IP address" or constantly dropping connections

Fortunately there is a workaround which involves changing from DHCP to Static address option.

Here are the steps to fix it:

1. Go to Settings and tap on Wi-Fi.
2. Turn on the Wi-Fi and connect to your Connectify hotspot.
3. Long press on the connected network and select Modify Network

5. Join the Connectify Hotspot.
6. To find the IP address of your hotspot, hover mouse over the name of the hotspot, it will appear in a tooltip bubble.
7. Here it is `192.168.50.1` (Use this as the Gateway) Proceed with modifying static IP address chose `192.168.50.xxx` where `xxx` is any number between `2` and `255`.

Screenshot (click image for larger variant)

7. Select DNS you wish to use e.g `8.8.8.8` (leave Network Prefix as it is) and save.

This should solve the connection drops obtaining IP address error.

*(Disclaimer: I am **not** affiliated with Connectify brand, only that I have been a regular user and thought to share on how to resolve these errors)*

Credits: How to fix when Android is stuck "Obtaining IP Address..." ( and llustrations).

---
Tags: networking, wifi-tethering, connectify
---


# Question
Title: Any screencasting apps thatll let me get audio only?
who has a method for me to record the audio which is playing to an mp3 or whatever? i just wanna bounce these sounds im listening to to another program but im not sure how to demux videos and its hard to use keywords to find a screen casting app that does what im looking for. thanks! hey also... if anyone has details on some android audio interface techniques to record line out 3.5mm to like some kind of usb otg connected interface, i would really appreciate this.

# Answer
> 0 votes
https://play.google.com/store/apps/details?id=com.nll.asr

ASR works good for me. Hope you get what you needed. It can record audio from apps running in background.

---
Tags: audio
---