title: Move apps to internal SD card

text:
# Question
Title: Move apps to internal SD card
My phone has 3 storage spaces available:

* **Internal storage** \- Internal storage for the OS and non-movable apps **(1GB)**
* **Phone storage** \- Integrated SD card **(~1GB)**
* **SD card** \- Removable SD card

When I got to *Settings* \> *Apps* \> *\[any movable app\]*, I only see the "**Move to SD Card**" button (even if I change the default write disk) but I'd like to be able to move apps to the "**Phone storage**" so that I can save space on my external SD card and be able to remove it without crashing everything.

Is there a way to do this, possibly without changing the default write disk?

(My phone is rooted so I have no problem using root hacks)

# Answer
From what I understand, you have **three storage devices.** You don't want to change your default storage disk, but you want to take the applications off of your SD Card and onto your phone to conserve SD Card storage -- is this right? If so, you can use something like All-In-One Toolbox which will allow you to move apps to different storage devices. I use this on my Android device as well.
> 1 votes

# Answer
Settings -\> Application Manager -\> App you want to move -\> Change storage

But this depends on the model of the phone, try finding the storage related settings of your app in Application Manager
> 0 votes

# Answer
I believe Apps2SD is what you are after. I have tested it on Moto E 1st Gen, which also has limited internal memory.

Bear in mind, the apps you shift to SD card will load slow on your device. It will be very frustrating to use any app. A class 10 memory card is highly suggested, although I myself used a Strontium's class 10 SD card, but it still gives performance issues when accessing apps stored in the SD card. You should have TWRP recovery so you could partition your memory card, have 2-3GB as EXT and the rest of it as FAT partitioned.

The EXT partition is the partition where your app's private data( /data/data, libs, obb, etc.) will be stored. The app basically moves the data and makes a link in /data/data directory.

The app can also move all the dalvik/ART cache to your SD card, hence freeing your internal memory but making it much slower.(Accessing data from external storage for every instance/process is rather a slow process).

My experience: After shifting all the user installed apps and cache to SD, the Moto E started lagging and it started working very slowly. I then, kept the cache in *Internal Memory* and kept only the apps I needed, and shifted offline dictionary app(+100MB of obb file), and 2 more apps which I only use 2-3 times a day. Don't link WhatsApp or Facebook, it will be very slow on your device. After uninstalling a linked app, you would need to use the *Broken App Cleaner* option to completely delete the app, else the app will show itself in app drawer after a reboot.

PS: I am not a developer of this app, or anyway related to developing this app. I bear no responsibility if you end up with software issues. I have used it and still using it out of compulsion.
> 0 votes

# Answer
The best app I've found to move apps between storage mediums is here. I had some issues with the app finding the internal *and* phone storage, but it's worth a shot. It's what I always use to transfer apps to my MicroSD cards. The only issue I ever had with it (besides not showing all three storage locations) is that you have to move one app at a time, which can be time consuming. Hope this works for you!
> -1 votes

---
Tags: applications, internal-storage, external-sd, internal-sd
---


# Question
Title: What is this application from the Play Store?
When looking to update apps, i noticed this application is claiming to be installed on my device.

What is this application? I did not ever install it myself, and i have not authorized its update yet. Is this a glitch on Samsung's part? It looks like their memo application but i cannot be sure. Is it a virus intended to fool me?

# Answer
> 1 votes
There seems to be a similar thread here, so you aren't entirely alone. Just disable that app for now since it's bloatware anyway!

*(Switched comment to an answer as per comments)*

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


title: Samsung s3 neo contact

text:
# Question
Title: Samsung s3 neo contact
In my contact list when I access it I see the person name along with details of list in which it is listed like Google contact & WhatsApp etc. Is there a way that I can download contact in excel along with info about listing I. E. Google or WhatsApp etc?

# Answer
> 0 votes
Download Contacts backup excel and email and run the app. It will backup all your contacts along with all their info stored I.E:addresses, emails, Google+ profiles. It won't however backup WhatsApp profile data. This is because that data is not contact data but rather data that belongs to the WhatsApp application.

---
Tags: contacts
---


title: How to find my recovery version

text:
# Question
Title: How to find my recovery version
I am using CyanogenMod with CM-Recovery. my phone is encrypted. So I update my ROM using sideload.

But I want which version of recovery I am using.

# Answer
> 1 votes
installing something like ROM Manager might help.

check this screenshot: https://lh4.ggpht.com/mCWZ9q9niBabx-HBbrlez8hFxAh0VrhNl2y0\_diCmxbmj93BF36nuPR\_KcACgYXuXstd=h900-rw

---
Tags: cyanogenmod, rom-flashing, recovery-mode, nexus-4, clockworkmod-recovery
---


# Question
Title: When I uninstall updates of system apps is it persistent?
I don't want some apps updated (especially some of built-in apps). If I uninstall updates in settings is it for good or only to next phone restart? (I want to have auto updating in google play enabled)

Thanks a lot for answering.

# Answer
> 2 votes
You can enable auto update from Google Play **Settings** section. To prevent auto update of a particular app, Go to that app page in play store & click the Options Menu on top right & uncheck "Auto-Update"

# Answer
> 1 votes
yes uninstalls of updates is persistent, you can do it.

---
Tags: applications, uninstallation, application-autoupdate
---


# Question
Title: Which apps cannot be disabled (without root)?
I need to know more about disabling built-in apps. Some apps can be disabled, but there are some which has "disable" button disabled. Is there any way how to find out which apps cannot be disabled? (I know that disabling some of them (e.g. settings) doesn't make sense, but some apps look OK for disabling and it is not possible for them too). Is there some other problem with disabling them? (I heard that some of them enable themselves with restart of phone).

Thanks a lot for answering.

# Answer
> 0 votes
Apps with Disable button disabled is the only way to identify they are critical to run the system without any issue and they can not be disabled. There are few services like google play services(in case of google apps), system server which needs to be run always to run the system smoothly. Finally, disabled apps will not be enabled and run until user manually enables them.

# Answer
> 0 votes
I think you cannot disable "system apps". A layman definition of system apps can be ones those are installed when you install the ROM.

there can be a few in custom ROMs and UIs that companies provide because they think it is useful.

if you have something like ESExplorer, I think you can see which apps are system apps and which are user apps.

---
Tags: applications, disable-app
---


title: Clear app data and maintain logins

text:
# Question
Title: Clear app data and maintain logins
As the title says, is there a way to clear all the data of a specific app leaving untouched it's login, settings and other personal information ?

There are tons of garbage files that a cache cleaning won't clean.

# Answer
Android system clears all the app's private data when clear data is selected. Since all the app specific data(preferences, database,cache) stored in app's specific folder, everything will be deleted. if you still wanted to maintain that data, you can store the login information in either server/some other location on the device.
> 0 votes

---
Tags: applications
---


# Question
Title: How can I install wpa_cli on my rooted device?
I rooted my device, then I go to adb shell and type su to enter wpa\_cli. I was surprised that wpa\_cli: not found appeared, although I get information when I type wpa\_supplicant.

I know that wpa\_cli is from same library wpa\_supplicant .

# Answer
Install the app: **WiFi WPS WPA Tester** or **AndroDumpper**..

It has the latest compiled ***wpa\_cli*** binary..
You can get the binary from the app's data from `/data/data`, and you might push it to `/system/bin/` or `/su/bin/` or wherever you need..

---

**Edit**:

Instead, you can use the `wpa_supplicant` binary, which can be found in many devices by default, if that's enough to do what you want..

Or if you wish, you can compile **wpa\_cli** from source.
> 2 votes

# Answer
In some cases, wpa\_cli will not come along with the Android image. You have to compile and push to Android.
> 0 votes

---
Tags: wi-fi, ad-hoc-networks, command-line
---


# Question
Title: What's this persistent Camera-app notification in Android 6.0?
I've been using my Nexus 5X for about a week now, but this morning was the first time I noticed the following notification:

Backstory: I snapped a few photos this morning (w/ default camera app). Looking at their meta data, they were taken at the exact time it shows in the notification. These are *not* the first photos I've taken with this phone. I don't remember the notification popping up immediately, but I did put away my phone right after taking those photos. Based on the timestamp, I may have simply missed it. I didn't notice the notification until after arriving at the office (roughly 1h 15m later).

Tapping on the notification shows the familiar ripple effect, but nothing happens. It's also persistent: I cannot dismiss it by swiping it.

The notification appears to display some sort of progress, but whatever it was processing, it no longer is. It's about 10am now, and it's still 'stuck' at the same place. The ellipsis seems to suggest that there could be text below the progress bar, but not sure what it would display.

So, does anyone know what this notification's purpose is? And what exactly got stuck while being processed? As a bonus, I'd like to know how to 'continue' whatever got stuck. If continuing isn't an option, then a way to dismiss it without rebooting the phone will also do. I've already tried killing the Camera app, with no result.

# Answer
Android M (nexus 5, 6.0.1, security patch 1 juin 2016):

long press the notification, click the (i) button. turn on "block all", then turn off "block all".

This will dismiss the persistent notification.

thanks @Firelord.

ps: I cannot comment or vote on this SE, so I posted an answer.
> 0 votes

---
Tags: notifications, camera, 6.0-marshmallow
---


# Question
Title: Unable to login to the android stackoverflow app
I'm not sure if this is the right place to ask.

I've the stackExchange Stackoverflow app on my android smartphone. I signed up to stackoverflow on my PC using my g+ account.

The app's login screen doesn't offer g+ login. I dont't have a user/pass combo set up. How can I log-in to SO on my android phone?

thanks!

# Answer
> 0 votes
If you can't see Log in using Google, which is strange, use "Login using another OpenID".

---
Tags: google-account
---


# Question
Title: How do I sign my SG4 out of google play?
I have tried several times to go to settings\>accounts\>google, however, when I touch google, my phone tells me repeatedly that "Unfortunately, settings has stopped". Can someone help me please? I really need to sign out of that old account.

Thanks!

# Answer
> 1 votes
Log into it from another device's Web browser, change the password on that account, and go to https://mail.google.com and scroll to the bottom and select Details then Sight out other sessions.

https://productforums.google.com/forum/m/#!topic/gmail/zIVuCmZ-tuA

---
Tags: google
---


# Question
Title: How do I troubleshoot inconsistent call quality?
I have a OnePlus One phone that has worked great for a long time, but for the past few months, my call quality has been inconsistent. I am on the newest stock rom - Cyanogen12.1.1-YOG7DAS2K1, build LMY48Y - Android 5.1.1. Even though my signal bar shows strong signal, the person on the other end says I keep cutting out and they can't hear what I'm saying. I can always hear the other person fine. This continues for the duration of the call. If I call back, they can then hear me okay. If not, I'll call back a 3rd time. Once connected, my voice either cuts out the whole call or it doesn't. (This doesn't change during the call).

How would I go about troubleshooting this? I'm on Straight Talk with AT&T coverage, and my signal strength is always showing very high. I get 20+ Mb/s download speeds with LTE. I'm not sure if this is a hardware, software, or cell service issue. Is it worth doing a factory reset on my phone or changing the ROM, such as going to their newer OxygenOS?

# Answer
> 1 votes
I experienced a similar problem on my OnePlus One a few months ago. I fixed it by disabling "Ok Google" detection from any screen in the Google app settings.
Apparently, the always on voice detection interferes with the voice in the call and hence the other person is unable to hear. It appears to be a Cyanogen bug.

---
Tags: calls, cellular-radio, network-signal, radio-firmware, emergency-calls
---


# Question
Title: Storage Space running out - can't access phone at all
I have an LG Volt (LS740). Woke up this morning and couldn't get into the phone at all. When swipe, I just get black screen. Notification indicates "**Storage space running out: Some system functions may not work**" but clicking on notification just gives me black screen. Rebooting the phone doesn't seem to help.

I've gone thru similar questions posted but they all seem to have access to either Settings or a file manager. I can't access any functions on the phone. Occasionally I can get the icon desktop, but the system won't respond to taps.

Do I need a reset of the phone or is there some magic incantation I can perform to get some control back?

# Answer
> 0 votes
My wife's been getting this on her Ls740 lately. A temporary fix is to go into settings / apps and sort by size. The app using the most space will show up at the top. In her case it's the "google play services" thats going crazy and using up all available memory (currently at 2.4 gb). Click on it and select "clear all data". That fixes it for about 24 hours but then it happens again. I still have not figured out whats causing it. I have the identical phone and do not have the problem.

I did try a factory reset too but it didn't solve the problem.

---
Tags: insufficient-memory, file-management
---


title: Easier to root, Samsung or HTC?

text:
# Question
Title: Easier to root, Samsung or HTC?
I have had an HTC One M7 for a while, and I have wanted to root it but am afraid to brick it (I'm on Verizon). So I bought a Samsung galaxy s3. I would like to know which one is easier to root. I plan to use Cyanogenmod for either one. It is easy for me to change which phone is on the network, I just move the SIM card. They are both verizon phones. I dont really know what unlocking the bootloader is, so i cant say if either of them have the bootloader unlocked. Any help is appreciated.

# Answer
> 2 votes
Samsungs are generally easier to root in my experience. The samsungs do not require s-off compared to htc's and thus, it is much harder to brick. The popular models like the s3 usually get a lot of support from the developer community compared to something like the HTC m7.

Here are some guides:

S3 Root

HTC m7 Root

---
Tags: rooting, samsung-galaxy-s-3, htc-one, verizon
---


# Question
Title: Enableing unknown sources installation from 2nd user on android 6.0
I have a regular, Un changed Samsung Tab A running the unchanged version of marshmallow OS (6.0). I have enabled installation from unknown sources in the "owner" user of the device, but still can't enable it in the second user (guest). I would like to install a .apk file which I have already tested in the owner user. In settings the "allow installation from unknown sources" is greyed out so I can't change it. Is there any way that I can install the APP?

# Answer
Enable USB debugging as the first user(owner) and run,

```
adb install -r filename.apk

```

This will install the app for all users.
Hope it helps
> 2 votes

---
Tags: settings, 6.0-marshmallow, installation, multi-user
---


# Question
Title: My PC doesn't recognize my galaxy note 4. But it did when I purchased it.
My questions is just as titled. When I got my new galaxy note 4 last month, I connected it to my PC and my PC showed my new note 4 so I was able to add video files. But now I connected my note 4 again to my PC to store all data from cell to PC cause it's full, my PC doesn't recognizes note 4. What should I do?

# Answer
> 2 votes
2 options , both worked for Me when i had the Same issue:

If u use your fingerprintscanner , make sure you unlock your Phone After plugging it in

Second is to try Samsungs Software Kies and follow the programs instructions

# Answer
> 1 votes
Had the same issue with my Note 4. Tried out various techniques/solutions found online such as installing drivers, activating developer options, using code \*#0808#, resetting to factory settings etc. None worked. I eventually put the phone into download mode to attempt to root it (by powering off then pressing the home key, volume down button and power button simultaneously). I then pressed the volume down key to cancel the operation and restart the phone (without rooting it). Connected to my computer and now it's recognized.

# Answer
> 1 votes
I tried the download mode thing and that didn't work. I was using some random micro usb cord that I had laying around. I decided to try the factory cord and my computer immediately recognized the phone was plugged into it and I was able to access everything on the device.

# Answer
> 1 votes
I also tried a different micro usb cable and that fixed my issue.

# Answer
> 1 votes
So I couldn't get my Note 4 or Galaxy Tab3 recognized by my computer recently.

The real crazy answer is that it had to do with my USB PORTS! I had too many devices hooked up to the USB ports on my computer and there wasn't enough juice to communicate! Once I disconnected a bunch of devices and tried various ports again, it worked! It must not have been getting a full 5V I'm guessing?

As long as you are in the right mode and USING the RIGHT USB PORT, it should work!

1. If you have a Note 4, Dial `*#0808#` and make sure you are in "MTP + ADB Mode" and hit OK. For a Galaxy Tab3, you need to hookup to a Windows 7 machine and then when you see the USB connection on the phone, bring down the top menu and select it and then make sure the phone is in "MTP mode" and not "PTP mode".
2. Using a *known* working USB data transfer cable (be aware that some cables only charge and don't transfer data), connect it to the phone and then keep trying DIFFERENT USB ports on your system until at least ONE of them works! And if all of them fail, start DISCONNECTING your other USB devices from nearby ports and try again. If even that doesn't solve the issue, try a POWERED USB HUB.

And if all of this fails to work, then you need to test your cable and eliminate it and finally in the last case scenario, you might be the unlucky one who has a damaged or defective phone micro usb port which only charges but doesn't communicate with a PC! This has happened on one of my Galaxy S devices so it is possible but unlikely.

This will drive you nuts and cost you a lot of time unless you know this. I hope this helps someone!

# Answer
> 0 votes
I just waited there for a little long while, and eventually Windows started recognizing the phone. (After a couple of minutes of being plugged in.)

In the beginning the phone appeared to have no contents, but that was only because the phone was waiting for a confirmation from me as to whether I wanted to allow the PC to access the contents of the phone or not. Once I agreed, the phone was not only recognized, but its contents were also accessible.

# Answer
> -1 votes
If you connect the Samsung Galaxy Note 4 to your PC via USB, then it may happen that the device is not recognized as a media device. Thus it cannot be accessed the internal memory to copy images, music or videos. The Samsung Galaxy Note 4 isis only recognized by the PC as a camera module. If this situation applies with you, then we want to explain to you in this manual, how the Samsung Galaxy Note 4 is recognized correctly as a Media Device from your PC. For this purpose, the "USB debugging" option must be activated, which is located in the developer options of your Samsung Galaxy Note 4. If you do not already have unlocked the developer options on your Samsung Galaxy Note 4, then please follow these instructions. After the developer options are enabled on your smartphone, you can now tap the button "Developer Options" in the settings. You will get a list of different settings. In the section "Debugging" you will now find the "USB debugging" option. Set a tick in the checkbox to enable this feature on your Samsung Galaxy Note 4. If it is already enabled, disable and re-enable it with the data cable connected to the pc. This mode starts automatically once if your smartphone is connected to the computer via USB cable and is responsible for that the Samsung Galaxy Note 4 is recognized as a media device by your computer. You can now access the internal memory of your smartphone and copy music, videos, photos etc. You know now how to enable USB Debugging on the Samsung Galaxy Note 4, which makes it possible to detect as a media device.

---
Tags: samsung-galaxy-note-4
---


# Question
Title: Can different calendar apps coexist without interfering with each other?
I have multiple personal Google calendars (all under the same email address), and I have an Exchange calendar for work.

I'd like to use the Google Calendar app for my personal calendars and alerts, and then use the Business Calendar app for my work calendar. I have widgets set up for each app, running okay.

Here's the rub: If I open Google Calendar, and disable display of my work calendar in there, it also disables it in the Business Calendar app. And vice versa.

So my question is: can you have multiple calendar apps on the same device without them interfering with each other?

Nexus 6p, running Android 6.0.1 Marshmallow

# Answer
This may not be the solution to your problem, but this is what I do to choose which calendar(s) to display on the app.

I see that you use Business Calendar app, which I am also using. Under "Calendars & Task lists" setting you are able to "favorite" your calendar(s) to be displayed at the bottom by tapping on the star(s) on the right. Once done, I just have to tap on the bottom buttons (those favorite) to switch between my personal and business calendars.

Hope this helps.
> 1 votes

# Answer
There is a simple way to do it- only keep the account you want to use with a calendar app setup in Accounts (like your personal calendar). Then open a browser to view your other calendar there. It's not a great solution but simple, especially if you make a shortcut to that webpage on your phone's home screen. (Note: if both are gmail accounts, don't use Chrome if you have signed in as both accounts there. Use another browser or your phone's default internet app.)
> 0 votes

---
Tags: calendar, 6.0-marshmallow, google-calendar, nexus-6p
---


# Question
Title: This audio format (AC3) not supported in MX player
I am trying to play one video in `hindi` language in **MX player**. but it shows `This audio format (AC3) is not supported`.

Error shows in below picture:

Does anyone help me to solve this issue?

# Answer
This is what you need. Download the codec, place it in your internal storage, then Settings \> decoder \> Custom codec. This should fix your problem.
> 2 votes

---
Tags: audio, mx-player
---


title: Can I track my lost Samsung galaxy ace

text:
# Question
Title: Can I track my lost Samsung galaxy ace
just over a week ago I lost my Samsung galaxy ace, it has a sim in it and i have the device's imei number, it won't be charged and have tried looking for it , I didn't have any tracking apps installed on it and I am getting stressed. Help would be appreciated.

# Answer
If you have added your google account on it. then you can use below link to find it.

> https://security.google.com/settings/intro/security/find-your-phone?continue=https://myaccount.google.com/?utm\_source%3DOGB&utm\_source=OGB
> 1 votes

---
Tags: samsung, samsung-galaxy-ace, lost-phone, gps-tracking, samsung-galaxy-ace-2
---


# Question
Title: Samsung Note 4 charging cable (ECB-DU4AWE vs. ECB-DU4EWE)
Unfortunately, my charging cable for my Samsung note 4 is broken, so I have to buy a new one. I have seen two different charging cables:

* ECB-DU4**A**WE which is 1m long
* ECB-DU4**E**WE which is 1.5m long

Is the length the only difference?

# Answer
> 1 votes
From the data on internet, there appears to be no difference. One thing that could be different is the thickness , measured in AWG. *Lower* the AWG figure, lesser resistance is offered and hence better suited for quicker charging. In the absence of figures one has to assume they are both of same AWG, which leaves *length* as the only differentiator.

Since electrical resistance is directly proportional to length, the 1 m cable would permit more current flow and hence is preferred

---
Tags: samsung, charging, samsung-galaxy-note, samsung-galaxy-note-4
---


title: Browser infected Pop-up

text:
# Question
Title: Browser infected Pop-up
Today I opened my mailbox in my new Samsung galaxy J7 and this screen appeared:

> **WARNING Your Samsung galaxy j7's browser is still infected with a serious virus! Continue with instructions to fix the phone. Do not close this window.\**Exit at your own risk.**

When I pressed OK, it took me to UPDATE BROWSER, and on pressing 'back' the phone started vibrating crazily! As the alert was from GOOGLE, I decided to go with it and pressed 'UPDATE BROWSER', it took me to a new page `sitex.dmtracker001.com`, but luckily error 400 appeared and it didn't connect.

The warning and vibration didn't go away until I restarted the phone, but it appeared again after some time and nothing I do makes it go away.

I don't know what to do, please help me.

# Answer
First - as you are probably aware now. You NEVER click on a link from an unknown source. I repeat - NEVER. Next time, just close the window without clicking on any links Second - if you can't figure out which malware app was installed , you need to consider doing a factory reset on your phone to eliminate all threats. A factory reset will erase the data (Text messages, photos, videos, settings, everything on your phone will be removed in the reset process.).... I would do it anyway just to be certain that I got it all. You may be able to backup any pictures or video. The easy way to reset is to go to Settings -\> backup and recovery -\> Reset Device -\> Erase everything.
> 1 votes

# Answer
Pretty much have been cleared by comment and answer. But in this case a single of **clearing cookies** from your browser will help you to get rid from that pop up.

Other wise you can do factory reset. I have been passed through such situation.
> 0 votes

---
Tags: samsung, browser, malware
---


# Question
Title: Is there an app on Android that won't allow me to turn off the phone?
I have an alarm app that can be stopped only by turning off the phone. The problem is that I don't want this option ("to turn off the phone") because it's too tempting for me... So I was wondering if there's any app on Google Play that blocks the phone from turning off for a certain period of time.

# Answer
No. As a protection against the OS going badly wrong and leaving the CPU running at full tilt until the battery runs down (or more likely, until the device overheats), you can always turn off the device by holding down the power button for several seconds. This isn't under the control of the OS, so there's no way an app can override it.
> 1 votes

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


# Question
Title: Backing up important data from soft-bricked devices
I'm sorry if bricks-related and support-my-issues questions are off-topic on the site, but let me try.

Yesterday I've got a crash on my device causing an immediate reboot. After the very first boot splash screen the device rebooted again, and then once again just after the boot splash screen. After the last reboot, the device had loaded the "operational" mode, however the screen just got black. Fortunately, my device has the developer mode on and I can use `adb`. The very first attempt I was trying to do was some sort of screencasting just as follows:

```
:repeat
adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png
adb shell rm /sdcard/screen.png
goto repeat

```

Ok, the device is not dead, and that's great (I'm using the USB connection to watch it). For some reason, the display simply gets black after the boot. All clicks/touches seem to be detected by the device, but I've got feeling that it was lagging -- maybe due to 1fps produced by the script above or due to monitoring the device screencasting at the laptop screen still trying to do anything at the device physically. Another important note is that the screenshot is always 640x480 no matter what the target device resolution/density is (probably it depends on `screencap` command line). Initially, after the very first try I've also noticed that the resolution was extremely small rendering huge widgets at the lock screen. I've managed to adjust the resolution and density using the `adb shell wm` commands family, however another issue is that the device screen is rotated by 90° visually at the screenshots, but accepting the touches at the device display as if it was still in the portrait orientation (something like vertically stretched pixels?).

I can't enter the recovery mode because it's interrupted with the reboots I mentioned above, however the download mode keeps the display *always turned on* (until the battery is pulled off). I suspect there is a software issue requiring to make a hardware reset or make a tiny configuration change, but I cannot do it until I take all the necessary backups of the device. Here are the backup methods I used:

* Direct copying important files from the sdcard
* Trying to export/backup important data touching the black screen and watching the process at the laptop display in the applications that support backup/restore facilities (not that easy, much harder than using a touchpad, and really very annoying).
* Copying some known to me files from some `/data/data/package/` locations
* TitaniumBackup (couldn't manage to make it work -- difficult to operate in the "blind" mode + it complains for having no enough space even for tiny applications)
* `adb backup` for single packages

Unfortunately, the latest backup method for some reason does not work for some applications, and I observed the symptoms very similar described here and here. And, unfortunately, there are some medical applications I cannot ignore the backups from.

My questions are, hoping they are relevant enough:

* Would this black-out be interpreted as a software issue caused with the crash? I mean: it does not seem to be a hardware issue (I believe it doesn't, but I'm not sure) or maybe there are just special display config settings causing the blackout?
* Is there any other reliable method to take out the important information before I make any heavy changes?

Environment:

* Device: Samsung Galaxy S5
* Android: 5+, the stock firmware (Spr...), not re-flashed, rooted

---

Edit 1:

I've just noticed this question: Backup using adb on a phone with a dead screen \- it describes not exactly the same case, since `adb backup` can't work for some applications + the recommendations in that questions not working for me, unfortunately.

---

Edit 2:

The app I want to backup DOES NOT allow backup via the application manifest. Oh f... I wasted two nights to take it out gently, and only a few backup tools report that the application backup is not possible. It's ridiculous: some sensitive data apps ALLOW to back up including messages, but not this one. How sensitive is taking pills log? Hilarious. So I took the application database SQLite files in order to try to restore them manually. I don't care if it succeeds or not just because of `android:allowBackup`. For those who would like to try to enable such an important feature here are some really easy (but time taking) steps described in

That's really straigh-forward to proceed with all of the above instructions, but I've got a few issues being not able to perform `adb install -r ***`:

* The app I'm trying to take out uses a conflicting permission (`C2D_MESSAGE` or so, and it can be easily removed before building a new APK)
* This probably won't ever work because I was trying to install an APK signed with another keys and I'm getting certificate errors.

Ok, I'm fine to take the SQLite files, and don't care the shared preferences. However I'm still wondering is there a way of resetting the user operating mode screen driver/adapter settings in order to make it enabled again and let the device not invert portrait and landscape orientation.

Edit 3:

I've managed to flash a custom recovery once, and then just reboot. The display in a portrait orientation renders as if it were in a landscape mode visually having two big black bars over and under the rendered scene! That's "awesome". :D Flashing it again now turned it into a brick so that I can't even enter the recovery anymore. I backed up what I wanted. Now unbricking.

Edit 4:

No unbricking -- the device turned into a brick freezing at reboot. Download mode is still available but flashing any firmware doesn't help unfortunately. Bad luck, but I'm really happy I was able to back up all important data (and even that non-backing-up one: I could register (!) touching the black screen and watching adb screenshots with 1-2 fps :D -- now my that app profile is in the cloud). The end.

# Answer
Have you tried powering up via safe mode?

From POWER OFF... Press & HOLD the power button. When the "Galaxy S5" screen appears, release power and immediately press and HOLD the VolDown until it finishes booting up.

That should boot without any but the critical apps/threads. Hopefully that will let you get into the device and pull backups.
> 1 votes

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


title: Android 4.0.4 bluetooth dongle pairing

text:
# Question
Title: Android 4.0.4 bluetooth dongle pairing
I have a problem with an Android device when it pairs with a Bluetooth dongle. This device (Honda Connect) shows up a dialog asking to put a certain pin on the bluetooth dongle to pair (0000) ... unfortunately this dongle has a different pin and it's not possibile to 'change' such pin (AFAIK). Is there a way to change the default pin from 0000 to a different one?

# Answer
In the specific case of using Honda Connect (Android device) this problem can be fixed trough Honda Connect WiFi / Bluetooth settings. This form (NOT Android Bluetooth settings) allows to change the pairing code. After this maneouvre (and a soft reset if required) the bluetooth pairing will be completed succesfully without pairing code request.
> 0 votes

---
Tags: 4.0-ice-cream-sandwich, bluetooth-pairing
---


# Question
Title: Can I block specific apps from using GPS?
I like to leave GPS enabled so that it's ready to go when I open Maps or certain other location based apps.

However, one app that I don't want to access GPS is Facebook. There is, as far as I can tell, no option within the Facebook app to prevent it from trying to access GPS whenever it starts.

Is there another app or setting I can use which will allow me to leave my GPS enabled, but block specific apps, like Facebook, from accessing it?

***Note:*** I took a look at this question, which suggested using Tasker to essentially *whitelist* certain apps. I have Tasker installed, but I can't get it to do what I want, which is essentially *blacklist* specific apps.

***Note 2:*** My phone is not rooted, and I hope to find a solution that does not require rooting.

***Note 3:*** I have Android 2.3.6

# Answer
With LBE Privacy Guard you can block positioning permissions for certain apps. You can download it here: https://market.android.com/details?id=com.lbe.security.lite

It is important to note that LBE *does* require your phone to be rooted.
> 7 votes

# Answer
I understand this is an old question for Android 2.3.6, but changes in the Android OS relating to this question are worth mentioning.

The new permissions model in Marshmallow (Android 6.0) allows you to block specific applications from using location services (which includes GPS) without rooting.

Go to Settings-\>Apps-\>"Specific App Name"-\>Permissions. There is a toggle switch for "Location", which you can use to stop the specific app from using location services.
> 2 votes

---
Tags: gps, privacy
---


title: Factory resetting repeatedly

text:
# Question
Title: Factory resetting repeatedly
> I did the factory resetting of my galaxy grand repeatedly (2-3 times) due to hang- up problems. Is it possible to recover the data which were in the phone memory before first resetting?

# Answer
The short answer is no.

And the long answer is nooooooooooo.

But in a more serious tone, really, the answer is no. A factory reset resets the device to its factory state, as in before you owned the device and it still had that factory fresh smell. Unless you made backups of your files and applications, you will need to re-download/reacquire your information manually.
> 1 votes

---
Tags: factory-reset
---


# Question
Title: Selfie stick button causes google now to listen
I am using motorola E (2nd gen). i have a selfie stick with audio jack port. when i attach the selfie stick, and hit the button on the stick, it displays a window where it says

> listening...

and then says

> tap mic to start listening

I tried disabling google now(as i dont use it). but still no luck. any help will be appreciated.

-thanx

# Answer
> 1 votes
It's a few months late but I just had the same issue on my Nexus 6p. If you're still having the issue and you're rooted I have a solution.

First thing yr gonna have to do is download this app scanCode from your selfie stick. https://github.com/chrisboyle/keytest/downloads Run the app, press the button on your selfie stick, and it should show a **scanCode**in there. Mine was **582**

Next step You have to edit one or more files in **/system/usr/keylayout**. The first file is **Generic.kl**, you will have to search through all the files in that folder to find other instances of your scanCode. I also found **582** in **Vendor\_046d\_Product\_b501.kl**.

In both files search for your scanCode. After that should be some other instruction that is causing your phone to do the voice search, change that to VOLUME\_UP

In mine it looked like this in both files

```
key 582 VOLUME_UP

```

When you're done remember to save the files, and make sure its done in all files you it was found in. It won't work otherwise. Reboot and you should be good.

---
Tags: google-now, motorola
---


# Question
Title: How to verify if Android is fragmenting large IP packets?
We are running some tests in which the Android phone should fragment large IP packets before sending over wifi directly to a server. For some reason, the server is receiving the entire packet as can been seen on wire shark. We suspect Android is not fragmenting large IP packets. We set the MTU using an app. Is there any other way of setting the MTU? How to verify if Android is fragmenting large IP packets?

# Answer
Setup a wireless sniffer in monitor mode. With monitor mode you can see all of the wireless traffic sent over a channel, including any management packets like beacons and control traffic like acknowledgments. At this level, you can see everything that is transmitted over the air on a channel and successfully received at your sniffer.
> 0 votes

---
Tags: wi-fi, networking
---


# Question
Title: Can system apps be enabled/disabled directly from the filesystem?
System apps can be disabled by using `pm disable [appname]` and re-enabled in the same fashion. But is there a way to accomplish the same thing by editing some file(s?) somewhere?

Context: My Android-x86 virtual machine is on boot-loop caused by disabling the Google App. That's the main reason I'm asking this question.

# Answer
> 4 votes
Whether an app is enabled or disabled is stored in a single file `/data/system/users/0/package-restrictions.xml`.

I took the following steps to re-enable the Google App and solve my bootloop problem:

1. Boot the Android-x86 virtual machine in debug mode (i.e. append `DEBUG=2` to the GRUB entry)
2. mount the filesystem:

```
su

cd /dev    # these are necessary to "refresh" the environment
cd ..      # otherwise the following commands wouldn't work

mkdir temp
mount /dev/block/sda1 temp

```
3. Edit the `package-restrictions.xml` file with *vi*:

```
vi /temp/android-6.0-rc1/data/system/users/0/package-restrictions.xml

```

* Find the entry containing `<pkg name="com.google.android.googlequicksearchbox" enabled="3" enabledCaller="com.android.settings">`
    * Move the cursor to the end of that line (Line 13 in my case) and press `a` to begin editing (see Basic vi commands)
    * Remove the `enabled` and `enabledCaller` attributes. The resulting line should be `<pkg name="com.google.android.googlequicksearchbox">`
    * Press `Esc` and type `:wq` and press `Enter` to save and exit *vi*
4. Type `exit` and hit Enter (twice) to boot to Android normally.

---
Tags: applications, settings, internal-storage, boot-loop, kernel
---


title: Do Android apps store data in clear?

text:
# Question
Title: Do Android apps store data in clear?
As in the title,

is there any chance someone with Android phone (5+) could access private app's data via USB storage? In other words, \**do apps encrypt data by default? \**(e. g. Google Apps but also other ones)

# Answer
It depends. First, if the developer is a good one with a brain he will make the app to do so, then you have to consider which kind of data that is.

Obviously you don't want your settings to be encrypted, it's just nonsensical, they will be stored in a **xml** file (or even json, again, it depends). But things like **chat history**, **credentials**, etc. they have to be encrypted.
> 1 votes

---
Tags: security
---


# Question
Title: How can I access android log files on my Nexus 7 without root access?
Since aLogcat now no longer works with Jelly Bean, how can I access the system log files on my device without either root access or attaching it to a computer?

I have tried using `adb logcat` from my PC and that worked fine, so I know that plenty of messages are being logged.

Using `logcat` from Android Terminal Emulator on my Nexus 7 shows almost no output though and `adb logcat` from *Android Terminal Emulator*, starts the daemon but then just says `- waiting for device -` and nothing more appears.

So, is it possible to access android log files on my Nexus 7 **without root access**?

# Answer
No, for security reasons it is not possible to access android log files on the Nexus 7 (or any other device running Jelly Bean or higher) without root access. Google changed that with Jelly Bean.

I'd suggest you wait until logcat readers like aLogCat and such get fixed (i.e. they will require root access to show all logs then).

From AISEC-TR-2012-001-Android-OS-Security.pdf - 3.3 Android Permission Model:

> The READ\_LOGS permission can substitute the following on many devices, depending on the Android version and thus the standard apps’ versions installed:
>
> * READ\_CONTACTS
> * GET\_TASKS – every started Activity is listed in the system’s logs
> * READ\_HISTORY\_BOOKMARKS – opening new web pages is a browser Activity and thus logged
> * READ\_SMS

**All solutions below require root access**:

You need to either run logcat as root in a shell or manually grant it via the shell pm command (root required) works also (see XDA, exchange *org.jtb.alogcat.donate* with the app's pkg name):

`pm grant org.jtb.alogcat.donate android.permission.READ_LOGS`

This is for the lazy ones and **not** suggested: If you're desperate, careless and lazy, you can fix it by giving every app the READ\_LOGS permission by applying this ugly and **insecure** hack (Chainfire via twitter):

`chmod 04755 /system/bin/logcat`

To quote CyanogenMod developer Koushik Dutta's G+ post:

> Did the Android Log permissions/behavior change in JellyBean?
>
> It seems that if an application runs "logcat" now, it can see only the log entries created by its UID. Log lines from other UIDs are not shown. Basically, it seems to be filtered now.
>
> I have the same permissions as usual. Also confirmed the same thing is happening in other log collector apps.
> 12 votes

# Answer
I'm confused by this though it would explain some things.

Running the same app on my nexus7 and my galaxy nexus, both on jellybean, the phone sees log output from all apps, the tablet doesn't. This would say that it's not jellybean its the nexus7. Backing this up, I've just checked and they both have different kernels. The tablet, with a newer one.

Maybe its the updated kernel that, means logs don't appear.

Guess I'll have to root after all: (
> 1 votes

# Answer
I have developed a Logcat app that uses alternative approach. It utilizes remote debugging feature. You need to enable it on the phone first, but it has to be done only once and then you can use the app to retrieve all logs.
> 1 votes

---
Tags: 4.1-jelly-bean, logging, nexus-7
---


# Question
Title: Does cracked screen cause faster battery drain?
I dropped my Nexus 5 a week ago and the screen cracked diagonally 8cm from side to side.

Since then I am sure that the battery drains faster than before. Previously I was always happy at how much battery life was left during the day, based on my experience of Nexus One and Galaxy Nexus. Now I am always noticing how quickly it is going down.

I didn't measure battery usage before the damage so I can't prove my suspicion. The battery usage settings screen shows the screen as the highest battery user, as before. Again, I'm sure the recorded percentage of screen battery use is higher than previously, but I don't have figures from before the break.

So, could there be a reason for the screen to use the battery more when it is cracked in half?

# Answer
It could be that the visible crack isn't the only damage to your phone. If a connector is shorting in the screen or another component, that could be draining the battery (as well as generating heat).

A short could also cause sparking around the damaged component, which will cause further damage over time. You should get your phone repaired. If you tell the technician that you broke the screen by dropping it, they'll know to look out for other damage while they disassemble the device.
> 2 votes

# Answer
It is not because of cracked screen. It's because something has broke inside, I believe that's causing the battery to lose efficiency. Get it checked at the service center, it may cost you much for the screen, as much as half the price of the phone sometimes, so you may want to consider buying another, over repairing. Your preference.
> 0 votes

# Answer
Yes my screen was cracked very badly and drained up to 91% of my battery life from the screen. And now that I fixed it is up to one to 2% as well.
> 0 votes

# Answer
Yes, a cracked screen can drain your battery massively, due to generation and loss of heat.

I have walked around with a cracked screen for 1.5 year. During this time I had to replace my battery three times, with two times my battery was bulging and the last time it just barely charged anymore. I thought it was just the Samsung battery, because after a while, they don't work well. After the last time, less than two months ago, my battery slowly started to drain heavily. My screen took more than 40% of my battery usage.

In cold weather even more, so I decided to test it. After I replaced the front glass myself (only the front glass was broken), my phone sped up almost like it was new again and battery drainage now is 1 to 2% for my screen. I did nothing else than replacing the front glass.
> -2 votes

---
Tags: battery-life, screen, physical-damage
---


# Question
Title: How can I unlock my phone? I locked it using Android Device Manager, but it claims I entered a wrong password
I have an Samsung Galaxy S3 Neo.

```
Bus 002 Device 042: ID 04e8:6860
Samsung Electronics Co., Ltd
GT-I9100 Phone [Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1]

```

The keyboard & language setting is português.

I today installed Android Device Manager and to test it's functionality I locked the phone with the password: "abcd" (4 letters were required).

After entering the password and confirming with the "OK" button of my keyboard, the phone showed me that the password is wrong. "Senha incorreta".

I reset the password after some tries to "123456" and the phone reloaded the lock screen. Again the password showed up to be wrong. I also tried the alphabetic password: "abcdefg" - same error.

I changed the language of my Google account from German to Portuguese and reset the password to "123456" again and I tried to really reboot my phone and unlock the SIM card again. But anyways I can not get through my lock of the Android Device Manager.

I tried to enter the password 35 times wrong with hope to get a chance to authenticate with my Google Account login.

I also tried to connect the phone with adb but it does not show up in this state with:

```
adb devices

```

So what can I do to get access to my phone again?

# Answer
> 4 votes
I tested this on a Nexus 5 (v5.0.1) running UK English. I locked the device with Device Manager then, without unlocking it, I used Device Manager to lock it a second time. I then used the second password to unlock the device. So, you **should** be able to change the lock password using Device Manager - it seems that only the last lock password is required to unlock it.

You can use a one character password to lock the device. Perhaps give that a try?

Another thing you could try (assuming you are using the web page to lock your phone) is to use Device Manager on a different Android device to lock your phone. Perhaps there is something wrong with the translation between the characters in the language entered into the web page and those entered into your phone.

Hopefully someone else might have a better answer than this. :(

# Answer
> 0 votes
I was having the same problem with ADM. I went to https://findmymobile.samsung.com and went to protect device (left hand side). I then clicked "Unlock screen". Took a minute but worked fine.

# Answer
> 0 votes
The reason it won't work is that the current version of Google's ADM does not change the password when the lock screen is already applied. The current reasoning is that it is there to lock a device that was lost/stolen, not to change the password when forgotten. So even though it says it works, it isn't. There is a message that may pop up saying:

> ### Since Google has verified that a screen lock is already set, the password you entered won't be needed.

Though it took a bit for that to pop up on ADM, and it goes away quickly. *Thanks Google*.

On top of that, Samsung's proprietary changes to Android also complicates things. If the device is also registered with Samsung via Find My Phone (The Samsung Device Manager), it needs to be unlocked from there.

There is no other normal workaround. Another option is to flash a custom recovery, and unlock it via root methods, highly depends on the phone.

---
Tags: lock-screens, locked-out, android-device-manager
---


# Question
Title: Can Google Hangouts send out text message under data?
I found that on my android, google hangouts seems not able to send out text messages i.e. SMS to a phone number, when it is on data service.

Is it the same for others, or is it just my problem?

Thanks.

# Answer
> 1 votes
You can send text messages through hangouts to phone number. For this You have to go to **`Settings > Messages > Default messaging app > Hangouts`**.

---
Tags: google-hangouts
---


title: Old Venue 8 tablet. Missing keypad

text:
# Question
Title: Old Venue 8 tablet. Missing keypad
My daughter thought it would be cool to put a Russian keyboard on the Venue tablet. She didn't uninstall it correctly and now no keypad shows up. We cannot unlock it. I have tried going to the Play Store and uninstalling the keyboard, but I can't see how to. I have tried a hard reset but can't get the "dead android" to show up for the reboot menu. Can anyone advise?

# Answer
> 0 votes
Three options.

1. Use a USB-OTG adapter with a USB keyboard to unlock the device via password. Or a keyboard with a built-in OTG adapter.
2. Since you obviously have a Google Account, log into Android Device Manager, and wipe the device through there.
3. A Hard Reset via Recovery. Unlike some other Android devices, the Dell Venue 8 requires you press and hold **Volume Down**, press and hold power, then release power when you get the first logo. Do not release Volume Down until you see the Droidboot menu. Choose Recovery, and from there wipe data/cache and reboot. That's a Hard Reset, ***ALL your data will be erased***.

---
Tags: factory-reset, tablet, android-device-manager, hard-reset, gboard
---


# Question
Title: How to backup contacts when my touchscreen is cracked?
My touchscreen on my Samsung Galaxy screen is cracked. I am unable to use the screen. It has a pattern lock. When I use Kies 3 it says that my phone is locked. How do I unlock it with the pattern password enabled?

# Answer
> 0 votes
Hi You can't unlock that even you slide your fingers on the screen, unless you will repair that with new ones.
And if you want your password to be removed, then follow these steps
**Note**: Your phone's buttons (volumes, home and power) must be functional.

### Reboot into recovery

* Turn off your phone, After it's completely off
Hold and press power and volume up button together, this will bring you to your recovery.
**Note**: Different phone have different key configuration to access recovery mode, for now we'll be using the most common key combination. If it doesn't work for you, you must search on google on how you can access your recovery mode, be sure to include your phone model in your searches.
* Once you are in the recovery mode, you see some kind of options and the one that we will be using is.
    1. **Wipe data/factory reset** \- is a feature that erases all device settings, user data, third-party applications, and associated application data from an Android device's internal flash storage to return the device to the condition it was in when shipped from the factory.
    2. **Backup User Data** (optional) - this method backups the following:
        + Google Calendar settings
        + Wi-Fi networks & passwords
        + Home screen wallpapers
        + Gmail settings
        + Apps installed through Google Play (backed up on the Play Store app)
        + Display settings (Brightness & Sleep)
        + Language & Input settings
        + Date & Time
        + Third-party app settings & data (varies by app)
    3. **Restore User Data** (optional) - It will restore the data through the backed up data
* Choose Backup User Data if you want to restore your data anytime
**Note**: This may restore your screen lock (password, pattern or PIN)
* To remove your password, select Wipe data/Factory reset, this will also remove everything in your phone, and restore to it's original state just like the first time you used it after buying

# Answer
> 0 votes
If you have a Google account or a Samsung account, your contacts should be backed up already. Log into your accounts online to check.

If not, the simplest option, if you know your pattern password and more importantly, ***if you can see the screen enough to see the pattern, just can't touch it***, is to use a OTG-USB adapter, and a USB mouse. The mouse can be used to unlock the pattern lock.

---
Tags: lock-screens, touchscreen, locked-out, broken-screen, pattern-lock
---


title: CELLPHONE (ANDROID) TO PC WIFI SHARING

text:
# Question
Title: CELLPHONE (ANDROID) TO PC WIFI SHARING
I Just want to ask if its possible for a laptop to share the internet connection of an android phone.The phone is using vpn connection to get internet from my simcard newtwork provider? And HOW?

Thanks! Monsai

# Answer
Just to clarify, you want your PC to connect to your phone's internet connection? Tethering, more like it, right? If so, then there should be an option in your wireless networks settings (Tethering/Mobile Hotspot) which you can enable to allow your PC to gain connectivity to your phone's internet connection.
> 0 votes

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


title: samsung i9300 galaxy s3 corrupted

text:
# Question
Title: samsung i9300 galaxy s3 corrupted
my samsung mobile fell down and restarted. i noticed my screen wall paper getting changed. so i checked my about phone. it showed 4.1.1 android(previously it was 4.4) i immediately checked my contacts and messages thinking it got flashed when it slipped my hands and fell down. everything seemed fine. so i took it easy. but when i tried to unlock my phone later the pin is not working now. what to do now. i tried all my previous passwords also. it doesnot show password recovery option to signin into gmail also. i tried resetting password through samsungrecovery but it says sim has been changed. but the new sim was changed for morethan a month when i changed mobile network and the number is same so samsung recovery website is out of question for me now.

i donot wish to reset my phone as there are some mobile contacts saved in phone memory of my friends and no way of getting them from any others since i shifted to another city and some pics in phone memory.

someone plz suggest me what to do.

# Answer
> 0 votes
I hate to say this, my LG Stylo got a corrupted file and I had to factory reset. Its a pain but you'll have to write everything down and put it all back in.

---
Tags: samsung-galaxy-s-3, locked-out
---


title: How to lock down WhatsApp permissions?

text:
# Question
Title: How to lock down WhatsApp permissions?
A number of friends are using WhatsApp for communication. So I'm thinking about installing it. However when I read the question about its permissions I'm asking myself if there is a possibility to lock down the permissions.

I'd like to do have a solution where some permissions are always allowed, some are always blocked and some are blocked, but can be enabled on a temporary basis (like a popup menu which asks). Is this somehow possible? Do some custome ROMs have such a feature? If yes, which?

# Answer
> 1 votes
You can try Donkey Guard the Xposed Framework module from which you can manage permission for apps.

DonkeyGuard allows blocking access for any installed application on your phone to the following data separately:

* device\_id
* phone\_number
* sim\_serial\_number
* subscriber\_id
* incoming\_call\_number
* outgoing\_call\_number
* gps\_and\_network\_location
* impi\_impu
* cell\_info
* accounts
* accounts\_credentials
* read\_contacts
* read\_call\_log
* call\_phone
* read\_calendar
* receive\_sms
* send\_sms
* receive\_mms
* send\_mms - not implemented in alpha
* record\_audio
* use\_camera
* read\_bookmarks
* wifi\_info
* switch\_mobile\_network\_state
* switch\_wifi\_state
* sim\_info
* network\_info
* android\_id
* access\_media
* read\_external\_storage - not implemented in alpha
* write\_calendar
* write\_call\_log
* write\_contacts
* write\_bookmarks
* write\_external\_storage - not implemented in alpha
* account\_authenticator
* read\_sms
* write\_sms
* read\_mms
* write\_mms
* network\_state

# Edit:

Alternative Module : Xprivacy (suggested by @beeshyams)

---
Tags: custom-roms, whatsapp-messenger, privacy
---


# Question
Title: Phone Damage (Micromax Knight 350) few days ago, anyway to recover photos?
My phone got damaged a few days ago. I believe the phone is connected with Google Drive and Gmail account, but I have not installed Google Photos and Dropbox to my phone. Is there any way to get my photos back? Some important documents were there.

# Answer
There are ways, but you would need to elaborate a bit on the damaged part. Can you see the screen? Is it water damaged? What damage has it received. If you did not have a password on it. You may be able to connect it to a pc via USB cable and navigate through the folders to find the files you need.
> 0 votes

# Answer
Your phone should of come with a Sd Card, if not,use the USB cable that came with the phone and hook it to a computer. The Sd Card comes out and you can put it in some computers
> 0 votes

---
Tags: photos
---


# Question
Title: Reason for chroot failure: tmp-mksh: chroot: not found
**Introduction:**

I formatted a SDCard in ext4 and copied an ArchVersion on it to run it from Android like in this guide (step 6). Of course my device is rooted and am running the following scripts and commands in the *Terminal Emulator* as superuser.

Device-info:

* Phone: Sony Xperia Z1
* Model number: C6903
* Android version: 5.1.1
* Build Number: 14.6.A.1.236

**Issue:**

When I execute `sh chroot_bashonly.sh` the error `tmp-mksh: chroot: not found` appears. Of course I looked in the script to figure it out myself:

***chroot\_bashonly.sh:***

```
#!/bin/sh

export LINUXROOT=/data/local/mnt
export TMPDIR=/tmp
export HOME=/root
export USER=root
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:$PATH
export TERM=vt100

sh ./mount.sh

echo "******* Your chroot-environment is starting now ********"
chroot $LINUXROOT /bin/bash # tmp-mksh: chroot: not found
echo "******* You exited the chroot-environment, unmounting... ********"

sh ./umount.sh

echo " ## DONE"

```

***mount.sh:***

```
#!/bin/sh

export LINUXROOT=/data/local/mnt
export TMPDIR=/tmp
export HOME=/root
export USER=root
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:$PATH
export TERM=vt100

# mount /
mkdir $LINUXROOT #works
mount -t ext4 -o noatime,rw /dev/block/mmcblk1p2 $LINUXROOT #works

# mount other stuff
mkdir -p $LINUXROOT/proc
mkdir -p $LINUXROOT/sys
mkdir -p $LINUXROOT/dev
mkdir -p $LINUXROOT/dev/pts
mkdir -p $LINUXROOT/var/lib/dbus
mkdir -p $LINUXROOT/android_storage/sdcard0
mkdir -p $LINUXROOT/android_storage/sdcard1
mkdir -p $LINUXROOT/system
mount -t proc proc $LINUXROOT/proc
mount -t sysfs sysfs $LINUXROOT/sys
mount -o bind /dev $LINUXROOT/dev
mount -t devpts devpts $LINUXROOT/dev/pts
mount -o bind /system $LINUXROOT/system
mount -o bind /storage/sdcard0 $LINUXROOT/android_storage/sdcard0
mount -o bind /storage/sdcard1 $LINUXROOT/android_storage/sdcard1

echo "******* everything mounted ********"

```

I think the ***mount.sh*** part works, at least I get no error and the `mkdir`-created folders existing. So the next thing I tried was to run `chroot` outside the script in many forms with the same error.

1. `chroot /data/local/mnt /bin/bash`
2. `chroot /data/local/mnt /system/bin/sh`
3. `chroot /data/local/mnt /bin/sh`

All having the same issue: `tmp-mksh: chroot: not found`.

So what is wrong?

Is chroot even available on Android?

# Answer
The Reason for this failure is that Android blocked **chroot** for som reason. Like Death Mask Salesman pointed out, it is possible to get information about the command type via `type commandName` e.g. in this case `type chroot`.

To solve the `tmp-mksh: chroot: not found`-error it is only required to install BusyBox.
> 2 votes

---
Tags: shell, terminal, scripts, bash
---


# Question
Title: cant download ANYTHING on My LG G2 anymore
My phone went in for repairs and since then I am unable to update or re-install whatsapp or chrome. I go to google play store to download whatsapp but when I click the install button nothing happens, its the same when chrome prompts Me to update, I click updaye but nothing happends, I can see that the button to install is responding when I press it but nothing happens after. is this something to do with settings or drivers or what?

# Answer
> 0 votes
This can occur sometimes when your phone is doing a large amount of updates. Especially after a factory reset. Check to make sure there are not a large amount of apps being updated. You would check that in the play store under my apps. If there is a large amount of updates in que, you may want to stop them and download them over wifi only.

---
Tags: applications, settings
---


title: Compatibility problems with x86 phone?

text:
# Question
Title: Compatibility problems with x86 phone?
I have read this and this question and I want to ask for some elaboration.

I'm considering buying an x86 phone. I have some questions regarding compatibility issues.

1. I know that the majority of normal (non-root) apps will work without issue on x86, but I understand that there are exceptions. Apparently some apps use native ARM functions. How common is this? What are some examples of popular apps that won't run on x86? Can I get an idea of how widespread this problem will be?
2. Is it true that root apps are less likely to run than normal ones? How widespread is incompatibility with x86 in root apps?
3. I know that Xposed Framework can work on x86, but what about the modules? Are many of them incompatible with x86? If yes, how common is it?

# Answer
> 4 votes
1. It's mostly games that might be incompatible with x86. Typically, apps have no reason to use the NDK unless they has special performance or graphics requirements, and their libraries might only be built for ARM.
2. I don't believe that apps using root are typically incompatible, it's *rooting* apps — since they often rely on platform-specific binaries/exploits. Root apps are not inherently different in how they are coded than others apart from requesting elevated privileges via `su`.
3. Unfortunately I am not familiar with Xposed support for x86, but I believe the answer should be similar to #2. Xposed mostly functions by injecting itself into Android's platform framework, which is Java rather than native libraries. I would advise you to be careful with backups and making sure your device is relatively easy to flash if you need to restore everything to stock.

# Answer
> 2 votes
I did buy it. So far, **all** apps * (root or not) and six out of eight Xposed modules I have tried have worked. This is a somewhat small sample, because I haven't tested any apps I don't use myself. These are just the apps I personally use:

* = Update: Pokémon Go does **not** work on x86 at the moment.

### Some working root apps

* Adaway
* BusyBox installer by Meefik
* f.lux
* Linux Deploy
* OS Monitor
* Root Browser
* Root Checker

### Some working Xposed Modules

* Gesture Navigation
* Network Speed Indicator
* NoSafeVolumeWarning
* YouTube AdAway
* YouTube Background Playback
* YoutubeSwipeToSeek

### Some NON-working Xposed Modules

(I don't know if this has anything to do with x86, may also be Lollipop incompatibility? No idea.)

* Notification Mod
* Rootcloak

The guys at XDA have done **much** more extensive testing in this thread.

---
Tags: root-access, xposed-framework, compatibility, asus-zenfone-2, x86-processors
---


title: Email syncing on WiFi only

text:
# Question
Title: Email syncing on WiFi only
I have a user with a new Nexus 5X. It is configured to sync his personal (Gmail) email and work (Exchange) email (using the Gmail app). Gmail syncs fine; however, Exchange will only sync when connected to WiFi. Even a manual sync will not download Exchange email.

I have installed all updates (he is on Android 6.0.1, security patch level March 1, 2016). I confirmed that "restrict background data" is NOT enabled for anything. Turned off battery optimization (Doze) for Exchange Services & Gmail. I've tried various sync settings for the Exchange account (Push, 15 min, 30 min, etc). No luck. Exchange email will not download while on cell service, but Gmail will. As soon as I have a WiFi connection, the Exchange email downloads.

Not sure what to try next; any ideas?

# Answer
Caf: I had what I thought was the same issue upon receiving the 6.0.1 update this past week on my Galaxy S5. However, I realized that I was plugging my phone in when I returned to the office which was disabling power saver mode which I typically leave on. After turning this off, I was able to sync over the mobile network. Interestingly, changing the doze settings had no effect (I tried them on and off with the power saver). I would see if your user leaves the power saver mode on as that was not explicitly mentioned above.
> 0 votes

---
Tags: 6.0-marshmallow, active-sync
---


# Question
Title: The GPS on my Galaxy Note IV is often wrong
While I'm at work the GPS location on my Galaxy Note IV is very poor, taking a long time to pinpoint a location, and often being off by a few streets when it does.

I have less issues while in a densely populated zone.

I understand why that is, the GPS itself doesn't get a strong signal from the satellites, so the phone uses celltowers or wifi access points to guess my location to the best of its abilities, and since there aren't a lot of those around me its guess is wrong.

My question is : Is there a way to fix this situation ? Can I indicate to Google that my location is wrong, or configure my phone to adjust for that error ?

# Answer
> 1 votes
Nope. Since there isn't anything technically wrong with the gps in your phone and it's just the location of where you are that throws it off, the best thing to do is just go outside and see if the signal is stronger from outside the building or deal with it. Google maps doesn't currently have any features that allow users to correct their location. You can type it in the search bar if you're trying to get from your current location to another but it won't exactly "***stick***".

Hope this helped.

# Answer
> 0 votes
You can send feedback from within Google Maps:

> 1. Open the Google Maps app maps.
> 2. Touch the Menu .
> 3. Touch Send feedback \> Send app feedback.
>
> Note: If you want to send feedback about the blue dot that shows your location, touch Report location issues.

---
Tags: gps, samsung-galaxy-note, samsung-galaxy-note-4, gps-tracking
---


title: Android USB not recognized on PC

text:
# Question
Title: Android USB not recognized on PC
I have Samsung S4 Mini phone which I bought about 10 months ago. I used to transfer my files from phone to my PC and vice versa without any trouble using the USB cable. Recently, I enabled the Developer Settings (by tapping the build number 7 times), turned on USB debugging mode. I could transfer files even after this.

After a few days, my PC stopped recognizing the USB. I don't see the the USB button in the notification panel. I get a notification - "*The last USB device you connected to this computer malfunctioned, and Windows does not recognize it*".

In the device manager, I find Other Devices under which I see "*Unknown Device*". If I disconnect my phone, I don't see this entry.

I had searched quite a lot on Google for the same, but couldn't come up with a resolution. In fact, I did factory reset as my last attempt on my own and still couldn't find any result. (Lost all my apps for no reason).

**Other Details:** 1. I tried connecting my friend's phone onto my PC with the same cable, his device was recognized. 2. And yes, the cable was provided by Samsung itself, which used to work in the past and now it is not working.

Some one, please help me in connecting my phone to laptop using USB.

# Answer
> 1 votes
This is definitely being caused by the drivers. You have to uninstall everything related to your phone from your computer. The drivers, and anything else it installed. Remove all of that, then re-download the drivers for your phone off of google. Install these drivers, then plug the phone in. It should download anything missing now and hopefully recognize the device.

You could even try reinstalling the USB device's drivers itself. On my phone, I can specify whether to host the android device as media storage, image, or charge-only. Try switching between these (if your device allows) and see if that makes a difference.

**EDIT**: Using DriveDroid, creating an image and hosting that image as a USB flash device would be an appropriate workaround.

# Answer
> 1 votes
Try toggling one of these in developer settings

# Answer
> 0 votes
Try to clean your USB port. If it is dirty, connection to the PC may fail. I have the same problem, that my S4 Mini is not recognized by the Windows nor Linux. I cleaned the port and at least once I had a connection to heimdall and could run the heimdall print-pit command successfully.

Maybe your USB port is broken then you need to replace it. I haven't done that.

**Videos:**

# Answer
> 0 votes
The issue is due to the driver . Install Mobogenie on your system as well as on your mobile . Then connect your mobile n let mobogenie download the drivers . That's it

# Answer
> 0 votes
This issue may be caused by SD card corruption, so please try this solution:

Open cmd as administrator and run `chkdsk \f F:/`, while `F` is the path of your SD card , and you need to try it using an SD card ready.

---
Tags: samsung-galaxy-s-4, samsung-galaxy-s-4-mini
---


# Question
Title: Google Play Store stopped unexpectedly Samsung Galaxy II
While running the play store I am getting the message:

> The application google play store(process com.android.vending)has stopped unexpectedly. please try again,

Force close is indicated in box below the message. I'm unable to proceed further. I did try few tricks like clearing the data and cache in play store, but the problem still persists.

My phone details: Android version 2.3.6, model Samsung Galaxy S II, Android 4G, Model no.SGH-T989., kernel 2.6.35.

# Answer
> 0 votes
you can try to install an updated version of play store, it resolved my problem once.

here is a tutorial i wrote about play store issues :

Solutions for the most major play store Problems

# Answer
> 0 votes
Try clearing App data for Google Play Store
`Settings >> Apps >> Google Play Store >> Clear Data`

And uninstall updates
`Settings >> Apps >> Google Play Store >> Uninstall Updates`

Then restart your phone

---
Tags: google-play-store, samsung
---


# Question
Title: WhatsApp messages on my phone were not backed up to the latest date. My phone stopped working and new phone does not have all the messages
The last backup on my older phone for WhatsApp was on 6th may. I was using that phone till 1st June. Today I got a new phone and as predicted, messages from 6th May have not come. Any way to retrieve those messages?

# Answer
If you still have access to your old phone, perform a backup and then restore on your new phone. Make sure, however, that *all* your messages are present on your old phone or else you will lose the ones after 1st June.

If you don't have your old phone, then I'm afraid there's no way you can retrieve those messages, for if there was, it sort of beats the purpose of taking a backup in the first place.
> 0 votes

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


title: Stop syncronsing the contacts

text:
# Question
Title: Stop syncronsing the contacts
I have bought moto g4 and I has the problem that even though I delete the contacts the are updated after some time

# Answer
Option 1 - In your phone settings, visit the 'Accounts' section and disable syncing of contacts with the account(s) linked to your phone. Most probably Google accounts.

Option 2 - If that doesn't work, then when in your phone's address book, go to the settings and select which contacts you want to show in the address book.
> 0 votes

---
Tags: 6.0-marshmallow
---


# Question
Title: Nexus 5X: How can I use custom ringtones /alarms without installing additional apps?
I have a Nexus 5X with Android 6.0.1 and latest security patches (June 2016). I try to use my own soundfiles for alarms and ringtones. I tried a lot of suggestions, but I can't get it to work. When I want to select my sounds, only the default sounds appear in the list.

First I tried to add them to the folders (/Alarms and /Ringtones) with the built-in file explorer. I could copy the files, but only the alarms were selectable, not the files in /Ringtones. So at that time alarms were fine, ringtones were not.

Here someone suggested that it could make a difference if the files are copied from a PC via USB cable. So I tried that, but it did not make a difference.

Someone suggested that the files might only be selectable after a reboot. So I rebooted and now it is worse than before: I cannot select my own alarms and ringtones. For both settings, only the default sounds appear.

I don't want to try the recommended "ES File Explorer" or the "Zedge ringtone & wallpaper" app. This problem must be solvable without any additional software. Does anyone have an idea how to find out why this is not working?

By the way: I tried sound files in different formats (mp3, flac, ogg). All files can be played on the phone. They worked perfectly as ringtones and alarms on my previous phone. The filenames do not contain any special characters.

# Answer
I finally found a solution: I deleted all files in /Alarms and /Ringtones and rebooted. Then I copied just one mp3-file to each folder with the built-in file explorer (I guess it does not matter which app you use or if you do it via pc/usb). This mp3-file could be selected in alarm and ringtone settings.

My first idea was that one of the files that were in /Alarms and /Ringtones before was damaged or in a not supported format. So I copied back the other files. To my surprise it is still working and I can also select the other files. So I don't really know what caused the problem, but this work-around solved it.

So if you have a similar problem, it may help to delete all files in that folders (make a backup somewhere else), reboot and then copy the files back.
> 0 votes

---
Tags: alarm, ringtone, custom-sounds
---


# Question
Title: SSH login disconnect with Operation not permitted [preauth]
I have SSH server running on an Android phone under GNURoot app with image file for wheezy. The sshd -d on the phone says:

`Server listening on port 2233`

and after I try to login the connection established and then I get:

`chroot(/var/run/sshd)" Operation not permitted [preauth]
do_cleanup [preauth]
do_cleanup
Killing privsep child 18597`

The ssh client on my computer says:

`Read from socket failed: Connection reset by peer`

Anybody has any idea what went wrong?

# Answer
> 1 votes
Use dropbear instead.

`apt-get install dropbear`

I cannot find any way to avoid chroot error, so I suggest you another ssh server. It works well. :-)

# Answer
> 0 votes
Please do:

```
su
ln -s /system/bin/busybox /system/xbin/ash

```

You are getting that error because there is no shell for user root to use.

# Answer
> 0 votes
You can get past the chroot by setting UsePrivilegeSeparation=no in /etc/ssh/sshd\_config, but both openssh and dropbear fail currently on my phone on the latest GNURoot Debian.

They fail with access denied from openpty, so it's a proot bug (and probably not easy to fix.)

# Answer
> 0 votes
After setting `UsePrivilegeSeparation=no`, I was getting *password login failure*.
But I was able to work around it by adding my public key for key-based login (safer anyway).

---
Tags: ssh
---


# Question
Title: external SD card unmounted lost everything
I unmounted my SD card before resetting my phone when put baxk in nothing came up. No pictures or music. I have a Galaxy S3. Can I retrieve them some how?

# Answer
Something similar happened to me and afterwards i found all my photos, videos, etc. were in a folder on the sd card called LOST.DIR. To make it more difficult unfortunately the file extensions were removed and the file names were meaningless e.g. 'holiday.mpeg' became '1g2h3j4k5'.

Check for this folder then copy it's contents to your laptop or whatever. You can see the file sizes and you know what you had on there so try something like adding a .mpeg extension to the large files and .jpeg to the smaller ones. It took me some time to get them all back but in the end i got through it.
> 0 votes

---
Tags: external-sd
---


# Question
Title: Transfering contact information from one phone to another using SIM card
I have a LG Optimus L70 phone that will no longer turn on. I have a new LG K7 phone. How can I transfer my contact information to the new phone using the SIM card. Or is there any other way that I can get my contact information and pictures off of my old phone and put in to my new phone

# Answer
If you installed a different contact application that isn't using the normal Google android system you would have to specify the program and someone familiar with it will chime in.

Your contact information, by default is stored in Gmail's contact. Activating your new phone and setting up the same account on the new phone as the old phone will automatically sync your contact information to your new phone.

You make a reference to sim card, where I believe you are trying to refer to an sdcard. Many phones, especially the newer ones, will allow you connect to an external usb drive. You can do two things to get the data off your sdcard. You can alternatively get an adapter for your computer (which generally cost between 5 an 8 dollars), transfer the date from the card to your computer. Then connect your new phone to your computer VIA a usb cable and transfer the data from the computer to your new phone.
> 0 votes

---
Tags: lg
---


title: Compressing Torrents

text:
# Question
Title: Compressing Torrents
So I am trying to download a torrent to my tablet, but it is 51.67 gb, which is HUMONGOUS. Any way to compress it and make it fit into my tablet?

# Answer
> 0 votes
No, you cannot compress files from torrents before they finish downloading. The torrent file contains a list of the blocks and their correct hashes. Your torrent client needs to download these blocks to the filesystem and check their hashes.

You are free to reencode or compress content once the torrent is downloaded, but this will not help you on a storage-constrained tablet.

# Answer
> 0 votes
You could try raring or zipping the files into parts. But saving space is minimal. I guess you don't have an otg?

---
Tags: torrents
---


# Question
Title: Does data have priority over voice when making calls on 3G?
I'm not quite sure if this is the correct place to ask this, recently my phone service provider sent me a message saying that they had now begun compensating subscribers whose calls were dropped mid-call. They said their systems would decide if a call was dropped prematurely and if it was then we would be given bonus airtime. Prior to this, my calls never dropped and I didn't have much of a problem when calling. A few days after this I notice a lot of my calls keep dropping when I try and make them and after I make them. My signal is strong -full bars actually-but I assume 4G might be unstable so I switch my preferred network type to 3G only to prevent the phone from switching networks. This doesn't make much difference as my calls still keep dropping.

So I pass by their shop and one of their attendants informs me that the problem would most likely be attributed to the fact that when I make my calls, apparently data has preference over voice despite the fact that I'm not even using an app that requires heavy data/data at all when I'm making my voice calls. Before my service provider sent that message, I really didn't have much of a problem making calls but now it's become too much with literally 2 out of 3 calls getting dropped. So my question would be, when making voice calls, is data given preference over voice or did that attendant really not know what he was talking about.

For technical terms I have a galaxy s5(SM G900F) running android marshmallow. Never tampered with any of my settings. Typical 4 bars on 3G has a signal strength of -81dBm 16asu

# Answer
> 2 votes
Voice and data are handled independently in 3G- voice uses circuit switching and data on packet switching. Hence, priority of one over another is not correct as claimed. For additional details see this

Frequent call drops could be due to other reasons like tower density, frequency used, congestion, Overloading etc, which can be addressed by your carrier. Your signal can be strong, yet you may face call drops or not being able to connect because of these issues

# Answer
> 0 votes
As far as I can see, the data is preferred on provider's side, so if they have high load by data, they drop calls.

---
Tags: calls, mobile-data
---


# Question
Title: Can I recharge my Android smartphone at any USB port?
My girlfirend has just installed a new CD Player on her car that comes with a USB port to connect external devices(Flash card, external hard drive, etc). My question is based due the fact that I told her that if she want to recharge her Android smartophone on her car, she must buy a 12V car adapter to USB(which is very expensive on Brazil). Now, with the new CD Player, I'm wondering if she can use it's USB port to recharge her cellphone with the USB cable. It is feasible? There is any limitations on recharging an Android smartophone on another types USB ports(I mean from another host not only the CD player)?

# Answer
> 14 votes
There're two flavors of USB ports - powered and unpowered. Unpowered ports can't supply power to the devices and are rather rare. You identify them easily - connect the smartphone to them and see if it starts charging. If it starts charging the port is powered and you're okay.

# Answer
> 3 votes
If the USB port supports USB sticks then it has power to recharge a smartphone. The only question is how much power it has. The USB protocol includes what I would call a "power handshake". Host (radio) and client (smartphone) communicate with each other and the host specifies how many milliampere the client is allowed to use.

If the radio has USB high-power support you will get up to 500mA, without only up to 100mA.

BTW: A plain USB power adapter usually supports up to 1000mA. I assume a simple car 12V-to-USB-adapter would also support that much power.

Therefore even if charging via radio works, charging will take significantly longer. How many milliamperes are used for loading can be seen on a large number of phones by the Battery Monitor Widget or similar apps.

# Answer
> 2 votes
I usually charge mine from the USB port of my TV decoder (that's always powered on) so I think there will be no problems.

# Answer
> 0 votes
There might be a problem, my car mp3 player smoked up when I once tried to charge my phone through its usb port, the usb cable was damaged too. I suggest she doesn't do that.

---
Tags: usb, charging
---


# Question
Title: How long device has been running since last charge?
In Android Lollipop, how do I see how long it has been since the last time I charged the battery? I mean I can get the approximate time by eye-balling the graph shown in Settings -\> Battery. But, is it possible to get a precise time period like: "your device has been running x hours y minutes since last charge".

Or any app that can give me this info? All battery apps seem to concentrate on telling me how much longer the device can last from now. No history info.

Note: I'm not asking about the up time :-)

# Answer
> 3 votes
From a root terminal on your device:

```
dumpsys batterystats | grep "Start clock time"

```

That will give the date/time of when the device was last disconnected from the charger (while fully charged), rather than the time since, but comparing to the current date and time is easy enough.

I did come up with a more complicated command you could save to a script to yield a `1d 2h 3m` style format:

```
busybox expr $(date +%s) - $(dumpsys batterystats --checkin | grep "l,bt" | busybox awk -F',' '{printf "%i", $10/1000}') | busybox awk '{printf "%id %ih %im\n", $1/60/60/24, $1/60/60 % 24, $1/60 % 60}'

```

To explain that:

1. Get the batterystats line that includes the milliseconds-since-the-epoch time of the last charger disconnection
2. Use awk to strip out that time and convert it to seconds
3. Subtract it from the current time to get the interval in seconds
4. Use awk to format it

# Answer
> 2 votes
## Try Battery Monitor Widget

With Battery Monitor you can control your Battery status, here are some features:

* Unplugged since
* Last level change
* Total charges
* Total charging time
* Total unplugged time
* And many others

The google play page

Hope it will help.

# Answer
> 2 votes
I think the best battery info app on the play store is BatteryBot Battery Indicator.

It will show all the info about battery.

# Answer
> -2 votes
Go to battery in setting, press battery usage button then you can see the exact time passed since last charge

---
Tags: 5.0-lollipop, charging, battery-life
---


# Question
Title: Running Linux on Android with a rooted OPO
I tried to run Linux on Android and I had some issues setting up Debian. The VM is running, but I can't connect via VNC. I already searched the FAQ & Google what to do, but I found no answers. My OnePlus One is rooted and its Kernel has Loop Device Support (`export` in terminal shows `LOOP_MOUNPOINT`). Any suggestions?

**terminal log:**

```
u0_a129@A0001:/ $
u0_a129@A0001:/ $ cd /sdcard/debian
u0_a129@A0001:/sdcard/debian $ su
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/debian/debian.img
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/debian/debian.img
android/files/bootscript.sh /sdcard/debian/debian.img     <
MD5 file found, use to check .img file? (y/n)
y
Validating image checksum... OK
Checking loop device... MISSING
Creating loop device... OK
mount: mounting /storage on /data/local/mnt/external_sd failed: Invalid argument
No user defined mount points
net.ipv4.ip_forward = 1
Using config file /root/cfg/debian.img.config
Config file loaded
Starting first boot setup.......
Creating User account (named debian)
Adding user 'debian' ...
Adding new group 'debian' (1000) ...
Adding new user 'debian' (1000) with group 'debian' ...
Creating home directory '/home/debian' ...
Copying files from '/etc/skel' ...

```

**here starts the interesting part:**

```
passwd: u:r:init_shell:s0 is not authorized to change the password of debian
Permission denied
Try again? [y/N]
chfn: Permission denied.
adduser: '/usr/bin/chfn debian' returned error code 1. Exiting.
usermod: unknown group admin
chown: cannot access 'external_sd': No such file or directory
Password:
su: Authentication failure

```

**the rest:**

```
If you see the message 'New 'X' Desktop is localhost:0' then you are
ready to VNC into your debian OS..

If connection from a different machine on the same network as the
android device use the address below: eth0: error fetching interface
information: Device not found If using androidVNC, change the 'Color
Format' setting to 24-bit colour, and once you've VNC'd in, change the
'input mode' to touchpad (in settings) Starting OpenBSD Secure Shell
server: sshd.

To shut down the Linux environment, just enter 'exit' at this terminal
- and WAIT for all shutdown routines to finish!

localhost:~# ls
DONOTDELETE.txt  Downloads  Public     cfg
Desktop          Music      Templates  init.sh
Documents        Pictures   Videos

```

# Answer
Complete Linux Installer is somewhat buggy. Try Linux Deploy. It is much more configurable and stable.
> 1 votes

# Answer
Please search the xda-developers threads related to this project for debian fixes. Unfortunately, debian handles some security things differently than all the other distros we have, so there are manual changes that have to be made in order to allow debian to "like" your device. Alternatively, if you try using one of the other distribution images, you should be able to avoid having this problem altogether.
> 0 votes

# Answer
type this :

```
setenforce 0

```

before chrooting
> 0 votes

---
Tags: root-access, linux
---


# Question
Title: Why can't this Asus tablet access anything over the internet though wifi is connected?
I just replaced all the networking infrastructure in my home do to a Frankenstein IP packet: this includes the Arris Residential Gateway, two Netgear switches, and a Netgear Model R7000 wifi router.

Various other devices connect just fine.

But a Asus TF700T running Android 4.2.1 is not working. What's strange is that it claims to have connected, and shows an IP address. Web pages just (eventually) time out (which is different from the immediate error I get when wifi is disconnected) and apps just hang: a blank screen on Google Store, and an empty map on Maps.

Checking the gateway, I see that IP address is listed as a client along with two IPv6 addresses at the same MAC. It does't show any other status other than lease time.

Re this post with a similar title: I have no proxy. Other (albeit newer: next oldest is 4.4.2) android devices connected in the usual way with no other configuring needed.

I am at a complete loss as to how to proceed to troubleshoot this.

---

**update:** at benjaminS’s suggestion, I tried entering a local IP address, the gateway router’s admin page, and that works.

Then I verified that my web server (at a hosting company, with a dedicated IP address) serves my personal site by default when accessed by IP address (http://199.73.30.94). On this Asus tablet, it immediatly returns the “webpage not available” page.

(Now, the page I try are failing immediatly, and Google Store quickly shows “check your connection and try again”. That is different. Settings still shows *connected* with local IP address.

**update ⚁:** ping with an ip address (for google) gives “destination Net Unreachable”. `ifconfig` gives no output. But I suspect at this point that the gateway is not being configured properly with DHCP. Why not? How do I tell what's happening?

I used my phone as a hotspot and verified that *stuff works* in general for that device. I'm only getting E service so that's not practical for doing much. At least I can use Google Store, but please don't make me *surf* through the store.

# Answer
The problem, it turns out, was an IP conflict, and is related to this question.

The wifi access point decided to bestow upon itself the same IPv4 address as the WAN gateway. So, I suppose that packets were being routed to itself which had no way to continue.

(Why it was different for each device is a new mystery. Maybe newer devices use IPv6 or some other difference in the networking code?)
> 0 votes

---
Tags: wi-fi
---


title: Import Photos from Iphone to Android

text:
# Question
Title: Import Photos from Iphone to Android
I've been trying to access the wedding pictures I stored 5 years ago. I was an iPhone user, but now I'm using an LG K10 Android.

I know the photos were store on either iCloud Photos OR Photostream in my old iPhone. I don't know if I can import them to my Android phone. I do not have access to a PC with internet access. Can anyone help me?

# Answer
> 0 votes
The easiest way to get all your pictures from you iPhone to your LG is to use Google Photos. This does requires a gmail account. If you don't have one, its free to set up.

On your iPhone:

1. Download Google photos (if not installed already)
2. In the Google photos app, tap Menu (3 horizontal lines)
3. Select **Settings** then **Backup and Sync**
4. Switch it on
5. Allow permissions, if required

On your LG:

1. Download Google photos (if not installed already)
2. Repeat steps 2, 3 and 4 for iPhone
3. Your pictures should be on your LG

Hope this helps!

---
Tags: stock-android, photos, ios
---


title: .thumbnail file

text:
# Question
Title: .thumbnail file
.thumbnail file is occupying a lot of space in memory. I have very few pictures on the phone. Deleting doesn't work.

There were 2 previous questions regarding this which did not have a solution.

Have Android 5.0.

# Answer
You can navigate to the DCIM Folder via any explorer app, generally the .thumbnail folder is visible , if not then , tap on "Show hidden Files" from there you can delete the folder.

1. Deleted the thumbdata file (in DCIM/.thumbnails)
2. In Settings-\>Applications-\>All-\>Gallery: cleared data (only a few MB), (I would also have cleared the cache if there was anything there), then "Force stop"
3. In Settings-\>Applications-\>All-\>Media Storage: cleared data (only about 30MB), (I would also have cleared the cache if there was anything there), then "Force stop"
4. Restarted the phone

Original Source : https://www.quora.com/How-can-I-delete-thumbnails-data-from-my-DCIM-folder-in-Android
> 0 votes

---
Tags: 5.0-lollipop, insufficient-memory, thumbnails
---


title: Booting into twrp unsuccessful

text:
# Question
Title: Booting into twrp unsuccessful
Followed the steps mentioned in http://www.droidape.com/install-twrp-and-root-moto-g-2014-2nd-generation/

installed twrp successfully. But as I try to get into the recovery the screen shows the android guy lying on its back(no command). Please help

# Answer
> 1 votes
Moto devices with a stock ROM have a facility to replace the recovery with the stock image, TWRP handles this but you have to reboot into recovery once before starting the phone normally. Flash TWRP with fastboot and boot into it, allow changes (or first, say No, then do a backup!) then within TWRP do a Reboot -\> Recovery, this will "set" the recovery so it will not be replaced.

`fastboot boot twrp.img` (replace *twrp.img* with the actual filename for your TWRP image)

TWRP should load. Do not allow changes and perform a full backup (keep this safe so you can restore to known good point if needed at some time). Once this is done, go to Home - Reboot - Bootloader

Flash TWRP with `fastboot flash recovery twrp.img` and then reboot into the bootloader with `fastboot reboot-bootloader` and start Recovery, TWRP should start.

In TWRP, allow changes and go to Reboot and select Recovery, the device should reboot and TWRP will start again. Select the option to allow changes, go to Reboot and select Recovery, this will "set" TWRP as the static recovery image.

You can now Reboot - System and the phone should start with TWRP left in place.

---
Tags: rooting, recovery-mode, boot, twrp
---