# Question
Title: Sliently perform OS and APK update programmatically
I am trying to create a system for performing over-the-air updates for APK and OS on my android devices. My question pertains to the part of actually performing the upgrade once the packages for OS and APK have been downloaded. Please note the following:

1. I cannot use play-store/play-services since my device does not have play-services installed on it.
2. I need the update process for both APK and OS to be done silently without any user intervention.
3. I have root/admin privileges on the devices.
4. The android versions I will be using are Kitkat, Lollipop and Marshmallow.
5. I have an APK running on the device which checks for updates from my server and downloads it. I then want it to initiate update for both APK and OS from the code.

Regarding APK update:

I have actually tried and successfully performed APK update by running the shell command `pm install -r $PATH_TO_DOWNLOADED_APK`, after getting the shell from `Runtime.getRuntime().exec("su")` in my App code.

My Questions are:

1. In case something goes wrong while installing the APK- for example if the device shuts down while update is happening , or there was some issue in the APK package or something like that - in this case will android ensure that the APP is rolled back to the previous version correctly and no data is lost or there is something I need to take care of in my code.

Regarding OS update:

I referred to the following link: https://source.android.com/devices/tech/ota/ However, I didn't understand it completely.

My questions are:

1. Is there a particular folder where I need to keep the downloaded OS package? If yes, then which is the folder? If no then how do I specify the path to it?
2. What is the equivalent command for `pm install -r $PATH_TO_APK` in case of OS updates?
3. How do I boot a device in "recovery mode" as mentioned in point # 3, in the link?
4. Where are the boot and recovery partitions in the device? Does it vary from device to device? In one of the devices which I have with me, I don't see any /boot or /recovery folder? Does boot mean the / (root) folder?
5. In case the OS update fails due to some reason( the device shuts down during the update, there was issue in the update package etc)- does android ensure proper rollback and that the device is in a consistent state and no data is lost? If no then how should the code which initiates it handle this?

# Answer
> 1 votes
> Is there a particular folder where I need to keep the downloaded OS package? If yes, then which is the folder? If no then how do I specify the path to it?

Android keeps the downloaded package in cache partition, since data partition is supposedly encrypted nowadays which cannot be mounted by Android in recovery mode without supplying decryption key and there is no other partition big enough to store bigger files. Use root access to move the file into /cache. You may have to set appropriate permission on it as well.

> What is the equivalent command for `pm install -r $PATH_TO_APK` in case of OS updates?

The OS update occurs in recovery mode (a barebone OS) and the recovery may have a provision to allow automatic execution of commands. Android stock recovery (\<3e\>) reads */cache/recovery/command* and executes them automatically. If it is TWRP v2.1 or above, the file is */cache/recovery/openrecoveryscript*. Check their links to know more.

> How do I boot a device in "recovery mode" as mentioned in point # 3, in the link?

My answer here has it covered.

> Where are the boot and recovery partitions in the device? Does it vary from device to device? In one of the devices which I have with me, I don't see any /boot or /recovery folder? Does boot mean the / (root) folder?

They vary from device to device but you can find the cache partition mounted at */cache*. Boot partition need not be mounted since all of its content is automatically loaded into memory during boot. You would have to search internet to find partition scheme for your particular device. Izzy's Q&A could help too.

No, *boot* doesn't mean */* folder. It is not even a directory in reality but the root of the largest tree (file hierarchy) created and populated each time the Android boots.

> In case the OS update fails due to some reason( the device shuts down during the update, there was issue in the update package etc)- does android ensure proper rollback and that the device is in a consistent state and no data is lost?

No, if recovery starts modifying the system partition and is interrupted, there is no going back. Even if the process completes normally, the boot process may get into trouble.

Finally, OS update/upgrade cannot be called silent at all since there is so much happening on the screen.

---
Tags: updates, ota-update, application-autoupdate
---


# Question
Title: Device update triggers factory reset and completly locks user out
My father made a installed as system update on his huawei gx 10.

After the reboot a message stated that the device was factory reseted and that it was necessary to log in with a google account that synced from this device.

First of all, not factory reset was made. At last not by a local user interaction. I hope all the data is still there and the message is incorrect. Of course my father made no backup. At last not willingly. Maybe some app-data was backuped to his google account, I'm not sure how to check what exactly is there.

I changed the Google accounts password because I assumed somebody remote-wiped it. But now this looks unlikely. It was probably a faulty update.

Second, the authentication does not work. This device only ever used one google account. When attempting to log in there is a message that this account wasn't previously used on this phone. This is false. When logging in to the account from a computer I can see the history of devices that where associated with it. This phone was associated with this account. However the phone lists two devices: "Huawei GX 10" (last activity 22h ago) and "Huawei GX 10 (new)" (last activity 10 min ago). Nobody in my family or my father ever owned a GX 10 besides this one. Maybe this is due to the fact the OS was updated? I don't know what version was running on it previously and don't think i can find out the current version right now. The whole problem would probably a way less serve if google recognized that these two phones are the same.

In summary, I have physical access to the phone and access to the google account, but can't get past android device protection.

Did this happened before? Is there any hope that does not involve desoldering the flash chips?

# Answer
Called both android and huawei support. Neither of them was helpful. Both insisted that this shouldn't happen, althou the google support said he once had a similar case from a huawei consumer. Both suggested to delete the phone from list of devices in the google account. That didn't work and neither could tell why it didn't and how it could have helped.

Huawei accepted it as a repair case. The phone is still in the warranty period, so i hope for a replacment phone.
> 0 votes

---
Tags: updates, factory-reset, huawei, anti-theft
---


# Question
Title: What files are needed to gain root access on an Android device?
Are there other files besides su that need to be installed to gain root access on an Android device? I know that installing a "superuser" app isn't strictly necessary but merely important from a security perspective.

What I want to know is whether simply transferring a working su binary to a device is enough to "root" an Android device. By "working" su binary, I mean having su installed at the proper location and blessed with the proper permissions.

Note: I'm not asking about the means (e.g. some esoteric security hole, adb, a bogus \*ab backup file, or a recovery zip) but the goal, the absolute minimum number of file(s) that need to be transferred to root an Android device.

# Answer
> 2 votes
Copying a working `su` binary does not make the device rooted!

The method of rooting depends on supporting files, for instance:

* a shell script
* a binary that exploits
* possibly, another script to copy over the superuser app...

Also, it is entirely dependent on whether your handset can be rooted or not depending on kernel, android version, manufacture/make of handset.

With Jellybean 4.3, it is now much harder to exploit and security has been clamped down more, this caused headaches for the creator of Chainfire's superuser app in order to work around the extra security put in place by default. It will be a matter of time now, when trying to exploit and gain root will become harder!

# Answer
> 0 votes
The **absolute minimum** is exactly a `su` executable. It grants root access to whoever calls it. But this `su` should not be taken from an existing rooting software. Without its corresponding root manager it won't work alone. Actually you can grab the `su` source code from a Linux distro and mod it, then compile it by yourself and it'll work.

That's not practical because everyone can gain root access without any restrictions. You don't want a malicious app to do so. So a **practical minimum** is 2 files: `su` and `Superuser.apk`. The latter manages permission grants and rejections. I've tested this with SuperSU. Just copying the APK and one binary made it work.

---
Tags: rooting, root-access
---


title: 2 buttons in android bar

text:
# Question
Title: 2 buttons in android bar
Now I would like to have as few buttons in the android bar at the bottom as possible but I'm pretty sure both the back and home buttons are required. I believe this is true.

Could I assign the home button to activate the menu button on double click and just have the home and button button? I'm rooted on 5.1.

Alternatively can I make Android activate home and back with volume up and down https://www.quora.com/Can-I-make-an-app-which-tracks-the-Android-volume-control-button-and-does-some-tasks-if-I-long-press-say-volume-up

Picture of idea

# Answer
> 0 votes
So I am self answering this can all be done using Lineage OS. Install Lineage OS then go under Settings-\>Buttons-\>Buttons & Layout. You then can add and remove buttons to your hearts content. Once you are done change Home double tap action to activate Recent apps switcher.

---
Tags: rooting, home-button
---


# Question
Title: How can I prevent my screen from turning off while on a phone call?
When I'm on a call my screen turns off after X seconds. Half the time I can't get it to turn back on without pushing the on/off button, which I have set to terminate a phone call (because half the time I can't get the screen to turn back on). Is there a way to just turn this "feature" off?

In case it matters:

* Phone: Samsung Vibrant
* OS: 2.2 / FROYO.UVKA6 / 2.6.32.9

# Answer
## Keep screen on during calls

That setting is not available on all phones, but if it was it would be under: Home \> Settings \> Call Settings \> \[Display \>\] ...

## But as for the difficulty turning the screen on

Be sure that the power button does not end calls (Settings \> Accessibility \> Power Button ends call : make sure it is UNchecked)

Then just pull the phone away and press the power button to turn the screen on.
> 15 votes

# Answer
Are you sure that the screen goes off after X seconds? Android phones with proximity sensors usually turn off the screen when they are put on an ear. The Phone should automatically turn on the screen if you uncover the light/proximity sensor (e.g. by removing it from your ear). The Galaxy S does this and I suppose that the Vibrant does so too, because they are basically the same phone models. Other Android phones behave similar.

I am not sure if it's possible to disable this feature. Even if so, you would encounter another problem: Accidental pushing buttons on the touchscreen with parts of your face, which could lead to hang-ups.
> 3 votes

# Answer
I had been having exact same problem for a few months on my LG-P500, but have just fixed it. I found that the proximity sensor had gotten covered with dust as the screen cover had slightly lifted in the area of the proximity sensor. Once I cleaned it off it worked fine again.
> 3 votes

# Answer
You can disable the proximity sensor or simply go to call setting and you will find an option that reads keep screen awake.
> 2 votes

# Answer
I'm not quite sure how to turn the feature off but when I had my Droid Eris, it would do the same thing. I found that if I simply hit one of the volume buttons on the side, the screen would come back on without having to end the call.
> 2 votes

# Answer
I have noticed (while searching like mad to put my phone in a universal waterproof case for my handlebar, where the proximity sensor is hidden), that **when the Bluetooth is on** the screen stays on during a call.

Also, as Brian says here, when I'm on a ride **with the "Strava" app running** and I receive a call, the screen goes black, but if I **press the "back" button**, it goes back to Strava with the screen on.
> 1 votes

# Answer
I have the same problem of the screen dimming in my LG during a phone call. It matters because I have to sit and listen to really long conference calls, and I have to be ready to turn off Mute to answer a question.

I haven't found the settings that have been mentioned. My only work-around is to be in another app, and when I have to go to the phone, I click the call icon in the 'Second Screen.'

So, now I have one tap instead of 2 taps to wake the phone. That's a marginal improvement.
> 1 votes

# Answer
To keep the screen and disable the proximity sensor launch another program while on a phone call. The screen will remain on while the phone is against your ear.
> 0 votes

# Answer
If you enable the touchpad while the call is coming in, the screen will stay on even when the phone is pressed against your face. For instance, if you answer a Google Voice call and have to push "1" to pick up the call.

Of course, this will result in you repeatedly pressing the buttons with your face, causing GV to say "this call is being recorded" and possibly hang up, but hey, you asked for it.
> 0 votes

# Answer
02-09-2013 - When the screen goes dark (by factory default) while on a call can be very frustrating. I just purchased a new Samsung Galaxy Proclaim, an Android phone, and this solved the problem.

Go to Settings \> Accessibility \> Power Button ends call : make sure it is **UNchecked**

Then when the screen goes dark while you're on a call and you need for it to come back on for pressing prompt numbers, account numbers, or whatever....just press the power button to turn the screen on. Since you've unchecked the end call by pressing the power button...the screen will now come back on and will not end the call. Hope this helps.
> 0 votes

# Answer
I lived with this problem for a few months but eventually I hit my breaking point.

* Searched Google & tried other suggestions for fixes
* I realized I just wasted way too much time...

So I came up with a plan of my own:

* ripped the phone apart
* unplugged the sensor from the board
* turned the phone on to test & it worked!
* I have an S4 and on my hardware this sensor was attached to the audio jack as well
* I needed my audio jack still so I ripped the sensor off the audio jack and threw it in the garbage with much satisfaction
* put everything back together
* lived the rest of my life with one less phone problem
> 0 votes

# Answer
does your device have shake your phone to activate camera feature? If so just shake phone then hit back button to get out of camera mode. Also on some phones it will light up screen when plugging into power or unplugging.
> 0 votes

# Answer
From your description, it sounds like there may be an issue with your proximity sensor. The proximity sensor should turn off the screen instantly when you put the phone to your face during a call. The way you described the screen turning off after X amount of time sounds like it's just normally timing out. You can use an app called AndroSensor to test the functionality of your proximity sensor. This would also explain having to turn the screen back on manually instead of it happening automatically. Also, you may want to look closely at the sensor, there may be dust on it preventing it from working properly.

As others have noted, the Vibrant should have an option for disabling the sensor. Is this option already checked? That may have something to do with it.
> -1 votes

# Answer
I found a couple of settings in Cyanogenmod which could be useful. I am not sure if they are available in vanilla Android.

Also, the proximity sensor application in HTC is pretty good. But I am not sure about Vibrant.
> -1 votes

# Answer
The best way that I find is to cover the screen for a few seconds and then release. This is the same mimic as if you are calling into voicemail or a feature for which you are required to press a key. This is the best means that I have found to keep all features enabled. BTW: I find it odd that you have the power button set to hang up. I believe this is a feature you setup in order to advert another issue. Maybe solving the hang up feature problems will assist with this one as well?
> -2 votes

---
Tags: 2.2-froyo, settings, calls
---


# Question
Title: Moto X won't default to SD card for internal storage
> Insufficient Storage

I've been getting this error message constantly and it's extremely aggravating. I've got a 16 GB Moto X Pure running Android 6.0 with a 32 GB memory card.

My internal storage is getting filled but there's barely anything on my SD card and the phone won't default over to it. I can only move certain apps over manually but my biggest chunk, Google Music, apparently got rid of that feature.

Is there anyway to make the phone default to the SD card as a preferred storage location?

# Answer
> 0 votes
Finally got it.

There's a `Migrate` option under the SD card storage summary which freed up 2 GB of internal storage.

After I did that a bunch of updates came through and I was able to port my music over to the SD card.

---
Tags: 6.0-marshmallow, internal-storage, moto-x
---


# Question
Title: Upgrading to a specific version of android
I am looking to upgrade (not downgrade) my tablet to a specific version of android.

Is there a way to do this? Every search I do comes up with downgrading!

Is there a site that hosts legacy versions of android updates? And is it possible to upgrade to one of these?

Thanks!

# Answer
> 2 votes
Updates are *device / carrier* specific - there isn't an update that works on every device or any device, si there's no question of an universal repository

If there is an update available for your device, it can be activated by clicking the *System updates* in the *about phone /device* portion of settings (usually, but you may find it elsewhere in your settings

If it says there is no update, then **you can't** (though in some cases OEM hosts on *their* site an update to be manually downloaded and applied, but it's more of an exception)

If you want to upgrade at any cost, you will have to root your device and flash a custom ROM

---
Tags: updates
---


# Question
Title: Sometimes I need to sign in to my WI-Fi and other times I don't. How is it SUPPOSED to work?
Is there a document somewhere that explains what I can expect with regards to logging on to wifi networks ? IE: When will I **have** to log on, if I enter a password, will the phone remember it the next time I log on to that specific wifi network ? Things like that.

# Answer
> 2 votes
You'll normally be prompted to enter passwords on encrypted Wi-Fi networks (WPA/WPA2, WEP etc) or even WPS Wi-Fi networks.

Encrypted Wi-Fi networks usually have a padlock icon.

For open networks, you can connect without need of a password. (These kind of networks don't have the padlock icon)

Once you connect to either type of wi-fi , these settings for that access point are saved automatically, such that you don't needlessly enter again a password upon reconnection (in the case of encrypted ones). Android can remember such access points.

There are other kinds of wi-fi networks, that require additional login steps on an ISP webpage (Captive portals), in this case the initial connection is automatic, then you'll need to enter login details (e.g email/id and access password)

---
Tags: wi-fi
---


# Question
Title: Failed Android 7.1.2 install on LG V500 - stuck on boot screen
I had CWM Recovery and an older cyanogenmod rom installed on my LG G Pag 8.3 (V500) and I wanted to upgrade to 7.1.2 from here: https://forum.xda-developers.com/lg-...8-r16-t3476750

I copied the ROM to internal memory, rebooted into recovery, selected the rom file to install. It showed some messages about patching, then in a couple of minuted erred with smth like "Erro loki-ifying because of incompatible aboot image".

I then rebooted and now it boots and shows "ANDROID" and is stuck on it - looks like it partially updated the ROM and failed somewhere.

I am not sure what to do now - I tried to boot into recovery (Power off -\> Hold Power + Vol down till menu shows) but it doesnt work - it keeps booting onto this stuck boot.

Is there a way to fix it or have I just finally bricked it?

# Answer
> 0 votes
Solved it by downloading LG Mobile Support Tool, switching the tableto into download mode (Power Off, then press both Up and Down vlume until it shows download mode), then connecting the USB and after the LG Mobile Support tool recognizes the tablet, go to Options -\> Upgrade Recovery. The tool will download and flash the latest stock image. After that I got stuck on boot loop and performed factory reset:

* Press and hold Power Button + Volume Down
* When the LG logo shows up, release the power button only
* Now press and hold the Power and Volume Up button while keeping your hold on the Volume Down button
* When the factory reset screen appears, release your hold on all buttons
* Follow On Screen Indications

Now I get a fully stock tablet that I can root, install custom recovery etc

# Answer
> 0 votes
The answer you posted only got your tablet to working state, but LOS still isn't installed.

To actually install LOS, first make sure your stock OS is at least Android 4.4, then install TWRP recovery (since CWM is long dead) according to the instruction on the page (`fastboot` installation is heavily recommended), and finally flash LOS itself.

---
Tags: lg, 7.1-nougat
---


# Question
Title: How do I take very long exposure photos?
I would like to take some long exposure photos using my Android phone (Moto DROID v1 running Android 2.2.2) of the night sky. I experimented with the settings for the default camera app, and I found that I can set the focus to infinity, but the exposure time has only three settings: 0, +1, and +2. If I set the exposure to +2, I can get a recognizable photo of a full moon, but I am unable to capture a field of stars.

Is there any way to extend the exposure time beyond +2?

# Answer
> 1 votes
You cannot do this from with Settings of the default camera.

You could look at another camera app like Camera Streak (Blog).

Or you could roll your own, here is the relevant details you need to change:

http://developer.android.com/reference/android/hardware/Camera.Parameters.html

setExposureComponent()

# Answer
> 0 votes
You can use Long Exposure Camera 2. This app can be used to achieve very long shutter exposure.

# Answer
> 0 votes
You could try Camera FV-5. It only lets you go up to 1 minute exposure, but it has ISO control, and the Lite version isn't restricted or watermarked.

---
Tags: camera
---


# Question
Title: Which apps/services needs to be whitelisted when using AFWall+ firewall?
I installed this root firewall app on my android but now some services are not working properly. For example, I liberated full access to Google play store on it and also Google play services but when I try to install an App in Play Store, it never starts the download. When I disable firewall, the downloads run normally.

# Answer
You likely blocked the downloads by *not whitelisting* `com.android.providers.downloads`

From Question 58 of app FAQ

> What do I need to do to get Google Play Store to work?
>
> You need to whitelist the following: com.google.android.gms (Google Play Services for authorization) + **com.android.providers.downloads (For Downloads)** \+ com.android.vending (this is the Play Store)

(Emphasis Supplied)
> 3 votes

---
Tags: firewall
---


# Question
Title: Samsung S7: stuttering during slow motion video recording
When I try to record slow-motion video on a Samsung S7 (running Android 7.0), there is often stuttering. This has ruined some otherwise amazing footage I acquired.

What can I do to ensure that there will be no stuttering?

So far I have tried:

* Recording to internal storage instead of the SD card (although the card I use, SanDisk SDSDQXP-032G, is rated for 90 MB/s write)
* Making sure that "Power saving" is off
* Closing all apps (using the Overview button, then Close All)

The stuttering will occasionally noticeable even when not recording video, just having the camera app open in slow-motion mode and quickly moving the phone from side to side. Of course, it is harder to notice it this way because everything is happening much faster than during slow-motion playback.

Note: I am making fairly long recordings, with playback times as long as 5 minutes.

# Answer
I am experiencing the same issue on my Samsung Galaxy S7 (Exynos). The stuttering in slow-motion video is awful and there is nothing I can do about it.

I have also tried without SD-card, no difference.

The best way is to minimize the number of installed apps. It will not remove stuttering completely, but might reduce it a little bit. It is somehow the intrinsic structure of Android OS that apps are always running or in standby, i.e. consuming memory and some small amount of CPU power. Any, even the slightest, extra CPU load will cause massive stuttering.
> 1 votes

---
Tags: camera, performance, samsung-galaxy-s7, video-recording
---


# Question
Title: Can connect 3T to devices via hotspot, but no internet
Hello I have the OnePlus 3T using Oxygen 4.0.3, Android version 7.

I am able to connect my iphone 5s, Macbook Air, iPad 4 and Toshiba Chromebook to the phone. All devices register as connected, the hotspot icon on the taskbar of the Oneplus is on, but I am unable to access the internet on any of the devices. I can connect by bluetooth but still no internet. I tethered to the Macbook with a cable, but no internet. Any ideas?

I use the same sim in my iphone 5 and can connect to thee mentioned devices easily and the internet works.

I've tried all the solutions listed in this forum but none of them work for me. So I'm guessing it is the OnePlus 3T is the problem? Any thoughts?

Thanks again Phillip

# Answer
> 1 votes
I have personally tried this on OxygenOS 4.1.6 on my OnePlus 3, but the solution is the same for all OxygenOS 4.X.X devices.

Note: If you have ADB setup, USB Debugging enabled and the drivers installed, skip to step 7.

1. Enable Developer Options in **Settings \> About phone** and tapping on the build number seven times.
2. Next, in **Settings \> Developer Options** enable "USB Debugging"
3. Connect your OnePlus device to a laptop or computer, and install the appropriate the appropriate drivers from the "CD/DVD drive" that was inserted, then reboot your computer.
4. Download ADB and Fastboot for your computer from the Android Developers website
5. Extract the folder, open Terminal and navigate to the extracted folder using

`cd path/to/extracted/folder`

6. Type `adb devices` and accept the prompt on your OnePlus device.
7. This is the actual command that matters:

`adb shell settings put global tether_dun_required 0`

8. Enjoy tethering from your OnePlus device.

Source: OnePlus Forums

---
Tags: internet, oneplus-3
---


title: Weird icon after software update

text:
# Question
Title: Weird icon after software update
I've recently installed an automatic update on a Samsung Galaxy S7 (Android version 7.0) and since then a weird icon appeared on my top taskbar - a telephone receiver that rings, next to the 4g+ icon, ( screenshot attached) even though I am not calling anyone. Does anyone know what is that icon?

# Answer
Turns out it disappeard if I went to Connections-\> mobile networks -\> 4G call disable.
> 0 votes

---
Tags: samsung, notification-icons
---


# Question
Title: How to install core GMS packages to use Google Play Store?
I am having an issue with my brand new phone Huawei Mate 9 EMUI 5.0 from China. Somehow, when I want to install WhatsApp on it, I get the following message

> Install core GMS packages to use Google Play Store

Here is the screenshot

What can I do to solve this? I just got the phone and I am lost.

# Answer
I can well remember that Huawei devices can be added with GMS by flashing a flashable GMS package.

You'll need to first find a compatible 3rd party recovery for your phone. IIRC TWRP is (unofficially) available for Mate 9, so you can take a look at XDA Developers Forum.

After flashing recovery, go to OpenGApps and download a package that's suitable for your device (arm64-7.1-pico) and flash it via recovery. Voila! You now have GMS and Play Store on your device!
> 1 votes

---
Tags: google-play-store, huawei, google-play-services, emui
---


title: Slow touch response

text:
# Question
Title: Slow touch response
My girlfriend bought a Lenovo K6 with Android 6 a few months ago. After some time, I tried to use her phone and I notice that the touch responsiveness was very slow. I feel a delay in every touch (open app, keyboard, screen scroll, etc).

I tried to uninstall some apps and upgrade to Android 7 but nothing change. The curios thing is that the problem not happens in the screen where we need to put the password before load the Android (after a restart), so I think that is software a problem.

I'm almost doing a hard reset in her phone to see if the problem is resolved. Before I do that someone have any idea how resolve this problem?

Thanks!

# Answer
I notice that the zoom was activated in her phone... this is the cause of the slow touch response. To turn off:

1. Open your device's **Settings**
2. Tap **Accessibility**, then tap **Magnification gestures**
3. At the top, tap the **Off** switch
> 1 votes

---
Tags: screen, touchscreen, performance
---


# Question
Title: Where are the game save files in PC? Bluestacks (without opening bluestacks)
There's someone who already asked this question but the answer requires opening bluestacks.

The problem is my bluestacks is broken and unable to open. It says 'Bluestacks app runner has stopped running'.

So I want to copy my game's save file, (Plants vs Zombies 2) and reinstall a new Bluestacks. So how do I manually search for the save in my computer?

# Answer
> 1 votes
You can find it at `C:\ProgramData\Bluestacks\android\SDCard.vdi` You must show hidden files and folder at folder options to access ProgramData folder. And you need a .vdi reader to open SDCard.vdi. I used PowerISO (download it from Google) to open .vdi file. Then open .vdi using PowerISO and search for your game. :)

# Answer
> 0 votes
You can find your files in this location: **"C:\ProgramData\BlueStacks\UserData\SharedFolder"**.

For more details, click here

---
Tags: files, bluestacks
---


# Question
Title: Nougat notifications blocked even after uninstalling "Notifications Off", how to reset?
I was a happy user of Notifications Off on Android 6.0.
It is an app that lets you block/unblock notifications per app.
On Android 7.1.2 blocking works but unblocking does not work, according to my experience and Play Store reviews.

**My question**: How to reset notifications, so that all appear?

I tried uninstalling the app, that does not unblock blocked notifications.
Anything easier than reinstalling the OS?

If I knew how Notifications Off works under the hood, I could maybe try to unblock manually?

# Answer
> 0 votes
I contacted the author and here is his reply:

> Looks like a compatibility issue with Android 7. As a workaround to enable notifications you need to go to Gmail in the applications list and enable notifications there.

And indeed it is as simple as this:

1. Go to Android Settings.
2. Tap "Notifications".
3. Select "Blocked".
4. For each app that you want to unblock, tap it and move the slider to the right, for instance the 5th position out of 7.

The notifications are now reset to visible level again.

---
Tags: notifications, 7.1-nougat
---


# Question
Title: How do I connect LG P500 to Mac OS X Lion?
I've been given a nice LG-P500 phone for my 67th birthday.

How the heck do I transfer music, photos and videos from the phone to my iMac OS X Lion, and vice versa?

I can't access the mini-SD card, so I can't find the LG PC Suite IV which is referred to in the P500 "Simple Manual". In the "Important notice" pink pages bit, in section 9 I can get up to the first part of para. 4: I can turn on USB storage on the phone. The phone opens "Image Capture" when I connect it by USB to the iMac. There is nothing visible. And of course an .exe file is for Microsoft Windows, not Apple.

Don't tell me I have to buy Parallels. And if the only way is sending stuff up into the clouds and retrieving it again, I'm not impressed. LG should surely have a way of doing it direct to Mac. After all, Mac OS isn't exactly new!

So, two requests:

* Where can I download a Mac Lion version of LG PC Suite?
* Where can I download a "Full Manual"? The "Simple Manual" - which you can download from all over the place - says "you can do stuff" but not, unfortunately, "this is how you do stuff." Not much use.

# Answer
> 0 votes
I suggest you to download and install **Android File Transfer** software. It will solve all the problems.

Once connected the device, turn on the file transfer mode from your mobile device and you are good to go!

---
Tags: lg-optimus-one, macos
---


# Question
Title: Android apps not working with HTTP proxy
So I want to redirect my Android phone's HTTP traffic through a proxy running on my computer, in my case Burp Suite.

I tried doing so by changing the WiFi settings and also by using the Drony app. I also installed Burp's SSL certificate on my phone.

When I visit websites using Chrome, everything works fine both on HTTP and on HTTPS, and I can see all the requests on Burp. But when I use a different app - any app - I get a "cannot connect to the Internet" error message and I can't use the app.

Does anyone know how to fix this issue?

I should also mention that my phone is not rooted.

# Answer
Possibly you are trying to use apps over HTTP proxy which causes many apps to show connectivity error.
Try a VPN over proxy.
Connect as usual you connect to the internet through your HTTP proxy. AS chrome supports proxy, the internet works fine in it even with a proxy.
Then Search for Surfeasy VPN.
I have tried many VPN's and only this and OpenVPN got success in establishing a connection with HTTP proxy.
Try this, it works great.
It even bypasses the restrictions over proxy if set up by Colleges, schools, Cafes.
> 0 votes

---
Tags: applications, networking, proxy, troubleshooting
---


# Question
Title: How to connect android phone as portable device?
I always use usb cable to transfer data from my laptop(win 7 64 bit) to my android phone(huawei honor 4c) but recently after connecting my phone using usb cable phone isn't showing as a media device.But my phone is getting charge from PC.

Here's what I've done to fix the issue and none of them worked:

1. Restarted my phone.
2. Restarted my pc.
3. changed the cable
4. changed the pc.
5. Fatory Reset my phone.
6. usb debugging on/off
7. Tried different usb ports.

Here's a thing, that another phone is working properly as I wanted in my PC but my phone isn't.

# Answer
> 0 votes
you can go into hisuite by connecting your phone up and then selecting "connected as a media device" select that notification and then tapping "use as cd-rom" and then it should appear as a cd-rom drive and then install hisuite

# Answer
> -1 votes
If you have the Hisuite program built in your phone you can move files via that way.

---
Tags: 4.4-kitkat, usb-debugging, huawei
---


# Question
Title: How do I send a GIF in a text message with version7.0
I have a Samsung Galaxy S7 running Android version 7.0 How do I send a GIF in a text?

# Answer
> 1 votes
The Gboard will help you at this.... it has the feature of sending GIFs, but that wont work if your messenger doesn't supports that..... Gboard on Google Play

---
Tags: sms
---


# Question
Title: Remotely turn on location for lost/stolen phone
My Samsung Galaxy S7 was lost or stolen tonight at an airport. I can remotely see that it is at 63% battery power, but I had the Google location turned off.

How can I remotely turn on the location? (I did lock the phone because I didn't password-protect it and left a message to call my husband.)

# Answer
Uhm... As far as I know, there is no possibility to remotely turn on GPS on your lost/stolen phone unfortunately, which is why I always considered this "track my phone" Google feature absolutely useless.
> 1 votes

---
Tags: gps, geolocation, remote-control, lost-phone, location-services
---


title: I am connecting to a WiFi or a Hotspot?

text:
# Question
Title: I am connecting to a WiFi or a Hotspot?
It's a doubt basically!!

Consider if I am asking a friend to turn on Hotspot then I am turning on WiFi connecting to that phone.

Now consider in case of router, if I am connecting to that router but people say I am connecting to a WiFi and not Hotspot?¿?¿

Then what is created by a router, WiFi or Hotspot?

It's a confusion!!

# Answer
> 1 votes
A Hotspot is simply a space where a device (an access point) is hosting a Wi-Fi. When it is in public we call it public \[Wi-Fi\] hotspot. When it is for private individuals only it is simply Wi-Fi to us. Either way, the difference is in the name only.

When you ask a friend to create a hotspot, you are asking them to host a Wi-Fi using their mobile device. When their Wi-Fi *also* provides internet access through mobile data, than we simply call that *mobile hotspot*. Either way, that is still a Wi-Fi to your device as much as the Wi-Fi created through a router.

---
Tags: wifi-hotspot, router
---


# Question
Title: How to re lock bootloader on samsung galaxy s5?
I have Unlocked Rooted Samsung Galaxy S5 recently it has been giving me a lot of issues and I want to send it to Samsung for repair meant. I understand that once you root your device you loose the warranty, but recently I was doing research and I found out if you re lock your bootloader and unroot your device you can get your warranty back, so can some one tell me how to do it ? and if you can tell me if there is a way to find out even if your bootloader is locked or unlocked ?

Thank you

# Answer
> 0 votes
First off, you don't get your warranty back, you hide that you unlocked and rooted in the first place (so you never "actually" lost warranty) . I don't know Samsung devices all that well, have you tried booting into fastboot and doing "fastboot oem lock"? If your device doesn't have fastboot obviously this won't work. Usually carriers and the phone companies can find out bootloader status by booting into bootloader with" adb reboot bootloader" or some key combination.

Tip: if you are using SuperSU as your superuser app, there will be an unroot option in it. Good luck!

# Answer
> 0 votes
You don't have an unlocked bootloader on your s5. I know this, because to date, there is no known unlock method for the bootloader. To restore to stock, uninstall safestrap (if applicable) then use Odin or Heimdal to flash a factory image.

# Answer
> 0 votes
Samsung has a different fastboot mode called the Odin mode. It's easy to access. Power off your device and press the volume down+home button+power button to go to the Odin mode. You can use the Odin app to flash the stock ROM and hence you can easily hide the fact that you have rooted the phone. This is one way to get the warranty back if you have rooted you phone. It's a pretty simple technique and you can use it to being your phone back to life if you softbrick your phone. Google up to find tutorials for your phone as to how to use the Odin mode to get back to stock ROM.

# Answer
> -1 votes
Basically for rooting a device you need to unlock the boot loader so that you can format the stock O.S which is supposed to boot on switching ON the device and replace with a custom OS.You can check whether the device boot loader is locked or unlocked by connecting your device via the ADB debug drivers to the Android develop tools(ADT).

(OR)

Simply `*#*#7378423#*#*` \>Service Info\> Configuration.

Bootloader unlock allowed - Yes:- this means that your Bootloader is Locked
Bootloader Unlocked - Yes \<\< this means that your bootloader is unlocked

**Note**:-It all depends on the manufacturer of the phone as well as the Telecom Operator.Some provide detailed steps to unlock the boot loader and some don't.Whereas in some cases the Operator itself may lock the boot loader (not the phone lock but the boot loader lock) for reasons known to them

---
Tags: root-access, samsung, bootloader
---


# Question
Title: Google Play Services crashing constantly
My wife has a Samsung Galaxy Note 4, she didn't install any new apps on the phone today or yesterday, but now her Google Play services is crashing constantly (like every 5-10 seconds).

We tried the obvious stuff:

* Uninstall a bunch of apps she's not using
* Close all the apps
* Reboot lots of times

So my next step was to enable USB Debugging and Connect with ADB. This gave me this clue when the error dialog shows up:

```
07-17 19:14:05.078 18130-18130/? E/AndroidRuntime: FATAL EXCEPTION: main
   Process: com.google.android.gms.persistent, PID: 18130
   java.lang.RuntimeException: Unable to create service com.google.android.location.internal.server.GoogleLocationService: java.lang.SecurityException: !@Too many alarms (500) registered from pid 3620 uid 10015
       at android.app.ActivityThread.handleCreateService(ActivityThread.java:3817)
       at android.app.ActivityThread.access$2100(ActivityThread.java:221)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1882)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:158)
       at android.app.ActivityThread.main(ActivityThread.java:7225)
       at java.lang.reflect.Method.invoke(Native Method)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    Caused by: java.lang.SecurityException: !@Too many alarms (500) registered from pid 3620 uid 10015
       at android.os.Parcel.readException(Parcel.java:1620)
       at android.os.Parcel.readException(Parcel.java:1573)
       at android.app.IAlarmManager$Stub$Proxy.set(IAlarmManager.java:217)
       at android.app.AlarmManager.setImpl(AlarmManager.java:484)
       at android.app.AlarmManager.set(AlarmManager.java:466)
       at irq.a(:com.google.android.gms:162)
       at irq.a(:com.google.android.gms:210)
       at irq.a(:com.google.android.gms:199)
       at idq.e(:com.google.android.gms:457)
       at idq.<init>(:com.google.android.gms:164)
       at com.google.android.location.internal.server.GoogleLocationChimeraService.a(:com.google.android.gms:107)
       at com.google.android.location.internal.server.GoogleLocationChimeraService.onCreate(:com.google.android.gms:85)
       at com.google.android.chimera.container.ServiceProxy.onCreate(:com.google.android.gms:151)
       at android.app.ActivityThread.handleCreateService(ActivityThread.java:3807)
       at android.app.ActivityThread.access$2100(ActivityThread.java:221)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1882)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:158)
       at android.app.ActivityThread.main(ActivityThread.java:7225)
       at java.lang.reflect.Method.invoke(Native Method)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

```

I keyed in on this portion of the error:

```
Unable to create service com.google.android.location.internal.server.GoogleLocationService

```

So I revoked Location permissions from a few more applications, and changed the Location Mode from "High Accuracy" to GPS Only. At that point the error message became manageable when not in an application that needs it, but still comes up very frequently if I open Google Maps.

What else should I be trying to resolve this issue?

# Answer
As a last resort before resetting her phone, I saw she still had "Pokémon Go" on her phone. I uninstalled that and the problem went away. It must have some background services too, because the app wasn't running in the task swap view.

When I reinstalled the app, I picked her profile, and it reloaded. The phone worked fine for the last few hours, so it seems to be resolved.
> 1 votes

# Answer
This is very common problem when installing google services on Genymotion emulator, Seems to me like version related problem, Try to go to google play store and update the app. (You can get new vesrion apk here)
> 0 votes

# Answer
Hi guys everyone who is facing repeated issues of Google Play Service crashes. I'll give you a simple method to resolve this issue.

Steps to Follow:

1. Go to Settings menu.
2. Click on option APPS and select "Google Play Services".
3. Under the info. Click on "Uninstall Updates".
4. Make sure your security software is **OFF**.
5. Try running YouTube and it will ask you to Update "Google Play Service".
6. Update it and run YouTube again.
7. Check back, your problem should be Solved.
> 0 votes

# Answer
I found similer issue. What I found most of the time I found it is because of weather app. Disable locations permissions of weather app. And check.
> 0 votes

# Answer
Google Play Services stopped may be due to various reasons.I would recommend you to try out these steps- 1. Check for enough memory on your Phone. 2.Try to Check the Play Store. Is it working fine? If not then try to force stop and clear the Data. 3.Try to update your Play store Services. 4.If you want to get rid of this error that pops up on your Screen.Just Go to Settings\>Apps\>All\>Search for Play Store Services and Press the Disable Button to stop this error screen forever. Hope this helps!
> -1 votes

---
Tags: crashes, google-play-services, location-services
---


title: How to reinstall android on my HTC

text:
# Question
Title: How to reinstall android on my HTC
I have encrypted my HTC One M7 and then entered a wrong password until destruction of data. How can I recover my HTC.

In other words, how do I reinstall Android 6.0 on it?

I tried "power button + volume lower" and then **factory reset**. It leads to **TWRP**.

PS: I am using Linux, and have no Windows machine available

# Answer
Should be able to factory reset from twrp even if you can't decrypt it. On the flip side, I know HTC devices have RUU's wich allow to install factory images etc.
> 0 votes

---
Tags: recovery-mode, custom-roms, rom
---


# Question
Title: LowMemoryKiller is killing loads of system apps and forcing user space death, but "free" says there's plenty of memory
For some time I've had a problem, where crucial system processes were being force killed by LowmemoryKiller/OOM.

Following help, I added a 500 MB swap file working natively a couple of days ago to try and reduce memory pressure and lowmemkiller triggers (thread with details here). The output of `free` showed an extra 500 MB of space, which I figured was plenty to prevent whatever low memory problem was forcibly killing system processes.

But it hasn't helped. Out of the blue I suddenly again got a fairly vicious "everything got killed by LowMemKiller" just now, with about 6 core dump files created in just 100 seconds, followed by a user space crash, and the kernel (dmesg) log suggest that low memory issues were the only reported problem, even though this time a large amount of swap was available and recognised by the system (see `free` below).

Here's the relevant part of `dmesg >dmesg.txt` shortly after `init` restarted userspace. In the first part of the log, long periods of several seconds pass where nothing new happens; when userspace is killed off during the 100 seconds at 2105-2208 there is nothing beforehand and no hint of cause.

*Phone turned on*

```
<6>[001992.334927,0] : Report pwrkey press event
<6>[001992.386743,0] mdss_dsi_on+: ctrl=eaec8010 ndx=0
<6>[001992.424178,0] mdss_dsi_on-:
<6>[001992.424193,0] mdss_dsi_panel_on+: ctrl=eaec8010 ndx=0
<6>[001992.428789,0] : Report pwrkey release event
<6>[001993.730749,0] synaptics_dsx_sensor_state: state change SUSPEND -> ACTIVE
<6>[001993.731405,0] : mdss_dsi_panel_on-. Pwr_mode(0x0A) = 0x9c
<6>[001993.831117,0] qcom,leds-qpnp leds-qpnp-eb62f600: backlight on

```

*Nothing in log for 40 seconds. Then there are several bursts of low memory killing, separated by brief gaps of about 5-20 seconds*

```
<6>[002033.125104,1] lowmemorykiller: Killing 'system:ui' (8151), adj 1000, to free 40656kB on behalf of 'kswapd0' (81) because cache 122600kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3200kB above reserved
<6>[002034.172404,2] lowmemorykiller: Killing 'changelogviewer' (7238), adj 1000, to free 32652kB on behalf of 'kswapd0' (81) because cache 121376kB is below limit 122880kB for oom_score_adj 1000. Free memory is 6776kB above reserved
<6>[002035.895963,0] : Report pwrkey press event
<6>[002035.307927,1] lowmemorykiller: Killing 'droid.deskclock' (28714), adj 1000, to free 31756kB on behalf of 'kswapd0' (81) because cache 120252kB is below limit 122880kB for oom_score_adj 1000. Free memory is 5532kB above reserved
<6>[002036.387002,0] : Report pwrkey release event
<6>[002036.478425,0] lowmemorykiller: Killing 'com.ebay.mobile' (26933), adj 1000, to free 29016kB on behalf of 'kswapd0' (81) because cache 120268kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3864kB above reserved
<6>[002037.923711,2] lowmemorykiller: Killing 'omm.timeservice' (6682), adj 1000, to free 24544kB on behalf of 'kswapd0' (81) because cache 112140kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3072kB above reserved
<6>[002037.070531,1] lowmemorykiller: Killing 'ndroid.settings' (5632), adj 1000, to free 24344kB on behalf of 'kswapd0' (81) because cache 108888kB is below limit 122880kB for oom_score_adj 1000. Free memory is 5484kB above reserved
<6>[002037.617332,1] lowmemorykiller: Killing 'd.process.media' (5610), adj 1000, to free 23552kB on behalf of 'kswapd0' (81) because cache 109164kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3964kB above reserved
<6>[002038.335908,0] lowmemorykiller: Killing 'enmod.lockclock' (28743), adj 1000, to free 21712kB on behalf of 'kswapd0' (81) because cache 107296kB is below limit 122880kB for oom_score_adj 1000. Free memory is 4616kB above reserved
<6>[002039.245833,1] lowmemorykiller: Killing 'ainfire.supersu' (8025), adj 764, to free 32380kB on behalf of 'kswapd0' (81) because cache 98160kB is below limit 98304kB for oom_score_adj 529. Free memory is 7484kB above reserved
<6>[002040.109486,0] lowmemorykiller: Killing 'd.process.acore' (8429), adj 647, to free 34448kB on behalf of 'kswapd0' (81) because cache 97952kB is below limit 98304kB for oom_score_adj 529. Free memory is 8732kB above reserved
<6>[002043.386164,2] lowmemorykiller: Killing 'putmethod.latin' (14570), adj 764, to free 20732kB on behalf of 'kswapd0' (81) because cache 97896kB is below limit 98304kB for oom_score_adj 529. Free memory is 3564kB above reserved
<6>[002047.012564,0] tapan_codec_chargepump_vdd_event: event = 1
<6>[002048.999115,2] lowmemorykiller: Killing 'd.process.media' (8782), adj 647, to free 33804kB on behalf of 'kswapd0' (81) because cache 95364kB is below limit 98304kB for oom_score_adj 529. Free memory is 4556kB above reserved
<6>[002049.385765,0] lowmemorykiller: Killing 'com.android.mms' (370), adj 529, to free 42768kB on behalf of 'kswapd0' (81) because cache 96588kB is below limit 98304kB for oom_score_adj 529. Free memory is 5264kB above reserved
<6>[002051.397263,0] init: waitpid returned pid 30519, status = 00000000
<6>[002052.710665,1] tapan_codec_chargepump_vdd_event: event = 8
<6>[002054.259864,2] lowmemorykiller: Killing 'd.process.media' (8882), adj 647, to free 33620kB on behalf of 'kswapd0' (81) because cache 93904kB is below limit 98304kB for oom_score_adj 529. Free memory is 7752kB above reserved
<6>[002055.100549,3] lowmemorykiller: Killing 'ndroid.settings' (8939), adj 764, to free 34900kB on behalf of 'kswapd0' (81) because cache 96324kB is below limit 98304kB for oom_score_adj 529. Free memory is 3920kB above reserved
<6>[002056.176783,2] lowmemorykiller: Killing 'd.process.acore' (8930), adj 764, to free 35656kB on behalf of 'kswapd0' (81) because cache 89744kB is below limit 98304kB for oom_score_adj 529. Free memory is 3688kB above reserved
<6>[002064.446038,2] lowmemorykiller: Killing 'd.process.media' (9044), adj 764, to free 33580kB on behalf of 'kswapd0' (81) because cache 90032kB is below limit 98304kB for oom_score_adj 529. Free memory is 14876kB above reserved
<6>[002083.199303,1] lowmemorykiller: Killing 'enmod.lockclock' (8974), adj 647, to free 31236kB on behalf of 'kswapd0' (81) because cache 98132kB is below limit 98304kB for oom_score_adj 529. Free memory is 3308kB above reserved
<6>[002084.892508,1] lowmemorykiller: Killing 'ndroid.settings' (9068), adj 529, to free 53876kB on behalf of 'kswapd0' (81) because cache 95092kB is below limit 98304kB for oom_score_adj 529. Free memory is 5380kB above reserved
<6>[002105.187792,0] lowmemorykiller: Killing 'enmod.trebuchet' (20303), adj 352, to free 33356kB on behalf of 'kswapd0' (81) because cache 80972kB is below limit 86016kB for oom_score_adj 176. Free memory is 3004kB above reserved
<6>[002106.510875,0] lowmemorykiller: Killing 'com.android.mms' (8906), adj 470, to free 39524kB on behalf of 'kswapd0' (81) because cache 80488kB is below limit 86016kB for oom_score_adj 176. Free memory is 16500kB above reserved
<6>[002111.395568,1] lowmemorykiller: Killing 'd.process.media' (9718), adj 529, to free 33576kB on behalf of 'kswapd0' (81) because cache 70448kB is below limit 73728kB for oom_score_adj 117. Free memory is 3484kB above reserved
<6>[002112.755785,1] lowmemorykiller: Killing 'ndroid.settings' (9766), adj 529, to free 34872kB on behalf of 'kswapd0' (81) because cache 69160kB is below limit 73728kB for oom_score_adj 117. Free memory is 3792kB above reserved
<6>[002112.892462,1] lowmemorykiller: Killing 'com.android.mms' (9736), adj 470, to free 35356kB on behalf of 'kswapd0' (81) because cache 68408kB is below limit 73728kB for oom_score_adj 117. Free memory is 7628kB above reserved
<6>[002112.906543,3] binder: release 9736:9755 transaction 7689487 out, still active
<6>[002112.386885,0] lowmemorykiller: Killing 'd.process.acore' (9757), adj 647, to free 34860kB on behalf of 'kswapd0' (81) because cache 69340kB is below limit 73728kB for oom_score_adj 117. Free memory is 4092kB above reserved
<6>[002113.952913,0] lowmemorykiller: Killing 'enmod.lockclock' (9808), adj 647, to free 31048kB on behalf of 'kswapd0' (81) because cache 73224kB is below limit 73728kB for oom_score_adj 117. Free memory is 3852kB above reserved
<6>[002114.465873,3] lowmemorykiller: Killing 'd.process.media' (9872), adj 529, to free 33528kB on behalf of 'kswapd0' (81) because cache 67308kB is below limit 73728kB for oom_score_adj 117. Free memory is 3540kB above reserved
<6>[002115.944547,3] lowmemorykiller: Killing 'd.process.acore' (9920), adj 647, to free 34788kB on behalf of 'kswapd0' (81) because cache 62112kB is below limit 73728kB for oom_score_adj 117. Free memory is 3876kB above reserved
<6>[002115.463421,3] lowmemorykiller: Killing 'ndroid.settings' (9912), adj 647, to free 34804kB on behalf of 'kswapd0' (81) because cache 61372kB is below limit 61440kB for oom_score_adj 58. Free memory is 3444kB above reserved
<6>[002116.625036,3] lowmemorykiller: Killing 'enmod.lockclock' (9947), adj 764, to free 31128kB on behalf of 'kswapd0' (81) because cache 60288kB is below limit 61440kB for oom_score_adj 58. Free memory is 3540kB above reserved
<6>[002116.660223,3] lowmemorykiller: Killing 'd.process.acore' (9960), adj 764, to free 34912kB on behalf of 'kswapd0' (81) because cache 59824kB is below limit 61440kB for oom_score_adj 58. Free memory is 3560kB above reserved
<6>[002131.486032,2] lowmemorykiller: Killing 'd.process.acore' (10031), adj 764, to free 35472kB on behalf of 'kswapd0' (81) because cache 67868kB is below limit 73728kB for oom_score_adj 117. Free memory is 21432kB above reserved
<6>[002132.304917,0] lowmemorykiller: Killing 'd.process.media' (10018), adj 1000, to free 33728kB on behalf of 'Compositor' (8575) because cache 100976kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3492kB above reserved
<6>[002132.374198,1] lowmemorykiller: Killing 'ndroid.settings' (10049), adj 764, to free 34792kB on behalf of 'kswapd0' (81) because cache 64912kB is below limit 73728kB for oom_score_adj 117. Free memory is 3280kB above reserved
<6>[002132.435346,1] lowmemorykiller: Killing 'enmod.lockclock' (10067), adj 647, to free 30996kB on behalf of 'Compositor' (8575) because cache 97520kB is below limit 98304kB for oom_score_adj 529. Free memory is 3364kB above reserved
<6>[002139.202616,3] lowmemorykiller: Killing 'com.android.mms' (9890), adj 470, to free 38940kB on behalf of 'kswapd0' (81) because cache 77428kB is below limit 86016kB for oom_score_adj 176. Free memory is 3352kB above reserved
<6>[002144.987619,0] lowmemorykiller: Killing 'd.process.media' (10354), adj 529, to free 33492kB on behalf of 'kswapd0' (81) because cache 70876kB is below limit 73728kB for oom_score_adj 117. Free memory is 3952kB above reserved
<6>[002145.868772,0] lowmemorykiller: Killing 'ndroid.settings' (10410), adj 647, to free 34748kB on behalf of 'kswapd0' (81) because cache 70496kB is below limit 73728kB for oom_score_adj 117. Free memory is 9208kB above reserved
<6>[002145.500683,0] lowmemorykiller: Killing 'enmod.lockclock' (10439), adj 647, to free 30964kB on behalf of 'kswapd0' (81) because cache 69148kB is below limit 73728kB for oom_score_adj 117. Free memory is 4848kB above reserved
<6>[002146.860274,2] lowmemorykiller: Killing 'd.process.acore' (10393), adj 764, to free 35316kB on behalf of 'kswapd0' (81) because cache 66996kB is below limit 73728kB for oom_score_adj 117. Free memory is 8484kB above reserved
<6>[002146.883536,0] binder: undelivered transaction 7710205
<6>[002147.021644,1] lowmemorykiller: Killing 'd.process.acore' (10507), adj 764, to free 35104kB on behalf of 'kswapd0' (81) because cache 66948kB is below limit 73728kB for oom_score_adj 117. Free memory is 8344kB above reserved
<6>[002147.496709,0] lowmemorykiller: Killing 'd.process.media' (10495), adj 764, to free 33760kB on behalf of 'kswapd0' (81) because cache 65184kB is below limit 73728kB for oom_score_adj 117. Free memory is 8972kB above reserved
<6>[002166.712750,0] lowmemorykiller: Killing 'ndroid.settings' (10529), adj 764, to free 34780kB on behalf of 'kswapd0' (81) because cache 74940kB is below limit 86016kB for oom_score_adj 176. Free memory is 4768kB above reserved
<6>[002166.041116,1] lowmemorykiller: Killing 'enmod.lockclock' (10545), adj 647, to free 30984kB on behalf of 'kswapd0' (81) because cache 76512kB is below limit 86016kB for oom_score_adj 176. Free memory is 4996kB above reserved
<6>[002183.893105,1] lowmemorykiller: Killing 'com.ebay.mobile' (10668), adj 529, to free 46620kB on behalf of 'kswapd0' (81) because cache 71236kB is below limit 73728kB for oom_score_adj 117. Free memory is 4588kB above reserved
<6>[002183.175603,1] lowmemorykiller: Killing 'com.android.mms' (10372), adj 294, to free 39168kB on behalf of 'kswapd0' (81) because cache 69516kB is below limit 73728kB for oom_score_adj 117. Free memory is 4568kB above reserved
<6>[002184.262462,1] lowmemorykiller: Killing 'putmethod.latin' (20205), adj 117, to free 31552kB on behalf of 'kswapd0' (81) because cache 64740kB is below limit 73728kB for oom_score_adj 117. Free memory is 4528kB above reserved
<6>[002185.901421,1] lowmemorykiller: Killing 'pal.androidterm' (20591), adj 117, to free 22780kB on behalf of 'kswapd0' (81) because cache 62628kB is below limit 73728kB for oom_score_adj 117. Free memory is 4548kB above reserved
<6>[002185.077441,0] init: waitpid returned pid 26289, status = 0000fc00
<6>[002185.611288,2] lowmemorykiller: Killing 'android.smspush' (20927), adj 58, to free 16176kB on behalf of 'kswapd0' (81) because cache 56236kB is below limit 61440kB for oom_score_adj 58. Free memory is 3392kB above reserved
<6>[002186.955956,0] init: waitpid returned pid 26285, status = 00000001
<6>[002186.006426,1] init: waitpid returned pid 26256, status = 00008100
<6>[002186.431086,0] lowmemorykiller: Killing 'mozilla.firefox' (6712), adj 0, to free 354160kB on behalf of 'kswapd0' (81) because cache 46540kB is below limit 49152kB for oom_score_adj 0. Free memory is 5192kB above reserved
<6>[002186.606429,1] init: waitpid returned pid 19765, status = 00000000
<6>[002191.881505,2] lowmemorykiller: Killing 'd.process.media' (10858), adj 1000, to free 33140kB on behalf of 'kswapd0' (81) because cache 87004kB is below limit 98304kB for oom_score_adj 529. Free memory is 3960kB above reserved
<6>[002191.291965,1] lowmemorykiller: Killing 'd.process.acore' (10918), adj 764, to free 35228kB on behalf of 'kswapd0' (81) because cache 81776kB is below limit 86016kB for oom_score_adj 176. Free memory is 3832kB above reserved
<6>[002191.591134,1] lowmemorykiller: Killing 'ndroid.settings' (10928), adj 647, to free 34460kB on behalf of 'kswapd0' (81) because cache 77724kB is below limit 86016kB for oom_score_adj 176. Free memory is 4280kB above reserved
<6>[002192.697565,2] lowmemorykiller: Killing 'enmod.lockclock' (10957), adj 529, to free 30720kB on behalf of 'kswapd0' (81) because cache 76880kB is below limit 86016kB for oom_score_adj 176. Free memory is 3604kB above reserved
<6>[002192.739096,2] lowmemorykiller: Killing 'com.android.mms' (10883), adj 470, to free 38292kB on behalf of 'kswapd0' (81) because cache 74704kB is below limit 86016kB for oom_score_adj 176. Free memory is 7352kB above reserved
<6>[002193.555477,2] lowmemorykiller: Killing 'enmod.trebuchet' (10844), adj 0, to free 58452kB on behalf of 'kswapd0' (81) because cache 48516kB is below limit 49152kB for oom_score_adj 0. Free memory is 3116kB above reserved
<6>[002194.171773,1] binder: undelivered transaction 7731151
<6>[002194.355847,0] lowmemorykiller: Killing 'd.process.acore' (11091), adj 529, to free 34780kB on behalf of 'kswapd0' (81) because cache 47368kB is below limit 49152kB for oom_score_adj 0. Free memory is 8656kB above reserved
<6>[002194.554944,0] lowmemorykiller: Killing 'd.process.media' (11118), adj 529, to free 33392kB on behalf of 'enmod.trebuchet' (11110) because cache 81508kB is below limit 86016kB for oom_score_adj 176. Free memory is 6088kB above reserved
<6>[002194.670126,0] lowmemorykiller: Killing 'com.android.mms' (11151), adj 294, to free 34528kB on behalf of 'kswapd0' (81) because cache 47332kB is below limit 49152kB for oom_score_adj 0. Free memory is 3564kB above reserved
<6>[002194.680946,2] binder: release 11151:11172 transaction 7731784 out, still active
<6>[002194.681060,2] binder: undelivered transaction 7731944
<6>[002195.770478,1] lowmemorykiller: Killing 're-initialized>' (11177), adj 529, to free 26236kB on behalf of 're-initialized>' (11186) because cache 80372kB is below limit 86016kB for oom_score_adj 176. Free memory is 3968kB above reserved
<6>[002195.828751,0] lowmemorykiller: Killing 'enmod.trebuchet' (11110), adj 0, to free 44916kB on behalf of 'kswapd0' (81) because cache 46796kB is below limit 49152kB for oom_score_adj 0. Free memory is 3280kB above reserved
<6>[002195.996821,2] lowmemorykiller: Killing 'd.process.acore' (11206), adj 529, to free 28148kB on behalf of 'kswapd0' (81) because cache 46216kB is below limit 49152kB for oom_score_adj 0. Free memory is 3744kB above reserved
<6>[002195.006525,3] binder: undelivered transaction 7732259
<6>[002195.111464,2] lowmemorykiller: Killing 'ndroid.settings' (11186), adj 529, to free 34436kB on behalf of 'd.process.acore' (11236) because cache 76684kB is below limit 86016kB for oom_score_adj 176. Free memory is 3412kB above reserved
<6>[002195.189925,1] lowmemorykiller: Killing 're-initialized>' (11236), adj 529, to free 27684kB on behalf of 're-initialized>' (11250) because cache 75264kB is below limit 86016kB for oom_score_adj 176. Free memory is 3748kB above reserved
<6>[002195.582460,1] lowmemorykiller: Killing 'enmod.lockclock' (11250), adj 647, to free 30716kB on behalf of 'kswapd0' (81) because cache 42068kB is below limit 49152kB for oom_score_adj 0. Free memory is 3936kB above reserved
<6>[002195.680729,3] lowmemorykiller: Killing 'd.process.acore' (11265), adj 529, to free 33160kB on behalf of 'kswapd0' (81) because cache 41232kB is below limit 49152kB for oom_score_adj 0. Free memory is 3568kB above reserved
<6>[002196.766706,0] lowmemorykiller: Killing 'enmod.trebuchet' (11217), adj 0, to free 43560kB on behalf of 'kswapd0' (81) because cache 40444kB is below limit 49152kB for oom_score_adj 0. Free memory is 3448kB above reserved
<6>[002201.374233,0] : Report pwrkey press event
<6>[002201.518183,0] : Report pwrkey release event
<6>[002202.657554,1] mdss_dsi_panel_off+: ctrl=eaec8010 ndx=0
<6>[002202.657986,0] synaptics_dsx_sensor_state: state change ACTIVE -> SUSPEND
<6>[002203.897141,0] mdss_dsi_panel_off-:
<6>[002203.897156,0] mdss_dsi_off+: ctrl=eaec8010 ndx=0
<6>[002203.936876,0] mdss_dsi_off-:

```

*At this point anything that hasn't already failed, now fails. Userspace gets killed and restarted*

```
<6>[002203.037750,0] : Core dump to |/system/bin/coredump Binder_4 19920 1417523206 pipe failed
<6>[002203.281135,0] binder: undelivered transaction 7733258
<6>[002203.281314,0] binder: undelivered transaction 7733265
<6>[002203.281444,0] binder: undelivered transaction 7733271
<6>[002203.281597,0] binder: undelivered transaction 7733366
<6>[002203.281681,0] binder: undelivered transaction 7733378
<6>[002203.282023,0] binder: undelivered transaction 7733372
<6>[002203.282108,0] binder: undelivered transaction 7733373
<6>[002203.282258,0] binder: undelivered transaction 7733374
<6>[002203.282340,0] binder: undelivered transaction 7733375
<6>[002203.282488,0] binder: undelivered transaction 7733376
<6>[002204.093925,0] : Report pwrkey press event
<6>[002204.306457,0] : Report pwrkey release event
<6>[002207.955756,0] : Core dump to |/system/bin/coredump system_server 1142 1417523210 pipe failed
<6>[002207.052286,0] mdss_dsi_on+: ctrl=eaec8010 ndx=0
<6>[002207.075781,1] alarm_release: clear alarm, pending 0
<6>[002207.075791,1] alarm_release: clear alarm, pending 0
<6>[002207.075799,1] alarm_release: clear alarm, pending 0
<6>[002207.089757,0] mdss_dsi_on-:
<6>[002207.089772,0] mdss_dsi_panel_on+: ctrl=eaec8010 ndx=0
<6>[002207.104989,1] init: computing context for service '/system/bin/bootanimation'
<5>[002207.106139,1] init: starting 'bootanim'
<6>[002207.136155,1] : Core dump to |/system/bin/coredump Binder_7 1387 1417523210 pipe failed
<6>[002207.147220,1] binder: undelivered death notification, 60d6b368
<6>[002207.147232,1] binder: undelivered death notification, 60d6b780
<6>[002207.147241,1] binder: undelivered death notification, 5cdca680
<6>[002207.147249,1] binder: undelivered death notification, 5bf36ec0
<6>[002207.147261,1] binder: undelivered death notification, 5cdcb4a0
<6>[002207.147272,1] binder: undelivered death notification, 5cdd1880
<6>[002207.147281,1] binder: undelivered death notification, 5cdcb460
<6>[002207.185322,1] init: waitpid returned pid 385, status = 00000009
<5>[002207.185340,1] init: process 'debuggerd', pid 385 exited
<5>[002207.185355,1] init: process 'debuggerd' killing any children in process group
<6>[002207.185940,1] init: computing context for service '/system/bin/debuggerd'
<6>[002207.185963,2] : Core dump to |/system/bin/coredump Binder_2 1400 1417523210 pipe failed
<5>[002207.186211,1] init: starting 'debuggerd'
<6>[002207.186764,2] : Core dump to |/system/bin/coredump Binder_4 1413 1417523210 pipe failed
<6>[002207.194796,2] binder: undelivered death notification, 5cdcf108
<6>[002207.194807,2] binder: undelivered death notification, 60b5faa8
<6>[002207.194816,2] binder: undelivered death notification, 60b5fec0
<6>[002207.194824,2] binder: undelivered death notification, 5cdca680
<6>[002207.194832,2] binder: undelivered death notification, 601f2830
<6>[002207.194840,2] binder: undelivered death notification, 60def500
<6>[002207.194849,2] binder: undelivered death notification, 5cdd1488
<6>[002207.194857,2] binder: undelivered death notification, 60def1f0
<6>[002207.200117,2] binder: undelivered death notification, 5cdce0d8
<6>[002207.200129,2] binder: undelivered death notification, 60c6b0c8
<6>[002207.200137,2] binder: undelivered death notification, 60c6b4e0
<6>[002207.200146,2] binder: undelivered death notification, 5cdca670
<6>[002207.200154,2] binder: undelivered death notification, 5cdd1940
<6>[002207.200163,2] binder: undelivered death notification, 5d84f710
<6>[002207.200171,2] binder: undelivered death notification, 5cdd1430
<6>[002207.200179,2] binder: undelivered death notification, 5cdd1f90
<6>[002207.276277,1] init: waitpid returned pid 388, status = 00000009
<5>[002207.276294,1] init: process 'zygote', pid 388 exited
<5>[002207.285604,0] init: process 'zygote' killing any children in process group
<5>[002207.285863,0] init: service 'media' is being killed
<5>[002207.287087,0] init: service 'netd' is being killed
<6>[002207.287441,0] init: computing context for service '/system/bin/app_process'
<5>[002207.287638,0] init: starting 'zygote'
<6>[002207.289856,0] init: waitpid returned pid 383, status = 00000009
<5>[002207.289874,0] init: process 'netd', pid 383 exited
<5>[002207.289888,0] init: process 'netd' killing any children in process group
<6>[002207.290323,0] init: computing context for service '/system/bin/netd'
<5>[002207.290529,0] init: starting 'netd'
<6>[002207.297300,0] init: waitpid returned pid 391, status = 00000009
<5>[002207.297316,0] init: process 'media', pid 391 exited
<5>[002207.297331,0] init: process 'media' killing any children in process group
<6>[002207.297373,2] init: Created socket '/dev/socket/mdns' with mode '660', user '0', group '1000'
<6>[002207.297610,0] init: computing context for service '/system/bin/mediaserver'
<6>[002207.297768,2] init: Created socket '/dev/socket/dnsproxyd' with mode '660', user '0', group '3003'
<5>[002207.297778,0] init: starting 'media'
<6>[002207.298187,2] init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000'
<6>[002207.298939,2] init: Created socket '/dev/socket/zygote' with mode '660', user '0', group '1000'
<6>[002207.315254,0] : Report pwrkey press event
<6>[002207.386012,0] synaptics_dsx_sensor_state: state change SUSPEND -> ACTIVE
<6>[002207.386197,0] : mdss_dsi_panel_on-. Pwr_mode(0x0A) = 0x9c
<6>[002207.446161,0] init: waitpid returned pid 1373, status = 00000009
<6>[002208.865272,0] : Report pwrkey release event
<7>[002210.508025,0] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
<6>[002213.793599,0] : Report pwrkey press event
<6>[002213.970096,0] : Report pwrkey release event
<6>[002213.447327,0] : Core dump to |/system/bin/coredump zygote 11352 1417523217 pipe failed
<6>[002213.508195,0] init: waitpid returned pid 11352, status = 0000000b
<5>[002213.508377,0] init: process 'zygote', pid 11352 exited
<5>[002213.508475,0] init: process 'zygote' killing any children in process group
<5>[002213.508759,0] init: service 'media' is being killed
<5>[002213.512948,0] init: service 'netd' is being killed
<6>[002213.513683,0] init: waitpid returned pid 11355, status = 00000009
<5>[002213.513805,0] init: process 'media', pid 11355 exited
<5>[002213.513981,0] init: process 'media' killing any children in process group
<6>[002213.514315,0] init: computing context for service '/system/bin/app_process'
<5>[002213.514729,0] init: starting 'zygote'
<6>[002213.515310,0] init: computing context for service '/system/bin/mediaserver'
<6>[002213.516306,1] init: Created socket '/dev/socket/zygote' with mode '660', user '0', group '1000'
<5>[002213.516644,0] init: starting 'media'
<6>[002213.520811,0] init: waitpid returned pid 11353, status = 00000009
<5>[002213.520998,0] init: process 'netd', pid 11353 exited
<5>[002213.521240,0] init: process 'netd' killing any children in process group
<6>[002213.521753,0] init: computing context for service '/system/bin/netd'
<5>[002213.522248,0] init: starting 'netd'
<6>[002213.526276,1] init: Created socket '/dev/socket/mdns' with mode '660', user '0', group '1000'
<6>[002213.526874,1] init: Created socket '/dev/socket/dnsproxyd' with mode '660', user '0', group '3003'
<6>[002213.527403,1] init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000'

```

However `swap` was active and it's not clear what's happening. Output from `free` immediately after userspace is restored:

```
             total         used         free       shared      buffers
Mem:        903272       879320        23952            0         1844
-/+ buffers:             877476        25796
Swap:       687060        19024       668036

```

No idea what's going on. Exotic guesses FWIW: (1) Swap is available and enabled but for some reason wasn't used in the event, when memory got low; (2) some process suddenly decided it needed about 1GB of RAM and to run in foreground, causing failed attempts to swap crucial but lower prioritised system processes; (3) Unpredictable dramatic memory leak.

I don't know where to go from here.

The phone runs rooted CyanogenMod 11 M6 and has 1GB ram, and the apps are pretty standard - firefox, whatsapp, nothing unusual, no strange "tweaking", no strange modding apps.

How can I resolve this issue?

**UPDATE** I realised that I could find the relevant core dumps. `/data/tombstones` contains 6 core dumps that were all created during the 100 second period that lowmemorykiller bursts were occurring in `dmesg`. The core dump files mostly show segmentation faults (SIGSEGV) but the owning process is different in each dump:

```
2014-12-02 12:27:33 name: Thread-20  (lbesec.loader) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr b3baed71
2014-12-02 12:27:11 name: zygote  (zygote) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5dd8ce64
2014-12-02 12:27:05 name: zygote  (zygote) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5dd86e64
2014-12-02 12:26:57 name: zygote  (zygote) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5dc03e64
2014-12-02 12:26:47 name: system_server  (system_server) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadf00c
2014-12-02 12:26:46 name: Binder_4  (com.android.systemui) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr cfc08b9a

```

Past core dumps in the same folder were just as diverse - thread owners included "gallery" for example. Some showed SIGABRT instead of SIGSEGV. Beyond here probably needs developer competencies. What can I do to track down the cause?

# Answer
> 1 votes
Android has a built-in ram management system thats pretty good at its job. Ram management applications are notorious for being little more than snake oil. At worst actually harmful to its running processes. I would postulate that this memory killer app is the root cause of your problems. Solution. Reflash your device delete the lowmemory app and see how it behaves

# Answer
> 0 votes
I don't quite understand if the problem happen out of a sudden or if it just happens with CM11 or not. My first recommendation would be factory reset and run with a skeleton selection of apps, less you install from play store better, and see if problem happens. If it does then CM is running some really aggressive values for LMK (maybe update to something newer or build the rom with modified values). If it doesn't means one of your apps is telling android it needs ram and android (maybe due to poorly set dalvik or hwui heaps, or kernel lmk values) freaks out and just starts the mass murder of processes.

# Answer
> -1 votes
If this app wasn't on your phone when you bought it, but got installed afterwards instead, it's possible that the app that is doing this might be malware. I would suggest going straight to Verizon and have them figure out what is going on. It may cost a lot, but if it can be fixed, it's most likely worth it.

---
Tags: insufficient-memory, crashes, swap
---


# Question
Title: How to access SysDump menu on Samsung Galaxy S5, Android 5.0
My Samsung Galaxy S5 tells me I have insufficient storage to update apps. Looking at the storage menu, I have enough space, and it will work if I clear the cache through the storage menu. This is only a temporary fix, though. I had 21 updates this morning and I had to clear the cache 6 times just to update them. Looking on Google I found many people suggesting accessing the `SysDump` menu and deleting the `dumpstate/logcat` to fix this issue. However, everyone says to dial `*#9900#` in the dialer to access this. This does not work on my phone, maybe because I have Android 5.0, and most of these articles and posts were written years ago. How can I access the SysDump menu?

Or is there a better solution for this? I only have 512MB free of 16GB, however, most apps are \<30MB. I see 5.56GB in `Miscellaneous files` though when I look through them they add up to 105MB.

# Answer
> 1 votes
Keep in mind to update apps it needs something like 3x the actual size. Not sure why you want a sysdump/logcat as your only real solution is just to clear space from device. Install an app like DiskUsage that allows you to see how the space is being used and start clearing up space.

As to your actual question if you need a logcat, enable developer options (settings/about and tap 3+ times build number), enable adb and use logcat command through the pc using adb.

Also through adb you can you can run adb shell and dump dmesg (kernel log).

# Answer
> 0 votes
download CM LITE and scan junk files. It cleares up all the cached data, unnecessary residuals. Check if you have any previous obb files of games uncleaned.. if you are a gamer. If that didn't work, set file manager to reveal hidden files and check every folder for misc. files. hope this helped..

---
Tags: 5.0-lollipop, internal-storage, samsung-galaxy-s-5
---


# Question
Title: Third party apps installation when 'unknown source' option is disabled
Instead of using my company phone, I set up my company email account (MS Exchange Active) on my personal phone. So now I can organise and overview my private and work events in the calendar etc. Also reply to work emails from my personal device.

However, our IT department is pushing the company policy onto my phone and disabling the option for "unknown sources" (third party apps installation using apk file).

Does anyone have a workaround to be able to install third party apps on my phone while the policy is enforced? In other words, I can't enable the "unknown source" option on my Samsung Galaxy S8.

Thanks in advance.

# Answer
> 0 votes
Being technical, if the default app store doesn't use an encrypted connection (SSL/TLS), you can perform a MITM attack, and intervene the downloading process, and replace the app with an APK you've prepared.

A computer running Linux is strongly recommended, but a more user-friendly approach could be using zANTI to intervene.

---
Tags: applications, apk, unknown-sources, samsung-galaxy-s-8
---


# Question
Title: Preventing Android 7.0 Nougat from downloading updates over cellular data
I got a notification this morning on my Nexus 6p informing me that the Android 7.0 Nougat update was ready to download and install on my phone. The troubling thing about this was the following text:

> Future security updates may be downloaded and installed automatically, possibly using cellular data.

I don't want any updates to download and install over cellular, *ever*. I am very frugal on my data usage, and normally have cellular data turned off - I turn it on only when I specifically need it. The wording of the above text is just enough to make me wonder exactly to what lengths Android 7 is going to go to try to download security updates, and what control I am going to have over it, to the point that I'm not going to just allow it to perform this update without knowing more. However, so far at least documentation on this seems to be hard to come by.

Is it possible to disable security updates over cellular? I usually have a WiFi connection so it's not like I'm going for days with old software. If not, will there be some kind of warning so if I am on cellular at the time I can prevent it from downloading until I get to WiFi?

Will Android 7.0 Nougat turn on mobile data even when I have it off just so it can download updates, or is turning off cellular data sufficient to prevent it from doing so?

# Answer
This issue already been raised to dev team.

Check "System update using cellular data" thread for more details.

> They said its fixed and fix will be pushed in future builds

But someone already mentioned that its not fixed yet (check date).

Keep following that thread.
> 1 votes

# Answer
Android won't download updates weather OS or app updates over Mobile network on less you say so or have the option turned on.
> 0 votes

---
Tags: updates, mobile-data, 7.0-nougat
---


# Question
Title: How does power usage for data over WiFi compare to data over 3G? (Ignore LTE for now)
If you have unlimited data over 3G so that cost is no option, which is more power efficient?

Using the WiFi or 3G connection for data usage?

Extending battery life being the goal

# Answer
*It depends on several things*

As Matthew Read mentions, the hardware, your location, and the other fiddly bits about actual communication are important to the discussion. But, you also need to consider what you're doing with the phone.

Are you retrieving largish amounts of data often? If so, Wifi may be less drain on the battery by letting you finish sooner - remember the screen drains power while you're waiting for 3G to finish what WiFi may have finished much sooner. (But that depends on what brightness level you have your phone set to.)

In short, set your phone up the way you like to use it, in the place you like to use it. Then run the best test you can to see which uses more battery. Keep everything as much the same during the tests as possible. (Know exactly which apps are running, plan what data to use, and time how long you use the data after it's retrieved.)
> 2 votes

# Answer
I never really did a precise comparative test but it is clear that wifi uses way less power than the 3G data connection. So I would recommend to use wifi whenever possible if the goal is to extend battery life.

The only exception I would see is if you often use the phone but for a very short moment at a time, the delay it takes for the wifi to connect can be a hassle. In this case only I would deactivate the wifi.
> 10 votes

# Answer
I can't remember where I read it but I read that 3G will use more power when transfering data but wifi will use more when idling. I tend to keep wifi on, but if I'm running low on power I'll turn it off to avoid the power requirements of scanning for new networks. Also as others have posted, 2G will use less power than both unless you're downloading large files!
> 5 votes

# Answer
## It depends.

Try with your particular phone. Maybe download a large file and see how much the battery drains, then repeat for the other data type. Factors include how many cell towers are nearby, how many packets your WiFi drops, your specific chipset and radio hardware, software drivers, and the like.
> 5 votes

# Answer
In my experience (HTC Hero and now HTC Desire HD), wifi uses way less power than 3G. My first port of call for power saving is to turn off 3G on my handset if I either don't need mobile data or there is wifi available.
> 2 votes

# Answer
While it was true in previous generations of phones that Wifi used more power in idle, it's less true in later generations(think HTC Desire Z and up), with latests wifi chips.

If you are *using* data, Wifi is then preferable: uses less power, and can have more bandwidth and less latencies depending on the provider… Although public hotspots tend to match latencies and bandwidth of 3G networks… (on purpose?)
> 2 votes

# Answer
The main battery drain happens when there is actual data transfer. Since the speed of WiFi is much faster compared to 3G, it uses less power to download the same amount of data since it finishes downloading faster.

Also the transmuting power of WiFi is usually smaller than this of a 3G radio since the access point is much closer and the signal much stronger than the usual 3G tower. They tend to be less dense than 2G towers and the phone will need to transmit with more power in order to keep reasonable signal strength with 3G.
> 2 votes

# Answer
I can confirm the experiences of 3G using more power than wifi, and I do believe it is, in fact, stated by Google somewhere in the Android FAQ.

The technical reason probably has to do with the fact that there is much more negotiation going on for 3G, where there could be many radio towers involved, and where they will actually instruct the phone to beef up transmission power if needed. Also, it goes without saying, that there ought to be a difference considering wifi has a coverage area limited to some 20-100 meters depending on equipment and obstacles; whereas 3G operates over a much longer distance up around several Km.

Both operate within a fairly similar frequency band of 1.9GHz to 2.4GHz. In general, the higher the frequency, the more data can be transferred but it also takes more power to get a signal through obstacles. This is also why it's sometimes recommended to turn off 3G (rely on only 2G) in order to conserve battery, since 2G networks usually operate at a much lower frequency band around 800-1000MHz.
> 2 votes

# Answer
If your phone will let you do it, use 2G. It uses less power than 3G or Wifi. I believe it only works on GSM network phones.
> 0 votes

# Answer
this is subjective my friends.. no exact answer. is definite answer.

scenario 1 - you have a good wifi reception - phone dont have to try hard to fetch network, so battery life is longer. but if wifi is tough to connect then offcourse the phone needs to work hard.. so battery drain quicker.

scenario 2 - you using data network, but in bad reception area then it would have same affect on your battery - drained faster..

in the end, depend on your area's connection in order to have longer battery life.. who knows which connection is the best in tht particular area. just simple logic. no technical wonders can save your battery life i say..
> -1 votes

# Answer
About some weeks ago I have bought one Xiaomi Redmi 4x (5", octa, Dual Sim, Dual StandBy, with 4G primary SIM and 3G secondary SIM, 3GB/32GB) and two Xiaomi Redmi Note 4x (5.5", deca, Dual Sim, Dual StandBy, with 4G primary SIM and 3G secondary SIM, 4GB/64GB). The battery on all three is 4100 mAh.

Because of some posts on another forum that state that "the battery is bad" on these phones, I have tried to execute some tests.

It is not important that I think the battery is very good, but about the disscution above I think is important to say that when I use the only the data connection (4G - Band 1 FDD or Band 38 TDD=my provider) the slope of the power drain is more steep than when it is used only the WiFi either on 2.4 GHz (Redmi 4x) or 5 GHz Redmi Notte 4x).
> -1 votes

---
Tags: wi-fi, battery-life, 3g
---


# Question
Title: EMUI 5.0 is displaying orange navbar and notification bar even battery saving is turn off
What is the possible other cause for this? I believe this one should not be orange. I tried to restart it, turn it off still got orange bars. Please no factory reset answer.

# Answer
It's weird, but I was able to remove it when I told google assistant to turn of power saving mode though in the settings it was already turned off.
> 0 votes

---
Tags: 7.0-nougat, notification-bar, navigation-bar
---


# Question
Title: How to unbrick my Samsung Tab 1 (7 inch) from T mobile brought it from S. KOREA
I had plan to upgrade my samsung Tab 1 (7 inch) to Lollipop. I got the fair enough idea to upgrate it from youtube videos. I was able to go to recovery mode by pressing up+power. I was able to go to download mode by pressing (down+power) button.

I got the information that I can upgrade it from SD card & choose to install from SD card from recovery mode. I assume it was successful if I could have tried that.

But before trying direct update to lollipop, I tried to download with odin 1.7. (My mistake)

I tried with modem, kernel & pit file. After doing that I was not able to come to download mode itself. It looks like I hard brick my phone.

# Answer
> 2 votes
Old Samsung devices (Galaxy S1 to S3 generations) where near impossible to brick unless you had the emmc bug or somehow flashed missmatched set of bootloaders. The best way to attempt to recover the device is grab a firmware package from samsfirmware or similar. Force device in to download mode with either key combinations or with a jig then proceed to flash stock firmware using ODIN.

---
Tags: fastboot, unbricking, samsung-galaxy-tab, odin
---


# Question
Title: Nougat 7.0: I cant explore phone memory in my computer
I formatted my sd card as internal storage but when I connect to computer via USB its shows memory card storage space only! How to explore mobile internal memory?

(Using Android Nougat)

# Answer
To see your Internal Storage, on Android Nougat 7.0 and above, open the notification tray on your device, tap on the persistent notification "USB charging this device" and select "Transfer files".

Source: http://www.theandroidsoul.com/set-transfer-files-mtp-default-nougat/
> 0 votes

---
Tags: 7.0-nougat
---


# Question
Title: Can you charge a Qualcomm Quick Charge device without a supported charger?
I have a laptop with a 20V 2.25A charger and a phone that supports QC 3.0. In theory, 3.0 has support for up to 20V, but I am not sure if I can use the laptop charger with the phone given that the charger is not necessarily QC approved. Both devices are USB C.

Phone

Charger

# Answer
Quick charging is not just about Voltage or current in isolation. It is about varying both to deliver the right amount of *power* ( = product of voltage and current ) as required. Read more here Fast Charging by Qualcomm 3.0- impact on battery?

Besides, the device detects if the charger is quick charge or not. If it is not, then it acts as of it is connected to a normal charger, which is rated 5V, 2A , far lower than the one you want to try

To answer your question - NO, not advised
> 1 votes

---
Tags: charging
---


# Question
Title: Force "Battery Saver" mode in Android Lollipop Cyanogenmod
Forcing "Battery Saver" mode seems to be possible via `Settings -> Battery -> Battery Saver -> On` using some Lollipop phones, but on my CyanogenMod 13.0-20150316 there is no such option:

Is this possible?

# Answer
> 1 votes
Another option is setting up a **Custom battery saver**

According to this source:

> The Battery Saver parameter is defined in the Settings.Global class, although you won’t find the documentation on that page as the feature is not guaranteed to be present on every device.
>
> However, a cursory glance at AOSP or by listing all of the available settings on your device reveals that the Battery Saver parameter is defined under the `low_power` constant. It holds an integer value of either `0` or `1` for “off” and “on” respectively. The trigger level/percent value for Battery Saver is defined under the `low_power_trigger_level` constant, and this holds an integer value between 1 and 100. By modifying either of these two parameters, we can control Battery Saver ourselves.

Setting the custom battery trigger level involves modifying the `low_power_trigger_level` constant itself to let the Android system handle enabling/disabling Battery Saver on its own.

Another requirement is , once setup execute:

```
adb shell settings put global low_power_trigger_level TRIGGER_LEVEL

```

where `TRIGGER_LEVEL` is the battery level (between 1-100%) that you want Android to enable Battery Saver.

# Answer
> 0 votes
You could use Tasker for this:

**Using Tasker Battery Saver Mode Task**

**Prerequisites:**

In tasker, Create a task name it anything e.g **TaskerBatterySaverMode**.

A1: Task \>\> If {`%state` is not set}

*For actions to run when the toggle is turned on, use if condition `%state` is set. For actions to run when the toggle is turned off, use if condition `%state` is not set*

Press back for second action

A2: Code \>\> Run shell \>\> { command: `settings put global low_power 0` Tick use root}

A3: Plugin \>\> Power toggles \>\> Modify PowerToggle state \[Configuration: Set current toggle to off\]

A4: Task \>\> Else

A5: Code \>\> Run shell \>\> { command: `settings put global low_power 1` Tick use root}

A6: : Plugin \>\> Power toggles \>\> Modify PowerToggle state \[Configuration: Set current toggle to on\]

A7: End if

**Explanation:** When Tasker Battery Saver mode is toggled on using Power toggles, actions 5 and 6 are executed. When toggled off, actions 2 and 3 are executed

You may create a profile to your liking e.g customising battery percentage levels.

**Important**: Enable external access (Go into Preferences in Tasker. Under the Misc tab, check the “Allow External Access” box).

**Set up Power Toggles**

* Launch the Power Toggles app and select Notification.
* Turn on the notification shade widget by turning the toggle on in the top right corner. You can then select Customize.
* On this screen, click the Add Toggle button. Select the Custom tab and then click “Tasker toggle”
* Select your Tasker battery saver mode task (previously created task: TaskerBatterySaverMode). Leave the type as “Single icon”.

Toggle your battery saver mode on and off with ease from notification bar!

Screenshot:

Credits

1. \[How To\] Tasker Battery Saver Mode On Android Lollipop

---
Tags: cyanogenmod, 5.0-lollipop, settings, battery-life
---


# Question
Title: How can i open a file with non compatible software?
In windows we can try to open a pdf with an pdf with VLC or such type of operation. In short "open with" option works more freely in windows than in android. Sometimes because of this even, we can not open some files that we know can be opened with available apps. Is there a way to achive this in android?

# Answer
> 3 votes
Try installing Total Commander file manager for Android (from Google Play store) - it's free and has no ads.

Navigate to the given directory, long press on the file, and select the option `Send to */*`, then select the application you wish to open the file with.

That's the method I used to send a `.epub` to Google Play Books.

---
Tags: applications, default-applications
---


title: Stuck in Verify your account

text:
# Question
Title: Stuck in Verify your account
Stuck in Verify your account, I have only Google Voice keyboard and I cant type my number or `@`, what to do?

I can't do anything with factory reset, i can't get in safe mode.

# Answer
In the corners on the bottom of keyboard there are icons. Example: (?!) click that, it will give you @ and other characters you need.
> 2 votes

---
Tags: factory-reset, 7.0-nougat, safe-mode, frp
---


# Question
Title: Is it possible to power on Android device with charger?
I don't know if it is unusual, but it happened this morning. I have a pretty old Android tablet with a partially working power button. Partially working in the sense, it works sometimes. The tablet is actually not in a good shape. The battery is poor. So I always use it plugged in. The charging port isn't good either. It also works occasionally.

Today morning I was checking if the tablet is still working. I was just plugging the charger in and out, but all of a sudden, it turned on. I tried the same again. But it didn't work.

Is that actually possible??? If so is there any procedure for doing this??

BTW, the tablet is a Micromax tablet running on Android 4.1.2

# Answer
It depends on a device. Some can be powered without a battery at all. One older smartphone I had did that. Yet on my latest phones it's not possible. On one phone if the percentage jumped from 0 to 1%, I could already start using it and the battery would keep charging. But on another phone it needs about 7%, and if I turn it on, I can use it a little bit and it shuts down bringing the battery back to 0%.

One other thing that matters is, not all chargers are the same. Try different ones you have. Some of these "fast charging" ones might work.
> 1 votes

---
Tags: charging, boot, power-on
---


# Question
Title: Can Google Daydream View function as a Cardboard for unsupported phones?
I have the $79 I need to buy a Daydream View, but not the $650 to buy a Pixel to go along with it. My current phone is a Galaxy S7. (Don't tell me to just get a Gear VR. That's not what I'm asking.) If I get a Daydream View for my Galaxy S7, or any other phone that doesn't come with built-in Daydream support, will I be able to just use it like a really fancy Cardboard?

# Answer
Surprised this hasn't been answered - but yes, Cardboard is just to hold your phone and have basic lenses to view the split screen. Daydream VR is a superset of that functionality, so Cardboard apps should work fine with it.
> 2 votes

---
Tags: samsung-galaxy-s7, google-cardboard, daydream-vr
---