title: What is KingoRoot error code 0x15F6D5?

text:
# Question
Title: What is KingoRoot error code 0x15F6D5?
I'm currently rooting a Samsung J1 Ace in Android 5.1.1 using KingoRoot in order to give Link2SD root access and move the apps, music, and other data files from its internal storage to a SD card. The internal hard drive has 8 GB and is almost full to the point where it can't update apps.

I've downloaded KingoRoot through the mobile browser as an **APK file** and enabled USB debugging. After a few minutes, it reports that the rooting process has failed and reports `ERROR CODE: 0x15F6D5`. I searched through forums and have found nothing on this error code.

What is it and how do I avoid it?

# Answer
I don't think this phone model on this Android version can be rooted using any one-click method, especially those using apps! Those apps/softwares seem to since from android 5 (Lollipop).

You can still try the desktop version which I doubt will succeed.

Only Chainfire's rooting method can work. Works on every Samsung devices I had to root. The method consists of flashing a modified recovery by entering the device in Download mode.

Also, I'll recommend you heading to XDA Developers for extra details.

Follow the instructions form this site. Or this detailed rooting process from XDA Developers. Alternative solution from Tsar3000 site.

Find all rooting files for many Samsung devices from the developer's site.
> 2 votes

---
Tags: rooting, 5.0-lollipop, system-error, kingo
---


title: GALAXY TAB A PASSWORD RESET

text:
# Question
Title: GALAXY TAB A PASSWORD RESET
Holding the volume key then pressing the home on button does not work Whether you hold the volume up or the volume down Holding the Home Power Button Letting It Go And continue to hold the volume key up or down does not work

# Answer
Volume up, home and power should do the trick. It sometimes is a bit tricky though. Make sure;

1. Turn **off** the device
2. Press volume up and hold, **afterwards** press home, **afterwards** press power and keep holding them
3. You should be in recovery
> 0 votes

---
Tags: recovery-mode
---


# Question
Title: Nougat: Possible to set all notifications from the Gmail app to not make any sound?:
On Nougat is it possible to set all notifications from Gmail to not make any sound?

I want the notifications to appear just that they are not so urgent that they keep making sounds when they arrive. i.e. Immediate attention is not needed.

For Whatsapp it has internal settings where I've turned the sound off. But Gmail doesn't seem to offer such options so far as I can tell.

But is there an external way via Nougat to set what alerts / sounds a particular app's notifications will produce?

# Answer
You can edit the notification settings;

Settings -\> account you want to make silent -\> uncheck notifications or change preferences with the box below
> 0 votes

---
Tags: notifications, gmail, 7.0-nougat
---


title: Give Nix SU privileges

text:
# Question
Title: Give Nix SU privileges
I have a rooted device that runs our custom app in the system/priv-app folder. I would like to enable OTA updates, but would need to give SureMDM Nix app SU privileges. I am told the package name is com.nix. Does anyone know how to do this with ADB. I have root level privileges via ADB remount or SU commands.

# Answer
> 2 votes
Grant all required SuperSU Permissions on one of the device and then connect it to desktop through USB and execute below commands .

**Note:** This commands will work only if adb has root access . It will be good if you uncheck Re-authetication & check Trust System User option also at the time of intial configuration .

```
adb root
adb shell
chmod 777 /data/data/eu.chainfire.supersu/shared_prefs/eu.chainfire.supersu_preferences.xml;
cat data/data/eu.chainfire.supersu/shared_prefs/eu.chainfire.supersu_preferences.xml > /sdcard/eu.chainfire.supersu_preferences.xml ;
exit;
adb pull /sdcard/eu.chainfire.supersu_preferences.xml ;

```

For **replicating** above same SuperSU settings on other device, connect device to desktop through usb and execute below commands .

```
adb push  ../eu.chainfire.supersu_preferences.xml /sdcard/
adb root
adb shell
chmod 777 /data/data/eu.chainfire.supersu/shared_prefs/eu.chainfire.supersu_preferences.xml;
cat /sdcard/eu.chainfire.supersu_preferences.xml > data/data/eu.chainfire.supersu/shared_prefs/eu.chainfire.supersu_preferences.xml ;
am force-stop eu.chainfire.supersu;am start -a android.intent.action.MAIN -n eu.chainfire.supersu/.MainActivity ;

```

---
Tags: rooting
---


title: ZTE n817 android

text:
# Question
Title: ZTE n817 android
does ATT ZTE Z831 Android disable the internal storage option

My ZTE n817 is stuck on the screen FTM i took out the battery and when i turned it back on it still said FTM what do i do because i want to factory reset it but it wont let me and nothing is fixing it

# Answer
To get into recovery mode:

1. Power off the device.
2. Then press the power & volume up keys at the same time.
3. Hold down until the Android appears, release.

Note step 2: Pressing the volume key down instead up takes you to Factory Test Mode (FTM).
> 0 votes

---
Tags: factory-reset
---


title: KingoRoot is stuck at 90%

text:
# Question
Title: KingoRoot is stuck at 90%
I'm currently rooting a Samsung J1 Ace in Android 5.1.1 using KingoRoot in order to give Link2SD root access and move the apps, music, and other data files from its internal storage to a SD card. The internal hard drive has 8 GB and is almost full to the point where it can't update apps.

I've downloaded KingoRoot through the mobile browser as an **APK file** and enabled USB debugging. Unfortunately, 1 to 2 hours after starting the rooting process, the completion percentage is stuck at 90. When completion is at 90 percent, the rooting process is executed, however it seems frozen. The average duration of the rooting process is usually between 5 to 10 minutes.

I've searched through the Internet and found that switching it off via the power button maybe lead to an unstable root.

Is there any solution to this issue?

**EDIT**: The problem is gone after I have rebooted the phone and but I get error code `0x15F6D5` which I have asked a separate question on.

# Answer
All I did was reboot the phone and the rooting process abruptly, yet safely, halted. Assuming that this issue is related to my other question, it probably means that the device being rooted is **not supported**.
> 2 votes

---
Tags: rooting, 5.0-lollipop, kingo
---


title: Contacts - Self-Hosting

text:
# Question
Title: Contacts - Self-Hosting
I would like to host the contacts of my android device on my own.

Up to now I used an old android device and tine20

I upgraded my android device to the latest LineageOS.

Now the contact sync to tine20 seems broken. The contacts get synced, but some minutes later they are all gone again. I tried CardDAV, but this did not work (at least not on the first try)

I am not married with tine20. I can change the server, as long as I can do "self-hosting".

What choices do I have now, and what is the most simple solution?

# Answer
I use owncloud and its contacts plugin now.

For syncing I use DavDroid

Here is the way I managed to transfer the contacts from ActiveSync+Tine20 to CardDAV+Owncloud:

* On Android device connect via ActiveSync (aka Exchange) to tine20.
* Do sync, wait until sync finished.
* Don't wait too long now, since after some minutes all contacts are lost again. At least on my device (LineageOS Android 7.1.2)
* Go to contacts app in android.
* Export all contacts to VCF.
* Remove ActiveSync/Exchange account
* Restart android device. List of contacts should be empty now
* Install DavDroid (or an other CardDAV sync app)
* Go to Contacts/Accounts add a DavDroid account. I use owncloud, but other CardDAV provider should work, too.
* Go to Contacts/Settings set the new account as default
* Got to Contacts/Settings/Import import the contacts again, which you exported in the above step.
* Done :-)

Feedback welcome. I guess above guideline can be improved, tell me how, or do it if you have enough credits on this site.
> 0 votes

# Answer
You can use the android app Nine. This app can sync between tine20 and the android contacts app.

This way your data is in your hands in open source software (tine20), but the sync is commercial and closed source.
> 0 votes

---
Tags: contacts
---


# Question
Title: How to change marshmallow notifications and viberation setting
I gave samsung j7 prime with android marshmallow, i turned off notifications in setting for perticular apps like messages, whatsapp. My phone is always in viberating mode. Whenever i recieves a messege my phone doesn't viberate. Is there any setting for that ? But i want notification to be turned off and whenever a new messege arrives it should viberate like my old samsung phone.

# Answer
> 0 votes
The vibration is part of the notification, so if you turn the notification off, you don't get the vibration. You need to turn notifications back on. If your phone is in vibration mode then the notification will make your phone vibrate instead of making a noise, without you needing to change anything else. Even if your phone is in noisy mode, you can change the options in each app individually so its notification only vibrates without playing a sound.

---
Tags: 6.0-marshmallow, settings
---


# Question
Title: uninstalling a self built app, which was created in two copies accidentally
I built an app through android studio but two copies were created and I could uninstall one copy but the other says that the app is not present in the list of installed apps, but the icon remains.. How to remove it?

# Answer
Can you access the folder of apps from your computer by plugging it in via usb, and then delete all folders from that app there?
> 0 votes

---
Tags: applications, uninstallation
---


# Question
Title: adb devices gives same serial number for all Micromax devices
I have few micromax devices and I have different serial number for those in the box. But when I run the command adb devices for these devices, I get everything as 0123456789ABCDEF. Is there are way to get the proper device serial number for these micromax devices?

# Answer
> -1 votes
your problem may be incorrect drivers. if you installed correct drivers then restart adb and your phone too. if this does not help im sure you're not installed correct drivers. hope this help.

---
Tags: adb, multiple-devices, micromax
---


# Question
Title: Using ADB, what command can I use to break/permanently destroy a Galaxy S5?
I really need to know how to completely fry an S5 (don't ask why) using ADB while attached to a USB to my computer. Someone had posted the instructions for an S4 but the command only turned it off and on again when I used it. If there is any other method I can use to do this (break it I mean, but not physically), let me know.

# Answer
> 2 votes
Requires root access

```
dd if=/dev/zero of=/dev/block/mmcblk0

```

It won't complete through the whole disk, but will proceed to a point where the device flashes black and falls irresponsive. All data are not erased, but the system is gone and it's very hard to recover.

For the same effect:

```
dd if=/dev/zero of=/dev/block/mmcblk0 bs=4096 count=256
# Only erases the first 1MB, where the GPT table lies

```

Alternatively (for Galaxy S5 and other "modern" phones):

```
dd if=/dev/zero of=/dev/block/by-name/aboot

```

An aftersale service can recover the device without breaking it open, which is what you wanted. I'm not going to post any details about recovery, only the fact that it **can** be recovered.

# Answer
> -1 votes
If you have root right then its very simple. with adb command

```
$ adb shell rm /system/bin/linker

```

you can also try this with terminal emulater with root permission

this will remove executable linker which is very important for .so library in system or in apps. after reboot i'm sure you can't access your device. but if you want it back you can use flash tool to flash stock ram and get running it back. you can also try to remove some other binary in system part.

---
Tags: 5.0-lollipop, 6.0-marshmallow, adb, samsung-galaxy-s-5
---


# Question
Title: Problem with ADB on my Nexus 4 (unauthorized phone)
When running adb devices in cmd, it says that my phone is unauthorized. It appears that it has something to do with the RSA fingerprint prompt. I don't remember ever getting such a prompt. Yes, I am running in PTP mode and debugging is enabled. I tried, after looking around on internet for multiple hours:

* Enabling/disabling debugging mode repeatedly
* Uninstalling and reinstalling my drivers for my phone or ADB
* `adb-killserver` and `adb-startserver`
* Restarting my phone and unplugging/replugging in multiple ways

I did notice that in my `(user)/.android/` folder, I don't have a file called `adbkey.pub` (which is apparently the file that's supposed to have my key). Anyway, I don't think I've ever received the prompt about RSA fingerprint and I can't make it appear in any way.

Do you guys have any idea what I could do at this point. I tried about everything on these forums and around on the Internet but maybe there is something else I could do. Should I reset my phone to factory settings at this point to make the prompt appear again?

# Answer
There are two possibilities:

1. Update your pre 4.2.x SDK to the latest version that includes RSA auth.
2. If I'm right to assume you're running Linux (user/.android/). In case of Ubuntu/Debian: The 'android-tools-adb' package provides the adb binary which is preferred to that of the SDK. If it is installed, it must be recent (\>4.2), because RSA authentication isn't integrated in earlier versions. You can manually download that of Roaring and install it on 12.xx, i have tested this already and it worked. Or just use that from the SDK. Be sure to kill the old adb server instance after upgrading/fixing the version.
> 0 votes

# Answer
Couple of things could help:

* actually, sometimes happens that you cable, used for connection is getting broken, try with another one
* when connected, in notification shade select USB for charging and change it to either MTP or Storage
> 0 votes

---
Tags: adb, debug
---


title: Ads and popups on my browser

text:
# Question
Title: Ads and popups on my browser
I am trying to browse on my Samsung android phone using Chrome and I keep on being redirected and having all this kinds of popups coming up. I have tried all solutions offered online and none is working. Please help me out because this is really pissing me off!!

# Answer
Unlike desktop, the mobile version doesn't have adblock which will stop all the *Redirects* you're facing. Try using UC browser, it's got inbuilt adblocker and on top of that it's really fast
> 0 votes

# Answer
I think you're infected by a malware. The solution is only delete your chrome browser app data. long tap on chrome in app list drop it on app info then force close then delete app data. keep in mind that if your browser infected by a malware then no adblocker will help. also you can search for apps which is not installed by you in app manager find them then uninstall will help. if you are on public network then definatlly your device may infected.

this link may little help here
> 0 votes

---
Tags: 5.0-lollipop
---


# Question
Title: contacts do not sync and get overriden/deleted
When I use the built-in contact app with either a outlook.com or a office365 account on the phone created contacts get deleted after some time and they don't sync to the web.

What have I done:

* delete and add account
* factory reset

Similiar to https://forums.oneplus.net/threads/contacts-keep-deleating.484478/ except that I already save to another account.

# Answer
> 1 votes
I was unable to stop the outlook App overriding/deleting created contacts. But syncing contacts via gmail, but using the Outlook App for everything else seems to work.

* Disable Contact syncing for all accounts added to the Outlook App in the system settings.
* Add all accounts to as an exchange account to the google App (In Account settings, there should be an 'Exchange' option. Disable all syncing but contact sycning.

+ For outlook.com accounts you will need to manually select 'Exchange' in the next step, even after selecting Exchange Account in Account Settings (else it defaults to IMAP).

# Answer
> 1 votes
Same problem here on the Moto G5 Plus. My answer was simply to avoid the Outlook app and force myself to get comfortable with Google's Mail app. By not having Outlook installed, the exchange contacts from my Office 365 Personal account are working fine now. As stated above, you must do manual setup to have the account recognized as an Exchange account rather than an IMAP. Aside from the contacts challenge, Outlook was not allowing me to add the gmail account to the app (maybe a Google rescriction?), so in the end avoiding Outlook solved both problems.

# Answer
> 0 votes
> I'm not a user of OnePlus, but I can say Outlook App in Android has some issues built-in for quite a long time, so one suggestion is that: uninstall the app & make a fresh install again. Hope it helps.

---
Tags: contacts, 7.0-nougat, oneplus-3
---


# Question
Title: How to force android 6 to automatically connect to a network without internet access?
I've set up a hifiberry(raspberry + dac shield) in my car, which has a wireless access point. I'm using my old sony z3 compact as a headunit. Runeaudio allows you to do all this easily. However, the raspberry is just an access point, there is no modem so it has no internet access.

Normally the phone will connect to networks automatically, but inthis case, it says "no internet access, won't automatically connect" in the wifi options. I have to manually connect it every time.

Is there a way to make it connect automatically, even though there is no internet access?

# Answer
> 1 votes
As mentioned here since Android 5, when the device connect to. Wi-Fi network it makes a quick HTTP request to check if it has internet access.

> This check is, for example, done with `clients3.google.com/generate_204` , a “webpage” that always returns an HTTP status code `204 No Content| . Thus, if the device receives a` 204\` it is connected to the internet, otherwise it assumes that this network does not provide proper internet access or is just a captive portal.

Most probable resolution is to disable captive portal detection, ad there are a variety of ways to achieve this:

1. **Using AdAway to prevent the HTTP leak (blocking the URL)**

* Configuration of AdAway which blocks Google’s captive portal detection.

`# captive portal`

```
 127.0.0.1   clients3.google.com

 127.0.0.1   clients.l.google.com

```
2. **Disable captive portal detection**

With a rooted phone you can simply disable captive portal detection. Just get a root-shell through adb (or SSH etc) to run the following command:

```
settings put global captive_portal_detection_enabled 0

```

Additionally see this related question: How to disable captive portal detection? How to remove exclamation mark on Wi-Fi or signal icon in Lollipop?

3. **Change the server for captive portal detection using AdAway**

Another option for changing the captive portal detection server is to change its IP address to one that’s under your control.

You can do that with AdAway, for example. Let’s say your captive portal detection server has the IP address `5.189.140.231` , then you may add the following to your AdAway configuration:

```
5.189.140.231 clients3.google.com
5.189.140.231 clients.l.google.com

```

The webserver at `5.189.140.231` should then of course accept requests for the foreign domains.

For other workarounds see here

---
Tags: stock-android, connection-issues, wifi-hotspot
---


title: Why is there no JRE for android?

text:
# Question
Title: Why is there no JRE for android?
I understand that android does not use a JRE and Google has build a platform only for android. But an android device is not really different from e.g a Raspberry PI. So why is it not possible to just install Oracles JVM on a rooted android device?

# Answer
> Why is it not possible to just install Oracles JVM on a rooted android device?

1. You simply don't *just install* something on Android. Installing apps requires a bunch of stuff.
Also: You can't just install ordinary applications, frameworks etc like on a PC (there are apps that allow this in their own container).
2. There is an ongoing dispute between Oracle (Java) and Google (Android) about Java APIs and code. (https://en.wikipedia.org/wiki/Oracle\_America,\_Inc.\_v.\_Google,\_Inc.)
3. You are already running a Java virtual machine that is integrated into the system (DalvikVM, Android Runtime ART) and is able to run basically all non-proprietary Java code (no `sun` package).
4. If you really want to run Java code, make a simple one button app that calls the code you want.
> 2 votes

---
Tags: java
---


# Question
Title: What controller is the one included in this picture?
I can't make out the writing on the controller because of the picture's quality. Can anyone identify what brand and model this is?

# Answer
> 0 votes
Android TV controller... There are many similar ones on Amazon but I believe this one is discontinued already.

http://www.businessinsider.com/android-tv-game-controller-2014-6

---
Tags: game-controllers
---


title: Huawei 5C - locked out wanting PIN1

text:
# Question
Title: Huawei 5C - locked out wanting PIN1
I have a rooted Huawei 5c that I'm locked out of. It requires 'SIM1 - PIN1' which AFSAK I never created. Normally one gets three attempts and then you have to input PUK (which I have); that I'm aware of. The thing is, it's not responding to 'three attempts', it just does nothing after numerous attempts.

A bit of background.

This whole issue began when I put a PAYG SIM in the second SIM slot. When I booted back up, it required 'SIM1 - PIN1' for the phone to start, which I don't have. I removed the second SIM and booted into the phone as normal. Went to the security section and this is where potentially the mistake was made. I thought the phone was asking me to enter (read: create) the password for the SIM card, but nope... it already had a default password and was asking me to enter that. I entered (read: tried to create) a password twice, and BAM... now locked out of the phone, whichever SIM is present or both. As I mentioned it is not responding to three attempts.

I have access to ADB and the command line, is there anything I can do with that? Any help appreciated.

# Answer
> 0 votes
Something went wrong and the data are damaged. Here are some steps to follow, try each one:

1. Try default PIN codes: 0000, 1234, 1111, etc
2. Reboot into the recovery then clear the phone cache. Either with adb command `adb reboot recovery` or by key combo.
3. Perform a factory reset from the recovery.
4. Flash the device with a fresh ROM. You can get the firmware and the flashing guide from Huawei Support site. Unzip the zip and follow te instructions.

---
Tags: sim-card, locked-out
---


title: How to control user installed apps?

text:
# Question
Title: How to control user installed apps?
Device Pre-installed Apps(Camera, Calendar, file manager etc. ) have options for 'Force Stop' and 'Enable/Disable' app. And, for User installed apps(from PlayStore etc.) have only options 'Force Stop' and 'Uninstall'.

I have set some applications to `start from boot`. Mostly, user apps are set to start, while I touch them only. But, some user apps start automatically, and consumes RAM. I will Force Stop/remove those apps from RAM. But, it starts again after few hours.

Is there any method to **disable** such apps rather than uninstalling those apps.

Device : Xiaomi Redmi 1S - Lineage OS 14.1(rooted)

# Answer
> 4 votes
On a rooted device, it is possible to disable/enable user apps using a terminal emulator.

To do so, open a terminal of your choice, enter

```
su

```

to acquire root privileges and then enter

```
pm disable <packagename>

```

Take care to replace `<packagename>` with the package name of the app you wish to disable (for example, if you wish to disable WhatsApp, your command will be `pm disable com.whatsapp`).

To revert the process and thus enable a disabled app, acquire root privileges and issue

```
pm enable <packagename>

```

Again, remember to replace `<packagename>` with the package name of the disabled app you wish to enable.

# Answer
> 2 votes
If you have Xposed Framework installed, you should try XInstaller.

Install it and reboot. Then navigate to **Apps Info**. Tap on **Disable User Apps** to enable this option. Now you can go to **Settings** -\> **Manage Apps** and tap on an app. You'll see a **Disable** option under the usual **Uninstall** one.

Thanks to *Death Mask Salesman*, you can also use XInstaller's successor for Android 6.0+, InstallerOpt. It provides similar function and is intended to replace XInstaller, which is faulty in Android 6.

Disclosure: I am *not* affiliated with XInstaller or its author. I am just a fan user of it.

# Answer
> 0 votes
If your goal is to free more RAM, then this could be useful:

* Go to Settings \> Memory
* The last menu entry says something like "apps that start on boot"
* Click on each app that you don't want to run in background and disable the "start on boot" and "run in background" permissions

I've tested this on the latest version of Lineage OS (based on Android 7.1).

---
Tags: applications, root-access, lineageos, redmi-1s
---


# Question
Title: Stuck on Google Verification after performing a hard reset
I have Oplus phone with 5.1 Lillipop that stuck in google verification. Its says that I need to enter my previous gmail account to continue, but i don't have any access of it. I already forgot how I create that account. I have searched on google about this but I found nothing.

# Answer
**Oplus phone** is powered by Mediatek chipset (MT6582). Just flashing the FRP partition will bypass the lock. Require paid softwares.

Method 2: Try one of many ways to get a temporary access to the device. When you're in, do the following: *(I won't show you how to access the device. You'll have to find how to by yourself)*

* Download this APK file and install it.
* When installed, open it. You'll be asked to enter your Google credentials (E-mail and password).
* Afterwards, factory reset the device (from the menu or from the recovery)
* Now when the phone boots, it will ask for Google account, enter that E-mail and password (the one you previously entered before the reset).
* Et voilà. FRP bypassed.

Disclaimer: ***Use this method only if you forgot the account associated with the device. Do not use it if it is a stolen device.***
> 0 votes

---
Tags: factory-reset, google
---


# Question
Title: How can I use Whatsapp without scanning any QR code?
My phone is broken, and I need to use Whatsapp. I already tried Whatsapp Web, but it is asking for me to scan a QR code, which I can't. Is there any other way to access my Whatsapp account through my PC with the help of an OTP or something?

# Answer
> 5 votes
Nope. Currently QR code is the only way to access the messages on your PC. The messages never leave your phone, they're merely just displayed on your PC, unlike Telegram or other messengers, where messages are synced online through their servers.

# Answer
> 1 votes
Your problem's solution is genymotion emulator its easy and fast Go to this link and select download for personal use. As you said you can get otp, so it will be a perfect solution.

# Answer
> -2 votes
If your phone is broken you can download whatsapp via an android emulator on your pc and use it easily that way.

---
Tags: applications, whatsapp-messenger
---


# Question
Title: How can I delete cookies for a specific site in chrome in android
I can see 'Settings' -\> 'Privacy' -\> 'CLEAR BROWSING DATA', but that will clear my browsing info for all sites. I can also see under 'Settings' -\> 'Site settings', there is an option to select 'All sites' and then pick a specific site. However, the site that has a cookie that I want to delete is not in that list (perhaps that list is only sites that have more than just cookies set?).

I also tried navigating to chrome://settings/cookies (which works in the desktop browser), but this doesn't work in the mobile browser.

# Answer
> 25 votes
Press the favicon for the site and a pop-up will allow you to change a few settings for that specific site including removing data like cookies, just did it, Android 6.01, works.

# Answer
> 9 votes
Settings → (under Advanced) Site settings → All sites

Select the site you want and under Usage you can clear any stored data, includes cookies. You can also Clear & Reset.

I do not think there is a way to clear only cookies but this will allow you to clear data for individual sites.

# Answer
> 0 votes
1. Click Menu (the 3 vertical dots on top right of screen)
2. Cilck History
3. Click the Search magnifying glass
4. Enter the name of the site OR you can be less specific so you pull up EVERYTHING with the site name....Example....you want to clear cookies from www.butterball.com. Enter "butterball" and all sites, including search pages, will be listed in your resulting History. (If you want to clear cookies from just one site, put that site's specific URL.)
5. Click the Trash icon next to each site in the History list (ALL of them)
6. ALL your cookies for your "blocked" site are cleared
7. Now try the site...it worked, right???? :-)

---
Tags: browser, chrome-for-android
---


title: Android 6: disable roaming completely

text:
# Question
Title: Android 6: disable roaming completely
On my Galaxy J510 I have primary sim for calls and secondary for data only. Operator 2 doesn't have 100% coverage and provides data on its own network only.

However after losing signal, phone warns and a couple minutes later switches to roaming and disables data connection. After network is available, roaming is not turned off. My current annoying way to regain data connection is:

* Settings
* Mobile Networks
* Network Operators
* SIM2
* Search Networks
* (wait ca. 30s)
* My operator

**I want phone to stay in SIM2 not connected mode forever until home network is available** \- connection loss is not a problem cos I can answer calls via SIM1. Thanks fo any ideas.

# Answer
Fixed this issue by changing SIMs in slots, former secondary is now primary.

SG J510 apparently can not disconnect roaming and search for home network on SIM2 slot.

Real answer still appreciated.
> 0 votes

---
Tags: networking
---


title: HTC One X factory resets itself

text:
# Question
Title: HTC One X factory resets itself
My HTC One X erased everything on the phone by itself. i lost everything from contacts to pictures to music, everything's gone! I have no back ups! Please, how can I restore everything back? All my important things are gone please!

# Answer
> 0 votes
Unfortunately, if there are no backups of your device, it cannot be restored.

However you may still have some data!

If you had the app Google Photos, your photos are saved online, and can be accessed at photos.google.com.

If you had Google Drive on your phone, your files can be received on the platform on your computer.

If you had Chrome, your bookmarks are most likely synced with your computer.

If you have any questions, please respond! Regards, James Kerrane

---
Tags: 4.4-kitkat
---


# Question
Title: Make whatsapp prompt security code each time
The WhatsApp's 2 step security allows to set a code. So, whenever we re-register with the same mobile number, It will prompt for the code and will continue if it is correct.

Alternatively, WhatsApp prompt the code randomly. I mean when opening whatsapp sometimes, It will ask for the code.

But there is no specific frequency for that. It's just random.

So, my question is **By editing any file, can I make WhatsApp prompt the code each time when I open WhatsApp.**

Because I don't want other app lockers. If I am able to achieve this, it will work as an applock for WhatsApp.

Device : Yu Yureka (AO5510) Cyanogen 12 Official non rooted.

# Answer
> 0 votes
That code input shows to help you remember the 2 Step Verfication code and Yes it is random. So it can't replace your applocker.

---
Tags: whatsapp-messenger
---


# Question
Title: What does it mean when a picture with path that says /internal/
I'm a 51 year old, and I don't know anything about android. I used to call my kids and take pictures on my phone. What does it mean when a picture with path that says /internal/ in my device. I have a LG K20 plus lgmp260.

# Answer
> 2 votes
For android device, it comes up with two type of storage type,Internal and External.

Let's have a comparison of these:

**Internal Storage**

* Internal storage is the built-in storage capacity of the device. It cannot be changed. For Example: 4GB, 8GB, 16GB, 32GB, 64GB etc.
* All applications are stored on internal memory by default.
* Internal memory is faster.
* Cannot be removed (static)

**External Storage (micro SD card)**

* The storage space that supplements internal storage. Also comes up with capacity similar to that of internal, 4GB, 8GB, 16GB, 32GB, 64GB, 128GB etc.
* Some app data can be moved to external memory (Example: Camera Photos)
* Slower than internal memory
* Can be removed and add another with higher capacity (portable) *\[ Higher capacity also has a specific limit. Say, if a device can add up to 64GB external storage, you cannot add a 128GB storage \]*

**Note: Some android devices support internal storage only. Also, Android version 6.0+ devices have a feature to use micro SD card (external) as internal memory.**

# Answer
> 1 votes
You phone has a built-in storage chip, and a MicroSD card slot. Since the storage chip is forged into your phone, it cannot be removed by normal means. So all apps refer to that storage area as "internal", while the MicroSD card is referred to as "external" for its easy removability.

---
Tags: internal-storage
---


# Question
Title: How to keep my music and alarm files separate
I have two folders of mp3 files, one for music and one for my alarm clock. I have them both on my sd card.

Right now I'm trying to use (or find) 3rd party apps that will do what i want.

Even outside the default music folder, the music player and the alarm app both seem to pick up both folders.

I'd like to find a way to ignore the folders in each app. I tried adding a .nomedia folder but that hides it from both apps.

If there's a specific app that can ignore .nomedia files or only look at specified folders, that would probably work.

Seems most alarm apps name you select each song (let me know of any that can just watch folders), but it's still annoying sorting through picking out which is alarm and which isn't.

# Answer
Folder player does that for you. I use the pro version for years now. (I'm a fan). But the free version works just fine for this purpose. Just select a home folder in the settings. I always select the directory above the Music folder, so I'm able to shuffle trough al the mp3's.

Hope this works out for you.

https://play.google.com/store/apps/details?id=com.folderplayer
> 1 votes

---
Tags: applications, music, music-player, alarm, mp3
---


# Question
Title: Incoming call doesn't stop the music in Nexus 5X
Before this time I've been using Samsung Android-phone with Android 4.4. There was the next feature: when I listen to the music in headphones and somebody calls me then music stops and I start to hear incoming call in my headphones.

Now I moved to Nexus 5X and Android 7 and things were changed. Now when there is incoming call music doesn't stop while phone is vibrating, but I can't feel when I'm walking on the street, so I miss a call.

I've tried to find a solution in settings but without any result. I thought that the problem can be solved by turning off silent mode but it didn't help too.

# Answer
Happened to me too, but only when Ring Volume is zero (When you put it in vibrate)

I searched for solutions but dint find any, so I have a workaround for this.

Never set your Ring volume to zero, keep it at minimum not zero. Now it'll ring when you get a call stopping your music.
> 1 votes

---
Tags: calls, music, music-player
---


title: Moto G3 hangs at boot after rooting

text:
# Question
Title: Moto G3 hangs at boot after rooting
I have a Moto G3 and I have just rooted it. When I rebooted it, it is taking too much time for rebooting. It's nearly passed 45 minutes since I rebooted.

# Answer
> 1 votes
This is common with this device if you didn't do a manual systemless root with SuperSU... To fix it perform the following steps, assuming you have an unlocked bootloader and the latest TWRP 3.1.1 installed.

1. Download the latest SuperSU from here (official source)
2. Start TWRP and copy the SuperSU zip file to the device
3. In TWRP, go to Home, Advanced, then Terminal
4. Enter `echo SYSTEMLESS=true>>/data/.supersu` EXACTLY as shown and press Enter
5. Enter `cat /data/.supersu` to verify the output is `SYSTEMLESS=true`
6. Exit the terminal and press Home
7. Install the latest ZIP from Chainfire
8. Reboot. The device should not take more than 15 minutes to boot

Although I haven't updated it in a while, here is the full guide with explanations of each piece.

If you used Magisk, no special preparations are necessary if you are using a current version, just flash, install Magisk Manager, and enjoy.

---
Tags: rooting, boot, motorola-moto-g3
---


# Question
Title: Can I connect my android phone to the LAN, via an ethernet cable?
I want to connect my Galaxy S2 HD LTE SHV-120S Android version 4.0 (rooted) to the internet via a LAN connection. I am sensitive to wifi and network radiation, hence want to make a line connection and keep my phone on airplane mode. BobjGear mentions some tablets have the required settings, but no phones. I have an OTG cable, a USB LAN adapter, and a usb cable. I did not find any ethernet drivers on Google Playstore. Would CyanogenMod or Ubuntu OS have this support? If it is not possible with this phone, which phones can be configured for it?

# Answer
> 2 votes
You'll need a USB-OTG adapter, or equivalently for newer devices with USB-C ports, a USB-C to USB-A adapter, to be able to physically connect a USB Ethernet adapter to your phone. It'll only work, though, if the phone has a driver for the Ethernet adapter you're using. That may vary from phone to phone.

This USB Ethernet adapter has worked for me on several Google-branded Android devices: a Nexus 5, Nexus 5X, and Pixel C tablet. I've been told by a friend that it also works on the Wii U. It's an older device (note, doesn't support gigabit) and apparently pretty widely supported.

However, other Android device makers may have removed some drivers from the version of the OS that they ship on their devices, so there's no guarantee that it'll work with every phone.

# Answer
> 1 votes
You need a powered USB hub to make the LAN connection work. Amazon does a cheap powered hub. I have used this set-up for a tablet so it should work with your phone, which has a USB port. You should not need a different driver.

# Answer
> 0 votes
I don't know about your phone but the Nexus 7 can be configured the way you want, view the following video.

Alternative Method :

Buy a phone which has a usb internet option in settings (like my htc 816g), and just connect your phone via usb to your computer and share computer's internet with the phone.

In both methods you are safe from radiations of wifi or mobile data.

Hope it helps.

# Answer
> -2 votes
You can use something called reverse tethering, it is done by connecting your device with a computer via USB connector.. then you can connect your Ethernet with your computer.. that's how you can use internet in your computer as well as your Android device..

---
Tags: usb, lan
---


title: Screen jerk and random touches

text:
# Question
Title: Screen jerk and random touches
I am using lenovo k3 note with updated version marshmelo 6.0. Sometimes it happens like random touches appearing on my screen and screen jerks many times. I have restarted my phone many a time but it happens several time in a day. I don't know what I should do. I am using this it since 1 year.

# Answer
Looks like your screen and the digitizer are going bad. Maybe there is moisture inside your device. I am no expert but if this is the case try to dry it with hair dryer
> 0 votes

# Answer
Hello I have some problem with touch screen in past.

some time on low battery random touch appear and on broken screen phone have same problem.

So if problem is hardware this possibly can help.

So I make some application for hot fix this until you change new screen.

app calls Partial Screen, easy to find on google play https://play.google.com/store/apps/details?id=ich.andre.partialscreen

Hope this can be helpful.
> 0 votes

---
Tags: touchscreen
---


# Question
Title: Which driver is in charge of headset buttons on my tablet?
I have recently bought a Lenovo Tab3 710F tablet (product page) and I'm trying to control the music playback externally with a small electronic circuit.

The idea is to reproduce the same behavior as the buttons that one can find on a external headset which plugs into the mini-jack port.

There is a page in the Android documentation which specifies this interface: 3.5 mm Headset: Accessory Specification. In brief, each button should be connected in series with a resistor of a given value with allows the android device to detect which button was pressed and trigger the corresponding action.

The problem is that my tablet doesn't really respond according to that specification (ex button B triggers next song, instead of vol+). Also, the wiring on this tablet seems inverted between GND and MIC. I have tried opening the tablet to find the audio or headset detection IC model, but to no luck as everything is sealed.

**Thus, I was thinking that maybe I could get some info from "software": how can I know which driver is handling button actions?**

The idea would then to look at the source code (available on Lenovo website), to find the various capabilities coded in the driver, and maybe even an IC reference that would help me locate the IC datasheet for further information.

# Answer
OK guys, I'm a bit surprised that I didn't get any answer, but I guess that's because it was more of a stackoverflow question...

Anyway, I continued my research and I found the answer myself, in particular thanks to this PDF which describes in detail "The Android Input Architecture".

The PDF provides all the details, but basically each driver registers input\_devices with the Linux Kernel and a device file is created for each event under /dev/input/eventXX. Then there is an Android mechanism to route those events to the applications, but that is not the concern here.

One can use the command `getevent` to get more information on these events (see also Android documentation):

* `getevent -li` provides a list of the registered input devices with the possible events for each device
* `getevent -lp` prints a new line for each event received (the `-l` flag displays the events types and names in plain text rather than number)

So for example in the case of my Lenovo tablet, we find that:

```
add device 6: /dev/input/event1
  bus:      0019
  vendor    0000
  product   0000
  version   0000
  name:     "ACCDET"
  location: ""
  id:       ""
  version:  1.0.1
  events:
    KEY (0001): KEY_VOLUMEDOWN        KEY_VOLUMEUP          KEY_HANGEUL
  KEY_NEXTSONG
                KEY_PLAYPAUSE         KEY_PREVIOUSSONG      KEY_STOPCD
  KEY_SEND
  input props:
    <none>

```

NOTE: This is only an extract from the complete output, limited to the headset buttons detection.

Thus, the headset buttons handling seems to be done by some "ACCDET" component. Now, I still haven't figured out the "formal" way to know which driver registers this event, but by using the ACCDET and KEY\_XX keywords in a source code search, I was able to find the corresponding source file (accdet.c), which contained the other information I was looking for (namely the voltage thresholds for each button detection).

Finally, it is also worth to note that one can simulate events using the `sendevents` command. So for instance, to simulate pressing (and releasing) the play/pause button, one would use:

```
sendevent /dev/input/event1 1 164 1; \
sendevent /dev/input/event1 1 164 0; \
sendevent /dev/input/event1 0 0 0

```

Hope it can help someone else...
> 0 votes

---
Tags: hardware, system, lenovo, headset-controls
---


# Question
Title: Reinstalling TWRP via Odin on Android 4.1, failed after "SetupConnection"
I recently installed TWRP recovery into a Samsung Galaxy Note 10.1 GT-N8013 tablet running Android 4.1.1 via Odin. I wanted to install a custom ROM, in this case LineageOS. Unfortunately, I installed TWRP with the check box "Auto Reboot" ticked, this meant I could not boot the tablet into TWRP recovery mode; instead it booted with the default Android System Recovery.

I then read this question which provided the solution to this issue.

What I had to do was reinstall the same TWRP TAR file in the same method but with the aforementioned check box unticked. I employed the same methods but what it returned was:

```
<ID:0/003> Added!!
<ID:0/003> Odin engine v(ID:3.1203)..
<ID:0/003> File analysis..
<ID:0/003> SetupConnection..

```

5 to 10 minutes later...

```
<ID:0/003> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

```

I tried using a different TWRP TAR file but I gave me the same result.

How else should I reinstall TWRP and how should I install it correctly?

# Answer
**Using the correct version of TWRP solved the issue. In this case, it was `twrp-2.8.6.0-gt-n8013.tar`.**

In my previous attempts, I had used the incorrect versions of TWRP for my specific device: `twrp-2.8.6.0-p4notewifi.tar` and `twrp-3.0.2-0-lt03wifiue.img.tar`.
> 1 votes

---
Tags: samsung, 4.1-jelly-bean, twrp, odin, samsung-galaxy-note-10.1
---


# Question
Title: How do I turn off Stories to Read in Google Now?
I do not want to see the Stories To Read cards in Google now. Is there any way to turn this feature off? I can only see an option to turn it off for particular websites.

# Answer
Since Google's redesigned Feed as a replacement of Google Now on July 19, 2017, there's no easy way to remove *Stories to read* but to block every single source/topic.

James Wald commented:

> I was able to defeat the "Stories to read" section by blocking every single source using "Not interested in stories from ..." on each card. The stories section is now gone from my Google Now feed. There are hundreds of sources, so it took a while.

However they also mentioned,

> The only addition worth mentioning is that Google matches additional story sources over time, so the Stories section tends to reappear, requiring more manual blocking. It may not be such a great solution after all.

(Note: not tested personally)
> 8 votes

# Answer
It appears as though you can't turn off stories to read without turning on Web & App Activity, which saves (and presumably allows google to see) all of your searches and browsing history.

So you can either (a) not use Google Now (b) be annoyed with trashy clickbait "stories" (c) allow Google to see, save, and track all of your searches and browsing history or (d) start a class-action lawsuit.
> 4 votes

# Answer
See google reply here. https://support.google.com/websearch/answer/2824784?co=GENIE.Platform%3DAndroid&hl=en

Steps 1. Open Google app. 2. Goto "Settings" 3. Select "Your feed" 4. Either turn off notifications by diaabling "Feed" option or first "Delete Card preferences" and then disabling "Feed" toggle.
> 2 votes

# Answer
Long press on Desktop, press "Settings", press "Your feed", Turn on the feed "Yes/No".
> -3 votes

---
Tags: google-now
---


# Question
Title: Block regular and whatsapp outgoing calls
I want to disable a certain number, not to make regular and WhatsApp outgoing calls on my sons phone. Is there a way, I can do this , without him knowing about it?

# Answer
EDIT: It is impossible to do this without your son knowing, as acejavelin said. This answer is the second best thing.

If I think what I think you are saying you, want to block out going calls on your phone? Here's a way to do it:

To block a contact that is saved in your phone

Open WhatsApp.Tap the Menu Button \> Settings \> Account \> Privacy \> Blocked contacts.Tap the add contact icon.Select the contact you wish to block from the list.

To block a number that is not saved in your phone

Open the chat with the unknown contact. Tap Block.

When you receive an initial message from an unknown number, you will also have the option to Report spam, which will report and block the user.

**To block calls on your phone: It varies phone by phone, but here is instruction for some commons OS versions:**

For Marshmallow or Nougat, open Dialer, go to your recent calls list, find the number you want to block and select Block/Report Spam. (If you don't want to report the number as spam, you can uncheck the box.) Then tap Block.

For Lollipop, go to the Phone app and select Call Settings \> Call Rejection (ouch) \> Auto Reject List. Type in the number or search for it, select it, and you're done.

Sources:

http://www.pcmag.com/article2/0,2817,2476416,00.asp

https://faq.whatsapp.com/en/android/21080506
> 1 votes

# Answer
My answer is similar to the one already, that is : Open WhatsApp.Tap the Menu Button \> Settings \> Account \> Privacy \> Blocked contacts.Tap the add contact icon.Select the contact you wish to block from the list.
> 1 votes

---
Tags: call-screening
---


# Question
Title: How to check call logs of my Android phone on my computer via internet
I looking for an app or something which can help to check my phone call logs on my computer, It should not involve USB cable, the app should work wirelessly..

is there any thing that is suitable for my requirement.?

Thank you

# Answer
Guide to Connecting Android Phone to PC through WiFi

**Download**

Go to Google Play to download AirMore on your Android phone.

**Go to AirMore Web**

Two Methods to get there:

**Method 1**: Open Chrome or Firefox browser on your PC. Manually type in the address: web.airmore.com **Method 2**: Visit AirMore's product page. Click “Launch AirMore Web to Connect” button in the lower right.

**Connect Android device to PC**

**Step 1:** On your Android, find the AirMore app and open it. Tap the “Scan to connect” button.

**Step 2:** Scan the QR code displayed on the web or hit the device icon in Radar.

**Step 3:** On the condition that you connect devices in Radar, then click “Accept” option when a dialog comes out on your Android.

Note: For successful connection, your Android and PC are required to be in the same WiFi network environment.

In this way, without the need of USB cable, you can still connect Android to PC wirelessly.

As a cross-platform tool, AirMore enables you to transfer pictures, music, videos, apps, books, documents and files from Android to PC and vice versa.

Hope this helps!

Source:

https://airmore.com/help/android/connect-android-to-pc.html
> 0 votes

# Answer
I recommend you use the Connect Me app.

Connect Me allows us to streamin all the media stored on the phone. You can even connect the camera on the phone with the desktop. As well as Airmore, Connect Me can also be used to make SMS and make phone calls without touching the phone screen. Measures of Connect Me use almost exactly Airmore, You can download Connect Me from Google Play Store. Connect Me works well on Windows, Linux, Mac and Chrome OS operating systems. This application is also able to send ringtones, copy paste with clipboard and also screenshots.
> 0 votes

---
Tags: calls, data-monitoring, call-history
---


# Question
Title: How to ensure that my Google accounts sync frequently?
Since I upgraded my S7 to Nougat I notice that the syncing of my google accounts is particularly slow.

If on a computer I create a calendar event, or I send myself an email, I often do not see that as an Inbox notification, or reflected on my Google Calendar widget, until I actually open either app.

I guess (but I am not sure -- how about push notifications?) that this is related to the Google Account syncing being too slow, see attached below ("Sync Calendar", "Sync Gmail" and "Sync Inbox"), taken on 6/20 8:15am.

The things I already tried:

* I do have continuous internet, tried switching between WiFi and 4G mobile internet, all work. I receive near-real time notifications for e.g. WhatsApp and Slack.
* In Settings \> Apps \> Special Access \> Optimize battery usage, I added the below to "not optimized":

+ Calendar
    + Calendar storage
    + Gmail
    + Google Play services
    + Inbox
* In Settings \> Device maintenance \> Battery \> Unmonitored apps, I added
    + Calendar
    + Inbox

# Answer
> 0 votes
You can try to force account sync by manually resetting the time.

1. On your device, open the Settings app.
2. On "System", tap Date & time.
3. DisableDate & auto time and Automatic time zone.
4. Change the date and time manually to be incorrect.
5. Tap the Home Screen button.
6. Reopen the Date & Time settings.
7. Change the date and time manually to be exact again.
8. Activate Automatic date & time and Auto time zone.

---
Tags: sync, 7.0-nougat, samsung-galaxy-s7
---


title: Preventing kids from deleting a folder

text:
# Question
Title: Preventing kids from deleting a folder
I have an old Samsung mobile with android 4.1. I have downloaded some cartoons for kids which they frequently enjoy. However, sometimes the kids accidently delete the cartoons and I have to download them again. So my question is that how can I write-protect this "cartoon" folder so that the kids can only watch the cartoons but cannot delete this cartoon folder? Regards

# Answer
Hiding all apps from default launcher except mxplayer did the trick.
> 1 votes

# Answer
try this apk, Hope this can help you. https://play.google.com/store/apps/details?id=com.kidscrape.king&hl=es
> 0 votes

# Answer
I don’t think it’s possible to make a file read only on an unrooted android device. If it were me, I would put shortcuts on the home screen to make accidental deletion a little less likely and create backup copies of the cartoons in order not to have to download again if they do get trashed. All of this can be done easily with any decent file manager.
> 0 votes

# Answer
If you undertake deletion and want to return it but do not use app from google. Then you can still delete it using another third party app. The way is easy enough you stay following the following ways :

1. First of all you download and install the app in google play store named Diskdigger.
2. Next open the application, it will appear some existing photo files.
3. If you want to restore data in the form of video then you need to root hp android first.
4. Then you can use the application and select the file you want to restore and click restore.
> -1 votes

---
Tags: file-management
---


# Question
Title: How to identify the WhatsApp sender of a media while playing it from the gallery?
When media are received through WhatsApp groups and contacts, they are stored in the storage and are available for the media scanner to list them. When I view the `WhatsApp videos` folder in MXPlayer, I see the videos that I received through WhatsApp.

Occasionally, when I see such an interesting video or image, I forward it to some people or groups, but later to realize that I received it through them. This strikes only when I open the chat history to see the same media sent by someone else.

**Question:** In this situation, I want to find out the sender (or the group) without opening and scanning the WhatsApp messages to avoid this embarrassment. I guess the file naming convention only helps to find the date and time.

# Answer
> 1 votes
You can take a look at the media's metadata. If the sender's name is there, you can identify it that way.

Otherwise, you can ask WhatsApp developers to add the sender's name to the title or something.

Or if you want, you can manually sort the files.

It's all up to the app.

# Answer
> 1 votes
I am a member of "many" groups of which friends added me there.

So, I had one idea on how to know without checking all the messages and going to Chat Rooms, etc. Just click on `Group Icon`, select the `Info` icon now, and there you will find `Media`. Within media, now you have the `Name of sender`. You can actually check all the media without them knowing that you read the messages.

I don't think it's the exact answer to your question, but it's called '*Workaround*'.

# Answer
> 0 votes
When you open the Video/Image in the gallery, sort to view it by dates, and open the details, it will show 20170622 which is the YYYYMMDD.

If you hadn't deleted the WhatsApp Chat, it would be easy to figure out from Media's Metadata, just a suggestion.

---
Tags: whatsapp-messenger, video, images, gallery, media-files
---


# Question
Title: How to prevent android from automatically rearranging home screen icons?
I don't know in which which version of android this has been added but it seems like a really frustrating feature.

Once I delete an icon on my home screen, every other icon gets rearranged automatically towards the left top corner.

This is problematic because some of my apps are placed in a way that is easy to access with right thumb.

This means that every time I remove something from my home screen I need to manually rearrange all the icons back to how they ware, and I can't seem to find a setting that would fix this.

Version of Android - 6.0.1
But the same thing was happening in 5+
The smartphone I'm using is Sony Xperia Z3 compact.
As to the launcher I'm not sure which one Sony uses.

# Answer
> 3 votes
Apps \> the more button (3 dots placed vertically) \> settings \> turn off "automatically place icons together"

# Answer
> 2 votes
Hold down on a blank space of the home screen until the settings option shows. Select settings, select automatically place icons together

---
Tags: applications, screen
---


# Question
Title: How to use network interface as non-root user?
I want to communicate between my Android device and my Linux box over IP through the USB network interface mode. The device I'm using is a OnePlus One running CM12.1 nightly builds. It's rooted and SELinux is set to `PERMISSIVE`. Mount namespace separation is also disabled.

I have connected my OPO to my Linux box and put it into into network interface mode via some Java reflection hackery and the system-only MANAGE\_USB permission. (I'm not using the standard tethering setting because I want to use my Linux box as the gateway and not the other way round). I used `ip addr add` to add an IP address on both ends (Linux box and OPO) and then added a route with `ip route` via my Linux box for internet access. I have also enabled IPv4 forwarding on the Linux box side, as well as enabling all of the necessary `iptables` rules.

My problem is this: only `root` can communicate over the interface. For example, with my Linux box at `10.42.0.1` and my OPO at `10.42.0.2` across the USB network interface, running `ping 10.42.0.1` or `ping 8.8.8.8` on the Android side without running from an `su` shell **will not work**. Running the exact same commands as `root` functions perfectly. The same commands over the WiFi interface on the Android side run fine without root.

I am assuming this is some new security feature implemented in Android 5.0 / 5.1, as it worked fine in KitKat. Does anybody know exactly what it might be?

# Answer
I came across this as well. It has to do with routing policies that cause the 'main' routing table to not be engaged for any user besides root.

This worked for me, but I'm still looking into the implications of doing this so broadly. It's no worse than what my linux box does though, so there's that.

```
 ip rule add from all lookup main pref 99

```
> 0 votes

---
Tags: 5.0-lollipop, security, networking, 5.1-lollipop
---


# Question
Title: Can I uninstall apps in Lollipop without clearing data?
I'm paranoid when uninstalling apps because I'm under the impression that uninstalling them directly without using the "Clear Data" function on the app's page first will result in leftover files somewhere in the phone's system. So to finally get an answer, I'm asking here, in Lollipop, when I uninstall apps directly, do I not need to do "Clear Data" first?

# Answer
* Force stop → clear data → uninstall is the *same* as uninstalling app directly as far as removing app data is considered. It's just an extra step with no added benefit.
* Force stop option is primarily to troubleshoot apps when they misbehave
* Either method does not guarantee removal of *all app data* \- you would need root to ensure that. See Can a app store data beyond uninstallation?
> 1 votes

---
Tags: applications, internal-storage, 5.1-lollipop, uninstallation
---


# Question
Title: Moto G2 (Titan): "fastboot flash recovery" won't work.
my Basic Plan, is to install the latest Version of LineageOS 14.01 via TWRP 2.8.0.1. This failed with an error "unknown command \[log\]". Next Idea: update TWRP to latest Version 3.1 and try again. So i tried to Flash the Recovery Partition via: "fastboot flash recovery twrp-version-titan.img" (during the Process i tried different Versions like 2.8.6 and 3.1) and fastboot responded:

```
    target reported max download size of 536870912 bytes
    sending 'recovery' (8724 KB)...
    OKAY [  0.296s]
    writing 'recovery'...
    OKAY [  0.204s]
    finished. total time: 0.500s

```

The messages on the Display seem to be ok (no error Messages) and I try to boot in Recovery Mode by choosing "Recovery" in Fastboot Mode. This works, except, that the installed Version stays the old TWRP 2.8.0.1 (I installed it some years ago). So i tried to boot TRWP directly via: "fastboot -c "lge.kcal=0|0|0|x" boot Downloads/twrp-3.1.0-0-titan.img", (worked) and install a new Version from SD Card. This failed, because TWRP couldn't mount anything.

During the whole Progress of try and error I messed something really up, because it won't even boot Android anymore. Flashing a stock Rom failed too.

Has anybody an idea, how to "force" an recovery update?

Sidenotes:

* i'm working a mac
* Android Studio is installed and updated incl. SDK Tools
* i googled a lot
* sorry for my english

# Answer
Check the below link. This might help you.

https://forum.xda-developers.com/zuk-z1/development/win-zuk-z1-toolkit-0-1-alpha-t3235964

Though the solution mentioned is for Lenovo Zuk Z1 mobile phone. The process of doing it might help you solve your problem.
> -1 votes

---
Tags: recovery-mode, fastboot, twrp, motorola-moto-g2, lineageos
---


title: Disabling ALL roaming?

text:
# Question
Title: Disabling ALL roaming?
It's relatively easy to disable data roaming on an Android device in the "Wireless & networks" settings section, but the phone still tries to connect to other services via roaming like voice and SMS. Is there a way to disable ALL roaming whatsoever? I know about airplane mode, but that completely disables all connectivity, and it's also annoying to have to remember to keep turning airplane mode off and on again when I enter/leave the vicinity of this network. I'd like to be able to connect to my network but not allow any roaming.

Why disable? Becuase the network offering the roaming isn't one I trust, as I think it may be intercepting and recording my data. So I don't want my phone to use it.

# Answer
> 2 votes
I don't think this is possible.

I think when carriers agree to let users roam on each others use their network, that probably their policies would comply in the way that when you can trust your carrier, you can probably trust it when it trusts the other one.

**EDIT:** Actually I recently found this out: When you go to Settings \> Wireless and Networks \> Mobile networks \> Network operators, you can choose to select your network manually instead of having it done automatically. But in fact, I'm not sure what it will do when you go out of coverage of the network you chose.

# Answer
> -1 votes
The best way to do this in 2017 is to first turn on aeroplane mode which disables everything, then enable WiFi manually.

---
Tags: roaming
---


# Question
Title: One-Click-Root Failed On Samsung J7 SM-J700H
I have a Samsung Galaxy J7 running 6.0.1 marshmallow which i tried to root using One-Click-Root methods like desktop versions of "Kingroot" and "Kingoroot". However, "Kingroot" doesn't support my device type and "Kingoroot" gives "Root Failed" without showing any error code (as shown in the image below) . I have my phone's OEM Unlocked and USB Debugging on and I use ONE-CLICK-ROOT because it is believed to be the safest method (according to a quora discussion). So my question is, why is this happening ? And what could be a safe alternative to root my phone ?

# Answer
> 0 votes
One click root methods seem not to work on Samsung devices running Android Lollipop and above. They use an exploit that is already patched by either Samsung or Google.

So, the best method still the Chainfire's CF-Autoroot. I root mobile devices daily and this method seems to work on every Samsung devices. The method consists of flashing a modified recovery by entering the device in Download mode, no ADB here but OEM unlock should be required.

* Download this file
* Download Odin flasher
* Open Odin, click on AP/PDA and select the file you have downloaded.
* Boot the phone in download mode (volume down + power button the volume up to confirm)
* Click on Start and wait.

The developer has rooting files for almost all Samsung devices from his site.

---
Tags: 6.0-marshmallow, rooting, samsung-galaxy-j7
---


# Question
Title: How to root OnePlus 3 / OnePlus 3T / OnePlus 5 (A3000 / A3010 / A5000)?
The questions are simple:

**How can I root my OnePlus 3?** **How can I root my OnePlus 3T?** **How can I root my OnePlus 5?**

---

* Device: OnePlus 3 A3000
* Device: OnePlus 3T A3010
* Device: OnePlus 5 A5000
* Android Version: Stock 6.0 / Stock 7.0 / Stock 7.1
* Status: Out-of-the-box

# Answer
> 3 votes
> **Disclaimer**: By attempting ant of the processes listed below, you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been modified before it is cool. Make sure you read the whole article and fully understand it **BEFORE** attempting it.

If you are experienced in unlocking & flashing recovery & rooting, here are the resources you need.

> Things you should download:
>
> TWRP Recovery for OnePlus 3, OnePlus 3T, OnePlus 5 (Choose the correct one for your model)
> SuperSU flashable ZIP (Same across all phones)
> DM Verity and Forced Encryption Disabler (Same across all phones)

Let's start from scratch.

## 1. Unlock Bootloader (Skip if unlocked already)

First make sure you have installed `adb` and `fastboot` on your PC (or Mac). Ensure that your phone has at least 60% battery remaining, and that your PC is plugged in and won't shut down spontaneously during the process. The procedure doesn't take very long , but it‘s best to have enough charge in case something goes wrong.

**Backup (Optional)**: **Unlocking the bootloader will completely wipe all data from the device.** This includes apps, settings and even the contents of the internal sdcard (pictures, music, etc.). Copy all important files off the phone onto a PC or upload them to a cloud.

**USB Debugging**: On your phone go to **Settings \> About phone** \> Tap on Build number **7 times**. This will enable Developer options. Now go back to **Settings \> Developer options \> Enable USB debugging**

**Enable OEM Unlocking**: On your phone go to **Settings \> Developer options**. Then enable the **OEM Unlocking** option. Also,a free advice, make sure that from now on, OEM unlocking option is enabled before you reboot. Because sometimes it might get disabled itself. Yeah that's weird so be careful.

**Enable Advanced Reboot**: On your phone go to **Settings \> Developer options**. Then enable the **Advanced Reboot** option.

Turn the phone off. Then boot it into fastboot mode by holding volume up + power or select reboot to bootloader if advanced reboot is activated via developer options. The phone will display "fastboot" text indicating that it has successfully entered fastboot mode.

> **Warning: By proceeding this step, you will lose ALL data on your phone, including apps, games, musics, photos and everything else! Make proper backup before proceeding. Your warranty may also void, depending on your local law restriction and EULA.**

Plug the phone into your PC, then open a command prompt (or a terminal on Mac/Linux) and run

```
fastboot oem unlock

```

You would be greeted with a Unlock Bootloader Warning page, Hit the Vol button to select Yes and turn it Blue and Hit the Power Button to Execute the selection

Your device will reboot, showing you a Secure Boot Warning. Reboot into stock recovery and wipe all data. Once done, your phone will reboot into the OS. Continue to the next step to install Custom Recovery.

## 2. Install TWRP

Download TWRP (`.img`) and SuperSU (`.zip`) from the top of this article if you haven't had them yet. Place them on the phone internal memory or a USB stick as per convenience.

Enable **USB debugging**, **OEM Unlocking** and **Advanced Reboot** again as instructed in Section 1.

Reboot to fastboot mode again. Grab the command prompt and enter (replace `your-recovery.img` with the actual file name of the image you downloaded)

```
fastboot flash recovery your-recovery.img

```

Hit enter and wait for completion, then boot into recovery. **Do not use `fastboot reboot` because it will boot into OS instead of recovery. Use volume keys instead.**

## 3. Rooting

You will reach the screen asking you if you want to allow system modifications. By swiping right, you will trigger DM-Verity, and if you don't follow the next step you will be unable to boot!

If you are going to root your device and follow the rest of these steps, then it's safe to swipe right and enable modifications.

Select your preferred language, tap “Never show this screen on boot again,” and swipe to allow modification.

PS: Flash DM Verity and format data only if you want to stay unencrypted, else you may just skip and continue with flashing SuperSU.

Without leaving TWRP, transfer the `no-verity-opt-encrypt` zip to your device over MTP and flash it or select it from internal as placed before, or use a USB stick (via OTG) and flash it (This will also allow you to use **Format Data** to completely disable your encryption if desired).

Go to “Wipe” section and tap “Format Data”, and type “yes” (If you want to mount internal storage).

Navigate to **Install ZIP** and select the SuperSU zip file to root OnePlus 5.

Swipe to install SuperSU and reboot your device.

~~Bueno!~~ Congratulations! Your OnePlus 5 now has an unlocked bootloader, has a custom recovery installed and is rooted. Enjoy!!

---

Credits: This post is mostly copied from the original post on XDA Developers Forum. I changed a few details so that it fits better on Android Enthusiasts Stack Exchange. Thanks to the original author (*Funk Wizard* on XDA)!

**Original post**: OnePlus 5: Unlock Bootloader | Flash TWRP | Root | Nandroid & EFS Backup & More !!

---
Tags: rooting, recovery-mode, twrp, oneplus-3, oneplus-5
---


# Question
Title: What is a "Hall" sensor, and what is it used for?
On Google's specs page for the new Nexus 5, the Nexus 5's built-in sensors are listed as:

> **Sensors**
>
> GPS
> Gyroscope
> Accelerometer
> Compass
> Proximity/Ambient Light
> Pressure
> Hall

<sup>(Click "View Full Tech Specs" to see that list)</sup>

Looking up Hall Sensor on Wikipedia, it seems to be some sort of magnetic sensor, but it's not the compass because that's listed separately, and none of the example uses on the page seem to make much sense for a smartphone application.

What is it, and what is it useful for?

# Answer
> 8 votes
As you've found out, a Hall sensor detects a magnetic field. It could be that in this case it's referring to a sensor for a magnetic cover, like those in the Nexus 7 and Nexus 10. Such sensors detect the proximity of a magnet embedded in the cover or case for the device, in order to automatically turn the screen off when the cover is closed.

That would be unusual, as that kind of magnetic switch is usually a simple reed switch, which wouldn't normally be described as a Hall effect sensor. A Hall sensor would give more data about the strength of the magnetic field, which could be used by software to detect the opening or closing of the case more reliably. However, I've not seen any claim that the Nexus 5 has such a switch anyway, which is much less common on phones than tablets.

Another (just as far-fetched) guess is that it's related to the wireless charging capability. It could be that the Hall sensor is specifically there to locate the wireless charging point in relation to the phone's position.

# Answer
> 1 votes
Just a guess here, but the Samsung S-View flip cover knows when the cover is attached and runs only the part of the screen that is veiwable in the small window. Maybe it is the same for the Nexus.

# Answer
> 1 votes
Reed switches are bulky and have mechanical contact bounce. They require a relatively strong field to do their thing. OTOH, Hall sensors have none of these shortcomings, BUT they are powered devices.

# Answer
> 1 votes
I know the question was about the Nexus, but from Samsung's website, "Hall Sensor: Recognizes whether the cover is open or closed."

# Answer
> 0 votes
Perhaps the sensor is included on smartphones without a cover in order to support aftermarket smartphone cases which may include a small magnet on the cover to signal to the phone whenthe cover is closed.

# Answer
> -1 votes
VR headsets has a magnetic button in it. Hall sensor comes very handy since we cannot access the display.

---
Tags: sensors, nexus-5
---


# Question
Title: Make images automatically accessible to chrome in PC
I have the following use case:

1. Make photo with Android phone
2. Use that photo in a web application in Chrome, in my PC, by clicking on the button "attach file" which opens a file browser.

I want to avoid being force to send anything anywhere. I just want to click the "attach file" button in the web page and be able to select the photo that I just made with my phone.

Currently my workflow is a nightmare:

1. Make photo
2. Send it from my phone with WhatsApp, on a chat with myself
3. Go to my computer, to the https://web.whatsapp.com tab
4. Open the chat with myself
5. Download the photo to my computer
6. Go to the webpage where I want to access the photo.

Instead of WhatsApp I could use email or any other sharing mechanism. It would still be a pita.

I have sync setup in my Chrome for Android, so that passwords and so on are automatically shared. Can I do something similar with photos?

# Answer
> 0 votes
One option would be Dropbox. The Dropbox app for Android includes an option to auto-upload photos to your Dropbox storage in the cloud. Then, if you also have Dropbox installed on your PC, they'll be automatically synced to the Dropbox folder on your PC. You can select them from the file upload dialog in Chrome, or drag-and-drop them from an Explorer window into Chrome.

# Answer
> 0 votes
I can think of two options that match this use case. Dropbox doesn't match it directly, and Google Photos somewhat. Google Photos would allow you to click the attach file button, and attach files, if you are using a Google App.

**Dropbox**.

1. Download the Dropbox app for Android here.
2. Download Dropbox for PC here.
3. Allow time for your phone to sync with Dropbox on PC.

You can select your files from the file upload dialog in Chrome, or drag-and-drop them from the File Explorer window into Chrome.

**Google Photos**

1. Download the Google Photos app for Android here. (Sorry, stack overflow says that because of my current reputation, I can't post more than 2 links. The app is pretty easy to find though, just search "Google Photos" in the play store.)
2. On your PC, go to photos.google.com
3. Click the photo you want to download, and click on the three dots in the top right corner
4. Click "Download".

**Pros & Cons**

*Dropbox-*

Pro- Automatically synced with your computer.

Con- Only 2GB of storage for photos.

Pro- App is easy to use.

*Google Photos*-

Pro- Automatically synced with your computer

Pro- No download needed for PC, just go onto the webpage

Pro- "Unlimited" Storage (15GB of free storage for original files, then unlimited storage for files compressed by Google's Algorithm)

Pro- Search through your photos with photo recognition. You can search photos for specific people, items, places, ect, ect.

Overall:

My personal choice would to use Google Photos, and I would recommend this for your work, since you use Google Chrome. Dropbox is a good option though.

---
Tags: sync, chrome-for-android, photos, instant-upload, auto-upload
---


# Question
Title: Is it possible to reinstall S Notes after flashing Lineage OS 14.1 on Samsung Galaxy Note 8?
I'm a beginner with rooting, flashing and so on, but I'd like to try to flash Lineage OS 14.1 on my Samsung Galaxy Note 8 (GT-N5100). However I often use S Note for taking notes using the S Pen. Does anybody know if it is possible to somehow get and reinstall the S Note App after flashing the new OS? If yes, how?

# Answer
> 5 votes
S Note is tightly integrated with Samsung's framework and thus can't be ported to non-stock-based ROMs.

In the meantime, try Squid as an alternative. Lots of available pre-defined notes, export to PDF, and best of all it makes use of the spare button on the pen that LineageOS doesn't use.

---
Tags: lineageos, s-note
---


# Question
Title: Turning off true black pixels (#000000) for LCD?
Is there a way to turn off black pixels on LCD screens, similar to how AMOLED devices turn off these pixels?

I've tried those pixel-turn-off apps, but they turn off all pixels within a certain grid, while I wanted just the black pixels to be off.

Thanks in advance!

# Answer
AMOLEDs power the pixels individually; LCDs use a single backlight source to illuminate all pixels from behind. Only until recently that some manufacturers are beginning to implement more granular LCD backlight sources (multiple blocks of light source that illuminates a chunk of pixels each).

What you want to achieve is simply not what LCD is designed for.
> 1 votes

---
Tags: battery, screen, screen-brightness, super-amoled
---


# Question
Title: Download internet pictures become low quality
I have downloaded a picture from internet:

But, when I view it from gallery, it looks like very low quality. Its smoothness is completely gone:

I need to set a smooth picture as a wallpaper for my phone, and the downloaded version is too low quality to use. Can someone help me?

**Edit:** Looks like even my screenshot makes the web picture look blurry, anyway here is the link to the original picture:

http://picview.info/download/20150531/brown-shadow-background-black-1080x1920.jpg

# Answer
I think it's to do with the resolution of the wall paper you downloaded - it's 1080 * 1920 image , which is not high enough to be scaled properly on your device without blemishes as noticed by you

Typical Hi resolution wallpapers which give a better result are in the region of 1240 * 2208. You could Google those for the solid colours you are looking for or use an app like Solid Colours ( I haven't tried that app but use a different app that gives jet black wallpaper )
> 1 votes

---
Tags: gallery, images, wallpaper
---


# Question
Title: "Insufficient Storage Space" problem with Titanium Root, preventing backup
I'm in a pickle I have no idea how to fix. I turned off the often suggested "Mount Namespace Separation" option in SU, and it doesn't work with this issue. I uninstalled/ reinstalled Titanium Root, no luck. Restarted the device after toggling off the namespace option, no dice. I have no idea what to do. It's not entirely a loss, as some games will backup just fine, just one brand is being stubborn. The Flutter series, where you collect butterflies and such. They're huge files, and it backs them up for a long while before hitting the memory space issue. It is confirmed and set to the Titanium Backup file on my SD card, where I backed up other games. Any suggestions?

# Answer
I have no idea what happened, or how, but I had to use a different browsing method for Titatium Backup. Even though I had selected sdcard/titaniumbackup (example), it wouldn't work even though it was listed as an option. I believe I had to use a different backup storage option, in which it showed me a list. After I selected "SD" from this new interface, it fixed everything and now the weird games will backup. I apologize for this idiocy of mine. Since only one group of games were acting up, I thought it was something of specific conflicting data.
> 1 votes

# Answer
Move some of your saved games to the computer to increase the space of your sdcard. Once you finish copying the rest you are joining it in parts.
> 0 votes

---
Tags: backup, sd-card
---


# Question
Title: Installation aborted when trying to adb sideload to Nexus 7 for upgrading to Lollipop
I have a Nexus 7 2012 device and I am attempting to upgrade to lollipop. I can get the right image from:

https://developers.google.com/android/nexus/images

However, when I try to upgrade from 4.4.2, I run the command:

`adb sideload lollipop.zip`

The file gets uploaded, but the device then says:

`Verifing the update package:
E: Footer is wrong
E. Signature Verification Failed
Installation aborted.`

I tried both images for the 2012 Wifi and Mobile versions, same result. I also tried to do a factory reset.

Are the images wrong, or am I just doing something wrong?

# Answer
The factory images provided on that page are not packaged for installation via Android's recovery system. You'll need to use the flashing instructions to install the images using `fastboot`. If your device's bootloader is not unlocked already, this would require wiping all of your data. If it is unlocked, then you can skip the wipe by flashing just the bootloader upgrade, the the system image, and the boot image:

```
fastboot flash bootloader
fastboot reboot-bootloader
fastboot flash boot /path/to/boot.img
fastboot flash system /path/to/system.img

```

The alternative would be to incrementally apply the OTA updates for your device up to the latest version. These *are* designed to work in recovery mode, but need to be applied in order from earliest to latest since they are patch updates, not full system images. The Nexus 7 Wi-Fi OTA updates can be obtained from Google's servers using the following links:

For the GSM-enabled version, you can use these links:

Additional OTA links can be found in this XDA thread, if needed.
> 1 votes

# Answer
This is defintely working for me. following the steps in sequence

* Install ADB and boot loader from following link to PC http://www.theandroidsoul.com/how-to-install-adb-and-fastboot-with-drivers-on-windows-quickest-setup/
* The alternative would be to incrementally apply the OTA updates for your device up to the latest version. These are designed to work in recovery mode, but need to be applied in order from earliest to latest since they are patch updates, not full system images. The Nexus 7 Wi-Fi OTA updates can be obtained from Google's servers using the following links:

KOT49H (4.4.2) to KTU84L (4.4.3) KTU84L to KTU84P (4.4.4) KTU84P to LRX21P (5.0) LRX21P to LRX22G (5.0.2) LRX22G to LMY47D (5.1)
> 0 votes

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


# Question
Title: Every time I connect my Android to my Ubuntu it asks me to allow the connection, can I change that?
I have a Galaxy J7 and Ubuntu 16.04 on my Linux box.

Every time I connect the phone to the computer, it asks me to `ALLOW` the connection.

Is there a way to add an authorization for that one computer to connect automatically and without an `ALLOW` each time it connects?

I found a couple of answers to similar questions, but from like 2010 and 2012. The answers on those did not seem to make any sense for the J7.

# Answer
> 2 votes
Revoking USB authorisation in developer settings (enabled by tapping "Build number" 7 times ) fixed the problem for OP and they needed to authorise only once and not on each time it was connected, as earlier

Probably it was because of authorisation being "forgotten" on the device or a handshake issue between PC and device

---
Tags: usb, samsung-galaxy-j7
---


# Question
Title: All android processes crash when booting device
Today I turned on my tablet (a **Samsung Galaxy Tab A6**). I was expecting to see the usual home screen, but as soon as the operating system loaded, I got a lot of process crash errors. **Please note that I'm not opening any of these apps, the error messages are appearing by themselves.**

All the error messages are overlapping.

Here are some of the processes that are crashing:

```
system
android.process.acore
android.process.media
External Storage
EmergencyProvider
LogsProvider
BadgeProvider
AutoPreconfig
Google One Time Init
Samsung Push Service
Bluetooth
Camera

```

These are just a few, the device suddenly reboots after a while (it doesn't always reboot automatically).

When I boot the tablet, it shows, behind the error messages, a **welcome screen** (the one that appears when you buy a device and boot it for the first time). This welcome screen is unusual, as I never formatted the tablet's memory.

Here's a photo, so I can explain better.

Without knowing how, I got to the main screen, requiring me to put the SIM Card code. As soon as I put the code, other process crash messages kept appearing, so it's **impossible** to go even to the Home Launcher.

I'm wondering if there's a solution to this big problem, and what it has been caused by (a virus, file corruption...).

Please, I need help. I don't know why I get these error messages, and I didn't find any solution to this problem on the Internet.

**Thanks in advance.**

# Answer
I finally managed to solve this problem. I just booted into recovery mode, and I deleted all data. After rebooting, the system started working as usual, even though I erased all my data, which I successfully recovered since I made a backup some time before.
> 0 votes

---
Tags: samsung, crashes, system-error
---


# Question
Title: Display multiple clocks from multiple timezones on a Nexus 5X lock screen
I would like to display multiple clocks on my Nexus 5X running Android 7. I selected multiple cities like explanied here but it doesn't really work.

It should look like this:

# Answer
Unfortunately, Google removed the option to add custom widgets to the lockscreen in Android 5.0 and didn't bring it back, for whatever reason.

The only option you have is rooting your device and installing xposed framework. There is a module called 'Lock Screen Widgets' which allows you to add custom widgets to the lockscreen (hence the name). Then, just add a clock widget with multiple time zones (if the stock clock doesn't support that, you might need to download a different one from Google Play Store)

Good luck :D
> 1 votes

---
Tags: lock-screens, nexus-5, time-zones
---


# Question
Title: How to fix a ruined recovery mode of an Android device?
It seems like I ruined the recovery mode of my Android tablet. It's a HP Pro Slate 12 tablet with Android 5.1.1 on it. It's rooted. I wanted to install CWM Recovery to backup everything, but my device wasn't listed as a supported device. My friend told me I can install the LG G3 recovery instead because it's compatible. I installed that. Since then recovery mode completely disappeared. The device still boots in normal mode and works, but I cannot boot into recovery mode anymore. I really need it because the device boots normally but sometimes acting strange since I rooted it. I'd like to try unrooting it by going into recovery mode or doing a factory reset, but both options disappeared.

* I tried holding down volume up+power buttons while turning it on, but didn't work.
* Tried holding down volume down+power. Nope.
* Tried rebooting inside Android into recovery mode with Quick boot app. It rebooted my device but again it went into normal mode instead.
* Tried to reboot into recovery mode with ADP and FastBoot in Windows. Same stuff happened. The device rebooted into normal mode.
* Tried to make a factory reset. DIDN'T work! Rebooted into normal mode once more. The factory reset hasn't deleted anything.

Any ideas? Did I lose the possibility of recovery forever with a single click?

# Answer
with ADB con your PC install the TWRP recovery and then with the comand "adb reboot recovery" the phone enter in recovery mode
> 0 votes

# Answer
If you have the official update package (a zip, usually), open it in an archive viewer and extract **recovery.img**. **That's the stock recovery.** Boot into bootloader (aka fastboot) and use the command line tool `fastboot` to flash it.

```
fastboot flash recovery recovery.img

```

As simple as instructed above.
> 0 votes

---
Tags: boot, recovery-mode, root-access
---


title: Switch on Motorola Moto G

text:
# Question
Title: Switch on Motorola Moto G
I have a motorola moto g, which power button has stopped working. My phone switched off, and now I'm not able to switch it on. I tried entering recovery mode but power button is needed, so it does nothing.

Also, when i connect the charger the screen switches on, and the percentage of the battery appears, also when connecting to PC.

Do any of you know any way to switch it on ?

Thanks in advance

# Answer
> 1 votes
Yes, but it does require a computer with the proper drivers loaded (if using Windows, Linux/Mac do not require special drivers) and fastboot installed (part of ADB package or mini-ADB & Fastboot)

1. Disconnect USB cable
2. Press and hold VOL DOWN and connect USB cable from computer
3. Continue holding VOL DOWN until the bootloader screen shows up then release button
4. On computer, use the command `fastboot continue` to boot the device

The device should go through it's normal start-up sequence now.

---
Tags: motorola-moto-g, power-on
---


title: adb push ... Permission denied

text:
# Question
Title: adb push ... Permission denied
I am trying to push a file to a directory on a physical android device, but I am running into the following error.

```
>adb push data.db /data/data/com.me.app/databases
failed to copy 'data.db' to '/data/data/com.me.app/databases/data.db': Permission denied

```

I believe adb has sufficient privileges.

```
>adb root
adbd is already running as root

```

Here are the permission details for the path: /data/data/com.me.app/databases

```
drwxrwxrwx system   system            2014-01-14 10:31 data
drwxrwxrwx system   system            2015-05-23 16:06 data
drwxrwxrwx u0_a224  u0_a224           2015-05-23 15:26 com.me.app
drwxrwxrwx u0_a224  u0_a224           2015-05-23 15:30 databases

```

I am not sure what to do here. Perhaps I am going about this the wrong way, but I just want to push the data.db file into the /data/data/com.me.app/databases directory on the device.

Does anyone know what I am doing wrong or what I should consider? Thanks.

# Answer
**Edit: I found a work-around:** AirDroid allows me to upload the file, but the permissions on the file are set to this:

```
-rw-------

```

Performing the following commands solves this problem (from Windows 7 command prompt).

```
>adb shell
# su
# chmod 777 /data/data/com.me.app/databases/data.db

```
> 6 votes

# Answer
The usual approach, which doesn't require any additional apps:

1. Push to `/data/tmp/`;
2. Copy on the device using `adb shell`, using `cp` if it's available on your device or `cat` if it isn't.

```
 > adb push data.db /data/tmp/data.db
 > adb shell
 # su # or run-as com.me.app
 # cp /data/tmp/data.db /data/data/com.me.app/databases/data.db

```

Remembering to change `com.me.app` to the correct package name for your app.
> 4 votes

# Answer
I had a variation of this problem so going to leave it here in case someone else googles for it:

```
./adb push update.zip /sdcard
[  0%] C:/Users/Alex/AppData/Local/Programs/Git/sdcard
adb: error: failed to copy 'update.zip' to 'C:/Users/Alex/AppData/Local/Programs/Git/sdcard':
remote secure_mkdirs failed: No such file or directory
update.zip: 0 files pushed. 41.6 MB/s (131072 bytes in 0.003s)

```

However in my case the problem was running `adb` from Git bash Shell (MinGW64). Running it from regular Windows shell worked fine.
> 4 votes

---
Tags: adb, file-permissions
---


# Question
Title: LG G4 Bootloop--how do I get my pictures back?
My LG G4 just recently went into the dreaded bootloop. I plan on sending it to LG to fix, but my pictures from earlier in the year are on the phone's memory. I also have a ton of music on it, but my pictures are more important to me. I checked in my Google Drive account, and it had automatically backed up on April 11, 2017. However, I cannot for the life of me figure out if or how to view or obtain the backed up information? Anyone have any ideas?

# Answer
> 0 votes
Unfortunately, **Google Drive does not backup your photos directly from your Gallery**. It only backups data, like user settings and probably cache, from your various apps. Next time, if you want to backup your photos and videos, use Google Photos which would have eliminated this issue.

It seems that accessing your (and my) phone's backup is not possible through the web version of Google Drive. It is however possible, in the Android version, to see the size of the data being saved and by what app.

---
Tags: boot-loop, data-recovery, google-drive, lg-g4
---


# Question
Title: How can i tell if a photo was taken from the phone or downloaded from somewhere else?
How can i tell if a photo from the samsung galaxy 7 was taken from the phone or it was downloaded from another app or site or sent to the phone

# Answer
Go to the Gallery/Google Photos app, long press the photo and check the details. It should contain the required information.
> 0 votes

---
Tags: samsung
---