title: How to delete one's region in WeChat?

text:
# Question
Title: How to delete one's region in WeChat?
In the Android WeChat messaging app, it is possible to set up a *region* in one's account settings (*Me* -\> tap user name -\> *Region*). This region setting is then shown to all contacts in one's profile.

However, once that is done, there does not appear to be an obvious way to unset the region again.

**I would like to remove my *region* setting from my account. How can I do that?**

# Answer
I am a Chinese user and I'm *extremely* sure that:

You **cannot unset** your Region settings in WeChat. You **can only change** it by repeating the procedure in which you set it.

**Edit:** From Chinese BBSs people claim that they succeeded by using an exploit of incompatibility between older and newer versions of WeChat. Their procedure is

1. Install an old enough version of WeChat (They picked 4.2)
2. Change your region settings to anything else
3. Install a newer version of WeChat (They picked 5.2)
4. Due to incompatibility the region is blank

Do note that the posts I've found are in 2015 and even 2014. I'm note sure if WeChat's server still accepts versions other than 6.x
> 1 votes

# Answer
1. Log in to your Wechat.
2. Then, press home button.
3. Go to settings of ur phone.
4. Find wechat and uninstall.
5. Once done,install wechat.

**PS** : *Gender* and *Region* fields will be blank.
> -1 votes

# Answer
To change it:

Me \> My Profile (click on the your profile photo) \> More \> Region
> -2 votes

---
Tags: wechat
---


title: Open unlinked URL in corresponding app

text:
# Question
Title: Open unlinked URL in corresponding app
How to open a link in an app if it's not available as a link but as a text, and it can't be opened in the app itself? Is there e.g. some app that can get link pasted from a clipboard and open it?

Example: I have a link to a YouTube video on a web page *as a text* and want to open it in YouTube app.

# Answer
> 1 votes
Any regular web browser including the default ROM one should be able to do this natively, provided you have said app set as default for that type of link. Unless I misunderstand what you mean.

Just copy the link text from wherever and paste it in the address bar of a (new) tab. If a default application has been set for this type of link it should redirect it there automatically.

---
Tags: applications
---


title: BlueStacks Apps

text:
# Question
Title: BlueStacks Apps
so I have been playing on Bluestacks for a little over a year now and I had to update it; but when I did I encountered a bug or something; just I just kept getting the load screen I reported it a few times. ( I could still go to settings but that was it )

Eventually I backed everything up (all my data and apps) and uninstalled it, then reinstalled but when I reinstalled it auto went to Bluestacks v3.

I really don't mind using whatever Bluestacks they bring out BUT I can not find out how to "restore" my backup onto the new Bluestacks

how do I get my apps and data from those apps back; I have looked this up multiple places but most seem to be directed at the older verisons of Bluestacks

please help! I bought (yes paid real money) for some of these apps

over 400$ worth (over time) ;v;

# Answer
* **Starting with an assumption that you have backed up the data via copying BlueStacks and BlueStacksSetup folder from C:/ProgramData.**

Some steps you have to follow:

1. Enable Hidden files in Windows 7/8/8.1/10, see here.
2. Uninstall any BlueStacks version if installed without deleting the data or copy the backed up data in any other drive/folder.
3. After Installation, go to C:/ProgramData and Copy those backed up folders "BlueStacks and BlueStacksSetup"
4. Then install BlueStacks (Any version you want) and it will
load/restore all your data/apps.

Note that **"C"** here is your windows drive.

* **Restoring Backup made using Bluestack itself**

1. Copy UserData folder to C:/ProgramData/BlueStacks and overwrite existing.
2. Restart BlueStacks

Done.
**Note** \- If there's no BlueStacks folder in ProgramData, create one.
> 0 votes

---
Tags: applications, backup, restore, bluestacks
---


# Question
Title: Asus Zenfone 2 screen broken and blacked out, need to retrieve files.
I own a Zenfone 2. My phone's screen has gone kaput completely. I just see lines in multiple hues but cannot see the unlock screen or anything beyond that. I need to recover files, however:

* No USB debugging turned on, at least I don't remember it being turned on.
* The screen is locked using a pattern and not a number.
* Can't see anything, can't even take calls. I just know if I get a call because the phone vibrates.

What are my options? Really need a step by step guide.

# Answer
As the screen is completely damaged you can never use it again, right? Forgetting for a second about the files, you have two options, keep it somewhere at home, or sell it for parts. But you can't sell it for parts because you have files on it that you can't delete. So at this point, it is a total loss, right?

So here's what you can do to get all your files *(and some of your money)* back.

1. Repair the phone (by paying X amount) *if the files are sensitive, keep in mind this procedure is relatively quick, so the tech can do it right in front of you*
2. Retrieve the files easily once the phone is working.
3. Sell the phone to get all the money back you spent on the screen plus more. (Or keep the phone to avoid buying another one.)

**So in the end, you will have all your files + extra money.**

You might be looking for a technical solution, but sometimes a practical one is far better.
> 0 votes

---
Tags: lock-screens, screen, data-recovery
---


# Question
Title: Lock Screen With Ads on Samsung Galaxy S5 mini
i've got lock screen, I do not know how I got into the phone, and I do not even know how to fix it, is it a virus? please answer, phone isn't rooted

# Answer
> 0 votes
Quickest and the most painful way would be to do a factory reset. Sure, you can try different malware removal options, but that would probably take a lot longer than to just re-setup your phone. Connect your phone to your PC, take you important files that you need, scan them with anti-malware, factory reset your phone, add files back in and check whats up.

In theory, if you really want to avoid resetting, you can try the following. Disconnect your phone from the internet if possible, if not, just turn off your router for a little bit, restart your phone, see if the screen-lock is there. See if you can access running processes, most screen-locks are pretty dumb and will still allow you to get to plenty of functions.

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


title: How to open locked Samsung Galaxy S5?

text:
# Question
Title: How to open locked Samsung Galaxy S5?
Can anybody help me how to open locked Samsung Galaxy? I do not know, I had a fingerprint showing up and the alternative password. I had a keyboard showing numbers and alphabets. But now, it's totally different. it shows only numbers the problem is my password has alphabets?

# Answer
> 0 votes
You can crack your screen password with this app of **Dr. Fone**. Visit this Link and download the app that matches with your **Device Model**. **You don't need to root your device or enable USB Debugging, neither any custom ROM**. Just download the app of your device's model and connect it to PC then do whatever you want. Also you don't need to backup as it won't wipe your data.

---
Tags: applications, google-play-store, samsung, settings, security
---


# Question
Title: Pattern Lock can't be disabled through settings
my girlfriend set up a pattern lock and we're unable to remove the pattern now. The Settings show the disabled Option and the text: "Admin, Guideline or login data prevent this". So I disabled all device admins, deleted all VPNs, removed all Login Data and found out that this helped nothing. The device is a HUAWEI P8 Lite (no root/no bootloader enabled) running on Marshmallow. Does anyone have an idea how to resolve this problem?

# Answer
If you have locked it through third-party app then try this. If there is *Advanced Protection* enabled on your pattern locking app, then you you need to deactivate the Advance Protection. You can do this by going to Settings \>Security \>Device Administrator \>Uncheck the app. After this disable/force stop/uninstall the app. If you have put pattern on settings too then Goto SafeMode. Google it

> Goto SafeMode \[Your device brand\] \[Your device model\]

After going into SafeMode do the above steps and after that restart your phone. Hope it will help.
> -1 votes

---
Tags: 6.0-marshmallow, huawei
---


# Question
Title: How to get root access for Android Emulator running Android 7.0?
I am trying to get root access to the Android Emulator running Android 7.0. I found a nice description at the end of this thread: https://stackoverflow.com/questions/5095234/how-to-get-root-access-on-android-emulator However it doesn't work.

`adb root` does not give me root access.

The following `adb remount` returns: `Not running as root. Try "adb root" first.`

Help is appreciated!

Thank you!

# Answer
> 1 votes
The issue is because you are using an `adb server version` not matching the emulator version (client). In other words the adb version on your system is different from the adb version on the android sdk platform-tools.

So try this:

* Navigate to the platform tools folder (`%USERPROFILE%\AppData\Android\Android-sdk\Platform tools\`)
* Open command-prompt (or teminal) by right click + shift
* Disconnect any USB cables and close other instances of emulator devices.
* Now try `adb devices` and make sure it lists the emulator device and is not blank.

*Note: If this fails first run `adb kill-server`*

# Answer
> 0 votes
You can install Genymotion emulator and install Marshmallow or N, then you can have root access in default.

---
Tags: root-access
---


# Question
Title: How to show screen recording permission prompt again?
Android asks for permission before an app records screen as following (a standard Android feature, not a part of the app):

After I select "Don't show again", this prompt will not show up as expected. How can I bring it back for this app without uninstalling and reinstalling it?

I have checked App permissions, but it is not there. I have also deleted the app's cache to no avail.

**\[Edit\] 2016-07-08** The following screenshot shows all the permissions (no screen record/capture permission):

The following screenshot shows the permissions of the app:

# Answer
it seems there is no way to do that without uninstalling app or restarting permissions Android Developer

but if you want to restart the permissions Go to `Application Manager` -\> `App Permissions` -\> `Requested Permission` -\> turn it off / on for your program .
> 1 votes

# Answer
Clear app data to remove granted permissions of the screen recording app.
> 1 votes

# Answer
click image for larger variant

On the bottom right is where you go to Show System Processes. I came here looking for the answer and ended up figuring it out so figured I'd post the right way since I had the same problem and was initially getting the same results until doing this.
> 1 votes

# Answer
You need to reinstall this app after uninstalling it from your device and you will start seeing this permission prompt again. I tried this on my Android device running Marshmallow 6.0.1 and it did the job.
> 0 votes

# Answer
I Found the screen recorder permissions after tapping on the menu icon at the bottom of each function's Permission page. In other words, I opened the permissions list for Storage, tapped on the menu icon, tapped on the show system link that came up and found the video clip recorder app towards the bottom of the list, then finally disabled it for Storage. I then repeated the same process for Microphone and Phone. Cheers. Marco
> 0 votes

---
Tags: permissions, video-recording
---


# Question
Title: Why is RAM usage different when viewing running services and cached processes
After experiencing several out-of-memory restarts, I decided to check which applications were consuming my phone's resources.

Going to **Settings** \> **Developer Options** \> **Running Services**, I found that by switching between **Running Services** and **Cached Processes**, the RAM usage is totally different as can be seen in the pictures below

*RAM used by running services*

*RAM used by cached processes*

What is the cause of this disparity in the values and which of them should I use to check for memory-hogging apps?

# Answer
Because the dark bar, light bar and white bar stand for *totally* different things.

In Picture 1, the dark bar means "RAM used by the operating system", the light bar means "RAM used by user apps" and the white bar means **"RAM available for use"** (not actually "free").

In Picture 2, the dark bar means "RAM occupied by processed", the light bar means "RAM used for caching apps (for faster startup)" (can be freed for use) and the white bar means **"totally unused RAM / free RAM"**.

That's why the size of "Free" in picture 1 roughly equals the size of both "Cached" and "Free" in picture 2.
> 2 votes

---
Tags: 6.0-marshmallow, ram
---


# Question
Title: Is there a phone number I can use to test sending a text message that fails each time?
I am wondering whether I could test my application by sending a text message to a phone number that will always fail.

My idea is to see that my application behaves as expected when the sending of a text message fails. So I was hoping that some phone number could be considered invalid by the SMS system and using that number get a *failed* reply from the `sendTextMessage` function.

That way I can relay that error to the user. Having such a bad phone number would be cleaner than having a hack in the application since the hack could end up being a bug.

# Answer
> 0 votes
I've tried this and it's working. This is related to changing the Message centre number. Here's what you have to do:

1. Go to default Messaging app on your phone.
2. Open settings (generally, the 3-dots button).
3. Click on SIM 1 or SIM 2 SMS Center.

* In Lollipop, Settings \> Text Message (SMS) \> SMS Service Center \>
    Your SIM.
    * In nougat, Settings \> Advanced \> SIM 1/SIM 2 SMS Center.
4. First take a screenshot or note the default number entered and then change it to any incomplete random number.
5. Save it by clicking the Tick on Top-right corner and now text message to any number will fail. Use your numbers to check whether message is sending or not.

Whenever you want to send text message, just change the number to default.

---
Tags: sms, system-error
---


# Question
Title: From which applications do these "S" symbol and balloon like notifications respectively belong to?
Please help me with the (S) looking icon and the hot air balloon icon. What apps are they. Thanks

# Answer
> 2 votes
The S shaped icon is Qihoo 360 Mobile Security application.

Here is the source to confirm : Qihoo 360 Security - Antivirus Boost (for Android)

The grey bubble like or hot air balloon notification is not very clear, but while I couldn't deduce from which app it comes from, I suspect its from a live wallpaper of some sort. Check related settings to confirm.

---
Tags: app-icons
---


# Question
Title: control charging for Samsung Galaxy S3 that is in charger 24/7
I have Samsung Galaxy S3 in the charger 24/7, so it's not good for battery. How can I set charging so that the phone spends battery to say 30% before charging it to full?

# Answer
If your device is not rooted, it's not possible

If it's rooted, it's possible but you have to get your hands dirty, since ways below target to cut off battery charging at upper limit and not while discharging to a lower limit , as you want
> 0 votes

---
Tags: samsung, charging
---


title: exFat on GT-9082

text:
# Question
Title: exFat on GT-9082
Is it possible to use a sdcard with the `exFat` on the Galaxy Grand Duos GT-I9082 ? Is it possible without a custom ROM ?

I am running Jellybean 4.2.2 on the stock ROM. I can upgrade to kikat on a non-stock ROM.

# Answer
Yes, if you upgrade to KitKat ( that's the minimum Android version that supports exfat as explained here Since which Android version is exFat supported? )

Your phone supports SDXC as listed here ( presumably on KitKat or higher )

SDXC is backward compatible to exfat as mentioned here so it should support, unless there is something I am missing

You can also use this app exfat checker to verify if your current configuration supports exfat
> 1 votes

---
Tags: samsung-galaxy-grand, exfat
---


# Question
Title: You device does not support VoIP call recording
I own a stock OnePlus 3 device which is on android 7.1.1. I've not changed anything in the device! Everything is stock. I recently install an app called CUBE Acr to record viber and messenger calls. But when I install the application it says

> Sorry but your device does not support VoIP apps call recording ( Skype, Whatspp, Etc ). This feature will be disabled. You can still record phone calls.

How can I turn on this feature from the device itself? is there anyting I should do to device settings in order to get that feature working?

# Answer
I don't think you can change it by settings. If you see the list of compatible devices listed in the app description, you will find that your device *does not figure* . Only one plus one from your OEM is compatible

Also if you read app reviews, on other devices which are not compatible, developer says it's due to *hardware or firmware* incompatibility
> 4 votes

---
Tags: calls, 7.0-nougat, voip, audio-recording
---


title: Clearing Saved Logins

text:
# Question
Title: Clearing Saved Logins
I have a Nexus 5x that is proving quite troublesome (overheating/rebooting) and needs to be sent back to supplier/manufacturer. Before I send it I would like to removed saved logins and passwords. These are for the Gmail account linked to the phone and a number of professional websites - there are confidentiality issues. Can this be done or would I be best just changing the passwords from another system?

# Answer
You can do a simple factory data reset. That's a good enough bet.

Additionally, even if you don't reset it manually, it'll likely be reset by the repair shop.
> 1 votes

---
Tags: gmail, password
---


# Question
Title: How do I unlock the bootloader on an LG K120 (K4 LTE 2016)?
I got a used LG K4 off eBay and I'm looking to flash a Marshmallow ROM. I tried downloading the SuperSu ZIP file and booting into recovery, but the only option was factory reset.

I rebooted and tried Kingroot, because you don't need to boot into recovery for it to work. It didn't work, it just said 'Root failed'.

I did some research and found out that you need to unlock the bootloader. I didn't know this because on my previous phone the bootloader was already unlocked. I searched on how to unlock it on my device but all the suggestions just told me to boot into recovery.

Is there a good way to manually unlock the bootloader? I have a raspberry pi 3 and my mother has a Windows 10 laptop, so either can work. Thanks!

# Answer
LG has agreed to provide bootloader unlocks for a certain few models. Here is the official LG site for unlocking bootloader.
> 0 votes

---
Tags: lg, bootloader-lock
---


title: Wifi Direct not working on LG-G4

text:
# Question
Title: Wifi Direct not working on LG-G4
I can turn on Wifi Direct on my LG G4, and I can connect to another phone. There is even a Wifi Direct icon on the notification bar. However, if I try to share something, I can not see it in the sharing options.

Also, if I try to share the other way around, the G4 never receives the file, not even a confirmation popup comes up.

The other device is a Samsung S7.

# Answer
> 1 votes
It seems that manufacturers are now making Wi-Fi direct to be **compatible with same brands only**.

Quoting a support chat concerning this issue, it was indeed the case, according to Samsung support:

> Wi-Fi direct only works between same manufacture phones. I am afraid it does not work with LG or any other brand.

One thing to note:

> Wi-Fi direct is a protocol, but you still have to have an app to use it. Samsung has S Beam and LG has SmartShare as well, but S beam only works with Samsung devices and SmartShare only works LG devices.

This is by design, and not LG G4 device specifically, you may still manage to connect but won't send any files like you noted, perhaps old smartphones still support cross brands functionality.

A proposed workaround is using 3rd party applications like Superbeam from playstore.

Reference

---
Tags: wifi-direct
---


title: Google Play Store downloads won't start

text:
# Question
Title: Google Play Store downloads won't start
I ran a speed test and I'm getting a full 4Mb/s. However, when trying to download an app, it's stuck on the indeterminate progress"Downloading" bar. 20 mins later it gives me an error saying it couldn't be installed. It's not just one app, it's EVERYTHING I try to download.

# Answer
> 1 votes
You could try the following steps to troubleshoot the issue:

1. Ensure components used by Playstore are not disabled

* Check if download manager, Google play services or Google services framework is not disabled or frozen by package disabler apps.
    * Freezing/ or disabling such can result in failed downloads.
    * Re-enable them as necessary

---

2. Removing and re-adding Google account

* Sometimes perfoming this this step acts as a way of "refreshing" Google Apps including Playstore and may fix failed downloads.

---

3. Uninstalling Playstore updates.

* You can try removing Playstore updates and then update to latest version which can solve the issue, as a certain version can have bugs. Do this:

> Reinstall Play Store updates
>
> 1. Open your device's main Settings app.
> 2. Touch Apps or Application manager (depending on your device, this may be different).
> 3. Touch Google Play Store \> Uninstall updates .
> 4. When prompted to change the Play Store app back to the factory version, touch OK.
> 5. Open the Google Play Store app Google Play .
> 6. Go back to your device's home screen. As long as you have a strong Internet connection (Wi-Fi or mobile data), your Play Store app will update to the latest version within a few minutes.

---

4. Clearing Playstore data

* You can restore Google Playstore to default by clearing its data, which can hopefully solve the issue of failed downloadsn

> Clear cache and data
>
> 1. Open your device's main Settings app.
> 2. Touch Apps or Application manager (depending on your device, this may be different).
> 3. Touch Google Play Store \> Clear cache \> Clear data .

---

Source: Google Playstore Help - Play Store won't load or download apps

---
Tags: google-play-store, downloading, google-play-services, google-apps, download-manager
---


# Question
Title: What does `adb shell dpm set-device-owner` do?
So I have been looking a lot into how I can save some battery life on my Samsung Galaxy S8+ (not that it is bad by any means) and so I've been trying and looking at a lot of different apps. Among these are Greenify, Island, Tasker+Package disabler, and Ice Box. And especially Ice Box has caught my eye.

But there is something about, how Ice Box is set up that I don't understand. If the device is not rooted (which mine isn't), you'll need to run the following in ADB to make it work: `adb shell dpm set-device-owner com.catchingnow.icebox/.receiver.DPMReceiver`.

I don't know a lot about shell commands, but as far as I understand this will set the App as device admin/owner (is there a difference?)? But this command for some reason also require you to remove all account when run, otherwise, it won't work.. - BUT Apps like Island also require device admin? But that can be set right on the device without ADB?

What is the difference and what exactly does that shell command do?

# Answer
> 3 votes
Google has noted here:

> A device owner is *a specialized type of device administrator* that has the additional ability to create and remove secondary users and to configure global settings on the device. \[It can be used\] to take fine-grain control of the configuration, security, and apps on managed devices. **A device can have only one active device owner at a time**.

<sub>(Emphasis mine)</sub>

So now you know why all other accounts have to be removed for Ice Box but not for other apps. You can add those accounts later, after making that app a device owner.

Also, if memory serves correct, once you set an app as a device owner I don't think you can remove that app. You would have to factory reset the device or use root access to wipe it out.

---
Tags: adb, shell
---


# Question
Title: How to stop receiving text messages in Outlook
When a text message comes in, the stock email app throws a copy into my Exchange email accounts that are on the phone. I want to turn this feature off but cannot find a setting for it anywhere. I have a Galaxy S6

# Answer
> 3 votes
On the new Samsung Galaxy S7 - You must delete the account receiving the text messages and then reinstall it. During new account set up is the only time you will see the option of whether to sync SMS. It does not appear anywhere else once you leave the initial set up screen. Once the account is installed, you will see options for syncing email, contacts, calendar, tasks - but not SMS on the Galaxy S7.

# Answer
> 2 votes
To stop this from happening you simply need to disable the `Sync SMS` feature on your Android phone which is enabled by default.

To disable the Sync SMS feature:

1. Open the Email Account Options settings
2. Disable the Sync SMS feature

# Answer
> 1 votes
My Galaxy S6 Edge, Android version 5.1.1 has a slightly different process from Lucky's answer:

E-mail → Inbox → More → Settings → select e-mail account → deselect Sync Messages

Interestingly I have 3 e-mail accounts on my phone but only the most recent addition (associated with Office 365) has the option for syncing SMS messages.

# Answer
> 1 votes
open email app --\>settings ---\> click on the account you want to remove the sms ---\> scroll down and deselect sync messages

# Answer
> 0 votes
See the answers from Lucky and ranyd. Try them, or similar techniques for your specific email, first (before the solution provided by Sharon) since it worked for me for my MS Exchange email. As it turns out, the MS Exchange connected email was the only email relaying my text messages (which I didn't want because I use it for 2-factor authentication and it adds confusion when I respond to a text via my email).

# Answer
> 0 votes
For the Samsung Galaxy S8+, click on your email icon, then the triple lines in upper left hand corner, then the settings gear in upper right, then touch your email address at the top, then scroll to bottom & make sure the Sync Messages is not on.

---
Tags: sms, exchange, outlook, samsung-galaxy-s-6
---


title: CM12.1 audio won't output to earphone

text:
# Question
Title: CM12.1 audio won't output to earphone
I flashed CM12.1(unofficial,Android5.1.1) yesterday.Then I flashed SuperSU.

But whatever player I used,Music will only output to speaker.

I want to use my earphone.(BTW,Earphone is Okay,Android4.4 can use it)

# Answer
I'm facing the same issue. I tried a trick to make its work but you have to do this every time you connect your earphone, first connect your earphone Open the fm radio and switch to speaker output and again to earphone. Thats it
> 1 votes

# Answer
Try following methods and check if it works:

1.Factory reset

```
 -Settings-->Backup & restore--> Factory data reset.

```

2.Reflash CM12.1 ROM.

```
 -Boot into Recovery and install zip from sdcard.

```

If it still doesn't works then it must be a bug in that particular build. All you can do is wait for next release or switch to another ROM.
> 0 votes

---
Tags: cyanogenmod, audio, earphone
---


title: CamScanner A4 vs Letter pdf?

text:
# Question
Title: CamScanner A4 vs Letter pdf?
After I scan a document with the app CamScanner, how do I export it to a letter-sized pdf? When I share to my dropbox as pdf, it uses A4 dimensions and I can't figure out where the setting for this is.

# Answer
> 1 votes
It's clumsy to find this setting but you need to add a page to the existing document. On the 3 dots menu you will find PDF settings → PDF page size with options as below. These settings are remembered for all documents, so you would need to change it if you want a diffrent size

---
Tags: applications, document-scanner
---


# Question
Title: Orbot transparent proxy requires enabling manually
My phone is HTC One M8 on Marshmallow stock ROM, rooted with Magisk.

I've installed Orbot and noticed it doesn't work in transparent proxying mode when proxying all apps. It requires manual proxy settings in Wi-Fi or mobile network.

If I proxy only selected apps, it works.

I suspect it's due to DNS requests being blocked by iptables rules set by Orbot. They're trying to be sent directly, not respecting Orbot's proxy.

How can I verify it and possibly fix it?

# Answer
> 0 votes
I suspect the issue is due to ip tables enforced by Orbot (it tends to use IP tables bundled with the application and not default ip tables)

You can try the following workaround;

* Go to Settings menu, check **use default iptables** and uncheck (or leave unchecked) the option to allowed it for tethering i.e **Tor tethering**. If the tethering option is off and the use default iptables option is on, it should work.
* Make sure to enable **Request Root Access**, **Transparent Proxying** and **Tor Everything**.

> Tor's transparent proxy runs on port 9040 by default and forces apps to proxy through it, so you can tell whether or not it is working by using Orbot's restrictive hosts policy to allow/deny traffic and see how the app behaves.

You also use Orbot's VPN service to bypass filters and firewalls and see if you do "transparent proxy" for all apps:

---
Tags: dns, tor, systemless-root, orbot
---


title: Change the date and time of one app

text:
# Question
Title: Change the date and time of one app
I have installed a 7 day trial app. Changing the date and time in the phone can "evade" the version and trial and continue to use it. But this privates the fact that I've busted in every app. I wanted to know if it was possible to change the date of a single app even by changing the source code of 'App. I hope someone helps me and thank you in advance

# Answer
AFAIK this is possible only if you have Xposed framework (hooking another app).

Take a look at Per App Hacking. Its description reads

> 5. Allow set a fake time to fake an app to a specific time just like time machine. Time format is YYYY-MM-DD HH:MI
> 4 votes

---
Tags: applications
---


title: Using php module from termux as root?

text:
# Question
Title: Using php module from termux as root?
I'm writing a anti-thief on a clean shell using termux. I turned on the backlight with the volume buttons and I want to send photos of "thief" to myself in correspondence in the social network VKontakte. I listen to pressing the power button when the screen is off and secretly take photo by front and back camera and screenshot. Next I want to send photos in VK using PHP. Since I need to listen to the clicks I use `getevent` command.

```
script -q -c 'getevent /dev/input/event5' /dev/null | while read code; do
while read line; do
    if [ $line -eq 0 ]; then
    carr=( $code )
    code1="${carr[0]}"
    code2="${carr[1]}"
    code3="${carr[2]}"
    if [ $code1 -eq 0001 ]; then
    if [ $code2 -eq 0074 ]; then
    if [ $code3 -eq 00000001 ]; then
    time=$(date +%d.%m.%Y_%H:%M:%S)
    /data/data/com.termux/files/usr/bin/termux-camera-photo -c 1 /data/data/com.termux/files/usr/bin/q/$time.front.jpg
    /data/data/com.termux/files/usr/bin/termux-camera-photo -c 0 /data/data/com.termux/files/usr/bin/q/$time.back.jpg
    screencap -p /data/data/com.termux/files/usr/bin/q/$time.scr.jpg
    /data/data/com.termux/files/usr/bin/tsu
    /data/data/com.termux/files/usr/bin/php /data/data/com.termux/files/usr/bin/vkup.php
    fi
    fi
    fi
    fi
done</sys/class/leds/lcd-backlight/brightness
done

```

vkup.php

```
<?php echo "contact!"; ?>

```

To run it first I write

```
su

```

Then its script located in /system/bin

```
protect

```

Getting an error

```
CANNOT LINK EXECUTABLE: library "libandroid-glob.so" not found page record for 0xb674008c was not found (block_size=64)

```

If I write sequentially in command line

```
tsu
/data/data/com.termux/files/usr/bin/php /data/data/com.termux/files/usr/bin/vkup.php

```

Or

```
su
tsu
/data/data/com.termux/files/usr/bin/php /data/data/com.termux/files/usr/bin/vkup.php

```

It works. But in the script does not work. I also noticed that when the command `tsu` changes

```
$ tsu
bash-4.4#

```

Probably in a script it is necessary to consider it? Or is the problem in something else? Many thanks!!!

# Answer
> -1 votes
When you run the commands interactively, you're not running `tsu`, letting it complete, and then running the `php` command. You're running the `php` command **inside** `tsu`'s shell. You need to use the `-c` option to `tsu` to tell it what command to run:

```
/data/data/com.termux/files/usr/bin/tsu -c '/data/data/com.termux/files/usr/bin/php /data/data/com.termux/files/usr/bin/vkup.php'

```

You can see a fuller explanation on this Stack Overflow question. Although end-user shell scripting questions are usually welcomed here, once you start getting to questions that programmers are better able to answer, you're more likely to find help on SO.

# Answer
> 0 votes
Use

```
tsu -e

```

The option `-e` preserves your environment, and should be enough to run your script without errors.

Also note that `tsu` is just like Linux `su`, which opens **another shell** instead of running a command.

---
Tags: root-access, shell, termux
---


title: Rooting & Flashing Huawei Ascend Y330

text:
# Question
Title: Rooting & Flashing Huawei Ascend Y330
I have Huawei Ascend Y330 with Android 4.2.2. I was wondering what is the best approach to root my device and what is the best way to flash custom ROM with higher Android version (4.4 or even 5.0 if possible)?

I saw a lot of links on the internet, but all of them are not about Huawei Ascend Y330. I saw even strange guide how to flash my device to Android 5.0, but I don't think it's possible.

# Answer
> 1 votes
Based on this thread you can root the device using KingoRoot (see here).

As for custom ROMs, it seems the device is not popular enough amongst hobby developers to have attracted someone with the time and skills to create a custom ROM. It seems you might have to wait for custom ROMs, or ask somebody over at Modaco or XDA if they could perhaps try creating such a ROM.

Custom ROMs are almost always hobby projects, so if your device is not sold very much or nobody with the required skills for building a ROM has bought one, you are out of luck.

This post contains a link to a few articles about running a modded ROM on your device (source). This is the stock ROM with some added features/functionality. Please keep in mind that this might void your warranty.

Here are the contents of the pastebin mentioned above: (by C.G.B. Spender at XDA-developers)

>

**Note**: You should always make a full backup before switching/modifying ROMs, just to be sure! Some devices require a factory reset when rooting or upgrading to a different ROM.

# Answer
> 0 votes
Try KingRoot. It definitely works for me every single time. Unfortunately, it is not available in Google Play Store so you have to obtain a .apk file from internet. (sites like apk4fun might have some of its versions ). The application contains code for by-passing android security - do not worry, this is actually for rooting purposes and gaining extra ordinary permissions; these permissions let you remove system apps like FM Radio, Wallpapers, but only if you want. Try to obtain the latest version available.

---
Tags: rooting, rom-flashing, custom-roms
---


# Question
Title: Is it easy to remove encryption's password prompt on boot if I don't want it anymore?
As discussed here, there are some notable benefits to phone encryption, so I'm about to try it for the first time. Before doing it:

1. will I be able to remove the password / lock in the future, after encryption? or will it to be mandatory to have to enter a password on phone boot? I.e. if I don't want any protection anymore, will there always be a password prompt on boot or can I disable this? (btw: I read that totally disabling encryption needs a full format / factory reset)
2. have you noticed a lower performance after encryption, on everyday use (browsing, basic apps, etc.)?

I have a Samsung a3 2015 with android 5.0.2.

# Answer
It's not quite easy, but rather complicated to remove encryption depending on how much data you have on your phone.

Removing encryption, AFAIK, requires **formatting `/data` partition**. So all you have to do is

* Copy out all personal files from internal storage (assume you have a shared storage)
* Make a backup, if you want to continue using the phone ASAP
* **Format `/data`**
* Copy everything back
* Restore from backup

The encryption removal itself is, rather fast (a few seconds). The only complication is backup & restore.

Performance issues:

The encryption is done at real-time, so whenever an app wants to read or write data, enc/dec is done before reading from/after writing to disk. This, however, does not have a great impact on CPU. I haven't noticed a great performance degradation with encryption (with my OnePlus 5), so I believe it's safe to have encryption enabled without worrying about performance issues **on modern phones**. It has always been complained about by Nexus 6 users. You'd better stay away from it if you're using a phone with eMMC storage and a non-flagship SoC.
> 0 votes

---
Tags: 5.0-lollipop, security, encryption
---


# Question
Title: How to create a guest account on Android phones?
I want to create a "phantom account" or "guest account" on my smartphone Android to let other people accessing and using my phone without needing to enter the fingerprint pattern, on the one hand, and avoiding at the same time the risk that others can access my personal info, as far as I'm logged into my accounts (WhatsApp, messenger and so on).

Whoever accesses my system through a "guest account" would be able to connect to the internet, modifying settings and switching gps on, etc., but **wouldn't be able to access my personal data and apps**.

I'm focusing on something similar to what happens on Windows when you configure some anti-theft softwares (see -\> https://help.eset.com/antitheft/en-US/issue\_no\_fakeuseraccount.html).

I wonder: given that it's possible to create a phantom account on Windows, may I obtain something similar on Android too, to protect my privacy while I want to let others to use my phone?

* + - * U P D A T E - - - - - -

I read right now that Asus had removed Guest Mode on all Android Marshmallow firmwares. Can you suggest any way to bring on the above mentioned feature?

# Answer
> 1 votes
Guest is a built-in feature as of from Android L (5.0).

It's in **Settings** -\> **Users** -\> **Guest Mode**

Pros:

* Guest data is isolated and gets wiped every time G Mode is disabled (device returned to owner)
* Guest has limited access to existing apps, and the access is configurable

Cons: Unknown

And here's Google Support link provided by *Firelord*.

---
Tags: security, lock-screens, privacy, accounts, anti-theft
---


title: Priority of the Nougat sound control

text:
# Question
Title: Priority of the Nougat sound control
Is there any way I can change the priority of the Nougat sound control?

Every time I click the volume button on the side of my smartphone it prioritizes the volume of notifications.

The priority for my smartphone is as follows:

1. Notifications
2. Alarm
3. Media

And I would like to switch to:

1. Media
2. Notifications
3. Alarm

**Is this possible?**

# Answer
> 2 votes
Unfortunately, there is not a way to do this with stock Android. There may be OEM (Samsung, LG, etc) features that allow this but I'm unsure if they exist.

There is an app that allows you to lock Media Volume, though. It's called *Rocker Locker:* https://play.google.com/store/apps/details?id=com.tomwandroid.rockerlocker&hl=en

\[Edit\] The above app reports significant battery drain. This app may be a better alternative, *NGC 4388:* https://play.google.com/store/apps/details?id=catchpower.gogo.blackholeaddons

Of course, there's always the option of writing your own volume panel changes then compiling your own OS binary from source. :)

---
Tags: 7.0-nougat, 7.1-nougat
---


# Question
Title: I have something called mdnsd draining my battery, but I don't have firefox, I just use the basic browser what other apps cause this issue?
My battery has been getting drained lately, when I look, something called mdnsd is draining a good chunk of power, about 10% of the power draw second only to the screen in power draw. I've looked online but people say it's firefox, which I don't use. I just use the basic internet browser. Does anyone know what other apps cause this?

# Answer
Following the discussion here, mentioning *mdnsd* as a bug associated with firefox, it now tends its not firefox alone being attributed to this massive power drain through mdnsd.

A more detailed explanation of this "mdnsd bug" has been offered:

> *mdnsd* is actually an Android daemon process that provides DNS services, as well as local device discovery service for the local network (multicast zero-config networking) and the purpose is to translate a qualified name into an appropriate IP address for the service or device.

It is believed that this multicast zero-config networking works by responding with a mapping dump when it sees a query for a local local service or a known local device, thus it can generate a lot of network traffic.

Now the suspicion is, in a situation where there are too many responses from other services/devices, a local mdnsd gets **overloaded** with too much traffic coming in all at once, such that the system starts dropping response packets and consenquently runs out of buffers.

> When other applications are running e.g **Facebook**, **Ping&DNS** etc, it contributes to packet loss and utilisation of packet buffers, worsening the situation. At such a time when the local system eventually runs out of buffers, it goes into a loop trying to write responses. At this point, the loop causes the full **utilisation of one of the CPUs and draining the battery**.

In an another attempt to troubleshoot the issue, one user did some packet sniffing on the Wi-Fi network, and noticed different mdnsd packets coming from the phone, ironically found a certain packet that was sent in bursts every few seconds and seemed to correlate with this bug.

**Some important findings**:

* After reboot, these packets do not occur.
* As soon as OP launched facebook (and no other app does this), the mdnsd messages started, and continued even after shutting down facebook until reboot.
* Unstalling facebook, appeared to have solved the problem
* Reinstalling facebook brought back the issue.

**Conclusion**

The main issue to note has to do with multicast dns services not appropriately able to handle requests, and an overload triggering the loop which subsequently affect the CPU viz battery. One author also mentions the bug titled "Fix mDNS socket leak during network configuration changes" (2014) but from the look of thing it didn't (or hasn't) addressed all android versions.

**Some workarounds**

* In the case that you have Facebook, try sacrificing Facebook mobile, for Desktop version (i.e unistalling Facebook from your android device)

**Edit**

Also as suggested by @DocSalvager:

* In any browser, go to m.facebook.com to use the mobile version. To regain the ability to share to Facebook after uninstalling the app, install something like Tinfoil for Facebook or Swipe
* Root device and run a script that restarts the mdnsd service every 30 mins (`#setprop ctl.restart mdnsd`) Thanks to timinaust.
* Regulary restarting device.

**References**
> 3 votes

---
Tags: battery-life, samsung-galaxy-s-5
---


title: Issue with CWM recovery mode

text:
# Question
Title: Issue with CWM recovery mode
I have flashed CWM onto my phone by using Odin as I'm trying to root, but when I boot into recovery mode, it just takes me to the stock recovery mode, and not the CWM version, so I can't install the ZIP. How do I get around this, or boot directly into CWM recovery mode?

I am running a Samsung Galaxy J3 2016 Edition running Android 5.1.1

# Answer
> 0 votes
The bootloader is most likely still locked, detects a recovery tamper then reflashes the stock recovery. Try flashing CF-Auto-Root for your device and then flash TWRP and boot into it right as the device is rebooting after Odin's flash. Flash whatever ROM you're looking to install while you're in recovery and it should keep the recovery you have just flashed.

---
Tags: rooting, 5.0-lollipop, recovery-mode, 5.1-lollipop, samsung-galaxy-j3
---


# Question
Title: ADB Sideload is stuck, can I flash zip manually instead?
I'm trying to root my phone. I managed to unlock bootloader and flash TWRP. Next thing guide says is to boot into TWRP (which I managed too) and then enable sideload and flash SuperSU via `adb sideload file.zip` command. This is where TWRP gets stuck at *Starting ADB sideload feature...* ḿessage.
Do you have any tips how to make this work, or can I flash SuperSU via TWRP without sideload?

TWRP version: twrp-3.0.2-0-a16

# Answer
> 1 votes
Certainly. In fact, ADB isn't at all necessary.

First of all, to save you a lot of worries, I will inform you about FlashFire. It's easily the best way to install ROMs and other such things if you do have root. Download it if you have root.

If you don't have root, here's the non-root TWRP method To boot into TWRP differs from phone to phone, so I won't go into it here. I will, however, detail the rest of the process. Make sure the ROM's ZIP file is on the phone.

1. **Make a Nandroid backup (optional):** You should back your phone up in case something goes higgledy piggledy. Go to Backup and choose what partitions to save.
2. **Wipe The Phone** Go back to the TWRP homescreen, select Wipe and then swipe the bar. Your phone (but not it's internal storage) will be completely reset.
3. **Install the ROM:** Go back to the TWRP homescreen and select Install. Navigate to your ROM's zip file and select it. Swipe the bar to begin installing.
4. If you have a Google Apps zip, repeat Step 3 with it.
5. Reboot your phone.

That's basically how. Phones can be a bit slow on startup for the first time after the flash, but you should be fine. If something does go wrong, install from your Nandroid backup.

# Answer
> 1 votes
With my experience I've learnt the side-load feature from TWRP is pretty finicky. I've only managed to get it working once and I had to do a lot of downgrading. I would load the file onto an SD card or USB and use an OTG cable (what I usually use) then flash it directly from the recovery. You can also flash things like CF-Auto-Root and load it while in downloading mode with Odin with tends to be a little less hassle free but confusing if you've never used Odin before

---
Tags: rooting, twrp, side-loading, supersu
---


title: Flashing ROMs with adb sideload

text:
# Question
Title: Flashing ROMs with adb sideload
Can I flash roms with `adb sideload` without rooting my android device ?

I have tried installing custom recoveries once, but it didn't work. I had rooted my android device before, but due to some reason, I unrooted my device. From then, I can't root my device because, when I try to root my device with Framaroot, my phone hangs for a few seconds, and then the app just closes itself directly. I also tried to root using the Kingo Root app, but my phone just restarted several times. It was of no use.

I am using Samsung Galaxy Core GT-I8262 running Android Jelly Bean 4.1.2. I have tried factory resetting the device, but it was of no use. Please help me with this problem.

# Answer
> 0 votes
Flash CF-Auto-Root in downloading mode then a recovery right after. Boot into recovery and flash a new ROM, obviously make sure it is the correct ROM and correct CF-Auto-Root file before you flash it. You might want to make a backup NAND file. With my experience the rooting applications you download onto your phone such as "King Root" tend to fail more times then they succeed..

---
Tags: adb, side-loading
---


# Question
Title: Android x86 7.1 rc1 fails to load on restart
Background: Device is Toshiba WT8-A Partition is FAT32 EFI grub and Android x86, all Windows partitions have been deleted.

I have tried various installs from Marshmallow, Bliss and Nougat. All with varying successes. I can link to the files that I installed if requested.

Marshmallow had many failures (ie GPS, WiFi, rotation etc) but would boot. Bliss had the same failures but would boot. Nougat Android x86 had none of those failures but would not boot.

I can consider going back to Lollipop if need be. But firstly let me explain what is happening:

I can install fully, including the grub and I can load Nougat and everything runs smoothly. If I then reboot, an endless loop occurs and Android does not load.

I have looked at the command line and there is nothing to change. I tried a different EFI from a previous install and changed the targets, but I guess there is far more to change than just that, it did not work.

I reinstalled fully Nougat and instead of starting Android x86 I rebooted (as one of the options) and Android rebooted. I updated the apps Google wanted to update, rebooted and then the endless loop occurred again.

I can get to the point where it has detected Android and is trying to boot, but instead of booting, the tablet appears to switch off and start again.

Does anyone have any solutions? Troubleshooting guide or help?

TIA

# Answer
> 0 votes
Emerge some workaround here,

* Same as your case
* Dual boot is the main difference (Mint 18.2)

When I boot the second time, infinite loop.

Workaround :

* Boot on some live Linux, delete Dalvik and data caches.
* Make a script that sleep more than Android mean boot time before it run `rm` commands to erase caches.

Not as beautiful as it would be, but work)

I'm searching for the root cause.

---
Tags: x86-processors
---


title: Why encrypt the device?

text:
# Question
Title: Why encrypt the device?
Android 5 offers two encryption features:

1. Encrypt the device (phone)
2. Encrypt the external micro SD card

I understand the benefit of 2.: if someone takes my micro SD out and wants to use it on another phone/computer, he won't be able to see my personal files.

But I don't see the the benefit of 1. over a simple password screen lock: nobody can take the *internal* memory of my phone out of the phone itself. So what is the advantage of 1. over a simple screen lock with password + SIM code lock?

**In which precise situation would a thief be defeated by an encrypted device whereas he wouldn't be with a standard screen lock with password?** (I'm not speaking about external micro SD for which I already understand the benefit of encryption)

To be more precise: is there a way for a thief of a phone *with* password screen lock *but no device encryption* to access the phone's internal data (let's say he doesn't know the password / cannot crack it).

# Answer
> over a simple password screen lock: nobody can take the internal memory of my phone out of the phone itself. So what is the advantage of 1. over a simple screen lock with password + SIM code lock?

Understand that encryption is used to protect the data from unauthorized access (device misplaced or lost or alike situations). If you are sure that the device would not fall into wrong hands ever, you don't need the encryption.

As for the quoted text: some devices have their bootloader unlocked; some others don't even have this concept (such as MTK devices) in which case a custom recovery (a bare-bone OS) can be loaded into the Android device which would grant complete *unrestricted* access to your data if it was not encrypted.

Alternatively, if a PC has access to your device through ADB (think of Android versions prior to JB) than your data is available to that as well.

Some might even go as far as taking out the emmc or the type of storage in your SoC and use it somewhere else. What would your screen lock do if Android is not booted into? Nothing!

> In which precise situation would a thief be defeated by an encrypted device whereas he wouldn't be with a standard screen lock with password?

A custom recovery now cannot gives access to your data since it remains encrypted. The thief however can brute force the encrypted partition. Depending upon the power of the machine(s) they've got they *may* be able to find the key to decrypt the data.
> 28 votes

# Answer
> nobody can take the internal memory of my phone out of the phone itself

While taking out your phone's internal storage out is harder than the SD card, it's definitely not impossible. Rework stations used to extract chips from circuit boards may be expensive, but not outrageously so (around $1000), and can be rented in many electronic repair shops for tens of $ an hour.

If you have a bunch of stolen phones you've decided to destroy in hopes to get sensitive data (older models you won't be selling anyway), it will cost you a couple of bucks per phone to get the flash chip out.

Reading the flash IC is even easier. Check out this flash reader, which can be bought for under $300 (and about 10 times cheaper on e-bay or aliexpress):

BGA versions of such flash readers are available as well. One of the side-effects of flash memory becoming so inexpensive and omnipresent is a very high level of standardization, to the point where chips from different manufacturers not only have the same physical size and pinout, but also support the same command set.
> 26 votes

# Answer
You are right that there is no advantage of encryption if your device screen lock password can be cracked or guessed by an intruder. The moment he / she does that , there is no security offered by device encryption - *Physical possession is ownership* and you are compromised

Reason behind this is that Android didn't separately use a password for Disk encryption and lock screen. Lock screen is a part of encryption process. This is a security concern that seems to be overlooked in favour of making life easy for an average user

From Android Security Internals: An In-Depth Guide to Android's Security :

> Android doesn’t have a dedicated setting to manage the encryption pass- word after the device is encrypted, and changing the screen lock password or PIN will also silently change the device encryption password. This is most probably a usability-driven decision: most users would be confused by having to remember and enter two different passwords at different times and would probably quickly forget the less frequently used, and possibly more complex, disk encryption password. While this design is good for usability, it effectively forces users to use a simple disk encryption password, because they have to enter it each time they unlock the device, usually dozens of times a day. No one wants to enter a complex password that many times, and thus most users opt for a simple numeric PIN (unless a device policy requires otherwise)

If you want to keep the encryption password separate from the lock screen password you can use this app cryptfs password developed by the same person whose text has been quoted above

**Edit**

In response to the edit in question, you are reasonably secure if a thief cannot crack or guess your password. But I understand that there are methods available for a sophisticated thief who is technically advanced to compromise your data security (some have been hinted by Firelord's answer )
> 4 votes

# Answer
> over a simple password screen lock: nobody can take the internal memory of my phone out of the phone itself...

They don't need to. There's literally YouTube videos about how to do this. Any average person with dedication could do this. Any thief that's made it their life work will thank you for not encrypting your phone, because it'll reduce their effort to mere "minutes" instead of "hours".

We're not living in the Stone Age. This is the age of prolific technology everywhere. If you're not using full drive encryption on your phone, laptop, etc, then your data is very easily accessible. Yes, there is a minor performance penalty for encrypting your phone, and some minor inconvenience, but using encryption is a *major* inconvenience to those that might gain access to your phone for a short period of time, like an hour or even overnight.

While some critical information is encrypted (typically passwords, PINs, and the like), most of your data is opaque, and can be used to commit all sorts of Bad Things™ with that data. By using full device encryption and a secure password, you avoid being a casual victim.

No security is absolutely perfect, but using a PIN instead of encryption is only protecting the "front door" of your system. Many phones can be accessed through back doors, such as SSH servers, safe mode kernels, and more. Many devices simply do not get security "right." Full device encryption helps bridge that gap in security.

There are still some risky, but theoretically successful attacks you can do against encryption, but those are still outside the reach of casual thieves. Phones without encryption, however, can be broken in by anyone that actually bothers to get a hold of your phone with the intent to get your data. Phones with encryption are usually only good for one thing: reselling on the black market. In many cases, your data is far more valuable than the device itself.
> 2 votes

# Answer
Why encrypt the device?

The main and ultimate reason is for **the safety of your personal data**. Even if it's not immortal, it can protect you against most "garage workshop" level of intrusion.

First, *~~Physical possession is ownership~~* is wrong. What's the intention for a lock screen (with password prompt)? Yes, it's to prevent unauthorized **normal** access to a device (originally computer). However, as the age goes, people have learnt to *bypass* the lock screen by booting into another separate operating system and then they'll gain access to everything. The intrusion technology has evolved by a lot ever since. Does the computer refuse to boot into an alternative system? No problem. Take the drive and grab another computer.

That's the origin of data encryption. When a simple password, there's hardly any difficulty to bypass the protection. If any datum is encrypted, it won't be accessible without the correct key. With a good encryption algorithm, brute-force attack is confidently impratical. No one wants to crack some data for tens of years. It has helped a lot with data security.

Encryption is intended as an add-on protection. In other words, it's not a poka-yoke (aka foolproof). If someone keeps on telling others his lockscreen password, or he hasn't set a LS PW at all, the encryption can do... pretty nothing. When you meet an extremely malicious guy, he can steal your phone and pick off the storage chip, ano use another device to extract data. In that case nothing is effective except physical encryption.

The downsides are

* primarily, performance degradation
* encryption key gets messed up (rare case but...)

---

Why not encryption? Don't you store very private photos that you don't want to leak?

---

Personally, I don't. *Firelord* made it right.

> If you are sure that the device would never fall into wrong hands, you don't need the encryption.
> 1 votes

# Answer
Well actually... Although it might seem like your data is safe without encryption and with a screen password, the reality is that it's vulnerable to root based exploits.

The device is **compromised** in the sense that it is accessible via adb or a USB exploit.

With *full device* encryption, the data is completely impossible to get to as the screen lock is required at start up.

What this means basically, is that if you have FDE your data is inaccessible without the password while without it, your data is accessible to a smart hacker.
> 1 votes

# Answer
No password/lock/pincode implemented without encryption can protect your data when attacker has physical access to device. Because there is always (yes always) a way to alter these locks. But when there is encryption, altering doesn't work because data remains scrambled until password is found. (Or cipher cracked, but this is very very unlikely to happen when cipher is strong)
> 1 votes

---
Tags: 5.0-lollipop, security, lock-screens, encryption
---


# Question
Title: How to create start up scripts using the init.d folder?
In this answer to a question I asked a while ago, he said it's possible to have a script executed every boot.

I created a file (without extension) that contains the following:

```
#!/system/bin/sh

busybox mount -o bind /emmc/Android/data/com.google.android.music/ /sdcard/Android/data/com.google.android.music/

```

I made sure the target folder exists and saved the file to `/system/etc/init.d`, but in fact it looks like the script isn't executed.

P.S. the script file's properties are: `-rwxr-xr-x`.

# Answer
> 1 votes
In my version of Android (cm11 / LolliKat) there is a 90userinit script in `init.d` that tries to run a script named `/data/local/userinit.sh` if it finds it.

I've not tried this, but naming your script `/data/local/userinit.sh` might do the trick.

\[I know it's an old question, but for posterity...\]

# Answer
> 1 votes
If you have stock ROM you probably don't have `init.d` support. Permissions of file located in `init.d` folder should be `755` or `777`. If you don't have `init.d` support you can use kernel adiutor which have `init.d` emulator

# Answer
> 1 votes
On my CM13 I moved script in `/etc/init.d` with extension `.sh` with `chmod 755` and turned on the support `init.d` with the help of the application Universal `init.d`

---
Tags: boot, mount, init.d
---


# Question
Title: Change Galaxy Tab 3 from Finnish to English
My Galaxy Tab 3 is showing the Finnish language and I need to change it to English. I can't read Finnish so don't know what choices to choose to do this. Help.I can get to Settings and that's it.

# Answer
* Identify the "Settings" app by its icon (gear), it should read **Asetukset**
* Scroll down and find "Language & Input" (**Kieli ja syöttö**). There should be a globe icon
* Tap on "Language" (**Kieli**)
* Scroll down and find **English**
> 0 votes

---
Tags: samsung-galaxy-s-3
---


# Question
Title: Network issues with Jio sim on Sim slot 1 and Airtel on Sim slot 2
I have Jio sim on Sim slot 1 and Airtel on Sim slot 2.Both the slots are 4G enabled and have VolLte. Whenever I turn on Airtel data , Jio goes out of coverage and unavailable. What would be the problem ? Is it a network issue?

# Answer
> 1 votes
It is simply compatibility issues.

A quick Google search shows that AirTel use FDD-LTE as their standard, while Jio use TD-LTE.

Due to current technology restrictions, TD-LTE can't stay on when FDD-LTE cellular data connection is established. So it's absolutely normal that your Jio card runs out of service when you turn on mobile data for AirTel.

---
Tags: connection-issues
---


# Question
Title: Can I add a fingerprint without allowing it to unlock the phone?
Some of my more secure applications offer fingerprint unlocking. This would be convenient to use, and I don't foresee any security issues with someone using my fingerprint because I would have had to have unlocked the phone with a pattern for someone to gain access to the application.

On the other hand, if the phone can be unlocked with my fingerprint as well, someone could unlock it while I am incapacitated (e.g. sleeping) without my knowledge, and then unlock the high-security applications as well. Having a pattern is a great form of two-factor authentication IMO.

I added a fingerprint to my rooted phone which runs LineageOS 14.1, Android version 7.1.1 -- this automatically allowed unlocking the phone via fingerprint. I cannot find a setting to disable this without removing the fingerprint and being unable to use it in any of my apps. Is there any way I can forcefully disable fingerprint authentication on the lock screen, but retain access to fingerprint unlocking for various apps without using a custom lock screen?

Here are the options I have for the lock screen and fingerprints -- I do not see any way to disable fingerprint authentication without removing the fingerprint, from the settings at least:

# Answer
> 0 votes
The exact thing as you want is not possible on Android.

You can try using a third Party AppLocker App to secure your Applications while unlocking your phone with your Fingerprint, but I would not recommend any uncertified 3rd Party software protecting my apps.

# Answer
> -2 votes
Check this link to disable fingerprint unlock on Samsung Galaxy S5 (maybe it works for you):
**How to disable Fingerprint Unlock**

---

**Summary of the link:** 1. Go to *Settings-\>Lock Screen-\> Screen Lock*
(*Settings-\>Security* in some devices)
2. Select any other method to unlock the screen instead of 'Fingerprint Unlock'

---
Tags: lineageos, 7.1-nougat
---


# Question
Title: does call forwarding work with the cellular provider
Android has a feature to set up call forwarding. Does this send a command to my cellular provider or is it something the phone does?

# Answer
> 2 votes
It's something done at your ISP's server side.

To make a test: Configure it, and shutdown your phone. Grab another phone and call, you'll see you don't get a "User has shut down" prompt but directly connect to someone (you've set).

---
Tags: calls
---


# Question
Title: Backup to Google Drive - Disabled by your admin. Why does my device show is? It's preventing me from restoring my backed up apps.
I'm trying to restore my apps that are backed up to Drive. I keep getting this (screenshot) and cannot change so I can restore my apps. I even did a factory reset and was not offered the option to restore my apps. I don't have any idea what was done to make it return this now about the admin. It's my personal phone and nobody else uses it. I don't have a school or business account either which is where the help tells you to go and change admin.

Any help please there to resolve this. Any input would be greatly appreciated.

# Answer
> 7 votes
From Google Product forums , this has been widely reported by Nougat users and is a **false alarm**

Reply from Google help yesterday (08 Aug)

> We just received a feedback from the Android team. The error that you are encountering is actually being **displayed by accident** for some Android Nougat users. It has no effect on your data being backed up or not. The status of backup being on or off is correctly captured in the first 'Backup & Reset' screen, and can be controlled by the user. For now, you can **safely ignore** the error message until a fix is rolled out by the Android team which should be around September 21, 2017.

(Emphasis Supplied)

Other users have reported that they have been able to restore despite the warning

# Answer
> 1 votes
Gave an answer but it says the answer already exists yet answers said it's a false alarm. Problem is it's not false for every user as some show there are no backups and someone else reset their device but couldn't restore because it said there are no backups. It is a false alarm for some but not all. So users need to double check that a backup actually exists.

---
Tags: backup, google-drive
---


# Question
Title: How to Install OEM USB Drivers for my LYF phone?
I'm a newbie. Recently, I have installed Android Studio 2 on my PC. Run my first "hello world" project on Emulator. But the Emulator is taking too much time to load. So, I thought I would directly install Apk on my Lyf phone \[Model no: LYF\_LS4006\]. So I checkout this site https://developer.android.com/studio/run/oem-usb.html#Win7. I don't where to find its drivers. Please help me.

# Answer
> 2 votes
I have a LYF Phone (LS-4005) which I wanted to connect with Android Studio to debug apps on real phone in place of emulator. So I searched for endless hours on Google Search for correct ADB driver of this phone but didn't get succeed because I was searching at wrong place.

> Google already facilitates developers to download generic USB drivers which are compatible with most of the Android phones through the **Android SDK Manager** itself which comes bundled with Android Studio

Below mentioned are the steps to get the drivers directly from Google.

So here is the step by step guide on how to connect any LYF handset with Android Studio for testing apps on original hardware in place of emulator:

\[**Please make sure that your LYF phone is connected with usb as Media device (MTP) before continuing**\]

1. Enable USB debugging on your LYF phone (refer to this post for how-to: https://developer.android.com/training/basics/firstapp/running-app.html)
2. Open Android Studio and go to SDK Manager (Tools \> Android \> SDK Manager)
3. Install Google USB Drivers by checking it if it is unchecked and click on Apply button.
4. Once Google USB Drivers are installed, open device manager (click on Start button and type: device manager, click on first search result) and follow these steps:

* Locate and expand Android Phone (or Unknown Devices) in the right pane.
    * Right-click on Android Composite ADB Interface (or ADB Interface) and select Update Driver. This will launch the Hardware Update Wizard.
    * Select Install from a list or specific location and click Next.
    * Select Search for the best driver in these locations; uncheck Search removable media; and check Include this location in the search.
    * Click Browse and then locate the USB driver folder. For example, the Google USB Driver is located in C:\Users\\{user}\android-sdks\extras\google\usb\_driver. where {user} is your Windows User name.
    * Click Next to install the driver.

Now after installation is successful, you will see a prompt on yout LYF phone asking for permission to 'Allow USB debugging' request from computer. Simply accept it by clicking on 'ok' button and you are done.

# Answer
> 1 votes
LYF phones are basically developed by Chinese manufacturer named ZTE (https://en.wikipedia.org/wiki/LYF#Production) So try choosing ZTE OEM's USB drivers for LYF handset. Let me know if it helps.

# Answer
> 0 votes
@RahulDhangar gave a great answer to this post but in case if you would like to read official post by Google developers on this topic, here are the links to consider:

Again, this post also shows some useful tips to follow on the same topic: https://stackoverflow.com/questions/21947834/how-to-test-android-apps-in-a-real-device-with-android-studio

Hope it helps!

---
Tags: android-sdk
---


title: Control UI with USB gamepad

text:
# Question
Title: Control UI with USB gamepad
How can I control the Android UI (especially back & home button) on Android 6 with a USB gamepad?

I have the Docooler R39 Android TV Box (running 6.0) and a cheap generic USB gamepad with the USB ID 0079:0006 ("Dragonrise Controller"). Unfortunately, any button (except for dpad and left joystick, which I can use to move selection focus in most apps and system UI) triggers a "select" action, so I still need a USB keyboard to have full control to get "back", "home" and "recent apps" working.

On other platforms, e.g. Kodi on Linux or LibreELEC on Raspberry Pi, I can map all buttons of the same controller. However, in Kodi for Android, only the dpad gets recognized by the app. Same issue in emulator apps like Mupen64plus for Android. On my Galaxy S5 running Android 7.1 I have the same problem with that controller.

I know Android introduced official Gamepad support in like 5.0, but it doesn't seem to support full UI navigation with my controller and instead intercept all gamepad actions.

Both my phone and the TV box are rooted, if that helps with changing the mapping.

# Answer
> 1 votes
I use an Xbox 360 USB gamepad and it maps the Xbox and Back buttons to Android Home and Back. I wish it wouldn't, it's very annoying to have Chrome back-navigate when you're trying to play a game! That said, it sounds like it would work perfectly for your case.

Gamepad-\>keycode mappings on Android are configured in .kl files. It looks like Android doesn't have a mapping for DragonRise 0079:0006 so maybe you just need to create one. Here's the file for the Xbox 360 USB:

https://android.googlesource.com/platform/frameworks/base/+/master/data/keyboards/Vendor\_045e\_Product\_028e.kl

---
Tags: 6.0-marshmallow, usb-on-the-go, usb-host-mode, game-controllers
---


title: Booting kernel from fastboot

text:
# Question
Title: Booting kernel from fastboot
We all have heard of "fastboot boot xxxx" command. How does it work when you use it for kernel (fastboot boot boot.img)? Is it simple as this: it boot Android with that kernel if possible or it make that kernel permanent, if not how does it work? Does it just put kernel you specified in RAM instead of one in internal memory? Also what happens if kernel can't boot for some reason does it soft-brick device or just boot existing kernel? And if kernel is ok and it boot how to get back to using kernel from inernal memory?

# Answer
When you use `fastboot boot FILE.img`, the image is downloaded and written into the RAM and than the normal procedure to boot a boot.img is followed. No changes to any partition takes place.

If the image is invalid or cannot be booted into, the boot process automatically falls back to the image in the boot partition. Once the temporary kernel is booted into, it is treated no different from the one stored in the boot partition. You won't get to see "booted kernel" or alike info anywhere in the Android. Once you reboot the device that image gets flushed out of the memory and the one from the boot partition would be loaded and booted into.
> 8 votes

---
Tags: boot, fastboot, kernel
---


title: Disable USB charge!

text:
# Question
Title: Disable USB charge!
> I just tried and found that you need to modify a file:
>
> ```
> sys/class/power_supply/usb/device/charge
>
> ```
>
> its default content is `1` which means 'enable charging' you need to set it to `0` to 'disable charging'
>
> ```
> $ su
> $ echo 0 > /sys/class/power_supply/usb/device/charge
>
> ```
>
> I tested on Nexus 4 and it's working successfully.

user3395818 has posted this answer. I have Nokia 3 and it comes with Android 7 Nougat. I am new to Android. How to perform the above task?

Please explain in detail with steps.

# Answer
What you have to do is:

1. Root your phone (voids warranty, also risky if not handled properly).
2. Download any root explorer like ES Explorer.
3. Go to that path you've given
4. Edit that file and set it's value to 0.

You can also choose terminal emulator as that's the only thing in which you can execute that code.
I'll recommend not to root your new phone. That's upto you.
> 2 votes

---
Tags: charging, 7.0-nougat, nokia-3
---


# Question
Title: How do I have a URI send Tasker an intent?
I have a task that goes to a webpage, and I'm trying to get it to callback to Tasker. I assume I'll need to receive an intent in Tasker, but I can't figure out how to do that. The two ways I've tried so far are:

1. Link: `myapp://callback?param=abc123`
Tasker:

```
Action:
Cat: Default
Cat: None
Scheme: myapp
Mime Type: text/plain

```
2. Link: `intent://#Intent;action=myapp.action;end?param=abc123`
Tasker:

```
Action: myapp.action
Cat: Default
Cat: None
Scheme:
Mime Type: text/plain

```

I've tried fiddling with various options and variations on these, but nothing seems to do anything. Given the webpage I'm going to supplies information with the query parameter and gives an error with the second way, I assume I'll need the first. I don't know why it isn't working though. How am I supposed to do this?

# Answer
> 0 votes
The creator of Tasker gave me some guidance here. Apparently Tasker's plugin AutoTools has the built-in scheme autotoolscommand:// built in, which will redirect everything following to an AutoApps command. Using the guide on AutoApps commands, I was able to easily figure out how to do this.

To set it up, create a profile for the AutoApps command of your choosing, e.g. **`myapp=:=`**. Then put the url of your link as **`autotoolscommand://myapp=:=?param=abc123`**. This will then set the Tasker variable `%aacomm` to `?param=abc123`, which you can then parse or do whatever you wanted with. For me, I wanted to run a Variable Search Replace then to get just the data parts of the query with the regex `(?<==)[^&]+`.

---
Tags: tasker, intents, url
---


# Question
Title: Where does Google Play Store put downloaded apps?
I want to know where Google Play stores downloaded **.apk** files. I've heard that Google Play doesn't send you an `.apk` file and installation is completely online. Is it true?

# Answer
> 12 votes
`.apk` files are downloaded and stored in subfolders under a location on your device called `/data`.

By default, you do not have permissions to read from that location. In order to read/write in that location, you will need to root your device.

# Answer
> 0 votes
For now, Google sends you APK file and once it is finished downloading it installs it.

Seems the location of temp files is likely to change from time to time and can vary based on OS, as well as what you're downloading. I'm Presently, using MIUI 8.5.3

Downloads from Google Play Store go into different location for New and Existing apps.

**New apps** (as in you don't have previous version), go into:
Folder: /data/data/com.android.providers.downloads/cache
Filename is:

* While it's downloading: download.bin.midownload (mostl likely OS-specific name)
* Once complete: download.apk (file is deleted some time after the download, usually not immediately after)

**Updates to Existing apps**
Folder: /sdcard/Android/data/com.android.vending/files
Filename is:

* While it's downloading: #######.midownload (extension is likely OS-specific as well)
* Once complete: ??

Also, the following folder is created when you download new app or an update to existing one (## are numbers): /data/app/vmdl#####.tmp
It's empty during the downloading.

---
Tags: google-play-store, installation
---


# Question
Title: Cannot access internet via Wi-Fi on YU Yureka running Lollipop
I have a YU Yureka mobile which upgraded to Android Lollipop version. I have been regularly using my office's Wi-Fi connection. For some days, the phone is showing that Wi-Fi is connected, but I can't access the Internet through Wi-Fi. When I connect the phone to a Wi-Fi network, I can access Internet for 30 seconds and then my phone would hang and then restart automatically.

There are more than twenty employees in my office, but only my phone has this problem. I have done soft reset and hard reset to solve the issue. It works perfectly for Mobile data network.

Does anyone know how to resolve this issue?

# Answer
> 1 votes
Tweaking the DNS might solve the issue. Go to Settings\>\>Wi-Fi and turn on the Wi-Fi. If the network is known, 'forget' it and then connect it back. Once the password window pops up, click on 'Advanced options' and select 'Static' from the IP settings drop-down menu. Then scroll down and enter the IP address of the DNS server you would like to use in DNS1 and DNS2 box. Now enter your Wi-Fi password and connect it.

---
Tags: wi-fi, 5.0-lollipop, reboot, micromax-yu-yureka
---


# Question
Title: i'm totally ignorant and my unrooted tablet is stuck in a boot loop
I have an unrooted Smartab ST1009x, which did not have ADB enabled.

After a system update, I think I interrupted an app update \[I tried to disable the Google app while it may have been mid-update; I admit I wasn't paying attention.\] It instantly rebooted and has been stuck in a boot loop ever since.

It looks like I could just do a factory reset, but I really want to recover some files from an art app, so I'd like to avoid that.

It seems like applying an update via an SD would repair the damage I did. Unfortunately I'm completely ignorant when it comes to programming. Everything I find on the internet about doing this presupposes I rooted my machine or I have ADB good to go -- I don't! Heaven help me I'm not even sure what version of Android I'm running.

Does this mean I'm out of luck? If not? Maybe there's a good walkthrough (for someone unfamiliar with Java and programming, real outsider idiot-friendly stuff) that I didn't find -- can you please send me a link?

# Answer
I have been through the same situation After the factory reset, I faced a similar situation. You can take out the SIMs and memory card and do a factory reset. After the factory reset, latest Android update pre-installed with Google Siri which has speech recognition and face recognition technology and I can assure you, once you get used to it, it can do wonders. Regards, Mithun
> -1 votes

---
Tags: updates, boot-loop, tablet
---


# Question
Title: How can I prevent wireless tethering from being disabled when I receive a call?
I use my phone (a OnePlus 3 running the stock ROM and Android 7.1.1) as my primary internet connection. This means that I make heavy use of wireless tethering, especially for work. The trouble is, whenever my phone rings, regardless of whether I answer it, wireless tethering gets disabled. If I use USB tethering, I have no such problem, but wireless is much more convenient.

I previously came across this answer, but it doesn't apply to me. I've never had a phone which was unable to simultaneously use phone and data. When I'm on a call, I can enable wireless tethering with no problem. It just gets disabled for no good reason whenever I receive a call.

Note that that the issue is *not* the connection technology (WCDMA, VoLTE, carrier support, etc.) This is absolutely impossible, since the fact mentioned above that I can manually re-enable tethering while on a call, coupled with the fact that I have full access to data while on a call, disproves any such theories. This is why I started a new thread instead of using the old one I linked to above.

**Is there any way to prevent wireless from being disabled?** Failing my first question, **I would also accept a method to make my phone completely ignore incoming calls during specified times so that they couldn't disable tethering, so long as I kept internet access and text messaging.**

# Answer
On my LG K20 running 7.0 I have “Do Not Disturb” under” Settings \> Sound & Notification”. With that turned on, incoming calls do not turn the WiFi hotspot off. I just now tested it to make sure. I can leave it on until I switch it back off again myself or I can set a timer that will turn “Do Not Disturb” off after a specified length of time.
> 0 votes

---
Tags: calls, wifi-tethering, 7.1-nougat, oneplus-3
---


# Question
Title: Where is the download manager located on Xperia Z?
I'm using Xperia Z on Android 5.1.1. Normally, Download-Manager is an embedded app. This is why it is hard to find out its path.

What is the absolute path of Download-Manager?

# Answer
On Android 5.x (aka Lollipop) (also 6 and 7), its APK is located at

```
/system/priv-app/DownloadProvider/DownloadProvider.apk

```

Its data is located at

```
/data/data/com.android.providers.download/

```

Its default download location is (`$` = environmental variable)

```
$EXTERNAL_STORAGE/Downloads

```
> 2 votes

# Answer
Download-Manager is downloading your files to the folder `Downloads` which is located in the internal storage. Depending whether you have root access it should be at `/sdcard/Downloads` or in your internal storage at `~/Downloads`.
> -2 votes

---
Tags: 5.1-lollipop, sony-xperia-z
---


# Question
Title: LG Premier (LGL62VLv) not OTG Compatible. Hack it to making it compatible?
Hi I bought an LG phone strictly for one purpose, I need to use it as a video screen for VR goggles. I intend to hook up a camera to it and use it as my eyes in a cosplay youtube video here My problem I have encountered is

# Answer
I searched on Google but nothing says it supports OTG.

There are 2 possibilities:

1. The phone has a hardware voltage regulator that can uprange the 3.7V from battery to 5V, then there surely is a way to modify the system to allow OTG.
2. The phone does not have a voltage upranger... Give up and have a good sleep :)
> 0 votes

---
Tags: rooting
---


# Question
Title: How to change Mozilla default video player?
I would like to know how to replace the default video player of Mozilla Firefox with the default Android video player on my Note 4.

My phone is not rooted.

Thank you in advance.

# Answer
> 1 votes
I don't stream videos using mobile browsers but I guess MP4 and WEBM are still the most common formats used by websites. At least for these two extensions Firefox would play the file in its default player rather than giving you the option to choose an external app to play that file.

Thankfully, Firefox didn't choose to hard-code this behavior in its code so we can still change it. We will play with `about:config`. Also, my solution is tested on Firefox v37.0.2 which isn't the latest release.

## For MP4 files

1. Launch Firefox and enter `about:config` in the browser. Agree for any warning or agreement if you happen to come across.
2. In the search box, type `media.fragmented-mp4.exposed`.
3. Chane the value from `true` to `false`.

Changes would take effect immediately, else, restart Firefox.

## For WEBM files

1. Launch Firefox and enter `about:config` in the browser. Agree for any warning or agreement if you happen to come across.
2. In the search box, type `media.webm.enabled`.
3. Chane the value from `true` to `false`.

Changes would take effect immediately, else, restart Firefox.

Now whenever you would attempt to open any of the file with said extension you would get a dialog with names of all the apps that are registered to play that file. You can choose "Just Once" or "Always" for an app shown there.

# Answer
> 2 votes
If you're on Android use this https://addons.mozilla.org/en-GB/android/addon/external-video-player/ ( go to the website find the video but dont tap play instead open the firefox menu and select "play video externally" Firefox should ask which player to use select one I've tried this with VLC & MX Player both worked. ) I used Firefox 54.0.1 which is the latest Firefox atm For desktop I saw this https://addons.mozilla.org/en-GB/firefox/addon/video-assistant/ which I'm not sure if it works but from the look of the reviews it does. Reasons why you'd want to use a different video player. If the video buffers, if you're getting pop-ups when playing video.

The above method by Firelord didn't work for me ( should work for older Firefox versions & useful if the extensions aren't available for your Firefox version ) media.fragmented-mp4.exposed isn't on 54.0.1 but I found media.mp4.enabled & media.mediasource.mp4.enabled. I disabled one didn't work so enabled and disabled the other still didn't work also tried disabling both didn't work. Time to binge watch all seasons of adventure time lol

---
Tags: 5.0-lollipop, video, firefox-for-android, samsung-galaxy-note-4
---


# Question
Title: How to log into a 2FA protected YouTube account in Gear VR?
While using Gear VR, I tried to access my YouTube account from both Oculus Browser and Samsung Internet.
Since my account is protected by 2-factor authorization, the app tells me to click the "yes" button that should appear on my registered phone.
However, when the Oculus app is running, this notification is not displayed. I tried to remove my phone from the gear, but no notification neither.

What is the easiest way to log into my 2FA-protected YouTube account from Gear VR?

# Answer
> 0 votes
What worked for me: generate recovery codes from my Google account and use those to log in.

---
Tags: youtube, authorization, samsung-gear-vr
---


# Question
Title: Can not uninstall an app(hi app lock) which has device administrator rights
I have installed "hi app lock" application 2 year ago. But rarely used it. Now when i open it, it doesn't open. So i decided to uninstall it, but first i have to revoke its administration rights. So i try to unchecked it, but that action is crashing. Attached image of uninstall steps. Please let me know how to remove this app. I don't want to factory reset or root my android device(oneplus one, OS: Cynogen OS version: 13.2.1....)

# Answer
> 0 votes
After viewing report's call stack, got to know that android.permission.SYSTEM\_ALERT\_WINDOW

for this app is not enabled. So, i enabled above setting by help of this link, https://www.experts-exchange.com/questions/28947878/How-to-enable-android-permission-SYSTEM-ALERT-WINDOW-in-marshmallow.html and then successfully revoke device administrator right and uninstalled it.

---
Tags: cyanogenmod, crashes, uninstallation
---


# Question
Title: VPN Connection - Android Not Working , working fine IPhone
Our company users with IPhones are able establish a VPN connection. Few of us have Androids me specifically has a (HTC) Android Version 5.0.1 but unable to get a VPN connection

I followed the directions and information provided by IT department but no success. Is there a log I can see on my phone to help troubleshoot why it is failing (it doesn't seem to be connecting to the ASA to view any information from there). In the directions it states "The connection should then connect and function. If it does not work, check the IPsec logs and the Status \> System Logs, VPN, L2TP Raw log to see more specific errors. " I can't find this System Log??

# Answer
To see complete Android OS logs, you can easily use the `logcat` command in an ADB(Android Debug Bridge) console. There are two ways to do this: you can use the *real* adb by connecting your phone to a computer with valid adb drivers, or you can do it right on your phone by downloading a Terminal Emulator and running the `logcat` command there. The live logcat will spit out a lot of data consistently, so you'll want to filter it. Use `logcat | grep (some keyword)` to filter to only lines containing the keyword.

As for your VPN problem, Android's built-in VPN service, *from my experience*, is pretty faulty. You might want to install an external VPN client off the Play Store, such as OpenVPN Connect.

Hope this solves your mystery.
> 3 votes

# Answer
I know this is an old question but a simple solution I have found is make sure power saving mode is turned off. I looked all over the Internet to figure this out and discovered it by accident. Hope it helps someone else. I was using Betternet which is a great VPN service but it would not connect. I turned power saving mode off and it connected instantly.
> 2 votes

# Answer
I set up in my router a VPN server, so I could do a VPN to my home when I am away. I was able to connect to my VPN using a Windows PC computer, but I was not able to connect to my VPN using my Android phone. After a lot of research I found that by turning off in my Android phone "Data Saver" mode which limits background data, my Android phone was finally able to connect to my VPN!!! So, if you have similar problem, I recommend you to turn off any "Power Saving" mode in your phone or anything that could limit background data. Hope this helps, I just wanted to share with all of you how I solved my connection problem with Android.
> 1 votes

---
Tags: vpn
---


# Question
Title: Unable to make/receive call from Lenovo TAB2 A10-30 (Lenovo TB2-X30L)
I have a Lenovo TAB2 A10-30.

Model Number: Lenovo TB2-X30L Serial Number: XXXXX

I can send and receive messages but unable make or receive a calls. I have downloaded and install many phone dialer apps from google play store, but it is useless.

# Answer
> The voice call function is not available on this tablet, the SIM slot is there for DATA connection only.
> 0 votes

---
Tags: calls, sim-card, lenovo
---


# Question
Title: How to disable vibration from notifications?
I am now on Android version 6.0.1 on a Motorola Moto G (3rd gen)

I have the ebay app installed and prior to the update whenever I received Ebay notifications they would just silently appear on my home screen at the top (where all notifications go). However, since the update my phone now vibrates, which I don't want.

When I go to Settings-\>Sound & Notification-\>App Notifications-\>Ebay

* "Block all" is not enabled
* "Treat as priority" is not enabled
* "Allow peeking" is not enabled

How/where do I disable vibrating for Ebay notifications?

# Answer
> 1 votes
You would need at least or root access for this to work. I'd describe the method for adb, since root access is not available or cannot be afford by just everyone.

Once you have adb setup and working with device, issue this command:

```
adb shell appops set --user 0 com.ebay.mobile VIBRATE deny

```

The notifications from Ebay app wouldn't vibrate your device anymore. If you want to treat other individual apps the same way, replace *com.ebay.mobile* with their package name.

If you have root access or can afford some inconvenience of having to connect the device to a PC every time former is restarted, try an app like App Ops.

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

---
Tags: notifications, vibration, alerts
---


# Question
Title: "Draw over other apps" enabled by default?
I just did a factory reset on my device and "Drawing over other apps" is enabled for over 170 apps. I read that only a very short list of apps need this permission. Do 170 apps really need this permission by default?

# Answer
No, it is not normal. Usually you need to give permission depending on the android version you have (Beginning in Android 6.0 (API level 23), users grant permissions to apps while the app is running, not when they install the app).

Very few apps need the draw over other apps (for example facebook messenger with the chat heads, and other apps that put an overlay on your screen).
> 0 votes

---
Tags: applications, drawing
---


# Question
Title: Does clean installing instead of updating save more space?
I recently removed and reinstalled Google Maps and there was something I noticed that made me post this question.

Before removing the app (which I had for about 2 years and had been updating regularly), it's size was about 60MB. After clean installing the application with it's latest version from the Google Playstore it now has a size of 44,5MB.

Why does this happen? Do updates add size in the app every time it updates? If for example an app occupies 30MB of space and an updates is 7MB, will this space be added to the 30MB? And last but not least....Is clean installing an app instead of updating a better solution if someone needs the app not to dramatically increase in size?

# Answer
Usually when an application is being updated, its the case that files (*resources* in apk - code, libraries, assets, images etc) are being replaced rather than being added. Of course the question, is how big is the portion being replaced, which utimately determines the final size of the "update".

*If new resources are added by the application developer without removing anything in the previous version then it will likely be bigger, and if some resources are removed and replaced with less, then its the other way round*

> If the update has contains more *resources* than before, it uses more space. If it's a bug fix (*similar to a typo in text*), it might even use a few bytes less space.

For most applications, updates will usually increase the total size to a larger value. But in your case with Google Maps, it seems the items that replaced ones in previous version are "compressed" i.e much smaller.

**Uninstalling old version and clean installation of newer version**

When a user application is installed, it usually keeps its data (settings, databases etc) and also cache in the `/data` partition and cache partition.

Uninstalling the application also deletes this related data.

If you then clean install it, you'd also note size difference (even say the were supposed to be same size apk!) Just as Izzy wrote in comments. In this case the clean install will seem to provide the user with a smaller sized update than updating straight (but its somewhat misleading)

But as expected, the size will also increase as new data and cache are saved.

*Note: with this route you likely lose all saved data within the application.*

**Generally speaking though, uninstalling the old version and installing the new version will use roughly the same space as updating the old version.**
> 1 votes

---
Tags: updates, installation
---


title: add a local picture to imindq mind maps

text:
# Question
Title: add a local picture to imindq mind maps
almost all is in the title : imindq asks an url when attempting to add a picture to a node. I would like to add a local picture... I tried something like this :

> file:///sdcard/pictures/position\_-2101364257.jpg

but it does not seem to work. thank you

# Answer
> 0 votes
It seems that you got confused with the document option and image option. The one just below the + sign is for document which you ended up using. The third from the bottom (icon of a scenery) provides the image functionality. Even in there, you get to select only icons from a given set.

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

---
Tags: productivity
---


# Question
Title: What does 'Always On Display' button does in Android on Samsung Galaxy S7?
What does 'Always On Display' button does in Android on Samsung Galaxy S7?

Please don't say it makes display be always on, because it doesn't.

# Answer
Quoted from CNET:

> According to Samsung, the average smartphone owner checks his or her device nearly 150 times a day: A quick press of the power button to view the time here, and double tap on the screen to view notifications there, apparently adds up fast.
>
> Samsung's solution for this obsessive checking and waking our smartphones is through a feature it calls Always-On Display.
>
> As the name implies, Samsung's latest Galaxy devices are equipped with the fancy new feature.
>
> After locking your device, the screen will remain dimly lit. The default setting is to display the current time, with the information moving around on the screen every few seconds. Alerts for missed calls and text messages are also placed on the screen.

...and additionally from TechRadar:

> Where before you'd have to wake the phone to see the time or check your notifications, now the screen permanently displays a clock, calendar or pattern.
> 0 votes

---
Tags: screen
---